purecloud-platform-client-v2 136.1.0 → 137.1.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 (74) hide show
  1. package/README.md +9 -12
  2. package/dist/node/purecloud-platform-client-v2.js +9667 -9635
  3. package/dist/web-amd/purecloud-platform-client-v2.js +9667 -9635
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +9674 -9635
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +11469 -13867
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +92 -76
  9. package/package.json +2 -2
  10. package/src/purecloud-platform-client-v2/ApiClient.js +197 -169
  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 +2 -1
  74. package/src/purecloud-platform-client-v2/logger.js +17 -13
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 136.1.0
8
+ * @version 137.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -21,7 +21,7 @@ class GamificationApi {
21
21
 
22
22
 
23
23
  /**
24
- * Leaderboard of the requesting user's division or performance profile
24
+ * Leaderboard of the requesting user's division or performance profile
25
25
  *
26
26
  * @param {String} startWorkday Start workday to retrieve for the leaderboard. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
27
27
  * @param {String} endWorkday End workday to retrieve for the leaderboard. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
@@ -43,13 +43,13 @@ class GamificationApi {
43
43
  return this.apiClient.callApi(
44
44
  '/api/v2/gamification/leaderboard',
45
45
  'GET',
46
- { },
47
- { 'startWorkday': startWorkday,'endWorkday': endWorkday,'metricId': opts['metricId'] },
48
- { },
49
- { },
46
+ { },
47
+ { 'startWorkday': startWorkday,'endWorkday': endWorkday,'metricId': opts['metricId'] },
48
+ { },
49
+ { },
50
50
  null,
51
51
  ['PureCloud OAuth'],
52
- ['application/json'],
52
+ ['application/json'],
53
53
  ['application/json']
54
54
  );
55
55
  }
@@ -87,13 +87,13 @@ class GamificationApi {
87
87
  return this.apiClient.callApi(
88
88
  '/api/v2/gamification/leaderboard/all',
89
89
  'GET',
90
- { },
91
- { 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'metricId': opts['metricId'] },
92
- { },
93
- { },
90
+ { },
91
+ { 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'metricId': opts['metricId'] },
92
+ { },
93
+ { },
94
94
  null,
95
95
  ['PureCloud OAuth'],
96
- ['application/json'],
96
+ ['application/json'],
97
97
  ['application/json']
98
98
  );
99
99
  }
@@ -117,19 +117,19 @@ class GamificationApi {
117
117
  return this.apiClient.callApi(
118
118
  '/api/v2/gamification/leaderboard/all/bestpoints',
119
119
  'GET',
120
- { },
121
- { 'filterType': filterType,'filterId': filterId },
122
- { },
123
- { },
120
+ { },
121
+ { 'filterType': filterType,'filterId': filterId },
122
+ { },
123
+ { },
124
124
  null,
125
125
  ['PureCloud OAuth'],
126
- ['application/json'],
126
+ ['application/json'],
127
127
  ['application/json']
128
128
  );
129
129
  }
130
130
 
131
131
  /**
132
- * Best Points of the requesting user's current performance profile or division
132
+ * Best Points of the requesting user's current performance profile or division
133
133
  *
134
134
  */
135
135
  getGamificationLeaderboardBestpoints() {
@@ -137,13 +137,13 @@ class GamificationApi {
137
137
  return this.apiClient.callApi(
138
138
  '/api/v2/gamification/leaderboard/bestpoints',
139
139
  'GET',
140
- { },
141
- { },
142
- { },
143
- { },
140
+ { },
141
+ { },
142
+ { },
143
+ { },
144
144
  null,
145
145
  ['PureCloud OAuth'],
146
- ['application/json'],
146
+ ['application/json'],
147
147
  ['application/json']
148
148
  );
149
149
  }
@@ -167,13 +167,13 @@ class GamificationApi {
167
167
  return this.apiClient.callApi(
168
168
  '/api/v2/gamification/metrics/{metricId}',
169
169
  'GET',
170
- { 'metricId': metricId },
171
- { 'workday': opts['workday'],'performanceProfileId': opts['performanceProfileId'] },
172
- { },
173
- { },
170
+ { 'metricId': metricId },
171
+ { 'workday': opts['workday'],'performanceProfileId': opts['performanceProfileId'] },
172
+ { },
173
+ { },
174
174
  null,
175
175
  ['PureCloud OAuth'],
176
- ['application/json'],
176
+ ['application/json'],
177
177
  ['application/json']
178
178
  );
179
179
  }
@@ -192,13 +192,13 @@ class GamificationApi {
192
192
  return this.apiClient.callApi(
193
193
  '/api/v2/gamification/metricdefinitions/{metricDefinitionId}',
194
194
  'GET',
195
- { 'metricDefinitionId': metricDefinitionId },
196
- { },
197
- { },
198
- { },
195
+ { 'metricDefinitionId': metricDefinitionId },
196
+ { },
197
+ { },
198
+ { },
199
199
  null,
200
200
  ['PureCloud OAuth'],
201
- ['application/json'],
201
+ ['application/json'],
202
202
  ['application/json']
203
203
  );
204
204
  }
@@ -212,13 +212,13 @@ class GamificationApi {
212
212
  return this.apiClient.callApi(
213
213
  '/api/v2/gamification/metricdefinitions',
214
214
  'GET',
215
- { },
216
- { },
217
- { },
218
- { },
215
+ { },
216
+ { },
217
+ { },
218
+ { },
219
219
  null,
220
220
  ['PureCloud OAuth'],
221
- ['application/json'],
221
+ ['application/json'],
222
222
  ['application/json']
223
223
  );
224
224
  }
@@ -237,13 +237,13 @@ class GamificationApi {
237
237
  return this.apiClient.callApi(
238
238
  '/api/v2/gamification/metrics',
239
239
  'GET',
240
- { },
241
- { 'performanceProfileId': opts['performanceProfileId'],'workday': opts['workday'] },
242
- { },
243
- { },
240
+ { },
241
+ { 'performanceProfileId': opts['performanceProfileId'],'workday': opts['workday'] },
242
+ { },
243
+ { },
244
244
  null,
245
245
  ['PureCloud OAuth'],
246
- ['application/json'],
246
+ ['application/json'],
247
247
  ['application/json']
248
248
  );
249
249
  }
@@ -262,13 +262,13 @@ class GamificationApi {
262
262
  return this.apiClient.callApi(
263
263
  '/api/v2/gamification/profiles/{profileId}',
264
264
  'GET',
265
- { 'profileId': profileId },
266
- { },
267
- { },
268
- { },
265
+ { 'profileId': profileId },
266
+ { },
267
+ { },
268
+ { },
269
269
  null,
270
270
  ['PureCloud OAuth'],
271
- ['application/json'],
271
+ ['application/json'],
272
272
  ['application/json']
273
273
  );
274
274
  }
@@ -287,13 +287,13 @@ class GamificationApi {
287
287
  return this.apiClient.callApi(
288
288
  '/api/v2/gamification/profiles/{performanceProfileId}/members',
289
289
  'GET',
290
- { 'performanceProfileId': performanceProfileId },
291
- { },
292
- { },
293
- { },
290
+ { 'performanceProfileId': performanceProfileId },
291
+ { },
292
+ { },
293
+ { },
294
294
  null,
295
295
  ['PureCloud OAuth'],
296
- ['application/json'],
296
+ ['application/json'],
297
297
  ['application/json']
298
298
  );
299
299
  }
@@ -321,13 +321,13 @@ class GamificationApi {
321
321
  return this.apiClient.callApi(
322
322
  '/api/v2/gamification/profiles/{profileId}/metrics/{metricId}',
323
323
  'GET',
324
- { 'profileId': profileId,'metricId': metricId },
325
- { 'workday': opts['workday'] },
326
- { },
327
- { },
324
+ { 'profileId': profileId,'metricId': metricId },
325
+ { 'workday': opts['workday'] },
326
+ { },
327
+ { },
328
328
  null,
329
329
  ['PureCloud OAuth'],
330
- ['application/json'],
330
+ ['application/json'],
331
331
  ['application/json']
332
332
  );
333
333
  }
@@ -351,13 +351,13 @@ class GamificationApi {
351
351
  return this.apiClient.callApi(
352
352
  '/api/v2/gamification/profiles/{profileId}/metrics',
353
353
  'GET',
354
- { 'profileId': profileId },
355
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'workday': opts['workday'] },
356
- { },
357
- { },
354
+ { 'profileId': profileId },
355
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'workday': opts['workday'] },
356
+ { },
357
+ { },
358
358
  null,
359
359
  ['PureCloud OAuth'],
360
- ['application/json'],
360
+ ['application/json'],
361
361
  ['application/json']
362
362
  );
363
363
  }
