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
@@ -2263,7 +2263,7 @@ class Configuration {
2263
2263
 
2264
2264
  /**
2265
2265
  * @module purecloud-platform-client-v2/ApiClient
2266
- * @version 130.0.0
2266
+ * @version 131.0.0
2267
2267
  */
2268
2268
  class ApiClient {
2269
2269
  /**
@@ -3203,7 +3203,7 @@ class ApiClient {
3203
3203
 
3204
3204
  // set header parameters
3205
3205
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
3206
- //request.set({ 'purecloud-sdk': '130.0.0' });
3206
+ //request.set({ 'purecloud-sdk': '131.0.0' });
3207
3207
 
3208
3208
  // set request timeout
3209
3209
  request.timeout(that.timeout);
@@ -3303,7 +3303,7 @@ class AlertingApi {
3303
3303
  /**
3304
3304
  * Alerting service.
3305
3305
  * @module purecloud-platform-client-v2/api/AlertingApi
3306
- * @version 130.0.0
3306
+ * @version 131.0.0
3307
3307
  */
3308
3308
 
3309
3309
  /**
@@ -3617,7 +3617,7 @@ class AnalyticsApi {
3617
3617
  /**
3618
3618
  * Analytics service.
3619
3619
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3620
- * @version 130.0.0
3620
+ * @version 131.0.0
3621
3621
  */
3622
3622
 
3623
3623
  /**
@@ -4754,7 +4754,7 @@ class ArchitectApi {
4754
4754
  /**
4755
4755
  * Architect service.
4756
4756
  * @module purecloud-platform-client-v2/api/ArchitectApi
4757
- * @version 130.0.0
4757
+ * @version 131.0.0
4758
4758
  */
4759
4759
 
4760
4760
  /**
@@ -7750,7 +7750,7 @@ class AuditApi {
7750
7750
  /**
7751
7751
  * Audit service.
7752
7752
  * @module purecloud-platform-client-v2/api/AuditApi
7753
- * @version 130.0.0
7753
+ * @version 131.0.0
7754
7754
  */
7755
7755
 
7756
7756
  /**
@@ -7921,7 +7921,7 @@ class AuthorizationApi {
7921
7921
  /**
7922
7922
  * Authorization service.
7923
7923
  * @module purecloud-platform-client-v2/api/AuthorizationApi
7924
- * @version 130.0.0
7924
+ * @version 131.0.0
7925
7925
  */
7926
7926
 
7927
7927
  /**
@@ -9104,7 +9104,7 @@ class BillingApi {
9104
9104
  /**
9105
9105
  * Billing service.
9106
9106
  * @module purecloud-platform-client-v2/api/BillingApi
9107
- * @version 130.0.0
9107
+ * @version 131.0.0
9108
9108
  */
9109
9109
 
9110
9110
  /**
@@ -9184,7 +9184,7 @@ class ChatApi {
9184
9184
  /**
9185
9185
  * Chat service.
9186
9186
  * @module purecloud-platform-client-v2/api/ChatApi
9187
- * @version 130.0.0
9187
+ * @version 131.0.0
9188
9188
  */
9189
9189
 
9190
9190
  /**
@@ -9275,7 +9275,7 @@ class CoachingApi {
9275
9275
  /**
9276
9276
  * Coaching service.
9277
9277
  * @module purecloud-platform-client-v2/api/CoachingApi
9278
- * @version 130.0.0
9278
+ * @version 131.0.0
9279
9279
  */
9280
9280
 
9281
9281
  /**
@@ -9852,7 +9852,7 @@ class ContentManagementApi {
9852
9852
  /**
9853
9853
  * ContentManagement service.
9854
9854
  * @module purecloud-platform-client-v2/api/ContentManagementApi
9855
- * @version 130.0.0
9855
+ * @version 131.0.0
9856
9856
  */
9857
9857
 
9858
9858
  /**
@@ -10992,7 +10992,7 @@ class ConversationsApi {
10992
10992
  /**
10993
10993
  * Conversations service.
10994
10994
  * @module purecloud-platform-client-v2/api/ConversationsApi
10995
- * @version 130.0.0
10995
+ * @version 131.0.0
10996
10996
  */
10997
10997
 
10998
10998
  /**
@@ -11282,6 +11282,31 @@ class ConversationsApi {
11282
11282
  );
11283
11283
  }
11284
11284
 
11285
+ /**
11286
+ * Delete a supported content profile
11287
+ *
11288
+ * @param {String} supportedContentId Supported Content ID
11289
+ */
11290
+ deleteConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
11291
+ // verify the required parameter 'supportedContentId' is set
11292
+ if (supportedContentId === undefined || supportedContentId === null) {
11293
+ throw 'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';
11294
+ }
11295
+
11296
+ return this.apiClient.callApi(
11297
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
11298
+ 'DELETE',
11299
+ { 'supportedContentId': supportedContentId },
11300
+ { },
11301
+ { },
11302
+ { },
11303
+ null,
11304
+ ['PureCloud OAuth'],
11305
+ ['application/json'],
11306
+ ['application/json']
11307
+ );
11308
+ }
11309
+
11285
11310
  /**
11286
11311
  * Get a conversation by id
11287
11312
  *
@@ -12874,6 +12899,76 @@ class ConversationsApi {
12874
12899
  );
12875
12900
  }
12876
12901
 
12902
+ /**
12903
+ * Get a list of Supported Content profiles
12904
+ *
12905
+ * @param {Object} opts Optional parameters
12906
+ * @param {Number} opts.pageSize Page size (default to 25)
12907
+ * @param {Number} opts.pageNumber Page number (default to 1)
12908
+ */
12909
+ getConversationsMessagingSupportedcontent(opts) {
12910
+ opts = opts || {};
12911
+
12912
+
12913
+ return this.apiClient.callApi(
12914
+ '/api/v2/conversations/messaging/supportedcontent',
12915
+ 'GET',
12916
+ { },
12917
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
12918
+ { },
12919
+ { },
12920
+ null,
12921
+ ['PureCloud OAuth'],
12922
+ ['application/json'],
12923
+ ['application/json']
12924
+ );
12925
+ }
12926
+
12927
+ /**
12928
+ * Get the organization's default supported content profile that will be used as the default when creating an integration.
12929
+ * 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.
12930
+ */
12931
+ getConversationsMessagingSupportedcontentDefault() {
12932
+
12933
+ return this.apiClient.callApi(
12934
+ '/api/v2/conversations/messaging/supportedcontent/default',
12935
+ 'GET',
12936
+ { },
12937
+ { },
12938
+ { },
12939
+ { },
12940
+ null,
12941
+ ['PureCloud OAuth'],
12942
+ ['application/json'],
12943
+ ['application/json']
12944
+ );
12945
+ }
12946
+
12947
+ /**
12948
+ * Get a supported content profile
12949
+ *
12950
+ * @param {String} supportedContentId Supported Content ID
12951
+ */
12952
+ getConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
12953
+ // verify the required parameter 'supportedContentId' is set
12954
+ if (supportedContentId === undefined || supportedContentId === null) {
12955
+ throw 'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';
12956
+ }
12957
+
12958
+ return this.apiClient.callApi(
12959
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
12960
+ 'GET',
12961
+ { 'supportedContentId': supportedContentId },
12962
+ { },
12963
+ { },
12964
+ { },
12965
+ null,
12966
+ ['PureCloud OAuth'],
12967
+ ['application/json'],
12968
+ ['application/json']
12969
+ );
12970
+ }
12971
+
12877
12972
  /**
12878
12973
  * Get conversation threading window timeline for each messaging type
12879
12974
  * 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.
@@ -13955,6 +14050,36 @@ class ConversationsApi {
13955
14050
  );
13956
14051
  }
13957
14052
 
14053
+ /**
14054
+ * Update a supported content profile
14055
+ *
14056
+ * @param {String} supportedContentId Supported Content ID
14057
+ * @param {Object} body SupportedContent
14058
+ */
14059
+ patchConversationsMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
14060
+ // verify the required parameter 'supportedContentId' is set
14061
+ if (supportedContentId === undefined || supportedContentId === null) {
14062
+ throw 'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
14063
+ }
14064
+ // verify the required parameter 'body' is set
14065
+ if (body === undefined || body === null) {
14066
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
14067
+ }
14068
+
14069
+ return this.apiClient.callApi(
14070
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
14071
+ 'PATCH',
14072
+ { 'supportedContentId': supportedContentId },
14073
+ { },
14074
+ { },
14075
+ { },
14076
+ body,
14077
+ ['PureCloud OAuth'],
14078
+ ['application/json'],
14079
+ ['application/json']
14080
+ );
14081
+ }
14082
+
13958
14083
  /**
13959
14084
  * Index conversation properties
13960
14085
  *
@@ -15190,6 +15315,31 @@ class ConversationsApi {
15190
15315
  );
15191
15316
  }
15192
15317
 
15318
+ /**
15319
+ * Create a Supported Content profile
15320
+ *
15321
+ * @param {Object} body SupportedContent
15322
+ */
15323
+ postConversationsMessagingSupportedcontent(body) {
15324
+ // verify the required parameter 'body' is set
15325
+ if (body === undefined || body === null) {
15326
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingSupportedcontent';
15327
+ }
15328
+
15329
+ return this.apiClient.callApi(
15330
+ '/api/v2/conversations/messaging/supportedcontent',
15331
+ 'POST',
15332
+ { },
15333
+ { },
15334
+ { },
15335
+ { },
15336
+ body,
15337
+ ['PureCloud OAuth'],
15338
+ ['application/json'],
15339
+ ['application/json']
15340
+ );
15341
+ }
15342
+
15193
15343
  /**
15194
15344
  * Set flagged reason on conversation participant to indicate bad conversation quality.
15195
15345
  *
@@ -15350,6 +15500,31 @@ class ConversationsApi {
15350
15500
  );
15351
15501
  }
15352
15502
 
15503
+ /**
15504
+ * Set the organization's default supported content profile that may be assigned to an integration when it is created.
15505
+ * 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.
15506
+ * @param {Object} body SupportedContent
15507
+ */
15508
+ putConversationsMessagingSupportedcontentDefault(body) {
15509
+ // verify the required parameter 'body' is set
15510
+ if (body === undefined || body === null) {
15511
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';
15512
+ }
15513
+
15514
+ return this.apiClient.callApi(
15515
+ '/api/v2/conversations/messaging/supportedcontent/default',
15516
+ 'PUT',
15517
+ { },
15518
+ { },
15519
+ { },
15520
+ { },
15521
+ body,
15522
+ ['PureCloud OAuth'],
15523
+ ['application/json'],
15524
+ ['application/json']
15525
+ );
15526
+ }
15527
+
15353
15528
  /**
15354
15529
  * Update conversation threading window timeline for each messaging type
15355
15530
  * 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.
@@ -15381,7 +15556,7 @@ class DataExtensionsApi {
15381
15556
  /**
15382
15557
  * DataExtensions service.
15383
15558
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
15384
- * @version 130.0.0
15559
+ * @version 131.0.0
15385
15560
  */
