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
@@ -395,7 +395,7 @@ class Configuration {
395
395
 
396
396
  /**
397
397
  * @module purecloud-platform-client-v2/ApiClient
398
- * @version 133.0.0
398
+ * @version 134.0.0
399
399
  */
400
400
  class ApiClient {
401
401
  /**
@@ -1342,7 +1342,7 @@ class ApiClient {
1342
1342
 
1343
1343
  // set header parameters
1344
1344
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
1345
- //request.set({ 'purecloud-sdk': '133.0.0' });
1345
+ //request.set({ 'purecloud-sdk': '134.0.0' });
1346
1346
 
1347
1347
  // set request timeout
1348
1348
  request.timeout(that.timeout);
@@ -1442,7 +1442,7 @@ class AlertingApi {
1442
1442
  /**
1443
1443
  * Alerting service.
1444
1444
  * @module purecloud-platform-client-v2/api/AlertingApi
1445
- * @version 133.0.0
1445
+ * @version 134.0.0
1446
1446
  */
1447
1447
 
1448
1448
  /**
@@ -1756,7 +1756,7 @@ class AnalyticsApi {
1756
1756
  /**
1757
1757
  * Analytics service.
1758
1758
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1759
- * @version 133.0.0
1759
+ * @version 134.0.0
1760
1760
  */
1761
1761
 
1762
1762
  /**
@@ -2938,7 +2938,7 @@ class ArchitectApi {
2938
2938
  /**
2939
2939
  * Architect service.
2940
2940
  * @module purecloud-platform-client-v2/api/ArchitectApi
2941
- * @version 133.0.0
2941
+ * @version 134.0.0
2942
2942
  */
2943
2943
 
2944
2944
  /**
@@ -5934,7 +5934,7 @@ class AuditApi {
5934
5934
  /**
5935
5935
  * Audit service.
5936
5936
  * @module purecloud-platform-client-v2/api/AuditApi
5937
- * @version 133.0.0
5937
+ * @version 134.0.0
5938
5938
  */
5939
5939
 
5940
5940
  /**
@@ -6105,7 +6105,7 @@ class AuthorizationApi {
6105
6105
  /**
6106
6106
  * Authorization service.
6107
6107
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6108
- * @version 133.0.0
6108
+ * @version 134.0.0
6109
6109
  */
6110
6110
 
6111
6111
  /**
@@ -7288,7 +7288,7 @@ class BillingApi {
7288
7288
  /**
7289
7289
  * Billing service.
7290
7290
  * @module purecloud-platform-client-v2/api/BillingApi
7291
- * @version 133.0.0
7291
+ * @version 134.0.0
7292
7292
  */
7293
7293
 
7294
7294
  /**
@@ -7368,7 +7368,7 @@ class ChatApi {
7368
7368
  /**
7369
7369
  * Chat service.
7370
7370
  * @module purecloud-platform-client-v2/api/ChatApi
7371
- * @version 133.0.0
7371
+ * @version 134.0.0
7372
7372
  */
7373
7373
 
7374
7374
  /**
@@ -7459,7 +7459,7 @@ class CoachingApi {
7459
7459
  /**
7460
7460
  * Coaching service.
7461
7461
  * @module purecloud-platform-client-v2/api/CoachingApi
7462
- * @version 133.0.0
7462
+ * @version 134.0.0
7463
7463
  */
7464
7464
 
7465
7465
  /**
@@ -8036,7 +8036,7 @@ class ContentManagementApi {
8036
8036
  /**
8037
8037
  * ContentManagement service.
8038
8038
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8039
- * @version 133.0.0
8039
+ * @version 134.0.0
8040
8040
  */
8041
8041
 
8042
8042
  /**
@@ -9176,7 +9176,7 @@ class ConversationsApi {
9176
9176
  /**
9177
9177
  * Conversations service.
9178
9178
  * @module purecloud-platform-client-v2/api/ConversationsApi
9179
- * @version 133.0.0
9179
+ * @version 134.0.0
9180
9180
  */
9181
9181
 
9182
9182
  /**
@@ -11583,6 +11583,31 @@ class ConversationsApi {
11583
11583
  );
11584
11584
  }
11585
11585
 
11586
+ /**
11587
+ * Update a scheduled callback
11588
+ *
11589
+ * @param {Object} body PatchCallbackRequest
11590
+ */
11591
+ patchConversationsCallbacks(body) {
11592
+ // verify the required parameter 'body' is set
11593
+ if (body === undefined || body === null) {
11594
+ throw 'Missing the required parameter "body" when calling patchConversationsCallbacks';
11595
+ }
11596
+
11597
+ return this.apiClient.callApi(
11598
+ '/api/v2/conversations/callbacks',
11599
+ 'PATCH',
11600
+ { },
11601
+ { },
11602
+ { },
11603
+ { },
11604
+ body,
11605
+ ['PureCloud OAuth'],
11606
+ ['application/json'],
11607
+ ['application/json']
11608
+ );
11609
+ }
11610
+
11586
11611
  /**
11587
11612
  * Update a conversation by disconnecting all of the participants
11588
11613
  *
@@ -12836,6 +12861,56 @@ class ConversationsApi {
12836
12861
  );
12837
12862
  }
12838
12863
 
12864
+ /**
12865
+ * Disconnect multiple scheduled callbacks
12866
+ *
12867
+ * @param {Object} body BulkCallbackDisconnectRequest
12868
+ */
12869
+ postConversationsCallbacksBulkDisconnect(body) {
12870
+ // verify the required parameter 'body' is set
12871
+ if (body === undefined || body === null) {
12872
+ throw 'Missing the required parameter "body" when calling postConversationsCallbacksBulkDisconnect';
12873
+ }
12874
+
12875
+ return this.apiClient.callApi(
12876
+ '/api/v2/conversations/callbacks/bulk/disconnect',
12877
+ 'POST',
12878
+ { },
12879
+ { },
12880
+ { },
12881
+ { },
12882
+ body,
12883
+ ['PureCloud OAuth'],
12884
+ ['application/json'],
12885
+ ['application/json']
12886
+ );
12887
+ }
12888
+
12889
+ /**
12890
+ * Update multiple scheduled callbacks
12891
+ *
12892
+ * @param {Object} body BulkCallbackPatchRequest
12893
+ */
12894
+ postConversationsCallbacksBulkUpdate(body) {
12895
+ // verify the required parameter 'body' is set
12896
+ if (body === undefined || body === null) {
12897
+ throw 'Missing the required parameter "body" when calling postConversationsCallbacksBulkUpdate';
12898
+ }
12899
+
12900
+ return this.apiClient.callApi(
12901
+ '/api/v2/conversations/callbacks/bulk/update',
12902
+ 'POST',
12903
+ { },
12904
+ { },
12905
+ { },
12906
+ { },
12907
+ body,
12908
+ ['PureCloud OAuth'],
12909
+ ['application/json'],
12910
+ ['application/json']
12911
+ );
12912
+ }
12913
+
12839
12914
  /**
12840
12915
  * Create a call conversation
12841
12916
  *
@@ -13765,7 +13840,7 @@ class DataExtensionsApi {
13765
13840
  /**
13766
13841
  * DataExtensions service.
13767
13842
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
13768
- * @version 133.0.0
13843
+ * @version 134.0.0
13769
13844
  */
13770
13845
 
13771
13846
  /**
@@ -13851,7 +13926,7 @@ class ExternalContactsApi {
13851
13926
  /**
13852
13927
  * ExternalContacts service.
13853
13928
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
13854
- * @version 133.0.0
13929
+ * @version 134.0.0
13855
13930
  */
13856
13931
 
13857
13932
  /**
@@ -15594,7 +15669,7 @@ class FaxApi {
15594
15669
  /**
15595
15670
  * Fax service.
15596
15671
  * @module purecloud-platform-client-v2/api/FaxApi
15597
- * @version 133.0.0
15672
+ * @version 134.0.0
15598
15673
  */
15599
15674
 
15600
15675
  /**
@@ -15765,7 +15840,7 @@ class FlowsApi {
15765
15840
  /**
15766
15841
  * Flows service.
15767
15842
  * @module purecloud-platform-client-v2/api/FlowsApi
15768
- * @version 133.0.0
15843
+ * @version 134.0.0
15769
15844
  */
15770
15845
 
15771
15846
  /**
@@ -15836,7 +15911,7 @@ class GamificationApi {
15836
15911
  /**
15837
15912
  * Gamification service.
15838
15913
  * @module purecloud-platform-client-v2/api/GamificationApi
15839
- * @version 133.0.0
15914
+ * @version 134.0.0
15840
15915
  */
15841
15916
 
15842
15917
  /**
@@ -17266,7 +17341,7 @@ class GeneralDataProtectionRegulationApi {
17266
17341
  /**
17267
17342
  * GeneralDataProtectionRegulation service.
17268
17343
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
17269
- * @version 133.0.0
17344
+ * @version 134.0.0
17270
17345
  */
17271
17346
 
17272
17347
  /**
@@ -17396,7 +17471,7 @@ class GeolocationApi {
17396
17471
  /**
17397
17472
  * Geolocation service.
17398
17473
  * @module purecloud-platform-client-v2/api/GeolocationApi
17399
- * @version 133.0.0
17474
+ * @version 134.0.0
17400
17475
  */
17401
17476
 
17402
17477
  /**
@@ -17527,7 +17602,7 @@ class GreetingsApi {
17527
17602
  /**
17528
17603
  * Greetings service.
17529
17604
  * @module purecloud-platform-client-v2/api/GreetingsApi
17530
- * @version 133.0.0
17605
+ * @version 134.0.0
17531
17606
  */
17532
17607
 
17533
17608
  /**
@@ -17982,7 +18057,7 @@ class GroupsApi {
17982
18057
  /**
17983
18058
  * Groups service.
17984
18059
  * @module purecloud-platform-client-v2/api/GroupsApi
17985
- * @version 133.0.0
18060
+ * @version 134.0.0
17986
18061
  */
17987
18062
 
17988
18063
  /**
@@ -18387,7 +18462,7 @@ class IdentityProviderApi {
18387
18462
  /**
18388
18463
  * IdentityProvider service.
18389
18464
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18390
- * @version 133.0.0
18465
+ * @version 134.0.0
18391
18466
  */
18392
18467
 
18393
18468
  /**
@@ -19143,7 +19218,7 @@ class IntegrationsApi {
19143
19218
  /**
19144
19219
  * Integrations service.
19145
19220
  * @module purecloud-platform-client-v2/api/IntegrationsApi
19146
- * @version 133.0.0
19221
+ * @version 134.0.0
19147
19222
  */
19148
19223
 
19149
19224
  /**
@@ -20818,7 +20893,7 @@ class JourneyApi {
20818
20893
  /**
20819
20894
  * Journey service.
20820
20895
  * @module purecloud-platform-client-v2/api/JourneyApi
20821
- * @version 133.0.0
20896
+ * @version 134.0.0
20822
20897
  */
20823
20898
 
20824
20899
  /**
@@ -21529,7 +21604,7 @@ class KnowledgeApi {
21529
21604
  /**
21530
21605
  * Knowledge service.
21531
21606
  * @module purecloud-platform-client-v2/api/KnowledgeApi
21532
- * @version 133.0.0
21607
+ * @version 134.0.0
21533
21608
  */
21534
21609
 
21535
21610
  /**
@@ -22429,7 +22504,7 @@ class LanguageUnderstandingApi {
22429
22504
  /**
22430
22505
  * LanguageUnderstanding service.
22431
22506
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
22432
- * @version 133.0.0
22507
+ * @version 134.0.0
22433
22508
  */
22434
22509
 
22435
22510
  /**
@@ -23333,7 +23408,7 @@ class LanguagesApi {
23333
23408
  /**
23334
23409
  * Languages service.
23335
23410
  * @module purecloud-platform-client-v2/api/LanguagesApi
23336
- * @version 133.0.0
23411
+ * @version 134.0.0
23337
23412
  */
23338
23413
 
23339
23414
  /**
@@ -23601,7 +23676,7 @@ class LearningApi {
23601
23676
  /**
23602
23677
  * Learning service.
23603
23678
  * @module purecloud-platform-client-v2/api/LearningApi
23604
- * @version 133.0.0
23679
+ * @version 134.0.0
23605
23680
  */
23606
23681
 
23607
23682
  /**
@@ -24192,7 +24267,7 @@ class LicenseApi {
24192
24267
  /**
24193
24268
  * License service.
24194
24269
  * @module purecloud-platform-client-v2/api/LicenseApi
24195
- * @version 133.0.0
24270
+ * @version 134.0.0
24196
24271
  */
24197
24272
 
24198
24273
  /**
@@ -24430,7 +24505,7 @@ class LocationsApi {
24430
24505
  /**
24431
24506
  * Locations service.
24432
24507
  * @module purecloud-platform-client-v2/api/LocationsApi
24433
- * @version 133.0.0
24508
+ * @version 134.0.0
24434
24509
  */
24435
24510
 
24436
24511
  /**
@@ -24666,7 +24741,7 @@ class MessagingApi {
24666
24741
  /**
24667
24742
  * Messaging service.
24668
24743
  * @module purecloud-platform-client-v2/api/MessagingApi
24669
- * @version 133.0.0
24744
+ * @version 134.0.0
24670
24745
  */
24671
24746
 
24672
24747
  /**
@@ -24817,7 +24892,7 @@ class MobileDevicesApi {
24817
24892
  /**
24818
24893
  * MobileDevices service.
24819
24894
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
24820
- * @version 133.0.0
24895
+ * @version 134.0.0
24821
24896
  */
24822
24897
 
24823
24898
  /**
@@ -24968,7 +25043,7 @@ class NotificationsApi {
24968
25043
  /**
24969
25044
  * Notifications service.
24970
25045
  * @module purecloud-platform-client-v2/api/NotificationsApi
24971
- * @version 133.0.0
25046
+ * @version 134.0.0
24972
25047
  */
24973
25048
 
24974
25049
  /**
@@ -25193,7 +25268,7 @@ class OAuthApi {
25193
25268
  /**
25194
25269
  * OAuth service.
25195
25270
  * @module purecloud-platform-client-v2/api/OAuthApi
25196
- * @version 133.0.0
25271
+ * @version 134.0.0
25197
25272
  */
25198
25273
 
25199
25274
  /**
@@ -25237,8 +25312,12 @@ class OAuthApi {
25237
25312
  * Get a client that is authorized by the resource owner
25238
25313
  *
25239
25314
  * @param {String} clientId The ID of client
25315
+ * @param {Object} opts Optional parameters
25316
+ * @param {String} opts.acceptLanguage The language in which to display the client descriptions. (default to en-us)
25240
25317
  */
25241
- getOauthAuthorization(clientId) {
25318
+ getOauthAuthorization(clientId, opts) {
25319
+ opts = opts || {};
25320
+
25242
25321
  // verify the required parameter 'clientId' is set
25243
25322
  if (clientId === undefined || clientId === null) {
25244
25323
  throw 'Missing the required parameter "clientId" when calling getOauthAuthorization';
@@ -25249,7 +25328,7 @@ class OAuthApi {
25249
25328
  'GET',
25250
25329
  { 'clientId': clientId },
25251
25330
  { },
25252
- { },
25331
+ { 'Accept-Language': opts['acceptLanguage'] },
25253
25332
  { },
25254
25333
  null,
25255
25334
  ['PureCloud OAuth'],
@@ -25259,17 +25338,21 @@ class OAuthApi {
25259
25338
  }
25260
25339
 
25261
25340
  /**
25262
- * List clients that are authorized by the resource owner
25341
+ * List clients that have been authorized, requested, or revoked by the resource owner
25263
25342
  *
25343
+ * @param {Object} opts Optional parameters
25344
+ * @param {String} opts.acceptLanguage The language in which to display the client descriptions. (default to en-us)
25264
25345
  */
25265
- getOauthAuthorizations() {
25346
+ getOauthAuthorizations(opts) {
25347
+ opts = opts || {};
25348
+
25266
25349
 
25267
25350
  return this.apiClient.callApi(
25268
25351
  '/api/v2/oauth/authorizations',
25269
25352
  'GET',
25270
25353
  { },
25271
25354
  { },
25272
- { },
25355
+ { 'Accept-Language': opts['acceptLanguage'] },
25273
25356
  { },
25274
25357
  null,
25275
25358
  ['PureCloud OAuth'],
@@ -25551,7 +25634,7 @@ class ObjectsApi {
25551
25634
  /**
25552
25635
  * Objects service.
25553
25636
  * @module purecloud-platform-client-v2/api/ObjectsApi
25554
- * @version 133.0.0
25637
+ * @version 134.0.0
25555
25638
  */
25556
25639
 
25557
25640
  /**
@@ -25822,7 +25905,7 @@ class OrganizationApi {
25822
25905
  /**
25823
25906
  * Organization service.
25824
25907
  * @module purecloud-platform-client-v2/api/OrganizationApi
25825
- * @version 133.0.0
25908
+ * @version 134.0.0
25826
25909
  */
25827
25910
 
25828
25911
  /**
@@ -26225,7 +26308,7 @@ class OrganizationAuthorizationApi {
26225
26308
  /**
26226
26309
  * OrganizationAuthorization service.
26227
26310
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
26228
- * @version 133.0.0
26311
+ * @version 134.0.0
26229
26312
  */
26230
26313
 
26231
26314
  /**
@@ -27150,7 +27233,7 @@ class OutboundApi {
27150
27233
  /**
27151
27234
  * Outbound service.
27152
27235
  * @module purecloud-platform-client-v2/api/OutboundApi
27153
- * @version 133.0.0
27236
+ * @version 134.0.0
27154
27237
  */
27155
27238
 
27156
27239
  /**
@@ -30180,7 +30263,7 @@ class PresenceApi {
30180
30263
  /**
30181
30264
  * Presence service.
30182
30265
  * @module purecloud-platform-client-v2/api/PresenceApi
30183
- * @version 133.0.0
30266
+ * @version 134.0.0
30184
30267
  */
30185
30268
 
30186
30269
  /**
@@ -30552,7 +30635,7 @@ class QualityApi {
30552
30635
  /**
30553
30636
  * Quality service.
30554
30637
  * @module purecloud-platform-client-v2/api/QualityApi
30555
- * @version 133.0.0
30638
+ * @version 134.0.0
30556
30639
  */
30557
30640
 
30558
30641
  /**
@@ -32130,7 +32213,7 @@ class RecordingApi {
32130
32213
  /**
32131
32214
  * Recording service.
32132
32215
  * @module purecloud-platform-client-v2/api/RecordingApi
32133
- * @version 133.0.0
32216
+ * @version 134.0.0
32134
32217
  */
32135
32218
 
32136
32219
  /**
@@ -33656,7 +33739,7 @@ class ResponseManagementApi {
33656
33739
  /**
33657
33740
  * ResponseManagement service.
33658
33741
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
33659
- * @version 133.0.0
33742
+ * @version 134.0.0
33660
33743
  */
33661
33744
 
33662
33745
  /**
@@ -33721,6 +33804,31 @@ class ResponseManagementApi {
33721
33804
  );
33722
33805
  }
33723
33806
 
33807
+ /**
33808
+ * Delete response asset
33809
+ *
33810
+ * @param {String} responseAssetId Asset Id
33811
+ */
33812
+ deleteResponsemanagementResponseasset(responseAssetId) {
33813
+ // verify the required parameter 'responseAssetId' is set
33814
+ if (responseAssetId === undefined || responseAssetId === null) {
33815
+ throw 'Missing the required parameter "responseAssetId" when calling deleteResponsemanagementResponseasset';
33816
+ }
33817
+
33818
+ return this.apiClient.callApi(
33819
+ '/api/v2/responsemanagement/responseassets/{responseAssetId}',
33820
+ 'DELETE',
33821
+ { 'responseAssetId': responseAssetId },
33822
+ { },
33823
+ { },
33824
+ { },
33825
+ null,
33826
+ ['PureCloud OAuth'],
33827
+ ['application/json'],
33828
+ ['application/json']
33829
+ );
33830
+ }
33831
+
33724
33832
  /**
33725
33833
  * Gets a list of existing response libraries.
33726
33834
  *
@@ -33801,6 +33909,56 @@ class ResponseManagementApi {
33801
33909
  );
33802
33910
  }
33803
33911
 
33912
+ /**
33913
+ * Get response asset information
33914
+ *
33915
+ * @param {String} responseAssetId Asset Id
33916
+ */
33917
+ getResponsemanagementResponseasset(responseAssetId) {
33918
+ // verify the required parameter 'responseAssetId' is set
33919
+ if (responseAssetId === undefined || responseAssetId === null) {
33920
+ throw 'Missing the required parameter "responseAssetId" when calling getResponsemanagementResponseasset';
33921
+ }
33922
+
33923
+ return this.apiClient.callApi(
33924
+ '/api/v2/responsemanagement/responseassets/{responseAssetId}',
33925
+ 'GET',
33926
+ { 'responseAssetId': responseAssetId },
33927
+ { },
33928
+ { },
33929
+ { },
33930
+ null,
33931
+ ['PureCloud OAuth'],
33932
+ ['application/json'],
33933
+ ['application/json']
33934
+ );
33935
+ }
33936
+
33937
+ /**
33938
+ * Get response asset upload status
33939
+ *
33940
+ * @param {String} statusId Status Id
33941
+ */
33942
+ getResponsemanagementResponseassetsStatusStatusId(statusId) {
33943
+ // verify the required parameter 'statusId' is set
33944
+ if (statusId === undefined || statusId === null) {
33945
+ throw 'Missing the required parameter "statusId" when calling getResponsemanagementResponseassetsStatusStatusId';
33946
+ }
33947
+
33948
+ return this.apiClient.callApi(
33949
+ '/api/v2/responsemanagement/responseassets/status/{statusId}',
33950
+ 'GET',
33951
+ { 'statusId': statusId },
33952
+ { },
33953
+ { },
33954
+ { },
33955
+ null,
33956
+ ['PureCloud OAuth'],
33957
+ ['application/json'],
33958
+ ['application/json']
33959
+ );
33960
+ }
33961
+
33804
33962
  /**
33805
33963
  * Gets a list of existing responses.
33806
33964
  *
@@ -33857,6 +34015,60 @@ class ResponseManagementApi {
33857
34015
  );
33858
34016
  }
33859
34017
 
34018
+ /**
34019
+ * Search response assets
34020
+ *
34021
+ * @param {Object} body request
34022
+ * @param {Object} opts Optional parameters
34023
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
34024
+ */
34025
+ postResponsemanagementResponseassetsSearch(body, opts) {
34026
+ opts = opts || {};
34027
+
34028
+ // verify the required parameter 'body' is set
34029
+ if (body === undefined || body === null) {
34030
+ throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsSearch';
34031
+ }
34032
+
34033
+ return this.apiClient.callApi(
34034
+ '/api/v2/responsemanagement/responseassets/search',
34035
+ 'POST',
34036
+ { },
34037
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
34038
+ { },
34039
+ { },
34040
+ body,
34041
+ ['PureCloud OAuth'],
34042
+ ['application/json'],
34043
+ ['application/json']
34044
+ );
34045
+ }
34046
+
34047
+ /**
34048
+ * Creates pre-signed url for uploading response asset
34049
+ *
34050
+ * @param {Object} body request
34051
+ */
34052
+ postResponsemanagementResponseassetsUploads(body) {
34053
+ // verify the required parameter 'body' is set
34054
+ if (body === undefined || body === null) {
34055
+ throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsUploads';
34056
+ }
34057
+
34058
+ return this.apiClient.callApi(
34059
+ '/api/v2/responsemanagement/responseassets/uploads',
34060
+ 'POST',
34061
+ { },
34062
+ { },
34063
+ { },
34064
+ { },
34065
+ body,
34066
+ ['PureCloud OAuth'],
34067
+ ['application/json'],
34068
+ ['application/json']
34069
+ );
34070
+ }
34071
+
33860
34072
  /**
33861
34073
  * Create a response.
33862
34074
  *
@@ -33975,13 +34187,43 @@ class ResponseManagementApi {
33975
34187
  );
33976
34188
  }
33977
34189
 
34190
+ /**
34191
+ * Update response asset
34192
+ *
34193
+ * @param {String} responseAssetId Asset Id
34194
+ * @param {Object} body request
34195
+ */
34196
+ putResponsemanagementResponseasset(responseAssetId, body) {
34197
+ // verify the required parameter 'responseAssetId' is set
34198
+ if (responseAssetId === undefined || responseAssetId === null) {
34199
+ throw 'Missing the required parameter "responseAssetId" when calling putResponsemanagementResponseasset';
34200
+ }
34201
+ // verify the required parameter 'body' is set
34202
+ if (body === undefined || body === null) {
34203
+ throw 'Missing the required parameter "body" when calling putResponsemanagementResponseasset';
34204
+ }
34205
+
34206
+ return this.apiClient.callApi(
34207
+ '/api/v2/responsemanagement/responseassets/{responseAssetId}',
34208
+ 'PUT',
34209
+ { 'responseAssetId': responseAssetId },
34210
+ { },
34211
+ { },
34212
+ { },
34213
+ body,
34214
+ ['PureCloud OAuth'],
34215
+ ['application/json'],
34216
+ ['application/json']
34217
+ );
34218
+ }
34219
+
33978
34220
  }
33979
34221
 
33980
34222
  class RoutingApi {
33981
34223
  /**
33982
34224
  * Routing service.
33983
34225
  * @module purecloud-platform-client-v2/api/RoutingApi
33984
- * @version 133.0.0
34226
+ * @version 134.0.0
33985
34227
  */
33986
34228
 
33987
34229
  /**
@@ -36904,7 +37146,7 @@ class SCIMApi {
36904
37146
  /**
36905
37147
  * SCIM service.
36906
37148
  * @module purecloud-platform-client-v2/api/SCIMApi
36907
- * @version 133.0.0
37149
+ * @version 134.0.0
36908
37150
  */
36909
37151
 
36910
37152
  /**
@@ -37781,7 +38023,7 @@ class ScriptsApi {
37781
38023
  /**
37782
38024
  * Scripts service.
37783
38025
  * @module purecloud-platform-client-v2/api/ScriptsApi
37784
- * @version 133.0.0
38026
+ * @version 134.0.0
37785
38027
  */
37786
38028
 
37787
38029
  /**
@@ -38134,7 +38376,7 @@ class SearchApi {
38134
38376
  /**
38135
38377
  * Search service.
38136
38378
  * @module purecloud-platform-client-v2/api/SearchApi
38137
- * @version 133.0.0
38379
+ * @version 134.0.0
38138
38380
  */
38139
38381
 
38140
38382
  /**
@@ -38669,7 +38911,7 @@ class SpeechTextAnalyticsApi {
38669
38911
  /**
38670
38912
  * SpeechTextAnalytics service.
38671
38913
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
38672
- * @version 133.0.0
38914
+ * @version 134.0.0
38673
38915
  */
38674
38916
 
38675
38917
  /**
@@ -39522,7 +39764,7 @@ class StationsApi {
39522
39764
  /**
39523
39765
  * Stations service.
39524
39766
  * @module purecloud-platform-client-v2/api/StationsApi
39525
- * @version 133.0.0
39767
+ * @version 134.0.0
39526
39768
  */
39527
39769
 
39528
39770
  /**
@@ -39669,7 +39911,7 @@ class SuggestApi {
39669
39911
  /**
39670
39912
  * Suggest service.
39671
39913
  * @module purecloud-platform-client-v2/api/SuggestApi
39672
- * @version 133.0.0
39914
+ * @version 134.0.0
39673
39915
  */
39674
39916
 
39675
39917
  /**
@@ -39808,7 +40050,7 @@ class TelephonyApi {
39808
40050
  /**
39809
40051
  * Telephony service.
39810
40052
  * @module purecloud-platform-client-v2/api/TelephonyApi
39811
- * @version 133.0.0
40053
+ * @version 134.0.0
39812
40054
  */
39813
40055
 
39814
40056
  /**
@@ -39916,7 +40158,7 @@ class TelephonyProvidersEdgeApi {
39916
40158
  /**
39917
40159
  * TelephonyProvidersEdge service.
39918
40160
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
39919
- * @version 133.0.0
40161
+ * @version 134.0.0
39920
40162
  */
39921
40163
 
39922
40164
  /**
@@ -43549,7 +43791,7 @@ class TextbotsApi {
43549
43791
  /**
43550
43792
  * Textbots service.
43551
43793
  * @module purecloud-platform-client-v2/api/TextbotsApi
43552
- * @version 133.0.0
43794
+ * @version 134.0.0
43553
43795
  */
43554
43796
 
43555
43797
  /**
@@ -43677,7 +43919,7 @@ class TokensApi {
43677
43919
  /**
43678
43920
  * Tokens service.
43679
43921
  * @module purecloud-platform-client-v2/api/TokensApi
43680
- * @version 133.0.0
43922
+ * @version 134.0.0
43681
43923
  */
43682
43924
 
43683
43925
  /**
@@ -43783,7 +44025,7 @@ class UploadsApi {
43783
44025
  /**
43784
44026
  * Uploads service.
43785
44027
  * @module purecloud-platform-client-v2/api/UploadsApi
43786
- * @version 133.0.0
44028
+ * @version 134.0.0
43787
44029
  */
43788
44030
 
43789
44031
  /**
@@ -43928,38 +44170,13 @@ class UploadsApi {
43928
44170
  );
43929
44171
  }
43930
44172
 
43931
- /**
43932
- * Creates presigned url for uploading WFM historical data file. Requires data in json format.
43933
- *
43934
- * @param {Object} body query
43935
- */
43936
- postUploadsWorkforcemanagementHistoricaldataJson(body) {
43937
- // verify the required parameter 'body' is set
43938
- if (body === undefined || body === null) {
43939
- throw 'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataJson';
43940
- }
43941
-
43942
- return this.apiClient.callApi(
43943
- '/api/v2/uploads/workforcemanagement/historicaldata/json',
43944
- 'POST',
43945
- { },
43946
- { },
43947
- { },
43948
- { },
43949
- body,
43950
- ['PureCloud OAuth'],
43951
- ['application/json'],
43952
- ['application/json']
43953
- );
43954
- }
43955
-
43956
44173
  }
43957
44174
 
43958
44175
  class UsageApi {
43959
44176
  /**
43960
44177
  * Usage service.
43961
44178
  * @module purecloud-platform-client-v2/api/UsageApi
43962
- * @version 133.0.0
44179
+ * @version 134.0.0
43963
44180
  */
43964
44181
 
43965
44182
  /**
@@ -44030,7 +44247,7 @@ class UserRecordingsApi {
44030
44247
  /**
44031
44248
  * UserRecordings service.
44032
44249
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
44033
- * @version 133.0.0
44250
+ * @version 134.0.0
44034
44251
  */
44035
44252
 
44036
44253
  /**
@@ -44214,7 +44431,7 @@ class UsersApi {
44214
44431
  /**
44215
44432
  * Users service.
44216
44433
  * @module purecloud-platform-client-v2/api/UsersApi
44217
- * @version 133.0.0
44434
+ * @version 134.0.0
44218
44435
  */
44219
44436
 
44220
44437
  /**
@@ -46516,7 +46733,7 @@ class UtilitiesApi {
46516
46733
  /**
46517
46734
  * Utilities service.
46518
46735
  * @module purecloud-platform-client-v2/api/UtilitiesApi
46519
- * @version 133.0.0
46736
+ * @version 134.0.0
46520
46737
  */
46521
46738
 
46522
46739
  /**
@@ -46627,7 +46844,7 @@ class VoicemailApi {
46627
46844
  /**
46628
46845
  * Voicemail service.
46629
46846
  * @module purecloud-platform-client-v2/api/VoicemailApi
46630
- * @version 133.0.0
46847
+ * @version 134.0.0
46631
46848
  */
46632
46849
 
46633
46850
  /**
@@ -47294,7 +47511,7 @@ class WebChatApi {
47294
47511
  /**
47295
47512
  * WebChat service.
47296
47513
  * @module purecloud-platform-client-v2/api/WebChatApi
47297
- * @version 133.0.0
47514
+ * @version 134.0.0
47298
47515
  */
47299
47516
 
47300
47517
  /**
@@ -47838,7 +48055,7 @@ class WebDeploymentsApi {
47838
48055
  /**
47839
48056
  * WebDeployments service.
47840
48057
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
47841
- * @version 133.0.0
48058
+ * @version 134.0.0
47842
48059
  */
47843
48060
 
47844
48061
  /**
@@ -48193,7 +48410,7 @@ class WebMessagingApi {
48193
48410
  /**
48194
48411
  * WebMessaging service.
48195
48412
  * @module purecloud-platform-client-v2/api/WebMessagingApi
48196
- * @version 133.0.0
48413
+ * @version 134.0.0
48197
48414
  */
48198
48415
 
48199
48416
  /**
@@ -48239,7 +48456,7 @@ class WidgetsApi {
48239
48456
  /**
48240
48457
  * Widgets service.
48241
48458
  * @module purecloud-platform-client-v2/api/WidgetsApi
48242
- * @version 133.0.0
48459
+ * @version 134.0.0
48243
48460
  */
48244
48461
 
48245
48462
  /**
@@ -48385,7 +48602,7 @@ class WorkforceManagementApi {
48385
48602
  /**
48386
48603
  * WorkforceManagement service.
48387
48604
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
48388
- * @version 133.0.0
48605
+ * @version 134.0.0
48389
48606
  */
48390
48607
 
48391
48608
  /**
@@ -51383,6 +51600,86 @@ class WorkforceManagementApi {
51383
51600
  );
51384
51601
  }
51385
51602
 
51603
+ /**
51604
+ * Starts processing a schedule update
51605
+ * Call after uploading the schedule data to the url supplied by the /update/uploadurl route
51606
+ * @param {String} businessUnitId The ID of the business unit
51607
+ * @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
51608
+ * @param {String} scheduleId The ID of the schedule
51609
+ * @param {Object} body body
51610
+ */
51611
+ postWorkforcemanagementBusinessunitWeekScheduleUpdate(businessUnitId, weekId, scheduleId, body) {
51612
+ // verify the required parameter 'businessUnitId' is set
51613
+ if (businessUnitId === undefined || businessUnitId === null) {
51614
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
51615
+ }
51616
+ // verify the required parameter 'weekId' is set
51617
+ if (weekId === undefined || weekId === null) {
51618
+ throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
51619
+ }
51620
+ // verify the required parameter 'scheduleId' is set
51621
+ if (scheduleId === undefined || scheduleId === null) {
51622
+ throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
51623
+ }
51624
+ // verify the required parameter 'body' is set
51625
+ if (body === undefined || body === null) {
51626
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
51627
+ }
51628
+
51629
+ return this.apiClient.callApi(
51630
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update',
51631
+ 'POST',
51632
+ { 'businessUnitId': businessUnitId,'weekId': weekId,'scheduleId': scheduleId },
51633
+ { },
51634
+ { },
51635
+ { },
51636
+ body,
51637
+ ['PureCloud OAuth'],
51638
+ ['application/json'],
51639
+ ['application/json']
51640
+ );
51641
+ }
51642
+
51643
+ /**
51644
+ * Creates a signed upload URL for updating a schedule
51645
+ * Once the upload is complete, call the /{scheduleId}/update route to start the schedule update process
51646
+ * @param {String} businessUnitId The ID of the business unit
51647
+ * @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
51648
+ * @param {String} scheduleId The ID of the schedule
51649
+ * @param {Object} body body
51650
+ */
51651
+ postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl(businessUnitId, weekId, scheduleId, body) {
51652
+ // verify the required parameter 'businessUnitId' is set
51653
+ if (businessUnitId === undefined || businessUnitId === null) {
51654
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
51655
+ }
51656
+ // verify the required parameter 'weekId' is set
51657
+ if (weekId === undefined || weekId === null) {
51658
+ throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
51659
+ }
51660
+ // verify the required parameter 'scheduleId' is set
51661
+ if (scheduleId === undefined || scheduleId === null) {
51662
+ throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
51663
+ }
51664
+ // verify the required parameter 'body' is set
51665
+ if (body === undefined || body === null) {
51666
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
51667
+ }
51668
+
51669
+ return this.apiClient.callApi(
51670
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update/uploadurl',
51671
+ 'POST',
51672
+ { 'businessUnitId': businessUnitId,'weekId': weekId,'scheduleId': scheduleId },
51673
+ { },
51674
+ { },
51675
+ { },
51676
+ body,
51677
+ ['PureCloud OAuth'],
51678
+ ['application/json'],
51679
+ ['application/json']
51680
+ );
51681
+ }
51682
+
51386
51683
  /**
51387
51684
  * Create a blank schedule
51388
51685
  *
@@ -51453,6 +51750,76 @@ class WorkforceManagementApi {
51453
51750
  );
51454
51751
  }
51455
51752
 
51753
+ /**
51754
+ * Starts processing a schedule import
51755
+ * Call after uploading the schedule data to the url supplied by the /import/uploadurl route
51756
+ * @param {String} businessUnitId The ID of the business unit
51757
+ * @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
51758
+ * @param {Object} body
51759
+ */
51760
+ postWorkforcemanagementBusinessunitWeekSchedulesImport(businessUnitId, weekId, body) {
51761
+ // verify the required parameter 'businessUnitId' is set
51762
+ if (businessUnitId === undefined || businessUnitId === null) {
51763
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
51764
+ }
51765
+ // verify the required parameter 'weekId' is set
51766
+ if (weekId === undefined || weekId === null) {
51767
+ throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
51768
+ }
51769
+ // verify the required parameter 'body' is set
51770
+ if (body === undefined || body === null) {
51771
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
51772
+ }
51773
+
51774
+ return this.apiClient.callApi(
51775
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import',
51776
+ 'POST',
51777
+ { 'businessUnitId': businessUnitId,'weekId': weekId },
51778
+ { },
51779
+ { },
51780
+ { },
51781
+ body,
51782
+ ['PureCloud OAuth'],
51783
+ ['application/json'],
51784
+ ['application/json']
51785
+ );
51786
+ }
51787
+
51788
+ /**
51789
+ * Creates a signed upload URL for importing a schedule
51790
+ * Once the upload is complete, call the /import route to start the schedule import process
51791
+ * @param {String} businessUnitId The ID of the business unit
51792
+ * @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
51793
+ * @param {Object} body body
51794
+ */
51795
+ postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl(businessUnitId, weekId, body) {
51796
+ // verify the required parameter 'businessUnitId' is set
51797
+ if (businessUnitId === undefined || businessUnitId === null) {
51798
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
51799
+ }
51800
+ // verify the required parameter 'weekId' is set
51801
+ if (weekId === undefined || weekId === null) {
51802
+ throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
51803
+ }
51804
+ // verify the required parameter 'body' is set
51805
+ if (body === undefined || body === null) {
51806
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
51807
+ }
51808
+
51809
+ return this.apiClient.callApi(
51810
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import/uploadurl',
51811
+ 'POST',
51812
+ { 'businessUnitId': businessUnitId,'weekId': weekId },
51813
+ { },
51814
+ { },
51815
+ { },
51816
+ body,
51817
+ ['PureCloud OAuth'],
51818
+ ['application/json'],
51819
+ ['application/json']
51820
+ );
51821
+ }
51822
+
51456
51823
  /**
51457
51824
  * Copy a short term forecast
51458
51825
  *
@@ -51536,6 +51903,76 @@ class WorkforceManagementApi {
51536
51903
  );
51537
51904
  }
51538
51905
 
51906
+ /**
51907
+ * Starts importing the uploaded short term forecast
51908
+ * Call after uploading the forecast data to the url supplied by the /import/uploadurl route
51909
+ * @param {String} businessUnitId The business unit ID of the business unit to which the forecast belongs
51910
+ * @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
51911
+ * @param {Object} body
51912
+ */
51913
+ postWorkforcemanagementBusinessunitWeekShorttermforecastsImport(businessUnitId, weekDateId, body) {
51914
+ // verify the required parameter 'businessUnitId' is set
51915
+ if (businessUnitId === undefined || businessUnitId === null) {
51916
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
51917
+ }
51918
+ // verify the required parameter 'weekDateId' is set
51919
+ if (weekDateId === undefined || weekDateId === null) {
51920
+ throw 'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
51921
+ }
51922
+ // verify the required parameter 'body' is set
51923
+ if (body === undefined || body === null) {
51924
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
51925
+ }
51926
+
51927
+ return this.apiClient.callApi(
51928
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import',
51929
+ 'POST',
51930
+ { 'businessUnitId': businessUnitId,'weekDateId': weekDateId },
51931
+ { },
51932
+ { },
51933
+ { },
51934
+ body,
51935
+ ['PureCloud OAuth'],
51936
+ ['application/json'],
51937
+ ['application/json']
51938
+ );
51939
+ }
51940
+
51941
+ /**
51942
+ * Creates a signed upload URL for importing a short term forecast
51943
+ * Once the upload is complete, call the /import route to start the short term forecast import process
51944
+ * @param {String} businessUnitId The business unit ID of the business unit to which the forecast belongs
51945
+ * @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
51946
+ * @param {Object} body body
51947
+ */
51948
+ postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl(businessUnitId, weekDateId, body) {
51949
+ // verify the required parameter 'businessUnitId' is set
51950
+ if (businessUnitId === undefined || businessUnitId === null) {
51951
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
51952
+ }
51953
+ // verify the required parameter 'weekDateId' is set
51954
+ if (weekDateId === undefined || weekDateId === null) {
51955
+ throw 'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
51956
+ }
51957
+ // verify the required parameter 'body' is set
51958
+ if (body === undefined || body === null) {
51959
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
51960
+ }
51961
+
51962
+ return this.apiClient.callApi(
51963
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import/uploadurl',
51964
+ 'POST',
51965
+ { 'businessUnitId': businessUnitId,'weekDateId': weekDateId },
51966
+ { },
51967
+ { },
51968
+ { },
51969
+ body,
51970
+ ['PureCloud OAuth'],
51971
+ ['application/json'],
51972
+ ['application/json']
51973
+ );
51974
+ }
51975
+
51539
51976
  /**
51540
51977
  * Add a new business unit
51541
51978
  * It may take a minute or two for a new business unit to be available for api operations
@@ -52416,7 +52853,7 @@ class WorkforceManagementApi {
52416
52853
  * </pre>
52417
52854
  * </p>
52418
52855
  * @module purecloud-platform-client-v2/index
52419
- * @version 133.0.0
52856
+ * @version 134.0.0
52420
52857
  */
52421
52858
  class platformClient {
52422
52859
  constructor() {