purecloud-platform-client-v2 96.0.0 → 97.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 +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +381 -62
  3. package/dist/web-amd/purecloud-platform-client-v2.js +381 -62
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +381 -62
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +382 -62
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +378 -209
  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 +131 -1
  31. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +4 -3
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +187 -1
  67. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -1983,7 +1983,7 @@ function isSlowBuffer (obj) {
1983
1983
 
1984
1984
  /**
1985
1985
  * @module purecloud-platform-client-v2/ApiClient
1986
- * @version 96.0.0
1986
+ * @version 97.0.0
1987
1987
  */
1988
1988
  class ApiClient {
1989
1989
  /**
@@ -2739,7 +2739,7 @@ class ApiClient {
2739
2739
 
2740
2740
  // set header parameters
2741
2741
  request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
2742
- //request.set({ 'purecloud-sdk': '96.0.0' });
2742
+ //request.set({ 'purecloud-sdk': '97.0.0' });
2743
2743
 
2744
2744
  // set request timeout
2745
2745
  request.timeout(this.timeout);
@@ -2864,7 +2864,7 @@ class AlertingApi {
2864
2864
  /**
2865
2865
  * Alerting service.
2866
2866
  * @module purecloud-platform-client-v2/api/AlertingApi
2867
- * @version 96.0.0
2867
+ * @version 97.0.0
2868
2868
  */
2869
2869
 
2870
2870
  /**
@@ -3178,7 +3178,7 @@ class AnalyticsApi {
3178
3178
  /**
3179
3179
  * Analytics service.
3180
3180
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3181
- * @version 96.0.0
3181
+ * @version 97.0.0
3182
3182
  */
3183
3183
 
3184
3184
  /**
@@ -4258,7 +4258,7 @@ class ArchitectApi {
4258
4258
  /**
4259
4259
  * Architect service.
4260
4260
  * @module purecloud-platform-client-v2/api/ArchitectApi
4261
- * @version 96.0.0
4261
+ * @version 97.0.0
4262
4262
  */
4263
4263
 
4264
4264
  /**
@@ -7096,7 +7096,7 @@ class AuditApi {
7096
7096
  /**
7097
7097
  * Audit service.
7098
7098
  * @module purecloud-platform-client-v2/api/AuditApi
7099
- * @version 96.0.0
7099
+ * @version 97.0.0
7100
7100
  */
7101
7101
 
7102
7102
  /**
@@ -7267,7 +7267,7 @@ class AuthorizationApi {
7267
7267
  /**
7268
7268
  * Authorization service.
7269
7269
  * @module purecloud-platform-client-v2/api/AuthorizationApi
7270
- * @version 96.0.0
7270
+ * @version 97.0.0
7271
7271
  */
7272
7272
 
7273
7273
  /**
@@ -7602,6 +7602,8 @@ class AuthorizationApi {
7602
7602
  * @param {Object} opts Optional parameters
7603
7603
  * @param {Number} opts.pageSize Page size (default to 25)
7604
7604
  * @param {Number} opts.pageNumber Page number (default to 1)
7605
+ * @param {Object} opts.queryType Query filter type
7606
+ * @param {String} opts.query Comma-separated list of permissions or domains to query
7605
7607
  */
7606
7608
  getAuthorizationPermissions(opts) {
7607
7609
  opts = opts || {};
@@ -7611,7 +7613,7 @@ class AuthorizationApi {
7611
7613
  '/api/v2/authorization/permissions',
7612
7614
  'GET',
7613
7615
  { },
7614
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
7616
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'queryType': opts['queryType'],'query': opts['query'] },
7615
7617
  { },
7616
7618
  { },
7617
7619
  null,
@@ -8384,7 +8386,7 @@ class BillingApi {
8384
8386
  /**
8385
8387
  * Billing service.
8386
8388
  * @module purecloud-platform-client-v2/api/BillingApi
8387
- * @version 96.0.0
8389
+ * @version 97.0.0
8388
8390
  */
8389
8391
 
8390
8392
  /**
@@ -8464,7 +8466,7 @@ class CoachingApi {
8464
8466
  /**
8465
8467
  * Coaching service.
8466
8468
  * @module purecloud-platform-client-v2/api/CoachingApi
8467
- * @version 96.0.0
8469
+ * @version 97.0.0
8468
8470
  */
8469
8471
 
8470
8472
  /**
@@ -8984,7 +8986,7 @@ class ContentManagementApi {
8984
8986
  /**
8985
8987
  * ContentManagement service.
8986
8988
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8987
- * @version 96.0.0
8989
+ * @version 97.0.0
8988
8990
  */
8989
8991
 
8990
8992
  /**
@@ -10124,7 +10126,7 @@ class ConversationsApi {
10124
10126
  /**
10125
10127
  * Conversations service.
10126
10128
  * @module purecloud-platform-client-v2/api/ConversationsApi
10127
- * @version 96.0.0
10129
+ * @version 97.0.0
10128
10130
  */
10129
10131
 
10130
10132
  /**
@@ -14182,7 +14184,7 @@ class DataExtensionsApi {
14182
14184
  /**
14183
14185
  * DataExtensions service.
14184
14186
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14185
- * @version 96.0.0
14187
+ * @version 97.0.0
14186
14188
  */
14187
14189
 
14188
14190
  /**
@@ -14268,7 +14270,7 @@ class ExternalContactsApi {
14268
14270
  /**
14269
14271
  * ExternalContacts service.
14270
14272
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14271
- * @version 96.0.0
14273
+ * @version 97.0.0
14272
14274
  */
14273
14275
 
14274
14276
  /**
@@ -15611,7 +15613,7 @@ class FaxApi {
15611
15613
  /**
15612
15614
  * Fax service.
15613
15615
  * @module purecloud-platform-client-v2/api/FaxApi
15614
- * @version 96.0.0
15616
+ * @version 97.0.0
15615
15617
  */
15616
15618
 
15617
15619
  /**
@@ -15782,7 +15784,7 @@ class FlowsApi {
15782
15784
  /**
15783
15785
  * Flows service.
15784
15786
  * @module purecloud-platform-client-v2/api/FlowsApi
15785
- * @version 96.0.0
15787
+ * @version 97.0.0
15786
15788
  */
15787
15789
 
15788
15790
  /**
@@ -15853,7 +15855,7 @@ class GeneralDataProtectionRegulationApi {
15853
15855
  /**
15854
15856
  * GeneralDataProtectionRegulation service.
15855
15857
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
15856
- * @version 96.0.0
15858
+ * @version 97.0.0
15857
15859
  */
15858
15860
 
15859
15861
  /**
@@ -15983,7 +15985,7 @@ class GeolocationApi {
15983
15985
  /**
15984
15986
  * Geolocation service.
15985
15987
  * @module purecloud-platform-client-v2/api/GeolocationApi
15986
- * @version 96.0.0
15988
+ * @version 97.0.0
15987
15989
  */
15988
15990
 
15989
15991
  /**
@@ -16114,7 +16116,7 @@ class GreetingsApi {
16114
16116
  /**
16115
16117
  * Greetings service.
16116
16118
  * @module purecloud-platform-client-v2/api/GreetingsApi
16117
- * @version 96.0.0
16119
+ * @version 97.0.0
16118
16120
  */
16119
16121
 
16120
16122
  /**
@@ -16569,7 +16571,7 @@ class GroupsApi {
16569
16571
  /**
16570
16572
  * Groups service.
16571
16573
  * @module purecloud-platform-client-v2/api/GroupsApi
16572
- * @version 96.0.0
16574
+ * @version 97.0.0
16573
16575
  */
16574
16576
 
16575
16577
  /**
@@ -16974,7 +16976,7 @@ class IdentityProviderApi {
16974
16976
  /**
16975
16977
  * IdentityProvider service.
16976
16978
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
16977
- * @version 96.0.0
16979
+ * @version 97.0.0
16978
16980
  */
16979
16981
 
16980
16982
  /**
@@ -17730,7 +17732,7 @@ class IntegrationsApi {
17730
17732
  /**
17731
17733
  * Integrations service.
17732
17734
  * @module purecloud-platform-client-v2/api/IntegrationsApi
17733
- * @version 96.0.0
17735
+ * @version 97.0.0
17734
17736
  */
17735
17737
 
17736
17738
  /**
@@ -19222,7 +19224,7 @@ class JourneyApi {
19222
19224
  /**
19223
19225
  * Journey service.
19224
19226
  * @module purecloud-platform-client-v2/api/JourneyApi
19225
- * @version 96.0.0
19227
+ * @version 97.0.0
19226
19228
  */
19227
19229
 
19228
19230
  /**
@@ -19287,6 +19289,107 @@ class JourneyApi {
19287
19289
  );
19288
19290
  }
19289
19291
 
19292
+ /**
19293
+ * Retrieve segment assignments by customer ID.
19294
+ *
19295
+ * @param {String} customerIdType Type of ID used to identify customer (e.g. email, cookie, and phone).
19296
+ * @param {String} customerId Primary identifier of the customer to query for segment assignments.
19297
+ * @param {Object} opts Optional parameters
19298
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
19299
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
19300
+ * @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
19301
+ * @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
19302
+ */
19303
+ getJourneyCustomerCustomerIdSegments(customerIdType, customerId, opts) {
19304
+ opts = opts || {};
19305
+
19306
+ // verify the required parameter 'customerIdType' is set
19307
+ if (customerIdType === undefined || customerIdType === null) {
19308
+ throw 'Missing the required parameter "customerIdType" when calling getJourneyCustomerCustomerIdSegments';
19309
+ }
19310
+ // verify the required parameter 'customerId' is set
19311
+ if (customerId === undefined || customerId === null) {
19312
+ throw 'Missing the required parameter "customerId" when calling getJourneyCustomerCustomerIdSegments';
19313
+ }
19314
+
19315
+ return this.apiClient.callApi(
19316
+ '/api/v2/journey/customers/{customerIdType}/{customerId}/segments',
19317
+ 'GET',
19318
+ { 'customerIdType': customerIdType,'customerId': customerId },
19319
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
19320
+ { },
19321
+ { },
19322
+ null,
19323
+ ['PureCloud OAuth'],
19324
+ ['application/json'],
19325
+ ['application/json']
19326
+ );
19327
+ }
19328
+
19329
+ /**
19330
+ * Retrieve segment assignments by external contact ID.
19331
+ *
19332
+ * @param {String} externalContactId ID of the external contact to query for segment assignments.
19333
+ * @param {Object} opts Optional parameters
19334
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
19335
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
19336
+ * @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
19337
+ * @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
19338
+ */
19339
+ getJourneyExternalcontactSegments(externalContactId, opts) {
19340
+ opts = opts || {};
19341
+
19342
+ // verify the required parameter 'externalContactId' is set
19343
+ if (externalContactId === undefined || externalContactId === null) {
19344
+ throw 'Missing the required parameter "externalContactId" when calling getJourneyExternalcontactSegments';
19345
+ }
19346
+
19347
+ return this.apiClient.callApi(
19348
+ '/api/v2/journey/externalcontacts/{externalContactId}/segments',
19349
+ 'GET',
19350
+ { 'externalContactId': externalContactId },
19351
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
19352
+ { },
19353
+ { },
19354
+ null,
19355
+ ['PureCloud OAuth'],
19356
+ ['application/json'],
19357
+ ['application/json']
19358
+ );
19359
+ }
19360
+
19361
+ /**
19362
+ * Retrieve segment assignments by session ID.
19363
+ *
19364
+ * @param {String} sessionId ID of the session to query for segment assignments.
19365
+ * @param {Object} opts Optional parameters
19366
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
19367
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
19368
+ * @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
19369
+ * @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
19370
+ */
19371
+ getJourneySessionSegments(sessionId, opts) {
19372
+ opts = opts || {};
19373
+
19374
+ // verify the required parameter 'sessionId' is set
19375
+ if (sessionId === undefined || sessionId === null) {
19376
+ throw 'Missing the required parameter "sessionId" when calling getJourneySessionSegments';
19377
+ }
19378
+
19379
+ return this.apiClient.callApi(
19380
+ '/api/v2/journey/sessions/{sessionId}/segments',
19381
+ 'GET',
19382
+ { 'sessionId': sessionId },
19383
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
19384
+ { },
19385
+ { },
19386
+ null,
19387
+ ['PureCloud OAuth'],
19388
+ ['application/json'],
19389
+ ['application/json']
19390
+ );
19391
+ }
19392
+
19290
19393
  /**
19291
19394
  * Update a single action target.
19292
19395
  *
@@ -19341,13 +19444,42 @@ class JourneyApi {
19341
19444
  );
19342
19445
  }
19343
19446
 
19447
+ /**
19448
+ * Assign/Unassign a segment to/from an external contact or, if a segment is already assigned, update the expiry date of the segment assignment.
19449
+ *
19450
+ * @param {String} externalContactId ID of the external contact to query for segment assignments.
19451
+ * @param {Object} opts Optional parameters
19452
+ * @param {Array.<Object>} opts.body
19453
+ */
19454
+ postJourneyExternalcontactSegments(externalContactId, opts) {
19455
+ opts = opts || {};
19456
+
19457
+ // verify the required parameter 'externalContactId' is set
19458
+ if (externalContactId === undefined || externalContactId === null) {
19459
+ throw 'Missing the required parameter "externalContactId" when calling postJourneyExternalcontactSegments';
19460
+ }
19461
+
19462
+ return this.apiClient.callApi(
19463
+ '/api/v2/journey/externalcontacts/{externalContactId}/segments',
19464
+ 'POST',
19465
+ { 'externalContactId': externalContactId },
19466
+ { },
19467
+ { },
19468
+ { },
19469
+ opts['body'],
19470
+ ['PureCloud OAuth'],
19471
+ ['application/json'],
19472
+ ['application/json']
19473
+ );
19474
+ }
19475
+
19344
19476
  }
19345
19477
 
19346
19478
  class KnowledgeApi {
19347
19479
  /**
19348
19480
  * Knowledge service.
19349
19481
  * @module purecloud-platform-client-v2/api/KnowledgeApi
19350
- * @version 96.0.0
19482
+ * @version 97.0.0
19351
19483
  */
19352
19484
 
19353
19485
  /**
@@ -19663,7 +19795,7 @@ class KnowledgeApi {
19663
19795
  }
19664
19796
 
19665
19797
  /**
19666
- * Get All trainings information for a knowledgebase
19798
+ * Get all trainings information for a knowledgebase
19667
19799
  *
19668
19800
  * @param {String} knowledgeBaseId Knowledge base ID
19669
19801
  * @param {Object} languageCode Language code, format: iso2-LOCALE
@@ -19672,6 +19804,7 @@ class KnowledgeApi {
19672
19804
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
19673
19805
  * @param {String} opts.limit Number of entities to return. Maximum of 200.
19674
19806
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
19807
+ * @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
19675
19808
  */
19676
19809
  getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode, opts) {
19677
19810
  opts = opts || {};
@@ -19689,7 +19822,7 @@ class KnowledgeApi {
19689
19822
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
19690
19823
  'GET',
19691
19824
  { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
19692
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'] },
19825
+ { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'knowledgeDocumentsState': opts['knowledgeDocumentsState'] },
19693
19826
  { },
19694
19827
  { },
19695
19828
  null,
@@ -20067,7 +20200,7 @@ class LanguageUnderstandingApi {
20067
20200
  /**
20068
20201
  * LanguageUnderstanding service.
20069
20202
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
20070
- * @version 96.0.0
20203
+ * @version 97.0.0
20071
20204
  */
20072
20205
 
20073
20206
  /**
@@ -20633,7 +20766,7 @@ class LanguagesApi {
20633
20766
  /**
20634
20767
  * Languages service.
20635
20768
  * @module purecloud-platform-client-v2/api/LanguagesApi
20636
- * @version 96.0.0
20769
+ * @version 97.0.0
20637
20770
  */
20638
20771
 
20639
20772
  /**
@@ -20901,7 +21034,7 @@ class LicenseApi {
20901
21034
  /**
20902
21035
  * License service.
20903
21036
  * @module purecloud-platform-client-v2/api/LicenseApi
20904
- * @version 96.0.0
21037
+ * @version 97.0.0
20905
21038
  */
20906
21039
 
20907
21040
  /**
@@ -21139,7 +21272,7 @@ class LocationsApi {
21139
21272
  /**
21140
21273
  * Locations service.
21141
21274
  * @module purecloud-platform-client-v2/api/LocationsApi
21142
- * @version 96.0.0
21275
+ * @version 97.0.0
21143
21276
  */
21144
21277
 
21145
21278
  /**
@@ -21375,7 +21508,7 @@ class MobileDevicesApi {
21375
21508
  /**
21376
21509
  * MobileDevices service.
21377
21510
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
21378
- * @version 96.0.0
21511
+ * @version 97.0.0
21379
21512
  */
21380
21513
 
21381
21514
  /**
@@ -21526,7 +21659,7 @@ class NotificationsApi {
21526
21659
  /**
21527
21660
  * Notifications service.
21528
21661
  * @module purecloud-platform-client-v2/api/NotificationsApi
21529
- * @version 96.0.0
21662
+ * @version 97.0.0
21530
21663
  */
21531
21664
 
21532
21665
  /**
@@ -21725,7 +21858,7 @@ class OAuthApi {
21725
21858
  /**
21726
21859
  * OAuth service.
21727
21860
  * @module purecloud-platform-client-v2/api/OAuthApi
21728
- * @version 96.0.0
21861
+ * @version 97.0.0
21729
21862
  */
21730
21863
 
21731
21864
  /**
@@ -22083,7 +22216,7 @@ class ObjectsApi {
22083
22216
  /**
22084
22217
  * Objects service.
22085
22218
  * @module purecloud-platform-client-v2/api/ObjectsApi
22086
- * @version 96.0.0
22219
+ * @version 97.0.0
22087
22220
  */
22088
22221
 
22089
22222
  /**
@@ -22324,7 +22457,7 @@ class OrganizationApi {
22324
22457
  /**
22325
22458
  * Organization service.
22326
22459
  * @module purecloud-platform-client-v2/api/OrganizationApi
22327
- * @version 96.0.0
22460
+ * @version 97.0.0
22328
22461
  */
22329
22462
 
22330
22463
  /**
@@ -22579,7 +22712,7 @@ class OrganizationAuthorizationApi {
22579
22712
  /**
22580
22713
  * OrganizationAuthorization service.
22581
22714
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
22582
- * @version 96.0.0
22715
+ * @version 97.0.0
22583
22716
  */
22584
22717
 
22585
22718
  /**
@@ -23289,7 +23422,7 @@ class OutboundApi {
23289
23422
  /**
23290
23423
  * Outbound service.
23291
23424
  * @module purecloud-platform-client-v2/api/OutboundApi
23292
- * @version 96.0.0
23425
+ * @version 97.0.0
23293
23426
  */
23294
23427
 
23295
23428
  /**
@@ -26263,7 +26396,7 @@ class PresenceApi {
26263
26396
  /**
26264
26397
  * Presence service.
26265
26398
  * @module purecloud-platform-client-v2/api/PresenceApi
26266
- * @version 96.0.0
26399
+ * @version 97.0.0
26267
26400
  */
26268
26401
 
26269
26402
  /**
@@ -26610,7 +26743,7 @@ class QualityApi {
26610
26743
  /**
26611
26744
  * Quality service.
26612
26745
  * @module purecloud-platform-client-v2/api/QualityApi
26613
- * @version 96.0.0
26746
+ * @version 97.0.0
26614
26747
  */
26615
26748
 
26616
26749
  /**
@@ -28307,7 +28440,7 @@ class RecordingApi {
28307
28440
  /**
28308
28441
  * Recording service.
28309
28442
  * @module purecloud-platform-client-v2/api/RecordingApi
28310
- * @version 96.0.0
28443
+ * @version 97.0.0
28311
28444
  */
28312
28445
 
28313
28446
  /**
@@ -29553,7 +29686,7 @@ class ResponseManagementApi {
29553
29686
  /**
29554
29687
  * ResponseManagement service.
29555
29688
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
29556
- * @version 96.0.0
29689
+ * @version 97.0.0
29557
29690
  */
29558
29691
 
29559
29692
  /**
@@ -29878,7 +30011,7 @@ class RoutingApi {
29878
30011
  /**
29879
30012
  * Routing service.
29880
30013
  * @module purecloud-platform-client-v2/api/RoutingApi
29881
- * @version 96.0.0
30014
+ * @version 97.0.0
29882
30015
  */
29883
30016
 
29884
30017
  /**
@@ -32176,7 +32309,7 @@ class SCIMApi {
32176
32309
  /**
32177
32310
  * SCIM service.
32178
32311
  * @module purecloud-platform-client-v2/api/SCIMApi
32179
- * @version 96.0.0
32312
+ * @version 97.0.0
32180
32313
  */
32181
32314
 
32182
32315
  /**
@@ -33161,7 +33294,7 @@ class ScriptsApi {
33161
33294
  /**
33162
33295
  * Scripts service.
33163
33296
  * @module purecloud-platform-client-v2/api/ScriptsApi
33164
- * @version 96.0.0
33297
+ * @version 97.0.0
33165
33298
  */
33166
33299
 
33167
33300
  /**
@@ -33514,7 +33647,7 @@ class SearchApi {
33514
33647
  /**
33515
33648
  * Search service.
33516
33649
  * @module purecloud-platform-client-v2/api/SearchApi
33517
- * @version 96.0.0
33650
+ * @version 97.0.0
33518
33651
  */
33519
33652
 
33520
33653
  /**
@@ -34024,7 +34157,7 @@ class SpeechTextAnalyticsApi {
34024
34157
  /**
34025
34158
  * SpeechTextAnalytics service.
34026
34159
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
34027
- * @version 96.0.0
34160
+ * @version 97.0.0
34028
34161
  */
34029
34162
 
34030
34163
  /**
@@ -34100,7 +34233,7 @@ class StationsApi {
34100
34233
  /**
34101
34234
  * Stations service.
34102
34235
  * @module purecloud-platform-client-v2/api/StationsApi
34103
- * @version 96.0.0
34236
+ * @version 97.0.0
34104
34237
  */
34105
34238
 
34106
34239
  /**
@@ -34247,7 +34380,7 @@ class SuggestApi {
34247
34380
  /**
34248
34381
  * Suggest service.
34249
34382
  * @module purecloud-platform-client-v2/api/SuggestApi
34250
- * @version 96.0.0
34383
+ * @version 97.0.0
34251
34384
  */
34252
34385
 
34253
34386
  /**
@@ -34386,7 +34519,7 @@ class TelephonyApi {
34386
34519
  /**
34387
34520
  * Telephony service.
34388
34521
  * @module purecloud-platform-client-v2/api/TelephonyApi
34389
- * @version 96.0.0
34522
+ * @version 97.0.0
34390
34523
  */
34391
34524
 
34392
34525
  /**
@@ -34494,7 +34627,7 @@ class TelephonyProvidersEdgeApi {
34494
34627
  /**
34495
34628
  * TelephonyProvidersEdge service.
34496
34629
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
34497
- * @version 96.0.0
34630
+ * @version 97.0.0
34498
34631
  */
34499
34632
 
34500
34633
  /**
@@ -38071,7 +38204,7 @@ class TextbotsApi {
38071
38204
  /**
38072
38205
  * Textbots service.
38073
38206
  * @module purecloud-platform-client-v2/api/TextbotsApi
38074
- * @version 96.0.0
38207
+ * @version 97.0.0
38075
38208
  */
38076
38209
 
38077
38210
  /**
@@ -38117,7 +38250,7 @@ class TokensApi {
38117
38250
  /**
38118
38251
  * Tokens service.
38119
38252
  * @module purecloud-platform-client-v2/api/TokensApi
38120
- * @version 96.0.0
38253
+ * @version 97.0.0
38121
38254
  */
38122
38255
 
38123
38256
  /**
@@ -38203,7 +38336,7 @@ class UploadsApi {
38203
38336
  /**
38204
38337
  * Uploads service.
38205
38338
  * @module purecloud-platform-client-v2/api/UploadsApi
38206
- * @version 96.0.0
38339
+ * @version 97.0.0
38207
38340
  */
38208
38341
 
38209
38342
  /**
@@ -38249,7 +38382,7 @@ class UsageApi {
38249
38382
  /**
38250
38383
  * Usage service.
38251
38384
  * @module purecloud-platform-client-v2/api/UsageApi
38252
- * @version 96.0.0
38385
+ * @version 97.0.0
38253
38386
  */
38254
38387
 
38255
38388
  /**
@@ -38320,7 +38453,7 @@ class UserRecordingsApi {
38320
38453
  /**
38321
38454
  * UserRecordings service.
38322
38455
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
38323
- * @version 96.0.0
38456
+ * @version 97.0.0
38324
38457
  */
38325
38458
 
38326
38459
  /**
@@ -38504,7 +38637,7 @@ class UsersApi {
38504
38637
  /**
38505
38638
  * Users service.
38506
38639
  * @module purecloud-platform-client-v2/api/UsersApi
38507
- * @version 96.0.0
38640
+ * @version 97.0.0
38508
38641
  */
38509
38642
 
38510
38643
  /**
@@ -40717,7 +40850,7 @@ class UtilitiesApi {
40717
40850
  /**
40718
40851
  * Utilities service.
40719
40852
  * @module purecloud-platform-client-v2/api/UtilitiesApi
40720
- * @version 96.0.0
40853
+ * @version 97.0.0
40721
40854
  */
40722
40855
 
40723
40856
  /**
@@ -40828,7 +40961,7 @@ class VoicemailApi {
40828
40961
  /**
40829
40962
  * Voicemail service.
40830
40963
  * @module purecloud-platform-client-v2/api/VoicemailApi
40831
- * @version 96.0.0
40964
+ * @version 97.0.0
40832
40965
  */
40833
40966
 
40834
40967
  /**
@@ -41465,7 +41598,7 @@ class WebChatApi {
41465
41598
  /**
41466
41599
  * WebChat service.
41467
41600
  * @module purecloud-platform-client-v2/api/WebChatApi
41468
- * @version 96.0.0
41601
+ * @version 97.0.0
41469
41602
  */
41470
41603
 
41471
41604
  /**
@@ -42009,7 +42142,7 @@ class WidgetsApi {
42009
42142
  /**
42010
42143
  * Widgets service.
42011
42144
  * @module purecloud-platform-client-v2/api/WidgetsApi
42012
- * @version 96.0.0
42145
+ * @version 97.0.0
42013
42146
  */
42014
42147
 
42015
42148
  /**
@@ -42155,7 +42288,7 @@ class WorkforceManagementApi {
42155
42288
  /**
42156
42289
  * WorkforceManagement service.
42157
42290
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
42158
- * @version 96.0.0
42291
+ * @version 97.0.0
42159
42292
  */
42160
42293
 
42161
42294
  /**
@@ -42440,6 +42573,36 @@ class WorkforceManagementApi {
42440
42573
  );
42441
42574
  }
42442
42575
 
42576
+ /**
42577
+ * Delete a work plan rotation
42578
+ *
42579
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
42580
+ * @param {String} workPlanRotationId The ID of the work plan rotation to be deleted
42581
+ */
42582
+ deleteWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
42583
+ // verify the required parameter 'managementUnitId' is set
42584
+ if (managementUnitId === undefined || managementUnitId === null) {
42585
+ throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';
42586
+ }
42587
+ // verify the required parameter 'workPlanRotationId' is set
42588
+ if (workPlanRotationId === undefined || workPlanRotationId === null) {
42589
+ throw 'Missing the required parameter "workPlanRotationId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';
42590
+ }
42591
+
42592
+ return this.apiClient.callApi(
42593
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
42594
+ 'DELETE',
42595
+ { 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
42596
+ { },
42597
+ { },
42598
+ { },
42599
+ null,
42600
+ ['PureCloud OAuth'],
42601
+ ['application/json'],
42602
+ ['application/json']
42603
+ );
42604
+ }
42605
+
42443
42606
  /**
42444
42607
  * Get a list of UserScheduleAdherence records for the requested users
42445
42608
  *
@@ -43646,6 +43809,65 @@ class WorkforceManagementApi {
43646
43809
  );
43647
43810
  }
43648
43811
 
43812
+ /**
43813
+ * Get a work plan rotation
43814
+ *
43815
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
43816
+ * @param {String} workPlanRotationId The ID of the work plan rotation to fetch
43817
+ */
43818
+ getWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
43819
+ // verify the required parameter 'managementUnitId' is set
43820
+ if (managementUnitId === undefined || managementUnitId === null) {
43821
+ throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
43822
+ }
43823
+ // verify the required parameter 'workPlanRotationId' is set
43824
+ if (workPlanRotationId === undefined || workPlanRotationId === null) {
43825
+ throw 'Missing the required parameter "workPlanRotationId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
43826
+ }
43827
+
43828
+ return this.apiClient.callApi(
43829
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
43830
+ 'GET',
43831
+ { 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
43832
+ { },
43833
+ { },
43834
+ { },
43835
+ null,
43836
+ ['PureCloud OAuth'],
43837
+ ['application/json'],
43838
+ ['application/json']
43839
+ );
43840
+ }
43841
+
43842
+ /**
43843
+ * Get work plan rotations
43844
+ *
43845
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
43846
+ * @param {Object} opts Optional parameters
43847
+ * @param {Array.<String>} opts.expand
43848
+ */
43849
+ getWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, opts) {
43850
+ opts = opts || {};
43851
+
43852
+ // verify the required parameter 'managementUnitId' is set
43853
+ if (managementUnitId === undefined || managementUnitId === null) {
43854
+ throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotations';
43855
+ }
43856
+
43857
+ return this.apiClient.callApi(
43858
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
43859
+ 'GET',
43860
+ { 'managementUnitId': managementUnitId },
43861
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
43862
+ { },
43863
+ { },
43864
+ null,
43865
+ ['PureCloud OAuth'],
43866
+ ['application/json'],
43867
+ ['application/json']
43868
+ );
43869
+ }
43870
+
43649
43871
  /**
43650
43872
  * Get work plans
43651
43873
  *
@@ -44148,6 +44370,40 @@ class WorkforceManagementApi {
44148
44370
  );
44149
44371
  }
44150
44372
 
44373
+ /**
44374
+ * Update a work plan rotation
44375
+ *
44376
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
44377
+ * @param {String} workPlanRotationId The ID of the work plan rotation to update
44378
+ * @param {Object} opts Optional parameters
44379
+ * @param {Object} opts.body body
44380
+ */
44381
+ patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId, opts) {
44382
+ opts = opts || {};
44383
+
44384
+ // verify the required parameter 'managementUnitId' is set
44385
+ if (managementUnitId === undefined || managementUnitId === null) {
44386
+ throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
44387
+ }
44388
+ // verify the required parameter 'workPlanRotationId' is set
44389
+ if (workPlanRotationId === undefined || workPlanRotationId === null) {
44390
+ throw 'Missing the required parameter "workPlanRotationId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
44391
+ }
44392
+
44393
+ return this.apiClient.callApi(
44394
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
44395
+ 'PATCH',
44396
+ { 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
44397
+ { },
44398
+ { },
44399
+ { },
44400
+ opts['body'],
44401
+ ['PureCloud OAuth'],
44402
+ ['application/json'],
44403
+ ['application/json']
44404
+ );
44405
+ }
44406
+
44151
44407
  /**
44152
44408
  * Update a time off request for the current user
44153
44409
  *
@@ -45069,6 +45325,69 @@ class WorkforceManagementApi {
45069
45325
  );
45070
45326
  }
45071
45327
 
45328
+ /**
45329
+ * Create a copy of work plan rotation
45330
+ *
45331
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
45332
+ * @param {String} workPlanRotationId The ID of the work plan rotation to create a copy
45333
+ * @param {Object} opts Optional parameters
45334
+ * @param {Object} opts.body body
45335
+ */
45336
+ postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId, opts) {
45337
+ opts = opts || {};
45338
+
45339
+ // verify the required parameter 'managementUnitId' is set
45340
+ if (managementUnitId === undefined || managementUnitId === null) {
45341
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
45342
+ }
45343
+ // verify the required parameter 'workPlanRotationId' is set
45344
+ if (workPlanRotationId === undefined || workPlanRotationId === null) {
45345
+ throw 'Missing the required parameter "workPlanRotationId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
45346
+ }
45347
+
45348
+ return this.apiClient.callApi(
45349
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}/copy',
45350
+ 'POST',
45351
+ { 'managementUnitId': managementUnitId,'workPlanRotationId': workPlanRotationId },
45352
+ { },
45353
+ { },
45354
+ { },
45355
+ opts['body'],
45356
+ ['PureCloud OAuth'],
45357
+ ['application/json'],
45358
+ ['application/json']
45359
+ );
45360
+ }
45361
+
45362
+ /**
45363
+ * Create a new work plan rotation
45364
+ *
45365
+ * @param {String} managementUnitId The ID of the management unit, or &#39;mine&#39; for the management unit of the logged-in user.
45366
+ * @param {Object} opts Optional parameters
45367
+ * @param {Object} opts.body body
45368
+ */
45369
+ postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, opts) {
45370
+ opts = opts || {};
45371
+
45372
+ // verify the required parameter 'managementUnitId' is set
45373
+ if (managementUnitId === undefined || managementUnitId === null) {
45374
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotations';
45375
+ }
45376
+
45377
+ return this.apiClient.callApi(
45378
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
45379
+ 'POST',
45380
+ { 'managementUnitId': managementUnitId },
45381
+ { },
45382
+ { },
45383
+ { },
45384
+ opts['body'],
45385
+ ['PureCloud OAuth'],
45386
+ ['application/json'],
45387
+ ['application/json']
45388
+ );
45389
+ }
45390
+
45072
45391
  /**
45073
45392
  * Create a new work plan
45074
45393
  *
@@ -45225,7 +45544,7 @@ class WorkforceManagementApi {
45225
45544
  * </pre>
45226
45545
  * </p>
45227
45546
  * @module purecloud-platform-client-v2/index
45228
- * @version 96.0.0
45547
+ * @version 97.0.0
45229
45548
  */
45230
45549
  class platformClient {
45231
45550
  constructor() {