purecloud-platform-client-v2 136.1.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.
Files changed (73) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +9544 -9538
  3. package/dist/web-amd/purecloud-platform-client-v2.js +9544 -9538
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +9544 -9538
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +9544 -9538
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +5262 -74
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +14 -5
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +56 -56
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +231 -231
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +534 -534
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +31 -31
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +212 -212
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +12 -12
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +16 -16
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +96 -96
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +192 -192
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +808 -808
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +17 -17
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +337 -337
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +31 -31
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +11 -11
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +246 -246
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -21
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +26 -26
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +88 -88
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +72 -72
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +171 -171
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +311 -311
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +146 -146
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +131 -131
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +151 -151
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +51 -51
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +107 -107
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +49 -49
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +41 -41
  39. package/src/purecloud-platform-client-v2/api/MessagingApi.js +26 -26
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +26 -26
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +43 -43
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +67 -67
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +50 -50
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +81 -81
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +162 -162
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +608 -608
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +64 -64
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +285 -285
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +302 -302
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +86 -86
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +536 -536
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +195 -195
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +66 -66
  54. package/src/purecloud-platform-client-v2/api/SearchApi.js +96 -96
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +194 -194
  56. package/src/purecloud-platform-client-v2/api/StationsApi.js +28 -28
  57. package/src/purecloud-platform-client-v2/api/SuggestApi.js +21 -21
  58. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +16 -16
  59. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +657 -657
  60. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +23 -23
  61. package/src/purecloud-platform-client-v2/api/TokensApi.js +21 -21
  62. package/src/purecloud-platform-client-v2/api/UploadsApi.js +26 -26
  63. package/src/purecloud-platform-client-v2/api/UsageApi.js +11 -11
  64. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +31 -31
  65. package/src/purecloud-platform-client-v2/api/UsersApi.js +413 -413
  66. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +21 -21
  67. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +140 -140
  68. package/src/purecloud-platform-client-v2/api/WebChatApi.js +97 -97
  69. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +66 -66
  70. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +6 -6
  71. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +26 -26
  72. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +765 -765
  73. 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 136.1.0
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's routing settings
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's max utilization settings and revert to the organization-wide default.
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's pattern property
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
  }
@@ -674,13 +674,13 @@ class RoutingApi {
674
674
  return this.apiClient.callApi(
675
675
  '/api/v2/routing/email/domains',
676
676
  'GET',
677
- { },
678
- { 'excludeStatus': opts['excludeStatus'] },
679
- { },
680
- { },
677
+ { },
678
+ { 'excludeStatus': opts['excludeStatus'] },
679
+ { },
680
+ { },
681
681
  null,
682
682
  ['PureCloud OAuth'],
683
- ['application/json'],
683
+ ['application/json'],
684
684
  ['application/json']
685
685
  );
686
686
  }
@@ -694,13 +694,13 @@ class RoutingApi {
694
694
  return this.apiClient.callApi(
695
695
  '/api/v2/routing/email/setup',
696
696
  'GET',
697
- { },
698
- { },
699
- { },
700
- { },
697
+ { },
698
+ { },
699
+ { },
700
+ { },
701
701
  null,
702
702
  ['PureCloud OAuth'],
703
- ['application/json'],
703
+ ['application/json'],
704
704
  ['application/json']
705
705
  );
706
706
  }
@@ -722,13 +722,13 @@ class RoutingApi {
722
722
  return this.apiClient.callApi(
723
723
  '/api/v2/routing/languages',
724
724
  'GET',
725
- { },
726
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
727
- { },
728
- { },
725
+ { },
726
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
727
+ { },
728
+ { },
729
729
  null,
730
730
  ['PureCloud OAuth'],
731
- ['application/json'],
731
+ ['application/json'],
732
732
  ['application/json']
733
733
  );
734
734
  }
@@ -747,13 +747,13 @@ class RoutingApi {
747
747
  return this.apiClient.callApi(
748
748
  '/api/v2/routing/message/recipients/{recipientId}',
749
749
  'GET',
750
- { 'recipientId': recipientId },
751
- { },
752
- { },
753
- { },
750
+ { 'recipientId': recipientId },
751
+ { },
752
+ { },
753
+ { },
754
754
  null,
755
755
  ['PureCloud OAuth'],
756
- ['application/json'],
756
+ ['application/json'],
757
757
  ['application/json']
758
758
  );
759
759
  }
