purecloud-platform-client-v2 96.0.0 → 99.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 (67) hide show
  1. package/README.md +3 -2
  2. package/dist/node/purecloud-platform-client-v2.js +263 -68
  3. package/dist/web-amd/purecloud-platform-client-v2.js +263 -68
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +263 -68
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +265 -71
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +541 -386
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +4 -2
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +8 -5
  32. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/QualityApi.js +3 -2
  45. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
  48. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/UsersApi.js +2 -2
  62. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +190 -2
  67. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -18,7 +18,7 @@ var PureCloudRegionHosts = {
18
18
 
19
19
  /**
20
20
  * @module purecloud-platform-client-v2/ApiClient
21
- * @version 96.0.0
21
+ * @version 99.0.0
22
22
  */
23
23
  class ApiClient {
24
24
  /**
@@ -774,7 +774,7 @@ class ApiClient {
774
774
 
775
775
  // set header parameters
776
776
  request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
777
- //request.set({ 'purecloud-sdk': '96.0.0' });
777
+ //request.set({ 'purecloud-sdk': '99.0.0' });
778
778
 
779
779
  // set request timeout
780
780
  request.timeout(this.timeout);
@@ -899,7 +899,7 @@ class AlertingApi {
899
899
  /**
900
900
  * Alerting service.
901
901
  * @module purecloud-platform-client-v2/api/AlertingApi
902
- * @version 96.0.0
902
+ * @version 99.0.0
903
903
  */
904
904
 
905
905
  /**
@@ -1213,7 +1213,7 @@ class AnalyticsApi {
1213
1213
  /**
1214
1214
  * Analytics service.
1215
1215
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1216
- * @version 96.0.0
1216
+ * @version 99.0.0
1217
1217
  */
1218
1218
 
1219
1219
  /**
@@ -2293,7 +2293,7 @@ class ArchitectApi {
2293
2293
  /**
2294
2294
  * Architect service.
2295
2295
  * @module purecloud-platform-client-v2/api/ArchitectApi
2296
- * @version 96.0.0
2296
+ * @version 99.0.0
2297
2297
  */
2298
2298
 
2299
2299
  /**
@@ -5131,7 +5131,7 @@ class AuditApi {
5131
5131
  /**
5132
5132
  * Audit service.
5133
5133
  * @module purecloud-platform-client-v2/api/AuditApi
5134
- * @version 96.0.0
5134
+ * @version 99.0.0
5135
5135
  */
5136
5136
 
5137
5137
  /**
@@ -5302,7 +5302,7 @@ class AuthorizationApi {
5302
5302
  /**
5303
5303
  * Authorization service.
5304
5304
  * @module purecloud-platform-client-v2/api/AuthorizationApi
5305
- * @version 96.0.0
5305
+ * @version 99.0.0
5306
5306
  */
5307
5307
 
5308
5308
  /**
@@ -5637,6 +5637,8 @@ class AuthorizationApi {
5637
5637
  * @param {Object} opts Optional parameters
5638
5638
  * @param {Number} opts.pageSize Page size (default to 25)
5639
5639
  * @param {Number} opts.pageNumber Page number (default to 1)
5640
+ * @param {Object} opts.queryType Query filter type
5641
+ * @param {String} opts.query Comma-separated list of permissions or domains to query
5640
5642
  */
5641
5643
  getAuthorizationPermissions(opts) {
5642
5644
  opts = opts || {};
@@ -5646,7 +5648,7 @@ class AuthorizationApi {
5646
5648
  '/api/v2/authorization/permissions',
5647
5649
  'GET',
5648
5650
  { },
5649
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
5651
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'queryType': opts['queryType'],'query': opts['query'] },
5650
5652
  { },
5651
5653
  { },
5652
5654
  null,
@@ -6419,7 +6421,7 @@ class BillingApi {
6419
6421
  /**
6420
6422
  * Billing service.
6421
6423
  * @module purecloud-platform-client-v2/api/BillingApi
6422
- * @version 96.0.0
6424
+ * @version 99.0.0
6423
6425
  */
6424
6426
 
6425
6427
  /**
@@ -6499,7 +6501,7 @@ class CoachingApi {
6499
6501
  /**
6500
6502
  * Coaching service.
6501
6503
  * @module purecloud-platform-client-v2/api/CoachingApi
6502
- * @version 96.0.0
6504
+ * @version 99.0.0
6503
6505
  */
6504
6506
 
6505
6507
  /**
@@ -7019,7 +7021,7 @@ class ContentManagementApi {
7019
7021
  /**
7020
7022
  * ContentManagement service.
7021
7023
  * @module purecloud-platform-client-v2/api/ContentManagementApi
7022
- * @version 96.0.0
7024
+ * @version 99.0.0
7023
7025
  */
7024
7026
 
7025
7027
  /**
@@ -8159,7 +8161,7 @@ class ConversationsApi {
8159
8161
  /**
8160
8162
  * Conversations service.
8161
8163
  * @module purecloud-platform-client-v2/api/ConversationsApi
8162
- * @version 96.0.0
8164
+ * @version 99.0.0
8163
8165
  */
8164
8166
 
8165
8167
  /**
@@ -12217,7 +12219,7 @@ class DataExtensionsApi {
12217
12219
  /**
12218
12220
  * DataExtensions service.
12219
12221
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
12220
- * @version 96.0.0
12222
+ * @version 99.0.0
12221
12223
  */
12222
12224
 
12223
12225
  /**
@@ -12303,7 +12305,7 @@ class ExternalContactsApi {
12303
12305
  /**
12304
12306
  * ExternalContacts service.
12305
12307
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
12306
- * @version 96.0.0
12308
+ * @version 99.0.0
12307
12309
  */
12308
12310
 
12309
12311
  /**
@@ -13646,7 +13648,7 @@ class FaxApi {
13646
13648
  /**
13647
13649
  * Fax service.
13648
13650
  * @module purecloud-platform-client-v2/api/FaxApi
13649
- * @version 96.0.0
13651
+ * @version 99.0.0
13650
13652
  */
13651
13653
 
13652
13654
  /**
@@ -13817,7 +13819,7 @@ class FlowsApi {
13817
13819
  /**
13818
13820
  * Flows service.
13819
13821
  * @module purecloud-platform-client-v2/api/FlowsApi
13820
- * @version 96.0.0
13822
+ * @version 99.0.0
13821
13823
  */
13822
13824
 
13823
13825
  /**
@@ -13888,7 +13890,7 @@ class GeneralDataProtectionRegulationApi {
13888
13890
  /**
13889
13891
  * GeneralDataProtectionRegulation service.
13890
13892
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
13891
- * @version 96.0.0
13893
+ * @version 99.0.0
13892
13894
  */
13893
13895
 
13894
13896
  /**
@@ -14018,7 +14020,7 @@ class GeolocationApi {
14018
14020
  /**
14019
14021
  * Geolocation service.
14020
14022
  * @module purecloud-platform-client-v2/api/GeolocationApi
14021
- * @version 96.0.0
14023
+ * @version 99.0.0
14022
14024
  */
14023
14025
 
14024
14026
  /**
@@ -14149,7 +14151,7 @@ class GreetingsApi {
14149
14151
  /**
14150
14152
  * Greetings service.
14151
14153
  * @module purecloud-platform-client-v2/api/GreetingsApi
14152
- * @version 96.0.0
14154
+ * @version 99.0.0
14153
14155
  */
14154
14156
 
14155
14157
  /**
@@ -14604,7 +14606,7 @@ class GroupsApi {
14604
14606
  /**
14605
14607
  * Groups service.
14606
14608
  * @module purecloud-platform-client-v2/api/GroupsApi
14607
- * @version 96.0.0
14609
+ * @version 99.0.0
14608
14610
  */
14609
14611
 
14610
14612
  /**
@@ -15009,7 +15011,7 @@ class IdentityProviderApi {
15009
15011
  /**
15010
15012
  * IdentityProvider service.
15011
15013
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
15012
- * @version 96.0.0
15014
+ * @version 99.0.0
15013
15015
  */
15014
15016
 
15015
15017
  /**
@@ -15765,7 +15767,7 @@ class IntegrationsApi {
15765
15767
  /**
15766
15768
  * Integrations service.
15767
15769
  * @module purecloud-platform-client-v2/api/IntegrationsApi
15768
- * @version 96.0.0
15770
+ * @version 99.0.0
15769
15771
  */
15770
15772
 
15771
15773
  /**
@@ -17257,7 +17259,7 @@ class JourneyApi {
17257
17259
  /**
17258
17260
  * Journey service.
17259
17261
  * @module purecloud-platform-client-v2/api/JourneyApi
17260
- * @version 96.0.0
17262
+ * @version 99.0.0
17261
17263
  */
17262
17264
 
17263
17265
  /**
@@ -17382,7 +17384,7 @@ class KnowledgeApi {
17382
17384
  /**
17383
17385
  * Knowledge service.
17384
17386
  * @module purecloud-platform-client-v2/api/KnowledgeApi
17385
- * @version 96.0.0
17387
+ * @version 99.0.0
17386
17388
  */
17387
17389
 
17388
17390
  /**
@@ -17527,6 +17529,7 @@ class KnowledgeApi {
17527
17529
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
17528
17530
  * @param {String} opts.limit Number of entities to return. Maximum of 200.
17529
17531
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
17532
+ * @param {String} opts.name Filter to return the categories that starts with the given category name.
17530
17533
  */
17531
17534
  getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, opts) {
17532
17535
  opts = opts || {};
@@ -17544,7 +17547,7 @@ class KnowledgeApi {
17544
17547
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
17545
17548
  'GET',
17546
17549
  { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
17547
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'] },
17550
+ { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
17548
17551
  { },
17549
17552
  { },
17550
17553
  null,
@@ -17635,6 +17638,7 @@ class KnowledgeApi {
17635
17638
  * @param {String} opts.limit Number of entities to return. Maximum of 200.
17636
17639
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
17637
17640
  * @param {String} opts.categories Filter by categories ids, comma separated values expected.
17641
+ * @param {String} opts.title Filter by document title.
17638
17642
  */
17639
17643
  getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
17640
17644
  opts = opts || {};
@@ -17652,7 +17656,7 @@ class KnowledgeApi {
17652
17656
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
17653
17657
  'GET',
17654
17658
  { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
17655
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'] },
17659
+ { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'],'title': opts['title'] },
17656
17660
  { },
17657
17661
  { },
17658
17662
  null,
@@ -17698,7 +17702,7 @@ class KnowledgeApi {
17698
17702
  }
17699
17703
 
17700
17704
  /**
17701
- * Get All trainings information for a knowledgebase
17705
+ * Get all trainings information for a knowledgebase
17702
17706
  *
17703
17707
  * @param {String} knowledgeBaseId Knowledge base ID
17704
17708
  * @param {Object} languageCode Language code, format: iso2-LOCALE
@@ -17707,6 +17711,7 @@ class KnowledgeApi {
17707
17711
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
17708
17712
  * @param {String} opts.limit Number of entities to return. Maximum of 200.
17709
17713
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
17714
+ * @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
17710
17715
  */
17711
17716
  getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode, opts) {
17712
17717
  opts = opts || {};
@@ -17724,7 +17729,7 @@ class KnowledgeApi {
17724
17729
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
17725
17730
  'GET',
17726
17731
  { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
17727
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'] },
17732
+ { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'knowledgeDocumentsState': opts['knowledgeDocumentsState'] },
17728
17733
  { },
17729
17734
  { },
17730
17735
  null,
@@ -18102,7 +18107,7 @@ class LanguageUnderstandingApi {
18102
18107
  /**
18103
18108
  * LanguageUnderstanding service.
18104
18109
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
18105
- * @version 96.0.0
18110
+ * @version 99.0.0
18106
18111
  */
18107
18112
 
18108
18113
  /**
@@ -18668,7 +18673,7 @@ class LanguagesApi {
18668
18673
  /**
18669
18674
  * Languages service.
18670
18675
  * @module purecloud-platform-client-v2/api/LanguagesApi
18671
- * @version 96.0.0
18676
+ * @version 99.0.0
18672
18677
  */
18673
18678
 
18674
18679
  /**
@@ -18936,7 +18941,7 @@ class LicenseApi {
18936
18941
  /**
18937
18942
  * License service.
18938
18943
  * @module purecloud-platform-client-v2/api/LicenseApi
18939
- * @version 96.0.0
18944
+ * @version 99.0.0
18940
18945
  */
18941
18946
 
18942
18947
  /**
@@ -19174,7 +19179,7 @@ class LocationsApi {
19174
19179
  /**
19175
19180
  * Locations service.
19176
19181
  * @module purecloud-platform-client-v2/api/LocationsApi
19177
- * @version 96.0.0
19182
+ * @version 99.0.0
19178
19183
  */
19179
19184
 
19180
19185
  /**
@@ -19410,7 +19415,7 @@ class MobileDevicesApi {
19410
19415
  /**
19411
19416
  * MobileDevices service.
19412
19417
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
19413
- * @version 96.0.0
19418
+ * @version 99.0.0
19414
19419
  */
19415
19420
 
19416
19421
  /**
@@ -19561,7 +19566,7 @@ class NotificationsApi {
19561
19566
  /**
19562
19567
  * Notifications service.
19563
19568
  * @module purecloud-platform-client-v2/api/NotificationsApi
19564
- * @version 96.0.0
19569
+ * @version 99.0.0
19565
19570
  */
19566
19571
 
19567
19572
  /**
@@ -19760,7 +19765,7 @@ class OAuthApi {
19760
19765
  /**
19761
19766
  * OAuth service.
19762
19767
  * @module purecloud-platform-client-v2/api/OAuthApi
19763
- * @version 96.0.0
19768
+ * @version 99.0.0
19764
19769
  */
19765
19770
 
19766
19771
  /**
@@ -20118,7 +20123,7 @@ class ObjectsApi {
20118
20123
  /**
20119
20124
  * Objects service.
20120
20125
  * @module purecloud-platform-client-v2/api/ObjectsApi
20121
- * @version 96.0.0
20126
+ * @version 99.0.0
20122
20127
  */
20123
20128
 
20124
20129
  /**
@@ -20359,7 +20364,7 @@ class OrganizationApi {
20359
20364
  /**
20360
20365
  * Organization service.
20361
20366
  * @module purecloud-platform-client-v2/api/OrganizationApi
20362
- * @version 96.0.0
20367
+ * @version 99.0.0
20363
20368
  */
20364
20369
 
20365
20370
  /**
@@ -20614,7 +20619,7 @@ class OrganizationAuthorizationApi {
20614
20619
  /**
20615
20620
  * OrganizationAuthorization service.
20616
20621
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
20617
- * @version 96.0.0
20622
+ * @version 99.0.0
20618
20623
  */
20619
20624
 
20620
20625
  /**
@@ -21324,7 +21329,7 @@ class OutboundApi {
21324
21329
  /**
21325
21330
  * Outbound service.
21326
21331
  * @module purecloud-platform-client-v2/api/OutboundApi
21327
- * @version 96.0.0
21332
+ * @version 99.0.0
21328
21333
  */
21329
21334
 
21330
21335
  /**
@@ -24298,7 +24303,7 @@ class PresenceApi {
24298
24303
  /**
24299
24304
  * Presence service.
24300
24305
  * @module purecloud-platform-client-v2/api/PresenceApi
24301
- * @version 96.0.0
24306
+ * @version 99.0.0
24302
24307
  */
24303
24308
 
24304
24309
  /**
@@ -24645,7 +24650,7 @@ class QualityApi {
24645
24650
  /**
24646
24651
  * Quality service.
24647
24652
  * @module purecloud-platform-client-v2/api/QualityApi
24648
- * @version 96.0.0
24653
+ * @version 99.0.0
24649
24654
  */
24650
24655
 
24651
24656
  /**
@@ -25239,6 +25244,7 @@ class QualityApi {
25239
25244
  * @param {Object} opts Optional parameters
25240
25245
  * @param {Number} opts.pageSize Page size (default to 25)
25241
25246
  * @param {Number} opts.pageNumber Page number (default to 1)
25247
+ * @param {String} opts.sortOrder Sort order (default to asc)
25242
25248
  */
25243
25249
  getQualityFormsEvaluationVersions(formId, opts) {
25244
25250
  opts = opts || {};
@@ -25252,7 +25258,7 @@ class QualityApi {
25252
25258
  '/api/v2/quality/forms/evaluations/{formId}/versions',
25253
25259
  'GET',
25254
25260
  { 'formId': formId },
25255
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
25261
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
25256
25262
  { },
25257
25263
  { },
25258
25264
  null,
@@ -26342,7 +26348,7 @@ class RecordingApi {
26342
26348
  /**
26343
26349
  * Recording service.
26344
26350
  * @module purecloud-platform-client-v2/api/RecordingApi
26345
- * @version 96.0.0
26351
+ * @version 99.0.0
26346
26352
  */
26347
26353
 
26348
26354
  /**
@@ -27588,7 +27594,7 @@ class ResponseManagementApi {
27588
27594
  /**
27589
27595
  * ResponseManagement service.
27590
27596
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
27591
- * @version 96.0.0
27597
+ * @version 99.0.0
27592
27598
  */
27593
27599
 
27594
27600
  /**
@@ -27913,7 +27919,7 @@ class RoutingApi {
27913
27919
  /**
27914
27920
  * Routing service.
27915
27921
  * @module purecloud-platform-client-v2/api/RoutingApi
27916
- * @version 96.0.0
27922
+ * @version 99.0.0
27917
27923
  */
27918
27924
 
27919
27925
  /**
@@ -29099,6 +29105,7 @@ class RoutingApi {
29099
29105
  * @param {Number} opts.pageSize Page size (default to 25)
29100
29106
  * @param {Number} opts.pageNumber Page number (default to 1)
29101
29107
  * @param {Object} opts.sortBy Sort by (default to name)
29108
+ * @param {Object} opts.sortOrder Sort order (default to ascending)
29102
29109
  * @param {String} opts.name Name
29103
29110
  */
29104
29111
  getRoutingWrapupcodes(opts) {
@@ -29109,7 +29116,7 @@ class RoutingApi {
29109
29116
  '/api/v2/routing/wrapupcodes',
29110
29117
  'GET',
29111
29118
  { },
29112
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'name': opts['name'] },
29119
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
29113
29120
  { },
29114
29121
  { },
29115
29122
  null,
@@ -30211,7 +30218,7 @@ class SCIMApi {
30211
30218
  /**
30212
30219
  * SCIM service.
30213
30220
  * @module purecloud-platform-client-v2/api/SCIMApi
30214
- * @version 96.0.0
30221
+ * @version 99.0.0
30215
30222
  */
30216
30223
 
30217
30224
  /**
@@ -31196,7 +31203,7 @@ class ScriptsApi {
31196
31203
  /**
31197
31204
  * Scripts service.
31198
31205
  * @module purecloud-platform-client-v2/api/ScriptsApi
31199
- * @version 96.0.0
31206
+ * @version 99.0.0
31200
31207
  */
31201
31208
 
31202
31209
  /**
@@ -31549,7 +31556,7 @@ class SearchApi {
31549
31556
  /**
31550
31557
  * Search service.
31551
31558
  * @module purecloud-platform-client-v2/api/SearchApi
31552
- * @version 96.0.0
31559
+ * @version 99.0.0
31553
31560
  */
31554
31561
 
31555
31562
  /**
@@ -32059,7 +32066,7 @@ class SpeechTextAnalyticsApi {
32059
32066
  /**
32060
32067
  * SpeechTextAnalytics service.
32061
32068
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
32062
- * @version 96.0.0
32069
+ * @version 99.0.0
32063
32070
  */
32064
32071
 
32065
32072
  /**
@@ -32135,7 +32142,7 @@ class StationsApi {
32135
32142
  /**
32136
32143
  * Stations service.
32137
32144
  * @module purecloud-platform-client-v2/api/StationsApi
32138
- * @version 96.0.0
32145
+ * @version 99.0.0
32139
32146
  */
32140
32147
 
32141
32148
  /**
@@ -32282,7 +32289,7 @@ class SuggestApi {
32282
32289
  /**
32283
32290
  * Suggest service.
32284
32291
  * @module purecloud-platform-client-v2/api/SuggestApi
32285
- * @version 96.0.0
32292
+ * @version 99.0.0
32286
32293
  */
32287
32294
 
32288
32295
  /**
@@ -32421,7 +32428,7 @@ class TelephonyApi {
32421
32428
  /**
32422
32429
  * Telephony service.
32423
32430
  * @module purecloud-platform-client-v2/api/TelephonyApi
32424
- * @version 96.0.0
32431
+ * @version 99.0.0
32425
32432
  */
32426
32433
 
32427
32434
  /**
@@ -32529,7 +32536,7 @@ class TelephonyProvidersEdgeApi {
32529
32536
  /**
32530
32537
  * TelephonyProvidersEdge service.
32531
32538
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
32532
- * @version 96.0.0
32539
+ * @version 99.0.0
32533
32540
  */
32534
32541
 
32535
32542
  /**
@@ -36106,7 +36113,7 @@ class TextbotsApi {
36106
36113
  /**
36107
36114
  * Textbots service.
36108
36115
  * @module purecloud-platform-client-v2/api/TextbotsApi
36109
- * @version 96.0.0
36116
+ * @version 99.0.0
36110
36117
  */
36111
36118
 
36112
36119
  /**
@@ -36152,7 +36159,7 @@ class TokensApi {
36152
36159
  /**
36153
36160
  * Tokens service.
36154
36161
  * @module purecloud-platform-client-v2/api/TokensApi
36155
- * @version 96.0.0
36162
+ * @version 99.0.0
36156
36163
  */
36157
36164
 
36158
36165
  /**
@@ -36238,7 +36245,7 @@ class UploadsApi {
36238
36245
  /**
36239
36246
  * Uploads service.
36240
36247
  * @module purecloud-platform-client-v2/api/UploadsApi
36241
- * @version 96.0.0
36248
+ * @version 99.0.0
36242
36249
  */
36243
36250
 
36244
36251
  /**
@@ -36284,7 +36291,7 @@ class UsageApi {
36284
36291
  /**
36285
36292
  * Usage service.
36286
36293
  * @module purecloud-platform-client-v2/api/UsageApi
36287
- * @version 96.0.0
36294
+ * @version 99.0.0
36288
36295
  */
36289
36296
 
36290
36297
  /**
@@ -36355,7 +36362,7 @@ class UserRecordingsApi {
36355
36362
  /**
36356
36363
  * UserRecordings service.
36357
36364
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
36358
- * @version 96.0.0
36365
+ * @version 99.0.0
36359
36366
  */
36360
36367
 
36361
36368
  /**
@@ -36539,7 +36546,7 @@ class UsersApi {
36539
36546
  /**
36540
36547
  * Users service.
36541
36548
  * @module purecloud-platform-client-v2/api/UsersApi
36542
- * @version 96.0.0
36549
+ * @version 99.0.0
36543
36550
  */
36544
36551
 
36545
36552
  /**
@@ -37652,7 +37659,7 @@ class UsersApi {
37652
37659
 
37653
37660
  /**
37654
37661
  * Get a Development Activity
37655
- *
37662
+ * Permission not required if you are the attendee, creator or facilitator of the coaching appointment or you are the assigned user of the learning assignment.
37656
37663
  * @param {String} activityId Specifies the activity ID, maps to either assignment or appointment ID
37657
37664
  * @param {Object} type Specifies the activity type.
37658
37665
  */
@@ -38752,7 +38759,7 @@ class UtilitiesApi {
38752
38759
  /**
38753
38760
  * Utilities service.
38754
38761
  * @module purecloud-platform-client-v2/api/UtilitiesApi
38755
- * @version 96.0.0
38762
+ * @version 99.0.0
38756
38763
  */
38757
38764
 
38758
38765
  /**
@@ -38863,7 +38870,7 @@ class VoicemailApi {
38863
38870
  /**
38864
38871
  * Voicemail service.
38865
38872
  * @module purecloud-platform-client-v2/api/VoicemailApi
38866
- * @version 96.0.0
38873
+ * @version 99.0.0
38867
38874
  */
38868
38875
 
38869
38876
  /**
@@ -39500,7 +39507,7 @@ class WebChatApi {
39500
39507
  /**
39501
39508
  * WebChat service.
39502
39509
  * @module purecloud-platform-client-v2/api/WebChatApi
39503
- * @version 96.0.0
39510
+ * @version 99.0.0
39504
39511
  */
39505
39512
 
39506
39513
  /**
@@ -40044,7 +40051,7 @@ class WidgetsApi {
40044
40051
  /**
40045
40052
  * Widgets service.
40046
40053
  * @module purecloud-platform-client-v2/api/WidgetsApi
40047
- * @version 96.0.0
40054
+ * @version 99.0.0
40048
40055
  */
40049
40056
 
40050
40057
  /**
@@ -40190,7 +40197,7 @@ class WorkforceManagementApi {
40190
40197
  /**
40191
40198
  * WorkforceManagement service.
40192
40199
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
40193
- * @version 96.0.0
40200
+ * @version 99.0.0
40194
40201
  */
40195
40202
 
40196
40203
  /**
@@ -40475,6 +40482,36 @@ class WorkforceManagementApi {
40475
40482
  );
40476
40483
  }
40477
40484
 
40485
+ /**
40486
+ * Delete a work plan rotation
40487
+ *
40488
+ * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
40489
+ * @param {String} workPlanRotationId The ID of the work plan rotation to be deleted
40490
+ */
40491
+ deleteWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
40492
+ // verify the required parameter 'managementUnitId' is set
40493
+ if (managementUnitId === undefined || managementUnitId === null) {
40494
+ throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';
40495
+ }
40496
+ // verify the required parameter 'workPlanRotationId' is set
40497
+ if (workPlanRotationId === undefined || workPlanRotationId === null) {
40498
+ throw 'Missing the required parameter "workPlanRotationId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';
40499
+ }
40500
+
40501
+ return this.apiClient.callApi(
40502
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
40503
+ 'DELETE',
40504
+ { 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
40505
+ { },
40506
+ { },
40507
+ { },
40508
+ null,
40509
+ ['PureCloud OAuth'],
40510
+ ['application/json'],
40511
+ ['application/json']
40512
+ );
40513
+ }
40514
+
40478
40515
  /**
40479
40516
  * Get a list of UserScheduleAdherence records for the requested users
40480
40517
  *
@@ -41681,6 +41718,65 @@ class WorkforceManagementApi {
41681
41718
  );
41682
41719
  }
41683
41720
 
41721
+ /**
41722
+ * Get a work plan rotation
41723
+ *
41724
+ * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
41725
+ * @param {String} workPlanRotationId The ID of the work plan rotation to fetch
41726
+ */
41727
+ getWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
41728
+ // verify the required parameter 'managementUnitId' is set
41729
+ if (managementUnitId === undefined || managementUnitId === null) {
41730
+ throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
41731
+ }
41732
+ // verify the required parameter 'workPlanRotationId' is set
41733
+ if (workPlanRotationId === undefined || workPlanRotationId === null) {
41734
+ throw 'Missing the required parameter "workPlanRotationId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
41735
+ }
41736
+
41737
+ return this.apiClient.callApi(
41738
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
41739
+ 'GET',
41740
+ { 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
41741
+ { },
41742
+ { },
41743
+ { },
41744
+ null,
41745
+ ['PureCloud OAuth'],
41746
+ ['application/json'],
41747
+ ['application/json']
41748
+ );
41749
+ }
41750
+
41751
+ /**
41752
+ * Get work plan rotations
41753
+ *
41754
+ * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
41755
+ * @param {Object} opts Optional parameters
41756
+ * @param {Array.<String>} opts.expand
41757
+ */
41758
+ getWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, opts) {
41759
+ opts = opts || {};
41760
+
41761
+ // verify the required parameter 'managementUnitId' is set
41762
+ if (managementUnitId === undefined || managementUnitId === null) {
41763
+ throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotations';
41764
+ }
41765
+
41766
+ return this.apiClient.callApi(
41767
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
41768
+ 'GET',
41769
+ { 'managementUnitId': managementUnitId },
41770
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
41771
+ { },
41772
+ { },
41773
+ null,
41774
+ ['PureCloud OAuth'],
41775
+ ['application/json'],
41776
+ ['application/json']
41777
+ );
41778
+ }
41779
+
41684
41780
  /**
41685
41781
  * Get work plans
41686
41782
  *
@@ -42156,6 +42252,7 @@ class WorkforceManagementApi {
42156
42252
  * @param {String} workPlanId The ID of the work plan to update
42157
42253
  * @param {Object} opts Optional parameters
42158
42254
  * @param {Object} opts.body body
42255
+ * @param {Object} opts.validationMode Allows to update work plan even if validation result is invalid
42159
42256
  */
42160
42257
  patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, opts) {
42161
42258
  opts = opts || {};
@@ -42173,6 +42270,40 @@ class WorkforceManagementApi {
42173
42270
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}',
42174
42271
  'PATCH',
42175
42272
  { 'managementUnitId': managementUnitId,'workPlanId': workPlanId },
42273
+ { 'validationMode': opts['validationMode'] },
42274
+ { },
42275
+ { },
42276
+ opts['body'],
42277
+ ['PureCloud OAuth'],
42278
+ ['application/json'],
42279
+ ['application/json']
42280
+ );
42281
+ }
42282
+
42283
+ /**
42284
+ * Update a work plan rotation
42285
+ *
42286
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
42287
+ * @param {String} workPlanRotationId The ID of the work plan rotation to update
42288
+ * @param {Object} opts Optional parameters
42289
+ * @param {Object} opts.body body
42290
+ */
42291
+ patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId, opts) {
42292
+ opts = opts || {};
42293
+
42294
+ // verify the required parameter 'managementUnitId' is set
42295
+ if (managementUnitId === undefined || managementUnitId === null) {
42296
+ throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
42297
+ }
42298
+ // verify the required parameter 'workPlanRotationId' is set
42299
+ if (workPlanRotationId === undefined || workPlanRotationId === null) {
42300
+ throw 'Missing the required parameter "workPlanRotationId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
42301
+ }
42302
+
42303
+ return this.apiClient.callApi(
42304
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
42305
+ 'PATCH',
42306
+ { 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
42176
42307
  { },
42177
42308
  { },
42178
42309
  { },
@@ -43104,12 +43235,76 @@ class WorkforceManagementApi {
43104
43235
  );
43105
43236
  }
43106
43237
 
43238
+ /**
43239
+ * Create a copy of work plan rotation
43240
+ *
43241
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
43242
+ * @param {String} workPlanRotationId The ID of the work plan rotation to create a copy
43243
+ * @param {Object} opts Optional parameters
43244
+ * @param {Object} opts.body body
43245
+ */
43246
+ postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId, opts) {
43247
+ opts = opts || {};
43248
+
43249
+ // verify the required parameter 'managementUnitId' is set
43250
+ if (managementUnitId === undefined || managementUnitId === null) {
43251
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
43252
+ }
43253
+ // verify the required parameter 'workPlanRotationId' is set
43254
+ if (workPlanRotationId === undefined || workPlanRotationId === null) {
43255
+ throw 'Missing the required parameter "workPlanRotationId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
43256
+ }
43257
+
43258
+ return this.apiClient.callApi(
43259
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}/copy',
43260
+ 'POST',
43261
+ { 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
43262
+ { },
43263
+ { },
43264
+ { },
43265
+ opts['body'],
43266
+ ['PureCloud OAuth'],
43267
+ ['application/json'],
43268
+ ['application/json']
43269
+ );
43270
+ }
43271
+
43272
+ /**
43273
+ * Create a new work plan rotation
43274
+ *
43275
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
43276
+ * @param {Object} opts Optional parameters
43277
+ * @param {Object} opts.body body
43278
+ */
43279
+ postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, opts) {
43280
+ opts = opts || {};
43281
+
43282
+ // verify the required parameter 'managementUnitId' is set
43283
+ if (managementUnitId === undefined || managementUnitId === null) {
43284
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotations';
43285
+ }
43286
+
43287
+ return this.apiClient.callApi(
43288
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
43289
+ 'POST',
43290
+ { 'managementUnitId': managementUnitId },
43291
+ { },
43292
+ { },
43293
+ { },
43294
+ opts['body'],
43295
+ ['PureCloud OAuth'],
43296
+ ['application/json'],
43297
+ ['application/json']
43298
+ );
43299
+ }
43300
+
43107
43301
  /**
43108
43302
  * Create a new work plan
43109
43303
  *
43110
43304
  * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
43111
43305
  * @param {Object} opts Optional parameters
43112
43306
  * @param {Object} opts.body body
43307
+ * @param {Object} opts.validationMode Allows to create work plan even if the validation result is invalid
43113
43308
  */
43114
43309
  postWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
43115
43310
  opts = opts || {};
@@ -43123,7 +43318,7 @@ class WorkforceManagementApi {
43123
43318
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans',
43124
43319
  'POST',
43125
43320
  { 'managementUnitId': managementUnitId },
43126
- { },
43321
+ { 'validationMode': opts['validationMode'] },
43127
43322
  { },
43128
43323
  { },
43129
43324
  opts['body'],
@@ -43260,7 +43455,7 @@ class WorkforceManagementApi {
43260
43455
  * </pre>
43261
43456
  * </p>
43262
43457
  * @module purecloud-platform-client-v2/index
43263
- * @version 96.0.0
43458
+ * @version 99.0.0
43264
43459
  */
43265
43460
  class platformClient {
43266
43461
  constructor() {