From 978110493fd18e924064bcbd008e556250c85148 Mon Sep 17 00:00:00 2001
From: sfcbetiuc <42634794+sfcbetiuc@users.noreply.github.com>
Date: Fri, 22 Nov 2019 12:21:41 +0200
Subject: [PATCH] Automated release 1.0 (#8)
* Auto-update
* Auto-update
* Auto-update
* Auto-update
* Removed old models (#9)
Updated old model names to new ones in TM Api Tests
* Auto-update
* Auto-update
---
README.md | 199 +--
docs/EmailDefinition.md | 19 +
docs/EmailDefinitionContent.md | 8 +
docs/EmailDefinitionOptions.md | 8 +
docs/EmailDefinitionSubscriptions.md | 11 +
docs/GetEmailDefinitionsResponse.md | 2 +-
docs/GetSmsDefinitionsResponse.md | 2 +-
docs/SmsDefinition.md | 16 +
docs/SmsDefinitionContent.md | 8 +
docs/SmsDefinitionSubscriptions.md | 11 +
docs/TransactionalMessagingApi.md | 32 +-
docs/UpdateEmailDefinitionRequest.md | 6 +-
docs/UpdateSmsDefinitionRequest.md | 4 +-
package-lock.json | 1138 -----------------
src/Api/TransactionalMessagingApi.js | 36 +-
...efinitionRequest.js => EmailDefinition.js} | 48 +-
...onContent.js => EmailDefinitionContent.js} | 20 +-
...nsRequest.js => EmailDefinitionOptions.js} | 18 +-
...ons.js => EmailDefinitionSubscriptions.js} | 20 +-
src/Model/GetEmailDefinitionsResponse.js | 6 +-
src/Model/GetSmsDefinitionsResponse.js | 6 +-
...sDefinitionRequest.js => SmsDefinition.js} | 42 +-
...tionContent.js => SmsDefinitionContent.js} | 20 +-
...tions.js => SmsDefinitionSubscriptions.js} | 22 +-
src/Model/UpdateEmailDefinitionRequest.js | 18 +-
src/Model/UpdateSmsDefinitionRequest.js | 12 +-
src/index.js | 86 +-
.../api/TransactionalMessagingApi.spec.js | 12 +-
28 files changed, 316 insertions(+), 1514 deletions(-)
create mode 100644 docs/EmailDefinition.md
create mode 100644 docs/EmailDefinitionContent.md
create mode 100644 docs/EmailDefinitionOptions.md
create mode 100644 docs/EmailDefinitionSubscriptions.md
create mode 100644 docs/SmsDefinition.md
create mode 100644 docs/SmsDefinitionContent.md
create mode 100644 docs/SmsDefinitionSubscriptions.md
rename src/Model/{CreateEmailDefinitionRequest.js => EmailDefinition.js} (73%)
rename src/Model/{CreateEmailDefinitionContent.js => EmailDefinitionContent.js} (68%)
rename src/Model/{CreateEmailDefinitionOptionsRequest.js => EmailDefinitionOptions.js} (64%)
rename src/Model/{CreateEmailDefinitionSubscriptions.js => EmailDefinitionSubscriptions.js} (78%)
rename src/Model/{CreateSmsDefinitionRequest.js => SmsDefinition.js} (74%)
rename src/Model/{CreateSmsDefinitionContent.js => SmsDefinitionContent.js} (71%)
rename src/Model/{CreateSmsDefinitionSubscriptions.js => SmsDefinitionSubscriptions.js} (78%)
diff --git a/README.md b/README.md
index 487ddaa..fb9b9cf 100644
--- a/README.md
+++ b/README.md
@@ -1,183 +1,42 @@
-# This project is under development
+# Salesforce Marketing Cloud - Autogenerated SDK
-# SalesforceMarketingCloud
+## Overview
-SalesforceMarketingCloud - JavaScript client for SalesforceMarketingCloud
-Marketing Cloud's 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.
-This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+The Salesforce Marketing Cloud Node.js SDK enables developers to easily access the Salesforce Marketing Cloud.
-- API version: 1.0.0
-- Package version: 1.0.0
-- Build package: io.swagger.codegen.languages.JavascriptClientCodegen
+- This is an upgraded version of the existing community supported [Fuel-Node](https://github.com/salesforce-marketingcloud/FuelSDK-Node) SDK
+- Unlike the [Fuel-Node](https://github.com/salesforce-marketingcloud/FuelSDK-Node), this SDK is auto generated using [Swagger Codegen](https://github.com/swagger-api/swagger-codegen)
-## Installation
+## Supported Features
-### For [Node.js](https://nodejs.org/)
+- [Transactional Messaging](https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/transactional-messaging-api.htm)
-#### npm
+## Environment Requirements
-To publish the library as a [npm](https://www.npmjs.com/),
-please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).
+- Node.js >= 12.10.0
-Then install it via:
+## Download
-```shell
-npm install SalesforceMarketingCloud --save
-```
+To consume this SDK, add the [Salesforce Marketing Cloud SDK](https://www.npmjs.com/package/salesforce-marketing-cloud-sdk) to your project using the following command:
-#### git
-#
-If the library is hosted at a git repository, e.g.
-https://github.com/GIT_USER_ID/GIT_REPO_ID
-then install it via:
-
-```shell
-npm install GIT_USER_ID/GIT_REPO_ID --save
-```
+```npm install --save salesforce-marketing-cloud-sdk```
## Getting Started
-Please follow the [installation](#installation) instruction and execute the following JS code:
-
-### Usage scenarios
-#### Using the Client class with the configuration passed through environment variables
-
-```javascript
-const SalesforceMarketingCloud = require('SalesforceMarketingCloud');
-const Client = require('SalesforceMarketingCloud/src/Api/Client');
-
-let client = new Client();
-let assetApi = client.assetApi;
-
-let asset = AssetFactory.create(); // your own implementation of an asset factory that sets at least the mandatory properties
-let createAssetResult = assetApi.createAsset(asset);
-
-createAssetResult.then(data => {
- console.log(data);
-}, reason => {
- console.error(reason);
-});
-
-```
-
-#### Authentication environment variables:
-- SFMC_AUTH_BASE_URL
-- SFMC_CLIENT_ID
-- SFMC_CLIENT_SECRET
-- SFMC_ACCOUNT_ID
-- SFMC_SCOPE (space-separated list of data-access permissions for your application - optional parameter)
-
-#### Transactional Messaging integration tests environment variables:
-- SFMC_COUNTRY_CODE
-- SFMC_KEYWORD
-- SFMC_SHORT_CODE
-
-
-#### Using the Client class with the configuration passed through a configuration object
-
-```javascript
-const SalesforceMarketingCloud = require('SalesforceMarketingCloud');
-const Client = require('SalesforceMarketingCloud/src/Api/Client');
-
-const config = {
- authBaseUrl: 'YOUR AUTH BASE URL',
- clientId: 'YOUR CLIENT ID',
- clientSecret: 'YOUR CLIENT SECRET',
- accountId: 'YOUR ACCOUNT ID',
- scope: 'SPACE-SEPARATED LIST OF DATA-ACCESS PERMISSIONS FOR YOUR APPLICATION' // optional parameter
-};
-
-// Transactional Messaging integration tests config parameters:
-
-config.shortCode = 'YOUR SHORT CODE';
-config.keyWord = 'YOUR KEY WORD';
-config.countryCode = 'YOUR COUNTRY CODE';
-
-let client = new Client(config);
-let assetApi = client.assetApi;
-
-let asset = AssetFactory.create(); // your own implementation of an asset factory that sets at least the mandatory properties
-let createAssetResult = assetApi.createAsset(asset);
-
-createAssetResult.then(data => {
- console.log(data);
-}, reason => {
- console.error(reason);
-});
-
-```
-
-## Documentation for API Endpoints
-
-All URIs are relative to *https://www.exacttargetapis.com*
-
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*SalesforceMarketingCloud.AssetApi* | [**createAsset**](docs/AssetApi.md#createAsset) | **POST** /asset/v1/content/assets | createAsset
-*SalesforceMarketingCloud.AssetApi* | [**deleteAssetById**](docs/AssetApi.md#deleteAssetById) | **DELETE** /asset/v1/content/assets/{id} | deleteAssetById
-*SalesforceMarketingCloud.AssetApi* | [**getAssetById**](docs/AssetApi.md#getAssetById) | **GET** /asset/v1/content/assets/{id} | getAssetById
-*SalesforceMarketingCloud.AssetApi* | [**partiallyUpdateAssetById**](docs/AssetApi.md#partiallyUpdateAssetById) | **PATCH** /asset/v1/content/assets/{id} | partiallyUpdateAssetById
-*SalesforceMarketingCloud.CampaignApi* | [**createCampaign**](docs/CampaignApi.md#createCampaign) | **POST** /hub/v1/campaigns | createCampaign
-*SalesforceMarketingCloud.CampaignApi* | [**deleteCampaignById**](docs/CampaignApi.md#deleteCampaignById) | **DELETE** /hub/v1/campaigns/{id} | deleteCampaignById
-*SalesforceMarketingCloud.CampaignApi* | [**getCampaignById**](docs/CampaignApi.md#getCampaignById) | **GET** /hub/v1/campaigns/{id} | getCampaignById
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**createEmailDefinition**](docs/TransactionalMessagingApi.md#createEmailDefinition) | **POST** /messaging/v1/email/definitions/ | createEmailDefinition
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**createSmsDefinition**](docs/TransactionalMessagingApi.md#createSmsDefinition) | **POST** /messaging/v1/sms/definitions | createSmsDefinition
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**deleteEmailDefinition**](docs/TransactionalMessagingApi.md#deleteEmailDefinition) | **DELETE** /messaging/v1/email/definitions/{definitionKey} | deleteEmailDefinition
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**deleteQueuedMessagesForEmailDefinition**](docs/TransactionalMessagingApi.md#deleteQueuedMessagesForEmailDefinition) | **DELETE** /messaging/v1/email/definitions/{definitionKey}/queue | deleteQueuedMessagesForEmailDefinition
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**deleteQueuedMessagesForSmsDefinition**](docs/TransactionalMessagingApi.md#deleteQueuedMessagesForSmsDefinition) | **DELETE** /messaging/v1/sms/definitions/{definitionKey}/queue | deleteQueuedMessagesForSmsDefinition
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**deleteSmsDefinition**](docs/TransactionalMessagingApi.md#deleteSmsDefinition) | **DELETE** /messaging/v1/sms/definitions/{definitionKey} | deleteSmsDefinition
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**getEmailDefinition**](docs/TransactionalMessagingApi.md#getEmailDefinition) | **GET** /messaging/v1/email/definitions/{definitionKey} | getEmailDefinition
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**getEmailDefinitions**](docs/TransactionalMessagingApi.md#getEmailDefinitions) | **GET** /messaging/v1/email/definitions/ | getEmailDefinitions
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**getEmailSendStatusForRecipient**](docs/TransactionalMessagingApi.md#getEmailSendStatusForRecipient) | **GET** /messaging/v1/email/messages/{messageKey} | getEmailSendStatusForRecipient
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**getEmailsNotSentToRecipients**](docs/TransactionalMessagingApi.md#getEmailsNotSentToRecipients) | **GET** /messaging/v1/email/messages/ | getEmailsNotSentToRecipients
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**getQueueMetricsForEmailDefinition**](docs/TransactionalMessagingApi.md#getQueueMetricsForEmailDefinition) | **GET** /messaging/v1/email/definitions/{definitionKey}/queue | getQueueMetricsForEmailDefinition
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**getQueueMetricsForSmsDefinition**](docs/TransactionalMessagingApi.md#getQueueMetricsForSmsDefinition) | **GET** /messaging/v1/sms/definitions/{definitionKey}/queue | getQueueMetricsForSmsDefinition
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**getSMSsNotSentToRecipients**](docs/TransactionalMessagingApi.md#getSMSsNotSentToRecipients) | **GET** /messaging/v1/sms/messages/ | getSMSsNotSentToRecipients
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**getSmsDefinition**](docs/TransactionalMessagingApi.md#getSmsDefinition) | **GET** /messaging/v1/sms/definitions/{definitionKey} | getSmsDefinition
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**getSmsDefinitions**](docs/TransactionalMessagingApi.md#getSmsDefinitions) | **GET** /messaging/v1/sms/definitions | getSmsDefinitions
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**getSmsSendStatusForRecipient**](docs/TransactionalMessagingApi.md#getSmsSendStatusForRecipient) | **GET** /messaging/v1/sms/messages/{messageKey} | getSmsSendStatusForRecipient
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**partiallyUpdateEmailDefinition**](docs/TransactionalMessagingApi.md#partiallyUpdateEmailDefinition) | **PATCH** /messaging/v1/email/definitions/{definitionKey} | partiallyUpdateEmailDefinition
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**partiallyUpdateSmsDefinition**](docs/TransactionalMessagingApi.md#partiallyUpdateSmsDefinition) | **PATCH** /messaging/v1/sms/definitions/{definitionKey} | partiallyUpdateSmsDefinition
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**sendEmailToMultipleRecipients**](docs/TransactionalMessagingApi.md#sendEmailToMultipleRecipients) | **POST** /messaging/v1/email/messages/ | sendEmailToMultipleRecipients
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**sendEmailToSingleRecipient**](docs/TransactionalMessagingApi.md#sendEmailToSingleRecipient) | **POST** /messaging/v1/email/messages/{messageKey} | sendEmailToSingleRecipient
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**sendSmsToMultipleRecipients**](docs/TransactionalMessagingApi.md#sendSmsToMultipleRecipients) | **POST** /messaging/v1/sms/messages/ | sendSmsToMultipleRecipients
-*SalesforceMarketingCloud.TransactionalMessagingApi* | [**sendSmsToSingleRecipient**](docs/TransactionalMessagingApi.md#sendSmsToSingleRecipient) | **POST** /messaging/v1/sms/messages/{messageKey} | sendSmsToSingleRecipient
-
-
-## Documentation for Models
-
- - [SalesforceMarketingCloud.ApiError](docs/ApiError.md)
- - [SalesforceMarketingCloud.Asset](docs/Asset.md)
- - [SalesforceMarketingCloud.AssetType](docs/AssetType.md)
- - [SalesforceMarketingCloud.Attributes](docs/Attributes.md)
- - [SalesforceMarketingCloud.Campaign](docs/Campaign.md)
- - [SalesforceMarketingCloud.CreateEmailDefinitionContent](docs/CreateEmailDefinitionContent.md)
- - [SalesforceMarketingCloud.CreateEmailDefinitionOptionsRequest](docs/CreateEmailDefinitionOptionsRequest.md)
- - [SalesforceMarketingCloud.CreateEmailDefinitionRequest](docs/CreateEmailDefinitionRequest.md)
- - [SalesforceMarketingCloud.CreateEmailDefinitionSubscriptions](docs/CreateEmailDefinitionSubscriptions.md)
- - [SalesforceMarketingCloud.CreateSmsDefinitionContent](docs/CreateSmsDefinitionContent.md)
- - [SalesforceMarketingCloud.CreateSmsDefinitionRequest](docs/CreateSmsDefinitionRequest.md)
- - [SalesforceMarketingCloud.CreateSmsDefinitionSubscriptions](docs/CreateSmsDefinitionSubscriptions.md)
- - [SalesforceMarketingCloud.DeleteQueuedMessagesForSendDefinitionResponse](docs/DeleteQueuedMessagesForSendDefinitionResponse.md)
- - [SalesforceMarketingCloud.DeleteSendDefinitionResponse](docs/DeleteSendDefinitionResponse.md)
- - [SalesforceMarketingCloud.GetDefinitionSendStatusForRecipientResponse](docs/GetDefinitionSendStatusForRecipientResponse.md)
- - [SalesforceMarketingCloud.GetDefinitionSendStatusForRecipientResponseInfo](docs/GetDefinitionSendStatusForRecipientResponseInfo.md)
- - [SalesforceMarketingCloud.GetDefinitionsNotSentToRecipientsMessage](docs/GetDefinitionsNotSentToRecipientsMessage.md)
- - [SalesforceMarketingCloud.GetDefinitionsNotSentToRecipientsMessageInfo](docs/GetDefinitionsNotSentToRecipientsMessageInfo.md)
- - [SalesforceMarketingCloud.GetDefinitionsNotSentToRecipientsResponse](docs/GetDefinitionsNotSentToRecipientsResponse.md)
- - [SalesforceMarketingCloud.GetEmailDefinitionsResponse](docs/GetEmailDefinitionsResponse.md)
- - [SalesforceMarketingCloud.GetQueueMetricsForSendDefinitionResponse](docs/GetQueueMetricsForSendDefinitionResponse.md)
- - [SalesforceMarketingCloud.GetSmsDefinitionsResponse](docs/GetSmsDefinitionsResponse.md)
- - [SalesforceMarketingCloud.Recipient](docs/Recipient.md)
- - [SalesforceMarketingCloud.SendDefinitionResponseItem](docs/SendDefinitionResponseItem.md)
- - [SalesforceMarketingCloud.SendDefinitionToMultipleRecipientsResponse](docs/SendDefinitionToMultipleRecipientsResponse.md)
- - [SalesforceMarketingCloud.SendDefinitionToSingleRecipientResponse](docs/SendDefinitionToSingleRecipientResponse.md)
- - [SalesforceMarketingCloud.SendEmailToMultipleRecipientsRequest](docs/SendEmailToMultipleRecipientsRequest.md)
- - [SalesforceMarketingCloud.SendEmailToSingleRecipientRequest](docs/SendEmailToSingleRecipientRequest.md)
- - [SalesforceMarketingCloud.SendSmsContentRequest](docs/SendSmsContentRequest.md)
- - [SalesforceMarketingCloud.SendSmsToMultipleRecipientsRequest](docs/SendSmsToMultipleRecipientsRequest.md)
- - [SalesforceMarketingCloud.SendSmsToMultipleRecipientsSubscriptionsRequest](docs/SendSmsToMultipleRecipientsSubscriptionsRequest.md)
- - [SalesforceMarketingCloud.SendSmsToSingleRecipientRequest](docs/SendSmsToSingleRecipientRequest.md)
- - [SalesforceMarketingCloud.SharingProperties](docs/SharingProperties.md)
- - [SalesforceMarketingCloud.UpdateEmailDefinitionRequest](docs/UpdateEmailDefinitionRequest.md)
- - [SalesforceMarketingCloud.UpdateSmsDefinitionRequest](docs/UpdateSmsDefinitionRequest.md)
+To find more information on how to consume the SDK, Refer to the [Regression tests](https://github.com/salesforce-marketingcloud/mcsdk-automation-node/tree/master/test/integration/api) or the [Code Samples](https://github.com/salesforce-marketingcloud/mcsdk-automation-node/tree/master/test/samples)
+
+### Note
+
+- Most of the code in this repo is auto generated from the [mcsdk-automation-framework-core](https://github.com/salesforce-marketingcloud/mcsdk-automation-framework-core) and the [mcsdk-automation-framework-node](https://github.com/salesforce-marketingcloud/mcsdk-automation-framework-node) repos. Other features like authentication flow, caching are directly implemented in this repo.
+- If any change is needed in the auto generated code, it has to come from the [mcsdk-automation-framework-core](https://github.com/salesforce-marketingcloud/mcsdk-automation-framework-core) or the [mcsdk-automation-framework-node](https://github.com/salesforce-marketingcloud/mcsdk-automation-framework-node) repos.
+- If any change is needed in the auth flow or caching, it should be done in this repo.
+
+## Contact us
+
+- Request a [new feature](https://github.com/salesforce-marketingcloud/mcsdk-automation-node/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc), add a question or report a bug on GitHub.
+- Vote for [Popular Feature Requests](https://github.com/salesforce-marketingcloud/mcsdk-automation-node/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) by making relevant comments and add your reaction. Use a reaction in place of a "+1" comment:
+ - đź‘Ť - upvote
+ - đź‘Ž - downvote
+
+## License
+By contributing your code, you agree to license your contribution under the terms of the [BSD 3-Clause License](https://github.com/salesforce-marketingcloud/mcsdk-automation-node/blob/master/license.md).
\ No newline at end of file
diff --git a/docs/EmailDefinition.md b/docs/EmailDefinition.md
new file mode 100644
index 0000000..ad175b0
--- /dev/null
+++ b/docs/EmailDefinition.md
@@ -0,0 +1,19 @@
+# SalesforceMarketingCloud.EmailDefinition
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**requestId** | **String** | The ID of the request | [optional]
+**name** | **String** | Name of the definition. Must be unique. |
+**definitionKey** | **String** | Unique, user-generated key to access the definition object. |
+**definitionId** | **String** | Definition Id | [optional]
+**description** | **String** | User-provided description of the email definition. | [optional]
+**classification** | **String** | Marketing Cloud external key of a sending classification defined in Email Studio Administration. Only transactional classifications are permitted. Default is default transactional. | [optional]
+**status** | **String** | Operational state of the definition: active, inactive, or deleted. A message sent to an active definition is processed and delivered. A message sent to an inactive definition isn’t processed or delivered. Instead, the message is queued for later processing for up to three days. | [optional]
+**createdDate** | **Date** | The date the object was created. | [optional]
+**modifiedDate** | **Date** | The date the object was modified. | [optional]
+**content** | [**EmailDefinitionContent**](EmailDefinitionContent.md) | |
+**subscriptions** | [**EmailDefinitionSubscriptions**](EmailDefinitionSubscriptions.md) | |
+**options** | [**EmailDefinitionOptions**](EmailDefinitionOptions.md) | | [optional]
+
+
diff --git a/docs/EmailDefinitionContent.md b/docs/EmailDefinitionContent.md
new file mode 100644
index 0000000..b35006e
--- /dev/null
+++ b/docs/EmailDefinitionContent.md
@@ -0,0 +1,8 @@
+# SalesforceMarketingCloud.EmailDefinitionContent
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**customerKey** | **String** | Unique identifier of the content asset. |
+
+
diff --git a/docs/EmailDefinitionOptions.md b/docs/EmailDefinitionOptions.md
new file mode 100644
index 0000000..1bb1e33
--- /dev/null
+++ b/docs/EmailDefinitionOptions.md
@@ -0,0 +1,8 @@
+# SalesforceMarketingCloud.EmailDefinitionOptions
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**trackLinks** | **Boolean** | Wraps links for tracking and reporting. Default is true. | [optional]
+
+
diff --git a/docs/EmailDefinitionSubscriptions.md b/docs/EmailDefinitionSubscriptions.md
new file mode 100644
index 0000000..21561e8
--- /dev/null
+++ b/docs/EmailDefinitionSubscriptions.md
@@ -0,0 +1,11 @@
+# SalesforceMarketingCloud.EmailDefinitionSubscriptions
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**list** | **String** | Marketing Cloud external key of the list or all subscribers. Contains the subscriber keys and profile attributes. |
+**dataExtension** | **String** | Marketing Cloud external key of the triggered send data extension. Each request inserts as a new row in the data extension. | [optional]
+**autoAddSubscriber** | **Boolean** | Adds the recipient’s email address and contact key as a subscriber key to subscriptions.list. Default is true. | [optional] [default to true]
+**updateSubscriber** | **Boolean** | Updates the recipient’s contact key as a subscriber key with the provided email address and profile attributes to subscriptions.list. Default is true. | [optional]
+
+
diff --git a/docs/GetEmailDefinitionsResponse.md b/docs/GetEmailDefinitionsResponse.md
index b6616e3..78962fc 100644
--- a/docs/GetEmailDefinitionsResponse.md
+++ b/docs/GetEmailDefinitionsResponse.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**requestId** | **String** | The ID of the request | [optional]
-**definitions** | [**[CreateEmailDefinitionRequest]**](CreateEmailDefinitionRequest.md) | | [optional]
+**definitions** | [**[EmailDefinition]**](EmailDefinition.md) | | [optional]
**count** | **Number** | Number of pages | [optional]
**page** | **Number** | Page number to return. | [optional]
**pageSize** | **Number** | Number of definitions, which are array elements, to return per paged response. | [optional]
diff --git a/docs/GetSmsDefinitionsResponse.md b/docs/GetSmsDefinitionsResponse.md
index 721dbe7..c167f03 100644
--- a/docs/GetSmsDefinitionsResponse.md
+++ b/docs/GetSmsDefinitionsResponse.md
@@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**requestId** | **String** | The ID of the request | [optional]
-**definitions** | [**[CreateSmsDefinitionRequest]**](CreateSmsDefinitionRequest.md) | | [optional]
+**definitions** | [**[SmsDefinition]**](SmsDefinition.md) | | [optional]
**count** | **Number** | Number of pages | [optional]
**page** | **Number** | Page number to return. | [optional]
**pageSize** | **Number** | Number of definitions, which are array elements, to return per paged response. | [optional]
diff --git a/docs/SmsDefinition.md b/docs/SmsDefinition.md
new file mode 100644
index 0000000..1cb974b
--- /dev/null
+++ b/docs/SmsDefinition.md
@@ -0,0 +1,16 @@
+# SalesforceMarketingCloud.SmsDefinition
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**definitionKey** | **String** | Unique, user-generated key to access the definition object. |
+**name** | **String** | Name of the definition. Must be unique. |
+**content** | [**SmsDefinitionContent**](SmsDefinitionContent.md) | |
+**status** | **String** | Operational state of the definition: active, inactive, or deleted. A message sent to an active definition is processed and delivered. A message sent to an inactive definition isn’t processed or delivered. Instead, the message is queued for later processing for up to three days. | [optional]
+**createdDate** | **Date** | The date the object was created. | [optional]
+**modifiedDate** | **Date** | The date the object was modified. | [optional]
+**description** | **String** | User-provided description of the SMS definition. | [optional]
+**subscriptions** | [**SmsDefinitionSubscriptions**](SmsDefinitionSubscriptions.md) | |
+**requestId** | **String** | The ID of the request | [optional]
+
+
diff --git a/docs/SmsDefinitionContent.md b/docs/SmsDefinitionContent.md
new file mode 100644
index 0000000..8e60085
--- /dev/null
+++ b/docs/SmsDefinitionContent.md
@@ -0,0 +1,8 @@
+# SalesforceMarketingCloud.SmsDefinitionContent
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**message** | **String** | The message content that you want sent with each message. Use substitution strings and AMPscript to personalize the message. |
+
+
diff --git a/docs/SmsDefinitionSubscriptions.md b/docs/SmsDefinitionSubscriptions.md
new file mode 100644
index 0000000..8bbcd7b
--- /dev/null
+++ b/docs/SmsDefinitionSubscriptions.md
@@ -0,0 +1,11 @@
+# SalesforceMarketingCloud.SmsDefinitionSubscriptions
+
+## Properties
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**shortCode** | **String** | The short code for the mobile transmissions for each message on this definition. |
+**countryCode** | **String** | The country code associated with the shortCode for the mobile transmissions for each message on this definition. |
+**keyword** | **String** | The keyword used to track messages. | [optional]
+**autoAddSubscriber** | **Boolean** | Permits adding a recipient as subscriber against the shortCode using contactKey. When false, the message is rejected if contactKey does not exist as a subscriber. Default is true. | [optional] [default to true]
+
+
diff --git a/docs/TransactionalMessagingApi.md b/docs/TransactionalMessagingApi.md
index c0b36c2..66d356a 100644
--- a/docs/TransactionalMessagingApi.md
+++ b/docs/TransactionalMessagingApi.md
@@ -30,7 +30,7 @@ Method | HTTP request | Description
# **createEmailDefinition**
-> CreateEmailDefinitionRequest createEmailDefinition(body)
+> EmailDefinition createEmailDefinition(body)
createEmailDefinition
@@ -42,7 +42,7 @@ const SalesforceMarketingCloud = require ('SalesforceMarketingCloud');
let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi();
-let body = new SalesforceMarketingCloud.CreateEmailDefinitionRequest(); // CreateEmailDefinitionRequest | JSON Parameters
+let body = new SalesforceMarketingCloud.EmailDefinition(); // EmailDefinition | JSON Parameters
apiInstance.createEmailDefinition(body).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -56,11 +56,11 @@ apiInstance.createEmailDefinition(body).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | [**CreateEmailDefinitionRequest**](CreateEmailDefinitionRequest.md)| JSON Parameters |
+ **body** | [**EmailDefinition**](EmailDefinition.md)| JSON Parameters |
### Return type
-[**CreateEmailDefinitionRequest**](CreateEmailDefinitionRequest.md)
+[**EmailDefinition**](EmailDefinition.md)
### Authorization
@@ -73,7 +73,7 @@ No authorization required
# **createSmsDefinition**
-> CreateSmsDefinitionRequest createSmsDefinition(body)
+> SmsDefinition createSmsDefinition(body)
createSmsDefinition
@@ -85,7 +85,7 @@ const SalesforceMarketingCloud = require ('SalesforceMarketingCloud');
let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi();
-let body = new SalesforceMarketingCloud.CreateSmsDefinitionRequest(); // CreateSmsDefinitionRequest | JSON Parameters
+let body = new SalesforceMarketingCloud.SmsDefinition(); // SmsDefinition | JSON Parameters
apiInstance.createSmsDefinition(body).then((data) => {
console.log('API called successfully. Returned data: ' + data);
@@ -99,11 +99,11 @@ apiInstance.createSmsDefinition(body).then((data) => {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | [**CreateSmsDefinitionRequest**](CreateSmsDefinitionRequest.md)| JSON Parameters |
+ **body** | [**SmsDefinition**](SmsDefinition.md)| JSON Parameters |
### Return type
-[**CreateSmsDefinitionRequest**](CreateSmsDefinitionRequest.md)
+[**SmsDefinition**](SmsDefinition.md)
### Authorization
@@ -288,7 +288,7 @@ No authorization required
# **getEmailDefinition**
-> CreateEmailDefinitionRequest getEmailDefinition(definitionKey)
+> EmailDefinition getEmailDefinition(definitionKey)
getEmailDefinition
@@ -318,7 +318,7 @@ Name | Type | Description | Notes
### Return type
-[**CreateEmailDefinitionRequest**](CreateEmailDefinitionRequest.md)
+[**EmailDefinition**](EmailDefinition.md)
### Authorization
@@ -608,7 +608,7 @@ No authorization required
# **getSmsDefinition**
-> CreateSmsDefinitionRequest getSmsDefinition(definitionKey)
+> SmsDefinition getSmsDefinition(definitionKey)
getSmsDefinition
@@ -638,7 +638,7 @@ Name | Type | Description | Notes
### Return type
-[**CreateSmsDefinitionRequest**](CreateSmsDefinitionRequest.md)
+[**SmsDefinition**](SmsDefinition.md)
### Authorization
@@ -744,7 +744,7 @@ No authorization required
# **partiallyUpdateEmailDefinition**
-> CreateEmailDefinitionRequest partiallyUpdateEmailDefinition(definitionKey, body)
+> EmailDefinition partiallyUpdateEmailDefinition(definitionKey, body)
partiallyUpdateEmailDefinition
@@ -777,7 +777,7 @@ Name | Type | Description | Notes
### Return type
-[**CreateEmailDefinitionRequest**](CreateEmailDefinitionRequest.md)
+[**EmailDefinition**](EmailDefinition.md)
### Authorization
@@ -790,7 +790,7 @@ No authorization required
# **partiallyUpdateSmsDefinition**
-> CreateSmsDefinitionRequest partiallyUpdateSmsDefinition(definitionKey, body)
+> SmsDefinition partiallyUpdateSmsDefinition(definitionKey, body)
partiallyUpdateSmsDefinition
@@ -823,7 +823,7 @@ Name | Type | Description | Notes
### Return type
-[**CreateSmsDefinitionRequest**](CreateSmsDefinitionRequest.md)
+[**SmsDefinition**](SmsDefinition.md)
### Authorization
diff --git a/docs/UpdateEmailDefinitionRequest.md b/docs/UpdateEmailDefinitionRequest.md
index 185dd11..3b46179 100644
--- a/docs/UpdateEmailDefinitionRequest.md
+++ b/docs/UpdateEmailDefinitionRequest.md
@@ -4,11 +4,11 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | Name of the definition. Must be unique. | [optional]
-**content** | [**CreateEmailDefinitionContent**](CreateEmailDefinitionContent.md) | | [optional]
+**content** | [**EmailDefinitionContent**](EmailDefinitionContent.md) | | [optional]
**status** | **String** | Operational state of the definition: active, inactive, or deleted. A message sent to an active definition is processed and delivered. A message sent to an inactive definition isn’t processed or delivered. Instead, the message is queued for later processing for up to three days. | [optional]
**description** | **String** | User-provided description of the email definition. | [optional]
**classification** | **String** | Marketing Cloud external key of a sending classification defined in Email Studio Administration. Only transactional classifications are permitted. Default is default transactional. | [optional]
-**subscriptions** | [**CreateEmailDefinitionSubscriptions**](CreateEmailDefinitionSubscriptions.md) | | [optional]
-**options** | [**CreateEmailDefinitionOptionsRequest**](CreateEmailDefinitionOptionsRequest.md) | | [optional]
+**subscriptions** | [**EmailDefinitionSubscriptions**](EmailDefinitionSubscriptions.md) | | [optional]
+**options** | [**EmailDefinitionOptions**](EmailDefinitionOptions.md) | | [optional]
diff --git a/docs/UpdateSmsDefinitionRequest.md b/docs/UpdateSmsDefinitionRequest.md
index 0502e06..62dd522 100644
--- a/docs/UpdateSmsDefinitionRequest.md
+++ b/docs/UpdateSmsDefinitionRequest.md
@@ -4,9 +4,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | Name of the definition. Must be unique. | [optional]
-**content** | [**CreateSmsDefinitionContent**](CreateSmsDefinitionContent.md) | | [optional]
+**content** | [**SmsDefinitionContent**](SmsDefinitionContent.md) | | [optional]
**status** | **String** | Operational state of the definition: active, inactive, or deleted. A message sent to an active definition is processed and delivered. A message sent to an inactive definition isn’t processed or delivered. Instead, the message is queued for later processing for up to three days. | [optional]
**description** | **String** | User-provided description of the SMS definition. | [optional]
-**subscriptions** | [**CreateSmsDefinitionSubscriptions**](CreateSmsDefinitionSubscriptions.md) | | [optional]
+**subscriptions** | [**SmsDefinitionSubscriptions**](SmsDefinitionSubscriptions.md) | | [optional]
diff --git a/package-lock.json b/package-lock.json
index 6d7bdfe..84ce074 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -52,12 +52,6 @@
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
"dev": true
},
- "ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
- },
"argparse": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
@@ -78,872 +72,6 @@
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
- "babel-code-frame": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",
- "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=",
- "dev": true,
- "requires": {
- "chalk": "^1.1.3",
- "esutils": "^2.0.2",
- "js-tokens": "^3.0.2"
- }
- },
- "babel-core": {
- "version": "6.26.3",
- "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz",
- "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==",
- "dev": true,
- "requires": {
- "babel-code-frame": "^6.26.0",
- "babel-generator": "^6.26.0",
- "babel-helpers": "^6.24.1",
- "babel-messages": "^6.23.0",
- "babel-register": "^6.26.0",
- "babel-runtime": "^6.26.0",
- "babel-template": "^6.26.0",
- "babel-traverse": "^6.26.0",
- "babel-types": "^6.26.0",
- "babylon": "^6.18.0",
- "convert-source-map": "^1.5.1",
- "debug": "^2.6.9",
- "json5": "^0.5.1",
- "lodash": "^4.17.4",
- "minimatch": "^3.0.4",
- "path-is-absolute": "^1.0.1",
- "private": "^0.1.8",
- "slash": "^1.0.0",
- "source-map": "^0.5.7"
- },
- "dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dev": true,
- "requires": {
- "ms": "2.0.0"
- }
- },
- "ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
- "dev": true
- }
- }
- },
- "babel-generator": {
- "version": "6.26.1",
- "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz",
- "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==",
- "dev": true,
- "requires": {
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "detect-indent": "^4.0.0",
- "jsesc": "^1.3.0",
- "lodash": "^4.17.4",
- "source-map": "^0.5.7",
- "trim-right": "^1.0.1"
- }
- },
- "babel-helper-bindify-decorators": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz",
- "integrity": "sha1-FMGeXxQte0fxmlJDHlKxzLxAozA=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-builder-binary-assignment-operator-visitor": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz",
- "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=",
- "dev": true,
- "requires": {
- "babel-helper-explode-assignable-expression": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-call-delegate": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz",
- "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=",
- "dev": true,
- "requires": {
- "babel-helper-hoist-variables": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-define-map": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz",
- "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=",
- "dev": true,
- "requires": {
- "babel-helper-function-name": "^6.24.1",
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "lodash": "^4.17.4"
- }
- },
- "babel-helper-explode-assignable-expression": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz",
- "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-explode-class": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz",
- "integrity": "sha1-fcKjkQ3uAHBW4eMdZAztPVTqqes=",
- "dev": true,
- "requires": {
- "babel-helper-bindify-decorators": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-function-name": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz",
- "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=",
- "dev": true,
- "requires": {
- "babel-helper-get-function-arity": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-get-function-arity": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz",
- "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-hoist-variables": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz",
- "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-optimise-call-expression": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz",
- "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-regex": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz",
- "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "lodash": "^4.17.4"
- }
- },
- "babel-helper-remap-async-to-generator": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz",
- "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=",
- "dev": true,
- "requires": {
- "babel-helper-function-name": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helper-replace-supers": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz",
- "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=",
- "dev": true,
- "requires": {
- "babel-helper-optimise-call-expression": "^6.24.1",
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-helpers": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
- "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
- "babel-messages": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz",
- "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-check-es2015-constants": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz",
- "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-syntax-async-functions": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz",
- "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=",
- "dev": true
- },
- "babel-plugin-syntax-async-generators": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz",
- "integrity": "sha1-a8lj67FuzLrmuStZbrfzXDQqi5o=",
- "dev": true
- },
- "babel-plugin-syntax-class-constructor-call": {
- "version": "6.18.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-constructor-call/-/babel-plugin-syntax-class-constructor-call-6.18.0.tgz",
- "integrity": "sha1-nLnTn+Q8hgC+yBRkVt3L1OGnZBY=",
- "dev": true
- },
- "babel-plugin-syntax-class-properties": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz",
- "integrity": "sha1-1+sjt5oxf4VDlixQW4J8fWysJ94=",
- "dev": true
- },
- "babel-plugin-syntax-decorators": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz",
- "integrity": "sha1-MSVjtNvePMgGzuPkFszurd0RrAs=",
- "dev": true
- },
- "babel-plugin-syntax-do-expressions": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-do-expressions/-/babel-plugin-syntax-do-expressions-6.13.0.tgz",
- "integrity": "sha1-V0d1YTmqJtOQ0JQQsDdEugfkeW0=",
- "dev": true
- },
- "babel-plugin-syntax-dynamic-import": {
- "version": "6.18.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz",
- "integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=",
- "dev": true
- },
- "babel-plugin-syntax-exponentiation-operator": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz",
- "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=",
- "dev": true
- },
- "babel-plugin-syntax-export-extensions": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-export-extensions/-/babel-plugin-syntax-export-extensions-6.13.0.tgz",
- "integrity": "sha1-cKFITw+QiaToStRLrDU8lbmxJyE=",
- "dev": true
- },
- "babel-plugin-syntax-function-bind": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz",
- "integrity": "sha1-SMSV8Xe98xqYHnMvVa3AvdJgH0Y=",
- "dev": true
- },
- "babel-plugin-syntax-object-rest-spread": {
- "version": "6.13.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz",
- "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=",
- "dev": true
- },
- "babel-plugin-syntax-trailing-function-commas": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz",
- "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=",
- "dev": true
- },
- "babel-plugin-transform-async-generator-functions": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz",
- "integrity": "sha1-8FiQAUX9PpkHpt3yjaWfIVJYpds=",
- "dev": true,
- "requires": {
- "babel-helper-remap-async-to-generator": "^6.24.1",
- "babel-plugin-syntax-async-generators": "^6.5.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-async-to-generator": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz",
- "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=",
- "dev": true,
- "requires": {
- "babel-helper-remap-async-to-generator": "^6.24.1",
- "babel-plugin-syntax-async-functions": "^6.8.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-class-constructor-call": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.24.1.tgz",
- "integrity": "sha1-gNwoVQWsBn3LjWxl4vbxGrd2Xvk=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-class-constructor-call": "^6.18.0",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
- "babel-plugin-transform-class-properties": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz",
- "integrity": "sha1-anl2PqYdM9NvN7YRqp3vgagbRqw=",
- "dev": true,
- "requires": {
- "babel-helper-function-name": "^6.24.1",
- "babel-plugin-syntax-class-properties": "^6.8.0",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
- "babel-plugin-transform-decorators": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz",
- "integrity": "sha1-eIAT2PjGtSIr33s0Q5Df13Vp4k0=",
- "dev": true,
- "requires": {
- "babel-helper-explode-class": "^6.24.1",
- "babel-plugin-syntax-decorators": "^6.13.0",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-do-expressions": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-do-expressions/-/babel-plugin-transform-do-expressions-6.22.0.tgz",
- "integrity": "sha1-KMyvkoEtlJws0SgfaQyP3EaK6bs=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-do-expressions": "^6.8.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-arrow-functions": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz",
- "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-block-scoped-functions": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz",
- "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-block-scoping": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz",
- "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.26.0",
- "babel-template": "^6.26.0",
- "babel-traverse": "^6.26.0",
- "babel-types": "^6.26.0",
- "lodash": "^4.17.4"
- }
- },
- "babel-plugin-transform-es2015-classes": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz",
- "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=",
- "dev": true,
- "requires": {
- "babel-helper-define-map": "^6.24.1",
- "babel-helper-function-name": "^6.24.1",
- "babel-helper-optimise-call-expression": "^6.24.1",
- "babel-helper-replace-supers": "^6.24.1",
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-computed-properties": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz",
- "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-destructuring": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz",
- "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-duplicate-keys": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz",
- "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-for-of": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz",
- "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-function-name": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz",
- "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=",
- "dev": true,
- "requires": {
- "babel-helper-function-name": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-literals": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz",
- "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-modules-amd": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz",
- "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=",
- "dev": true,
- "requires": {
- "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-modules-commonjs": {
- "version": "6.26.2",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz",
- "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==",
- "dev": true,
- "requires": {
- "babel-plugin-transform-strict-mode": "^6.24.1",
- "babel-runtime": "^6.26.0",
- "babel-template": "^6.26.0",
- "babel-types": "^6.26.0"
- }
- },
- "babel-plugin-transform-es2015-modules-systemjs": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz",
- "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=",
- "dev": true,
- "requires": {
- "babel-helper-hoist-variables": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-modules-umd": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz",
- "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=",
- "dev": true,
- "requires": {
- "babel-plugin-transform-es2015-modules-amd": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-object-super": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz",
- "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=",
- "dev": true,
- "requires": {
- "babel-helper-replace-supers": "^6.24.1",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-parameters": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz",
- "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=",
- "dev": true,
- "requires": {
- "babel-helper-call-delegate": "^6.24.1",
- "babel-helper-get-function-arity": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-template": "^6.24.1",
- "babel-traverse": "^6.24.1",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-shorthand-properties": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz",
- "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-spread": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz",
- "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-sticky-regex": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz",
- "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=",
- "dev": true,
- "requires": {
- "babel-helper-regex": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-plugin-transform-es2015-template-literals": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz",
- "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-typeof-symbol": {
- "version": "6.23.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz",
- "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-es2015-unicode-regex": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz",
- "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=",
- "dev": true,
- "requires": {
- "babel-helper-regex": "^6.24.1",
- "babel-runtime": "^6.22.0",
- "regexpu-core": "^2.0.0"
- }
- },
- "babel-plugin-transform-exponentiation-operator": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz",
- "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=",
- "dev": true,
- "requires": {
- "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1",
- "babel-plugin-syntax-exponentiation-operator": "^6.8.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-export-extensions": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-export-extensions/-/babel-plugin-transform-export-extensions-6.22.0.tgz",
- "integrity": "sha1-U3OLR+deghhYnuqUbLvTkQm75lM=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-export-extensions": "^6.8.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-function-bind": {
- "version": "6.22.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-function-bind/-/babel-plugin-transform-function-bind-6.22.0.tgz",
- "integrity": "sha1-xvuOlqwpajELjPjqQBRiQH3fapc=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-function-bind": "^6.8.0",
- "babel-runtime": "^6.22.0"
- }
- },
- "babel-plugin-transform-object-rest-spread": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz",
- "integrity": "sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-object-rest-spread": "^6.8.0",
- "babel-runtime": "^6.26.0"
- }
- },
- "babel-plugin-transform-regenerator": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz",
- "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=",
- "dev": true,
- "requires": {
- "regenerator-transform": "^0.10.0"
- }
- },
- "babel-plugin-transform-strict-mode": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz",
- "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.22.0",
- "babel-types": "^6.24.1"
- }
- },
- "babel-preset-env": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz",
- "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==",
- "dev": true,
- "requires": {
- "babel-plugin-check-es2015-constants": "^6.22.0",
- "babel-plugin-syntax-trailing-function-commas": "^6.22.0",
- "babel-plugin-transform-async-to-generator": "^6.22.0",
- "babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
- "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0",
- "babel-plugin-transform-es2015-block-scoping": "^6.23.0",
- "babel-plugin-transform-es2015-classes": "^6.23.0",
- "babel-plugin-transform-es2015-computed-properties": "^6.22.0",
- "babel-plugin-transform-es2015-destructuring": "^6.23.0",
- "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0",
- "babel-plugin-transform-es2015-for-of": "^6.23.0",
- "babel-plugin-transform-es2015-function-name": "^6.22.0",
- "babel-plugin-transform-es2015-literals": "^6.22.0",
- "babel-plugin-transform-es2015-modules-amd": "^6.22.0",
- "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
- "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0",
- "babel-plugin-transform-es2015-modules-umd": "^6.23.0",
- "babel-plugin-transform-es2015-object-super": "^6.22.0",
- "babel-plugin-transform-es2015-parameters": "^6.23.0",
- "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0",
- "babel-plugin-transform-es2015-spread": "^6.22.0",
- "babel-plugin-transform-es2015-sticky-regex": "^6.22.0",
- "babel-plugin-transform-es2015-template-literals": "^6.22.0",
- "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0",
- "babel-plugin-transform-es2015-unicode-regex": "^6.22.0",
- "babel-plugin-transform-exponentiation-operator": "^6.22.0",
- "babel-plugin-transform-regenerator": "^6.22.0",
- "browserslist": "^3.2.6",
- "invariant": "^2.2.2",
- "semver": "^5.3.0"
- },
- "dependencies": {
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
- "dev": true
- }
- }
- },
- "babel-preset-stage-0": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-preset-stage-0/-/babel-preset-stage-0-6.24.1.tgz",
- "integrity": "sha1-VkLRUEL5E4TX5a+LyIsduVsDnmo=",
- "dev": true,
- "requires": {
- "babel-plugin-transform-do-expressions": "^6.22.0",
- "babel-plugin-transform-function-bind": "^6.22.0",
- "babel-preset-stage-1": "^6.24.1"
- }
- },
- "babel-preset-stage-1": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-preset-stage-1/-/babel-preset-stage-1-6.24.1.tgz",
- "integrity": "sha1-dpLNfc1oSZB+auSgqFWJz7niv7A=",
- "dev": true,
- "requires": {
- "babel-plugin-transform-class-constructor-call": "^6.24.1",
- "babel-plugin-transform-export-extensions": "^6.22.0",
- "babel-preset-stage-2": "^6.24.1"
- }
- },
- "babel-preset-stage-2": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz",
- "integrity": "sha1-2eKWD7PXEYfw5k7sYrwHdnIZvcE=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-dynamic-import": "^6.18.0",
- "babel-plugin-transform-class-properties": "^6.24.1",
- "babel-plugin-transform-decorators": "^6.24.1",
- "babel-preset-stage-3": "^6.24.1"
- }
- },
- "babel-preset-stage-3": {
- "version": "6.24.1",
- "resolved": "https://registry.npmjs.org/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz",
- "integrity": "sha1-g2raCp56f6N8sTj7kyb4eTSkg5U=",
- "dev": true,
- "requires": {
- "babel-plugin-syntax-trailing-function-commas": "^6.22.0",
- "babel-plugin-transform-async-generator-functions": "^6.24.1",
- "babel-plugin-transform-async-to-generator": "^6.24.1",
- "babel-plugin-transform-exponentiation-operator": "^6.24.1",
- "babel-plugin-transform-object-rest-spread": "^6.22.0"
- }
- },
- "babel-register": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz",
- "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=",
- "dev": true,
- "requires": {
- "babel-core": "^6.26.0",
- "babel-runtime": "^6.26.0",
- "core-js": "^2.5.0",
- "home-or-tmp": "^2.0.0",
- "lodash": "^4.17.4",
- "mkdirp": "^0.5.1",
- "source-map-support": "^0.4.15"
- }
- },
- "babel-runtime": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
- "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
- "dev": true,
- "requires": {
- "core-js": "^2.4.0",
- "regenerator-runtime": "^0.11.0"
- }
- },
- "babel-template": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz",
- "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.26.0",
- "babel-traverse": "^6.26.0",
- "babel-types": "^6.26.0",
- "babylon": "^6.18.0",
- "lodash": "^4.17.4"
- }
- },
- "babel-traverse": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz",
- "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=",
- "dev": true,
- "requires": {
- "babel-code-frame": "^6.26.0",
- "babel-messages": "^6.23.0",
- "babel-runtime": "^6.26.0",
- "babel-types": "^6.26.0",
- "babylon": "^6.18.0",
- "debug": "^2.6.8",
- "globals": "^9.18.0",
- "invariant": "^2.2.2",
- "lodash": "^4.17.4"
- },
- "dependencies": {
- "debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dev": true,
- "requires": {
- "ms": "2.0.0"
- }
- },
- "ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
- "dev": true
- }
- }
- },
- "babel-types": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz",
- "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.26.0",
- "esutils": "^2.0.2",
- "lodash": "^4.17.4",
- "to-fast-properties": "^1.0.3"
- }
- },
- "babylon": {
- "version": "6.18.0",
- "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz",
- "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==",
- "dev": true
- },
"balanced-match": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
@@ -966,41 +94,12 @@
"integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==",
"dev": true
},
- "browserslist": {
- "version": "3.2.8",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz",
- "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==",
- "dev": true,
- "requires": {
- "caniuse-lite": "^1.0.30000844",
- "electron-to-chromium": "^1.3.47"
- }
- },
"camelcase": {
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
"dev": true
},
- "caniuse-lite": {
- "version": "1.0.30000989",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000989.tgz",
- "integrity": "sha512-vrMcvSuMz16YY6GSVZ0dWDTJP8jqk3iFQ/Aq5iqblPwxSVVZI+zxDyTX0VPqtQsDnfdrBDcsmhgTEOh5R8Lbpw==",
- "dev": true
- },
- "chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
- "dev": true,
- "requires": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- }
- },
"cliui": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",
@@ -1069,34 +168,11 @@
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
"dev": true
},
- "convert-source-map": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz",
- "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==",
- "dev": true,
- "requires": {
- "safe-buffer": "~5.1.1"
- },
- "dependencies": {
- "safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
- }
- }
- },
"cookiejar": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz",
"integrity": "sha512-Mw+adcfzPxcPeI+0WlvRrr/3lGVO0bD75SxX6811cxSh1Wbxx7xZBGK1eVtDf6si8rg2lhnUjsVLMFMfbRIuwA=="
},
- "core-js": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz",
- "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==",
- "dev": true
- },
"cross-spawn": {
"version": "6.0.5",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
@@ -1146,27 +222,12 @@
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
},
- "detect-indent": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz",
- "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=",
- "dev": true,
- "requires": {
- "repeating": "^2.0.0"
- }
- },
"diff": {
"version": "3.5.0",
"resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
"integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==",
"dev": true
},
- "electron-to-chromium": {
- "version": "1.3.260",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.260.tgz",
- "integrity": "sha512-wGt+OivF1C1MPwaSv3LJ96ebNbLAWlx3HndivDDWqwIVSQxmhL17Y/YmwUdEMtS/bPyommELt47Dct0/VZNQBQ==",
- "dev": true
- },
"emoji-regex": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
@@ -1223,12 +284,6 @@
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
"dev": true
},
- "esutils": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
- "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
- "dev": true
- },
"execa": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
@@ -1329,12 +384,6 @@
"path-is-absolute": "^1.0.0"
}
},
- "globals": {
- "version": "9.18.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
- "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==",
- "dev": true
- },
"growl": {
"version": "1.10.5",
"resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz",
@@ -1350,15 +399,6 @@
"function-bind": "^1.1.1"
}
},
- "has-ansi": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
- "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
- "dev": true,
- "requires": {
- "ansi-regex": "^2.0.0"
- }
- },
"has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
@@ -1377,16 +417,6 @@
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
"dev": true
},
- "home-or-tmp": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz",
- "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=",
- "dev": true,
- "requires": {
- "os-homedir": "^1.0.0",
- "os-tmpdir": "^1.0.1"
- }
- },
"inflight": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
@@ -1402,15 +432,6 @@
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
- "invariant": {
- "version": "2.2.4",
- "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
- "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
- "dev": true,
- "requires": {
- "loose-envify": "^1.0.0"
- }
- },
"invert-kv": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz",
@@ -1435,15 +456,6 @@
"integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=",
"dev": true
},
- "is-finite": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz",
- "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=",
- "dev": true,
- "requires": {
- "number-is-nan": "^1.0.0"
- }
- },
"is-fullwidth-code-point": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
@@ -1486,12 +498,6 @@
"integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
"dev": true
},
- "js-tokens": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
- "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=",
- "dev": true
- },
"js-yaml": {
"version": "3.13.1",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
@@ -1502,18 +508,6 @@
"esprima": "^4.0.0"
}
},
- "jsesc": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
- "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=",
- "dev": true
- },
- "json5": {
- "version": "0.5.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
- "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
- "dev": true
- },
"just-extend": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.0.2.tgz",
@@ -1591,15 +585,6 @@
"integrity": "sha512-gKO5uExCXvSm6zbF562EvM+rd1kQDnB9AZBbiQVzf1ZmdDpxUSvpnAaVOP83N/31mRK8Ml8/VE8DMvsAZQ+7wg==",
"dev": true
},
- "loose-envify": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
- "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
- "dev": true,
- "requires": {
- "js-tokens": "^3.0.0 || ^4.0.0"
- }
- },
"map-age-cleaner": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz",
@@ -1830,12 +815,6 @@
"wrappy": "1"
}
},
- "os-homedir": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
- "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
- "dev": true
- },
"os-locale": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",
@@ -1847,12 +826,6 @@
"mem": "^4.0.0"
}
},
- "os-tmpdir": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
- "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
- "dev": true
- },
"p-defer": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz",
@@ -1922,12 +895,6 @@
"isarray": "0.0.1"
}
},
- "private": {
- "version": "0.1.8",
- "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz",
- "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==",
- "dev": true
- },
"pump": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
@@ -1953,72 +920,6 @@
"util-deprecate": "^1.0.1"
}
},
- "regenerate": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz",
- "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==",
- "dev": true
- },
- "regenerator-runtime": {
- "version": "0.11.1",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
- "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==",
- "dev": true
- },
- "regenerator-transform": {
- "version": "0.10.1",
- "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz",
- "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==",
- "dev": true,
- "requires": {
- "babel-runtime": "^6.18.0",
- "babel-types": "^6.19.0",
- "private": "^0.1.6"
- }
- },
- "regexpu-core": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz",
- "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=",
- "dev": true,
- "requires": {
- "regenerate": "^1.2.1",
- "regjsgen": "^0.2.0",
- "regjsparser": "^0.1.4"
- }
- },
- "regjsgen": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz",
- "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=",
- "dev": true
- },
- "regjsparser": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz",
- "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=",
- "dev": true,
- "requires": {
- "jsesc": "~0.5.0"
- },
- "dependencies": {
- "jsesc": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
- "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
- "dev": true
- }
- }
- },
- "repeating": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
- "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
- "dev": true,
- "requires": {
- "is-finite": "^1.0.0"
- }
- },
"require-directory": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
@@ -2094,27 +995,6 @@
}
}
},
- "slash": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
- "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",
- "dev": true
- },
- "source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true
- },
- "source-map-support": {
- "version": "0.4.18",
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz",
- "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==",
- "dev": true,
- "requires": {
- "source-map": "^0.5.6"
- }
- },
"sprintf-js": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
@@ -2215,24 +1095,6 @@
"semver": "^6.1.1"
}
},
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- },
- "to-fast-properties": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz",
- "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=",
- "dev": true
- },
- "trim-right": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz",
- "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=",
- "dev": true
- },
"type-detect": {
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
diff --git a/src/Api/TransactionalMessagingApi.js b/src/Api/TransactionalMessagingApi.js
index d69035d..01a4f32 100644
--- a/src/Api/TransactionalMessagingApi.js
+++ b/src/Api/TransactionalMessagingApi.js
@@ -13,10 +13,9 @@
const ApiError = require ('../Model/ApiError');
-const CreateEmailDefinitionRequest = require ('../Model/CreateEmailDefinitionRequest');
-const CreateSmsDefinitionRequest = require ('../Model/CreateSmsDefinitionRequest');
const DeleteQueuedMessagesForSendDefinitionResponse = require ('../Model/DeleteQueuedMessagesForSendDefinitionResponse');
const DeleteSendDefinitionResponse = require ('../Model/DeleteSendDefinitionResponse');
+const EmailDefinition = require ('../Model/EmailDefinition');
const GetDefinitionSendStatusForRecipientResponse = require ('../Model/GetDefinitionSendStatusForRecipientResponse');
const GetDefinitionsNotSentToRecipientsResponse = require ('../Model/GetDefinitionsNotSentToRecipientsResponse');
const GetEmailDefinitionsResponse = require ('../Model/GetEmailDefinitionsResponse');
@@ -28,6 +27,7 @@ const SendEmailToMultipleRecipientsRequest = require ('../Model/SendEmailToMulti
const SendEmailToSingleRecipientRequest = require ('../Model/SendEmailToSingleRecipientRequest');
const SendSmsToMultipleRecipientsRequest = require ('../Model/SendSmsToMultipleRecipientsRequest');
const SendSmsToSingleRecipientRequest = require ('../Model/SendSmsToSingleRecipientRequest');
+const SmsDefinition = require ('../Model/SmsDefinition');
const UpdateEmailDefinitionRequest = require ('../Model/UpdateEmailDefinitionRequest');
const UpdateSmsDefinitionRequest = require ('../Model/UpdateSmsDefinitionRequest');
const BaseApi = require('./BaseApi');
@@ -55,8 +55,8 @@ module.exports = class TransactionalMessagingApi extends BaseApi {
/**
* createEmailDefinition
* Creates the definition for an email.
- * @param {module:Model/CreateEmailDefinitionRequest} body JSON Parameters
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:Model/CreateEmailDefinitionRequest} and HTTP response
+ * @param {module:Model/EmailDefinition} body JSON Parameters
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:Model/EmailDefinition} and HTTP response
*/
createEmailDefinitionWithHttpInfo(caller, body) {
let postBody = body;
@@ -91,8 +91,8 @@ module.exports = class TransactionalMessagingApi extends BaseApi {
/**
* createEmailDefinition
* Creates the definition for an email.
- * @param {module:Model/CreateEmailDefinitionRequest} body JSON Parameters
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:Model/CreateEmailDefinitionRequest}
+ * @param {module:Model/EmailDefinition} body JSON Parameters
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:Model/EmailDefinition}
*/
createEmailDefinition(body) {
return this.createEmailDefinitionWithHttpInfo('createEmailDefinition', body)
@@ -105,8 +105,8 @@ module.exports = class TransactionalMessagingApi extends BaseApi {
/**
* createSmsDefinition
* Creates the definition for an SMS.
- * @param {module:Model/CreateSmsDefinitionRequest} body JSON Parameters
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:Model/CreateSmsDefinitionRequest} and HTTP response
+ * @param {module:Model/SmsDefinition} body JSON Parameters
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:Model/SmsDefinition} and HTTP response
*/
createSmsDefinitionWithHttpInfo(caller, body) {
let postBody = body;
@@ -141,8 +141,8 @@ module.exports = class TransactionalMessagingApi extends BaseApi {
/**
* createSmsDefinition
* Creates the definition for an SMS.
- * @param {module:Model/CreateSmsDefinitionRequest} body JSON Parameters
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:Model/CreateSmsDefinitionRequest}
+ * @param {module:Model/SmsDefinition} body JSON Parameters
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:Model/SmsDefinition}
*/
createSmsDefinition(body) {
return this.createSmsDefinitionWithHttpInfo('createSmsDefinition', body)
@@ -360,7 +360,7 @@ module.exports = class TransactionalMessagingApi extends BaseApi {
* getEmailDefinition
* Gets email definition configuration details for a definition key.
* @param {String} definitionKey Unique identifier of the definition to get
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:Model/CreateEmailDefinitionRequest} and HTTP response
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:Model/EmailDefinition} and HTTP response
*/
getEmailDefinitionWithHttpInfo(caller, definitionKey) {
let postBody = null;
@@ -397,7 +397,7 @@ module.exports = class TransactionalMessagingApi extends BaseApi {
* getEmailDefinition
* Gets email definition configuration details for a definition key.
* @param {String} definitionKey Unique identifier of the definition to get
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:Model/CreateEmailDefinitionRequest}
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:Model/EmailDefinition}
*/
getEmailDefinition(definitionKey) {
return this.getEmailDefinitionWithHttpInfo('getEmailDefinition', definitionKey)
@@ -742,7 +742,7 @@ module.exports = class TransactionalMessagingApi extends BaseApi {
* getSmsDefinition
* Gets SMS definition configuration details for a definition key.
* @param {String} definitionKey Unique identifier of the definition to get
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:Model/CreateSmsDefinitionRequest} and HTTP response
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:Model/SmsDefinition} and HTTP response
*/
getSmsDefinitionWithHttpInfo(caller, definitionKey) {
let postBody = null;
@@ -779,7 +779,7 @@ module.exports = class TransactionalMessagingApi extends BaseApi {
* getSmsDefinition
* Gets SMS definition configuration details for a definition key.
* @param {String} definitionKey Unique identifier of the definition to get
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:Model/CreateSmsDefinitionRequest}
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:Model/SmsDefinition}
*/
getSmsDefinition(definitionKey) {
return this.getSmsDefinitionWithHttpInfo('getSmsDefinition', definitionKey)
@@ -903,7 +903,7 @@ module.exports = class TransactionalMessagingApi extends BaseApi {
* Updates a specific email definition.
* @param {String} definitionKey Unique identifier of the definition.
* @param {module:Model/UpdateEmailDefinitionRequest} body JSON Parameters
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:Model/CreateEmailDefinitionRequest} and HTTP response
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:Model/EmailDefinition} and HTTP response
*/
partiallyUpdateEmailDefinitionWithHttpInfo(caller, definitionKey, body) {
let postBody = body;
@@ -946,7 +946,7 @@ module.exports = class TransactionalMessagingApi extends BaseApi {
* Updates a specific email definition.
* @param {String} definitionKey Unique identifier of the definition.
* @param {module:Model/UpdateEmailDefinitionRequest} body JSON Parameters
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:Model/CreateEmailDefinitionRequest}
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:Model/EmailDefinition}
*/
partiallyUpdateEmailDefinition(definitionKey, body) {
return this.partiallyUpdateEmailDefinitionWithHttpInfo('partiallyUpdateEmailDefinition', definitionKey, body)
@@ -961,7 +961,7 @@ module.exports = class TransactionalMessagingApi extends BaseApi {
* Updates a specific SMS definition.
* @param {String} definitionKey Unique identifier of the definition.
* @param {module:Model/UpdateSmsDefinitionRequest} body JSON Parameters
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:Model/CreateSmsDefinitionRequest} and HTTP response
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:Model/SmsDefinition} and HTTP response
*/
partiallyUpdateSmsDefinitionWithHttpInfo(caller, definitionKey, body) {
let postBody = body;
@@ -1004,7 +1004,7 @@ module.exports = class TransactionalMessagingApi extends BaseApi {
* Updates a specific SMS definition.
* @param {String} definitionKey Unique identifier of the definition.
* @param {module:Model/UpdateSmsDefinitionRequest} body JSON Parameters
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:Model/CreateSmsDefinitionRequest}
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:Model/SmsDefinition}
*/
partiallyUpdateSmsDefinition(definitionKey, body) {
return this.partiallyUpdateSmsDefinitionWithHttpInfo('partiallyUpdateSmsDefinition', definitionKey, body)
diff --git a/src/Model/CreateEmailDefinitionRequest.js b/src/Model/EmailDefinition.js
similarity index 73%
rename from src/Model/CreateEmailDefinitionRequest.js
rename to src/Model/EmailDefinition.js
index 8e93661..056a112 100644
--- a/src/Model/CreateEmailDefinitionRequest.js
+++ b/src/Model/EmailDefinition.js
@@ -13,9 +13,9 @@
const ApiClient = require ('../ApiClient');
-const CreateEmailDefinitionContent = require ('./CreateEmailDefinitionContent');
-const CreateEmailDefinitionOptionsRequest = require ('./CreateEmailDefinitionOptionsRequest');
-const CreateEmailDefinitionSubscriptions = require ('./CreateEmailDefinitionSubscriptions');
+const EmailDefinitionContent = require ('./EmailDefinitionContent');
+const EmailDefinitionOptions = require ('./EmailDefinitionOptions');
+const EmailDefinitionSubscriptions = require ('./EmailDefinitionSubscriptions');
@@ -24,19 +24,19 @@ const CreateEmailDefinitionSubscriptions = require ('./CreateEmailDefinitionSubs
const InvalidModelException = require('../Exception/InvalidModelException');
/**
-* The CreateEmailDefinitionRequest model module.
-* @module Model/CreateEmailDefinitionRequest
+* The EmailDefinition model module.
+* @module Model/EmailDefinition
* @version 1.0.0
*/
-module.exports = class CreateEmailDefinitionRequest{
+module.exports = class EmailDefinition{
/**
- * Constructs a new CreateEmailDefinitionRequest
.
- * @alias module:Model/CreateEmailDefinitionRequest
+ * Constructs a new EmailDefinition
.
+ * @alias module:Model/EmailDefinition
* @class
* @param name {String} Name of the definition. Must be unique.
* @param definitionKey {String} Unique, user-generated key to access the definition object.
- * @param content {module:Model/CreateEmailDefinitionContent}
- * @param subscriptions {module:Model/CreateEmailDefinitionSubscriptions}
+ * @param content {module:Model/EmailDefinitionContent}
+ * @param subscriptions {module:Model/EmailDefinitionSubscriptions}
*/
constructor(name, definitionKey, content, subscriptions) {
@@ -44,13 +44,13 @@ module.exports = class CreateEmailDefinitionRequest{
// verify the required parameter 'name' is set
if(name === undefined || name === null){
- throw new InvalidModelException('"name" is a required property for CreateEmailDefinitionRequest and cannot be undefined or null');
+ throw new InvalidModelException('"name" is a required property for EmailDefinition and cannot be undefined or null');
}
this['name'] = name;
// verify the required parameter 'definitionKey' is set
if(definitionKey === undefined || definitionKey === null){
- throw new InvalidModelException('"definitionKey" is a required property for CreateEmailDefinitionRequest and cannot be undefined or null');
+ throw new InvalidModelException('"definitionKey" is a required property for EmailDefinition and cannot be undefined or null');
}
this['definitionKey'] = definitionKey;
@@ -62,13 +62,13 @@ module.exports = class CreateEmailDefinitionRequest{
// verify the required parameter 'content' is set
if(content === undefined || content === null){
- throw new InvalidModelException('"content" is a required property for CreateEmailDefinitionRequest and cannot be undefined or null');
+ throw new InvalidModelException('"content" is a required property for EmailDefinition and cannot be undefined or null');
}
this['content'] = content;
// verify the required parameter 'subscriptions' is set
if(subscriptions === undefined || subscriptions === null){
- throw new InvalidModelException('"subscriptions" is a required property for CreateEmailDefinitionRequest and cannot be undefined or null');
+ throw new InvalidModelException('"subscriptions" is a required property for EmailDefinition and cannot be undefined or null');
}
this['subscriptions'] = subscriptions;
@@ -76,15 +76,15 @@ module.exports = class CreateEmailDefinitionRequest{
}
/**
- * Constructs a CreateEmailDefinitionRequest
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a EmailDefinition
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:Model/CreateEmailDefinitionRequest} obj Optional instance to populate.
- * @return {module:Model/CreateEmailDefinitionRequest} The populated CreateEmailDefinitionRequest
instance.
+ * @param {module:Model/EmailDefinition} obj Optional instance to populate.
+ * @return {module:Model/EmailDefinition} The populated EmailDefinition
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new CreateEmailDefinitionRequest();
+ obj = obj || new EmailDefinition();
@@ -118,13 +118,13 @@ module.exports = class CreateEmailDefinitionRequest{
obj['modifiedDate'] = ApiClient.convertToType(data['modifiedDate'], 'Date');
}
if (data.hasOwnProperty('content')) {
- obj['content'] = CreateEmailDefinitionContent.constructFromObject(data['content']);
+ obj['content'] = EmailDefinitionContent.constructFromObject(data['content']);
}
if (data.hasOwnProperty('subscriptions')) {
- obj['subscriptions'] = CreateEmailDefinitionSubscriptions.constructFromObject(data['subscriptions']);
+ obj['subscriptions'] = EmailDefinitionSubscriptions.constructFromObject(data['subscriptions']);
}
if (data.hasOwnProperty('options')) {
- obj['options'] = CreateEmailDefinitionOptionsRequest.constructFromObject(data['options']);
+ obj['options'] = EmailDefinitionOptions.constructFromObject(data['options']);
}
}
return obj;
@@ -176,15 +176,15 @@ module.exports = class CreateEmailDefinitionRequest{
*/
modifiedDate = undefined;
/**
- * @member {module:Model/CreateEmailDefinitionContent} content
+ * @member {module:Model/EmailDefinitionContent} content
*/
content = undefined;
/**
- * @member {module:Model/CreateEmailDefinitionSubscriptions} subscriptions
+ * @member {module:Model/EmailDefinitionSubscriptions} subscriptions
*/
subscriptions = undefined;
/**
- * @member {module:Model/CreateEmailDefinitionOptionsRequest} options
+ * @member {module:Model/EmailDefinitionOptions} options
*/
options = undefined;
diff --git a/src/Model/CreateEmailDefinitionContent.js b/src/Model/EmailDefinitionContent.js
similarity index 68%
rename from src/Model/CreateEmailDefinitionContent.js
rename to src/Model/EmailDefinitionContent.js
index f04aada..1f1dd36 100644
--- a/src/Model/CreateEmailDefinitionContent.js
+++ b/src/Model/EmailDefinitionContent.js
@@ -21,14 +21,14 @@ const ApiClient = require ('../ApiClient');
const InvalidModelException = require('../Exception/InvalidModelException');
/**
-* The CreateEmailDefinitionContent model module.
-* @module Model/CreateEmailDefinitionContent
+* The EmailDefinitionContent model module.
+* @module Model/EmailDefinitionContent
* @version 1.0.0
*/
-module.exports = class CreateEmailDefinitionContent{
+module.exports = class EmailDefinitionContent{
/**
- * Constructs a new CreateEmailDefinitionContent
.
- * @alias module:Model/CreateEmailDefinitionContent
+ * Constructs a new EmailDefinitionContent
.
+ * @alias module:Model/EmailDefinitionContent
* @class
* @param customerKey {String} Unique identifier of the content asset.
*/
@@ -37,22 +37,22 @@ module.exports = class CreateEmailDefinitionContent{
// verify the required parameter 'customerKey' is set
if(customerKey === undefined || customerKey === null){
- throw new InvalidModelException('"customerKey" is a required property for CreateEmailDefinitionContent and cannot be undefined or null');
+ throw new InvalidModelException('"customerKey" is a required property for EmailDefinitionContent and cannot be undefined or null');
}
this['customerKey'] = customerKey;
}
/**
- * Constructs a CreateEmailDefinitionContent
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a EmailDefinitionContent
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:Model/CreateEmailDefinitionContent} obj Optional instance to populate.
- * @return {module:Model/CreateEmailDefinitionContent} The populated CreateEmailDefinitionContent
instance.
+ * @param {module:Model/EmailDefinitionContent} obj Optional instance to populate.
+ * @return {module:Model/EmailDefinitionContent} The populated EmailDefinitionContent
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new CreateEmailDefinitionContent();
+ obj = obj || new EmailDefinitionContent();
diff --git a/src/Model/CreateEmailDefinitionOptionsRequest.js b/src/Model/EmailDefinitionOptions.js
similarity index 64%
rename from src/Model/CreateEmailDefinitionOptionsRequest.js
rename to src/Model/EmailDefinitionOptions.js
index bc79b91..39d9f4a 100644
--- a/src/Model/CreateEmailDefinitionOptionsRequest.js
+++ b/src/Model/EmailDefinitionOptions.js
@@ -21,14 +21,14 @@ const ApiClient = require ('../ApiClient');
const InvalidModelException = require('../Exception/InvalidModelException');
/**
-* The CreateEmailDefinitionOptionsRequest model module.
-* @module Model/CreateEmailDefinitionOptionsRequest
+* The EmailDefinitionOptions model module.
+* @module Model/EmailDefinitionOptions
* @version 1.0.0
*/
-module.exports = class CreateEmailDefinitionOptionsRequest{
+module.exports = class EmailDefinitionOptions{
/**
- * Constructs a new CreateEmailDefinitionOptionsRequest
.
- * @alias module:Model/CreateEmailDefinitionOptionsRequest
+ * Constructs a new EmailDefinitionOptions
.
+ * @alias module:Model/EmailDefinitionOptions
* @class
*/
@@ -38,15 +38,15 @@ module.exports = class CreateEmailDefinitionOptionsRequest{
}
/**
- * Constructs a CreateEmailDefinitionOptionsRequest
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a EmailDefinitionOptions
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:Model/CreateEmailDefinitionOptionsRequest} obj Optional instance to populate.
- * @return {module:Model/CreateEmailDefinitionOptionsRequest} The populated CreateEmailDefinitionOptionsRequest
instance.
+ * @param {module:Model/EmailDefinitionOptions} obj Optional instance to populate.
+ * @return {module:Model/EmailDefinitionOptions} The populated EmailDefinitionOptions
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new CreateEmailDefinitionOptionsRequest();
+ obj = obj || new EmailDefinitionOptions();
diff --git a/src/Model/CreateEmailDefinitionSubscriptions.js b/src/Model/EmailDefinitionSubscriptions.js
similarity index 78%
rename from src/Model/CreateEmailDefinitionSubscriptions.js
rename to src/Model/EmailDefinitionSubscriptions.js
index 04fbe94..c4848f1 100644
--- a/src/Model/CreateEmailDefinitionSubscriptions.js
+++ b/src/Model/EmailDefinitionSubscriptions.js
@@ -21,14 +21,14 @@ const ApiClient = require ('../ApiClient');
const InvalidModelException = require('../Exception/InvalidModelException');
/**
-* The CreateEmailDefinitionSubscriptions model module.
-* @module Model/CreateEmailDefinitionSubscriptions
+* The EmailDefinitionSubscriptions model module.
+* @module Model/EmailDefinitionSubscriptions
* @version 1.0.0
*/
-module.exports = class CreateEmailDefinitionSubscriptions{
+module.exports = class EmailDefinitionSubscriptions{
/**
- * Constructs a new CreateEmailDefinitionSubscriptions
.
- * @alias module:Model/CreateEmailDefinitionSubscriptions
+ * Constructs a new EmailDefinitionSubscriptions
.
+ * @alias module:Model/EmailDefinitionSubscriptions
* @class
* @param list {String} Marketing Cloud external key of the list or all subscribers. Contains the subscriber keys and profile attributes.
*/
@@ -37,7 +37,7 @@ module.exports = class CreateEmailDefinitionSubscriptions{
// verify the required parameter 'list' is set
if(list === undefined || list === null){
- throw new InvalidModelException('"list" is a required property for CreateEmailDefinitionSubscriptions and cannot be undefined or null');
+ throw new InvalidModelException('"list" is a required property for EmailDefinitionSubscriptions and cannot be undefined or null');
}
this['list'] = list;
@@ -47,15 +47,15 @@ module.exports = class CreateEmailDefinitionSubscriptions{
}
/**
- * Constructs a CreateEmailDefinitionSubscriptions
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a EmailDefinitionSubscriptions
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:Model/CreateEmailDefinitionSubscriptions} obj Optional instance to populate.
- * @return {module:Model/CreateEmailDefinitionSubscriptions} The populated CreateEmailDefinitionSubscriptions
instance.
+ * @param {module:Model/EmailDefinitionSubscriptions} obj Optional instance to populate.
+ * @return {module:Model/EmailDefinitionSubscriptions} The populated EmailDefinitionSubscriptions
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new CreateEmailDefinitionSubscriptions();
+ obj = obj || new EmailDefinitionSubscriptions();
diff --git a/src/Model/GetEmailDefinitionsResponse.js b/src/Model/GetEmailDefinitionsResponse.js
index 25f5f68..f54772e 100644
--- a/src/Model/GetEmailDefinitionsResponse.js
+++ b/src/Model/GetEmailDefinitionsResponse.js
@@ -13,7 +13,7 @@
const ApiClient = require ('../ApiClient');
-const CreateEmailDefinitionRequest = require ('./CreateEmailDefinitionRequest');
+const EmailDefinition = require ('./EmailDefinition');
@@ -61,7 +61,7 @@ module.exports = class GetEmailDefinitionsResponse{
obj['requestId'] = ApiClient.convertToType(data['requestId'], 'String');
}
if (data.hasOwnProperty('definitions')) {
- obj['definitions'] = ApiClient.convertToType(data['definitions'], [CreateEmailDefinitionRequest]);
+ obj['definitions'] = ApiClient.convertToType(data['definitions'], [EmailDefinition]);
}
if (data.hasOwnProperty('count')) {
obj['count'] = ApiClient.convertToType(data['count'], 'Number');
@@ -82,7 +82,7 @@ module.exports = class GetEmailDefinitionsResponse{
*/
requestId = undefined;
/**
- * @member {Array.} definitions
+ * @member {Array.} definitions
*/
definitions = undefined;
/**
diff --git a/src/Model/GetSmsDefinitionsResponse.js b/src/Model/GetSmsDefinitionsResponse.js
index fc9a36f..23958a6 100644
--- a/src/Model/GetSmsDefinitionsResponse.js
+++ b/src/Model/GetSmsDefinitionsResponse.js
@@ -13,7 +13,7 @@
const ApiClient = require ('../ApiClient');
-const CreateSmsDefinitionRequest = require ('./CreateSmsDefinitionRequest');
+const SmsDefinition = require ('./SmsDefinition');
@@ -61,7 +61,7 @@ module.exports = class GetSmsDefinitionsResponse{
obj['requestId'] = ApiClient.convertToType(data['requestId'], 'String');
}
if (data.hasOwnProperty('definitions')) {
- obj['definitions'] = ApiClient.convertToType(data['definitions'], [CreateSmsDefinitionRequest]);
+ obj['definitions'] = ApiClient.convertToType(data['definitions'], [SmsDefinition]);
}
if (data.hasOwnProperty('count')) {
obj['count'] = ApiClient.convertToType(data['count'], 'Number');
@@ -82,7 +82,7 @@ module.exports = class GetSmsDefinitionsResponse{
*/
requestId = undefined;
/**
- * @member {Array.} definitions
+ * @member {Array.} definitions
*/
definitions = undefined;
/**
diff --git a/src/Model/CreateSmsDefinitionRequest.js b/src/Model/SmsDefinition.js
similarity index 74%
rename from src/Model/CreateSmsDefinitionRequest.js
rename to src/Model/SmsDefinition.js
index 80bf4a8..5254208 100644
--- a/src/Model/CreateSmsDefinitionRequest.js
+++ b/src/Model/SmsDefinition.js
@@ -13,8 +13,8 @@
const ApiClient = require ('../ApiClient');
-const CreateSmsDefinitionContent = require ('./CreateSmsDefinitionContent');
-const CreateSmsDefinitionSubscriptions = require ('./CreateSmsDefinitionSubscriptions');
+const SmsDefinitionContent = require ('./SmsDefinitionContent');
+const SmsDefinitionSubscriptions = require ('./SmsDefinitionSubscriptions');
@@ -23,38 +23,38 @@ const CreateSmsDefinitionSubscriptions = require ('./CreateSmsDefinitionSubscrip
const InvalidModelException = require('../Exception/InvalidModelException');
/**
-* The CreateSmsDefinitionRequest model module.
-* @module Model/CreateSmsDefinitionRequest
+* The SmsDefinition model module.
+* @module Model/SmsDefinition
* @version 1.0.0
*/
-module.exports = class CreateSmsDefinitionRequest{
+module.exports = class SmsDefinition{
/**
- * Constructs a new CreateSmsDefinitionRequest
.
- * @alias module:Model/CreateSmsDefinitionRequest
+ * Constructs a new SmsDefinition
.
+ * @alias module:Model/SmsDefinition
* @class
* @param definitionKey {String} Unique, user-generated key to access the definition object.
* @param name {String} Name of the definition. Must be unique.
- * @param content {module:Model/CreateSmsDefinitionContent}
- * @param subscriptions {module:Model/CreateSmsDefinitionSubscriptions}
+ * @param content {module:Model/SmsDefinitionContent}
+ * @param subscriptions {module:Model/SmsDefinitionSubscriptions}
*/
constructor(definitionKey, name, content, subscriptions) {
// verify the required parameter 'definitionKey' is set
if(definitionKey === undefined || definitionKey === null){
- throw new InvalidModelException('"definitionKey" is a required property for CreateSmsDefinitionRequest and cannot be undefined or null');
+ throw new InvalidModelException('"definitionKey" is a required property for SmsDefinition and cannot be undefined or null');
}
this['definitionKey'] = definitionKey;
// verify the required parameter 'name' is set
if(name === undefined || name === null){
- throw new InvalidModelException('"name" is a required property for CreateSmsDefinitionRequest and cannot be undefined or null');
+ throw new InvalidModelException('"name" is a required property for SmsDefinition and cannot be undefined or null');
}
this['name'] = name;
// verify the required parameter 'content' is set
if(content === undefined || content === null){
- throw new InvalidModelException('"content" is a required property for CreateSmsDefinitionRequest and cannot be undefined or null');
+ throw new InvalidModelException('"content" is a required property for SmsDefinition and cannot be undefined or null');
}
this['content'] = content;
@@ -64,7 +64,7 @@ module.exports = class CreateSmsDefinitionRequest{
// verify the required parameter 'subscriptions' is set
if(subscriptions === undefined || subscriptions === null){
- throw new InvalidModelException('"subscriptions" is a required property for CreateSmsDefinitionRequest and cannot be undefined or null');
+ throw new InvalidModelException('"subscriptions" is a required property for SmsDefinition and cannot be undefined or null');
}
this['subscriptions'] = subscriptions;
@@ -72,15 +72,15 @@ module.exports = class CreateSmsDefinitionRequest{
}
/**
- * Constructs a CreateSmsDefinitionRequest
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a SmsDefinition
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:Model/CreateSmsDefinitionRequest} obj Optional instance to populate.
- * @return {module:Model/CreateSmsDefinitionRequest} The populated CreateSmsDefinitionRequest
instance.
+ * @param {module:Model/SmsDefinition} obj Optional instance to populate.
+ * @return {module:Model/SmsDefinition} The populated SmsDefinition
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new CreateSmsDefinitionRequest();
+ obj = obj || new SmsDefinition();
@@ -93,7 +93,7 @@ module.exports = class CreateSmsDefinitionRequest{
obj['name'] = ApiClient.convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('content')) {
- obj['content'] = CreateSmsDefinitionContent.constructFromObject(data['content']);
+ obj['content'] = SmsDefinitionContent.constructFromObject(data['content']);
}
if (data.hasOwnProperty('status')) {
obj['status'] = ApiClient.convertToType(data['status'], 'String');
@@ -108,7 +108,7 @@ module.exports = class CreateSmsDefinitionRequest{
obj['description'] = ApiClient.convertToType(data['description'], 'String');
}
if (data.hasOwnProperty('subscriptions')) {
- obj['subscriptions'] = CreateSmsDefinitionSubscriptions.constructFromObject(data['subscriptions']);
+ obj['subscriptions'] = SmsDefinitionSubscriptions.constructFromObject(data['subscriptions']);
}
if (data.hasOwnProperty('requestId')) {
obj['requestId'] = ApiClient.convertToType(data['requestId'], 'String');
@@ -128,7 +128,7 @@ module.exports = class CreateSmsDefinitionRequest{
*/
name = undefined;
/**
- * @member {module:Model/CreateSmsDefinitionContent} content
+ * @member {module:Model/SmsDefinitionContent} content
*/
content = undefined;
/**
@@ -152,7 +152,7 @@ module.exports = class CreateSmsDefinitionRequest{
*/
description = undefined;
/**
- * @member {module:Model/CreateSmsDefinitionSubscriptions} subscriptions
+ * @member {module:Model/SmsDefinitionSubscriptions} subscriptions
*/
subscriptions = undefined;
/**
diff --git a/src/Model/CreateSmsDefinitionContent.js b/src/Model/SmsDefinitionContent.js
similarity index 71%
rename from src/Model/CreateSmsDefinitionContent.js
rename to src/Model/SmsDefinitionContent.js
index dc39905..69b0181 100644
--- a/src/Model/CreateSmsDefinitionContent.js
+++ b/src/Model/SmsDefinitionContent.js
@@ -21,14 +21,14 @@ const ApiClient = require ('../ApiClient');
const InvalidModelException = require('../Exception/InvalidModelException');
/**
-* The CreateSmsDefinitionContent model module.
-* @module Model/CreateSmsDefinitionContent
+* The SmsDefinitionContent model module.
+* @module Model/SmsDefinitionContent
* @version 1.0.0
*/
-module.exports = class CreateSmsDefinitionContent{
+module.exports = class SmsDefinitionContent{
/**
- * Constructs a new CreateSmsDefinitionContent
.
- * @alias module:Model/CreateSmsDefinitionContent
+ * Constructs a new SmsDefinitionContent
.
+ * @alias module:Model/SmsDefinitionContent
* @class
* @param message {String} The message content that you want sent with each message. Use substitution strings and AMPscript to personalize the message.
*/
@@ -37,22 +37,22 @@ module.exports = class CreateSmsDefinitionContent{
// verify the required parameter 'message' is set
if(message === undefined || message === null){
- throw new InvalidModelException('"message" is a required property for CreateSmsDefinitionContent and cannot be undefined or null');
+ throw new InvalidModelException('"message" is a required property for SmsDefinitionContent and cannot be undefined or null');
}
this['message'] = message;
}
/**
- * Constructs a CreateSmsDefinitionContent
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a SmsDefinitionContent
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:Model/CreateSmsDefinitionContent} obj Optional instance to populate.
- * @return {module:Model/CreateSmsDefinitionContent} The populated CreateSmsDefinitionContent
instance.
+ * @param {module:Model/SmsDefinitionContent} obj Optional instance to populate.
+ * @return {module:Model/SmsDefinitionContent} The populated SmsDefinitionContent
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new CreateSmsDefinitionContent();
+ obj = obj || new SmsDefinitionContent();
diff --git a/src/Model/CreateSmsDefinitionSubscriptions.js b/src/Model/SmsDefinitionSubscriptions.js
similarity index 78%
rename from src/Model/CreateSmsDefinitionSubscriptions.js
rename to src/Model/SmsDefinitionSubscriptions.js
index 61afbc1..090d374 100644
--- a/src/Model/CreateSmsDefinitionSubscriptions.js
+++ b/src/Model/SmsDefinitionSubscriptions.js
@@ -21,14 +21,14 @@ const ApiClient = require ('../ApiClient');
const InvalidModelException = require('../Exception/InvalidModelException');
/**
-* The CreateSmsDefinitionSubscriptions model module.
-* @module Model/CreateSmsDefinitionSubscriptions
+* The SmsDefinitionSubscriptions model module.
+* @module Model/SmsDefinitionSubscriptions
* @version 1.0.0
*/
-module.exports = class CreateSmsDefinitionSubscriptions{
+module.exports = class SmsDefinitionSubscriptions{
/**
- * Constructs a new CreateSmsDefinitionSubscriptions
.
- * @alias module:Model/CreateSmsDefinitionSubscriptions
+ * Constructs a new SmsDefinitionSubscriptions
.
+ * @alias module:Model/SmsDefinitionSubscriptions
* @class
* @param shortCode {String} The short code for the mobile transmissions for each message on this definition.
* @param countryCode {String} The country code associated with the shortCode for the mobile transmissions for each message on this definition.
@@ -38,13 +38,13 @@ module.exports = class CreateSmsDefinitionSubscriptions{
// verify the required parameter 'shortCode' is set
if(shortCode === undefined || shortCode === null){
- throw new InvalidModelException('"shortCode" is a required property for CreateSmsDefinitionSubscriptions and cannot be undefined or null');
+ throw new InvalidModelException('"shortCode" is a required property for SmsDefinitionSubscriptions and cannot be undefined or null');
}
this['shortCode'] = shortCode;
// verify the required parameter 'countryCode' is set
if(countryCode === undefined || countryCode === null){
- throw new InvalidModelException('"countryCode" is a required property for CreateSmsDefinitionSubscriptions and cannot be undefined or null');
+ throw new InvalidModelException('"countryCode" is a required property for SmsDefinitionSubscriptions and cannot be undefined or null');
}
this['countryCode'] = countryCode;
@@ -53,15 +53,15 @@ module.exports = class CreateSmsDefinitionSubscriptions{
}
/**
- * Constructs a CreateSmsDefinitionSubscriptions
from a plain JavaScript object, optionally creating a new instance.
+ * Constructs a SmsDefinitionSubscriptions
from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from data
to obj
if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:Model/CreateSmsDefinitionSubscriptions} obj Optional instance to populate.
- * @return {module:Model/CreateSmsDefinitionSubscriptions} The populated CreateSmsDefinitionSubscriptions
instance.
+ * @param {module:Model/SmsDefinitionSubscriptions} obj Optional instance to populate.
+ * @return {module:Model/SmsDefinitionSubscriptions} The populated SmsDefinitionSubscriptions
instance.
*/
static constructFromObject(data, obj) {
if (data) {
- obj = obj || new CreateSmsDefinitionSubscriptions();
+ obj = obj || new SmsDefinitionSubscriptions();
diff --git a/src/Model/UpdateEmailDefinitionRequest.js b/src/Model/UpdateEmailDefinitionRequest.js
index 23b4d6d..f44741d 100644
--- a/src/Model/UpdateEmailDefinitionRequest.js
+++ b/src/Model/UpdateEmailDefinitionRequest.js
@@ -13,9 +13,9 @@
const ApiClient = require ('../ApiClient');
-const CreateEmailDefinitionContent = require ('./CreateEmailDefinitionContent');
-const CreateEmailDefinitionOptionsRequest = require ('./CreateEmailDefinitionOptionsRequest');
-const CreateEmailDefinitionSubscriptions = require ('./CreateEmailDefinitionSubscriptions');
+const EmailDefinitionContent = require ('./EmailDefinitionContent');
+const EmailDefinitionOptions = require ('./EmailDefinitionOptions');
+const EmailDefinitionSubscriptions = require ('./EmailDefinitionSubscriptions');
@@ -65,7 +65,7 @@ module.exports = class UpdateEmailDefinitionRequest{
obj['name'] = ApiClient.convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('content')) {
- obj['content'] = CreateEmailDefinitionContent.constructFromObject(data['content']);
+ obj['content'] = EmailDefinitionContent.constructFromObject(data['content']);
}
if (data.hasOwnProperty('status')) {
obj['status'] = ApiClient.convertToType(data['status'], 'String');
@@ -77,10 +77,10 @@ module.exports = class UpdateEmailDefinitionRequest{
obj['classification'] = ApiClient.convertToType(data['classification'], 'String');
}
if (data.hasOwnProperty('subscriptions')) {
- obj['subscriptions'] = CreateEmailDefinitionSubscriptions.constructFromObject(data['subscriptions']);
+ obj['subscriptions'] = EmailDefinitionSubscriptions.constructFromObject(data['subscriptions']);
}
if (data.hasOwnProperty('options')) {
- obj['options'] = CreateEmailDefinitionOptionsRequest.constructFromObject(data['options']);
+ obj['options'] = EmailDefinitionOptions.constructFromObject(data['options']);
}
}
return obj;
@@ -92,7 +92,7 @@ module.exports = class UpdateEmailDefinitionRequest{
*/
name = undefined;
/**
- * @member {module:Model/CreateEmailDefinitionContent} content
+ * @member {module:Model/EmailDefinitionContent} content
*/
content = undefined;
/**
@@ -111,11 +111,11 @@ module.exports = class UpdateEmailDefinitionRequest{
*/
classification = undefined;
/**
- * @member {module:Model/CreateEmailDefinitionSubscriptions} subscriptions
+ * @member {module:Model/EmailDefinitionSubscriptions} subscriptions
*/
subscriptions = undefined;
/**
- * @member {module:Model/CreateEmailDefinitionOptionsRequest} options
+ * @member {module:Model/EmailDefinitionOptions} options
*/
options = undefined;
diff --git a/src/Model/UpdateSmsDefinitionRequest.js b/src/Model/UpdateSmsDefinitionRequest.js
index 0499af2..f45950b 100644
--- a/src/Model/UpdateSmsDefinitionRequest.js
+++ b/src/Model/UpdateSmsDefinitionRequest.js
@@ -13,8 +13,8 @@
const ApiClient = require ('../ApiClient');
-const CreateSmsDefinitionContent = require ('./CreateSmsDefinitionContent');
-const CreateSmsDefinitionSubscriptions = require ('./CreateSmsDefinitionSubscriptions');
+const SmsDefinitionContent = require ('./SmsDefinitionContent');
+const SmsDefinitionSubscriptions = require ('./SmsDefinitionSubscriptions');
@@ -62,7 +62,7 @@ module.exports = class UpdateSmsDefinitionRequest{
obj['name'] = ApiClient.convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('content')) {
- obj['content'] = CreateSmsDefinitionContent.constructFromObject(data['content']);
+ obj['content'] = SmsDefinitionContent.constructFromObject(data['content']);
}
if (data.hasOwnProperty('status')) {
obj['status'] = ApiClient.convertToType(data['status'], 'String');
@@ -71,7 +71,7 @@ module.exports = class UpdateSmsDefinitionRequest{
obj['description'] = ApiClient.convertToType(data['description'], 'String');
}
if (data.hasOwnProperty('subscriptions')) {
- obj['subscriptions'] = CreateSmsDefinitionSubscriptions.constructFromObject(data['subscriptions']);
+ obj['subscriptions'] = SmsDefinitionSubscriptions.constructFromObject(data['subscriptions']);
}
}
return obj;
@@ -83,7 +83,7 @@ module.exports = class UpdateSmsDefinitionRequest{
*/
name = undefined;
/**
- * @member {module:Model/CreateSmsDefinitionContent} content
+ * @member {module:Model/SmsDefinitionContent} content
*/
content = undefined;
/**
@@ -97,7 +97,7 @@ module.exports = class UpdateSmsDefinitionRequest{
*/
description = undefined;
/**
- * @member {module:Model/CreateSmsDefinitionSubscriptions} subscriptions
+ * @member {module:Model/SmsDefinitionSubscriptions} subscriptions
*/
subscriptions = undefined;
diff --git a/src/index.js b/src/index.js
index 0deabb0..e0034f8 100644
--- a/src/index.js
+++ b/src/index.js
@@ -18,15 +18,12 @@ const Asset = require ('./Model/Asset');
const AssetType = require ('./Model/AssetType');
const Attributes = require ('./Model/Attributes');
const Campaign = require ('./Model/Campaign');
-const CreateEmailDefinitionContent = require ('./Model/CreateEmailDefinitionContent');
-const CreateEmailDefinitionOptionsRequest = require ('./Model/CreateEmailDefinitionOptionsRequest');
-const CreateEmailDefinitionRequest = require ('./Model/CreateEmailDefinitionRequest');
-const CreateEmailDefinitionSubscriptions = require ('./Model/CreateEmailDefinitionSubscriptions');
-const CreateSmsDefinitionContent = require ('./Model/CreateSmsDefinitionContent');
-const CreateSmsDefinitionRequest = require ('./Model/CreateSmsDefinitionRequest');
-const CreateSmsDefinitionSubscriptions = require ('./Model/CreateSmsDefinitionSubscriptions');
const DeleteQueuedMessagesForSendDefinitionResponse = require ('./Model/DeleteQueuedMessagesForSendDefinitionResponse');
const DeleteSendDefinitionResponse = require ('./Model/DeleteSendDefinitionResponse');
+const EmailDefinition = require ('./Model/EmailDefinition');
+const EmailDefinitionContent = require ('./Model/EmailDefinitionContent');
+const EmailDefinitionOptions = require ('./Model/EmailDefinitionOptions');
+const EmailDefinitionSubscriptions = require ('./Model/EmailDefinitionSubscriptions');
const GetDefinitionSendStatusForRecipientResponse = require ('./Model/GetDefinitionSendStatusForRecipientResponse');
const GetDefinitionSendStatusForRecipientResponseInfo = require ('./Model/GetDefinitionSendStatusForRecipientResponseInfo');
const GetDefinitionsNotSentToRecipientsMessage = require ('./Model/GetDefinitionsNotSentToRecipientsMessage');
@@ -46,6 +43,9 @@ const SendSmsToMultipleRecipientsRequest = require ('./Model/SendSmsToMultipleRe
const SendSmsToMultipleRecipientsSubscriptionsRequest = require ('./Model/SendSmsToMultipleRecipientsSubscriptionsRequest');
const SendSmsToSingleRecipientRequest = require ('./Model/SendSmsToSingleRecipientRequest');
const SharingProperties = require ('./Model/SharingProperties');
+const SmsDefinition = require ('./Model/SmsDefinition');
+const SmsDefinitionContent = require ('./Model/SmsDefinitionContent');
+const SmsDefinitionSubscriptions = require ('./Model/SmsDefinitionSubscriptions');
const UpdateEmailDefinitionRequest = require ('./Model/UpdateEmailDefinitionRequest');
const UpdateSmsDefinitionRequest = require ('./Model/UpdateSmsDefinitionRequest');
const AssetApi = require ('./Api/AssetApi');
@@ -122,58 +122,40 @@ module.exports={
Campaign,
/**
- * The CreateEmailDefinitionContent model constructor.
- * @property {module:Model/CreateEmailDefinitionContent}
- */
- CreateEmailDefinitionContent,
-
- /**
- * The CreateEmailDefinitionOptionsRequest model constructor.
- * @property {module:Model/CreateEmailDefinitionOptionsRequest}
- */
- CreateEmailDefinitionOptionsRequest,
-
- /**
- * The CreateEmailDefinitionRequest model constructor.
- * @property {module:Model/CreateEmailDefinitionRequest}
- */
- CreateEmailDefinitionRequest,
-
- /**
- * The CreateEmailDefinitionSubscriptions model constructor.
- * @property {module:Model/CreateEmailDefinitionSubscriptions}
+ * The DeleteQueuedMessagesForSendDefinitionResponse model constructor.
+ * @property {module:Model/DeleteQueuedMessagesForSendDefinitionResponse}
*/
- CreateEmailDefinitionSubscriptions,
+ DeleteQueuedMessagesForSendDefinitionResponse,
/**
- * The CreateSmsDefinitionContent model constructor.
- * @property {module:Model/CreateSmsDefinitionContent}
+ * The DeleteSendDefinitionResponse model constructor.
+ * @property {module:Model/DeleteSendDefinitionResponse}
*/
- CreateSmsDefinitionContent,
+ DeleteSendDefinitionResponse,
/**
- * The CreateSmsDefinitionRequest model constructor.
- * @property {module:Model/CreateSmsDefinitionRequest}
+ * The EmailDefinition model constructor.
+ * @property {module:Model/EmailDefinition}
*/
- CreateSmsDefinitionRequest,
+ EmailDefinition,
/**
- * The CreateSmsDefinitionSubscriptions model constructor.
- * @property {module:Model/CreateSmsDefinitionSubscriptions}
+ * The EmailDefinitionContent model constructor.
+ * @property {module:Model/EmailDefinitionContent}
*/
- CreateSmsDefinitionSubscriptions,
+ EmailDefinitionContent,
/**
- * The DeleteQueuedMessagesForSendDefinitionResponse model constructor.
- * @property {module:Model/DeleteQueuedMessagesForSendDefinitionResponse}
+ * The EmailDefinitionOptions model constructor.
+ * @property {module:Model/EmailDefinitionOptions}
*/
- DeleteQueuedMessagesForSendDefinitionResponse,
+ EmailDefinitionOptions,
/**
- * The DeleteSendDefinitionResponse model constructor.
- * @property {module:Model/DeleteSendDefinitionResponse}
+ * The EmailDefinitionSubscriptions model constructor.
+ * @property {module:Model/EmailDefinitionSubscriptions}
*/
- DeleteSendDefinitionResponse,
+ EmailDefinitionSubscriptions,
/**
* The GetDefinitionSendStatusForRecipientResponse model constructor.
@@ -289,6 +271,24 @@ module.exports={
*/
SharingProperties,
+ /**
+ * The SmsDefinition model constructor.
+ * @property {module:Model/SmsDefinition}
+ */
+ SmsDefinition,
+
+ /**
+ * The SmsDefinitionContent model constructor.
+ * @property {module:Model/SmsDefinitionContent}
+ */
+ SmsDefinitionContent,
+
+ /**
+ * The SmsDefinitionSubscriptions model constructor.
+ * @property {module:Model/SmsDefinitionSubscriptions}
+ */
+ SmsDefinitionSubscriptions,
+
/**
* The UpdateEmailDefinitionRequest model constructor.
* @property {module:Model/UpdateEmailDefinitionRequest}
diff --git a/test/integration/api/TransactionalMessagingApi.spec.js b/test/integration/api/TransactionalMessagingApi.spec.js
index 6292415..f56addf 100644
--- a/test/integration/api/TransactionalMessagingApi.spec.js
+++ b/test/integration/api/TransactionalMessagingApi.spec.js
@@ -403,15 +403,15 @@ const EnvironmentConfigProvider = require('../../../src/EnvironmentConfigProvide
let shortCode = environmentConfigProvider.get('SFMC_SHORT_CODE');
let countryCode = environmentConfigProvider.get('SFMC_COUNTRY_CODE');
let keyword = environmentConfigProvider.get('SFMC_KEYWORD');
- let smsDefinitionSubscriptions = new SalesforceMarketingCloud.CreateSmsDefinitionSubscriptions(shortCode, countryCode);
+ let smsDefinitionSubscriptions = new SalesforceMarketingCloud.SmsDefinitionSubscriptions(shortCode, countryCode);
smsDefinitionSubscriptions.keyword = keyword;
- let smsDefinitionContent = new SalesforceMarketingCloud.CreateSmsDefinitionContent('SMS definition message content');
+ let smsDefinitionContent = new SalesforceMarketingCloud.SmsDefinitionContent('SMS definition message content');
let smsDefinitionKey = getUUID(10);
let smsDefinitionName = 'SMSdefinition ' + getUUID(10);
- return new SalesforceMarketingCloud.CreateSmsDefinitionRequest(smsDefinitionKey, smsDefinitionName, smsDefinitionContent, smsDefinitionSubscriptions);
+ return new SalesforceMarketingCloud.SmsDefinition(smsDefinitionKey, smsDefinitionName, smsDefinitionContent, smsDefinitionSubscriptions);
}
async function createEmailDefinitionObject() {
@@ -422,10 +422,10 @@ const EnvironmentConfigProvider = require('../../../src/EnvironmentConfigProvide
let emailDefinitionName = 'EmailDefinition ' + getUUID(10);
let emailDefinitionKey= 'EmailDefinition ' + getUUID(10);
- let emailDefinitionContent = new SalesforceMarketingCloud.CreateEmailDefinitionContent(customerKey);
- let emailDefinitionSubscriptions = new SalesforceMarketingCloud.CreateEmailDefinitionSubscriptions("All Subscribers");
+ let emailDefinitionContent = new SalesforceMarketingCloud.EmailDefinitionContent(customerKey);
+ let emailDefinitionSubscriptions = new SalesforceMarketingCloud.EmailDefinitionSubscriptions("All Subscribers");
- return new SalesforceMarketingCloud.CreateEmailDefinitionRequest(emailDefinitionName, emailDefinitionKey, emailDefinitionContent, emailDefinitionSubscriptions);
+ return new SalesforceMarketingCloud.EmailDefinition(emailDefinitionName, emailDefinitionKey, emailDefinitionContent, emailDefinitionSubscriptions);
}
function createAssetObject() {