purecloud-platform-client-v2 125.0.0 → 128.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 (72) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +810 -171
  3. package/dist/web-amd/purecloud-platform-client-v2.js +810 -171
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +810 -171
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +810 -171
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +463 -268
  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 -26
  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 +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -74
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +3 -3
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +216 -1
  45. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  48. package/src/purecloud-platform-client-v2/api/RecordingApi.js +7 -3
  49. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -4
  51. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +22 -2
  55. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +28 -1
  60. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +473 -1
  72. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -393,7 +393,7 @@ class Configuration {
393
393
 
394
394
  /**
395
395
  * @module purecloud-platform-client-v2/ApiClient
396
- * @version 125.0.0
396
+ * @version 128.0.0
397
397
  */
398
398
  class ApiClient {
399
399
  /**
@@ -1340,7 +1340,7 @@ class ApiClient {
1340
1340
 
1341
1341
  // set header parameters
1342
1342
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
1343
- //request.set({ 'purecloud-sdk': '125.0.0' });
1343
+ //request.set({ 'purecloud-sdk': '128.0.0' });
1344
1344
 
1345
1345
  // set request timeout
1346
1346
  request.timeout(that.timeout);
@@ -1440,7 +1440,7 @@ class AlertingApi {
1440
1440
  /**
1441
1441
  * Alerting service.
1442
1442
  * @module purecloud-platform-client-v2/api/AlertingApi
1443
- * @version 125.0.0
1443
+ * @version 128.0.0
1444
1444
  */
1445
1445
 
1446
1446
  /**
@@ -1754,7 +1754,7 @@ class AnalyticsApi {
1754
1754
  /**
1755
1755
  * Analytics service.
1756
1756
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1757
- * @version 125.0.0
1757
+ * @version 128.0.0
1758
1758
  */
1759
1759
 
1760
1760
  /**
@@ -2350,31 +2350,6 @@ class AnalyticsApi {
2350
2350
  );
2351
2351
  }
2352
2352
 
2353
- /**
2354
- * Patch AnalyticsReportingSettings values for an organization
2355
- *
2356
- * @param {Object} body AnalyticsReportingSettingsRequest
2357
- */
2358
- patchAnalyticsReportingSettings(body) {
2359
- // verify the required parameter 'body' is set
2360
- if (body === undefined || body === null) {
2361
- throw 'Missing the required parameter "body" when calling patchAnalyticsReportingSettings';
2362
- }
2363
-
2364
- return this.apiClient.callApi(
2365
- '/api/v2/analytics/reporting/settings',
2366
- 'PATCH',
2367
- { },
2368
- { },
2369
- { },
2370
- { },
2371
- body,
2372
- ['PureCloud OAuth'],
2373
- ['application/json'],
2374
- ['application/json']
2375
- );
2376
- }
2377
-
2378
2353
  /**
2379
2354
  * Query for bot aggregates
2380
2355
  *
@@ -2916,7 +2891,7 @@ class ArchitectApi {
2916
2891
  /**
2917
2892
  * Architect service.
2918
2893
  * @module purecloud-platform-client-v2/api/ArchitectApi
2919
- * @version 125.0.0
2894
+ * @version 128.0.0
2920
2895
  */
2921
2896
 
2922
2897
  /**
@@ -5912,7 +5887,7 @@ class AuditApi {
5912
5887
  /**
5913
5888
  * Audit service.
5914
5889
  * @module purecloud-platform-client-v2/api/AuditApi
5915
- * @version 125.0.0
5890
+ * @version 128.0.0
5916
5891
  */
5917
5892
 
5918
5893
  /**
@@ -6083,7 +6058,7 @@ class AuthorizationApi {
6083
6058
  /**
6084
6059
  * Authorization service.
6085
6060
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6086
- * @version 125.0.0
6061
+ * @version 128.0.0
6087
6062
  */
6088
6063
 
6089
6064
  /**
@@ -7266,7 +7241,7 @@ class BillingApi {
7266
7241
  /**
7267
7242
  * Billing service.
7268
7243
  * @module purecloud-platform-client-v2/api/BillingApi
7269
- * @version 125.0.0
7244
+ * @version 128.0.0
7270
7245
  */
7271
7246
 
7272
7247
  /**
@@ -7346,7 +7321,7 @@ class ChatApi {
7346
7321
  /**
7347
7322
  * Chat service.
7348
7323
  * @module purecloud-platform-client-v2/api/ChatApi
7349
- * @version 125.0.0
7324
+ * @version 128.0.0
7350
7325
  */
7351
7326
 
7352
7327
  /**
@@ -7437,7 +7412,7 @@ class CoachingApi {
7437
7412
  /**
7438
7413
  * Coaching service.
7439
7414
  * @module purecloud-platform-client-v2/api/CoachingApi
7440
- * @version 125.0.0
7415
+ * @version 128.0.0
7441
7416
  */
7442
7417
 
7443
7418
  /**
@@ -8012,7 +7987,7 @@ class ContentManagementApi {
8012
7987
  /**
8013
7988
  * ContentManagement service.
8014
7989
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8015
- * @version 125.0.0
7990
+ * @version 128.0.0
8016
7991
  */
8017
7992
 
8018
7993
  /**
@@ -9152,7 +9127,7 @@ class ConversationsApi {
9152
9127
  /**
9153
9128
  * Conversations service.
9154
9129
  * @module purecloud-platform-client-v2/api/ConversationsApi
9155
- * @version 125.0.0
9130
+ * @version 128.0.0
9156
9131
  */
9157
9132
 
9158
9133
  /**
@@ -13541,7 +13516,7 @@ class DataExtensionsApi {
13541
13516
  /**
13542
13517
  * DataExtensions service.
13543
13518
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
13544
- * @version 125.0.0
13519
+ * @version 128.0.0
13545
13520
  */
13546
13521
 
13547
13522
  /**
@@ -13627,7 +13602,7 @@ class ExternalContactsApi {
13627
13602
  /**
13628
13603
  * ExternalContacts service.
13629
13604
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
13630
- * @version 125.0.0
13605
+ * @version 128.0.0
13631
13606
  */
13632
13607
 
13633
13608
  /**
@@ -15370,7 +15345,7 @@ class FaxApi {
15370
15345
  /**
15371
15346
  * Fax service.
15372
15347
  * @module purecloud-platform-client-v2/api/FaxApi
15373
- * @version 125.0.0
15348
+ * @version 128.0.0
15374
15349
  */
15375
15350
 
15376
15351
  /**
@@ -15541,7 +15516,7 @@ class FlowsApi {
15541
15516
  /**
15542
15517
  * Flows service.
15543
15518
  * @module purecloud-platform-client-v2/api/FlowsApi
15544
- * @version 125.0.0
15519
+ * @version 128.0.0
15545
15520
  */
15546
15521
 
15547
15522
  /**
@@ -15612,7 +15587,7 @@ class GamificationApi {
15612
15587
  /**
15613
15588
  * Gamification service.
15614
15589
  * @module purecloud-platform-client-v2/api/GamificationApi
15615
- * @version 125.0.0
15590
+ * @version 128.0.0
15616
15591
  */
15617
15592
 
15618
15593
  /**
@@ -16918,7 +16893,7 @@ class GeneralDataProtectionRegulationApi {
16918
16893
  /**
16919
16894
  * GeneralDataProtectionRegulation service.
16920
16895
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
16921
- * @version 125.0.0
16896
+ * @version 128.0.0
16922
16897
  */
16923
16898
 
16924
16899
  /**
@@ -17048,7 +17023,7 @@ class GeolocationApi {
17048
17023
  /**
17049
17024
  * Geolocation service.
17050
17025
  * @module purecloud-platform-client-v2/api/GeolocationApi
17051
- * @version 125.0.0
17026
+ * @version 128.0.0
17052
17027
  */
17053
17028
 
17054
17029
  /**
@@ -17179,7 +17154,7 @@ class GreetingsApi {
17179
17154
  /**
17180
17155
  * Greetings service.
17181
17156
  * @module purecloud-platform-client-v2/api/GreetingsApi
17182
- * @version 125.0.0
17157
+ * @version 128.0.0
17183
17158
  */
17184
17159
 
17185
17160
  /**
@@ -17634,7 +17609,7 @@ class GroupsApi {
17634
17609
  /**
17635
17610
  * Groups service.
17636
17611
  * @module purecloud-platform-client-v2/api/GroupsApi
17637
- * @version 125.0.0
17612
+ * @version 128.0.0
17638
17613
  */
17639
17614
 
17640
17615
  /**
@@ -18039,7 +18014,7 @@ class IdentityProviderApi {
18039
18014
  /**
18040
18015
  * IdentityProvider service.
18041
18016
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18042
- * @version 125.0.0
18017
+ * @version 128.0.0
18043
18018
  */
18044
18019
 
18045
18020
  /**
@@ -18795,7 +18770,7 @@ class IntegrationsApi {
18795
18770
  /**
18796
18771
  * Integrations service.
18797
18772
  * @module purecloud-platform-client-v2/api/IntegrationsApi
18798
- * @version 125.0.0
18773
+ * @version 128.0.0
18799
18774
  */
18800
18775
 
18801
18776
  /**
@@ -20441,7 +20416,7 @@ class JourneyApi {
20441
20416
  /**
20442
20417
  * Journey service.
20443
20418
  * @module purecloud-platform-client-v2/api/JourneyApi
20444
- * @version 125.0.0
20419
+ * @version 128.0.0
20445
20420
  */
20446
20421
 
20447
20422
  /**
@@ -21152,7 +21127,7 @@ class KnowledgeApi {
21152
21127
  /**
21153
21128
  * Knowledge service.
21154
21129
  * @module purecloud-platform-client-v2/api/KnowledgeApi
21155
- * @version 125.0.0
21130
+ * @version 128.0.0
21156
21131
  */
21157
21132
 
21158
21133
  /**
@@ -21642,79 +21617,6 @@ class KnowledgeApi {
21642
21617
  );
21643
21618
  }
21644
21619
 
21645
- /**
21646
- * Update specific context data of the knowledge base.
21647
- *
21648
- * @param {String} knowledgeBaseId Knowledge base ID.
21649
- * @param {String} contextId Context ID.
21650
- * @param {Object} opts Optional parameters
21651
- * @param {Object} opts.body
21652
- */
21653
- patchKnowledgeKnowledgebaseContext(knowledgeBaseId, contextId, opts) {
21654
- opts = opts || {};
21655
-
21656
- // verify the required parameter 'knowledgeBaseId' is set
21657
- if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
21658
- throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseContext';
21659
- }
21660
- // verify the required parameter 'contextId' is set
21661
- if (contextId === undefined || contextId === null) {
21662
- throw 'Missing the required parameter "contextId" when calling patchKnowledgeKnowledgebaseContext';
21663
- }
21664
-
21665
- return this.apiClient.callApi(
21666
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/contexts/{contextId}',
21667
- 'PATCH',
21668
- { 'knowledgeBaseId': knowledgeBaseId,'contextId': contextId },
21669
- { },
21670
- { },
21671
- { },
21672
- opts['body'],
21673
- ['PureCloud OAuth'],
21674
- ['application/json'],
21675
- ['application/json']
21676
- );
21677
- }
21678
-
21679
- /**
21680
- * Update context value.
21681
- *
21682
- * @param {String} knowledgeBaseId Knowledge base ID.
21683
- * @param {String} contextId Context ID.
21684
- * @param {String} contextValueId Context Value ID.
21685
- * @param {Object} opts Optional parameters
21686
- * @param {Object} opts.body
21687
- */
21688
- patchKnowledgeKnowledgebaseContextValue(knowledgeBaseId, contextId, contextValueId, opts) {
21689
- opts = opts || {};
21690
-
21691
- // verify the required parameter 'knowledgeBaseId' is set
21692
- if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
21693
- throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseContextValue';
21694
- }
21695
- // verify the required parameter 'contextId' is set
21696
- if (contextId === undefined || contextId === null) {
21697
- throw 'Missing the required parameter "contextId" when calling patchKnowledgeKnowledgebaseContextValue';
21698
- }
21699
- // verify the required parameter 'contextValueId' is set
21700
- if (contextValueId === undefined || contextValueId === null) {
21701
- throw 'Missing the required parameter "contextValueId" when calling patchKnowledgeKnowledgebaseContextValue';
21702
- }
21703
-
21704
- return this.apiClient.callApi(
21705
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/contexts/{contextId}/values/{contextValueId}',
21706
- 'PATCH',
21707
- { 'knowledgeBaseId': knowledgeBaseId,'contextId': contextId,'contextValueId': contextValueId },
21708
- { },
21709
- { },
21710
- { },
21711
- opts['body'],
21712
- ['PureCloud OAuth'],
21713
- ['application/json'],
21714
- ['application/json']
21715
- );
21716
- }
21717
-
21718
21620
  /**
21719
21621
  * Update category
21720
21622
  *
@@ -22125,7 +22027,7 @@ class LanguageUnderstandingApi {
22125
22027
  /**
22126
22028
  * LanguageUnderstanding service.
22127
22029
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
22128
- * @version 125.0.0
22030
+ * @version 128.0.0
22129
22031
  */
