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
@@ -393,7 +393,7 @@ class Configuration {
393
393
 
394
394
  /**
395
395
  * @module purecloud-platform-client-v2/ApiClient
396
- * @version 130.0.0
396
+ * @version 131.0.0
397
397
  */
398
398
  class ApiClient {
399
399
  /**
@@ -1340,7 +1340,7 @@ class ApiClient {
1340
1340
 
1341
1341
  // set header parameters
1342
1342
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
1343
- //request.set({ 'purecloud-sdk': '130.0.0' });
1343
+ //request.set({ 'purecloud-sdk': '131.0.0' });
1344
1344
 
1345
1345
  // set request timeout
1346
1346
  request.timeout(that.timeout);
@@ -1440,7 +1440,7 @@ class AlertingApi {
1440
1440
  /**
1441
1441
  * Alerting service.
1442
1442
  * @module purecloud-platform-client-v2/api/AlertingApi
1443
- * @version 130.0.0
1443
+ * @version 131.0.0
1444
1444
  */
1445
1445
 
1446
1446
  /**
@@ -1754,7 +1754,7 @@ class AnalyticsApi {
1754
1754
  /**
1755
1755
  * Analytics service.
1756
1756
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1757
- * @version 130.0.0
1757
+ * @version 131.0.0
1758
1758
  */
1759
1759
 
1760
1760
  /**
@@ -2891,7 +2891,7 @@ class ArchitectApi {
2891
2891
  /**
2892
2892
  * Architect service.
2893
2893
  * @module purecloud-platform-client-v2/api/ArchitectApi
2894
- * @version 130.0.0
2894
+ * @version 131.0.0
2895
2895
  */
2896
2896
 
2897
2897
  /**
@@ -5887,7 +5887,7 @@ class AuditApi {
5887
5887
  /**
5888
5888
  * Audit service.
5889
5889
  * @module purecloud-platform-client-v2/api/AuditApi
5890
- * @version 130.0.0
5890
+ * @version 131.0.0
5891
5891
  */
5892
5892
 
5893
5893
  /**
@@ -6058,7 +6058,7 @@ class AuthorizationApi {
6058
6058
  /**
6059
6059
  * Authorization service.
6060
6060
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6061
- * @version 130.0.0
6061
+ * @version 131.0.0
6062
6062
  */
6063
6063
 
6064
6064
  /**
@@ -7241,7 +7241,7 @@ class BillingApi {
7241
7241
  /**
7242
7242
  * Billing service.
7243
7243
  * @module purecloud-platform-client-v2/api/BillingApi
7244
- * @version 130.0.0
7244
+ * @version 131.0.0
7245
7245
  */
7246
7246
 
7247
7247
  /**
@@ -7321,7 +7321,7 @@ class ChatApi {
7321
7321
  /**
7322
7322
  * Chat service.
7323
7323
  * @module purecloud-platform-client-v2/api/ChatApi
7324
- * @version 130.0.0
7324
+ * @version 131.0.0
7325
7325
  */
7326
7326
 
7327
7327
  /**
@@ -7412,7 +7412,7 @@ class CoachingApi {
7412
7412
  /**
7413
7413
  * Coaching service.
7414
7414
  * @module purecloud-platform-client-v2/api/CoachingApi
7415
- * @version 130.0.0
7415
+ * @version 131.0.0
7416
7416
  */
7417
7417
 
7418
7418
  /**
@@ -7989,7 +7989,7 @@ class ContentManagementApi {
7989
7989
  /**
7990
7990
  * ContentManagement service.
7991
7991
  * @module purecloud-platform-client-v2/api/ContentManagementApi
7992
- * @version 130.0.0
7992
+ * @version 131.0.0
7993
7993
  */
7994
7994
 
7995
7995
  /**
@@ -9129,7 +9129,7 @@ class ConversationsApi {
9129
9129
  /**
9130
9130
  * Conversations service.
9131
9131
  * @module purecloud-platform-client-v2/api/ConversationsApi
9132
- * @version 130.0.0
9132
+ * @version 131.0.0
9133
9133
  */
9134
9134
 
9135
9135
  /**
@@ -9419,6 +9419,31 @@ class ConversationsApi {
9419
9419
  );
9420
9420
  }
9421
9421
 
9422
+ /**
9423
+ * Delete a supported content profile
9424
+ *
9425
+ * @param {String} supportedContentId Supported Content ID
9426
+ */
9427
+ deleteConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
9428
+ // verify the required parameter 'supportedContentId' is set
9429
+ if (supportedContentId === undefined || supportedContentId === null) {
9430
+ throw 'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';
9431
+ }
9432
+
9433
+ return this.apiClient.callApi(
9434
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
9435
+ 'DELETE',
9436
+ { 'supportedContentId': supportedContentId },
9437
+ { },
9438
+ { },
9439
+ { },
9440
+ null,
9441
+ ['PureCloud OAuth'],
9442
+ ['application/json'],
9443
+ ['application/json']
9444
+ );
9445
+ }
9446
+
9422
9447
  /**
9423
9448
  * Get a conversation by id
9424
9449
  *
@@ -11011,6 +11036,76 @@ class ConversationsApi {
11011
11036
  );
11012
11037
  }
11013
11038
 
11039
+ /**
11040
+ * Get a list of Supported Content profiles
11041
+ *
11042
+ * @param {Object} opts Optional parameters
11043
+ * @param {Number} opts.pageSize Page size (default to 25)
11044
+ * @param {Number} opts.pageNumber Page number (default to 1)
11045
+ */
11046
+ getConversationsMessagingSupportedcontent(opts) {
11047
+ opts = opts || {};
11048
+
11049
+
11050
+ return this.apiClient.callApi(
11051
+ '/api/v2/conversations/messaging/supportedcontent',
11052
+ 'GET',
11053
+ { },
11054
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
11055
+ { },
11056
+ { },
11057
+ null,
11058
+ ['PureCloud OAuth'],
11059
+ ['application/json'],
11060
+ ['application/json']
11061
+ );
11062
+ }
11063
+
11064
+ /**
11065
+ * Get the organization's default supported content profile that will be used as the default when creating an integration.
11066
+ * 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.
11067
+ */
11068
+ getConversationsMessagingSupportedcontentDefault() {
11069
+
11070
+ return this.apiClient.callApi(
11071
+ '/api/v2/conversations/messaging/supportedcontent/default',
11072
+ 'GET',
11073
+ { },
11074
+ { },
11075
+ { },
11076
+ { },
11077
+ null,
11078
+ ['PureCloud OAuth'],
11079
+ ['application/json'],
11080
+ ['application/json']
11081
+ );
11082
+ }
11083
+
11084
+ /**
11085
+ * Get a supported content profile
11086
+ *
11087
+ * @param {String} supportedContentId Supported Content ID
11088
+ */
11089
+ getConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
11090
+ // verify the required parameter 'supportedContentId' is set
11091
+ if (supportedContentId === undefined || supportedContentId === null) {
11092
+ throw 'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';
11093
+ }
11094
+
11095
+ return this.apiClient.callApi(
11096
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
11097
+ 'GET',
11098
+ { 'supportedContentId': supportedContentId },
11099
+ { },
11100
+ { },
11101
+ { },
11102
+ null,
11103
+ ['PureCloud OAuth'],
11104
+ ['application/json'],
11105
+ ['application/json']
11106
+ );
11107
+ }
11108
+
11014
11109
  /**
11015
11110
  * Get conversation threading window timeline for each messaging type
11016
11111
  * 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.
@@ -12092,6 +12187,36 @@ class ConversationsApi {
12092
12187
  );
12093
12188
  }
12094
12189
 
12190
+ /**
12191
+ * Update a supported content profile
12192
+ *
12193
+ * @param {String} supportedContentId Supported Content ID
12194
+ * @param {Object} body SupportedContent
12195
+ */
12196
+ patchConversationsMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
12197
+ // verify the required parameter 'supportedContentId' is set
12198
+ if (supportedContentId === undefined || supportedContentId === null) {
12199
+ throw 'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
12200
+ }
12201
+ // verify the required parameter 'body' is set
12202
+ if (body === undefined || body === null) {
12203
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
12204
+ }
12205
+
12206
+ return this.apiClient.callApi(
12207
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
12208
+ 'PATCH',
12209
+ { 'supportedContentId': supportedContentId },
12210
+ { },
12211
+ { },
12212
+ { },
12213
+ body,
12214
+ ['PureCloud OAuth'],
12215
+ ['application/json'],
12216
+ ['application/json']
12217
+ );
12218
+ }
12219
+
12095
12220
  /**
12096
12221
  * Index conversation properties
12097
12222
  *
@@ -13327,6 +13452,31 @@ class ConversationsApi {
13327
13452
  );
13328
13453
  }
13329
13454
 
13455
+ /**
13456
+ * Create a Supported Content profile
13457
+ *
13458
+ * @param {Object} body SupportedContent
13459
+ */
13460
+ postConversationsMessagingSupportedcontent(body) {
13461
+ // verify the required parameter 'body' is set
13462
+ if (body === undefined || body === null) {
13463
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingSupportedcontent';
13464
+ }
13465
+
13466
+ return this.apiClient.callApi(
13467
+ '/api/v2/conversations/messaging/supportedcontent',
13468
+ 'POST',
13469
+ { },
13470
+ { },
13471
+ { },
13472
+ { },
13473
+ body,
13474
+ ['PureCloud OAuth'],
13475
+ ['application/json'],
13476
+ ['application/json']
13477
+ );
13478
+ }
13479
+
13330
13480
  /**
13331
13481
  * Set flagged reason on conversation participant to indicate bad conversation quality.
13332
13482
  *
@@ -13487,6 +13637,31 @@ class ConversationsApi {
13487
13637
  );
13488
13638
  }
13489
13639
 
13640
+ /**
13641
+ * Set the organization's default supported content profile that may be assigned to an integration when it is created.
13642
+ * 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.
13643
+ * @param {Object} body SupportedContent
13644
+ */
13645
+ putConversationsMessagingSupportedcontentDefault(body) {
13646
+ // verify the required parameter 'body' is set
13647
+ if (body === undefined || body === null) {
13648
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';
13649
+ }
13650
+
13651
+ return this.apiClient.callApi(
13652
+ '/api/v2/conversations/messaging/supportedcontent/default',
13653
+ 'PUT',
13654
+ { },
13655
+ { },
13656
+ { },
13657
+ { },
13658
+ body,
13659
+ ['PureCloud OAuth'],
13660
+ ['application/json'],
13661
+ ['application/json']
13662
+ );
13663
+ }
13664
+
13490
13665
  /**
13491
13666
  * Update conversation threading window timeline for each messaging type
13492
13667
  * 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.
@@ -13518,7 +13693,7 @@ class DataExtensionsApi {
13518
13693
  /**
13519
13694
  * DataExtensions service.
13520
13695
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
13521
- * @version 130.0.0
13696
+ * @version 131.0.0
13522
13697
  */