15386
15561
 
15387
15562
  /**
@@ -15467,7 +15642,7 @@ class ExternalContactsApi {
15467
15642
  /**
15468
15643
  * ExternalContacts service.
15469
15644
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
15470
- * @version 130.0.0
15645
+ * @version 131.0.0
15471
15646
  */
15472
15647
 
15473
15648
  /**
@@ -17210,7 +17385,7 @@ class FaxApi {
17210
17385
  /**
17211
17386
  * Fax service.
17212
17387
  * @module purecloud-platform-client-v2/api/FaxApi
17213
- * @version 130.0.0
17388
+ * @version 131.0.0
17214
17389
  */
17215
17390
 
17216
17391
  /**
@@ -17381,7 +17556,7 @@ class FlowsApi {
17381
17556
  /**
17382
17557
  * Flows service.
17383
17558
  * @module purecloud-platform-client-v2/api/FlowsApi
17384
- * @version 130.0.0
17559
+ * @version 131.0.0
17385
17560
  */
17386
17561
 
17387
17562
  /**
@@ -17452,7 +17627,7 @@ class GamificationApi {
17452
17627
  /**
17453
17628
  * Gamification service.
17454
17629
  * @module purecloud-platform-client-v2/api/GamificationApi
17455
- * @version 130.0.0
17630
+ * @version 131.0.0
17456
17631
  */