22130
22032
 
22131
22033
  /**
@@ -22691,7 +22593,7 @@ class LanguageUnderstandingApi {
22691
22593
  }
22692
22594
 
22693
22595
  /**
22694
- * Save information for the draft
22596
+ * Save information for the draft. Either topic draft or intent draft should be sent.
22695
22597
  *
22696
22598
  * @param {String} minerId Miner ID
22697
22599
  * @param {String} draftId Draft ID
@@ -22935,7 +22837,7 @@ class LanguageUnderstandingApi {
22935
22837
  }
22936
22838
 
22937
22839
  /**
22938
- * Start the mining process. Specify date range pair with mediaType and queueIds for mining data from Genesys Cloud. Specify only uploadKey for mining through an external file.
22840
+ * Start the mining process. Specify date range pair with mediaType, queueIds, participantType for mining data from Genesys Cloud. Specify only uploadKey for mining through an external file.
22939
22841
  *
22940
22842
  * @param {String} minerId Miner ID
22941
22843
  * @param {Object} opts Optional parameters
@@ -23029,7 +22931,7 @@ class LanguagesApi {
23029
22931
  /**
23030
22932
  * Languages service.
23031
22933
  * @module purecloud-platform-client-v2/api/LanguagesApi
23032
- * @version 125.0.0
22934
+ * @version 128.0.0
23033
22935
  */
23034
22936
 
23035
22937
  /**
@@ -23297,7 +23199,7 @@ class LearningApi {
23297
23199
  /**
23298
23200
  * Learning service.
23299
23201
  * @module purecloud-platform-client-v2/api/LearningApi
23300
- * @version 125.0.0
23202
+ * @version 128.0.0
23301
23203
  */
23302
23204
 
23303
23205
  /**
@@ -23888,7 +23790,7 @@ class LicenseApi {
23888
23790
  /**
23889
23791
  * License service.
23890
23792
  * @module purecloud-platform-client-v2/api/LicenseApi
23891
- * @version 125.0.0
23793
+ * @version 128.0.0
23892
23794
  */
23893
23795
 
23894
23796
  /**
@@ -24126,7 +24028,7 @@ class LocationsApi {
24126
24028
  /**
24127
24029
  * Locations service.
24128
24030
  * @module purecloud-platform-client-v2/api/LocationsApi
24129
- * @version 125.0.0
24031
+ * @version 128.0.0
24130
24032
  */
24131
24033
 
24132
24034
  /**
@@ -24362,7 +24264,7 @@ class MobileDevicesApi {
24362
24264
  /**
24363
24265
  * MobileDevices service.
24364
24266
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
24365
- * @version 125.0.0
24267
+ * @version 128.0.0
24366
24268
  */
24367
24269
 
