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
@@ -391,7 +391,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
391
391
 
392
392
  /**
393
393
  * @module purecloud-platform-client-v2/ApiClient
394
- * @version 130.0.0
394
+ * @version 131.0.0
395
395
  */
396
396
  class ApiClient {
397
397
  /**
@@ -1338,7 +1338,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1338
1338
 
1339
1339
  // set header parameters
1340
1340
  request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
1341
- //request.set({ 'purecloud-sdk': '130.0.0' });
1341
+ //request.set({ 'purecloud-sdk': '131.0.0' });
1342
1342
 
1343
1343
  // set request timeout
1344
1344
  request.timeout(that.timeout);
@@ -1438,7 +1438,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1438
1438
  /**
1439
1439
  * Alerting service.
1440
1440
  * @module purecloud-platform-client-v2/api/AlertingApi
1441
- * @version 130.0.0
1441
+ * @version 131.0.0
1442
1442
  */
1443
1443
 
1444
1444
  /**
@@ -1752,7 +1752,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1752
1752
  /**
1753
1753
  * Analytics service.
1754
1754
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1755
- * @version 130.0.0
1755
+ * @version 131.0.0
1756
1756
  */
1757
1757
 
1758
1758
  /**
@@ -2889,7 +2889,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2889
2889
  /**
2890
2890
  * Architect service.
2891
2891
  * @module purecloud-platform-client-v2/api/ArchitectApi
2892
- * @version 130.0.0
2892
+ * @version 131.0.0
2893
2893
  */
2894
2894
 
2895
2895
  /**
@@ -5885,7 +5885,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
5885
5885
  /**
5886
5886
  * Audit service.
5887
5887
  * @module purecloud-platform-client-v2/api/AuditApi
5888
- * @version 130.0.0
5888
+ * @version 131.0.0
5889
5889
  */
5890
5890
 
5891
5891
  /**
@@ -6056,7 +6056,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6056
6056
  /**
6057
6057
  * Authorization service.
6058
6058
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6059
- * @version 130.0.0
6059
+ * @version 131.0.0
6060
6060
  */
6061
6061
 
6062
6062
  /**
@@ -7239,7 +7239,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7239
7239
  /**
7240
7240
  * Billing service.
7241
7241
  * @module purecloud-platform-client-v2/api/BillingApi
7242
- * @version 130.0.0
7242
+ * @version 131.0.0
7243
7243
  */
7244
7244
 
7245
7245
  /**
@@ -7319,7 +7319,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7319
7319
  /**
7320
7320
  * Chat service.
7321
7321
  * @module purecloud-platform-client-v2/api/ChatApi
7322
- * @version 130.0.0
7322
+ * @version 131.0.0
7323
7323
  */
7324
7324
 
7325
7325
  /**
@@ -7410,7 +7410,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7410
7410
  /**
7411
7411
  * Coaching service.
7412
7412
  * @module purecloud-platform-client-v2/api/CoachingApi
7413
- * @version 130.0.0
7413
+ * @version 131.0.0
7414
7414
  */
7415
7415
 
7416
7416
  /**
@@ -7987,7 +7987,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7987
7987
  /**
7988
7988
  * ContentManagement service.
7989
7989
  * @module purecloud-platform-client-v2/api/ContentManagementApi
7990
- * @version 130.0.0
7990
+ * @version 131.0.0
7991
7991
  */
7992
7992
 
7993
7993
  /**
@@ -9127,7 +9127,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9127
9127
  /**
9128
9128
  * Conversations service.
9129
9129
  * @module purecloud-platform-client-v2/api/ConversationsApi
9130
- * @version 130.0.0
9130
+ * @version 131.0.0
9131
9131
  */
9132
9132
 
9133
9133
  /**
@@ -9417,6 +9417,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9417
9417
  );
9418
9418
  }
9419
9419
 
9420
+ /**
9421
+ * Delete a supported content profile
9422
+ *
9423
+ * @param {String} supportedContentId Supported Content ID
9424
+ */
9425
+ deleteConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
9426
+ // verify the required parameter 'supportedContentId' is set
9427
+ if (supportedContentId === undefined || supportedContentId === null) {
9428
+ throw 'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';
9429
+ }
9430
+
9431
+ return this.apiClient.callApi(
9432
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
9433
+ 'DELETE',
9434
+ { 'supportedContentId': supportedContentId },
9435
+ { },
9436
+ { },
9437
+ { },
9438
+ null,
9439
+ ['PureCloud OAuth'],
9440
+ ['application/json'],
9441
+ ['application/json']
9442
+ );
9443
+ }
9444
+
9420
9445
  /**
9421
9446
  * Get a conversation by id
9422
9447
  *
@@ -11009,6 +11034,76 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11009
11034
  );
11010
11035
  }
11011
11036
 
11037
+ /**
11038
+ * Get a list of Supported Content profiles
11039
+ *
11040
+ * @param {Object} opts Optional parameters
11041
+ * @param {Number} opts.pageSize Page size (default to 25)
11042
+ * @param {Number} opts.pageNumber Page number (default to 1)
11043
+ */
11044
+ getConversationsMessagingSupportedcontent(opts) {
11045
+ opts = opts || {};
11046
+
11047
+
11048
+ return this.apiClient.callApi(
11049
+ '/api/v2/conversations/messaging/supportedcontent',
11050
+ 'GET',
11051
+ { },
11052
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
11053
+ { },
11054
+ { },
11055
+ null,
11056
+ ['PureCloud OAuth'],
11057
+ ['application/json'],
11058
+ ['application/json']
11059
+ );
11060
+ }
11061
+
11062
+ /**
11063
+ * Get the organization's default supported content profile that will be used as the default when creating an integration.
11064
+ * 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.
11065
+ */
11066
+ getConversationsMessagingSupportedcontentDefault() {
11067
+
11068
+ return this.apiClient.callApi(
11069
+ '/api/v2/conversations/messaging/supportedcontent/default',
11070
+ 'GET',
11071
+ { },
11072
+ { },
11073
+ { },
11074
+ { },
11075
+ null,
11076
+ ['PureCloud OAuth'],
11077
+ ['application/json'],
11078
+ ['application/json']
11079
+ );
11080
+ }
11081
+
11082
+ /**
11083
+ * Get a supported content profile
11084
+ *
11085
+ * @param {String} supportedContentId Supported Content ID
11086
+ */
11087
+ getConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
11088
+ // verify the required parameter 'supportedContentId' is set
11089
+ if (supportedContentId === undefined || supportedContentId === null) {
11090
+ throw 'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';
11091
+ }
11092
+
11093
+ return this.apiClient.callApi(
11094
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
11095
+ 'GET',
11096
+ { 'supportedContentId': supportedContentId },
11097
+ { },
11098
+ { },
11099
+ { },
11100
+ null,
11101
+ ['PureCloud OAuth'],
11102
+ ['application/json'],
11103
+ ['application/json']
11104
+ );
11105
+ }
11106
+
11012
11107
  /**
11013
11108
  * Get conversation threading window timeline for each messaging type
11014
11109
  * 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.
@@ -12090,6 +12185,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12090
12185
  );
12091
12186
  }
12092
12187
 
12188
+ /**
12189
+ * Update a supported content profile
12190
+ *
12191
+ * @param {String} supportedContentId Supported Content ID
12192
+ * @param {Object} body SupportedContent
12193
+ */
12194
+ patchConversationsMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
12195
+ // verify the required parameter 'supportedContentId' is set
12196
+ if (supportedContentId === undefined || supportedContentId === null) {
12197
+ throw 'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
12198
+ }
12199
+ // verify the required parameter 'body' is set
12200
+ if (body === undefined || body === null) {
12201
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
12202
+ }
12203
+
12204
+ return this.apiClient.callApi(
12205
+ '/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
12206
+ 'PATCH',
12207
+ { 'supportedContentId': supportedContentId },
12208
+ { },
12209
+ { },
12210
+ { },
12211
+ body,
12212
+ ['PureCloud OAuth'],
12213
+ ['application/json'],
12214
+ ['application/json']
12215
+ );
12216
+ }
12217
+
12093
12218
  /**
12094
12219
  * Index conversation properties
12095
12220
  *
@@ -13325,6 +13450,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13325
13450
  );
13326
13451
  }
13327
13452
 
13453
+ /**
13454
+ * Create a Supported Content profile
13455
+ *
13456
+ * @param {Object} body SupportedContent
13457
+ */
13458
+ postConversationsMessagingSupportedcontent(body) {
13459
+ // verify the required parameter 'body' is set
13460
+ if (body === undefined || body === null) {
13461
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingSupportedcontent';
13462
+ }
13463
+
13464
+ return this.apiClient.callApi(
13465
+ '/api/v2/conversations/messaging/supportedcontent',
13466
+ 'POST',
13467
+ { },
13468
+ { },
13469
+ { },
13470
+ { },
13471
+ body,
13472
+ ['PureCloud OAuth'],
13473
+ ['application/json'],
13474
+ ['application/json']
13475
+ );
13476
+ }
13477
+
13328
13478
  /**
13329
13479
  * Set flagged reason on conversation participant to indicate bad conversation quality.
13330
13480
  *
@@ -13485,6 +13635,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13485
13635
  );
13486
13636
  }
13487
13637
 
13638
+ /**
13639
+ * Set the organization's default supported content profile that may be assigned to an integration when it is created.
13640
+ * 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.
13641
+ * @param {Object} body SupportedContent
13642
+ */
13643
+ putConversationsMessagingSupportedcontentDefault(body) {
13644
+ // verify the required parameter 'body' is set
13645
+ if (body === undefined || body === null) {
13646
+ throw 'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';
13647
+ }
13648
+
13649
+ return this.apiClient.callApi(
13650
+ '/api/v2/conversations/messaging/supportedcontent/default',
13651
+ 'PUT',
13652
+ { },
13653
+ { },
13654
+ { },
13655
+ { },
13656
+ body,
13657
+ ['PureCloud OAuth'],
13658
+ ['application/json'],
13659
+ ['application/json']
13660
+ );
13661
+ }
13662
+
13488
13663
  /**
13489
13664
  * Update conversation threading window timeline for each messaging type
13490
13665
  * 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.
@@ -13516,7 +13691,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13516
13691
  /**
13517
13692
  * DataExtensions service.
13518
13693
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
13519
- * @version 130.0.0
13694
+ * @version 131.0.0
13520
13695
  */