13523
13698
 
13524
13699
  /**
@@ -13604,7 +13779,7 @@ class ExternalContactsApi {
13604
13779
  /**
13605
13780
  * ExternalContacts service.
13606
13781
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
13607
- * @version 130.0.0
13782
+ * @version 131.0.0
13608
13783
  */
13609
13784
 
13610
13785
  /**
@@ -15347,7 +15522,7 @@ class FaxApi {
15347
15522
  /**
15348
15523
  * Fax service.
15349
15524
  * @module purecloud-platform-client-v2/api/FaxApi
15350
- * @version 130.0.0
15525
+ * @version 131.0.0
15351
15526
  */
15352
15527
 
15353
15528
  /**
@@ -15518,7 +15693,7 @@ class FlowsApi {
15518
15693
  /**
15519
15694
  * Flows service.
15520
15695
  * @module purecloud-platform-client-v2/api/FlowsApi
15521
- * @version 130.0.0
15696
+ * @version 131.0.0
15522
15697
  */
15523
15698
 
15524
15699
  /**
@@ -15589,7 +15764,7 @@ class GamificationApi {
15589
15764
  /**
15590
15765
  * Gamification service.
15591
15766
  * @module purecloud-platform-client-v2/api/GamificationApi
15592
- * @version 130.0.0
15767
+ * @version 131.0.0
15593
15768
  */