17457
17632
 
17458
17633
  /**
@@ -18878,7 +19053,7 @@ class GeneralDataProtectionRegulationApi {
18878
19053
  /**
18879
19054
  * GeneralDataProtectionRegulation service.
18880
19055
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
18881
- * @version 130.0.0
19056
+ * @version 131.0.0
18882
19057
  */
18883
19058
 
18884
19059
  /**
@@ -19008,7 +19183,7 @@ class GeolocationApi {
19008
19183
  /**
19009
19184
  * Geolocation service.
19010
19185
  * @module purecloud-platform-client-v2/api/GeolocationApi
19011
- * @version 130.0.0
19186
+ * @version 131.0.0
19012
19187
  */
19013
19188
 
19014
19189
  /**
@@ -19139,7 +19314,7 @@ class GreetingsApi {
19139
19314
  /**
19140
19315
  * Greetings service.
19141
19316
  * @module purecloud-platform-client-v2/api/GreetingsApi
19142
- * @version 130.0.0
19317
+ * @version 131.0.0
19143
19318
  */
19144
19319
 
19145
19320
  /**
@@ -19594,7 +19769,7 @@ class GroupsApi {
19594
19769
  /**
19595
19770
  * Groups service.
19596
19771
  * @module purecloud-platform-client-v2/api/GroupsApi
19597
- * @version 130.0.0
19772
+ * @version 131.0.0
19598
19773
  */