@@ -380,13 +380,13 @@ class GamificationApi {
380
380
  return this.apiClient.callApi(
381
381
  '/api/v2/gamification/profiles/{profileId}/metrics/objectivedetails',
382
382
  'GET',
383
- { 'profileId': profileId },
384
- { 'workday': opts['workday'] },
385
- { },
386
- { },
383
+ { 'profileId': profileId },
384
+ { 'workday': opts['workday'] },
385
+ { },
386
+ { },
387
387
  null,
388
388
  ['PureCloud OAuth'],
389
- ['application/json'],
389
+ ['application/json'],
390
390
  ['application/json']
391
391
  );
392
392
  }
@@ -400,13 +400,13 @@ class GamificationApi {
400
400
  return this.apiClient.callApi(
401
401
  '/api/v2/gamification/profiles',
402
402
  'GET',
403
- { },
404
- { },
405
- { },
406
- { },
403
+ { },
404
+ { },
405
+ { },
406
+ { },
407
407
  null,
408
408
  ['PureCloud OAuth'],
409
- ['application/json'],
409
+ ['application/json'],
410
410
  ['application/json']
411
411
  );
412
412
  }
@@ -429,13 +429,13 @@ class GamificationApi {
429
429
  return this.apiClient.callApi(
430
430
  '/api/v2/gamification/profiles/users/{userId}',
431
431
  'GET',
432
- { 'userId': userId },
433
- { 'workday': opts['workday'] },
434
- { },
435
- { },
432
+ { 'userId': userId },
433
+ { 'workday': opts['workday'] },
434
+ { },
435
+ { },
436
436
  null,
437
437
  ['PureCloud OAuth'],
438
- ['application/json'],
438
+ ['application/json'],
439
439
  ['application/json']
440
440
  );
441
441
  }
