purecloud-platform-client-v2 133.0.2 → 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
@@ -2265,7 +2265,7 @@ class Configuration {
2265
2265
 
2266
2266
  /**
2267
2267
  * @module purecloud-platform-client-v2/ApiClient
2268
- * @version 133.0.2
2268
+ * @version 134.0.0
2269
2269
  */
2270
2270
  class ApiClient {
2271
2271
  /**
@@ -3205,7 +3205,7 @@ class ApiClient {
3205
3205
 
3206
3206
  // set header parameters
3207
3207
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
3208
- //request.set({ 'purecloud-sdk': '133.0.2' });
3208
+ //request.set({ 'purecloud-sdk': '134.0.0' });
3209
3209
 
3210
3210
  // set request timeout
3211
3211
  request.timeout(that.timeout);
@@ -3305,7 +3305,7 @@ class AlertingApi {
3305
3305
  /**
3306
3306
  * Alerting service.
3307
3307
  * @module purecloud-platform-client-v2/api/AlertingApi
3308
- * @version 133.0.2
3308
+ * @version 134.0.0
3309
3309
  */
3310
3310
 
3311
3311
  /**
@@ -3619,7 +3619,7 @@ class AnalyticsApi {
3619
3619
  /**
3620
3620
  * Analytics service.
3621
3621
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3622
- * @version 133.0.2
3622
+ * @version 134.0.0
3623
3623
  */
3624
3624
 
3625
3625
  /**
@@ -4801,7 +4801,7 @@ class ArchitectApi {
4801
4801
  /**
4802
4802
  * Architect service.
4803
4803
  * @module purecloud-platform-client-v2/api/ArchitectApi
4804
- * @version 133.0.2
4804
+ * @version 134.0.0
4805
4805
  */
4806
4806
 
4807
4807
  /**
@@ -7797,7 +7797,7 @@ class AuditApi {
7797
7797
  /**
7798
7798
  * Audit service.
7799
7799
  * @module purecloud-platform-client-v2/api/AuditApi
7800
- * @version 133.0.2
7800
+ * @version 134.0.0
7801
7801
  */
7802
7802
 
7803
7803
  /**
@@ -7968,7 +7968,7 @@ class AuthorizationApi {
7968
7968
  /**
7969
7969
  * Authorization service.
7970
7970
  * @module purecloud-platform-client-v2/api/AuthorizationApi
7971
- * @version 133.0.2
7971
+ * @version 134.0.0
7972
7972
  */
7973
7973
 
7974
7974
  /**
@@ -9151,7 +9151,7 @@ class BillingApi {
9151
9151
  /**
9152
9152
  * Billing service.
9153
9153
  * @module purecloud-platform-client-v2/api/BillingApi
9154
- * @version 133.0.2
9154
+ * @version 134.0.0
9155
9155
  */
9156
9156
 
9157
9157
  /**
@@ -9231,7 +9231,7 @@ class ChatApi {
9231
9231
  /**
9232
9232
  * Chat service.
9233
9233
  * @module purecloud-platform-client-v2/api/ChatApi
9234
- * @version 133.0.2
9234
+ * @version 134.0.0
9235
9235
  */
9236
9236
 
9237
9237
  /**
@@ -9322,7 +9322,7 @@ class CoachingApi {
9322
9322
  /**
9323
9323
  * Coaching service.
9324
9324
  * @module purecloud-platform-client-v2/api/CoachingApi
9325
- * @version 133.0.2
9325
+ * @version 134.0.0
9326
9326
  */
9327
9327
 
9328
9328
  /**
@@ -9899,7 +9899,7 @@ class ContentManagementApi {
9899
9899
  /**
9900
9900
  * ContentManagement service.
9901
9901
  * @module purecloud-platform-client-v2/api/ContentManagementApi
9902
- * @version 133.0.2
9902
+ * @version 134.0.0
9903
9903
  */
9904
9904
 
9905
9905
  /**
@@ -11039,7 +11039,7 @@ class ConversationsApi {
11039
11039
  /**
11040
11040
  * Conversations service.
11041
11041
  * @module purecloud-platform-client-v2/api/ConversationsApi
11042
- * @version 133.0.2
11042
+ * @version 134.0.0
11043
11043
  */
11044
11044
 
11045
11045
  /**
@@ -13446,6 +13446,31 @@ class ConversationsApi {
13446
13446
  );
13447
13447
  }
13448
13448
 
13449
+ /**
13450
+ * Update a scheduled callback
13451
+ *
13452
+ * @param {Object} body PatchCallbackRequest
13453
+ */
13454
+ patchConversationsCallbacks(body) {
13455
+ // verify the required parameter 'body' is set
13456
+ if (body === undefined || body === null) {
13457
+ throw 'Missing the required parameter "body" when calling patchConversationsCallbacks';
13458
+ }
13459
+
13460
+ return this.apiClient.callApi(
13461
+ '/api/v2/conversations/callbacks',
13462
+ 'PATCH',
13463
+ { },
13464
+ { },
13465
+ { },
13466
+ { },
13467
+ body,
13468
+ ['PureCloud OAuth'],
13469
+ ['application/json'],
13470
+ ['application/json']
13471
+ );
13472
+ }
13473
+
13449
13474
  /**
13450
13475
  * Update a conversation by disconnecting all of the participants
13451
13476
  *
@@ -14699,6 +14724,56 @@ class ConversationsApi {
14699
14724
  );
14700
14725
  }
14701
14726
 
14727
+ /**
14728
+ * Disconnect multiple scheduled callbacks
14729
+ *
14730
+ * @param {Object} body BulkCallbackDisconnectRequest
14731
+ */
14732
+ postConversationsCallbacksBulkDisconnect(body) {
14733
+ // verify the required parameter 'body' is set
14734
+ if (body === undefined || body === null) {
14735
+ throw 'Missing the required parameter "body" when calling postConversationsCallbacksBulkDisconnect';
14736
+ }
14737
+
14738
+ return this.apiClient.callApi(
14739
+ '/api/v2/conversations/callbacks/bulk/disconnect',
14740
+ 'POST',
14741
+ { },
14742
+ { },
14743
+ { },
14744
+ { },
14745
+ body,
14746
+ ['PureCloud OAuth'],
14747
+ ['application/json'],
14748
+ ['application/json']
14749
+ );
14750
+ }
14751
+
14752
+ /**
14753
+ * Update multiple scheduled callbacks
14754
+ *
14755
+ * @param {Object} body BulkCallbackPatchRequest
14756
+ */
14757
+ postConversationsCallbacksBulkUpdate(body) {
14758
+ // verify the required parameter 'body' is set
14759
+ if (body === undefined || body === null) {
14760
+ throw 'Missing the required parameter "body" when calling postConversationsCallbacksBulkUpdate';
14761
+ }
14762
+
14763
+ return this.apiClient.callApi(
14764
+ '/api/v2/conversations/callbacks/bulk/update',
14765
+ 'POST',
14766
+ { },
14767
+ { },
14768
+ { },
14769
+ { },
14770
+ body,
14771
+ ['PureCloud OAuth'],
14772
+ ['application/json'],
14773
+ ['application/json']
14774
+ );
14775
+ }
14776
+
14702
14777
  /**
14703
14778
  * Create a call conversation
14704
14779
  *
@@ -15628,7 +15703,7 @@ class DataExtensionsApi {
15628
15703
  /**
15629
15704
  * DataExtensions service.
15630
15705
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
15631
- * @version 133.0.2
15706
+ * @version 134.0.0
15632
15707
  */
15633
15708
 
15634
15709
  /**
@@ -15714,7 +15789,7 @@ class ExternalContactsApi {
15714
15789
  /**
15715
15790
  * ExternalContacts service.
15716
15791
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
15717
- * @version 133.0.2
15792
+ * @version 134.0.0
15718
15793
  */
15719
15794
 
15720
15795
  /**
@@ -17457,7 +17532,7 @@ class FaxApi {
17457
17532
  /**
17458
17533
  * Fax service.
17459
17534
  * @module purecloud-platform-client-v2/api/FaxApi
17460
- * @version 133.0.2
17535
+ * @version 134.0.0
17461
17536
  */
17462
17537
 
17463
17538
  /**
@@ -17628,7 +17703,7 @@ class FlowsApi {
17628
17703
  /**
17629
17704
  * Flows service.
17630
17705
  * @module purecloud-platform-client-v2/api/FlowsApi
17631
- * @version 133.0.2
17706
+ * @version 134.0.0
17632
17707
  */
17633
17708
 
17634
17709
  /**
@@ -17699,7 +17774,7 @@ class GamificationApi {
17699
17774
  /**
17700
17775
  * Gamification service.
17701
17776
  * @module purecloud-platform-client-v2/api/GamificationApi
17702
- * @version 133.0.2
17777
+ * @version 134.0.0
17703
17778
  */
17704
17779
 
17705
17780
  /**
@@ -19129,7 +19204,7 @@ class GeneralDataProtectionRegulationApi {
19129
19204
  /**
19130
19205
  * GeneralDataProtectionRegulation service.
19131
19206
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
19132
- * @version 133.0.2
19207
+ * @version 134.0.0
19133
19208
  */
19134
19209
 
19135
19210
  /**
@@ -19259,7 +19334,7 @@ class GeolocationApi {
19259
19334
  /**
19260
19335
  * Geolocation service.
19261
19336
  * @module purecloud-platform-client-v2/api/GeolocationApi
19262
- * @version 133.0.2
19337
+ * @version 134.0.0
19263
19338
  */
19264
19339
 
19265
19340
  /**
@@ -19390,7 +19465,7 @@ class GreetingsApi {
19390
19465
  /**
19391
19466
  * Greetings service.
19392
19467
  * @module purecloud-platform-client-v2/api/GreetingsApi
19393
- * @version 133.0.2
19468
+ * @version 134.0.0
19394
19469
  */
19395
19470
 
19396
19471
  /**
@@ -19845,7 +19920,7 @@ class GroupsApi {
19845
19920
  /**
19846
19921
  * Groups service.
19847
19922
  * @module purecloud-platform-client-v2/api/GroupsApi
19848
- * @version 133.0.2
19923
+ * @version 134.0.0
19849
19924
  */
19850
19925
 
19851
19926
  /**
@@ -20250,7 +20325,7 @@ class IdentityProviderApi {
20250
20325
  /**
20251
20326
  * IdentityProvider service.
20252
20327
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
20253
- * @version 133.0.2
20328
+ * @version 134.0.0
20254
20329
  */
20255
20330
 
20256
20331
  /**
@@ -21006,7 +21081,7 @@ class IntegrationsApi {
21006
21081
  /**
21007
21082
  * Integrations service.
21008
21083
  * @module purecloud-platform-client-v2/api/IntegrationsApi
21009
- * @version 133.0.2
21084
+ * @version 134.0.0
21010
21085
  */
21011
21086
 
21012
21087
  /**
@@ -22681,7 +22756,7 @@ class JourneyApi {
22681
22756
  /**
22682
22757
  * Journey service.
22683
22758
  * @module purecloud-platform-client-v2/api/JourneyApi
22684
- * @version 133.0.2
22759
+ * @version 134.0.0
22685
22760
  */
22686
22761
 
22687
22762
  /**
@@ -23392,7 +23467,7 @@ class KnowledgeApi {
23392
23467
  /**
23393
23468
  * Knowledge service.
23394
23469
  * @module purecloud-platform-client-v2/api/KnowledgeApi
23395
- * @version 133.0.2
23470
+ * @version 134.0.0
23396
23471
  */
23397
23472
 
23398
23473
  /**
@@ -24292,7 +24367,7 @@ class LanguageUnderstandingApi {
24292
24367
  /**
24293
24368
  * LanguageUnderstanding service.
24294
24369
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
24295
- * @version 133.0.2
24370
+ * @version 134.0.0
24296
24371
  */
24297
24372
 
24298
24373
  /**
@@ -25196,7 +25271,7 @@ class LanguagesApi {
25196
25271
  /**
25197
25272
  * Languages service.
25198
25273
  * @module purecloud-platform-client-v2/api/LanguagesApi
25199
- * @version 133.0.2
25274
+ * @version 134.0.0
25200
25275
  */
25201
25276
 
25202
25277
  /**
@@ -25464,7 +25539,7 @@ class LearningApi {
25464
25539
  /**
25465
25540
  * Learning service.
25466
25541
  * @module purecloud-platform-client-v2/api/LearningApi
25467
- * @version 133.0.2
25542
+ * @version 134.0.0
25468
25543
  */
25469
25544
 
25470
25545
  /**
@@ -26055,7 +26130,7 @@ class LicenseApi {
26055
26130
  /**
26056
26131
  * License service.
26057
26132
  * @module purecloud-platform-client-v2/api/LicenseApi
26058
- * @version 133.0.2
26133
+ * @version 134.0.0
26059
26134
  */
26060
26135
 
26061
26136
  /**
@@ -26293,7 +26368,7 @@ class LocationsApi {
26293
26368
  /**
26294
26369
  * Locations service.
26295
26370
  * @module purecloud-platform-client-v2/api/LocationsApi
26296
- * @version 133.0.2
26371
+ * @version 134.0.0
26297
26372
  */
26298
26373
 
26299
26374
  /**
@@ -26529,7 +26604,7 @@ class MessagingApi {
26529
26604
  /**
26530
26605
  * Messaging service.
26531
26606
  * @module purecloud-platform-client-v2/api/MessagingApi
26532
- * @version 133.0.2
26607
+ * @version 134.0.0
26533
26608
  */
26534
26609
 
26535
26610
  /**
@@ -26680,7 +26755,7 @@ class MobileDevicesApi {
26680
26755
  /**
26681
26756
  * MobileDevices service.
26682
26757
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
26683
- * @version 133.0.2
26758
+ * @version 134.0.0
26684
26759
  */
26685
26760
 
26686
26761
  /**
@@ -26831,7 +26906,7 @@ class NotificationsApi {
26831
26906
  /**
26832
26907
  * Notifications service.
26833
26908
  * @module purecloud-platform-client-v2/api/NotificationsApi
26834
- * @version 133.0.2
26909
+ * @version 134.0.0
26835
26910
  */
26836
26911
 
26837
26912
  /**
@@ -27056,7 +27131,7 @@ class OAuthApi {
27056
27131
  /**
27057
27132
  * OAuth service.
27058
27133
  * @module purecloud-platform-client-v2/api/OAuthApi
27059
- * @version 133.0.2
27134
+ * @version 134.0.0
27060
27135
  */
27061
27136
 
27062
27137
  /**
@@ -27100,8 +27175,12 @@ class OAuthApi {
27100
27175
  * Get a client that is authorized by the resource owner
27101
27176
  *
27102
27177
  * @param {String} clientId The ID of client
27178
+ * @param {Object} opts Optional parameters
27179
+ * @param {String} opts.acceptLanguage The language in which to display the client descriptions. (default to en-us)
27103
27180
  */
27104
- getOauthAuthorization(clientId) {
27181
+ getOauthAuthorization(clientId, opts) {
27182
+ opts = opts || {};
27183
+
27105
27184
  // verify the required parameter 'clientId' is set
27106
27185
  if (clientId === undefined || clientId === null) {
27107
27186
  throw 'Missing the required parameter "clientId" when calling getOauthAuthorization';
@@ -27112,7 +27191,7 @@ class OAuthApi {
27112
27191
  'GET',
27113
27192
  { 'clientId': clientId },
27114
27193
  { },
27115
- { },
27194
+ { 'Accept-Language': opts['acceptLanguage'] },
27116
27195
  { },
27117
27196
  null,
27118
27197
  ['PureCloud OAuth'],
@@ -27122,17 +27201,21 @@ class OAuthApi {
27122
27201
  }
27123
27202
 
27124
27203
  /**
27125
- * List clients that are authorized by the resource owner
27204
+ * List clients that have been authorized, requested, or revoked by the resource owner
27126
27205
  *
27206
+ * @param {Object} opts Optional parameters
27207
+ * @param {String} opts.acceptLanguage The language in which to display the client descriptions. (default to en-us)
27127
27208
  */
27128
- getOauthAuthorizations() {
27209
+ getOauthAuthorizations(opts) {
27210
+ opts = opts || {};
27211
+
27129
27212
 
27130
27213
  return this.apiClient.callApi(
27131
27214
  '/api/v2/oauth/authorizations',
27132
27215
  'GET',
27133
27216
  { },
27134
27217
  { },
27135
- { },
27218
+ { 'Accept-Language': opts['acceptLanguage'] },
27136
27219
  { },
27137
27220
  null,
27138
27221
  ['PureCloud OAuth'],
@@ -27414,7 +27497,7 @@ class ObjectsApi {
27414
27497
  /**
27415
27498
  * Objects service.
27416
27499
  * @module purecloud-platform-client-v2/api/ObjectsApi
27417
- * @version 133.0.2
27500
+ * @version 134.0.0
27418
27501
  */
27419
27502
 
27420
27503
  /**
@@ -27685,7 +27768,7 @@ class OrganizationApi {
27685
27768
  /**
27686
27769
  * Organization service.
27687
27770
  * @module purecloud-platform-client-v2/api/OrganizationApi
27688
- * @version 133.0.2
27771
+ * @version 134.0.0
27689
27772
  */
27690
27773
 
27691
27774
  /**
@@ -28088,7 +28171,7 @@ class OrganizationAuthorizationApi {
28088
28171
  /**
28089
28172
  * OrganizationAuthorization service.
28090
28173
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
28091
- * @version 133.0.2
28174
+ * @version 134.0.0
28092
28175
  */
28093
28176
 
28094
28177
  /**
@@ -29013,7 +29096,7 @@ class OutboundApi {
29013
29096
  /**
29014
29097
  * Outbound service.
29015
29098
  * @module purecloud-platform-client-v2/api/OutboundApi
29016
- * @version 133.0.2
29099
+ * @version 134.0.0
29017
29100
  */
29018
29101
 
29019
29102
  /**
@@ -32043,7 +32126,7 @@ class PresenceApi {
32043
32126
  /**
32044
32127
  * Presence service.
32045
32128
  * @module purecloud-platform-client-v2/api/PresenceApi
32046
- * @version 133.0.2
32129
+ * @version 134.0.0
32047
32130
  */
32048
32131
 
32049
32132
  /**
@@ -32415,7 +32498,7 @@ class QualityApi {
32415
32498
  /**
32416
32499
  * Quality service.
32417
32500
  * @module purecloud-platform-client-v2/api/QualityApi
32418
- * @version 133.0.2
32501
+ * @version 134.0.0
32419
32502
  */
32420
32503
 
32421
32504
  /**
@@ -33993,7 +34076,7 @@ class RecordingApi {
33993
34076
  /**
33994
34077
  * Recording service.
33995
34078
  * @module purecloud-platform-client-v2/api/RecordingApi
33996
- * @version 133.0.2
34079
+ * @version 134.0.0
33997
34080
  */
33998
34081
 
33999
34082
  /**
@@ -35519,7 +35602,7 @@ class ResponseManagementApi {
35519
35602
  /**
35520
35603
  * ResponseManagement service.
35521
35604
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
35522
- * @version 133.0.2
35605
+ * @version 134.0.0
35523
35606
  */
35524
35607
 
35525
35608
  /**
@@ -35584,6 +35667,31 @@ class ResponseManagementApi {
35584
35667
  );
35585
35668
  }
35586
35669
 
35670
+ /**
35671
+ * Delete response asset
35672
+ *
35673
+ * @param {String} responseAssetId Asset Id
35674
+ */
35675
+ deleteResponsemanagementResponseasset(responseAssetId) {
35676
+ // verify the required parameter 'responseAssetId' is set
35677
+ if (responseAssetId === undefined || responseAssetId === null) {
35678
+ throw 'Missing the required parameter "responseAssetId" when calling deleteResponsemanagementResponseasset';
35679
+ }
35680
+
35681
+ return this.apiClient.callApi(
35682
+ '/api/v2/responsemanagement/responseassets/{responseAssetId}',
35683
+ 'DELETE',
35684
+ { 'responseAssetId': responseAssetId },
35685
+ { },
35686
+ { },
35687
+ { },
35688
+ null,
35689
+ ['PureCloud OAuth'],
35690
+ ['application/json'],
35691
+ ['application/json']
35692
+ );
35693
+ }
35694
+
35587
35695
  /**
35588
35696
  * Gets a list of existing response libraries.
35589
35697
  *
@@ -35664,6 +35772,56 @@ class ResponseManagementApi {
35664
35772
  );
35665
35773
  }
35666
35774
 
35775
+ /**
35776
+ * Get response asset information
35777
+ *
35778
+ * @param {String} responseAssetId Asset Id
35779
+ */
35780
+ getResponsemanagementResponseasset(responseAssetId) {
35781
+ // verify the required parameter 'responseAssetId' is set
35782
+ if (responseAssetId === undefined || responseAssetId === null) {
35783
+ throw 'Missing the required parameter "responseAssetId" when calling getResponsemanagementResponseasset';
35784
+ }
35785
+
35786
+ return this.apiClient.callApi(
35787
+ '/api/v2/responsemanagement/responseassets/{responseAssetId}',
35788
+ 'GET',
35789
+ { 'responseAssetId': responseAssetId },
35790
+ { },
35791
+ { },
35792
+ { },
35793
+ null,
35794
+ ['PureCloud OAuth'],
35795
+ ['application/json'],
35796
+ ['application/json']
35797
+ );
35798
+ }
35799
+
35800
+ /**
35801
+ * Get response asset upload status
35802
+ *
35803
+ * @param {String} statusId Status Id
35804
+ */
35805
+ getResponsemanagementResponseassetsStatusStatusId(statusId) {
35806
+ // verify the required parameter 'statusId' is set
35807
+ if (statusId === undefined || statusId === null) {
35808
+ throw 'Missing the required parameter "statusId" when calling getResponsemanagementResponseassetsStatusStatusId';
35809
+ }
35810
+
35811
+ return this.apiClient.callApi(
35812
+ '/api/v2/responsemanagement/responseassets/status/{statusId}',
35813
+ 'GET',
35814
+ { 'statusId': statusId },
35815
+ { },
35816
+ { },
35817
+ { },
35818
+ null,
35819
+ ['PureCloud OAuth'],
35820
+ ['application/json'],
35821
+ ['application/json']
35822
+ );
35823
+ }
35824
+
35667
35825
  /**
35668
35826
  * Gets a list of existing responses.
35669
35827
  *
@@ -35720,6 +35878,60 @@ class ResponseManagementApi {
35720
35878
  );
35721
35879
  }
35722
35880
 
35881
+ /**
35882
+ * Search response assets
35883
+ *
35884
+ * @param {Object} body request
35885
+ * @param {Object} opts Optional parameters
35886
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
35887
+ */
35888
+ postResponsemanagementResponseassetsSearch(body, opts) {
35889
+ opts = opts || {};
35890
+
35891
+ // verify the required parameter 'body' is set
35892
+ if (body === undefined || body === null) {
35893
+ throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsSearch';
35894
+ }
35895
+
35896
+ return this.apiClient.callApi(
35897
+ '/api/v2/responsemanagement/responseassets/search',
35898
+ 'POST',
35899
+ { },
35900
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
35901
+ { },
35902
+ { },
35903
+ body,
35904
+ ['PureCloud OAuth'],
35905
+ ['application/json'],
35906
+ ['application/json']
35907
+ );
35908
+ }
35909
+
35910
+ /**
35911
+ * Creates pre-signed url for uploading response asset
35912
+ *
35913
+ * @param {Object} body request
35914
+ */
35915
+ postResponsemanagementResponseassetsUploads(body) {
35916
+ // verify the required parameter 'body' is set
35917
+ if (body === undefined || body === null) {
35918
+ throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsUploads';
35919
+ }
35920
+
35921
+ return this.apiClient.callApi(
35922
+ '/api/v2/responsemanagement/responseassets/uploads',
35923
+ 'POST',
35924
+ { },
35925
+ { },
35926
+ { },
35927
+ { },
35928
+ body,
35929
+ ['PureCloud OAuth'],
35930
+ ['application/json'],
35931
+ ['application/json']
35932
+ );
35933
+ }
35934
+
35723
35935
  /**
35724
35936
  * Create a response.
35725
35937
  *
@@ -35838,13 +36050,43 @@ class ResponseManagementApi {
35838
36050
  );
35839
36051
  }
35840
36052
 
36053
+ /**
36054
+ * Update response asset
36055
+ *
36056
+ * @param {String} responseAssetId Asset Id
36057
+ * @param {Object} body request
36058
+ */
36059
+ putResponsemanagementResponseasset(responseAssetId, body) {
36060
+ // verify the required parameter 'responseAssetId' is set
36061
+ if (responseAssetId === undefined || responseAssetId === null) {
36062
+ throw 'Missing the required parameter "responseAssetId" when calling putResponsemanagementResponseasset';
36063
+ }
36064
+ // verify the required parameter 'body' is set
36065
+ if (body === undefined || body === null) {
36066
+ throw 'Missing the required parameter "body" when calling putResponsemanagementResponseasset';
36067
+ }
36068
+
36069
+ return this.apiClient.callApi(
36070
+ '/api/v2/responsemanagement/responseassets/{responseAssetId}',
36071
+ 'PUT',
36072
+ { 'responseAssetId': responseAssetId },
36073
+ { },
36074
+ { },
36075
+ { },
36076
+ body,
36077
+ ['PureCloud OAuth'],
36078
+ ['application/json'],
36079
+ ['application/json']
36080
+ );
36081
+ }
36082
+
35841
36083
  }
35842
36084
 
35843
36085
  class RoutingApi {
35844
36086
  /**
35845
36087
  * Routing service.
35846
36088
  * @module purecloud-platform-client-v2/api/RoutingApi
35847
- * @version 133.0.2
36089
+ * @version 134.0.0
35848
36090
  */
35849
36091
 
35850
36092
  /**
@@ -38767,7 +39009,7 @@ class SCIMApi {
38767
39009
  /**
38768
39010
  * SCIM service.
38769
39011
  * @module purecloud-platform-client-v2/api/SCIMApi
38770
- * @version 133.0.2
39012
+ * @version 134.0.0
38771
39013
  */
38772
39014
 
38773
39015
  /**
@@ -39644,7 +39886,7 @@ class ScriptsApi {
39644
39886
  /**
39645
39887
  * Scripts service.
39646
39888
  * @module purecloud-platform-client-v2/api/ScriptsApi
39647
- * @version 133.0.2
39889
+ * @version 134.0.0
39648
39890
  */
39649
39891
 
39650
39892
  /**
@@ -39997,7 +40239,7 @@ class SearchApi {
39997
40239
  /**
39998
40240
  * Search service.
39999
40241
  * @module purecloud-platform-client-v2/api/SearchApi
40000
- * @version 133.0.2
40242
+ * @version 134.0.0
40001
40243
  */
40002
40244
 
40003
40245
  /**
@@ -40532,7 +40774,7 @@ class SpeechTextAnalyticsApi {
40532
40774
  /**
40533
40775
  * SpeechTextAnalytics service.
40534
40776
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
40535
- * @version 133.0.2
40777
+ * @version 134.0.0
40536
40778
  */
40537
40779
 
40538
40780
  /**
@@ -41385,7 +41627,7 @@ class StationsApi {
41385
41627
  /**
41386
41628
  * Stations service.
41387
41629
  * @module purecloud-platform-client-v2/api/StationsApi
41388
- * @version 133.0.2
41630
+ * @version 134.0.0
41389
41631
  */
41390
41632
 
41391
41633
  /**
@@ -41532,7 +41774,7 @@ class SuggestApi {
41532
41774
  /**
41533
41775
  * Suggest service.
41534
41776
  * @module purecloud-platform-client-v2/api/SuggestApi
41535
- * @version 133.0.2
41777
+ * @version 134.0.0
41536
41778
  */
41537
41779
 
41538
41780
  /**
@@ -41671,7 +41913,7 @@ class TelephonyApi {
41671
41913
  /**
41672
41914
  * Telephony service.
41673
41915
  * @module purecloud-platform-client-v2/api/TelephonyApi
41674
- * @version 133.0.2
41916
+ * @version 134.0.0
41675
41917
  */
41676
41918
 
41677
41919
  /**
@@ -41779,7 +42021,7 @@ class TelephonyProvidersEdgeApi {
41779
42021
  /**
41780
42022
  * TelephonyProvidersEdge service.
41781
42023
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
41782
- * @version 133.0.2
42024
+ * @version 134.0.0
41783
42025
  */
41784
42026
 
41785
42027
  /**
@@ -45412,7 +45654,7 @@ class TextbotsApi {
45412
45654
  /**
45413
45655
  * Textbots service.
45414
45656
  * @module purecloud-platform-client-v2/api/TextbotsApi
45415
- * @version 133.0.2
45657
+ * @version 134.0.0
45416
45658
  */
45417
45659
 
45418
45660
  /**
@@ -45540,7 +45782,7 @@ class TokensApi {
45540
45782
  /**
45541
45783
  * Tokens service.
45542
45784
  * @module purecloud-platform-client-v2/api/TokensApi
45543
- * @version 133.0.2
45785
+ * @version 134.0.0
45544
45786
  */
45545
45787
 
45546
45788
  /**
@@ -45646,7 +45888,7 @@ class UploadsApi {
45646
45888
  /**
45647
45889
  * Uploads service.
45648
45890
  * @module purecloud-platform-client-v2/api/UploadsApi
45649
- * @version 133.0.2
45891
+ * @version 134.0.0
45650
45892
  */
45651
45893
 
45652
45894
  /**
@@ -45791,38 +46033,13 @@ class UploadsApi {
45791
46033
  );
45792
46034
  }
45793
46035
 
45794
- /**
45795
- * Creates presigned url for uploading WFM historical data file. Requires data in json format.
45796
- *
45797
- * @param {Object} body query
45798
- */
45799
- postUploadsWorkforcemanagementHistoricaldataJson(body) {
45800
- // verify the required parameter 'body' is set
45801
- if (body === undefined || body === null) {
45802
- throw 'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataJson';
45803
- }
45804
-
45805
- return this.apiClient.callApi(
45806
- '/api/v2/uploads/workforcemanagement/historicaldata/json',
45807
- 'POST',
45808
- { },
45809
- { },
45810
- { },
45811
- { },
45812
- body,
45813
- ['PureCloud OAuth'],
45814
- ['application/json'],
45815
- ['application/json']
45816
- );
45817
- }
45818
-
45819
46036
  }
45820
46037
 
45821
46038
  class UsageApi {
45822
46039
  /**
45823
46040
  * Usage service.
45824
46041
  * @module purecloud-platform-client-v2/api/UsageApi
45825
- * @version 133.0.2
46042
+ * @version 134.0.0
45826
46043
  */
45827
46044
 
45828
46045
  /**
@@ -45893,7 +46110,7 @@ class UserRecordingsApi {
45893
46110
  /**
45894
46111
  * UserRecordings service.
45895
46112
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
45896
- * @version 133.0.2
46113
+ * @version 134.0.0
45897
46114
  */
45898
46115
 
45899
46116
  /**
@@ -46077,7 +46294,7 @@ class UsersApi {
46077
46294
  /**
46078
46295
  * Users service.
46079
46296
  * @module purecloud-platform-client-v2/api/UsersApi
46080
- * @version 133.0.2
46297
+ * @version 134.0.0
46081
46298
  */
46082
46299
 
46083
46300
  /**
@@ -48379,7 +48596,7 @@ class UtilitiesApi {
48379
48596
  /**
48380
48597
  * Utilities service.
48381
48598
  * @module purecloud-platform-client-v2/api/UtilitiesApi
48382
- * @version 133.0.2
48599
+ * @version 134.0.0
48383
48600
  */
48384
48601
 
48385
48602
  /**
@@ -48490,7 +48707,7 @@ class VoicemailApi {
48490
48707
  /**
48491
48708
  * Voicemail service.
48492
48709
  * @module purecloud-platform-client-v2/api/VoicemailApi
48493
- * @version 133.0.2
48710
+ * @version 134.0.0
48494
48711
  */
48495
48712
 
48496
48713
  /**
@@ -49157,7 +49374,7 @@ class WebChatApi {
49157
49374
  /**
49158
49375
  * WebChat service.
49159
49376
  * @module purecloud-platform-client-v2/api/WebChatApi
49160
- * @version 133.0.2
49377
+ * @version 134.0.0
49161
49378
  */
49162
49379
 
49163
49380
  /**
@@ -49701,7 +49918,7 @@ class WebDeploymentsApi {
49701
49918
  /**
49702
49919
  * WebDeployments service.
49703
49920
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
49704
- * @version 133.0.2
49921
+ * @version 134.0.0
49705
49922
  */
49706
49923
 
49707
49924
  /**
@@ -50056,7 +50273,7 @@ class WebMessagingApi {
50056
50273
  /**
50057
50274
  * WebMessaging service.
50058
50275
  * @module purecloud-platform-client-v2/api/WebMessagingApi
50059
- * @version 133.0.2
50276
+ * @version 134.0.0
50060
50277
  */
50061
50278
 
50062
50279
  /**
@@ -50102,7 +50319,7 @@ class WidgetsApi {
50102
50319
  /**
50103
50320
  * Widgets service.
50104
50321
  * @module purecloud-platform-client-v2/api/WidgetsApi
50105
- * @version 133.0.2
50322
+ * @version 134.0.0
50106
50323
  */
50107
50324
 
50108
50325
  /**
@@ -50248,7 +50465,7 @@ class WorkforceManagementApi {
50248
50465
  /**
50249
50466
  * WorkforceManagement service.
50250
50467
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
50251
- * @version 133.0.2
50468
+ * @version 134.0.0
50252
50469
  */
50253
50470
 
50254
50471
  /**
@@ -53246,6 +53463,86 @@ class WorkforceManagementApi {
53246
53463
  );
53247
53464
  }
53248
53465
 
53466
+ /**
53467
+ * Starts processing a schedule update
53468
+ * Call after uploading the schedule data to the url supplied by the /update/uploadurl route
53469
+ * @param {String} businessUnitId The ID of the business unit
53470
+ * @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
53471
+ * @param {String} scheduleId The ID of the schedule
53472
+ * @param {Object} body body
53473
+ */
53474
+ postWorkforcemanagementBusinessunitWeekScheduleUpdate(businessUnitId, weekId, scheduleId, body) {
53475
+ // verify the required parameter 'businessUnitId' is set
53476
+ if (businessUnitId === undefined || businessUnitId === null) {
53477
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
53478
+ }
53479
+ // verify the required parameter 'weekId' is set
53480
+ if (weekId === undefined || weekId === null) {
53481
+ throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
53482
+ }
53483
+ // verify the required parameter 'scheduleId' is set
53484
+ if (scheduleId === undefined || scheduleId === null) {
53485
+ throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
53486
+ }
53487
+ // verify the required parameter 'body' is set
53488
+ if (body === undefined || body === null) {
53489
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
53490
+ }
53491
+
53492
+ return this.apiClient.callApi(
53493
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update',
53494
+ 'POST',
53495
+ { 'businessUnitId': businessUnitId,'weekId': weekId,'scheduleId': scheduleId },
53496
+ { },
53497
+ { },
53498
+ { },
53499
+ body,
53500
+ ['PureCloud OAuth'],
53501
+ ['application/json'],
53502
+ ['application/json']
53503
+ );
53504
+ }
53505
+
53506
+ /**
53507
+ * Creates a signed upload URL for updating a schedule
53508
+ * Once the upload is complete, call the /{scheduleId}/update route to start the schedule update process
53509
+ * @param {String} businessUnitId The ID of the business unit
53510
+ * @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
53511
+ * @param {String} scheduleId The ID of the schedule
53512
+ * @param {Object} body body
53513
+ */
53514
+ postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl(businessUnitId, weekId, scheduleId, body) {
53515
+ // verify the required parameter 'businessUnitId' is set
53516
+ if (businessUnitId === undefined || businessUnitId === null) {
53517
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
53518
+ }
53519
+ // verify the required parameter 'weekId' is set
53520
+ if (weekId === undefined || weekId === null) {
53521
+ throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
53522
+ }
53523
+ // verify the required parameter 'scheduleId' is set
53524
+ if (scheduleId === undefined || scheduleId === null) {
53525
+ throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
53526
+ }
53527
+ // verify the required parameter 'body' is set
53528
+ if (body === undefined || body === null) {
53529
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
53530
+ }
53531
+
53532
+ return this.apiClient.callApi(
53533
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update/uploadurl',
53534
+ 'POST',
53535
+ { 'businessUnitId': businessUnitId,'weekId': weekId,'scheduleId': scheduleId },
53536
+ { },
53537
+ { },
53538
+ { },
53539
+ body,
53540
+ ['PureCloud OAuth'],
53541
+ ['application/json'],
53542
+ ['application/json']
53543
+ );
53544
+ }
53545
+
53249
53546
  /**
53250
53547
  * Create a blank schedule
53251
53548
  *
@@ -53316,6 +53613,76 @@ class WorkforceManagementApi {
53316
53613
  );
53317
53614
  }
53318
53615
 
53616
+ /**
53617
+ * Starts processing a schedule import
53618
+ * Call after uploading the schedule data to the url supplied by the /import/uploadurl route
53619
+ * @param {String} businessUnitId The ID of the business unit
53620
+ * @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
53621
+ * @param {Object} body
53622
+ */
53623
+ postWorkforcemanagementBusinessunitWeekSchedulesImport(businessUnitId, weekId, body) {
53624
+ // verify the required parameter 'businessUnitId' is set
53625
+ if (businessUnitId === undefined || businessUnitId === null) {
53626
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
53627
+ }
53628
+ // verify the required parameter 'weekId' is set
53629
+ if (weekId === undefined || weekId === null) {
53630
+ throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
53631
+ }
53632
+ // verify the required parameter 'body' is set
53633
+ if (body === undefined || body === null) {
53634
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
53635
+ }
53636
+
53637
+ return this.apiClient.callApi(
53638
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import',
53639
+ 'POST',
53640
+ { 'businessUnitId': businessUnitId,'weekId': weekId },
53641
+ { },
53642
+ { },
53643
+ { },
53644
+ body,
53645
+ ['PureCloud OAuth'],
53646
+ ['application/json'],
53647
+ ['application/json']
53648
+ );
53649
+ }
53650
+
53651
+ /**
53652
+ * Creates a signed upload URL for importing a schedule
53653
+ * Once the upload is complete, call the /import route to start the schedule import process
53654
+ * @param {String} businessUnitId The ID of the business unit
53655
+ * @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
53656
+ * @param {Object} body body
53657
+ */
53658
+ postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl(businessUnitId, weekId, body) {
53659
+ // verify the required parameter 'businessUnitId' is set
53660
+ if (businessUnitId === undefined || businessUnitId === null) {
53661
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
53662
+ }
53663
+ // verify the required parameter 'weekId' is set
53664
+ if (weekId === undefined || weekId === null) {
53665
+ throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
53666
+ }
53667
+ // verify the required parameter 'body' is set
53668
+ if (body === undefined || body === null) {
53669
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
53670
+ }
53671
+
53672
+ return this.apiClient.callApi(
53673
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import/uploadurl',
53674
+ 'POST',
53675
+ { 'businessUnitId': businessUnitId,'weekId': weekId },
53676
+ { },
53677
+ { },
53678
+ { },
53679
+ body,
53680
+ ['PureCloud OAuth'],
53681
+ ['application/json'],
53682
+ ['application/json']
53683
+ );
53684
+ }
53685
+
53319
53686
  /**
53320
53687
  * Copy a short term forecast
53321
53688
  *
@@ -53399,6 +53766,76 @@ class WorkforceManagementApi {
53399
53766
  );
53400
53767
  }
53401
53768
 
53769
+ /**
53770
+ * Starts importing the uploaded short term forecast
53771
+ * Call after uploading the forecast data to the url supplied by the /import/uploadurl route
53772
+ * @param {String} businessUnitId The business unit ID of the business unit to which the forecast belongs
53773
+ * @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
53774
+ * @param {Object} body
53775
+ */
53776
+ postWorkforcemanagementBusinessunitWeekShorttermforecastsImport(businessUnitId, weekDateId, body) {
53777
+ // verify the required parameter 'businessUnitId' is set
53778
+ if (businessUnitId === undefined || businessUnitId === null) {
53779
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
53780
+ }
53781
+ // verify the required parameter 'weekDateId' is set
53782
+ if (weekDateId === undefined || weekDateId === null) {
53783
+ throw 'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
53784
+ }
53785
+ // verify the required parameter 'body' is set
53786
+ if (body === undefined || body === null) {
53787
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
53788
+ }
53789
+
53790
+ return this.apiClient.callApi(
53791
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import',
53792
+ 'POST',
53793
+ { 'businessUnitId': businessUnitId,'weekDateId': weekDateId },
53794
+ { },
53795
+ { },
53796
+ { },
53797
+ body,
53798
+ ['PureCloud OAuth'],
53799
+ ['application/json'],
53800
+ ['application/json']
53801
+ );
53802
+ }
53803
+
53804
+ /**
53805
+ * Creates a signed upload URL for importing a short term forecast
53806
+ * Once the upload is complete, call the /import route to start the short term forecast import process
53807
+ * @param {String} businessUnitId The business unit ID of the business unit to which the forecast belongs
53808
+ * @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
53809
+ * @param {Object} body body
53810
+ */
53811
+ postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl(businessUnitId, weekDateId, body) {
53812
+ // verify the required parameter 'businessUnitId' is set
53813
+ if (businessUnitId === undefined || businessUnitId === null) {
53814
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
53815
+ }
53816
+ // verify the required parameter 'weekDateId' is set
53817
+ if (weekDateId === undefined || weekDateId === null) {
53818
+ throw 'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
53819
+ }
53820
+ // verify the required parameter 'body' is set
53821
+ if (body === undefined || body === null) {
53822
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
53823
+ }
53824
+
53825
+ return this.apiClient.callApi(
53826
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import/uploadurl',
53827
+ 'POST',
53828
+ { 'businessUnitId': businessUnitId,'weekDateId': weekDateId },
53829
+ { },
53830
+ { },
53831
+ { },
53832
+ body,
53833
+ ['PureCloud OAuth'],
53834
+ ['application/json'],
53835
+ ['application/json']
53836
+ );
53837
+ }
53838
+
53402
53839
  /**
53403
53840
  * Add a new business unit
53404
53841
  * It may take a minute or two for a new business unit to be available for api operations
@@ -54279,7 +54716,7 @@ class WorkforceManagementApi {
54279
54716
  * </pre>
54280
54717
  * </p>
54281
54718
  * @module purecloud-platform-client-v2/index
54282
- * @version 133.0.2
54719
+ * @version 134.0.0
54283
54720
  */
54284
54721
  class platformClient {
54285
54722
  constructor() {