19599
19774
 
19600
19775
  /**
@@ -19999,7 +20174,7 @@ class IdentityProviderApi {
19999
20174
  /**
20000
20175
  * IdentityProvider service.
20001
20176
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
20002
- * @version 130.0.0
20177
+ * @version 131.0.0
20003
20178
  */
20004
20179
 
20005
20180
  /**
@@ -20755,7 +20930,7 @@ class IntegrationsApi {
20755
20930
  /**
20756
20931
  * Integrations service.
20757
20932
  * @module purecloud-platform-client-v2/api/IntegrationsApi
20758
- * @version 130.0.0
20933
+ * @version 131.0.0
20759
20934
  */
20760
20935
 
20761
20936
  /**
@@ -22430,7 +22605,7 @@ class JourneyApi {
22430
22605
  /**
22431
22606
  * Journey service.
22432
22607
  * @module purecloud-platform-client-v2/api/JourneyApi
22433
- * @version 130.0.0
22608
+ * @version 131.0.0
22434
22609
  */
22435
22610
 
22436
22611
  /**
@@ -23141,7 +23316,7 @@ class KnowledgeApi {
23141
23316
  /**
23142
23317
  * Knowledge service.
23143
23318
  * @module purecloud-platform-client-v2/api/KnowledgeApi
23144
- * @version 130.0.0
23319
+ * @version 131.0.0
23145
23320
  */
23146
23321
 
23147
23322
  /**
@@ -24041,7 +24216,7 @@ class LanguageUnderstandingApi {
24041
24216
  /**
24042
24217
  * LanguageUnderstanding service.
24043
24218
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
24044
- * @version 130.0.0
24219
+ * @version 131.0.0
24045
24220
  */
24046
24221
 
24047
24222
  /**
@@ -24945,7 +25120,7 @@ class LanguagesApi {
24945
25120
  /**
24946
25121
  * Languages service.
24947
25122
  * @module purecloud-platform-client-v2/api/LanguagesApi
24948
- * @version 130.0.0
25123
+ * @version 131.0.0
24949
25124
  */
24950
25125
 
24951
25126
  /**
@@ -25213,7 +25388,7 @@ class LearningApi {
25213
25388
  /**
25214
25389
  * Learning service.
25215
25390
  * @module purecloud-platform-client-v2/api/LearningApi
25216
- * @version 130.0.0
25391
+ * @version 131.0.0
25217
25392
  */
25218
25393
 
25219
25394
  /**
@@ -25804,7 +25979,7 @@ class LicenseApi {
25804
25979
  /**
25805
25980
  * License service.
25806
25981
  * @module purecloud-platform-client-v2/api/LicenseApi
25807
- * @version 130.0.0
25982
+ * @version 131.0.0
25808
25983
  */
25809
25984
 
25810
25985
  /**
@@ -26042,7 +26217,7 @@ class LocationsApi {
26042
26217
  /**
26043
26218
  * Locations service.
26044
26219
  * @module purecloud-platform-client-v2/api/LocationsApi
26045
- * @version 130.0.0
26220
+ * @version 131.0.0
26046
26221
  */
26047
26222
 