@@ -453,13 +453,13 @@ class GamificationApi {
453
453
  return this.apiClient.callApi(
454
454
  '/api/v2/gamification/profiles/users/me',
455
455
  'GET',
456
- { },
457
- { 'workday': opts['workday'] },
458
- { },
459
- { },
456
+ { },
457
+ { 'workday': opts['workday'] },
458
+ { },
459
+ { },
460
460
  null,
461
461
  ['PureCloud OAuth'],
462
- ['application/json'],
462
+ ['application/json'],
463
463
  ['application/json']
464
464
  );
465
465
  }
@@ -482,13 +482,13 @@ class GamificationApi {
482
482
  return this.apiClient.callApi(
483
483
  '/api/v2/gamification/scorecards',
484
484
  'GET',
485
- { },
486
- { 'workday': workday,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
487
- { },
488
- { },
485
+ { },
486
+ { 'workday': workday,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
487
+ { },
488
+ { },
489
489
  null,
490
490
  ['PureCloud OAuth'],
491
- ['application/json'],
491
+ ['application/json'],
492
492
  ['application/json']
493
493
  );
494
494
  }
@@ -512,13 +512,13 @@ class GamificationApi {
512
512
  return this.apiClient.callApi(
513
513
  '/api/v2/gamification/scorecards/attendance',
514
514
  'GET',
515
- { },
516
- { 'startWorkday': startWorkday,'endWorkday': endWorkday },
517
- { },
518
- { },
515
+ { },
516
+ { 'startWorkday': startWorkday,'endWorkday': endWorkday },
517
+ { },
518
+ { },
519
519
  null,
520
520
  ['PureCloud OAuth'],
521
- ['application/json'],
521
+ ['application/json'],
522
522
  ['application/json']
523
523
  );
524
524
  }
@@ -532,13 +532,13 @@ class GamificationApi {
532
532
  return this.apiClient.callApi(
533
533
  '/api/v2/gamification/scorecards/bestpoints',
534
534
  'GET',
535
- { },
536
- { },
537
- { },
538
- { },
535
+ { },
536
+ { },
537
+ { },
538
+ { },
539
539
  null,
540
540
  ['PureCloud OAuth'],
541
- ['application/json'],
541
+ ['application/json'],
542
542
  ['application/json']
543
543
  );
544
544
  }
@@ -557,19 +557,19 @@ class GamificationApi {
557
557
  return this.apiClient.callApi(
558
558
  '/api/v2/gamification/scorecards/points/alltime',
559
559
  'GET',
560
- { },
561
- { 'endWorkday': endWorkday },
562
- { },
563
- { },
560
+ { },
561
+ { 'endWorkday': endWorkday },
562
+ { },
563
+ { },
564
564
  null,
565
565
  ['PureCloud OAuth'],
566
- ['application/json'],
566
+ ['application/json'],
567
567
  ['application/json']
568
568
  );
569
569
  }
570
570
 
571
571
  /**
572
- * Average points of the requesting user's division or performance profile
572
+ * Average points of the requesting user's division or performance profile
573
573
  *
574
574
  * @param {String} workday The target workday. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
575
575
  */
@@ -582,13 +582,13 @@ class GamificationApi {
582
582
  return this.apiClient.callApi(
583
583
  '/api/v2/gamification/scorecards/points/average',
584
584
  'GET',
585
- { },
586
- { 'workday': workday },
587
- { },
588
- { },
585
+ { },
586
+ { 'workday': workday },
587
+ { },
588
+ { },
589
589
  null,
590
590
  ['PureCloud OAuth'],
591
- ['application/json'],
591
+ ['application/json'],
592
592
  ['application/json']
593
593
  );
594
594
  }
@@ -616,13 +616,13 @@ class GamificationApi {
616
616
  return this.apiClient.callApi(
617
617
  '/api/v2/gamification/scorecards/points/trends',
618
618
  'GET',
619
- { },
620
- { 'startWorkday': startWorkday,'endWorkday': endWorkday,'dayOfWeek': opts['dayOfWeek'] },
621
- { },
622
- { },
619
+ { },
620
+ { 'startWorkday': startWorkday,'endWorkday': endWorkday,'dayOfWeek': opts['dayOfWeek'] },
621
+ { },
622
+ { },
623
623
  null,
624
624
  ['PureCloud OAuth'],
625
- ['application/json'],
625
+ ['application/json'],
626
626
  ['application/json']
627
627
  );
628
628
  }
@@ -650,13 +650,13 @@ class GamificationApi {
650
650
  return this.apiClient.callApi(
651
651
  '/api/v2/gamification/scorecards/users/{userId}',
652
652
  'GET',
653
- { 'userId': userId },
654
- { 'workday': workday,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
655
- { },
656
- { },
653
+ { 'userId': userId },
654
+ { 'workday': workday,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
655
+ { },
656
+ { },
657
657
  null,
658
658
  ['PureCloud OAuth'],
659
- ['application/json'],
659
+ ['application/json'],
660
660
  ['application/json']
661
661
  );
662
662
  }
@@ -685,13 +685,13 @@ class GamificationApi {
685
685
  return this.apiClient.callApi(
686
686
  '/api/v2/gamification/scorecards/users/{userId}/attendance',
687
687
  'GET',
688
- { 'userId': userId },
689
- { 'startWorkday': startWorkday,'endWorkday': endWorkday },
690
- { },
691
- { },
688
+ { 'userId': userId },
689
+ { 'startWorkday': startWorkday,'endWorkday': endWorkday },
690
+ { },
691
+ { },
692
692
  null,
693
693
  ['PureCloud OAuth'],
694
- ['application/json'],
694
+ ['application/json'],
695
695
  ['application/json']
696
696
  );
697
697
  }
@@ -710,13 +710,13 @@ class GamificationApi {
710
710
  return this.apiClient.callApi(
711
711
  '/api/v2/gamification/scorecards/users/{userId}/bestpoints',
712
712
  'GET',
713
- { 'userId': userId },
714
- { },
715
- { },
716
- { },
713
+ { 'userId': userId },
714
+ { },
715
+ { },
716
+ { },
717
717
  null,
718
718
  ['PureCloud OAuth'],
719
- ['application/json'],
719
+ ['application/json'],
720
720
  ['application/json']
721
721
  );
722
722
  }
@@ -740,13 +740,13 @@ class GamificationApi {
740
740
  return this.apiClient.callApi(
741
741
  '/api/v2/gamification/scorecards/users/{userId}/points/alltime',
742
742
  'GET',
743
- { 'userId': userId },
744
- { 'endWorkday': endWorkday },
745
- { },
746
- { },
743
+ { 'userId': userId },
744
+ { 'endWorkday': endWorkday },
745
+ { },
746
+ { },
747
747
  null,
748
748
  ['PureCloud OAuth'],
749
- ['application/json'],
749
+ ['application/json'],
750
750
  ['application/json']
751
751
  );
752
752
  }
@@ -779,13 +779,13 @@ class GamificationApi {
779
779
  return this.apiClient.callApi(
780
780
  '/api/v2/gamification/scorecards/users/{userId}/points/trends',
781
781
  'GET',
782
- { 'userId': userId },
783
- { 'startWorkday': startWorkday,'endWorkday': endWorkday,'dayOfWeek': opts['dayOfWeek'] },
784
- { },
785
- { },
782
+ { 'userId': userId },
783
+ { 'startWorkday': startWorkday,'endWorkday': endWorkday,'dayOfWeek': opts['dayOfWeek'] },
784
+ { },
785
+ { },
786
786
  null,
787
787
  ['PureCloud OAuth'],
788
- ['application/json'],
788
+ ['application/json'],
789
789
  ['application/json']
790
790
  );
791
791
  }
@@ -818,13 +818,13 @@ class GamificationApi {
818
818
  return this.apiClient.callApi(
819
819
  '/api/v2/gamification/scorecards/users/{userId}/values/trends',
820
820
  'GET',
821
- { 'userId': userId },
822
- { 'startWorkday': startWorkday,'endWorkday': endWorkday,'timeZone': opts['timeZone'] },
823
- { },
824
- { },
821
+ { 'userId': userId },
822
+ { 'startWorkday': startWorkday,'endWorkday': endWorkday,'timeZone': opts['timeZone'] },
823
+ { },
824
+ { },
825
825
  null,
826
826
  ['PureCloud OAuth'],
827
- ['application/json'],
827
+ ['application/json'],
828
828
  ['application/json']
829
829
  );
830
830
  }
@@ -853,13 +853,13 @@ class GamificationApi {
853
853
  return this.apiClient.callApi(
854
854
  '/api/v2/gamification/scorecards/users/points/average',
855
855
  'GET',
856
- { },
857
- { 'filterType': filterType,'filterId': filterId,'workday': workday },
858
- { },
859
- { },
856
+ { },
857
+ { 'filterType': filterType,'filterId': filterId,'workday': workday },
858
+ { },
859
+ { },
860
860
  null,
861
861
  ['PureCloud OAuth'],
862
- ['application/json'],
862
+ ['application/json'],
863
863
  ['application/json']
864
864
  );
865
865
  }
@@ -892,13 +892,13 @@ class GamificationApi {
892
892
  return this.apiClient.callApi(
893
893
  '/api/v2/gamification/scorecards/users/values/average',
894
894
  'GET',
895
- { },
896
- { 'filterType': filterType,'filterId': filterId,'workday': workday,'timeZone': opts['timeZone'] },
897
- { },
898
- { },
895
+ { },
896
+ { 'filterType': filterType,'filterId': filterId,'workday': workday,'timeZone': opts['timeZone'] },
897
+ { },
898
+ { },
899
899
  null,
900
900
  ['PureCloud OAuth'],
901
- ['application/json'],
901
+ ['application/json'],
902
902
  ['application/json']
903
903
  );
904
904
  }
@@ -936,19 +936,19 @@ class GamificationApi {
936
936
  return this.apiClient.callApi(
937
937
  '/api/v2/gamification/scorecards/users/values/trends',
938
938
  'GET',
939
- { },
940
- { 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'timeZone': opts['timeZone'] },
941
- { },
942
- { },
939
+ { },
940
+ { 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'timeZone': opts['timeZone'] },
941
+ { },
942
+ { },
943
943
  null,
944
944
  ['PureCloud OAuth'],
945
- ['application/json'],
945
+ ['application/json'],
946
946
  ['application/json']
947
947
  );
948
948
  }
949
949
 
950
950
  /**
951
- * Average values of the requesting user's division or performance profile
951
+ * Average values of the requesting user's division or performance profile
952
952
  *
953
953
  * @param {String} workday The target workday. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
954
954
  * @param {Object} opts Optional parameters
@@ -965,13 +965,13 @@ class GamificationApi {
965
965
  return this.apiClient.callApi(
966
966
  '/api/v2/gamification/scorecards/values/average',
967
967
  'GET',
968
- { },
969
- { 'workday': workday,'timeZone': opts['timeZone'] },
970
- { },
971
- { },
968
+ { },
969
+ { 'workday': workday,'timeZone': opts['timeZone'] },
970
+ { },
971
+ { },
972
972
  null,
973
973
  ['PureCloud OAuth'],
974
- ['application/json'],
974
+ ['application/json'],
975
975
  ['application/json']
976
976
  );
977
977
  }
@@ -983,7 +983,7 @@ class GamificationApi {
983
983
  * @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
984
984
  * @param {Object} opts Optional parameters
985
985
  * @param {Object} opts.filterType Filter type for the query request. If not set, then the request is for the requesting user.
986
- * @param {String} opts.referenceWorkday Reference workday for the trend. Used to determine the profile of the user as of this date. If not set, then the user's current profile will be used. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
986
+ * @param {String} opts.referenceWorkday Reference workday for the trend. Used to determine the profile of the user as of this date. If not set, then the user's current profile will be used. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
987
987
  * @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
988
988
  */
989
989
  getGamificationScorecardsValuesTrends(startWorkday, endWorkday, opts) {
@@ -1001,13 +1001,13 @@ class GamificationApi {
1001
1001
  return this.apiClient.callApi(
1002
1002
  '/api/v2/gamification/scorecards/values/trends',
1003
1003
  'GET',
1004
- { },
1005
- { 'filterType': opts['filterType'],'referenceWorkday': opts['referenceWorkday'],'startWorkday': startWorkday,'endWorkday': endWorkday,'timeZone': opts['timeZone'] },
1006
- { },
1007
- { },
1004
+ { },
1005
+ { 'filterType': opts['filterType'],'referenceWorkday': opts['referenceWorkday'],'startWorkday': startWorkday,'endWorkday': endWorkday,'timeZone': opts['timeZone'] },
1006
+ { },
1007
+ { },
1008
1008
  null,
1009
1009
  ['PureCloud OAuth'],
1010
- ['application/json'],
1010
+ ['application/json'],
1011
1011
  ['application/json']
1012
1012
  );
1013
1013
  }
@@ -1021,13 +1021,13 @@ class GamificationApi {
1021
1021
  return this.apiClient.callApi(
1022
1022
  '/api/v2/gamification/status',
1023
1023
  'GET',
1024
- { },
1025
- { },
1026
- { },
1027
- { },
1024
+ { },
1025
+ { },
1026
+ { },
1027
+ { },
1028
1028
  null,
1029
1029
  ['PureCloud OAuth'],
1030
- ['application/json'],
1030
+ ['application/json'],
1031
1031
  ['application/json']
1032
1032
  );
1033
1033
  }
@@ -1046,13 +1046,13 @@ class GamificationApi {
1046
1046
  return this.apiClient.callApi(
1047
1047
  '/api/v2/gamification/templates/{templateId}',
1048
1048
  'GET',
1049
- { 'templateId': templateId },
1050
- { },
1051
- { },
1052
- { },
1049
+ { 'templateId': templateId },
1050
+ { },
1051
+ { },
1052
+ { },
1053
1053
  null,
1054
1054
  ['PureCloud OAuth'],
1055
- ['application/json'],
1055
+ ['application/json'],
1056
1056
  ['application/json']
1057
1057
  );
1058
1058
  }
@@ -1066,13 +1066,13 @@ class GamificationApi {
1066
1066
  return this.apiClient.callApi(
1067
1067
  '/api/v2/gamification/templates',
1068
1068
  'GET',
1069
- { },
1070
- { },
1071
- { },
1072
- { },
1069
+ { },
1070
+ { },
1071
+ { },
1072
+ { },
1073
1073
  null,
1074
1074
  ['PureCloud OAuth'],
1075
- ['application/json'],
1075
+ ['application/json'],
1076
1076
  ['application/json']
1077
1077
  );
1078
1078
  }
@@ -1091,13 +1091,13 @@ class GamificationApi {
1091
1091
  return this.apiClient.callApi(
1092
1092
  '/api/v2/gamification/metrics',
1093
1093
  'POST',
1094
- { },
1095
- { },
1096
- { },
1097
- { },
1094
+ { },
1095
+ { },
1096
+ { },
1097
+ { },
1098
1098
  body,
1099
1099
  ['PureCloud OAuth'],
1100
- ['application/json'],
1100
+ ['application/json'],
1101
1101
  ['application/json']
1102
1102
  );
1103
1103
  }
@@ -1116,13 +1116,13 @@ class GamificationApi {
1116
1116
  return this.apiClient.callApi(
1117
1117
  '/api/v2/gamification/profiles/{profileId}/activate',
1118
1118
  'POST',
1119
- { 'profileId': profileId },
1120
- { },
1121
- { },
1122
- { },
1119
+ { 'profileId': profileId },
1120
+ { },
1121
+ { },
1122
+ { },
1123
1123
  null,
1124
1124
  ['PureCloud OAuth'],
1125
- ['application/json'],
1125
+ ['application/json'],
1126
1126
  ['application/json']
1127
1127
  );
1128
1128
  }
@@ -1141,13 +1141,13 @@ class GamificationApi {
1141
1141
  return this.apiClient.callApi(
1142
1142
  '/api/v2/gamification/profiles/{profileId}/deactivate',
1143
1143
  'POST',
1144
- { 'profileId': profileId },
1145
- { },
1146
- { },
1147
- { },
1144
+ { 'profileId': profileId },
1145
+ { },
1146
+ { },
1147
+ { },
1148
1148
  null,
1149
1149
  ['PureCloud OAuth'],
1150
- ['application/json'],
1150
+ ['application/json'],
1151
1151
  ['application/json']
1152
1152
  );
1153
1153
  }
@@ -1171,13 +1171,13 @@ class GamificationApi {
1171
1171
  return this.apiClient.callApi(
1172
1172
  '/api/v2/gamification/profiles/{performanceProfileId}/members',
1173
1173
  'POST',
1174
- { 'performanceProfileId': performanceProfileId },
1175
- { },
1176
- { },
1177
- { },
1174
+ { 'performanceProfileId': performanceProfileId },
1175
+ { },
1176
+ { },
1177
+ { },
1178
1178
  body,
1179
1179
  ['PureCloud OAuth'],
1180
- ['application/json'],
1180
+ ['application/json'],
1181
1181
  ['application/json']
1182
1182
  );
1183
1183
  }
@@ -1201,13 +1201,13 @@ class GamificationApi {
1201
1201
  return this.apiClient.callApi(
1202
1202
  '/api/v2/gamification/profiles/{performanceProfileId}/members/validate',
1203
1203
  'POST',
1204
- { 'performanceProfileId': performanceProfileId },
1205
- { },
1206
- { },
1207
- { },
1204
+ { 'performanceProfileId': performanceProfileId },
1205
+ { },
1206
+ { },
1207
+ { },
1208
1208
  body,
1209
1209
  ['PureCloud OAuth'],
1210
- ['application/json'],
1210
+ ['application/json'],
1211
1211
  ['application/json']
1212
1212
  );
1213
1213
  }
@@ -1236,13 +1236,13 @@ class GamificationApi {
1236
1236
  return this.apiClient.callApi(
1237
1237
  '/api/v2/gamification/profiles/{sourceProfileId}/metrics/{sourceMetricId}/link',
1238
1238
  'POST',
1239
- { 'sourceProfileId': sourceProfileId,'sourceMetricId': sourceMetricId },
1240
- { },
1241
- { },
1242
- { },
1239
+ { 'sourceProfileId': sourceProfileId,'sourceMetricId': sourceMetricId },
1240
+ { },
1241
+ { },
1242
+ { },
1243
1243
  body,
1244
1244
  ['PureCloud OAuth'],
1245
- ['application/json'],
1245
+ ['application/json'],
1246
1246
  ['application/json']
1247
1247
  );
1248
1248
  }
@@ -1266,13 +1266,13 @@ class GamificationApi {
1266
1266
  return this.apiClient.callApi(
1267
1267
  '/api/v2/gamification/profiles/{profileId}/metrics',
1268
1268
  'POST',
1269
- { 'profileId': profileId },
1270
- { },
1271
- { },
1272
- { },
1269
+ { 'profileId': profileId },
1270
+ { },
1271
+ { },
1272
+ { },
1273
1273
  body,
1274
1274
  ['PureCloud OAuth'],
1275
- ['application/json'],
1275
+ ['application/json'],
1276
1276
  ['application/json']
1277
1277
  );
1278
1278
  }
@@ -1295,13 +1295,13 @@ class GamificationApi {
1295
1295
  return this.apiClient.callApi(
1296
1296
  '/api/v2/gamification/profiles',
1297
1297
  'POST',
1298
- { },
1299
- { 'copyMetrics': opts['copyMetrics'] },
1300
- { },
1301
- { },
1298
+ { },
1299
+ { 'copyMetrics': opts['copyMetrics'] },
1300
+ { },
1301
+ { },
1302
1302
  body,
1303
1303
  ['PureCloud OAuth'],
1304
- ['application/json'],
1304
+ ['application/json'],
1305
1305
  ['application/json']
1306
1306
  );
1307
1307
  }
@@ -1329,13 +1329,13 @@ class GamificationApi {
1329
1329
  return this.apiClient.callApi(
1330
1330
  '/api/v2/gamification/metrics/{metricId}',
1331
1331
  'PUT',
1332
- { 'metricId': metricId },
1333
- { 'performanceProfileId': opts['performanceProfileId'] },
1334
- { },
1335
- { },
1332
+ { 'metricId': metricId },
1333
+ { 'performanceProfileId': opts['performanceProfileId'] },
1334
+ { },
1335
+ { },
1336
1336
  body,
1337
1337
  ['PureCloud OAuth'],
1338
- ['application/json'],
1338
+ ['application/json'],
1339
1339
  ['application/json']
1340
1340
  );
1341
1341
  }
@@ -1358,13 +1358,13 @@ class GamificationApi {
1358
1358
  return this.apiClient.callApi(
1359
1359
  '/api/v2/gamification/profiles/{profileId}',
1360
1360
  'PUT',
1361
- { 'profileId': profileId },
1362
- { },
1363
- { },
1364
- { },
1361
+ { 'profileId': profileId },
1362
+ { },
1363
+ { },
1364
+ { },
1365
1365
  opts['body'],
1366
1366
  ['PureCloud OAuth'],
1367
- ['application/json'],
1367
+ ['application/json'],
1368
1368
  ['application/json']
1369
1369
  );
1370
1370
  }
@@ -1393,13 +1393,13 @@ class GamificationApi {
1393
1393
  return this.apiClient.callApi(
1394
1394
  '/api/v2/gamification/profiles/{profileId}/metrics/{metricId}',
1395
1395
  'PUT',
1396
- { 'profileId': profileId,'metricId': metricId },
1397
- { },
1398
- { },
1399
- { },
1396
+ { 'profileId': profileId,'metricId': metricId },
1397
+ { },
1398
+ { },
1399
+ { },
1400
1400
  body,
1401
1401
  ['PureCloud OAuth'],
1402
- ['application/json'],
1402
+ ['application/json'],
1403
1403
  ['application/json']
1404
1404
  );
1405
1405
  }
@@ -1418,13 +1418,13 @@ class GamificationApi {
1418
1418
  return this.apiClient.callApi(
1419
1419
  '/api/v2/gamification/status',
1420
1420
  'PUT',
1421
- { },
1422
- { },
1423
- { },
1424
- { },
1421
+ { },
1422
+ { },
1423
+ { },
1424
+ { },
1425
1425
  status,
1426
1426
  ['PureCloud OAuth'],
1427
- ['application/json'],
1427
+ ['application/json'],
1428
1428
  ['application/json']
1429
1429
  );
1430
1430
  }