purecloud-platform-client-v2 202.1.0 → 204.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 +2 -2
- package/dist/node/purecloud-platform-client-v2.js +885 -106
- package/dist/web-amd/purecloud-platform-client-v2.js +885 -106
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +452 -261
- package/dist/web-cjs/purecloud-platform-client-v2.js +452 -261
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +589 -224
- package/package.json +2 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +381 -0
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +81 -0
- 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 +3 -3
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -12
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +46 -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 +139 -2
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +3 -13
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +130 -1
- 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 +30 -1
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -3
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- 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 +1 -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 +1 -1
- 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 +13 -1
|
@@ -5,7 +5,7 @@ class AuthorizationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Authorization service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 204.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -541,6 +541,26 @@ class AuthorizationApi {
|
|
|
541
541
|
);
|
|
542
542
|
}
|
|
543
543
|
|
|
544
|
+
/**
|
|
545
|
+
* Get authorization role settings
|
|
546
|
+
*
|
|
547
|
+
*/
|
|
548
|
+
getAuthorizationRolesSettings() {
|
|
549
|
+
|
|
550
|
+
return this.apiClient.callApi(
|
|
551
|
+
'/api/v2/authorization/roles/settings',
|
|
552
|
+
'GET',
|
|
553
|
+
{ },
|
|
554
|
+
{ },
|
|
555
|
+
{ },
|
|
556
|
+
{ },
|
|
557
|
+
null,
|
|
558
|
+
['PureCloud OAuth'],
|
|
559
|
+
['application/json'],
|
|
560
|
+
['application/json']
|
|
561
|
+
);
|
|
562
|
+
}
|
|
563
|
+
|
|
544
564
|
/**
|
|
545
565
|
* Get authorization settings
|
|
546
566
|
*
|
|
@@ -1207,6 +1227,31 @@ class AuthorizationApi {
|
|
|
1207
1227
|
);
|
|
1208
1228
|
}
|
|
1209
1229
|
|
|
1230
|
+
/**
|
|
1231
|
+
* Change authorization role settings
|
|
1232
|
+
* Change role settings
|
|
1233
|
+
* @param {Object} body Authorization Role Settings
|
|
1234
|
+
*/
|
|
1235
|
+
putAuthorizationRolesSettings(body) {
|
|
1236
|
+
// verify the required parameter 'body' is set
|
|
1237
|
+
if (body === undefined || body === null) {
|
|
1238
|
+
throw 'Missing the required parameter "body" when calling putAuthorizationRolesSettings';
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
return this.apiClient.callApi(
|
|
1242
|
+
'/api/v2/authorization/roles/settings',
|
|
1243
|
+
'PUT',
|
|
1244
|
+
{ },
|
|
1245
|
+
{ },
|
|
1246
|
+
{ },
|
|
1247
|
+
{ },
|
|
1248
|
+
body,
|
|
1249
|
+
['PureCloud OAuth'],
|
|
1250
|
+
['application/json'],
|
|
1251
|
+
['application/json']
|
|
1252
|
+
);
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1210
1255
|
/**
|
|
1211
1256
|
* Sets the user's roles
|
|
1212
1257
|
*
|
|
@@ -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 204.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -100,6 +100,32 @@ class ExternalContactsApi {
|
|
|
100
100
|
);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
/**
|
|
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
|
+
*
|
|
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
|
+
*/
|
|
109
|
+
deleteExternalcontactsExternalsource(externalSourceId) {
|
|
110
|
+
// verify the required parameter 'externalSourceId' is set
|
|
111
|
+
if (externalSourceId === undefined || externalSourceId === null) {
|
|
112
|
+
throw 'Missing the required parameter "externalSourceId" when calling deleteExternalcontactsExternalsource';
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return this.apiClient.callApi(
|
|
116
|
+
'/api/v2/externalcontacts/externalsources/{externalSourceId}',
|
|
117
|
+
'DELETE',
|
|
118
|
+
{ 'externalSourceId': externalSourceId },
|
|
119
|
+
{ },
|
|
120
|
+
{ },
|
|
121
|
+
{ },
|
|
122
|
+
null,
|
|
123
|
+
['PureCloud OAuth'],
|
|
124
|
+
['application/json'],
|
|
125
|
+
['application/json']
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
|
|
103
129
|
/**
|
|
104
130
|
* Delete an external organization
|
|
105
131
|
*
|
|
@@ -210,7 +236,7 @@ class ExternalContactsApi {
|
|
|
210
236
|
*
|
|
211
237
|
* @param {String} contactId ExternalContact ID
|
|
212
238
|
* @param {Object} opts Optional parameters
|
|
213
|
-
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
239
|
+
* @param {Array.<String>} opts.expand which fields, if any, to expand
|
|
214
240
|
*/
|
|
215
241
|
getExternalcontactsContact(contactId, opts) {
|
|
216
242
|
opts = opts || {};
|
|
@@ -513,6 +539,60 @@ class ExternalContactsApi {
|
|
|
513
539
|
);
|
|
514
540
|
}
|
|
515
541
|
|
|
542
|
+
/**
|
|
543
|
+
* Fetch an External Source
|
|
544
|
+
*
|
|
545
|
+
* @param {String} externalSourceId External Source ID
|
|
546
|
+
* getExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
547
|
+
*/
|
|
548
|
+
getExternalcontactsExternalsource(externalSourceId) {
|
|
549
|
+
// verify the required parameter 'externalSourceId' is set
|
|
550
|
+
if (externalSourceId === undefined || externalSourceId === null) {
|
|
551
|
+
throw 'Missing the required parameter "externalSourceId" when calling getExternalcontactsExternalsource';
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
return this.apiClient.callApi(
|
|
555
|
+
'/api/v2/externalcontacts/externalsources/{externalSourceId}',
|
|
556
|
+
'GET',
|
|
557
|
+
{ 'externalSourceId': externalSourceId },
|
|
558
|
+
{ },
|
|
559
|
+
{ },
|
|
560
|
+
{ },
|
|
561
|
+
null,
|
|
562
|
+
['PureCloud OAuth'],
|
|
563
|
+
['application/json'],
|
|
564
|
+
['application/json']
|
|
565
|
+
);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Fetch a list of External Sources
|
|
570
|
+
*
|
|
571
|
+
* @param {Object} opts Optional parameters
|
|
572
|
+
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
573
|
+
* @param {Number} opts.limit The number of ExternalSources per page; must be between 10 and 200, default is 100
|
|
574
|
+
* @param {String} opts.name Filter by external source name. Filtering is prefix filtering and not an exact match
|
|
575
|
+
* @param {Boolean} opts.active Filter by active status of external source
|
|
576
|
+
* getExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
577
|
+
*/
|
|
578
|
+
getExternalcontactsExternalsources(opts) {
|
|
579
|
+
opts = opts || {};
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
return this.apiClient.callApi(
|
|
583
|
+
'/api/v2/externalcontacts/externalsources',
|
|
584
|
+
'GET',
|
|
585
|
+
{ },
|
|
586
|
+
{ 'cursor': opts['cursor'],'limit': opts['limit'],'name': opts['name'],'active': opts['active'] },
|
|
587
|
+
{ },
|
|
588
|
+
{ },
|
|
589
|
+
null,
|
|
590
|
+
['PureCloud OAuth'],
|
|
591
|
+
['application/json'],
|
|
592
|
+
['application/json']
|
|
593
|
+
);
|
|
594
|
+
}
|
|
595
|
+
|
|
516
596
|
/**
|
|
517
597
|
* Fetch an external organization
|
|
518
598
|
*
|
|
@@ -1522,6 +1602,32 @@ class ExternalContactsApi {
|
|
|
1522
1602
|
);
|
|
1523
1603
|
}
|
|
1524
1604
|
|
|
1605
|
+
/**
|
|
1606
|
+
* Create an External Source
|
|
1607
|
+
*
|
|
1608
|
+
* @param {Object} body External Source
|
|
1609
|
+
* postExternalcontactsExternalsources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1610
|
+
*/
|
|
1611
|
+
postExternalcontactsExternalsources(body) {
|
|
1612
|
+
// verify the required parameter 'body' is set
|
|
1613
|
+
if (body === undefined || body === null) {
|
|
1614
|
+
throw 'Missing the required parameter "body" when calling postExternalcontactsExternalsources';
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
return this.apiClient.callApi(
|
|
1618
|
+
'/api/v2/externalcontacts/externalsources',
|
|
1619
|
+
'POST',
|
|
1620
|
+
{ },
|
|
1621
|
+
{ },
|
|
1622
|
+
{ },
|
|
1623
|
+
{ },
|
|
1624
|
+
body,
|
|
1625
|
+
['PureCloud OAuth'],
|
|
1626
|
+
['application/json'],
|
|
1627
|
+
['application/json']
|
|
1628
|
+
);
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1525
1631
|
/**
|
|
1526
1632
|
* Fetch a contact using an identifier type and value.
|
|
1527
1633
|
* Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
|
|
@@ -1806,6 +1912,37 @@ class ExternalContactsApi {
|
|
|
1806
1912
|
);
|
|
1807
1913
|
}
|
|
1808
1914
|
|
|
1915
|
+
/**
|
|
1916
|
+
* Update an External Source
|
|
1917
|
+
*
|
|
1918
|
+
* @param {String} externalSourceId External Source ID
|
|
1919
|
+
* @param {Object} body External Source
|
|
1920
|
+
* putExternalcontactsExternalsource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1921
|
+
*/
|
|
1922
|
+
putExternalcontactsExternalsource(externalSourceId, body) {
|
|
1923
|
+
// verify the required parameter 'externalSourceId' is set
|
|
1924
|
+
if (externalSourceId === undefined || externalSourceId === null) {
|
|
1925
|
+
throw 'Missing the required parameter "externalSourceId" when calling putExternalcontactsExternalsource';
|
|
1926
|
+
}
|
|
1927
|
+
// verify the required parameter 'body' is set
|
|
1928
|
+
if (body === undefined || body === null) {
|
|
1929
|
+
throw 'Missing the required parameter "body" when calling putExternalcontactsExternalsource';
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
return this.apiClient.callApi(
|
|
1933
|
+
'/api/v2/externalcontacts/externalsources/{externalSourceId}',
|
|
1934
|
+
'PUT',
|
|
1935
|
+
{ 'externalSourceId': externalSourceId },
|
|
1936
|
+
{ },
|
|
1937
|
+
{ },
|
|
1938
|
+
{ },
|
|
1939
|
+
body,
|
|
1940
|
+
['PureCloud OAuth'],
|
|
1941
|
+
['application/json'],
|
|
1942
|
+
['application/json']
|
|
1943
|
+
);
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1809
1946
|
/**
|
|
1810
1947
|
* Update an external organization
|
|
1811
1948
|
*
|
|
@@ -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 204.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -153,7 +153,6 @@ class JourneyApi {
|
|
|
153
153
|
* Delete a Journey View by ID
|
|
154
154
|
* deletes all versions
|
|
155
155
|
* @param {String} viewId viewId
|
|
156
|
-
* deleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
157
156
|
*/
|
|
158
157
|
deleteJourneyView(viewId) {
|
|
159
158
|
// verify the required parameter 'viewId' is set
|
|
@@ -802,7 +801,6 @@ class JourneyApi {
|
|
|
802
801
|
* Get a Journey View by ID
|
|
803
802
|
* returns the latest version
|
|
804
803
|
* @param {String} viewId viewId
|
|
805
|
-
* getJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
806
804
|
*/
|
|
807
805
|
getJourneyView(viewId) {
|
|
808
806
|
// verify the required parameter 'viewId' is set
|
|
@@ -829,7 +827,6 @@ class JourneyApi {
|
|
|
829
827
|
*
|
|
830
828
|
* @param {String} viewId viewId
|
|
831
829
|
* @param {String} versionId versionId
|
|
832
|
-
* getJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
833
830
|
*/
|
|
834
831
|
getJourneyViewVersion(viewId, versionId) {
|
|
835
832
|
// verify the required parameter 'viewId' is set
|
|
@@ -861,7 +858,6 @@ class JourneyApi {
|
|
|
861
858
|
* @param {String} viewId Journey View Id
|
|
862
859
|
* @param {String} journeyVersionId Journey View Version
|
|
863
860
|
* @param {String} jobId JobId
|
|
864
|
-
* getJourneyViewVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
865
861
|
*/
|
|
866
862
|
getJourneyViewVersionJob(viewId, journeyVersionId, jobId) {
|
|
867
863
|
// verify the required parameter 'viewId' is set
|
|
@@ -897,7 +893,6 @@ class JourneyApi {
|
|
|
897
893
|
* @param {String} viewId JourneyViewResult id
|
|
898
894
|
* @param {String} journeyViewVersion Journey View Version
|
|
899
895
|
* @param {String} jobId Id of the executing job
|
|
900
|
-
* getJourneyViewVersionJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
901
896
|
*/
|
|
902
897
|
getJourneyViewVersionJobResults(viewId, journeyViewVersion, jobId) {
|
|
903
898
|
// verify the required parameter 'viewId' is set
|
|
@@ -932,7 +927,6 @@ class JourneyApi {
|
|
|
932
927
|
* used for long descriptions
|
|
933
928
|
* @param {String} viewId Journey View Id
|
|
934
929
|
* @param {String} journeyVersionId Journey View Version
|
|
935
|
-
* getJourneyViewVersionJobsLatest is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
936
930
|
*/
|
|
937
931
|
getJourneyViewVersionJobsLatest(viewId, journeyVersionId) {
|
|
938
932
|
// verify the required parameter 'viewId' is set
|
|
@@ -966,7 +960,7 @@ class JourneyApi {
|
|
|
966
960
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
967
961
|
* @param {String} opts.nameOrCreatedBy Journey View Name or Created By
|
|
968
962
|
* @param {Object} opts.expand Parameter to request additional data to return in Journey payload
|
|
969
|
-
*
|
|
963
|
+
* @param {String} opts.id Parameter to request a list of Journey Views by id, separated by commas. Limit of 100 items.
|
|
970
964
|
*/
|
|
971
965
|
getJourneyViews(opts) {
|
|
972
966
|
opts = opts || {};
|
|
@@ -976,7 +970,7 @@ class JourneyApi {
|
|
|
976
970
|
'/api/v2/journey/views',
|
|
977
971
|
'GET',
|
|
978
972
|
{ },
|
|
979
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'nameOrCreatedBy': opts['nameOrCreatedBy'],'expand': opts['expand'] },
|
|
973
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'nameOrCreatedBy': opts['nameOrCreatedBy'],'expand': opts['expand'],'id': opts['id'] },
|
|
980
974
|
{ },
|
|
981
975
|
{ },
|
|
982
976
|
null,
|
|
@@ -1041,7 +1035,6 @@ class JourneyApi {
|
|
|
1041
1035
|
* @param {Number} opts.pageSize Max number of entities to return (default to 25)
|
|
1042
1036
|
* @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
|
|
1043
1037
|
* @param {String} opts.statuses Job statuses to filter for
|
|
1044
|
-
* getJourneyViewsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1045
1038
|
*/
|
|
1046
1039
|
getJourneyViewsJobs(opts) {
|
|
1047
1040
|
opts = opts || {};
|
|
@@ -1544,7 +1537,6 @@ class JourneyApi {
|
|
|
1544
1537
|
* used for long descriptions
|
|
1545
1538
|
* @param {String} viewId Journey View Id
|
|
1546
1539
|
* @param {String} journeyVersionId Journey View Version
|
|
1547
|
-
* postJourneyViewVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1548
1540
|
*/
|
|
1549
1541
|
postJourneyViewVersionJobs(viewId, journeyVersionId) {
|
|
1550
1542
|
// verify the required parameter 'viewId' is set
|
|
@@ -1575,7 +1567,6 @@ class JourneyApi {
|
|
|
1575
1567
|
* creates a new version
|
|
1576
1568
|
* @param {String} viewId viewId
|
|
1577
1569
|
* @param {Object} body JourneyView
|
|
1578
|
-
* postJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1579
1570
|
*/
|
|
1580
1571
|
postJourneyViewVersions(viewId, body) {
|
|
1581
1572
|
// verify the required parameter 'viewId' is set
|
|
@@ -1605,7 +1596,6 @@ class JourneyApi {
|
|
|
1605
1596
|
* Create a new Journey View
|
|
1606
1597
|
*
|
|
1607
1598
|
* @param {Object} body JourneyView
|
|
1608
|
-
* postJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1609
1599
|
*/
|
|
1610
1600
|
postJourneyViews(body) {
|
|
1611
1601
|
// verify the required parameter 'body' is set
|