13521
13696
 
13522
13697
  /**
@@ -13602,7 +13777,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13602
13777
  /**
13603
13778
  * ExternalContacts service.
13604
13779
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
13605
- * @version 130.0.0
13780
+ * @version 131.0.0
13606
13781
  */
13607
13782
 
13608
13783
  /**
@@ -15345,7 +15520,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15345
15520
  /**
15346
15521
  * Fax service.
15347
15522
  * @module purecloud-platform-client-v2/api/FaxApi
15348
- * @version 130.0.0
15523
+ * @version 131.0.0
15349
15524
  */
15350
15525
 
15351
15526
  /**
@@ -15516,7 +15691,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15516
15691
  /**
15517
15692
  * Flows service.
15518
15693
  * @module purecloud-platform-client-v2/api/FlowsApi
15519
- * @version 130.0.0
15694
+ * @version 131.0.0
15520
15695
  */
15521
15696
 
15522
15697
  /**
@@ -15587,7 +15762,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15587
15762
  /**
15588
15763
  * Gamification service.
15589
15764
  * @module purecloud-platform-client-v2/api/GamificationApi
15590
- * @version 130.0.0
15765
+ * @version 131.0.0
15591
15766
  */
15592
15767
 
15593
15768
  /**
@@ -17013,7 +17188,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17013
17188
  /**
17014
17189
  * GeneralDataProtectionRegulation service.
17015
17190
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
17016
- * @version 130.0.0
17191
+ * @version 131.0.0
17017
17192
  */