15594
15769
 
15595
15770
  /**
@@ -17015,7 +17190,7 @@ class GeneralDataProtectionRegulationApi {
17015
17190
  /**
17016
17191
  * GeneralDataProtectionRegulation service.
17017
17192
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
17018
- * @version 130.0.0
17193
+ * @version 131.0.0
17019
17194
  */
17020
17195
 
17021
17196
  /**
@@ -17145,7 +17320,7 @@ class GeolocationApi {
17145
17320
  /**
17146
17321
  * Geolocation service.
17147
17322
  * @module purecloud-platform-client-v2/api/GeolocationApi
17148
- * @version 130.0.0
17323
+ * @version 131.0.0
17149
17324
  */
17150
17325
 
17151
17326
  /**
@@ -17276,7 +17451,7 @@ class GreetingsApi {
17276
17451
  /**
17277
17452
  * Greetings service.
17278
17453
  * @module purecloud-platform-client-v2/api/GreetingsApi
17279
- * @version 130.0.0
17454
+ * @version 131.0.0
17280
17455
  */
17281
17456
 
17282
17457
  /**
@@ -17731,7 +17906,7 @@ class GroupsApi {
17731
17906
  /**
17732
17907
  * Groups service.
17733
17908
  * @module purecloud-platform-client-v2/api/GroupsApi
17734
- * @version 130.0.0
17909
+ * @version 131.0.0
17735
17910
  */
