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.
Files changed (73) hide show
  1. package/README.md +32 -29
  2. package/dist/node/purecloud-platform-client-v2.js +9882 -9496
  3. package/dist/web-amd/purecloud-platform-client-v2.js +9882 -9496
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +9882 -9496
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +9892 -9507
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +5771 -301
  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 +573 -524
  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 +810 -810
  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 +270 -270
  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 +317 -315
  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 +768 -568
  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 +404 -279
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +86 -86
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +541 -537
  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 UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 135.0.0
8
+ * @version 137.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -34,13 +34,13 @@ class UsersApi {
34
34
  return this.apiClient.callApi(
35
35
  '/api/v2/analytics/users/details/jobs/{jobId}',
36
36
  'DELETE',
37
- { 'jobId': jobId },
38
- { },
39
- { },
40
- { },
37
+ { 'jobId': jobId },
38
+ { },
39
+ { },
40
+ { },
41
41
  null,
42
42
  ['PureCloud OAuth'],
43
- ['application/json'],
43
+ ['application/json'],
44
44
  ['application/json']
45
45
  );
46
46
  }
@@ -69,19 +69,19 @@ class UsersApi {
69
69
  return this.apiClient.callApi(
70
70
  '/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}',
71
71
  'DELETE',
72
- { 'subjectId': subjectId,'divisionId': divisionId,'roleId': roleId },
73
- { },
74
- { },
75
- { },
72
+ { 'subjectId': subjectId,'divisionId': divisionId,'roleId': roleId },
73
+ { },
74
+ { },
75
+ { },
76
76
  null,
77
77
  ['PureCloud OAuth'],
78
- ['application/json'],
78
+ ['application/json'],
79
79
  ['application/json']
80
80
  );
81
81
  }
82
82
 
83
83
  /**
84
- * Delete the user's max utilization settings and revert to the organization-wide default.
84
+ * Delete the user's max utilization settings and revert to the organization-wide default.
85
85
  *
86
86
  * @param {String} userId User ID
87
87
  */
@@ -94,13 +94,13 @@ class UsersApi {
94
94
  return this.apiClient.callApi(
95
95
  '/api/v2/routing/users/{userId}/utilization',
96
96
  'DELETE',
97
- { 'userId': userId },
98
- { },
99
- { },
100
- { },
97
+ { 'userId': userId },
98
+ { },
99
+ { },
100
+ { },
101
101
  null,
102
102
  ['PureCloud OAuth'],
103
- ['application/json'],
103
+ ['application/json'],
104
104
  ['application/json']
105
105
  );
106
106
  }
@@ -119,13 +119,13 @@ class UsersApi {
119
119
  return this.apiClient.callApi(
120
120
  '/api/v2/users/{userId}',
121
121
  'DELETE',
122
- { 'userId': userId },
123
- { },
124
- { },
125
- { },
122
+ { 'userId': userId },
123
+ { },
124
+ { },
125
+ { },
126
126
  null,
127
127
  ['PureCloud OAuth'],
128
- ['application/json'],
128
+ ['application/json'],
129
129
  ['application/json']
130
130
  );
131
131
  }
@@ -149,13 +149,13 @@ class UsersApi {
149
149
  return this.apiClient.callApi(
150
150
  '/api/v2/users/{userId}/routinglanguages/{languageId}',
151
151
  'DELETE',
152
- { 'userId': userId,'languageId': languageId },
153
- { },
154
- { },
155
- { },
152
+ { 'userId': userId,'languageId': languageId },
153
+ { },
154
+ { },
155
+ { },
156
156
  null,
157
157
  ['PureCloud OAuth'],
158
- ['application/json'],
158
+ ['application/json'],
159
159
  ['application/json']
160
160
  );
161
161
  }
@@ -179,13 +179,13 @@ class UsersApi {
179
179
  return this.apiClient.callApi(
180
180
  '/api/v2/users/{userId}/routingskills/{skillId}',
181
181
  'DELETE',
182
- { 'userId': userId,'skillId': skillId },
183
- { },
184
- { },
185
- { },
182
+ { 'userId': userId,'skillId': skillId },
183
+ { },
184
+ { },
185
+ { },
186
186
  null,
187
187
  ['PureCloud OAuth'],
188
- ['application/json'],
188
+ ['application/json'],
189
189
  ['application/json']
190
190
  );
191
191
  }
@@ -204,13 +204,13 @@ class UsersApi {
204
204
  return this.apiClient.callApi(
205
205
  '/api/v2/users/{userId}/station/associatedstation',
206
206
  'DELETE',
207
- { 'userId': userId },
208
- { },
209
- { },
210
- { },
207
+ { 'userId': userId },
208
+ { },
209
+ { },
210
+ { },
211
211
  null,
212
212
  ['PureCloud OAuth'],
213
- ['application/json'],
213
+ ['application/json'],
214
214
  ['application/json']
215
215
  );
216
216
  }
@@ -229,13 +229,13 @@ class UsersApi {
229
229
  return this.apiClient.callApi(
230
230
  '/api/v2/users/{userId}/station/defaultstation',
231
231
  'DELETE',
232
- { 'userId': userId },
233
- { },
234
- { },
235
- { },
232
+ { 'userId': userId },
233
+ { },
234
+ { },
235
+ { },
236
236
  null,
237
237
  ['PureCloud OAuth'],
238
- ['application/json'],
238
+ ['application/json'],
239
239
  ['application/json']
240
240
  );
241
241
  }
@@ -254,13 +254,13 @@ class UsersApi {
254
254
  return this.apiClient.callApi(
255
255
  '/api/v2/analytics/users/details/jobs/{jobId}',
256
256
  'GET',
257
- { 'jobId': jobId },
258
- { },
259
- { },
260
- { },
257
+ { 'jobId': jobId },
258
+ { },
259
+ { },
260
+ { },
261
261
  null,
262
262
  ['PureCloud OAuth'],
263
- ['application/json'],
263
+ ['application/json'],
264
264
  ['application/json']
265
265
  );
266
266
  }
@@ -284,13 +284,13 @@ class UsersApi {
284
284
  return this.apiClient.callApi(
285
285
  '/api/v2/analytics/users/details/jobs/{jobId}/results',
286
286
  'GET',
287
- { 'jobId': jobId },
288
- { 'cursor': opts['cursor'],'pageSize': opts['pageSize'] },
289
- { },
290
- { },
287
+ { 'jobId': jobId },
288
+ { 'cursor': opts['cursor'],'pageSize': opts['pageSize'] },
289
+ { },
290
+ { },
291
291
  null,
292
292
  ['PureCloud OAuth'],
293
- ['application/json'],
293
+ ['application/json'],
294
294
  ['application/json']
295
295
  );
296
296
  }