24368
24270
  /**
@@ -24513,7 +24415,7 @@ class NotificationsApi {
24513
24415
  /**
24514
24416
  * Notifications service.
24515
24417
  * @module purecloud-platform-client-v2/api/NotificationsApi
24516
- * @version 125.0.0
24418
+ * @version 128.0.0
24517
24419
  */
24518
24420
 
24519
24421
  /**
@@ -24738,7 +24640,7 @@ class OAuthApi {
24738
24640
  /**
24739
24641
  * OAuth service.
24740
24642
  * @module purecloud-platform-client-v2/api/OAuthApi
24741
- * @version 125.0.0
24643
+ * @version 128.0.0
24742
24644
  */
24743
24645
 
24744
24646
  /**
@@ -25096,7 +24998,7 @@ class ObjectsApi {
25096
24998
  /**
25097
24999
  * Objects service.
25098
25000
  * @module purecloud-platform-client-v2/api/ObjectsApi
25099
- * @version 125.0.0
25001
+ * @version 128.0.0
25100
25002
  */
25101
25003
 
25102
25004
  /**
@@ -25367,7 +25269,7 @@ class OrganizationApi {
25367
25269
  /**
25368
25270
  * Organization service.
25369
25271
  * @module purecloud-platform-client-v2/api/OrganizationApi
25370
- * @version 125.0.0
25272
+ * @version 128.0.0
25371
25273
  */
25372
25274
 
25373
25275
  /**
@@ -25770,7 +25672,7 @@ class OrganizationAuthorizationApi {
25770
25672
  /**
25771
25673
  * OrganizationAuthorization service.
25772
25674
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
25773
- * @version 125.0.0
25675
+ * @version 128.0.0
25774
25676
  */
25775
25677
 
25776
25678
  /**
@@ -25810,6 +25712,36 @@ class OrganizationAuthorizationApi {
25810
25712
  );
25811
25713
  }
25812
25714
 
25715
+ /**
25716
+ * Deletes cloned user
25717
+ *
25718
+ * @param {String} trusteeOrgId Trustee Organization Id
25719
+ * @param {String} trusteeUserId Id of the cloned user to delete
25720
+ */
25721
+ deleteOrgauthorizationTrusteeCloneduser(trusteeOrgId, trusteeUserId) {
25722
+ // verify the required parameter 'trusteeOrgId' is set
25723
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
25724
+ throw 'Missing the required parameter "trusteeOrgId" when calling deleteOrgauthorizationTrusteeCloneduser';
25725
+ }
25726
+ // verify the required parameter 'trusteeUserId' is set
25727
+ if (trusteeUserId === undefined || trusteeUserId === null) {
25728
+ throw 'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrusteeCloneduser';
25729
+ }
25730
+
25731
+ return this.apiClient.callApi(
25732
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/clonedusers/{trusteeUserId}',
25733
+ 'DELETE',
25734
+ { 'trusteeOrgId': trusteeOrgId,'trusteeUserId': trusteeUserId },
25735
+ { },
25736
+ { },
25737
+ { },
25738
+ null,
25739
+ ['PureCloud OAuth'],
25740
+ ['application/json'],
25741
+ ['application/json']
25742
+ );
25743
+ }
25744
+
25813
25745
  /**
25814
25746
  * Delete Trustee User
25815
25747
  *
@@ -25895,6 +25827,36 @@ class OrganizationAuthorizationApi {
25895
25827
  );
25896
25828
  }
25897
25829
 
25830
+ /**
25831
+ * Delete Cloned User
25832
+ *
25833
+ * @param {String} trustorOrgId Trustor Organization Id
25834
+ * @param {String} trusteeUserId Trustee User Id
25835
+ */
25836
+ deleteOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
25837
+ // verify the required parameter 'trustorOrgId' is set
25838
+ if (trustorOrgId === undefined || trustorOrgId === null) {
25839
+ throw 'Missing the required parameter "trustorOrgId" when calling deleteOrgauthorizationTrustorCloneduser';
25840
+ }
25841
+ // verify the required parameter 'trusteeUserId' is set
25842
+ if (trusteeUserId === undefined || trusteeUserId === null) {
25843
+ throw 'Missing the required parameter "trusteeUserId" when calling deleteOrgauthorizationTrustorCloneduser';
25844
+ }
25845
+
25846
+ return this.apiClient.callApi(
25847
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}',
25848
+ 'DELETE',
25849
+ { 'trustorOrgId': trustorOrgId,'trusteeUserId': trusteeUserId },
25850
+ { },
25851
+ { },
25852
+ { },
25853
+ null,
25854
+ ['PureCloud OAuth'],
25855
+ ['application/json'],
25856
+ ['application/json']
25857
+ );
25858
+ }
25859
+
25898
25860
  /**
25899
25861
  * Delete Trustee User
25900
25862
  *
@@ -25975,6 +25937,31 @@ class OrganizationAuthorizationApi {
25975
25937
  );
25976
25938
  }
25977
25939
 
25940
+ /**
25941
+ * The list of cloned users from the trustee organization (i.e. users with a native user record).
25942
+ * There can be no more than 5 cloned users per organization, so results are represented as simple list and not paged
25943
+ * @param {String} trusteeOrgId Trustee Organization Id
25944
+ */
25945
+ getOrgauthorizationTrusteeClonedusers(trusteeOrgId) {
25946
+ // verify the required parameter 'trusteeOrgId' is set
25947
+ if (trusteeOrgId === undefined || trusteeOrgId === null) {
25948
+ throw 'Missing the required parameter "trusteeOrgId" when calling getOrgauthorizationTrusteeClonedusers';
25949
+ }
25950
+
25951
+ return this.apiClient.callApi(
25952
+ '/api/v2/orgauthorization/trustees/{trusteeOrgId}/clonedusers',
25953
+ 'GET',
25954
+ { 'trusteeOrgId': trusteeOrgId },
25955
+ { },
25956
+ { },
25957
+ { },
25958
+ null,
25959
+ ['PureCloud OAuth'],
25960
+ ['application/json'],
25961
+ ['application/json']
25962
+ );
25963
+ }
25964
+
25978
25965
  /**
25979
25966
  * Get Trustee User
25980
25967
  *
@@ -26090,6 +26077,26 @@ class OrganizationAuthorizationApi {
26090
26077
  );
26091
26078
  }
26092
26079
 
26080
+ /**
26081
+ * Get organization authorization trust with Customer Care, if one exists.
26082
+ *
26083
+ */
26084
+ getOrgauthorizationTrusteesDefault() {
26085
+
26086
+ return this.apiClient.callApi(
26087
+ '/api/v2/orgauthorization/trustees/default',
26088
+ 'GET',
26089
+ { },
26090
+ { },
26091
+ { },
26092
+ { },
26093
+ null,
26094
+ ['PureCloud OAuth'],
26095
+ ['application/json'],
26096
+ ['application/json']
26097
+ );
26098
+ }
26099
+
26093
26100
  /**
26094
26101
  * Get Org Trust
26095
26102
  *
@@ -26115,6 +26122,61 @@ class OrganizationAuthorizationApi {
26115
26122
  );
26116
26123
  }
26117
26124
 
26125
+ /**
26126
+ * Get Cloned User
26127
+ *
26128
+ * @param {String} trustorOrgId Trustor Organization Id
26129
+ * @param {String} trusteeUserId Trustee User Id
26130
+ */
26131
+ getOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
26132
+ // verify the required parameter 'trustorOrgId' is set
26133
+ if (trustorOrgId === undefined || trustorOrgId === null) {
26134
+ throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorCloneduser';
26135
+ }
26136
+ // verify the required parameter 'trusteeUserId' is set
26137
+ if (trusteeUserId === undefined || trusteeUserId === null) {
26138
+ throw 'Missing the required parameter "trusteeUserId" when calling getOrgauthorizationTrustorCloneduser';
26139
+ }
26140
+
26141
+ return this.apiClient.callApi(
26142
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}',
26143
+ 'GET',
26144
+ { 'trustorOrgId': trustorOrgId,'trusteeUserId': trusteeUserId },
26145
+ { },
26146
+ { },
26147
+ { },
26148
+ null,
26149
+ ['PureCloud OAuth'],
26150
+ ['application/json'],
26151
+ ['application/json']
26152
+ );
26153
+ }
26154
+
26155
+ /**
26156
+ * The list of cloned users in the trustor organization (i.e. users with a native user record).
26157
+ *
26158
+ * @param {String} trustorOrgId Trustor Organization Id
26159
+ */
26160
+ getOrgauthorizationTrustorClonedusers(trustorOrgId) {
26161
+ // verify the required parameter 'trustorOrgId' is set
26162
+ if (trustorOrgId === undefined || trustorOrgId === null) {
26163
+ throw 'Missing the required parameter "trustorOrgId" when calling getOrgauthorizationTrustorClonedusers';
26164
+ }
26165
+
26166
+ return this.apiClient.callApi(
26167
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers',
26168
+ 'GET',
26169
+ { 'trustorOrgId': trustorOrgId },
26170
+ { },
26171
+ { },
26172
+ { },
26173
+ null,
26174
+ ['PureCloud OAuth'],
26175
+ ['application/json'],
26176
+ ['application/json']
26177
+ );
26178
+ }
26179
+
26118
26180
  /**
26119
26181
  * Get Trustee User
26120
26182
  *
@@ -26312,6 +26374,31 @@ class OrganizationAuthorizationApi {
26312
26374
  );
26313
26375
  }
26314
26376
 
26377
+ /**
26378
+ * Create a new organization authorization trust with Customer Care. This is required to grant your regional Customer Care organization access to your organization.
26379
+ *
26380
+ * @param {Object} opts Optional parameters
26381
+ * @param {Boolean} opts.assignDefaultRole Assign Admin role to default pairing with Customer Care
26382
+ * @param {Boolean} opts.autoExpire Automatically expire pairing after 30 days
26383
+ */
26384
+ postOrgauthorizationTrusteesDefault(opts) {
26385
+ opts = opts || {};
26386
+
26387
+
26388
+ return this.apiClient.callApi(
26389
+ '/api/v2/orgauthorization/trustees/default',
26390
+ 'POST',
26391
+ { },
26392
+ { 'assignDefaultRole': opts['assignDefaultRole'],'autoExpire': opts['autoExpire'] },
26393
+ { },
26394
+ { },
26395
+ null,
26396
+ ['PureCloud OAuth'],
26397
+ ['application/json'],
26398
+ ['application/json']
26399
+ );
26400
+ }
26401
+
26315
26402
  /**
26316
26403
  * Get Org Trustor Audits
26317
26404
  *
@@ -26444,6 +26531,36 @@ class OrganizationAuthorizationApi {
26444
26531
  );
26445
26532
  }
26446
26533
 
26534
+ /**
26535
+ * Creates a clone of the trustee user in the trustor org.
26536
+ *
26537
+ * @param {String} trustorOrgId Trustor Organization Id
26538
+ * @param {String} trusteeUserId Trustee User Id
26539
+ */
26540
+ putOrgauthorizationTrustorCloneduser(trustorOrgId, trusteeUserId) {
26541
+ // verify the required parameter 'trustorOrgId' is set
26542
+ if (trustorOrgId === undefined || trustorOrgId === null) {
26543
+ throw 'Missing the required parameter "trustorOrgId" when calling putOrgauthorizationTrustorCloneduser';
26544
+ }
26545
+ // verify the required parameter 'trusteeUserId' is set
26546
+ if (trusteeUserId === undefined || trusteeUserId === null) {
26547
+ throw 'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorCloneduser';
26548
+ }
26549
+
26550
+ return this.apiClient.callApi(
26551
+ '/api/v2/orgauthorization/trustors/{trustorOrgId}/clonedusers/{trusteeUserId}',
26552
+ 'PUT',
26553
+ { 'trustorOrgId': trustorOrgId,'trusteeUserId': trusteeUserId },
26554
+ { },
26555
+ { },
26556
+ { },
26557
+ null,
26558
+ ['PureCloud OAuth'],
26559
+ ['application/json'],
26560
+ ['application/json']
26561
+ );
26562
+ }
26563
+
26447
26564
  /**
26448
26565
  * Add a Trustee user to the trust.
26449
26566
  *
@@ -26480,7 +26597,7 @@ class OutboundApi {
26480
26597
  /**
26481
26598
  * Outbound service.
26482
26599
  * @module purecloud-platform-client-v2/api/OutboundApi
26483
- * @version 125.0.0
26600
+ * @version 128.0.0
26484
26601
  */
