purecloud-platform-client-v2 222.0.0 → 223.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 (92) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +905 -512
  3. package/dist/web-amd/purecloud-platform-client-v2.js +905 -512
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +457 -380
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +457 -380
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1194 -992
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +3 -2
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +5 -6
  21. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +36 -1
  26. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +150 -1
  43. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +2 -3
  51. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +71 -8
  72. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +51 -1
  73. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +512 -415
  92. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -687,7 +687,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
687
687
 
688
688
  /**
689
689
  * @module purecloud-platform-client-v2/ApiClient
690
- * @version 222.0.0
690
+ * @version 223.0.0
691
691
  */
692
692
  class ApiClient {
693
693
  /**
@@ -2231,7 +2231,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2231
2231
  /**
2232
2232
  * AgentAssistants service.
2233
2233
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
2234
- * @version 222.0.0
2234
+ * @version 223.0.0
2235
2235
  */
2236
2236
 
2237
2237
  /**
@@ -2434,6 +2434,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2434
2434
  * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
2435
2435
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
2436
2436
  * @param {String} opts.name Return the assistant by the given name.
2437
+ * @param {Object} opts.expand Which fields, if any, to expand
2437
2438
  */
2438
2439
  getAssistants(opts) {
2439
2440
  opts = opts || {};
@@ -2443,7 +2444,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2443
2444
  '/api/v2/assistants',
2444
2445
  'GET',
2445
2446
  { },
2446
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
2447
+ { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'],'expand': opts['expand'] },
2447
2448
  { },
2448
2449
  { },
2449
2450
  null,
@@ -2607,7 +2608,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2607
2608
  /**
2608
2609
  * AgentCopilot service.
2609
2610
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
2610
- * @version 222.0.0
2611
+ * @version 223.0.0
2611
2612
  */
2612
2613
 
2613
2614
  /**
@@ -2683,7 +2684,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2683
2684
  /**
2684
2685
  * AgentUI service.
2685
2686
  * @module purecloud-platform-client-v2/api/AgentUIApi
2686
- * @version 222.0.0
2687
+ * @version 223.0.0
2687
2688
  */
2688
2689
 
2689
2690
  /**
@@ -2814,7 +2815,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2814
2815
  /**
2815
2816
  * Alerting service.
2816
2817
  * @module purecloud-platform-client-v2/api/AlertingApi
2817
- * @version 222.0.0
2818
+ * @version 223.0.0
2818
2819
  */
2819
2820
 
2820
2821
  /**
@@ -3215,7 +3216,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3215
3216
  /**
3216
3217
  * Analytics service.
3217
3218
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3218
- * @version 222.0.0
3219
+ * @version 223.0.0
3219
3220
  */
3220
3221
 
3221
3222
  /**
@@ -6036,7 +6037,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6036
6037
  /**
6037
6038
  * Architect service.
6038
6039
  * @module purecloud-platform-client-v2/api/ArchitectApi
6039
- * @version 222.0.0
6040
+ * @version 223.0.0
6040
6041
  */
6041
6042
 
6042
6043
  /**
@@ -10329,7 +10330,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10329
10330
  /**
10330
10331
  * Audit service.
10331
10332
  * @module purecloud-platform-client-v2/api/AuditApi
10332
- * @version 222.0.0
10333
+ * @version 223.0.0
10333
10334
  */
10334
10335
 
10335
10336
  /**
@@ -10530,7 +10531,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10530
10531
  /**
10531
10532
  * Authorization service.
10532
10533
  * @module purecloud-platform-client-v2/api/AuthorizationApi
10533
- * @version 222.0.0
10534
+ * @version 223.0.0
10534
10535
  */
10535
10536
 
10536
10537
  /**
@@ -12245,7 +12246,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12245
12246
  /**
12246
12247
  * Billing service.
12247
12248
  * @module purecloud-platform-client-v2/api/BillingApi
12248
- * @version 222.0.0
12249
+ * @version 223.0.0
12249
12250
  */
12250
12251
 
12251
12252
  /**
@@ -12501,7 +12502,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12501
12502
  /**
12502
12503
  * BusinessRules service.
12503
12504
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
12504
- * @version 222.0.0
12505
+ * @version 223.0.0
12505
12506
  */
12506
12507
 
12507
12508
  /**
@@ -12774,7 +12775,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12774
12775
  * @param {String} tableId Table ID
12775
12776
  * @param {Object} opts Optional parameters
12776
12777
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
12777
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
12778
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 100.
12778
12779
  * @param {Array.<String>} opts.divisionIds One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned.
12779
12780
  * getBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12780
12781
  */
@@ -12805,7 +12806,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12805
12806
  *
12806
12807
  * @param {Object} opts Optional parameters
12807
12808
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
12808
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
12809
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 100.
12809
12810
  * @param {Array.<String>} opts.divisionIds One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned.
12810
12811
  * getBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12811
12812
  */
@@ -12831,9 +12832,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12831
12832
  * Search for decision tables.
12832
12833
  *
12833
12834
  * @param {Object} opts Optional parameters
12834
- * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
12835
12835
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
12836
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
12836
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 100.
12837
12837
  * @param {String} opts.schemaId Search for decision tables that use the schema with this ID. Cannot be combined with name search. Search results will not be paginated if used.
12838
12838
  * @param {String} opts.name Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name. Cannot be combined with schema search. Search results will not be paginated if used.
12839
12839
  * getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
@@ -12846,7 +12846,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12846
12846
  '/api/v2/businessrules/decisiontables/search',
12847
12847
  'GET',
12848
12848
  { },
12849
- { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'schemaId': opts['schemaId'],'name': opts['name'] },
12849
+ { 'after': opts['after'],'pageSize': opts['pageSize'],'schemaId': opts['schemaId'],'name': opts['name'] },
12850
12850
  { },
12851
12851
  { },
12852
12852
  null,
@@ -13415,7 +13415,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13415
13415
  /**
13416
13416
  * CarrierServices service.
13417
13417
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
13418
- * @version 222.0.0
13418
+ * @version 223.0.0
13419
13419
  */
13420
13420
 
13421
13421
  /**
@@ -13485,7 +13485,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13485
13485
  /**
13486
13486
  * Chat service.
13487
13487
  * @module purecloud-platform-client-v2/api/ChatApi
13488
- * @version 222.0.0
13488
+ * @version 223.0.0
13489
13489
  */
13490
13490
 
13491
13491
  /**
@@ -14418,7 +14418,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14418
14418
  /**
14419
14419
  * Coaching service.
14420
14420
  * @module purecloud-platform-client-v2/api/CoachingApi
14421
- * @version 222.0.0
14421
+ * @version 223.0.0
14422
14422
  */
14423
14423
 
14424
14424
  /**
@@ -14995,7 +14995,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14995
14995
  /**
14996
14996
  * ContentManagement service.
14997
14997
  * @module purecloud-platform-client-v2/api/ContentManagementApi
14998
- * @version 222.0.0
14998
+ * @version 223.0.0
14999
14999
  */
15000
15000
 
15001
15001
  /**
@@ -16076,7 +16076,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16076
16076
  /**
16077
16077
  * Conversations service.
16078
16078
  * @module purecloud-platform-client-v2/api/ConversationsApi
16079
- * @version 222.0.0
16079
+ * @version 223.0.0
16080
16080
  */
16081
16081
 
16082
16082
  /**
@@ -22394,6 +22394,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22394
22394
  );
22395
22395
  }
22396
22396
 
22397
+ /**
22398
+ * Send a social media message
22399
+ * Send a social media message on existing conversation/communication.
22400
+ * @param {String} conversationId conversationId
22401
+ * @param {String} communicationId communicationId
22402
+ * @param {Object} body Message
22403
+ */
22404
+ postConversationsMessageCommunicationSocialmediaMessages(conversationId, communicationId, body) {
22405
+ // verify the required parameter 'conversationId' is set
22406
+ if (conversationId === undefined || conversationId === null) {
22407
+ throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationSocialmediaMessages';
22408
+ }
22409
+ // verify the required parameter 'communicationId' is set
22410
+ if (communicationId === undefined || communicationId === null) {
22411
+ throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationSocialmediaMessages';
22412
+ }
22413
+ // verify the required parameter 'body' is set
22414
+ if (body === undefined || body === null) {
22415
+ throw 'Missing the required parameter "body" when calling postConversationsMessageCommunicationSocialmediaMessages';
22416
+ }
22417
+
22418
+ return this.apiClient.callApi(
22419
+ '/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/socialmedia/messages',
22420
+ 'POST',
22421
+ { 'conversationId': conversationId,'communicationId': communicationId },
22422
+ { },
22423
+ { },
22424
+ { },
22425
+ body,
22426
+ ['PureCloud OAuth'],
22427
+ ['application/json'],
22428
+ ['application/json']
22429
+ );
22430
+ }
22431
+
22397
22432
  /**
22398
22433
  * Send message typing event
22399
22434
  * Send message typing event for existing conversation/communication.
@@ -23833,7 +23868,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23833
23868
  /**
23834
23869
  * DataExtensions service.
23835
23870
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
23836
- * @version 222.0.0
23871
+ * @version 223.0.0
23837
23872
  */
23838
23873
 
23839
23874
  /**
@@ -23919,7 +23954,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23919
23954
  /**
23920
23955
  * DataPrivacy service.
23921
23956
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
23922
- * @version 222.0.0
23957
+ * @version 223.0.0
23923
23958
  */
23924
23959
 
23925
23960
  /**
@@ -24089,7 +24124,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24089
24124
  /**
24090
24125
  * Downloads service.
24091
24126
  * @module purecloud-platform-client-v2/api/DownloadsApi
24092
- * @version 222.0.0
24127
+ * @version 223.0.0
24093
24128
  */
24094
24129
 
24095
24130
  /**
@@ -24141,7 +24176,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24141
24176
  /**
24142
24177
  * Emails service.
24143
24178
  * @module purecloud-platform-client-v2/api/EmailsApi
24144
- * @version 222.0.0
24179
+ * @version 223.0.0
24145
24180
  */
24146
24181
 
24147
24182
  /**
@@ -24270,7 +24305,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24270
24305
  /**
24271
24306
  * EmployeeEngagement service.
24272
24307
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
24273
- * @version 222.0.0
24308
+ * @version 223.0.0
24274
24309
  */
24275
24310
 
24276
24311
  /**
@@ -24421,7 +24456,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24421
24456
  /**
24422
24457
  * Events service.
24423
24458
  * @module purecloud-platform-client-v2/api/EventsApi
24424
- * @version 222.0.0
24459
+ * @version 223.0.0
24425
24460
  */
24426
24461
 
24427
24462
  /**
@@ -24517,7 +24552,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24517
24552
  /**
24518
24553
  * ExternalContacts service.
24519
24554
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
24520
- * @version 222.0.0
24555
+ * @version 223.0.0
24521
24556
  */
24522
24557
 
24523
24558
  /**
@@ -27705,7 +27740,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27705
27740
  /**
27706
27741
  * Fax service.
27707
27742
  * @module purecloud-platform-client-v2/api/FaxApi
27708
- * @version 222.0.0
27743
+ * @version 223.0.0
27709
27744
  */
27710
27745
 
27711
27746
  /**
@@ -27920,7 +27955,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27920
27955
  /**
27921
27956
  * Flows service.
27922
27957
  * @module purecloud-platform-client-v2/api/FlowsApi
27923
- * @version 222.0.0
27958
+ * @version 223.0.0
27924
27959
  */
27925
27960
 
27926
27961
  /**
@@ -28103,7 +28138,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28103
28138
  /**
28104
28139
  * Gamification service.
28105
28140
  * @module purecloud-platform-client-v2/api/GamificationApi
28106
- * @version 222.0.0
28141
+ * @version 223.0.0
28107
28142
  */
28108
28143
 
28109
28144
  /**
@@ -30610,7 +30645,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30610
30645
  /**
30611
30646
  * GeneralDataProtectionRegulation service.
30612
30647
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
30613
- * @version 222.0.0
30648
+ * @version 223.0.0
30614
30649
  */
30615
30650
 
30616
30651
  /**
@@ -30740,7 +30775,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30740
30775
  /**
30741
30776
  * Geolocation service.
30742
30777
  * @module purecloud-platform-client-v2/api/GeolocationApi
30743
- * @version 222.0.0
30778
+ * @version 223.0.0
30744
30779
  */
30745
30780
 
30746
30781
  /**
@@ -30871,7 +30906,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30871
30906
  /**
30872
30907
  * Greetings service.
30873
30908
  * @module purecloud-platform-client-v2/api/GreetingsApi
30874
- * @version 222.0.0
30909
+ * @version 223.0.0
30875
30910
  */
30876
30911
 
30877
30912
  /**
@@ -31326,7 +31361,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31326
31361
  /**
31327
31362
  * Groups service.
31328
31363
  * @module purecloud-platform-client-v2/api/GroupsApi
31329
- * @version 222.0.0
31364
+ * @version 223.0.0
31330
31365
  */
31331
31366
 
31332
31367
  /**
@@ -31845,7 +31880,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31845
31880
  /**
31846
31881
  * IdentityProvider service.
31847
31882
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
31848
- * @version 222.0.0
31883
+ * @version 223.0.0
31849
31884
  */
31850
31885
 
31851
31886
  /**
@@ -32706,7 +32741,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32706
32741
  /**
32707
32742
  * InfrastructureAsCode service.
32708
32743
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
32709
- * @version 222.0.0
32744
+ * @version 223.0.0
32710
32745
  */
32711
32746
 
32712
32747
  /**
@@ -32873,7 +32908,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32873
32908
  /**
32874
32909
  * Integrations service.
32875
32910
  * @module purecloud-platform-client-v2/api/IntegrationsApi
32876
- * @version 222.0.0
32911
+ * @version 223.0.0
32877
32912
  */
32878
32913
 
32879
32914
  /**
@@ -33504,6 +33539,103 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33504
33539
  );
33505
33540
  }
33506
33541
 
33542
+ /**
33543
+ * Get a specific Bot details
33544
+ *
33545
+ * @param {String} integrationId The integration ID for this group of bots
33546
+ * @param {String} botId The bot ID for this bot
33547
+ * @param {Object} opts Optional parameters
33548
+ * @param {String} opts.version Specific Version
33549
+ * getIntegrationsBotconnectorBot is a preview method and is subject to both breaking and non-breaking changes at any time without notice
33550
+ */
33551
+ getIntegrationsBotconnectorBot(integrationId, botId, opts) {
33552
+ opts = opts || {};
33553
+
33554
+ // verify the required parameter 'integrationId' is set
33555
+ if (integrationId === undefined || integrationId === null) {
33556
+ throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBot';
33557
+ }
33558
+ // verify the required parameter 'botId' is set
33559
+ if (botId === undefined || botId === null) {
33560
+ throw 'Missing the required parameter "botId" when calling getIntegrationsBotconnectorBot';
33561
+ }
33562
+
33563
+ return this.apiClient.callApi(
33564
+ '/api/v2/integrations/botconnectors/{integrationId}/bots/{botId}',
33565
+ 'GET',
33566
+ { 'integrationId': integrationId,'botId': botId },
33567
+ { 'version': opts['version'] },
33568
+ { },
33569
+ { },
33570
+ null,
33571
+ ['PureCloud OAuth'],
33572
+ ['application/json'],
33573
+ ['application/json']
33574
+ );
33575
+ }
33576
+
33577
+ /**
33578
+ * Get the list of bots for this integration.
33579
+ *
33580
+ * @param {String} integrationId The integration ID for this group of bots.
33581
+ * @param {Object} opts Optional parameters
33582
+ * @param {Number} opts.pageNumber Page number (default to 1)
33583
+ * @param {Number} opts.pageSize Page size (default to 25)
33584
+ * getIntegrationsBotconnectorBots is a preview method and is subject to both breaking and non-breaking changes at any time without notice
33585
+ */
33586
+ getIntegrationsBotconnectorBots(integrationId, opts) {
33587
+ opts = opts || {};
33588
+
33589
+ // verify the required parameter 'integrationId' is set
33590
+ if (integrationId === undefined || integrationId === null) {
33591
+ throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBots';
33592
+ }
33593
+
33594
+ return this.apiClient.callApi(
33595
+ '/api/v2/integrations/botconnectors/{integrationId}/bots',
33596
+ 'GET',
33597
+ { 'integrationId': integrationId },
33598
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
33599
+ { },
33600
+ { },
33601
+ null,
33602
+ ['PureCloud OAuth'],
33603
+ ['application/json'],
33604
+ ['application/json']
33605
+ );
33606
+ }
33607
+
33608
+ /**
33609
+ * Get the summary list of bots for this integration.
33610
+ *
33611
+ * @param {String} integrationId The integration ID for this group of bots.
33612
+ * @param {Object} opts Optional parameters
33613
+ * @param {Number} opts.pageNumber Page number (default to 1)
33614
+ * @param {Number} opts.pageSize Page size (default to 25)
33615
+ * getIntegrationsBotconnectorBotsSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
33616
+ */
33617
+ getIntegrationsBotconnectorBotsSummaries(integrationId, opts) {
33618
+ opts = opts || {};
33619
+
33620
+ // verify the required parameter 'integrationId' is set
33621
+ if (integrationId === undefined || integrationId === null) {
33622
+ throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorBotsSummaries';
33623
+ }
33624
+
33625
+ return this.apiClient.callApi(
33626
+ '/api/v2/integrations/botconnectors/{integrationId}/bots/summaries',
33627
+ 'GET',
33628
+ { 'integrationId': integrationId },
33629
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
33630
+ { },
33631
+ { },
33632
+ null,
33633
+ ['PureCloud OAuth'],
33634
+ ['application/json'],
33635
+ ['application/json']
33636
+ );
33637
+ }
33638
+
33507
33639
  /**
33508
33640
  * Get a specific botConnector bot, plus versions, for this integration
33509
33641
  *
@@ -34983,6 +35115,58 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34983
35115
  );
34984
35116
  }
34985
35117
 
35118
+ /**
35119
+ * Send an incoming message to the bot.
35120
+ *
35121
+ * @param {Object} body Incoming Message Request
35122
+ * postIntegrationsBotconnectorsIncomingMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
35123
+ */
35124
+ postIntegrationsBotconnectorsIncomingMessages(body) {
35125
+ // verify the required parameter 'body' is set
35126
+ if (body === undefined || body === null) {
35127
+ throw 'Missing the required parameter "body" when calling postIntegrationsBotconnectorsIncomingMessages';
35128
+ }
35129
+
35130
+ return this.apiClient.callApi(
35131
+ '/api/v2/integrations/botconnectors/incoming/messages',
35132
+ 'POST',
35133
+ { },
35134
+ { },
35135
+ { },
35136
+ { },
35137
+ body,
35138
+ ['PureCloud OAuth'],
35139
+ ['application/json'],
35140
+ ['application/json']
35141
+ );
35142
+ }
35143
+
35144
+ /**
35145
+ * Send an outgoing message to the end user.
35146
+ *
35147
+ * @param {Object} body Outgoing Message Request
35148
+ * postIntegrationsBotconnectorsOutgoingMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
35149
+ */
35150
+ postIntegrationsBotconnectorsOutgoingMessages(body) {
35151
+ // verify the required parameter 'body' is set
35152
+ if (body === undefined || body === null) {
35153
+ throw 'Missing the required parameter "body" when calling postIntegrationsBotconnectorsOutgoingMessages';
35154
+ }
35155
+
35156
+ return this.apiClient.callApi(
35157
+ '/api/v2/integrations/botconnectors/outgoing/messages',
35158
+ 'POST',
35159
+ { },
35160
+ { },
35161
+ { },
35162
+ { },
35163
+ body,
35164
+ ['PureCloud OAuth'],
35165
+ ['application/json'],
35166
+ ['application/json']
35167
+ );
35168
+ }
35169
+
34986
35170
  /**
34987
35171
  * Create a set of credentials
34988
35172
  *
@@ -35342,7 +35526,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35342
35526
  /**
35343
35527
  * Journey service.
35344
35528
  * @module purecloud-platform-client-v2/api/JourneyApi
35345
- * @version 222.0.0
35529
+ * @version 223.0.0
35346
35530
  */
35347
35531
 
35348
35532
  /**
@@ -37327,7 +37511,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37327
37511
  /**
37328
37512
  * Knowledge service.
37329
37513
  * @module purecloud-platform-client-v2/api/KnowledgeApi
37330
- * @version 222.0.0
37514
+ * @version 223.0.0
37331
37515
  */
37332
37516
 
37333
37517
  /**
@@ -41200,7 +41384,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41200
41384
  /**
41201
41385
  * LanguageUnderstanding service.
41202
41386
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
41203
- * @version 222.0.0
41387
+ * @version 223.0.0
41204
41388
  */
41205
41389
 
41206
41390
  /**
@@ -42233,7 +42417,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42233
42417
  /**
42234
42418
  * Languages service.
42235
42419
  * @module purecloud-platform-client-v2/api/LanguagesApi
42236
- * @version 222.0.0
42420
+ * @version 223.0.0
42237
42421
  */
42238
42422
 
42239
42423
  /**
@@ -42455,7 +42639,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42455
42639
  /**
42456
42640
  * Learning service.
42457
42641
  * @module purecloud-platform-client-v2/api/LearningApi
42458
- * @version 222.0.0
42642
+ * @version 223.0.0
42459
42643
  */
42460
42644
 
42461
42645
  /**
@@ -43484,7 +43668,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43484
43668
  /**
43485
43669
  * License service.
43486
43670
  * @module purecloud-platform-client-v2/api/LicenseApi
43487
- * @version 222.0.0
43671
+ * @version 223.0.0
43488
43672
  */
43489
43673
 
43490
43674
  /**
@@ -43722,7 +43906,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43722
43906
  /**
43723
43907
  * Locations service.
43724
43908
  * @module purecloud-platform-client-v2/api/LocationsApi
43725
- * @version 222.0.0
43909
+ * @version 223.0.0
43726
43910
  */
43727
43911
 
43728
43912
  /**
@@ -43958,7 +44142,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43958
44142
  /**
43959
44143
  * LogCapture service.
43960
44144
  * @module purecloud-platform-client-v2/api/LogCaptureApi
43961
- * @version 222.0.0
44145
+ * @version 223.0.0
43962
44146
  */
43963
44147
 
43964
44148
  /**
@@ -44100,7 +44284,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44100
44284
  * Query collected log entries. It returns a limited amount of records, to get all records use download endpoint.
44101
44285
  *
44102
44286
  * @param {Object} opts Optional parameters
44103
- * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
44104
44287
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
44105
44288
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
44106
44289
  * @param {Object} opts.body
@@ -44113,7 +44296,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44113
44296
  '/api/v2/diagnostics/logcapture/browser/entries/query',
44114
44297
  'POST',
44115
44298
  { },
44116
- { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
44299
+ { 'after': opts['after'],'pageSize': opts['pageSize'] },
44117
44300
  { },
44118
44301
  { },
44119
44302
  opts['body'],
@@ -44158,7 +44341,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44158
44341
  /**
44159
44342
  * Messaging service.
44160
44343
  * @module purecloud-platform-client-v2/api/MessagingApi
44161
- * @version 222.0.0
44344
+ * @version 223.0.0
44162
44345
  */
44163
44346
 
44164
44347
  /**
@@ -44517,7 +44700,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44517
44700
  /**
44518
44701
  * MobileDevices service.
44519
44702
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
44520
- * @version 222.0.0
44703
+ * @version 223.0.0
44521
44704
  */
44522
44705
 
44523
44706
  /**
@@ -44668,7 +44851,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44668
44851
  /**
44669
44852
  * Notifications service.
44670
44853
  * @module purecloud-platform-client-v2/api/NotificationsApi
44671
- * @version 222.0.0
44854
+ * @version 223.0.0
44672
44855
  */
44673
44856
 
44674
44857
  /**
@@ -44901,7 +45084,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44901
45084
  /**
44902
45085
  * OAuth service.
44903
45086
  * @module purecloud-platform-client-v2/api/OAuthApi
44904
- * @version 222.0.0
45087
+ * @version 223.0.0
44905
45088
  */
44906
45089
 
44907
45090
  /**
@@ -45267,7 +45450,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45267
45450
  /**
45268
45451
  * Objects service.
45269
45452
  * @module purecloud-platform-client-v2/api/ObjectsApi
45270
- * @version 222.0.0
45453
+ * @version 223.0.0
45271
45454
  */
45272
45455
 
45273
45456
  /**
@@ -45591,7 +45774,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45591
45774
  /**
45592
45775
  * OperationalEvents service.
45593
45776
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
45594
- * @version 222.0.0
45777
+ * @version 223.0.0
45595
45778
  */
45596
45779
 
45597
45780
  /**
@@ -45708,7 +45891,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45708
45891
  /**
45709
45892
  * Organization service.
45710
45893
  * @module purecloud-platform-client-v2/api/OrganizationApi
45711
- * @version 222.0.0
45894
+ * @version 223.0.0
45712
45895
  */
45713
45896
 
45714
45897
  /**
@@ -46183,7 +46366,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46183
46366
  /**
46184
46367
  * OrganizationAuthorization service.
46185
46368
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
46186
- * @version 222.0.0
46369
+ * @version 223.0.0
46187
46370
  */
46188
46371
 
46189
46372
  /**
@@ -47577,7 +47760,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47577
47760
  /**
47578
47761
  * Outbound service.
47579
47762
  * @module purecloud-platform-client-v2/api/OutboundApi
47580
- * @version 222.0.0
47763
+ * @version 223.0.0
47581
47764
  */
47582
47765
 
47583
47766
  /**
@@ -52199,7 +52382,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52199
52382
  /**
52200
52383
  * Presence service.
52201
52384
  * @module purecloud-platform-client-v2/api/PresenceApi
52202
- * @version 222.0.0
52385
+ * @version 223.0.0
52203
52386
  */
52204
52387
 
52205
52388
  /**
@@ -52943,7 +53126,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52943
53126
  /**
52944
53127
  * ProcessAutomation service.
52945
53128
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
52946
- * @version 222.0.0
53129
+ * @version 223.0.0
52947
53130
  */
52948
53131
 
52949
53132
  /**
@@ -53182,7 +53365,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53182
53365
  /**
53183
53366
  * Quality service.
53184
53367
  * @module purecloud-platform-client-v2/api/QualityApi
53185
- * @version 222.0.0
53368
+ * @version 223.0.0
53186
53369
  */
53187
53370
 
53188
53371
  /**
@@ -54969,7 +55152,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54969
55152
  /**
54970
55153
  * Recording service.
54971
55154
  * @module purecloud-platform-client-v2/api/RecordingApi
54972
- * @version 222.0.0
55155
+ * @version 223.0.0
54973
55156
  */
54974
55157
 
54975
55158
  /**
@@ -56574,7 +56757,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56574
56757
  /**
56575
56758
  * ResponseManagement service.
56576
56759
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
56577
- * @version 222.0.0
56760
+ * @version 223.0.0
56578
56761
  */
56579
56762
 
56580
56763
  /**
@@ -57084,7 +57267,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57084
57267
  /**
57085
57268
  * Routing service.
57086
57269
  * @module purecloud-platform-client-v2/api/RoutingApi
57087
- * @version 222.0.0
57270
+ * @version 223.0.0
57088
57271
  */
57089
57272
 
57090
57273
  /**
@@ -61394,7 +61577,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61394
61577
  /**
61395
61578
  * SCIM service.
61396
61579
  * @module purecloud-platform-client-v2/api/SCIMApi
61397
- * @version 222.0.0
61580
+ * @version 223.0.0
61398
61581
  */
61399
61582
 
61400
61583
  /**
@@ -62271,7 +62454,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62271
62454
  /**
62272
62455
  * ScreenRecording service.
62273
62456
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
62274
- * @version 222.0.0
62457
+ * @version 223.0.0
62275
62458
  */
62276
62459
 
62277
62460
  /**
@@ -62316,7 +62499,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62316
62499
  /**
62317
62500
  * Scripts service.
62318
62501
  * @module purecloud-platform-client-v2/api/ScriptsApi
62319
- * @version 222.0.0
62502
+ * @version 223.0.0
62320
62503
  */
62321
62504
 
62322
62505
  /**
@@ -62792,7 +62975,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62792
62975
  /**
62793
62976
  * Search service.
62794
62977
  * @module purecloud-platform-client-v2/api/SearchApi
62795
- * @version 222.0.0
62978
+ * @version 223.0.0
62796
62979
  */
62797
62980
 
62798
62981
  /**
@@ -63535,7 +63718,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63535
63718
  /**
63536
63719
  * Settings service.
63537
63720
  * @module purecloud-platform-client-v2/api/SettingsApi
63538
- * @version 222.0.0
63721
+ * @version 223.0.0
63539
63722
  */
63540
63723
 
63541
63724
  /**
@@ -63883,7 +64066,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63883
64066
  /**
63884
64067
  * SocialMedia service.
63885
64068
  * @module purecloud-platform-client-v2/api/SocialMediaApi
63886
- * @version 222.0.0
64069
+ * @version 223.0.0
63887
64070
  */
63888
64071
 
63889
64072
  /**
@@ -64019,7 +64202,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64019
64202
  * @param {String} openId openId
64020
64203
  * @param {Object} opts Optional parameters
64021
64204
  * @param {Boolean} opts.hardDelete Determines whether a open data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
64022
- * deleteSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
64023
64205
  */
64024
64206
  deleteSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
64025
64207
  opts = opts || {};
@@ -64420,7 +64602,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64420
64602
  * @param {String} openId openId
64421
64603
  * @param {Object} opts Optional parameters
64422
64604
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
64423
- * getSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
64424
64605
  */
64425
64606
  getSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
64426
64607
  opts = opts || {};
@@ -64456,7 +64637,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64456
64637
  * @param {String} dataIngestionRuleVersion version
64457
64638
  * @param {Object} opts Optional parameters
64458
64639
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
64459
- * getSocialmediaTopicDataingestionrulesOpenOpenIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
64460
64640
  */
64461
64641
  getSocialmediaTopicDataingestionrulesOpenOpenIdVersion(topicId, openId, dataIngestionRuleVersion, opts) {
64462
64642
  opts = opts || {};
@@ -64497,7 +64677,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64497
64677
  * @param {Number} opts.pageNumber Page number (default to 1)
64498
64678
  * @param {Number} opts.pageSize Page size (default to 25)
64499
64679
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
64500
- * getSocialmediaTopicDataingestionrulesOpenOpenIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
64501
64680
  */
64502
64681
  getSocialmediaTopicDataingestionrulesOpenOpenIdVersions(topicId, openId, opts) {
64503
64682
  opts = opts || {};
@@ -64731,7 +64910,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64731
64910
  * @param {String} openId openId
64732
64911
  * @param {Object} opts Optional parameters
64733
64912
  * @param {Object} opts.body
64734
- * patchSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
64735
64913
  */
64736
64914
  patchSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
64737
64915
  opts = opts || {};
@@ -64931,7 +65109,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64931
65109
  * @param {String} topicId topicId
64932
65110
  * @param {Object} opts Optional parameters
64933
65111
  * @param {Object} opts.body
64934
- * postSocialmediaTopicDataingestionrulesOpen is a preview method and is subject to both breaking and non-breaking changes at any time without notice
64935
65112
  */
64936
65113
  postSocialmediaTopicDataingestionrulesOpen(topicId, opts) {
64937
65114
  opts = opts || {};
@@ -64955,6 +65132,76 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64955
65132
  );
64956
65133
  }
64957
65134
 
65135
+ /**
65136
+ * Ingest a list of Open Social Messages
65137
+ * Ingest a list of open social messages to an ingestion rule on a topic. This endpoint will ingest and enrich these messages. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least social scope.
65138
+ * @param {String} topicId Topic ID
65139
+ * @param {String} ruleId Data Ingestion Rule ID
65140
+ * @param {Array.<Object>} body NormalizedMessage
65141
+ */
65142
+ postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk(topicId, ruleId, body) {
65143
+ // verify the required parameter 'topicId' is set
65144
+ if (topicId === undefined || topicId === null) {
65145
+ throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
65146
+ }
65147
+ // verify the required parameter 'ruleId' is set
65148
+ if (ruleId === undefined || ruleId === null) {
65149
+ throw 'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
65150
+ }
65151
+ // verify the required parameter 'body' is set
65152
+ if (body === undefined || body === null) {
65153
+ throw 'Missing the required parameter "body" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
65154
+ }
65155
+
65156
+ return this.apiClient.callApi(
65157
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{ruleId}/messages/bulk',
65158
+ 'POST',
65159
+ { 'topicId': topicId,'ruleId': ruleId },
65160
+ { },
65161
+ { },
65162
+ { },
65163
+ body,
65164
+ ['PureCloud OAuth'],
65165
+ ['application/json'],
65166
+ ['application/json']
65167
+ );
65168
+ }
65169
+
65170
+ /**
65171
+ * Ingest a list of Open Social Reactions
65172
+ * Ingest a list of open social reactions to an ingestion rule on a topic. This endpoint will ingest these reactions. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least social scope.
65173
+ * @param {String} topicId Topic ID
65174
+ * @param {String} ruleId Data Ingestion Rule ID
65175
+ * @param {Object} body NormalizedEvent
65176
+ */
65177
+ postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk(topicId, ruleId, body) {
65178
+ // verify the required parameter 'topicId' is set
65179
+ if (topicId === undefined || topicId === null) {
65180
+ throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
65181
+ }
65182
+ // verify the required parameter 'ruleId' is set
65183
+ if (ruleId === undefined || ruleId === null) {
65184
+ throw 'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
65185
+ }
65186
+ // verify the required parameter 'body' is set
65187
+ if (body === undefined || body === null) {
65188
+ throw 'Missing the required parameter "body" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
65189
+ }
65190
+
65191
+ return this.apiClient.callApi(
65192
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{ruleId}/reactions/bulk',
65193
+ 'POST',
65194
+ { 'topicId': topicId,'ruleId': ruleId },
65195
+ { },
65196
+ { },
65197
+ { },
65198
+ body,
65199
+ ['PureCloud OAuth'],
65200
+ ['application/json'],
65201
+ ['application/json']
65202
+ );
65203
+ }
65204
+
64958
65205
  /**
64959
65206
  * Create an twitter data ingestion rule.
64960
65207
  *
@@ -65103,7 +65350,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65103
65350
  * @param {String} openId openId
65104
65351
  * @param {Object} opts Optional parameters
65105
65352
  * @param {Object} opts.body
65106
- * putSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
65107
65353
  */
65108
65354
  putSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
65109
65355
  opts = opts || {};
@@ -65171,7 +65417,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65171
65417
  /**
65172
65418
  * SpeechTextAnalytics service.
65173
65419
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
65174
- * @version 222.0.0
65420
+ * @version 223.0.0
65175
65421
  */
65176
65422
 
65177
65423
  /**
@@ -66065,6 +66311,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66065
66311
  );
66066
66312
  }
66067
66313
 
66314
+ /**
66315
+ * Get a Speech and Text Analytics test topics phrase job by id
66316
+ *
66317
+ * @param {String} jobId the id of the test topic phrase job
66318
+ */
66319
+ getSpeechandtextanalyticsTopicsTestphraseJob(jobId) {
66320
+ // verify the required parameter 'jobId' is set
66321
+ if (jobId === undefined || jobId === null) {
66322
+ throw 'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsTestphraseJob';
66323
+ }
66324
+
66325
+ return this.apiClient.callApi(
66326
+ '/api/v2/speechandtextanalytics/topics/testphrase/jobs/{jobId}',
66327
+ 'GET',
66328
+ { 'jobId': jobId },
66329
+ { },
66330
+ { },
66331
+ { },
66332
+ null,
66333
+ ['PureCloud OAuth'],
66334
+ ['application/json'],
66335
+ ['application/json']
66336
+ );
66337
+ }
66338
+
66068
66339
  /**
66069
66340
  * Translate a single interaction recording (or an email conversation)
66070
66341
  *
@@ -66345,6 +66616,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66345
66616
  );
66346
66617
  }
66347
66618
 
66619
+ /**
66620
+ * Create new Speech and Text Analytics publish topics job
66621
+ *
66622
+ * @param {Object} body The publish test topic phrase job to create
66623
+ */
66624
+ postSpeechandtextanalyticsTopicsTestphraseJobs(body) {
66625
+ // verify the required parameter 'body' is set
66626
+ if (body === undefined || body === null) {
66627
+ throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopicsTestphraseJobs';
66628
+ }
66629
+
66630
+ return this.apiClient.callApi(
66631
+ '/api/v2/speechandtextanalytics/topics/testphrase/jobs',
66632
+ 'POST',
66633
+ { },
66634
+ { },
66635
+ { },
66636
+ { },
66637
+ body,
66638
+ ['PureCloud OAuth'],
66639
+ ['application/json'],
66640
+ ['application/json']
66641
+ );
66642
+ }
66643
+
66348
66644
  /**
66349
66645
  * Search resources.
66350
66646
  *
@@ -66610,7 +66906,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66610
66906
  /**
66611
66907
  * Stations service.
66612
66908
  * @module purecloud-platform-client-v2/api/StationsApi
66613
- * @version 222.0.0
66909
+ * @version 223.0.0
66614
66910
  */
66615
66911
 
66616
66912
  /**
@@ -66712,7 +67008,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66712
67008
  /**
66713
67009
  * Suggest service.
66714
67010
  * @module purecloud-platform-client-v2/api/SuggestApi
66715
- * @version 222.0.0
67011
+ * @version 223.0.0
66716
67012
  */
66717
67013
 
66718
67014
  /**
@@ -66851,7 +67147,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66851
67147
  /**
66852
67148
  * TaskManagement service.
66853
67149
  * @module purecloud-platform-client-v2/api/TaskManagementApi
66854
- * @version 222.0.0
67150
+ * @version 223.0.0
66855
67151
  */
66856
67152
 
66857
67153
  /**
@@ -69013,7 +69309,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69013
69309
  /**
69014
69310
  * Teams service.
69015
69311
  * @module purecloud-platform-client-v2/api/TeamsApi
69016
- * @version 222.0.0
69312
+ * @version 223.0.0
69017
69313
  */
69018
69314
 
69019
69315
  /**
@@ -69318,7 +69614,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69318
69614
  /**
69319
69615
  * Telephony service.
69320
69616
  * @module purecloud-platform-client-v2/api/TelephonyApi
69321
- * @version 222.0.0
69617
+ * @version 223.0.0
69322
69618
  */
69323
69619
 
69324
69620
  /**
@@ -69500,7 +69796,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69500
69796
  /**
69501
69797
  * TelephonyProvidersEdge service.
69502
69798
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
69503
- * @version 222.0.0
69799
+ * @version 223.0.0
69504
69800
  */
69505
69801
 
69506
69802
  /**
@@ -72952,7 +73248,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72952
73248
  /**
72953
73249
  * Textbots service.
72954
73250
  * @module purecloud-platform-client-v2/api/TextbotsApi
72955
- * @version 222.0.0
73251
+ * @version 223.0.0
72956
73252
  */
72957
73253
 
72958
73254
  /**
@@ -73081,7 +73377,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73081
73377
  /**
73082
73378
  * Tokens service.
73083
73379
  * @module purecloud-platform-client-v2/api/TokensApi
73084
- * @version 222.0.0
73380
+ * @version 223.0.0
73085
73381
  */
73086
73382
 
73087
73383
  /**
@@ -73235,7 +73531,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73235
73531
  /**
73236
73532
  * Uploads service.
73237
73533
  * @module purecloud-platform-client-v2/api/UploadsApi
73238
- * @version 222.0.0
73534
+ * @version 223.0.0
73239
73535
  */
73240
73536
 
73241
73537
  /**
@@ -73526,7 +73822,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73526
73822
  /**
73527
73823
  * Usage service.
73528
73824
  * @module purecloud-platform-client-v2/api/UsageApi
73529
- * @version 222.0.0
73825
+ * @version 223.0.0
73530
73826
  */
73531
73827
 
73532
73828
  /**
@@ -73741,7 +74037,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73741
74037
  /**
73742
74038
  * UserRecordings service.
73743
74039
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
73744
- * @version 222.0.0
74040
+ * @version 223.0.0
73745
74041
  */
73746
74042
 
73747
74043
  /**
@@ -73956,7 +74252,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73956
74252
  /**
73957
74253
  * Users service.
73958
74254
  * @module purecloud-platform-client-v2/api/UsersApi
73959
- * @version 222.0.0
74255
+ * @version 223.0.0
73960
74256
  */
73961
74257
 
73962
74258
  /**
@@ -76909,7 +77205,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76909
77205
  /**
76910
77206
  * Utilities service.
76911
77207
  * @module purecloud-platform-client-v2/api/UtilitiesApi
76912
- * @version 222.0.0
77208
+ * @version 223.0.0
76913
77209
  */
76914
77210
 
76915
77211
  /**
@@ -77020,7 +77316,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77020
77316
  /**
77021
77317
  * Voicemail service.
77022
77318
  * @module purecloud-platform-client-v2/api/VoicemailApi
77023
- * @version 222.0.0
77319
+ * @version 223.0.0
77024
77320
  */
77025
77321
 
77026
77322
  /**
@@ -77742,7 +78038,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77742
78038
  /**
77743
78039
  * WebChat service.
77744
78040
  * @module purecloud-platform-client-v2/api/WebChatApi
77745
- * @version 222.0.0
78041
+ * @version 223.0.0
77746
78042
  */
77747
78043
 
77748
78044
  /**
@@ -78302,7 +78598,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
78302
78598
  /**
78303
78599
  * WebDeployments service.
78304
78600
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
78305
- * @version 222.0.0
78601
+ * @version 223.0.0
78306
78602
  */
78307
78603
 
78308
78604
  /**
@@ -78884,7 +79180,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
78884
79180
  /**
78885
79181
  * WebMessaging service.
78886
79182
  * @module purecloud-platform-client-v2/api/WebMessagingApi
78887
- * @version 222.0.0
79183
+ * @version 223.0.0
78888
79184
  */
78889
79185
 
78890
79186
  /**
@@ -78930,7 +79226,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
78930
79226
  /**
78931
79227
  * Widgets service.
78932
79228
  * @module purecloud-platform-client-v2/api/WidgetsApi
78933
- * @version 222.0.0
79229
+ * @version 223.0.0
78934
79230
  */
78935
79231
 
78936
79232
  /**
@@ -79081,7 +79377,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
79081
79377
  /**
79082
79378
  * WorkforceManagement service.
79083
79379
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
79084
- * @version 222.0.0
79380
+ * @version 223.0.0
79085
79381
  */
79086
79382
 
79087
79383
  /**
@@ -82803,16 +83099,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82803
83099
  * Update my alternative shifts trade by trade ID
82804
83100
  *
82805
83101
  * @param {String} tradeId The ID of the alternative shift trade
82806
- * @param {Object} opts Optional parameters
82807
- * @param {Object} opts.body body
83102
+ * @param {Object} body body
82808
83103
  */
82809
- patchWorkforcemanagementAlternativeshiftsTrade(tradeId, opts) {
82810
- opts = opts || {};
82811
-
83104
+ patchWorkforcemanagementAlternativeshiftsTrade(tradeId, body) {
82812
83105
  // verify the required parameter 'tradeId' is set
82813
83106
  if (tradeId === undefined || tradeId === null) {
82814
83107
  throw 'Missing the required parameter "tradeId" when calling patchWorkforcemanagementAlternativeshiftsTrade';
82815
83108
  }
83109
+ // verify the required parameter 'body' is set
83110
+ if (body === undefined || body === null) {
83111
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementAlternativeshiftsTrade';
83112
+ }
82816
83113
 
82817
83114
  return this.apiClient.callApi(
82818
83115
  '/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}',
@@ -82821,7 +83118,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82821
83118
  { },
82822
83119
  { },
82823
83120
  { },
82824
- opts['body'],
83121
+ body,
82825
83122
  ['PureCloud OAuth'],
82826
83123
  ['application/json'],
82827
83124
  ['application/json']
@@ -82857,16 +83154,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82857
83154
  * Update business unit
82858
83155
  *
82859
83156
  * @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
82860
- * @param {Object} opts Optional parameters
82861
- * @param {Object} opts.body body
83157
+ * @param {Object} body body
82862
83158
  */
82863
- patchWorkforcemanagementBusinessunit(businessUnitId, opts) {
82864
- opts = opts || {};
82865
-
83159
+ patchWorkforcemanagementBusinessunit(businessUnitId, body) {
82866
83160
  // verify the required parameter 'businessUnitId' is set
82867
83161
  if (businessUnitId === undefined || businessUnitId === null) {
82868
83162
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunit';
82869
83163
  }
83164
+ // verify the required parameter 'body' is set
83165
+ if (body === undefined || body === null) {
83166
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunit';
83167
+ }
82870
83168
 
82871
83169
  return this.apiClient.callApi(
82872
83170
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}',
@@ -82875,7 +83173,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82875
83173
  { },
82876
83174
  { },
82877
83175
  { },
82878
- opts['body'],
83176
+ body,
82879
83177
  ['PureCloud OAuth'],
82880
83178
  ['application/json'],
82881
83179
  ['application/json']
@@ -82887,12 +83185,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82887
83185
  *
82888
83186
  * @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
82889
83187
  * @param {String} activityCodeId The ID of the activity code to update
82890
- * @param {Object} opts Optional parameters
82891
- * @param {Object} opts.body body
83188
+ * @param {Object} body body
82892
83189
  */
82893
- patchWorkforcemanagementBusinessunitActivitycode(businessUnitId, activityCodeId, opts) {
82894
- opts = opts || {};
82895
-
83190
+ patchWorkforcemanagementBusinessunitActivitycode(businessUnitId, activityCodeId, body) {
82896
83191
  // verify the required parameter 'businessUnitId' is set
82897
83192
  if (businessUnitId === undefined || businessUnitId === null) {
82898
83193
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivitycode';
@@ -82901,6 +83196,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82901
83196
  if (activityCodeId === undefined || activityCodeId === null) {
82902
83197
  throw 'Missing the required parameter "activityCodeId" when calling patchWorkforcemanagementBusinessunitActivitycode';
82903
83198
  }
83199
+ // verify the required parameter 'body' is set
83200
+ if (body === undefined || body === null) {
83201
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitActivitycode';
83202
+ }
82904
83203
 
82905
83204
  return this.apiClient.callApi(
82906
83205
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes/{activityCodeId}',
@@ -82909,7 +83208,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82909
83208
  { },
82910
83209
  { },
82911
83210
  { },
82912
- opts['body'],
83211
+ body,
82913
83212
  ['PureCloud OAuth'],
82914
83213
  ['application/json'],
82915
83214
  ['application/json']
@@ -82955,16 +83254,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82955
83254
  * Update alternative shifts settings for a business unit
82956
83255
  *
82957
83256
  * @param {String} businessUnitId The ID of the business unit
82958
- * @param {Object} opts Optional parameters
82959
- * @param {Object} opts.body body
83257
+ * @param {Object} body body
82960
83258
  */
82961
- patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId, opts) {
82962
- opts = opts || {};
82963
-
83259
+ patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId, body) {
82964
83260
  // verify the required parameter 'businessUnitId' is set
82965
83261
  if (businessUnitId === undefined || businessUnitId === null) {
82966
83262
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';
82967
83263
  }
83264
+ // verify the required parameter 'body' is set
83265
+ if (body === undefined || body === null) {
83266
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';
83267
+ }
82968
83268
 
82969
83269
  return this.apiClient.callApi(
82970
83270
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings',
@@ -82973,7 +83273,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82973
83273
  { },
82974
83274
  { },
82975
83275
  { },
82976
- opts['body'],
83276
+ body,
82977
83277
  ['PureCloud OAuth'],
82978
83278
  ['application/json'],
82979
83279
  ['application/json']
@@ -82985,12 +83285,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82985
83285
  *
82986
83286
  * @param {String} businessUnitId The ID of the business unit.
82987
83287
  * @param {String} planningGroupId The ID of a planning group to update
82988
- * @param {Object} opts Optional parameters
82989
- * @param {Object} opts.body body
83288
+ * @param {Object} body body
82990
83289
  */
82991
- patchWorkforcemanagementBusinessunitPlanninggroup(businessUnitId, planningGroupId, opts) {
82992
- opts = opts || {};
82993
-
83290
+ patchWorkforcemanagementBusinessunitPlanninggroup(businessUnitId, planningGroupId, body) {
82994
83291
  // verify the required parameter 'businessUnitId' is set
82995
83292
  if (businessUnitId === undefined || businessUnitId === null) {
82996
83293
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
@@ -82999,6 +83296,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82999
83296
  if (planningGroupId === undefined || planningGroupId === null) {
83000
83297
  throw 'Missing the required parameter "planningGroupId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
83001
83298
  }
83299
+ // verify the required parameter 'body' is set
83300
+ if (body === undefined || body === null) {
83301
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
83302
+ }
83002
83303
 
83003
83304
  return this.apiClient.callApi(
83004
83305
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups/{planningGroupId}',
@@ -83007,7 +83308,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83007
83308
  { },
83008
83309
  { },
83009
83310
  { },
83010
- opts['body'],
83311
+ body,
83011
83312
  ['PureCloud OAuth'],
83012
83313
  ['application/json'],
83013
83314
  ['application/json']
@@ -83019,12 +83320,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83019
83320
  *
83020
83321
  * @param {String} businessUnitId The ID of the business unit
83021
83322
  * @param {String} runId The ID of the schedule run
83022
- * @param {Object} opts Optional parameters
83023
- * @param {Object} opts.body body
83323
+ * @param {Object} body body
83024
83324
  */
83025
- patchWorkforcemanagementBusinessunitSchedulingRun(businessUnitId, runId, opts) {
83026
- opts = opts || {};
83027
-
83325
+ patchWorkforcemanagementBusinessunitSchedulingRun(businessUnitId, runId, body) {
83028
83326
  // verify the required parameter 'businessUnitId' is set
83029
83327
  if (businessUnitId === undefined || businessUnitId === null) {
83030
83328
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
@@ -83033,6 +83331,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83033
83331
  if (runId === undefined || runId === null) {
83034
83332
  throw 'Missing the required parameter "runId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
83035
83333
  }
83334
+ // verify the required parameter 'body' is set
83335
+ if (body === undefined || body === null) {
83336
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
83337
+ }
83036
83338
 
83037
83339
  return this.apiClient.callApi(
83038
83340
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/scheduling/runs/{runId}',
@@ -83041,7 +83343,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83041
83343
  { },
83042
83344
  { },
83043
83345
  { },
83044
- opts['body'],
83346
+ body,
83045
83347
  ['PureCloud OAuth'],
83046
83348
  ['application/json'],
83047
83349
  ['application/json']
@@ -83053,12 +83355,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83053
83355
  *
83054
83356
  * @param {String} businessUnitId The ID of the business unit.
83055
83357
  * @param {String} serviceGoalTemplateId The ID of a service goal template to update
83056
- * @param {Object} opts Optional parameters
83057
- * @param {Object} opts.body body
83358
+ * @param {Object} body body
83058
83359
  */
83059
- patchWorkforcemanagementBusinessunitServicegoaltemplate(businessUnitId, serviceGoalTemplateId, opts) {
83060
- opts = opts || {};
83061
-
83360
+ patchWorkforcemanagementBusinessunitServicegoaltemplate(businessUnitId, serviceGoalTemplateId, body) {
83062
83361
  // verify the required parameter 'businessUnitId' is set
83063
83362
  if (businessUnitId === undefined || businessUnitId === null) {
83064
83363
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
@@ -83067,6 +83366,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83067
83366
  if (serviceGoalTemplateId === undefined || serviceGoalTemplateId === null) {
83068
83367
  throw 'Missing the required parameter "serviceGoalTemplateId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
83069
83368
  }
83369
+ // verify the required parameter 'body' is set
83370
+ if (body === undefined || body === null) {
83371
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
83372
+ }
83070
83373
 
83071
83374
  return this.apiClient.callApi(
83072
83375
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates/{serviceGoalTemplateId}',
@@ -83075,7 +83378,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83075
83378
  { },
83076
83379
  { },
83077
83380
  { },
83078
- opts['body'],
83381
+ body,
83079
83382
  ['PureCloud OAuth'],
83080
83383
  ['application/json'],
83081
83384
  ['application/json']
@@ -83087,12 +83390,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83087
83390
  *
83088
83391
  * @param {String} businessUnitId The ID of the business unit
83089
83392
  * @param {String} staffingGroupId The ID of the staffing group to update
83090
- * @param {Object} opts Optional parameters
83091
- * @param {Object} opts.body body
83393
+ * @param {Object} body body
83092
83394
  */
83093
- patchWorkforcemanagementBusinessunitStaffinggroup(businessUnitId, staffingGroupId, opts) {
83094
- opts = opts || {};
83095
-
83395
+ patchWorkforcemanagementBusinessunitStaffinggroup(businessUnitId, staffingGroupId, body) {
83096
83396
  // verify the required parameter 'businessUnitId' is set
83097
83397
  if (businessUnitId === undefined || businessUnitId === null) {
83098
83398
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
@@ -83101,6 +83401,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83101
83401
  if (staffingGroupId === undefined || staffingGroupId === null) {
83102
83402
  throw 'Missing the required parameter "staffingGroupId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
83103
83403
  }
83404
+ // verify the required parameter 'body' is set
83405
+ if (body === undefined || body === null) {
83406
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
83407
+ }
83104
83408
 
83105
83409
  return this.apiClient.callApi(
83106
83410
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/{staffingGroupId}',
@@ -83109,7 +83413,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83109
83413
  { },
83110
83414
  { },
83111
83415
  { },
83112
- opts['body'],
83416
+ body,
83113
83417
  ['PureCloud OAuth'],
83114
83418
  ['application/json'],
83115
83419
  ['application/json']
@@ -83121,12 +83425,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83121
83425
  *
83122
83426
  * @param {String} businessUnitId The ID of the business unit
83123
83427
  * @param {String} timeOffPlanId The ID of the time-off plan to update
83124
- * @param {Object} opts Optional parameters
83125
- * @param {Object} opts.body body
83428
+ * @param {Object} body body
83126
83429
  */
83127
- patchWorkforcemanagementBusinessunitTimeoffplan(businessUnitId, timeOffPlanId, opts) {
83128
- opts = opts || {};
83129
-
83430
+ patchWorkforcemanagementBusinessunitTimeoffplan(businessUnitId, timeOffPlanId, body) {
83130
83431
  // verify the required parameter 'businessUnitId' is set
83131
83432
  if (businessUnitId === undefined || businessUnitId === null) {
83132
83433
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
@@ -83135,6 +83436,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83135
83436
  if (timeOffPlanId === undefined || timeOffPlanId === null) {
83136
83437
  throw 'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
83137
83438
  }
83439
+ // verify the required parameter 'body' is set
83440
+ if (body === undefined || body === null) {
83441
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
83442
+ }
83138
83443
 
83139
83444
  return this.apiClient.callApi(
83140
83445
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}',
@@ -83143,7 +83448,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83143
83448
  { },
83144
83449
  { },
83145
83450
  { },
83146
- opts['body'],
83451
+ body,
83147
83452
  ['PureCloud OAuth'],
83148
83453
  ['application/json'],
83149
83454
  ['application/json']
@@ -83191,12 +83496,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83191
83496
  * @param {String} businessUnitId The ID of the business unit
83192
83497
  * @param {String} bidId The work plan bid id of the bid groups
83193
83498
  * @param {String} bidGroupId Work Plan Bid Group id
83194
- * @param {Object} opts Optional parameters
83195
- * @param {Object} opts.body body
83499
+ * @param {Object} body body
83196
83500
  */
83197
- patchWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId, opts) {
83198
- opts = opts || {};
83199
-
83501
+ patchWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId, body) {
83200
83502
  // verify the required parameter 'businessUnitId' is set
83201
83503
  if (businessUnitId === undefined || businessUnitId === null) {
83202
83504
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
@@ -83209,6 +83511,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83209
83511
  if (bidGroupId === undefined || bidGroupId === null) {
83210
83512
  throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
83211
83513
  }
83514
+ // verify the required parameter 'body' is set
83515
+ if (body === undefined || body === null) {
83516
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
83517
+ }
83212
83518
 
83213
83519
  return this.apiClient.callApi(
83214
83520
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}',
@@ -83217,7 +83523,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83217
83523
  { },
83218
83524
  { },
83219
83525
  { },
83220
- opts['body'],
83526
+ body,
83221
83527
  ['PureCloud OAuth'],
83222
83528
  ['application/json'],
83223
83529
  ['application/json']
@@ -83230,12 +83536,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83230
83536
  * @param {String} businessUnitId The ID of the business unit
83231
83537
  * @param {String} bidId The work plan bid id of the bid groups
83232
83538
  * @param {String} bidGroupId The ID of the work plan bid group
83233
- * @param {Object} opts Optional parameters
83234
- * @param {Object} opts.body body
83539
+ * @param {Object} body body
83235
83540
  */
83236
- patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId, opts) {
83237
- opts = opts || {};
83238
-
83541
+ patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId, body) {
83239
83542
  // verify the required parameter 'businessUnitId' is set
83240
83543
  if (businessUnitId === undefined || businessUnitId === null) {
83241
83544
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
@@ -83248,6 +83551,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83248
83551
  if (bidGroupId === undefined || bidGroupId === null) {
83249
83552
  throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
83250
83553
  }
83554
+ // verify the required parameter 'body' is set
83555
+ if (body === undefined || body === null) {
83556
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
83557
+ }
83251
83558
 
83252
83559
  return this.apiClient.callApi(
83253
83560
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences',
@@ -83256,7 +83563,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83256
83563
  { },
83257
83564
  { },
83258
83565
  { },
83259
- opts['body'],
83566
+ body,
83260
83567
  ['PureCloud OAuth'],
83261
83568
  ['application/json'],
83262
83569
  ['application/json']
@@ -83267,16 +83574,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83267
83574
  * Update the requested management unit
83268
83575
  *
83269
83576
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
83270
- * @param {Object} opts Optional parameters
83271
- * @param {Object} opts.body body
83577
+ * @param {Object} body body
83272
83578
  */
83273
- patchWorkforcemanagementManagementunit(managementUnitId, opts) {
83274
- opts = opts || {};
83275
-
83579
+ patchWorkforcemanagementManagementunit(managementUnitId, body) {
83276
83580
  // verify the required parameter 'managementUnitId' is set
83277
83581
  if (managementUnitId === undefined || managementUnitId === null) {
83278
83582
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunit';
83279
83583
  }
83584
+ // verify the required parameter 'body' is set
83585
+ if (body === undefined || body === null) {
83586
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunit';
83587
+ }
83280
83588
 
83281
83589
  return this.apiClient.callApi(
83282
83590
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}',
@@ -83285,7 +83593,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83285
83593
  { },
83286
83594
  { },
83287
83595
  { },
83288
- opts['body'],
83596
+ body,
83289
83597
  ['PureCloud OAuth'],
83290
83598
  ['application/json'],
83291
83599
  ['application/json']
@@ -83296,16 +83604,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83296
83604
  * Update agent configurations
83297
83605
  *
83298
83606
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
83299
- * @param {Object} opts Optional parameters
83300
- * @param {Object} opts.body body
83607
+ * @param {Object} body body
83301
83608
  */
83302
- patchWorkforcemanagementManagementunitAgents(managementUnitId, opts) {
83303
- opts = opts || {};
83304
-
83609
+ patchWorkforcemanagementManagementunitAgents(managementUnitId, body) {
83305
83610
  // verify the required parameter 'managementUnitId' is set
83306
83611
  if (managementUnitId === undefined || managementUnitId === null) {
83307
83612
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgents';
83308
83613
  }
83614
+ // verify the required parameter 'body' is set
83615
+ if (body === undefined || body === null) {
83616
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitAgents';
83617
+ }
83309
83618
 
83310
83619
  return this.apiClient.callApi(
83311
83620
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents',
@@ -83314,7 +83623,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83314
83623
  { },
83315
83624
  { },
83316
83625
  { },
83317
- opts['body'],
83626
+ body,
83318
83627
  ['PureCloud OAuth'],
83319
83628
  ['application/json'],
83320
83629
  ['application/json']
@@ -83325,16 +83634,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83325
83634
  * Updates agent work plan configuration
83326
83635
  *
83327
83636
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
83328
- * @param {Object} opts Optional parameters
83329
- * @param {Object} opts.body body
83637
+ * @param {Object} body body
83330
83638
  */
83331
- patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId, opts) {
83332
- opts = opts || {};
83333
-
83639
+ patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId, body) {
83334
83640
  // verify the required parameter 'managementUnitId' is set
83335
83641
  if (managementUnitId === undefined || managementUnitId === null) {
83336
83642
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';
83337
83643
  }
83644
+ // verify the required parameter 'body' is set
83645
+ if (body === undefined || body === null) {
83646
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';
83647
+ }
83338
83648
 
83339
83649
  return this.apiClient.callApi(
83340
83650
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/bulk',
@@ -83343,7 +83653,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83343
83653
  { },
83344
83654
  { },
83345
83655
  { },
83346
- opts['body'],
83656
+ body,
83347
83657
  ['PureCloud OAuth'],
83348
83658
  ['application/json'],
83349
83659
  ['application/json']
@@ -83355,12 +83665,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83355
83665
  * Updates time off limit object properties, but not daily values.
83356
83666
  * @param {String} managementUnitId The ID of the management unit.
83357
83667
  * @param {String} timeOffLimitId The id of time off limit object to update
83358
- * @param {Object} opts Optional parameters
83359
- * @param {Object} opts.body body
83668
+ * @param {Object} body body
83360
83669
  */
83361
- patchWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId, opts) {
83362
- opts = opts || {};
83363
-
83670
+ patchWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId, body) {
83364
83671
  // verify the required parameter 'managementUnitId' is set
83365
83672
  if (managementUnitId === undefined || managementUnitId === null) {
83366
83673
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
@@ -83369,6 +83676,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83369
83676
  if (timeOffLimitId === undefined || timeOffLimitId === null) {
83370
83677
  throw 'Missing the required parameter "timeOffLimitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
83371
83678
  }
83679
+ // verify the required parameter 'body' is set
83680
+ if (body === undefined || body === null) {
83681
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeofflimit';
83682
+ }
83372
83683
 
83373
83684
  return this.apiClient.callApi(
83374
83685
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}',
@@ -83377,7 +83688,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83377
83688
  { },
83378
83689
  { },
83379
83690
  { },
83380
- opts['body'],
83691
+ body,
83381
83692
  ['PureCloud OAuth'],
83382
83693
  ['application/json'],
83383
83694
  ['application/json']
@@ -83389,12 +83700,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83389
83700
  *
83390
83701
  * @param {String} managementUnitId The ID of the management unit
83391
83702
  * @param {String} timeOffPlanId The ID of the time off plan to update
83392
- * @param {Object} opts Optional parameters
83393
- * @param {Object} opts.body body
83703
+ * @param {Object} body body
83394
83704
  */
83395
- patchWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId, opts) {
83396
- opts = opts || {};
83397
-
83705
+ patchWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId, body) {
83398
83706
  // verify the required parameter 'managementUnitId' is set
83399
83707
  if (managementUnitId === undefined || managementUnitId === null) {
83400
83708
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
@@ -83403,6 +83711,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83403
83711
  if (timeOffPlanId === undefined || timeOffPlanId === null) {
83404
83712
  throw 'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
83405
83713
  }
83714
+ // verify the required parameter 'body' is set
83715
+ if (body === undefined || body === null) {
83716
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeoffplan';
83717
+ }
83406
83718
 
83407
83719
  return this.apiClient.callApi(
83408
83720
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans/{timeOffPlanId}',
@@ -83411,7 +83723,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83411
83723
  { },
83412
83724
  { },
83413
83725
  { },
83414
- opts['body'],
83726
+ body,
83415
83727
  ['PureCloud OAuth'],
83416
83728
  ['application/json'],
83417
83729
  ['application/json']
@@ -83424,12 +83736,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83424
83736
  * @param {String} managementUnitId The ID of the management unit.
83425
83737
  * @param {String} timeOffRequestId The ID of the time off request.
83426
83738
  * @param {String} userId The ID of user to whom the time off request belongs.
83427
- * @param {Object} opts Optional parameters
83428
- * @param {Object} opts.body body
83739
+ * @param {Object} body body
83429
83740
  */
83430
- patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus(managementUnitId, timeOffRequestId, userId, opts) {
83431
- opts = opts || {};
83432
-
83741
+ patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus(managementUnitId, timeOffRequestId, userId, body) {
83433
83742
  // verify the required parameter 'managementUnitId' is set
83434
83743
  if (managementUnitId === undefined || managementUnitId === null) {
83435
83744
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
@@ -83442,6 +83751,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83442
83751
  if (userId === undefined || userId === null) {
83443
83752
  throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
83444
83753
  }
83754
+ // verify the required parameter 'body' is set
83755
+ if (body === undefined || body === null) {
83756
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
83757
+ }
83445
83758
 
83446
83759
  return this.apiClient.callApi(
83447
83760
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/{timeOffRequestId}/users/{userId}/integrationstatus',
@@ -83450,7 +83763,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83450
83763
  { },
83451
83764
  { },
83452
83765
  { },
83453
- opts['body'],
83766
+ body,
83454
83767
  ['PureCloud OAuth'],
83455
83768
  ['application/json'],
83456
83769
  ['application/json']
@@ -83463,12 +83776,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83463
83776
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
83464
83777
  * @param {String} userId The id of the user the requested time off request belongs to
83465
83778
  * @param {String} timeOffRequestId The id of the time off request to update
83466
- * @param {Object} opts Optional parameters
83467
- * @param {Object} opts.body body
83779
+ * @param {Object} body body
83468
83780
  */
83469
- patchWorkforcemanagementManagementunitUserTimeoffrequest(managementUnitId, userId, timeOffRequestId, opts) {
83470
- opts = opts || {};
83471
-
83781
+ patchWorkforcemanagementManagementunitUserTimeoffrequest(managementUnitId, userId, timeOffRequestId, body) {
83472
83782
  // verify the required parameter 'managementUnitId' is set
83473
83783
  if (managementUnitId === undefined || managementUnitId === null) {
83474
83784
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
@@ -83481,6 +83791,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83481
83791
  if (timeOffRequestId === undefined || timeOffRequestId === null) {
83482
83792
  throw 'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
83483
83793
  }
83794
+ // verify the required parameter 'body' is set
83795
+ if (body === undefined || body === null) {
83796
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
83797
+ }
83484
83798
 
83485
83799
  return this.apiClient.callApi(
83486
83800
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/{timeOffRequestId}',
@@ -83489,7 +83803,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83489
83803
  { },
83490
83804
  { },
83491
83805
  { },
83492
- opts['body'],
83806
+ body,
83493
83807
  ['PureCloud OAuth'],
83494
83808
  ['application/json'],
83495
83809
  ['application/json']
@@ -83541,11 +83855,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83541
83855
  *
83542
83856
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
83543
83857
  * @param {String} workPlanId The ID of the work plan to update
83858
+ * @param {Object} body body
83544
83859
  * @param {Object} opts Optional parameters
83545
83860
  * @param {Object} opts.validationMode Allows to update work plan even if validation result is invalid
83546
- * @param {Object} opts.body body
83547
83861
  */
83548
- patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, opts) {
83862
+ patchWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId, body, opts) {
83549
83863
  opts = opts || {};
83550
83864
 
83551
83865
  // verify the required parameter 'managementUnitId' is set
@@ -83556,6 +83870,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83556
83870
  if (workPlanId === undefined || workPlanId === null) {
83557
83871
  throw 'Missing the required parameter "workPlanId" when calling patchWorkforcemanagementManagementunitWorkplan';
83558
83872
  }
83873
+ // verify the required parameter 'body' is set
83874
+ if (body === undefined || body === null) {
83875
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitWorkplan';
83876
+ }
83559
83877
 
83560
83878
  return this.apiClient.callApi(
83561
83879
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}',
@@ -83564,7 +83882,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83564
83882
  { 'validationMode': opts['validationMode'] },
83565
83883
  { },
83566
83884
  { },
83567
- opts['body'],
83885
+ body,
83568
83886
  ['PureCloud OAuth'],
83569
83887
  ['application/json'],
83570
83888
  ['application/json']
@@ -83576,12 +83894,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83576
83894
  *
83577
83895
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
83578
83896
  * @param {String} workPlanRotationId The ID of the work plan rotation to update
83579
- * @param {Object} opts Optional parameters
83580
- * @param {Object} opts.body body
83897
+ * @param {Object} body body
83581
83898
  */
83582
- patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId, opts) {
83583
- opts = opts || {};
83584
-
83899
+ patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId, body) {
83585
83900
  // verify the required parameter 'managementUnitId' is set
83586
83901
  if (managementUnitId === undefined || managementUnitId === null) {
83587
83902
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
@@ -83590,6 +83905,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83590
83905
  if (workPlanRotationId === undefined || workPlanRotationId === null) {
83591
83906
  throw 'Missing the required parameter "workPlanRotationId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
83592
83907
  }
83908
+ // verify the required parameter 'body' is set
83909
+ if (body === undefined || body === null) {
83910
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
83911
+ }
83593
83912
 
83594
83913
  return this.apiClient.callApi(
83595
83914
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}',
@@ -83598,7 +83917,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83598
83917
  { },
83599
83918
  { },
83600
83919
  { },
83601
- opts['body'],
83920
+ body,
83602
83921
  ['PureCloud OAuth'],
83603
83922
  ['application/json'],
83604
83923
  ['application/json']
@@ -83609,16 +83928,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83609
83928
  * Update a time off request for the current user
83610
83929
  *
83611
83930
  * @param {String} timeOffRequestId The ID of the time off request
83612
- * @param {Object} opts Optional parameters
83613
- * @param {Object} opts.body body
83931
+ * @param {Object} body body
83614
83932
  */
83615
- patchWorkforcemanagementTimeoffrequest(timeOffRequestId, opts) {
83616
- opts = opts || {};
83617
-
83933
+ patchWorkforcemanagementTimeoffrequest(timeOffRequestId, body) {
83618
83934
  // verify the required parameter 'timeOffRequestId' is set
83619
83935
  if (timeOffRequestId === undefined || timeOffRequestId === null) {
83620
83936
  throw 'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementTimeoffrequest';
83621
83937
  }
83938
+ // verify the required parameter 'body' is set
83939
+ if (body === undefined || body === null) {
83940
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementTimeoffrequest';
83941
+ }
83622
83942
 
83623
83943
  return this.apiClient.callApi(
83624
83944
  '/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}',
@@ -83627,7 +83947,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83627
83947
  { },
83628
83948
  { },
83629
83949
  { },
83630
- opts['body'],
83950
+ body,
83631
83951
  ['PureCloud OAuth'],
83632
83952
  ['application/json'],
83633
83953
  ['application/json']
@@ -83638,16 +83958,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83638
83958
  * Update work plan bid ranks for a user
83639
83959
  *
83640
83960
  * @param {String} userId The userId to whom the work plan bid ranks apply.
83641
- * @param {Object} opts Optional parameters
83642
- * @param {Object} opts.body body
83961
+ * @param {Object} body body
83643
83962
  */
83644
- patchWorkforcemanagementUserWorkplanbidranks(userId, opts) {
83645
- opts = opts || {};
83646
-
83963
+ patchWorkforcemanagementUserWorkplanbidranks(userId, body) {
83647
83964
  // verify the required parameter 'userId' is set
83648
83965
  if (userId === undefined || userId === null) {
83649
83966
  throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementUserWorkplanbidranks';
83650
83967
  }
83968
+ // verify the required parameter 'body' is set
83969
+ if (body === undefined || body === null) {
83970
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementUserWorkplanbidranks';
83971
+ }
83651
83972
 
83652
83973
  return this.apiClient.callApi(
83653
83974
  '/api/v2/workforcemanagement/users/{userId}/workplanbidranks',
@@ -83656,7 +83977,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83656
83977
  { },
83657
83978
  { },
83658
83979
  { },
83659
- opts['body'],
83980
+ body,
83660
83981
  ['PureCloud OAuth'],
83661
83982
  ['application/json'],
83662
83983
  ['application/json']
@@ -83692,16 +84013,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83692
84013
  * Update an agent's work plan bidding preference
83693
84014
  *
83694
84015
  * @param {String} bidId The ID of the work plan bid
83695
- * @param {Object} opts Optional parameters
83696
- * @param {Object} opts.body body
84016
+ * @param {Object} body body
83697
84017
  */
83698
- patchWorkforcemanagementWorkplanbidPreferences(bidId, opts) {
83699
- opts = opts || {};
83700
-
84018
+ patchWorkforcemanagementWorkplanbidPreferences(bidId, body) {
83701
84019
  // verify the required parameter 'bidId' is set
83702
84020
  if (bidId === undefined || bidId === null) {
83703
84021
  throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementWorkplanbidPreferences';
83704
84022
  }
84023
+ // verify the required parameter 'body' is set
84024
+ if (body === undefined || body === null) {
84025
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementWorkplanbidPreferences';
84026
+ }
83705
84027
 
83706
84028
  return this.apiClient.callApi(
83707
84029
  '/api/v2/workforcemanagement/workplanbids/{bidId}/preferences',
@@ -83710,7 +84032,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83710
84032
  { },
83711
84033
  { },
83712
84034
  { },
83713
- opts['body'],
84035
+ body,
83714
84036
  ['PureCloud OAuth'],
83715
84037
  ['application/json'],
83716
84038
  ['application/json']
@@ -83800,12 +84122,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83800
84122
  /**
83801
84123
  * Request a historical adherence report in bulk
83802
84124
  *
83803
- * @param {Object} opts Optional parameters
83804
- * @param {Object} opts.body body
84125
+ * @param {Object} body body
83805
84126
  */
83806
- postWorkforcemanagementAdherenceHistoricalBulk(opts) {
83807
- opts = opts || {};
83808
-
84127
+ postWorkforcemanagementAdherenceHistoricalBulk(body) {
84128
+ // verify the required parameter 'body' is set
84129
+ if (body === undefined || body === null) {
84130
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceHistoricalBulk';
84131
+ }
83809
84132
 
83810
84133
  return this.apiClient.callApi(
83811
84134
  '/api/v2/workforcemanagement/adherence/historical/bulk',
@@ -83814,7 +84137,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83814
84137
  { },
83815
84138
  { },
83816
84139
  { },
83817
- opts['body'],
84140
+ body,
83818
84141
  ['PureCloud OAuth'],
83819
84142
  ['application/json'],
83820
84143
  ['application/json']
@@ -83889,12 +84212,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83889
84212
  /**
83890
84213
  * Move agents in and out of management unit
83891
84214
  *
83892
- * @param {Object} opts Optional parameters
83893
- * @param {Object} opts.body body
84215
+ * @param {Object} body body
83894
84216
  */
83895
- postWorkforcemanagementAgents(opts) {
83896
- opts = opts || {};
83897
-
84217
+ postWorkforcemanagementAgents(body) {
84218
+ // verify the required parameter 'body' is set
84219
+ if (body === undefined || body === null) {
84220
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgents';
84221
+ }
83898
84222
 
83899
84223
  return this.apiClient.callApi(
83900
84224
  '/api/v2/workforcemanagement/agents',
@@ -83903,7 +84227,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83903
84227
  { },
83904
84228
  { },
83905
84229
  { },
83906
- opts['body'],
84230
+ body,
83907
84231
  ['PureCloud OAuth'],
83908
84232
  ['application/json'],
83909
84233
  ['application/json']
@@ -83913,12 +84237,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83913
84237
  /**
83914
84238
  * Query integrations for agents
83915
84239
  *
83916
- * @param {Object} opts Optional parameters
83917
- * @param {Object} opts.body body
84240
+ * @param {Object} body body
83918
84241
  */
83919
- postWorkforcemanagementAgentsIntegrationsHrisQuery(opts) {
83920
- opts = opts || {};
83921
-
84242
+ postWorkforcemanagementAgentsIntegrationsHrisQuery(body) {
84243
+ // verify the required parameter 'body' is set
84244
+ if (body === undefined || body === null) {
84245
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentsIntegrationsHrisQuery';
84246
+ }
83922
84247
 
83923
84248
  return this.apiClient.callApi(
83924
84249
  '/api/v2/workforcemanagement/agents/integrations/hris/query',
@@ -83927,7 +84252,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83927
84252
  { },
83928
84253
  { },
83929
84254
  { },
83930
- opts['body'],
84255
+ body,
83931
84256
  ['PureCloud OAuth'],
83932
84257
  ['application/json'],
83933
84258
  ['application/json']
@@ -83962,12 +84287,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83962
84287
  /**
83963
84288
  * Get published schedule for the current user
83964
84289
  *
83965
- * @param {Object} opts Optional parameters
83966
- * @param {Object} opts.body body
84290
+ * @param {Object} body body
83967
84291
  */
83968
- postWorkforcemanagementAgentschedulesMine(opts) {
83969
- opts = opts || {};
83970
-
84292
+ postWorkforcemanagementAgentschedulesMine(body) {
84293
+ // verify the required parameter 'body' is set
84294
+ if (body === undefined || body === null) {
84295
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentschedulesMine';
84296
+ }
83971
84297
 
83972
84298
  return this.apiClient.callApi(
83973
84299
  '/api/v2/workforcemanagement/agentschedules/mine',
@@ -83976,7 +84302,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83976
84302
  { },
83977
84303
  { },
83978
84304
  { },
83979
- opts['body'],
84305
+ body,
83980
84306
  ['PureCloud OAuth'],
83981
84307
  ['application/json'],
83982
84308
  ['application/json']
@@ -84062,16 +84388,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84062
84388
  * Create a new activity code
84063
84389
  *
84064
84390
  * @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
84065
- * @param {Object} opts Optional parameters
84066
- * @param {Object} opts.body body
84391
+ * @param {Object} body body
84067
84392
  */
84068
- postWorkforcemanagementBusinessunitActivitycodes(businessUnitId, opts) {
84069
- opts = opts || {};
84070
-
84393
+ postWorkforcemanagementBusinessunitActivitycodes(businessUnitId, body) {
84071
84394
  // verify the required parameter 'businessUnitId' is set
84072
84395
  if (businessUnitId === undefined || businessUnitId === null) {
84073
84396
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivitycodes';
84074
84397
  }
84398
+ // verify the required parameter 'body' is set
84399
+ if (body === undefined || body === null) {
84400
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitActivitycodes';
84401
+ }
84075
84402
 
84076
84403
  return this.apiClient.callApi(
84077
84404
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/activitycodes',
@@ -84080,7 +84407,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84080
84407
  { },
84081
84408
  { },
84082
84409
  { },
84083
- opts['body'],
84410
+ body,
84084
84411
  ['PureCloud OAuth'],
84085
84412
  ['application/json'],
84086
84413
  ['application/json']
@@ -84186,18 +84513,22 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84186
84513
  * Search published schedules
84187
84514
  *
84188
84515
  * @param {String} businessUnitId The ID of the business unit
84516
+ * @param {Object} body body
84189
84517
  * @param {Object} opts Optional parameters
84190
84518
  * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
84191
84519
  * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
84192
- * @param {Object} opts.body body
84193
84520
  */
84194
- postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, opts) {
84521
+ postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, body, opts) {
84195
84522
  opts = opts || {};
84196
84523
 
84197
84524
  // verify the required parameter 'businessUnitId' is set
84198
84525
  if (businessUnitId === undefined || businessUnitId === null) {
84199
84526
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';
84200
84527
  }
84528
+ // verify the required parameter 'body' is set
84529
+ if (body === undefined || body === null) {
84530
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';
84531
+ }
84201
84532
 
84202
84533
  return this.apiClient.callApi(
84203
84534
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/agentschedules/search',
@@ -84206,7 +84537,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84206
84537
  { 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
84207
84538
  { },
84208
84539
  { },
84209
- opts['body'],
84540
+ body,
84210
84541
  ['PureCloud OAuth'],
84211
84542
  ['application/json'],
84212
84543
  ['application/json']
@@ -84251,17 +84582,21 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84251
84582
  * Get intraday data for the given date for the requested planningGroupIds
84252
84583
  *
84253
84584
  * @param {String} businessUnitId The ID of the business unit
84585
+ * @param {Object} body body
84254
84586
  * @param {Object} opts Optional parameters
84255
84587
  * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
84256
- * @param {Object} opts.body body
84257
84588
  */
84258
- postWorkforcemanagementBusinessunitIntraday(businessUnitId, opts) {
84589
+ postWorkforcemanagementBusinessunitIntraday(businessUnitId, body, opts) {
84259
84590
  opts = opts || {};
84260
84591
 
84261
84592
  // verify the required parameter 'businessUnitId' is set
84262
84593
  if (businessUnitId === undefined || businessUnitId === null) {
84263
84594
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitIntraday';
84264
84595
  }
84596
+ // verify the required parameter 'body' is set
84597
+ if (body === undefined || body === null) {
84598
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitIntraday';
84599
+ }
84265
84600
 
84266
84601
  return this.apiClient.callApi(
84267
84602
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/intraday',
@@ -84270,7 +84605,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84270
84605
  { 'forceAsync': opts['forceAsync'] },
84271
84606
  { },
84272
84607
  { },
84273
- opts['body'],
84608
+ body,
84274
84609
  ['PureCloud OAuth'],
84275
84610
  ['application/json'],
84276
84611
  ['application/json']
@@ -84281,16 +84616,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84281
84616
  * Adds a new planning group
84282
84617
  *
84283
84618
  * @param {String} businessUnitId The ID of the business unit.
84284
- * @param {Object} opts Optional parameters
84285
- * @param {Object} opts.body body
84619
+ * @param {Object} body body
84286
84620
  */
84287
- postWorkforcemanagementBusinessunitPlanninggroups(businessUnitId, opts) {
84288
- opts = opts || {};
84289
-
84621
+ postWorkforcemanagementBusinessunitPlanninggroups(businessUnitId, body) {
84290
84622
  // verify the required parameter 'businessUnitId' is set
84291
84623
  if (businessUnitId === undefined || businessUnitId === null) {
84292
84624
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitPlanninggroups';
84293
84625
  }
84626
+ // verify the required parameter 'body' is set
84627
+ if (body === undefined || body === null) {
84628
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitPlanninggroups';
84629
+ }
84294
84630
 
84295
84631
  return this.apiClient.callApi(
84296
84632
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/planninggroups',
@@ -84299,7 +84635,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84299
84635
  { },
84300
84636
  { },
84301
84637
  { },
84302
- opts['body'],
84638
+ body,
84303
84639
  ['PureCloud OAuth'],
84304
84640
  ['application/json'],
84305
84641
  ['application/json']
@@ -84310,16 +84646,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84310
84646
  * Adds a new service goal template
84311
84647
  *
84312
84648
  * @param {String} businessUnitId The ID of the business unit.
84313
- * @param {Object} opts Optional parameters
84314
- * @param {Object} opts.body body
84649
+ * @param {Object} body body
84315
84650
  */
84316
- postWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId, opts) {
84317
- opts = opts || {};
84318
-
84651
+ postWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId, body) {
84319
84652
  // verify the required parameter 'businessUnitId' is set
84320
84653
  if (businessUnitId === undefined || businessUnitId === null) {
84321
84654
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';
84322
84655
  }
84656
+ // verify the required parameter 'body' is set
84657
+ if (body === undefined || body === null) {
84658
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';
84659
+ }
84323
84660
 
84324
84661
  return this.apiClient.callApi(
84325
84662
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/servicegoaltemplates',
@@ -84328,7 +84665,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84328
84665
  { },
84329
84666
  { },
84330
84667
  { },
84331
- opts['body'],
84668
+ body,
84332
84669
  ['PureCloud OAuth'],
84333
84670
  ['application/json'],
84334
84671
  ['application/json']
@@ -84339,16 +84676,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84339
84676
  * Creates a new staffing group
84340
84677
  *
84341
84678
  * @param {String} businessUnitId The ID of the business unit
84342
- * @param {Object} opts Optional parameters
84343
- * @param {Object} opts.body body
84679
+ * @param {Object} body body
84344
84680
  */
84345
- postWorkforcemanagementBusinessunitStaffinggroups(businessUnitId, opts) {
84346
- opts = opts || {};
84347
-
84681
+ postWorkforcemanagementBusinessunitStaffinggroups(businessUnitId, body) {
84348
84682
  // verify the required parameter 'businessUnitId' is set
84349
84683
  if (businessUnitId === undefined || businessUnitId === null) {
84350
84684
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroups';
84351
84685
  }
84686
+ // verify the required parameter 'body' is set
84687
+ if (body === undefined || body === null) {
84688
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitStaffinggroups';
84689
+ }
84352
84690
 
84353
84691
  return this.apiClient.callApi(
84354
84692
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups',
@@ -84357,7 +84695,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84357
84695
  { },
84358
84696
  { },
84359
84697
  { },
84360
- opts['body'],
84698
+ body,
84361
84699
  ['PureCloud OAuth'],
84362
84700
  ['application/json'],
84363
84701
  ['application/json']
@@ -84368,16 +84706,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84368
84706
  * Gets staffing group associations for a list of user IDs
84369
84707
  *
84370
84708
  * @param {String} businessUnitId The ID of the business unit
84371
- * @param {Object} opts Optional parameters
84372
- * @param {Object} opts.body body
84709
+ * @param {Object} body body
84373
84710
  */
84374
- postWorkforcemanagementBusinessunitStaffinggroupsQuery(businessUnitId, opts) {
84375
- opts = opts || {};
84376
-
84711
+ postWorkforcemanagementBusinessunitStaffinggroupsQuery(businessUnitId, body) {
84377
84712
  // verify the required parameter 'businessUnitId' is set
84378
84713
  if (businessUnitId === undefined || businessUnitId === null) {
84379
84714
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';
84380
84715
  }
84716
+ // verify the required parameter 'body' is set
84717
+ if (body === undefined || body === null) {
84718
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';
84719
+ }
84381
84720
 
84382
84721
  return this.apiClient.callApi(
84383
84722
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/staffinggroups/query',
@@ -84386,7 +84725,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84386
84725
  { },
84387
84726
  { },
84388
84727
  { },
84389
- opts['body'],
84728
+ body,
84390
84729
  ['PureCloud OAuth'],
84391
84730
  ['application/json'],
84392
84731
  ['application/json']
@@ -84397,16 +84736,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84397
84736
  * Creates a new time-off limit object
84398
84737
  *
84399
84738
  * @param {String} businessUnitId The ID of the business unit
84400
- * @param {Object} opts Optional parameters
84401
- * @param {Object} opts.body body
84739
+ * @param {Object} body body
84402
84740
  */
84403
- postWorkforcemanagementBusinessunitTimeofflimits(businessUnitId, opts) {
84404
- opts = opts || {};
84405
-
84741
+ postWorkforcemanagementBusinessunitTimeofflimits(businessUnitId, body) {
84406
84742
  // verify the required parameter 'businessUnitId' is set
84407
84743
  if (businessUnitId === undefined || businessUnitId === null) {
84408
84744
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimits';
84409
84745
  }
84746
+ // verify the required parameter 'body' is set
84747
+ if (body === undefined || body === null) {
84748
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimits';
84749
+ }
84410
84750
 
84411
84751
  return this.apiClient.callApi(
84412
84752
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits',
@@ -84415,7 +84755,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84415
84755
  { },
84416
84756
  { },
84417
84757
  { },
84418
- opts['body'],
84758
+ body,
84419
84759
  ['PureCloud OAuth'],
84420
84760
  ['application/json'],
84421
84761
  ['application/json']
@@ -84426,16 +84766,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84426
84766
  * Retrieves time-off limit related values based on a given set of filters.
84427
84767
  *
84428
84768
  * @param {String} businessUnitId The ID of the business unit
84429
- * @param {Object} opts Optional parameters
84430
- * @param {Object} opts.body body
84769
+ * @param {Object} body body
84431
84770
  */
84432
- postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery(businessUnitId, opts) {
84433
- opts = opts || {};
84434
-
84771
+ postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery(businessUnitId, body) {
84435
84772
  // verify the required parameter 'businessUnitId' is set
84436
84773
  if (businessUnitId === undefined || businessUnitId === null) {
84437
84774
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';
84438
84775
  }
84776
+ // verify the required parameter 'body' is set
84777
+ if (body === undefined || body === null) {
84778
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';
84779
+ }
84439
84780
 
84440
84781
  return this.apiClient.callApi(
84441
84782
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/values/query',
@@ -84444,7 +84785,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84444
84785
  { },
84445
84786
  { },
84446
84787
  { },
84447
- opts['body'],
84788
+ body,
84448
84789
  ['PureCloud OAuth'],
84449
84790
  ['application/json'],
84450
84791
  ['application/json']
@@ -84455,16 +84796,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84455
84796
  * Creates a new time-off plan
84456
84797
  *
84457
84798
  * @param {String} businessUnitId The ID of the business unit
84458
- * @param {Object} opts Optional parameters
84459
- * @param {Object} opts.body body
84799
+ * @param {Object} body body
84460
84800
  */
84461
- postWorkforcemanagementBusinessunitTimeoffplans(businessUnitId, opts) {
84462
- opts = opts || {};
84463
-
84801
+ postWorkforcemanagementBusinessunitTimeoffplans(businessUnitId, body) {
84464
84802
  // verify the required parameter 'businessUnitId' is set
84465
84803
  if (businessUnitId === undefined || businessUnitId === null) {
84466
84804
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeoffplans';
84467
84805
  }
84806
+ // verify the required parameter 'body' is set
84807
+ if (body === undefined || body === null) {
84808
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitTimeoffplans';
84809
+ }
84468
84810
 
84469
84811
  return this.apiClient.callApi(
84470
84812
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans',
@@ -84473,7 +84815,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84473
84815
  { },
84474
84816
  { },
84475
84817
  { },
84476
- opts['body'],
84818
+ body,
84477
84819
  ['PureCloud OAuth'],
84478
84820
  ['application/json'],
84479
84821
  ['application/json']
@@ -84571,12 +84913,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84571
84913
  * @param {String} businessUnitId The ID of the business unit to which the performance prediction belongs
84572
84914
  * @param {String} weekId First day of schedule week in yyyy-MM-dd format
84573
84915
  * @param {String} scheduleId The ID of the schedule the performance prediction belongs to
84574
- * @param {Object} opts Optional parameters
84575
- * @param {Object} opts.body body
84916
+ * @param {Object} body body
84576
84917
  */
84577
- postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations(businessUnitId, weekId, scheduleId, opts) {
84578
- opts = opts || {};
84579
-
84918
+ postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations(businessUnitId, weekId, scheduleId, body) {
84580
84919
  // verify the required parameter 'businessUnitId' is set
84581
84920
  if (businessUnitId === undefined || businessUnitId === null) {
84582
84921
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
@@ -84589,6 +84928,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84589
84928
  if (scheduleId === undefined || scheduleId === null) {
84590
84929
  throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
84591
84930
  }
84931
+ // verify the required parameter 'body' is set
84932
+ if (body === undefined || body === null) {
84933
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
84934
+ }
84592
84935
 
84593
84936
  return this.apiClient.callApi(
84594
84937
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations',
@@ -84597,7 +84940,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84597
84940
  { },
84598
84941
  { },
84599
84942
  { },
84600
- opts['body'],
84943
+ body,
84601
84944
  ['PureCloud OAuth'],
84602
84945
  ['application/json'],
84603
84946
  ['application/json']
@@ -84610,12 +84953,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84610
84953
  * @param {String} businessUnitId The ID of the business unit to which the performance prediction belongs
84611
84954
  * @param {String} weekId First day of schedule week in yyyy-MM-dd format
84612
84955
  * @param {String} scheduleId The ID of the schedule the performance prediction belongs to
84613
- * @param {Object} opts Optional parameters
84614
- * @param {Object} opts.body body
84956
+ * @param {Object} body body
84615
84957
  */
84616
- postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl(businessUnitId, weekId, scheduleId, opts) {
84617
- opts = opts || {};
84618
-
84958
+ postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl(businessUnitId, weekId, scheduleId, body) {
84619
84959
  // verify the required parameter 'businessUnitId' is set
84620
84960
  if (businessUnitId === undefined || businessUnitId === null) {
84621
84961
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
@@ -84628,6 +84968,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84628
84968
  if (scheduleId === undefined || scheduleId === null) {
84629
84969
  throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
84630
84970
  }
84971
+ // verify the required parameter 'body' is set
84972
+ if (body === undefined || body === null) {
84973
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
84974
+ }
84631
84975
 
84632
84976
  return this.apiClient.callApi(
84633
84977
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations/uploadurl',
@@ -84636,7 +84980,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
84636
84980
  { },
84637
84981
  { },
84638
84982
  { },
84639
- opts['body'],
84983
+ body,
84640
84984
  ['PureCloud OAuth'],
84641
84985
  ['application/json'],
84642
84986
  ['application/json']
@@ -85095,12 +85439,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85095
85439
  *
85096
85440
  * @param {String} businessUnitId The ID of the business unit
85097
85441
  * @param {String} bidId The work plan bid id of the bid groups
85098
- * @param {Object} opts Optional parameters
85099
- * @param {Object} opts.body body
85442
+ * @param {Object} body body
85100
85443
  */
85101
- postWorkforcemanagementBusinessunitWorkplanbidGroups(businessUnitId, bidId, opts) {
85102
- opts = opts || {};
85103
-
85444
+ postWorkforcemanagementBusinessunitWorkplanbidGroups(businessUnitId, bidId, body) {
85104
85445
  // verify the required parameter 'businessUnitId' is set
85105
85446
  if (businessUnitId === undefined || businessUnitId === null) {
85106
85447
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
@@ -85109,6 +85450,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85109
85450
  if (bidId === undefined || bidId === null) {
85110
85451
  throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
85111
85452
  }
85453
+ // verify the required parameter 'body' is set
85454
+ if (body === undefined || body === null) {
85455
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
85456
+ }
85112
85457
 
85113
85458
  return this.apiClient.callApi(
85114
85459
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups',
@@ -85117,7 +85462,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85117
85462
  { },
85118
85463
  { },
85119
85464
  { },
85120
- opts['body'],
85465
+ body,
85121
85466
  ['PureCloud OAuth'],
85122
85467
  ['application/json'],
85123
85468
  ['application/json']
@@ -85128,16 +85473,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85128
85473
  * Create a new work plan bid
85129
85474
  *
85130
85475
  * @param {String} businessUnitId The ID of the business unit
85131
- * @param {Object} opts Optional parameters
85132
- * @param {Object} opts.body The work plan bid to be created
85476
+ * @param {Object} body The work plan bid to be created
85133
85477
  */
85134
- postWorkforcemanagementBusinessunitWorkplanbids(businessUnitId, opts) {
85135
- opts = opts || {};
85136
-
85478
+ postWorkforcemanagementBusinessunitWorkplanbids(businessUnitId, body) {
85137
85479
  // verify the required parameter 'businessUnitId' is set
85138
85480
  if (businessUnitId === undefined || businessUnitId === null) {
85139
85481
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbids';
85140
85482
  }
85483
+ // verify the required parameter 'body' is set
85484
+ if (body === undefined || body === null) {
85485
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWorkplanbids';
85486
+ }
85141
85487
 
85142
85488
  return this.apiClient.callApi(
85143
85489
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids',
@@ -85146,7 +85492,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85146
85492
  { },
85147
85493
  { },
85148
85494
  { },
85149
- opts['body'],
85495
+ body,
85150
85496
  ['PureCloud OAuth'],
85151
85497
  ['application/json'],
85152
85498
  ['application/json']
@@ -85156,12 +85502,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85156
85502
  /**
85157
85503
  * Add a new business unit
85158
85504
  * It may take a minute or two for a new business unit to be available for api operations
85159
- * @param {Object} opts Optional parameters
85160
- * @param {Object} opts.body body
85505
+ * @param {Object} body body
85161
85506
  */
85162
- postWorkforcemanagementBusinessunits(opts) {
85163
- opts = opts || {};
85164
-
85507
+ postWorkforcemanagementBusinessunits(body) {
85508
+ // verify the required parameter 'body' is set
85509
+ if (body === undefined || body === null) {
85510
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunits';
85511
+ }
85165
85512
 
85166
85513
  return this.apiClient.callApi(
85167
85514
  '/api/v2/workforcemanagement/businessunits',
@@ -85170,7 +85517,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85170
85517
  { },
85171
85518
  { },
85172
85519
  { },
85173
- opts['body'],
85520
+ body,
85174
85521
  ['PureCloud OAuth'],
85175
85522
  ['application/json'],
85176
85523
  ['application/json']
@@ -85204,12 +85551,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85204
85551
  /**
85205
85552
  * Delete the list of the historical data import entries
85206
85553
  *
85207
- * @param {Object} opts Optional parameters
85208
- * @param {Object} opts.body body
85554
+ * @param {Object} body body
85209
85555
  */
85210
- postWorkforcemanagementHistoricaldataBulkRemoveJobs(opts) {
85211
- opts = opts || {};
85212
-
85556
+ postWorkforcemanagementHistoricaldataBulkRemoveJobs(body) {
85557
+ // verify the required parameter 'body' is set
85558
+ if (body === undefined || body === null) {
85559
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementHistoricaldataBulkRemoveJobs';
85560
+ }
85213
85561
 
85214
85562
  return this.apiClient.callApi(
85215
85563
  '/api/v2/workforcemanagement/historicaldata/bulk/remove/jobs',
@@ -85218,7 +85566,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85218
85566
  { },
85219
85567
  { },
85220
85568
  { },
85221
- opts['body'],
85569
+ body,
85222
85570
  ['PureCloud OAuth'],
85223
85571
  ['application/json'],
85224
85572
  ['application/json']
@@ -85249,12 +85597,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85249
85597
  /**
85250
85598
  * Trigger validation process for historical import
85251
85599
  *
85252
- * @param {Object} opts Optional parameters
85253
- * @param {Object} opts.body body
85600
+ * @param {Object} body body
85254
85601
  */
85255
- postWorkforcemanagementHistoricaldataValidate(opts) {
85256
- opts = opts || {};
85257
-
85602
+ postWorkforcemanagementHistoricaldataValidate(body) {
85603
+ // verify the required parameter 'body' is set
85604
+ if (body === undefined || body === null) {
85605
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementHistoricaldataValidate';
85606
+ }
85258
85607
 
85259
85608
  return this.apiClient.callApi(
85260
85609
  '/api/v2/workforcemanagement/historicaldata/validate',
@@ -85263,7 +85612,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85263
85612
  { },
85264
85613
  { },
85265
85614
  { },
85266
- opts['body'],
85615
+ body,
85267
85616
  ['PureCloud OAuth'],
85268
85617
  ['application/json'],
85269
85618
  ['application/json']
@@ -85299,17 +85648,21 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85299
85648
  * Get agents work plans configuration
85300
85649
  *
85301
85650
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
85651
+ * @param {Object} body body
85302
85652
  * @param {Object} opts Optional parameters
85303
85653
  * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
85304
- * @param {Object} opts.body body
85305
85654
  */
85306
- postWorkforcemanagementManagementunitAgentsWorkplansQuery(managementUnitId, opts) {
85655
+ postWorkforcemanagementManagementunitAgentsWorkplansQuery(managementUnitId, body, opts) {
85307
85656
  opts = opts || {};
85308
85657
 
85309
85658
  // verify the required parameter 'managementUnitId' is set
85310
85659
  if (managementUnitId === undefined || managementUnitId === null) {
85311
85660
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';
85312
85661
  }
85662
+ // verify the required parameter 'body' is set
85663
+ if (body === undefined || body === null) {
85664
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';
85665
+ }
85313
85666
 
85314
85667
  return this.apiClient.callApi(
85315
85668
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/query',
@@ -85318,7 +85671,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85318
85671
  { 'forceDownloadService': opts['forceDownloadService'] },
85319
85672
  { },
85320
85673
  { },
85321
- opts['body'],
85674
+ body,
85322
85675
  ['PureCloud OAuth'],
85323
85676
  ['application/json'],
85324
85677
  ['application/json']
@@ -85329,18 +85682,22 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85329
85682
  * Query published schedules for given given time range for set of users
85330
85683
  *
85331
85684
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
85685
+ * @param {Object} body body
85332
85686
  * @param {Object} opts Optional parameters
85333
85687
  * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
85334
85688
  * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
85335
- * @param {Object} opts.body body
85336
85689
  */
85337
- postWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, opts) {
85690
+ postWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, body, opts) {
85338
85691
  opts = opts || {};
85339
85692
 
85340
85693
  // verify the required parameter 'managementUnitId' is set
85341
85694
  if (managementUnitId === undefined || managementUnitId === null) {
85342
85695
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentschedulesSearch';
85343
85696
  }
85697
+ // verify the required parameter 'body' is set
85698
+ if (body === undefined || body === null) {
85699
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitAgentschedulesSearch';
85700
+ }
85344
85701
 
85345
85702
  return this.apiClient.callApi(
85346
85703
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/agentschedules/search',
@@ -85349,7 +85706,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85349
85706
  { 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
85350
85707
  { },
85351
85708
  { },
85352
- opts['body'],
85709
+ body,
85353
85710
  ['PureCloud OAuth'],
85354
85711
  ['application/json'],
85355
85712
  ['application/json']
@@ -85360,16 +85717,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85360
85717
  * Request a historical adherence report
85361
85718
  * The maximum supported range for historical adherence queries is 31 days, or 7 days with includeExceptions = true
85362
85719
  * @param {String} managementUnitId The ID of the management unit
85363
- * @param {Object} opts Optional parameters
85364
- * @param {Object} opts.body body
85720
+ * @param {Object} body body
85365
85721
  */
85366
- postWorkforcemanagementManagementunitHistoricaladherencequery(managementUnitId, opts) {
85367
- opts = opts || {};
85368
-
85722
+ postWorkforcemanagementManagementunitHistoricaladherencequery(managementUnitId, body) {
85369
85723
  // verify the required parameter 'managementUnitId' is set
85370
85724
  if (managementUnitId === undefined || managementUnitId === null) {
85371
85725
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitHistoricaladherencequery';
85372
85726
  }
85727
+ // verify the required parameter 'body' is set
85728
+ if (body === undefined || body === null) {
85729
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitHistoricaladherencequery';
85730
+ }
85373
85731
 
85374
85732
  return this.apiClient.callApi(
85375
85733
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/historicaladherencequery',
@@ -85378,7 +85736,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85378
85736
  { },
85379
85737
  { },
85380
85738
  { },
85381
- opts['body'],
85739
+ body,
85382
85740
  ['PureCloud OAuth'],
85383
85741
  ['application/json'],
85384
85742
  ['application/json']
@@ -85389,16 +85747,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85389
85747
  * Move the requested management unit to a new business unit
85390
85748
  * Returns status 200 if the management unit is already in the requested business unit
85391
85749
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
85392
- * @param {Object} opts Optional parameters
85393
- * @param {Object} opts.body body
85750
+ * @param {Object} body body
85394
85751
  */
85395
- postWorkforcemanagementManagementunitMove(managementUnitId, opts) {
85396
- opts = opts || {};
85397
-
85752
+ postWorkforcemanagementManagementunitMove(managementUnitId, body) {
85398
85753
  // verify the required parameter 'managementUnitId' is set
85399
85754
  if (managementUnitId === undefined || managementUnitId === null) {
85400
85755
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitMove';
85401
85756
  }
85757
+ // verify the required parameter 'body' is set
85758
+ if (body === undefined || body === null) {
85759
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitMove';
85760
+ }
85402
85761
 
85403
85762
  return this.apiClient.callApi(
85404
85763
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/move',
@@ -85407,7 +85766,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85407
85766
  { },
85408
85767
  { },
85409
85768
  { },
85410
- opts['body'],
85769
+ body,
85411
85770
  ['PureCloud OAuth'],
85412
85771
  ['application/json'],
85413
85772
  ['application/json']
@@ -85418,17 +85777,18 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85418
85777
  * Query published schedules for given given time range for set of users
85419
85778
  *
85420
85779
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
85421
- * @param {Object} opts Optional parameters
85422
- * @param {Object} opts.body body
85780
+ * @param {Object} body body
85423
85781
  * @deprecated
85424
85782
  */
85425
- postWorkforcemanagementManagementunitSchedulesSearch(managementUnitId, opts) {
85426
- opts = opts || {};
85427
-
85783
+ postWorkforcemanagementManagementunitSchedulesSearch(managementUnitId, body) {
85428
85784
  // verify the required parameter 'managementUnitId' is set
85429
85785
  if (managementUnitId === undefined || managementUnitId === null) {
85430
85786
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitSchedulesSearch';
85431
85787
  }
85788
+ // verify the required parameter 'body' is set
85789
+ if (body === undefined || body === null) {
85790
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitSchedulesSearch';
85791
+ }
85432
85792
 
85433
85793
  return this.apiClient.callApi(
85434
85794
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/schedules/search',
@@ -85437,7 +85797,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85437
85797
  { },
85438
85798
  { },
85439
85799
  { },
85440
- opts['body'],
85800
+ body,
85441
85801
  ['PureCloud OAuth'],
85442
85802
  ['application/json'],
85443
85803
  ['application/json']
@@ -85448,16 +85808,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85448
85808
  * Request a historical shrinkage report
85449
85809
  * The maximum supported range for historical shrinkage queries is up to 32 days. Historical Shrinkage for a given date range can be queried in two modes - granular and aggregated. To see granular shrinkage information, provide granularity in the request body.
85450
85810
  * @param {String} managementUnitId The ID of the management unit
85451
- * @param {Object} opts Optional parameters
85452
- * @param {Object} opts.body body
85811
+ * @param {Object} body body
85453
85812
  */
85454
- postWorkforcemanagementManagementunitShrinkageJobs(managementUnitId, opts) {
85455
- opts = opts || {};
85456
-
85813
+ postWorkforcemanagementManagementunitShrinkageJobs(managementUnitId, body) {
85457
85814
  // verify the required parameter 'managementUnitId' is set
85458
85815
  if (managementUnitId === undefined || managementUnitId === null) {
85459
85816
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitShrinkageJobs';
85460
85817
  }
85818
+ // verify the required parameter 'body' is set
85819
+ if (body === undefined || body === null) {
85820
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitShrinkageJobs';
85821
+ }
85461
85822
 
85462
85823
  return this.apiClient.callApi(
85463
85824
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/shrinkage/jobs',
@@ -85466,7 +85827,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85466
85827
  { },
85467
85828
  { },
85468
85829
  { },
85469
- opts['body'],
85830
+ body,
85470
85831
  ['PureCloud OAuth'],
85471
85832
  ['application/json'],
85472
85833
  ['application/json']
@@ -85477,16 +85838,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85477
85838
  * Creates a new time off limit object under management unit.
85478
85839
  * Only one limit object is allowed under management unit, so an attempt to create second object will fail.
85479
85840
  * @param {String} managementUnitId The ID of the management unit.
85480
- * @param {Object} opts Optional parameters
85481
- * @param {Object} opts.body body
85841
+ * @param {Object} body body
85482
85842
  */
85483
- postWorkforcemanagementManagementunitTimeofflimits(managementUnitId, opts) {
85484
- opts = opts || {};
85485
-
85843
+ postWorkforcemanagementManagementunitTimeofflimits(managementUnitId, body) {
85486
85844
  // verify the required parameter 'managementUnitId' is set
85487
85845
  if (managementUnitId === undefined || managementUnitId === null) {
85488
85846
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimits';
85489
85847
  }
85848
+ // verify the required parameter 'body' is set
85849
+ if (body === undefined || body === null) {
85850
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeofflimits';
85851
+ }
85490
85852
 
85491
85853
  return this.apiClient.callApi(
85492
85854
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits',
@@ -85495,7 +85857,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85495
85857
  { },
85496
85858
  { },
85497
85859
  { },
85498
- opts['body'],
85860
+ body,
85499
85861
  ['PureCloud OAuth'],
85500
85862
  ['application/json'],
85501
85863
  ['application/json']
@@ -85506,16 +85868,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85506
85868
  * Retrieves time off limit related values based on a given set of filters.
85507
85869
  *
85508
85870
  * @param {String} managementUnitId The ID of the management unit.
85509
- * @param {Object} opts Optional parameters
85510
- * @param {Object} opts.body body
85871
+ * @param {Object} body body
85511
85872
  */
85512
- postWorkforcemanagementManagementunitTimeofflimitsValuesQuery(managementUnitId, opts) {
85513
- opts = opts || {};
85514
-
85873
+ postWorkforcemanagementManagementunitTimeofflimitsValuesQuery(managementUnitId, body) {
85515
85874
  // verify the required parameter 'managementUnitId' is set
85516
85875
  if (managementUnitId === undefined || managementUnitId === null) {
85517
85876
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';
85518
85877
  }
85878
+ // verify the required parameter 'body' is set
85879
+ if (body === undefined || body === null) {
85880
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';
85881
+ }
85519
85882
 
85520
85883
  return this.apiClient.callApi(
85521
85884
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/values/query',
@@ -85524,7 +85887,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85524
85887
  { },
85525
85888
  { },
85526
85889
  { },
85527
- opts['body'],
85890
+ body,
85528
85891
  ['PureCloud OAuth'],
85529
85892
  ['application/json'],
85530
85893
  ['application/json']
@@ -85535,16 +85898,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85535
85898
  * Creates a new time off plan
85536
85899
  *
85537
85900
  * @param {String} managementUnitId The ID of the management unit
85538
- * @param {Object} opts Optional parameters
85539
- * @param {Object} opts.body body
85901
+ * @param {Object} body body
85540
85902
  */
85541
- postWorkforcemanagementManagementunitTimeoffplans(managementUnitId, opts) {
85542
- opts = opts || {};
85543
-
85903
+ postWorkforcemanagementManagementunitTimeoffplans(managementUnitId, body) {
85544
85904
  // verify the required parameter 'managementUnitId' is set
85545
85905
  if (managementUnitId === undefined || managementUnitId === null) {
85546
85906
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffplans';
85547
85907
  }
85908
+ // verify the required parameter 'body' is set
85909
+ if (body === undefined || body === null) {
85910
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffplans';
85911
+ }
85548
85912
 
85549
85913
  return this.apiClient.callApi(
85550
85914
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffplans',
@@ -85553,7 +85917,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85553
85917
  { },
85554
85918
  { },
85555
85919
  { },
85556
- opts['body'],
85920
+ body,
85557
85921
  ['PureCloud OAuth'],
85558
85922
  ['application/json'],
85559
85923
  ['application/json']
@@ -85564,16 +85928,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85564
85928
  * Create a new time off request
85565
85929
  *
85566
85930
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
85567
- * @param {Object} opts Optional parameters
85568
- * @param {Object} opts.body body
85931
+ * @param {Object} body body
85569
85932
  */
85570
- postWorkforcemanagementManagementunitTimeoffrequests(managementUnitId, opts) {
85571
- opts = opts || {};
85572
-
85933
+ postWorkforcemanagementManagementunitTimeoffrequests(managementUnitId, body) {
85573
85934
  // verify the required parameter 'managementUnitId' is set
85574
85935
  if (managementUnitId === undefined || managementUnitId === null) {
85575
85936
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequests';
85576
85937
  }
85938
+ // verify the required parameter 'body' is set
85939
+ if (body === undefined || body === null) {
85940
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequests';
85941
+ }
85577
85942
 
85578
85943
  return this.apiClient.callApi(
85579
85944
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests',
@@ -85582,7 +85947,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85582
85947
  { },
85583
85948
  { },
85584
85949
  { },
85585
- opts['body'],
85950
+ body,
85586
85951
  ['PureCloud OAuth'],
85587
85952
  ['application/json'],
85588
85953
  ['application/json']
@@ -85593,16 +85958,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85593
85958
  * Retrieves integration statuses for a list of time off requests
85594
85959
  *
85595
85960
  * @param {String} managementUnitId The ID of the management unit.
85596
- * @param {Object} opts Optional parameters
85597
- * @param {Object} opts.body body
85961
+ * @param {Object} body body
85598
85962
  */
85599
- postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery(managementUnitId, opts) {
85600
- opts = opts || {};
85601
-
85963
+ postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery(managementUnitId, body) {
85602
85964
  // verify the required parameter 'managementUnitId' is set
85603
85965
  if (managementUnitId === undefined || managementUnitId === null) {
85604
85966
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery';
85605
85967
  }
85968
+ // verify the required parameter 'body' is set
85969
+ if (body === undefined || body === null) {
85970
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery';
85971
+ }
85606
85972
 
85607
85973
  return this.apiClient.callApi(
85608
85974
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/integrationstatus/query',
@@ -85611,7 +85977,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85611
85977
  { },
85612
85978
  { },
85613
85979
  { },
85614
- opts['body'],
85980
+ body,
85615
85981
  ['PureCloud OAuth'],
85616
85982
  ['application/json'],
85617
85983
  ['application/json']
@@ -85622,17 +85988,21 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85622
85988
  * Fetches time off requests matching the conditions specified in the request body
85623
85989
  * Request body requires one of the following: User ID is specified, statuses == [Pending] or date range to be specified and less than or equal to 33 days. All other fields are filters
85624
85990
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
85991
+ * @param {Object} body body
85625
85992
  * @param {Object} opts Optional parameters
85626
85993
  * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
85627
- * @param {Object} opts.body body
85628
85994
  */
85629
- postWorkforcemanagementManagementunitTimeoffrequestsQuery(managementUnitId, opts) {
85995
+ postWorkforcemanagementManagementunitTimeoffrequestsQuery(managementUnitId, body, opts) {
85630
85996
  opts = opts || {};
85631
85997
 
85632
85998
  // verify the required parameter 'managementUnitId' is set
85633
85999
  if (managementUnitId === undefined || managementUnitId === null) {
85634
86000
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsQuery';
85635
86001
  }
86002
+ // verify the required parameter 'body' is set
86003
+ if (body === undefined || body === null) {
86004
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsQuery';
86005
+ }
85636
86006
 
85637
86007
  return this.apiClient.callApi(
85638
86008
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/query',
@@ -85641,7 +86011,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85641
86011
  { 'forceDownloadService': opts['forceDownloadService'] },
85642
86012
  { },
85643
86013
  { },
85644
- opts['body'],
86014
+ body,
85645
86015
  ['PureCloud OAuth'],
85646
86016
  ['application/json'],
85647
86017
  ['application/json']
@@ -85652,16 +86022,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85652
86022
  * Retrieves daily waitlist position for a list of time off requests
85653
86023
  *
85654
86024
  * @param {String} managementUnitId The ID of the management unit.
85655
- * @param {Object} opts Optional parameters
85656
- * @param {Object} opts.body body
86025
+ * @param {Object} body body
85657
86026
  */
85658
- postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(managementUnitId, opts) {
85659
- opts = opts || {};
85660
-
86027
+ postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(managementUnitId, body) {
85661
86028
  // verify the required parameter 'managementUnitId' is set
85662
86029
  if (managementUnitId === undefined || managementUnitId === null) {
85663
86030
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';
85664
86031
  }
86032
+ // verify the required parameter 'body' is set
86033
+ if (body === undefined || body === null) {
86034
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';
86035
+ }
85665
86036
 
85666
86037
  return this.apiClient.callApi(
85667
86038
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeoffrequests/waitlistpositions/query',
@@ -85670,7 +86041,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85670
86041
  { },
85671
86042
  { },
85672
86043
  { },
85673
- opts['body'],
86044
+ body,
85674
86045
  ['PureCloud OAuth'],
85675
86046
  ['application/json'],
85676
86047
  ['application/json']
@@ -85752,12 +86123,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85752
86123
  *
85753
86124
  * @param {String} managementUnitId The ID of the management unit
85754
86125
  * @param {String} userId The id of the user for whom the time off request estimate is requested
85755
- * @param {Object} opts Optional parameters
85756
- * @param {Object} opts.body body
86126
+ * @param {Object} body body
85757
86127
  */
85758
- postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate(managementUnitId, userId, opts) {
85759
- opts = opts || {};
85760
-
86128
+ postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate(managementUnitId, userId, body) {
85761
86129
  // verify the required parameter 'managementUnitId' is set
85762
86130
  if (managementUnitId === undefined || managementUnitId === null) {
85763
86131
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
@@ -85766,6 +86134,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85766
86134
  if (userId === undefined || userId === null) {
85767
86135
  throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
85768
86136
  }
86137
+ // verify the required parameter 'body' is set
86138
+ if (body === undefined || body === null) {
86139
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
86140
+ }
85769
86141
 
85770
86142
  return this.apiClient.callApi(
85771
86143
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests/estimate',
@@ -85774,7 +86146,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85774
86146
  { },
85775
86147
  { },
85776
86148
  { },
85777
- opts['body'],
86149
+ body,
85778
86150
  ['PureCloud OAuth'],
85779
86151
  ['application/json'],
85780
86152
  ['application/json']
@@ -85939,12 +86311,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85939
86311
  *
85940
86312
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
85941
86313
  * @param {String} workPlanId The ID of the work plan to create a copy
85942
- * @param {Object} opts Optional parameters
85943
- * @param {Object} opts.body body
86314
+ * @param {Object} body body
85944
86315
  */
85945
- postWorkforcemanagementManagementunitWorkplanCopy(managementUnitId, workPlanId, opts) {
85946
- opts = opts || {};
85947
-
86316
+ postWorkforcemanagementManagementunitWorkplanCopy(managementUnitId, workPlanId, body) {
85948
86317
  // verify the required parameter 'managementUnitId' is set
85949
86318
  if (managementUnitId === undefined || managementUnitId === null) {
85950
86319
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanCopy';
@@ -85953,6 +86322,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85953
86322
  if (workPlanId === undefined || workPlanId === null) {
85954
86323
  throw 'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanCopy';
85955
86324
  }
86325
+ // verify the required parameter 'body' is set
86326
+ if (body === undefined || body === null) {
86327
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanCopy';
86328
+ }
85956
86329
 
85957
86330
  return this.apiClient.callApi(
85958
86331
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}/copy',
@@ -85961,7 +86334,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85961
86334
  { },
85962
86335
  { },
85963
86336
  { },
85964
- opts['body'],
86337
+ body,
85965
86338
  ['PureCloud OAuth'],
85966
86339
  ['application/json'],
85967
86340
  ['application/json']
@@ -85973,11 +86346,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85973
86346
  *
85974
86347
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
85975
86348
  * @param {String} workPlanId The ID of the work plan to validate. For new work plan, use the word 'new' for the ID.
86349
+ * @param {Object} body body
85976
86350
  * @param {Object} opts Optional parameters
85977
86351
  * @param {Array.<String>} opts.expand
85978
- * @param {Object} opts.body body
85979
86352
  */
85980
- postWorkforcemanagementManagementunitWorkplanValidate(managementUnitId, workPlanId, opts) {
86353
+ postWorkforcemanagementManagementunitWorkplanValidate(managementUnitId, workPlanId, body, opts) {
85981
86354
  opts = opts || {};
85982
86355
 
85983
86356
  // verify the required parameter 'managementUnitId' is set
@@ -85988,6 +86361,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85988
86361
  if (workPlanId === undefined || workPlanId === null) {
85989
86362
  throw 'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanValidate';
85990
86363
  }
86364
+ // verify the required parameter 'body' is set
86365
+ if (body === undefined || body === null) {
86366
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanValidate';
86367
+ }
85991
86368
 
85992
86369
  return this.apiClient.callApi(
85993
86370
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans/{workPlanId}/validate',
@@ -85996,7 +86373,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
85996
86373
  { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
85997
86374
  { },
85998
86375
  { },
85999
- opts['body'],
86376
+ body,
86000
86377
  ['PureCloud OAuth'],
86001
86378
  ['application/json'],
86002
86379
  ['application/json']
@@ -86008,12 +86385,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86008
86385
  *
86009
86386
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
86010
86387
  * @param {String} workPlanRotationId The ID of the work plan rotation to create a copy
86011
- * @param {Object} opts Optional parameters
86012
- * @param {Object} opts.body body
86388
+ * @param {Object} body body
86013
86389
  */
86014
- postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId, opts) {
86015
- opts = opts || {};
86016
-
86390
+ postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId, body) {
86017
86391
  // verify the required parameter 'managementUnitId' is set
86018
86392
  if (managementUnitId === undefined || managementUnitId === null) {
86019
86393
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
@@ -86022,6 +86396,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86022
86396
  if (workPlanRotationId === undefined || workPlanRotationId === null) {
86023
86397
  throw 'Missing the required parameter "workPlanRotationId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
86024
86398
  }
86399
+ // verify the required parameter 'body' is set
86400
+ if (body === undefined || body === null) {
86401
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
86402
+ }
86025
86403
 
86026
86404
  return this.apiClient.callApi(
86027
86405
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations/{workPlanRotationId}/copy',
@@ -86030,7 +86408,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86030
86408
  { },
86031
86409
  { },
86032
86410
  { },
86033
- opts['body'],
86411
+ body,
86034
86412
  ['PureCloud OAuth'],
86035
86413
  ['application/json'],
86036
86414
  ['application/json']
@@ -86041,16 +86419,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86041
86419
  * Create a new work plan rotation
86042
86420
  *
86043
86421
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
86044
- * @param {Object} opts Optional parameters
86045
- * @param {Object} opts.body body
86422
+ * @param {Object} body body
86046
86423
  */
86047
- postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, opts) {
86048
- opts = opts || {};
86049
-
86424
+ postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, body) {
86050
86425
  // verify the required parameter 'managementUnitId' is set
86051
86426
  if (managementUnitId === undefined || managementUnitId === null) {
86052
86427
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotations';
86053
86428
  }
86429
+ // verify the required parameter 'body' is set
86430
+ if (body === undefined || body === null) {
86431
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplanrotations';
86432
+ }
86054
86433
 
86055
86434
  return this.apiClient.callApi(
86056
86435
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplanrotations',
@@ -86059,7 +86438,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86059
86438
  { },
86060
86439
  { },
86061
86440
  { },
86062
- opts['body'],
86441
+ body,
86063
86442
  ['PureCloud OAuth'],
86064
86443
  ['application/json'],
86065
86444
  ['application/json']
@@ -86070,17 +86449,21 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86070
86449
  * Create a new work plan
86071
86450
  *
86072
86451
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
86452
+ * @param {Object} body body
86073
86453
  * @param {Object} opts Optional parameters
86074
86454
  * @param {Object} opts.validationMode Allows to create work plan even if the validation result is invalid
86075
- * @param {Object} opts.body body
86076
86455
  */
86077
- postWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
86456
+ postWorkforcemanagementManagementunitWorkplans(managementUnitId, body, opts) {
86078
86457
  opts = opts || {};
86079
86458
 
86080
86459
  // verify the required parameter 'managementUnitId' is set
86081
86460
  if (managementUnitId === undefined || managementUnitId === null) {
86082
86461
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplans';
86083
86462
  }
86463
+ // verify the required parameter 'body' is set
86464
+ if (body === undefined || body === null) {
86465
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunitWorkplans';
86466
+ }
86084
86467
 
86085
86468
  return this.apiClient.callApi(
86086
86469
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/workplans',
@@ -86089,7 +86472,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86089
86472
  { 'validationMode': opts['validationMode'] },
86090
86473
  { },
86091
86474
  { },
86092
- opts['body'],
86475
+ body,
86093
86476
  ['PureCloud OAuth'],
86094
86477
  ['application/json'],
86095
86478
  ['application/json']
@@ -86099,12 +86482,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86099
86482
  /**
86100
86483
  * Add a management unit
86101
86484
  * It may take a minute or two for a new management unit to be available for api operations
86102
- * @param {Object} opts Optional parameters
86103
- * @param {Object} opts.body body
86485
+ * @param {Object} body body
86104
86486
  */
86105
- postWorkforcemanagementManagementunits(opts) {
86106
- opts = opts || {};
86107
-
86487
+ postWorkforcemanagementManagementunits(body) {
86488
+ // verify the required parameter 'body' is set
86489
+ if (body === undefined || body === null) {
86490
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementManagementunits';
86491
+ }
86108
86492
 
86109
86493
  return this.apiClient.callApi(
86110
86494
  '/api/v2/workforcemanagement/managementunits',
@@ -86113,7 +86497,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86113
86497
  { },
86114
86498
  { },
86115
86499
  { },
86116
- opts['body'],
86500
+ body,
86117
86501
  ['PureCloud OAuth'],
86118
86502
  ['application/json'],
86119
86503
  ['application/json']
@@ -86123,12 +86507,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86123
86507
  /**
86124
86508
  * Mark a list of notifications as read or unread
86125
86509
  *
86126
- * @param {Object} opts Optional parameters
86127
- * @param {Object} opts.body body
86510
+ * @param {Object} body body
86128
86511
  */
86129
- postWorkforcemanagementNotificationsUpdate(opts) {
86130
- opts = opts || {};
86131
-
86512
+ postWorkforcemanagementNotificationsUpdate(body) {
86513
+ // verify the required parameter 'body' is set
86514
+ if (body === undefined || body === null) {
86515
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementNotificationsUpdate';
86516
+ }
86132
86517
 
86133
86518
  return this.apiClient.callApi(
86134
86519
  '/api/v2/workforcemanagement/notifications/update',
@@ -86137,7 +86522,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86137
86522
  { },
86138
86523
  { },
86139
86524
  { },
86140
- opts['body'],
86525
+ body,
86141
86526
  ['PureCloud OAuth'],
86142
86527
  ['application/json'],
86143
86528
  ['application/json']
@@ -86173,16 +86558,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86173
86558
  * Request a teams historical adherence report
86174
86559
  * The maximum supported range for historical adherence queries is 31 days, or 7 days with includeExceptions = true
86175
86560
  * @param {String} teamId The ID of the team
86176
- * @param {Object} opts Optional parameters
86177
- * @param {Object} opts.body body
86561
+ * @param {Object} body body
86178
86562
  */
86179
- postWorkforcemanagementTeamAdherenceHistorical(teamId, opts) {
86180
- opts = opts || {};
86181
-
86563
+ postWorkforcemanagementTeamAdherenceHistorical(teamId, body) {
86182
86564
  // verify the required parameter 'teamId' is set
86183
86565
  if (teamId === undefined || teamId === null) {
86184
86566
  throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamAdherenceHistorical';
86185
86567
  }
86568
+ // verify the required parameter 'body' is set
86569
+ if (body === undefined || body === null) {
86570
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementTeamAdherenceHistorical';
86571
+ }
86186
86572
 
86187
86573
  return this.apiClient.callApi(
86188
86574
  '/api/v2/workforcemanagement/teams/{teamId}/adherence/historical',
@@ -86191,7 +86577,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86191
86577
  { },
86192
86578
  { },
86193
86579
  { },
86194
- opts['body'],
86580
+ body,
86195
86581
  ['PureCloud OAuth'],
86196
86582
  ['application/json'],
86197
86583
  ['application/json']
@@ -86202,16 +86588,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86202
86588
  * Request a historical shrinkage report
86203
86589
  * The maximum supported range for historical shrinkage queries is up to 32 days
86204
86590
  * @param {String} teamId The ID of the team
86205
- * @param {Object} opts Optional parameters
86206
- * @param {Object} opts.body body
86591
+ * @param {Object} body body
86207
86592
  */
86208
- postWorkforcemanagementTeamShrinkageJobs(teamId, opts) {
86209
- opts = opts || {};
86210
-
86593
+ postWorkforcemanagementTeamShrinkageJobs(teamId, body) {
86211
86594
  // verify the required parameter 'teamId' is set
86212
86595
  if (teamId === undefined || teamId === null) {
86213
86596
  throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamShrinkageJobs';
86214
86597
  }
86598
+ // verify the required parameter 'body' is set
86599
+ if (body === undefined || body === null) {
86600
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementTeamShrinkageJobs';
86601
+ }
86215
86602
 
86216
86603
  return this.apiClient.callApi(
86217
86604
  '/api/v2/workforcemanagement/teams/{teamId}/shrinkage/jobs',
@@ -86220,7 +86607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86220
86607
  { },
86221
86608
  { },
86222
86609
  { },
86223
- opts['body'],
86610
+ body,
86224
86611
  ['PureCloud OAuth'],
86225
86612
  ['application/json'],
86226
86613
  ['application/json']
@@ -86255,12 +86642,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86255
86642
  /**
86256
86643
  * Queries available time off for the current user
86257
86644
  *
86258
- * @param {Object} opts Optional parameters
86259
- * @param {Object} opts.body body
86645
+ * @param {Object} body body
86260
86646
  */
86261
- postWorkforcemanagementTimeofflimitsAvailableQuery(opts) {
86262
- opts = opts || {};
86263
-
86647
+ postWorkforcemanagementTimeofflimitsAvailableQuery(body) {
86648
+ // verify the required parameter 'body' is set
86649
+ if (body === undefined || body === null) {
86650
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementTimeofflimitsAvailableQuery';
86651
+ }
86264
86652
 
86265
86653
  return this.apiClient.callApi(
86266
86654
  '/api/v2/workforcemanagement/timeofflimits/available/query',
@@ -86269,7 +86657,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86269
86657
  { },
86270
86658
  { },
86271
86659
  { },
86272
- opts['body'],
86660
+ body,
86273
86661
  ['PureCloud OAuth'],
86274
86662
  ['application/json'],
86275
86663
  ['application/json']
@@ -86279,12 +86667,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86279
86667
  /**
86280
86668
  * Create a time off request for the current user
86281
86669
  *
86282
- * @param {Object} opts Optional parameters
86283
- * @param {Object} opts.body body
86670
+ * @param {Object} body body
86284
86671
  */
86285
- postWorkforcemanagementTimeoffrequests(opts) {
86286
- opts = opts || {};
86287
-
86672
+ postWorkforcemanagementTimeoffrequests(body) {
86673
+ // verify the required parameter 'body' is set
86674
+ if (body === undefined || body === null) {
86675
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequests';
86676
+ }
86288
86677
 
86289
86678
  return this.apiClient.callApi(
86290
86679
  '/api/v2/workforcemanagement/timeoffrequests',
@@ -86293,7 +86682,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86293
86682
  { },
86294
86683
  { },
86295
86684
  { },
86296
- opts['body'],
86685
+ body,
86297
86686
  ['PureCloud OAuth'],
86298
86687
  ['application/json'],
86299
86688
  ['application/json']
@@ -86303,12 +86692,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86303
86692
  /**
86304
86693
  * Estimates available time off for current user
86305
86694
  *
86306
- * @param {Object} opts Optional parameters
86307
- * @param {Object} opts.body body
86695
+ * @param {Object} body body
86308
86696
  */
86309
- postWorkforcemanagementTimeoffrequestsEstimate(opts) {
86310
- opts = opts || {};
86311
-
86697
+ postWorkforcemanagementTimeoffrequestsEstimate(body) {
86698
+ // verify the required parameter 'body' is set
86699
+ if (body === undefined || body === null) {
86700
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsEstimate';
86701
+ }
86312
86702
 
86313
86703
  return this.apiClient.callApi(
86314
86704
  '/api/v2/workforcemanagement/timeoffrequests/estimate',
@@ -86317,7 +86707,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86317
86707
  { },
86318
86708
  { },
86319
86709
  { },
86320
- opts['body'],
86710
+ body,
86321
86711
  ['PureCloud OAuth'],
86322
86712
  ['application/json'],
86323
86713
  ['application/json']
@@ -86327,12 +86717,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86327
86717
  /**
86328
86718
  * Retrieves integration statuses for a list of current user time off requests
86329
86719
  *
86330
- * @param {Object} opts Optional parameters
86331
- * @param {Object} opts.body body
86720
+ * @param {Object} body body
86332
86721
  */
86333
- postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery(opts) {
86334
- opts = opts || {};
86335
-
86722
+ postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery(body) {
86723
+ // verify the required parameter 'body' is set
86724
+ if (body === undefined || body === null) {
86725
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementTimeoffrequestsIntegrationstatusQuery';
86726
+ }
86336
86727
 
86337
86728
  return this.apiClient.callApi(
86338
86729
  '/api/v2/workforcemanagement/timeoffrequests/integrationstatus/query',
@@ -86341,7 +86732,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86341
86732
  { },
86342
86733
  { },
86343
86734
  { },
86344
- opts['body'],
86735
+ body,
86345
86736
  ['PureCloud OAuth'],
86346
86737
  ['application/json'],
86347
86738
  ['application/json']
@@ -86383,12 +86774,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86383
86774
  * Note that only limit daily values can be set through API, allocated and waitlisted values are read-only for time-off limit API
86384
86775
  * @param {String} businessUnitId The ID of the business unit
86385
86776
  * @param {String} timeOffLimitId The ID of the time-off limit object to set values for
86386
- * @param {Object} opts Optional parameters
86387
- * @param {Object} opts.body body
86777
+ * @param {Object} body body
86388
86778
  */
86389
- putWorkforcemanagementBusinessunitTimeofflimitValues(businessUnitId, timeOffLimitId, opts) {
86390
- opts = opts || {};
86391
-
86779
+ putWorkforcemanagementBusinessunitTimeofflimitValues(businessUnitId, timeOffLimitId, body) {
86392
86780
  // verify the required parameter 'businessUnitId' is set
86393
86781
  if (businessUnitId === undefined || businessUnitId === null) {
86394
86782
  throw 'Missing the required parameter "businessUnitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
@@ -86397,6 +86785,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86397
86785
  if (timeOffLimitId === undefined || timeOffLimitId === null) {
86398
86786
  throw 'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
86399
86787
  }
86788
+ // verify the required parameter 'body' is set
86789
+ if (body === undefined || body === null) {
86790
+ throw 'Missing the required parameter "body" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
86791
+ }
86400
86792
 
86401
86793
  return this.apiClient.callApi(
86402
86794
  '/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeofflimits/{timeOffLimitId}/values',
@@ -86405,7 +86797,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86405
86797
  { },
86406
86798
  { },
86407
86799
  { },
86408
- opts['body'],
86800
+ body,
86409
86801
  ['PureCloud OAuth'],
86410
86802
  ['application/json'],
86411
86803
  ['application/json']
@@ -86417,12 +86809,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86417
86809
  * Note that only limit daily values can be set through API, allocated and waitlisted values are read-only for time off limit API
86418
86810
  * @param {String} managementUnitId The ID of the management unit.
86419
86811
  * @param {String} timeOffLimitId The ID of the time off limit object to set values for
86420
- * @param {Object} opts Optional parameters
86421
- * @param {Object} opts.body body
86812
+ * @param {Object} body body
86422
86813
  */
86423
- putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId, timeOffLimitId, opts) {
86424
- opts = opts || {};
86425
-
86814
+ putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId, timeOffLimitId, body) {
86426
86815
  // verify the required parameter 'managementUnitId' is set
86427
86816
  if (managementUnitId === undefined || managementUnitId === null) {
86428
86817
  throw 'Missing the required parameter "managementUnitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
@@ -86431,6 +86820,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86431
86820
  if (timeOffLimitId === undefined || timeOffLimitId === null) {
86432
86821
  throw 'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
86433
86822
  }
86823
+ // verify the required parameter 'body' is set
86824
+ if (body === undefined || body === null) {
86825
+ throw 'Missing the required parameter "body" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
86826
+ }
86434
86827
 
86435
86828
  return this.apiClient.callApi(
86436
86829
  '/api/v2/workforcemanagement/managementunits/{managementUnitId}/timeofflimits/{timeOffLimitId}/values',
@@ -86439,7 +86832,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86439
86832
  { },
86440
86833
  { },
86441
86834
  { },
86442
- opts['body'],
86835
+ body,
86443
86836
  ['PureCloud OAuth'],
86444
86837
  ['application/json'],
86445
86838
  ['application/json']
@@ -86477,7 +86870,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
86477
86870
  * </pre>
86478
86871
  * </p>
86479
86872
  * @module purecloud-platform-client-v2/index
86480
- * @version 222.0.0
86873
+ * @version 223.0.0
86481
86874
  */
86482
86875
  class platformClient {
86483
86876
  constructor() {