@@ -304,13 +304,13 @@ class UsersApi {
304
304
  return this.apiClient.callApi(
305
305
  '/api/v2/analytics/users/details/jobs/availability',
306
306
  'GET',
307
- { },
308
- { },
309
- { },
310
- { },
307
+ { },
308
+ { },
309
+ { },
310
+ { },
311
311
  null,
312
312
  ['PureCloud OAuth'],
313
- ['application/json'],
313
+ ['application/json'],
314
314
  ['application/json']
315
315
  );
316
316
  }
@@ -333,13 +333,13 @@ class UsersApi {
333
333
  return this.apiClient.callApi(
334
334
  '/api/v2/authorization/divisionspermitted/me',
335
335
  'GET',
336
- { },
337
- { 'name': opts['name'],'permission': permission },
338
- { },
339
- { },
336
+ { },
337
+ { 'name': opts['name'],'permission': permission },
338
+ { },
339
+ { },
340
340
  null,
341
341
  ['PureCloud OAuth'],
342
- ['application/json'],
342
+ ['application/json'],
343
343
  ['application/json']
344
344
  );
345
345
  }
@@ -363,13 +363,13 @@ class UsersApi {
363
363
  return this.apiClient.callApi(
364
364
  '/api/v2/authorization/divisionspermitted/paged/me',
365
365
  'GET',
366
- { },
367
- { 'permission': permission,'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
368
- { },
369
- { },
366
+ { },
367
+ { 'permission': permission,'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
368
+ { },
369
+ { },
370
370
  null,
371
371
  ['PureCloud OAuth'],
372
- ['application/json'],
372
+ ['application/json'],
373
373
  ['application/json']
374
374
  );
375
375
  }
@@ -398,13 +398,13 @@ class UsersApi {
398
398
  return this.apiClient.callApi(
399
399
  '/api/v2/authorization/divisionspermitted/paged/{subjectId}',
400
400
  'GET',
401
- { 'subjectId': subjectId },
402
- { 'permission': permission,'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
403
- { },
404
- { },
401
+ { 'subjectId': subjectId },
402
+ { 'permission': permission,'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
403
+ { },
404
+ { },
405
405
  null,
406
406
  ['PureCloud OAuth'],
407
- ['application/json'],
407
+ ['application/json'],
408
408
  ['application/json']
409
409
  );
410
410
  }
@@ -423,13 +423,13 @@ class UsersApi {
423
423
  return this.apiClient.callApi(
424
424
  '/api/v2/authorization/subjects/{subjectId}',
425
425
  'GET',
426
- { 'subjectId': subjectId },
427
- { },
428
- { },
429
- { },
426
+ { 'subjectId': subjectId },
427
+ { },
428
+ { },
429
+ { },
430
430
  null,
431
431
  ['PureCloud OAuth'],
432
- ['application/json'],
432
+ ['application/json'],
433
433
  ['application/json']
434
434
  );
435
435
  }
@@ -443,13 +443,13 @@ class UsersApi {
443
443
  return this.apiClient.callApi(
444
444
  '/api/v2/authorization/subjects/me',
445
445
  'GET',
446
- { },
447
- { },
448
- { },
449
- { },
446
+ { },
447
+ { },
448
+ { },
449
+ { },
450
450
  null,
451
451
  ['PureCloud OAuth'],
452
- ['application/json'],
452
+ ['application/json'],
453
453
  ['application/json']
454
454
  );
455
455
  }
@@ -468,13 +468,13 @@ class UsersApi {
468
468
  return this.apiClient.callApi(
469
469
  '/api/v2/fieldconfig',
470
470
  'GET',
471
- { },
472
- { 'type': type },
473
- { },
474
- { },
471
+ { },
472
+ { 'type': type },
473
+ { },
474
+ { },
475
475
  null,
476
476
  ['PureCloud OAuth'],
477
- ['application/json'],
477
+ ['application/json'],
478
478
  ['application/json']
479
479
  );
480
480
  }
@@ -489,7 +489,7 @@ class UsersApi {
489
489
  * @param {Array.<String>} opts.jid jid
490
490
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
491
491
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
492
- * @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an \&quot;expand\&quot;.
492
+ * @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an expand.
493
493
  */
494
494
  getProfilesUsers(opts) {
495
495
  opts = opts || {};
@@ -498,19 +498,19 @@ class UsersApi {
498
498
  return this.apiClient.callApi(
499
499
  '/api/v2/profiles/users',
500
500
  'GET',
501
- { },
502
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'jid': this.apiClient.buildCollectionParam(opts['jid'], 'multi'),'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'] },
503
- { },
504
- { },
501
+ { },
502
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'jid': this.apiClient.buildCollectionParam(opts['jid'], 'multi'),'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'] },
503
+ { },
504
+ { },
505
505
  null,
506
506
  ['PureCloud OAuth'],
507
- ['application/json'],
507
+ ['application/json'],
508
508
  ['application/json']
509
509
  );
510
510
  }
511
511
 
512
512
  /**
513
- * Get the user&#39;s max utilization settings. If not configured, the organization-wide default is returned.
513
+ * Get the user's max utilization settings. If not configured, the organization-wide default is returned.
514
514
  *
515
515
  * @param {String} userId User ID
516
516
  */
@@ -523,13 +523,13 @@ class UsersApi {
523
523
  return this.apiClient.callApi(
524
524
  '/api/v2/routing/users/{userId}/utilization',
525
525
  'GET',
526
- { 'userId': userId },
527
- { },
528
- { },
529
- { },
526
+ { 'userId': userId },
527
+ { },
528
+ { },
529
+ { },
530
530
  null,
531
531
  ['PureCloud OAuth'],
532
- ['application/json'],
532
+ ['application/json'],
533
533
  ['application/json']
534
534
  );
535
535
  }
@@ -554,13 +554,13 @@ class UsersApi {
554
554
  return this.apiClient.callApi(
555
555
  '/api/v2/users/{userId}',
556
556
  'GET',
557
- { 'userId': userId },
558
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'],'state': opts['state'] },
559
- { },
560
- { },
557
+ { 'userId': userId },
558
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'],'state': opts['state'] },
559
+ { },
560
+ { },
561
561
  null,
562
562
  ['PureCloud OAuth'],
563
- ['application/json'],
563
+ ['application/json'],
564
564
  ['application/json']
565
565
  );
566
566
  }
@@ -583,19 +583,19 @@ class UsersApi {
583
583
  return this.apiClient.callApi(
584
584
  '/api/v2/users/{userId}/adjacents',
585
585
  'GET',
586
- { 'userId': userId },
587
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
588
- { },
589
- { },
586
+ { 'userId': userId },
587
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
588
+ { },
589
+ { },
590
590
  null,
591
591
  ['PureCloud OAuth'],
592
- ['application/json'],
592
+ ['application/json'],
593
593
  ['application/json']
594
594
  );
595
595
  }
596
596
 
597
597
  /**
598
- * Get a user&#39;s CallForwarding
598
+ * Get a user's CallForwarding
599
599
  *
600
600
  * @param {String} userId User ID
601
601
  */
@@ -608,13 +608,13 @@ class UsersApi {
608
608
  return this.apiClient.callApi(
609
609
  '/api/v2/users/{userId}/callforwarding',
610
610
  'GET',
611
- { 'userId': userId },
612
- { },
613
- { },
614
- { },
611
+ { 'userId': userId },
612
+ { },
613
+ { },
614
+ { },
615
615
  null,
616
616
  ['PureCloud OAuth'],
617
- ['application/json'],
617
+ ['application/json'],
618
618
  ['application/json']
619
619
  );
620
620
  }
@@ -637,13 +637,13 @@ class UsersApi {
637
637
  return this.apiClient.callApi(
638
638
  '/api/v2/users/{userId}/directreports',
639
639
  'GET',
640
- { 'userId': userId },
641
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
642
- { },
643
- { },
640
+ { 'userId': userId },
641
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
642
+ { },
643
+ { },
644
644
  null,
645
645
  ['PureCloud OAuth'],
646
- ['application/json'],
646
+ ['application/json'],
647
647
  ['application/json']
648
648
  );
649
649
  }
@@ -669,19 +669,19 @@ class UsersApi {
669
669
  return this.apiClient.callApi(
670
670
  '/api/v2/users/{userId}/favorites',
671
671
  'GET',
672
- { 'userId': userId },
673
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
674
- { },
675
- { },
672
+ { 'userId': userId },
673
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
674
+ { },
675
+ { },
676
676
  null,
677
677
  ['PureCloud OAuth'],
678
- ['application/json'],
678
+ ['application/json'],
679
679
  ['application/json']
680
680
  );
681
681
  }
682
682
 
683
683
  /**
684
- * Get a user&#39;s Geolocation
684
+ * Get a user's Geolocation
685
685
  *
686
686
  * @param {String} userId user Id
687
687
  * @param {String} clientId client Id
@@ -699,13 +699,13 @@ class UsersApi {
699
699
  return this.apiClient.callApi(
700
700
  '/api/v2/users/{userId}/geolocations/{clientId}',
701
701
  'GET',
702
- { 'userId': userId,'clientId': clientId },
703
- { },
704
- { },
705
- { },
702
+ { 'userId': userId,'clientId': clientId },
703
+ { },
704
+ { },
705
+ { },
706
706
  null,
707
707
  ['PureCloud OAuth'],
708
- ['application/json'],
708
+ ['application/json'],
709
709
  ['application/json']
710
710
  );
711
711
  }
@@ -724,13 +724,13 @@ class UsersApi {
724
724
  return this.apiClient.callApi(
725
725
  '/api/v2/users/{userId}/outofoffice',
726
726
  'GET',
727
- { 'userId': userId },
728
- { },
729
- { },
730
- { },
727
+ { 'userId': userId },
728
+ { },
729
+ { },
730
+ { },
731
731
  null,
732
732
  ['PureCloud OAuth'],
733
- ['application/json'],
733
+ ['application/json'],
734
734
  ['application/json']
735
735
  );
736
736
  }
@@ -754,13 +754,13 @@ class UsersApi {
754
754
  return this.apiClient.callApi(
755
755
  '/api/v2/users/{userId}/profile',
756
756
  'GET',
757
- { 'userId': userId },
758
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'] },
759
- { },
760
- { },
757
+ { 'userId': userId },
758
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'] },
759
+ { },
760
+ { },
761
761
  null,
762
762
  ['PureCloud OAuth'],
763
- ['application/json'],
763
+ ['application/json'],
764
764
  ['application/json']
765
765
  );
766
766
  }
@@ -779,13 +779,13 @@ class UsersApi {
779
779
  return this.apiClient.callApi(
780
780
  '/api/v2/users/{userId}/profileskills',
781
781
  'GET',
782
- { 'userId': userId },
783
- { },
784
- { },
785
- { },
782
+ { 'userId': userId },
783
+ { },
784
+ { },
785
+ { },
786
786
  null,
787
787
  ['PureCloud OAuth'],
788
- ['application/json'],
788
+ ['application/json'],
789
789
  ['application/json']
790
790
  );
791
791
  }
@@ -811,13 +811,13 @@ class UsersApi {
811
811
  return this.apiClient.callApi(
812
812
  '/api/v2/users/{userId}/queues',
813
813
  'GET',
814
- { 'userId': userId },
815
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'joined': opts['joined'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
816
- { },
817
- { },
814
+ { 'userId': userId },
815
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'joined': opts['joined'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
816
+ { },
817
+ { },
818
818
  null,
819
819
  ['PureCloud OAuth'],
820
- ['application/json'],
820
+ ['application/json'],
821
821
  ['application/json']
822
822
  );
823
823
  }
@@ -836,13 +836,13 @@ class UsersApi {
836
836
  return this.apiClient.callApi(
837
837
  '/api/v2/users/{userId}/roles',
838
838
  'GET',
839
- { 'userId': userId },
840
- { },
841
- { },
842
- { },
839
+ { 'userId': userId },
840
+ { },
841
+ { },
842
+ { },
843
843
  null,
844
844
  ['PureCloud OAuth'],
845
- ['application/json'],
845
+ ['application/json'],
846
846
  ['application/json']
847
847
  );
848
848
  }
@@ -867,13 +867,13 @@ class UsersApi {
867
867
  return this.apiClient.callApi(
868
868
  '/api/v2/users/{userId}/routinglanguages',
869
869
  'GET',
870
- { 'userId': userId },
871
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
872
- { },
873
- { },
870
+ { 'userId': userId },
871
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
872
+ { },
873
+ { },
874
874
  null,
875
875
  ['PureCloud OAuth'],
876
- ['application/json'],
876
+ ['application/json'],
877
877
  ['application/json']
878
878
  );
879
879
  }
@@ -898,13 +898,13 @@ class UsersApi {
898
898
  return this.apiClient.callApi(
899
899
  '/api/v2/users/{userId}/routingskills',
900
900
  'GET',
901
- { 'userId': userId },
902
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
903
- { },
904
- { },
901
+ { 'userId': userId },
902
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
903
+ { },
904
+ { },
905
905
  null,
906
906
  ['PureCloud OAuth'],
907
- ['application/json'],
907
+ ['application/json'],
908
908
  ['application/json']
909
909
  );
910
910
  }
@@ -923,13 +923,13 @@ class UsersApi {
923
923
  return this.apiClient.callApi(
924
924
  '/api/v2/users/{userId}/routingstatus',
925
925
  'GET',
926
- { 'userId': userId },
927
- { },
928
- { },
929
- { },
926
+ { 'userId': userId },
927
+ { },
928
+ { },
929
+ { },
930
930
  null,
931
931
  ['PureCloud OAuth'],
932
- ['application/json'],
932
+ ['application/json'],
933
933
  ['application/json']
934
934
  );
935
935
  }
@@ -948,13 +948,13 @@ class UsersApi {
948
948
  return this.apiClient.callApi(
949
949
  '/api/v2/users/{userId}/state',
950
950
  'GET',
951
- { 'userId': userId },
952
- { },
953
- { },
954
- { },
951
+ { 'userId': userId },
952
+ { },
953
+ { },
954
+ { },
955
955
  null,
956
956
  ['PureCloud OAuth'],
957
- ['application/json'],
957
+ ['application/json'],
958
958
  ['application/json']
959
959
  );
960
960
  }
@@ -973,13 +973,13 @@ class UsersApi {
973
973
  return this.apiClient.callApi(
974
974
  '/api/v2/users/{userId}/station',
975
975
  'GET',
976
- { 'userId': userId },
977
- { },
978
- { },
979
- { },
976
+ { 'userId': userId },
977
+ { },
978
+ { },
979
+ { },
980
980
  null,
981
981
  ['PureCloud OAuth'],
982
- ['application/json'],
982
+ ['application/json'],
983
983
  ['application/json']
984
984
  );
985
985
  }
@@ -1002,13 +1002,13 @@ class UsersApi {
1002
1002
  return this.apiClient.callApi(
1003
1003
  '/api/v2/users/{userId}/superiors',
1004
1004
  'GET',
1005
- { 'userId': userId },
1006
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
1007
- { },
1008
- { },
1005
+ { 'userId': userId },
1006
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
1007
+ { },
1008
+ { },
1009
1009
  null,
1010
1010
  ['PureCloud OAuth'],
1011
- ['application/json'],
1011
+ ['application/json'],
1012
1012
  ['application/json']
1013
1013
  );
1014
1014
  }
@@ -1032,13 +1032,13 @@ class UsersApi {
1032
1032
  return this.apiClient.callApi(
1033
1033
  '/api/v2/users/{userId}/trustors',
1034
1034
  'GET',
1035
- { 'userId': userId },
1036
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
1037
- { },
1038
- { },
1035
+ { 'userId': userId },
1036
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
1037
+ { },
1038
+ { },
1039
1039
  null,
1040
1040
  ['PureCloud OAuth'],
1041
- ['application/json'],
1041
+ ['application/json'],
1042
1042
  ['application/json']
1043
1043
  );
1044
1044
  }
@@ -1050,10 +1050,10 @@ class UsersApi {
1050
1050
  * @param {Number} opts.pageSize Page size (default to 25)
1051
1051
  * @param {Number} opts.pageNumber Page number (default to 1)
1052
1052
  * @param {Array.<String>} opts.id A list of user IDs to fetch by bulk
1053
- * @param {Array.<String>} opts.jabberId A list of jabberIds to fetch by bulk (cannot be used with the \&quot;id\&quot; parameter)
1053
+ * @param {Array.<String>} opts.jabberId A list of jabberIds to fetch by bulk (cannot be used with the id parameter)
1054
1054
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
1055
1055
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
1056
- * @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an \&quot;expand\&quot;. When using this parameter the maximum number of users that can be returned is 100.
1056
+ * @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an expand. When using this parameter the maximum number of users that can be returned is 100.
1057
1057
  * @param {Object} opts.state Only list users of this state (default to active)
1058
1058
  */
1059
1059
  getUsers(opts) {
@@ -1063,13 +1063,13 @@ class UsersApi {
1063
1063
  return this.apiClient.callApi(
1064
1064
  '/api/v2/users',
1065
1065
  'GET',
1066
- { },
1067
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'jabberId': this.apiClient.buildCollectionParam(opts['jabberId'], 'multi'),'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'],'state': opts['state'] },
1068
- { },
1069
- { },
1066
+ { },
1067
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'jabberId': this.apiClient.buildCollectionParam(opts['jabberId'], 'multi'),'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'],'state': opts['state'] },
1068
+ { },
1069
+ { },
1070
1070
  null,
1071
1071
  ['PureCloud OAuth'],
1072
- ['application/json'],
1072
+ ['application/json'],
1073
1073
  ['application/json']
1074
1074
  );
