purecloud-platform-client-v2 167.0.0 → 168.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +336 -126
  3. package/dist/web-amd/purecloud-platform-client-v2.js +336 -126
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +336 -126
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +336 -126
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +212 -12
  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/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +75 -0
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +32 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +2 -2
  26. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +69 -4
  35. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OutboundApi.js +26 -1
  51. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  54. package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
  55. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +3 -2
  56. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -46
  62. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +64 -6
  79. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -9315,7 +9315,7 @@ class Configuration {
9315
9315
 
9316
9316
  /**
9317
9317
  * @module purecloud-platform-client-v2/ApiClient
9318
- * @version 167.0.0
9318
+ * @version 168.1.0
9319
9319
  */
9320
9320
  class ApiClient {
9321
9321
  /**
@@ -10394,7 +10394,7 @@ class AlertingApi {
10394
10394
  /**
10395
10395
  * Alerting service.
10396
10396
  * @module purecloud-platform-client-v2/api/AlertingApi
10397
- * @version 167.0.0
10397
+ * @version 168.1.0
10398
10398
  */
10399
10399
 
10400
10400
  /**
@@ -10708,7 +10708,7 @@ class AnalyticsApi {
10708
10708
  /**
10709
10709
  * Analytics service.
10710
10710
  * @module purecloud-platform-client-v2/api/AnalyticsApi
10711
- * @version 167.0.0
10711
+ * @version 168.1.0
10712
10712
  */
10713
10713
 
10714
10714
  /**
@@ -11962,7 +11962,7 @@ class ArchitectApi {
11962
11962
  /**
11963
11963
  * Architect service.
11964
11964
  * @module purecloud-platform-client-v2/api/ArchitectApi
11965
- * @version 167.0.0
11965
+ * @version 168.1.0
11966
11966
  */
11967
11967
 
11968
11968
  /**
@@ -15010,7 +15010,7 @@ class AuditApi {
15010
15010
  /**
15011
15011
  * Audit service.
15012
15012
  * @module purecloud-platform-client-v2/api/AuditApi
15013
- * @version 167.0.0
15013
+ * @version 168.1.0
15014
15014
  */
15015
15015
 
15016
15016
  /**
@@ -15181,7 +15181,7 @@ class AuthorizationApi {
15181
15181
  /**
15182
15182
  * Authorization service.
15183
15183
  * @module purecloud-platform-client-v2/api/AuthorizationApi
15184
- * @version 167.0.0
15184
+ * @version 168.1.0
15185
15185
  */
15186
15186
 
15187
15187
  /**
@@ -16410,7 +16410,7 @@ class BillingApi {
16410
16410
  /**
16411
16411
  * Billing service.
16412
16412
  * @module purecloud-platform-client-v2/api/BillingApi
16413
- * @version 167.0.0
16413
+ * @version 168.1.0
16414
16414
  */
16415
16415
 
16416
16416
  /**
@@ -16486,11 +16486,81 @@ class BillingApi {
16486
16486
 
16487
16487
  }
16488
16488
 
16489
+ class CarrierServicesApi {
16490
+ /**
16491
+ * CarrierServices service.
16492
+ * @module purecloud-platform-client-v2/api/CarrierServicesApi
16493
+ * @version 168.1.0
16494
+ */
16495
+
16496
+ /**
16497
+ * Constructs a new CarrierServicesApi.
16498
+ * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
16499
+ * @class
16500
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
16501
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
16502
+ */
16503
+ constructor(apiClient) {
16504
+ this.apiClient = apiClient || ApiClient.instance;
16505
+ }
16506
+
16507
+
16508
+ /**
16509
+ * Get location for the logged in user
16510
+ *
16511
+ * @param {String} phoneNumber Phone number in E164 format
16512
+ */
16513
+ getCarrierservicesIntegrationsEmergencylocationsMe(phoneNumber) {
16514
+ // verify the required parameter 'phoneNumber' is set
16515
+ if (phoneNumber === undefined || phoneNumber === null) {
16516
+ throw 'Missing the required parameter "phoneNumber" when calling getCarrierservicesIntegrationsEmergencylocationsMe';
16517
+ }
16518
+
16519
+ return this.apiClient.callApi(
16520
+ '/api/v2/carrierservices/integrations/emergencylocations/me',
16521
+ 'GET',
16522
+ { },
16523
+ { 'phoneNumber': phoneNumber },
16524
+ { },
16525
+ { },
16526
+ null,
16527
+ ['PureCloud OAuth'],
16528
+ ['application/json'],
16529
+ ['application/json']
16530
+ );
16531
+ }
16532
+
16533
+ /**
16534
+ * Set current location for the logged in user
16535
+ *
16536
+ * @param {Object} opts Optional parameters
16537
+ * @param {Object} opts.body
16538
+ */
16539
+ postCarrierservicesIntegrationsEmergencylocationsMe(opts) {
16540
+ opts = opts || {};
16541
+
16542
+
16543
+ return this.apiClient.callApi(
16544
+ '/api/v2/carrierservices/integrations/emergencylocations/me',
16545
+ 'POST',
16546
+ { },
16547
+ { },
16548
+ { },
16549
+ { },
16550
+ opts['body'],
16551
+ ['PureCloud OAuth'],
16552
+ ['application/json'],
16553
+ ['application/json']
16554
+ );
16555
+ }
16556
+
16557
+ }
16558
+
16489
16559
  class ChatApi {
16490
16560
  /**
16491
16561
  * Chat service.
16492
16562
  * @module purecloud-platform-client-v2/api/ChatApi
16493
- * @version 167.0.0
16563
+ * @version 168.1.0
16494
16564
  */
16495
16565
 
16496
16566
  /**
@@ -16651,7 +16721,7 @@ class CoachingApi {
16651
16721
  /**
16652
16722
  * Coaching service.
16653
16723
  * @module purecloud-platform-client-v2/api/CoachingApi
16654
- * @version 167.0.0
16724
+ * @version 168.1.0
16655
16725
  */
16656
16726
 
16657
16727
  /**
@@ -17228,7 +17298,7 @@ class ContentManagementApi {
17228
17298
  /**
17229
17299
  * ContentManagement service.
17230
17300
  * @module purecloud-platform-client-v2/api/ContentManagementApi
17231
- * @version 167.0.0
17301
+ * @version 168.1.0
17232
17302
  */
17233
17303
 
17234
17304
  /**
@@ -18368,7 +18438,7 @@ class ConversationsApi {
18368
18438
  /**
18369
18439
  * Conversations service.
18370
18440
  * @module purecloud-platform-client-v2/api/ConversationsApi
18371
- * @version 167.0.0
18441
+ * @version 168.1.0
18372
18442
  */
18373
18443
 
18374
18444
  /**
@@ -21633,6 +21703,37 @@ class ConversationsApi {
21633
21703
  );
21634
21704
  }
21635
21705
 
21706
+ /**
21707
+ * Reset conversation draft to its initial state and/or auto-fill draft content
21708
+ *
21709
+ * @param {String} conversationId conversationId
21710
+ * @param {Object} opts Optional parameters
21711
+ * @param {Boolean} opts.autoFill autoFill
21712
+ * @param {Boolean} opts.discard discard
21713
+ * @param {Object} opts.body Draft Manipulation Request
21714
+ */
21715
+ patchConversationsEmailMessagesDraft(conversationId, opts) {
21716
+ opts = opts || {};
21717
+
21718
+ // verify the required parameter 'conversationId' is set
21719
+ if (conversationId === undefined || conversationId === null) {
21720
+ throw 'Missing the required parameter "conversationId" when calling patchConversationsEmailMessagesDraft';
21721
+ }
21722
+
21723
+ return this.apiClient.callApi(
21724
+ '/api/v2/conversations/emails/{conversationId}/messages/draft',
21725
+ 'PATCH',
21726
+ { 'conversationId': conversationId },
21727
+ { 'autoFill': opts['autoFill'],'discard': opts['discard'] },
21728
+ { },
21729
+ { },
21730
+ opts['body'],
21731
+ ['PureCloud OAuth'],
21732
+ ['application/json'],
21733
+ ['application/json']
21734
+ );
21735
+ }
21736
+
21636
21737
  /**
21637
21738
  * Update conversation participant
21638
21739
  *
@@ -24428,7 +24529,7 @@ class DataExtensionsApi {
24428
24529
  /**
24429
24530
  * DataExtensions service.
24430
24531
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
24431
- * @version 167.0.0
24532
+ * @version 168.1.0
24432
24533
  */
24433
24534
 
24434
24535
  /**
@@ -24514,7 +24615,7 @@ class DownloadsApi {
24514
24615
  /**
24515
24616
  * Downloads service.
24516
24617
  * @module purecloud-platform-client-v2/api/DownloadsApi
24517
- * @version 167.0.0
24618
+ * @version 168.1.0
24518
24619
  */
24519
24620
 
24520
24621
  /**
@@ -24566,7 +24667,7 @@ class EventsApi {
24566
24667
  /**
24567
24668
  * Events service.
24568
24669
  * @module purecloud-platform-client-v2/api/EventsApi
24569
- * @version 167.0.0
24670
+ * @version 168.1.0
24570
24671
  */
24571
24672
 
24572
24673
  /**
@@ -24662,7 +24763,7 @@ class ExternalContactsApi {
24662
24763
  /**
24663
24764
  * ExternalContacts service.
24664
24765
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
24665
- * @version 167.0.0
24766
+ * @version 168.1.0
24666
24767
  */
24667
24768
 
24668
24769
  /**
@@ -26206,7 +26307,7 @@ class ExternalContactsApi {
26206
26307
 
26207
26308
  /**
26208
26309
  * Merge two contacts into a new contact record
26209
- *
26310
+ * Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
26210
26311
  * @param {Object} body MergeRequest
26211
26312
  */
26212
26313
  postExternalcontactsMergeContacts(body) {
@@ -26620,7 +26721,7 @@ class FaxApi {
26620
26721
  /**
26621
26722
  * Fax service.
26622
26723
  * @module purecloud-platform-client-v2/api/FaxApi
26623
- * @version 167.0.0
26724
+ * @version 168.1.0
26624
26725
  */
26625
26726
 
26626
26727
  /**
@@ -26791,7 +26892,7 @@ class FlowsApi {
26791
26892
  /**
26792
26893
  * Flows service.
26793
26894
  * @module purecloud-platform-client-v2/api/FlowsApi
26794
- * @version 167.0.0
26895
+ * @version 168.1.0
26795
26896
  */
26796
26897
 
26797
26898
  /**
@@ -26862,7 +26963,7 @@ class GamificationApi {
26862
26963
  /**
26863
26964
  * Gamification service.
26864
26965
  * @module purecloud-platform-client-v2/api/GamificationApi
26865
- * @version 167.0.0
26966
+ * @version 168.1.0
26866
26967
  */
26867
26968
 
26868
26969
  /**
@@ -28948,7 +29049,7 @@ class GeneralDataProtectionRegulationApi {
28948
29049
  /**
28949
29050
  * GeneralDataProtectionRegulation service.
28950
29051
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
28951
- * @version 167.0.0
29052
+ * @version 168.1.0
28952
29053
  */
28953
29054
 
28954
29055
  /**
@@ -29078,7 +29179,7 @@ class GeolocationApi {
29078
29179
  /**
29079
29180
  * Geolocation service.
29080
29181
  * @module purecloud-platform-client-v2/api/GeolocationApi
29081
- * @version 167.0.0
29182
+ * @version 168.1.0
29082
29183
  */
29083
29184
 
29084
29185
  /**
@@ -29209,7 +29310,7 @@ class GreetingsApi {
29209
29310
  /**
29210
29311
  * Greetings service.
29211
29312
  * @module purecloud-platform-client-v2/api/GreetingsApi
29212
- * @version 167.0.0
29313
+ * @version 168.1.0
29213
29314
  */
29214
29315
 
29215
29316
  /**
@@ -29664,7 +29765,7 @@ class GroupsApi {
29664
29765
  /**
29665
29766
  * Groups service.
29666
29767
  * @module purecloud-platform-client-v2/api/GroupsApi
29667
- * @version 167.0.0
29768
+ * @version 168.1.0
29668
29769
  */
29669
29770
 
29670
29771
  /**
@@ -30070,7 +30171,7 @@ class IdentityProviderApi {
30070
30171
  /**
30071
30172
  * IdentityProvider service.
30072
30173
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
30073
- * @version 167.0.0
30174
+ * @version 168.1.0
30074
30175
  */
30075
30176
 
30076
30177
  /**
@@ -30826,7 +30927,7 @@ class InfrastructureAsCodeApi {
30826
30927
  /**
30827
30928
  * InfrastructureAsCode service.
30828
30929
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
30829
- * @version 167.0.0
30930
+ * @version 168.1.0
30830
30931
  */
30831
30932
 
30832
30933
  /**
@@ -30841,6 +30942,68 @@ class InfrastructureAsCodeApi {
30841
30942
  }
30842
30943
 
30843
30944
 
30945
+ /**
30946
+ * Get information about an accelerator
30947
+ * Get the complete metadata specification for an accelerator, including requirements and parameters.
30948
+ * @param {String} acceleratorId Accelerator ID
30949
+ * @param {Object} opts Optional parameters
30950
+ * @param {Object} opts.preferredLanguage Preferred Language (default to en-US)
30951
+ */
30952
+ getInfrastructureascodeAccelerator(acceleratorId, opts) {
30953
+ opts = opts || {};
30954
+
30955
+ // verify the required parameter 'acceleratorId' is set
30956
+ if (acceleratorId === undefined || acceleratorId === null) {
30957
+ throw 'Missing the required parameter "acceleratorId" when calling getInfrastructureascodeAccelerator';
30958
+ }
30959
+
30960
+ return this.apiClient.callApi(
30961
+ '/api/v2/infrastructureascode/accelerators/{acceleratorId}',
30962
+ 'GET',
30963
+ { 'acceleratorId': acceleratorId },
30964
+ { 'preferredLanguage': opts['preferredLanguage'] },
30965
+ { },
30966
+ { },
30967
+ null,
30968
+ ['PureCloud OAuth'],
30969
+ ['application/json'],
30970
+ ['application/json']
30971
+ );
30972
+ }
30973
+
30974
+ /**
30975
+ * Get a list of available accelerators
30976
+ * Search for accelerators that can be run.
30977
+ * @param {Object} opts Optional parameters
30978
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
30979
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
30980
+ * @param {String} opts.sortBy variable name requested to sort by
30981
+ * @param {Object} opts.sortOrder Sort order (default to asc)
30982
+ * @param {String} opts.name Filter by name
30983
+ * @param {String} opts.description Filter by description
30984
+ * @param {Object} opts.origin Filter by origin
30985
+ * @param {Object} opts.type Filter by type
30986
+ * @param {String} opts.classification Filter by classification
30987
+ * @param {String} opts.tags Filter by tags
30988
+ */
30989
+ getInfrastructureascodeAccelerators(opts) {
30990
+ opts = opts || {};
30991
+
30992
+
30993
+ return this.apiClient.callApi(
30994
+ '/api/v2/infrastructureascode/accelerators',
30995
+ 'GET',
30996
+ { },
30997
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'description': opts['description'],'origin': opts['origin'],'type': opts['type'],'classification': opts['classification'],'tags': opts['tags'] },
30998
+ { },
30999
+ { },
31000
+ null,
31001
+ ['PureCloud OAuth'],
31002
+ ['application/json'],
31003
+ ['application/json']
31004
+ );
31005
+ }
31006
+
30844
31007
  /**
30845
31008
  * Get job status and results
30846
31009
  * Get the execution status of a submitted job, optionally including results and error details.
@@ -30876,8 +31039,11 @@ class InfrastructureAsCodeApi {
30876
31039
  * @param {Object} opts Optional parameters
30877
31040
  * @param {Number} opts.maxResults Number of jobs to show (default to 1)
30878
31041
  * @param {Boolean} opts.includeErrors Include error messages (default to false)
30879
- * @param {Object} opts.sortBy Sort by (default to id)
30880
- * @param {Object} opts.sortOrder Sort order (default to asc)
31042
+ * @param {Object} opts.sortBy Sort by (default to dateSubmitted)
31043
+ * @param {Object} opts.sortOrder Sort order (default to desc)
31044
+ * @param {String} opts.acceleratorId Find only jobs associated with this accelerator
31045
+ * @param {String} opts.submittedBy Find only jobs submitted by this user
31046
+ * @param {Object} opts.status Find only jobs in this state
30881
31047
  */
30882
31048
  getInfrastructureascodeJobs(opts) {
30883
31049
  opts = opts || {};
@@ -30887,7 +31053,7 @@ class InfrastructureAsCodeApi {
30887
31053
  '/api/v2/infrastructureascode/jobs',
30888
31054
  'GET',
30889
31055
  { },
30890
- { 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
31056
+ { 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'acceleratorId': opts['acceleratorId'],'submittedBy': opts['submittedBy'],'status': opts['status'] },
30891
31057
  { },
30892
31058
  { },
30893
31059
  null,
@@ -30928,7 +31094,7 @@ class IntegrationsApi {
30928
31094
  /**
30929
31095
  * Integrations service.
30930
31096
  * @module purecloud-platform-client-v2/api/IntegrationsApi
30931
- * @version 167.0.0
31097
+ * @version 168.1.0
30932
31098
  */
30933
31099
 
30934
31100
  /**
@@ -32528,7 +32694,7 @@ class JourneyApi {
32528
32694
  /**
32529
32695
  * Journey service.
32530
32696
  * @module purecloud-platform-client-v2/api/JourneyApi
32531
- * @version 167.0.0
32697
+ * @version 168.1.0
32532
32698
  */
32533
32699
 
32534
32700
  /**
@@ -33408,7 +33574,7 @@ class KnowledgeApi {
33408
33574
  /**
33409
33575
  * Knowledge service.
33410
33576
  * @module purecloud-platform-client-v2/api/KnowledgeApi
33411
- * @version 167.0.0
33577
+ * @version 168.1.0
33412
33578
  */
33413
33579
 
33414
33580
  /**
@@ -35840,7 +36006,7 @@ class LanguageUnderstandingApi {
35840
36006
  /**
35841
36007
  * LanguageUnderstanding service.
35842
36008
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
35843
- * @version 167.0.0
36009
+ * @version 168.1.0
35844
36010
  */
35845
36011
 
35846
36012
  /**
@@ -36853,7 +37019,7 @@ class LanguagesApi {
36853
37019
  /**
36854
37020
  * Languages service.
36855
37021
  * @module purecloud-platform-client-v2/api/LanguagesApi
36856
- * @version 167.0.0
37022
+ * @version 168.1.0
36857
37023
  */
36858
37024
 
36859
37025
  /**
@@ -37071,7 +37237,7 @@ class LearningApi {
37071
37237
  /**
37072
37238
  * Learning service.
37073
37239
  * @module purecloud-platform-client-v2/api/LearningApi
37074
- * @version 167.0.0
37240
+ * @version 168.1.0
37075
37241
  */
37076
37242
 
37077
37243
  /**
@@ -37886,7 +38052,7 @@ class LicenseApi {
37886
38052
  /**
37887
38053
  * License service.
37888
38054
  * @module purecloud-platform-client-v2/api/LicenseApi
37889
- * @version 167.0.0
38055
+ * @version 168.1.0
37890
38056
  */
37891
38057
 
37892
38058
  /**
@@ -38124,7 +38290,7 @@ class LocationsApi {
38124
38290
  /**
38125
38291
  * Locations service.
38126
38292
  * @module purecloud-platform-client-v2/api/LocationsApi
38127
- * @version 167.0.0
38293
+ * @version 168.1.0
38128
38294
  */
38129
38295
 
38130
38296
  /**
@@ -38360,7 +38526,7 @@ class MessagingApi {
38360
38526
  /**
38361
38527
  * Messaging service.
38362
38528
  * @module purecloud-platform-client-v2/api/MessagingApi
38363
- * @version 167.0.0
38529
+ * @version 168.1.0
38364
38530
  */
38365
38531
 
38366
38532
  /**
@@ -38511,7 +38677,7 @@ class MobileDevicesApi {
38511
38677
  /**
38512
38678
  * MobileDevices service.
38513
38679
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
38514
- * @version 167.0.0
38680
+ * @version 168.1.0
38515
38681
  */
38516
38682
 
38517
38683
  /**
@@ -38662,7 +38828,7 @@ class NotificationsApi {
38662
38828
  /**
38663
38829
  * Notifications service.
38664
38830
  * @module purecloud-platform-client-v2/api/NotificationsApi
38665
- * @version 167.0.0
38831
+ * @version 168.1.0
38666
38832
  */
38667
38833
 
38668
38834
  /**
@@ -38895,7 +39061,7 @@ class OAuthApi {
38895
39061
  /**
38896
39062
  * OAuth service.
38897
39063
  * @module purecloud-platform-client-v2/api/OAuthApi
38898
- * @version 167.0.0
39064
+ * @version 168.1.0
38899
39065
  */
38900
39066
 
38901
39067
  /**
@@ -39261,7 +39427,7 @@ class ObjectsApi {
39261
39427
  /**
39262
39428
  * Objects service.
39263
39429
  * @module purecloud-platform-client-v2/api/ObjectsApi
39264
- * @version 167.0.0
39430
+ * @version 168.1.0
39265
39431
  */
39266
39432
 
39267
39433
  /**
@@ -39532,7 +39698,7 @@ class OrganizationApi {
39532
39698
  /**
39533
39699
  * Organization service.
39534
39700
  * @module purecloud-platform-client-v2/api/OrganizationApi
39535
- * @version 167.0.0
39701
+ * @version 168.1.0
39536
39702
  */
39537
39703
 
39538
39704
  /**
@@ -39935,7 +40101,7 @@ class OrganizationAuthorizationApi {
39935
40101
  /**
39936
40102
  * OrganizationAuthorization service.
39937
40103
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
39938
- * @version 167.0.0
40104
+ * @version 168.1.0
39939
40105
  */
39940
40106
 
39941
40107
  /**
@@ -41230,7 +41396,7 @@ class OutboundApi {
41230
41396
  /**
41231
41397
  * Outbound service.
41232
41398
  * @module purecloud-platform-client-v2/api/OutboundApi
41233
- * @version 167.0.0
41399
+ * @version 168.1.0
41234
41400
  */
41235
41401
 
41236
41402
  /**
@@ -42994,6 +43160,31 @@ class OutboundApi {
42994
43160
  );
42995
43161
  }
42996
43162
 
43163
+ /**
43164
+ * Get messaging campaign diagnostics
43165
+ *
43166
+ * @param {String} messagingCampaignId The Messaging Campaign ID
43167
+ */
43168
+ getOutboundMessagingcampaignDiagnostics(messagingCampaignId) {
43169
+ // verify the required parameter 'messagingCampaignId' is set
43170
+ if (messagingCampaignId === undefined || messagingCampaignId === null) {
43171
+ throw 'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaignDiagnostics';
43172
+ }
43173
+
43174
+ return this.apiClient.callApi(
43175
+ '/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/diagnostics',
43176
+ 'GET',
43177
+ { 'messagingCampaignId': messagingCampaignId },
43178
+ { },
43179
+ { },
43180
+ { },
43181
+ null,
43182
+ ['PureCloud OAuth'],
43183
+ ['application/json'],
43184
+ ['application/json']
43185
+ );
43186
+ }
43187
+
42997
43188
  /**
42998
43189
  * Get messaging campaign's progress
42999
43190
  *
@@ -44826,7 +45017,7 @@ class PresenceApi {
44826
45017
  /**
44827
45018
  * Presence service.
44828
45019
  * @module purecloud-platform-client-v2/api/PresenceApi
44829
- * @version 167.0.0
45020
+ * @version 168.1.0
44830
45021
  */
44831
45022
 
44832
45023
  /**
@@ -45377,7 +45568,7 @@ class ProcessAutomationApi {
45377
45568
  /**
45378
45569
  * ProcessAutomation service.
45379
45570
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
45380
- * @version 167.0.0
45571
+ * @version 168.1.0
45381
45572
  */
45382
45573
 
45383
45574
  /**
@@ -45616,7 +45807,7 @@ class QualityApi {
45616
45807
  /**
45617
45808
  * Quality service.
45618
45809
  * @module purecloud-platform-client-v2/api/QualityApi
45619
- * @version 167.0.0
45810
+ * @version 168.1.0
45620
45811
  */
45621
45812
 
45622
45813
  /**
@@ -47037,7 +47228,7 @@ class QualityApi {
47037
47228
  * @param {String} evaluationId evaluationId
47038
47229
  * @param {Object} body evaluation
47039
47230
  * @param {Object} opts Optional parameters
47040
- * @param {String} opts.expand evaluatorId, evaluationForm
47231
+ * @param {String} opts.expand evaluatorId, evaluationForm, assignee
47041
47232
  */
47042
47233
  putQualityConversationEvaluation(conversationId, evaluationId, body, opts) {
47043
47234
  opts = opts || {};
@@ -47195,7 +47386,7 @@ class RecordingApi {
47195
47386
  /**
47196
47387
  * Recording service.
47197
47388
  * @module purecloud-platform-client-v2/api/RecordingApi
47198
- * @version 167.0.0
47389
+ * @version 168.1.0
47199
47390
  */
47200
47391
 
47201
47392
  /**
@@ -47502,7 +47693,7 @@ class RecordingApi {
47502
47693
  }
47503
47694
 
47504
47695
  /**
47505
- * Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if recording:recording:view permission is missing.
47696
+ * Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if either recording:recording:view or recording:annotation:view permission is missing.
47506
47697
  *
47507
47698
  * @param {String} conversationId Conversation ID
47508
47699
  */
@@ -48832,7 +49023,7 @@ class ResponseManagementApi {
48832
49023
  /**
48833
49024
  * ResponseManagement service.
48834
49025
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
48835
- * @version 167.0.0
49026
+ * @version 168.1.0
48836
49027
  */
48837
49028
 
48838
49029
  /**
@@ -48929,6 +49120,7 @@ class ResponseManagementApi {
48929
49120
  * @param {Number} opts.pageNumber Page number (default to 1)
48930
49121
  * @param {Number} opts.pageSize Page size (default to 25)
48931
49122
  * @param {Object} opts.messagingTemplateFilter Returns a list of libraries that contain responses with at least one messaging template defined for a specific message channel
49123
+ * @param {String} opts.libraryPrefix Returns a list of libraries that contain the prefix provided
48932
49124
  */
48933
49125
  getResponsemanagementLibraries(opts) {
48934
49126
  opts = opts || {};
@@ -48938,7 +49130,7 @@ class ResponseManagementApi {
48938
49130
  '/api/v2/responsemanagement/libraries',
48939
49131
  'GET',
48940
49132
  { },
48941
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'] },
49133
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'],'libraryPrefix': opts['libraryPrefix'] },
48942
49134
  { },
48943
49135
  { },
48944
49136
  null,
@@ -49316,7 +49508,7 @@ class RoutingApi {
49316
49508
  /**
49317
49509
  * Routing service.
49318
49510
  * @module purecloud-platform-client-v2/api/RoutingApi
49319
- * @version 167.0.0
49511
+ * @version 168.1.0
49320
49512
  */
49321
49513
 
49322
49514
  /**
@@ -52825,7 +53017,7 @@ class SCIMApi {
52825
53017
  /**
52826
53018
  * SCIM service.
52827
53019
  * @module purecloud-platform-client-v2/api/SCIMApi
52828
- * @version 167.0.0
53020
+ * @version 168.1.0
52829
53021
  */
52830
53022
 
52831
53023
  /**
@@ -53702,7 +53894,7 @@ class ScriptsApi {
53702
53894
  /**
53703
53895
  * Scripts service.
53704
53896
  * @module purecloud-platform-client-v2/api/ScriptsApi
53705
- * @version 167.0.0
53897
+ * @version 168.1.0
53706
53898
  */
53707
53899
 
53708
53900
  /**
@@ -54121,7 +54313,7 @@ class SearchApi {
54121
54313
  /**
54122
54314
  * Search service.
54123
54315
  * @module purecloud-platform-client-v2/api/SearchApi
54124
- * @version 167.0.0
54316
+ * @version 168.1.0
54125
54317
  */
54126
54318
 
54127
54319
  /**
@@ -54731,7 +54923,7 @@ class SpeechTextAnalyticsApi {
54731
54923
  /**
54732
54924
  * SpeechTextAnalytics service.
54733
54925
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
54734
- * @version 167.0.0
54926
+ * @version 168.1.0
54735
54927
  */
54736
54928
 
54737
54929
  /**
@@ -55660,7 +55852,7 @@ class StationsApi {
55660
55852
  /**
55661
55853
  * Stations service.
55662
55854
  * @module purecloud-platform-client-v2/api/StationsApi
55663
- * @version 167.0.0
55855
+ * @version 168.1.0
55664
55856
  */
55665
55857
 
55666
55858
  /**
@@ -55756,58 +55948,13 @@ class StationsApi {
55756
55948
  );
55757
55949
  }
55758
55950
 
55759
- /**
55760
- * Get an organization's StationSettings
55761
- * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
55762
- */
55763
- getStationsSettings() {
55764
-
55765
- return this.apiClient.callApi(
55766
- '/api/v2/stations/settings',
55767
- 'GET',
55768
- { },
55769
- { },
55770
- { },
55771
- { },
55772
- null,
55773
- ['PureCloud OAuth'],
55774
- ['application/json'],
55775
- ['application/json']
55776
- );
55777
- }
55778
-
55779
- /**
55780
- * Patch an organization's StationSettings
55781
- * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
55782
- * @param {Object} body Station settings
55783
- */
55784
- patchStationsSettings(body) {
55785
- // verify the required parameter 'body' is set
55786
- if (body === undefined || body === null) {
55787
- throw 'Missing the required parameter "body" when calling patchStationsSettings';
55788
- }
55789
-
55790
- return this.apiClient.callApi(
55791
- '/api/v2/stations/settings',
55792
- 'PATCH',
55793
- { },
55794
- { },
55795
- { },
55796
- { },
55797
- body,
55798
- ['PureCloud OAuth'],
55799
- ['application/json'],
55800
- ['application/json']
55801
- );
55802
- }
55803
-
55804
55951
  }
55805
55952
 
55806
55953
  class SuggestApi {
55807
55954
  /**
55808
55955
  * Suggest service.
55809
55956
  * @module purecloud-platform-client-v2/api/SuggestApi
55810
- * @version 167.0.0
55957
+ * @version 168.1.0
55811
55958
  */
55812
55959
 
55813
55960
  /**
@@ -55946,7 +56093,7 @@ class TeamsApi {
55946
56093
  /**
55947
56094
  * Teams service.
55948
56095
  * @module purecloud-platform-client-v2/api/TeamsApi
55949
- * @version 167.0.0
56096
+ * @version 168.1.0
55950
56097
  */
55951
56098
 
55952
56099
  /**
@@ -56217,7 +56364,7 @@ class TelephonyApi {
56217
56364
  /**
56218
56365
  * Telephony service.
56219
56366
  * @module purecloud-platform-client-v2/api/TelephonyApi
56220
- * @version 167.0.0
56367
+ * @version 168.1.0
56221
56368
  */
56222
56369
 
56223
56370
  /**
@@ -56345,7 +56492,7 @@ class TelephonyProvidersEdgeApi {
56345
56492
  /**
56346
56493
  * TelephonyProvidersEdge service.
56347
56494
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
56348
- * @version 167.0.0
56495
+ * @version 168.1.0
56349
56496
  */
56350
56497
 
56351
56498
  /**
@@ -59545,7 +59692,7 @@ class TextbotsApi {
59545
59692
  /**
59546
59693
  * Textbots service.
59547
59694
  * @module purecloud-platform-client-v2/api/TextbotsApi
59548
- * @version 167.0.0
59695
+ * @version 168.1.0
59549
59696
  */
59550
59697
 
59551
59698
  /**
@@ -59673,7 +59820,7 @@ class TokensApi {
59673
59820
  /**
59674
59821
  * Tokens service.
59675
59822
  * @module purecloud-platform-client-v2/api/TokensApi
59676
- * @version 167.0.0
59823
+ * @version 168.1.0
59677
59824
  */
59678
59825
 
59679
59826
  /**
@@ -59779,7 +59926,7 @@ class UploadsApi {
59779
59926
  /**
59780
59927
  * Uploads service.
59781
59928
  * @module purecloud-platform-client-v2/api/UploadsApi
59782
- * @version 167.0.0
59929
+ * @version 168.1.0
59783
59930
  */
59784
59931
 
59785
59932
  /**
@@ -59955,7 +60102,7 @@ class UsageApi {
59955
60102
  /**
59956
60103
  * Usage service.
59957
60104
  * @module purecloud-platform-client-v2/api/UsageApi
59958
- * @version 167.0.0
60105
+ * @version 168.1.0
59959
60106
  */
59960
60107
 
59961
60108
  /**
@@ -60115,7 +60262,7 @@ class UserRecordingsApi {
60115
60262
  /**
60116
60263
  * UserRecordings service.
60117
60264
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
60118
- * @version 167.0.0
60265
+ * @version 168.1.0
60119
60266
  */
60120
60267
 
60121
60268
  /**
@@ -60300,7 +60447,7 @@ class UsersApi {
60300
60447
  /**
60301
60448
  * Users service.
60302
60449
  * @module purecloud-platform-client-v2/api/UsersApi
60303
- * @version 167.0.0
60450
+ * @version 168.1.0
60304
60451
  */
60305
60452
 
60306
60453
  /**
@@ -62690,7 +62837,7 @@ class UtilitiesApi {
62690
62837
  /**
62691
62838
  * Utilities service.
62692
62839
  * @module purecloud-platform-client-v2/api/UtilitiesApi
62693
- * @version 167.0.0
62840
+ * @version 168.1.0
62694
62841
  */
62695
62842
 
62696
62843
  /**
@@ -62801,7 +62948,7 @@ class VoicemailApi {
62801
62948
  /**
62802
62949
  * Voicemail service.
62803
62950
  * @module purecloud-platform-client-v2/api/VoicemailApi
62804
- * @version 167.0.0
62951
+ * @version 168.1.0
62805
62952
  */
62806
62953
 
62807
62954
  /**
@@ -63468,7 +63615,7 @@ class WebChatApi {
63468
63615
  /**
63469
63616
  * WebChat service.
63470
63617
  * @module purecloud-platform-client-v2/api/WebChatApi
63471
- * @version 167.0.0
63618
+ * @version 168.1.0
63472
63619
  */
63473
63620
 
63474
63621
  /**
@@ -64012,7 +64159,7 @@ class WebDeploymentsApi {
64012
64159
  /**
64013
64160
  * WebDeployments service.
64014
64161
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
64015
- * @version 167.0.0
64162
+ * @version 168.1.0
64016
64163
  */
64017
64164
 
64018
64165
  /**
@@ -64534,7 +64681,7 @@ class WebMessagingApi {
64534
64681
  /**
64535
64682
  * WebMessaging service.
64536
64683
  * @module purecloud-platform-client-v2/api/WebMessagingApi
64537
- * @version 167.0.0
64684
+ * @version 168.1.0
64538
64685
  */
64539
64686
 
64540
64687
  /**
@@ -64580,7 +64727,7 @@ class WidgetsApi {
64580
64727
  /**
64581
64728
  * Widgets service.
64582
64729
  * @module purecloud-platform-client-v2/api/WidgetsApi
64583
- * @version 167.0.0
64730
+ * @version 168.1.0
64584
64731
  */
64585
64732
 
64586
64733
  /**
@@ -64726,7 +64873,7 @@ class WorkforceManagementApi {
64726
64873
  /**
64727
64874
  * WorkforceManagement service.
64728
64875
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
64729
- * @version 167.0.0
64876
+ * @version 168.1.0
64730
64877
  */
64731
64878
 
64732
64879
  /**
@@ -65351,7 +65498,7 @@ class WorkforceManagementApi {
65351
65498
  * Expanding "settings" will retrieve all settings. All other expands will retrieve only the requested settings field(s).
65352
65499
  * @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
65353
65500
  * @param {Object} opts Optional parameters
65354
- * @param {Array.<String>} opts.expand
65501
+ * @param {Array.<String>} opts.expand Include to access additional data on the business unit
65355
65502
  */
65356
65503
  getWorkforcemanagementBusinessunit(businessUnitId, opts) {
65357
65504
  opts = opts || {};
@@ -65890,7 +66037,7 @@ class WorkforceManagementApi {
65890
66037
  * @param {String} weekDateId The week start date of the forecast in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
65891
66038
  * @param {String} forecastId The ID of the forecast
65892
66039
  * @param {Object} opts Optional parameters
65893
- * @param {Array.<String>} opts.expand
66040
+ * @param {Array.<String>} opts.expand Include to access additional data on the forecast
65894
66041
  */
65895
66042
  getWorkforcemanagementBusinessunitWeekShorttermforecast(businessUnitId, weekDateId, forecastId, opts) {
65896
66043
  opts = opts || {};
@@ -66879,7 +67026,7 @@ class WorkforceManagementApi {
66879
67026
  * "expand=details" is deprecated
66880
67027
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
66881
67028
  * @param {Object} opts Optional parameters
66882
- * @param {Array.<String>} opts.expand
67029
+ * @param {Array.<String>} opts.expand Include to access additional data on the work plans
66883
67030
  */
66884
67031
  getWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
66885
67032
  opts = opts || {};
@@ -68387,7 +68534,7 @@ class WorkforceManagementApi {
68387
68534
  *
68388
68535
  * @param {String} businessUnitId The ID of the business unit to which the forecast belongs
68389
68536
  * @param {String} weekDateId The week start date of the forecast in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
68390
- * @param {Object} body
68537
+ * @param {Object} body body
68391
68538
  * @param {Object} opts Optional parameters
68392
68539
  * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
68393
68540
  */
@@ -68426,7 +68573,7 @@ class WorkforceManagementApi {
68426
68573
  * Call after uploading the forecast data to the url supplied by the /import/uploadurl route
68427
68574
  * @param {String} businessUnitId The ID of the business unit to which the forecast belongs
68428
68575
  * @param {String} weekDateId First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
68429
- * @param {Object} body
68576
+ * @param {Object} body body
68430
68577
  */
68431
68578
  postWorkforcemanagementBusinessunitWeekShorttermforecastsImport(businessUnitId, weekDateId, body) {
68432
68579
  // verify the required parameter 'businessUnitId' is set
@@ -69357,6 +69504,64 @@ class WorkforceManagementApi {
69357
69504
  );
69358
69505
  }
69359
69506
 
69507
+ /**
69508
+ * Request a teams historical adherence report
69509
+ * The maximum supported range for historical adherence queries is 31 days, or 7 days with includeExceptions = true
69510
+ * @param {String} teamId The ID of the team
69511
+ * @param {Object} opts Optional parameters
69512
+ * @param {Object} opts.body body
69513
+ */
69514
+ postWorkforcemanagementTeamAdherenceHistorical(teamId, opts) {
69515
+ opts = opts || {};
69516
+
69517
+ // verify the required parameter 'teamId' is set
69518
+ if (teamId === undefined || teamId === null) {
69519
+ throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamAdherenceHistorical';
69520
+ }
69521
+
69522
+ return this.apiClient.callApi(
69523
+ '/api/v2/workforcemanagement/teams/{teamId}/adherence/historical',
69524
+ 'POST',
69525
+ { 'teamId': teamId },
69526
+ { },
69527
+ { },
69528
+ { },
69529
+ opts['body'],
69530
+ ['PureCloud OAuth'],
69531
+ ['application/json'],
69532
+ ['application/json']
69533
+ );
69534
+ }
69535
+
69536
+ /**
69537
+ * Request a historical shrinkage report
69538
+ * The maximum supported range for historical shrinkage queries is up to 32 days
69539
+ * @param {String} teamId The ID of the team
69540
+ * @param {Object} opts Optional parameters
69541
+ * @param {Object} opts.body body
69542
+ */
69543
+ postWorkforcemanagementTeamShrinkageJobs(teamId, opts) {
69544
+ opts = opts || {};
69545
+
69546
+ // verify the required parameter 'teamId' is set
69547
+ if (teamId === undefined || teamId === null) {
69548
+ throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamShrinkageJobs';
69549
+ }
69550
+
69551
+ return this.apiClient.callApi(
69552
+ '/api/v2/workforcemanagement/teams/{teamId}/shrinkage/jobs',
69553
+ 'POST',
69554
+ { 'teamId': teamId },
69555
+ { },
69556
+ { },
69557
+ { },
69558
+ opts['body'],
69559
+ ['PureCloud OAuth'],
69560
+ ['application/json'],
69561
+ ['application/json']
69562
+ );
69563
+ }
69564
+
69360
69565
  /**
69361
69566
  * Queries available time off for the current user
69362
69567
  *
@@ -69470,7 +69675,7 @@ class WorkforceManagementApi {
69470
69675
  * </pre>
69471
69676
  * </p>
69472
69677
  * @module purecloud-platform-client-v2/index
69473
- * @version 167.0.0
69678
+ * @version 168.1.0
69474
69679
  */
69475
69680
  class platformClient {
69476
69681
  constructor() {
@@ -69514,6 +69719,11 @@ class platformClient {
69514
69719
  * @property {module:purecloud-platform-client-v2/api/BillingApi}
69515
69720
  */
69516
69721
  this.BillingApi = BillingApi;
69722
+ /**
69723
+ * The CarrierServicesApi service constructor.
69724
+ * @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}
69725
+ */
69726
+ this.CarrierServicesApi = CarrierServicesApi;
69517
69727
  /**
69518
69728
  * The ChatApi service constructor.
69519
69729
  * @property {module:purecloud-platform-client-v2/api/ChatApi}