purecloud-platform-client-v2 167.0.0 → 168.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +273 -121
  3. package/dist/web-amd/purecloud-platform-client-v2.js +273 -121
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +273 -121
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +273 -121
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +371 -205
  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 +1 -1
  79. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -402,7 +402,7 @@ class Configuration {
402
402
 
403
403
  /**
404
404
  * @module purecloud-platform-client-v2/ApiClient
405
- * @version 167.0.0
405
+ * @version 168.0.0
406
406
  */
407
407
  class ApiClient {
408
408
  /**
@@ -1488,7 +1488,7 @@ class AlertingApi {
1488
1488
  /**
1489
1489
  * Alerting service.
1490
1490
  * @module purecloud-platform-client-v2/api/AlertingApi
1491
- * @version 167.0.0
1491
+ * @version 168.0.0
1492
1492
  */
1493
1493
 
1494
1494
  /**
@@ -1802,7 +1802,7 @@ class AnalyticsApi {
1802
1802
  /**
1803
1803
  * Analytics service.
1804
1804
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1805
- * @version 167.0.0
1805
+ * @version 168.0.0
1806
1806
  */
1807
1807
 
1808
1808
  /**
@@ -3056,7 +3056,7 @@ class ArchitectApi {
3056
3056
  /**
3057
3057
  * Architect service.
3058
3058
  * @module purecloud-platform-client-v2/api/ArchitectApi
3059
- * @version 167.0.0
3059
+ * @version 168.0.0
3060
3060
  */
3061
3061
 
3062
3062
  /**
@@ -6104,7 +6104,7 @@ class AuditApi {
6104
6104
  /**
6105
6105
  * Audit service.
6106
6106
  * @module purecloud-platform-client-v2/api/AuditApi
6107
- * @version 167.0.0
6107
+ * @version 168.0.0
6108
6108
  */
6109
6109
 
6110
6110
  /**
@@ -6275,7 +6275,7 @@ class AuthorizationApi {
6275
6275
  /**
6276
6276
  * Authorization service.
6277
6277
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6278
- * @version 167.0.0
6278
+ * @version 168.0.0
6279
6279
  */
6280
6280
 
6281
6281
  /**
@@ -7504,7 +7504,7 @@ class BillingApi {
7504
7504
  /**
7505
7505
  * Billing service.
7506
7506
  * @module purecloud-platform-client-v2/api/BillingApi
7507
- * @version 167.0.0
7507
+ * @version 168.0.0
7508
7508
  */
7509
7509
 
7510
7510
  /**
@@ -7580,11 +7580,81 @@ class BillingApi {
7580
7580
 
7581
7581
  }
7582
7582
 
7583
+ class CarrierServicesApi {
7584
+ /**
7585
+ * CarrierServices service.
7586
+ * @module purecloud-platform-client-v2/api/CarrierServicesApi
7587
+ * @version 168.0.0
7588
+ */
7589
+
7590
+ /**
7591
+ * Constructs a new CarrierServicesApi.
7592
+ * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
7593
+ * @class
7594
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
7595
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
7596
+ */
7597
+ constructor(apiClient) {
7598
+ this.apiClient = apiClient || ApiClient.instance;
7599
+ }
7600
+
7601
+
7602
+ /**
7603
+ * Get location for the logged in user
7604
+ *
7605
+ * @param {String} phoneNumber Phone number in E164 format
7606
+ */
7607
+ getCarrierservicesIntegrationsEmergencylocationsMe(phoneNumber) {
7608
+ // verify the required parameter 'phoneNumber' is set
7609
+ if (phoneNumber === undefined || phoneNumber === null) {
7610
+ throw 'Missing the required parameter "phoneNumber" when calling getCarrierservicesIntegrationsEmergencylocationsMe';
7611
+ }
7612
+
7613
+ return this.apiClient.callApi(
7614
+ '/api/v2/carrierservices/integrations/emergencylocations/me',
7615
+ 'GET',
7616
+ { },
7617
+ { 'phoneNumber': phoneNumber },
7618
+ { },
7619
+ { },
7620
+ null,
7621
+ ['PureCloud OAuth'],
7622
+ ['application/json'],
7623
+ ['application/json']
7624
+ );
7625
+ }
7626
+
7627
+ /**
7628
+ * Set current location for the logged in user
7629
+ *
7630
+ * @param {Object} opts Optional parameters
7631
+ * @param {Object} opts.body
7632
+ */
7633
+ postCarrierservicesIntegrationsEmergencylocationsMe(opts) {
7634
+ opts = opts || {};
7635
+
7636
+
7637
+ return this.apiClient.callApi(
7638
+ '/api/v2/carrierservices/integrations/emergencylocations/me',
7639
+ 'POST',
7640
+ { },
7641
+ { },
7642
+ { },
7643
+ { },
7644
+ opts['body'],
7645
+ ['PureCloud OAuth'],
7646
+ ['application/json'],
7647
+ ['application/json']
7648
+ );
7649
+ }
7650
+
7651
+ }
7652
+
7583
7653
  class ChatApi {
7584
7654
  /**
7585
7655
  * Chat service.
7586
7656
  * @module purecloud-platform-client-v2/api/ChatApi
7587
- * @version 167.0.0
7657
+ * @version 168.0.0
7588
7658
  */
7589
7659
 
7590
7660
  /**
@@ -7745,7 +7815,7 @@ class CoachingApi {
7745
7815
  /**
7746
7816
  * Coaching service.
7747
7817
  * @module purecloud-platform-client-v2/api/CoachingApi
7748
- * @version 167.0.0
7818
+ * @version 168.0.0
7749
7819
  */
7750
7820
 
7751
7821
  /**
@@ -8322,7 +8392,7 @@ class ContentManagementApi {
8322
8392
  /**
8323
8393
  * ContentManagement service.
8324
8394
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8325
- * @version 167.0.0
8395
+ * @version 168.0.0
8326
8396
  */
8327
8397
 
8328
8398
  /**
@@ -9462,7 +9532,7 @@ class ConversationsApi {
9462
9532
  /**
9463
9533
  * Conversations service.
9464
9534
  * @module purecloud-platform-client-v2/api/ConversationsApi
9465
- * @version 167.0.0
9535
+ * @version 168.0.0
9466
9536
  */
9467
9537
 
9468
9538
  /**
@@ -12727,6 +12797,37 @@ class ConversationsApi {
12727
12797
  );
12728
12798
  }
12729
12799
 
12800
+ /**
12801
+ * Reset conversation draft to its initial state and/or auto-fill draft content
12802
+ *
12803
+ * @param {String} conversationId conversationId
12804
+ * @param {Object} opts Optional parameters
12805
+ * @param {Boolean} opts.autoFill autoFill
12806
+ * @param {Boolean} opts.discard discard
12807
+ * @param {Object} opts.body Draft Manipulation Request
12808
+ */
12809
+ patchConversationsEmailMessagesDraft(conversationId, opts) {
12810
+ opts = opts || {};
12811
+
12812
+ // verify the required parameter 'conversationId' is set
12813
+ if (conversationId === undefined || conversationId === null) {
12814
+ throw 'Missing the required parameter "conversationId" when calling patchConversationsEmailMessagesDraft';
12815
+ }
12816
+
12817
+ return this.apiClient.callApi(
12818
+ '/api/v2/conversations/emails/{conversationId}/messages/draft',
12819
+ 'PATCH',
12820
+ { 'conversationId': conversationId },
12821
+ { 'autoFill': opts['autoFill'],'discard': opts['discard'] },
12822
+ { },
12823
+ { },
12824
+ opts['body'],
12825
+ ['PureCloud OAuth'],
12826
+ ['application/json'],
12827
+ ['application/json']
12828
+ );
12829
+ }
12830
+
12730
12831
  /**
12731
12832
  * Update conversation participant
12732
12833
  *
@@ -15522,7 +15623,7 @@ class DataExtensionsApi {
15522
15623
  /**
15523
15624
  * DataExtensions service.
15524
15625
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
15525
- * @version 167.0.0
15626
+ * @version 168.0.0
15526
15627
  */
15527
15628
 
15528
15629
  /**
@@ -15608,7 +15709,7 @@ class DownloadsApi {
15608
15709
  /**
15609
15710
  * Downloads service.
15610
15711
  * @module purecloud-platform-client-v2/api/DownloadsApi
15611
- * @version 167.0.0
15712
+ * @version 168.0.0
15612
15713
  */
15613
15714
 
15614
15715
  /**
@@ -15660,7 +15761,7 @@ class EventsApi {
15660
15761
  /**
15661
15762
  * Events service.
15662
15763
  * @module purecloud-platform-client-v2/api/EventsApi
15663
- * @version 167.0.0
15764
+ * @version 168.0.0
15664
15765
  */
15665
15766
 
15666
15767
  /**
@@ -15756,7 +15857,7 @@ class ExternalContactsApi {
15756
15857
  /**
15757
15858
  * ExternalContacts service.
15758
15859
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
15759
- * @version 167.0.0
15860
+ * @version 168.0.0
15760
15861
  */
15761
15862
 
15762
15863
  /**
@@ -17300,7 +17401,7 @@ class ExternalContactsApi {
17300
17401
 
17301
17402
  /**
17302
17403
  * Merge two contacts into a new contact record
17303
- *
17404
+ * Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
17304
17405
  * @param {Object} body MergeRequest
17305
17406
  */
17306
17407
  postExternalcontactsMergeContacts(body) {
@@ -17714,7 +17815,7 @@ class FaxApi {
17714
17815
  /**
17715
17816
  * Fax service.
17716
17817
  * @module purecloud-platform-client-v2/api/FaxApi
17717
- * @version 167.0.0
17818
+ * @version 168.0.0
17718
17819
  */
17719
17820
 
17720
17821
  /**
@@ -17885,7 +17986,7 @@ class FlowsApi {
17885
17986
  /**
17886
17987
  * Flows service.
17887
17988
  * @module purecloud-platform-client-v2/api/FlowsApi
17888
- * @version 167.0.0
17989
+ * @version 168.0.0
17889
17990
  */
17890
17991
 
17891
17992
  /**
@@ -17956,7 +18057,7 @@ class GamificationApi {
17956
18057
  /**
17957
18058
  * Gamification service.
17958
18059
  * @module purecloud-platform-client-v2/api/GamificationApi
17959
- * @version 167.0.0
18060
+ * @version 168.0.0
17960
18061
  */
17961
18062
 
17962
18063
  /**
@@ -20042,7 +20143,7 @@ class GeneralDataProtectionRegulationApi {
20042
20143
  /**
20043
20144
  * GeneralDataProtectionRegulation service.
20044
20145
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
20045
- * @version 167.0.0
20146
+ * @version 168.0.0
20046
20147
  */
20047
20148
 
20048
20149
  /**
@@ -20172,7 +20273,7 @@ class GeolocationApi {
20172
20273
  /**
20173
20274
  * Geolocation service.
20174
20275
  * @module purecloud-platform-client-v2/api/GeolocationApi
20175
- * @version 167.0.0
20276
+ * @version 168.0.0
20176
20277
  */
20177
20278
 
20178
20279
  /**
@@ -20303,7 +20404,7 @@ class GreetingsApi {
20303
20404
  /**
20304
20405
  * Greetings service.
20305
20406
  * @module purecloud-platform-client-v2/api/GreetingsApi
20306
- * @version 167.0.0
20407
+ * @version 168.0.0
20307
20408
  */
20308
20409
 
20309
20410
  /**
@@ -20758,7 +20859,7 @@ class GroupsApi {
20758
20859
  /**
20759
20860
  * Groups service.
20760
20861
  * @module purecloud-platform-client-v2/api/GroupsApi
20761
- * @version 167.0.0
20862
+ * @version 168.0.0
20762
20863
  */
20763
20864
 
20764
20865
  /**
@@ -21164,7 +21265,7 @@ class IdentityProviderApi {
21164
21265
  /**
21165
21266
  * IdentityProvider service.
21166
21267
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
21167
- * @version 167.0.0
21268
+ * @version 168.0.0
21168
21269
  */
21169
21270
 
21170
21271
  /**
@@ -21920,7 +22021,7 @@ class InfrastructureAsCodeApi {
21920
22021
  /**
21921
22022
  * InfrastructureAsCode service.
21922
22023
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
21923
- * @version 167.0.0
22024
+ * @version 168.0.0
21924
22025
  */
21925
22026
 
21926
22027
  /**
@@ -21935,6 +22036,68 @@ class InfrastructureAsCodeApi {
21935
22036
  }
21936
22037
 
21937
22038
 
22039
+ /**
22040
+ * Get information about an accelerator
22041
+ * Get the complete metadata specification for an accelerator, including requirements and parameters.
22042
+ * @param {String} acceleratorId Accelerator ID
22043
+ * @param {Object} opts Optional parameters
22044
+ * @param {Object} opts.preferredLanguage Preferred Language (default to en-US)
22045
+ */
22046
+ getInfrastructureascodeAccelerator(acceleratorId, opts) {
22047
+ opts = opts || {};
22048
+
22049
+ // verify the required parameter 'acceleratorId' is set
22050
+ if (acceleratorId === undefined || acceleratorId === null) {
22051
+ throw 'Missing the required parameter "acceleratorId" when calling getInfrastructureascodeAccelerator';
22052
+ }
22053
+
22054
+ return this.apiClient.callApi(
22055
+ '/api/v2/infrastructureascode/accelerators/{acceleratorId}',
22056
+ 'GET',
22057
+ { 'acceleratorId': acceleratorId },
22058
+ { 'preferredLanguage': opts['preferredLanguage'] },
22059
+ { },
22060
+ { },
22061
+ null,
22062
+ ['PureCloud OAuth'],
22063
+ ['application/json'],
22064
+ ['application/json']
22065
+ );
22066
+ }
22067
+
22068
+ /**
22069
+ * Get a list of available accelerators
22070
+ * Search for accelerators that can be run.
22071
+ * @param {Object} opts Optional parameters
22072
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
22073
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
22074
+ * @param {String} opts.sortBy variable name requested to sort by
22075
+ * @param {Object} opts.sortOrder Sort order (default to asc)
22076
+ * @param {String} opts.name Filter by name
22077
+ * @param {String} opts.description Filter by description
22078
+ * @param {Object} opts.origin Filter by origin
22079
+ * @param {Object} opts.type Filter by type
22080
+ * @param {String} opts.classification Filter by classification
22081
+ * @param {String} opts.tags Filter by tags
22082
+ */
22083
+ getInfrastructureascodeAccelerators(opts) {
22084
+ opts = opts || {};
22085
+
22086
+
22087
+ return this.apiClient.callApi(
22088
+ '/api/v2/infrastructureascode/accelerators',
22089
+ 'GET',
22090
+ { },
22091
+ { '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'] },
22092
+ { },
22093
+ { },
22094
+ null,
22095
+ ['PureCloud OAuth'],
22096
+ ['application/json'],
22097
+ ['application/json']
22098
+ );
22099
+ }
22100
+
21938
22101
  /**
21939
22102
  * Get job status and results
21940
22103
  * Get the execution status of a submitted job, optionally including results and error details.
@@ -21970,8 +22133,11 @@ class InfrastructureAsCodeApi {
21970
22133
  * @param {Object} opts Optional parameters
21971
22134
  * @param {Number} opts.maxResults Number of jobs to show (default to 1)
21972
22135
  * @param {Boolean} opts.includeErrors Include error messages (default to false)
21973
- * @param {Object} opts.sortBy Sort by (default to id)
21974
- * @param {Object} opts.sortOrder Sort order (default to asc)
22136
+ * @param {Object} opts.sortBy Sort by (default to dateSubmitted)
22137
+ * @param {Object} opts.sortOrder Sort order (default to desc)
22138
+ * @param {String} opts.acceleratorId Find only jobs associated with this accelerator
22139
+ * @param {String} opts.submittedBy Find only jobs submitted by this user
22140
+ * @param {Object} opts.status Find only jobs in this state
21975
22141
  */
21976
22142
  getInfrastructureascodeJobs(opts) {
21977
22143
  opts = opts || {};
@@ -21981,7 +22147,7 @@ class InfrastructureAsCodeApi {
21981
22147
  '/api/v2/infrastructureascode/jobs',
21982
22148
  'GET',
21983
22149
  { },
21984
- { 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
22150
+ { 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'acceleratorId': opts['acceleratorId'],'submittedBy': opts['submittedBy'],'status': opts['status'] },
21985
22151
  { },
21986
22152
  { },
21987
22153
  null,
@@ -22022,7 +22188,7 @@ class IntegrationsApi {
22022
22188
  /**
22023
22189
  * Integrations service.
22024
22190
  * @module purecloud-platform-client-v2/api/IntegrationsApi
22025
- * @version 167.0.0
22191
+ * @version 168.0.0
22026
22192
  */
22027
22193
 
22028
22194
  /**
@@ -23622,7 +23788,7 @@ class JourneyApi {
23622
23788
  /**
23623
23789
  * Journey service.
23624
23790
  * @module purecloud-platform-client-v2/api/JourneyApi
23625
- * @version 167.0.0
23791
+ * @version 168.0.0
23626
23792
  */
23627
23793
 
23628
23794
  /**
@@ -24502,7 +24668,7 @@ class KnowledgeApi {
24502
24668
  /**
24503
24669
  * Knowledge service.
24504
24670
  * @module purecloud-platform-client-v2/api/KnowledgeApi
24505
- * @version 167.0.0
24671
+ * @version 168.0.0
24506
24672
  */
24507
24673
 
24508
24674
  /**
@@ -26934,7 +27100,7 @@ class LanguageUnderstandingApi {
26934
27100
  /**
26935
27101
  * LanguageUnderstanding service.
26936
27102
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
26937
- * @version 167.0.0
27103
+ * @version 168.0.0
26938
27104
  */
26939
27105
 
26940
27106
  /**
@@ -27947,7 +28113,7 @@ class LanguagesApi {
27947
28113
  /**
27948
28114
  * Languages service.
27949
28115
  * @module purecloud-platform-client-v2/api/LanguagesApi
27950
- * @version 167.0.0
28116
+ * @version 168.0.0
27951
28117
  */
27952
28118
 
27953
28119
  /**
@@ -28165,7 +28331,7 @@ class LearningApi {
28165
28331
  /**
28166
28332
  * Learning service.
28167
28333
  * @module purecloud-platform-client-v2/api/LearningApi
28168
- * @version 167.0.0
28334
+ * @version 168.0.0
28169
28335
  */
28170
28336
 
28171
28337
  /**
@@ -28980,7 +29146,7 @@ class LicenseApi {
28980
29146
  /**
28981
29147
  * License service.
28982
29148
  * @module purecloud-platform-client-v2/api/LicenseApi
28983
- * @version 167.0.0
29149
+ * @version 168.0.0
28984
29150
  */
28985
29151
 
28986
29152
  /**
@@ -29218,7 +29384,7 @@ class LocationsApi {
29218
29384
  /**
29219
29385
  * Locations service.
29220
29386
  * @module purecloud-platform-client-v2/api/LocationsApi
29221
- * @version 167.0.0
29387
+ * @version 168.0.0
29222
29388
  */
29223
29389
 
29224
29390
  /**
@@ -29454,7 +29620,7 @@ class MessagingApi {
29454
29620
  /**
29455
29621
  * Messaging service.
29456
29622
  * @module purecloud-platform-client-v2/api/MessagingApi
29457
- * @version 167.0.0
29623
+ * @version 168.0.0
29458
29624
  */
29459
29625
 
29460
29626
  /**
@@ -29605,7 +29771,7 @@ class MobileDevicesApi {
29605
29771
  /**
29606
29772
  * MobileDevices service.
29607
29773
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
29608
- * @version 167.0.0
29774
+ * @version 168.0.0
29609
29775
  */
29610
29776
 
29611
29777
  /**
@@ -29756,7 +29922,7 @@ class NotificationsApi {
29756
29922
  /**
29757
29923
  * Notifications service.
29758
29924
  * @module purecloud-platform-client-v2/api/NotificationsApi
29759
- * @version 167.0.0
29925
+ * @version 168.0.0
29760
29926
  */
29761
29927
 
29762
29928
  /**
@@ -29989,7 +30155,7 @@ class OAuthApi {
29989
30155
  /**
29990
30156
  * OAuth service.
29991
30157
  * @module purecloud-platform-client-v2/api/OAuthApi
29992
- * @version 167.0.0
30158
+ * @version 168.0.0
29993
30159
  */
29994
30160
 
29995
30161
  /**
@@ -30355,7 +30521,7 @@ class ObjectsApi {
30355
30521
  /**
30356
30522
  * Objects service.
30357
30523
  * @module purecloud-platform-client-v2/api/ObjectsApi
30358
- * @version 167.0.0
30524
+ * @version 168.0.0
30359
30525
  */
30360
30526
 
30361
30527
  /**
@@ -30626,7 +30792,7 @@ class OrganizationApi {
30626
30792
  /**
30627
30793
  * Organization service.
30628
30794
  * @module purecloud-platform-client-v2/api/OrganizationApi
30629
- * @version 167.0.0
30795
+ * @version 168.0.0
30630
30796
  */
30631
30797
 
30632
30798
  /**
@@ -31029,7 +31195,7 @@ class OrganizationAuthorizationApi {
31029
31195
  /**
31030
31196
  * OrganizationAuthorization service.
31031
31197
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
31032
- * @version 167.0.0
31198
+ * @version 168.0.0
31033
31199
  */
31034
31200
 
31035
31201
  /**
@@ -32324,7 +32490,7 @@ class OutboundApi {
32324
32490
  /**
32325
32491
  * Outbound service.
32326
32492
  * @module purecloud-platform-client-v2/api/OutboundApi
32327
- * @version 167.0.0
32493
+ * @version 168.0.0
32328
32494
  */
32329
32495
 
32330
32496
  /**
@@ -34088,6 +34254,31 @@ class OutboundApi {
34088
34254
  );
34089
34255
  }
34090
34256
 
34257
+ /**
34258
+ * Get messaging campaign diagnostics
34259
+ *
34260
+ * @param {String} messagingCampaignId The Messaging Campaign ID
34261
+ */
34262
+ getOutboundMessagingcampaignDiagnostics(messagingCampaignId) {
34263
+ // verify the required parameter 'messagingCampaignId' is set
34264
+ if (messagingCampaignId === undefined || messagingCampaignId === null) {
34265
+ throw 'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaignDiagnostics';
34266
+ }
34267
+
34268
+ return this.apiClient.callApi(
34269
+ '/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/diagnostics',
34270
+ 'GET',
34271
+ { 'messagingCampaignId': messagingCampaignId },
34272
+ { },
34273
+ { },
34274
+ { },
34275
+ null,
34276
+ ['PureCloud OAuth'],
34277
+ ['application/json'],
34278
+ ['application/json']
34279
+ );
34280
+ }
34281
+
34091
34282
  /**
34092
34283
  * Get messaging campaign's progress
34093
34284
  *
@@ -35920,7 +36111,7 @@ class PresenceApi {
35920
36111
  /**
35921
36112
  * Presence service.
35922
36113
  * @module purecloud-platform-client-v2/api/PresenceApi
35923
- * @version 167.0.0
36114
+ * @version 168.0.0
35924
36115
  */
35925
36116
 
35926
36117
  /**
@@ -36471,7 +36662,7 @@ class ProcessAutomationApi {
36471
36662
  /**
36472
36663
  * ProcessAutomation service.
36473
36664
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
36474
- * @version 167.0.0
36665
+ * @version 168.0.0
36475
36666
  */
36476
36667
 
36477
36668
  /**
@@ -36710,7 +36901,7 @@ class QualityApi {
36710
36901
  /**
36711
36902
  * Quality service.
36712
36903
  * @module purecloud-platform-client-v2/api/QualityApi
36713
- * @version 167.0.0
36904
+ * @version 168.0.0
36714
36905
  */
36715
36906
 
36716
36907
  /**
@@ -38131,7 +38322,7 @@ class QualityApi {
38131
38322
  * @param {String} evaluationId evaluationId
38132
38323
  * @param {Object} body evaluation
38133
38324
  * @param {Object} opts Optional parameters
38134
- * @param {String} opts.expand evaluatorId, evaluationForm
38325
+ * @param {String} opts.expand evaluatorId, evaluationForm, assignee
38135
38326
  */
38136
38327
  putQualityConversationEvaluation(conversationId, evaluationId, body, opts) {
38137
38328
  opts = opts || {};
@@ -38289,7 +38480,7 @@ class RecordingApi {
38289
38480
  /**
38290
38481
  * Recording service.
38291
38482
  * @module purecloud-platform-client-v2/api/RecordingApi
38292
- * @version 167.0.0
38483
+ * @version 168.0.0
38293
38484
  */
38294
38485
 
38295
38486
  /**
@@ -38596,7 +38787,7 @@ class RecordingApi {
38596
38787
  }
38597
38788
 
38598
38789
  /**
38599
- * 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.
38790
+ * 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.
38600
38791
  *
38601
38792
  * @param {String} conversationId Conversation ID
38602
38793
  */
@@ -39926,7 +40117,7 @@ class ResponseManagementApi {
39926
40117
  /**
39927
40118
  * ResponseManagement service.
39928
40119
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
39929
- * @version 167.0.0
40120
+ * @version 168.0.0
39930
40121
  */
39931
40122
 
39932
40123
  /**
@@ -40023,6 +40214,7 @@ class ResponseManagementApi {
40023
40214
  * @param {Number} opts.pageNumber Page number (default to 1)
40024
40215
  * @param {Number} opts.pageSize Page size (default to 25)
40025
40216
  * @param {Object} opts.messagingTemplateFilter Returns a list of libraries that contain responses with at least one messaging template defined for a specific message channel
40217
+ * @param {String} opts.libraryPrefix Returns a list of libraries that contain the prefix provided
40026
40218
  */
40027
40219
  getResponsemanagementLibraries(opts) {
40028
40220
  opts = opts || {};
@@ -40032,7 +40224,7 @@ class ResponseManagementApi {
40032
40224
  '/api/v2/responsemanagement/libraries',
40033
40225
  'GET',
40034
40226
  { },
40035
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'] },
40227
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'],'libraryPrefix': opts['libraryPrefix'] },
40036
40228
  { },
40037
40229
  { },
40038
40230
  null,
@@ -40410,7 +40602,7 @@ class RoutingApi {
40410
40602
  /**
40411
40603
  * Routing service.
40412
40604
  * @module purecloud-platform-client-v2/api/RoutingApi
40413
- * @version 167.0.0
40605
+ * @version 168.0.0
40414
40606
  */
40415
40607
 
40416
40608
  /**
@@ -43919,7 +44111,7 @@ class SCIMApi {
43919
44111
  /**
43920
44112
  * SCIM service.
43921
44113
  * @module purecloud-platform-client-v2/api/SCIMApi
43922
- * @version 167.0.0
44114
+ * @version 168.0.0
43923
44115
  */
43924
44116
 
43925
44117
  /**
@@ -44796,7 +44988,7 @@ class ScriptsApi {
44796
44988
  /**
44797
44989
  * Scripts service.
44798
44990
  * @module purecloud-platform-client-v2/api/ScriptsApi
44799
- * @version 167.0.0
44991
+ * @version 168.0.0
44800
44992
  */
44801
44993
 
44802
44994
  /**
@@ -45215,7 +45407,7 @@ class SearchApi {
45215
45407
  /**
45216
45408
  * Search service.
45217
45409
  * @module purecloud-platform-client-v2/api/SearchApi
45218
- * @version 167.0.0
45410
+ * @version 168.0.0
45219
45411
  */
45220
45412
 
45221
45413
  /**
@@ -45825,7 +46017,7 @@ class SpeechTextAnalyticsApi {
45825
46017
  /**
45826
46018
  * SpeechTextAnalytics service.
45827
46019
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
45828
- * @version 167.0.0
46020
+ * @version 168.0.0
45829
46021
  */
45830
46022
 
45831
46023
  /**
@@ -46754,7 +46946,7 @@ class StationsApi {
46754
46946
  /**
46755
46947
  * Stations service.
46756
46948
  * @module purecloud-platform-client-v2/api/StationsApi
46757
- * @version 167.0.0
46949
+ * @version 168.0.0
46758
46950
  */
46759
46951
 
46760
46952
  /**
@@ -46850,58 +47042,13 @@ class StationsApi {
46850
47042
  );
46851
47043
  }
46852
47044
 
46853
- /**
46854
- * Get an organization's StationSettings
46855
- * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
46856
- */
46857
- getStationsSettings() {
46858
-
46859
- return this.apiClient.callApi(
46860
- '/api/v2/stations/settings',
46861
- 'GET',
46862
- { },
46863
- { },
46864
- { },
46865
- { },
46866
- null,
46867
- ['PureCloud OAuth'],
46868
- ['application/json'],
46869
- ['application/json']
46870
- );
46871
- }
46872
-
46873
- /**
46874
- * Patch an organization's StationSettings
46875
- * This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
46876
- * @param {Object} body Station settings
46877
- */
46878
- patchStationsSettings(body) {
46879
- // verify the required parameter 'body' is set
46880
- if (body === undefined || body === null) {
46881
- throw 'Missing the required parameter "body" when calling patchStationsSettings';
46882
- }
46883
-
46884
- return this.apiClient.callApi(
46885
- '/api/v2/stations/settings',
46886
- 'PATCH',
46887
- { },
46888
- { },
46889
- { },
46890
- { },
46891
- body,
46892
- ['PureCloud OAuth'],
46893
- ['application/json'],
46894
- ['application/json']
46895
- );
46896
- }
46897
-
46898
47045
  }
46899
47046
 
46900
47047
  class SuggestApi {
46901
47048
  /**
46902
47049
  * Suggest service.
46903
47050
  * @module purecloud-platform-client-v2/api/SuggestApi
46904
- * @version 167.0.0
47051
+ * @version 168.0.0
46905
47052
  */
46906
47053
 
46907
47054
  /**
@@ -47040,7 +47187,7 @@ class TeamsApi {
47040
47187
  /**
47041
47188
  * Teams service.
47042
47189
  * @module purecloud-platform-client-v2/api/TeamsApi
47043
- * @version 167.0.0
47190
+ * @version 168.0.0
47044
47191
  */
47045
47192
 
47046
47193
  /**
@@ -47311,7 +47458,7 @@ class TelephonyApi {
47311
47458
  /**
47312
47459
  * Telephony service.
47313
47460
  * @module purecloud-platform-client-v2/api/TelephonyApi
47314
- * @version 167.0.0
47461
+ * @version 168.0.0
47315
47462
  */
47316
47463
 
47317
47464
  /**
@@ -47439,7 +47586,7 @@ class TelephonyProvidersEdgeApi {
47439
47586
  /**
47440
47587
  * TelephonyProvidersEdge service.
47441
47588
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
47442
- * @version 167.0.0
47589
+ * @version 168.0.0
47443
47590
  */
47444
47591
 
47445
47592
  /**
@@ -50639,7 +50786,7 @@ class TextbotsApi {
50639
50786
  /**
50640
50787
  * Textbots service.
50641
50788
  * @module purecloud-platform-client-v2/api/TextbotsApi
50642
- * @version 167.0.0
50789
+ * @version 168.0.0
50643
50790
  */
50644
50791
 
50645
50792
  /**
@@ -50767,7 +50914,7 @@ class TokensApi {
50767
50914
  /**
50768
50915
  * Tokens service.
50769
50916
  * @module purecloud-platform-client-v2/api/TokensApi
50770
- * @version 167.0.0
50917
+ * @version 168.0.0
50771
50918
  */
50772
50919
 
50773
50920
  /**
@@ -50873,7 +51020,7 @@ class UploadsApi {
50873
51020
  /**
50874
51021
  * Uploads service.
50875
51022
  * @module purecloud-platform-client-v2/api/UploadsApi
50876
- * @version 167.0.0
51023
+ * @version 168.0.0
50877
51024
  */
50878
51025
 
50879
51026
  /**
@@ -51049,7 +51196,7 @@ class UsageApi {
51049
51196
  /**
51050
51197
  * Usage service.
51051
51198
  * @module purecloud-platform-client-v2/api/UsageApi
51052
- * @version 167.0.0
51199
+ * @version 168.0.0
51053
51200
  */
51054
51201
 
51055
51202
  /**
@@ -51209,7 +51356,7 @@ class UserRecordingsApi {
51209
51356
  /**
51210
51357
  * UserRecordings service.
51211
51358
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
51212
- * @version 167.0.0
51359
+ * @version 168.0.0
51213
51360
  */
51214
51361
 
51215
51362
  /**
@@ -51394,7 +51541,7 @@ class UsersApi {
51394
51541
  /**
51395
51542
  * Users service.
51396
51543
  * @module purecloud-platform-client-v2/api/UsersApi
51397
- * @version 167.0.0
51544
+ * @version 168.0.0
51398
51545
  */
51399
51546
 
51400
51547
  /**
@@ -53784,7 +53931,7 @@ class UtilitiesApi {
53784
53931
  /**
53785
53932
  * Utilities service.
53786
53933
  * @module purecloud-platform-client-v2/api/UtilitiesApi
53787
- * @version 167.0.0
53934
+ * @version 168.0.0
53788
53935
  */
53789
53936
 
53790
53937
  /**
@@ -53895,7 +54042,7 @@ class VoicemailApi {
53895
54042
  /**
53896
54043
  * Voicemail service.
53897
54044
  * @module purecloud-platform-client-v2/api/VoicemailApi
53898
- * @version 167.0.0
54045
+ * @version 168.0.0
53899
54046
  */
53900
54047
 
53901
54048
  /**
@@ -54562,7 +54709,7 @@ class WebChatApi {
54562
54709
  /**
54563
54710
  * WebChat service.
54564
54711
  * @module purecloud-platform-client-v2/api/WebChatApi
54565
- * @version 167.0.0
54712
+ * @version 168.0.0
54566
54713
  */
54567
54714
 
54568
54715
  /**
@@ -55106,7 +55253,7 @@ class WebDeploymentsApi {
55106
55253
  /**
55107
55254
  * WebDeployments service.
55108
55255
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
55109
- * @version 167.0.0
55256
+ * @version 168.0.0
55110
55257
  */
55111
55258
 
55112
55259
  /**
@@ -55628,7 +55775,7 @@ class WebMessagingApi {
55628
55775
  /**
55629
55776
  * WebMessaging service.
55630
55777
  * @module purecloud-platform-client-v2/api/WebMessagingApi
55631
- * @version 167.0.0
55778
+ * @version 168.0.0
55632
55779
  */
55633
55780
 
55634
55781
  /**
@@ -55674,7 +55821,7 @@ class WidgetsApi {
55674
55821
  /**
55675
55822
  * Widgets service.
55676
55823
  * @module purecloud-platform-client-v2/api/WidgetsApi
55677
- * @version 167.0.0
55824
+ * @version 168.0.0
55678
55825
  */
55679
55826
 
55680
55827
  /**
@@ -55820,7 +55967,7 @@ class WorkforceManagementApi {
55820
55967
  /**
55821
55968
  * WorkforceManagement service.
55822
55969
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
55823
- * @version 167.0.0
55970
+ * @version 168.0.0
55824
55971
  */
55825
55972
 
55826
55973
  /**
@@ -60564,7 +60711,7 @@ class WorkforceManagementApi {
60564
60711
  * </pre>
60565
60712
  * </p>
60566
60713
  * @module purecloud-platform-client-v2/index
60567
- * @version 167.0.0
60714
+ * @version 168.0.0
60568
60715
  */
60569
60716
  class platformClient {
60570
60717
  constructor() {
@@ -60608,6 +60755,11 @@ class platformClient {
60608
60755
  * @property {module:purecloud-platform-client-v2/api/BillingApi}
60609
60756
  */
60610
60757
  this.BillingApi = BillingApi;
60758
+ /**
60759
+ * The CarrierServicesApi service constructor.
60760
+ * @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}
60761
+ */
60762
+ this.CarrierServicesApi = CarrierServicesApi;
60611
60763
  /**
60612
60764
  * The ChatApi service constructor.
60613
60765
  * @property {module:purecloud-platform-client-v2/api/ChatApi}