purecloud-platform-client-v2 133.0.2 → 135.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 +680 -200
- package/dist/web-amd/purecloud-platform-client-v2.js +680 -200
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +680 -200
- package/dist/web-cjs/purecloud-platform-client-v2.js +692 -204
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1060 -221
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- 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/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 +78 -3
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- 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/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -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/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 +14 -6
- package/src/purecloud-platform-client-v2/api/ObjectsApi.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 +26 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -51
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +5 -3
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +160 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +69 -3
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- 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/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +2 -2
- 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 -26
- 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 +269 -49
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class RecordingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Recording service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 135.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -528,6 +528,7 @@ class RecordingApi {
|
|
|
528
528
|
* @param {Boolean} opts.enabled checks to see if policy is enabled - use enabled = true or enabled = false
|
|
529
529
|
* @param {Boolean} opts.summary provides a less verbose response of policy lists. (default to false)
|
|
530
530
|
* @param {Boolean} opts.hasErrors provides a way to fetch all policies with errors or policies that do not have errors
|
|
531
|
+
* @param {Number} opts.deleteDaysThreshold provides a way to fetch all policies with any actions having deleteDays exceeding the provided value
|
|
531
532
|
*/
|
|
532
533
|
getRecordingCrossplatformMediaretentionpolicies(opts) {
|
|
533
534
|
opts = opts || {};
|
|
@@ -537,7 +538,7 @@ class RecordingApi {
|
|
|
537
538
|
'/api/v2/recording/crossplatform/mediaretentionpolicies',
|
|
538
539
|
'GET',
|
|
539
540
|
{ },
|
|
540
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'name': opts['name'],'enabled': opts['enabled'],'summary': opts['summary'],'hasErrors': opts['hasErrors'] },
|
|
541
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'name': opts['name'],'enabled': opts['enabled'],'summary': opts['summary'],'hasErrors': opts['hasErrors'],'deleteDaysThreshold': opts['deleteDaysThreshold'] },
|
|
541
542
|
{ },
|
|
542
543
|
{ },
|
|
543
544
|
null,
|
|
@@ -719,6 +720,7 @@ class RecordingApi {
|
|
|
719
720
|
* @param {Boolean} opts.enabled checks to see if policy is enabled - use enabled = true or enabled = false
|
|
720
721
|
* @param {Boolean} opts.summary provides a less verbose response of policy lists. (default to false)
|
|
721
722
|
* @param {Boolean} opts.hasErrors provides a way to fetch all policies with errors or policies that do not have errors
|
|
723
|
+
* @param {Number} opts.deleteDaysThreshold provides a way to fetch all policies with any actions having deleteDays exceeding the provided value
|
|
722
724
|
*/
|
|
723
725
|
getRecordingMediaretentionpolicies(opts) {
|
|
724
726
|
opts = opts || {};
|
|
@@ -728,7 +730,7 @@ class RecordingApi {
|
|
|
728
730
|
'/api/v2/recording/mediaretentionpolicies',
|
|
729
731
|
'GET',
|
|
730
732
|
{ },
|
|
731
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'name': opts['name'],'enabled': opts['enabled'],'summary': opts['summary'],'hasErrors': opts['hasErrors'] },
|
|
733
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'name': opts['name'],'enabled': opts['enabled'],'summary': opts['summary'],'hasErrors': opts['hasErrors'],'deleteDaysThreshold': opts['deleteDaysThreshold'] },
|
|
732
734
|
{ },
|
|
733
735
|
{ },
|
|
734
736
|
null,
|
|
@@ -5,7 +5,7 @@ class ResponseManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* ResponseManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 135.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -70,6 +70,31 @@ class ResponseManagementApi {
|
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Delete response asset
|
|
75
|
+
*
|
|
76
|
+
* @param {String} responseAssetId Asset Id
|
|
77
|
+
*/
|
|
78
|
+
deleteResponsemanagementResponseasset(responseAssetId) {
|
|
79
|
+
// verify the required parameter 'responseAssetId' is set
|
|
80
|
+
if (responseAssetId === undefined || responseAssetId === null) {
|
|
81
|
+
throw 'Missing the required parameter "responseAssetId" when calling deleteResponsemanagementResponseasset';
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return this.apiClient.callApi(
|
|
85
|
+
'/api/v2/responsemanagement/responseassets/{responseAssetId}',
|
|
86
|
+
'DELETE',
|
|
87
|
+
{ 'responseAssetId': responseAssetId },
|
|
88
|
+
{ },
|
|
89
|
+
{ },
|
|
90
|
+
{ },
|
|
91
|
+
null,
|
|
92
|
+
['PureCloud OAuth'],
|
|
93
|
+
['application/json'],
|
|
94
|
+
['application/json']
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
|
|
73
98
|
/**
|
|
74
99
|
* Gets a list of existing response libraries.
|
|
75
100
|
*
|
|
@@ -150,6 +175,56 @@ class ResponseManagementApi {
|
|
|
150
175
|
);
|
|
151
176
|
}
|
|
152
177
|
|
|
178
|
+
/**
|
|
179
|
+
* Get response asset information
|
|
180
|
+
*
|
|
181
|
+
* @param {String} responseAssetId Asset Id
|
|
182
|
+
*/
|
|
183
|
+
getResponsemanagementResponseasset(responseAssetId) {
|
|
184
|
+
// verify the required parameter 'responseAssetId' is set
|
|
185
|
+
if (responseAssetId === undefined || responseAssetId === null) {
|
|
186
|
+
throw 'Missing the required parameter "responseAssetId" when calling getResponsemanagementResponseasset';
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
return this.apiClient.callApi(
|
|
190
|
+
'/api/v2/responsemanagement/responseassets/{responseAssetId}',
|
|
191
|
+
'GET',
|
|
192
|
+
{ 'responseAssetId': responseAssetId },
|
|
193
|
+
{ },
|
|
194
|
+
{ },
|
|
195
|
+
{ },
|
|
196
|
+
null,
|
|
197
|
+
['PureCloud OAuth'],
|
|
198
|
+
['application/json'],
|
|
199
|
+
['application/json']
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Get response asset upload status
|
|
205
|
+
*
|
|
206
|
+
* @param {String} statusId Status Id
|
|
207
|
+
*/
|
|
208
|
+
getResponsemanagementResponseassetsStatusStatusId(statusId) {
|
|
209
|
+
// verify the required parameter 'statusId' is set
|
|
210
|
+
if (statusId === undefined || statusId === null) {
|
|
211
|
+
throw 'Missing the required parameter "statusId" when calling getResponsemanagementResponseassetsStatusStatusId';
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
return this.apiClient.callApi(
|
|
215
|
+
'/api/v2/responsemanagement/responseassets/status/{statusId}',
|
|
216
|
+
'GET',
|
|
217
|
+
{ 'statusId': statusId },
|
|
218
|
+
{ },
|
|
219
|
+
{ },
|
|
220
|
+
{ },
|
|
221
|
+
null,
|
|
222
|
+
['PureCloud OAuth'],
|
|
223
|
+
['application/json'],
|
|
224
|
+
['application/json']
|
|
225
|
+
);
|
|
226
|
+
}
|
|
227
|
+
|
|
153
228
|
/**
|
|
154
229
|
* Gets a list of existing responses.
|
|
155
230
|
*
|
|
@@ -206,6 +281,60 @@ class ResponseManagementApi {
|
|
|
206
281
|
);
|
|
207
282
|
}
|
|
208
283
|
|
|
284
|
+
/**
|
|
285
|
+
* Search response assets
|
|
286
|
+
*
|
|
287
|
+
* @param {Object} body request
|
|
288
|
+
* @param {Object} opts Optional parameters
|
|
289
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
290
|
+
*/
|
|
291
|
+
postResponsemanagementResponseassetsSearch(body, opts) {
|
|
292
|
+
opts = opts || {};
|
|
293
|
+
|
|
294
|
+
// verify the required parameter 'body' is set
|
|
295
|
+
if (body === undefined || body === null) {
|
|
296
|
+
throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsSearch';
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
return this.apiClient.callApi(
|
|
300
|
+
'/api/v2/responsemanagement/responseassets/search',
|
|
301
|
+
'POST',
|
|
302
|
+
{ },
|
|
303
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
304
|
+
{ },
|
|
305
|
+
{ },
|
|
306
|
+
body,
|
|
307
|
+
['PureCloud OAuth'],
|
|
308
|
+
['application/json'],
|
|
309
|
+
['application/json']
|
|
310
|
+
);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Creates pre-signed url for uploading response asset
|
|
315
|
+
*
|
|
316
|
+
* @param {Object} body request
|
|
317
|
+
*/
|
|
318
|
+
postResponsemanagementResponseassetsUploads(body) {
|
|
319
|
+
// verify the required parameter 'body' is set
|
|
320
|
+
if (body === undefined || body === null) {
|
|
321
|
+
throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsUploads';
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
return this.apiClient.callApi(
|
|
325
|
+
'/api/v2/responsemanagement/responseassets/uploads',
|
|
326
|
+
'POST',
|
|
327
|
+
{ },
|
|
328
|
+
{ },
|
|
329
|
+
{ },
|
|
330
|
+
{ },
|
|
331
|
+
body,
|
|
332
|
+
['PureCloud OAuth'],
|
|
333
|
+
['application/json'],
|
|
334
|
+
['application/json']
|
|
335
|
+
);
|
|
336
|
+
}
|
|
337
|
+
|
|
209
338
|
/**
|
|
210
339
|
* Create a response.
|
|
211
340
|
*
|
|
@@ -324,6 +453,36 @@ class ResponseManagementApi {
|
|
|
324
453
|
);
|
|
325
454
|
}
|
|
326
455
|
|
|
456
|
+
/**
|
|
457
|
+
* Update response asset
|
|
458
|
+
*
|
|
459
|
+
* @param {String} responseAssetId Asset Id
|
|
460
|
+
* @param {Object} body request
|
|
461
|
+
*/
|
|
462
|
+
putResponsemanagementResponseasset(responseAssetId, body) {
|
|
463
|
+
// verify the required parameter 'responseAssetId' is set
|
|
464
|
+
if (responseAssetId === undefined || responseAssetId === null) {
|
|
465
|
+
throw 'Missing the required parameter "responseAssetId" when calling putResponsemanagementResponseasset';
|
|
466
|
+
}
|
|
467
|
+
// verify the required parameter 'body' is set
|
|
468
|
+
if (body === undefined || body === null) {
|
|
469
|
+
throw 'Missing the required parameter "body" when calling putResponsemanagementResponseasset';
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
return this.apiClient.callApi(
|
|
473
|
+
'/api/v2/responsemanagement/responseassets/{responseAssetId}',
|
|
474
|
+
'PUT',
|
|
475
|
+
{ 'responseAssetId': responseAssetId },
|
|
476
|
+
{ },
|
|
477
|
+
{ },
|
|
478
|
+
{ },
|
|
479
|
+
body,
|
|
480
|
+
['PureCloud OAuth'],
|
|
481
|
+
['application/json'],
|
|
482
|
+
['application/json']
|
|
483
|
+
);
|
|
484
|
+
}
|
|
485
|
+
|
|
327
486
|
}
|
|
328
487
|
|
|
329
488
|
|
|
@@ -5,7 +5,7 @@ class ScriptsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Scripts service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 135.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -121,6 +121,7 @@ class ScriptsApi {
|
|
|
121
121
|
* @param {Object} opts.sortBy SortBy
|
|
122
122
|
* @param {Object} opts.sortOrder SortOrder
|
|
123
123
|
* @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
|
|
124
|
+
* @param {String} opts.divisionIds Filters scripts to requested divisionIds
|
|
124
125
|
*/
|
|
125
126
|
getScripts(opts) {
|
|
126
127
|
opts = opts || {};
|
|
@@ -130,7 +131,40 @@ class ScriptsApi {
|
|
|
130
131
|
'/api/v2/scripts',
|
|
131
132
|
'GET',
|
|
132
133
|
{ },
|
|
133
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'name': opts['name'],'feature': opts['feature'],'flowId': opts['flowId'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'scriptDataVersion': opts['scriptDataVersion'] },
|
|
134
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'name': opts['name'],'feature': opts['feature'],'flowId': opts['flowId'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'scriptDataVersion': opts['scriptDataVersion'],'divisionIds': opts['divisionIds'] },
|
|
135
|
+
{ },
|
|
136
|
+
{ },
|
|
137
|
+
null,
|
|
138
|
+
['PureCloud OAuth'],
|
|
139
|
+
['application/json'],
|
|
140
|
+
['application/json']
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Get the metadata for a list of scripts
|
|
146
|
+
*
|
|
147
|
+
* @param {Object} opts Optional parameters
|
|
148
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
149
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
150
|
+
* @param {String} opts.expand Expand
|
|
151
|
+
* @param {String} opts.name Name filter
|
|
152
|
+
* @param {String} opts.feature Feature filter
|
|
153
|
+
* @param {String} opts.flowId Secure flow id filter
|
|
154
|
+
* @param {Object} opts.sortBy SortBy
|
|
155
|
+
* @param {Object} opts.sortOrder SortOrder
|
|
156
|
+
* @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
|
|
157
|
+
* @param {String} opts.divisionIds Filters scripts to requested divisionIds
|
|
158
|
+
*/
|
|
159
|
+
getScriptsDivisionviews(opts) {
|
|
160
|
+
opts = opts || {};
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
return this.apiClient.callApi(
|
|
164
|
+
'/api/v2/scripts/divisionviews',
|
|
165
|
+
'GET',
|
|
166
|
+
{ },
|
|
167
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'name': opts['name'],'feature': opts['feature'],'flowId': opts['flowId'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'scriptDataVersion': opts['scriptDataVersion'],'divisionIds': opts['divisionIds'] },
|
|
134
168
|
{ },
|
|
135
169
|
{ },
|
|
136
170
|
null,
|
|
@@ -151,6 +185,7 @@ class ScriptsApi {
|
|
|
151
185
|
* @param {String} opts.feature Feature filter
|
|
152
186
|
* @param {String} opts.flowId Secure flow id filter
|
|
153
187
|
* @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
|
|
188
|
+
* @param {String} opts.divisionIds Filters scripts to requested divisionIds
|
|
154
189
|
*/
|
|
155
190
|
getScriptsPublished(opts) {
|
|
156
191
|
opts = opts || {};
|
|
@@ -160,7 +195,38 @@ class ScriptsApi {
|
|
|
160
195
|
'/api/v2/scripts/published',
|
|
161
196
|
'GET',
|
|
162
197
|
{ },
|
|
163
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'name': opts['name'],'feature': opts['feature'],'flowId': opts['flowId'],'scriptDataVersion': opts['scriptDataVersion'] },
|
|
198
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'name': opts['name'],'feature': opts['feature'],'flowId': opts['flowId'],'scriptDataVersion': opts['scriptDataVersion'],'divisionIds': opts['divisionIds'] },
|
|
199
|
+
{ },
|
|
200
|
+
{ },
|
|
201
|
+
null,
|
|
202
|
+
['PureCloud OAuth'],
|
|
203
|
+
['application/json'],
|
|
204
|
+
['application/json']
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Get the published scripts metadata.
|
|
210
|
+
*
|
|
211
|
+
* @param {Object} opts Optional parameters
|
|
212
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
213
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
214
|
+
* @param {String} opts.expand Expand
|
|
215
|
+
* @param {String} opts.name Name filter
|
|
216
|
+
* @param {String} opts.feature Feature filter
|
|
217
|
+
* @param {String} opts.flowId Secure flow id filter
|
|
218
|
+
* @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
|
|
219
|
+
* @param {String} opts.divisionIds Filters scripts to requested divisionIds
|
|
220
|
+
*/
|
|
221
|
+
getScriptsPublishedDivisionviews(opts) {
|
|
222
|
+
opts = opts || {};
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
return this.apiClient.callApi(
|
|
226
|
+
'/api/v2/scripts/published/divisionviews',
|
|
227
|
+
'GET',
|
|
228
|
+
{ },
|
|
229
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'name': opts['name'],'feature': opts['feature'],'flowId': opts['flowId'],'scriptDataVersion': opts['scriptDataVersion'],'divisionIds': opts['divisionIds'] },
|
|
164
230
|
{ },
|
|
165
231
|
{ },
|
|
166
232
|
null,
|
|
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 135.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1420,7 +1420,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1420
1420
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1421
1421
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1422
1422
|
* @param {String} opts.sortBy Sort by
|
|
1423
|
-
* @param {String} opts._number
|
|
1423
|
+
* @param {String} opts._number Deprecated, filtering by number not supported
|
|
1424
1424
|
*/
|
|
1425
1425
|
getTelephonyProvidersEdgesExtensionpools(opts) {
|
|
1426
1426
|
opts = opts || {};
|
|
@@ -5,7 +5,7 @@ class UploadsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Uploads service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 135.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -150,31 +150,6 @@ class UploadsApi {
|
|
|
150
150
|
);
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
/**
|
|
154
|
-
* Creates presigned url for uploading WFM historical data file. Requires data in json format.
|
|
155
|
-
*
|
|
156
|
-
* @param {Object} body query
|
|
157
|
-
*/
|
|
158
|
-
postUploadsWorkforcemanagementHistoricaldataJson(body) {
|
|
159
|
-
// verify the required parameter 'body' is set
|
|
160
|
-
if (body === undefined || body === null) {
|
|
161
|
-
throw 'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataJson';
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
return this.apiClient.callApi(
|
|
165
|
-
'/api/v2/uploads/workforcemanagement/historicaldata/json',
|
|
166
|
-
'POST',
|
|
167
|
-
{ },
|
|
168
|
-
{ },
|
|
169
|
-
{ },
|
|
170
|
-
{ },
|
|
171
|
-
body,
|
|
172
|
-
['PureCloud OAuth'],
|
|
173
|
-
['application/json'],
|
|
174
|
-
['application/json']
|
|
175
|
-
);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
153
|
}
|
|
179
154
|
|
|
180
155
|
|