@@ -773,13 +773,13 @@ class RoutingApi {
773
773
  return this.apiClient.callApi(
774
774
  '/api/v2/routing/message/recipients',
775
775
  'GET',
776
- { },
777
- { 'messengerType': opts['messengerType'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
778
- { },
779
- { },
776
+ { },
777
+ { 'messengerType': opts['messengerType'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
778
+ { },
779
+ { },
780
780
  null,
781
781
  ['PureCloud OAuth'],
782
- ['application/json'],
782
+ ['application/json'],
783
783
  ['application/json']
784
784
  );
785
785
  }
@@ -798,13 +798,13 @@ class RoutingApi {
798
798
  return this.apiClient.callApi(
799
799
  '/api/v2/routing/predictors/{predictorId}',
800
800
  'GET',
801
- { 'predictorId': predictorId },
802
- { },
803
- { },
804
- { },
801
+ { 'predictorId': predictorId },
802
+ { },
803
+ { },
804
+ { },
805
805
  null,
806
806
  ['PureCloud OAuth'],
807
- ['application/json'],
807
+ ['application/json'],
808
808
  ['application/json']
809
809
  );
810
810
  }
@@ -826,13 +826,13 @@ class RoutingApi {
826
826
  return this.apiClient.callApi(
827
827
  '/api/v2/routing/predictors',
828
828
  'GET',
829
- { },
830
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'queueId': this.apiClient.buildCollectionParam(opts['queueId'], 'multi') },
831
- { },
832
- { },
829
+ { },
830
+ { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'queueId': this.apiClient.buildCollectionParam(opts['queueId'], 'multi') },
831
+ { },
832
+ { },
833
833
  null,
834
834
  ['PureCloud OAuth'],
835
- ['application/json'],
835
+ ['application/json'],
836
836
  ['application/json']
837
837
  );
838
838
  }
@@ -846,13 +846,13 @@ class RoutingApi {
846
846
  return this.apiClient.callApi(
847
847
  '/api/v2/routing/predictors/keyperformanceindicators',
848
848
  'GET',
849
- { },
850
- { },
851
- { },
852
- { },
849
+ { },
850
+ { },
851
+ { },
852
+ { },
853
853
  null,
854
854
  ['PureCloud OAuth'],
855
- ['application/json'],
855
+ ['application/json'],
856
856
  ['application/json']
857
857
  );
858
858
  }
@@ -871,13 +871,13 @@ class RoutingApi {
871
871
  return this.apiClient.callApi(
872
872
  '/api/v2/routing/queues/{queueId}',
873
873
  'GET',
874
- { 'queueId': queueId },
875
- { },
876
- { },
877
- { },
874
+ { 'queueId': queueId },
875
+ { },
876
+ { },
877
+ { },
878
878
  null,
879
879
  ['PureCloud OAuth'],
880
- ['application/json'],
880
+ ['application/json'],
881
881
  ['application/json']
882
882
  );
883
883
  }
@@ -901,13 +901,13 @@ class RoutingApi {
901
901
  return this.apiClient.callApi(
902
902
  '/api/v2/routing/queues/{queueId}/comparisonperiods/{comparisonPeriodId}',
903
903
  'GET',
904
- { 'queueId': queueId,'comparisonPeriodId': comparisonPeriodId },
905
- { },
906
- { },
907
- { },
904
+ { 'queueId': queueId,'comparisonPeriodId': comparisonPeriodId },
905
+ { },
906
+ { },
907
+ { },
908
908
  null,
909
909
  ['PureCloud OAuth'],
910
- ['application/json'],
910
+ ['application/json'],
911
911
  ['application/json']
912
912
  );
913
913
  }
@@ -926,13 +926,13 @@ class RoutingApi {
926
926
  return this.apiClient.callApi(
927
927
  '/api/v2/routing/queues/{queueId}/comparisonperiods',
928
928
  'GET',
929
- { 'queueId': queueId },
930
- { },
931
- { },
932
- { },
929
+ { 'queueId': queueId },
930
+ { },
931
+ { },
932
+ { },
933
933
  null,
934
934
  ['PureCloud OAuth'],
935
- ['application/json'],
935
+ ['application/json'],
936
936
  ['application/json']
937
937
  );
938
938
  }
@@ -955,13 +955,13 @@ class RoutingApi {
955
955
  return this.apiClient.callApi(
956
956
  '/api/v2/routing/queues/{queueId}/estimatedwaittime',
957
957
  'GET',
958
- { 'queueId': queueId },
959
- { 'conversationId': opts['conversationId'] },
960
- { },
961
- { },
958
+ { 'queueId': queueId },
959
+ { 'conversationId': opts['conversationId'] },
960
+ { },
961
+ { },
962
962
  null,
963
963
  ['PureCloud OAuth'],
964
- ['application/json'],
964
+ ['application/json'],
965
965
  ['application/json']
966
966
  );
967
967
  }
@@ -985,13 +985,13 @@ class RoutingApi {
985
985
  return this.apiClient.callApi(
986
986
  '/api/v2/routing/queues/{queueId}/mediatypes/{mediaType}/estimatedwaittime',
987
987
  'GET',
988
- { 'queueId': queueId,'mediaType': mediaType },
989
- { },
990
- { },
991
- { },
988
+ { 'queueId': queueId,'mediaType': mediaType },
989
+ { },
990
+ { },
991
+ { },
992
992
  null,
993
993
  ['PureCloud OAuth'],
994
- ['application/json'],
994
+ ['application/json'],
995
995
  ['application/json']
996
996
  );
997
997
  }
@@ -1012,7 +1012,7 @@ class RoutingApi {
1012
1012
  * @param {Array.<String>} opts.routingStatus Filter by routing status
1013
1013
  * @param {Array.<String>} opts.presence Filter by presence
1014
1014
  * @param {Object} opts.memberBy Filter by member type
1015
- * @param {Boolean} opts.joined Filter by joined status
1015
+ * @param {Object} opts.joined Filter by joined status
1016
1016
  */
1017
1017
  getRoutingQueueMembers(queueId, opts) {
1018
1018
  opts = opts || {};
@@ -1025,13 +1025,13 @@ class RoutingApi {
1025
1025
  return this.apiClient.callApi(
1026
1026
  '/api/v2/routing/queues/{queueId}/members',
1027
1027
  'GET',
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
+ { '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
+ { },
1032
1032
  null,
1033
1033
  ['PureCloud OAuth'],
1034
- ['application/json'],
1034
+ ['application/json'],
1035
1035
  ['application/json']
1036
1036
  );
1037
1037
  }
@@ -1064,13 +1064,13 @@ class RoutingApi {
1064
1064
  return this.apiClient.callApi(
1065
1065
  '/api/v2/routing/queues/{queueId}/users',
1066
1066
  'GET',
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
+ { '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
+ { },
1071
1071
  null,
1072
1072
  ['PureCloud OAuth'],
1073
- ['application/json'],
1073
+ ['application/json'],
1074
1074
  ['application/json']
1075
1075
  );
1076
1076
  }
@@ -1094,13 +1094,13 @@ class RoutingApi {
1094
1094
  return this.apiClient.callApi(
1095
1095
  '/api/v2/routing/queues/{queueId}/wrapupcodes',
1096
1096
  'GET',
1097
- { 'queueId': queueId },
1098
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
1099
- { },
1100
- { },
1097
+ { 'queueId': queueId },
1098
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
1099
+ { },
1100
+ { },
1101
1101
  null,
1102
1102
  ['PureCloud OAuth'],
1103
- ['application/json'],
1103
+ ['application/json'],
1104
1104
  ['application/json']
1105
1105
  );
1106
1106
  }
@@ -1123,13 +1123,13 @@ class RoutingApi {
1123
1123
  return this.apiClient.callApi(
1124
1124
  '/api/v2/routing/queues',
1125
1125
  'GET',
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
+ { },
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
+ { },
1130
1130
  null,
1131
1131
  ['PureCloud OAuth'],
1132
- ['application/json'],
1132
+ ['application/json'],
1133
1133
  ['application/json']
1134
1134
  );
1135
1135
  }
@@ -1153,13 +1153,13 @@ class RoutingApi {
1153
1153
  return this.apiClient.callApi(
1154
1154
  '/api/v2/routing/queues/divisionviews',
1155
1155
  'GET',
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
+ { },
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
+ { },
1160
1160
  null,
1161
1161
  ['PureCloud OAuth'],
1162
- ['application/json'],
1162
+ ['application/json'],
1163
1163
  ['application/json']
1164
1164
  );
1165
1165
  }
@@ -1179,13 +1179,13 @@ class RoutingApi {
1179
1179
  return this.apiClient.callApi(
1180
1180
  '/api/v2/routing/queues/divisionviews/all',
1181
1181
  'GET',
1182
- { },
1183
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
1184
- { },
1185
- { },
1182
+ { },
1183
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
1184
+ { },
1185
+ { },
1186
1186
  null,
1187
1187
  ['PureCloud OAuth'],
1188
- ['application/json'],
1188
+ ['application/json'],
1189
1189
  ['application/json']
1190
1190
  );
1191
1191
  }
@@ -1196,7 +1196,7 @@ class RoutingApi {
1196
1196
  * @param {Object} opts Optional parameters
1197
1197
  * @param {Number} opts.pageNumber Page number (default to 1)
1198
1198
  * @param {Number} opts.pageSize Page size (default to 25)
1199
- * @param {Boolean} opts.joined Filter by joined status.
1199
+ * @param {Object} opts.joined Filter by joined status.
1200
1200
  * @param {Object} opts.sortOrder Note: results are sorted by name. (default to asc)
1201
1201
  */
1202
1202
  getRoutingQueuesMe(opts) {
@@ -1206,19 +1206,19 @@ class RoutingApi {
1206
1206
  return this.apiClient.callApi(
1207
1207
  '/api/v2/routing/queues/me',
1208
1208
  'GET',
1209
- { },
1210
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'joined': opts['joined'],'sortOrder': opts['sortOrder'] },
1211
- { },
1212
- { },
1209
+ { },
1210
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'joined': opts['joined'],'sortOrder': opts['sortOrder'] },
1211
+ { },
1212
+ { },
1213
1213
  null,
1214
1214
  ['PureCloud OAuth'],
1215
- ['application/json'],
1215
+ ['application/json'],
1216
1216
  ['application/json']
1217
1217
  );
1218
1218
  }
1219
1219
 
1220
1220
  /**
1221
- * Get an organization&#39;s routing settings
1221
+ * Get an organization's routing settings
1222
1222
  *
1223
1223
  */
1224
1224
  getRoutingSettings() {
@@ -1226,13 +1226,13 @@ class RoutingApi {
1226
1226
  return this.apiClient.callApi(
1227
1227
  '/api/v2/routing/settings',
1228
1228
  'GET',
1229
- { },
1230
- { },
1231
- { },
1232
- { },
1229
+ { },
1230
+ { },
1231
+ { },
1232
+ { },
1233
1233
  null,
1234
1234
  ['PureCloud OAuth'],
1235
- ['application/json'],
1235
+ ['application/json'],
1236
1236
  ['application/json']
1237
1237
  );
1238
1238
  }
@@ -1246,13 +1246,13 @@ class RoutingApi {
1246
1246
  return this.apiClient.callApi(
1247
1247
  '/api/v2/routing/settings/contactcenter',
1248
1248
  'GET',
1249
- { },
1250
- { },
1251
- { },
1252
- { },
1249
+ { },
1250
+ { },
1251
+ { },
1252
+ { },
1253
1253
  null,
1254
1254
  ['PureCloud OAuth'],
1255
- ['application/json'],
1255
+ ['application/json'],
1256
1256
  ['application/json']
1257
1257
  );
1258
1258
  }
@@ -1266,13 +1266,13 @@ class RoutingApi {
1266
1266
  return this.apiClient.callApi(
1267
1267
  '/api/v2/routing/settings/transcription',
1268
1268
  'GET',
1269
- { },
1270
- { },
1271
- { },
1272
- { },
1269
+ { },
1270
+ { },
1271
+ { },
1272
+ { },
1273
1273
  null,
1274
1274
  ['PureCloud OAuth'],
1275
- ['application/json'],
1275
+ ['application/json'],
1276
1276
  ['application/json']
1277
1277
  );
1278
1278
  }
@@ -1291,13 +1291,13 @@ class RoutingApi {
1291
1291
  return this.apiClient.callApi(
1292
1292
  '/api/v2/routing/skills/{skillId}',
1293
1293
  'GET',
1294
- { 'skillId': skillId },
1295
- { },
1296
- { },
1297
- { },
1294
+ { 'skillId': skillId },
1295
+ { },
1296
+ { },
1297
+ { },
1298
1298
  null,
1299
1299
  ['PureCloud OAuth'],
1300
- ['application/json'],
1300
+ ['application/json'],
1301
1301
  ['application/json']
1302
1302
  );
1303
1303
  }
@@ -1318,13 +1318,13 @@ class RoutingApi {
1318
1318
  return this.apiClient.callApi(
1319
1319
  '/api/v2/routing/skills',
1320
1320
  'GET',
1321
- { },
1322
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
1323
- { },
1324
- { },
1321
+ { },
1322
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
1323
+ { },
1324
+ { },
1325
1325
  null,
1326
1326
  ['PureCloud OAuth'],
1327
- ['application/json'],
1327
+ ['application/json'],
1328
1328
  ['application/json']
1329
1329
  );
1330
1330
  }
@@ -1343,13 +1343,13 @@ class RoutingApi {
1343
1343
  return this.apiClient.callApi(
1344
1344
  '/api/v2/routing/sms/addresses/{addressId}',
1345
1345
  'GET',
1346
- { 'addressId': addressId },
1347
- { },
1348
- { },
1349
- { },
1346
+ { 'addressId': addressId },
1347
+ { },
1348
+ { },
1349
+ { },
1350
1350
  null,
1351
1351
  ['PureCloud OAuth'],
1352
- ['application/json'],
1352
+ ['application/json'],
1353
1353
  ['application/json']
1354
1354
  );
1355
1355
  }
@@ -1368,13 +1368,13 @@ class RoutingApi {
1368
1368
  return this.apiClient.callApi(
1369
1369
  '/api/v2/routing/sms/addresses',
1370
1370
  'GET',
1371
- { },
1372
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
1373
- { },
1374
- { },
1371
+ { },
1372
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
1373
+ { },
1374
+ { },
1375
1375
  null,
1376
1376
  ['PureCloud OAuth'],
1377
- ['application/json'],
1377
+ ['application/json'],
1378
1378
  ['application/json']
1379
1379
  );
1380
1380
  }
@@ -1388,7 +1388,7 @@ class RoutingApi {
1388
1388
  * @param {String} opts.region Region/province/state that can be used to restrict the numbers returned
1389
1389
  * @param {String} opts.city City that can be used to restrict the numbers returned
1390
1390
  * @param {String} opts.areaCode Area code that can be used to restrict the numbers returned
1391
- * @param {String} opts.pattern A pattern to match phone numbers. Valid characters are &#39;*&#39; and [0-9a-zA-Z]. The &#39;*&#39; character will match any single digit.
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.
1392
1392
  * @param {Object} opts.addressRequirement This indicates whether the phone number requires to have an Address registered.
1393
1393
  */
1394
1394
  getRoutingSmsAvailablephonenumbers(countryCode, phoneNumberType, opts) {
@@ -1406,13 +1406,13 @@ class RoutingApi {
1406
1406
  return this.apiClient.callApi(
1407
1407
  '/api/v2/routing/sms/availablephonenumbers',
1408
1408
  'GET',
1409
- { },
1410
- { 'countryCode': countryCode,'region': opts['region'],'city': opts['city'],'areaCode': opts['areaCode'],'phoneNumberType': phoneNumberType,'pattern': opts['pattern'],'addressRequirement': opts['addressRequirement'] },
1411
- { },
1412
- { },
1409
+ { },
1410
+ { 'countryCode': countryCode,'region': opts['region'],'city': opts['city'],'areaCode': opts['areaCode'],'phoneNumberType': phoneNumberType,'pattern': opts['pattern'],'addressRequirement': opts['addressRequirement'] },
1411
+ { },
1412
+ { },
1413
1413
  null,
1414
1414
  ['PureCloud OAuth'],
1415
- ['application/json'],
1415
+ ['application/json'],
1416
1416
  ['application/json']
1417
1417
  );
1418
1418
  }
@@ -1431,13 +1431,13 @@ class RoutingApi {
1431
1431
  return this.apiClient.callApi(
1432
1432
  '/api/v2/routing/sms/phonenumbers/{addressId}',
1433
1433
  'GET',
1434
- { 'addressId': addressId },
1435
- { },
1436
- { },
1437
- { },
1434
+ { 'addressId': addressId },
1435
+ { },
1436
+ { },
1437
+ { },
1438
1438
  null,
1439
1439
  ['PureCloud OAuth'],
1440
- ['application/json'],
1440
+ ['application/json'],
1441
1441
  ['application/json']
1442
1442
  );
1443
1443
  }
@@ -1446,7 +1446,7 @@ class RoutingApi {
1446
1446
  * Get a list of provisioned phone numbers.
1447
1447
  *
1448
1448
  * @param {Object} opts Optional parameters
1449
- * @param {String} opts.phoneNumber Filter on phone number address. Allowable characters are the digits &#39;0-9&#39; and the wild card character &#39;\\*&#39;. If just digits are present, a contains search is done on the address pattern. For example, &#39;317&#39; could be matched anywhere in the address. An &#39;\\*&#39; will match multiple digits. For example, to match a specific area code within the US a pattern like &#39;1317*&#39; could be used.
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.
1450
1450
  * @param {Array.<String>} opts.phoneNumberType Filter on phone number type
1451
1451
  * @param {Array.<String>} opts.phoneNumberStatus Filter on phone number status
1452
1452
  * @param {Array.<String>} opts.countryCode Filter on country code
@@ -1454,7 +1454,7 @@ class RoutingApi {
1454
1454
  * @param {Number} opts.pageNumber Page number (default to 1)
1455
1455
  * @param {Object} opts.sortBy Optional field to sort results
1456
1456
  * @param {Object} opts.sortOrder Sort order
1457
- * @param {String} opts.language A language tag (which is sometimes referred to as a \&quot;locale identifier\&quot;) to use to localize country field and sort operations (default to en-US)
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)
1458
1458
  */
1459
1459
  getRoutingSmsPhonenumbers(opts) {
1460
1460
  opts = opts || {};
@@ -1463,19 +1463,19 @@ class RoutingApi {
1463
1463
  return this.apiClient.callApi(
1464
1464
  '/api/v2/routing/sms/phonenumbers',
1465
1465
  'GET',
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
+ { },
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
+ { },
1470
1470
  null,
1471
1471
  ['PureCloud OAuth'],
1472
- ['application/json'],
1472
+ ['application/json'],
1473
1473
  ['application/json']
1474
1474
  );
1475
1475
  }
1476
1476
 
1477
1477
  /**
1478
- * Get the user&#39;s max utilization settings. If not configured, the organization-wide default is returned.
1478
+ * Get the user's max utilization settings. If not configured, the organization-wide default is returned.
1479
1479
  *
1480
1480
  * @param {String} userId User ID
1481
1481
  */
@@ -1488,13 +1488,13 @@ class RoutingApi {
1488
1488
  return this.apiClient.callApi(
1489
1489
  '/api/v2/routing/users/{userId}/utilization',
1490
1490
  'GET',
1491
- { 'userId': userId },
1492
- { },
1493
- { },
1494
- { },
1491
+ { 'userId': userId },
1492
+ { },
1493
+ { },
1494
+ { },
1495
1495
  null,
1496
1496
  ['PureCloud OAuth'],
1497
- ['application/json'],
1497
+ ['application/json'],
1498
1498
  ['application/json']
1499
1499
  );
1500
1500
  }
@@ -1508,13 +1508,13 @@ class RoutingApi {
1508
1508
  return this.apiClient.callApi(
1509
1509
  '/api/v2/routing/utilization',
1510
1510
  'GET',
1511
- { },
1512
- { },
1513
- { },
1514
- { },
1511
+ { },
1512
+ { },
1513
+ { },
1514
+ { },
1515
1515
  null,
1516
1516
  ['PureCloud OAuth'],
1517
- ['application/json'],
1517
+ ['application/json'],
1518
1518
  ['application/json']
1519
1519
  );
1520
1520
  }
@@ -1533,13 +1533,13 @@ class RoutingApi {
1533
1533
  return this.apiClient.callApi(
1534
1534
  '/api/v2/routing/wrapupcodes/{codeId}',
1535
1535
  'GET',
1536
- { 'codeId': codeId },
1537
- { },
1538
- { },
1539
- { },
1536
+ { 'codeId': codeId },
1537
+ { },
1538
+ { },
1539
+ { },
1540
1540
  null,
1541
1541
  ['PureCloud OAuth'],
1542
- ['application/json'],
1542
+ ['application/json'],
1543
1543
  ['application/json']
1544
1544
  );
1545
1545
  }
@@ -1552,7 +1552,7 @@ class RoutingApi {
1552
1552
  * @param {Number} opts.pageNumber Page number (default to 1)
1553
1553
  * @param {Object} opts.sortBy Sort by (default to name)
1554
1554
  * @param {Object} opts.sortOrder Sort order (default to ascending)
1555
- * @param {String} opts.name Wrapup code&#39;s name (&#39;Sort by&#39; param is ignored unless this field is provided)
1555
+ * @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
1556
1556
  */
1557
1557
  getRoutingWrapupcodes(opts) {
1558
1558
  opts = opts || {};
@@ -1561,13 +1561,13 @@ class RoutingApi {
1561
1561
  return this.apiClient.callApi(
1562
1562
  '/api/v2/routing/wrapupcodes',
1563
1563
  'GET',
1564
- { },
1565
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
1566
- { },
1567
- { },
1564
+ { },
1565
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
1566
+ { },
1567
+ { },
1568
1568
  null,
1569
1569
  ['PureCloud OAuth'],
1570
- ['application/json'],
1570
+ ['application/json'],
1571
1571
  ['application/json']
1572
1572
  );
1573
1573
  }
@@ -1593,13 +1593,13 @@ class RoutingApi {
1593
1593
  return this.apiClient.callApi(
1594
1594
  '/api/v2/users/{userId}/queues',
1595
1595
  'GET',
1596
- { 'userId': userId },
1597
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'joined': opts['joined'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1598
- { },
1599
- { },
1596
+ { 'userId': userId },
1597
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'joined': opts['joined'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1598
+ { },
1599
+ { },
1600
1600
  null,
1601
1601
  ['PureCloud OAuth'],
1602
- ['application/json'],
1602
+ ['application/json'],
1603
1603
  ['application/json']
1604
1604
  );
1605
1605
  }
@@ -1624,13 +1624,13 @@ class RoutingApi {
1624
1624
  return this.apiClient.callApi(
1625
1625
  '/api/v2/users/{userId}/routinglanguages',
1626
1626
  'GET',
1627
- { 'userId': userId },
1628
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
1629
- { },
1630
- { },
1627
+ { 'userId': userId },
1628
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
1629
+ { },
1630
+ { },
1631
1631
  null,
1632
1632
  ['PureCloud OAuth'],
1633
- ['application/json'],
1633
+ ['application/json'],
1634
1634
  ['application/json']
1635
1635
  );
1636
1636
  }
@@ -1655,13 +1655,13 @@ class RoutingApi {
1655
1655
  return this.apiClient.callApi(
1656
1656
  '/api/v2/users/{userId}/routingskills',
1657
1657
  'GET',
1658
- { 'userId': userId },
1659
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
1660
- { },
1661
- { },
1658
+ { 'userId': userId },
1659
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
1660
+ { },
1661
+ { },
1662
1662
  null,
1663
1663
  ['PureCloud OAuth'],
1664
- ['application/json'],
1664
+ ['application/json'],
1665
1665
  ['application/json']
1666
1666
  );
1667
1667
  }
@@ -1685,13 +1685,13 @@ class RoutingApi {
1685
1685
  return this.apiClient.callApi(
1686
1686
  '/api/v2/routing/conversations/{conversationId}',
1687
1687
  'PATCH',
1688
- { 'conversationId': conversationId },
1689
- { },
1690
- { },
1691
- { },
1688
+ { 'conversationId': conversationId },
1689
+ { },
1690
+ { },
1691
+ { },
1692
1692
  body,
1693
1693
  ['PureCloud OAuth'],
1694
- ['application/json'],
1694
+ ['application/json'],
1695
1695
  ['application/json']
1696
1696
  );
1697
1697
  }
@@ -1715,13 +1715,13 @@ class RoutingApi {
1715
1715
  return this.apiClient.callApi(
1716
1716
  '/api/v2/routing/email/domains/{domainId}',
1717
1717
  'PATCH',
1718
- { 'domainId': domainId },
1719
- { },
1720
- { },
1721
- { },
1718
+ { 'domainId': domainId },
1719
+ { },
1720
+ { },
1721
+ { },
1722
1722
  body,
1723
1723
  ['PureCloud OAuth'],
1724
- ['application/json'],
1724
+ ['application/json'],
1725
1725
  ['application/json']
1726
1726
  );
1727
1727
  }
@@ -1745,13 +1745,13 @@ class RoutingApi {
1745
1745
  return this.apiClient.callApi(
1746
1746
  '/api/v2/routing/email/domains/{domainId}/validate',
1747
1747
  'PATCH',
1748
- { 'domainId': domainId },
1749
- { },
1750
- { },
1751
- { },
1748
+ { 'domainId': domainId },
1749
+ { },
1750
+ { },
1751
+ { },
1752
1752
  body,
1753
1753
  ['PureCloud OAuth'],
1754
- ['application/json'],
1754
+ ['application/json'],
1755
1755
  ['application/json']
1756
1756
  );
1757
1757
  }
@@ -1774,13 +1774,13 @@ class RoutingApi {
1774
1774
  return this.apiClient.callApi(
1775
1775
  '/api/v2/routing/predictors/{predictorId}',
1776
1776
  'PATCH',
1777
- { 'predictorId': predictorId },
1778
- { },
1779
- { },
1780
- { },
1777
+ { 'predictorId': predictorId },
1778
+ { },
1779
+ { },
1780
+ { },
1781
1781
  opts['body'],
1782
1782
  ['PureCloud OAuth'],
1783
- ['application/json'],
1783
+ ['application/json'],
1784
1784
  ['application/json']
1785
1785
  );
1786
1786
  }
@@ -1809,13 +1809,13 @@ class RoutingApi {
1809
1809
  return this.apiClient.callApi(
1810
1810
  '/api/v2/routing/queues/{queueId}/members/{memberId}',
1811
1811
  'PATCH',
1812
- { 'queueId': queueId,'memberId': memberId },
1813
- { },
1814
- { },
1815
- { },
1812
+ { 'queueId': queueId,'memberId': memberId },
1813
+ { },
1814
+ { },
1815
+ { },
1816
1816
  body,
1817
1817
  ['PureCloud OAuth'],
1818
- ['application/json'],
1818
+ ['application/json'],
1819
1819
  ['application/json']
1820
1820
  );
1821
1821
  }
@@ -1839,13 +1839,13 @@ class RoutingApi {
1839
1839
  return this.apiClient.callApi(
1840
1840
  '/api/v2/routing/queues/{queueId}/members',
1841
1841
  'PATCH',
1842
- { 'queueId': queueId },
1843
- { },
1844
- { },
1845
- { },
1842
+ { 'queueId': queueId },
1843
+ { },
1844
+ { },
1845
+ { },
1846
1846
  body,
1847
1847
  ['PureCloud OAuth'],
1848
- ['application/json'],
1848
+ ['application/json'],
1849
1849
  ['application/json']
1850
1850
  );
1851
1851
  }
@@ -1874,13 +1874,13 @@ class RoutingApi {
1874
1874
  return this.apiClient.callApi(
1875
1875
  '/api/v2/routing/queues/{queueId}/users/{memberId}',
1876
1876
  'PATCH',
1877
- { 'queueId': queueId,'memberId': memberId },
1878
- { },
1879
- { },
1880
- { },
1877
+ { 'queueId': queueId,'memberId': memberId },
1878
+ { },
1879
+ { },
1880
+ { },
1881
1881
  body,
1882
1882
  ['PureCloud OAuth'],
1883
- ['application/json'],
1883
+ ['application/json'],
1884
1884
  ['application/json']
1885
1885
  );
1886
1886
  }
@@ -1904,13 +1904,13 @@ class RoutingApi {
1904
1904
  return this.apiClient.callApi(
1905
1905
  '/api/v2/routing/queues/{queueId}/users',
1906
1906
  'PATCH',
1907
- { 'queueId': queueId },
1908
- { },
1909
- { },
1910
- { },
1907
+ { 'queueId': queueId },
1908
+ { },
1909
+ { },
1910
+ { },
1911
1911
  body,
1912
1912
  ['PureCloud OAuth'],
1913
- ['application/json'],
1913
+ ['application/json'],
1914
1914
  ['application/json']
1915
1915
  );
1916
1916
  }
@@ -1929,13 +1929,13 @@ class RoutingApi {
1929
1929
  return this.apiClient.callApi(
1930
1930
  '/api/v2/routing/settings/contactcenter',
1931
1931
  'PATCH',
1932
- { },
1933
- { },
1934
- { },
1935
- { },
1932
+ { },
1933
+ { },
1934
+ { },
1935
+ { },
1936
1936
  body,
1937
1937
  ['PureCloud OAuth'],
1938
- ['application/json'],
1938
+ ['application/json'],
1939
1939
  ['application/json']
1940
1940
  );
1941
1941
  }
@@ -1964,13 +1964,13 @@ class RoutingApi {
1964
1964
  return this.apiClient.callApi(
1965
1965
  '/api/v2/users/{userId}/queues/{queueId}',
1966
1966
  'PATCH',
1967
- { 'queueId': queueId,'userId': userId },
1968
- { },
1969
- { },
1970
- { },
1967
+ { 'queueId': queueId,'userId': userId },
1968
+ { },
1969
+ { },
1970
+ { },
1971
1971
  body,
1972
1972
  ['PureCloud OAuth'],
1973
- ['application/json'],
1973
+ ['application/json'],
1974
1974
  ['application/json']
1975
1975
  );
1976
1976
  }
@@ -1998,13 +1998,13 @@ class RoutingApi {
1998
1998
  return this.apiClient.callApi(
1999
1999
  '/api/v2/users/{userId}/queues',
2000
2000
  'PATCH',
2001
- { 'userId': userId },
2002
- { 'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
2003
- { },
2004
- { },
2001
+ { 'userId': userId },
2002
+ { 'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
2003
+ { },
2004
+ { },
2005
2005
  body,
2006
2006
  ['PureCloud OAuth'],
2007
- ['application/json'],
2007
+ ['application/json'],
2008
2008
  ['application/json']
2009
2009
  );
2010
2010
  }
@@ -2033,13 +2033,13 @@ class RoutingApi {
2033
2033
  return this.apiClient.callApi(
2034
2034
  '/api/v2/users/{userId}/routinglanguages/{languageId}',
2035
2035
  'PATCH',
2036
- { 'userId': userId,'languageId': languageId },
2037
- { },
2038
- { },
2039
- { },
2036
+ { 'userId': userId,'languageId': languageId },
2037
+ { },
2038
+ { },
2039
+ { },
2040
2040
  body,
2041
2041
  ['PureCloud OAuth'],
2042
- ['application/json'],
2042
+ ['application/json'],
2043
2043
  ['application/json']
2044
2044
  );
2045
2045
  }
@@ -2063,13 +2063,13 @@ class RoutingApi {
2063
2063
  return this.apiClient.callApi(
2064
2064
  '/api/v2/users/{userId}/routinglanguages/bulk',
2065
2065
  'PATCH',
2066
- { 'userId': userId },
2067
- { },
2068
- { },
2069
- { },
2066
+ { 'userId': userId },
2067
+ { },
2068
+ { },
2069
+ { },
2070
2070
  body,
2071
2071
  ['PureCloud OAuth'],
2072
- ['application/json'],
2072
+ ['application/json'],
2073
2073
  ['application/json']
2074
2074
  );
2075
2075
  }
@@ -2093,13 +2093,13 @@ class RoutingApi {
2093
2093
  return this.apiClient.callApi(
2094
2094
  '/api/v2/users/{userId}/routingskills/bulk',
2095
2095
  'PATCH',
2096
- { 'userId': userId },
2097
- { },
2098
- { },
2099
- { },
2096
+ { 'userId': userId },
2097
+ { },
2098
+ { },
2099
+ { },
2100
2100
  body,
2101
2101
  ['PureCloud OAuth'],
2102
- ['application/json'],
2102
+ ['application/json'],
2103
2103
  ['application/json']
2104
2104
  );
2105
2105
  }
@@ -2118,13 +2118,13 @@ class RoutingApi {
2118
2118
  return this.apiClient.callApi(
2119
2119
  '/api/v2/analytics/queues/observations/query',
2120
2120
  'POST',
2121
- { },
2122
- { },
2123
- { },
2124
- { },
2121
+ { },
2122
+ { },
2123
+ { },
2124
+ { },
2125
2125
  body,
2126
2126
  ['PureCloud OAuth'],
2127
- ['application/json'],
2127
+ ['application/json'],
2128
2128
  ['application/json']
2129
2129
  );
2130
2130
  }
@@ -2142,13 +2142,13 @@ class RoutingApi {
2142
2142
  return this.apiClient.callApi(
2143
2143
  '/api/v2/routing/assessments',
2144
2144
  'POST',
2145
- { },
2146
- { },
2147
- { },
2148
- { },
2145
+ { },
2146
+ { },
2147
+ { },
2148
+ { },
2149
2149
  opts['body'],
2150
2150
  ['PureCloud OAuth'],
2151
- ['application/json'],
2151
+ ['application/json'],
2152
2152
  ['application/json']
2153
2153
  );
2154
2154
  }
@@ -2166,13 +2166,13 @@ class RoutingApi {
2166
2166
  return this.apiClient.callApi(
2167
2167
  '/api/v2/routing/assessments/jobs',
2168
2168
  'POST',
2169
- { },
2170
- { },
2171
- { },
2172
- { },
2169
+ { },
2170
+ { },
2171
+ { },
2172
+ { },
2173
2173
  opts['body'],
2174
2174
  ['PureCloud OAuth'],
2175
- ['application/json'],
2175
+ ['application/json'],
2176
2176
  ['application/json']
2177
2177
  );
2178
2178
  }
@@ -2196,13 +2196,13 @@ class RoutingApi {
2196
2196
  return this.apiClient.callApi(
2197
2197
  '/api/v2/routing/email/domains/{domainName}/routes',
2198
2198
  'POST',
2199
- { 'domainName': domainName },
2200
- { },
2201
- { },
2202
- { },
2199
+ { 'domainName': domainName },
2200
+ { },
2201
+ { },
2202
+ { },
2203
2203
  body,
2204
2204
  ['PureCloud OAuth'],
2205
- ['application/json'],
2205
+ ['application/json'],
2206
2206
  ['application/json']
2207
2207
  );
2208
2208
  }
@@ -2225,13 +2225,13 @@ class RoutingApi {
2225
2225
  return this.apiClient.callApi(
2226
2226
  '/api/v2/routing/email/domains/{domainId}/testconnection',
2227
2227
  'POST',
2228
- { 'domainId': domainId },
2229
- { },
2230
- { },
2231
- { },
2228
+ { 'domainId': domainId },
2229
+ { },
2230
+ { },
2231
+ { },
2232
2232
  opts['body'],
2233
2233
  ['PureCloud OAuth'],
2234
- ['application/json'],
2234
+ ['application/json'],
2235
2235
  ['application/json']
2236
2236
  );
2237
2237
  }
@@ -2250,13 +2250,13 @@ class RoutingApi {
2250
2250
  return this.apiClient.callApi(
2251
2251
  '/api/v2/routing/email/domains',
2252
2252
  'POST',
2253
- { },
2254
- { },
2255
- { },
2256
- { },
2253
+ { },
2254
+ { },
2255
+ { },
2256
+ { },
2257
2257
  body,
2258
2258
  ['PureCloud OAuth'],
2259
- ['application/json'],
2259
+ ['application/json'],
2260
2260
  ['application/json']
2261
2261
  );
2262
2262
  }
@@ -2275,13 +2275,13 @@ class RoutingApi {
2275
2275
  return this.apiClient.callApi(
2276
2276
  '/api/v2/routing/languages',
2277
2277
  'POST',
2278
- { },
2279
- { },
2280
- { },
2281
- { },
2278
+ { },
2279
+ { },
2280
+ { },
2281
+ { },
2282
2282
  body,
2283
2283
  ['PureCloud OAuth'],
2284
- ['application/json'],
2284
+ ['application/json'],
2285
2285
  ['application/json']
2286
2286
  );
2287
2287
  }
@@ -2299,13 +2299,13 @@ class RoutingApi {
2299
2299
  return this.apiClient.callApi(
2300
2300
  '/api/v2/routing/predictors',
2301
2301
  'POST',
2302
- { },
2303
- { },
2304
- { },
2305
- { },
2302
+ { },
2303
+ { },
2304
+ { },
2305
+ { },
2306
2306
  opts['body'],
2307
2307
  ['PureCloud OAuth'],
2308
- ['application/json'],
2308
+ ['application/json'],
2309
2309
  ['application/json']
2310
2310
  );
2311
2311
  }
@@ -2333,13 +2333,13 @@ class RoutingApi {
2333
2333
  return this.apiClient.callApi(
2334
2334
  '/api/v2/routing/queues/{queueId}/members',
2335
2335
  'POST',
2336
- { 'queueId': queueId },
2337
- { 'delete': opts['_delete'] },
2338
- { },
2339
- { },
2336
+ { 'queueId': queueId },
2337
+ { 'delete': opts['_delete'] },
2338
+ { },
2339
+ { },
2340
2340
  body,
2341
2341
  ['PureCloud OAuth'],
2342
- ['application/json'],
2342
+ ['application/json'],
2343
2343
  ['application/json']
2344
2344
  );
2345
2345
  }
@@ -2367,13 +2367,13 @@ class RoutingApi {
2367
2367
  return this.apiClient.callApi(
2368
2368
  '/api/v2/routing/queues/{queueId}/users',
2369
2369
  'POST',
2370
- { 'queueId': queueId },
2371
- { 'delete': opts['_delete'] },
2372
- { },
2373
- { },
2370
+ { 'queueId': queueId },
2371
+ { 'delete': opts['_delete'] },
2372
+ { },
2373
+ { },
2374
2374
  body,
2375
2375
  ['PureCloud OAuth'],
2376
- ['application/json'],
2376
+ ['application/json'],
2377
2377
  ['application/json']
2378
2378
  );
2379
2379
  }
@@ -2397,13 +2397,13 @@ class RoutingApi {
2397
2397
  return this.apiClient.callApi(
2398
2398
  '/api/v2/routing/queues/{queueId}/wrapupcodes',
2399
2399
  'POST',
2400
- { 'queueId': queueId },
2401
- { },
2402
- { },
2403
- { },
2400
+ { 'queueId': queueId },
2401
+ { },
2402
+ { },
2403
+ { },
2404
2404
  body,
2405
2405
  ['PureCloud OAuth'],
2406
- ['application/json'],
2406
+ ['application/json'],
2407
2407
  ['application/json']
2408
2408
  );
2409
2409
  }
@@ -2422,13 +2422,13 @@ class RoutingApi {
2422
2422
  return this.apiClient.callApi(
2423
2423
  '/api/v2/routing/queues',
2424
2424
  'POST',
2425
- { },
2426
- { },
2427
- { },
2428
- { },
2425
+ { },
2426
+ { },
2427
+ { },
2428
+ { },
2429
2429
  body,
2430
2430
  ['PureCloud OAuth'],
2431
- ['application/json'],
2431
+ ['application/json'],
2432
2432
  ['application/json']
2433
2433
  );
2434
2434
  }
@@ -2447,13 +2447,13 @@ class RoutingApi {
2447
2447
  return this.apiClient.callApi(
2448
2448
  '/api/v2/routing/skills',
2449
2449
  'POST',
2450
- { },
2451
- { },
2452
- { },
2453
- { },
2450
+ { },
2451
+ { },
2452
+ { },
2453
+ { },
2454
2454
  body,
2455
2455
  ['PureCloud OAuth'],
2456
- ['application/json'],
2456
+ ['application/json'],
2457
2457
  ['application/json']
2458
2458
  );
2459
2459
  }
@@ -2472,13 +2472,13 @@ class RoutingApi {
2472
2472
  return this.apiClient.callApi(
2473
2473
  '/api/v2/routing/sms/addresses',
2474
2474
  'POST',
2475
- { },
2476
- { },
2477
- { },
2478
- { },
2475
+ { },
2476
+ { },
2477
+ { },
2478
+ { },
2479
2479
  body,
2480
2480
  ['PureCloud OAuth'],
2481
- ['application/json'],
2481
+ ['application/json'],
2482
2482
  ['application/json']
2483
2483
  );
2484
2484
  }
@@ -2488,7 +2488,7 @@ class RoutingApi {
2488
2488
  *
2489
2489
  * @param {Object} body SmsPhoneNumber
2490
2490
  * @param {Object} opts Optional parameters
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&#39;s provisioningStatus for completion of this request. (default to false)
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)
2492
2492
  */
2493
2493
  postRoutingSmsPhonenumbers(body, opts) {
2494
2494
  opts = opts || {};
@@ -2501,13 +2501,13 @@ class RoutingApi {
2501
2501
  return this.apiClient.callApi(
2502
2502
  '/api/v2/routing/sms/phonenumbers',
2503
2503
  'POST',
2504
- { },
2505
- { 'async': opts['async'] },
2506
- { },
2507
- { },
2504
+ { },
2505
+ { 'async': opts['async'] },
2506
+ { },
2507
+ { },
2508
2508
  body,
2509
2509
  ['PureCloud OAuth'],
2510
- ['application/json'],
2510
+ ['application/json'],
2511
2511
  ['application/json']
2512
2512
  );
2513
2513
  }
@@ -2526,13 +2526,13 @@ class RoutingApi {
2526
2526
  return this.apiClient.callApi(
2527
2527
  '/api/v2/routing/wrapupcodes',
2528
2528
  'POST',
2529
- { },
2530
- { },
2531
- { },
2532
- { },
2529
+ { },
2530
+ { },
2531
+ { },
2532
+ { },
2533
2533
  body,
2534
2534
  ['PureCloud OAuth'],
2535
- ['application/json'],
2535
+ ['application/json'],
2536
2536
  ['application/json']
2537
2537
  );
2538
2538
  }
@@ -2556,13 +2556,13 @@ class RoutingApi {
2556
2556
  return this.apiClient.callApi(
2557
2557
  '/api/v2/users/{userId}/routinglanguages',
2558
2558
  'POST',
2559
- { 'userId': userId },
2560
- { },
2561
- { },
2562
- { },
2559
+ { 'userId': userId },
2560
+ { },
2561
+ { },
2562
+ { },
2563
2563
  body,
2564
2564
  ['PureCloud OAuth'],
2565
- ['application/json'],
2565
+ ['application/json'],
2566
2566
  ['application/json']
2567
2567
  );
2568
2568
  }
@@ -2586,13 +2586,13 @@ class RoutingApi {
2586
2586
  return this.apiClient.callApi(
2587
2587
  '/api/v2/users/{userId}/routingskills',
2588
2588
  'POST',
2589
- { 'userId': userId },
2590
- { },
2591
- { },
2592
- { },
2589
+ { 'userId': userId },
2590
+ { },
2591
+ { },
2592
+ { },
2593
2593
  body,
2594
2594
  ['PureCloud OAuth'],
2595
- ['application/json'],
2595
+ ['application/json'],
2596
2596
  ['application/json']
2597
2597
  );
2598
2598
  }
@@ -2621,13 +2621,13 @@ class RoutingApi {
2621
2621
  return this.apiClient.callApi(
2622
2622
  '/api/v2/routing/email/domains/{domainName}/routes/{routeId}',
2623
2623
  'PUT',
2624
- { 'domainName': domainName,'routeId': routeId },
2625
- { },
2626
- { },
2627
- { },
2624
+ { 'domainName': domainName,'routeId': routeId },
2625
+ { },
2626
+ { },
2627
+ { },
2628
2628
  body,
2629
2629
  ['PureCloud OAuth'],
2630
- ['application/json'],
2630
+ ['application/json'],
2631
2631
  ['application/json']
2632
2632
  );
2633
2633
  }
@@ -2651,13 +2651,13 @@ class RoutingApi {
2651
2651
  return this.apiClient.callApi(
2652
2652
  '/api/v2/routing/message/recipients/{recipientId}',
2653
2653
  'PUT',
2654
- { 'recipientId': recipientId },
2655
- { },
2656
- { },
2657
- { },
2654
+ { 'recipientId': recipientId },
2655
+ { },
2656
+ { },
2657
+ { },
2658
2658
  body,
2659
2659
  ['PureCloud OAuth'],
2660
- ['application/json'],
2660
+ ['application/json'],
2661
2661
  ['application/json']
2662
2662
  );
2663
2663
  }
@@ -2681,19 +2681,19 @@ class RoutingApi {
2681
2681
  return this.apiClient.callApi(
2682
2682
  '/api/v2/routing/queues/{queueId}',
2683
2683
  'PUT',
2684
- { 'queueId': queueId },
2685
- { },
2686
- { },
2687
- { },
2684
+ { 'queueId': queueId },
2685
+ { },
2686
+ { },
2687
+ { },
2688
2688
  body,
2689
2689
  ['PureCloud OAuth'],
2690
- ['application/json'],
2690
+ ['application/json'],
2691
2691
  ['application/json']
2692
2692
  );
2693
2693
  }
2694
2694
 
2695
2695
  /**
2696
- * Update an organization&#39;s routing settings
2696
+ * Update an organization's routing settings
2697
2697
  *
2698
2698
  * @param {Object} body Organization Settings
2699
2699
  */
@@ -2706,13 +2706,13 @@ class RoutingApi {
2706
2706
  return this.apiClient.callApi(
2707
2707
  '/api/v2/routing/settings',
2708
2708
  'PUT',
2709
- { },
2710
- { },
2711
- { },
2712
- { },
2709
+ { },
2710
+ { },
2711
+ { },
2712
+ { },
2713
2713
  body,
2714
2714
  ['PureCloud OAuth'],
2715
- ['application/json'],
2715
+ ['application/json'],
2716
2716
  ['application/json']
2717
2717
  );
2718
2718
  }
@@ -2731,13 +2731,13 @@ class RoutingApi {
2731
2731
  return this.apiClient.callApi(
2732
2732
  '/api/v2/routing/settings/transcription',
2733
2733
  'PUT',
2734
- { },
2735
- { },
2736
- { },
2737
- { },
2734
+ { },
2735
+ { },
2736
+ { },
2737
+ { },
2738
2738
  body,
2739
2739
  ['PureCloud OAuth'],
2740
- ['application/json'],
2740
+ ['application/json'],
2741
2741
  ['application/json']
2742
2742
  );
2743
2743
  }
@@ -2748,7 +2748,7 @@ class RoutingApi {
2748
2748
  * @param {String} addressId Address ID
2749
2749
  * @param {Object} body SmsPhoneNumber
2750
2750
  * @param {Object} opts Optional parameters
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&#39;s provisioningStatus for the progress of this request. (default to false)
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)
2752
2752
  */
2753
2753
  putRoutingSmsPhonenumber(addressId, body, opts) {
2754
2754
  opts = opts || {};
@@ -2765,19 +2765,19 @@ class RoutingApi {
2765
2765
  return this.apiClient.callApi(
2766
2766
  '/api/v2/routing/sms/phonenumbers/{addressId}',
2767
2767
  'PUT',
2768
- { 'addressId': addressId },
2769
- { 'async': opts['async'] },
2770
- { },
2771
- { },
2768
+ { 'addressId': addressId },
2769
+ { 'async': opts['async'] },
2770
+ { },
2771
+ { },
2772
2772
  body,
2773
2773
  ['PureCloud OAuth'],
2774
- ['application/json'],
2774
+ ['application/json'],
2775
2775
  ['application/json']
2776
2776
  );
2777
2777
  }
2778
2778
 
2779
2779
  /**
2780
- * Update the user&#39;s max utilization settings. Include only those media types requiring custom configuration.
2780
+ * Update the user's max utilization settings. Include only those media types requiring custom configuration.
2781
2781
  *
2782
2782
  * @param {String} userId User ID
2783
2783
  * @param {Object} body utilization
@@ -2795,13 +2795,13 @@ class RoutingApi {
2795
2795
  return this.apiClient.callApi(
2796
2796
  '/api/v2/routing/users/{userId}/utilization',
2797
2797
  'PUT',
2798
- { 'userId': userId },
2799
- { },
2800
- { },
2801
- { },
2798
+ { 'userId': userId },
2799
+ { },
2800
+ { },
2801
+ { },
2802
2802
  body,
2803
2803
  ['PureCloud OAuth'],
2804
- ['application/json'],
2804
+ ['application/json'],
2805
2805
  ['application/json']
2806
2806
  );
2807
2807
  }
@@ -2820,13 +2820,13 @@ class RoutingApi {
2820
2820
  return this.apiClient.callApi(
2821
2821
  '/api/v2/routing/utilization',
2822
2822
  'PUT',
2823
- { },
2824
- { },
2825
- { },
2826
- { },
2823
+ { },
2824
+ { },
2825
+ { },
2826
+ { },
2827
2827
  body,
2828
2828
  ['PureCloud OAuth'],
2829
- ['application/json'],
2829
+ ['application/json'],
2830
2830
  ['application/json']
2831
2831
  );
2832
2832
  }
@@ -2850,13 +2850,13 @@ class RoutingApi {
2850
2850
  return this.apiClient.callApi(
2851
2851
  '/api/v2/routing/wrapupcodes/{codeId}',
2852
2852
  'PUT',
2853
- { 'codeId': codeId },
2854
- { },
2855
- { },
2856
- { },
2853
+ { 'codeId': codeId },
2854
+ { },
2855
+ { },
2856
+ { },
2857
2857
  body,
2858
2858
  ['PureCloud OAuth'],
2859
- ['application/json'],
2859
+ ['application/json'],
2860
2860
  ['application/json']
2861
2861
  );
2862
2862
  }
@@ -2885,13 +2885,13 @@ class RoutingApi {
2885
2885
  return this.apiClient.callApi(
2886
2886
  '/api/v2/users/{userId}/routingskills/{skillId}',
2887
2887
  'PUT',
2888
- { 'userId': userId,'skillId': skillId },
2889
- { },
2890
- { },
2891
- { },
2888
+ { 'userId': userId,'skillId': skillId },
2889
+ { },
2890
+ { },
2891
+ { },
2892
2892
  body,
2893
2893
  ['PureCloud OAuth'],
2894
- ['application/json'],
2894
+ ['application/json'],
2895
2895
  ['application/json']
2896
2896
  );
2897
2897
  }
@@ -2915,13 +2915,13 @@ class RoutingApi {
2915
2915
  return this.apiClient.callApi(
2916
2916
  '/api/v2/users/{userId}/routingskills/bulk',
2917
2917
  'PUT',
2918
- { 'userId': userId },
2919
- { },
2920
- { },
2921
- { },
2918
+ { 'userId': userId },
2919
+ { },
2920
+ { },
2921
+ { },
2922
2922
  body,
2923
2923
  ['PureCloud OAuth'],
2924
- ['application/json'],
2924
+ ['application/json'],
2925
2925
  ['application/json']
2926
2926
  );
2927
2927
  }