purecloud-platform-client-v2 254.0.0 → 255.1.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 (98) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +815 -95
  3. package/dist/web-amd/purecloud-platform-client-v2.js +816 -95
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +285 -94
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +292 -2913
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +568 -50
  9. package/package.json +1 -2
  10. package/src/purecloud-platform-client-v2/ApiClient.js +5 -5
  11. package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +1 -0
  12. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +64 -1
  19. package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +2 -2
  38. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/IntentsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +2 -2
  78. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  94. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  95. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  96. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  97. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +710 -53
  98. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -1,12 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var axios = require('axios');
4
- var qs = require('qs');
5
4
 
6
5
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
6
 
8
7
  var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
9
- var qs__default = /*#__PURE__*/_interopDefaultLegacy(qs);
10
8
 
11
9
  var PureCloudRegionHosts = {
12
10
  us_east_1: 'mypurecloud.com',
@@ -26,6 +24,7 @@ var PureCloudRegionHosts = {
26
24
  eu_central_2: 'euc2.pure.cloud',
27
25
  mx_central_1: 'mxc1.pure.cloud',
28
26
  ap_southeast_1: 'apse1.pure.cloud',
27
+ eusc_de_east_1: 'edee1.eusc-pure.cloud',
29
28
  };
30
29
 
31
30
  class AbstractHttpClient {
@@ -748,7 +747,7 @@ class Configuration {
748
747
 
749
748
  /**
750
749
  * @module purecloud-platform-client-v2/ApiClient
751
- * @version 254.0.0
750
+ * @version 255.1.0
752
751
  */
753
752
  class ApiClient {
754
753
  /**
@@ -1378,11 +1377,11 @@ class ApiClient {
1378
1377
  var headers = {
1379
1378
  'Content-Type': 'application/x-www-form-urlencoded'
1380
1379
  };
1381
- var data = qs__default["default"].stringify({ grant_type: 'authorization_code',
1380
+ var data = new URLSearchParams({ grant_type: 'authorization_code',
1382
1381
  code: authCode,
1383
1382
  code_verifier: codeVerifier,
1384
1383
  client_id: clientId,
1385
- redirect_uri: redirectUri });
1384
+ redirect_uri: redirectUri }).toString();
1386
1385
 
1387
1386
  var requestOptions = new HttpRequestOptions(`${loginBasePath}/oauth/token`, `POST`, headers, null, data, this.timeout);
1388
1387
  const httpClient = this.getHttpClient();
@@ -1833,7 +1832,8 @@ class ApiClient {
1833
1832
  'Authorization': 'Basic ' + encodedData,
1834
1833
  'Content-Type': 'application/x-www-form-urlencoded'
1835
1834
  };
1836
- var requestOptions = new HttpRequestOptions(`${loginBasePath}/oauth/token`, `POST`, headers, null, qs__default["default"].stringify(data), this.timeout);
1835
+ var queryData = new URLSearchParams(data).toString();
1836
+ var requestOptions = new HttpRequestOptions(`${loginBasePath}/oauth/token`, `POST`, headers, null, queryData, this.timeout);
1837
1837
  const httpClient = this.getHttpClient();
1838
1838
  return httpClient.request(requestOptions);
1839
1839
  }
@@ -2439,7 +2439,7 @@ class AIStudioApi {
2439
2439
  /**
2440
2440
  * AIStudio service.
2441
2441
  * @module purecloud-platform-client-v2/api/AIStudioApi
2442
- * @version 254.0.0
2442
+ * @version 255.1.0
2443
2443
  */
2444
2444
 
2445
2445
  /**
@@ -3154,7 +3154,7 @@ class AgentAssistantsApi {
3154
3154
  /**
3155
3155
  * AgentAssistants service.
3156
3156
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
3157
- * @version 254.0.0
3157
+ * @version 255.1.0
3158
3158
  */
3159
3159
 
3160
3160
  /**
@@ -3959,7 +3959,7 @@ class AgentCopilotApi {
3959
3959
  /**
3960
3960
  * AgentCopilot service.
3961
3961
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
3962
- * @version 254.0.0
3962
+ * @version 255.1.0
3963
3963
  */
3964
3964
 
3965
3965
  /**
@@ -4071,7 +4071,7 @@ class AgentUIApi {
4071
4071
  /**
4072
4072
  * AgentUI service.
4073
4073
  * @module purecloud-platform-client-v2/api/AgentUIApi
4074
- * @version 254.0.0
4074
+ * @version 255.1.0
4075
4075
  */
4076
4076
 
4077
4077
  /**
@@ -4222,7 +4222,7 @@ class AlertingApi {
4222
4222
  /**
4223
4223
  * Alerting service.
4224
4224
  * @module purecloud-platform-client-v2/api/AlertingApi
4225
- * @version 254.0.0
4225
+ * @version 255.1.0
4226
4226
  */
4227
4227
 
4228
4228
  /**
@@ -4683,7 +4683,7 @@ class AnalyticsApi {
4683
4683
  /**
4684
4684
  * Analytics service.
4685
4685
  * @module purecloud-platform-client-v2/api/AnalyticsApi
4686
- * @version 254.0.0
4686
+ * @version 255.1.0
4687
4687
  */
4688
4688
 
4689
4689
  /**
@@ -8908,7 +8908,7 @@ class ArchitectApi {
8908
8908
  /**
8909
8909
  * Architect service.
8910
8910
  * @module purecloud-platform-client-v2/api/ArchitectApi
8911
- * @version 254.0.0
8911
+ * @version 255.1.0
8912
8912
  */
8913
8913
 
8914
8914
  /**
@@ -11937,6 +11937,38 @@ class ArchitectApi {
11937
11937
  );
11938
11938
  }
11939
11939
 
11940
+ /**
11941
+ * Fetch Architect Validate Job Status
11942
+ *
11943
+ * @param {String} jobId Job ID
11944
+ * @param {Object} opts Optional parameters
11945
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand.
11946
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
11947
+ * getFlowsValidateJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11948
+ */
11949
+ getFlowsValidateJob(jobId, opts) {
11950
+ opts = opts || {};
11951
+
11952
+ // verify the required parameter 'jobId' is set
11953
+ if (jobId === undefined || jobId === null || jobId === '') {
11954
+ throw 'Missing the required parameter "jobId" when calling getFlowsValidateJob';
11955
+ }
11956
+
11957
+ return this.apiClient.callApi(
11958
+ '/api/v2/flows/validate/jobs/{jobId}',
11959
+ 'GET',
11960
+ { 'jobId': jobId },
11961
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
11962
+ { },
11963
+ { },
11964
+ null,
11965
+ ['PureCloud OAuth'],
11966
+ ['application/json'],
11967
+ ['application/json'],
11968
+ opts['customHeaders']
11969
+ );
11970
+ }
11971
+
11940
11972
  /**
11941
11973
  * Updates a grammar
11942
11974
  *
@@ -13236,6 +13268,37 @@ class ArchitectApi {
13236
13268
  );
13237
13269
  }
13238
13270
 
13271
+ /**
13272
+ * Register Architect Validate Job
13273
+ *
13274
+ * @param {Object} body
13275
+ * @param {Object} opts Optional parameters
13276
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
13277
+ * postFlowsValidateJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13278
+ */
13279
+ postFlowsValidateJobs(body, opts) {
13280
+ opts = opts || {};
13281
+
13282
+ // verify the required parameter 'body' is set
13283
+ if (body === undefined || body === null) {
13284
+ throw 'Missing the required parameter "body" when calling postFlowsValidateJobs';
13285
+ }
13286
+
13287
+ return this.apiClient.callApi(
13288
+ '/api/v2/flows/validate/jobs',
13289
+ 'POST',
13290
+ { },
13291
+ { },
13292
+ { },
13293
+ { },
13294
+ body,
13295
+ ['PureCloud OAuth'],
13296
+ ['application/json'],
13297
+ ['application/json'],
13298
+ opts['customHeaders']
13299
+ );
13300
+ }
13301
+
13239
13302
  /**
13240
13303
  * Updates a emergency group by ID
13241
13304
  *
@@ -13768,7 +13831,7 @@ class AssistantCopilotVariationsApi {
13768
13831
  /**
13769
13832
  * AssistantCopilotVariations service.
13770
13833
  * @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
13771
- * @version 254.0.0
13834
+ * @version 255.1.0
13772
13835
  */
13773
13836
 
13774
13837
  /**
@@ -13964,7 +14027,7 @@ class AuditApi {
13964
14027
  /**
13965
14028
  * Audit service.
13966
14029
  * @module purecloud-platform-client-v2/api/AuditApi
13967
- * @version 254.0.0
14030
+ * @version 255.1.0
13968
14031
  */
13969
14032
 
13970
14033
  /**
@@ -14191,7 +14254,7 @@ class AuthorizationApi {
14191
14254
  /**
14192
14255
  * Authorization service.
14193
14256
  * @module purecloud-platform-client-v2/api/AuthorizationApi
14194
- * @version 254.0.0
14257
+ * @version 255.1.0
14195
14258
  */
14196
14259
 
14197
14260
  /**
@@ -16116,7 +16179,7 @@ class BackgroundAssistantApi {
16116
16179
  /**
16117
16180
  * BackgroundAssistant service.
16118
16181
  * @module purecloud-platform-client-v2/api/BackgroundAssistantApi
16119
- * @version 254.0.0
16182
+ * @version 255.1.0
16120
16183
  */
16121
16184
 
16122
16185
  /**
@@ -16190,7 +16253,7 @@ class BillingApi {
16190
16253
  /**
16191
16254
  * Billing service.
16192
16255
  * @module purecloud-platform-client-v2/api/BillingApi
16193
- * @version 254.0.0
16256
+ * @version 255.1.0
16194
16257
  */
16195
16258
 
16196
16259
  /**
@@ -16474,7 +16537,7 @@ class BusinessRulesApi {
16474
16537
  /**
16475
16538
  * BusinessRules service.
16476
16539
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
16477
- * @version 254.0.0
16540
+ * @version 255.1.0
16478
16541
  */
16479
16542
 
16480
16543
  /**
@@ -17922,7 +17985,7 @@ class CarrierServicesApi {
17922
17985
  /**
17923
17986
  * CarrierServices service.
17924
17987
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
17925
- * @version 254.0.0
17988
+ * @version 255.1.0
17926
17989
  */
17927
17990
 
17928
17991
  /**
@@ -17999,7 +18062,7 @@ class CaseManagementApi {
17999
18062
  /**
18000
18063
  * CaseManagement service.
18001
18064
  * @module purecloud-platform-client-v2/api/CaseManagementApi
18002
- * @version 254.0.0
18065
+ * @version 255.1.0
18003
18066
  */
18004
18067
 
18005
18068
  /**
@@ -19374,7 +19437,7 @@ class ChatApi {
19374
19437
  /**
19375
19438
  * Chat service.
19376
19439
  * @module purecloud-platform-client-v2/api/ChatApi
19377
- * @version 254.0.0
19440
+ * @version 255.1.0
19378
19441
  */
19379
19442
 
19380
19443
  /**
@@ -20513,7 +20576,7 @@ class CoachingApi {
20513
20576
  /**
20514
20577
  * Coaching service.
20515
20578
  * @module purecloud-platform-client-v2/api/CoachingApi
20516
- * @version 254.0.0
20579
+ * @version 255.1.0
20517
20580
  */
20518
20581
 
20519
20582
  /**
@@ -21227,7 +21290,7 @@ class ContentManagementApi {
21227
21290
  /**
21228
21291
  * ContentManagement service.
21229
21292
  * @module purecloud-platform-client-v2/api/ContentManagementApi
21230
- * @version 254.0.0
21293
+ * @version 255.1.0
21231
21294
  */
21232
21295
 
21233
21296
  /**
@@ -22422,7 +22485,7 @@ class ConversationsApi {
22422
22485
  /**
22423
22486
  * Conversations service.
22424
22487
  * @module purecloud-platform-client-v2/api/ConversationsApi
22425
- * @version 254.0.0
22488
+ * @version 255.1.0
22426
22489
  */
22427
22490
 
22428
22491
  /**
@@ -33524,7 +33587,7 @@ class DataExtensionsApi {
33524
33587
  /**
33525
33588
  * DataExtensions service.
33526
33589
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
33527
- * @version 254.0.0
33590
+ * @version 255.1.0
33528
33591
  */
33529
33592
 
33530
33593
  /**
@@ -33625,7 +33688,7 @@ class DataPrivacyApi {
33625
33688
  /**
33626
33689
  * DataPrivacy service.
33627
33690
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
33628
- * @version 254.0.0
33691
+ * @version 255.1.0
33629
33692
  */
33630
33693
 
33631
33694
  /**
@@ -33822,7 +33885,7 @@ class DownloadsApi {
33822
33885
  /**
33823
33886
  * Downloads service.
33824
33887
  * @module purecloud-platform-client-v2/api/DownloadsApi
33825
- * @version 254.0.0
33888
+ * @version 255.1.0
33826
33889
  */
33827
33890
 
33828
33891
  /**
@@ -33876,7 +33939,7 @@ class EmailsApi {
33876
33939
  /**
33877
33940
  * Emails service.
33878
33941
  * @module purecloud-platform-client-v2/api/EmailsApi
33879
- * @version 254.0.0
33942
+ * @version 255.1.0
33880
33943
  */
33881
33944
 
33882
33945
  /**
@@ -34024,7 +34087,7 @@ class EmployeeEngagementApi {
34024
34087
  /**
34025
34088
  * EmployeeEngagement service.
34026
34089
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
34027
- * @version 254.0.0
34090
+ * @version 255.1.0
34028
34091
  */
34029
34092
 
34030
34093
  /**
@@ -34228,7 +34291,7 @@ class EventsApi {
34228
34291
  /**
34229
34292
  * Events service.
34230
34293
  * @module purecloud-platform-client-v2/api/EventsApi
34231
- * @version 254.0.0
34294
+ * @version 255.1.0
34232
34295
  */
34233
34296
 
34234
34297
  /**
@@ -34370,7 +34433,7 @@ class ExternalContactsApi {
34370
34433
  /**
34371
34434
  * ExternalContacts service.
34372
34435
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
34373
- * @version 254.0.0
34436
+ * @version 255.1.0
34374
34437
  */
34375
34438
 
34376
34439
  /**
@@ -34984,7 +35047,7 @@ class ExternalContactsApi {
34984
35047
  }
34985
35048
 
34986
35049
  /**
34987
- * List exports for organization
35050
+ * List contact exports for organization
34988
35051
  *
34989
35052
  * @param {Object} opts Optional parameters
34990
35053
  * @param {Array.<String>} opts.divisionIds Division IDs of entities
@@ -38141,7 +38204,7 @@ class FaxApi {
38141
38204
  /**
38142
38205
  * Fax service.
38143
38206
  * @module purecloud-platform-client-v2/api/FaxApi
38144
- * @version 254.0.0
38207
+ * @version 255.1.0
38145
38208
  */
38146
38209
 
38147
38210
  /**
@@ -38390,7 +38453,7 @@ class FlowsApi {
38390
38453
  /**
38391
38454
  * Flows service.
38392
38455
  * @module purecloud-platform-client-v2/api/FlowsApi
38393
- * @version 254.0.0
38456
+ * @version 255.1.0
38394
38457
  */
38395
38458
 
38396
38459
  /**
@@ -38624,7 +38687,7 @@ class GamificationApi {
38624
38687
  /**
38625
38688
  * Gamification service.
38626
38689
  * @module purecloud-platform-client-v2/api/GamificationApi
38627
- * @version 254.0.0
38690
+ * @version 255.1.0
38628
38691
  */
38629
38692
 
38630
38693
  /**
@@ -41476,7 +41539,7 @@ class GeneralDataProtectionRegulationApi {
41476
41539
  /**
41477
41540
  * GeneralDataProtectionRegulation service.
41478
41541
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
41479
- * @version 254.0.0
41542
+ * @version 255.1.0
41480
41543
  */
41481
41544
 
41482
41545
  /**
@@ -41620,7 +41683,7 @@ class GeolocationApi {
41620
41683
  /**
41621
41684
  * Geolocation service.
41622
41685
  * @module purecloud-platform-client-v2/api/GeolocationApi
41623
- * @version 254.0.0
41686
+ * @version 255.1.0
41624
41687
  */
41625
41688
 
41626
41689
  /**
@@ -41771,7 +41834,7 @@ class GreetingsApi {
41771
41834
  /**
41772
41835
  * Greetings service.
41773
41836
  * @module purecloud-platform-client-v2/api/GreetingsApi
41774
- * @version 254.0.0
41837
+ * @version 255.1.0
41775
41838
  */
41776
41839
 
41777
41840
  /**
@@ -42387,7 +42450,7 @@ class GroupsApi {
42387
42450
  /**
42388
42451
  * Groups service.
42389
42452
  * @module purecloud-platform-client-v2/api/GroupsApi
42390
- * @version 254.0.0
42453
+ * @version 255.1.0
42391
42454
  */
42392
42455
 
42393
42456
  /**
@@ -42978,7 +43041,7 @@ class IdentityProviderApi {
42978
43041
  /**
42979
43042
  * IdentityProvider service.
42980
43043
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
42981
- * @version 254.0.0
43044
+ * @version 255.1.0
42982
43045
  */
42983
43046
 
42984
43047
  /**
@@ -44029,7 +44092,7 @@ class InfrastructureAsCodeApi {
44029
44092
  /**
44030
44093
  * InfrastructureAsCode service.
44031
44094
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
44032
- * @version 254.0.0
44095
+ * @version 255.1.0
44033
44096
  */
44034
44097
 
44035
44098
  /**
@@ -44209,7 +44272,7 @@ class IntegrationsApi {
44209
44272
  /**
44210
44273
  * Integrations service.
44211
44274
  * @module purecloud-platform-client-v2/api/IntegrationsApi
44212
- * @version 254.0.0
44275
+ * @version 255.1.0
44213
44276
  */
44214
44277
 
44215
44278
  /**
@@ -47181,7 +47244,7 @@ class IntentsApi {
47181
47244
  /**
47182
47245
  * Intents service.
47183
47246
  * @module purecloud-platform-client-v2/api/IntentsApi
47184
- * @version 254.0.0
47247
+ * @version 255.1.0
47185
47248
  */
47186
47249
 
47187
47250
  /**
@@ -47713,7 +47776,7 @@ class JourneyApi {
47713
47776
  /**
47714
47777
  * Journey service.
47715
47778
  * @module purecloud-platform-client-v2/api/JourneyApi
47716
- * @version 254.0.0
47779
+ * @version 255.1.0
47717
47780
  */
47718
47781
 
47719
47782
  /**
@@ -50689,7 +50752,7 @@ class KnowledgeApi {
50689
50752
  /**
50690
50753
  * Knowledge service.
50691
50754
  * @module purecloud-platform-client-v2/api/KnowledgeApi
50692
- * @version 254.0.0
50755
+ * @version 255.1.0
50693
50756
  */
50694
50757
 
50695
50758
  /**
@@ -54940,7 +55003,7 @@ class LanguageUnderstandingApi {
54940
55003
  /**
54941
55004
  * LanguageUnderstanding service.
54942
55005
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
54943
- * @version 254.0.0
55006
+ * @version 255.1.0
54944
55007
  */
54945
55008
 
54946
55009
  /**
@@ -56314,7 +56377,7 @@ class LanguagesApi {
56314
56377
  /**
56315
56378
  * Languages service.
56316
56379
  * @module purecloud-platform-client-v2/api/LanguagesApi
56317
- * @version 254.0.0
56380
+ * @version 255.1.0
56318
56381
  */
56319
56382
 
56320
56383
  /**
@@ -56573,7 +56636,7 @@ class LearningApi {
56573
56636
  /**
56574
56637
  * Learning service.
56575
56638
  * @module purecloud-platform-client-v2/api/LearningApi
56576
- * @version 254.0.0
56639
+ * @version 255.1.0
56577
56640
  */
56578
56641
 
56579
56642
  /**
@@ -57821,7 +57884,7 @@ class LicenseApi {
57821
57884
  /**
57822
57885
  * License service.
57823
57886
  * @module purecloud-platform-client-v2/api/LicenseApi
57824
- * @version 254.0.0
57887
+ * @version 255.1.0
57825
57888
  */
57826
57889
 
57827
57890
  /**
@@ -58119,7 +58182,7 @@ class LocationsApi {
58119
58182
  /**
58120
58183
  * Locations service.
58121
58184
  * @module purecloud-platform-client-v2/api/LocationsApi
58122
- * @version 254.0.0
58185
+ * @version 255.1.0
58123
58186
  */
58124
58187
 
58125
58188
  /**
@@ -58386,7 +58449,7 @@ class LogCaptureApi {
58386
58449
  /**
58387
58450
  * LogCapture service.
58388
58451
  * @module purecloud-platform-client-v2/api/LogCaptureApi
58389
- * @version 254.0.0
58452
+ * @version 255.1.0
58390
58453
  */
58391
58454
 
58392
58455
  /**
@@ -58608,7 +58671,7 @@ class MessagingApi {
58608
58671
  /**
58609
58672
  * Messaging service.
58610
58673
  * @module purecloud-platform-client-v2/api/MessagingApi
58611
- * @version 254.0.0
58674
+ * @version 255.1.0
58612
58675
  */
58613
58676
 
58614
58677
  /**
@@ -59026,7 +59089,7 @@ class MobileDevicesApi {
59026
59089
  /**
59027
59090
  * MobileDevices service.
59028
59091
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
59029
- * @version 254.0.0
59092
+ * @version 255.1.0
59030
59093
  */
59031
59094
 
59032
59095
  /**
@@ -59196,7 +59259,7 @@ class NotificationsApi {
59196
59259
  /**
59197
59260
  * Notifications service.
59198
59261
  * @module purecloud-platform-client-v2/api/NotificationsApi
59199
- * @version 254.0.0
59262
+ * @version 255.1.0
59200
59263
  */
59201
59264
 
59202
59265
  /**
@@ -59457,7 +59520,7 @@ class OAuthApi {
59457
59520
  /**
59458
59521
  * OAuth service.
59459
59522
  * @module purecloud-platform-client-v2/api/OAuthApi
59460
- * @version 254.0.0
59523
+ * @version 255.1.0
59461
59524
  */
59462
59525
 
59463
59526
  /**
@@ -59873,7 +59936,7 @@ class ObjectsApi {
59873
59936
  /**
59874
59937
  * Objects service.
59875
59938
  * @module purecloud-platform-client-v2/api/ObjectsApi
59876
- * @version 254.0.0
59939
+ * @version 255.1.0
59877
59940
  */
59878
59941
 
59879
59942
  /**
@@ -60237,7 +60300,7 @@ class OperationalEventsApi {
60237
60300
  /**
60238
60301
  * OperationalEvents service.
60239
60302
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
60240
- * @version 254.0.0
60303
+ * @version 255.1.0
60241
60304
  */
60242
60305
 
60243
60306
  /**
@@ -60368,7 +60431,7 @@ class OrganizationApi {
60368
60431
  /**
60369
60432
  * Organization service.
60370
60433
  * @module purecloud-platform-client-v2/api/OrganizationApi
60371
- * @version 254.0.0
60434
+ * @version 255.1.0
60372
60435
  */
60373
60436
 
60374
60437
  /**
@@ -60929,7 +60992,7 @@ class OrganizationAuthorizationApi {
60929
60992
  /**
60930
60993
  * OrganizationAuthorization service.
60931
60994
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
60932
- * @version 254.0.0
60995
+ * @version 255.1.0
60933
60996
  */
60934
60997
 
60935
60998
  /**
@@ -62533,7 +62596,7 @@ class OutboundApi {
62533
62596
  /**
62534
62597
  * Outbound service.
62535
62598
  * @module purecloud-platform-client-v2/api/OutboundApi
62536
- * @version 254.0.0
62599
+ * @version 255.1.0
62537
62600
  */
62538
62601
 
62539
62602
  /**
@@ -68120,7 +68183,7 @@ class PresenceApi {
68120
68183
  /**
68121
68184
  * Presence service.
68122
68185
  * @module purecloud-platform-client-v2/api/PresenceApi
68123
- * @version 254.0.0
68186
+ * @version 255.1.0
68124
68187
  */
68125
68188
 
68126
68189
  /**
@@ -68978,7 +69041,7 @@ class ProcessAutomationApi {
68978
69041
  /**
68979
69042
  * ProcessAutomation service.
68980
69043
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
68981
- * @version 254.0.0
69044
+ * @version 255.1.0
68982
69045
  */
68983
69046
 
68984
69047
  /**
@@ -69399,7 +69462,7 @@ class QualityApi {
69399
69462
  /**
69400
69463
  * Quality service.
69401
69464
  * @module purecloud-platform-client-v2/api/QualityApi
69402
- * @version 254.0.0
69465
+ * @version 255.1.0
69403
69466
  */
69404
69467
 
69405
69468
  /**
@@ -71749,7 +71812,7 @@ class RecordingApi {
71749
71812
  /**
71750
71813
  * Recording service.
71751
71814
  * @module purecloud-platform-client-v2/api/RecordingApi
71752
- * @version 254.0.0
71815
+ * @version 255.1.0
71753
71816
  */
71754
71817
 
71755
71818
  /**
@@ -73597,7 +73660,7 @@ class ResponseManagementApi {
73597
73660
  /**
73598
73661
  * ResponseManagement service.
73599
73662
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
73600
- * @version 254.0.0
73663
+ * @version 255.1.0
73601
73664
  */
73602
73665
 
73603
73666
  /**
@@ -74241,7 +74304,7 @@ class RoutingApi {
74241
74304
  /**
74242
74305
  * Routing service.
74243
74306
  * @module purecloud-platform-client-v2/api/RoutingApi
74244
- * @version 254.0.0
74307
+ * @version 255.1.0
74245
74308
  */
74246
74309
 
74247
74310
  /**
@@ -79803,7 +79866,7 @@ class SCIMApi {
79803
79866
  /**
79804
79867
  * SCIM service.
79805
79868
  * @module purecloud-platform-client-v2/api/SCIMApi
79806
- * @version 254.0.0
79869
+ * @version 255.1.0
79807
79870
  */
79808
79871
 
79809
79872
  /**
@@ -80764,7 +80827,7 @@ class ScriptsApi {
80764
80827
  /**
80765
80828
  * Scripts service.
80766
80829
  * @module purecloud-platform-client-v2/api/ScriptsApi
80767
- * @version 254.0.0
80830
+ * @version 255.1.0
80768
80831
  */
80769
80832
 
80770
80833
  /**
@@ -81273,7 +81336,7 @@ class SearchApi {
81273
81336
  /**
81274
81337
  * Search service.
81275
81338
  * @module purecloud-platform-client-v2/api/SearchApi
81276
- * @version 254.0.0
81339
+ * @version 255.1.0
81277
81340
  */
81278
81341
 
81279
81342
  /**
@@ -82089,7 +82152,7 @@ class SettingsApi {
82089
82152
  /**
82090
82153
  * Settings service.
82091
82154
  * @module purecloud-platform-client-v2/api/SettingsApi
82092
- * @version 254.0.0
82155
+ * @version 255.1.0
82093
82156
  */
82094
82157
 
82095
82158
  /**
@@ -82498,7 +82561,7 @@ class SocialMediaApi {
82498
82561
  /**
82499
82562
  * SocialMedia service.
82500
82563
  * @module purecloud-platform-client-v2/api/SocialMediaApi
82501
- * @version 254.0.0
82564
+ * @version 255.1.0
82502
82565
  */
82503
82566
 
82504
82567
  /**
@@ -84483,7 +84546,7 @@ class SpeechTextAnalyticsApi {
84483
84546
  /**
84484
84547
  * SpeechTextAnalytics service.
84485
84548
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
84486
- * @version 254.0.0
84549
+ * @version 255.1.0
84487
84550
  */
84488
84551
 
84489
84552
  /**
@@ -84965,7 +85028,7 @@ class SpeechTextAnalyticsApi {
84965
85028
  * @param {String} opts.dialect The key for filter the listing by dialect, dialect format is {language}-{country} where language follows ISO 639-1 standard and country follows ISO 3166-1 alpha 2 standard
84966
85029
  * @param {Object} opts.transcriptionEngine Filter by transcription engine, If not provided, all transcription engines will be considered
84967
85030
  * @param {String} opts.nextPage The key for listing the next page
84968
- * @param {Number} opts.pageSize The page size for the listing (default to 500)
85031
+ * @param {Number} opts.pageSize The page size for the listing. Default is 500 per page. Note: organizations may store up to 1000 dictionary terms per dialect; use nextPage to paginate beyond the first page when listing a full dialect vocabulary. (default to 500)
84969
85032
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
84970
85033
  */
84971
85034
  getSpeechandtextanalyticsDictionaryfeedback(opts) {
@@ -86435,7 +86498,7 @@ class StationsApi {
86435
86498
  /**
86436
86499
  * Stations service.
86437
86500
  * @module purecloud-platform-client-v2/api/StationsApi
86438
- * @version 254.0.0
86501
+ * @version 255.1.0
86439
86502
  */
86440
86503
 
86441
86504
  /**
@@ -86549,7 +86612,7 @@ class SuggestApi {
86549
86612
  /**
86550
86613
  * Suggest service.
86551
86614
  * @module purecloud-platform-client-v2/api/SuggestApi
86552
- * @version 254.0.0
86615
+ * @version 255.1.0
86553
86616
  */
86554
86617
 
86555
86618
  /**
@@ -86696,7 +86759,7 @@ class TaskManagementApi {
86696
86759
  /**
86697
86760
  * TaskManagement service.
86698
86761
  * @module purecloud-platform-client-v2/api/TaskManagementApi
86699
- * @version 254.0.0
86762
+ * @version 255.1.0
86700
86763
  */
86701
86764
 
86702
86765
  /**
@@ -89192,7 +89255,7 @@ class TeamsApi {
89192
89255
  /**
89193
89256
  * Teams service.
89194
89257
  * @module purecloud-platform-client-v2/api/TeamsApi
89195
- * @version 254.0.0
89258
+ * @version 255.1.0
89196
89259
  */
89197
89260
 
89198
89261
  /**
@@ -89535,7 +89598,7 @@ class TelephonyApi {
89535
89598
  /**
89536
89599
  * Telephony service.
89537
89600
  * @module purecloud-platform-client-v2/api/TelephonyApi
89538
- * @version 254.0.0
89601
+ * @version 255.1.0
89539
89602
  */
89540
89603
 
89541
89604
  /**
@@ -90209,7 +90272,7 @@ class TelephonyProvidersEdgeApi {
90209
90272
  /**
90210
90273
  * TelephonyProvidersEdge service.
90211
90274
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
90212
- * @version 254.0.0
90275
+ * @version 255.1.0
90213
90276
  */
90214
90277
 
90215
90278
  /**
@@ -94187,7 +94250,7 @@ class TextbotsApi {
94187
94250
  /**
94188
94251
  * Textbots service.
94189
94252
  * @module purecloud-platform-client-v2/api/TextbotsApi
94190
- * @version 254.0.0
94253
+ * @version 255.1.0
94191
94254
  */
94192
94255
 
94193
94256
  /**
@@ -94333,7 +94396,7 @@ class TokensApi {
94333
94396
  /**
94334
94397
  * Tokens service.
94335
94398
  * @module purecloud-platform-client-v2/api/TokensApi
94336
- * @version 254.0.0
94399
+ * @version 255.1.0
94337
94400
  */
94338
94401
 
94339
94402
  /**
@@ -94511,7 +94574,7 @@ class UploadsApi {
94511
94574
  /**
94512
94575
  * Uploads service.
94513
94576
  * @module purecloud-platform-client-v2/api/UploadsApi
94514
- * @version 254.0.0
94577
+ * @version 255.1.0
94515
94578
  */
94516
94579
 
94517
94580
  /**
@@ -94882,7 +94945,7 @@ class UsageApi {
94882
94945
  /**
94883
94946
  * Usage service.
94884
94947
  * @module purecloud-platform-client-v2/api/UsageApi
94885
- * @version 254.0.0
94948
+ * @version 255.1.0
94886
94949
  */
94887
94950
 
94888
94951
  /**
@@ -95260,7 +95323,7 @@ class UserRecordingsApi {
95260
95323
  /**
95261
95324
  * UserRecordings service.
95262
95325
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
95263
- * @version 254.0.0
95326
+ * @version 255.1.0
95264
95327
  */
95265
95328
 
95266
95329
  /**
@@ -95462,7 +95525,7 @@ class UsersApi {
95462
95525
  /**
95463
95526
  * Users service.
95464
95527
  * @module purecloud-platform-client-v2/api/UsersApi
95465
- * @version 254.0.0
95528
+ * @version 255.1.0
95466
95529
  */
95467
95530
 
95468
95531
  /**
@@ -99477,7 +99540,7 @@ class UsersRulesApi {
99477
99540
  /**
99478
99541
  * UsersRules service.
99479
99542
  * @module purecloud-platform-client-v2/api/UsersRulesApi
99480
- * @version 254.0.0
99543
+ * @version 255.1.0
99481
99544
  */
99482
99545
 
99483
99546
  /**
@@ -99794,7 +99857,7 @@ class UtilitiesApi {
99794
99857
  /**
99795
99858
  * Utilities service.
99796
99859
  * @module purecloud-platform-client-v2/api/UtilitiesApi
99797
- * @version 254.0.0
99860
+ * @version 255.1.0
99798
99861
  */
99799
99862
 
99800
99863
  /**
@@ -99922,7 +99985,7 @@ class VoicemailApi {
99922
99985
  /**
99923
99986
  * Voicemail service.
99924
99987
  * @module purecloud-platform-client-v2/api/VoicemailApi
99925
- * @version 254.0.0
99988
+ * @version 255.1.0
99926
99989
  */
99927
99990
 
99928
99991
  /**
@@ -100752,7 +100815,7 @@ class WebChatApi {
100752
100815
  /**
100753
100816
  * WebChat service.
100754
100817
  * @module purecloud-platform-client-v2/api/WebChatApi
100755
- * @version 254.0.0
100818
+ * @version 255.1.0
100756
100819
  */
100757
100820
 
100758
100821
  /**
@@ -101404,7 +101467,7 @@ class WebDeploymentsApi {
101404
101467
  /**
101405
101468
  * WebDeployments service.
101406
101469
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
101407
- * @version 254.0.0
101470
+ * @version 255.1.0
101408
101471
  */
101409
101472
 
101410
101473
  /**
@@ -102082,7 +102145,7 @@ class WebMessagingApi {
102082
102145
  /**
102083
102146
  * WebMessaging service.
102084
102147
  * @module purecloud-platform-client-v2/api/WebMessagingApi
102085
- * @version 254.0.0
102148
+ * @version 255.1.0
102086
102149
  */
102087
102150
 
102088
102151
  /**
@@ -102245,7 +102308,7 @@ class WidgetsApi {
102245
102308
  /**
102246
102309
  * Widgets service.
102247
102310
  * @module purecloud-platform-client-v2/api/WidgetsApi
102248
- * @version 254.0.0
102311
+ * @version 255.1.0
102249
102312
  */
102250
102313
 
102251
102314
  /**
@@ -102421,7 +102484,7 @@ class WorkforceManagementApi {
102421
102484
  /**
102422
102485
  * WorkforceManagement service.
102423
102486
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
102424
- * @version 254.0.0
102487
+ * @version 255.1.0
102425
102488
  */
102426
102489
 
102427
102490
  /**
@@ -102572,6 +102635,81 @@ class WorkforceManagementApi {
102572
102635
  );
102573
102636
  }
102574
102637
 
102638
+ /**
102639
+ * Delete a schedule bid
102640
+ *
102641
+ * @param {String} businessUnitId The ID of the business unit
102642
+ * @param {String} bidId The ID of the schedule bid
102643
+ * @param {Object} opts Optional parameters
102644
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
102645
+ */
102646
+ deleteWorkforcemanagementBusinessunitSchedulebid(businessUnitId, bidId, opts) {
102647
+ opts = opts || {};
102648
+
102649
+ // verify the required parameter 'businessUnitId' is set
102650
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
102651
+ throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulebid';
102652
+ }
102653
+ // verify the required parameter 'bidId' is set
102654
+ if (bidId === undefined || bidId === null || bidId === '') {
102655
+ throw 'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitSchedulebid';
102656
+ }
102657
+
102658
+ return this.apiClient.callApi(
102659
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}',
102660
+ 'DELETE',
102661
+ { 'businessUnitId': businessUnitId,'bidId': bidId },
102662
+ { },
102663
+ { },
102664
+ { },
102665
+ null,
102666
+ ['PureCloud OAuth'],
102667
+ ['application/json'],
102668
+ ['application/json'],
102669
+ opts['customHeaders']
102670
+ );
102671
+ }
102672
+
102673
+ /**
102674
+ * Delete a schedule bid group by bid group Id
102675
+ *
102676
+ * @param {String} businessUnitId The ID of the business unit
102677
+ * @param {String} bidId The ID of the schedule bid associated with the bid groups
102678
+ * @param {String} bidGroupId Schedule Bid Group id
102679
+ * @param {Object} opts Optional parameters
102680
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
102681
+ */
102682
+ deleteWorkforcemanagementBusinessunitSchedulebidGroup(businessUnitId, bidId, bidGroupId, opts) {
102683
+ opts = opts || {};
102684
+
102685
+ // verify the required parameter 'businessUnitId' is set
102686
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
102687
+ throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';
102688
+ }
102689
+ // verify the required parameter 'bidId' is set
102690
+ if (bidId === undefined || bidId === null || bidId === '') {
102691
+ throw 'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';
102692
+ }
102693
+ // verify the required parameter 'bidGroupId' is set
102694
+ if (bidGroupId === undefined || bidGroupId === null || bidGroupId === '') {
102695
+ throw 'Missing the required parameter "bidGroupId" when calling deleteWorkforcemanagementBusinessunitSchedulebidGroup';
102696
+ }
102697
+
102698
+ return this.apiClient.callApi(
102699
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}',
102700
+ 'DELETE',
102701
+ { 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
102702
+ { },
102703
+ { },
102704
+ { },
102705
+ null,
102706
+ ['PureCloud OAuth'],
102707
+ ['application/json'],
102708
+ ['application/json'],
102709
+ opts['customHeaders']
102710
+ );
102711
+ }
102712
+
102575
102713
  /**
102576
102714
  * Cancel a scheduling run
102577
102715
  *
@@ -104385,6 +104523,188 @@ class WorkforceManagementApi {
104385
104523
  );
104386
104524
  }
104387
104525
 
104526
+ /**
104527
+ * Get a schedule bid
104528
+ *
104529
+ * @param {String} businessUnitId The ID of the business unit
104530
+ * @param {String} bidId The ID of the schedule bid
104531
+ * @param {Object} opts Optional parameters
104532
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
104533
+ */
104534
+ getWorkforcemanagementBusinessunitSchedulebid(businessUnitId, bidId, opts) {
104535
+ opts = opts || {};
104536
+
104537
+ // verify the required parameter 'businessUnitId' is set
104538
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
104539
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebid';
104540
+ }
104541
+ // verify the required parameter 'bidId' is set
104542
+ if (bidId === undefined || bidId === null || bidId === '') {
104543
+ throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebid';
104544
+ }
104545
+
104546
+ return this.apiClient.callApi(
104547
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}',
104548
+ 'GET',
104549
+ { 'businessUnitId': businessUnitId,'bidId': bidId },
104550
+ { },
104551
+ { },
104552
+ { },
104553
+ null,
104554
+ ['PureCloud OAuth'],
104555
+ ['application/json'],
104556
+ ['application/json'],
104557
+ opts['customHeaders']
104558
+ );
104559
+ }
104560
+
104561
+ /**
104562
+ * Get a schedule bid group
104563
+ *
104564
+ * @param {String} businessUnitId The ID of the business unit
104565
+ * @param {String} bidId The ID of the schedule bid associated with the bid groups
104566
+ * @param {String} bidGroupId Schedule Bid Group id
104567
+ * @param {Object} opts Optional parameters
104568
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
104569
+ */
104570
+ getWorkforcemanagementBusinessunitSchedulebidGroup(businessUnitId, bidId, bidGroupId, opts) {
104571
+ opts = opts || {};
104572
+
104573
+ // verify the required parameter 'businessUnitId' is set
104574
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
104575
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';
104576
+ }
104577
+ // verify the required parameter 'bidId' is set
104578
+ if (bidId === undefined || bidId === null || bidId === '') {
104579
+ throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';
104580
+ }
104581
+ // verify the required parameter 'bidGroupId' is set
104582
+ if (bidGroupId === undefined || bidGroupId === null || bidGroupId === '') {
104583
+ throw 'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitSchedulebidGroup';
104584
+ }
104585
+
104586
+ return this.apiClient.callApi(
104587
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}',
104588
+ 'GET',
104589
+ { 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
104590
+ { },
104591
+ { },
104592
+ { },
104593
+ null,
104594
+ ['PureCloud OAuth'],
104595
+ ['application/json'],
104596
+ ['application/json'],
104597
+ opts['customHeaders']
104598
+ );
104599
+ }
104600
+
104601
+ /**
104602
+ * Get agents schedule bid preferences for a bid group
104603
+ *
104604
+ * @param {String} businessUnitId The ID of the business unit
104605
+ * @param {String} bidId The ID of the schedule bid associated with the bid groups
104606
+ * @param {String} bidGroupId The ID of the schedule bid group
104607
+ * @param {Object} opts Optional parameters
104608
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
104609
+ * @param {Array.<String>} opts.expand Include to fetch agents' preferences with priorities
104610
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
104611
+ */
104612
+ getWorkforcemanagementBusinessunitSchedulebidGroupPreferences(businessUnitId, bidId, bidGroupId, opts) {
104613
+ opts = opts || {};
104614
+
104615
+ // verify the required parameter 'businessUnitId' is set
104616
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
104617
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';
104618
+ }
104619
+ // verify the required parameter 'bidId' is set
104620
+ if (bidId === undefined || bidId === null || bidId === '') {
104621
+ throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';
104622
+ }
104623
+ // verify the required parameter 'bidGroupId' is set
104624
+ if (bidGroupId === undefined || bidGroupId === null || bidGroupId === '') {
104625
+ throw 'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupPreferences';
104626
+ }
104627
+
104628
+ return this.apiClient.callApi(
104629
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}/preferences',
104630
+ 'GET',
104631
+ { 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
104632
+ { 'forceDownloadService': opts['forceDownloadService'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
104633
+ { },
104634
+ { },
104635
+ null,
104636
+ ['PureCloud OAuth'],
104637
+ ['application/json'],
104638
+ ['application/json'],
104639
+ opts['customHeaders']
104640
+ );
104641
+ }
104642
+
104643
+ /**
104644
+ * Get summary of bid groups that belong to a schedule bid
104645
+ *
104646
+ * @param {String} businessUnitId The ID of the business unit
104647
+ * @param {String} bidId The ID of the schedule bid associated with the bid groups
104648
+ * @param {Object} opts Optional parameters
104649
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
104650
+ */
104651
+ getWorkforcemanagementBusinessunitSchedulebidGroupsSummary(businessUnitId, bidId, opts) {
104652
+ opts = opts || {};
104653
+
104654
+ // verify the required parameter 'businessUnitId' is set
104655
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
104656
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupsSummary';
104657
+ }
104658
+ // verify the required parameter 'bidId' is set
104659
+ if (bidId === undefined || bidId === null || bidId === '') {
104660
+ throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitSchedulebidGroupsSummary';
104661
+ }
104662
+
104663
+ return this.apiClient.callApi(
104664
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/summary',
104665
+ 'GET',
104666
+ { 'businessUnitId': businessUnitId,'bidId': bidId },
104667
+ { },
104668
+ { },
104669
+ { },
104670
+ null,
104671
+ ['PureCloud OAuth'],
104672
+ ['application/json'],
104673
+ ['application/json'],
104674
+ opts['customHeaders']
104675
+ );
104676
+ }
104677
+
104678
+ /**
104679
+ * Get list of schedule bids
104680
+ *
104681
+ * @param {String} businessUnitId The ID of the business unit
104682
+ * @param {Object} opts Optional parameters
104683
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
104684
+ */
104685
+ getWorkforcemanagementBusinessunitSchedulebids(businessUnitId, opts) {
104686
+ opts = opts || {};
104687
+
104688
+ // verify the required parameter 'businessUnitId' is set
104689
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
104690
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulebids';
104691
+ }
104692
+
104693
+ return this.apiClient.callApi(
104694
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids',
104695
+ 'GET',
104696
+ { 'businessUnitId': businessUnitId },
104697
+ { },
104698
+ { },
104699
+ { },
104700
+ null,
104701
+ ['PureCloud OAuth'],
104702
+ ['application/json'],
104703
+ ['application/json'],
104704
+ opts['customHeaders']
104705
+ );
104706
+ }
104707
+
104388
104708
  /**
104389
104709
  * Get scheduler settings for a business unit
104390
104710
  *
@@ -106862,6 +107182,91 @@ class WorkforceManagementApi {
106862
107182
  );
106863
107183
  }
106864
107184
 
107185
+ /**
107186
+ * Gets an agent's schedule bidding preference
107187
+ *
107188
+ * @param {String} bidId The ID of the schedule bid
107189
+ * @param {Object} opts Optional parameters
107190
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
107191
+ */
107192
+ getWorkforcemanagementSchedulebidPreference(bidId, opts) {
107193
+ opts = opts || {};
107194
+
107195
+ // verify the required parameter 'bidId' is set
107196
+ if (bidId === undefined || bidId === null || bidId === '') {
107197
+ throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementSchedulebidPreference';
107198
+ }
107199
+
107200
+ return this.apiClient.callApi(
107201
+ '/api/v2/workforcemanagement/schedulebids/{bidId}/preference',
107202
+ 'GET',
107203
+ { 'bidId': bidId },
107204
+ { },
107205
+ { },
107206
+ { },
107207
+ null,
107208
+ ['PureCloud OAuth'],
107209
+ ['application/json'],
107210
+ ['application/json'],
107211
+ opts['customHeaders']
107212
+ );
107213
+ }
107214
+
107215
+ /**
107216
+ * Gets an agent's schedule sets for a bid
107217
+ *
107218
+ * @param {String} bidId The ID of the schedule bid
107219
+ * @param {Object} opts Optional parameters
107220
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
107221
+ */
107222
+ getWorkforcemanagementSchedulebidSchedulesets(bidId, opts) {
107223
+ opts = opts || {};
107224
+
107225
+ // verify the required parameter 'bidId' is set
107226
+ if (bidId === undefined || bidId === null || bidId === '') {
107227
+ throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementSchedulebidSchedulesets';
107228
+ }
107229
+
107230
+ return this.apiClient.callApi(
107231
+ '/api/v2/workforcemanagement/schedulebids/{bidId}/schedulesets',
107232
+ 'GET',
107233
+ { 'bidId': bidId },
107234
+ { },
107235
+ { },
107236
+ { },
107237
+ null,
107238
+ ['PureCloud OAuth'],
107239
+ ['application/json'],
107240
+ ['application/json'],
107241
+ opts['customHeaders']
107242
+ );
107243
+ }
107244
+
107245
+ /**
107246
+ * Gets the list of schedule bids that belong to an agent. It will fetch an open bid or upcoming bid or a bid that is closed recently
107247
+ *
107248
+ * @param {Object} opts Optional parameters
107249
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
107250
+ */
107251
+ getWorkforcemanagementSchedulebids(opts) {
107252
+ opts = opts || {};
107253
+
107254
+
107255
+ return this.apiClient.callApi(
107256
+ '/api/v2/workforcemanagement/schedulebids',
107257
+ 'GET',
107258
+ { },
107259
+ { },
107260
+ { },
107261
+ { },
107262
+ null,
107263
+ ['PureCloud OAuth'],
107264
+ ['application/json'],
107265
+ ['application/json'],
107266
+ opts['customHeaders']
107267
+ );
107268
+ }
107269
+
106865
107270
  /**
106866
107271
  * Get status of the scheduling job
106867
107272
  *
@@ -107839,6 +108244,136 @@ class WorkforceManagementApi {
107839
108244
  );
107840
108245
  }
107841
108246
 
108247
+ /**
108248
+ * Update a schedule bid
108249
+ *
108250
+ * @param {String} businessUnitId The ID of the business unit
108251
+ * @param {String} bidId The ID of the schedule bid
108252
+ * @param {Object} body The schedule bid to be updated
108253
+ * @param {Object} opts Optional parameters
108254
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
108255
+ */
108256
+ patchWorkforcemanagementBusinessunitSchedulebid(businessUnitId, bidId, body, opts) {
108257
+ opts = opts || {};
108258
+
108259
+ // verify the required parameter 'businessUnitId' is set
108260
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
108261
+ throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebid';
108262
+ }
108263
+ // verify the required parameter 'bidId' is set
108264
+ if (bidId === undefined || bidId === null || bidId === '') {
108265
+ throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebid';
108266
+ }
108267
+ // verify the required parameter 'body' is set
108268
+ if (body === undefined || body === null) {
108269
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulebid';
108270
+ }
108271
+
108272
+ return this.apiClient.callApi(
108273
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}',
108274
+ 'PATCH',
108275
+ { 'businessUnitId': businessUnitId,'bidId': bidId },
108276
+ { },
108277
+ { },
108278
+ { },
108279
+ body,
108280
+ ['PureCloud OAuth'],
108281
+ ['application/json'],
108282
+ ['application/json'],
108283
+ opts['customHeaders']
108284
+ );
108285
+ }
108286
+
108287
+ /**
108288
+ * Update a schedule bid group by bid group Id
108289
+ *
108290
+ * @param {String} businessUnitId The ID of the business unit
108291
+ * @param {String} bidId The ID of the schedule bid associated with the bid groups
108292
+ * @param {String} bidGroupId Schedule Bid Group id
108293
+ * @param {Object} body body
108294
+ * @param {Object} opts Optional parameters
108295
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
108296
+ */
108297
+ patchWorkforcemanagementBusinessunitSchedulebidGroup(businessUnitId, bidId, bidGroupId, body, opts) {
108298
+ opts = opts || {};
108299
+
108300
+ // verify the required parameter 'businessUnitId' is set
108301
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
108302
+ throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';
108303
+ }
108304
+ // verify the required parameter 'bidId' is set
108305
+ if (bidId === undefined || bidId === null || bidId === '') {
108306
+ throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';
108307
+ }
108308
+ // verify the required parameter 'bidGroupId' is set
108309
+ if (bidGroupId === undefined || bidGroupId === null || bidGroupId === '') {
108310
+ throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';
108311
+ }
108312
+ // verify the required parameter 'body' is set
108313
+ if (body === undefined || body === null) {
108314
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulebidGroup';
108315
+ }
108316
+
108317
+ return this.apiClient.callApi(
108318
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}',
108319
+ 'PATCH',
108320
+ { 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
108321
+ { },
108322
+ { },
108323
+ { },
108324
+ body,
108325
+ ['PureCloud OAuth'],
108326
+ ['application/json'],
108327
+ ['application/json'],
108328
+ opts['customHeaders']
108329
+ );
108330
+ }
108331
+
108332
+ /**
108333
+ * Overrides the assigned schedule bid for the specified agents
108334
+ *
108335
+ * @param {String} businessUnitId The ID of the business unit
108336
+ * @param {String} bidId The ID of the schedule bid associated with the bid groups
108337
+ * @param {String} bidGroupId The ID of the schedule bid group
108338
+ * @param {Object} body body
108339
+ * @param {Object} opts Optional parameters
108340
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
108341
+ */
108342
+ patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences(businessUnitId, bidId, bidGroupId, body, opts) {
108343
+ opts = opts || {};
108344
+
108345
+ // verify the required parameter 'businessUnitId' is set
108346
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
108347
+ throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';
108348
+ }
108349
+ // verify the required parameter 'bidId' is set
108350
+ if (bidId === undefined || bidId === null || bidId === '') {
108351
+ throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';
108352
+ }
108353
+ // verify the required parameter 'bidGroupId' is set
108354
+ if (bidGroupId === undefined || bidGroupId === null || bidGroupId === '') {
108355
+ throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';
108356
+ }
108357
+ // verify the required parameter 'body' is set
108358
+ if (body === undefined || body === null) {
108359
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulebidGroupPreferences';
108360
+ }
108361
+
108362
+ return this.apiClient.callApi(
108363
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups/{bidGroupId}/preferences',
108364
+ 'PATCH',
108365
+ { 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
108366
+ { },
108367
+ { },
108368
+ { },
108369
+ body,
108370
+ ['PureCloud OAuth'],
108371
+ ['application/json'],
108372
+ ['application/json'],
108373
+ opts['customHeaders']
108374
+ );
108375
+ }
108376
+
107842
108377
  /**
107843
108378
  * Update scheduler settings for a business unit
107844
108379
  *
@@ -110160,6 +110695,156 @@ class WorkforceManagementApi {
110160
110695
  );
110161
110696
  }
110162
110697
 
110698
+ /**
110699
+ * Copy a schedule bid
110700
+ *
110701
+ * @param {String} businessUnitId The ID of the business unit
110702
+ * @param {String} bidId The ID of the schedule bid to copy
110703
+ * @param {Object} body body
110704
+ * @param {Object} opts Optional parameters
110705
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
110706
+ */
110707
+ postWorkforcemanagementBusinessunitSchedulebidCopy(businessUnitId, bidId, body, opts) {
110708
+ opts = opts || {};
110709
+
110710
+ // verify the required parameter 'businessUnitId' is set
110711
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
110712
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';
110713
+ }
110714
+ // verify the required parameter 'bidId' is set
110715
+ if (bidId === undefined || bidId === null || bidId === '') {
110716
+ throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';
110717
+ }
110718
+ // verify the required parameter 'body' is set
110719
+ if (body === undefined || body === null) {
110720
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebidCopy';
110721
+ }
110722
+
110723
+ return this.apiClient.callApi(
110724
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/copy',
110725
+ 'POST',
110726
+ { 'businessUnitId': businessUnitId,'bidId': bidId },
110727
+ { },
110728
+ { },
110729
+ { },
110730
+ body,
110731
+ ['PureCloud OAuth'],
110732
+ ['application/json'],
110733
+ ['application/json'],
110734
+ opts['customHeaders']
110735
+ );
110736
+ }
110737
+
110738
+ /**
110739
+ * Add a bid group in a given schedule bid
110740
+ *
110741
+ * @param {String} businessUnitId The ID of the business unit
110742
+ * @param {String} bidId The ID of the schedule bid associated with the bid groups
110743
+ * @param {Object} body body
110744
+ * @param {Object} opts Optional parameters
110745
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
110746
+ */
110747
+ postWorkforcemanagementBusinessunitSchedulebidGroups(businessUnitId, bidId, body, opts) {
110748
+ opts = opts || {};
110749
+
110750
+ // verify the required parameter 'businessUnitId' is set
110751
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
110752
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';
110753
+ }
110754
+ // verify the required parameter 'bidId' is set
110755
+ if (bidId === undefined || bidId === null || bidId === '') {
110756
+ throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';
110757
+ }
110758
+ // verify the required parameter 'body' is set
110759
+ if (body === undefined || body === null) {
110760
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebidGroups';
110761
+ }
110762
+
110763
+ return this.apiClient.callApi(
110764
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/{bidId}/groups',
110765
+ 'POST',
110766
+ { 'businessUnitId': businessUnitId,'bidId': bidId },
110767
+ { },
110768
+ { },
110769
+ { },
110770
+ body,
110771
+ ['PureCloud OAuth'],
110772
+ ['application/json'],
110773
+ ['application/json'],
110774
+ opts['customHeaders']
110775
+ );
110776
+ }
110777
+
110778
+ /**
110779
+ * Create a new schedule bid
110780
+ *
110781
+ * @param {String} businessUnitId The ID of the business unit
110782
+ * @param {Object} body The schedule bid to be created
110783
+ * @param {Object} opts Optional parameters
110784
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
110785
+ */
110786
+ postWorkforcemanagementBusinessunitSchedulebids(businessUnitId, body, opts) {
110787
+ opts = opts || {};
110788
+
110789
+ // verify the required parameter 'businessUnitId' is set
110790
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
110791
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebids';
110792
+ }
110793
+ // verify the required parameter 'body' is set
110794
+ if (body === undefined || body === null) {
110795
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebids';
110796
+ }
110797
+
110798
+ return this.apiClient.callApi(
110799
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids',
110800
+ 'POST',
110801
+ { 'businessUnitId': businessUnitId },
110802
+ { },
110803
+ { },
110804
+ { },
110805
+ body,
110806
+ ['PureCloud OAuth'],
110807
+ ['application/json'],
110808
+ ['application/json'],
110809
+ opts['customHeaders']
110810
+ );
110811
+ }
110812
+
110813
+ /**
110814
+ * Fetch all the agents with effective schedule set for the given BU
110815
+ *
110816
+ * @param {String} businessUnitId The ID of the business unit
110817
+ * @param {Object} body body
110818
+ * @param {Object} opts Optional parameters
110819
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
110820
+ */
110821
+ postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets(businessUnitId, body, opts) {
110822
+ opts = opts || {};
110823
+
110824
+ // verify the required parameter 'businessUnitId' is set
110825
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
110826
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets';
110827
+ }
110828
+ // verify the required parameter 'body' is set
110829
+ if (body === undefined || body === null) {
110830
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitSchedulebidsEffectiveschedulesets';
110831
+ }
110832
+
110833
+ return this.apiClient.callApi(
110834
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/schedulebids/effectiveschedulesets',
110835
+ 'POST',
110836
+ { 'businessUnitId': businessUnitId },
110837
+ { },
110838
+ { },
110839
+ { },
110840
+ body,
110841
+ ['PureCloud OAuth'],
110842
+ ['application/json'],
110843
+ ['application/json'],
110844
+ opts['customHeaders']
110845
+ );
110846
+ }
110847
+
110163
110848
  /**
110164
110849
  * Adds a new service goal template
110165
110850
  *
@@ -113164,6 +113849,41 @@ class WorkforceManagementApi {
113164
113849
  );
113165
113850
  }
113166
113851
 
113852
+ /**
113853
+ * Update an agent's schedule set preference
113854
+ *
113855
+ * @param {String} bidId The ID of the schedule bid
113856
+ * @param {Object} body body
113857
+ * @param {Object} opts Optional parameters
113858
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
113859
+ */
113860
+ putWorkforcemanagementSchedulebidPreference(bidId, body, opts) {
113861
+ opts = opts || {};
113862
+
113863
+ // verify the required parameter 'bidId' is set
113864
+ if (bidId === undefined || bidId === null || bidId === '') {
113865
+ throw 'Missing the required parameter "bidId" when calling putWorkforcemanagementSchedulebidPreference';
113866
+ }
113867
+ // verify the required parameter 'body' is set
113868
+ if (body === undefined || body === null) {
113869
+ throw 'Missing the required parameter "body" when calling putWorkforcemanagementSchedulebidPreference';
113870
+ }
113871
+
113872
+ return this.apiClient.callApi(
113873
+ '/api/v2/workforcemanagement/schedulebids/{bidId}/preference',
113874
+ 'PUT',
113875
+ { 'bidId': bidId },
113876
+ { },
113877
+ { },
113878
+ { },
113879
+ body,
113880
+ ['PureCloud OAuth'],
113881
+ ['application/json'],
113882
+ ['application/json'],
113883
+ opts['customHeaders']
113884
+ );
113885
+ }
113886
+
113167
113887
  }
113168
113888
 
113169
113889
  /**
@@ -113195,7 +113915,7 @@ class WorkforceManagementApi {
113195
113915
  * </pre>
113196
113916
  * </p>
113197
113917
  * @module purecloud-platform-client-v2/index
113198
- * @version 254.0.0
113918
+ * @version 255.1.0
113199
113919
  */
113200
113920
  class platformClient {
113201
113921
  constructor() {