purecloud-platform-client-v2 130.0.0 → 131.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 (73) hide show
  1. package/README.md +2 -8
  2. package/dist/node/purecloud-platform-client-v2.js +395 -84
  3. package/dist/web-amd/purecloud-platform-client-v2.js +395 -84
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +395 -84
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +395 -84
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +80 -9
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  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/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +176 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/MessagingApi.js +156 -0
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -21
  56. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -6873,7 +6873,7 @@ class Configuration {
6873
6873
 
6874
6874
  /**
6875
6875
  * @module purecloud-platform-client-v2/ApiClient
6876
- * @version 130.0.0
6876
+ * @version 131.0.0
6877
6877
  */
6878
6878
  class ApiClient {
6879
6879
  /**
@@ -7813,7 +7813,7 @@ class ApiClient {
7813
7813
 
7814
7814
  // set header parameters
7815
7815
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
7816
- //request.set({ 'purecloud-sdk': '130.0.0' });
7816
+ //request.set({ 'purecloud-sdk': '131.0.0' });
7817
7817
 
7818
7818
  // set request timeout
7819
7819
  request.timeout(that.timeout);
@@ -7913,7 +7913,7 @@ class AlertingApi {
7913
7913
  /**
7914
7914
  * Alerting service.
7915
7915
  * @module purecloud-platform-client-v2/api/AlertingApi
7916
- * @version 130.0.0
7916
+ * @version 131.0.0
7917
7917
  */
7918
7918
 
7919
7919
  /**
@@ -8227,7 +8227,7 @@ class AnalyticsApi {
8227
8227
  /**
8228
8228
  * Analytics service.
8229
8229
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8230
- * @version 130.0.0
8230
+ * @version 131.0.0
8231
8231
  */
8232
8232
 
8233
8233
  /**
@@ -9364,7 +9364,7 @@ class ArchitectApi {
9364
9364
  /**
9365
9365
  * Architect service.
9366
9366
  * @module purecloud-platform-client-v2/api/ArchitectApi
9367
- * @version 130.0.0
9367
+ * @version 131.0.0
9368
9368
  */
9369
9369
 
9370
9370
  /**
@@ -12360,7 +12360,7 @@ class AuditApi {
12360
12360
  /**
12361
12361
  * Audit service.
12362
12362
  * @module purecloud-platform-client-v2/api/AuditApi
12363
- * @version 130.0.0
12363
+ * @version 131.0.0
12364
12364
  */
12365
12365
 
12366
12366
  /**
@@ -12531,7 +12531,7 @@ class AuthorizationApi {
12531
12531
  /**
12532
12532
  * Authorization service.
12533
12533
  * @module purecloud-platform-client-v2/api/AuthorizationApi
12534
- * @version 130.0.0
12534
+ * @version 131.0.0
12535
12535
  */
12536
12536
 
12537
12537
  /**
@@ -13714,7 +13714,7 @@ class BillingApi {
13714
13714
  /**
13715
13715
  * Billing service.
13716
13716
  * @module purecloud-platform-client-v2/api/BillingApi
13717
- * @version 130.0.0
13717
+ * @version 131.0.0
13718
13718
  */
13719
13719
 
13720
13720
  /**
@@ -13794,7 +13794,7 @@ class ChatApi {
13794
13794
  /**
13795
13795
  * Chat service.
13796
13796
  * @module purecloud-platform-client-v2/api/ChatApi
13797
- * @version 130.0.0
13797
+ * @version 131.0.0
13798
13798
  */
13799
13799
 
13800
13800
  /**
@@ -13885,7 +13885,7 @@ class CoachingApi {
13885
13885
  /**
13886
13886
  * Coaching service.
13887
13887
  * @module purecloud-platform-client-v2/api/CoachingApi
13888
- * @version 130.0.0
13888
+ * @version 131.0.0
13889
13889
  */
13890
13890
 
13891
13891
  /**
@@ -14462,7 +14462,7 @@ class ContentManagementApi {
14462
14462
  /**
14463
14463
  * ContentManagement service.
14464
14464
  * @module purecloud-platform-client-v2/api/ContentManagementApi
14465
- * @version 130.0.0
14465
+ * @version 131.0.0
14466
14466
  */
14467
14467
 
14468
14468
  /**
@@ -15602,7 +15602,7 @@ class ConversationsApi {
15602
15602
  /**
15603
15603
  * Conversations service.
15604
15604
  * @module purecloud-platform-client-v2/api/ConversationsApi
15605
- * @version 130.0.0
15605
+ * @version 131.0.0
15606
15606
  */
15607
15607
 
15608
15608
  /**
@@ -15892,6 +15892,31 @@ class ConversationsApi {
15892
15892
  );
15893
15893
  }
15894
15894
 
15895
+ /**
15896
+ * Delete a supported content profile
15897
+ *
15898
+ * @param {String} supportedContentId Supported Content ID
15899
+ */
15900
+ deleteConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
15901
+ // verify the required parameter 'supportedContentId' is set
15902
+ if (supportedContentId === undefined || supportedContentId === null) {
15903
+ throw 'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';
15904
+ }
15905
+
15906
+ return this.apiClient.callApi(
15907
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
15908
+ 'DELETE',
15909
+ { 'supportedContentId': supportedContentId },
15910
+ { },
15911
+ { },
15912
+ { },
15913
+ null,
15914
+ ['PureCloud OAuth'],
15915
+ ['application/json'],
15916
+ ['application/json']
15917
+ );
15918
+ }
15919
+
15895
15920
  /**
15896
15921
  * Get a conversation by id
15897
15922
  *
@@ -17484,6 +17509,76 @@ class ConversationsApi {
17484
17509
  );
17485
17510
  }
17486
17511
 
17512
+ /**
17513
+ * Get a list of Supported Content profiles
17514
+ *
17515
+ * @param {Object} opts Optional parameters
17516
+ * @param {Number} opts.pageSize Page size (default to 25)
17517
+ * @param {Number} opts.pageNumber Page number (default to 1)
17518
+ */
17519
+ getConversationsMessagingSupportedcontent(opts) {
17520
+ opts = opts || {};
17521
+
17522
+
17523
+ return this.apiClient.callApi(
17524
+ '/api/v2/conversations/messaging/supportedcontent',
17525
+ 'GET',
17526
+ { },
17527
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
17528
+ { },
17529
+ { },
17530
+ null,
17531
+ ['PureCloud OAuth'],
17532
+ ['application/json'],
17533
+ ['application/json']
17534
+ );
17535
+ }
17536
+
17537
+ /**
17538
+ * Get the organization's default supported content profile that will be used as the default when creating an integration.
17539
+ * When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
17540
+ */
17541
+ getConversationsMessagingSupportedcontentDefault() {
17542
+
17543
+ return this.apiClient.callApi(
17544
+ '/api/v2/conversations/messaging/supportedcontent/default',
17545
+ 'GET',
17546
+ { },
17547
+ { },
17548
+ { },
17549
+ { },
17550
+ null,
17551
+ ['PureCloud OAuth'],
17552
+ ['application/json'],
17553
+ ['application/json']
17554
+ );
17555
+ }
17556
+
17557
+ /**
17558
+ * Get a supported content profile
17559
+ *
17560
+ * @param {String} supportedContentId Supported Content ID
17561
+ */
17562
+ getConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
17563
+ // verify the required parameter 'supportedContentId' is set
17564
+ if (supportedContentId === undefined || supportedContentId === null) {
17565
+ throw 'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';
17566
+ }
17567
+
17568
+ return this.apiClient.callApi(
17569
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
17570
+ 'GET',
17571
+ { 'supportedContentId': supportedContentId },
17572
+ { },
17573
+ { },
17574
+ { },
17575
+ null,
17576
+ ['PureCloud OAuth'],
17577
+ ['application/json'],
17578
+ ['application/json']
17579
+ );
17580
+ }
17581
+
17487
17582
  /**
17488
17583
  * Get conversation threading window timeline for each messaging type
17489
17584
  * Conversation messaging threading timeline is a setting defined for each messenger type in your organization. This setting will dictate whether a new message is added to the most recent existing conversation, or creates a new Conversation. If the existing Conversation is still in a connected state the threading timeline setting will never play a role. After the conversation is disconnected, if an inbound message is received or an outbound message is sent after the setting for threading timeline expires, a new conversation is created.
@@ -18565,6 +18660,36 @@ class ConversationsApi {
18565
18660
  );
18566
18661
  }
18567
18662
 
18663
+ /**
18664
+ * Update a supported content profile
18665
+ *
18666
+ * @param {String} supportedContentId Supported Content ID
18667
+ * @param {Object} body SupportedContent
18668
+ */
18669
+ patchConversationsMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
18670
+ // verify the required parameter 'supportedContentId' is set
18671
+ if (supportedContentId === undefined || supportedContentId === null) {
18672
+ throw 'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
18673
+ }
18674
+ // verify the required parameter 'body' is set
18675
+ if (body === undefined || body === null) {
18676
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
18677
+ }
18678
+
18679
+ return this.apiClient.callApi(
18680
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
18681
+ 'PATCH',
18682
+ { 'supportedContentId': supportedContentId },
18683
+ { },
18684
+ { },
18685
+ { },
18686
+ body,
18687
+ ['PureCloud OAuth'],
18688
+ ['application/json'],
18689
+ ['application/json']
18690
+ );
18691
+ }
18692
+
18568
18693
  /**
18569
18694
  * Index conversation properties
18570
18695
  *
@@ -19800,6 +19925,31 @@ class ConversationsApi {
19800
19925
  );
19801
19926
  }
19802
19927
 
19928
+ /**
19929
+ * Create a Supported Content profile
19930
+ *
19931
+ * @param {Object} body SupportedContent
19932
+ */
19933
+ postConversationsMessagingSupportedcontent(body) {
19934
+ // verify the required parameter 'body' is set
19935
+ if (body === undefined || body === null) {
19936
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingSupportedcontent';
19937
+ }
19938
+
19939
+ return this.apiClient.callApi(
19940
+ '/api/v2/conversations/messaging/supportedcontent',
19941
+ 'POST',
19942
+ { },
19943
+ { },
19944
+ { },
19945
+ { },
19946
+ body,
19947
+ ['PureCloud OAuth'],
19948
+ ['application/json'],
19949
+ ['application/json']
19950
+ );
19951
+ }
19952
+
19803
19953
  /**
19804
19954
  * Set flagged reason on conversation participant to indicate bad conversation quality.
19805
19955
  *
@@ -19960,6 +20110,31 @@ class ConversationsApi {
19960
20110
  );
19961
20111
  }
19962
20112
 
20113
+ /**
20114
+ * Set the organization's default supported content profile that may be assigned to an integration when it is created.
20115
+ * When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
20116
+ * @param {Object} body SupportedContent
20117
+ */
20118
+ putConversationsMessagingSupportedcontentDefault(body) {
20119
+ // verify the required parameter 'body' is set
20120
+ if (body === undefined || body === null) {
20121
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';
20122
+ }
20123
+
20124
+ return this.apiClient.callApi(
20125
+ '/api/v2/conversations/messaging/supportedcontent/default',
20126
+ 'PUT',
20127
+ { },
20128
+ { },
20129
+ { },
20130
+ { },
20131
+ body,
20132
+ ['PureCloud OAuth'],
20133
+ ['application/json'],
20134
+ ['application/json']
20135
+ );
20136
+ }
20137
+
19963
20138
  /**
19964
20139
  * Update conversation threading window timeline for each messaging type
19965
20140
  * PUT Conversation messaging threading timeline is intended to set the conversation threading settings for ALL messengerTypes. If you omit a messengerType in the request body then the setting for that messengerType will use the platform default value. The PUT replaces the existing setting(s) that were previously set for each messengerType.
@@ -19991,7 +20166,7 @@ class DataExtensionsApi {
19991
20166
  /**
19992
20167
  * DataExtensions service.
19993
20168
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
19994
- * @version 130.0.0
20169
+ * @version 131.0.0
19995
20170
  */
