purecloud-platform-client-v2 207.0.0 → 208.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +384 -124
- package/dist/web-amd/purecloud-platform-client-v2.js +384 -124
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +185 -124
- package/dist/web-cjs/purecloud-platform-client-v2.js +202 -127
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +871 -336
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +3 -8
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +31 -11
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +136 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +5 -3
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +55 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +55 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ class ExternalContactsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* ExternalContacts service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 208.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -104,7 +104,6 @@ class ExternalContactsApi {
|
|
|
104
104
|
* Delete an External Source. WARNING: Any records that reference this External Source will not be automatically cleaned up. Those records will still be editable, but their External IDs may not be fully viewable.
|
|
105
105
|
*
|
|
106
106
|
* @param {String} externalSourceId External Source ID
|
|
107
|
-
* deleteExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
108
107
|
*/
|
|
109
108
|
deleteExternalcontactsExternalsource(externalSourceId) {
|
|
110
109
|
// verify the required parameter 'externalSourceId' is set
|
|
@@ -412,7 +411,7 @@ class ExternalContactsApi {
|
|
|
412
411
|
*
|
|
413
412
|
* @param {String} contactId ExternalContact ID
|
|
414
413
|
* @param {Object} opts Optional parameters
|
|
415
|
-
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
414
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
416
415
|
*/
|
|
417
416
|
getExternalcontactsContactUnresolved(contactId, opts) {
|
|
418
417
|
opts = opts || {};
|
|
@@ -568,7 +567,6 @@ class ExternalContactsApi {
|
|
|
568
567
|
* Fetch an External Source
|
|
569
568
|
*
|
|
570
569
|
* @param {String} externalSourceId External Source ID
|
|
571
|
-
* getExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
572
570
|
*/
|
|
573
571
|
getExternalcontactsExternalsource(externalSourceId) {
|
|
574
572
|
// verify the required parameter 'externalSourceId' is set
|
|
@@ -598,7 +596,6 @@ class ExternalContactsApi {
|
|
|
598
596
|
* @param {Number} opts.limit The number of ExternalSources per page; must be between 10 and 200, default is 100
|
|
599
597
|
* @param {String} opts.name Filter by external source name. Filtering is prefix filtering and not an exact match
|
|
600
598
|
* @param {Boolean} opts.active Filter by active status of external source
|
|
601
|
-
* getExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
602
599
|
*/
|
|
603
600
|
getExternalcontactsExternalsources(opts) {
|
|
604
601
|
opts = opts || {};
|
|
@@ -724,7 +721,7 @@ class ExternalContactsApi {
|
|
|
724
721
|
*
|
|
725
722
|
* @param {String} externalOrganizationId External Organization ID
|
|
726
723
|
* @param {Object} opts Optional parameters
|
|
727
|
-
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
724
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
728
725
|
* @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
729
726
|
*/
|
|
730
727
|
getExternalcontactsOrganization(externalOrganizationId, opts) {
|
|
@@ -1732,7 +1729,6 @@ class ExternalContactsApi {
|
|
|
1732
1729
|
* Create an External Source
|
|
1733
1730
|
*
|
|
1734
1731
|
* @param {Object} body External Source
|
|
1735
|
-
* postExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1736
1732
|
*/
|
|
1737
1733
|
postExternalcontactsExternalsources(body) {
|
|
1738
1734
|
// verify the required parameter 'body' is set
|
|
@@ -2118,7 +2114,6 @@ class ExternalContactsApi {
|
|
|
2118
2114
|
*
|
|
2119
2115
|
* @param {String} externalSourceId External Source ID
|
|
2120
2116
|
* @param {Object} body External Source
|
|
2121
|
-
* putExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2122
2117
|
*/
|
|
2123
2118
|
putExternalcontactsExternalsource(externalSourceId, body) {
|
|
2124
2119
|
// verify the required parameter 'externalSourceId' is set
|
|
@@ -5,7 +5,7 @@ class IntegrationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Integrations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 208.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -299,8 +299,12 @@ class IntegrationsApi {
|
|
|
299
299
|
*
|
|
300
300
|
* @param {String} actionId actionId
|
|
301
301
|
* @param {String} fileName Name of schema file to be retrieved for this draft.
|
|
302
|
+
* @param {Object} opts Optional parameters
|
|
303
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
302
304
|
*/
|
|
303
|
-
getIntegrationsActionDraftSchema(actionId, fileName) {
|
|
305
|
+
getIntegrationsActionDraftSchema(actionId, fileName, opts) {
|
|
306
|
+
opts = opts || {};
|
|
307
|
+
|
|
304
308
|
// verify the required parameter 'actionId' is set
|
|
305
309
|
if (actionId === undefined || actionId === null) {
|
|
306
310
|
throw 'Missing the required parameter "actionId" when calling getIntegrationsActionDraftSchema';
|
|
@@ -314,7 +318,7 @@ class IntegrationsApi {
|
|
|
314
318
|
'/api/v2/integrations/actions/{actionId}/draft/schemas/{fileName}',
|
|
315
319
|
'GET',
|
|
316
320
|
{ 'actionId': actionId,'fileName': fileName },
|
|
317
|
-
{
|
|
321
|
+
{ 'flatten': opts['flatten'] },
|
|
318
322
|
{ },
|
|
319
323
|
{ },
|
|
320
324
|
null,
|
|
@@ -410,8 +414,12 @@ class IntegrationsApi {
|
|
|
410
414
|
*
|
|
411
415
|
* @param {String} actionId actionId
|
|
412
416
|
* @param {String} fileName Name of schema file to be retrieved for this action.
|
|
417
|
+
* @param {Object} opts Optional parameters
|
|
418
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
413
419
|
*/
|
|
414
|
-
getIntegrationsActionSchema(actionId, fileName) {
|
|
420
|
+
getIntegrationsActionSchema(actionId, fileName, opts) {
|
|
421
|
+
opts = opts || {};
|
|
422
|
+
|
|
415
423
|
// verify the required parameter 'actionId' is set
|
|
416
424
|
if (actionId === undefined || actionId === null) {
|
|
417
425
|
throw 'Missing the required parameter "actionId" when calling getIntegrationsActionSchema';
|
|
@@ -425,7 +433,7 @@ class IntegrationsApi {
|
|
|
425
433
|
'/api/v2/integrations/actions/{actionId}/schemas/{fileName}',
|
|
426
434
|
'GET',
|
|
427
435
|
{ 'actionId': actionId,'fileName': fileName },
|
|
428
|
-
{
|
|
436
|
+
{ 'flatten': opts['flatten'] },
|
|
429
437
|
{ },
|
|
430
438
|
{ },
|
|
431
439
|
null,
|
|
@@ -1962,8 +1970,12 @@ class IntegrationsApi {
|
|
|
1962
1970
|
*
|
|
1963
1971
|
* @param {String} actionId actionId
|
|
1964
1972
|
* @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
|
|
1973
|
+
* @param {Object} opts Optional parameters
|
|
1974
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
1965
1975
|
*/
|
|
1966
|
-
postIntegrationsActionDraftTest(actionId, body) {
|
|
1976
|
+
postIntegrationsActionDraftTest(actionId, body, opts) {
|
|
1977
|
+
opts = opts || {};
|
|
1978
|
+
|
|
1967
1979
|
// verify the required parameter 'actionId' is set
|
|
1968
1980
|
if (actionId === undefined || actionId === null) {
|
|
1969
1981
|
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftTest';
|
|
@@ -1977,7 +1989,7 @@ class IntegrationsApi {
|
|
|
1977
1989
|
'/api/v2/integrations/actions/{actionId}/draft/test',
|
|
1978
1990
|
'POST',
|
|
1979
1991
|
{ 'actionId': actionId },
|
|
1980
|
-
{
|
|
1992
|
+
{ 'flatten': opts['flatten'] },
|
|
1981
1993
|
{ },
|
|
1982
1994
|
{ },
|
|
1983
1995
|
body,
|
|
@@ -1992,8 +2004,12 @@ class IntegrationsApi {
|
|
|
1992
2004
|
*
|
|
1993
2005
|
* @param {String} actionId actionId
|
|
1994
2006
|
* @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
|
|
2007
|
+
* @param {Object} opts Optional parameters
|
|
2008
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
1995
2009
|
*/
|
|
1996
|
-
postIntegrationsActionExecute(actionId, body) {
|
|
2010
|
+
postIntegrationsActionExecute(actionId, body, opts) {
|
|
2011
|
+
opts = opts || {};
|
|
2012
|
+
|
|
1997
2013
|
// verify the required parameter 'actionId' is set
|
|
1998
2014
|
if (actionId === undefined || actionId === null) {
|
|
1999
2015
|
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionExecute';
|
|
@@ -2007,7 +2023,7 @@ class IntegrationsApi {
|
|
|
2007
2023
|
'/api/v2/integrations/actions/{actionId}/execute',
|
|
2008
2024
|
'POST',
|
|
2009
2025
|
{ 'actionId': actionId },
|
|
2010
|
-
{
|
|
2026
|
+
{ 'flatten': opts['flatten'] },
|
|
2011
2027
|
{ },
|
|
2012
2028
|
{ },
|
|
2013
2029
|
body,
|
|
@@ -2022,8 +2038,12 @@ class IntegrationsApi {
|
|
|
2022
2038
|
*
|
|
2023
2039
|
* @param {String} actionId actionId
|
|
2024
2040
|
* @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
|
|
2041
|
+
* @param {Object} opts Optional parameters
|
|
2042
|
+
* @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
|
|
2025
2043
|
*/
|
|
2026
|
-
postIntegrationsActionTest(actionId, body) {
|
|
2044
|
+
postIntegrationsActionTest(actionId, body, opts) {
|
|
2045
|
+
opts = opts || {};
|
|
2046
|
+
|
|
2027
2047
|
// verify the required parameter 'actionId' is set
|
|
2028
2048
|
if (actionId === undefined || actionId === null) {
|
|
2029
2049
|
throw 'Missing the required parameter "actionId" when calling postIntegrationsActionTest';
|
|
@@ -2037,7 +2057,7 @@ class IntegrationsApi {
|
|
|
2037
2057
|
'/api/v2/integrations/actions/{actionId}/test',
|
|
2038
2058
|
'POST',
|
|
2039
2059
|
{ 'actionId': actionId },
|
|
2040
|
-
{
|
|
2060
|
+
{ 'flatten': opts['flatten'] },
|
|
2041
2061
|
{ },
|
|
2042
2062
|
{ },
|
|
2043
2063
|
body,
|
|
@@ -5,7 +5,7 @@ class JourneyApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Journey service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 208.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -174,6 +174,31 @@ class JourneyApi {
|
|
|
174
174
|
);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
+
/**
|
|
178
|
+
* Delete the Schedule of a JourneyView
|
|
179
|
+
* used for long descriptions
|
|
180
|
+
* @param {String} viewId Journey View Id
|
|
181
|
+
*/
|
|
182
|
+
deleteJourneyViewSchedules(viewId) {
|
|
183
|
+
// verify the required parameter 'viewId' is set
|
|
184
|
+
if (viewId === undefined || viewId === null) {
|
|
185
|
+
throw 'Missing the required parameter "viewId" when calling deleteJourneyViewSchedules';
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
return this.apiClient.callApi(
|
|
189
|
+
'/api/v2/journey/views/{viewId}/schedules',
|
|
190
|
+
'DELETE',
|
|
191
|
+
{ 'viewId': viewId },
|
|
192
|
+
{ },
|
|
193
|
+
{ },
|
|
194
|
+
{ },
|
|
195
|
+
null,
|
|
196
|
+
['PureCloud OAuth'],
|
|
197
|
+
['application/json'],
|
|
198
|
+
['application/json']
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
|
|
177
202
|
/**
|
|
178
203
|
* Get status for async query for journey aggregates
|
|
179
204
|
*
|
|
@@ -822,6 +847,31 @@ class JourneyApi {
|
|
|
822
847
|
);
|
|
823
848
|
}
|
|
824
849
|
|
|
850
|
+
/**
|
|
851
|
+
* Get the Schedule for a JourneyView
|
|
852
|
+
* used for long descriptions
|
|
853
|
+
* @param {String} viewId Journey View Id
|
|
854
|
+
*/
|
|
855
|
+
getJourneyViewSchedules(viewId) {
|
|
856
|
+
// verify the required parameter 'viewId' is set
|
|
857
|
+
if (viewId === undefined || viewId === null) {
|
|
858
|
+
throw 'Missing the required parameter "viewId" when calling getJourneyViewSchedules';
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
return this.apiClient.callApi(
|
|
862
|
+
'/api/v2/journey/views/{viewId}/schedules',
|
|
863
|
+
'GET',
|
|
864
|
+
{ 'viewId': viewId },
|
|
865
|
+
{ },
|
|
866
|
+
{ },
|
|
867
|
+
{ },
|
|
868
|
+
null,
|
|
869
|
+
['PureCloud OAuth'],
|
|
870
|
+
['application/json'],
|
|
871
|
+
['application/json']
|
|
872
|
+
);
|
|
873
|
+
}
|
|
874
|
+
|
|
825
875
|
/**
|
|
826
876
|
* Get a Journey View by ID and version
|
|
827
877
|
*
|
|
@@ -1167,6 +1217,31 @@ class JourneyApi {
|
|
|
1167
1217
|
);
|
|
1168
1218
|
}
|
|
1169
1219
|
|
|
1220
|
+
/**
|
|
1221
|
+
* Get the journey schedules for an organization.
|
|
1222
|
+
*
|
|
1223
|
+
* @param {Object} opts Optional parameters
|
|
1224
|
+
* @param {Number} opts.pageNumber The number of the page to return (default to 1)
|
|
1225
|
+
* @param {Number} opts.pageSize Max number of entities to return (default to 25)
|
|
1226
|
+
*/
|
|
1227
|
+
getJourneyViewsSchedules(opts) {
|
|
1228
|
+
opts = opts || {};
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
return this.apiClient.callApi(
|
|
1232
|
+
'/api/v2/journey/views/schedules',
|
|
1233
|
+
'GET',
|
|
1234
|
+
{ },
|
|
1235
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
|
|
1236
|
+
{ },
|
|
1237
|
+
{ },
|
|
1238
|
+
null,
|
|
1239
|
+
['PureCloud OAuth'],
|
|
1240
|
+
['application/json'],
|
|
1241
|
+
['application/json']
|
|
1242
|
+
);
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1170
1245
|
/**
|
|
1171
1246
|
* Update single action map.
|
|
1172
1247
|
*
|
|
@@ -1685,6 +1760,36 @@ class JourneyApi {
|
|
|
1685
1760
|
);
|
|
1686
1761
|
}
|
|
1687
1762
|
|
|
1763
|
+
/**
|
|
1764
|
+
* Add a new Schedule to a JourneyView
|
|
1765
|
+
*
|
|
1766
|
+
* @param {String} viewId Journey View Id
|
|
1767
|
+
* @param {Object} body journeyViewSchedule
|
|
1768
|
+
*/
|
|
1769
|
+
postJourneyViewSchedules(viewId, body) {
|
|
1770
|
+
// verify the required parameter 'viewId' is set
|
|
1771
|
+
if (viewId === undefined || viewId === null) {
|
|
1772
|
+
throw 'Missing the required parameter "viewId" when calling postJourneyViewSchedules';
|
|
1773
|
+
}
|
|
1774
|
+
// verify the required parameter 'body' is set
|
|
1775
|
+
if (body === undefined || body === null) {
|
|
1776
|
+
throw 'Missing the required parameter "body" when calling postJourneyViewSchedules';
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
return this.apiClient.callApi(
|
|
1780
|
+
'/api/v2/journey/views/{viewId}/schedules',
|
|
1781
|
+
'POST',
|
|
1782
|
+
{ 'viewId': viewId },
|
|
1783
|
+
{ },
|
|
1784
|
+
{ },
|
|
1785
|
+
{ },
|
|
1786
|
+
body,
|
|
1787
|
+
['PureCloud OAuth'],
|
|
1788
|
+
['application/json'],
|
|
1789
|
+
['application/json']
|
|
1790
|
+
);
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1688
1793
|
/**
|
|
1689
1794
|
* Submit a job request for a journey view version.
|
|
1690
1795
|
* used for long descriptions
|
|
@@ -1794,6 +1899,36 @@ class JourneyApi {
|
|
|
1794
1899
|
);
|
|
1795
1900
|
}
|
|
1796
1901
|
|
|
1902
|
+
/**
|
|
1903
|
+
* Update the Schedule for a JourneyView
|
|
1904
|
+
* used for long descriptions
|
|
1905
|
+
* @param {String} viewId Journey View Id
|
|
1906
|
+
* @param {Object} body journeyViewSchedule
|
|
1907
|
+
*/
|
|
1908
|
+
putJourneyViewSchedules(viewId, body) {
|
|
1909
|
+
// verify the required parameter 'viewId' is set
|
|
1910
|
+
if (viewId === undefined || viewId === null) {
|
|
1911
|
+
throw 'Missing the required parameter "viewId" when calling putJourneyViewSchedules';
|
|
1912
|
+
}
|
|
1913
|
+
// verify the required parameter 'body' is set
|
|
1914
|
+
if (body === undefined || body === null) {
|
|
1915
|
+
throw 'Missing the required parameter "body" when calling putJourneyViewSchedules';
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
return this.apiClient.callApi(
|
|
1919
|
+
'/api/v2/journey/views/{viewId}/schedules',
|
|
1920
|
+
'PUT',
|
|
1921
|
+
{ 'viewId': viewId },
|
|
1922
|
+
{ },
|
|
1923
|
+
{ },
|
|
1924
|
+
{ },
|
|
1925
|
+
body,
|
|
1926
|
+
['PureCloud OAuth'],
|
|
1927
|
+
['application/json'],
|
|
1928
|
+
['application/json']
|
|
1929
|
+
);
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1797
1932
|
/**
|
|
1798
1933
|
* Update a Journey View by ID and version
|
|
1799
1934
|
* does not create a new version
|