From 96349cb78de29082c2ac1e38226aa84f07aaaf71 Mon Sep 17 00:00:00 2001 From: sfcbetiuc <42634794+sfcbetiuc@users.noreply.github.com> Date: Thu, 14 Nov 2019 17:51:05 +0200 Subject: [PATCH] Automated release 1.0 (#6) * Auto-update * Auto-update * Auto-update --- docs/TransactionalMessagingApi.md | 8 ++++---- src/Api/TransactionalMessagingApi.js | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/TransactionalMessagingApi.md b/docs/TransactionalMessagingApi.md index ffef7a9..c0b36c2 100644 --- a/docs/TransactionalMessagingApi.md +++ b/docs/TransactionalMessagingApi.md @@ -344,7 +344,7 @@ const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); let opts = { - 'status': "status_example", // String | Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. + 'filter': "filter_example", // String | Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. 'pageSize': 8.14, // Number | Number of definitions, which are array elements, to return per paged response. 'page': 8.14, // Number | Page number to return. 'orderBy': "orderBy_example" // String | Sort by a dimension. You can sort by only one dimension. Accepted values are definitionKey, name, createdDate, modifiedDate, and status. @@ -361,7 +361,7 @@ apiInstance.getEmailDefinitions(opts).then((data) => { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **status** | **String**| Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. | [optional] + **filter** | **String**| Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. | [optional] **pageSize** | **Number**| Number of definitions, which are array elements, to return per paged response. | [optional] **page** | **Number**| Page number to return. | [optional] **orderBy** | **String**| Sort by a dimension. You can sort by only one dimension. Accepted values are definitionKey, name, createdDate, modifiedDate, and status. | [optional] @@ -664,7 +664,7 @@ const SalesforceMarketingCloud = require ('SalesforceMarketingCloud'); let apiInstance = new SalesforceMarketingCloud.TransactionalMessagingApi(); let opts = { - 'status': "status_example", // String | Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. + 'filter': "filter_example", // String | Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. 'pageSize': 8.14, // Number | Number of definitions, which are array elements, to return per paged response. 'page': 8.14, // Number | Page number to return. 'orderBy': "orderBy_example" // String | Sort by a dimension. You can sort by only one dimension. Accepted values are definitionKey, name, createdDate, modifiedDate, and status. @@ -681,7 +681,7 @@ apiInstance.getSmsDefinitions(opts).then((data) => { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **status** | **String**| Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. | [optional] + **filter** | **String**| Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. | [optional] **pageSize** | **Number**| Number of definitions, which are array elements, to return per paged response. | [optional] **page** | **Number**| Page number to return. | [optional] **orderBy** | **String**| Sort by a dimension. You can sort by only one dimension. Accepted values are definitionKey, name, createdDate, modifiedDate, and status. | [optional] diff --git a/src/Api/TransactionalMessagingApi.js b/src/Api/TransactionalMessagingApi.js index a75f311..d69035d 100644 --- a/src/Api/TransactionalMessagingApi.js +++ b/src/Api/TransactionalMessagingApi.js @@ -411,7 +411,7 @@ module.exports = class TransactionalMessagingApi extends BaseApi { * getEmailDefinitions * Gets a list of email definitions. * @param {Object} opts Optional parameters - * @param {module:Model/String} opts.status Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. + * @param {module:Model/String} opts.filter Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. * @param {Number} opts.pageSize Number of definitions, which are array elements, to return per paged response. * @param {Number} opts.page Page number to return. * @param {module:Model/String} opts.orderBy Sort by a dimension. You can sort by only one dimension. Accepted values are definitionKey, name, createdDate, modifiedDate, and status. @@ -425,10 +425,10 @@ module.exports = class TransactionalMessagingApi extends BaseApi { let pathParams = { }; let queryParams = { - 'status': opts['status'], - 'pageSize': opts['pageSize'], - 'page': opts['page'], - 'orderBy': opts['orderBy'] + '$filter': opts['filter'], + '$pageSize': opts['pageSize'], + '$page': opts['page'], + '$orderBy': opts['orderBy'] }; let headerParams = { }; @@ -451,7 +451,7 @@ module.exports = class TransactionalMessagingApi extends BaseApi { * getEmailDefinitions * Gets a list of email definitions. * @param {Object} opts Optional parameters - * @param {module:Model/String} opts.status Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. + * @param {module:Model/String} opts.filter Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. * @param {Number} opts.pageSize Number of definitions, which are array elements, to return per paged response. * @param {Number} opts.page Page number to return. * @param {module:Model/String} opts.orderBy Sort by a dimension. You can sort by only one dimension. Accepted values are definitionKey, name, createdDate, modifiedDate, and status. @@ -793,7 +793,7 @@ module.exports = class TransactionalMessagingApi extends BaseApi { * getSmsDefinitions * Gets a list of SMS definitions. * @param {Object} opts Optional parameters - * @param {module:Model/String} opts.status Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. + * @param {module:Model/String} opts.filter Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. * @param {Number} opts.pageSize Number of definitions, which are array elements, to return per paged response. * @param {Number} opts.page Page number to return. * @param {module:Model/String} opts.orderBy Sort by a dimension. You can sort by only one dimension. Accepted values are definitionKey, name, createdDate, modifiedDate, and status. @@ -807,10 +807,10 @@ module.exports = class TransactionalMessagingApi extends BaseApi { let pathParams = { }; let queryParams = { - 'status': opts['status'], - 'pageSize': opts['pageSize'], - 'page': opts['page'], - 'orderBy': opts['orderBy'] + '$filter': opts['filter'], + '$pageSize': opts['pageSize'], + '$page': opts['page'], + '$orderBy': opts['orderBy'] }; let headerParams = { }; @@ -833,7 +833,7 @@ module.exports = class TransactionalMessagingApi extends BaseApi { * getSmsDefinitions * Gets a list of SMS definitions. * @param {Object} opts Optional parameters - * @param {module:Model/String} opts.status Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. + * @param {module:Model/String} opts.filter Filter by status type. Accepted values are active, inactive, or deleted. Valid operations are eq and neq. * @param {Number} opts.pageSize Number of definitions, which are array elements, to return per paged response. * @param {Number} opts.page Page number to return. * @param {module:Model/String} opts.orderBy Sort by a dimension. You can sort by only one dimension. Accepted values are definitionKey, name, createdDate, modifiedDate, and status.