19996
20171
 
19997
20172
  /**
@@ -20077,7 +20252,7 @@ class ExternalContactsApi {
20077
20252
  /**
20078
20253
  * ExternalContacts service.
20079
20254
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
20080
- * @version 130.0.0
20255
+ * @version 131.0.0
20081
20256
  */
20082
20257
 
20083
20258
  /**
@@ -21820,7 +21995,7 @@ class FaxApi {
21820
21995
  /**
21821
21996
  * Fax service.
21822
21997
  * @module purecloud-platform-client-v2/api/FaxApi
21823
- * @version 130.0.0
21998
+ * @version 131.0.0
21824
21999
  */
21825
22000
 
21826
22001
  /**
@@ -21991,7 +22166,7 @@ class FlowsApi {
21991
22166
  /**
21992
22167
  * Flows service.
21993
22168
  * @module purecloud-platform-client-v2/api/FlowsApi
21994
- * @version 130.0.0
22169
+ * @version 131.0.0
21995
22170
  */
21996
22171
 
21997
22172
  /**
@@ -22062,7 +22237,7 @@ class GamificationApi {
22062
22237
  /**
22063
22238
  * Gamification service.
22064
22239
  * @module purecloud-platform-client-v2/api/GamificationApi
22065
- * @version 130.0.0
22240
+ * @version 131.0.0
22066
22241
  */