17736
17911
 
17737
17912
  /**
@@ -18136,7 +18311,7 @@ class IdentityProviderApi {
18136
18311
  /**
18137
18312
  * IdentityProvider service.
18138
18313
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18139
- * @version 130.0.0
18314
+ * @version 131.0.0
18140
18315
  */
18141
18316
 
18142
18317
  /**
@@ -18892,7 +19067,7 @@ class IntegrationsApi {
18892
19067
  /**
18893
19068
  * Integrations service.
18894
19069
  * @module purecloud-platform-client-v2/api/IntegrationsApi
18895
- * @version 130.0.0
19070
+ * @version 131.0.0
18896
19071
  */
18897
19072
 
18898
19073
  /**
@@ -20567,7 +20742,7 @@ class JourneyApi {
20567
20742
  /**
20568
20743
  * Journey service.
20569
20744
  * @module purecloud-platform-client-v2/api/JourneyApi
20570
- * @version 130.0.0
20745
+ * @version 131.0.0
20571
20746
  */
20572
20747
 
20573
20748
  /**
@@ -21278,7 +21453,7 @@ class KnowledgeApi {
21278
21453
  /**
21279
21454
  * Knowledge service.
21280
21455
  * @module purecloud-platform-client-v2/api/KnowledgeApi
21281
- * @version 130.0.0
21456
+ * @version 131.0.0
21282
21457
  */
21283
21458
 
21284
21459
  /**
@@ -22178,7 +22353,7 @@ class LanguageUnderstandingApi {
22178
22353
  /**
22179
22354
  * LanguageUnderstanding service.
22180
22355
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
22181
- * @version 130.0.0
22356
+ * @version 131.0.0
22182
22357
  */
22183
22358
 
22184
22359
  /**
@@ -23082,7 +23257,7 @@ class LanguagesApi {
23082
23257
  /**
23083
23258
  * Languages service.
23084
23259
  * @module purecloud-platform-client-v2/api/LanguagesApi
23085
- * @version 130.0.0
23260
+ * @version 131.0.0
23086
23261
  */
23087
23262
 
23088
23263
  /**
@@ -23350,7 +23525,7 @@ class LearningApi {
23350
23525
  /**
23351
23526
  * Learning service.
23352
23527
  * @module purecloud-platform-client-v2/api/LearningApi
23353
- * @version 130.0.0
23528
+ * @version 131.0.0
23354
23529
  */
23355
23530
 
23356
23531
  /**
@@ -23941,7 +24116,7 @@ class LicenseApi {
23941
24116
  /**
23942
24117
  * License service.
23943
24118
  * @module purecloud-platform-client-v2/api/LicenseApi
23944
- * @version 130.0.0
24119
+ * @version 131.0.0
23945
24120
  */
23946
24121
 
23947
24122
  /**
@@ -24179,7 +24354,7 @@ class LocationsApi {
24179
24354
  /**
24180
24355
  * Locations service.
24181
24356
  * @module purecloud-platform-client-v2/api/LocationsApi
24182
- * @version 130.0.0
24357
+ * @version 131.0.0
24183
24358
  */
24184
24359
 