26048
26223
  /**
@@ -26274,11 +26449,162 @@ class LocationsApi {
26274
26449
 
26275
26450
  }
26276
26451
 
26452
+ class MessagingApi {
26453
+ /**
26454
+ * Messaging service.
26455
+ * @module purecloud-platform-client-v2/api/MessagingApi
26456
+ * @version 131.0.0
26457
+ */
26458
+
26459
+ /**
26460
+ * Constructs a new MessagingApi.
26461
+ * @alias module:purecloud-platform-client-v2/api/MessagingApi
26462
+ * @class
26463
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
26464
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
26465
+ */
26466
+ constructor(apiClient) {
26467
+ this.apiClient = apiClient || ApiClient.instance;
26468
+ }
26469
+
26470
+
26471
+ /**
26472
+ * Delete a supported content profile
26473
+ *
26474
+ * @param {String} supportedContentId Supported Content ID
26475
+ */
26476
+ deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
26477
+ // verify the required parameter 'supportedContentId' is set
26478
+ if (supportedContentId === undefined || supportedContentId === null) {
26479
+ throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
26480
+ }
26481
+
26482
+ return this.apiClient.callApi(
26483
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
26484
+ 'DELETE',
26485
+ { 'supportedContentId': supportedContentId },
26486
+ { },
26487
+ { },
26488
+ { },
26489
+ null,
26490
+ ['PureCloud OAuth'],
26491
+ ['application/json'],
26492
+ ['application/json']
26493
+ );
26494
+ }
26495
+
26496
+ /**
26497
+ * Get a list of Supported Content profiles
26498
+ *
26499
+ * @param {Object} opts Optional parameters
26500
+ * @param {Number} opts.pageSize Page size (default to 25)
26501
+ * @param {Number} opts.pageNumber Page number (default to 1)
26502
+ */
26503
+ getMessagingSupportedcontent(opts) {
26504
+ opts = opts || {};
26505
+
26506
+
26507
+ return this.apiClient.callApi(
26508
+ '/api/v2/messaging/supportedcontent',
26509
+ 'GET',
26510
+ { },
26511
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
26512
+ { },
26513
+ { },
26514
+ null,
26515
+ ['PureCloud OAuth'],
26516
+ ['application/json'],
26517
+ ['application/json']
26518
+ );
26519
+ }
26520
+
26521
+ /**
26522
+ * Get a supported content profile
26523
+ *
26524
+ * @param {String} supportedContentId Supported Content ID
26525
+ */
26526
+ getMessagingSupportedcontentSupportedContentId(supportedContentId) {
26527
+ // verify the required parameter 'supportedContentId' is set
26528
+ if (supportedContentId === undefined || supportedContentId === null) {
26529
+ throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
26530
+ }
26531
+
26532
+ return this.apiClient.callApi(
26533
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
26534
+ 'GET',
26535
+ { 'supportedContentId': supportedContentId },
26536
+ { },
26537
+ { },
26538
+ { },
26539
+ null,
26540
+ ['PureCloud OAuth'],
26541
+ ['application/json'],
26542
+ ['application/json']
26543
+ );
26544
+ }
26545
+
26546
+ /**
26547
+ * Update a supported content profile
26548
+ *
26549
+ * @param {String} supportedContentId Supported Content ID
26550
+ * @param {Object} body SupportedContent
26551
+ */
26552
+ patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
26553
+ // verify the required parameter 'supportedContentId' is set
26554
+ if (supportedContentId === undefined || supportedContentId === null) {
26555
+ throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
26556
+ }
26557
+ // verify the required parameter 'body' is set
26558
+ if (body === undefined || body === null) {
26559
+ throw 'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';
26560
+ }
26561
+
26562
+ return this.apiClient.callApi(
26563
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
26564
+ 'PATCH',
26565
+ { 'supportedContentId': supportedContentId },
26566
+ { },
26567
+ { },
26568
+ { },
26569
+ body,
26570
+ ['PureCloud OAuth'],
26571
+ ['application/json'],
26572
+ ['application/json']
26573
+ );
26574
+ }
26575
+
26576
+ /**
26577
+ * Create a Supported Content profile
26578
+ *
26579
+ * @param {Object} body SupportedContent
26580
+ */
26581
+ postMessagingSupportedcontent(body) {
26582
+ // verify the required parameter 'body' is set
26583
+ if (body === undefined || body === null) {
26584
+ throw 'Missing the required parameter "body" when calling postMessagingSupportedcontent';
26585
+ }
26586
+
26587
+ return this.apiClient.callApi(
26588
+ '/api/v2/messaging/supportedcontent',
26589
+ 'POST',
26590
+ { },
26591
+ { },
26592
+ { },
26593
+ { },
26594
+ body,
26595
+ ['PureCloud OAuth'],
26596
+ ['application/json'],
26597
+ ['application/json']
26598
+ );
26599
+ }
26600
+
26601
+ }
26602
+
26277
26603
  class MobileDevicesApi {
26278
26604
  /**
26279
26605
  * MobileDevices service.
26280
26606
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
26281
- * @version 130.0.0
26607
+ * @version 131.0.0
26282
26608
  */
26283
26609
 
26284
26610
  /**
@@ -26429,7 +26755,7 @@ class NotificationsApi {
26429
26755
  /**
26430
26756
  * Notifications service.
26431
26757
  * @module purecloud-platform-client-v2/api/NotificationsApi
26432
- * @version 130.0.0
26758
+ * @version 131.0.0
26433
26759
  */
26434
26760
 
26435
26761
  /**
@@ -26654,7 +26980,7 @@ class OAuthApi {
26654
26980
  /**
26655
26981
  * OAuth service.
26656
26982
  * @module purecloud-platform-client-v2/api/OAuthApi
26657
- * @version 130.0.0
26983
+ * @version 131.0.0
26658
26984
  */
26659
26985
 
26660
26986
  /**
@@ -27012,7 +27338,7 @@ class ObjectsApi {
27012
27338
  /**
27013
27339
  * Objects service.
27014
27340
  * @module purecloud-platform-client-v2/api/ObjectsApi
27015
- * @version 130.0.0
27341
+ * @version 131.0.0
27016
27342
  */
27017
27343
 
27018
27344
  /**
@@ -27283,7 +27609,7 @@ class OrganizationApi {
27283
27609
  /**
27284
27610
  * Organization service.
27285
27611
  * @module purecloud-platform-client-v2/api/OrganizationApi
27286
- * @version 130.0.0
27612
+ * @version 131.0.0
27287
27613
  */
27288
27614
 
27289
27615
  /**
@@ -27686,7 +28012,7 @@ class OrganizationAuthorizationApi {
27686
28012
  /**
27687
28013
  * OrganizationAuthorization service.
27688
28014
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
27689
- * @version 130.0.0
28015
+ * @version 131.0.0
27690
28016
  */
27691
28017
 
27692
28018
  /**
@@ -28611,7 +28937,7 @@ class OutboundApi {
28611
28937
  /**
28612
28938
  * Outbound service.
28613
28939
  * @module purecloud-platform-client-v2/api/OutboundApi
28614
- * @version 130.0.0
28940
+ * @version 131.0.0
28615
28941
  */
28616
28942
 
28617
28943
  /**
@@ -31637,7 +31963,7 @@ class PresenceApi {
31637
31963
  /**
31638
31964
  * Presence service.
31639
31965
  * @module purecloud-platform-client-v2/api/PresenceApi
31640
- * @version 130.0.0
31966
+ * @version 131.0.0
31641
31967
  */
31642
31968
 
31643
31969
  /**
@@ -32009,7 +32335,7 @@ class QualityApi {
32009
32335
  /**
32010
32336
  * Quality service.
32011
32337
  * @module purecloud-platform-client-v2/api/QualityApi
32012
- * @version 130.0.0
32338
+ * @version 131.0.0
32013
32339
  */
32014
32340
 
32015
32341
  /**
@@ -33537,7 +33863,7 @@ class RecordingApi {
33537
33863
  /**
33538
33864
  * Recording service.
33539
33865
  * @module purecloud-platform-client-v2/api/RecordingApi
33540
- * @version 130.0.0
33866
+ * @version 131.0.0
33541
33867
  */
33542
33868
 
33543
33869
  /**
@@ -35060,7 +35386,7 @@ class ResponseManagementApi {
35060
35386
  /**
35061
35387
  * ResponseManagement service.
35062
35388
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
35063
- * @version 130.0.0
35389
+ * @version 131.0.0
35064
35390
  */
35065
35391
 
35066
35392
  /**
@@ -35385,7 +35711,7 @@ class RoutingApi {
35385
35711
  /**
35386
35712
  * Routing service.
35387
35713
  * @module purecloud-platform-client-v2/api/RoutingApi
35388
- * @version 130.0.0
35714
+ * @version 131.0.0
35389
35715
  */
35390
35716
 
35391
35717
  /**
@@ -38308,7 +38634,7 @@ class SCIMApi {
38308
38634
  /**
38309
38635
  * SCIM service.
38310
38636
  * @module purecloud-platform-client-v2/api/SCIMApi
38311
- * @version 130.0.0
38637
+ * @version 131.0.0
38312
38638
  */
38313
38639
 
38314
38640
  /**
@@ -39185,7 +39511,7 @@ class ScriptsApi {
39185
39511
  /**
39186
39512
  * Scripts service.
39187
39513
  * @module purecloud-platform-client-v2/api/ScriptsApi
39188
- * @version 130.0.0
39514
+ * @version 131.0.0
39189
39515
  */
39190
39516
 
39191
39517
  /**
@@ -39538,7 +39864,7 @@ class SearchApi {
39538
39864
  /**
39539
39865
  * Search service.
39540
39866
  * @module purecloud-platform-client-v2/api/SearchApi
39541
- * @version 130.0.0
39867
+ * @version 131.0.0
39542
39868
  */
39543
39869
 
39544
39870
  /**
@@ -40073,7 +40399,7 @@ class SpeechTextAnalyticsApi {
40073
40399
  /**
40074
40400
  * SpeechTextAnalytics service.
40075
40401
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
40076
- * @version 130.0.0
40402
+ * @version 131.0.0
40077
40403
  */
40078
40404
 
40079
40405
  /**
@@ -40242,26 +40568,6 @@ class SpeechTextAnalyticsApi {
40242
40568
  );
40243
40569
  }
40244
40570
 
40245
- /**
40246
- * Get list of supported Speech & Text Analytics dialects
40247
- * This api has been deprecated. Use api/v2/topics/dialects instead
40248
- */
40249
- getSpeechandtextanalyticsDialects() {
40250
-
40251
- return this.apiClient.callApi(
40252
- '/api/v2/speechandtextanalytics/dialects',
40253
- 'GET',
40254
- { },
40255
- { },
40256
- { },
40257
- { },
40258
- null,
40259
- ['PureCloud OAuth'],
40260
- ['application/json'],
40261
- ['application/json']
40262
- );
40263
- }
40264
-
40265
40571
  /**
40266
40572
  * Get a Speech & Text Analytics program by id
40267
40573
  *
@@ -40946,7 +41252,7 @@ class StationsApi {
40946
41252
  /**
40947
41253
  * Stations service.
40948
41254
  * @module purecloud-platform-client-v2/api/StationsApi
40949
- * @version 130.0.0
41255
+ * @version 131.0.0
40950
41256
  */
40951
41257
 
40952
41258
  /**
@@ -41093,7 +41399,7 @@ class SuggestApi {
41093
41399
  /**
41094
41400
  * Suggest service.
41095
41401
  * @module purecloud-platform-client-v2/api/SuggestApi
41096
- * @version 130.0.0
41402
+ * @version 131.0.0
41097
41403
  */
41098
41404
 
41099
41405
  /**
@@ -41232,7 +41538,7 @@ class TelephonyApi {
41232
41538
  /**
41233
41539
  * Telephony service.
41234
41540
  * @module purecloud-platform-client-v2/api/TelephonyApi
41235
- * @version 130.0.0
41541
+ * @version 131.0.0
41236
41542
  */
41237
41543
 
41238
41544
  /**
@@ -41340,7 +41646,7 @@ class TelephonyProvidersEdgeApi {
41340
41646
  /**
41341
41647
  * TelephonyProvidersEdge service.
41342
41648
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
41343
- * @version 130.0.0
41649
+ * @version 131.0.0
41344
41650
  */
41345
41651
 
41346
41652
  /**
@@ -44973,7 +45279,7 @@ class TextbotsApi {
44973
45279
  /**
44974
45280
  * Textbots service.
44975
45281
  * @module purecloud-platform-client-v2/api/TextbotsApi
44976
- * @version 130.0.0
45282
+ * @version 131.0.0
44977
45283
  */
44978
45284
 
44979
45285
  /**
@@ -45101,7 +45407,7 @@ class TokensApi {
45101
45407
  /**
45102
45408
  * Tokens service.
45103
45409
  * @module purecloud-platform-client-v2/api/TokensApi
45104
- * @version 130.0.0
45410
+ * @version 131.0.0
45105
45411
  */
45106
45412
 
45107
45413
  /**
@@ -45207,7 +45513,7 @@ class UploadsApi {
45207
45513
  /**
45208
45514
  * Uploads service.
45209
45515
  * @module purecloud-platform-client-v2/api/UploadsApi
45210
- * @version 130.0.0
45516
+ * @version 131.0.0
45211
45517
  */
45212
45518
 
45213
45519
  /**
@@ -45383,7 +45689,7 @@ class UsageApi {
45383
45689
  /**
45384
45690
  * Usage service.
45385
45691
  * @module purecloud-platform-client-v2/api/UsageApi
45386
- * @version 130.0.0
45692
+ * @version 131.0.0
45387
45693
  */
45388
45694
 
45389
45695
  /**
@@ -45454,7 +45760,7 @@ class UserRecordingsApi {
45454
45760
  /**
45455
45761
  * UserRecordings service.
45456
45762
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
45457
- * @version 130.0.0
45763
+ * @version 131.0.0
45458
45764
  */
45459
45765
 
45460
45766
  /**
@@ -45638,7 +45944,7 @@ class UsersApi {
45638
45944
  /**
45639
45945
  * Users service.
45640
45946
  * @module purecloud-platform-client-v2/api/UsersApi
45641
- * @version 130.0.0
45947
+ * @version 131.0.0
45642
45948
  */
45643
45949
 
45644
45950
  /**
@@ -47940,7 +48246,7 @@ class UtilitiesApi {
47940
48246
  /**
47941
48247
  * Utilities service.
47942
48248
  * @module purecloud-platform-client-v2/api/UtilitiesApi
47943
- * @version 130.0.0
48249
+ * @version 131.0.0
47944
48250
  */
47945
48251
 
47946
48252
  /**
@@ -48051,7 +48357,7 @@ class VoicemailApi {
48051
48357
  /**
48052
48358
  * Voicemail service.
48053
48359
  * @module purecloud-platform-client-v2/api/VoicemailApi
48054
- * @version 130.0.0
48360
+ * @version 131.0.0
48055
48361
  */
48056
48362
 
48057
48363
  /**
@@ -48718,7 +49024,7 @@ class WebChatApi {
48718
49024
  /**
48719
49025
  * WebChat service.
48720
49026
  * @module purecloud-platform-client-v2/api/WebChatApi
48721
- * @version 130.0.0
49027
+ * @version 131.0.0
48722
49028
  */
48723
49029
 
48724
49030
  /**
@@ -49262,7 +49568,7 @@ class WebDeploymentsApi {
49262
49568
  /**
49263
49569
  * WebDeployments service.
49264
49570
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
49265
- * @version 130.0.0
49571
+ * @version 131.0.0
49266
49572
  */
49267
49573
 
49268
49574
  /**
@@ -49617,7 +49923,7 @@ class WebMessagingApi {
49617
49923
  /**
49618
49924
  * WebMessaging service.
49619
49925
  * @module purecloud-platform-client-v2/api/WebMessagingApi
49620
- * @version 130.0.0
49926
+ * @version 131.0.0
49621
49927
  */
49622
49928
 
49623
49929
  /**
@@ -49663,7 +49969,7 @@ class WidgetsApi {
49663
49969
  /**
49664
49970
  * Widgets service.
49665
49971
  * @module purecloud-platform-client-v2/api/WidgetsApi
49666
- * @version 130.0.0
49972
+ * @version 131.0.0
49667
49973
  */
49668
49974
 
49669
49975
  /**
@@ -49809,7 +50115,7 @@ class WorkforceManagementApi {
49809
50115
  /**
49810
50116
  * WorkforceManagement service.
49811
50117
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
49812
- * @version 130.0.0
50118
+ * @version 131.0.0
49813
50119
  */
49814
50120
 
49815
50121
  /**
@@ -53840,7 +54146,7 @@ class WorkforceManagementApi {
53840
54146
  * </pre>
53841
54147
  * </p>
53842
54148
  * @module purecloud-platform-client-v2/index
53843
- * @version 130.0.0
54149
+ * @version 131.0.0
53844
54150
  */
53845
54151
  class platformClient {
53846
54152
  constructor() {
@@ -53994,6 +54300,11 @@ class platformClient {
53994
54300
  * @property {module:purecloud-platform-client-v2/api/LocationsApi}
53995
54301
  */
53996
54302
  this.LocationsApi = LocationsApi;
54303
+ /**
54304
+ * The MessagingApi service constructor.
54305
+ * @property {module:purecloud-platform-client-v2/api/MessagingApi}
54306
+ */
54307
+ this.MessagingApi = MessagingApi;
53997
54308
  /**
53998
54309
  * The MobileDevicesApi service constructor.
53999
54310
  * @property {module:purecloud-platform-client-v2/api/MobileDevicesApi}