22067
22242
 
22068
22243
  /**
@@ -23488,7 +23663,7 @@ class GeneralDataProtectionRegulationApi {
23488
23663
  /**
23489
23664
  * GeneralDataProtectionRegulation service.
23490
23665
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
23491
- * @version 130.0.0
23666
+ * @version 131.0.0
23492
23667
  */
23493
23668
 
23494
23669
  /**
@@ -23618,7 +23793,7 @@ class GeolocationApi {
23618
23793
  /**
23619
23794
  * Geolocation service.
23620
23795
  * @module purecloud-platform-client-v2/api/GeolocationApi
23621
- * @version 130.0.0
23796
+ * @version 131.0.0
23622
23797
  */
23623
23798
 
23624
23799
  /**
@@ -23749,7 +23924,7 @@ class GreetingsApi {
23749
23924
  /**
23750
23925
  * Greetings service.
23751
23926
  * @module purecloud-platform-client-v2/api/GreetingsApi
23752
- * @version 130.0.0
23927
+ * @version 131.0.0
23753
23928
  */
23754
23929
 
23755
23930
  /**
@@ -24204,7 +24379,7 @@ class GroupsApi {
24204
24379
  /**
24205
24380
  * Groups service.
24206
24381
  * @module purecloud-platform-client-v2/api/GroupsApi
24207
- * @version 130.0.0
24382
+ * @version 131.0.0
24208
24383
  */