26485
26602
 
26486
26603
  /**
@@ -29506,7 +29623,7 @@ class PresenceApi {
29506
29623
  /**
29507
29624
  * Presence service.
29508
29625
  * @module purecloud-platform-client-v2/api/PresenceApi
29509
- * @version 125.0.0
29626
+ * @version 128.0.0
29510
29627
  */
29511
29628
 
29512
29629
  /**
@@ -29878,7 +29995,7 @@ class QualityApi {
29878
29995
  /**
29879
29996
  * Quality service.
29880
29997
  * @module purecloud-platform-client-v2/api/QualityApi
29881
- * @version 125.0.0
29998
+ * @version 128.0.0
29882
29999
  */
29883
30000
 
29884
30001
  /**
@@ -30251,7 +30368,7 @@ class QualityApi {
30251
30368
 
30252
30369
  /**
30253
30370
  * Queries Evaluations and returns a paged list
30254
- * Query params must include one of conversationId, evaluatorUserId, or agentUserId
30371
+ * Query params must include one of conversationId, evaluatorUserId, or agentUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to 'Never Release' are omitted in this case. When querying by evaluatorUserId or conversationId (including when combined with agentUserId), the results are sorted by assigned date.
30255
30372
  * @param {Object} opts Optional parameters
30256
30373
  * @param {Number} opts.pageSize The total page size requested (default to 25)
30257
30374
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -31406,7 +31523,7 @@ class RecordingApi {
31406
31523
  /**
31407
31524
  * Recording service.
31408
31525
  * @module purecloud-platform-client-v2/api/RecordingApi
31409
- * @version 125.0.0
31526
+ * @version 128.0.0
31410
31527
  */
31411
31528
 
31412
31529
  /**
@@ -32002,6 +32119,8 @@ class RecordingApi {
32002
32119
  * @param {Object} opts Optional parameters
32003
32120
  * @param {Number} opts.pageSize Page size. Maximum is 100. (default to 25)
32004
32121
  * @param {Number} opts.pageNumber Page number (default to 1)
32122
+ * @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
32123
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
32005
32124
  */
