purecloud-platform-client-v2 200.0.0 → 201.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 (87) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +1262 -116
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1262 -116
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +410 -124
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +526 -156
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +584 -21
  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/AgentUIApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +3 -3
  14. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +21 -1
  39. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LearningApi.js +4 -4
  44. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +68 -1
  54. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +36 -31
  71. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/UsersApi.js +4 -4
  80. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1080 -26
  87. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -402,7 +402,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
402
402
 
403
403
  /**
404
404
  * @module purecloud-platform-client-v2/ApiClient
405
- * @version 200.0.0
405
+ * @version 201.0.0
406
406
  */
407
407
  class ApiClient {
408
408
  /**
@@ -1824,7 +1824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1824
1824
  /**
1825
1825
  * AgentUI service.
1826
1826
  * @module purecloud-platform-client-v2/api/AgentUIApi
1827
- * @version 200.0.0
1827
+ * @version 201.0.0
1828
1828
  */
1829
1829
 
1830
1830
  /**
@@ -1955,7 +1955,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1955
1955
  /**
1956
1956
  * Alerting service.
1957
1957
  * @module purecloud-platform-client-v2/api/AlertingApi
1958
- * @version 200.0.0
1958
+ * @version 201.0.0
1959
1959
  */
1960
1960
 
1961
1961
  /**
@@ -2616,7 +2616,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2616
2616
  /**
2617
2617
  * Analytics service.
2618
2618
  * @module purecloud-platform-client-v2/api/AnalyticsApi
2619
- * @version 200.0.0
2619
+ * @version 201.0.0
2620
2620
  */
2621
2621
 
2622
2622
  /**
@@ -4677,8 +4677,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
4677
4677
  }
4678
4678
 
4679
4679
  /**
4680
- * Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded. Not a source of truth for limits hit but a best effort estimate.
4681
- * The max property can be used to determine estimated rate limit value hit.
4680
+ * Query for limits rate limit aggregates. Data populated when limits reach 90% of the maximum. Not a source of truth for limits hit but a best effort estimate.
4681
+ * The max property can be used to determine estimated rate limit value hit. See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
4682
4682
  * @param {Object} body query
4683
4683
  */
4684
4684
  postAnalyticsRatelimitsAggregatesQuery(body) {
@@ -5228,7 +5228,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
5228
5228
  /**
5229
5229
  * Architect service.
5230
5230
  * @module purecloud-platform-client-v2/api/ArchitectApi
5231
- * @version 200.0.0
5231
+ * @version 201.0.0
5232
5232
  */
5233
5233
 
5234
5234
  /**
@@ -9374,7 +9374,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9374
9374
  /**
9375
9375
  * Audit service.
9376
9376
  * @module purecloud-platform-client-v2/api/AuditApi
9377
- * @version 200.0.0
9377
+ * @version 201.0.0
9378
9378
  */
9379
9379
 
9380
9380
  /**
@@ -9575,7 +9575,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9575
9575
  /**
9576
9576
  * Authorization service.
9577
9577
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9578
- * @version 200.0.0
9578
+ * @version 201.0.0
9579
9579
  */
9580
9580
 
9581
9581
  /**
@@ -10813,7 +10813,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10813
10813
  /**
10814
10814
  * Billing service.
10815
10815
  * @module purecloud-platform-client-v2/api/BillingApi
10816
- * @version 200.0.0
10816
+ * @version 201.0.0
10817
10817
  */
10818
10818
 
10819
10819
  /**
@@ -10893,7 +10893,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10893
10893
  /**
10894
10894
  * CarrierServices service.
10895
10895
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
10896
- * @version 200.0.0
10896
+ * @version 201.0.0
10897
10897
  */
10898
10898
 
10899
10899
  /**
@@ -10963,7 +10963,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10963
10963
  /**
10964
10964
  * Chat service.
10965
10965
  * @module purecloud-platform-client-v2/api/ChatApi
10966
- * @version 200.0.0
10966
+ * @version 201.0.0
10967
10967
  */
10968
10968
 
10969
10969
  /**
@@ -11899,7 +11899,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11899
11899
  /**
11900
11900
  * Coaching service.
11901
11901
  * @module purecloud-platform-client-v2/api/CoachingApi
11902
- * @version 200.0.0
11902
+ * @version 201.0.0
11903
11903
  */
11904
11904
 
11905
11905
  /**
@@ -12476,7 +12476,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12476
12476
  /**
12477
12477
  * ContentManagement service.
12478
12478
  * @module purecloud-platform-client-v2/api/ContentManagementApi
12479
- * @version 200.0.0
12479
+ * @version 201.0.0
12480
12480
  */
12481
12481
 
12482
12482
  /**
@@ -13558,7 +13558,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13558
13558
  /**
13559
13559
  * Conversations service.
13560
13560
  * @module purecloud-platform-client-v2/api/ConversationsApi
13561
- * @version 200.0.0
13561
+ * @version 201.0.0
13562
13562
  */
13563
13563
 
13564
13564
  /**
@@ -20671,7 +20671,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20671
20671
  /**
20672
20672
  * DataExtensions service.
20673
20673
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
20674
- * @version 200.0.0
20674
+ * @version 201.0.0
20675
20675
  */
20676
20676
 
20677
20677
  /**
@@ -20757,7 +20757,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20757
20757
  /**
20758
20758
  * Downloads service.
20759
20759
  * @module purecloud-platform-client-v2/api/DownloadsApi
20760
- * @version 200.0.0
20760
+ * @version 201.0.0
20761
20761
  */
20762
20762
 
20763
20763
  /**
@@ -20809,7 +20809,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20809
20809
  /**
20810
20810
  * Emails service.
20811
20811
  * @module purecloud-platform-client-v2/api/EmailsApi
20812
- * @version 200.0.0
20812
+ * @version 201.0.0
20813
20813
  */
20814
20814
 
20815
20815
  /**
@@ -20874,7 +20874,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20874
20874
  /**
20875
20875
  * EmployeeEngagement service.
20876
20876
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
20877
- * @version 200.0.0
20877
+ * @version 201.0.0
20878
20878
  */
20879
20879
 
20880
20880
  /**
@@ -21025,7 +21025,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21025
21025
  /**
21026
21026
  * Events service.
21027
21027
  * @module purecloud-platform-client-v2/api/EventsApi
21028
- * @version 200.0.0
21028
+ * @version 201.0.0
21029
21029
  */
21030
21030
 
21031
21031
  /**
@@ -21121,7 +21121,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21121
21121
  /**
21122
21122
  * ExternalContacts service.
21123
21123
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
21124
- * @version 200.0.0
21124
+ * @version 201.0.0
21125
21125
  */
21126
21126
 
21127
21127
  /**
@@ -23083,7 +23083,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23083
23083
  /**
23084
23084
  * Fax service.
23085
23085
  * @module purecloud-platform-client-v2/api/FaxApi
23086
- * @version 200.0.0
23086
+ * @version 201.0.0
23087
23087
  */
23088
23088
 
23089
23089
  /**
@@ -23298,7 +23298,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23298
23298
  /**
23299
23299
  * Flows service.
23300
23300
  * @module purecloud-platform-client-v2/api/FlowsApi
23301
- * @version 200.0.0
23301
+ * @version 201.0.0
23302
23302
  */
23303
23303
 
23304
23304
  /**
@@ -23481,7 +23481,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23481
23481
  /**
23482
23482
  * Gamification service.
23483
23483
  * @module purecloud-platform-client-v2/api/GamificationApi
23484
- * @version 200.0.0
23484
+ * @version 201.0.0
23485
23485
  */
23486
23486
 
23487
23487
  /**
@@ -25567,7 +25567,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25567
25567
  /**
25568
25568
  * GeneralDataProtectionRegulation service.
25569
25569
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
25570
- * @version 200.0.0
25570
+ * @version 201.0.0
25571
25571
  */
25572
25572
 
25573
25573
  /**
@@ -25697,7 +25697,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25697
25697
  /**
25698
25698
  * Geolocation service.
25699
25699
  * @module purecloud-platform-client-v2/api/GeolocationApi
25700
- * @version 200.0.0
25700
+ * @version 201.0.0
25701
25701
  */
25702
25702
 
25703
25703
  /**
@@ -25828,7 +25828,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25828
25828
  /**
25829
25829
  * Greetings service.
25830
25830
  * @module purecloud-platform-client-v2/api/GreetingsApi
25831
- * @version 200.0.0
25831
+ * @version 201.0.0
25832
25832
  */
25833
25833
 
25834
25834
  /**
@@ -26283,7 +26283,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26283
26283
  /**
26284
26284
  * Groups service.
26285
26285
  * @module purecloud-platform-client-v2/api/GroupsApi
26286
- * @version 200.0.0
26286
+ * @version 201.0.0
26287
26287
  */
26288
26288
 
26289
26289
  /**
@@ -26802,7 +26802,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26802
26802
  /**
26803
26803
  * IdentityProvider service.
26804
26804
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
26805
- * @version 200.0.0
26805
+ * @version 201.0.0
26806
26806
  */
26807
26807
 
26808
26808
  /**
@@ -27663,7 +27663,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27663
27663
  /**
27664
27664
  * InfrastructureAsCode service.
27665
27665
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
27666
- * @version 200.0.0
27666
+ * @version 201.0.0
27667
27667
  */
27668
27668
 
27669
27669
  /**
@@ -27830,7 +27830,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27830
27830
  /**
27831
27831
  * Integrations service.
27832
27832
  * @module purecloud-platform-client-v2/api/IntegrationsApi
27833
- * @version 200.0.0
27833
+ * @version 201.0.0
27834
27834
  */
27835
27835
 
27836
27836
  /**
@@ -28379,6 +28379,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28379
28379
  );
28380
28380
  }
28381
28381
 
28382
+ /**
28383
+ * Retrieves basic info about trusted root CA certificates
28384
+ *
28385
+ */
28386
+ getIntegrationsActionsCertificatesTruststore() {
28387
+
28388
+ return this.apiClient.callApi(
28389
+ '/api/v2/integrations/actions/certificates/truststore',
28390
+ 'GET',
28391
+ { },
28392
+ { },
28393
+ { },
28394
+ { },
28395
+ null,
28396
+ ['PureCloud OAuth'],
28397
+ ['application/json'],
28398
+ ['application/json']
28399
+ );
28400
+ }
28401
+
28382
28402
  /**
28383
28403
  * Retrieves all action drafts associated with the filters passed in via query param.
28384
28404
  *
@@ -30182,7 +30202,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30182
30202
  /**
30183
30203
  * Journey service.
30184
30204
  * @module purecloud-platform-client-v2/api/JourneyApi
30185
- * @version 200.0.0
30205
+ * @version 201.0.0
30186
30206
  */
30187
30207
 
30188
30208
  /**
@@ -31835,7 +31855,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31835
31855
  /**
31836
31856
  * Knowledge service.
31837
31857
  * @module purecloud-platform-client-v2/api/KnowledgeApi
31838
- * @version 200.0.0
31858
+ * @version 201.0.0
31839
31859
  */
31840
31860
 
31841
31861
  /**
@@ -35079,7 +35099,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35079
35099
  /**
35080
35100
  * LanguageUnderstanding service.
35081
35101
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
35082
- * @version 200.0.0
35102
+ * @version 201.0.0
35083
35103
  */
35084
35104
 
35085
35105
  /**
@@ -36113,7 +36133,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36113
36133
  /**
36114
36134
  * Languages service.
36115
36135
  * @module purecloud-platform-client-v2/api/LanguagesApi
36116
- * @version 200.0.0
36136
+ * @version 201.0.0
36117
36137
  */
36118
36138
 
36119
36139
  /**
@@ -36335,7 +36355,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36335
36355
  /**
36336
36356
  * Learning service.
36337
36357
  * @module purecloud-platform-client-v2/api/LearningApi
36338
- * @version 200.0.0
36358
+ * @version 201.0.0
36339
36359
  */
36340
36360
 
36341
36361
  /**
@@ -36481,7 +36501,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36481
36501
  * @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
36482
36502
  * @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
36483
36503
  * @param {Array.<String>} opts.userId Specifies the list of user IDs to be queried, up to 100 user IDs.
36484
- * @param {Array.<String>} opts.types Specifies the module types to filter by
36504
+ * @param {Array.<String>} opts.types Specifies the module types to filter by. Informational, AssessedContent and Assessment are deprecated
36485
36505
  * @param {Array.<String>} opts.states Specifies the assignment states to filter by
36486
36506
  * @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
36487
36507
  */
@@ -36518,7 +36538,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36518
36538
  * @param {Number} opts.maxPercentageScore The maximum assessment score for an assignment (completed with assessment) to be included in the results (inclusive)
36519
36539
  * @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
36520
36540
  * @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
36521
- * @param {Array.<String>} opts.types Specifies the module types to filter by
36541
+ * @param {Array.<String>} opts.types Specifies the module types to filter by. Informational, AssessedContent and Assessment are deprecated
36522
36542
  * @param {Array.<String>} opts.states Specifies the assignment states to filter by
36523
36543
  * @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
36524
36544
  */
@@ -36688,7 +36708,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36688
36708
  *
36689
36709
  * @param {Object} opts Optional parameters
36690
36710
  * @param {Boolean} opts.isArchived Archive status (default to false)
36691
- * @param {Array.<String>} opts.types Specifies the module types.
36711
+ * @param {Array.<String>} opts.types Specifies the module types. Informational, AssessedContent and Assessment are deprecated
36692
36712
  * @param {Number} opts.pageSize Page size (default to 25)
36693
36713
  * @param {Number} opts.pageNumber Page number (default to 1)
36694
36714
  * @param {Object} opts.sortOrder Sort order (default to ascending)
@@ -37364,7 +37384,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37364
37384
  /**
37365
37385
  * License service.
37366
37386
  * @module purecloud-platform-client-v2/api/LicenseApi
37367
- * @version 200.0.0
37387
+ * @version 201.0.0
37368
37388
  */
37369
37389
 
37370
37390
  /**
@@ -37602,7 +37622,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37602
37622
  /**
37603
37623
  * Locations service.
37604
37624
  * @module purecloud-platform-client-v2/api/LocationsApi
37605
- * @version 200.0.0
37625
+ * @version 201.0.0
37606
37626
  */
37607
37627
 
37608
37628
  /**
@@ -37838,7 +37858,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37838
37858
  /**
37839
37859
  * LogCapture service.
37840
37860
  * @module purecloud-platform-client-v2/api/LogCaptureApi
37841
- * @version 200.0.0
37861
+ * @version 201.0.0
37842
37862
  */
37843
37863
 
37844
37864
  /**
@@ -38038,7 +38058,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38038
38058
  /**
38039
38059
  * Messaging service.
38040
38060
  * @module purecloud-platform-client-v2/api/MessagingApi
38041
- * @version 200.0.0
38061
+ * @version 201.0.0
38042
38062
  */
38043
38063
 
38044
38064
  /**
@@ -38397,7 +38417,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38397
38417
  /**
38398
38418
  * MobileDevices service.
38399
38419
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
38400
- * @version 200.0.0
38420
+ * @version 201.0.0
38401
38421
  */
38402
38422
 
38403
38423
  /**
@@ -38548,7 +38568,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38548
38568
  /**
38549
38569
  * Notifications service.
38550
38570
  * @module purecloud-platform-client-v2/api/NotificationsApi
38551
- * @version 200.0.0
38571
+ * @version 201.0.0
38552
38572
  */
38553
38573
 
38554
38574
  /**
@@ -38781,7 +38801,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38781
38801
  /**
38782
38802
  * OAuth service.
38783
38803
  * @module purecloud-platform-client-v2/api/OAuthApi
38784
- * @version 200.0.0
38804
+ * @version 201.0.0
38785
38805
  */
38786
38806
 
38787
38807
  /**
@@ -39147,7 +39167,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39147
39167
  /**
39148
39168
  * Objects service.
39149
39169
  * @module purecloud-platform-client-v2/api/ObjectsApi
39150
- * @version 200.0.0
39170
+ * @version 201.0.0
39151
39171
  */
39152
39172
 
39153
39173
  /**
@@ -39417,7 +39437,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39417
39437
  /**
39418
39438
  * OperationalEvents service.
39419
39439
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
39420
- * @version 200.0.0
39440
+ * @version 201.0.0
39421
39441
  */
39422
39442
 
39423
39443
  /**
@@ -39483,7 +39503,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39483
39503
  /**
39484
39504
  * Organization service.
39485
39505
  * @module purecloud-platform-client-v2/api/OrganizationApi
39486
- * @version 200.0.0
39506
+ * @version 201.0.0
39487
39507
  */
39488
39508
 
39489
39509
  /**
@@ -39704,6 +39724,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39704
39724
  );
39705
39725
  }
39706
39726
 
39727
+ /**
39728
+ * Get estimated limit counts for a namespace. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
39729
+ * See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
39730
+ * @param {String} namespaceName The namespace to get
39731
+ * @param {Object} opts Optional parameters
39732
+ * @param {String} opts.cursor Cursor provided when retrieving the last page
39733
+ * @param {String} opts.entityId entity id of the count
39734
+ * @param {String} opts.userId userid of the count
39735
+ */
39736
+ getOrganizationsLimitsNamespaceCounts(namespaceName, opts) {
39737
+ opts = opts || {};
39738
+
39739
+ // verify the required parameter 'namespaceName' is set
39740
+ if (namespaceName === undefined || namespaceName === null) {
39741
+ throw 'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceCounts';
39742
+ }
39743
+
39744
+ return this.apiClient.callApi(
39745
+ '/api/v2/organizations/limits/namespaces/{namespaceName}/counts',
39746
+ 'GET',
39747
+ { 'namespaceName': namespaceName },
39748
+ { 'cursor': opts['cursor'],'entityId': opts['entityId'],'userId': opts['userId'] },
39749
+ { },
39750
+ { },
39751
+ null,
39752
+ ['PureCloud OAuth'],
39753
+ ['application/json'],
39754
+ ['application/json']
39755
+ );
39756
+ }
39757
+
39707
39758
  /**
39708
39759
  * Get the default limits in a namespace for an organization
39709
39760
  *
@@ -39729,6 +39780,42 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39729
39780
  );
39730
39781
  }
39731
39782
 
39783
+ /**
39784
+ * Get estimated limit counts for a namespace and limit name. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
39785
+ * See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
39786
+ * @param {String} namespaceName The namespace to get
39787
+ * @param {String} limitName The limit to get
39788
+ * @param {Object} opts Optional parameters
39789
+ * @param {String} opts.entityId entity id of the count
39790
+ * @param {String} opts.userId userid of the count
39791
+ * @param {String} opts.cursor Cursor provided when retrieving the last page
39792
+ */
39793
+ getOrganizationsLimitsNamespaceLimitCounts(namespaceName, limitName, opts) {
39794
+ opts = opts || {};
39795
+
39796
+ // verify the required parameter 'namespaceName' is set
39797
+ if (namespaceName === undefined || namespaceName === null) {
39798
+ throw 'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceLimitCounts';
39799
+ }
39800
+ // verify the required parameter 'limitName' is set
39801
+ if (limitName === undefined || limitName === null) {
39802
+ throw 'Missing the required parameter "limitName" when calling getOrganizationsLimitsNamespaceLimitCounts';
39803
+ }
39804
+
39805
+ return this.apiClient.callApi(
39806
+ '/api/v2/organizations/limits/namespaces/{namespaceName}/limits/{limitName}/counts',
39807
+ 'GET',
39808
+ { 'namespaceName': namespaceName,'limitName': limitName },
39809
+ { 'entityId': opts['entityId'],'userId': opts['userId'],'cursor': opts['cursor'] },
39810
+ { },
39811
+ { },
39812
+ null,
39813
+ ['PureCloud OAuth'],
39814
+ ['application/json'],
39815
+ ['application/json']
39816
+ );
39817
+ }
39818
+
39732
39819
  /**
39733
39820
  * Get the available limit namespaces
39734
39821
  *
@@ -39958,7 +40045,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39958
40045
  /**
39959
40046
  * OrganizationAuthorization service.
39960
40047
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
39961
- * @version 200.0.0
40048
+ * @version 201.0.0
39962
40049
  */
39963
40050
 
39964
40051
  /**
@@ -41305,7 +41392,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41305
41392
  /**
41306
41393
  * Outbound service.
41307
41394
  * @module purecloud-platform-client-v2/api/OutboundApi
41308
- * @version 200.0.0
41395
+ * @version 201.0.0
41309
41396
  */
41310
41397
 
41311
41398
  /**
@@ -45667,7 +45754,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45667
45754
  /**
45668
45755
  * Presence service.
45669
45756
  * @module purecloud-platform-client-v2/api/PresenceApi
45670
- * @version 200.0.0
45757
+ * @version 201.0.0
45671
45758
  */
45672
45759
 
45673
45760
  /**
@@ -46411,7 +46498,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46411
46498
  /**
46412
46499
  * ProcessAutomation service.
46413
46500
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
46414
- * @version 200.0.0
46501
+ * @version 201.0.0
46415
46502
  */
46416
46503
 
46417
46504
  /**
@@ -46650,7 +46737,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46650
46737
  /**
46651
46738
  * Quality service.
46652
46739
  * @module purecloud-platform-client-v2/api/QualityApi
46653
- * @version 200.0.0
46740
+ * @version 201.0.0
46654
46741
  */
46655
46742
 
46656
46743
  /**
@@ -48436,7 +48523,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48436
48523
  /**
48437
48524
  * Recording service.
48438
48525
  * @module purecloud-platform-client-v2/api/RecordingApi
48439
- * @version 200.0.0
48526
+ * @version 201.0.0
48440
48527
  */
48441
48528
 
48442
48529
  /**
@@ -50095,7 +50182,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50095
50182
  /**
50096
50183
  * ResponseManagement service.
50097
50184
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
50098
- * @version 200.0.0
50185
+ * @version 201.0.0
50099
50186
  */
50100
50187
 
50101
50188
  /**
@@ -50605,7 +50692,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50605
50692
  /**
50606
50693
  * Routing service.
50607
50694
  * @module purecloud-platform-client-v2/api/RoutingApi
50608
- * @version 200.0.0
50695
+ * @version 201.0.0
50609
50696
  */
50610
50697
 
50611
50698
  /**
@@ -54724,7 +54811,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54724
54811
  /**
54725
54812
  * SCIM service.
54726
54813
  * @module purecloud-platform-client-v2/api/SCIMApi
54727
- * @version 200.0.0
54814
+ * @version 201.0.0
54728
54815
  */
54729
54816
 
54730
54817
  /**
@@ -55601,7 +55688,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55601
55688
  /**
55602
55689
  * ScreenRecording service.
55603
55690
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
55604
- * @version 200.0.0
55691
+ * @version 201.0.0
55605
55692
  */
55606
55693
 
55607
55694
  /**
@@ -55646,7 +55733,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55646
55733
  /**
55647
55734
  * Scripts service.
55648
55735
  * @module purecloud-platform-client-v2/api/ScriptsApi
55649
- * @version 200.0.0
55736
+ * @version 201.0.0
55650
55737
  */
55651
55738
 
55652
55739
  /**
@@ -56090,7 +56177,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56090
56177
  /**
56091
56178
  * Search service.
56092
56179
  * @module purecloud-platform-client-v2/api/SearchApi
56093
- * @version 200.0.0
56180
+ * @version 201.0.0
56094
56181
  */
56095
56182
 
56096
56183
  /**
@@ -56779,7 +56866,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56779
56866
  /**
56780
56867
  * Settings service.
56781
56868
  * @module purecloud-platform-client-v2/api/SettingsApi
56782
- * @version 200.0.0
56869
+ * @version 201.0.0
56783
56870
  */
56784
56871
 
56785
56872
  /**
@@ -57001,7 +57088,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57001
57088
  /**
57002
57089
  * SpeechTextAnalytics service.
57003
57090
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
57004
- * @version 200.0.0
57091
+ * @version 201.0.0
57005
57092
  */
57006
57093
 
57007
57094
  /**
@@ -58279,7 +58366,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58279
58366
  /**
58280
58367
  * Stations service.
58281
58368
  * @module purecloud-platform-client-v2/api/StationsApi
58282
- * @version 200.0.0
58369
+ * @version 201.0.0
58283
58370
  */
58284
58371
 
58285
58372
  /**
@@ -58381,7 +58468,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58381
58468
  /**
58382
58469
  * Suggest service.
58383
58470
  * @module purecloud-platform-client-v2/api/SuggestApi
58384
- * @version 200.0.0
58471
+ * @version 201.0.0
58385
58472
  */
58386
58473
 
58387
58474
  /**
@@ -58520,7 +58607,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58520
58607
  /**
58521
58608
  * TaskManagement service.
58522
58609
  * @module purecloud-platform-client-v2/api/TaskManagementApi
58523
- * @version 200.0.0
58610
+ * @version 201.0.0
58524
58611
  */
58525
58612
 
58526
58613
  /**
@@ -59467,16 +59554,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59467
59554
  * Update the attributes of a worktype
59468
59555
  *
59469
59556
  * @param {String} worktypeId Worktype id
59470
- * @param {Object} opts Optional parameters
59471
- * @param {Object} opts.body body
59557
+ * @param {Object} body Worktype
59472
59558
  */
59473
- patchTaskmanagementWorktype(worktypeId, opts) {
59474
- opts = opts || {};
59475
-
59559
+ patchTaskmanagementWorktype(worktypeId, body) {
59476
59560
  // verify the required parameter 'worktypeId' is set
59477
59561
  if (worktypeId === undefined || worktypeId === null) {
59478
59562
  throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktype';
59479
59563
  }
59564
+ // verify the required parameter 'body' is set
59565
+ if (body === undefined || body === null) {
59566
+ throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktype';
59567
+ }
59480
59568
 
59481
59569
  return this.apiClient.callApi(
59482
59570
  '/api/v2/taskmanagement/worktypes/{worktypeId}',
@@ -59485,7 +59573,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59485
59573
  { },
59486
59574
  { },
59487
59575
  { },
59488
- opts['body'],
59576
+ body,
59489
59577
  ['PureCloud OAuth'],
59490
59578
  ['application/json'],
59491
59579
  ['application/json']
@@ -59497,12 +59585,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59497
59585
  *
59498
59586
  * @param {String} worktypeId Worktype id
59499
59587
  * @param {String} statusId Status id
59500
- * @param {Object} opts Optional parameters
59501
- * @param {Object} opts.body body
59588
+ * @param {Object} body Status
59502
59589
  */
59503
- patchTaskmanagementWorktypeStatus(worktypeId, statusId, opts) {
59504
- opts = opts || {};
59505
-
59590
+ patchTaskmanagementWorktypeStatus(worktypeId, statusId, body) {
59506
59591
  // verify the required parameter 'worktypeId' is set
59507
59592
  if (worktypeId === undefined || worktypeId === null) {
59508
59593
  throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeStatus';
@@ -59511,6 +59596,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59511
59596
  if (statusId === undefined || statusId === null) {
59512
59597
  throw 'Missing the required parameter "statusId" when calling patchTaskmanagementWorktypeStatus';
59513
59598
  }
59599
+ // verify the required parameter 'body' is set
59600
+ if (body === undefined || body === null) {
59601
+ throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeStatus';
59602
+ }
59514
59603
 
59515
59604
  return this.apiClient.callApi(
59516
59605
  '/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}',
@@ -59519,7 +59608,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59519
59608
  { },
59520
59609
  { },
59521
59610
  { },
59522
- opts['body'],
59611
+ body,
59523
59612
  ['PureCloud OAuth'],
59524
59613
  ['application/json'],
59525
59614
  ['application/json']
@@ -59529,12 +59618,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59529
59618
  /**
59530
59619
  * Create a workbin
59531
59620
  *
59532
- * @param {Object} opts Optional parameters
59533
- * @param {Object} opts.body body
59621
+ * @param {Object} body Workbin
59534
59622
  */
59535
- postTaskmanagementWorkbins(opts) {
59536
- opts = opts || {};
59537
-
59623
+ postTaskmanagementWorkbins(body) {
59624
+ // verify the required parameter 'body' is set
59625
+ if (body === undefined || body === null) {
59626
+ throw 'Missing the required parameter "body" when calling postTaskmanagementWorkbins';
59627
+ }
59538
59628
 
59539
59629
  return this.apiClient.callApi(
59540
59630
  '/api/v2/taskmanagement/workbins',
@@ -59543,7 +59633,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59543
59633
  { },
59544
59634
  { },
59545
59635
  { },
59546
- opts['body'],
59636
+ body,
59547
59637
  ['PureCloud OAuth'],
59548
59638
  ['application/json'],
59549
59639
  ['application/json']
@@ -59759,16 +59849,17 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59759
59849
  * Add a status to a worktype
59760
59850
  *
59761
59851
  * @param {String} worktypeId Worktype id
59762
- * @param {Object} opts Optional parameters
59763
- * @param {Object} opts.body body
59852
+ * @param {Object} body Status
59764
59853
  */
59765
- postTaskmanagementWorktypeStatuses(worktypeId, opts) {
59766
- opts = opts || {};
59767
-
59854
+ postTaskmanagementWorktypeStatuses(worktypeId, body) {
59768
59855
  // verify the required parameter 'worktypeId' is set
59769
59856
  if (worktypeId === undefined || worktypeId === null) {
59770
59857
  throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeStatuses';
59771
59858
  }
59859
+ // verify the required parameter 'body' is set
59860
+ if (body === undefined || body === null) {
59861
+ throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeStatuses';
59862
+ }
59772
59863
 
59773
59864
  return this.apiClient.callApi(
59774
59865
  '/api/v2/taskmanagement/worktypes/{worktypeId}/statuses',
@@ -59777,7 +59868,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59777
59868
  { },
59778
59869
  { },
59779
59870
  { },
59780
- opts['body'],
59871
+ body,
59781
59872
  ['PureCloud OAuth'],
59782
59873
  ['application/json'],
59783
59874
  ['application/json']
@@ -59787,12 +59878,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59787
59878
  /**
59788
59879
  * Create a worktype
59789
59880
  *
59790
- * @param {Object} opts Optional parameters
59791
- * @param {Object} opts.body body
59881
+ * @param {Object} body Worktype
59792
59882
  */
59793
- postTaskmanagementWorktypes(opts) {
59794
- opts = opts || {};
59795
-
59883
+ postTaskmanagementWorktypes(body) {
59884
+ // verify the required parameter 'body' is set
59885
+ if (body === undefined || body === null) {
59886
+ throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypes';
59887
+ }
59796
59888
 
59797
59889
  return this.apiClient.callApi(
59798
59890
  '/api/v2/taskmanagement/worktypes',
@@ -59801,7 +59893,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59801
59893
  { },
59802
59894
  { },
59803
59895
  { },
59804
- opts['body'],
59896
+ body,
59805
59897
  ['PureCloud OAuth'],
59806
59898
  ['application/json'],
59807
59899
  ['application/json']
@@ -59869,7 +59961,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59869
59961
  /**
59870
59962
  * Teams service.
59871
59963
  * @module purecloud-platform-client-v2/api/TeamsApi
59872
- * @version 200.0.0
59964
+ * @version 201.0.0
59873
59965
  */
59874
59966
 
59875
59967
  /**
@@ -60170,7 +60262,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60170
60262
  /**
60171
60263
  * Telephony service.
60172
60264
  * @module purecloud-platform-client-v2/api/TelephonyApi
60173
- * @version 200.0.0
60265
+ * @version 201.0.0
60174
60266
  */
60175
60267
 
60176
60268
  /**
@@ -60352,7 +60444,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60352
60444
  /**
60353
60445
  * TelephonyProvidersEdge service.
60354
60446
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
60355
- * @version 200.0.0
60447
+ * @version 201.0.0
60356
60448
  */
60357
60449
 
60358
60450
  /**
@@ -63680,7 +63772,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63680
63772
  /**
63681
63773
  * Textbots service.
63682
63774
  * @module purecloud-platform-client-v2/api/TextbotsApi
63683
- * @version 200.0.0
63775
+ * @version 201.0.0
63684
63776
  */
63685
63777
 
63686
63778
  /**
@@ -63808,7 +63900,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63808
63900
  /**
63809
63901
  * Tokens service.
63810
63902
  * @module purecloud-platform-client-v2/api/TokensApi
63811
- * @version 200.0.0
63903
+ * @version 201.0.0
63812
63904
  */
63813
63905
 
63814
63906
  /**
@@ -63962,7 +64054,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63962
64054
  /**
63963
64055
  * Uploads service.
63964
64056
  * @module purecloud-platform-client-v2/api/UploadsApi
63965
- * @version 200.0.0
64057
+ * @version 201.0.0
63966
64058
  */
63967
64059
 
63968
64060
  /**
@@ -64231,7 +64323,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64231
64323
  /**
64232
64324
  * Usage service.
64233
64325
  * @module purecloud-platform-client-v2/api/UsageApi
64234
- * @version 200.0.0
64326
+ * @version 201.0.0
64235
64327
  */
64236
64328
 
64237
64329
  /**
@@ -64446,7 +64538,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64446
64538
  /**
64447
64539
  * UserRecordings service.
64448
64540
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
64449
- * @version 200.0.0
64541
+ * @version 201.0.0
64450
64542
  */
64451
64543
 
64452
64544
  /**
@@ -64631,7 +64723,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64631
64723
  /**
64632
64724
  * Users service.
64633
64725
  * @module purecloud-platform-client-v2/api/UsersApi
64634
- * @version 200.0.0
64726
+ * @version 201.0.0
64635
64727
  */
64636
64728
 
64637
64729
  /**
@@ -65959,7 +66051,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65959
66051
  * @param {Number} opts.pageSize Page size (default to 25)
65960
66052
  * @param {Number} opts.pageNumber Page number (default to 1)
65961
66053
  * @param {Object} opts.sortOrder Specifies result set sort order sorted by the date due; if not specified, default sort order is descending (Desc) (default to Desc)
65962
- * @param {Array.<String>} opts.types Specifies the activity types.
66054
+ * @param {Array.<String>} opts.types Specifies the activity types. Informational, AssessedContent and Assessment are deprecated
65963
66055
  * @param {Array.<String>} opts.statuses Specifies the activity statuses to filter by
65964
66056
  * @param {Array.<String>} opts.relationship Specifies how the current user relation should be interpreted, and filters the activities returned to only the activities that have the specified relationship. If a value besides Attendee is specified, it will only return Coaching Appointments. If not specified, no filtering is applied.
65965
66057
  */
@@ -65993,7 +66085,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65993
66085
  * @param {Number} opts.pageSize Page size (default to 25)
65994
66086
  * @param {Number} opts.pageNumber Page number (default to 1)
65995
66087
  * @param {Object} opts.sortOrder Specifies result set sort order sorted by the date due; if not specified, default sort order is descending (Desc) (default to Desc)
65996
- * @param {Array.<String>} opts.types Specifies the activity types.
66088
+ * @param {Array.<String>} opts.types Specifies the activity types. Informational, AssessedContent and Assessment are deprecated
65997
66089
  * @param {Array.<String>} opts.statuses Specifies the activity statuses to filter by
65998
66090
  * @param {Array.<String>} opts.relationship Specifies how the current user relation should be interpreted, and filters the activities returned to only the activities that have the specified relationship. If a value besides Attendee is specified, it will only return Coaching Appointments. If not specified, no filtering is applied.
65999
66091
  */
@@ -66019,7 +66111,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66019
66111
  * Get a Development Activity
66020
66112
  * Permission not required if you are the attendee, creator or facilitator of the coaching appointment or you are the assigned user of the learning assignment.
66021
66113
  * @param {String} activityId Specifies the activity ID, maps to either assignment or appointment ID
66022
- * @param {Object} type Specifies the activity type.
66114
+ * @param {Object} type Specifies the activity type. Informational, AssessedContent and Assessment are deprecated
66023
66115
  */
66024
66116
  getUsersDevelopmentActivity(activityId, type) {
66025
66117
  // verify the required parameter 'activityId' is set
@@ -67434,7 +67526,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67434
67526
  /**
67435
67527
  * Utilities service.
67436
67528
  * @module purecloud-platform-client-v2/api/UtilitiesApi
67437
- * @version 200.0.0
67529
+ * @version 201.0.0
67438
67530
  */
67439
67531
 
67440
67532
  /**
@@ -67545,7 +67637,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67545
67637
  /**
67546
67638
  * Voicemail service.
67547
67639
  * @module purecloud-platform-client-v2/api/VoicemailApi
67548
- * @version 200.0.0
67640
+ * @version 201.0.0
67549
67641
  */
67550
67642
 
67551
67643
  /**
@@ -68212,7 +68304,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68212
68304
  /**
68213
68305
  * WebChat service.
68214
68306
  * @module purecloud-platform-client-v2/api/WebChatApi
68215
- * @version 200.0.0
68307
+ * @version 201.0.0
68216
68308
  */
68217
68309
 
68218
68310
  /**
@@ -68763,7 +68855,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68763
68855
  /**
68764
68856
  * WebDeployments service.
68765
68857
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
68766
- * @version 200.0.0
68858
+ * @version 201.0.0
68767
68859
  */
68768
68860
 
68769
68861
  /**
@@ -69290,7 +69382,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69290
69382
  /**
69291
69383
  * WebMessaging service.
69292
69384
  * @module purecloud-platform-client-v2/api/WebMessagingApi
69293
- * @version 200.0.0
69385
+ * @version 201.0.0
69294
69386
  */
69295
69387
 
69296
69388
  /**
@@ -69336,7 +69428,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69336
69428
  /**
69337
69429
  * Widgets service.
69338
69430
  * @module purecloud-platform-client-v2/api/WidgetsApi
69339
- * @version 200.0.0
69431
+ * @version 201.0.0
69340
69432
  */
69341
69433
 
69342
69434
  /**
@@ -69482,7 +69574,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69482
69574
  /**
69483
69575
  * WorkforceManagement service.
69484
69576
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
69485
- * @version 200.0.0
69577
+ * @version 201.0.0
69486
69578
  */
69487
69579
 
69488
69580
  /**
@@ -69802,6 +69894,71 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69802
69894
  );
69803
69895
  }
69804
69896
 
69897
+ /**
69898
+ * Delete a work plan bid
69899
+ *
69900
+ * @param {String} businessUnitId The ID of the business unit
69901
+ * @param {String} bidId The ID of the work plan bid
69902
+ */
69903
+ deleteWorkforcemanagementBusinessunitWorkplanbid(businessUnitId, bidId) {
69904
+ // verify the required parameter 'businessUnitId' is set
69905
+ if (businessUnitId === undefined || businessUnitId === null) {
69906
+ throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWorkplanbid';
69907
+ }
69908
+ // verify the required parameter 'bidId' is set
69909
+ if (bidId === undefined || bidId === null) {
69910
+ throw 'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitWorkplanbid';
69911
+ }
69912
+
69913
+ return this.apiClient.callApi(
69914
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}',
69915
+ 'DELETE',
69916
+ { 'businessUnitId': businessUnitId,'bidId': bidId },
69917
+ { },
69918
+ { },
69919
+ { },
69920
+ null,
69921
+ ['PureCloud OAuth'],
69922
+ ['application/json'],
69923
+ ['application/json']
69924
+ );
69925
+ }
69926
+
69927
+ /**
69928
+ * Delete a bid group by bid group Id
69929
+ *
69930
+ * @param {String} businessUnitId The ID of the business unit
69931
+ * @param {String} bidId The work plan bid id of the bid groups
69932
+ * @param {String} bidGroupId Work Plan Bid Group id
69933
+ */
69934
+ deleteWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId) {
69935
+ // verify the required parameter 'businessUnitId' is set
69936
+ if (businessUnitId === undefined || businessUnitId === null) {
69937
+ throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';
69938
+ }
69939
+ // verify the required parameter 'bidId' is set
69940
+ if (bidId === undefined || bidId === null) {
69941
+ throw 'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';
69942
+ }
69943
+ // verify the required parameter 'bidGroupId' is set
69944
+ if (bidGroupId === undefined || bidGroupId === null) {
69945
+ throw 'Missing the required parameter "bidGroupId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';
69946
+ }
69947
+
69948
+ return this.apiClient.callApi(
69949
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}',
69950
+ 'DELETE',
69951
+ { 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
69952
+ { },
69953
+ { },
69954
+ { },
69955
+ null,
69956
+ ['PureCloud OAuth'],
69957
+ ['application/json'],
69958
+ ['application/json']
69959
+ );
69960
+ }
69961
+
69805
69962
  /**
69806
69963
  * Disable generated calendar link for the current user
69807
69964
  *
@@ -70167,6 +70324,175 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70167
70324
  );
70168
70325
  }
70169
70326
 
70327
+ /**
70328
+ * Query the status of an alternative shift offers operation. Only the user who started the operation can query the status
70329
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
70330
+ * @param {String} jobId The ID of the job
70331
+ */
70332
+ getWorkforcemanagementAlternativeshiftsOffersJob(jobId) {
70333
+ // verify the required parameter 'jobId' is set
70334
+ if (jobId === undefined || jobId === null) {
70335
+ throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsOffersJob';
70336
+ }
70337
+
70338
+ return this.apiClient.callApi(
70339
+ '/api/v2/workforcemanagement/alternativeshifts/offers/jobs/{jobId}',
70340
+ 'GET',
70341
+ { 'jobId': jobId },
70342
+ { },
70343
+ { },
70344
+ { },
70345
+ null,
70346
+ ['PureCloud OAuth'],
70347
+ ['application/json'],
70348
+ ['application/json']
70349
+ );
70350
+ }
70351
+
70352
+ /**
70353
+ * Query the status of an alternative shift search offers operation. Only the user who started the operation can query the status
70354
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
70355
+ * @param {String} jobId The ID of the job
70356
+ */
70357
+ getWorkforcemanagementAlternativeshiftsOffersSearchJob(jobId) {
70358
+ // verify the required parameter 'jobId' is set
70359
+ if (jobId === undefined || jobId === null) {
70360
+ throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsOffersSearchJob';
70361
+ }
70362
+
70363
+ return this.apiClient.callApi(
70364
+ '/api/v2/workforcemanagement/alternativeshifts/offers/search/jobs/{jobId}',
70365
+ 'GET',
70366
+ { 'jobId': jobId },
70367
+ { },
70368
+ { },
70369
+ { },
70370
+ null,
70371
+ ['PureCloud OAuth'],
70372
+ ['application/json'],
70373
+ ['application/json']
70374
+ );
70375
+ }
70376
+
70377
+ /**
70378
+ * Get alternative shifts settings from the current logged in agent’s business unit
70379
+ *
70380
+ */
70381
+ getWorkforcemanagementAlternativeshiftsSettings() {
70382
+
70383
+ return this.apiClient.callApi(
70384
+ '/api/v2/workforcemanagement/alternativeshifts/settings',
70385
+ 'GET',
70386
+ { },
70387
+ { },
70388
+ { },
70389
+ { },
70390
+ null,
70391
+ ['PureCloud OAuth'],
70392
+ ['application/json'],
70393
+ ['application/json']
70394
+ );
70395
+ }
70396
+
70397
+ /**
70398
+ * Get my alternative shift trade by trade ID
70399
+ *
70400
+ * @param {String} tradeId The ID of the alternative shift trade
70401
+ */
70402
+ getWorkforcemanagementAlternativeshiftsTrade(tradeId) {
70403
+ // verify the required parameter 'tradeId' is set
70404
+ if (tradeId === undefined || tradeId === null) {
70405
+ throw 'Missing the required parameter "tradeId" when calling getWorkforcemanagementAlternativeshiftsTrade';
70406
+ }
70407
+
70408
+ return this.apiClient.callApi(
70409
+ '/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}',
70410
+ 'GET',
70411
+ { 'tradeId': tradeId },
70412
+ { },
70413
+ { },
70414
+ { },
70415
+ null,
70416
+ ['PureCloud OAuth'],
70417
+ ['application/json'],
70418
+ ['application/json']
70419
+ );
70420
+ }
70421
+
70422
+ /**
70423
+ * Get a list of my alternative shifts trades
70424
+ *
70425
+ * @param {Object} opts Optional parameters
70426
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
70427
+ */
70428
+ getWorkforcemanagementAlternativeshiftsTrades(opts) {
70429
+ opts = opts || {};
70430
+
70431
+
70432
+ return this.apiClient.callApi(
70433
+ '/api/v2/workforcemanagement/alternativeshifts/trades',
70434
+ 'GET',
70435
+ { },
70436
+ { 'forceAsync': opts['forceAsync'] },
70437
+ { },
70438
+ { },
70439
+ null,
70440
+ ['PureCloud OAuth'],
70441
+ ['application/json'],
70442
+ ['application/json']
70443
+ );
70444
+ }
70445
+
70446
+ /**
70447
+ * Query the status of an alternative shift trades operation. Only the user who started the operation can query the status
70448
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
70449
+ * @param {String} jobId The ID of the job
70450
+ */
70451
+ getWorkforcemanagementAlternativeshiftsTradesJob(jobId) {
70452
+ // verify the required parameter 'jobId' is set
70453
+ if (jobId === undefined || jobId === null) {
70454
+ throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsTradesJob';
70455
+ }
70456
+
70457
+ return this.apiClient.callApi(
70458
+ '/api/v2/workforcemanagement/alternativeshifts/trades/jobs/{jobId}',
70459
+ 'GET',
70460
+ { 'jobId': jobId },
70461
+ { },
70462
+ { },
70463
+ { },
70464
+ null,
70465
+ ['PureCloud OAuth'],
70466
+ ['application/json'],
70467
+ ['application/json']
70468
+ );
70469
+ }
70470
+
70471
+ /**
70472
+ * Query the status of an alternative shift trade state operation. Only the user who started the operation can query the status
70473
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
70474
+ * @param {String} jobId The ID of the job
70475
+ */
70476
+ getWorkforcemanagementAlternativeshiftsTradesStateJob(jobId) {
70477
+ // verify the required parameter 'jobId' is set
70478
+ if (jobId === undefined || jobId === null) {
70479
+ throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsTradesStateJob';
70480
+ }
70481
+
70482
+ return this.apiClient.callApi(
70483
+ '/api/v2/workforcemanagement/alternativeshifts/trades/state/jobs/{jobId}',
70484
+ 'GET',
70485
+ { 'jobId': jobId },
70486
+ { },
70487
+ { },
70488
+ { },
70489
+ null,
70490
+ ['PureCloud OAuth'],
70491
+ ['application/json'],
70492
+ ['application/json']
70493
+ );
70494
+ }
70495
+
70170
70496
  /**
70171
70497
  * Get business unit
70172
70498
  * Expanding "settings" will retrieve all settings. All other expands will retrieve only the requested settings field(s).
@@ -70378,6 +70704,91 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70378
70704
  );
70379
70705
  }
70380
70706
 
70707
+ /**
70708
+ * Get alternative shifts settings for a business unit
70709
+ *
70710
+ * @param {String} businessUnitId The ID of the business unit
70711
+ */
70712
+ getWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId) {
70713
+ // verify the required parameter 'businessUnitId' is set
70714
+ if (businessUnitId === undefined || businessUnitId === null) {
70715
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsSettings';
70716
+ }
70717
+
70718
+ return this.apiClient.callApi(
70719
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings',
70720
+ 'GET',
70721
+ { 'businessUnitId': businessUnitId },
70722
+ { },
70723
+ { },
70724
+ { },
70725
+ null,
70726
+ ['PureCloud OAuth'],
70727
+ ['application/json'],
70728
+ ['application/json']
70729
+ );
70730
+ }
70731
+
70732
+ /**
70733
+ * Get an alternative shifts trade in a business unit for a given trade ID
70734
+ *
70735
+ * @param {String} businessUnitId The ID of the business unit
70736
+ * @param {String} tradeId The ID of the alternative shift trade
70737
+ */
70738
+ getWorkforcemanagementBusinessunitAlternativeshiftsTrade(businessUnitId, tradeId) {
70739
+ // verify the required parameter 'businessUnitId' is set
70740
+ if (businessUnitId === undefined || businessUnitId === null) {
70741
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTrade';
70742
+ }
70743
+ // verify the required parameter 'tradeId' is set
70744
+ if (tradeId === undefined || tradeId === null) {
70745
+ throw 'Missing the required parameter "tradeId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTrade';
70746
+ }
70747
+
70748
+ return this.apiClient.callApi(
70749
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/{tradeId}',
70750
+ 'GET',
70751
+ { 'businessUnitId': businessUnitId,'tradeId': tradeId },
70752
+ { },
70753
+ { },
70754
+ { },
70755
+ null,
70756
+ ['PureCloud OAuth'],
70757
+ ['application/json'],
70758
+ ['application/json']
70759
+ );
70760
+ }
70761
+
70762
+ /**
70763
+ * Query the status of an alternative shift search trade operation. Only the user who started the operation can query the status
70764
+ * Job details are only retained if the initial request returned a 202 ACCEPTED response
70765
+ * @param {String} businessUnitId The ID of the business unit
70766
+ * @param {String} jobId The ID of the job
70767
+ */
70768
+ getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob(businessUnitId, jobId) {
70769
+ // verify the required parameter 'businessUnitId' is set
70770
+ if (businessUnitId === undefined || businessUnitId === null) {
70771
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob';
70772
+ }
70773
+ // verify the required parameter 'jobId' is set
70774
+ if (jobId === undefined || jobId === null) {
70775
+ throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob';
70776
+ }
70777
+
70778
+ return this.apiClient.callApi(
70779
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/search/jobs/{jobId}',
70780
+ 'GET',
70781
+ { 'businessUnitId': businessUnitId,'jobId': jobId },
70782
+ { },
70783
+ { },
70784
+ { },
70785
+ null,
70786
+ ['PureCloud OAuth'],
70787
+ ['application/json'],
70788
+ ['application/json']
70789
+ );
70790
+ }
70791
+
70381
70792
  /**
70382
70793
  * Get intraday planning groups for the given date
70383
70794
  *
@@ -71349,6 +71760,161 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
71349
71760
  );
71350
71761
  }
71351
71762
 
71763
+ /**
71764
+ * Get a work plan bid
71765
+ *
71766
+ * @param {String} businessUnitId The ID of the business unit
71767
+ * @param {String} bidId The id of the workplanbid
71768
+ */
71769
+ getWorkforcemanagementBusinessunitWorkplanbid(businessUnitId, bidId) {
71770
+ // verify the required parameter 'businessUnitId' is set
71771
+ if (businessUnitId === undefined || businessUnitId === null) {
71772
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbid';
71773
+ }
71774
+ // verify the required parameter 'bidId' is set
71775
+ if (bidId === undefined || bidId === null) {
71776
+ throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbid';
71777
+ }
71778
+
71779
+ return this.apiClient.callApi(
71780
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}',
71781
+ 'GET',
71782
+ { 'businessUnitId': businessUnitId,'bidId': bidId },
71783
+ { },
71784
+ { },
71785
+ { },
71786
+ null,
71787
+ ['PureCloud OAuth'],
71788
+ ['application/json'],
71789
+ ['application/json']
71790
+ );
71791
+ }
71792
+
71793
+ /**
71794
+ * Get a bid group by bid group Id
71795
+ *
71796
+ * @param {String} businessUnitId The ID of the business unit
71797
+ * @param {String} bidId The work plan bid id of the bid groups
71798
+ * @param {String} bidGroupId Work Plan Bid Group id
71799
+ */
71800
+ getWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId) {
71801
+ // verify the required parameter 'businessUnitId' is set
71802
+ if (businessUnitId === undefined || businessUnitId === null) {
71803
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';
71804
+ }
71805
+ // verify the required parameter 'bidId' is set
71806
+ if (bidId === undefined || bidId === null) {
71807
+ throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';
71808
+ }
71809
+ // verify the required parameter 'bidGroupId' is set
71810
+ if (bidGroupId === undefined || bidGroupId === null) {
71811
+ throw 'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';
71812
+ }
71813
+
71814
+ return this.apiClient.callApi(
71815
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}',
71816
+ 'GET',
71817
+ { 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
71818
+ { },
71819
+ { },
71820
+ { },
71821
+ null,
71822
+ ['PureCloud OAuth'],
71823
+ ['application/json'],
71824
+ ['application/json']
71825
+ );
71826
+ }
71827
+
71828
+ /**
71829
+ * Gets the work plan preferences of all the agents in the work plan bid group
71830
+ *
71831
+ * @param {String} businessUnitId The ID of the business unit
71832
+ * @param {String} bidId The work plan bid id of the bid groups
71833
+ * @param {String} bidGroupId The ID of the work plan bid group
71834
+ */
71835
+ getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId) {
71836
+ // verify the required parameter 'businessUnitId' is set
71837
+ if (businessUnitId === undefined || businessUnitId === null) {
71838
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
71839
+ }
71840
+ // verify the required parameter 'bidId' is set
71841
+ if (bidId === undefined || bidId === null) {
71842
+ throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
71843
+ }
71844
+ // verify the required parameter 'bidGroupId' is set
71845
+ if (bidGroupId === undefined || bidGroupId === null) {
71846
+ throw 'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
71847
+ }
71848
+
71849
+ return this.apiClient.callApi(
71850
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences',
71851
+ 'GET',
71852
+ { 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
71853
+ { },
71854
+ { },
71855
+ { },
71856
+ null,
71857
+ ['PureCloud OAuth'],
71858
+ ['application/json'],
71859
+ ['application/json']
71860
+ );
71861
+ }
71862
+
71863
+ /**
71864
+ * Get summary of bid groups that belong to a work plan bid
71865
+ *
71866
+ * @param {String} businessUnitId The ID of the business unit
71867
+ * @param {String} bidId The work plan bid id of the bid groups
71868
+ */
71869
+ getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary(businessUnitId, bidId) {
71870
+ // verify the required parameter 'businessUnitId' is set
71871
+ if (businessUnitId === undefined || businessUnitId === null) {
71872
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary';
71873
+ }
71874
+ // verify the required parameter 'bidId' is set
71875
+ if (bidId === undefined || bidId === null) {
71876
+ throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary';
71877
+ }
71878
+
71879
+ return this.apiClient.callApi(
71880
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/summary',
71881
+ 'GET',
71882
+ { 'businessUnitId': businessUnitId,'bidId': bidId },
71883
+ { },
71884
+ { },
71885
+ { },
71886
+ null,
71887
+ ['PureCloud OAuth'],
71888
+ ['application/json'],
71889
+ ['application/json']
71890
+ );
71891
+ }
71892
+
71893
+ /**
71894
+ * Get list of work plan bids
71895
+ *
71896
+ * @param {String} businessUnitId The ID of the business unit
71897
+ */
71898
+ getWorkforcemanagementBusinessunitWorkplanbids(businessUnitId) {
71899
+ // verify the required parameter 'businessUnitId' is set
71900
+ if (businessUnitId === undefined || businessUnitId === null) {
71901
+ throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbids';
71902
+ }
71903
+
71904
+ return this.apiClient.callApi(
71905
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids',
71906
+ 'GET',
71907
+ { 'businessUnitId': businessUnitId },
71908
+ { },
71909
+ { },
71910
+ { },
71911
+ null,
71912
+ ['PureCloud OAuth'],
71913
+ ['application/json'],
71914
+ ['application/json']
71915
+ );
71916
+ }
71917
+
71352
71918
  /**
71353
71919
  * Get business units
71354
71920
  *
@@ -72443,6 +73009,101 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72443
73009
  );
72444
73010
  }
72445
73011
 
73012
+ /**
73013
+ * Get work plan bid ranks for a user
73014
+ *
73015
+ * @param {String} userId The userId to whom the work plan bid ranks apply.
73016
+ */
73017
+ getWorkforcemanagementUserWorkplanbidranks(userId) {
73018
+ // verify the required parameter 'userId' is set
73019
+ if (userId === undefined || userId === null) {
73020
+ throw 'Missing the required parameter "userId" when calling getWorkforcemanagementUserWorkplanbidranks';
73021
+ }
73022
+
73023
+ return this.apiClient.callApi(
73024
+ '/api/v2/workforcemanagement/users/{userId}/workplanbidranks',
73025
+ 'GET',
73026
+ { 'userId': userId },
73027
+ { },
73028
+ { },
73029
+ { },
73030
+ null,
73031
+ ['PureCloud OAuth'],
73032
+ ['application/json'],
73033
+ ['application/json']
73034
+ );
73035
+ }
73036
+
73037
+ /**
73038
+ * Gets an agent's work plan bidding preference
73039
+ *
73040
+ * @param {String} bidId The ID of the work plan bid
73041
+ */
73042
+ getWorkforcemanagementWorkplanbidPreferences(bidId) {
73043
+ // verify the required parameter 'bidId' is set
73044
+ if (bidId === undefined || bidId === null) {
73045
+ throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidPreferences';
73046
+ }
73047
+
73048
+ return this.apiClient.callApi(
73049
+ '/api/v2/workforcemanagement/workplanbids/{bidId}/preferences',
73050
+ 'GET',
73051
+ { 'bidId': bidId },
73052
+ { },
73053
+ { },
73054
+ { },
73055
+ null,
73056
+ ['PureCloud OAuth'],
73057
+ ['application/json'],
73058
+ ['application/json']
73059
+ );
73060
+ }
73061
+
73062
+ /**
73063
+ * Gets an agent's work plans for a bid
73064
+ *
73065
+ * @param {String} bidId The ID of the work plan bid
73066
+ */
73067
+ getWorkforcemanagementWorkplanbidWorkplans(bidId) {
73068
+ // verify the required parameter 'bidId' is set
73069
+ if (bidId === undefined || bidId === null) {
73070
+ throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidWorkplans';
73071
+ }
73072
+
73073
+ return this.apiClient.callApi(
73074
+ '/api/v2/workforcemanagement/workplanbids/{bidId}/workplans',
73075
+ 'GET',
73076
+ { 'bidId': bidId },
73077
+ { },
73078
+ { },
73079
+ { },
73080
+ null,
73081
+ ['PureCloud OAuth'],
73082
+ ['application/json'],
73083
+ ['application/json']
73084
+ );
73085
+ }
73086
+
73087
+ /**
73088
+ * Gets the list of work plan bids that belong to an agent
73089
+ *
73090
+ */
73091
+ getWorkforcemanagementWorkplanbids() {
73092
+
73093
+ return this.apiClient.callApi(
73094
+ '/api/v2/workforcemanagement/workplanbids',
73095
+ 'GET',
73096
+ { },
73097
+ { },
73098
+ { },
73099
+ { },
73100
+ null,
73101
+ ['PureCloud OAuth'],
73102
+ ['application/json'],
73103
+ ['application/json']
73104
+ );
73105
+ }
73106
+
72446
73107
  /**
72447
73108
  * Update an adherence explanation
72448
73109
  *
@@ -72478,6 +73139,60 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72478
73139
  );
72479
73140
  }
72480
73141
 
73142
+ /**
73143
+ * Update my alternative shifts trade by trade ID
73144
+ *
73145
+ * @param {String} tradeId The ID of the alternative shift trade
73146
+ * @param {Object} opts Optional parameters
73147
+ * @param {Object} opts.body body
73148
+ */
73149
+ patchWorkforcemanagementAlternativeshiftsTrade(tradeId, opts) {
73150
+ opts = opts || {};
73151
+
73152
+ // verify the required parameter 'tradeId' is set
73153
+ if (tradeId === undefined || tradeId === null) {
73154
+ throw 'Missing the required parameter "tradeId" when calling patchWorkforcemanagementAlternativeshiftsTrade';
73155
+ }
73156
+
73157
+ return this.apiClient.callApi(
73158
+ '/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}',
73159
+ 'PATCH',
73160
+ { 'tradeId': tradeId },
73161
+ { },
73162
+ { },
73163
+ { },
73164
+ opts['body'],
73165
+ ['PureCloud OAuth'],
73166
+ ['application/json'],
73167
+ ['application/json']
73168
+ );
73169
+ }
73170
+
73171
+ /**
73172
+ * Bulk update alternative shift trade states
73173
+ *
73174
+ * @param {Object} body The request body
73175
+ */
73176
+ patchWorkforcemanagementAlternativeshiftsTradesStateJobs(body) {
73177
+ // verify the required parameter 'body' is set
73178
+ if (body === undefined || body === null) {
73179
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementAlternativeshiftsTradesStateJobs';
73180
+ }
73181
+
73182
+ return this.apiClient.callApi(
73183
+ '/api/v2/workforcemanagement/alternativeshifts/trades/state/jobs',
73184
+ 'PATCH',
73185
+ { },
73186
+ { },
73187
+ { },
73188
+ { },
73189
+ body,
73190
+ ['PureCloud OAuth'],
73191
+ ['application/json'],
73192
+ ['application/json']
73193
+ );
73194
+ }
73195
+
72481
73196
  /**
72482
73197
  * Update business unit
72483
73198
  *
@@ -72577,6 +73292,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72577
73292
  );
72578
73293
  }
72579
73294
 
73295
+ /**
73296
+ * Update alternative shifts settings for a business unit
73297
+ *
73298
+ * @param {String} businessUnitId The ID of the business unit
73299
+ * @param {Object} opts Optional parameters
73300
+ * @param {Object} opts.body body
73301
+ */
73302
+ patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId, opts) {
73303
+ opts = opts || {};
73304
+
73305
+ // verify the required parameter 'businessUnitId' is set
73306
+ if (businessUnitId === undefined || businessUnitId === null) {
73307
+ throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';
73308
+ }
73309
+
73310
+ return this.apiClient.callApi(
73311
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings',
73312
+ 'PATCH',
73313
+ { 'businessUnitId': businessUnitId },
73314
+ { },
73315
+ { },
73316
+ { },
73317
+ opts['body'],
73318
+ ['PureCloud OAuth'],
73319
+ ['application/json'],
73320
+ ['application/json']
73321
+ );
73322
+ }
73323
+
72580
73324
  /**
72581
73325
  * Updates the planning group
72582
73326
  *
@@ -72747,6 +73491,119 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72747
73491
  );
72748
73492
  }
72749
73493
 
73494
+ /**
73495
+ * Update work plan bid
73496
+ *
73497
+ * @param {String} businessUnitId The ID of the business unit
73498
+ * @param {String} bidId The id of the workplanbid
73499
+ * @param {Object} body The work plan bid to be updated
73500
+ */
73501
+ patchWorkforcemanagementBusinessunitWorkplanbid(businessUnitId, bidId, body) {
73502
+ // verify the required parameter 'businessUnitId' is set
73503
+ if (businessUnitId === undefined || businessUnitId === null) {
73504
+ throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';
73505
+ }
73506
+ // verify the required parameter 'bidId' is set
73507
+ if (bidId === undefined || bidId === null) {
73508
+ throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';
73509
+ }
73510
+ // verify the required parameter 'body' is set
73511
+ if (body === undefined || body === null) {
73512
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbid';
73513
+ }
73514
+
73515
+ return this.apiClient.callApi(
73516
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}',
73517
+ 'PATCH',
73518
+ { 'businessUnitId': businessUnitId,'bidId': bidId },
73519
+ { },
73520
+ { },
73521
+ { },
73522
+ body,
73523
+ ['PureCloud OAuth'],
73524
+ ['application/json'],
73525
+ ['application/json']
73526
+ );
73527
+ }
73528
+
73529
+ /**
73530
+ * Update a bid group by bid group Id
73531
+ *
73532
+ * @param {String} businessUnitId The ID of the business unit
73533
+ * @param {String} bidId The work plan bid id of the bid groups
73534
+ * @param {String} bidGroupId Work Plan Bid Group id
73535
+ * @param {Object} opts Optional parameters
73536
+ * @param {Object} opts.body body
73537
+ */
73538
+ patchWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId, opts) {
73539
+ opts = opts || {};
73540
+
73541
+ // verify the required parameter 'businessUnitId' is set
73542
+ if (businessUnitId === undefined || businessUnitId === null) {
73543
+ throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
73544
+ }
73545
+ // verify the required parameter 'bidId' is set
73546
+ if (bidId === undefined || bidId === null) {
73547
+ throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
73548
+ }
73549
+ // verify the required parameter 'bidGroupId' is set
73550
+ if (bidGroupId === undefined || bidGroupId === null) {
73551
+ throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
73552
+ }
73553
+
73554
+ return this.apiClient.callApi(
73555
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}',
73556
+ 'PATCH',
73557
+ { 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
73558
+ { },
73559
+ { },
73560
+ { },
73561
+ opts['body'],
73562
+ ['PureCloud OAuth'],
73563
+ ['application/json'],
73564
+ ['application/json']
73565
+ );
73566
+ }
73567
+
73568
+ /**
73569
+ * Overrides the assigned work plan for the specified agents
73570
+ *
73571
+ * @param {String} businessUnitId The ID of the business unit
73572
+ * @param {String} bidId The work plan bid id of the bid groups
73573
+ * @param {String} bidGroupId The ID of the work plan bid group
73574
+ * @param {Object} opts Optional parameters
73575
+ * @param {Object} opts.body body
73576
+ */
73577
+ patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId, opts) {
73578
+ opts = opts || {};
73579
+
73580
+ // verify the required parameter 'businessUnitId' is set
73581
+ if (businessUnitId === undefined || businessUnitId === null) {
73582
+ throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
73583
+ }
73584
+ // verify the required parameter 'bidId' is set
73585
+ if (bidId === undefined || bidId === null) {
73586
+ throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
73587
+ }
73588
+ // verify the required parameter 'bidGroupId' is set
73589
+ if (bidGroupId === undefined || bidGroupId === null) {
73590
+ throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
73591
+ }
73592
+
73593
+ return this.apiClient.callApi(
73594
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences',
73595
+ 'PATCH',
73596
+ { 'businessUnitId': businessUnitId,'bidId': bidId,'bidGroupId': bidGroupId },
73597
+ { },
73598
+ { },
73599
+ { },
73600
+ opts['body'],
73601
+ ['PureCloud OAuth'],
73602
+ ['application/json'],
73603
+ ['application/json']
73604
+ );
73605
+ }
73606
+
72750
73607
  /**
72751
73608
  * Update the requested management unit
72752
73609
  *
@@ -73089,6 +73946,89 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73089
73946
  );
73090
73947
  }
73091
73948
 
73949
+ /**
73950
+ * Update work plan bid ranks for a user
73951
+ *
73952
+ * @param {String} userId The userId to whom the work plan bid ranks apply.
73953
+ * @param {Object} opts Optional parameters
73954
+ * @param {Object} opts.body body
73955
+ */
73956
+ patchWorkforcemanagementUserWorkplanbidranks(userId, opts) {
73957
+ opts = opts || {};
73958
+
73959
+ // verify the required parameter 'userId' is set
73960
+ if (userId === undefined || userId === null) {
73961
+ throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementUserWorkplanbidranks';
73962
+ }
73963
+
73964
+ return this.apiClient.callApi(
73965
+ '/api/v2/workforcemanagement/users/{userId}/workplanbidranks',
73966
+ 'PATCH',
73967
+ { 'userId': userId },
73968
+ { },
73969
+ { },
73970
+ { },
73971
+ opts['body'],
73972
+ ['PureCloud OAuth'],
73973
+ ['application/json'],
73974
+ ['application/json']
73975
+ );
73976
+ }
73977
+
73978
+ /**
73979
+ * Update bulk work plan bid ranks on users. Max 50 users can be updated at a time.
73980
+ *
73981
+ * @param {Array.<Object>} body Users
73982
+ */
73983
+ patchWorkforcemanagementUsersWorkplanbidranksBulk(body) {
73984
+ // verify the required parameter 'body' is set
73985
+ if (body === undefined || body === null) {
73986
+ throw 'Missing the required parameter "body" when calling patchWorkforcemanagementUsersWorkplanbidranksBulk';
73987
+ }
73988
+
73989
+ return this.apiClient.callApi(
73990
+ '/api/v2/workforcemanagement/users/workplanbidranks/bulk',
73991
+ 'PATCH',
73992
+ { },
73993
+ { },
73994
+ { },
73995
+ { },
73996
+ body,
73997
+ ['PureCloud OAuth'],
73998
+ ['application/json'],
73999
+ ['application/json']
74000
+ );
74001
+ }
74002
+
74003
+ /**
74004
+ * Update an agent's work plan bidding preference
74005
+ *
74006
+ * @param {String} bidId The ID of the work plan bid
74007
+ * @param {Object} opts Optional parameters
74008
+ * @param {Object} opts.body body
74009
+ */
74010
+ patchWorkforcemanagementWorkplanbidPreferences(bidId, opts) {
74011
+ opts = opts || {};
74012
+
74013
+ // verify the required parameter 'bidId' is set
74014
+ if (bidId === undefined || bidId === null) {
74015
+ throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementWorkplanbidPreferences';
74016
+ }
74017
+
74018
+ return this.apiClient.callApi(
74019
+ '/api/v2/workforcemanagement/workplanbids/{bidId}/preferences',
74020
+ 'PATCH',
74021
+ { 'bidId': bidId },
74022
+ { },
74023
+ { },
74024
+ { },
74025
+ opts['body'],
74026
+ ['PureCloud OAuth'],
74027
+ ['application/json'],
74028
+ ['application/json']
74029
+ );
74030
+ }
74031
+
73092
74032
  /**
73093
74033
  * Submit an adherence explanation for the current user
73094
74034
  *
@@ -73355,6 +74295,81 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73355
74295
  );
73356
74296
  }
73357
74297
 
74298
+ /**
74299
+ * Request a list of alternative shift offers for a given schedule
74300
+ *
74301
+ * @param {Object} body The request body
74302
+ */
74303
+ postWorkforcemanagementAlternativeshiftsOffersJobs(body) {
74304
+ // verify the required parameter 'body' is set
74305
+ if (body === undefined || body === null) {
74306
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsOffersJobs';
74307
+ }
74308
+
74309
+ return this.apiClient.callApi(
74310
+ '/api/v2/workforcemanagement/alternativeshifts/offers/jobs',
74311
+ 'POST',
74312
+ { },
74313
+ { },
74314
+ { },
74315
+ { },
74316
+ body,
74317
+ ['PureCloud OAuth'],
74318
+ ['application/json'],
74319
+ ['application/json']
74320
+ );
74321
+ }
74322
+
74323
+ /**
74324
+ * Request a search of alternative shift offers for a given shift
74325
+ *
74326
+ * @param {Object} body The request body
74327
+ */
74328
+ postWorkforcemanagementAlternativeshiftsOffersSearchJobs(body) {
74329
+ // verify the required parameter 'body' is set
74330
+ if (body === undefined || body === null) {
74331
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsOffersSearchJobs';
74332
+ }
74333
+
74334
+ return this.apiClient.callApi(
74335
+ '/api/v2/workforcemanagement/alternativeshifts/offers/search/jobs',
74336
+ 'POST',
74337
+ { },
74338
+ { },
74339
+ { },
74340
+ { },
74341
+ body,
74342
+ ['PureCloud OAuth'],
74343
+ ['application/json'],
74344
+ ['application/json']
74345
+ );
74346
+ }
74347
+
74348
+ /**
74349
+ * Create my alternative shift trade using an existing offer's jobId
74350
+ *
74351
+ * @param {Object} body The request body
74352
+ */
74353
+ postWorkforcemanagementAlternativeshiftsTrades(body) {
74354
+ // verify the required parameter 'body' is set
74355
+ if (body === undefined || body === null) {
74356
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsTrades';
74357
+ }
74358
+
74359
+ return this.apiClient.callApi(
74360
+ '/api/v2/workforcemanagement/alternativeshifts/trades',
74361
+ 'POST',
74362
+ { },
74363
+ { },
74364
+ { },
74365
+ { },
74366
+ body,
74367
+ ['PureCloud OAuth'],
74368
+ ['application/json'],
74369
+ ['application/json']
74370
+ );
74371
+ }
74372
+
73358
74373
  /**
73359
74374
  * Create a new activity code
73360
74375
  *
@@ -73512,6 +74527,40 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73512
74527
  );
73513
74528
  }
73514
74529
 
74530
+ /**
74531
+ * List alternative shifts trades for a given management unit or agent
74532
+ *
74533
+ * @param {String} businessUnitId The ID of the business unit
74534
+ * @param {Object} body The request body
74535
+ * @param {Object} opts Optional parameters
74536
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
74537
+ */
74538
+ postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch(businessUnitId, body, opts) {
74539
+ opts = opts || {};
74540
+
74541
+ // verify the required parameter 'businessUnitId' is set
74542
+ if (businessUnitId === undefined || businessUnitId === null) {
74543
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch';
74544
+ }
74545
+ // verify the required parameter 'body' is set
74546
+ if (body === undefined || body === null) {
74547
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch';
74548
+ }
74549
+
74550
+ return this.apiClient.callApi(
74551
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/search',
74552
+ 'POST',
74553
+ { 'businessUnitId': businessUnitId },
74554
+ { 'forceAsync': opts['forceAsync'] },
74555
+ { },
74556
+ { },
74557
+ body,
74558
+ ['PureCloud OAuth'],
74559
+ ['application/json'],
74560
+ ['application/json']
74561
+ );
74562
+ }
74563
+
73515
74564
  /**
73516
74565
  * Get intraday data for the given date for the requested planningGroupIds
73517
74566
  *
@@ -74321,6 +75370,103 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74321
75370
  );
74322
75371
  }
74323
75372
 
75373
+ /**
75374
+ * Copy a work plan bid
75375
+ *
75376
+ * @param {String} businessUnitId The ID of the business unit
75377
+ * @param {String} bidId The ID of the work plan bid to copy
75378
+ * @param {Object} opts Optional parameters
75379
+ * @param {Object} opts.body body
75380
+ */
75381
+ postWorkforcemanagementBusinessunitWorkplanbidCopy(businessUnitId, bidId, opts) {
75382
+ opts = opts || {};
75383
+
75384
+ // verify the required parameter 'businessUnitId' is set
75385
+ if (businessUnitId === undefined || businessUnitId === null) {
75386
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
75387
+ }
75388
+ // verify the required parameter 'bidId' is set
75389
+ if (bidId === undefined || bidId === null) {
75390
+ throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
75391
+ }
75392
+
75393
+ return this.apiClient.callApi(
75394
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/copy',
75395
+ 'POST',
75396
+ { 'businessUnitId': businessUnitId,'bidId': bidId },
75397
+ { },
75398
+ { },
75399
+ { },
75400
+ opts['body'],
75401
+ ['PureCloud OAuth'],
75402
+ ['application/json'],
75403
+ ['application/json']
75404
+ );
75405
+ }
75406
+
75407
+ /**
75408
+ * Add a bid group in a given work plan bid
75409
+ *
75410
+ * @param {String} businessUnitId The ID of the business unit
75411
+ * @param {String} bidId The work plan bid id of the bid groups
75412
+ * @param {Object} opts Optional parameters
75413
+ * @param {Object} opts.body body
75414
+ */
75415
+ postWorkforcemanagementBusinessunitWorkplanbidGroups(businessUnitId, bidId, opts) {
75416
+ opts = opts || {};
75417
+
75418
+ // verify the required parameter 'businessUnitId' is set
75419
+ if (businessUnitId === undefined || businessUnitId === null) {
75420
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
75421
+ }
75422
+ // verify the required parameter 'bidId' is set
75423
+ if (bidId === undefined || bidId === null) {
75424
+ throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
75425
+ }
75426
+
75427
+ return this.apiClient.callApi(
75428
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups',
75429
+ 'POST',
75430
+ { 'businessUnitId': businessUnitId,'bidId': bidId },
75431
+ { },
75432
+ { },
75433
+ { },
75434
+ opts['body'],
75435
+ ['PureCloud OAuth'],
75436
+ ['application/json'],
75437
+ ['application/json']
75438
+ );
75439
+ }
75440
+
75441
+ /**
75442
+ * Create a new work plan bid
75443
+ *
75444
+ * @param {String} businessUnitId The ID of the business unit
75445
+ * @param {Object} opts Optional parameters
75446
+ * @param {Object} opts.body The work plan bid to be created
75447
+ */
75448
+ postWorkforcemanagementBusinessunitWorkplanbids(businessUnitId, opts) {
75449
+ opts = opts || {};
75450
+
75451
+ // verify the required parameter 'businessUnitId' is set
75452
+ if (businessUnitId === undefined || businessUnitId === null) {
75453
+ throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbids';
75454
+ }
75455
+
75456
+ return this.apiClient.callApi(
75457
+ '/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids',
75458
+ 'POST',
75459
+ { 'businessUnitId': businessUnitId },
75460
+ { },
75461
+ { },
75462
+ { },
75463
+ opts['body'],
75464
+ ['PureCloud OAuth'],
75465
+ ['application/json'],
75466
+ ['application/json']
75467
+ );
75468
+ }
75469
+
74324
75470
  /**
74325
75471
  * Add a new business unit
74326
75472
  * It may take a minute or two for a new business unit to be available for api operations
@@ -75590,7 +76736,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
75590
76736
  * </pre>
75591
76737
  * </p>
75592
76738
  * @module purecloud-platform-client-v2/index
75593
- * @version 200.0.0
76739
+ * @version 201.0.0
75594
76740
  */
75595
76741
  class platformClient {
75596
76742
  constructor() {