purecloud-platform-client-v2 135.0.0 → 137.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 +32 -29
- package/dist/node/purecloud-platform-client-v2.js +9882 -9496
- package/dist/web-amd/purecloud-platform-client-v2.js +9882 -9496
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +9882 -9496
- package/dist/web-cjs/purecloud-platform-client-v2.js +9892 -9507
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +5771 -301
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +14 -5
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +56 -56
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +231 -231
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +573 -524
- package/src/purecloud-platform-client-v2/api/AuditApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/BillingApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/ChatApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +96 -96
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +192 -192
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +810 -810
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +337 -337
- package/src/purecloud-platform-client-v2/api/FaxApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +270 -270
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +88 -88
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +72 -72
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +171 -171
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +317 -315
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +146 -146
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +131 -131
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +151 -151
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +51 -51
- package/src/purecloud-platform-client-v2/api/LearningApi.js +107 -107
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +41 -41
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +43 -43
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +67 -67
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +50 -50
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +81 -81
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +162 -162
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +768 -568
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +64 -64
- package/src/purecloud-platform-client-v2/api/QualityApi.js +285 -285
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +404 -279
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +86 -86
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +541 -537
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +195 -195
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/SearchApi.js +96 -96
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +194 -194
- package/src/purecloud-platform-client-v2/api/StationsApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +657 -657
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +23 -23
- package/src/purecloud-platform-client-v2/api/TokensApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/UsageApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +31 -31
- package/src/purecloud-platform-client-v2/api/UsersApi.js +413 -413
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +140 -140
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +97 -97
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +26 -26
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +765 -765
- package/src/purecloud-platform-client-v2/index.js +145 -149
|
@@ -5,7 +5,7 @@ class RoutingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Routing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 137.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -34,13 +34,13 @@ class RoutingApi {
|
|
|
34
34
|
return this.apiClient.callApi(
|
|
35
35
|
'/api/v2/routing/assessments/{assessmentId}',
|
|
36
36
|
'DELETE',
|
|
37
|
-
{ 'assessmentId': assessmentId },
|
|
38
|
-
{ },
|
|
39
|
-
{ },
|
|
40
|
-
{ },
|
|
37
|
+
{ 'assessmentId': assessmentId },
|
|
38
|
+
{ },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
41
|
null,
|
|
42
42
|
['PureCloud OAuth'],
|
|
43
|
-
['application/json'],
|
|
43
|
+
['application/json'],
|
|
44
44
|
['application/json']
|
|
45
45
|
);
|
|
46
46
|
}
|
|
@@ -59,13 +59,13 @@ class RoutingApi {
|
|
|
59
59
|
return this.apiClient.callApi(
|
|
60
60
|
'/api/v2/routing/email/domains/{domainId}',
|
|
61
61
|
'DELETE',
|
|
62
|
-
{ 'domainId': domainId },
|
|
63
|
-
{ },
|
|
64
|
-
{ },
|
|
65
|
-
{ },
|
|
62
|
+
{ 'domainId': domainId },
|
|
63
|
+
{ },
|
|
64
|
+
{ },
|
|
65
|
+
{ },
|
|
66
66
|
null,
|
|
67
67
|
['PureCloud OAuth'],
|
|
68
|
-
['application/json'],
|
|
68
|
+
['application/json'],
|
|
69
69
|
['application/json']
|
|
70
70
|
);
|
|
71
71
|
}
|
|
@@ -89,13 +89,13 @@ class RoutingApi {
|
|
|
89
89
|
return this.apiClient.callApi(
|
|
90
90
|
'/api/v2/routing/email/domains/{domainName}/routes/{routeId}',
|
|
91
91
|
'DELETE',
|
|
92
|
-
{ 'domainName': domainName,'routeId': routeId },
|
|
93
|
-
{ },
|
|
94
|
-
{ },
|
|
95
|
-
{ },
|
|
92
|
+
{ 'domainName': domainName,'routeId': routeId },
|
|
93
|
+
{ },
|
|
94
|
+
{ },
|
|
95
|
+
{ },
|
|
96
96
|
null,
|
|
97
97
|
['PureCloud OAuth'],
|
|
98
|
-
['application/json'],
|
|
98
|
+
['application/json'],
|
|
99
99
|
['application/json']
|
|
100
100
|
);
|
|
101
101
|
}
|
|
@@ -114,13 +114,13 @@ class RoutingApi {
|
|
|
114
114
|
return this.apiClient.callApi(
|
|
115
115
|
'/api/v2/routing/predictors/{predictorId}',
|
|
116
116
|
'DELETE',
|
|
117
|
-
{ 'predictorId': predictorId },
|
|
118
|
-
{ },
|
|
119
|
-
{ },
|
|
120
|
-
{ },
|
|
117
|
+
{ 'predictorId': predictorId },
|
|
118
|
+
{ },
|
|
119
|
+
{ },
|
|
120
|
+
{ },
|
|
121
121
|
null,
|
|
122
122
|
['PureCloud OAuth'],
|
|
123
|
-
['application/json'],
|
|
123
|
+
['application/json'],
|
|
124
124
|
['application/json']
|
|
125
125
|
);
|
|
126
126
|
}
|
|
@@ -143,13 +143,13 @@ class RoutingApi {
|
|
|
143
143
|
return this.apiClient.callApi(
|
|
144
144
|
'/api/v2/routing/queues/{queueId}',
|
|
145
145
|
'DELETE',
|
|
146
|
-
{ 'queueId': queueId },
|
|
147
|
-
{ 'forceDelete': opts['forceDelete'] },
|
|
148
|
-
{ },
|
|
149
|
-
{ },
|
|
146
|
+
{ 'queueId': queueId },
|
|
147
|
+
{ 'forceDelete': opts['forceDelete'] },
|
|
148
|
+
{ },
|
|
149
|
+
{ },
|
|
150
150
|
null,
|
|
151
151
|
['PureCloud OAuth'],
|
|
152
|
-
['application/json'],
|
|
152
|
+
['application/json'],
|
|
153
153
|
['application/json']
|
|
154
154
|
);
|
|
155
155
|
}
|
|
@@ -173,13 +173,13 @@ class RoutingApi {
|
|
|
173
173
|
return this.apiClient.callApi(
|
|
174
174
|
'/api/v2/routing/queues/{queueId}/members/{memberId}',
|
|
175
175
|
'DELETE',
|
|
176
|
-
{ 'queueId': queueId,'memberId': memberId },
|
|
177
|
-
{ },
|
|
178
|
-
{ },
|
|
179
|
-
{ },
|
|
176
|
+
{ 'queueId': queueId,'memberId': memberId },
|
|
177
|
+
{ },
|
|
178
|
+
{ },
|
|
179
|
+
{ },
|
|
180
180
|
null,
|
|
181
181
|
['PureCloud OAuth'],
|
|
182
|
-
['application/json'],
|
|
182
|
+
['application/json'],
|
|
183
183
|
['application/json']
|
|
184
184
|
);
|
|
185
185
|
}
|
|
@@ -203,13 +203,13 @@ class RoutingApi {
|
|
|
203
203
|
return this.apiClient.callApi(
|
|
204
204
|
'/api/v2/routing/queues/{queueId}/users/{memberId}',
|
|
205
205
|
'DELETE',
|
|
206
|
-
{ 'queueId': queueId,'memberId': memberId },
|
|
207
|
-
{ },
|
|
208
|
-
{ },
|
|
209
|
-
{ },
|
|
206
|
+
{ 'queueId': queueId,'memberId': memberId },
|
|
207
|
+
{ },
|
|
208
|
+
{ },
|
|
209
|
+
{ },
|
|
210
210
|
null,
|
|
211
211
|
['PureCloud OAuth'],
|
|
212
|
-
['application/json'],
|
|
212
|
+
['application/json'],
|
|
213
213
|
['application/json']
|
|
214
214
|
);
|
|
215
215
|
}
|
|
@@ -233,19 +233,19 @@ class RoutingApi {
|
|
|
233
233
|
return this.apiClient.callApi(
|
|
234
234
|
'/api/v2/routing/queues/{queueId}/wrapupcodes/{codeId}',
|
|
235
235
|
'DELETE',
|
|
236
|
-
{ 'queueId': queueId,'codeId': codeId },
|
|
237
|
-
{ },
|
|
238
|
-
{ },
|
|
239
|
-
{ },
|
|
236
|
+
{ 'queueId': queueId,'codeId': codeId },
|
|
237
|
+
{ },
|
|
238
|
+
{ },
|
|
239
|
+
{ },
|
|
240
240
|
null,
|
|
241
241
|
['PureCloud OAuth'],
|
|
242
|
-
['application/json'],
|
|
242
|
+
['application/json'],
|
|
243
243
|
['application/json']
|
|
244
244
|
);
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
|
-
* Delete an organization
|
|
248
|
+
* Delete an organization's routing settings
|
|
249
249
|
*
|
|
250
250
|
*/
|
|
251
251
|
deleteRoutingSettings() {
|
|
@@ -253,13 +253,13 @@ class RoutingApi {
|
|
|
253
253
|
return this.apiClient.callApi(
|
|
254
254
|
'/api/v2/routing/settings',
|
|
255
255
|
'DELETE',
|
|
256
|
-
{ },
|
|
257
|
-
{ },
|
|
258
|
-
{ },
|
|
259
|
-
{ },
|
|
256
|
+
{ },
|
|
257
|
+
{ },
|
|
258
|
+
{ },
|
|
259
|
+
{ },
|
|
260
260
|
null,
|
|
261
261
|
['PureCloud OAuth'],
|
|
262
|
-
['application/json'],
|
|
262
|
+
['application/json'],
|
|
263
263
|
['application/json']
|
|
264
264
|
);
|
|
265
265
|
}
|
|
@@ -278,13 +278,13 @@ class RoutingApi {
|
|
|
278
278
|
return this.apiClient.callApi(
|
|
279
279
|
'/api/v2/routing/skills/{skillId}',
|
|
280
280
|
'DELETE',
|
|
281
|
-
{ 'skillId': skillId },
|
|
282
|
-
{ },
|
|
283
|
-
{ },
|
|
284
|
-
{ },
|
|
281
|
+
{ 'skillId': skillId },
|
|
282
|
+
{ },
|
|
283
|
+
{ },
|
|
284
|
+
{ },
|
|
285
285
|
null,
|
|
286
286
|
['PureCloud OAuth'],
|
|
287
|
-
['application/json'],
|
|
287
|
+
['application/json'],
|
|
288
288
|
['application/json']
|
|
289
289
|
);
|
|
290
290
|
}
|
|
@@ -303,13 +303,13 @@ class RoutingApi {
|
|
|
303
303
|
return this.apiClient.callApi(
|
|
304
304
|
'/api/v2/routing/sms/addresses/{addressId}',
|
|
305
305
|
'DELETE',
|
|
306
|
-
{ 'addressId': addressId },
|
|
307
|
-
{ },
|
|
308
|
-
{ },
|
|
309
|
-
{ },
|
|
306
|
+
{ 'addressId': addressId },
|
|
307
|
+
{ },
|
|
308
|
+
{ },
|
|
309
|
+
{ },
|
|
310
310
|
null,
|
|
311
311
|
['PureCloud OAuth'],
|
|
312
|
-
['application/json'],
|
|
312
|
+
['application/json'],
|
|
313
313
|
['application/json']
|
|
314
314
|
);
|
|
315
315
|
}
|
|
@@ -332,19 +332,19 @@ class RoutingApi {
|
|
|
332
332
|
return this.apiClient.callApi(
|
|
333
333
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
334
334
|
'DELETE',
|
|
335
|
-
{ 'addressId': addressId },
|
|
336
|
-
{ 'async': opts['async'] },
|
|
337
|
-
{ },
|
|
338
|
-
{ },
|
|
335
|
+
{ 'addressId': addressId },
|
|
336
|
+
{ 'async': opts['async'] },
|
|
337
|
+
{ },
|
|
338
|
+
{ },
|
|
339
339
|
null,
|
|
340
340
|
['PureCloud OAuth'],
|
|
341
|
-
['application/json'],
|
|
341
|
+
['application/json'],
|
|
342
342
|
['application/json']
|
|
343
343
|
);
|
|
344
344
|
}
|
|
345
345
|
|
|
346
346
|
/**
|
|
347
|
-
* Delete the user
|
|
347
|
+
* Delete the user's max utilization settings and revert to the organization-wide default.
|
|
348
348
|
*
|
|
349
349
|
* @param {String} userId User ID
|
|
350
350
|
*/
|
|
@@ -357,13 +357,13 @@ class RoutingApi {
|
|
|
357
357
|
return this.apiClient.callApi(
|
|
358
358
|
'/api/v2/routing/users/{userId}/utilization',
|
|
359
359
|
'DELETE',
|
|
360
|
-
{ 'userId': userId },
|
|
361
|
-
{ },
|
|
362
|
-
{ },
|
|
363
|
-
{ },
|
|
360
|
+
{ 'userId': userId },
|
|
361
|
+
{ },
|
|
362
|
+
{ },
|
|
363
|
+
{ },
|
|
364
364
|
null,
|
|
365
365
|
['PureCloud OAuth'],
|
|
366
|
-
['application/json'],
|
|
366
|
+
['application/json'],
|
|
367
367
|
['application/json']
|
|
368
368
|
);
|
|
369
369
|
}
|
|
@@ -377,13 +377,13 @@ class RoutingApi {
|
|
|
377
377
|
return this.apiClient.callApi(
|
|
378
378
|
'/api/v2/routing/utilization',
|
|
379
379
|
'DELETE',
|
|
380
|
-
{ },
|
|
381
|
-
{ },
|
|
382
|
-
{ },
|
|
383
|
-
{ },
|
|
380
|
+
{ },
|
|
381
|
+
{ },
|
|
382
|
+
{ },
|
|
383
|
+
{ },
|
|
384
384
|
null,
|
|
385
385
|
['PureCloud OAuth'],
|
|
386
|
-
['application/json'],
|
|
386
|
+
['application/json'],
|
|
387
387
|
['application/json']
|
|
388
388
|
);
|
|
389
389
|
}
|
|
@@ -402,13 +402,13 @@ class RoutingApi {
|
|
|
402
402
|
return this.apiClient.callApi(
|
|
403
403
|
'/api/v2/routing/wrapupcodes/{codeId}',
|
|
404
404
|
'DELETE',
|
|
405
|
-
{ 'codeId': codeId },
|
|
406
|
-
{ },
|
|
407
|
-
{ },
|
|
408
|
-
{ },
|
|
405
|
+
{ 'codeId': codeId },
|
|
406
|
+
{ },
|
|
407
|
+
{ },
|
|
408
|
+
{ },
|
|
409
409
|
null,
|
|
410
410
|
['PureCloud OAuth'],
|
|
411
|
-
['application/json'],
|
|
411
|
+
['application/json'],
|
|
412
412
|
['application/json']
|
|
413
413
|
);
|
|
414
414
|
}
|
|
@@ -432,13 +432,13 @@ class RoutingApi {
|
|
|
432
432
|
return this.apiClient.callApi(
|
|
433
433
|
'/api/v2/users/{userId}/routinglanguages/{languageId}',
|
|
434
434
|
'DELETE',
|
|
435
|
-
{ 'userId': userId,'languageId': languageId },
|
|
436
|
-
{ },
|
|
437
|
-
{ },
|
|
438
|
-
{ },
|
|
435
|
+
{ 'userId': userId,'languageId': languageId },
|
|
436
|
+
{ },
|
|
437
|
+
{ },
|
|
438
|
+
{ },
|
|
439
439
|
null,
|
|
440
440
|
['PureCloud OAuth'],
|
|
441
|
-
['application/json'],
|
|
441
|
+
['application/json'],
|
|
442
442
|
['application/json']
|
|
443
443
|
);
|
|
444
444
|
}
|
|
@@ -462,13 +462,13 @@ class RoutingApi {
|
|
|
462
462
|
return this.apiClient.callApi(
|
|
463
463
|
'/api/v2/users/{userId}/routingskills/{skillId}',
|
|
464
464
|
'DELETE',
|
|
465
|
-
{ 'userId': userId,'skillId': skillId },
|
|
466
|
-
{ },
|
|
467
|
-
{ },
|
|
468
|
-
{ },
|
|
465
|
+
{ 'userId': userId,'skillId': skillId },
|
|
466
|
+
{ },
|
|
467
|
+
{ },
|
|
468
|
+
{ },
|
|
469
469
|
null,
|
|
470
470
|
['PureCloud OAuth'],
|
|
471
|
-
['application/json'],
|
|
471
|
+
['application/json'],
|
|
472
472
|
['application/json']
|
|
473
473
|
);
|
|
474
474
|
}
|
|
@@ -487,13 +487,13 @@ class RoutingApi {
|
|
|
487
487
|
return this.apiClient.callApi(
|
|
488
488
|
'/api/v2/routing/assessments/{assessmentId}',
|
|
489
489
|
'GET',
|
|
490
|
-
{ 'assessmentId': assessmentId },
|
|
491
|
-
{ },
|
|
492
|
-
{ },
|
|
493
|
-
{ },
|
|
490
|
+
{ 'assessmentId': assessmentId },
|
|
491
|
+
{ },
|
|
492
|
+
{ },
|
|
493
|
+
{ },
|
|
494
494
|
null,
|
|
495
495
|
['PureCloud OAuth'],
|
|
496
|
-
['application/json'],
|
|
496
|
+
['application/json'],
|
|
497
497
|
['application/json']
|
|
498
498
|
);
|
|
499
499
|
}
|
|
@@ -515,13 +515,13 @@ class RoutingApi {
|
|
|
515
515
|
return this.apiClient.callApi(
|
|
516
516
|
'/api/v2/routing/assessments',
|
|
517
517
|
'GET',
|
|
518
|
-
{ },
|
|
519
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'queueId': this.apiClient.buildCollectionParam(opts['queueId'], 'multi') },
|
|
520
|
-
{ },
|
|
521
|
-
{ },
|
|
518
|
+
{ },
|
|
519
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'queueId': this.apiClient.buildCollectionParam(opts['queueId'], 'multi') },
|
|
520
|
+
{ },
|
|
521
|
+
{ },
|
|
522
522
|
null,
|
|
523
523
|
['PureCloud OAuth'],
|
|
524
|
-
['application/json'],
|
|
524
|
+
['application/json'],
|
|
525
525
|
['application/json']
|
|
526
526
|
);
|
|
527
527
|
}
|
|
@@ -540,13 +540,13 @@ class RoutingApi {
|
|
|
540
540
|
return this.apiClient.callApi(
|
|
541
541
|
'/api/v2/routing/assessments/jobs/{jobId}',
|
|
542
542
|
'GET',
|
|
543
|
-
{ 'jobId': jobId },
|
|
544
|
-
{ },
|
|
545
|
-
{ },
|
|
546
|
-
{ },
|
|
543
|
+
{ 'jobId': jobId },
|
|
544
|
+
{ },
|
|
545
|
+
{ },
|
|
546
|
+
{ },
|
|
547
547
|
null,
|
|
548
548
|
['PureCloud OAuth'],
|
|
549
|
-
['application/json'],
|
|
549
|
+
['application/json'],
|
|
550
550
|
['application/json']
|
|
551
551
|
);
|
|
552
552
|
}
|
|
@@ -564,13 +564,13 @@ class RoutingApi {
|
|
|
564
564
|
return this.apiClient.callApi(
|
|
565
565
|
'/api/v2/routing/assessments/jobs',
|
|
566
566
|
'GET',
|
|
567
|
-
{ },
|
|
568
|
-
{ 'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
569
|
-
{ },
|
|
570
|
-
{ },
|
|
567
|
+
{ },
|
|
568
|
+
{ 'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
569
|
+
{ },
|
|
570
|
+
{ },
|
|
571
571
|
null,
|
|
572
572
|
['PureCloud OAuth'],
|
|
573
|
-
['application/json'],
|
|
573
|
+
['application/json'],
|
|
574
574
|
['application/json']
|
|
575
575
|
);
|
|
576
576
|
}
|
|
@@ -589,13 +589,13 @@ class RoutingApi {
|
|
|
589
589
|
return this.apiClient.callApi(
|
|
590
590
|
'/api/v2/routing/email/domains/{domainId}',
|
|
591
591
|
'GET',
|
|
592
|
-
{ 'domainId': domainId },
|
|
593
|
-
{ },
|
|
594
|
-
{ },
|
|
595
|
-
{ },
|
|
592
|
+
{ 'domainId': domainId },
|
|
593
|
+
{ },
|
|
594
|
+
{ },
|
|
595
|
+
{ },
|
|
596
596
|
null,
|
|
597
597
|
['PureCloud OAuth'],
|
|
598
|
-
['application/json'],
|
|
598
|
+
['application/json'],
|
|
599
599
|
['application/json']
|
|
600
600
|
);
|
|
601
601
|
}
|
|
@@ -619,13 +619,13 @@ class RoutingApi {
|
|
|
619
619
|
return this.apiClient.callApi(
|
|
620
620
|
'/api/v2/routing/email/domains/{domainName}/routes/{routeId}',
|
|
621
621
|
'GET',
|
|
622
|
-
{ 'domainName': domainName,'routeId': routeId },
|
|
623
|
-
{ },
|
|
624
|
-
{ },
|
|
625
|
-
{ },
|
|
622
|
+
{ 'domainName': domainName,'routeId': routeId },
|
|
623
|
+
{ },
|
|
624
|
+
{ },
|
|
625
|
+
{ },
|
|
626
626
|
null,
|
|
627
627
|
['PureCloud OAuth'],
|
|
628
|
-
['application/json'],
|
|
628
|
+
['application/json'],
|
|
629
629
|
['application/json']
|
|
630
630
|
);
|
|
631
631
|
}
|
|
@@ -637,7 +637,7 @@ class RoutingApi {
|
|
|
637
637
|
* @param {Object} opts Optional parameters
|
|
638
638
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
639
639
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
640
|
-
* @param {String} opts.pattern Filter routes by the route
|
|
640
|
+
* @param {String} opts.pattern Filter routes by the route's pattern property
|
|
641
641
|
*/
|
|
642
642
|
getRoutingEmailDomainRoutes(domainName, opts) {
|
|
643
643
|
opts = opts || {};
|
|
@@ -650,13 +650,13 @@ class RoutingApi {
|
|
|
650
650
|
return this.apiClient.callApi(
|
|
651
651
|
'/api/v2/routing/email/domains/{domainName}/routes',
|
|
652
652
|
'GET',
|
|
653
|
-
{ 'domainName': domainName },
|
|
654
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'pattern': opts['pattern'] },
|
|
655
|
-
{ },
|
|
656
|
-
{ },
|
|
653
|
+
{ 'domainName': domainName },
|
|
654
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'pattern': opts['pattern'] },
|
|
655
|
+
{ },
|
|
656
|
+
{ },
|
|
657
657
|
null,
|
|
658
658
|
['PureCloud OAuth'],
|
|
659
|
-
['application/json'],
|
|
659
|
+
['application/json'],
|
|
660
660
|
['application/json']
|
|
661
661
|
);
|
|
662
662
|
}
|
|
@@ -664,19 +664,23 @@ class RoutingApi {
|
|
|
664
664
|
/**
|
|
665
665
|
* Get domains
|
|
666
666
|
*
|
|
667
|
+
* @param {Object} opts Optional parameters
|
|
668
|
+
* @param {Boolean} opts.excludeStatus Exclude MX record data (default to false)
|
|
667
669
|
*/
|
|
668
|
-
getRoutingEmailDomains() {
|
|
670
|
+
getRoutingEmailDomains(opts) {
|
|
671
|
+
opts = opts || {};
|
|
672
|
+
|
|
669
673
|
|
|
670
674
|
return this.apiClient.callApi(
|
|
671
675
|
'/api/v2/routing/email/domains',
|
|
672
676
|
'GET',
|
|
673
|
-
{ },
|
|
674
|
-
{
|
|
675
|
-
{ },
|
|
676
|
-
{ },
|
|
677
|
+
{ },
|
|
678
|
+
{ 'excludeStatus': opts['excludeStatus'] },
|
|
679
|
+
{ },
|
|
680
|
+
{ },
|
|
677
681
|
null,
|
|
678
682
|
['PureCloud OAuth'],
|
|
679
|
-
['application/json'],
|
|
683
|
+
['application/json'],
|
|
680
684
|
['application/json']
|
|
681
685
|
);
|
|
682
686
|
}
|
|
@@ -690,13 +694,13 @@ class RoutingApi {
|
|
|
690
694
|
return this.apiClient.callApi(
|
|
691
695
|
'/api/v2/routing/email/setup',
|
|
692
696
|
'GET',
|
|
693
|
-
{ },
|
|
694
|
-
{ },
|
|
695
|
-
{ },
|
|
696
|
-
{ },
|
|
697
|
+
{ },
|
|
698
|
+
{ },
|
|
699
|
+
{ },
|
|
700
|
+
{ },
|
|
697
701
|
null,
|
|
698
702
|
['PureCloud OAuth'],
|
|
699
|
-
['application/json'],
|
|
703
|
+
['application/json'],
|
|
700
704
|
['application/json']
|
|
701
705
|
);
|
|
702
706
|
}
|
|
@@ -718,13 +722,13 @@ class RoutingApi {
|
|
|
718
722
|
return this.apiClient.callApi(
|
|
719
723
|
'/api/v2/routing/languages',
|
|
720
724
|
'GET',
|
|
721
|
-
{ },
|
|
722
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
723
|
-
{ },
|
|
724
|
-
{ },
|
|
725
|
+
{ },
|
|
726
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
727
|
+
{ },
|
|
728
|
+
{ },
|
|
725
729
|
null,
|
|
726
730
|
['PureCloud OAuth'],
|
|
727
|
-
['application/json'],
|
|
731
|
+
['application/json'],
|
|
728
732
|
['application/json']
|
|
729
733
|
);
|
|
730
734
|
}
|
|
@@ -743,13 +747,13 @@ class RoutingApi {
|
|
|
743
747
|
return this.apiClient.callApi(
|
|
744
748
|
'/api/v2/routing/message/recipients/{recipientId}',
|
|
745
749
|
'GET',
|
|
746
|
-
{ 'recipientId': recipientId },
|
|
747
|
-
{ },
|
|
748
|
-
{ },
|
|
749
|
-
{ },
|
|
750
|
+
{ 'recipientId': recipientId },
|
|
751
|
+
{ },
|
|
752
|
+
{ },
|
|
753
|
+
{ },
|
|
750
754
|
null,
|
|
751
755
|
['PureCloud OAuth'],
|
|
752
|
-
['application/json'],
|
|
756
|
+
['application/json'],
|
|
753
757
|
['application/json']
|
|
754
758
|
);
|
|
755
759
|
}
|
|
@@ -769,13 +773,13 @@ class RoutingApi {
|
|
|
769
773
|
return this.apiClient.callApi(
|
|
770
774
|
'/api/v2/routing/message/recipients',
|
|
771
775
|
'GET',
|
|
772
|
-
{ },
|
|
773
|
-
{ 'messengerType': opts['messengerType'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
774
|
-
{ },
|
|
775
|
-
{ },
|
|
776
|
+
{ },
|
|
777
|
+
{ 'messengerType': opts['messengerType'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
778
|
+
{ },
|
|
779
|
+
{ },
|
|
776
780
|
null,
|
|
777
781
|
['PureCloud OAuth'],
|
|
778
|
-
['application/json'],
|
|
782
|
+
['application/json'],
|
|
779
783
|
['application/json']
|
|
780
784
|
);
|
|
781
785
|
}
|
|
@@ -794,13 +798,13 @@ class RoutingApi {
|
|
|
794
798
|
return this.apiClient.callApi(
|
|
795
799
|
'/api/v2/routing/predictors/{predictorId}',
|
|
796
800
|
'GET',
|
|
797
|
-
{ 'predictorId': predictorId },
|
|
798
|
-
{ },
|
|
799
|
-
{ },
|
|
800
|
-
{ },
|
|
801
|
+
{ 'predictorId': predictorId },
|
|
802
|
+
{ },
|
|
803
|
+
{ },
|
|
804
|
+
{ },
|
|
801
805
|
null,
|
|
802
806
|
['PureCloud OAuth'],
|
|
803
|
-
['application/json'],
|
|
807
|
+
['application/json'],
|
|
804
808
|
['application/json']
|
|
805
809
|
);
|
|
806
810
|
}
|
|
@@ -822,13 +826,13 @@ class RoutingApi {
|
|
|
822
826
|
return this.apiClient.callApi(
|
|
823
827
|
'/api/v2/routing/predictors',
|
|
824
828
|
'GET',
|
|
825
|
-
{ },
|
|
826
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'queueId': this.apiClient.buildCollectionParam(opts['queueId'], 'multi') },
|
|
827
|
-
{ },
|
|
828
|
-
{ },
|
|
829
|
+
{ },
|
|
830
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'queueId': this.apiClient.buildCollectionParam(opts['queueId'], 'multi') },
|
|
831
|
+
{ },
|
|
832
|
+
{ },
|
|
829
833
|
null,
|
|
830
834
|
['PureCloud OAuth'],
|
|
831
|
-
['application/json'],
|
|
835
|
+
['application/json'],
|
|
832
836
|
['application/json']
|
|
833
837
|
);
|
|
834
838
|
}
|
|
@@ -842,13 +846,13 @@ class RoutingApi {
|
|
|
842
846
|
return this.apiClient.callApi(
|
|
843
847
|
'/api/v2/routing/predictors/keyperformanceindicators',
|
|
844
848
|
'GET',
|
|
845
|
-
{ },
|
|
846
|
-
{ },
|
|
847
|
-
{ },
|
|
848
|
-
{ },
|
|
849
|
+
{ },
|
|
850
|
+
{ },
|
|
851
|
+
{ },
|
|
852
|
+
{ },
|
|
849
853
|
null,
|
|
850
854
|
['PureCloud OAuth'],
|
|
851
|
-
['application/json'],
|
|
855
|
+
['application/json'],
|
|
852
856
|
['application/json']
|
|
853
857
|
);
|
|
854
858
|
}
|
|
@@ -867,13 +871,13 @@ class RoutingApi {
|
|
|
867
871
|
return this.apiClient.callApi(
|
|
868
872
|
'/api/v2/routing/queues/{queueId}',
|
|
869
873
|
'GET',
|
|
870
|
-
{ 'queueId': queueId },
|
|
871
|
-
{ },
|
|
872
|
-
{ },
|
|
873
|
-
{ },
|
|
874
|
+
{ 'queueId': queueId },
|
|
875
|
+
{ },
|
|
876
|
+
{ },
|
|
877
|
+
{ },
|
|
874
878
|
null,
|
|
875
879
|
['PureCloud OAuth'],
|
|
876
|
-
['application/json'],
|
|
880
|
+
['application/json'],
|
|
877
881
|
['application/json']
|
|
878
882
|
);
|
|
879
883
|
}
|
|
@@ -897,13 +901,13 @@ class RoutingApi {
|
|
|
897
901
|
return this.apiClient.callApi(
|
|
898
902
|
'/api/v2/routing/queues/{queueId}/comparisonperiods/{comparisonPeriodId}',
|
|
899
903
|
'GET',
|
|
900
|
-
{ 'queueId': queueId,'comparisonPeriodId': comparisonPeriodId },
|
|
901
|
-
{ },
|
|
902
|
-
{ },
|
|
903
|
-
{ },
|
|
904
|
+
{ 'queueId': queueId,'comparisonPeriodId': comparisonPeriodId },
|
|
905
|
+
{ },
|
|
906
|
+
{ },
|
|
907
|
+
{ },
|
|
904
908
|
null,
|
|
905
909
|
['PureCloud OAuth'],
|
|
906
|
-
['application/json'],
|
|
910
|
+
['application/json'],
|
|
907
911
|
['application/json']
|
|
908
912
|
);
|
|
909
913
|
}
|
|
@@ -922,13 +926,13 @@ class RoutingApi {
|
|
|
922
926
|
return this.apiClient.callApi(
|
|
923
927
|
'/api/v2/routing/queues/{queueId}/comparisonperiods',
|
|
924
928
|
'GET',
|
|
925
|
-
{ 'queueId': queueId },
|
|
926
|
-
{ },
|
|
927
|
-
{ },
|
|
928
|
-
{ },
|
|
929
|
+
{ 'queueId': queueId },
|
|
930
|
+
{ },
|
|
931
|
+
{ },
|
|
932
|
+
{ },
|
|
929
933
|
null,
|
|
930
934
|
['PureCloud OAuth'],
|
|
931
|
-
['application/json'],
|
|
935
|
+
['application/json'],
|
|
932
936
|
['application/json']
|
|
933
937
|
);
|
|
934
938
|
}
|
|
@@ -951,13 +955,13 @@ class RoutingApi {
|
|
|
951
955
|
return this.apiClient.callApi(
|
|
952
956
|
'/api/v2/routing/queues/{queueId}/estimatedwaittime',
|
|
953
957
|
'GET',
|
|
954
|
-
{ 'queueId': queueId },
|
|
955
|
-
{ 'conversationId': opts['conversationId'] },
|
|
956
|
-
{ },
|
|
957
|
-
{ },
|
|
958
|
+
{ 'queueId': queueId },
|
|
959
|
+
{ 'conversationId': opts['conversationId'] },
|
|
960
|
+
{ },
|
|
961
|
+
{ },
|
|
958
962
|
null,
|
|
959
963
|
['PureCloud OAuth'],
|
|
960
|
-
['application/json'],
|
|
964
|
+
['application/json'],
|
|
961
965
|
['application/json']
|
|
962
966
|
);
|
|
963
967
|
}
|
|
@@ -981,13 +985,13 @@ class RoutingApi {
|
|
|
981
985
|
return this.apiClient.callApi(
|
|
982
986
|
'/api/v2/routing/queues/{queueId}/mediatypes/{mediaType}/estimatedwaittime',
|
|
983
987
|
'GET',
|
|
984
|
-
{ 'queueId': queueId,'mediaType': mediaType },
|
|
985
|
-
{ },
|
|
986
|
-
{ },
|
|
987
|
-
{ },
|
|
988
|
+
{ 'queueId': queueId,'mediaType': mediaType },
|
|
989
|
+
{ },
|
|
990
|
+
{ },
|
|
991
|
+
{ },
|
|
988
992
|
null,
|
|
989
993
|
['PureCloud OAuth'],
|
|
990
|
-
['application/json'],
|
|
994
|
+
['application/json'],
|
|
991
995
|
['application/json']
|
|
992
996
|
);
|
|
993
997
|
}
|
|
@@ -1008,7 +1012,7 @@ class RoutingApi {
|
|
|
1008
1012
|
* @param {Array.<String>} opts.routingStatus Filter by routing status
|
|
1009
1013
|
* @param {Array.<String>} opts.presence Filter by presence
|
|
1010
1014
|
* @param {Object} opts.memberBy Filter by member type
|
|
1011
|
-
* @param {
|
|
1015
|
+
* @param {Object} opts.joined Filter by joined status
|
|
1012
1016
|
*/
|
|
1013
1017
|
getRoutingQueueMembers(queueId, opts) {
|
|
1014
1018
|
opts = opts || {};
|
|
@@ -1021,13 +1025,13 @@ class RoutingApi {
|
|
|
1021
1025
|
return this.apiClient.callApi(
|
|
1022
1026
|
'/api/v2/routing/queues/{queueId}/members',
|
|
1023
1027
|
'GET',
|
|
1024
|
-
{ 'queueId': queueId },
|
|
1025
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'name': opts['name'],'profileSkills': this.apiClient.buildCollectionParam(opts['profileSkills'], 'multi'),'skills': this.apiClient.buildCollectionParam(opts['skills'], 'multi'),'languages': this.apiClient.buildCollectionParam(opts['languages'], 'multi'),'routingStatus': this.apiClient.buildCollectionParam(opts['routingStatus'], 'multi'),'presence': this.apiClient.buildCollectionParam(opts['presence'], 'multi'),'memberBy': opts['memberBy'],'joined': opts['joined'] },
|
|
1026
|
-
{ },
|
|
1027
|
-
{ },
|
|
1028
|
+
{ 'queueId': queueId },
|
|
1029
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'name': opts['name'],'profileSkills': this.apiClient.buildCollectionParam(opts['profileSkills'], 'multi'),'skills': this.apiClient.buildCollectionParam(opts['skills'], 'multi'),'languages': this.apiClient.buildCollectionParam(opts['languages'], 'multi'),'routingStatus': this.apiClient.buildCollectionParam(opts['routingStatus'], 'multi'),'presence': this.apiClient.buildCollectionParam(opts['presence'], 'multi'),'memberBy': opts['memberBy'],'joined': opts['joined'] },
|
|
1030
|
+
{ },
|
|
1031
|
+
{ },
|
|
1028
1032
|
null,
|
|
1029
1033
|
['PureCloud OAuth'],
|
|
1030
|
-
['application/json'],
|
|
1034
|
+
['application/json'],
|
|
1031
1035
|
['application/json']
|
|
1032
1036
|
);
|
|
1033
1037
|
}
|
|
@@ -1060,13 +1064,13 @@ class RoutingApi {
|
|
|
1060
1064
|
return this.apiClient.callApi(
|
|
1061
1065
|
'/api/v2/routing/queues/{queueId}/users',
|
|
1062
1066
|
'GET',
|
|
1063
|
-
{ 'queueId': queueId },
|
|
1064
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'joined': opts['joined'],'name': opts['name'],'profileSkills': this.apiClient.buildCollectionParam(opts['profileSkills'], 'multi'),'skills': this.apiClient.buildCollectionParam(opts['skills'], 'multi'),'languages': this.apiClient.buildCollectionParam(opts['languages'], 'multi'),'routingStatus': this.apiClient.buildCollectionParam(opts['routingStatus'], 'multi'),'presence': this.apiClient.buildCollectionParam(opts['presence'], 'multi') },
|
|
1065
|
-
{ },
|
|
1066
|
-
{ },
|
|
1067
|
+
{ 'queueId': queueId },
|
|
1068
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'joined': opts['joined'],'name': opts['name'],'profileSkills': this.apiClient.buildCollectionParam(opts['profileSkills'], 'multi'),'skills': this.apiClient.buildCollectionParam(opts['skills'], 'multi'),'languages': this.apiClient.buildCollectionParam(opts['languages'], 'multi'),'routingStatus': this.apiClient.buildCollectionParam(opts['routingStatus'], 'multi'),'presence': this.apiClient.buildCollectionParam(opts['presence'], 'multi') },
|
|
1069
|
+
{ },
|
|
1070
|
+
{ },
|
|
1067
1071
|
null,
|
|
1068
1072
|
['PureCloud OAuth'],
|
|
1069
|
-
['application/json'],
|
|
1073
|
+
['application/json'],
|
|
1070
1074
|
['application/json']
|
|
1071
1075
|
);
|
|
1072
1076
|
}
|
|
@@ -1090,13 +1094,13 @@ class RoutingApi {
|
|
|
1090
1094
|
return this.apiClient.callApi(
|
|
1091
1095
|
'/api/v2/routing/queues/{queueId}/wrapupcodes',
|
|
1092
1096
|
'GET',
|
|
1093
|
-
{ 'queueId': queueId },
|
|
1094
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
1095
|
-
{ },
|
|
1096
|
-
{ },
|
|
1097
|
+
{ 'queueId': queueId },
|
|
1098
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
1099
|
+
{ },
|
|
1100
|
+
{ },
|
|
1097
1101
|
null,
|
|
1098
1102
|
['PureCloud OAuth'],
|
|
1099
|
-
['application/json'],
|
|
1103
|
+
['application/json'],
|
|
1100
1104
|
['application/json']
|
|
1101
1105
|
);
|
|
1102
1106
|
}
|
|
@@ -1119,13 +1123,13 @@ class RoutingApi {
|
|
|
1119
1123
|
return this.apiClient.callApi(
|
|
1120
1124
|
'/api/v2/routing/queues',
|
|
1121
1125
|
'GET',
|
|
1122
|
-
{ },
|
|
1123
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1124
|
-
{ },
|
|
1125
|
-
{ },
|
|
1126
|
+
{ },
|
|
1127
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1128
|
+
{ },
|
|
1129
|
+
{ },
|
|
1126
1130
|
null,
|
|
1127
1131
|
['PureCloud OAuth'],
|
|
1128
|
-
['application/json'],
|
|
1132
|
+
['application/json'],
|
|
1129
1133
|
['application/json']
|
|
1130
1134
|
);
|
|
1131
1135
|
}
|
|
@@ -1149,13 +1153,13 @@ class RoutingApi {
|
|
|
1149
1153
|
return this.apiClient.callApi(
|
|
1150
1154
|
'/api/v2/routing/queues/divisionviews',
|
|
1151
1155
|
'GET',
|
|
1152
|
-
{ },
|
|
1153
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1154
|
-
{ },
|
|
1155
|
-
{ },
|
|
1156
|
+
{ },
|
|
1157
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1158
|
+
{ },
|
|
1159
|
+
{ },
|
|
1156
1160
|
null,
|
|
1157
1161
|
['PureCloud OAuth'],
|
|
1158
|
-
['application/json'],
|
|
1162
|
+
['application/json'],
|
|
1159
1163
|
['application/json']
|
|
1160
1164
|
);
|
|
1161
1165
|
}
|
|
@@ -1175,13 +1179,13 @@ class RoutingApi {
|
|
|
1175
1179
|
return this.apiClient.callApi(
|
|
1176
1180
|
'/api/v2/routing/queues/divisionviews/all',
|
|
1177
1181
|
'GET',
|
|
1178
|
-
{ },
|
|
1179
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
1180
|
-
{ },
|
|
1181
|
-
{ },
|
|
1182
|
+
{ },
|
|
1183
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
1184
|
+
{ },
|
|
1185
|
+
{ },
|
|
1182
1186
|
null,
|
|
1183
1187
|
['PureCloud OAuth'],
|
|
1184
|
-
['application/json'],
|
|
1188
|
+
['application/json'],
|
|
1185
1189
|
['application/json']
|
|
1186
1190
|
);
|
|
1187
1191
|
}
|
|
@@ -1192,7 +1196,7 @@ class RoutingApi {
|
|
|
1192
1196
|
* @param {Object} opts Optional parameters
|
|
1193
1197
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1194
1198
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1195
|
-
* @param {
|
|
1199
|
+
* @param {Object} opts.joined Filter by joined status.
|
|
1196
1200
|
* @param {Object} opts.sortOrder Note: results are sorted by name. (default to asc)
|
|
1197
1201
|
*/
|
|
1198
1202
|
getRoutingQueuesMe(opts) {
|
|
@@ -1202,19 +1206,19 @@ class RoutingApi {
|
|
|
1202
1206
|
return this.apiClient.callApi(
|
|
1203
1207
|
'/api/v2/routing/queues/me',
|
|
1204
1208
|
'GET',
|
|
1205
|
-
{ },
|
|
1206
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'joined': opts['joined'],'sortOrder': opts['sortOrder'] },
|
|
1207
|
-
{ },
|
|
1208
|
-
{ },
|
|
1209
|
+
{ },
|
|
1210
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'joined': opts['joined'],'sortOrder': opts['sortOrder'] },
|
|
1211
|
+
{ },
|
|
1212
|
+
{ },
|
|
1209
1213
|
null,
|
|
1210
1214
|
['PureCloud OAuth'],
|
|
1211
|
-
['application/json'],
|
|
1215
|
+
['application/json'],
|
|
1212
1216
|
['application/json']
|
|
1213
1217
|
);
|
|
1214
1218
|
}
|
|
1215
1219
|
|
|
1216
1220
|
/**
|
|
1217
|
-
* Get an organization
|
|
1221
|
+
* Get an organization's routing settings
|
|
1218
1222
|
*
|
|
1219
1223
|
*/
|
|
1220
1224
|
getRoutingSettings() {
|
|
@@ -1222,13 +1226,13 @@ class RoutingApi {
|
|
|
1222
1226
|
return this.apiClient.callApi(
|
|
1223
1227
|
'/api/v2/routing/settings',
|
|
1224
1228
|
'GET',
|
|
1225
|
-
{ },
|
|
1226
|
-
{ },
|
|
1227
|
-
{ },
|
|
1228
|
-
{ },
|
|
1229
|
+
{ },
|
|
1230
|
+
{ },
|
|
1231
|
+
{ },
|
|
1232
|
+
{ },
|
|
1229
1233
|
null,
|
|
1230
1234
|
['PureCloud OAuth'],
|
|
1231
|
-
['application/json'],
|
|
1235
|
+
['application/json'],
|
|
1232
1236
|
['application/json']
|
|
1233
1237
|
);
|
|
1234
1238
|
}
|
|
@@ -1242,13 +1246,13 @@ class RoutingApi {
|
|
|
1242
1246
|
return this.apiClient.callApi(
|
|
1243
1247
|
'/api/v2/routing/settings/contactcenter',
|
|
1244
1248
|
'GET',
|
|
1245
|
-
{ },
|
|
1246
|
-
{ },
|
|
1247
|
-
{ },
|
|
1248
|
-
{ },
|
|
1249
|
+
{ },
|
|
1250
|
+
{ },
|
|
1251
|
+
{ },
|
|
1252
|
+
{ },
|
|
1249
1253
|
null,
|
|
1250
1254
|
['PureCloud OAuth'],
|
|
1251
|
-
['application/json'],
|
|
1255
|
+
['application/json'],
|
|
1252
1256
|
['application/json']
|
|
1253
1257
|
);
|
|
1254
1258
|
}
|
|
@@ -1262,13 +1266,13 @@ class RoutingApi {
|
|
|
1262
1266
|
return this.apiClient.callApi(
|
|
1263
1267
|
'/api/v2/routing/settings/transcription',
|
|
1264
1268
|
'GET',
|
|
1265
|
-
{ },
|
|
1266
|
-
{ },
|
|
1267
|
-
{ },
|
|
1268
|
-
{ },
|
|
1269
|
+
{ },
|
|
1270
|
+
{ },
|
|
1271
|
+
{ },
|
|
1272
|
+
{ },
|
|
1269
1273
|
null,
|
|
1270
1274
|
['PureCloud OAuth'],
|
|
1271
|
-
['application/json'],
|
|
1275
|
+
['application/json'],
|
|
1272
1276
|
['application/json']
|
|
1273
1277
|
);
|
|
1274
1278
|
}
|
|
@@ -1287,13 +1291,13 @@ class RoutingApi {
|
|
|
1287
1291
|
return this.apiClient.callApi(
|
|
1288
1292
|
'/api/v2/routing/skills/{skillId}',
|
|
1289
1293
|
'GET',
|
|
1290
|
-
{ 'skillId': skillId },
|
|
1291
|
-
{ },
|
|
1292
|
-
{ },
|
|
1293
|
-
{ },
|
|
1294
|
+
{ 'skillId': skillId },
|
|
1295
|
+
{ },
|
|
1296
|
+
{ },
|
|
1297
|
+
{ },
|
|
1294
1298
|
null,
|
|
1295
1299
|
['PureCloud OAuth'],
|
|
1296
|
-
['application/json'],
|
|
1300
|
+
['application/json'],
|
|
1297
1301
|
['application/json']
|
|
1298
1302
|
);
|
|
1299
1303
|
}
|
|
@@ -1314,13 +1318,13 @@ class RoutingApi {
|
|
|
1314
1318
|
return this.apiClient.callApi(
|
|
1315
1319
|
'/api/v2/routing/skills',
|
|
1316
1320
|
'GET',
|
|
1317
|
-
{ },
|
|
1318
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
1319
|
-
{ },
|
|
1320
|
-
{ },
|
|
1321
|
+
{ },
|
|
1322
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
1323
|
+
{ },
|
|
1324
|
+
{ },
|
|
1321
1325
|
null,
|
|
1322
1326
|
['PureCloud OAuth'],
|
|
1323
|
-
['application/json'],
|
|
1327
|
+
['application/json'],
|
|
1324
1328
|
['application/json']
|
|
1325
1329
|
);
|
|
1326
1330
|
}
|
|
@@ -1339,13 +1343,13 @@ class RoutingApi {
|
|
|
1339
1343
|
return this.apiClient.callApi(
|
|
1340
1344
|
'/api/v2/routing/sms/addresses/{addressId}',
|
|
1341
1345
|
'GET',
|
|
1342
|
-
{ 'addressId': addressId },
|
|
1343
|
-
{ },
|
|
1344
|
-
{ },
|
|
1345
|
-
{ },
|
|
1346
|
+
{ 'addressId': addressId },
|
|
1347
|
+
{ },
|
|
1348
|
+
{ },
|
|
1349
|
+
{ },
|
|
1346
1350
|
null,
|
|
1347
1351
|
['PureCloud OAuth'],
|
|
1348
|
-
['application/json'],
|
|
1352
|
+
['application/json'],
|
|
1349
1353
|
['application/json']
|
|
1350
1354
|
);
|
|
1351
1355
|
}
|
|
@@ -1364,13 +1368,13 @@ class RoutingApi {
|
|
|
1364
1368
|
return this.apiClient.callApi(
|
|
1365
1369
|
'/api/v2/routing/sms/addresses',
|
|
1366
1370
|
'GET',
|
|
1367
|
-
{ },
|
|
1368
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
1369
|
-
{ },
|
|
1370
|
-
{ },
|
|
1371
|
+
{ },
|
|
1372
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
1373
|
+
{ },
|
|
1374
|
+
{ },
|
|
1371
1375
|
null,
|
|
1372
1376
|
['PureCloud OAuth'],
|
|
1373
|
-
['application/json'],
|
|
1377
|
+
['application/json'],
|
|
1374
1378
|
['application/json']
|
|
1375
1379
|
);
|
|
1376
1380
|
}
|
|
@@ -1384,7 +1388,7 @@ class RoutingApi {
|
|
|
1384
1388
|
* @param {String} opts.region Region/province/state that can be used to restrict the numbers returned
|
|
1385
1389
|
* @param {String} opts.city City that can be used to restrict the numbers returned
|
|
1386
1390
|
* @param {String} opts.areaCode Area code that can be used to restrict the numbers returned
|
|
1387
|
-
* @param {String} opts.pattern A pattern to match phone numbers. Valid characters are
|
|
1391
|
+
* @param {String} opts.pattern A pattern to match phone numbers. Valid characters are '*' and [0-9a-zA-Z]. The '*' character will match any single digit.
|
|
1388
1392
|
* @param {Object} opts.addressRequirement This indicates whether the phone number requires to have an Address registered.
|
|
1389
1393
|
*/
|
|
1390
1394
|
getRoutingSmsAvailablephonenumbers(countryCode, phoneNumberType, opts) {
|
|
@@ -1402,13 +1406,13 @@ class RoutingApi {
|
|
|
1402
1406
|
return this.apiClient.callApi(
|
|
1403
1407
|
'/api/v2/routing/sms/availablephonenumbers',
|
|
1404
1408
|
'GET',
|
|
1405
|
-
{ },
|
|
1406
|
-
{ 'countryCode': countryCode,'region': opts['region'],'city': opts['city'],'areaCode': opts['areaCode'],'phoneNumberType': phoneNumberType,'pattern': opts['pattern'],'addressRequirement': opts['addressRequirement'] },
|
|
1407
|
-
{ },
|
|
1408
|
-
{ },
|
|
1409
|
+
{ },
|
|
1410
|
+
{ 'countryCode': countryCode,'region': opts['region'],'city': opts['city'],'areaCode': opts['areaCode'],'phoneNumberType': phoneNumberType,'pattern': opts['pattern'],'addressRequirement': opts['addressRequirement'] },
|
|
1411
|
+
{ },
|
|
1412
|
+
{ },
|
|
1409
1413
|
null,
|
|
1410
1414
|
['PureCloud OAuth'],
|
|
1411
|
-
['application/json'],
|
|
1415
|
+
['application/json'],
|
|
1412
1416
|
['application/json']
|
|
1413
1417
|
);
|
|
1414
1418
|
}
|
|
@@ -1427,13 +1431,13 @@ class RoutingApi {
|
|
|
1427
1431
|
return this.apiClient.callApi(
|
|
1428
1432
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
1429
1433
|
'GET',
|
|
1430
|
-
{ 'addressId': addressId },
|
|
1431
|
-
{ },
|
|
1432
|
-
{ },
|
|
1433
|
-
{ },
|
|
1434
|
+
{ 'addressId': addressId },
|
|
1435
|
+
{ },
|
|
1436
|
+
{ },
|
|
1437
|
+
{ },
|
|
1434
1438
|
null,
|
|
1435
1439
|
['PureCloud OAuth'],
|
|
1436
|
-
['application/json'],
|
|
1440
|
+
['application/json'],
|
|
1437
1441
|
['application/json']
|
|
1438
1442
|
);
|
|
1439
1443
|
}
|
|
@@ -1442,7 +1446,7 @@ class RoutingApi {
|
|
|
1442
1446
|
* Get a list of provisioned phone numbers.
|
|
1443
1447
|
*
|
|
1444
1448
|
* @param {Object} opts Optional parameters
|
|
1445
|
-
* @param {String} opts.phoneNumber Filter on phone number address. Allowable characters are the digits
|
|
1449
|
+
* @param {String} opts.phoneNumber Filter on phone number address. Allowable characters are the digits '0-9' and the wild card character '\\*'. If just digits are present, a contains search is done on the address pattern. For example, '317' could be matched anywhere in the address. An '\\*' will match multiple digits. For example, to match a specific area code within the US a pattern like '1317*' could be used.
|
|
1446
1450
|
* @param {Array.<String>} opts.phoneNumberType Filter on phone number type
|
|
1447
1451
|
* @param {Array.<String>} opts.phoneNumberStatus Filter on phone number status
|
|
1448
1452
|
* @param {Array.<String>} opts.countryCode Filter on country code
|
|
@@ -1450,7 +1454,7 @@ class RoutingApi {
|
|
|
1450
1454
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1451
1455
|
* @param {Object} opts.sortBy Optional field to sort results
|
|
1452
1456
|
* @param {Object} opts.sortOrder Sort order
|
|
1453
|
-
* @param {String} opts.language A language tag (which is sometimes referred to as a
|
|
1457
|
+
* @param {String} opts.language A language tag (which is sometimes referred to as a locale identifier) to use to localize country field and sort operations (default to en-US)
|
|
1454
1458
|
*/
|
|
1455
1459
|
getRoutingSmsPhonenumbers(opts) {
|
|
1456
1460
|
opts = opts || {};
|
|
@@ -1459,19 +1463,19 @@ class RoutingApi {
|
|
|
1459
1463
|
return this.apiClient.callApi(
|
|
1460
1464
|
'/api/v2/routing/sms/phonenumbers',
|
|
1461
1465
|
'GET',
|
|
1462
|
-
{ },
|
|
1463
|
-
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'] },
|
|
1464
|
-
{ },
|
|
1465
|
-
{ },
|
|
1466
|
+
{ },
|
|
1467
|
+
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'] },
|
|
1468
|
+
{ },
|
|
1469
|
+
{ },
|
|
1466
1470
|
null,
|
|
1467
1471
|
['PureCloud OAuth'],
|
|
1468
|
-
['application/json'],
|
|
1472
|
+
['application/json'],
|
|
1469
1473
|
['application/json']
|
|
1470
1474
|
);
|
|
1471
1475
|
}
|
|
1472
1476
|
|
|
1473
1477
|
/**
|
|
1474
|
-
* Get the user
|
|
1478
|
+
* Get the user's max utilization settings. If not configured, the organization-wide default is returned.
|
|
1475
1479
|
*
|
|
1476
1480
|
* @param {String} userId User ID
|
|
1477
1481
|
*/
|
|
@@ -1484,13 +1488,13 @@ class RoutingApi {
|
|
|
1484
1488
|
return this.apiClient.callApi(
|
|
1485
1489
|
'/api/v2/routing/users/{userId}/utilization',
|
|
1486
1490
|
'GET',
|
|
1487
|
-
{ 'userId': userId },
|
|
1488
|
-
{ },
|
|
1489
|
-
{ },
|
|
1490
|
-
{ },
|
|
1491
|
+
{ 'userId': userId },
|
|
1492
|
+
{ },
|
|
1493
|
+
{ },
|
|
1494
|
+
{ },
|
|
1491
1495
|
null,
|
|
1492
1496
|
['PureCloud OAuth'],
|
|
1493
|
-
['application/json'],
|
|
1497
|
+
['application/json'],
|
|
1494
1498
|
['application/json']
|
|
1495
1499
|
);
|
|
1496
1500
|
}
|
|
@@ -1504,13 +1508,13 @@ class RoutingApi {
|
|
|
1504
1508
|
return this.apiClient.callApi(
|
|
1505
1509
|
'/api/v2/routing/utilization',
|
|
1506
1510
|
'GET',
|
|
1507
|
-
{ },
|
|
1508
|
-
{ },
|
|
1509
|
-
{ },
|
|
1510
|
-
{ },
|
|
1511
|
+
{ },
|
|
1512
|
+
{ },
|
|
1513
|
+
{ },
|
|
1514
|
+
{ },
|
|
1511
1515
|
null,
|
|
1512
1516
|
['PureCloud OAuth'],
|
|
1513
|
-
['application/json'],
|
|
1517
|
+
['application/json'],
|
|
1514
1518
|
['application/json']
|
|
1515
1519
|
);
|
|
1516
1520
|
}
|
|
@@ -1529,13 +1533,13 @@ class RoutingApi {
|
|
|
1529
1533
|
return this.apiClient.callApi(
|
|
1530
1534
|
'/api/v2/routing/wrapupcodes/{codeId}',
|
|
1531
1535
|
'GET',
|
|
1532
|
-
{ 'codeId': codeId },
|
|
1533
|
-
{ },
|
|
1534
|
-
{ },
|
|
1535
|
-
{ },
|
|
1536
|
+
{ 'codeId': codeId },
|
|
1537
|
+
{ },
|
|
1538
|
+
{ },
|
|
1539
|
+
{ },
|
|
1536
1540
|
null,
|
|
1537
1541
|
['PureCloud OAuth'],
|
|
1538
|
-
['application/json'],
|
|
1542
|
+
['application/json'],
|
|
1539
1543
|
['application/json']
|
|
1540
1544
|
);
|
|
1541
1545
|
}
|
|
@@ -1548,7 +1552,7 @@ class RoutingApi {
|
|
|
1548
1552
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1549
1553
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
1550
1554
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
1551
|
-
* @param {String} opts.name Wrapup code
|
|
1555
|
+
* @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
|
|
1552
1556
|
*/
|
|
1553
1557
|
getRoutingWrapupcodes(opts) {
|
|
1554
1558
|
opts = opts || {};
|
|
@@ -1557,13 +1561,13 @@ class RoutingApi {
|
|
|
1557
1561
|
return this.apiClient.callApi(
|
|
1558
1562
|
'/api/v2/routing/wrapupcodes',
|
|
1559
1563
|
'GET',
|
|
1560
|
-
{ },
|
|
1561
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
|
|
1562
|
-
{ },
|
|
1563
|
-
{ },
|
|
1564
|
+
{ },
|
|
1565
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
|
|
1566
|
+
{ },
|
|
1567
|
+
{ },
|
|
1564
1568
|
null,
|
|
1565
1569
|
['PureCloud OAuth'],
|
|
1566
|
-
['application/json'],
|
|
1570
|
+
['application/json'],
|
|
1567
1571
|
['application/json']
|
|
1568
1572
|
);
|
|
1569
1573
|
}
|
|
@@ -1589,13 +1593,13 @@ class RoutingApi {
|
|
|
1589
1593
|
return this.apiClient.callApi(
|
|
1590
1594
|
'/api/v2/users/{userId}/queues',
|
|
1591
1595
|
'GET',
|
|
1592
|
-
{ 'userId': userId },
|
|
1593
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'joined': opts['joined'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1594
|
-
{ },
|
|
1595
|
-
{ },
|
|
1596
|
+
{ 'userId': userId },
|
|
1597
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'joined': opts['joined'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1598
|
+
{ },
|
|
1599
|
+
{ },
|
|
1596
1600
|
null,
|
|
1597
1601
|
['PureCloud OAuth'],
|
|
1598
|
-
['application/json'],
|
|
1602
|
+
['application/json'],
|
|
1599
1603
|
['application/json']
|
|
1600
1604
|
);
|
|
1601
1605
|
}
|
|
@@ -1620,13 +1624,13 @@ class RoutingApi {
|
|
|
1620
1624
|
return this.apiClient.callApi(
|
|
1621
1625
|
'/api/v2/users/{userId}/routinglanguages',
|
|
1622
1626
|
'GET',
|
|
1623
|
-
{ 'userId': userId },
|
|
1624
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
1625
|
-
{ },
|
|
1626
|
-
{ },
|
|
1627
|
+
{ 'userId': userId },
|
|
1628
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
1629
|
+
{ },
|
|
1630
|
+
{ },
|
|
1627
1631
|
null,
|
|
1628
1632
|
['PureCloud OAuth'],
|
|
1629
|
-
['application/json'],
|
|
1633
|
+
['application/json'],
|
|
1630
1634
|
['application/json']
|
|
1631
1635
|
);
|
|
1632
1636
|
}
|
|
@@ -1651,13 +1655,13 @@ class RoutingApi {
|
|
|
1651
1655
|
return this.apiClient.callApi(
|
|
1652
1656
|
'/api/v2/users/{userId}/routingskills',
|
|
1653
1657
|
'GET',
|
|
1654
|
-
{ 'userId': userId },
|
|
1655
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
1656
|
-
{ },
|
|
1657
|
-
{ },
|
|
1658
|
+
{ 'userId': userId },
|
|
1659
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
|
|
1660
|
+
{ },
|
|
1661
|
+
{ },
|
|
1658
1662
|
null,
|
|
1659
1663
|
['PureCloud OAuth'],
|
|
1660
|
-
['application/json'],
|
|
1664
|
+
['application/json'],
|
|
1661
1665
|
['application/json']
|
|
1662
1666
|
);
|
|
1663
1667
|
}
|
|
@@ -1681,13 +1685,13 @@ class RoutingApi {
|
|
|
1681
1685
|
return this.apiClient.callApi(
|
|
1682
1686
|
'/api/v2/routing/conversations/{conversationId}',
|
|
1683
1687
|
'PATCH',
|
|
1684
|
-
{ 'conversationId': conversationId },
|
|
1685
|
-
{ },
|
|
1686
|
-
{ },
|
|
1687
|
-
{ },
|
|
1688
|
+
{ 'conversationId': conversationId },
|
|
1689
|
+
{ },
|
|
1690
|
+
{ },
|
|
1691
|
+
{ },
|
|
1688
1692
|
body,
|
|
1689
1693
|
['PureCloud OAuth'],
|
|
1690
|
-
['application/json'],
|
|
1694
|
+
['application/json'],
|
|
1691
1695
|
['application/json']
|
|
1692
1696
|
);
|
|
1693
1697
|
}
|
|
@@ -1711,13 +1715,13 @@ class RoutingApi {
|
|
|
1711
1715
|
return this.apiClient.callApi(
|
|
1712
1716
|
'/api/v2/routing/email/domains/{domainId}',
|
|
1713
1717
|
'PATCH',
|
|
1714
|
-
{ 'domainId': domainId },
|
|
1715
|
-
{ },
|
|
1716
|
-
{ },
|
|
1717
|
-
{ },
|
|
1718
|
+
{ 'domainId': domainId },
|
|
1719
|
+
{ },
|
|
1720
|
+
{ },
|
|
1721
|
+
{ },
|
|
1718
1722
|
body,
|
|
1719
1723
|
['PureCloud OAuth'],
|
|
1720
|
-
['application/json'],
|
|
1724
|
+
['application/json'],
|
|
1721
1725
|
['application/json']
|
|
1722
1726
|
);
|
|
1723
1727
|
}
|
|
@@ -1741,13 +1745,13 @@ class RoutingApi {
|
|
|
1741
1745
|
return this.apiClient.callApi(
|
|
1742
1746
|
'/api/v2/routing/email/domains/{domainId}/validate',
|
|
1743
1747
|
'PATCH',
|
|
1744
|
-
{ 'domainId': domainId },
|
|
1745
|
-
{ },
|
|
1746
|
-
{ },
|
|
1747
|
-
{ },
|
|
1748
|
+
{ 'domainId': domainId },
|
|
1749
|
+
{ },
|
|
1750
|
+
{ },
|
|
1751
|
+
{ },
|
|
1748
1752
|
body,
|
|
1749
1753
|
['PureCloud OAuth'],
|
|
1750
|
-
['application/json'],
|
|
1754
|
+
['application/json'],
|
|
1751
1755
|
['application/json']
|
|
1752
1756
|
);
|
|
1753
1757
|
}
|
|
@@ -1770,13 +1774,13 @@ class RoutingApi {
|
|
|
1770
1774
|
return this.apiClient.callApi(
|
|
1771
1775
|
'/api/v2/routing/predictors/{predictorId}',
|
|
1772
1776
|
'PATCH',
|
|
1773
|
-
{ 'predictorId': predictorId },
|
|
1774
|
-
{ },
|
|
1775
|
-
{ },
|
|
1776
|
-
{ },
|
|
1777
|
+
{ 'predictorId': predictorId },
|
|
1778
|
+
{ },
|
|
1779
|
+
{ },
|
|
1780
|
+
{ },
|
|
1777
1781
|
opts['body'],
|
|
1778
1782
|
['PureCloud OAuth'],
|
|
1779
|
-
['application/json'],
|
|
1783
|
+
['application/json'],
|
|
1780
1784
|
['application/json']
|
|
1781
1785
|
);
|
|
1782
1786
|
}
|
|
@@ -1805,13 +1809,13 @@ class RoutingApi {
|
|
|
1805
1809
|
return this.apiClient.callApi(
|
|
1806
1810
|
'/api/v2/routing/queues/{queueId}/members/{memberId}',
|
|
1807
1811
|
'PATCH',
|
|
1808
|
-
{ 'queueId': queueId,'memberId': memberId },
|
|
1809
|
-
{ },
|
|
1810
|
-
{ },
|
|
1811
|
-
{ },
|
|
1812
|
+
{ 'queueId': queueId,'memberId': memberId },
|
|
1813
|
+
{ },
|
|
1814
|
+
{ },
|
|
1815
|
+
{ },
|
|
1812
1816
|
body,
|
|
1813
1817
|
['PureCloud OAuth'],
|
|
1814
|
-
['application/json'],
|
|
1818
|
+
['application/json'],
|
|
1815
1819
|
['application/json']
|
|
1816
1820
|
);
|
|
1817
1821
|
}
|
|
@@ -1835,13 +1839,13 @@ class RoutingApi {
|
|
|
1835
1839
|
return this.apiClient.callApi(
|
|
1836
1840
|
'/api/v2/routing/queues/{queueId}/members',
|
|
1837
1841
|
'PATCH',
|
|
1838
|
-
{ 'queueId': queueId },
|
|
1839
|
-
{ },
|
|
1840
|
-
{ },
|
|
1841
|
-
{ },
|
|
1842
|
+
{ 'queueId': queueId },
|
|
1843
|
+
{ },
|
|
1844
|
+
{ },
|
|
1845
|
+
{ },
|
|
1842
1846
|
body,
|
|
1843
1847
|
['PureCloud OAuth'],
|
|
1844
|
-
['application/json'],
|
|
1848
|
+
['application/json'],
|
|
1845
1849
|
['application/json']
|
|
1846
1850
|
);
|
|
1847
1851
|
}
|
|
@@ -1870,13 +1874,13 @@ class RoutingApi {
|
|
|
1870
1874
|
return this.apiClient.callApi(
|
|
1871
1875
|
'/api/v2/routing/queues/{queueId}/users/{memberId}',
|
|
1872
1876
|
'PATCH',
|
|
1873
|
-
{ 'queueId': queueId,'memberId': memberId },
|
|
1874
|
-
{ },
|
|
1875
|
-
{ },
|
|
1876
|
-
{ },
|
|
1877
|
+
{ 'queueId': queueId,'memberId': memberId },
|
|
1878
|
+
{ },
|
|
1879
|
+
{ },
|
|
1880
|
+
{ },
|
|
1877
1881
|
body,
|
|
1878
1882
|
['PureCloud OAuth'],
|
|
1879
|
-
['application/json'],
|
|
1883
|
+
['application/json'],
|
|
1880
1884
|
['application/json']
|
|
1881
1885
|
);
|
|
1882
1886
|
}
|
|
@@ -1900,13 +1904,13 @@ class RoutingApi {
|
|
|
1900
1904
|
return this.apiClient.callApi(
|
|
1901
1905
|
'/api/v2/routing/queues/{queueId}/users',
|
|
1902
1906
|
'PATCH',
|
|
1903
|
-
{ 'queueId': queueId },
|
|
1904
|
-
{ },
|
|
1905
|
-
{ },
|
|
1906
|
-
{ },
|
|
1907
|
+
{ 'queueId': queueId },
|
|
1908
|
+
{ },
|
|
1909
|
+
{ },
|
|
1910
|
+
{ },
|
|
1907
1911
|
body,
|
|
1908
1912
|
['PureCloud OAuth'],
|
|
1909
|
-
['application/json'],
|
|
1913
|
+
['application/json'],
|
|
1910
1914
|
['application/json']
|
|
1911
1915
|
);
|
|
1912
1916
|
}
|
|
@@ -1925,13 +1929,13 @@ class RoutingApi {
|
|
|
1925
1929
|
return this.apiClient.callApi(
|
|
1926
1930
|
'/api/v2/routing/settings/contactcenter',
|
|
1927
1931
|
'PATCH',
|
|
1928
|
-
{ },
|
|
1929
|
-
{ },
|
|
1930
|
-
{ },
|
|
1931
|
-
{ },
|
|
1932
|
+
{ },
|
|
1933
|
+
{ },
|
|
1934
|
+
{ },
|
|
1935
|
+
{ },
|
|
1932
1936
|
body,
|
|
1933
1937
|
['PureCloud OAuth'],
|
|
1934
|
-
['application/json'],
|
|
1938
|
+
['application/json'],
|
|
1935
1939
|
['application/json']
|
|
1936
1940
|
);
|
|
1937
1941
|
}
|
|
@@ -1960,13 +1964,13 @@ class RoutingApi {
|
|
|
1960
1964
|
return this.apiClient.callApi(
|
|
1961
1965
|
'/api/v2/users/{userId}/queues/{queueId}',
|
|
1962
1966
|
'PATCH',
|
|
1963
|
-
{ 'queueId': queueId,'userId': userId },
|
|
1964
|
-
{ },
|
|
1965
|
-
{ },
|
|
1966
|
-
{ },
|
|
1967
|
+
{ 'queueId': queueId,'userId': userId },
|
|
1968
|
+
{ },
|
|
1969
|
+
{ },
|
|
1970
|
+
{ },
|
|
1967
1971
|
body,
|
|
1968
1972
|
['PureCloud OAuth'],
|
|
1969
|
-
['application/json'],
|
|
1973
|
+
['application/json'],
|
|
1970
1974
|
['application/json']
|
|
1971
1975
|
);
|
|
1972
1976
|
}
|
|
@@ -1994,13 +1998,13 @@ class RoutingApi {
|
|
|
1994
1998
|
return this.apiClient.callApi(
|
|
1995
1999
|
'/api/v2/users/{userId}/queues',
|
|
1996
2000
|
'PATCH',
|
|
1997
|
-
{ 'userId': userId },
|
|
1998
|
-
{ 'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1999
|
-
{ },
|
|
2000
|
-
{ },
|
|
2001
|
+
{ 'userId': userId },
|
|
2002
|
+
{ 'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
2003
|
+
{ },
|
|
2004
|
+
{ },
|
|
2001
2005
|
body,
|
|
2002
2006
|
['PureCloud OAuth'],
|
|
2003
|
-
['application/json'],
|
|
2007
|
+
['application/json'],
|
|
2004
2008
|
['application/json']
|
|
2005
2009
|
);
|
|
2006
2010
|
}
|
|
@@ -2029,13 +2033,13 @@ class RoutingApi {
|
|
|
2029
2033
|
return this.apiClient.callApi(
|
|
2030
2034
|
'/api/v2/users/{userId}/routinglanguages/{languageId}',
|
|
2031
2035
|
'PATCH',
|
|
2032
|
-
{ 'userId': userId,'languageId': languageId },
|
|
2033
|
-
{ },
|
|
2034
|
-
{ },
|
|
2035
|
-
{ },
|
|
2036
|
+
{ 'userId': userId,'languageId': languageId },
|
|
2037
|
+
{ },
|
|
2038
|
+
{ },
|
|
2039
|
+
{ },
|
|
2036
2040
|
body,
|
|
2037
2041
|
['PureCloud OAuth'],
|
|
2038
|
-
['application/json'],
|
|
2042
|
+
['application/json'],
|
|
2039
2043
|
['application/json']
|
|
2040
2044
|
);
|
|
2041
2045
|
}
|
|
@@ -2059,13 +2063,13 @@ class RoutingApi {
|
|
|
2059
2063
|
return this.apiClient.callApi(
|
|
2060
2064
|
'/api/v2/users/{userId}/routinglanguages/bulk',
|
|
2061
2065
|
'PATCH',
|
|
2062
|
-
{ 'userId': userId },
|
|
2063
|
-
{ },
|
|
2064
|
-
{ },
|
|
2065
|
-
{ },
|
|
2066
|
+
{ 'userId': userId },
|
|
2067
|
+
{ },
|
|
2068
|
+
{ },
|
|
2069
|
+
{ },
|
|
2066
2070
|
body,
|
|
2067
2071
|
['PureCloud OAuth'],
|
|
2068
|
-
['application/json'],
|
|
2072
|
+
['application/json'],
|
|
2069
2073
|
['application/json']
|
|
2070
2074
|
);
|
|
2071
2075
|
}
|
|
@@ -2089,13 +2093,13 @@ class RoutingApi {
|
|
|
2089
2093
|
return this.apiClient.callApi(
|
|
2090
2094
|
'/api/v2/users/{userId}/routingskills/bulk',
|
|
2091
2095
|
'PATCH',
|
|
2092
|
-
{ 'userId': userId },
|
|
2093
|
-
{ },
|
|
2094
|
-
{ },
|
|
2095
|
-
{ },
|
|
2096
|
+
{ 'userId': userId },
|
|
2097
|
+
{ },
|
|
2098
|
+
{ },
|
|
2099
|
+
{ },
|
|
2096
2100
|
body,
|
|
2097
2101
|
['PureCloud OAuth'],
|
|
2098
|
-
['application/json'],
|
|
2102
|
+
['application/json'],
|
|
2099
2103
|
['application/json']
|
|
2100
2104
|
);
|
|
2101
2105
|
}
|
|
@@ -2114,13 +2118,13 @@ class RoutingApi {
|
|
|
2114
2118
|
return this.apiClient.callApi(
|
|
2115
2119
|
'/api/v2/analytics/queues/observations/query',
|
|
2116
2120
|
'POST',
|
|
2117
|
-
{ },
|
|
2118
|
-
{ },
|
|
2119
|
-
{ },
|
|
2120
|
-
{ },
|
|
2121
|
+
{ },
|
|
2122
|
+
{ },
|
|
2123
|
+
{ },
|
|
2124
|
+
{ },
|
|
2121
2125
|
body,
|
|
2122
2126
|
['PureCloud OAuth'],
|
|
2123
|
-
['application/json'],
|
|
2127
|
+
['application/json'],
|
|
2124
2128
|
['application/json']
|
|
2125
2129
|
);
|
|
2126
2130
|
}
|
|
@@ -2138,13 +2142,13 @@ class RoutingApi {
|
|
|
2138
2142
|
return this.apiClient.callApi(
|
|
2139
2143
|
'/api/v2/routing/assessments',
|
|
2140
2144
|
'POST',
|
|
2141
|
-
{ },
|
|
2142
|
-
{ },
|
|
2143
|
-
{ },
|
|
2144
|
-
{ },
|
|
2145
|
+
{ },
|
|
2146
|
+
{ },
|
|
2147
|
+
{ },
|
|
2148
|
+
{ },
|
|
2145
2149
|
opts['body'],
|
|
2146
2150
|
['PureCloud OAuth'],
|
|
2147
|
-
['application/json'],
|
|
2151
|
+
['application/json'],
|
|
2148
2152
|
['application/json']
|
|
2149
2153
|
);
|
|
2150
2154
|
}
|
|
@@ -2162,13 +2166,13 @@ class RoutingApi {
|
|
|
2162
2166
|
return this.apiClient.callApi(
|
|
2163
2167
|
'/api/v2/routing/assessments/jobs',
|
|
2164
2168
|
'POST',
|
|
2165
|
-
{ },
|
|
2166
|
-
{ },
|
|
2167
|
-
{ },
|
|
2168
|
-
{ },
|
|
2169
|
+
{ },
|
|
2170
|
+
{ },
|
|
2171
|
+
{ },
|
|
2172
|
+
{ },
|
|
2169
2173
|
opts['body'],
|
|
2170
2174
|
['PureCloud OAuth'],
|
|
2171
|
-
['application/json'],
|
|
2175
|
+
['application/json'],
|
|
2172
2176
|
['application/json']
|
|
2173
2177
|
);
|
|
2174
2178
|
}
|
|
@@ -2192,13 +2196,13 @@ class RoutingApi {
|
|
|
2192
2196
|
return this.apiClient.callApi(
|
|
2193
2197
|
'/api/v2/routing/email/domains/{domainName}/routes',
|
|
2194
2198
|
'POST',
|
|
2195
|
-
{ 'domainName': domainName },
|
|
2196
|
-
{ },
|
|
2197
|
-
{ },
|
|
2198
|
-
{ },
|
|
2199
|
+
{ 'domainName': domainName },
|
|
2200
|
+
{ },
|
|
2201
|
+
{ },
|
|
2202
|
+
{ },
|
|
2199
2203
|
body,
|
|
2200
2204
|
['PureCloud OAuth'],
|
|
2201
|
-
['application/json'],
|
|
2205
|
+
['application/json'],
|
|
2202
2206
|
['application/json']
|
|
2203
2207
|
);
|
|
2204
2208
|
}
|
|
@@ -2221,13 +2225,13 @@ class RoutingApi {
|
|
|
2221
2225
|
return this.apiClient.callApi(
|
|
2222
2226
|
'/api/v2/routing/email/domains/{domainId}/testconnection',
|
|
2223
2227
|
'POST',
|
|
2224
|
-
{ 'domainId': domainId },
|
|
2225
|
-
{ },
|
|
2226
|
-
{ },
|
|
2227
|
-
{ },
|
|
2228
|
+
{ 'domainId': domainId },
|
|
2229
|
+
{ },
|
|
2230
|
+
{ },
|
|
2231
|
+
{ },
|
|
2228
2232
|
opts['body'],
|
|
2229
2233
|
['PureCloud OAuth'],
|
|
2230
|
-
['application/json'],
|
|
2234
|
+
['application/json'],
|
|
2231
2235
|
['application/json']
|
|
2232
2236
|
);
|
|
2233
2237
|
}
|
|
@@ -2246,13 +2250,13 @@ class RoutingApi {
|
|
|
2246
2250
|
return this.apiClient.callApi(
|
|
2247
2251
|
'/api/v2/routing/email/domains',
|
|
2248
2252
|
'POST',
|
|
2249
|
-
{ },
|
|
2250
|
-
{ },
|
|
2251
|
-
{ },
|
|
2252
|
-
{ },
|
|
2253
|
+
{ },
|
|
2254
|
+
{ },
|
|
2255
|
+
{ },
|
|
2256
|
+
{ },
|
|
2253
2257
|
body,
|
|
2254
2258
|
['PureCloud OAuth'],
|
|
2255
|
-
['application/json'],
|
|
2259
|
+
['application/json'],
|
|
2256
2260
|
['application/json']
|
|
2257
2261
|
);
|
|
2258
2262
|
}
|
|
@@ -2271,13 +2275,13 @@ class RoutingApi {
|
|
|
2271
2275
|
return this.apiClient.callApi(
|
|
2272
2276
|
'/api/v2/routing/languages',
|
|
2273
2277
|
'POST',
|
|
2274
|
-
{ },
|
|
2275
|
-
{ },
|
|
2276
|
-
{ },
|
|
2277
|
-
{ },
|
|
2278
|
+
{ },
|
|
2279
|
+
{ },
|
|
2280
|
+
{ },
|
|
2281
|
+
{ },
|
|
2278
2282
|
body,
|
|
2279
2283
|
['PureCloud OAuth'],
|
|
2280
|
-
['application/json'],
|
|
2284
|
+
['application/json'],
|
|
2281
2285
|
['application/json']
|
|
2282
2286
|
);
|
|
2283
2287
|
}
|
|
@@ -2295,13 +2299,13 @@ class RoutingApi {
|
|
|
2295
2299
|
return this.apiClient.callApi(
|
|
2296
2300
|
'/api/v2/routing/predictors',
|
|
2297
2301
|
'POST',
|
|
2298
|
-
{ },
|
|
2299
|
-
{ },
|
|
2300
|
-
{ },
|
|
2301
|
-
{ },
|
|
2302
|
+
{ },
|
|
2303
|
+
{ },
|
|
2304
|
+
{ },
|
|
2305
|
+
{ },
|
|
2302
2306
|
opts['body'],
|
|
2303
2307
|
['PureCloud OAuth'],
|
|
2304
|
-
['application/json'],
|
|
2308
|
+
['application/json'],
|
|
2305
2309
|
['application/json']
|
|
2306
2310
|
);
|
|
2307
2311
|
}
|
|
@@ -2329,13 +2333,13 @@ class RoutingApi {
|
|
|
2329
2333
|
return this.apiClient.callApi(
|
|
2330
2334
|
'/api/v2/routing/queues/{queueId}/members',
|
|
2331
2335
|
'POST',
|
|
2332
|
-
{ 'queueId': queueId },
|
|
2333
|
-
{ 'delete': opts['_delete'] },
|
|
2334
|
-
{ },
|
|
2335
|
-
{ },
|
|
2336
|
+
{ 'queueId': queueId },
|
|
2337
|
+
{ 'delete': opts['_delete'] },
|
|
2338
|
+
{ },
|
|
2339
|
+
{ },
|
|
2336
2340
|
body,
|
|
2337
2341
|
['PureCloud OAuth'],
|
|
2338
|
-
['application/json'],
|
|
2342
|
+
['application/json'],
|
|
2339
2343
|
['application/json']
|
|
2340
2344
|
);
|
|
2341
2345
|
}
|
|
@@ -2363,13 +2367,13 @@ class RoutingApi {
|
|
|
2363
2367
|
return this.apiClient.callApi(
|
|
2364
2368
|
'/api/v2/routing/queues/{queueId}/users',
|
|
2365
2369
|
'POST',
|
|
2366
|
-
{ 'queueId': queueId },
|
|
2367
|
-
{ 'delete': opts['_delete'] },
|
|
2368
|
-
{ },
|
|
2369
|
-
{ },
|
|
2370
|
+
{ 'queueId': queueId },
|
|
2371
|
+
{ 'delete': opts['_delete'] },
|
|
2372
|
+
{ },
|
|
2373
|
+
{ },
|
|
2370
2374
|
body,
|
|
2371
2375
|
['PureCloud OAuth'],
|
|
2372
|
-
['application/json'],
|
|
2376
|
+
['application/json'],
|
|
2373
2377
|
['application/json']
|
|
2374
2378
|
);
|
|
2375
2379
|
}
|
|
@@ -2393,13 +2397,13 @@ class RoutingApi {
|
|
|
2393
2397
|
return this.apiClient.callApi(
|
|
2394
2398
|
'/api/v2/routing/queues/{queueId}/wrapupcodes',
|
|
2395
2399
|
'POST',
|
|
2396
|
-
{ 'queueId': queueId },
|
|
2397
|
-
{ },
|
|
2398
|
-
{ },
|
|
2399
|
-
{ },
|
|
2400
|
+
{ 'queueId': queueId },
|
|
2401
|
+
{ },
|
|
2402
|
+
{ },
|
|
2403
|
+
{ },
|
|
2400
2404
|
body,
|
|
2401
2405
|
['PureCloud OAuth'],
|
|
2402
|
-
['application/json'],
|
|
2406
|
+
['application/json'],
|
|
2403
2407
|
['application/json']
|
|
2404
2408
|
);
|
|
2405
2409
|
}
|
|
@@ -2418,13 +2422,13 @@ class RoutingApi {
|
|
|
2418
2422
|
return this.apiClient.callApi(
|
|
2419
2423
|
'/api/v2/routing/queues',
|
|
2420
2424
|
'POST',
|
|
2421
|
-
{ },
|
|
2422
|
-
{ },
|
|
2423
|
-
{ },
|
|
2424
|
-
{ },
|
|
2425
|
+
{ },
|
|
2426
|
+
{ },
|
|
2427
|
+
{ },
|
|
2428
|
+
{ },
|
|
2425
2429
|
body,
|
|
2426
2430
|
['PureCloud OAuth'],
|
|
2427
|
-
['application/json'],
|
|
2431
|
+
['application/json'],
|
|
2428
2432
|
['application/json']
|
|
2429
2433
|
);
|
|
2430
2434
|
}
|
|
@@ -2443,13 +2447,13 @@ class RoutingApi {
|
|
|
2443
2447
|
return this.apiClient.callApi(
|
|
2444
2448
|
'/api/v2/routing/skills',
|
|
2445
2449
|
'POST',
|
|
2446
|
-
{ },
|
|
2447
|
-
{ },
|
|
2448
|
-
{ },
|
|
2449
|
-
{ },
|
|
2450
|
+
{ },
|
|
2451
|
+
{ },
|
|
2452
|
+
{ },
|
|
2453
|
+
{ },
|
|
2450
2454
|
body,
|
|
2451
2455
|
['PureCloud OAuth'],
|
|
2452
|
-
['application/json'],
|
|
2456
|
+
['application/json'],
|
|
2453
2457
|
['application/json']
|
|
2454
2458
|
);
|
|
2455
2459
|
}
|
|
@@ -2468,13 +2472,13 @@ class RoutingApi {
|
|
|
2468
2472
|
return this.apiClient.callApi(
|
|
2469
2473
|
'/api/v2/routing/sms/addresses',
|
|
2470
2474
|
'POST',
|
|
2471
|
-
{ },
|
|
2472
|
-
{ },
|
|
2473
|
-
{ },
|
|
2474
|
-
{ },
|
|
2475
|
+
{ },
|
|
2476
|
+
{ },
|
|
2477
|
+
{ },
|
|
2478
|
+
{ },
|
|
2475
2479
|
body,
|
|
2476
2480
|
['PureCloud OAuth'],
|
|
2477
|
-
['application/json'],
|
|
2481
|
+
['application/json'],
|
|
2478
2482
|
['application/json']
|
|
2479
2483
|
);
|
|
2480
2484
|
}
|
|
@@ -2484,7 +2488,7 @@ class RoutingApi {
|
|
|
2484
2488
|
*
|
|
2485
2489
|
* @param {Object} body SmsPhoneNumber
|
|
2486
2490
|
* @param {Object} opts Optional parameters
|
|
2487
|
-
* @param {Boolean} opts.async Provision a new phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the provisioning of a new phone number. Check the phoneNumber
|
|
2491
|
+
* @param {Boolean} opts.async Provision a new phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the provisioning of a new phone number. Check the phoneNumber's provisioningStatus for completion of this request. (default to false)
|
|
2488
2492
|
*/
|
|
2489
2493
|
postRoutingSmsPhonenumbers(body, opts) {
|
|
2490
2494
|
opts = opts || {};
|
|
@@ -2497,13 +2501,13 @@ class RoutingApi {
|
|
|
2497
2501
|
return this.apiClient.callApi(
|
|
2498
2502
|
'/api/v2/routing/sms/phonenumbers',
|
|
2499
2503
|
'POST',
|
|
2500
|
-
{ },
|
|
2501
|
-
{ 'async': opts['async'] },
|
|
2502
|
-
{ },
|
|
2503
|
-
{ },
|
|
2504
|
+
{ },
|
|
2505
|
+
{ 'async': opts['async'] },
|
|
2506
|
+
{ },
|
|
2507
|
+
{ },
|
|
2504
2508
|
body,
|
|
2505
2509
|
['PureCloud OAuth'],
|
|
2506
|
-
['application/json'],
|
|
2510
|
+
['application/json'],
|
|
2507
2511
|
['application/json']
|
|
2508
2512
|
);
|
|
2509
2513
|
}
|
|
@@ -2522,13 +2526,13 @@ class RoutingApi {
|
|
|
2522
2526
|
return this.apiClient.callApi(
|
|
2523
2527
|
'/api/v2/routing/wrapupcodes',
|
|
2524
2528
|
'POST',
|
|
2525
|
-
{ },
|
|
2526
|
-
{ },
|
|
2527
|
-
{ },
|
|
2528
|
-
{ },
|
|
2529
|
+
{ },
|
|
2530
|
+
{ },
|
|
2531
|
+
{ },
|
|
2532
|
+
{ },
|
|
2529
2533
|
body,
|
|
2530
2534
|
['PureCloud OAuth'],
|
|
2531
|
-
['application/json'],
|
|
2535
|
+
['application/json'],
|
|
2532
2536
|
['application/json']
|
|
2533
2537
|
);
|
|
2534
2538
|
}
|
|
@@ -2552,13 +2556,13 @@ class RoutingApi {
|
|
|
2552
2556
|
return this.apiClient.callApi(
|
|
2553
2557
|
'/api/v2/users/{userId}/routinglanguages',
|
|
2554
2558
|
'POST',
|
|
2555
|
-
{ 'userId': userId },
|
|
2556
|
-
{ },
|
|
2557
|
-
{ },
|
|
2558
|
-
{ },
|
|
2559
|
+
{ 'userId': userId },
|
|
2560
|
+
{ },
|
|
2561
|
+
{ },
|
|
2562
|
+
{ },
|
|
2559
2563
|
body,
|
|
2560
2564
|
['PureCloud OAuth'],
|
|
2561
|
-
['application/json'],
|
|
2565
|
+
['application/json'],
|
|
2562
2566
|
['application/json']
|
|
2563
2567
|
);
|
|
2564
2568
|
}
|
|
@@ -2582,13 +2586,13 @@ class RoutingApi {
|
|
|
2582
2586
|
return this.apiClient.callApi(
|
|
2583
2587
|
'/api/v2/users/{userId}/routingskills',
|
|
2584
2588
|
'POST',
|
|
2585
|
-
{ 'userId': userId },
|
|
2586
|
-
{ },
|
|
2587
|
-
{ },
|
|
2588
|
-
{ },
|
|
2589
|
+
{ 'userId': userId },
|
|
2590
|
+
{ },
|
|
2591
|
+
{ },
|
|
2592
|
+
{ },
|
|
2589
2593
|
body,
|
|
2590
2594
|
['PureCloud OAuth'],
|
|
2591
|
-
['application/json'],
|
|
2595
|
+
['application/json'],
|
|
2592
2596
|
['application/json']
|
|
2593
2597
|
);
|
|
2594
2598
|
}
|
|
@@ -2617,13 +2621,13 @@ class RoutingApi {
|
|
|
2617
2621
|
return this.apiClient.callApi(
|
|
2618
2622
|
'/api/v2/routing/email/domains/{domainName}/routes/{routeId}',
|
|
2619
2623
|
'PUT',
|
|
2620
|
-
{ 'domainName': domainName,'routeId': routeId },
|
|
2621
|
-
{ },
|
|
2622
|
-
{ },
|
|
2623
|
-
{ },
|
|
2624
|
+
{ 'domainName': domainName,'routeId': routeId },
|
|
2625
|
+
{ },
|
|
2626
|
+
{ },
|
|
2627
|
+
{ },
|
|
2624
2628
|
body,
|
|
2625
2629
|
['PureCloud OAuth'],
|
|
2626
|
-
['application/json'],
|
|
2630
|
+
['application/json'],
|
|
2627
2631
|
['application/json']
|
|
2628
2632
|
);
|
|
2629
2633
|
}
|
|
@@ -2647,13 +2651,13 @@ class RoutingApi {
|
|
|
2647
2651
|
return this.apiClient.callApi(
|
|
2648
2652
|
'/api/v2/routing/message/recipients/{recipientId}',
|
|
2649
2653
|
'PUT',
|
|
2650
|
-
{ 'recipientId': recipientId },
|
|
2651
|
-
{ },
|
|
2652
|
-
{ },
|
|
2653
|
-
{ },
|
|
2654
|
+
{ 'recipientId': recipientId },
|
|
2655
|
+
{ },
|
|
2656
|
+
{ },
|
|
2657
|
+
{ },
|
|
2654
2658
|
body,
|
|
2655
2659
|
['PureCloud OAuth'],
|
|
2656
|
-
['application/json'],
|
|
2660
|
+
['application/json'],
|
|
2657
2661
|
['application/json']
|
|
2658
2662
|
);
|
|
2659
2663
|
}
|
|
@@ -2677,19 +2681,19 @@ class RoutingApi {
|
|
|
2677
2681
|
return this.apiClient.callApi(
|
|
2678
2682
|
'/api/v2/routing/queues/{queueId}',
|
|
2679
2683
|
'PUT',
|
|
2680
|
-
{ 'queueId': queueId },
|
|
2681
|
-
{ },
|
|
2682
|
-
{ },
|
|
2683
|
-
{ },
|
|
2684
|
+
{ 'queueId': queueId },
|
|
2685
|
+
{ },
|
|
2686
|
+
{ },
|
|
2687
|
+
{ },
|
|
2684
2688
|
body,
|
|
2685
2689
|
['PureCloud OAuth'],
|
|
2686
|
-
['application/json'],
|
|
2690
|
+
['application/json'],
|
|
2687
2691
|
['application/json']
|
|
2688
2692
|
);
|
|
2689
2693
|
}
|
|
2690
2694
|
|
|
2691
2695
|
/**
|
|
2692
|
-
* Update an organization
|
|
2696
|
+
* Update an organization's routing settings
|
|
2693
2697
|
*
|
|
2694
2698
|
* @param {Object} body Organization Settings
|
|
2695
2699
|
*/
|
|
@@ -2702,13 +2706,13 @@ class RoutingApi {
|
|
|
2702
2706
|
return this.apiClient.callApi(
|
|
2703
2707
|
'/api/v2/routing/settings',
|
|
2704
2708
|
'PUT',
|
|
2705
|
-
{ },
|
|
2706
|
-
{ },
|
|
2707
|
-
{ },
|
|
2708
|
-
{ },
|
|
2709
|
+
{ },
|
|
2710
|
+
{ },
|
|
2711
|
+
{ },
|
|
2712
|
+
{ },
|
|
2709
2713
|
body,
|
|
2710
2714
|
['PureCloud OAuth'],
|
|
2711
|
-
['application/json'],
|
|
2715
|
+
['application/json'],
|
|
2712
2716
|
['application/json']
|
|
2713
2717
|
);
|
|
2714
2718
|
}
|
|
@@ -2727,13 +2731,13 @@ class RoutingApi {
|
|
|
2727
2731
|
return this.apiClient.callApi(
|
|
2728
2732
|
'/api/v2/routing/settings/transcription',
|
|
2729
2733
|
'PUT',
|
|
2730
|
-
{ },
|
|
2731
|
-
{ },
|
|
2732
|
-
{ },
|
|
2733
|
-
{ },
|
|
2734
|
+
{ },
|
|
2735
|
+
{ },
|
|
2736
|
+
{ },
|
|
2737
|
+
{ },
|
|
2734
2738
|
body,
|
|
2735
2739
|
['PureCloud OAuth'],
|
|
2736
|
-
['application/json'],
|
|
2740
|
+
['application/json'],
|
|
2737
2741
|
['application/json']
|
|
2738
2742
|
);
|
|
2739
2743
|
}
|
|
@@ -2744,7 +2748,7 @@ class RoutingApi {
|
|
|
2744
2748
|
* @param {String} addressId Address ID
|
|
2745
2749
|
* @param {Object} body SmsPhoneNumber
|
|
2746
2750
|
* @param {Object} opts Optional parameters
|
|
2747
|
-
* @param {Boolean} opts.async Update an existing phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the update of a provisioned phone number. Check the phoneNumber
|
|
2751
|
+
* @param {Boolean} opts.async Update an existing phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the update of a provisioned phone number. Check the phoneNumber's provisioningStatus for the progress of this request. (default to false)
|
|
2748
2752
|
*/
|
|
2749
2753
|
putRoutingSmsPhonenumber(addressId, body, opts) {
|
|
2750
2754
|
opts = opts || {};
|
|
@@ -2761,19 +2765,19 @@ class RoutingApi {
|
|
|
2761
2765
|
return this.apiClient.callApi(
|
|
2762
2766
|
'/api/v2/routing/sms/phonenumbers/{addressId}',
|
|
2763
2767
|
'PUT',
|
|
2764
|
-
{ 'addressId': addressId },
|
|
2765
|
-
{ 'async': opts['async'] },
|
|
2766
|
-
{ },
|
|
2767
|
-
{ },
|
|
2768
|
+
{ 'addressId': addressId },
|
|
2769
|
+
{ 'async': opts['async'] },
|
|
2770
|
+
{ },
|
|
2771
|
+
{ },
|
|
2768
2772
|
body,
|
|
2769
2773
|
['PureCloud OAuth'],
|
|
2770
|
-
['application/json'],
|
|
2774
|
+
['application/json'],
|
|
2771
2775
|
['application/json']
|
|
2772
2776
|
);
|
|
2773
2777
|
}
|
|
2774
2778
|
|
|
2775
2779
|
/**
|
|
2776
|
-
* Update the user
|
|
2780
|
+
* Update the user's max utilization settings. Include only those media types requiring custom configuration.
|
|
2777
2781
|
*
|
|
2778
2782
|
* @param {String} userId User ID
|
|
2779
2783
|
* @param {Object} body utilization
|
|
@@ -2791,13 +2795,13 @@ class RoutingApi {
|
|
|
2791
2795
|
return this.apiClient.callApi(
|
|
2792
2796
|
'/api/v2/routing/users/{userId}/utilization',
|
|
2793
2797
|
'PUT',
|
|
2794
|
-
{ 'userId': userId },
|
|
2795
|
-
{ },
|
|
2796
|
-
{ },
|
|
2797
|
-
{ },
|
|
2798
|
+
{ 'userId': userId },
|
|
2799
|
+
{ },
|
|
2800
|
+
{ },
|
|
2801
|
+
{ },
|
|
2798
2802
|
body,
|
|
2799
2803
|
['PureCloud OAuth'],
|
|
2800
|
-
['application/json'],
|
|
2804
|
+
['application/json'],
|
|
2801
2805
|
['application/json']
|
|
2802
2806
|
);
|
|
2803
2807
|
}
|
|
@@ -2816,13 +2820,13 @@ class RoutingApi {
|
|
|
2816
2820
|
return this.apiClient.callApi(
|
|
2817
2821
|
'/api/v2/routing/utilization',
|
|
2818
2822
|
'PUT',
|
|
2819
|
-
{ },
|
|
2820
|
-
{ },
|
|
2821
|
-
{ },
|
|
2822
|
-
{ },
|
|
2823
|
+
{ },
|
|
2824
|
+
{ },
|
|
2825
|
+
{ },
|
|
2826
|
+
{ },
|
|
2823
2827
|
body,
|
|
2824
2828
|
['PureCloud OAuth'],
|
|
2825
|
-
['application/json'],
|
|
2829
|
+
['application/json'],
|
|
2826
2830
|
['application/json']
|
|
2827
2831
|
);
|
|
2828
2832
|
}
|
|
@@ -2846,13 +2850,13 @@ class RoutingApi {
|
|
|
2846
2850
|
return this.apiClient.callApi(
|
|
2847
2851
|
'/api/v2/routing/wrapupcodes/{codeId}',
|
|
2848
2852
|
'PUT',
|
|
2849
|
-
{ 'codeId': codeId },
|
|
2850
|
-
{ },
|
|
2851
|
-
{ },
|
|
2852
|
-
{ },
|
|
2853
|
+
{ 'codeId': codeId },
|
|
2854
|
+
{ },
|
|
2855
|
+
{ },
|
|
2856
|
+
{ },
|
|
2853
2857
|
body,
|
|
2854
2858
|
['PureCloud OAuth'],
|
|
2855
|
-
['application/json'],
|
|
2859
|
+
['application/json'],
|
|
2856
2860
|
['application/json']
|
|
2857
2861
|
);
|
|
2858
2862
|
}
|
|
@@ -2881,13 +2885,13 @@ class RoutingApi {
|
|
|
2881
2885
|
return this.apiClient.callApi(
|
|
2882
2886
|
'/api/v2/users/{userId}/routingskills/{skillId}',
|
|
2883
2887
|
'PUT',
|
|
2884
|
-
{ 'userId': userId,'skillId': skillId },
|
|
2885
|
-
{ },
|
|
2886
|
-
{ },
|
|
2887
|
-
{ },
|
|
2888
|
+
{ 'userId': userId,'skillId': skillId },
|
|
2889
|
+
{ },
|
|
2890
|
+
{ },
|
|
2891
|
+
{ },
|
|
2888
2892
|
body,
|
|
2889
2893
|
['PureCloud OAuth'],
|
|
2890
|
-
['application/json'],
|
|
2894
|
+
['application/json'],
|
|
2891
2895
|
['application/json']
|
|
2892
2896
|
);
|
|
2893
2897
|
}
|
|
@@ -2911,13 +2915,13 @@ class RoutingApi {
|
|
|
2911
2915
|
return this.apiClient.callApi(
|
|
2912
2916
|
'/api/v2/users/{userId}/routingskills/bulk',
|
|
2913
2917
|
'PUT',
|
|
2914
|
-
{ 'userId': userId },
|
|
2915
|
-
{ },
|
|
2916
|
-
{ },
|
|
2917
|
-
{ },
|
|
2918
|
+
{ 'userId': userId },
|
|
2919
|
+
{ },
|
|
2920
|
+
{ },
|
|
2921
|
+
{ },
|
|
2918
2922
|
body,
|
|
2919
2923
|
['PureCloud OAuth'],
|
|
2920
|
-
['application/json'],
|
|
2924
|
+
['application/json'],
|
|
2921
2925
|
['application/json']
|
|
2922
2926
|
);
|
|
2923
2927
|
}
|