32006
32125
  getRecordingJobFailedrecordings(jobId, opts) {
32007
32126
  opts = opts || {};
@@ -32015,7 +32134,7 @@ class RecordingApi {
32015
32134
  '/api/v2/recording/jobs/{jobId}/failedrecordings',
32016
32135
  'GET',
32017
32136
  { 'jobId': jobId },
32018
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
32137
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
32019
32138
  { },
32020
32139
  { },
32021
32140
  null,
@@ -32035,6 +32154,8 @@ class RecordingApi {
32035
32154
  * @param {Object} opts.state Filter by state
32036
32155
  * @param {Boolean} opts.showOnlyMyJobs Show only my jobs
32037
32156
  * @param {Object} opts.jobType Job Type (Can be left empty for both)
32157
+ * @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
32158
+ * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
32038
32159
  */
32039
32160
  getRecordingJobs(opts) {
32040
32161
  opts = opts || {};
@@ -32044,7 +32165,7 @@ class RecordingApi {
32044
32165
  '/api/v2/recording/jobs',
32045
32166
  'GET',
32046
32167
  { },
32047
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'] },
32168
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'state': opts['state'],'showOnlyMyJobs': opts['showOnlyMyJobs'],'jobType': opts['jobType'],'includeTotal': opts['includeTotal'],'cursor': opts['cursor'] },
32048
32169
  { },
32049
32170
  { },
32050
32171
  null,
@@ -32925,7 +33046,7 @@ class ResponseManagementApi {
32925
33046
  /**
32926
33047
  * ResponseManagement service.
32927
33048
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
32928
- * @version 125.0.0
33049
+ * @version 128.0.0
32929
33050
  */
32930
33051
 
32931
33052
  /**
@@ -33250,7 +33371,7 @@ class RoutingApi {
33250
33371
  /**
33251
33372
  * Routing service.
33252
33373
  * @module purecloud-platform-client-v2/api/RoutingApi
33253
- * @version 125.0.0
33374
+ * @version 128.0.0
33254
33375
  */
33255
33376
 
33256
33377
  /**
@@ -34406,12 +34527,11 @@ class RoutingApi {
34406
34527
  }
34407
34528
 
34408
34529
  /**
34409
- * Get a paged listing of simplified queue objects. Can be used to get a digest of all queues in an organization.
34530
+ * Get a paged listing of simplified queue objects, sorted by name. Can be used to get a digest of all queues in an organization.
34410
34531
  *
34411
34532
  * @param {Object} opts Optional parameters
34412
34533
  * @param {Number} opts.pageSize Page size [max value is 500] (default to 25)
34413
34534
  * @param {Number} opts.pageNumber Page number (default to 1)
34414
- * @param {Object} opts.sortBy Sort by (default to name)
34415
34535
  * @param {Object} opts.sortOrder Sort order (default to asc)
34416
34536
  */
34417
34537
  getRoutingQueuesDivisionviewsAll(opts) {
@@ -34422,7 +34542,7 @@ class RoutingApi {
34422
34542
  '/api/v2/routing/queues/divisionviews/all',
34423
34543
  'GET',
34424
34544
  { },
34425
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
34545
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'] },
34426
34546
  { },
34427
34547
  { },
34428
34548
  null,
@@ -36170,7 +36290,7 @@ class SCIMApi {
36170
36290
  /**
36171
36291
  * SCIM service.
36172
36292
  * @module purecloud-platform-client-v2/api/SCIMApi
36173
- * @version 125.0.0
36293
+ * @version 128.0.0
36174
36294
  */
36175
36295
 
36176
36296
  /**
@@ -37047,7 +37167,7 @@ class ScriptsApi {
37047
37167
  /**
37048
37168
  * Scripts service.
37049
37169
  * @module purecloud-platform-client-v2/api/ScriptsApi
37050
- * @version 125.0.0
37170
+ * @version 128.0.0
37051
37171
  */
37052
37172
 
37053
37173
  /**
@@ -37400,7 +37520,7 @@ class SearchApi {
37400
37520
  /**
37401
37521
  * Search service.
37402
37522
  * @module purecloud-platform-client-v2/api/SearchApi
37403
- * @version 125.0.0
37523
+ * @version 128.0.0
37404
37524
  */
37405
37525
 
37406
37526
  /**
@@ -37935,7 +38055,7 @@ class SpeechTextAnalyticsApi {
37935
38055
  /**
37936
38056
  * SpeechTextAnalytics service.
37937
38057
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
37938
- * @version 125.0.0
38058
+ * @version 128.0.0
37939
38059
  */
37940
38060
 
37941
38061
  /**
@@ -38106,7 +38226,7 @@ class SpeechTextAnalyticsApi {
38106
38226
 
38107
38227
  /**
38108
38228
  * Get list of supported Speech & Text Analytics dialects
38109
- *
38229
+ * This api has been deprecated. Use api/v2/topics/dialects instead
38110
38230
  */
38111
38231
  getSpeechandtextanalyticsDialects() {
38112
38232
 
@@ -38299,6 +38419,26 @@ class SpeechTextAnalyticsApi {
38299
38419
  );
38300
38420
  }
38301
38421
 
38422
+ /**
38423
+ * Get the list of Speech & Text Analytics sentiment supported dialects
38424
+ *
38425
+ */
38426
+ getSpeechandtextanalyticsSentimentDialects() {
38427
+
38428
+ return this.apiClient.callApi(
38429
+ '/api/v2/speechandtextanalytics/sentiment/dialects',
38430
+ 'GET',
38431
+ { },
38432
+ { },
38433
+ { },
38434
+ { },
38435
+ null,
38436
+ ['PureCloud OAuth'],
38437
+ ['application/json'],
38438
+ ['application/json']
38439
+ );
38440
+ }
38441
+
38302
38442
  /**
38303
38443
  * Get the list of Speech & Text Analytics SentimentFeedback
38304
38444
  *
@@ -38788,7 +38928,7 @@ class StationsApi {
38788
38928
  /**
38789
38929
  * Stations service.
38790
38930
  * @module purecloud-platform-client-v2/api/StationsApi
38791
- * @version 125.0.0
38931
+ * @version 128.0.0
38792
38932
  */
38793
38933
 
38794
38934
  /**
@@ -38935,7 +39075,7 @@ class SuggestApi {
38935
39075
  /**
38936
39076
  * Suggest service.
38937
39077
  * @module purecloud-platform-client-v2/api/SuggestApi
38938
- * @version 125.0.0
39078
+ * @version 128.0.0
38939
39079
  */
38940
39080
 
38941
39081
  /**
@@ -39074,7 +39214,7 @@ class TelephonyApi {
39074
39214
  /**
39075
39215
  * Telephony service.
39076
39216
  * @module purecloud-platform-client-v2/api/TelephonyApi
39077
- * @version 125.0.0
39217
+ * @version 128.0.0
39078
39218
  */
39079
39219
 
39080
39220
  /**
@@ -39182,7 +39322,7 @@ class TelephonyProvidersEdgeApi {
39182
39322
  /**
39183
39323
  * TelephonyProvidersEdge service.
39184
39324
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
39185
- * @version 125.0.0
39325
+ * @version 128.0.0
39186
39326
  */
39187
39327
 
39188
39328
  /**
@@ -42795,7 +42935,7 @@ class TextbotsApi {
42795
42935
  /**
42796
42936
  * Textbots service.
42797
42937
  * @module purecloud-platform-client-v2/api/TextbotsApi
42798
- * @version 125.0.0
42938
+ * @version 128.0.0
42799
42939
  */
42800
42940
 
42801
42941
  /**
@@ -42810,6 +42950,33 @@ class TextbotsApi {
42810
42950
  }
42811
42951
 
42812
42952
 
42953
+ /**
42954
+ * Find bots using the currently configured friendly name or ID.
42955
+ * The name does allow case-insensitive partial string matches or by IDs (up to 50), but not both at the same time. Optionally you can limit the scope of the search by providing one or more bot types. You can specify the maximum results to return, up to a limit of 100
42956
+ * @param {Object} opts Optional parameters
42957
+ * @param {Array.<String>} opts.botType Bot types
42958
+ * @param {String} opts.botName Bot name
42959
+ * @param {Array.<String>} opts.botId Bot IDs
42960
+ * @param {Number} opts.pageSize The maximum results to return (default to 25)
42961
+ */
42962
+ getTextbotsBotsSearch(opts) {
42963
+ opts = opts || {};
42964
+
42965
+
42966
+ return this.apiClient.callApi(
42967
+ '/api/v2/textbots/bots/search',
42968
+ 'GET',
42969
+ { },
42970
+ { 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'pageSize': opts['pageSize'] },
42971
+ { },
42972
+ { },
42973
+ null,
42974
+ ['PureCloud OAuth'],
42975
+ ['application/json'],
42976
+ ['application/json']
42977
+ );
42978
+ }
42979
+
42813
42980
  /**
42814
42981
  * Issue a bot flow turn event
42815
42982
  * Send a turn event to an executing bot flow and produce the next action to take.
@@ -42896,7 +43063,7 @@ class TokensApi {
42896
43063
  /**
42897
43064
  * Tokens service.
42898
43065
  * @module purecloud-platform-client-v2/api/TokensApi
42899
- * @version 125.0.0
43066
+ * @version 128.0.0
42900
43067
  */
42901
43068
 
42902
43069
  /**
@@ -43002,7 +43169,7 @@ class UploadsApi {
43002
43169
  /**
43003
43170
  * Uploads service.
43004
43171
  * @module purecloud-platform-client-v2/api/UploadsApi
43005
- * @version 125.0.0
43172
+ * @version 128.0.0
43006
43173
  */
43007
43174
 
43008
43175
  /**
@@ -43178,7 +43345,7 @@ class UsageApi {
43178
43345
  /**
43179
43346
  * Usage service.
43180
43347
  * @module purecloud-platform-client-v2/api/UsageApi
43181
- * @version 125.0.0
43348
+ * @version 128.0.0
43182
43349
  */
43183
43350
 
43184
43351
  /**
@@ -43249,7 +43416,7 @@ class UserRecordingsApi {
43249
43416
  /**
43250
43417
  * UserRecordings service.
43251
43418
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
43252
- * @version 125.0.0
43419
+ * @version 128.0.0
43253
43420
  */
43254
43421
 
43255
43422
  /**
@@ -43433,7 +43600,7 @@ class UsersApi {
43433
43600
  /**
43434
43601
  * Users service.
43435
43602
  * @module purecloud-platform-client-v2/api/UsersApi
43436
- * @version 125.0.0
43603
+ * @version 128.0.0
43437
43604
  */
43438
43605
 
43439
43606
  /**
@@ -45735,7 +45902,7 @@ class UtilitiesApi {
45735
45902
  /**
45736
45903
  * Utilities service.
45737
45904
  * @module purecloud-platform-client-v2/api/UtilitiesApi
45738
- * @version 125.0.0
45905
+ * @version 128.0.0
45739
45906
  */
45740
45907
 
45741
45908
  /**
@@ -45846,7 +46013,7 @@ class VoicemailApi {
45846
46013
  /**
45847
46014
  * Voicemail service.
45848
46015
  * @module purecloud-platform-client-v2/api/VoicemailApi
45849
- * @version 125.0.0
46016
+ * @version 128.0.0
45850
46017
  */
45851
46018
 
45852
46019
  /**
@@ -46513,7 +46680,7 @@ class WebChatApi {
46513
46680
  /**
46514
46681
  * WebChat service.
46515
46682
  * @module purecloud-platform-client-v2/api/WebChatApi
46516
- * @version 125.0.0
46683
+ * @version 128.0.0
46517
46684
  */
46518
46685
 
46519
46686
  /**
@@ -47057,7 +47224,7 @@ class WebDeploymentsApi {
47057
47224
  /**
47058
47225
  * WebDeployments service.
47059
47226
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
47060
- * @version 125.0.0
47227
+ * @version 128.0.0
47061
47228
  */
47062
47229
 
47063
47230
  /**
@@ -47412,7 +47579,7 @@ class WebMessagingApi {
47412
47579
  /**
47413
47580
  * WebMessaging service.
47414
47581
  * @module purecloud-platform-client-v2/api/WebMessagingApi
47415
- * @version 125.0.0
47582
+ * @version 128.0.0
47416
47583
  */
47417
47584
 
47418
47585
  /**
@@ -47458,7 +47625,7 @@ class WidgetsApi {
47458
47625
  /**
47459
47626
  * Widgets service.
47460
47627
  * @module purecloud-platform-client-v2/api/WidgetsApi
47461
- * @version 125.0.0
47628
+ * @version 128.0.0
47462
47629
  */
47463
47630
 
47464
47631
  /**
@@ -47604,7 +47771,7 @@ class WorkforceManagementApi {
47604
47771
  /**
47605
47772
  * WorkforceManagement service.
47606
47773
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
47607
- * @version 125.0.0
47774
+ * @version 128.0.0
47608
47775
  */
47609
47776
 
47610
47777
  /**
@@ -47879,6 +48046,66 @@ class WorkforceManagementApi {
47879
48046
  );
47880
48047
  }
47881
48048
 
48049
+ /**
48050
+ * Deletes a time off limit object
48051
+ *
48052
+ * @param {String} managementUnitId The management unit ID of the management unit.
48053
+ * @param {String} timeOffLimitId The ID of the time off limit object to delete
48054
+ */
48055
+ deleteWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId) {
48056
+ // verify the required parameter 'managementUnitId' is set
48057
+ if (managementUnitId === undefined || managementUnitId === null) {
48058
+ throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitTimeofflimit';
48059
+ }
48060
+ // verify the required parameter 'timeOffLimitId' is set
48061
+ if (timeOffLimitId === undefined || timeOffLimitId === null) {
48062
+ throw 'Missing the required parameter "timeOffLimitId" when calling deleteWorkforcemanagementManagementunitTimeofflimit';
48063
+ }
48064
+
48065
+ return this.apiClient.callApi(
48066
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}',
48067
+ 'DELETE',
48068
+ { 'managementUnitId': managementUnitId,'timeOffLimitId': timeOffLimitId },
48069
+ { },
48070
+ { },
48071
+ { },
48072
+ null,
48073
+ ['PureCloud OAuth'],
48074
+ ['application/json'],
48075
+ ['application/json']
48076
+ );
48077
+ }
48078
+
48079
+ /**
48080
+ * Deletes a time off plan
48081
+ *
48082
+ * @param {String} managementUnitId The management unit ID.
48083
+ * @param {String} timeOffPlanId The ID of the time off plan to delete
48084
+ */
48085
+ deleteWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId) {
48086
+ // verify the required parameter 'managementUnitId' is set
48087
+ if (managementUnitId === undefined || managementUnitId === null) {
48088
+ throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitTimeoffplan';
48089
+ }
48090
+ // verify the required parameter 'timeOffPlanId' is set
48091
+ if (timeOffPlanId === undefined || timeOffPlanId === null) {
48092
+ throw 'Missing the required parameter "timeOffPlanId" when calling deleteWorkforcemanagementManagementunitTimeoffplan';
48093
+ }
48094
+
48095
+ return this.apiClient.callApi(
48096
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}',
48097
+ 'DELETE',
48098
+ { 'managementUnitId': managementUnitId,'timeOffPlanId': timeOffPlanId },
48099
+ { },
48100
+ { },
48101
+ { },
48102
+ null,
48103
+ ['PureCloud OAuth'],
48104
+ ['application/json'],
48105
+ ['application/json']
48106
+ );
48107
+ }
48108
+
47882
48109
  /**
47883
48110
  * Delete a work plan
47884
48111
  *
@@ -49120,6 +49347,116 @@ class WorkforceManagementApi {
49120
49347
  );
49121
49348
  }
49122
49349
 
49350
+ /**
49351
+ * Gets a time off limit object
49352
+ * Returns properties of time off limit object, but not daily values.
49353
+ * @param {String} managementUnitId The management unit ID of the management unit.
49354
+ * @param {String} timeOffLimitId The ID of the time off limit to fetch
49355
+ */
49356
+ getWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId) {
49357
+ // verify the required parameter 'managementUnitId' is set
49358
+ if (managementUnitId === undefined || managementUnitId === null) {
49359
+ throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeofflimit';
49360
+ }
49361
+ // verify the required parameter 'timeOffLimitId' is set
49362
+ if (timeOffLimitId === undefined || timeOffLimitId === null) {
49363
+ throw 'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementManagementunitTimeofflimit';
49364
+ }
49365
+
49366
+ return this.apiClient.callApi(
49367
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}',
49368
+ 'GET',
49369
+ { 'managementUnitId': managementUnitId,'timeOffLimitId': timeOffLimitId },
49370
+ { },
49371
+ { },
49372
+ { },
49373
+ null,
49374
+ ['PureCloud OAuth'],
49375
+ ['application/json'],
49376
+ ['application/json']
49377
+ );
49378
+ }
49379
+
49380
+ /**
49381
+ * Gets a list of time off limit objects under management unit.
49382
+ * Currently only one time off limit object is allowed under management unit, so the list contains either 0 or 1 element.
49383
+ * @param {String} managementUnitId The management unit ID of the management unit.
49384
+ */
49385
+ getWorkforcemanagementManagementunitTimeofflimits(managementUnitId) {
49386
+ // verify the required parameter 'managementUnitId' is set
49387
+ if (managementUnitId === undefined || managementUnitId === null) {
49388
+ throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeofflimits';
49389
+ }
49390
+
49391
+ return this.apiClient.callApi(
49392
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits',
49393
+ 'GET',
49394
+ { 'managementUnitId': managementUnitId },
49395
+ { },
49396
+ { },
49397
+ { },
49398
+ null,
49399
+ ['PureCloud OAuth'],
49400
+ ['application/json'],
49401
+ ['application/json']
49402
+ );
49403
+ }
49404
+
49405
+ /**
49406
+ * Gets a time off plan
49407
+ *
49408
+ * @param {String} managementUnitId The management unit ID.
49409
+ * @param {String} timeOffPlanId The ID of the time off plan to fetch
49410
+ */
49411
+ getWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId) {
49412
+ // verify the required parameter 'managementUnitId' is set
49413
+ if (managementUnitId === undefined || managementUnitId === null) {
49414
+ throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeoffplan';
49415
+ }
49416
+ // verify the required parameter 'timeOffPlanId' is set
49417
+ if (timeOffPlanId === undefined || timeOffPlanId === null) {
49418
+ throw 'Missing the required parameter "timeOffPlanId" when calling getWorkforcemanagementManagementunitTimeoffplan';
49419
+ }
49420
+
49421
+ return this.apiClient.callApi(
49422
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}',
49423
+ 'GET',
49424
+ { 'managementUnitId': managementUnitId,'timeOffPlanId': timeOffPlanId },
49425
+ { },
49426
+ { },
49427
+ { },
49428
+ null,
49429
+ ['PureCloud OAuth'],
49430
+ ['application/json'],
49431
+ ['application/json']
49432
+ );
49433
+ }
49434
+
49435
+ /**
49436
+ * Gets a list of time off plans
49437
+ *
49438
+ * @param {String} managementUnitId The management unit ID.
49439
+ */
49440
+ getWorkforcemanagementManagementunitTimeoffplans(managementUnitId) {
49441
+ // verify the required parameter 'managementUnitId' is set
49442
+ if (managementUnitId === undefined || managementUnitId === null) {
49443
+ throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeoffplans';
49444
+ }
49445
+
49446
+ return this.apiClient.callApi(
49447
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans',
49448
+ 'GET',
49449
+ { 'managementUnitId': managementUnitId },
49450
+ { },
49451
+ { },
49452
+ { },
49453
+ null,
49454
+ ['PureCloud OAuth'],
49455
+ ['application/json'],
49456
+ ['application/json']
49457
+ );
49458
+ }
49459
+
49123
49460
  /**
49124
49461
  * Get a time off request
49125
49462
  *
@@ -49155,6 +49492,41 @@ class WorkforceManagementApi {
49155
49492
  );
49156
49493
  }
49157
49494
 
49495
+ /**
49496
+ * Retrieves time off limit, allocated and waitlisted values according to specific time off request
49497
+ *
49498
+ * @param {String} managementUnitId The management unit ID of the management unit.
49499
+ * @param {String} userId The userId to whom the time off request applies.
49500
+ * @param {String} timeOffRequestId The ID of the time off request, which dates and activityCodeId determine limit values to retrieve
49501
+ */
49502
+ getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits(managementUnitId, userId, timeOffRequestId) {
49503
+ // verify the required parameter 'managementUnitId' is set
49504
+ if (managementUnitId === undefined || managementUnitId === null) {
49505
+ throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';
49506
+ }
49507
+ // verify the required parameter 'userId' is set
49508
+ if (userId === undefined || userId === null) {
49509
+ throw 'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';
49510
+ }
49511
+ // verify the required parameter 'timeOffRequestId' is set
49512
+ if (timeOffRequestId === undefined || timeOffRequestId === null) {
49513
+ throw 'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';
49514
+ }
49515
+
49516
+ return this.apiClient.callApi(
49517
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}/timeofflimits',
49518
+ 'GET',
49519
+ { 'managementUnitId': managementUnitId,'userId': userId,'timeOffRequestId': timeOffRequestId },
49520
+ { },
49521
+ { },
49522
+ { },
49523
+ null,
49524
+ ['PureCloud OAuth'],
49525
+ ['application/json'],
49526
+ ['application/json']
49527
+ );
49528
+ }
49529
+
49158
49530
  /**
49159
49531
  * Get a list of time off requests for a given user
49160
49532
  *
@@ -49588,6 +49960,31 @@ class WorkforceManagementApi {
49588
49960
  );
49589
49961
  }
49590
49962
 
49963
+ /**
49964
+ * Get the daily waitlist positions of a time off request for the current user
49965
+ *
49966
+ * @param {String} timeOffRequestId Time Off Request Id
49967
+ */
49968
+ getWorkforcemanagementTimeoffrequestWaitlistpositions(timeOffRequestId) {
49969
+ // verify the required parameter 'timeOffRequestId' is set
49970
+ if (timeOffRequestId === undefined || timeOffRequestId === null) {
49971
+ throw 'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequestWaitlistpositions';
49972
+ }
49973
+
49974
+ return this.apiClient.callApi(
49975
+ '/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}/waitlistpositions',
49976
+ 'GET',
49977
+ { 'timeOffRequestId': timeOffRequestId },
49978
+ { },
49979
+ { },
49980
+ { },
49981
+ null,
49982
+ ['PureCloud OAuth'],
49983
+ ['application/json'],
49984
+ ['application/json']
49985
+ );
49986
+ }
49987
+
49591
49988
  /**
49592
49989
  * Get a list of time off requests for the current user
49593
49990
  *
@@ -49806,6 +50203,74 @@ class WorkforceManagementApi {
49806
50203
  );
49807
50204
  }
49808
50205
 
50206
+ /**
50207
+ * Updates a time off limit object.
50208
+ * Updates time off limit object properties, but not daily values.
50209
+ * @param {String} managementUnitId The management unit ID of the management unit.
50210
+ * @param {String} timeOffLimitId The id of time off limit object to update
50211
+ * @param {Object} opts Optional parameters
50212
+ * @param {Object} opts.body body
50213
+ */
50214
+ patchWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId, opts) {
50215
+ opts = opts || {};
50216
+
50217
+ // verify the required parameter 'managementUnitId' is set
50218
+ if (managementUnitId === undefined || managementUnitId === null) {
50219
+ throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
50220
+ }
50221
+ // verify the required parameter 'timeOffLimitId' is set
50222
+ if (timeOffLimitId === undefined || timeOffLimitId === null) {
50223
+ throw 'Missing the required parameter "timeOffLimitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
50224
+ }
50225
+
50226
+ return this.apiClient.callApi(
50227
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}',
50228
+ 'PATCH',
50229
+ { 'managementUnitId': managementUnitId,'timeOffLimitId': timeOffLimitId },
50230
+ { },
50231
+ { },
50232
+ { },
50233
+ opts['body'],
50234
+ ['PureCloud OAuth'],
50235
+ ['application/json'],
50236
+ ['application/json']
50237
+ );
50238
+ }
50239
+
50240
+ /**
50241
+ * Updates a time off plan
50242
+ *
50243
+ * @param {String} managementUnitId The management unit ID.
50244
+ * @param {String} timeOffPlanId The ID of the time off plan to update
50245
+ * @param {Object} opts Optional parameters
50246
+ * @param {Object} opts.body body
50247
+ */
50248
+ patchWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId, opts) {
50249
+ opts = opts || {};
50250
+
50251
+ // verify the required parameter 'managementUnitId' is set
50252
+ if (managementUnitId === undefined || managementUnitId === null) {
50253
+ throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
50254
+ }
50255
+ // verify the required parameter 'timeOffPlanId' is set
50256
+ if (timeOffPlanId === undefined || timeOffPlanId === null) {
50257
+ throw 'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
50258
+ }
50259
+
50260
+ return this.apiClient.callApi(
50261
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}',
50262
+ 'PATCH',
50263
+ { 'managementUnitId': managementUnitId,'timeOffPlanId': timeOffPlanId },
50264
+ { },
50265
+ { },
50266
+ { },
50267
+ opts['body'],
50268
+ ['PureCloud OAuth'],
50269
+ ['application/json'],
50270
+ ['application/json']
50271
+ );
50272
+ }
50273
+
49809
50274
  /**
49810
50275
  * Update a time off request
49811
50276
  *
@@ -50667,6 +51132,93 @@ class WorkforceManagementApi {
50667
51132
  );
50668
51133
  }
50669
51134
 
51135
+ /**
51136
+ * Creates a new time off limit object under management unit.
51137
+ * Only one limit object is allowed under management unit, so an attempt to create second object will fail.
51138
+ * @param {String} managementUnitId The management unit ID of the management unit.
51139
+ * @param {Object} opts Optional parameters
51140
+ * @param {Object} opts.body body
51141
+ */
51142
+ postWorkforcemanagementManagementunitTimeofflimits(managementUnitId, opts) {
51143
+ opts = opts || {};
51144
+
51145
+ // verify the required parameter 'managementUnitId' is set
51146
+ if (managementUnitId === undefined || managementUnitId === null) {
51147
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimits';
51148
+ }
51149
+
51150
+ return this.apiClient.callApi(
51151
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits',
51152
+ 'POST',
51153
+ { 'managementUnitId': managementUnitId },
51154
+ { },
51155
+ { },
51156
+ { },
51157
+ opts['body'],
51158
+ ['PureCloud OAuth'],
51159
+ ['application/json'],
51160
+ ['application/json']
51161
+ );
51162
+ }
51163
+
51164
+ /**
51165
+ * Retrieves time off limit related values based on a given set of filters.
51166
+ *
51167
+ * @param {String} managementUnitId The management unit ID of the management unit.
51168
+ * @param {Object} opts Optional parameters
51169
+ * @param {Object} opts.body body
51170
+ */
51171
+ postWorkforcemanagementManagementunitTimeofflimitsValuesQuery(managementUnitId, opts) {
51172
+ opts = opts || {};
51173
+
51174
+ // verify the required parameter 'managementUnitId' is set
51175
+ if (managementUnitId === undefined || managementUnitId === null) {
51176
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';
51177
+ }
51178
+
51179
+ return this.apiClient.callApi(
51180
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/values/query',
51181
+ 'POST',
51182
+ { 'managementUnitId': managementUnitId },
51183
+ { },
51184
+ { },
51185
+ { },
51186
+ opts['body'],
51187
+ ['PureCloud OAuth'],
51188
+ ['application/json'],
51189
+ ['application/json']
51190
+ );
51191
+ }
51192
+
51193
+ /**
51194
+ * Creates a new time off plan
51195
+ *
51196
+ * @param {String} managementUnitId The management unit ID.
51197
+ * @param {Object} opts Optional parameters
51198
+ * @param {Object} opts.body body
51199
+ */
51200
+ postWorkforcemanagementManagementunitTimeoffplans(managementUnitId, opts) {
51201
+ opts = opts || {};
51202
+
51203
+ // verify the required parameter 'managementUnitId' is set
51204
+ if (managementUnitId === undefined || managementUnitId === null) {
51205
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffplans';
51206
+ }
51207
+
51208
+ return this.apiClient.callApi(
51209
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans',
51210
+ 'POST',
51211
+ { 'managementUnitId': managementUnitId },
51212
+ { },
51213
+ { },
51214
+ { },
51215
+ opts['body'],
51216
+ ['PureCloud OAuth'],
51217
+ ['application/json'],
51218
+ ['application/json']
51219
+ );
51220
+ }
51221
+
50670
51222
  /**
50671
51223
  * Create a new time off request
50672
51224
  *
@@ -50725,6 +51277,35 @@ class WorkforceManagementApi {
50725
51277
  );
50726
51278
  }
50727
51279
 
51280
+ /**
51281
+ * Retrieves daily waitlist position for a list of time off requests
51282
+ *
51283
+ * @param {String} managementUnitId The management unit ID of the management unit.
51284
+ * @param {Object} opts Optional parameters
51285
+ * @param {Object} opts.body body
51286
+ */
51287
+ postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(managementUnitId, opts) {
51288
+ opts = opts || {};
51289
+
51290
+ // verify the required parameter 'managementUnitId' is set
51291
+ if (managementUnitId === undefined || managementUnitId === null) {
51292
+ throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';
51293
+ }
51294
+
51295
+ return this.apiClient.callApi(
51296
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/waitlistpositions/query',
51297
+ 'POST',
51298
+ { 'managementUnitId': managementUnitId },
51299
+ { },
51300
+ { },
51301
+ { },
51302
+ opts['body'],
51303
+ ['PureCloud OAuth'],
51304
+ ['application/json'],
51305
+ ['application/json']
51306
+ );
51307
+ }
51308
+
50728
51309
  /**
50729
51310
  * Matches a shift trade. This route can only be called by the receiving agent
50730
51311
  *
@@ -51108,6 +51689,30 @@ class WorkforceManagementApi {
51108
51689
  );
51109
51690
  }
51110
51691
 
51692
+ /**
51693
+ * Queries available time off for the current user
51694
+ *
51695
+ * @param {Object} opts Optional parameters
51696
+ * @param {Object} opts.body body
51697
+ */
51698
+ postWorkforcemanagementTimeofflimitsAvailableQuery(opts) {
51699
+ opts = opts || {};
51700
+
51701
+
51702
+ return this.apiClient.callApi(
51703
+ '/api/v2/workforcemanagement/timeofflimits/available/query',
51704
+ 'POST',
51705
+ { },
51706
+ { },
51707
+ { },
51708
+ { },
51709
+ opts['body'],
51710
+ ['PureCloud OAuth'],
51711
+ ['application/json'],
51712
+ ['application/json']
51713
+ );
51714
+ }
51715
+
51111
51716
  /**
51112
51717
  * Create a time off request for the current user
51113
51718
  *
@@ -51132,6 +51737,40 @@ class WorkforceManagementApi {
51132
51737
  );
51133
51738
  }
51134
51739
 
51740
+ /**
51741
+ * Sets daily values for a date range of time off limit object
51742
+ * Note that only limit daily values can be set through API, allocated and waitlisted values are read-only for time off limit API
51743
+ * @param {String} managementUnitId The management unit ID of the management unit.
51744
+ * @param {String} timeOffLimitId The ID of the time off limit object to set values for
51745
+ * @param {Object} opts Optional parameters
51746
+ * @param {Object} opts.body body
51747
+ */
51748
+ putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId, timeOffLimitId, opts) {
51749
+ opts = opts || {};
51750
+
51751
+ // verify the required parameter 'managementUnitId' is set
51752
+ if (managementUnitId === undefined || managementUnitId === null) {
51753
+ throw 'Missing the required parameter "managementUnitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
51754
+ }
51755
+ // verify the required parameter 'timeOffLimitId' is set
51756
+ if (timeOffLimitId === undefined || timeOffLimitId === null) {
51757
+ throw 'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
51758
+ }
51759
+
51760
+ return this.apiClient.callApi(
51761
+ '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}/values',
51762
+ 'PUT',
51763
+ { 'managementUnitId': managementUnitId,'timeOffLimitId': timeOffLimitId },
51764
+ { },
51765
+ { },
51766
+ { },
51767
+ opts['body'],
51768
+ ['PureCloud OAuth'],
51769
+ ['application/json'],
51770
+ ['application/json']
51771
+ );
51772
+ }
51773
+
51135
51774
  }
51136
51775
 
51137
51776
  /**
@@ -51163,7 +51802,7 @@ class WorkforceManagementApi {
51163
51802
  * </pre>
51164
51803
  * </p>
51165
51804
  * @module purecloud-platform-client-v2/index
51166
- * @version 125.0.0
51805
+ * @version 128.0.0
51167
51806
  */
51168
51807
  class platformClient {
51169
51808
  constructor() {