24185
24360
  /**
@@ -24411,11 +24586,162 @@ class LocationsApi {
24411
24586
 
24412
24587
  }
24413
24588
 
24589
+ class MessagingApi {
24590
+ /**
24591
+ * Messaging service.
24592
+ * @module purecloud-platform-client-v2/api/MessagingApi
24593
+ * @version 131.0.0
24594
+ */
24595
+
24596
+ /**
24597
+ * Constructs a new MessagingApi.
24598
+ * @alias module:purecloud-platform-client-v2/api/MessagingApi
24599
+ * @class
24600
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
24601
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
24602
+ */
24603
+ constructor(apiClient) {
24604
+ this.apiClient = apiClient || ApiClient.instance;
24605
+ }
24606
+
24607
+
24608
+ /**
24609
+ * Delete a supported content profile
24610
+ *
24611
+ * @param {String} supportedContentId Supported Content ID
24612
+ */
24613
+ deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
24614
+ // verify the required parameter 'supportedContentId' is set
24615
+ if (supportedContentId === undefined || supportedContentId === null) {
24616
+ throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
24617
+ }
24618
+
24619
+ return this.apiClient.callApi(
24620
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24621
+ 'DELETE',
24622
+ { 'supportedContentId': supportedContentId },
24623
+ { },
24624
+ { },
24625
+ { },
24626
+ null,
24627
+ ['PureCloud OAuth'],
24628
+ ['application/json'],
24629
+ ['application/json']
24630
+ );
24631
+ }
24632
+
24633
+ /**
24634
+ * Get a list of Supported Content profiles
24635
+ *
24636
+ * @param {Object} opts Optional parameters
24637
+ * @param {Number} opts.pageSize Page size (default to 25)
24638
+ * @param {Number} opts.pageNumber Page number (default to 1)
24639
+ */
24640
+ getMessagingSupportedcontent(opts) {
24641
+ opts = opts || {};
24642
+
24643
+
24644
+ return this.apiClient.callApi(
24645
+ '/api/v2/messaging/supportedcontent',
24646
+ 'GET',
24647
+ { },
24648
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
24649
+ { },
24650
+ { },
24651
+ null,
24652
+ ['PureCloud OAuth'],
24653
+ ['application/json'],
24654
+ ['application/json']
24655
+ );
24656
+ }
24657
+
24658
+ /**
24659
+ * Get a supported content profile
24660
+ *
24661
+ * @param {String} supportedContentId Supported Content ID
24662
+ */
24663
+ getMessagingSupportedcontentSupportedContentId(supportedContentId) {
24664
+ // verify the required parameter 'supportedContentId' is set
24665
+ if (supportedContentId === undefined || supportedContentId === null) {
24666
+ throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
24667
+ }
24668
+
24669
+ return this.apiClient.callApi(
24670
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24671
+ 'GET',
24672
+ { 'supportedContentId': supportedContentId },
24673
+ { },
24674
+ { },
24675
+ { },
24676
+ null,
24677
+ ['PureCloud OAuth'],
24678
+ ['application/json'],
24679
+ ['application/json']
24680
+ );
24681
+ }
24682
+
24683
+ /**
24684
+ * Update a supported content profile
24685
+ *
24686
+ * @param {String} supportedContentId Supported Content ID
24687
+ * @param {Object} body SupportedContent
24688
+ */
24689
+ patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
24690
+ // verify the required parameter 'supportedContentId' is set
24691
+ if (supportedContentId === undefined || supportedContentId === null) {
24692
+ throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
24693
+ }
24694
+ // verify the required parameter 'body' is set
24695
+ if (body === undefined || body === null) {
24696
+ throw 'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';
24697
+ }
24698
+
24699
+ return this.apiClient.callApi(
24700
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24701
+ 'PATCH',
24702
+ { 'supportedContentId': supportedContentId },
24703
+ { },
24704
+ { },
24705
+ { },
24706
+ body,
24707
+ ['PureCloud OAuth'],
24708
+ ['application/json'],
24709
+ ['application/json']
24710
+ );
24711
+ }
24712
+
24713
+ /**
24714
+ * Create a Supported Content profile
24715
+ *
24716
+ * @param {Object} body SupportedContent
24717
+ */
24718
+ postMessagingSupportedcontent(body) {
24719
+ // verify the required parameter 'body' is set
24720
+ if (body === undefined || body === null) {
24721
+ throw 'Missing the required parameter "body" when calling postMessagingSupportedcontent';
24722
+ }
24723
+
24724
+ return this.apiClient.callApi(
24725
+ '/api/v2/messaging/supportedcontent',
24726
+ 'POST',
24727
+ { },
24728
+ { },
24729
+ { },
24730
+ { },
24731
+ body,
24732
+ ['PureCloud OAuth'],
24733
+ ['application/json'],
24734
+ ['application/json']
24735
+ );
24736
+ }
24737
+
24738
+ }
24739
+
24414
24740
  class MobileDevicesApi {
24415
24741
  /**
24416
24742
  * MobileDevices service.
24417
24743
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
24418
- * @version 130.0.0
24744
+ * @version 131.0.0
24419
24745
  */
24420
24746
 
24421
24747
  /**
@@ -24566,7 +24892,7 @@ class NotificationsApi {
24566
24892
  /**
24567
24893
  * Notifications service.
24568
24894
  * @module purecloud-platform-client-v2/api/NotificationsApi
24569
- * @version 130.0.0
24895
+ * @version 131.0.0
24570
24896
  */
24571
24897
 
24572
24898
  /**
@@ -24791,7 +25117,7 @@ class OAuthApi {
24791
25117
  /**
24792
25118
  * OAuth service.
24793
25119
  * @module purecloud-platform-client-v2/api/OAuthApi
24794
- * @version 130.0.0
25120
+ * @version 131.0.0
24795
25121
  */
24796
25122
 
24797
25123
  /**
@@ -25149,7 +25475,7 @@ class ObjectsApi {
25149
25475
  /**
25150
25476
  * Objects service.
25151
25477
  * @module purecloud-platform-client-v2/api/ObjectsApi
25152
- * @version 130.0.0
25478
+ * @version 131.0.0
25153
25479
  */
25154
25480
 
25155
25481
  /**
@@ -25420,7 +25746,7 @@ class OrganizationApi {
25420
25746
  /**
25421
25747
  * Organization service.
25422
25748
  * @module purecloud-platform-client-v2/api/OrganizationApi
25423
- * @version 130.0.0
25749
+ * @version 131.0.0
25424
25750
  */
25425
25751
 
25426
25752
  /**
@@ -25823,7 +26149,7 @@ class OrganizationAuthorizationApi {
25823
26149
  /**
25824
26150
  * OrganizationAuthorization service.
25825
26151
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
25826
- * @version 130.0.0
26152
+ * @version 131.0.0
25827
26153
  */
25828
26154
 
25829
26155
  /**
@@ -26748,7 +27074,7 @@ class OutboundApi {
26748
27074
  /**
26749
27075
  * Outbound service.
26750
27076
  * @module purecloud-platform-client-v2/api/OutboundApi
26751
- * @version 130.0.0
27077
+ * @version 131.0.0
26752
27078
  */
26753
27079
 
26754
27080
  /**
@@ -29774,7 +30100,7 @@ class PresenceApi {
29774
30100
  /**
29775
30101
  * Presence service.
29776
30102
  * @module purecloud-platform-client-v2/api/PresenceApi
29777
- * @version 130.0.0
30103
+ * @version 131.0.0
29778
30104
  */
29779
30105
 
29780
30106
  /**
@@ -30146,7 +30472,7 @@ class QualityApi {
30146
30472
  /**
30147
30473
  * Quality service.
30148
30474
  * @module purecloud-platform-client-v2/api/QualityApi
30149
- * @version 130.0.0
30475
+ * @version 131.0.0
30150
30476
  */
30151
30477
 
30152
30478
  /**
@@ -31674,7 +32000,7 @@ class RecordingApi {
31674
32000
  /**
31675
32001
  * Recording service.
31676
32002
  * @module purecloud-platform-client-v2/api/RecordingApi
31677
- * @version 130.0.0
32003
+ * @version 131.0.0
31678
32004
  */
31679
32005
 
31680
32006
  /**
@@ -33197,7 +33523,7 @@ class ResponseManagementApi {
33197
33523
  /**
33198
33524
  * ResponseManagement service.
33199
33525
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
33200
- * @version 130.0.0
33526
+ * @version 131.0.0
33201
33527
  */
33202
33528
 
33203
33529
  /**
@@ -33522,7 +33848,7 @@ class RoutingApi {
33522
33848
  /**
33523
33849
  * Routing service.
33524
33850
  * @module purecloud-platform-client-v2/api/RoutingApi
33525
- * @version 130.0.0
33851
+ * @version 131.0.0
33526
33852
  */
33527
33853
 
33528
33854
  /**
@@ -36445,7 +36771,7 @@ class SCIMApi {
36445
36771
  /**
36446
36772
  * SCIM service.
36447
36773
  * @module purecloud-platform-client-v2/api/SCIMApi
36448
- * @version 130.0.0
36774
+ * @version 131.0.0
36449
36775
  */
36450
36776
 
36451
36777
  /**
@@ -37322,7 +37648,7 @@ class ScriptsApi {
37322
37648
  /**
37323
37649
  * Scripts service.
37324
37650
  * @module purecloud-platform-client-v2/api/ScriptsApi
37325
- * @version 130.0.0
37651
+ * @version 131.0.0
37326
37652
  */
37327
37653
 
37328
37654
  /**
@@ -37675,7 +38001,7 @@ class SearchApi {
37675
38001
  /**
37676
38002
  * Search service.
37677
38003
  * @module purecloud-platform-client-v2/api/SearchApi
37678
- * @version 130.0.0
38004
+ * @version 131.0.0
37679
38005
  */
37680
38006
 
37681
38007
  /**
@@ -38210,7 +38536,7 @@ class SpeechTextAnalyticsApi {
38210
38536
  /**
38211
38537
  * SpeechTextAnalytics service.
38212
38538
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
38213
- * @version 130.0.0
38539
+ * @version 131.0.0
38214
38540
  */
38215
38541
 
38216
38542
  /**
@@ -38379,26 +38705,6 @@ class SpeechTextAnalyticsApi {
38379
38705
  );
38380
38706
  }
38381
38707
 
38382
- /**
38383
- * Get list of supported Speech & Text Analytics dialects
38384
- * This api has been deprecated. Use api/v2/topics/dialects instead
38385
- */
38386
- getSpeechandtextanalyticsDialects() {
38387
-
38388
- return this.apiClient.callApi(
38389
- '/api/v2/speechandtextanalytics/dialects',
38390
- 'GET',
38391
- { },
38392
- { },
38393
- { },
38394
- { },
38395
- null,
38396
- ['PureCloud OAuth'],
38397
- ['application/json'],
38398
- ['application/json']
38399
- );
38400
- }
38401
-
38402
38708
  /**
38403
38709
  * Get a Speech & Text Analytics program by id
38404
38710
  *
@@ -39083,7 +39389,7 @@ class StationsApi {
39083
39389
  /**
39084
39390
  * Stations service.
39085
39391
  * @module purecloud-platform-client-v2/api/StationsApi
39086
- * @version 130.0.0
39392
+ * @version 131.0.0
39087
39393
  */
39088
39394
 
39089
39395
  /**
@@ -39230,7 +39536,7 @@ class SuggestApi {
39230
39536
  /**
39231
39537
  * Suggest service.
39232
39538
  * @module purecloud-platform-client-v2/api/SuggestApi
39233
- * @version 130.0.0
39539
+ * @version 131.0.0
39234
39540
  */
39235
39541
 
39236
39542
  /**
@@ -39369,7 +39675,7 @@ class TelephonyApi {
39369
39675
  /**
39370
39676
  * Telephony service.
39371
39677
  * @module purecloud-platform-client-v2/api/TelephonyApi
39372
- * @version 130.0.0
39678
+ * @version 131.0.0
39373
39679
  */
39374
39680
 
39375
39681
  /**
@@ -39477,7 +39783,7 @@ class TelephonyProvidersEdgeApi {
39477
39783
  /**
39478
39784
  * TelephonyProvidersEdge service.
39479
39785
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
39480
- * @version 130.0.0
39786
+ * @version 131.0.0
39481
39787
  */
39482
39788
 
39483
39789
  /**
@@ -43110,7 +43416,7 @@ class TextbotsApi {
43110
43416
  /**
43111
43417
  * Textbots service.
43112
43418
  * @module purecloud-platform-client-v2/api/TextbotsApi
43113
- * @version 130.0.0
43419
+ * @version 131.0.0
43114
43420
  */
43115
43421
 
43116
43422
  /**
@@ -43238,7 +43544,7 @@ class TokensApi {
43238
43544
  /**
43239
43545
  * Tokens service.
43240
43546
  * @module purecloud-platform-client-v2/api/TokensApi
43241
- * @version 130.0.0
43547
+ * @version 131.0.0
43242
43548
  */
43243
43549
 
43244
43550
  /**
@@ -43344,7 +43650,7 @@ class UploadsApi {
43344
43650
  /**
43345
43651
  * Uploads service.
43346
43652
  * @module purecloud-platform-client-v2/api/UploadsApi
43347
- * @version 130.0.0
43653
+ * @version 131.0.0
43348
43654
  */
43349
43655
 
43350
43656
  /**
@@ -43520,7 +43826,7 @@ class UsageApi {
43520
43826
  /**
43521
43827
  * Usage service.
43522
43828
  * @module purecloud-platform-client-v2/api/UsageApi
43523
- * @version 130.0.0
43829
+ * @version 131.0.0
43524
43830
  */
43525
43831
 
43526
43832
  /**
@@ -43591,7 +43897,7 @@ class UserRecordingsApi {
43591
43897
  /**
43592
43898
  * UserRecordings service.
43593
43899
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
43594
- * @version 130.0.0
43900
+ * @version 131.0.0
43595
43901
  */
43596
43902
 
43597
43903
  /**
@@ -43775,7 +44081,7 @@ class UsersApi {
43775
44081
  /**
43776
44082
  * Users service.
43777
44083
  * @module purecloud-platform-client-v2/api/UsersApi
43778
- * @version 130.0.0
44084
+ * @version 131.0.0
43779
44085
  */
43780
44086
 
43781
44087
  /**
@@ -46077,7 +46383,7 @@ class UtilitiesApi {
46077
46383
  /**
46078
46384
  * Utilities service.
46079
46385
  * @module purecloud-platform-client-v2/api/UtilitiesApi
46080
- * @version 130.0.0
46386
+ * @version 131.0.0
46081
46387
  */
46082
46388
 
46083
46389
  /**
@@ -46188,7 +46494,7 @@ class VoicemailApi {
46188
46494
  /**
46189
46495
  * Voicemail service.
46190
46496
  * @module purecloud-platform-client-v2/api/VoicemailApi
46191
- * @version 130.0.0
46497
+ * @version 131.0.0
46192
46498
  */
46193
46499
 
46194
46500
  /**
@@ -46855,7 +47161,7 @@ class WebChatApi {
46855
47161
  /**
46856
47162
  * WebChat service.
46857
47163
  * @module purecloud-platform-client-v2/api/WebChatApi
46858
- * @version 130.0.0
47164
+ * @version 131.0.0
46859
47165
  */
46860
47166
 
46861
47167
  /**
@@ -47399,7 +47705,7 @@ class WebDeploymentsApi {
47399
47705
  /**
47400
47706
  * WebDeployments service.
47401
47707
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
47402
- * @version 130.0.0
47708
+ * @version 131.0.0
47403
47709
  */
47404
47710
 
47405
47711
  /**
@@ -47754,7 +48060,7 @@ class WebMessagingApi {
47754
48060
  /**
47755
48061
  * WebMessaging service.
47756
48062
  * @module purecloud-platform-client-v2/api/WebMessagingApi
47757
- * @version 130.0.0
48063
+ * @version 131.0.0
47758
48064
  */
47759
48065
 
47760
48066
  /**
@@ -47800,7 +48106,7 @@ class WidgetsApi {
47800
48106
  /**
47801
48107
  * Widgets service.
47802
48108
  * @module purecloud-platform-client-v2/api/WidgetsApi
47803
- * @version 130.0.0
48109
+ * @version 131.0.0
47804
48110
  */
47805
48111
 
47806
48112
  /**
@@ -47946,7 +48252,7 @@ class WorkforceManagementApi {
47946
48252
  /**
47947
48253
  * WorkforceManagement service.
47948
48254
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
47949
- * @version 130.0.0
48255
+ * @version 131.0.0
47950
48256
  */
47951
48257
 
47952
48258
  /**
@@ -51977,7 +52283,7 @@ class WorkforceManagementApi {
51977
52283
  * </pre>
51978
52284
  * </p>
51979
52285
  * @module purecloud-platform-client-v2/index
51980
- * @version 130.0.0
52286
+ * @version 131.0.0
51981
52287
  */
51982
52288
  class platformClient {
51983
52289
  constructor() {
@@ -52131,6 +52437,11 @@ class platformClient {
52131
52437
  * @property {module:purecloud-platform-client-v2/api/LocationsApi}
52132
52438
  */
52133
52439
  this.LocationsApi = LocationsApi;
52440
+ /**
52441
+ * The MessagingApi service constructor.
52442
+ * @property {module:purecloud-platform-client-v2/api/MessagingApi}
52443
+ */
52444
+ this.MessagingApi = MessagingApi;
52134
52445
  /**
52135
52446
  * The MobileDevicesApi service constructor.
52136
52447
  * @property {module:purecloud-platform-client-v2/api/MobileDevicesApi}