purecloud-platform-client-v2 133.0.0 → 134.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +532 -95
  3. package/dist/web-amd/purecloud-platform-client-v2.js +532 -95
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +532 -95
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +544 -99
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +662 -11
  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 +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 +76 -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 -1
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  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/MessagingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +14 -6
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +160 -1
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -26
  63. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +221 -1
  73. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -393,7 +393,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
393
393
 
394
394
  /**
395
395
  * @module purecloud-platform-client-v2/ApiClient
396
- * @version 133.0.0
396
+ * @version 134.0.0
397
397
  */
398
398
  class ApiClient {
399
399
  /**
@@ -1340,7 +1340,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1340
1340
 
1341
1341
  // set header parameters
1342
1342
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
1343
- //request.set({ 'purecloud-sdk': '133.0.0' });
1343
+ //request.set({ 'purecloud-sdk': '134.0.0' });
1344
1344
 
1345
1345
  // set request timeout
1346
1346
  request.timeout(that.timeout);
@@ -1440,7 +1440,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1440
1440
  /**
1441
1441
  * Alerting service.
1442
1442
  * @module purecloud-platform-client-v2/api/AlertingApi
1443
- * @version 133.0.0
1443
+ * @version 134.0.0
1444
1444
  */
1445
1445
 
1446
1446
  /**
@@ -1754,7 +1754,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1754
1754
  /**
1755
1755
  * Analytics service.
1756
1756
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1757
- * @version 133.0.0
1757
+ * @version 134.0.0
1758
1758
  */
1759
1759
 
1760
1760
  /**
@@ -2936,7 +2936,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2936
2936
  /**
2937
2937
  * Architect service.
2938
2938
  * @module purecloud-platform-client-v2/api/ArchitectApi
2939
- * @version 133.0.0
2939
+ * @version 134.0.0
2940
2940
  */
2941
2941
 
2942
2942
  /**
@@ -5932,7 +5932,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
5932
5932
  /**
5933
5933
  * Audit service.
5934
5934
  * @module purecloud-platform-client-v2/api/AuditApi
5935
- * @version 133.0.0
5935
+ * @version 134.0.0
5936
5936
  */
5937
5937
 
5938
5938
  /**
@@ -6103,7 +6103,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6103
6103
  /**
6104
6104
  * Authorization service.
6105
6105
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6106
- * @version 133.0.0
6106
+ * @version 134.0.0
6107
6107
  */
6108
6108
 
6109
6109
  /**
@@ -7286,7 +7286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7286
7286
  /**
7287
7287
  * Billing service.
7288
7288
  * @module purecloud-platform-client-v2/api/BillingApi
7289
- * @version 133.0.0
7289
+ * @version 134.0.0
7290
7290
  */
7291
7291
 
7292
7292
  /**
@@ -7366,7 +7366,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7366
7366
  /**
7367
7367
  * Chat service.
7368
7368
  * @module purecloud-platform-client-v2/api/ChatApi
7369
- * @version 133.0.0
7369
+ * @version 134.0.0
7370
7370
  */
7371
7371
 
7372
7372
  /**
@@ -7457,7 +7457,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7457
7457
  /**
7458
7458
  * Coaching service.
7459
7459
  * @module purecloud-platform-client-v2/api/CoachingApi
7460
- * @version 133.0.0
7460
+ * @version 134.0.0
7461
7461
  */
7462
7462
 
7463
7463
  /**
@@ -8034,7 +8034,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8034
8034
  /**
8035
8035
  * ContentManagement service.
8036
8036
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8037
- * @version 133.0.0
8037
+ * @version 134.0.0
8038
8038
  */
8039
8039
 
8040
8040
  /**
@@ -9174,7 +9174,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9174
9174
  /**
9175
9175
  * Conversations service.
9176
9176
  * @module purecloud-platform-client-v2/api/ConversationsApi
9177
- * @version 133.0.0
9177
+ * @version 134.0.0
9178
9178
  */
9179
9179
 
9180
9180
  /**
@@ -11581,6 +11581,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11581
11581
  );
11582
11582
  }
11583
11583
 
11584
+ /**
11585
+ * Update a scheduled callback
11586
+ *
11587
+ * @param {Object} body PatchCallbackRequest
11588
+ */
11589
+ patchConversationsCallbacks(body) {
11590
+ // verify the required parameter 'body' is set
11591
+ if (body === undefined || body === null) {
11592
+ throw 'Missing the required parameter "body" when calling patchConversationsCallbacks';
11593
+ }
11594
+
11595
+ return this.apiClient.callApi(
11596
+ '/api/v2/conversations/callbacks',
11597
+ 'PATCH',
11598
+ { },
11599
+ { },
11600
+ { },
11601
+ { },
11602
+ body,
11603
+ ['PureCloud OAuth'],
11604
+ ['application/json'],
11605
+ ['application/json']
11606
+ );
11607
+ }
11608
+
11584
11609
  /**
11585
11610
  * Update a conversation by disconnecting all of the participants
11586
11611
  *
@@ -12834,6 +12859,56 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12834
12859
  );
12835
12860
  }
12836
12861
 
12862
+ /**
12863
+ * Disconnect multiple scheduled callbacks
12864
+ *
12865
+ * @param {Object} body BulkCallbackDisconnectRequest
12866
+ */
12867
+ postConversationsCallbacksBulkDisconnect(body) {
12868
+ // verify the required parameter 'body' is set
12869
+ if (body === undefined || body === null) {
12870
+ throw 'Missing the required parameter "body" when calling postConversationsCallbacksBulkDisconnect';
12871
+ }
12872
+
12873
+ return this.apiClient.callApi(
12874
+ '/api/v2/conversations/callbacks/bulk/disconnect',
12875
+ 'POST',
12876
+ { },
12877
+ { },
12878
+ { },
12879
+ { },
12880
+ body,
12881
+ ['PureCloud OAuth'],
12882
+ ['application/json'],
12883
+ ['application/json']
12884
+ );
12885
+ }
12886
+
12887
+ /**
12888
+ * Update multiple scheduled callbacks
12889
+ *
12890
+ * @param {Object} body BulkCallbackPatchRequest
12891
+ */
12892
+ postConversationsCallbacksBulkUpdate(body) {
12893
+ // verify the required parameter 'body' is set
12894
+ if (body === undefined || body === null) {
12895
+ throw 'Missing the required parameter "body" when calling postConversationsCallbacksBulkUpdate';
12896
+ }
12897
+
12898
+ return this.apiClient.callApi(
12899
+ '/api/v2/conversations/callbacks/bulk/update',
12900
+ 'POST',
12901
+ { },
12902
+ { },
12903
+ { },
12904
+ { },
12905
+ body,
12906
+ ['PureCloud OAuth'],
12907
+ ['application/json'],
12908
+ ['application/json']
12909
+ );
12910
+ }
12911
+
12837
12912
  /**
12838
12913
  * Create a call conversation
12839
12914
  *
@@ -13763,7 +13838,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13763
13838
  /**
13764
13839
  * DataExtensions service.
13765
13840
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
13766
- * @version 133.0.0
13841
+ * @version 134.0.0
13767
13842
  */
13768
13843
 
13769
13844
  /**
@@ -13849,7 +13924,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13849
13924
  /**
13850
13925
  * ExternalContacts service.
13851
13926
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
13852
- * @version 133.0.0
13927
+ * @version 134.0.0
13853
13928
  */
13854
13929
 
13855
13930
  /**
@@ -15592,7 +15667,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15592
15667
  /**
15593
15668
  * Fax service.
15594
15669
  * @module purecloud-platform-client-v2/api/FaxApi
15595
- * @version 133.0.0
15670
+ * @version 134.0.0
15596
15671
  */
15597
15672
 
15598
15673
  /**
@@ -15763,7 +15838,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15763
15838
  /**
15764
15839
  * Flows service.
15765
15840
  * @module purecloud-platform-client-v2/api/FlowsApi
15766
- * @version 133.0.0
15841
+ * @version 134.0.0
15767
15842
  */
15768
15843
 
15769
15844
  /**
@@ -15834,7 +15909,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15834
15909
  /**
15835
15910
  * Gamification service.
15836
15911
  * @module purecloud-platform-client-v2/api/GamificationApi
15837
- * @version 133.0.0
15912
+ * @version 134.0.0
15838
15913
  */
15839
15914
 
15840
15915
  /**
@@ -17264,7 +17339,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17264
17339
  /**
17265
17340
  * GeneralDataProtectionRegulation service.
17266
17341
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
17267
- * @version 133.0.0
17342
+ * @version 134.0.0
17268
17343
  */
17269
17344
 
17270
17345
  /**
@@ -17394,7 +17469,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17394
17469
  /**
17395
17470
  * Geolocation service.
17396
17471
  * @module purecloud-platform-client-v2/api/GeolocationApi
17397
- * @version 133.0.0
17472
+ * @version 134.0.0
17398
17473
  */
17399
17474
 
17400
17475
  /**
@@ -17525,7 +17600,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17525
17600
  /**
17526
17601
  * Greetings service.
17527
17602
  * @module purecloud-platform-client-v2/api/GreetingsApi
17528
- * @version 133.0.0
17603
+ * @version 134.0.0
17529
17604
  */
17530
17605
 
17531
17606
  /**
@@ -17980,7 +18055,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17980
18055
  /**
17981
18056
  * Groups service.
17982
18057
  * @module purecloud-platform-client-v2/api/GroupsApi
17983
- * @version 133.0.0
18058
+ * @version 134.0.0
17984
18059
  */
17985
18060
 
17986
18061
  /**
@@ -18385,7 +18460,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18385
18460
  /**
18386
18461
  * IdentityProvider service.
18387
18462
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18388
- * @version 133.0.0
18463
+ * @version 134.0.0
18389
18464
  */
18390
18465
 
18391
18466
  /**
@@ -19141,7 +19216,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19141
19216
  /**
19142
19217
  * Integrations service.
19143
19218
  * @module purecloud-platform-client-v2/api/IntegrationsApi
19144
- * @version 133.0.0
19219
+ * @version 134.0.0
19145
19220
  */
19146
19221
 
19147
19222
  /**
@@ -20816,7 +20891,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20816
20891
  /**
20817
20892
  * Journey service.
20818
20893
  * @module purecloud-platform-client-v2/api/JourneyApi
20819
- * @version 133.0.0
20894
+ * @version 134.0.0
20820
20895
  */
20821
20896
 
20822
20897
  /**
@@ -21527,7 +21602,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21527
21602
  /**
21528
21603
  * Knowledge service.
21529
21604
  * @module purecloud-platform-client-v2/api/KnowledgeApi
21530
- * @version 133.0.0
21605
+ * @version 134.0.0
21531
21606
  */
21532
21607
 
21533
21608
  /**
@@ -22427,7 +22502,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22427
22502
  /**
22428
22503
  * LanguageUnderstanding service.
22429
22504
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
22430
- * @version 133.0.0
22505
+ * @version 134.0.0
22431
22506
  */
22432
22507
 
22433
22508
  /**
@@ -23331,7 +23406,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23331
23406
  /**
23332
23407
  * Languages service.
23333
23408
  * @module purecloud-platform-client-v2/api/LanguagesApi
23334
- * @version 133.0.0
23409
+ * @version 134.0.0
23335
23410
  */
23336
23411
 
23337
23412
  /**
@@ -23599,7 +23674,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23599
23674
  /**
23600
23675
  * Learning service.
23601
23676
  * @module purecloud-platform-client-v2/api/LearningApi
23602
- * @version 133.0.0
23677
+ * @version 134.0.0
23603
23678
  */
23604
23679
 
23605
23680
  /**
@@ -24190,7 +24265,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24190
24265
  /**
24191
24266
  * License service.
24192
24267
  * @module purecloud-platform-client-v2/api/LicenseApi
24193
- * @version 133.0.0
24268
+ * @version 134.0.0
24194
24269
  */
24195
24270
 
24196
24271
  /**
@@ -24428,7 +24503,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24428
24503
  /**
24429
24504
  * Locations service.
24430
24505
  * @module purecloud-platform-client-v2/api/LocationsApi
24431
- * @version 133.0.0
24506
+ * @version 134.0.0
24432
24507
  */
24433
24508
 
24434
24509
  /**
@@ -24664,7 +24739,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24664
24739
  /**
24665
24740
  * Messaging service.
24666
24741
  * @module purecloud-platform-client-v2/api/MessagingApi
24667
- * @version 133.0.0
24742
+ * @version 134.0.0
24668
24743
  */
24669
24744
 
24670
24745
  /**
@@ -24815,7 +24890,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24815
24890
  /**
24816
24891
  * MobileDevices service.
24817
24892
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
24818
- * @version 133.0.0
24893
+ * @version 134.0.0
24819
24894
  */
24820
24895
 
24821
24896
  /**
@@ -24966,7 +25041,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24966
25041
  /**
24967
25042
  * Notifications service.
24968
25043
  * @module purecloud-platform-client-v2/api/NotificationsApi
24969
- * @version 133.0.0
25044
+ * @version 134.0.0
24970
25045
  */
24971
25046
 
24972
25047
  /**
@@ -25191,7 +25266,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25191
25266
  /**
25192
25267
  * OAuth service.
25193
25268
  * @module purecloud-platform-client-v2/api/OAuthApi
25194
- * @version 133.0.0
25269
+ * @version 134.0.0
25195
25270
  */
25196
25271
 
25197
25272
  /**
@@ -25235,8 +25310,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25235
25310
  * Get a client that is authorized by the resource owner
25236
25311
  *
25237
25312
  * @param {String} clientId The ID of client
25313
+ * @param {Object} opts Optional parameters
25314
+ * @param {String} opts.acceptLanguage The language in which to display the client descriptions. (default to en-us)
25238
25315
  */
25239
- getOauthAuthorization(clientId) {
25316
+ getOauthAuthorization(clientId, opts) {
25317
+ opts = opts || {};
25318
+
25240
25319
  // verify the required parameter 'clientId' is set
25241
25320
  if (clientId === undefined || clientId === null) {
25242
25321
  throw 'Missing the required parameter "clientId" when calling getOauthAuthorization';
@@ -25247,7 +25326,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25247
25326
  'GET',
25248
25327
  { 'clientId': clientId },
25249
25328
  { },
25250
- { },
25329
+ { 'Accept-Language': opts['acceptLanguage'] },
25251
25330
  { },
25252
25331
  null,
25253
25332
  ['PureCloud OAuth'],
@@ -25257,17 +25336,21 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25257
25336
  }
25258
25337
 
25259
25338
  /**
25260
- * List clients that are authorized by the resource owner
25339
+ * List clients that have been authorized, requested, or revoked by the resource owner
25261
25340
  *
25341
+ * @param {Object} opts Optional parameters
25342
+ * @param {String} opts.acceptLanguage The language in which to display the client descriptions. (default to en-us)
25262
25343
  */
25263
- getOauthAuthorizations() {
25344
+ getOauthAuthorizations(opts) {
25345
+ opts = opts || {};
25346
+
25264
25347
 
25265
25348
  return this.apiClient.callApi(
25266
25349
  '/api/v2/oauth/authorizations',
25267
25350
  'GET',
25268
25351
  { },
25269
25352
  { },
25270
- { },
25353
+ { 'Accept-Language': opts['acceptLanguage'] },
25271
25354
  { },
25272
25355
  null,
25273
25356
  ['PureCloud OAuth'],
@@ -25549,7 +25632,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25549
25632
  /**
25550
25633
  * Objects service.
25551
25634
  * @module purecloud-platform-client-v2/api/ObjectsApi
25552
- * @version 133.0.0
25635
+ * @version 134.0.0
25553
25636
  */
25554
25637
 
25555
25638
  /**
@@ -25820,7 +25903,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25820
25903
  /**
25821
25904
  * Organization service.
25822
25905
  * @module purecloud-platform-client-v2/api/OrganizationApi
25823
- * @version 133.0.0
25906
+ * @version 134.0.0
25824
25907
  */
25825
25908
 
25826
25909
  /**
@@ -26223,7 +26306,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26223
26306
  /**
26224
26307
  * OrganizationAuthorization service.
26225
26308
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
26226
- * @version 133.0.0
26309
+ * @version 134.0.0
26227
26310
  */
26228
26311
 
26229
26312
  /**
@@ -27148,7 +27231,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27148
27231
  /**
27149
27232
  * Outbound service.
27150
27233
  * @module purecloud-platform-client-v2/api/OutboundApi
27151
- * @version 133.0.0
27234
+ * @version 134.0.0
27152
27235
  */
27153
27236
 
27154
27237
  /**
@@ -30178,7 +30261,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30178
30261
  /**
30179
30262
  * Presence service.
30180
30263
  * @module purecloud-platform-client-v2/api/PresenceApi
30181
- * @version 133.0.0
30264
+ * @version 134.0.0
30182
30265
  */
30183
30266
 
30184
30267
  /**
@@ -30550,7 +30633,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30550
30633
  /**
30551
30634
  * Quality service.
30552
30635
  * @module purecloud-platform-client-v2/api/QualityApi
30553
- * @version 133.0.0
30636
+ * @version 134.0.0
30554
30637
  */
30555
30638
 
30556
30639
  /**
@@ -32128,7 +32211,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32128
32211
  /**
32129
32212
  * Recording service.
32130
32213
  * @module purecloud-platform-client-v2/api/RecordingApi
32131
- * @version 133.0.0
32214
+ * @version 134.0.0
32132
32215
  */
32133
32216
 
32134
32217
  /**
@@ -33654,7 +33737,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33654
33737
  /**
33655
33738
  * ResponseManagement service.
33656
33739
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
33657
- * @version 133.0.0
33740
+ * @version 134.0.0
33658
33741
  */
33659
33742
 
33660
33743
  /**
@@ -33719,6 +33802,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33719
33802
  );
33720
33803
  }
33721
33804
 
33805
+ /**
33806
+ * Delete response asset
33807
+ *
33808
+ * @param {String} responseAssetId Asset Id
33809
+ */
33810
+ deleteResponsemanagementResponseasset(responseAssetId) {
33811
+ // verify the required parameter 'responseAssetId' is set
33812
+ if (responseAssetId === undefined || responseAssetId === null) {
33813
+ throw 'Missing the required parameter "responseAssetId" when calling deleteResponsemanagementResponseasset';
33814
+ }
33815
+
33816
+ return this.apiClient.callApi(
33817
+ '/api/v2/responsemanagement/responseassets/{responseAssetId}',
33818
+ 'DELETE',
33819
+ { 'responseAssetId': responseAssetId },
33820
+ { },
33821
+ { },
33822
+ { },
33823
+ null,
33824
+ ['PureCloud OAuth'],
33825
+ ['application/json'],
33826
+ ['application/json']
33827
+ );
33828
+ }
33829
+
33722
33830
  /**
33723
33831
  * Gets a list of existing response libraries.
33724
33832
  *
@@ -33799,6 +33907,56 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33799
33907
  );
33800
33908
  }
33801
33909
 
33910
+ /**
33911
+ * Get response asset information
33912
+ *
33913
+ * @param {String} responseAssetId Asset Id
33914
+ */
33915
+ getResponsemanagementResponseasset(responseAssetId) {
33916
+ // verify the required parameter 'responseAssetId' is set
33917
+ if (responseAssetId === undefined || responseAssetId === null) {
33918
+ throw 'Missing the required parameter "responseAssetId" when calling getResponsemanagementResponseasset';
33919
+ }
33920
+
33921
+ return this.apiClient.callApi(
33922
+ '/api/v2/responsemanagement/responseassets/{responseAssetId}',
33923
+ 'GET',
33924
+ { 'responseAssetId': responseAssetId },
33925
+ { },
33926
+ { },
33927
+ { },
33928
+ null,
33929
+ ['PureCloud OAuth'],
33930
+ ['application/json'],
33931
+ ['application/json']
33932
+ );
33933
+ }
33934
+
33935
+ /**
33936
+ * Get response asset upload status
33937
+ *
33938
+ * @param {String} statusId Status Id
33939
+ */
33940
+ getResponsemanagementResponseassetsStatusStatusId(statusId) {
33941
+ // verify the required parameter 'statusId' is set
33942
+ if (statusId === undefined || statusId === null) {
33943
+ throw 'Missing the required parameter "statusId" when calling getResponsemanagementResponseassetsStatusStatusId';
33944
+ }
33945
+
33946
+ return this.apiClient.callApi(
33947
+ '/api/v2/responsemanagement/responseassets/status/{statusId}',
33948
+ 'GET',
33949
+ { 'statusId': statusId },
33950
+ { },
33951
+ { },
33952
+ { },
33953
+ null,
33954
+ ['PureCloud OAuth'],
33955
+ ['application/json'],
33956
+ ['application/json']
33957
+ );
33958
+ }
33959
+
33802
33960
  /**
33803
33961
  * Gets a list of existing responses.
33804
33962
  *
@@ -33855,6 +34013,60 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33855
34013
  );
33856
34014
  }
33857
34015
 
34016
+ /**
34017
+ * Search response assets
34018
+ *
34019
+ * @param {Object} body request
34020
+ * @param {Object} opts Optional parameters
34021
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
34022
+ */
34023
+ postResponsemanagementResponseassetsSearch(body, opts) {
34024
+ opts = opts || {};
34025
+
34026
+ // verify the required parameter 'body' is set
34027
+ if (body === undefined || body === null) {
34028
+ throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsSearch';
34029
+ }
34030
+
34031
+ return this.apiClient.callApi(
34032
+ '/api/v2/responsemanagement/responseassets/search',
34033
+ 'POST',
34034
+ { },
34035
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
34036
+ { },
34037
+ { },
34038
+ body,
34039
+ ['PureCloud OAuth'],
34040
+ ['application/json'],
34041
+ ['application/json']
34042
+ );
34043
+ }
34044
+
34045
+ /**
34046
+ * Creates pre-signed url for uploading response asset
34047
+ *
34048
+ * @param {Object} body request
34049
+ */
34050
+ postResponsemanagementResponseassetsUploads(body) {
34051
+ // verify the required parameter 'body' is set
34052
+ if (body === undefined || body === null) {
34053
+ throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsUploads';
34054
+ }
34055
+
34056
+ return this.apiClient.callApi(
34057
+ '/api/v2/responsemanagement/responseassets/uploads',
34058
+ 'POST',
34059
+ { },
34060
+ { },
34061
+ { },
34062
+ { },
34063
+ body,
34064
+ ['PureCloud OAuth'],
34065
+ ['application/json'],
34066
+ ['application/json']
34067
+ );
34068
+ }
34069
+
33858
34070
  /**
33859
34071
  * Create a response.
33860
34072
  *
@@ -33973,13 +34185,43 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33973
34185
  );
33974
34186
  }
33975
34187
 
34188
+ /**
34189
+ * Update response asset
34190
+ *
34191
+ * @param {String} responseAssetId Asset Id
34192
+ * @param {Object} body request
34193
+ */
34194
+ putResponsemanagementResponseasset(responseAssetId, body) {
34195
+ // verify the required parameter 'responseAssetId' is set
34196
+ if (responseAssetId === undefined || responseAssetId === null) {
34197
+ throw 'Missing the required parameter "responseAssetId" when calling putResponsemanagementResponseasset';
34198
+ }
34199
+ // verify the required parameter 'body' is set
34200
+ if (body === undefined || body === null) {
34201
+ throw 'Missing the required parameter "body" when calling putResponsemanagementResponseasset';
34202
+ }
34203
+
34204
+ return this.apiClient.callApi(
34205
+ '/api/v2/responsemanagement/responseassets/{responseAssetId}',
34206
+ 'PUT',
34207
+ { 'responseAssetId': responseAssetId },
34208
+ { },
34209
+ { },
34210
+ { },
34211
+ body,
34212
+ ['PureCloud OAuth'],
34213
+ ['application/json'],
34214
+ ['application/json']
34215
+ );
34216
+ }
34217
+
33976
34218
  }
33977
34219
 
33978
34220
  class RoutingApi {
33979
34221
  /**
33980
34222
  * Routing service.
33981
34223
  * @module purecloud-platform-client-v2/api/RoutingApi
33982
- * @version 133.0.0
34224
+ * @version 134.0.0
33983
34225
  */
33984
34226
 
33985
34227
  /**
@@ -36902,7 +37144,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36902
37144
  /**
36903
37145
  * SCIM service.
36904
37146
  * @module purecloud-platform-client-v2/api/SCIMApi
36905
- * @version 133.0.0
37147
+ * @version 134.0.0
36906
37148
  */
36907
37149
 
36908
37150
  /**
@@ -37779,7 +38021,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37779
38021
  /**
37780
38022
  * Scripts service.
37781
38023
  * @module purecloud-platform-client-v2/api/ScriptsApi
37782
- * @version 133.0.0
38024
+ * @version 134.0.0
37783
38025
  */
37784
38026
 
37785
38027
  /**
@@ -38132,7 +38374,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38132
38374
  /**
38133
38375
  * Search service.
38134
38376
  * @module purecloud-platform-client-v2/api/SearchApi
38135
- * @version 133.0.0
38377
+ * @version 134.0.0
38136
38378
  */
38137
38379
 
38138
38380
  /**
@@ -38667,7 +38909,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38667
38909
  /**
38668
38910
  * SpeechTextAnalytics service.
38669
38911
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
38670
- * @version 133.0.0
38912
+ * @version 134.0.0
38671
38913
  */
38672
38914
 
38673
38915
  /**
@@ -39520,7 +39762,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39520
39762
  /**
39521
39763
  * Stations service.
39522
39764
  * @module purecloud-platform-client-v2/api/StationsApi
39523
- * @version 133.0.0
39765
+ * @version 134.0.0
39524
39766
  */
39525
39767
 
39526
39768
  /**
@@ -39667,7 +39909,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39667
39909
  /**
39668
39910
  * Suggest service.
39669
39911
  * @module purecloud-platform-client-v2/api/SuggestApi
39670
- * @version 133.0.0
39912
+ * @version 134.0.0
39671
39913
  */
39672
39914
 
39673
39915
  /**
@@ -39806,7 +40048,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39806
40048
  /**
39807
40049
  * Telephony service.
39808
40050
  * @module purecloud-platform-client-v2/api/TelephonyApi
39809
- * @version 133.0.0
40051
+ * @version 134.0.0
39810
40052
  */
39811
40053
 
39812
40054
  /**
@@ -39914,7 +40156,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39914
40156
  /**
39915
40157
  * TelephonyProvidersEdge service.
39916
40158
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
39917
- * @version 133.0.0
40159
+ * @version 134.0.0
39918
40160
  */
39919
40161
 
39920
40162
  /**
@@ -43547,7 +43789,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43547
43789
  /**
43548
43790
  * Textbots service.
43549
43791
  * @module purecloud-platform-client-v2/api/TextbotsApi
43550
- * @version 133.0.0
43792
+ * @version 134.0.0
43551
43793
  */
43552
43794
 
43553
43795
  /**
@@ -43675,7 +43917,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43675
43917
  /**
43676
43918
  * Tokens service.
43677
43919
  * @module purecloud-platform-client-v2/api/TokensApi
43678
- * @version 133.0.0
43920
+ * @version 134.0.0
43679
43921
  */
43680
43922
 
43681
43923
  /**
@@ -43781,7 +44023,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43781
44023
  /**
43782
44024
  * Uploads service.
43783
44025
  * @module purecloud-platform-client-v2/api/UploadsApi
43784
- * @version 133.0.0
44026
+ * @version 134.0.0
43785
44027
  */
43786
44028
 
43787
44029
  /**
@@ -43926,38 +44168,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43926
44168
  );
43927
44169
  }
43928
44170
 
43929
- /**
43930
- * Creates presigned url for uploading WFM historical data file. Requires data in json format.
43931
- *
43932
- * @param {Object} body query
43933
- */
43934
- postUploadsWorkforcemanagementHistoricaldataJson(body) {
43935
- // verify the required parameter 'body' is set
43936
- if (body === undefined || body === null) {
43937
- throw 'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataJson';
43938
- }
43939
-
43940
- return this.apiClient.callApi(
43941
- '/api/v2/uploads/workforcemanagement/historicaldata/json',
43942
- 'POST',
43943
- { },
43944
- { },
43945
- { },
43946
- { },
43947
- body,
43948
- ['PureCloud OAuth'],
43949
- ['application/json'],
43950
- ['application/json']
43951
- );
43952
- }
43953
-
43954
44171
  }
43955
44172
 
43956
44173
  class UsageApi {
43957
44174
  /**
43958
44175
  * Usage service.
43959
44176
  * @module purecloud-platform-client-v2/api/UsageApi
43960
- * @version 133.0.0
44177
+ * @version 134.0.0
43961
44178
  */
43962
44179
 
43963
44180
  /**
@@ -44028,7 +44245,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44028
44245
  /**
44029
44246
  * UserRecordings service.
44030
44247
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
44031
- * @version 133.0.0
44248
+ * @version 134.0.0
44032
44249
  */
44033
44250
 
44034
44251
  /**
@@ -44212,7 +44429,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44212
44429
  /**
44213
44430
  * Users service.
44214
44431
  * @module purecloud-platform-client-v2/api/UsersApi
44215
- * @version 133.0.0
44432
+ * @version 134.0.0
44216
44433
  */
44217
44434
 
44218
44435
  /**
@@ -46514,7 +46731,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46514
46731
  /**
46515
46732
  * Utilities service.
46516
46733
  * @module purecloud-platform-client-v2/api/UtilitiesApi
46517
- * @version 133.0.0
46734
+ * @version 134.0.0
46518
46735
  */
46519
46736
 
46520
46737
  /**
@@ -46625,7 +46842,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46625
46842
  /**
46626
46843
  * Voicemail service.
46627
46844
  * @module purecloud-platform-client-v2/api/VoicemailApi
46628
- * @version 133.0.0
46845
+ * @version 134.0.0
46629
46846
  */
46630
46847
 
46631
46848
  /**
@@ -47292,7 +47509,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47292
47509
  /**
47293
47510
  * WebChat service.
47294
47511
  * @module purecloud-platform-client-v2/api/WebChatApi
47295
- * @version 133.0.0
47512
+ * @version 134.0.0
47296
47513
  */
47297
47514
 
47298
47515
  /**
@@ -47836,7 +48053,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47836
48053
  /**
47837
48054
  * WebDeployments service.
47838
48055
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
47839
- * @version 133.0.0
48056
+ * @version 134.0.0
47840
48057
  */
47841
48058
 
47842
48059
  /**
@@ -48191,7 +48408,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48191
48408
  /**
48192
48409
  * WebMessaging service.
48193
48410
  * @module purecloud-platform-client-v2/api/WebMessagingApi
48194
- * @version 133.0.0
48411
+ * @version 134.0.0
48195
48412
  */
48196
48413
 
48197
48414
  /**
@@ -48237,7 +48454,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48237
48454
  /**
48238
48455
  * Widgets service.
48239
48456
  * @module purecloud-platform-client-v2/api/WidgetsApi
48240
- * @version 133.0.0
48457
+ * @version 134.0.0
48241
48458
  */
48242
48459
 
48243
48460
  /**
@@ -48383,7 +48600,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48383
48600
  /**
48384
48601
  * WorkforceManagement service.
48385
48602
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
48386
- * @version 133.0.0
48603
+ * @version 134.0.0
48387
48604
  */
48388
48605
 
48389
48606
  /**
@@ -51381,6 +51598,86 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51381
51598
  );
51382
51599
  }
51383
51600
 
51601
+ /**
51602
+ * Starts processing a schedule update
51603
+ * Call after uploading the schedule data to the url supplied by the /update/uploadurl route
51604
+ * @param {String} businessUnitId The ID of the business unit
51605
+ * @param {String} weekId First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
51606
+ * @param {String} scheduleId The ID of the schedule
51607
+ * @param {Object} body body
51608
+ */
51609
+ postWorkforcemanagementBusinessunitWeekScheduleUpdate(businessUnitId, weekId, scheduleId, body) {
51610
+ // verify the required parameter 'businessUnitId' is set
51611
+ if (businessUnitId === undefined || businessUnitId === null) {
51612
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
51613
+ }
51614
+ // verify the required parameter 'weekId' is set
51615
+ if (weekId === undefined || weekId === null) {
51616
+ throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
51617
+ }
51618
+ // verify the required parameter 'scheduleId' is set
51619
+ if (scheduleId === undefined || scheduleId === null) {
51620
+ throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
51621
+ }
51622
+ // verify the required parameter 'body' is set
51623
+ if (body === undefined || body === null) {
51624
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
51625
+ }
51626
+
51627
+ return this.apiClient.callApi(
51628
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update',
51629
+ 'POST',
51630
+ { 'businessUnitId': businessUnitId,'weekId': weekId,'scheduleId': scheduleId },
51631
+ { },
51632
+ { },
51633
+ { },
51634
+ body,
51635
+ ['PureCloud OAuth'],
51636
+ ['application/json'],
51637
+ ['application/json']
51638
+ );
51639
+ }
51640
+
51641
+ /**
51642
+ * Creates a signed upload URL for updating a schedule
51643
+ * Once the upload is complete, call the /{scheduleId}/update route to start the schedule update process
51644
+ * @param {String} businessUnitId The ID of the business unit
51645
+ * @param {String} weekId First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
51646
+ * @param {String} scheduleId The ID of the schedule
51647
+ * @param {Object} body body
51648
+ */
51649
+ postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl(businessUnitId, weekId, scheduleId, body) {
51650
+ // verify the required parameter 'businessUnitId' is set
51651
+ if (businessUnitId === undefined || businessUnitId === null) {
51652
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
51653
+ }
51654
+ // verify the required parameter 'weekId' is set
51655
+ if (weekId === undefined || weekId === null) {
51656
+ throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
51657
+ }
51658
+ // verify the required parameter 'scheduleId' is set
51659
+ if (scheduleId === undefined || scheduleId === null) {
51660
+ throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
51661
+ }
51662
+ // verify the required parameter 'body' is set
51663
+ if (body === undefined || body === null) {
51664
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
51665
+ }
51666
+
51667
+ return this.apiClient.callApi(
51668
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update/uploadurl',
51669
+ 'POST',
51670
+ { 'businessUnitId': businessUnitId,'weekId': weekId,'scheduleId': scheduleId },
51671
+ { },
51672
+ { },
51673
+ { },
51674
+ body,
51675
+ ['PureCloud OAuth'],
51676
+ ['application/json'],
51677
+ ['application/json']
51678
+ );
51679
+ }
51680
+
51384
51681
  /**
51385
51682
  * Create a blank schedule
51386
51683
  *
@@ -51451,6 +51748,76 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51451
51748
  );
51452
51749
  }
51453
51750
 
51751
+ /**
51752
+ * Starts processing a schedule import
51753
+ * Call after uploading the schedule data to the url supplied by the /import/uploadurl route
51754
+ * @param {String} businessUnitId The ID of the business unit
51755
+ * @param {String} weekId First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
51756
+ * @param {Object} body
51757
+ */
51758
+ postWorkforcemanagementBusinessunitWeekSchedulesImport(businessUnitId, weekId, body) {
51759
+ // verify the required parameter 'businessUnitId' is set
51760
+ if (businessUnitId === undefined || businessUnitId === null) {
51761
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
51762
+ }
51763
+ // verify the required parameter 'weekId' is set
51764
+ if (weekId === undefined || weekId === null) {
51765
+ throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
51766
+ }
51767
+ // verify the required parameter 'body' is set
51768
+ if (body === undefined || body === null) {
51769
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
51770
+ }
51771
+
51772
+ return this.apiClient.callApi(
51773
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import',
51774
+ 'POST',
51775
+ { 'businessUnitId': businessUnitId,'weekId': weekId },
51776
+ { },
51777
+ { },
51778
+ { },
51779
+ body,
51780
+ ['PureCloud OAuth'],
51781
+ ['application/json'],
51782
+ ['application/json']
51783
+ );
51784
+ }
51785
+
51786
+ /**
51787
+ * Creates a signed upload URL for importing a schedule
51788
+ * Once the upload is complete, call the /import route to start the schedule import process
51789
+ * @param {String} businessUnitId The ID of the business unit
51790
+ * @param {String} weekId First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
51791
+ * @param {Object} body body
51792
+ */
51793
+ postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl(businessUnitId, weekId, body) {
51794
+ // verify the required parameter 'businessUnitId' is set
51795
+ if (businessUnitId === undefined || businessUnitId === null) {
51796
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
51797
+ }
51798
+ // verify the required parameter 'weekId' is set
51799
+ if (weekId === undefined || weekId === null) {
51800
+ throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
51801
+ }
51802
+ // verify the required parameter 'body' is set
51803
+ if (body === undefined || body === null) {
51804
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
51805
+ }
51806
+
51807
+ return this.apiClient.callApi(
51808
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import/uploadurl',
51809
+ 'POST',
51810
+ { 'businessUnitId': businessUnitId,'weekId': weekId },
51811
+ { },
51812
+ { },
51813
+ { },
51814
+ body,
51815
+ ['PureCloud OAuth'],
51816
+ ['application/json'],
51817
+ ['application/json']
51818
+ );
51819
+ }
51820
+
51454
51821
  /**
51455
51822
  * Copy a short term forecast
51456
51823
  *
@@ -51534,6 +51901,76 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51534
51901
  );
51535
51902
  }
51536
51903
 
51904
+ /**
51905
+ * Starts importing the uploaded short term forecast
51906
+ * Call after uploading the forecast data to the url supplied by the /import/uploadurl route
51907
+ * @param {String} businessUnitId The business unit ID of the business unit to which the forecast belongs
51908
+ * @param {String} weekDateId First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
51909
+ * @param {Object} body
51910
+ */
51911
+ postWorkforcemanagementBusinessunitWeekShorttermforecastsImport(businessUnitId, weekDateId, body) {
51912
+ // verify the required parameter 'businessUnitId' is set
51913
+ if (businessUnitId === undefined || businessUnitId === null) {
51914
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
51915
+ }
51916
+ // verify the required parameter 'weekDateId' is set
51917
+ if (weekDateId === undefined || weekDateId === null) {
51918
+ throw 'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
51919
+ }
51920
+ // verify the required parameter 'body' is set
51921
+ if (body === undefined || body === null) {
51922
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
51923
+ }
51924
+
51925
+ return this.apiClient.callApi(
51926
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import',
51927
+ 'POST',
51928
+ { 'businessUnitId': businessUnitId,'weekDateId': weekDateId },
51929
+ { },
51930
+ { },
51931
+ { },
51932
+ body,
51933
+ ['PureCloud OAuth'],
51934
+ ['application/json'],
51935
+ ['application/json']
51936
+ );
51937
+ }
51938
+
51939
+ /**
51940
+ * Creates a signed upload URL for importing a short term forecast
51941
+ * Once the upload is complete, call the /import route to start the short term forecast import process
51942
+ * @param {String} businessUnitId The business unit ID of the business unit to which the forecast belongs
51943
+ * @param {String} weekDateId First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
51944
+ * @param {Object} body body
51945
+ */
51946
+ postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl(businessUnitId, weekDateId, body) {
51947
+ // verify the required parameter 'businessUnitId' is set
51948
+ if (businessUnitId === undefined || businessUnitId === null) {
51949
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
51950
+ }
51951
+ // verify the required parameter 'weekDateId' is set
51952
+ if (weekDateId === undefined || weekDateId === null) {
51953
+ throw 'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
51954
+ }
51955
+ // verify the required parameter 'body' is set
51956
+ if (body === undefined || body === null) {
51957
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
51958
+ }
51959
+
51960
+ return this.apiClient.callApi(
51961
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import/uploadurl',
51962
+ 'POST',
51963
+ { 'businessUnitId': businessUnitId,'weekDateId': weekDateId },
51964
+ { },
51965
+ { },
51966
+ { },
51967
+ body,
51968
+ ['PureCloud OAuth'],
51969
+ ['application/json'],
51970
+ ['application/json']
51971
+ );
51972
+ }
51973
+
51537
51974
  /**
51538
51975
  * Add a new business unit
51539
51976
  * It may take a minute or two for a new business unit to be available for api operations
@@ -52414,7 +52851,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52414
52851
  * </pre>
52415
52852
  * </p>
52416
52853
  * @module purecloud-platform-client-v2/index
52417
- * @version 133.0.0
52854
+ * @version 134.0.0
52418
52855
  */
52419
52856
  class platformClient {
52420
52857
  constructor() {