1075
1075
  }
@@ -1097,13 +1097,13 @@ class UsersApi {
1097
1097
  return this.apiClient.callApi(
1098
1098
  '/api/v2/users/development/activities',
1099
1099
  'GET',
1100
- { },
1101
- { 'userId': this.apiClient.buildCollectionParam(opts['userId'], 'multi'),'moduleId': opts['moduleId'],'interval': opts['interval'],'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'relationship': this.apiClient.buildCollectionParam(opts['relationship'], 'multi') },
1102
- { },
1103
- { },
1100
+ { },
1101
+ { 'userId': this.apiClient.buildCollectionParam(opts['userId'], 'multi'),'moduleId': opts['moduleId'],'interval': opts['interval'],'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'relationship': this.apiClient.buildCollectionParam(opts['relationship'], 'multi') },
1102
+ { },
1103
+ { },
1104
1104
  null,
1105
1105
  ['PureCloud OAuth'],
1106
- ['application/json'],
1106
+ ['application/json'],
1107
1107
  ['application/json']
1108
1108
  );
1109
1109
  }
@@ -1130,13 +1130,13 @@ class UsersApi {
1130
1130
  return this.apiClient.callApi(
1131
1131
  '/api/v2/users/development/activities/me',
1132
1132
  'GET',
1133
- { },
1134
- { 'moduleId': opts['moduleId'],'interval': opts['interval'],'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'relationship': this.apiClient.buildCollectionParam(opts['relationship'], 'multi') },
1135
- { },
1136
- { },
1133
+ { },
1134
+ { 'moduleId': opts['moduleId'],'interval': opts['interval'],'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'relationship': this.apiClient.buildCollectionParam(opts['relationship'], 'multi') },
1135
+ { },
1136
+ { },
1137
1137
  null,
1138
1138
  ['PureCloud OAuth'],
1139
- ['application/json'],
1139
+ ['application/json'],
1140
1140
  ['application/json']
1141
1141
  );
1142
1142
  }
@@ -1160,13 +1160,13 @@ class UsersApi {
1160
1160
  return this.apiClient.callApi(
1161
1161
  '/api/v2/users/development/activities/{activityId}',
1162
1162
  'GET',
1163
- { 'activityId': activityId },
1164
- { 'type': type },
1165
- { },
1166
- { },
1163
+ { 'activityId': activityId },
1164
+ { 'type': type },
1165
+ { },
1166
+ { },
1167
1167
  null,
1168
1168
  ['PureCloud OAuth'],
1169
- ['application/json'],
1169
+ ['application/json'],
1170
1170
  ['application/json']
1171
1171
  );
1172
1172
  }
@@ -1176,7 +1176,7 @@ class UsersApi {
1176
1176
  * This request is not valid when using the Client Credentials OAuth grant.
1177
1177
  * @param {Object} opts Optional parameters
1178
1178
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
1179
- * @param {Object} opts.integrationPresenceSource Get your presence for a given integration. This parameter will only be used when presence is provided as an \&quot;expand\&quot;.
1179
+ * @param {Object} opts.integrationPresenceSource Get your presence for a given integration. This parameter will only be used when presence is provided as an expand.
1180
1180
  */
1181
1181
  getUsersMe(opts) {
1182
1182
  opts = opts || {};
@@ -1185,13 +1185,13 @@ class UsersApi {
1185
1185
  return this.apiClient.callApi(
1186
1186
  '/api/v2/users/me',
1187
1187
  'GET',
1188
- { },
1189
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'] },
1190
- { },
1191
- { },
1188
+ { },
1189
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'] },
1190
+ { },
1191
+ { },
1192
1192
  null,
1193
1193
  ['PureCloud OAuth'],
1194
- ['application/json'],
1194
+ ['application/json'],
1195
1195
  ['application/json']
1196
1196
  );
1197
1197
  }
@@ -1215,13 +1215,13 @@ class UsersApi {
1215
1215
  return this.apiClient.callApi(
1216
1216
  '/api/v2/users/search',
1217
1217
  'GET',
1218
- { },
1219
- { 'q64': q64,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'] },
1220
- { },
1221
- { },
1218
+ { },
1219
+ { 'q64': q64,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'] },
1220
+ { },
1221
+ { },
1222
1222
  null,
1223
1223
  ['PureCloud OAuth'],
1224
- ['application/json'],
1224
+ ['application/json'],
1225
1225
  ['application/json']
1226
1226
  );
1227
1227
  }
@@ -1245,19 +1245,19 @@ class UsersApi {
1245
1245
  return this.apiClient.callApi(
1246
1246
  '/api/v2/users/{userId}',
1247
1247
  'PATCH',
1248
- { 'userId': userId },
1249
- { },
1250
- { },
1251
- { },
1248
+ { 'userId': userId },
1249
+ { },
1250
+ { },
1251
+ { },
1252
1252
  body,
1253
1253
  ['PureCloud OAuth'],
1254
- ['application/json'],
1254
+ ['application/json'],
1255
1255
  ['application/json']
1256
1256
  );
1257
1257
  }
1258
1258
 
1259
1259
  /**
1260
- * Patch a user&#39;s CallForwarding
1260
+ * Patch a user's CallForwarding
1261
1261
  *
1262
1262
  * @param {String} userId User ID
1263
1263
  * @param {Object} body Call forwarding
@@ -1275,20 +1275,20 @@ class UsersApi {
1275
1275
  return this.apiClient.callApi(
1276
1276
  '/api/v2/users/{userId}/callforwarding',
1277
1277
  'PATCH',
1278
- { 'userId': userId },
1279
- { },
1280
- { },
1281
- { },
1278
+ { 'userId': userId },
1279
+ { },
1280
+ { },
1281
+ { },
1282
1282
  body,
1283
1283
  ['PureCloud OAuth'],
1284
- ['application/json'],
1284
+ ['application/json'],
1285
1285
  ['application/json']
1286
1286
  );
1287
1287
  }
1288
1288
 
1289
1289
  /**
1290
- * Patch a user&#39;s Geolocation
1291
- * The geolocation object can be patched one of three ways. Option 1: Set the &#39;primary&#39; property to true. This will set the client as the user&#39;s primary geolocation source. Option 2: Provide the &#39;latitude&#39; and &#39;longitude&#39; values. This will enqueue an asynchronous update of the &#39;city&#39;, &#39;region&#39;, and &#39;country&#39;, generating a notification. A subsequent GET operation will include the new values for &#39;city&#39;, &#39;region&#39; and &#39;country&#39;. Option 3: Provide the &#39;city&#39;, &#39;region&#39;, &#39;country&#39; values. Option 1 can be combined with Option 2 or Option 3. For example, update the client as primary and provide latitude and longitude values.
1290
+ * Patch a user's Geolocation
1291
+ * The geolocation object can be patched one of three ways. Option 1: Set the primary property to true. This will set the client as the users primary geolocation source. Option 2: Provide the latitude and longitude values. This will enqueue an asynchronous update of the city, region, and country, generating a notification. A subsequent GET operation will include the new values for city, region and country. Option 3: Provide the city, region, country values. Option 1 can be combined with Option 2 or Option 3. For example, update the client as primary and provide latitude and longitude values.
1292
1292
  * @param {String} userId user Id
1293
1293
  * @param {String} clientId client Id
1294
1294
  * @param {Object} body Geolocation
@@ -1310,13 +1310,13 @@ class UsersApi {
1310
1310
  return this.apiClient.callApi(
1311
1311
  '/api/v2/users/{userId}/geolocations/{clientId}',
1312
1312
  'PATCH',
1313
- { 'userId': userId,'clientId': clientId },
1314
- { },
1315
- { },
1316
- { },
1313
+ { 'userId': userId,'clientId': clientId },
1314
+ { },
1315
+ { },
1316
+ { },
1317
1317
  body,
1318
1318
  ['PureCloud OAuth'],
1319
- ['application/json'],
1319
+ ['application/json'],
1320
1320
  ['application/json']
1321
1321
  );
1322
1322
  }
@@ -1345,13 +1345,13 @@ class UsersApi {
1345
1345
  return this.apiClient.callApi(
1346
1346
  '/api/v2/users/{userId}/queues/{queueId}',
1347
1347
  'PATCH',
1348
- { 'queueId': queueId,'userId': userId },
1349
- { },
1350
- { },
1351
- { },
1348
+ { 'queueId': queueId,'userId': userId },
1349
+ { },
1350
+ { },
1351
+ { },
1352
1352
  body,
1353
1353
  ['PureCloud OAuth'],
1354
- ['application/json'],
1354
+ ['application/json'],
1355
1355
  ['application/json']
1356
1356
  );
1357
1357
  }
@@ -1379,13 +1379,13 @@ class UsersApi {
1379
1379
  return this.apiClient.callApi(
1380
1380
  '/api/v2/users/{userId}/queues',
1381
1381
  'PATCH',
1382
- { 'userId': userId },
1383
- { 'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1384
- { },
1385
- { },
1382
+ { 'userId': userId },
1383
+ { 'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
1384
+ { },
1385
+ { },
1386
1386
  body,
1387
1387
  ['PureCloud OAuth'],
1388
- ['application/json'],
1388
+ ['application/json'],
1389
1389
  ['application/json']
1390
1390
  );
1391
1391
  }
@@ -1414,13 +1414,13 @@ class UsersApi {
1414
1414
  return this.apiClient.callApi(
1415
1415
  '/api/v2/users/{userId}/routinglanguages/{languageId}',
1416
1416
  'PATCH',
1417
- { 'userId': userId,'languageId': languageId },
1418
- { },
1419
- { },
1420
- { },
1417
+ { 'userId': userId,'languageId': languageId },
1418
+ { },
1419
+ { },
1420
+ { },
1421
1421
  body,
1422
1422
  ['PureCloud OAuth'],
1423
- ['application/json'],
1423
+ ['application/json'],
1424
1424
  ['application/json']
1425
1425
  );
1426
1426
  }
@@ -1444,13 +1444,13 @@ class UsersApi {
1444
1444
  return this.apiClient.callApi(
1445
1445
  '/api/v2/users/{userId}/routinglanguages/bulk',
1446
1446
  'PATCH',
1447
- { 'userId': userId },
1448
- { },
1449
- { },
1450
- { },
1447
+ { 'userId': userId },
1448
+ { },
1449
+ { },
1450
+ { },
1451
1451
  body,
1452
1452
  ['PureCloud OAuth'],
1453
- ['application/json'],
1453
+ ['application/json'],
1454
1454
  ['application/json']
1455
1455
  );
1456
1456
  }
@@ -1474,13 +1474,13 @@ class UsersApi {
1474
1474
  return this.apiClient.callApi(
1475
1475
  '/api/v2/users/{userId}/routingskills/bulk',
1476
1476
  'PATCH',
1477
- { 'userId': userId },
1478
- { },
1479
- { },
1480
- { },
1477
+ { 'userId': userId },
1478
+ { },
1479
+ { },
1480
+ { },
1481
1481
  body,
1482
1482
  ['PureCloud OAuth'],
1483
- ['application/json'],
1483
+ ['application/json'],
1484
1484
  ['application/json']
1485
1485
  );
1486
1486
  }
@@ -1499,13 +1499,13 @@ class UsersApi {
1499
1499
  return this.apiClient.callApi(
1500
1500
  '/api/v2/users/bulk',
1501
1501
  'PATCH',
1502
- { },
1503
- { },
1504
- { },
1505
- { },
1502
+ { },
1503
+ { },
1504
+ { },
1505
+ { },
1506
1506
  body,
1507
1507
  ['PureCloud OAuth'],
1508
- ['application/json'],
1508
+ ['application/json'],
1509
1509
  ['application/json']
1510
1510
  );
1511
1511
  }
@@ -1524,13 +1524,13 @@ class UsersApi {
1524
1524
  return this.apiClient.callApi(
1525
1525
  '/api/v2/analytics/users/aggregates/query',
1526
1526
  'POST',
1527
- { },
1528
- { },
1529
- { },
1530
- { },
1527
+ { },
1528
+ { },
1529
+ { },
1530
+ { },
1531
1531
  body,
1532
1532
  ['PureCloud OAuth'],
1533
- ['application/json'],
1533
+ ['application/json'],
1534
1534
  ['application/json']
1535
1535
  );
1536
1536
  }
@@ -1549,13 +1549,13 @@ class UsersApi {
1549
1549
  return this.apiClient.callApi(
1550
1550
  '/api/v2/analytics/users/details/jobs',
1551
1551
  'POST',
1552
- { },
1553
- { },
1554
- { },
1555
- { },
1552
+ { },
1553
+ { },
1554
+ { },
1555
+ { },
1556
1556
  body,
1557
1557
  ['PureCloud OAuth'],
1558
- ['application/json'],
1558
+ ['application/json'],
1559
1559
  ['application/json']
1560
1560
  );
1561
1561
  }
@@ -1574,13 +1574,13 @@ class UsersApi {
1574
1574
  return this.apiClient.callApi(
1575
1575
  '/api/v2/analytics/users/details/query',
1576
1576
  'POST',
1577
- { },
1578
- { },
1579
- { },
1580
- { },
1577
+ { },
1578
+ { },
1579
+ { },
1580
+ { },
1581
1581
  body,
1582
1582
  ['PureCloud OAuth'],
1583
- ['application/json'],
1583
+ ['application/json'],
1584
1584
  ['application/json']
1585
1585
  );
1586
1586
  }
@@ -1599,13 +1599,13 @@ class UsersApi {
1599
1599
  return this.apiClient.callApi(
1600
1600
  '/api/v2/analytics/users/observations/query',
1601
1601
  'POST',
1602
- { },
1603
- { },
1604
- { },
1605
- { },
1602
+ { },
1603
+ { },
1604
+ { },
1605
+ { },
1606
1606
  body,
1607
1607
  ['PureCloud OAuth'],
1608
- ['application/json'],
1608
+ ['application/json'],
1609
1609
  ['application/json']
1610
1610
  );
1611
1611
  }
@@ -1633,13 +1633,13 @@ class UsersApi {
1633
1633
  return this.apiClient.callApi(
1634
1634
  '/api/v2/authorization/subjects/{subjectId}/bulkadd',
1635
1635
  'POST',
1636
- { 'subjectId': subjectId },
1637
- { 'subjectType': opts['subjectType'] },
1638
- { },
1639
- { },
1636
+ { 'subjectId': subjectId },
1637
+ { 'subjectType': opts['subjectType'] },
1638
+ { },
1639
+ { },
1640
1640
  body,
1641
1641
  ['PureCloud OAuth'],
1642
- ['application/json'],
1642
+ ['application/json'],
1643
1643
  ['application/json']
1644
1644
  );
1645
1645
  }
@@ -1663,19 +1663,19 @@ class UsersApi {
1663
1663
  return this.apiClient.callApi(
1664
1664
  '/api/v2/authorization/subjects/{subjectId}/bulkremove',
1665
1665
  'POST',
1666
- { 'subjectId': subjectId },
1667
- { },
1668
- { },
1669
- { },
1666
+ { 'subjectId': subjectId },
1667
+ { },
1668
+ { },
1669
+ { },
1670
1670
  body,
1671
1671
  ['PureCloud OAuth'],
1672
- ['application/json'],
1672
+ ['application/json'],
1673
1673
  ['application/json']
1674
1674
  );
1675
1675
  }
1676
1676
 
1677
1677
  /**
1678
- * Replace subject&#39;s roles and divisions with the exact list supplied in the request.
1678
+ * Replace subject's roles and divisions with the exact list supplied in the request.
1679
1679
  * This operation will not remove grants that are inherited from group membership. It will only set the grants directly applied to the subject.
1680
1680
  * @param {String} subjectId Subject ID (user or group)
1681
1681
  * @param {Object} body Pairs of role and division IDs
@@ -1697,13 +1697,13 @@ class UsersApi {
1697
1697
  return this.apiClient.callApi(
1698
1698
  '/api/v2/authorization/subjects/{subjectId}/bulkreplace',
1699
1699
  'POST',
1700
- { 'subjectId': subjectId },
1701
- { 'subjectType': opts['subjectType'] },
1702
- { },
1703
- { },
1700
+ { 'subjectId': subjectId },
1701
+ { 'subjectType': opts['subjectType'] },
1702
+ { },
1703
+ { },
1704
1704
  body,
1705
1705
  ['PureCloud OAuth'],
1706
- ['application/json'],
1706
+ ['application/json'],
1707
1707
  ['application/json']
1708
1708
  );
1709
1709
  }
@@ -1736,13 +1736,13 @@ class UsersApi {
1736
1736
  return this.apiClient.callApi(
1737
1737
  '/api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId}',
1738
1738
  'POST',
1739
- { 'subjectId': subjectId,'divisionId': divisionId,'roleId': roleId },
1740
- { 'subjectType': opts['subjectType'] },
1741
- { },
1742
- { },
1739
+ { 'subjectId': subjectId,'divisionId': divisionId,'roleId': roleId },
1740
+ { 'subjectType': opts['subjectType'] },
1741
+ { },
1742
+ { },
1743
1743
  null,
1744
1744
  ['PureCloud OAuth'],
1745
- ['application/json'],
1745
+ ['application/json'],
1746
1746
  ['application/json']
1747
1747
  );
1748
1748
  }
@@ -1765,13 +1765,13 @@ class UsersApi {
1765
1765
  return this.apiClient.callApi(
1766
1766
  '/api/v2/users/{userId}/invite',
1767
1767
  'POST',
1768
- { 'userId': userId },
1769
- { 'force': opts['force'] },
1770
- { },
1771
- { },
1768
+ { 'userId': userId },
1769
+ { 'force': opts['force'] },
1770
+ { },
1771
+ { },
1772
1772
  null,
1773
1773
  ['PureCloud OAuth'],
1774
- ['application/json'],
1774
+ ['application/json'],
1775
1775
  ['application/json']
1776
1776
  );
1777
1777
  }
@@ -1795,13 +1795,13 @@ class UsersApi {
1795
1795
  return this.apiClient.callApi(
1796
1796
  '/api/v2/users/{userId}/password',
1797
1797
  'POST',
1798
- { 'userId': userId },
1799
- { },
1800
- { },
1801
- { },
1798
+ { 'userId': userId },
1799
+ { },
1800
+ { },
1801
+ { },
1802
1802
  body,
1803
1803
  ['PureCloud OAuth'],
1804
- ['application/json'],
1804
+ ['application/json'],
1805
1805
  ['application/json']
1806
1806
  );
1807
1807
  }
@@ -1825,13 +1825,13 @@ class UsersApi {
1825
1825
  return this.apiClient.callApi(
1826
1826
  '/api/v2/users/{userId}/routinglanguages',
1827
1827
  'POST',
1828
- { 'userId': userId },
1829
- { },
1830
- { },
1831
- { },
1828
+ { 'userId': userId },
1829
+ { },
1830
+ { },
1831
+ { },
1832
1832
  body,
1833
1833
  ['PureCloud OAuth'],
1834
- ['application/json'],
1834
+ ['application/json'],
1835
1835
  ['application/json']
1836
1836
  );
1837
1837
  }
@@ -1855,13 +1855,13 @@ class UsersApi {
1855
1855
  return this.apiClient.callApi(
1856
1856
  '/api/v2/users/{userId}/routingskills',
1857
1857
  'POST',
1858
- { 'userId': userId },
1859
- { },
1860
- { },
1861
- { },
1858
+ { 'userId': userId },
1859
+ { },
1860
+ { },
1861
+ { },
1862
1862
  body,
1863
1863
  ['PureCloud OAuth'],
1864
- ['application/json'],
1864
+ ['application/json'],
1865
1865
  ['application/json']
1866
1866
  );
1867
1867
  }
@@ -1880,13 +1880,13 @@ class UsersApi {
1880
1880
  return this.apiClient.callApi(
1881
1881
  '/api/v2/users',
1882
1882
  'POST',
1883
- { },
1884
- { },
1885
- { },
1886
- { },
1883
+ { },
1884
+ { },
1885
+ { },
1886
+ { },
1887
1887
  body,
1888
1888
  ['PureCloud OAuth'],
1889
- ['application/json'],
1889
+ ['application/json'],
1890
1890
  ['application/json']
1891
1891
  );
1892
1892
  }
@@ -1905,13 +1905,13 @@ class UsersApi {
1905
1905
  return this.apiClient.callApi(
1906
1906
  '/api/v2/users/development/activities/aggregates/query',
1907
1907
  'POST',
1908
- { },
1909
- { },
1910
- { },
1911
- { },
1908
+ { },
1909
+ { },
1910
+ { },
1911
+ { },
1912
1912
  body,
1913
1913
  ['PureCloud OAuth'],
1914
- ['application/json'],
1914
+ ['application/json'],
1915
1915
  ['application/json']
1916
1916
  );
1917
1917
  }
@@ -1930,13 +1930,13 @@ class UsersApi {
1930
1930
  return this.apiClient.callApi(
1931
1931
  '/api/v2/users/me/password',
1932
1932
  'POST',
1933
- { },
1934
- { },
1935
- { },
1936
- { },
1933
+ { },
1934
+ { },
1935
+ { },
1936
+ { },
1937
1937
  body,
1938
1938
  ['PureCloud OAuth'],
1939
- ['application/json'],
1939
+ ['application/json'],
1940
1940
  ['application/json']
1941
1941
  );
1942
1942
  }
@@ -1955,19 +1955,19 @@ class UsersApi {
1955
1955
  return this.apiClient.callApi(
1956
1956
  '/api/v2/users/search',
1957
1957
  'POST',
1958
- { },
1959
- { },
1960
- { },
1961
- { },
1958
+ { },
1959
+ { },
1960
+ { },
1961
+ { },
1962
1962
  body,
1963
1963
  ['PureCloud OAuth'],
1964
- ['application/json'],
1964
+ ['application/json'],
1965
1965
  ['application/json']
1966
1966
  );
1967
1967
  }
1968
1968
 
1969
1969
  /**
1970
- * Update the user&#39;s max utilization settings. Include only those media types requiring custom configuration.
1970
+ * Update the user's max utilization settings. Include only those media types requiring custom configuration.
1971
1971
  *
1972
1972
  * @param {String} userId User ID
1973
1973
  * @param {Object} body utilization
@@ -1985,19 +1985,19 @@ class UsersApi {
1985
1985
  return this.apiClient.callApi(
1986
1986
  '/api/v2/routing/users/{userId}/utilization',
1987
1987
  'PUT',
1988
- { 'userId': userId },
1989
- { },
1990
- { },
1991
- { },
1988
+ { 'userId': userId },
1989
+ { },
1990
+ { },
1991
+ { },
1992
1992
  body,
1993
1993
  ['PureCloud OAuth'],
1994
- ['application/json'],
1994
+ ['application/json'],
1995
1995
  ['application/json']
1996
1996
  );
1997
1997
  }
1998
1998
 
1999
1999
  /**
2000
- * Update a user&#39;s CallForwarding
2000
+ * Update a user's CallForwarding
2001
2001
  *
2002
2002
  * @param {String} userId User ID
2003
2003
  * @param {Object} body Call forwarding
@@ -2015,13 +2015,13 @@ class UsersApi {
2015
2015
  return this.apiClient.callApi(
2016
2016
  '/api/v2/users/{userId}/callforwarding',
2017
2017
  'PUT',
2018
- { 'userId': userId },
2019
- { },
2020
- { },
2021
- { },
2018
+ { 'userId': userId },
2019
+ { },
2020
+ { },
2021
+ { },
2022
2022
  body,
2023
2023
  ['PureCloud OAuth'],
2024
- ['application/json'],
2024
+ ['application/json'],
2025
2025
  ['application/json']
2026
2026
  );
2027
2027
  }
@@ -2045,13 +2045,13 @@ class UsersApi {
2045
2045
  return this.apiClient.callApi(
2046
2046
  '/api/v2/users/{userId}/outofoffice',
2047
2047
  'PUT',
2048
- { 'userId': userId },
2049
- { },
2050
- { },
2051
- { },
2048
+ { 'userId': userId },
2049
+ { },
2050
+ { },
2051
+ { },
2052
2052
  body,
2053
2053
  ['PureCloud OAuth'],
2054
- ['application/json'],
2054
+ ['application/json'],
2055
2055
  ['application/json']
2056
2056
  );
2057
2057
  }
@@ -2060,7 +2060,7 @@ class UsersApi {
2060
2060
  * Update profile skills for a user
2061
2061
  *
2062
2062
  * @param {String} userId User ID
2063
- * @param {Array.<Object>} body Skills
2063
+ * @param {Array.<String>} body Skills
2064
2064
  */
2065
2065
  putUserProfileskills(userId, body) {
2066
2066
  // verify the required parameter 'userId' is set
@@ -2075,22 +2075,22 @@ class UsersApi {
2075
2075
  return this.apiClient.callApi(
2076
2076
  '/api/v2/users/{userId}/profileskills',
2077
2077
  'PUT',
2078
- { 'userId': userId },
2079
- { },
2080
- { },
2081
- { },
2078
+ { 'userId': userId },
2079
+ { },
2080
+ { },
2081
+ { },
2082
2082
  body,
2083
2083
  ['PureCloud OAuth'],
2084
- ['application/json'],
2084
+ ['application/json'],
2085
2085
  ['application/json']
2086
2086
  );
2087
2087
  }
2088
2088
 
2089
2089
  /**
2090
- * Sets the user&#39;s roles
2090
+ * Sets the user's roles
2091
2091
  *
2092
2092
  * @param {String} userId User ID
2093
- * @param {Array.<Object>} body List of roles
2093
+ * @param {Array.<String>} body List of roles
2094
2094
  */
2095
2095
  putUserRoles(userId, body) {
2096
2096
  // verify the required parameter 'userId' is set
@@ -2105,13 +2105,13 @@ class UsersApi {
2105
2105
  return this.apiClient.callApi(
2106
2106
  '/api/v2/users/{userId}/roles',
2107
2107
  'PUT',
2108
- { 'userId': userId },
2109
- { },
2110
- { },
2111
- { },
2108
+ { 'userId': userId },
2109
+ { },
2110
+ { },
2111
+ { },
2112
2112
  body,
2113
2113
  ['PureCloud OAuth'],
2114
- ['application/json'],
2114
+ ['application/json'],
2115
2115
  ['application/json']
2116
2116
  );
2117
2117
  }
@@ -2140,13 +2140,13 @@ class UsersApi {
2140
2140
  return this.apiClient.callApi(
2141
2141
  '/api/v2/users/{userId}/routingskills/{skillId}',
2142
2142
  'PUT',
2143
- { 'userId': userId,'skillId': skillId },
2144
- { },
2145
- { },
2146
- { },
2143
+ { 'userId': userId,'skillId': skillId },
2144
+ { },
2145
+ { },
2146
+ { },
2147
2147
  body,
2148
2148
  ['PureCloud OAuth'],
2149
- ['application/json'],
2149
+ ['application/json'],
2150
2150
  ['application/json']
2151
2151
  );
2152
2152
  }
@@ -2170,13 +2170,13 @@ class UsersApi {
2170
2170
  return this.apiClient.callApi(
2171
2171
  '/api/v2/users/{userId}/routingskills/bulk',
2172
2172
  'PUT',
2173
- { 'userId': userId },
2174
- { },
2175
- { },
2176
- { },
2173
+ { 'userId': userId },
2174
+ { },
2175
+ { },
2176
+ { },
2177
2177
  body,
2178
2178
  ['PureCloud OAuth'],
2179
- ['application/json'],
2179
+ ['application/json'],
2180
2180
  ['application/json']
2181
2181
  );
2182
2182
  }
@@ -2200,13 +2200,13 @@ class UsersApi {
2200
2200
  return this.apiClient.callApi(
2201
2201
  '/api/v2/users/{userId}/routingstatus',
2202
2202
  'PUT',
2203
- { 'userId': userId },
2204
- { },
2205
- { },
2206
- { },
2203
+ { 'userId': userId },
2204
+ { },
2205
+ { },
2206
+ { },
2207
2207
  body,
2208
2208
  ['PureCloud OAuth'],
2209
- ['application/json'],
2209
+ ['application/json'],
2210
2210
  ['application/json']
2211
2211
  );
2212
2212
  }
@@ -2230,13 +2230,13 @@ class UsersApi {
2230
2230
  return this.apiClient.callApi(
2231
2231
  '/api/v2/users/{userId}/state',
2232
2232
  'PUT',
2233
- { 'userId': userId },
2234
- { },
2235
- { },
2236
- { },
2233
+ { 'userId': userId },
2234
+ { },
2235
+ { },
2236
+ { },
2237
2237
  body,
2238
2238
  ['PureCloud OAuth'],
2239
- ['application/json'],
2239
+ ['application/json'],
2240
2240
  ['application/json']
2241
2241
  );
2242
2242
  }
@@ -2260,13 +2260,13 @@ class UsersApi {
2260
2260
  return this.apiClient.callApi(
2261
2261
  '/api/v2/users/{userId}/station/associatedstation/{stationId}',
2262
2262
  'PUT',
2263
- { 'userId': userId,'stationId': stationId },
2264
- { },
2265
- { },
2266
- { },
2263
+ { 'userId': userId,'stationId': stationId },
2264
+ { },
2265
+ { },
2266
+ { },
2267
2267
  null,
2268
2268
  ['PureCloud OAuth'],
2269
- ['application/json'],
2269
+ ['application/json'],
2270
2270
  ['application/json']
2271
2271
  );
2272
2272
  }
@@ -2290,13 +2290,13 @@ class UsersApi {
2290
2290
  return this.apiClient.callApi(
2291
2291
  '/api/v2/users/{userId}/station/defaultstation/{stationId}',
2292
2292
  'PUT',
2293
- { 'userId': userId,'stationId': stationId },
2294
- { },
2295
- { },
2296
- { },
2293
+ { 'userId': userId,'stationId': stationId },
2294
+ { },
2295
+ { },
2296
+ { },
2297
2297
  null,
2298
2298
  ['PureCloud OAuth'],
2299
- ['application/json'],
2299
+ ['application/json'],
2300
2300
  ['application/json']
2301
2301
  );
2302
2302
  }