diff --git a/docs/AssetApi.md b/docs/AssetApi.md index 112d29c..f4c40bf 100644 --- a/docs/AssetApi.md +++ b/docs/AssetApi.md @@ -20,7 +20,7 @@ Creates a new asset. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.AssetApi(); @@ -63,7 +63,7 @@ Deletes an asset. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.AssetApi(); @@ -106,7 +106,7 @@ Gets an asset by ID. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.AssetApi(); @@ -149,7 +149,7 @@ Updates part of an asset. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.AssetApi(); diff --git a/docs/CampaignApi.md b/docs/CampaignApi.md index 74746b0..5e1e511 100644 --- a/docs/CampaignApi.md +++ b/docs/CampaignApi.md @@ -19,7 +19,7 @@ Creates a campaign. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.CampaignApi(); @@ -62,7 +62,7 @@ Deletes a campaign. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.CampaignApi(); @@ -105,7 +105,7 @@ Retrieves a campaign. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.CampaignApi(); diff --git a/docs/TransactionalMessagingApi.md b/docs/TransactionalMessagingApi.md index 66d356a..36aab6a 100644 --- a/docs/TransactionalMessagingApi.md +++ b/docs/TransactionalMessagingApi.md @@ -38,7 +38,7 @@ Creates the definition for an email. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -81,7 +81,7 @@ Creates the definition for an SMS. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -124,7 +124,7 @@ Deletes an email definition. You can't restore a deleted definition. The del ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -167,7 +167,7 @@ Deletes the queue for an email definition. The email definition must be in inact ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -210,7 +210,7 @@ Deletes the queue for a SMS definition. The SMS definition must be in inactive s ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -253,7 +253,7 @@ Deletes an sms definition. You can't restore a deleted definition. The delet ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -296,7 +296,7 @@ Gets email definition configuration details for a definition key. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -339,7 +339,7 @@ Gets a list of email definitions. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -389,7 +389,7 @@ Gets the send status for a message. Because this route is rate-limited, use it f ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -432,7 +432,7 @@ Gets a paginated list of messages that were not sent, ordered from oldest to new ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -481,7 +481,7 @@ Gets metrics for the messages of an email definition. Applies to messages that a ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -524,7 +524,7 @@ Gets metrics for the messages of a SMS definition. Applies to messages that are ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -567,7 +567,7 @@ Gets a paginated list of messages that were not sent, ordered from oldest to new ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -616,7 +616,7 @@ Gets SMS definition configuration details for a definition key. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -659,7 +659,7 @@ Gets a list of SMS definitions. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -709,7 +709,7 @@ Gets the send status for a message. Because this route is rate-limited, use it f ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -752,7 +752,7 @@ Updates a specific email definition. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -798,7 +798,7 @@ Updates a specific SMS definition. ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -844,7 +844,7 @@ Sends a message to multiple recipients using an email definition. You can provid ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -887,7 +887,7 @@ Sends a message to a single recipient via an email definition using a messageKey ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -933,7 +933,7 @@ Sends a message to multiple recipients using an email definition. You can provid ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); @@ -976,7 +976,7 @@ Sends a message to a single recipient via a SMS definition using a messageKey pa ### Example ```javascript -const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); +const SalesforceMarketingCloud = require ('salesforce-marketing-cloud-sdk'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); diff --git a/package.json b/package.json index af83dbb..39d5d1d 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "SalesforceMarketingCloud", + "name": "salesforce-marketing-cloud-sdk", "version": "1.0.0", "description": "Marketing_Clouds_REST_API_is_our_newest_API__It_supports_multi_channel_use_cases_is_much_more_lightweight_and_easy_to_use_than_our_SOAP_API_and_is_getting_more_comprehensive_with_every_release_", "license": "Apache 2.0",