24209
24384
 
24210
24385
  /**
@@ -24609,7 +24784,7 @@ class IdentityProviderApi {
24609
24784
  /**
24610
24785
  * IdentityProvider service.
24611
24786
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
24612
- * @version 130.0.0
24787
+ * @version 131.0.0
24613
24788
  */
24614
24789
 
24615
24790
  /**
@@ -25365,7 +25540,7 @@ class IntegrationsApi {
25365
25540
  /**
25366
25541
  * Integrations service.
25367
25542
  * @module purecloud-platform-client-v2/api/IntegrationsApi
25368
- * @version 130.0.0
25543
+ * @version 131.0.0
25369
25544
  */
25370
25545
 
25371
25546
  /**
@@ -27040,7 +27215,7 @@ class JourneyApi {
27040
27215
  /**
27041
27216
  * Journey service.
27042
27217
  * @module purecloud-platform-client-v2/api/JourneyApi
27043
- * @version 130.0.0
27218
+ * @version 131.0.0
27044
27219
  */
27045
27220
 
27046
27221
  /**
@@ -27751,7 +27926,7 @@ class KnowledgeApi {
27751
27926
  /**
27752
27927
  * Knowledge service.
27753
27928
  * @module purecloud-platform-client-v2/api/KnowledgeApi
27754
- * @version 130.0.0
27929
+ * @version 131.0.0
27755
27930
  */
27756
27931
 
27757
27932
  /**
@@ -28651,7 +28826,7 @@ class LanguageUnderstandingApi {
28651
28826
  /**
28652
28827
  * LanguageUnderstanding service.
28653
28828
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
28654
- * @version 130.0.0
28829
+ * @version 131.0.0
28655
28830
  */
28656
28831
 
28657
28832
  /**
@@ -29555,7 +29730,7 @@ class LanguagesApi {
29555
29730
  /**
29556
29731
  * Languages service.
29557
29732
  * @module purecloud-platform-client-v2/api/LanguagesApi
29558
- * @version 130.0.0
29733
+ * @version 131.0.0
29559
29734
  */
29560
29735
 
29561
29736
  /**
@@ -29823,7 +29998,7 @@ class LearningApi {
29823
29998
  /**
29824
29999
  * Learning service.
29825
30000
  * @module purecloud-platform-client-v2/api/LearningApi
29826
- * @version 130.0.0
30001
+ * @version 131.0.0
29827
30002
  */
29828
30003
 
29829
30004
  /**
@@ -30414,7 +30589,7 @@ class LicenseApi {
30414
30589
  /**
30415
30590
  * License service.
30416
30591
  * @module purecloud-platform-client-v2/api/LicenseApi
30417
- * @version 130.0.0
30592
+ * @version 131.0.0
30418
30593
  */
30419
30594
 
30420
30595
  /**
@@ -30652,7 +30827,7 @@ class LocationsApi {
30652
30827
  /**
30653
30828
  * Locations service.
30654
30829
  * @module purecloud-platform-client-v2/api/LocationsApi
30655
- * @version 130.0.0
30830
+ * @version 131.0.0
30656
30831
  */
30657
30832
 