17018
17193
 
17019
17194
  /**
@@ -17143,7 +17318,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17143
17318
  /**
17144
17319
  * Geolocation service.
17145
17320
  * @module purecloud-platform-client-v2/api/GeolocationApi
17146
- * @version 130.0.0
17321
+ * @version 131.0.0
17147
17322
  */
17148
17323
 
17149
17324
  /**
@@ -17274,7 +17449,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17274
17449
  /**
17275
17450
  * Greetings service.
17276
17451
  * @module purecloud-platform-client-v2/api/GreetingsApi
17277
- * @version 130.0.0
17452
+ * @version 131.0.0
17278
17453
  */
17279
17454
 
17280
17455
  /**
@@ -17729,7 +17904,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17729
17904
  /**
17730
17905
  * Groups service.
17731
17906
  * @module purecloud-platform-client-v2/api/GroupsApi
17732
- * @version 130.0.0
17907
+ * @version 131.0.0
17733
17908
  */
17734
17909
 
17735
17910
  /**
@@ -18134,7 +18309,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18134
18309
  /**
18135
18310
  * IdentityProvider service.
18136
18311
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18137
- * @version 130.0.0
18312
+ * @version 131.0.0
18138
18313
  */
18139
18314
 
18140
18315
  /**
@@ -18890,7 +19065,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18890
19065
  /**
18891
19066
  * Integrations service.
18892
19067
  * @module purecloud-platform-client-v2/api/IntegrationsApi
18893
- * @version 130.0.0
19068
+ * @version 131.0.0
18894
19069
  */
