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
@@ -399,7 +399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
399
399
 
400
400
  /**
401
401
  * @module purecloud-platform-client-v2/ApiClient
402
- * @version 167.0.0
402
+ * @version 168.1.0
403
403
  */
404
404
  class ApiClient {
405
405
  /**
@@ -1485,7 +1485,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1485
1485
  /**
1486
1486
  * Alerting service.
1487
1487
  * @module purecloud-platform-client-v2/api/AlertingApi
1488
- * @version 167.0.0
1488
+ * @version 168.1.0
1489
1489
  */
1490
1490
 
1491
1491
  /**
@@ -1799,7 +1799,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1799
1799
  /**
1800
1800
  * Analytics service.
1801
1801
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1802
- * @version 167.0.0
1802
+ * @version 168.1.0
1803
1803
  */
1804
1804
 
1805
1805
  /**
@@ -3053,7 +3053,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3053
3053
  /**
3054
3054
  * Architect service.
3055
3055
  * @module purecloud-platform-client-v2/api/ArchitectApi
3056
- * @version 167.0.0
3056
+ * @version 168.1.0
3057
3057
  */
3058
3058
 
3059
3059
  /**
@@ -6101,7 +6101,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6101
6101
  /**
6102
6102
  * Audit service.
6103
6103
  * @module purecloud-platform-client-v2/api/AuditApi
6104
- * @version 167.0.0
6104
+ * @version 168.1.0
6105
6105
  */
6106
6106
 
6107
6107
  /**
@@ -6272,7 +6272,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6272
6272
  /**
6273
6273
  * Authorization service.
6274
6274
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6275
- * @version 167.0.0
6275
+ * @version 168.1.0
6276
6276
  */
6277
6277
 
6278
6278
  /**
@@ -7501,7 +7501,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7501
7501
  /**
7502
7502
  * Billing service.
7503
7503
  * @module purecloud-platform-client-v2/api/BillingApi
7504
- * @version 167.0.0
7504
+ * @version 168.1.0
7505
7505
  */
7506
7506
 
7507
7507
  /**
@@ -7577,11 +7577,81 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7577
7577
 
7578
7578
  }
7579
7579
 
7580
+ class CarrierServicesApi {
7581
+ /**
7582
+ * CarrierServices service.
7583
+ * @module purecloud-platform-client-v2/api/CarrierServicesApi
7584
+ * @version 168.1.0
7585
+ */
7586
+
7587
+ /**
7588
+ * Constructs a new CarrierServicesApi.
7589
+ * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
7590
+ * @class
7591
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
7592
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
7593
+ */
7594
+ constructor(apiClient) {
7595
+ this.apiClient = apiClient || ApiClient.instance;
7596
+ }
7597
+
7598
+
7599
+ /**
7600
+ * Get location for the logged in user
7601
+ *
7602
+ * @param {String} phoneNumber Phone number in E164 format
7603
+ */
7604
+ getCarrierservicesIntegrationsEmergencylocationsMe(phoneNumber) {
7605
+ // verify the required parameter 'phoneNumber' is set
7606
+ if (phoneNumber === undefined || phoneNumber === null) {
7607
+ throw 'Missing the required parameter "phoneNumber" when calling getCarrierservicesIntegrationsEmergencylocationsMe';
7608
+ }
7609
+
7610
+ return this.apiClient.callApi(
7611
+ '/api/v2/carrierservices/integrations/emergencylocations/me',
7612
+ 'GET',
7613
+ { },
7614
+ { 'phoneNumber': phoneNumber },
7615
+ { },
7616
+ { },
7617
+ null,
7618
+ ['PureCloud OAuth'],
7619
+ ['application/json'],
7620
+ ['application/json']
7621
+ );
7622
+ }
7623
+
7624
+ /**
7625
+ * Set current location for the logged in user
7626
+ *
7627
+ * @param {Object} opts Optional parameters
7628
+ * @param {Object} opts.body
7629
+ */
7630
+ postCarrierservicesIntegrationsEmergencylocationsMe(opts) {
7631
+ opts = opts || {};
7632
+
7633
+
7634
+ return this.apiClient.callApi(
7635
+ '/api/v2/carrierservices/integrations/emergencylocations/me',
7636
+ 'POST',
7637
+ { },
7638
+ { },
7639
+ { },
7640
+ { },
7641
+ opts['body'],
7642
+ ['PureCloud OAuth'],
7643
+ ['application/json'],
7644
+ ['application/json']
7645
+ );
7646
+ }
7647
+
7648
+ }
7649
+
7580
7650
  class ChatApi {
7581
7651
  /**
7582
7652
  * Chat service.
7583
7653
  * @module purecloud-platform-client-v2/api/ChatApi
7584
- * @version 167.0.0
7654
+ * @version 168.1.0
7585
7655
  */
7586
7656
 
7587
7657
  /**
@@ -7742,7 +7812,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7742
7812
  /**
7743
7813
  * Coaching service.
7744
7814
  * @module purecloud-platform-client-v2/api/CoachingApi
7745
- * @version 167.0.0
7815
+ * @version 168.1.0
7746
7816
  */
7747
7817
 
7748
7818
  /**
@@ -8319,7 +8389,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8319
8389
  /**
8320
8390
  * ContentManagement service.
8321
8391
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8322
- * @version 167.0.0
8392
+ * @version 168.1.0
8323
8393
  */
8324
8394
 
8325
8395
  /**
@@ -9459,7 +9529,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9459
9529
  /**
9460
9530
  * Conversations service.
9461
9531
  * @module purecloud-platform-client-v2/api/ConversationsApi
9462
- * @version 167.0.0
9532
+ * @version 168.1.0
9463
9533
  */
9464
9534
 
9465
9535
  /**
@@ -12724,6 +12794,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12724
12794
  );
12725
12795
  }
12726
12796
 
12797
+ /**
12798
+ * Reset conversation draft to its initial state and/or auto-fill draft content
12799
+ *
12800
+ * @param {String} conversationId conversationId
12801
+ * @param {Object} opts Optional parameters
12802
+ * @param {Boolean} opts.autoFill autoFill
12803
+ * @param {Boolean} opts.discard discard
12804
+ * @param {Object} opts.body Draft Manipulation Request
12805
+ */
12806
+ patchConversationsEmailMessagesDraft(conversationId, opts) {
12807
+ opts = opts || {};
12808
+
12809
+ // verify the required parameter 'conversationId' is set
12810
+ if (conversationId === undefined || conversationId === null) {
12811
+ throw 'Missing the required parameter "conversationId" when calling patchConversationsEmailMessagesDraft';
12812
+ }
12813
+
12814
+ return this.apiClient.callApi(
12815
+ '/api/v2/conversations/emails/{conversationId}/messages/draft',
12816
+ 'PATCH',
12817
+ { 'conversationId': conversationId },
12818
+ { 'autoFill': opts['autoFill'],'discard': opts['discard'] },
12819
+ { },
12820
+ { },
12821
+ opts['body'],
12822
+ ['PureCloud OAuth'],
12823
+ ['application/json'],
12824
+ ['application/json']
12825
+ );
12826
+ }
12827
+
12727
12828
  /**
12728
12829
  * Update conversation participant
12729
12830
  *
@@ -15519,7 +15620,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15519
15620
  /**
15520
15621
  * DataExtensions service.
15521
15622
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
15522
- * @version 167.0.0
15623
+ * @version 168.1.0
15523
15624
  */
15524
15625
 
15525
15626
  /**
@@ -15605,7 +15706,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15605
15706
  /**
15606
15707
  * Downloads service.
15607
15708
  * @module purecloud-platform-client-v2/api/DownloadsApi
15608
- * @version 167.0.0
15709
+ * @version 168.1.0
15609
15710
  */
15610
15711
 
15611
15712
  /**
@@ -15657,7 +15758,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15657
15758
  /**
15658
15759
  * Events service.
15659
15760
  * @module purecloud-platform-client-v2/api/EventsApi
15660
- * @version 167.0.0
15761
+ * @version 168.1.0
15661
15762
  */
15662
15763
 
15663
15764
  /**
@@ -15753,7 +15854,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15753
15854
  /**
15754
15855
  * ExternalContacts service.
15755
15856
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
15756
- * @version 167.0.0
15857
+ * @version 168.1.0
15757
15858
  */
15758
15859
 
15759
15860
  /**
@@ -17297,7 +17398,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17297
17398
 
17298
17399
  /**
17299
17400
  * Merge two contacts into a new contact record
17300
- *
17401
+ * Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
17301
17402
  * @param {Object} body MergeRequest
17302
17403
  */
17303
17404
  postExternalcontactsMergeContacts(body) {
@@ -17711,7 +17812,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17711
17812
  /**
17712
17813
  * Fax service.
17713
17814
  * @module purecloud-platform-client-v2/api/FaxApi
17714
- * @version 167.0.0
17815
+ * @version 168.1.0
17715
17816
  */
17716
17817
 
17717
17818
  /**
@@ -17882,7 +17983,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17882
17983
  /**
17883
17984
  * Flows service.
17884
17985
  * @module purecloud-platform-client-v2/api/FlowsApi
17885
- * @version 167.0.0
17986
+ * @version 168.1.0
17886
17987
  */
17887
17988
 
17888
17989
  /**
@@ -17953,7 +18054,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17953
18054
  /**
17954
18055
  * Gamification service.
17955
18056
  * @module purecloud-platform-client-v2/api/GamificationApi
17956
- * @version 167.0.0
18057
+ * @version 168.1.0
17957
18058
  */
17958
18059
 
17959
18060
  /**
@@ -20039,7 +20140,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20039
20140
  /**
20040
20141
  * GeneralDataProtectionRegulation service.
20041
20142
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
20042
- * @version 167.0.0
20143
+ * @version 168.1.0
20043
20144
  */
20044
20145
 
20045
20146
  /**
@@ -20169,7 +20270,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20169
20270
  /**
20170
20271
  * Geolocation service.
20171
20272
  * @module purecloud-platform-client-v2/api/GeolocationApi
20172
- * @version 167.0.0
20273
+ * @version 168.1.0
20173
20274
  */
20174
20275
 
20175
20276
  /**
@@ -20300,7 +20401,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20300
20401
  /**
20301
20402
  * Greetings service.
20302
20403
  * @module purecloud-platform-client-v2/api/GreetingsApi
20303
- * @version 167.0.0
20404
+ * @version 168.1.0
20304
20405
  */
20305
20406
 
20306
20407
  /**
@@ -20755,7 +20856,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20755
20856
  /**
20756
20857
  * Groups service.
20757
20858
  * @module purecloud-platform-client-v2/api/GroupsApi
20758
- * @version 167.0.0
20859
+ * @version 168.1.0
20759
20860
  */
20760
20861
 
20761
20862
  /**
@@ -21161,7 +21262,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21161
21262
  /**
21162
21263
  * IdentityProvider service.
21163
21264
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
21164
- * @version 167.0.0
21265
+ * @version 168.1.0
21165
21266
  */
21166
21267
 
21167
21268
  /**
@@ -21917,7 +22018,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21917
22018
  /**
21918
22019
  * InfrastructureAsCode service.
21919
22020
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
21920
- * @version 167.0.0
22021
+ * @version 168.1.0
21921
22022
  */
21922
22023
 
21923
22024
  /**
@@ -21932,6 +22033,68 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21932
22033
  }
21933
22034
 
21934
22035
 
22036
+ /**
22037
+ * Get information about an accelerator
22038
+ * Get the complete metadata specification for an accelerator, including requirements and parameters.
22039
+ * @param {String} acceleratorId Accelerator ID
22040
+ * @param {Object} opts Optional parameters
22041
+ * @param {Object} opts.preferredLanguage Preferred Language (default to en-US)
22042
+ */
22043
+ getInfrastructureascodeAccelerator(acceleratorId, opts) {
22044
+ opts = opts || {};
22045
+
22046
+ // verify the required parameter 'acceleratorId' is set
22047
+ if (acceleratorId === undefined || acceleratorId === null) {
22048
+ throw 'Missing the required parameter "acceleratorId" when calling getInfrastructureascodeAccelerator';
22049
+ }
22050
+
22051
+ return this.apiClient.callApi(
22052
+ '/api/v2/infrastructureascode/accelerators/{acceleratorId}',
22053
+ 'GET',
22054
+ { 'acceleratorId': acceleratorId },
22055
+ { 'preferredLanguage': opts['preferredLanguage'] },
22056
+ { },
22057
+ { },
22058
+ null,
22059
+ ['PureCloud OAuth'],
22060
+ ['application/json'],
22061
+ ['application/json']
22062
+ );
22063
+ }
22064
+
22065
+ /**
22066
+ * Get a list of available accelerators
22067
+ * Search for accelerators that can be run.
22068
+ * @param {Object} opts Optional parameters
22069
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
22070
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
22071
+ * @param {String} opts.sortBy variable name requested to sort by
22072
+ * @param {Object} opts.sortOrder Sort order (default to asc)
22073
+ * @param {String} opts.name Filter by name
22074
+ * @param {String} opts.description Filter by description
22075
+ * @param {Object} opts.origin Filter by origin
22076
+ * @param {Object} opts.type Filter by type
22077
+ * @param {String} opts.classification Filter by classification
22078
+ * @param {String} opts.tags Filter by tags
22079
+ */
22080
+ getInfrastructureascodeAccelerators(opts) {
22081
+ opts = opts || {};
22082
+
22083
+
22084
+ return this.apiClient.callApi(
22085
+ '/api/v2/infrastructureascode/accelerators',
22086
+ 'GET',
22087
+ { },
22088
+ { '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'] },
22089
+ { },
22090
+ { },
22091
+ null,
22092
+ ['PureCloud OAuth'],
22093
+ ['application/json'],
22094
+ ['application/json']
22095
+ );
22096
+ }
22097
+
21935
22098
  /**
21936
22099
  * Get job status and results
21937
22100
  * Get the execution status of a submitted job, optionally including results and error details.
@@ -21967,8 +22130,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21967
22130
  * @param {Object} opts Optional parameters
21968
22131
  * @param {Number} opts.maxResults Number of jobs to show (default to 1)
21969
22132
  * @param {Boolean} opts.includeErrors Include error messages (default to false)
21970
- * @param {Object} opts.sortBy Sort by (default to id)
21971
- * @param {Object} opts.sortOrder Sort order (default to asc)
22133
+ * @param {Object} opts.sortBy Sort by (default to dateSubmitted)
22134
+ * @param {Object} opts.sortOrder Sort order (default to desc)
22135
+ * @param {String} opts.acceleratorId Find only jobs associated with this accelerator
22136
+ * @param {String} opts.submittedBy Find only jobs submitted by this user
22137
+ * @param {Object} opts.status Find only jobs in this state
21972
22138
  */
21973
22139
  getInfrastructureascodeJobs(opts) {
21974
22140
  opts = opts || {};
@@ -21978,7 +22144,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21978
22144
  '/api/v2/infrastructureascode/jobs',
21979
22145
  'GET',
21980
22146
  { },
21981
- { 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
22147
+ { 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'acceleratorId': opts['acceleratorId'],'submittedBy': opts['submittedBy'],'status': opts['status'] },
21982
22148
  { },
21983
22149
  { },
21984
22150
  null,
@@ -22019,7 +22185,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22019
22185
  /**
22020
22186
  * Integrations service.
22021
22187
  * @module purecloud-platform-client-v2/api/IntegrationsApi
22022
- * @version 167.0.0
22188
+ * @version 168.1.0
22023
22189
  */
22024
22190
 
22025
22191
  /**
@@ -23619,7 +23785,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23619
23785
  /**
23620
23786
  * Journey service.
23621
23787
  * @module purecloud-platform-client-v2/api/JourneyApi
23622
- * @version 167.0.0
23788
+ * @version 168.1.0
23623
23789
  */
23624
23790
 
23625
23791
  /**
@@ -24499,7 +24665,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24499
24665
  /**
24500
24666
  * Knowledge service.
24501
24667
  * @module purecloud-platform-client-v2/api/KnowledgeApi
24502
- * @version 167.0.0
24668
+ * @version 168.1.0
24503
24669
  */
24504
24670
 
24505
24671
  /**
@@ -26931,7 +27097,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26931
27097
  /**
26932
27098
  * LanguageUnderstanding service.
26933
27099
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
26934
- * @version 167.0.0
27100
+ * @version 168.1.0
26935
27101
  */
26936
27102
 
26937
27103
  /**
@@ -27944,7 +28110,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27944
28110
  /**
27945
28111
  * Languages service.
27946
28112
  * @module purecloud-platform-client-v2/api/LanguagesApi
27947
- * @version 167.0.0
28113
+ * @version 168.1.0
27948
28114
  */
27949
28115
 
27950
28116
  /**
@@ -28162,7 +28328,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28162
28328
  /**
28163
28329
  * Learning service.
28164
28330
  * @module purecloud-platform-client-v2/api/LearningApi
28165
- * @version 167.0.0
28331
+ * @version 168.1.0
28166
28332
  */
28167
28333
 
28168
28334
  /**
@@ -28977,7 +29143,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28977
29143
  /**
28978
29144
  * License service.
28979
29145
  * @module purecloud-platform-client-v2/api/LicenseApi
28980
- * @version 167.0.0
29146
+ * @version 168.1.0
28981
29147
  */
28982
29148
 
28983
29149
  /**
@@ -29215,7 +29381,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29215
29381
  /**
29216
29382
  * Locations service.
29217
29383
  * @module purecloud-platform-client-v2/api/LocationsApi
29218
- * @version 167.0.0
29384
+ * @version 168.1.0
29219
29385
  */
29220
29386
 
29221
29387
  /**
@@ -29451,7 +29617,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29451
29617
  /**
29452
29618
  * Messaging service.
29453
29619
  * @module purecloud-platform-client-v2/api/MessagingApi
29454
- * @version 167.0.0
29620
+ * @version 168.1.0
29455
29621
  */
29456
29622
 
29457
29623
  /**
@@ -29602,7 +29768,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29602
29768
  /**
29603
29769
  * MobileDevices service.
29604
29770
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
29605
- * @version 167.0.0
29771
+ * @version 168.1.0
29606
29772
  */
29607
29773
 
29608
29774
  /**
@@ -29753,7 +29919,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29753
29919
  /**
29754
29920
  * Notifications service.
29755
29921
  * @module purecloud-platform-client-v2/api/NotificationsApi
29756
- * @version 167.0.0
29922
+ * @version 168.1.0
29757
29923
  */
29758
29924
 
29759
29925
  /**
@@ -29986,7 +30152,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29986
30152
  /**
29987
30153
  * OAuth service.
29988
30154
  * @module purecloud-platform-client-v2/api/OAuthApi
29989
- * @version 167.0.0
30155
+ * @version 168.1.0
29990
30156
  */
29991
30157
 
29992
30158
  /**
@@ -30352,7 +30518,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30352
30518
  /**
30353
30519
  * Objects service.
30354
30520
  * @module purecloud-platform-client-v2/api/ObjectsApi
30355
- * @version 167.0.0
30521
+ * @version 168.1.0
30356
30522
  */
30357
30523
 
30358
30524
  /**
@@ -30623,7 +30789,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30623
30789
  /**
30624
30790
  * Organization service.
30625
30791
  * @module purecloud-platform-client-v2/api/OrganizationApi
30626
- * @version 167.0.0
30792
+ * @version 168.1.0
30627
30793
  */
30628
30794
 
30629
30795
  /**
@@ -31026,7 +31192,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31026
31192
  /**
31027
31193
  * OrganizationAuthorization service.
31028
31194
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
31029
- * @version 167.0.0
31195
+ * @version 168.1.0
31030
31196
  */
31031
31197
 
31032
31198
  /**
@@ -32321,7 +32487,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32321
32487
  /**
32322
32488
  * Outbound service.
32323
32489
  * @module purecloud-platform-client-v2/api/OutboundApi
32324
- * @version 167.0.0
32490
+ * @version 168.1.0
32325
32491
  */
32326
32492
 
32327
32493
  /**
@@ -34085,6 +34251,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34085
34251
  );
34086
34252
  }
34087
34253
 
34254
+ /**
34255
+ * Get messaging campaign diagnostics
34256
+ *
34257
+ * @param {String} messagingCampaignId The Messaging Campaign ID
34258
+ */
34259
+ getOutboundMessagingcampaignDiagnostics(messagingCampaignId) {
34260
+ // verify the required parameter 'messagingCampaignId' is set
34261
+ if (messagingCampaignId === undefined || messagingCampaignId === null) {
34262
+ throw 'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaignDiagnostics';
34263
+ }
34264
+
34265
+ return this.apiClient.callApi(
34266
+ '/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/diagnostics',
34267
+ 'GET',
34268
+ { 'messagingCampaignId': messagingCampaignId },
34269
+ { },
34270
+ { },
34271
+ { },
34272
+ null,
34273
+ ['PureCloud OAuth'],
34274
+ ['application/json'],
34275
+ ['application/json']
34276
+ );
34277
+ }
34278
+
34088
34279
  /**
34089
34280
  * Get messaging campaign's progress
34090
34281
  *
@@ -35917,7 +36108,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35917
36108
  /**
35918
36109
  * Presence service.
35919
36110
  * @module purecloud-platform-client-v2/api/PresenceApi
35920
- * @version 167.0.0
36111
+ * @version 168.1.0
35921
36112
  */
35922
36113
 
35923
36114
  /**
@@ -36468,7 +36659,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36468
36659
  /**
36469
36660
  * ProcessAutomation service.
36470
36661
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
36471
- * @version 167.0.0
36662
+ * @version 168.1.0
36472
36663
  */
36473
36664
 
36474
36665
  /**
@@ -36707,7 +36898,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36707
36898
  /**
36708
36899
  * Quality service.
36709
36900
  * @module purecloud-platform-client-v2/api/QualityApi
36710
- * @version 167.0.0
36901
+ * @version 168.1.0
36711
36902
  */
36712
36903
 
36713
36904
  /**
@@ -38128,7 +38319,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38128
38319
  * @param {String} evaluationId evaluationId
38129
38320
  * @param {Object} body evaluation
38130
38321
  * @param {Object} opts Optional parameters
38131
- * @param {String} opts.expand evaluatorId, evaluationForm
38322
+ * @param {String} opts.expand evaluatorId, evaluationForm, assignee
38132
38323
  */
38133
38324
  putQualityConversationEvaluation(conversationId, evaluationId, body, opts) {
38134
38325
  opts = opts || {};
@@ -38286,7 +38477,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38286
38477
  /**
38287
38478
  * Recording service.
38288
38479
  * @module purecloud-platform-client-v2/api/RecordingApi
38289
- * @version 167.0.0
38480
+ * @version 168.1.0
38290
38481
  */
38291
38482
 
38292
38483
  /**
@@ -38593,7 +38784,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38593
38784
  }
38594
38785
 
38595
38786
  /**
38596
- * 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.
38787
+ * 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.
38597
38788
  *
38598
38789
  * @param {String} conversationId Conversation ID
38599
38790
  */
@@ -39923,7 +40114,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39923
40114
  /**
39924
40115
  * ResponseManagement service.
39925
40116
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
39926
- * @version 167.0.0
40117
+ * @version 168.1.0
39927
40118
  */
39928
40119
 
39929
40120
  /**
@@ -40020,6 +40211,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40020
40211
  * @param {Number} opts.pageNumber Page number (default to 1)
40021
40212
  * @param {Number} opts.pageSize Page size (default to 25)
40022
40213
  * @param {Object} opts.messagingTemplateFilter Returns a list of libraries that contain responses with at least one messaging template defined for a specific message channel
40214
+ * @param {String} opts.libraryPrefix Returns a list of libraries that contain the prefix provided
40023
40215
  */
40024
40216
  getResponsemanagementLibraries(opts) {
40025
40217
  opts = opts || {};
@@ -40029,7 +40221,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40029
40221
  '/api/v2/responsemanagement/libraries',
40030
40222
  'GET',
40031
40223
  { },
40032
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'] },
40224
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'],'libraryPrefix': opts['libraryPrefix'] },
40033
40225
  { },
40034
40226
  { },
40035
40227
  null,
@@ -40407,7 +40599,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40407
40599
  /**
40408
40600
  * Routing service.
40409
40601
  * @module purecloud-platform-client-v2/api/RoutingApi
40410
- * @version 167.0.0
40602
+ * @version 168.1.0
40411
40603
  */
40412
40604
 
40413
40605
  /**
@@ -43916,7 +44108,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43916
44108
  /**
43917
44109
  * SCIM service.
43918
44110
  * @module purecloud-platform-client-v2/api/SCIMApi
43919
- * @version 167.0.0
44111
+ * @version 168.1.0
43920
44112
  */
43921
44113
 
43922
44114
  /**
@@ -44793,7 +44985,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44793
44985
  /**
44794
44986
  * Scripts service.
44795
44987
  * @module purecloud-platform-client-v2/api/ScriptsApi
44796
- * @version 167.0.0
44988
+ * @version 168.1.0
44797
44989
  */
44798
44990
 
44799
44991
  /**
@@ -45212,7 +45404,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45212
45404
  /**
45213
45405
  * Search service.
45214
45406
  * @module purecloud-platform-client-v2/api/SearchApi
45215
- * @version 167.0.0
45407
+ * @version 168.1.0
45216
45408
  */
45217
45409
 
45218
45410
  /**
@@ -45822,7 +46014,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45822
46014
  /**
45823
46015
  * SpeechTextAnalytics service.
45824
46016
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
45825
- * @version 167.0.0
46017
+ * @version 168.1.0
45826
46018
  */
45827
46019
 
45828
46020
  /**
@@ -46751,7 +46943,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46751
46943
  /**
46752
46944
  * Stations service.
46753
46945
  * @module purecloud-platform-client-v2/api/StationsApi
46754
- * @version 167.0.0
46946
+ * @version 168.1.0
46755
46947
  */
46756
46948
 
46757
46949
  /**
@@ -46847,58 +47039,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46847
47039
  );
46848
47040
  }
46849
47041
 
46850
- /**
46851
- * Get an organization's StationSettings
46852
- * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
46853
- */
46854
- getStationsSettings() {
46855
-
46856
- return this.apiClient.callApi(
46857
- '/api/v2/stations/settings',
46858
- 'GET',
46859
- { },
46860
- { },
46861
- { },
46862
- { },
46863
- null,
46864
- ['PureCloud OAuth'],
46865
- ['application/json'],
46866
- ['application/json']
46867
- );
46868
- }
46869
-
46870
- /**
46871
- * Patch an organization's StationSettings
46872
- * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
46873
- * @param {Object} body Station settings
46874
- */
46875
- patchStationsSettings(body) {
46876
- // verify the required parameter 'body' is set
46877
- if (body === undefined || body === null) {
46878
- throw 'Missing the required parameter "body" when calling patchStationsSettings';
46879
- }
46880
-
46881
- return this.apiClient.callApi(
46882
- '/api/v2/stations/settings',
46883
- 'PATCH',
46884
- { },
46885
- { },
46886
- { },
46887
- { },
46888
- body,
46889
- ['PureCloud OAuth'],
46890
- ['application/json'],
46891
- ['application/json']
46892
- );
46893
- }
46894
-
46895
47042
  }
46896
47043
 
46897
47044
  class SuggestApi {
46898
47045
  /**
46899
47046
  * Suggest service.
46900
47047
  * @module purecloud-platform-client-v2/api/SuggestApi
46901
- * @version 167.0.0
47048
+ * @version 168.1.0
46902
47049
  */
46903
47050
 
46904
47051
  /**
@@ -47037,7 +47184,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47037
47184
  /**
47038
47185
  * Teams service.
47039
47186
  * @module purecloud-platform-client-v2/api/TeamsApi
47040
- * @version 167.0.0
47187
+ * @version 168.1.0
47041
47188
  */
47042
47189
 
47043
47190
  /**
@@ -47308,7 +47455,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47308
47455
  /**
47309
47456
  * Telephony service.
47310
47457
  * @module purecloud-platform-client-v2/api/TelephonyApi
47311
- * @version 167.0.0
47458
+ * @version 168.1.0
47312
47459
  */
47313
47460
 
47314
47461
  /**
@@ -47436,7 +47583,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47436
47583
  /**
47437
47584
  * TelephonyProvidersEdge service.
47438
47585
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
47439
- * @version 167.0.0
47586
+ * @version 168.1.0
47440
47587
  */
47441
47588
 
47442
47589
  /**
@@ -50636,7 +50783,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50636
50783
  /**
50637
50784
  * Textbots service.
50638
50785
  * @module purecloud-platform-client-v2/api/TextbotsApi
50639
- * @version 167.0.0
50786
+ * @version 168.1.0
50640
50787
  */
50641
50788
 
50642
50789
  /**
@@ -50764,7 +50911,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50764
50911
  /**
50765
50912
  * Tokens service.
50766
50913
  * @module purecloud-platform-client-v2/api/TokensApi
50767
- * @version 167.0.0
50914
+ * @version 168.1.0
50768
50915
  */
50769
50916
 
50770
50917
  /**
@@ -50870,7 +51017,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50870
51017
  /**
50871
51018
  * Uploads service.
50872
51019
  * @module purecloud-platform-client-v2/api/UploadsApi
50873
- * @version 167.0.0
51020
+ * @version 168.1.0
50874
51021
  */
50875
51022
 
50876
51023
  /**
@@ -51046,7 +51193,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51046
51193
  /**
51047
51194
  * Usage service.
51048
51195
  * @module purecloud-platform-client-v2/api/UsageApi
51049
- * @version 167.0.0
51196
+ * @version 168.1.0
51050
51197
  */
51051
51198
 
51052
51199
  /**
@@ -51206,7 +51353,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51206
51353
  /**
51207
51354
  * UserRecordings service.
51208
51355
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
51209
- * @version 167.0.0
51356
+ * @version 168.1.0
51210
51357
  */
51211
51358
 
51212
51359
  /**
@@ -51391,7 +51538,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51391
51538
  /**
51392
51539
  * Users service.
51393
51540
  * @module purecloud-platform-client-v2/api/UsersApi
51394
- * @version 167.0.0
51541
+ * @version 168.1.0
51395
51542
  */
51396
51543
 
51397
51544
  /**
@@ -53781,7 +53928,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53781
53928
  /**
53782
53929
  * Utilities service.
53783
53930
  * @module purecloud-platform-client-v2/api/UtilitiesApi
53784
- * @version 167.0.0
53931
+ * @version 168.1.0
53785
53932
  */
53786
53933
 
53787
53934
  /**
@@ -53892,7 +54039,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53892
54039
  /**
53893
54040
  * Voicemail service.
53894
54041
  * @module purecloud-platform-client-v2/api/VoicemailApi
53895
- * @version 167.0.0
54042
+ * @version 168.1.0
53896
54043
  */
53897
54044
 
53898
54045
  /**
@@ -54559,7 +54706,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54559
54706
  /**
54560
54707
  * WebChat service.
54561
54708
  * @module purecloud-platform-client-v2/api/WebChatApi
54562
- * @version 167.0.0
54709
+ * @version 168.1.0
54563
54710
  */
54564
54711
 
54565
54712
  /**
@@ -55103,7 +55250,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55103
55250
  /**
55104
55251
  * WebDeployments service.
55105
55252
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
55106
- * @version 167.0.0
55253
+ * @version 168.1.0
55107
55254
  */
55108
55255
 
55109
55256
  /**
@@ -55625,7 +55772,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55625
55772
  /**
55626
55773
  * WebMessaging service.
55627
55774
  * @module purecloud-platform-client-v2/api/WebMessagingApi
55628
- * @version 167.0.0
55775
+ * @version 168.1.0
55629
55776
  */
55630
55777
 
55631
55778
  /**
@@ -55671,7 +55818,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55671
55818
  /**
55672
55819
  * Widgets service.
55673
55820
  * @module purecloud-platform-client-v2/api/WidgetsApi
55674
- * @version 167.0.0
55821
+ * @version 168.1.0
55675
55822
  */
55676
55823
 
55677
55824
  /**
@@ -55817,7 +55964,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55817
55964
  /**
55818
55965
  * WorkforceManagement service.
55819
55966
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
55820
- * @version 167.0.0
55967
+ * @version 168.1.0
55821
55968
  */
55822
55969
 
55823
55970
  /**
@@ -56442,7 +56589,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56442
56589
  * Expanding "settings" will retrieve all settings. All other expands will retrieve only the requested settings field(s).
56443
56590
  * @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
56444
56591
  * @param {Object} opts Optional parameters
56445
- * @param {Array.<String>} opts.expand
56592
+ * @param {Array.<String>} opts.expand Include to access additional data on the business unit
56446
56593
  */
56447
56594
  getWorkforcemanagementBusinessunit(businessUnitId, opts) {
56448
56595
  opts = opts || {};
@@ -56981,7 +57128,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56981
57128
  * @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
56982
57129
  * @param {String} forecastId The ID of the forecast
56983
57130
  * @param {Object} opts Optional parameters
56984
- * @param {Array.<String>} opts.expand
57131
+ * @param {Array.<String>} opts.expand Include to access additional data on the forecast
56985
57132
  */
56986
57133
  getWorkforcemanagementBusinessunitWeekShorttermforecast(businessUnitId, weekDateId, forecastId, opts) {
56987
57134
  opts = opts || {};
@@ -57970,7 +58117,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57970
58117
  * "expand=details" is deprecated
57971
58118
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
57972
58119
  * @param {Object} opts Optional parameters
57973
- * @param {Array.<String>} opts.expand
58120
+ * @param {Array.<String>} opts.expand Include to access additional data on the work plans
57974
58121
  */
57975
58122
  getWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
57976
58123
  opts = opts || {};
@@ -59478,7 +59625,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59478
59625
  *
59479
59626
  * @param {String} businessUnitId The ID of the business unit to which the forecast belongs
59480
59627
  * @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
59481
- * @param {Object} body
59628
+ * @param {Object} body body
59482
59629
  * @param {Object} opts Optional parameters
59483
59630
  * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
59484
59631
  */
@@ -59517,7 +59664,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59517
59664
  * Call after uploading the forecast data to the url supplied by the /import/uploadurl route
59518
59665
  * @param {String} businessUnitId The ID of the business unit to which the forecast belongs
59519
59666
  * @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
59520
- * @param {Object} body
59667
+ * @param {Object} body body
59521
59668
  */
59522
59669
  postWorkforcemanagementBusinessunitWeekShorttermforecastsImport(businessUnitId, weekDateId, body) {
59523
59670
  // verify the required parameter 'businessUnitId' is set
@@ -60448,6 +60595,64 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60448
60595
  );
60449
60596
  }
60450
60597
 
60598
+ /**
60599
+ * Request a teams historical adherence report
60600
+ * The maximum supported range for historical adherence queries is 31 days, or 7 days with includeExceptions = true
60601
+ * @param {String} teamId The ID of the team
60602
+ * @param {Object} opts Optional parameters
60603
+ * @param {Object} opts.body body
60604
+ */
60605
+ postWorkforcemanagementTeamAdherenceHistorical(teamId, opts) {
60606
+ opts = opts || {};
60607
+
60608
+ // verify the required parameter 'teamId' is set
60609
+ if (teamId === undefined || teamId === null) {
60610
+ throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamAdherenceHistorical';
60611
+ }
60612
+
60613
+ return this.apiClient.callApi(
60614
+ '/api/v2/workforcemanagement/teams/{teamId}/adherence/historical',
60615
+ 'POST',
60616
+ { 'teamId': teamId },
60617
+ { },
60618
+ { },
60619
+ { },
60620
+ opts['body'],
60621
+ ['PureCloud OAuth'],
60622
+ ['application/json'],
60623
+ ['application/json']
60624
+ );
60625
+ }
60626
+
60627
+ /**
60628
+ * Request a historical shrinkage report
60629
+ * The maximum supported range for historical shrinkage queries is up to 32 days
60630
+ * @param {String} teamId The ID of the team
60631
+ * @param {Object} opts Optional parameters
60632
+ * @param {Object} opts.body body
60633
+ */
60634
+ postWorkforcemanagementTeamShrinkageJobs(teamId, opts) {
60635
+ opts = opts || {};
60636
+
60637
+ // verify the required parameter 'teamId' is set
60638
+ if (teamId === undefined || teamId === null) {
60639
+ throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamShrinkageJobs';
60640
+ }
60641
+
60642
+ return this.apiClient.callApi(
60643
+ '/api/v2/workforcemanagement/teams/{teamId}/shrinkage/jobs',
60644
+ 'POST',
60645
+ { 'teamId': teamId },
60646
+ { },
60647
+ { },
60648
+ { },
60649
+ opts['body'],
60650
+ ['PureCloud OAuth'],
60651
+ ['application/json'],
60652
+ ['application/json']
60653
+ );
60654
+ }
60655
+
60451
60656
  /**
60452
60657
  * Queries available time off for the current user
60453
60658
  *
@@ -60561,7 +60766,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60561
60766
  * </pre>
60562
60767
  * </p>
60563
60768
  * @module purecloud-platform-client-v2/index
60564
- * @version 167.0.0
60769
+ * @version 168.1.0
60565
60770
  */
60566
60771
  class platformClient {
60567
60772
  constructor() {
@@ -60605,6 +60810,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60605
60810
  * @property {module:purecloud-platform-client-v2/api/BillingApi}
60606
60811
  */
60607
60812
  this.BillingApi = BillingApi;
60813
+ /**
60814
+ * The CarrierServicesApi service constructor.
60815
+ * @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}
60816
+ */
60817
+ this.CarrierServicesApi = CarrierServicesApi;
60608
60818
  /**
60609
60819
  * The ChatApi service constructor.
60610
60820
  * @property {module:purecloud-platform-client-v2/api/ChatApi}