30658
30833
  /**
@@ -30884,11 +31059,162 @@ class LocationsApi {
30884
31059
 
30885
31060
  }
30886
31061
 
31062
+ class MessagingApi {
31063
+ /**
31064
+ * Messaging service.
31065
+ * @module purecloud-platform-client-v2/api/MessagingApi
31066
+ * @version 131.0.0
31067
+ */
31068
+
31069
+ /**
31070
+ * Constructs a new MessagingApi.
31071
+ * @alias module:purecloud-platform-client-v2/api/MessagingApi
31072
+ * @class
31073
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
31074
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
31075
+ */
31076
+ constructor(apiClient) {
31077
+ this.apiClient = apiClient || ApiClient.instance;
31078
+ }
31079
+
31080
+
31081
+ /**
31082
+ * Delete a supported content profile
31083
+ *
31084
+ * @param {String} supportedContentId Supported Content ID
31085
+ */
31086
+ deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
31087
+ // verify the required parameter 'supportedContentId' is set
31088
+ if (supportedContentId === undefined || supportedContentId === null) {
31089
+ throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
31090
+ }
31091
+
31092
+ return this.apiClient.callApi(
31093
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
31094
+ 'DELETE',
31095
+ { 'supportedContentId': supportedContentId },
31096
+ { },
31097
+ { },
31098
+ { },
31099
+ null,
31100
+ ['PureCloud OAuth'],
31101
+ ['application/json'],
31102
+ ['application/json']
31103
+ );
31104
+ }
31105
+
31106
+ /**
31107
+ * Get a list of Supported Content profiles
31108
+ *
31109
+ * @param {Object} opts Optional parameters
31110
+ * @param {Number} opts.pageSize Page size (default to 25)
31111
+ * @param {Number} opts.pageNumber Page number (default to 1)
31112
+ */
31113
+ getMessagingSupportedcontent(opts) {
31114
+ opts = opts || {};
31115
+
31116
+
31117
+ return this.apiClient.callApi(
31118
+ '/api/v2/messaging/supportedcontent',
31119
+ 'GET',
31120
+ { },
31121
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
31122
+ { },
31123
+ { },
31124
+ null,
31125
+ ['PureCloud OAuth'],
31126
+ ['application/json'],
31127
+ ['application/json']
31128
+ );
31129
+ }
31130
+
31131
+ /**
31132
+ * Get a supported content profile
31133
+ *
31134
+ * @param {String} supportedContentId Supported Content ID
31135
+ */
31136
+ getMessagingSupportedcontentSupportedContentId(supportedContentId) {
31137
+ // verify the required parameter 'supportedContentId' is set
31138
+ if (supportedContentId === undefined || supportedContentId === null) {
31139
+ throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
31140
+ }
31141
+
31142
+ return this.apiClient.callApi(
31143
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
31144
+ 'GET',
31145
+ { 'supportedContentId': supportedContentId },
31146
+ { },
31147
+ { },
31148
+ { },
31149
+ null,
31150
+ ['PureCloud OAuth'],
31151
+ ['application/json'],
31152
+ ['application/json']
31153
+ );
31154
+ }
31155
+
31156
+ /**
31157
+ * Update a supported content profile
31158
+ *
31159
+ * @param {String} supportedContentId Supported Content ID
31160
+ * @param {Object} body SupportedContent
31161
+ */
31162
+ patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
31163
+ // verify the required parameter 'supportedContentId' is set
31164
+ if (supportedContentId === undefined || supportedContentId === null) {
31165
+ throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
31166
+ }
31167
+ // verify the required parameter 'body' is set
31168
+ if (body === undefined || body === null) {
31169
+ throw 'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';
31170
+ }
31171
+
31172
+ return this.apiClient.callApi(
31173
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
31174
+ 'PATCH',
31175
+ { 'supportedContentId': supportedContentId },
31176
+ { },
31177
+ { },
31178
+ { },
31179
+ body,
31180
+ ['PureCloud OAuth'],
31181
+ ['application/json'],
31182
+ ['application/json']
31183
+ );
31184
+ }
31185
+
31186
+ /**
31187
+ * Create a Supported Content profile
31188
+ *
31189
+ * @param {Object} body SupportedContent
31190
+ */
31191
+ postMessagingSupportedcontent(body) {
31192
+ // verify the required parameter 'body' is set
31193
+ if (body === undefined || body === null) {
31194
+ throw 'Missing the required parameter "body" when calling postMessagingSupportedcontent';
31195
+ }
31196
+
31197
+ return this.apiClient.callApi(
31198
+ '/api/v2/messaging/supportedcontent',
31199
+ 'POST',
31200
+ { },
31201
+ { },
31202
+ { },
31203
+ { },
31204
+ body,
31205
+ ['PureCloud OAuth'],
31206
+ ['application/json'],
31207
+ ['application/json']
31208
+ );
31209
+ }
31210
+
31211
+ }
31212
+
30887
31213
  class MobileDevicesApi {
30888
31214
  /**
30889
31215
  * MobileDevices service.
30890
31216
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
30891
- * @version 130.0.0
31217
+ * @version 131.0.0
30892
31218
  */
30893
31219
 
30894
31220
  /**
@@ -31039,7 +31365,7 @@ class NotificationsApi {
31039
31365
  /**
31040
31366
  * Notifications service.
31041
31367
  * @module purecloud-platform-client-v2/api/NotificationsApi
31042
- * @version 130.0.0
31368
+ * @version 131.0.0
31043
31369
  */
31044
31370
 
31045
31371
  /**
@@ -31264,7 +31590,7 @@ class OAuthApi {
31264
31590
  /**
31265
31591
  * OAuth service.
31266
31592
  * @module purecloud-platform-client-v2/api/OAuthApi
31267
- * @version 130.0.0
31593
+ * @version 131.0.0
31268
31594
  */
31269
31595
 
31270
31596
  /**
@@ -31622,7 +31948,7 @@ class ObjectsApi {
31622
31948
  /**
31623
31949
  * Objects service.
31624
31950
  * @module purecloud-platform-client-v2/api/ObjectsApi
31625
- * @version 130.0.0
31951
+ * @version 131.0.0
31626
31952
  */
31627
31953
 
31628
31954
  /**
@@ -31893,7 +32219,7 @@ class OrganizationApi {
31893
32219
  /**
31894
32220
  * Organization service.
31895
32221
  * @module purecloud-platform-client-v2/api/OrganizationApi
31896
- * @version 130.0.0
32222
+ * @version 131.0.0
31897
32223
  */
31898
32224
 
31899
32225
  /**
@@ -32296,7 +32622,7 @@ class OrganizationAuthorizationApi {
32296
32622
  /**
32297
32623
  * OrganizationAuthorization service.
32298
32624
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
32299
- * @version 130.0.0
32625
+ * @version 131.0.0
32300
32626
  */
32301
32627
 
32302
32628
  /**
@@ -33221,7 +33547,7 @@ class OutboundApi {
33221
33547
  /**
33222
33548
  * Outbound service.
33223
33549
  * @module purecloud-platform-client-v2/api/OutboundApi
33224
- * @version 130.0.0
33550
+ * @version 131.0.0
33225
33551
  */
33226
33552
 
33227
33553
  /**
@@ -36247,7 +36573,7 @@ class PresenceApi {
36247
36573
  /**
36248
36574
  * Presence service.
36249
36575
  * @module purecloud-platform-client-v2/api/PresenceApi
36250
- * @version 130.0.0
36576
+ * @version 131.0.0
36251
36577
  */
36252
36578
 
36253
36579
  /**
@@ -36619,7 +36945,7 @@ class QualityApi {
36619
36945
  /**
36620
36946
  * Quality service.
36621
36947
  * @module purecloud-platform-client-v2/api/QualityApi
36622
- * @version 130.0.0
36948
+ * @version 131.0.0
36623
36949
  */
36624
36950
 
36625
36951
  /**
@@ -38147,7 +38473,7 @@ class RecordingApi {
38147
38473
  /**
38148
38474
  * Recording service.
38149
38475
  * @module purecloud-platform-client-v2/api/RecordingApi
38150
- * @version 130.0.0
38476
+ * @version 131.0.0
38151
38477
  */
38152
38478
 
38153
38479
  /**
@@ -39670,7 +39996,7 @@ class ResponseManagementApi {
39670
39996
  /**
39671
39997
  * ResponseManagement service.
39672
39998
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
39673
- * @version 130.0.0
39999
+ * @version 131.0.0
39674
40000
  */
39675
40001
 
39676
40002
  /**
@@ -39995,7 +40321,7 @@ class RoutingApi {
39995
40321
  /**
39996
40322
  * Routing service.
39997
40323
  * @module purecloud-platform-client-v2/api/RoutingApi
39998
- * @version 130.0.0
40324
+ * @version 131.0.0
39999
40325
  */
40000
40326
 
40001
40327
  /**
@@ -42918,7 +43244,7 @@ class SCIMApi {
42918
43244
  /**
42919
43245
  * SCIM service.
42920
43246
  * @module purecloud-platform-client-v2/api/SCIMApi
42921
- * @version 130.0.0
43247
+ * @version 131.0.0
42922
43248
  */
42923
43249
 
42924
43250
  /**
@@ -43795,7 +44121,7 @@ class ScriptsApi {
43795
44121
  /**
43796
44122
  * Scripts service.
43797
44123
  * @module purecloud-platform-client-v2/api/ScriptsApi
43798
- * @version 130.0.0
44124
+ * @version 131.0.0
43799
44125
  */
43800
44126
 
43801
44127
  /**
@@ -44148,7 +44474,7 @@ class SearchApi {
44148
44474
  /**
44149
44475
  * Search service.
44150
44476
  * @module purecloud-platform-client-v2/api/SearchApi
44151
- * @version 130.0.0
44477
+ * @version 131.0.0
44152
44478
  */
44153
44479
 
44154
44480
  /**
@@ -44683,7 +45009,7 @@ class SpeechTextAnalyticsApi {
44683
45009
  /**
44684
45010
  * SpeechTextAnalytics service.
44685
45011
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
44686
- * @version 130.0.0
45012
+ * @version 131.0.0
44687
45013
  */
44688
45014
 
44689
45015
  /**
@@ -44852,26 +45178,6 @@ class SpeechTextAnalyticsApi {
44852
45178
  );
44853
45179
  }
44854
45180
 
44855
- /**
44856
- * Get list of supported Speech & Text Analytics dialects
44857
- * This api has been deprecated. Use api/v2/topics/dialects instead
44858
- */
44859
- getSpeechandtextanalyticsDialects() {
44860
-
44861
- return this.apiClient.callApi(
44862
- '/api/v2/speechandtextanalytics/dialects',
44863
- 'GET',
44864
- { },
44865
- { },
44866
- { },
44867
- { },
44868
- null,
44869
- ['PureCloud OAuth'],
44870
- ['application/json'],
44871
- ['application/json']
44872
- );
44873
- }
44874
-
44875
45181
  /**
44876
45182
  * Get a Speech & Text Analytics program by id
44877
45183
  *
@@ -45556,7 +45862,7 @@ class StationsApi {
45556
45862
  /**
45557
45863
  * Stations service.
45558
45864
  * @module purecloud-platform-client-v2/api/StationsApi
45559
- * @version 130.0.0
45865
+ * @version 131.0.0
45560
45866
  */
45561
45867
 
45562
45868
  /**
@@ -45703,7 +46009,7 @@ class SuggestApi {
45703
46009
  /**
45704
46010
  * Suggest service.
45705
46011
  * @module purecloud-platform-client-v2/api/SuggestApi
45706
- * @version 130.0.0
46012
+ * @version 131.0.0
45707
46013
  */
45708
46014
 
45709
46015
  /**
@@ -45842,7 +46148,7 @@ class TelephonyApi {
45842
46148
  /**
45843
46149
  * Telephony service.
45844
46150
  * @module purecloud-platform-client-v2/api/TelephonyApi
45845
- * @version 130.0.0
46151
+ * @version 131.0.0
45846
46152
  */
45847
46153
 
45848
46154
  /**
@@ -45950,7 +46256,7 @@ class TelephonyProvidersEdgeApi {
45950
46256
  /**
45951
46257
  * TelephonyProvidersEdge service.
45952
46258
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
45953
- * @version 130.0.0
46259
+ * @version 131.0.0
45954
46260
  */
45955
46261
 
45956
46262
  /**
@@ -49583,7 +49889,7 @@ class TextbotsApi {
49583
49889
  /**
49584
49890
  * Textbots service.
49585
49891
  * @module purecloud-platform-client-v2/api/TextbotsApi
49586
- * @version 130.0.0
49892
+ * @version 131.0.0
49587
49893
  */
49588
49894
 
49589
49895
  /**
@@ -49711,7 +50017,7 @@ class TokensApi {
49711
50017
  /**
49712
50018
  * Tokens service.
49713
50019
  * @module purecloud-platform-client-v2/api/TokensApi
49714
- * @version 130.0.0
50020
+ * @version 131.0.0
49715
50021
  */
49716
50022
 
49717
50023
  /**
@@ -49817,7 +50123,7 @@ class UploadsApi {
49817
50123
  /**
49818
50124
  * Uploads service.
49819
50125
  * @module purecloud-platform-client-v2/api/UploadsApi
49820
- * @version 130.0.0
50126
+ * @version 131.0.0
49821
50127
  */
49822
50128
 
49823
50129
  /**
@@ -49993,7 +50299,7 @@ class UsageApi {
49993
50299
  /**
49994
50300
  * Usage service.
49995
50301
  * @module purecloud-platform-client-v2/api/UsageApi
49996
- * @version 130.0.0
50302
+ * @version 131.0.0
49997
50303
  */
49998
50304
 
49999
50305
  /**
@@ -50064,7 +50370,7 @@ class UserRecordingsApi {
50064
50370
  /**
50065
50371
  * UserRecordings service.
50066
50372
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
50067
- * @version 130.0.0
50373
+ * @version 131.0.0
50068
50374
  */
50069
50375
 
50070
50376
  /**
@@ -50248,7 +50554,7 @@ class UsersApi {
50248
50554
  /**
50249
50555
  * Users service.
50250
50556
  * @module purecloud-platform-client-v2/api/UsersApi
50251
- * @version 130.0.0
50557
+ * @version 131.0.0
50252
50558
  */
50253
50559
 
50254
50560
  /**
@@ -52550,7 +52856,7 @@ class UtilitiesApi {
52550
52856
  /**
52551
52857
  * Utilities service.
52552
52858
  * @module purecloud-platform-client-v2/api/UtilitiesApi
52553
- * @version 130.0.0
52859
+ * @version 131.0.0
52554
52860
  */
52555
52861
 
52556
52862
  /**
@@ -52661,7 +52967,7 @@ class VoicemailApi {
52661
52967
  /**
52662
52968
  * Voicemail service.
52663
52969
  * @module purecloud-platform-client-v2/api/VoicemailApi
52664
- * @version 130.0.0
52970
+ * @version 131.0.0
52665
52971
  */
52666
52972
 
52667
52973
  /**
@@ -53328,7 +53634,7 @@ class WebChatApi {
53328
53634
  /**
53329
53635
  * WebChat service.
53330
53636
  * @module purecloud-platform-client-v2/api/WebChatApi
53331
- * @version 130.0.0
53637
+ * @version 131.0.0
53332
53638
  */
53333
53639
 
53334
53640
  /**
@@ -53872,7 +54178,7 @@ class WebDeploymentsApi {
53872
54178
  /**
53873
54179
  * WebDeployments service.
53874
54180
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
53875
- * @version 130.0.0
54181
+ * @version 131.0.0
53876
54182
  */
53877
54183
 
53878
54184
  /**
@@ -54227,7 +54533,7 @@ class WebMessagingApi {
54227
54533
  /**
54228
54534
  * WebMessaging service.
54229
54535
  * @module purecloud-platform-client-v2/api/WebMessagingApi
54230
- * @version 130.0.0
54536
+ * @version 131.0.0
54231
54537
  */
54232
54538
 
54233
54539
  /**
@@ -54273,7 +54579,7 @@ class WidgetsApi {
54273
54579
  /**
54274
54580
  * Widgets service.
54275
54581
  * @module purecloud-platform-client-v2/api/WidgetsApi
54276
- * @version 130.0.0
54582
+ * @version 131.0.0
54277
54583
  */
54278
54584
 
54279
54585
  /**
@@ -54419,7 +54725,7 @@ class WorkforceManagementApi {
54419
54725
  /**
54420
54726
  * WorkforceManagement service.
54421
54727
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
54422
- * @version 130.0.0
54728
+ * @version 131.0.0
54423
54729
  */
54424
54730
 
54425
54731
  /**
@@ -58450,7 +58756,7 @@ class WorkforceManagementApi {
58450
58756
  * </pre>
58451
58757
  * </p>
58452
58758
  * @module purecloud-platform-client-v2/index
58453
- * @version 130.0.0
58759
+ * @version 131.0.0
58454
58760
  */
58455
58761
  class platformClient {
58456
58762
  constructor() {
@@ -58604,6 +58910,11 @@ class platformClient {
58604
58910
  * @property {module:purecloud-platform-client-v2/api/LocationsApi}
58605
58911
  */
58606
58912
  this.LocationsApi = LocationsApi;
58913
+ /**
58914
+ * The MessagingApi service constructor.
58915
+ * @property {module:purecloud-platform-client-v2/api/MessagingApi}
58916
+ */
58917
+ this.MessagingApi = MessagingApi;
58607
58918
  /**
58608
58919
  * The MobileDevicesApi service constructor.
58609
58920
  * @property {module:purecloud-platform-client-v2/api/MobileDevicesApi}