18895
19070
 
18896
19071
  /**
@@ -20565,7 +20740,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20565
20740
  /**
20566
20741
  * Journey service.
20567
20742
  * @module purecloud-platform-client-v2/api/JourneyApi
20568
- * @version 130.0.0
20743
+ * @version 131.0.0
20569
20744
  */
20570
20745
 
20571
20746
  /**
@@ -21276,7 +21451,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21276
21451
  /**
21277
21452
  * Knowledge service.
21278
21453
  * @module purecloud-platform-client-v2/api/KnowledgeApi
21279
- * @version 130.0.0
21454
+ * @version 131.0.0
21280
21455
  */
21281
21456
 
21282
21457
  /**
@@ -22176,7 +22351,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22176
22351
  /**
22177
22352
  * LanguageUnderstanding service.
22178
22353
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
22179
- * @version 130.0.0
22354
+ * @version 131.0.0
22180
22355
  */
22181
22356
 
22182
22357
  /**
@@ -23080,7 +23255,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23080
23255
  /**
23081
23256
  * Languages service.
23082
23257
  * @module purecloud-platform-client-v2/api/LanguagesApi
23083
- * @version 130.0.0
23258
+ * @version 131.0.0
23084
23259
  */
23085
23260
 
23086
23261
  /**
@@ -23348,7 +23523,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23348
23523
  /**
23349
23524
  * Learning service.
23350
23525
  * @module purecloud-platform-client-v2/api/LearningApi
23351
- * @version 130.0.0
23526
+ * @version 131.0.0
23352
23527
  */
23353
23528
 
23354
23529
  /**
@@ -23939,7 +24114,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23939
24114
  /**
23940
24115
  * License service.
23941
24116
  * @module purecloud-platform-client-v2/api/LicenseApi
23942
- * @version 130.0.0
24117
+ * @version 131.0.0
23943
24118
  */
23944
24119
 
23945
24120
  /**
@@ -24177,7 +24352,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24177
24352
  /**
24178
24353
  * Locations service.
24179
24354
  * @module purecloud-platform-client-v2/api/LocationsApi
24180
- * @version 130.0.0
24355
+ * @version 131.0.0
24181
24356
  */
24182
24357
 
24183
24358
  /**
@@ -24409,11 +24584,162 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24409
24584
 
24410
24585
  }
24411
24586
 
24587
+ class MessagingApi {
24588
+ /**
24589
+ * Messaging service.
24590
+ * @module purecloud-platform-client-v2/api/MessagingApi
24591
+ * @version 131.0.0
24592
+ */
24593
+
24594
+ /**
24595
+ * Constructs a new MessagingApi.
24596
+ * @alias module:purecloud-platform-client-v2/api/MessagingApi
24597
+ * @class
24598
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
24599
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
24600
+ */
24601
+ constructor(apiClient) {
24602
+ this.apiClient = apiClient || ApiClient.instance;
24603
+ }
24604
+
24605
+
24606
+ /**
24607
+ * Delete a supported content profile
24608
+ *
24609
+ * @param {String} supportedContentId Supported Content ID
24610
+ */
24611
+ deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
24612
+ // verify the required parameter 'supportedContentId' is set
24613
+ if (supportedContentId === undefined || supportedContentId === null) {
24614
+ throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
24615
+ }
24616
+
24617
+ return this.apiClient.callApi(
24618
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24619
+ 'DELETE',
24620
+ { 'supportedContentId': supportedContentId },
24621
+ { },
24622
+ { },
24623
+ { },
24624
+ null,
24625
+ ['PureCloud OAuth'],
24626
+ ['application/json'],
24627
+ ['application/json']
24628
+ );
24629
+ }
24630
+
24631
+ /**
24632
+ * Get a list of Supported Content profiles
24633
+ *
24634
+ * @param {Object} opts Optional parameters
24635
+ * @param {Number} opts.pageSize Page size (default to 25)
24636
+ * @param {Number} opts.pageNumber Page number (default to 1)
24637
+ */
24638
+ getMessagingSupportedcontent(opts) {
24639
+ opts = opts || {};
24640
+
24641
+
24642
+ return this.apiClient.callApi(
24643
+ '/api/v2/messaging/supportedcontent',
24644
+ 'GET',
24645
+ { },
24646
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
24647
+ { },
24648
+ { },
24649
+ null,
24650
+ ['PureCloud OAuth'],
24651
+ ['application/json'],
24652
+ ['application/json']
24653
+ );
24654
+ }
24655
+
24656
+ /**
24657
+ * Get a supported content profile
24658
+ *
24659
+ * @param {String} supportedContentId Supported Content ID
24660
+ */
24661
+ getMessagingSupportedcontentSupportedContentId(supportedContentId) {
24662
+ // verify the required parameter 'supportedContentId' is set
24663
+ if (supportedContentId === undefined || supportedContentId === null) {
24664
+ throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
24665
+ }
24666
+
24667
+ return this.apiClient.callApi(
24668
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24669
+ 'GET',
24670
+ { 'supportedContentId': supportedContentId },
24671
+ { },
24672
+ { },
24673
+ { },
24674
+ null,
24675
+ ['PureCloud OAuth'],
24676
+ ['application/json'],
24677
+ ['application/json']
24678
+ );
24679
+ }
24680
+
24681
+ /**
24682
+ * Update a supported content profile
24683
+ *
24684
+ * @param {String} supportedContentId Supported Content ID
24685
+ * @param {Object} body SupportedContent
24686
+ */
24687
+ patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
24688
+ // verify the required parameter 'supportedContentId' is set
24689
+ if (supportedContentId === undefined || supportedContentId === null) {
24690
+ throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
24691
+ }
24692
+ // verify the required parameter 'body' is set
24693
+ if (body === undefined || body === null) {
24694
+ throw 'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';
24695
+ }
24696
+
24697
+ return this.apiClient.callApi(
24698
+ '/api/v2/messaging/supportedcontent/{supportedContentId}',
24699
+ 'PATCH',
24700
+ { 'supportedContentId': supportedContentId },
24701
+ { },
24702
+ { },
24703
+ { },
24704
+ body,
24705
+ ['PureCloud OAuth'],
24706
+ ['application/json'],
24707
+ ['application/json']
24708
+ );
24709
+ }
24710
+
24711
+ /**
24712
+ * Create a Supported Content profile
24713
+ *
24714
+ * @param {Object} body SupportedContent
24715
+ */
24716
+ postMessagingSupportedcontent(body) {
24717
+ // verify the required parameter 'body' is set
24718
+ if (body === undefined || body === null) {
24719
+ throw 'Missing the required parameter "body" when calling postMessagingSupportedcontent';
24720
+ }
24721
+
24722
+ return this.apiClient.callApi(
24723
+ '/api/v2/messaging/supportedcontent',
24724
+ 'POST',
24725
+ { },
24726
+ { },
24727
+ { },
24728
+ { },
24729
+ body,
24730
+ ['PureCloud OAuth'],
24731
+ ['application/json'],
24732
+ ['application/json']
24733
+ );
24734
+ }
24735
+
24736
+ }
24737
+
24412
24738
  class MobileDevicesApi {
24413
24739
  /**
24414
24740
  * MobileDevices service.
24415
24741
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
24416
- * @version 130.0.0
24742
+ * @version 131.0.0
24417
24743
  */
24418
24744
 
24419
24745
  /**
@@ -24564,7 +24890,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24564
24890
  /**
24565
24891
  * Notifications service.
24566
24892
  * @module purecloud-platform-client-v2/api/NotificationsApi
24567
- * @version 130.0.0
24893
+ * @version 131.0.0
24568
24894
  */
24569
24895
 
24570
24896
  /**
@@ -24789,7 +25115,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24789
25115
  /**
24790
25116
  * OAuth service.
24791
25117
  * @module purecloud-platform-client-v2/api/OAuthApi
24792
- * @version 130.0.0
25118
+ * @version 131.0.0
24793
25119
  */
24794
25120
 
24795
25121
  /**
@@ -25147,7 +25473,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25147
25473
  /**
25148
25474
  * Objects service.
25149
25475
  * @module purecloud-platform-client-v2/api/ObjectsApi
25150
- * @version 130.0.0
25476
+ * @version 131.0.0
25151
25477
  */
25152
25478
 
25153
25479
  /**
@@ -25418,7 +25744,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25418
25744
  /**
25419
25745
  * Organization service.
25420
25746
  * @module purecloud-platform-client-v2/api/OrganizationApi
25421
- * @version 130.0.0
25747
+ * @version 131.0.0
25422
25748
  */
25423
25749
 
25424
25750
  /**
@@ -25821,7 +26147,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25821
26147
  /**
25822
26148
  * OrganizationAuthorization service.
25823
26149
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
25824
- * @version 130.0.0
26150
+ * @version 131.0.0
25825
26151
  */
25826
26152
 
25827
26153
  /**
@@ -26746,7 +27072,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26746
27072
  /**
26747
27073
  * Outbound service.
26748
27074
  * @module purecloud-platform-client-v2/api/OutboundApi
26749
- * @version 130.0.0
27075
+ * @version 131.0.0
26750
27076
  */
26751
27077
 
26752
27078
  /**
@@ -29772,7 +30098,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29772
30098
  /**
29773
30099
  * Presence service.
29774
30100
  * @module purecloud-platform-client-v2/api/PresenceApi
29775
- * @version 130.0.0
30101
+ * @version 131.0.0
29776
30102
  */
29777
30103
 
29778
30104
  /**
@@ -30144,7 +30470,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30144
30470
  /**
30145
30471
  * Quality service.
30146
30472
  * @module purecloud-platform-client-v2/api/QualityApi
30147
- * @version 130.0.0
30473
+ * @version 131.0.0
30148
30474
  */
30149
30475
 
30150
30476
  /**
@@ -31672,7 +31998,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31672
31998
  /**
31673
31999
  * Recording service.
31674
32000
  * @module purecloud-platform-client-v2/api/RecordingApi
31675
- * @version 130.0.0
32001
+ * @version 131.0.0
31676
32002
  */
31677
32003
 
31678
32004
  /**
@@ -33195,7 +33521,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33195
33521
  /**
33196
33522
  * ResponseManagement service.
33197
33523
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
33198
- * @version 130.0.0
33524
+ * @version 131.0.0
33199
33525
  */
33200
33526
 
33201
33527
  /**
@@ -33520,7 +33846,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33520
33846
  /**
33521
33847
  * Routing service.
33522
33848
  * @module purecloud-platform-client-v2/api/RoutingApi
33523
- * @version 130.0.0
33849
+ * @version 131.0.0
33524
33850
  */
33525
33851
 
33526
33852
  /**
@@ -36443,7 +36769,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36443
36769
  /**
36444
36770
  * SCIM service.
36445
36771
  * @module purecloud-platform-client-v2/api/SCIMApi
36446
- * @version 130.0.0
36772
+ * @version 131.0.0
36447
36773
  */
36448
36774
 
36449
36775
  /**
@@ -37320,7 +37646,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37320
37646
  /**
37321
37647
  * Scripts service.
37322
37648
  * @module purecloud-platform-client-v2/api/ScriptsApi
37323
- * @version 130.0.0
37649
+ * @version 131.0.0
37324
37650
  */
37325
37651
 
37326
37652
  /**
@@ -37673,7 +37999,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37673
37999
  /**
37674
38000
  * Search service.
37675
38001
  * @module purecloud-platform-client-v2/api/SearchApi
37676
- * @version 130.0.0
38002
+ * @version 131.0.0
37677
38003
  */
37678
38004
 
37679
38005
  /**
@@ -38208,7 +38534,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38208
38534
  /**
38209
38535
  * SpeechTextAnalytics service.
38210
38536
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
38211
- * @version 130.0.0
38537
+ * @version 131.0.0
38212
38538
  */
38213
38539
 
38214
38540
  /**
@@ -38377,26 +38703,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38377
38703
  );
38378
38704
  }
38379
38705
 
38380
- /**
38381
- * Get list of supported Speech & Text Analytics dialects
38382
- * This api has been deprecated. Use api/v2/topics/dialects instead
38383
- */
38384
- getSpeechandtextanalyticsDialects() {
38385
-
38386
- return this.apiClient.callApi(
38387
- '/api/v2/speechandtextanalytics/dialects',
38388
- 'GET',
38389
- { },
38390
- { },
38391
- { },
38392
- { },
38393
- null,
38394
- ['PureCloud OAuth'],
38395
- ['application/json'],
38396
- ['application/json']
38397
- );
38398
- }
38399
-
38400
38706
  /**
38401
38707
  * Get a Speech & Text Analytics program by id
38402
38708
  *
@@ -39081,7 +39387,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39081
39387
  /**
39082
39388
  * Stations service.
39083
39389
  * @module purecloud-platform-client-v2/api/StationsApi
39084
- * @version 130.0.0
39390
+ * @version 131.0.0
39085
39391
  */
39086
39392
 
39087
39393
  /**
@@ -39228,7 +39534,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39228
39534
  /**
39229
39535
  * Suggest service.
39230
39536
  * @module purecloud-platform-client-v2/api/SuggestApi
39231
- * @version 130.0.0
39537
+ * @version 131.0.0
39232
39538
  */
39233
39539
 
39234
39540
  /**
@@ -39367,7 +39673,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39367
39673
  /**
39368
39674
  * Telephony service.
39369
39675
  * @module purecloud-platform-client-v2/api/TelephonyApi
39370
- * @version 130.0.0
39676
+ * @version 131.0.0
39371
39677
  */
39372
39678
 
39373
39679
  /**
@@ -39475,7 +39781,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39475
39781
  /**
39476
39782
  * TelephonyProvidersEdge service.
39477
39783
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
39478
- * @version 130.0.0
39784
+ * @version 131.0.0
39479
39785
  */
39480
39786
 
39481
39787
  /**
@@ -43108,7 +43414,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43108
43414
  /**
43109
43415
  * Textbots service.
43110
43416
  * @module purecloud-platform-client-v2/api/TextbotsApi
43111
- * @version 130.0.0
43417
+ * @version 131.0.0
43112
43418
  */
43113
43419
 
43114
43420
  /**
@@ -43236,7 +43542,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43236
43542
  /**
43237
43543
  * Tokens service.
43238
43544
  * @module purecloud-platform-client-v2/api/TokensApi
43239
- * @version 130.0.0
43545
+ * @version 131.0.0
43240
43546
  */
43241
43547
 
43242
43548
  /**
@@ -43342,7 +43648,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43342
43648
  /**
43343
43649
  * Uploads service.
43344
43650
  * @module purecloud-platform-client-v2/api/UploadsApi
43345
- * @version 130.0.0
43651
+ * @version 131.0.0
43346
43652
  */
43347
43653
 
43348
43654
  /**
@@ -43518,7 +43824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43518
43824
  /**
43519
43825
  * Usage service.
43520
43826
  * @module purecloud-platform-client-v2/api/UsageApi
43521
- * @version 130.0.0
43827
+ * @version 131.0.0
43522
43828
  */
43523
43829
 
43524
43830
  /**
@@ -43589,7 +43895,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43589
43895
  /**
43590
43896
  * UserRecordings service.
43591
43897
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
43592
- * @version 130.0.0
43898
+ * @version 131.0.0
43593
43899
  */
43594
43900
 
43595
43901
  /**
@@ -43773,7 +44079,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43773
44079
  /**
43774
44080
  * Users service.
43775
44081
  * @module purecloud-platform-client-v2/api/UsersApi
43776
- * @version 130.0.0
44082
+ * @version 131.0.0
43777
44083
  */
43778
44084
 
43779
44085
  /**
@@ -46075,7 +46381,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46075
46381
  /**
46076
46382
  * Utilities service.
46077
46383
  * @module purecloud-platform-client-v2/api/UtilitiesApi
46078
- * @version 130.0.0
46384
+ * @version 131.0.0
46079
46385
  */
46080
46386
 
46081
46387
  /**
@@ -46186,7 +46492,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46186
46492
  /**
46187
46493
  * Voicemail service.
46188
46494
  * @module purecloud-platform-client-v2/api/VoicemailApi
46189
- * @version 130.0.0
46495
+ * @version 131.0.0
46190
46496
  */
46191
46497
 
46192
46498
  /**
@@ -46853,7 +47159,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46853
47159
  /**
46854
47160
  * WebChat service.
46855
47161
  * @module purecloud-platform-client-v2/api/WebChatApi
46856
- * @version 130.0.0
47162
+ * @version 131.0.0
46857
47163
  */
46858
47164
 
46859
47165
  /**
@@ -47397,7 +47703,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47397
47703
  /**
47398
47704
  * WebDeployments service.
47399
47705
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
47400
- * @version 130.0.0
47706
+ * @version 131.0.0
47401
47707
  */
47402
47708
 
47403
47709
  /**
@@ -47752,7 +48058,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47752
48058
  /**
47753
48059
  * WebMessaging service.
47754
48060
  * @module purecloud-platform-client-v2/api/WebMessagingApi
47755
- * @version 130.0.0
48061
+ * @version 131.0.0
47756
48062
  */
47757
48063
 
47758
48064
  /**
@@ -47798,7 +48104,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47798
48104
  /**
47799
48105
  * Widgets service.
47800
48106
  * @module purecloud-platform-client-v2/api/WidgetsApi
47801
- * @version 130.0.0
48107
+ * @version 131.0.0
47802
48108
  */
47803
48109
 
47804
48110
  /**
@@ -47944,7 +48250,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47944
48250
  /**
47945
48251
  * WorkforceManagement service.
47946
48252
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
47947
- * @version 130.0.0
48253
+ * @version 131.0.0
47948
48254
  */
47949
48255
 
47950
48256
  /**
@@ -51975,7 +52281,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51975
52281
  * </pre>
51976
52282
  * </p>
51977
52283
  * @module purecloud-platform-client-v2/index
51978
- * @version 130.0.0
52284
+ * @version 131.0.0
51979
52285
  */
51980
52286
  class platformClient {
51981
52287
  constructor() {
@@ -52129,6 +52435,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52129
52435
  * @property {module:purecloud-platform-client-v2/api/LocationsApi}
52130
52436
  */
52131
52437
  this.LocationsApi = LocationsApi;
52438
+ /**
52439
+ * The MessagingApi service constructor.
52440
+ * @property {module:purecloud-platform-client-v2/api/MessagingApi}
52441
+ */
52442
+ this.MessagingApi = MessagingApi;
52132
52443
  /**
52133
52444
  * The MobileDevicesApi service constructor.
52134
52445
  * @property {module:purecloud-platform-client-v2/api/MobileDevicesApi}