purecloud-platform-client-v2 144.0.0 → 145.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.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +295 -65
- package/dist/web-amd/purecloud-platform-client-v2.js +295 -65
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +295 -65
- package/dist/web-cjs/purecloud-platform-client-v2.js +295 -65
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +335 -205
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +211 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +21 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ class ConversationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Conversations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 145.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -598,6 +598,31 @@ class ConversationsApi {
|
|
|
598
598
|
);
|
|
599
599
|
}
|
|
600
600
|
|
|
601
|
+
/**
|
|
602
|
+
* Get the secure attributes on a conversation.
|
|
603
|
+
*
|
|
604
|
+
* @param {String} conversationId conversation ID
|
|
605
|
+
*/
|
|
606
|
+
getConversationSecureattributes(conversationId) {
|
|
607
|
+
// verify the required parameter 'conversationId' is set
|
|
608
|
+
if (conversationId === undefined || conversationId === null) {
|
|
609
|
+
throw 'Missing the required parameter "conversationId" when calling getConversationSecureattributes';
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
return this.apiClient.callApi(
|
|
613
|
+
'/api/v2/conversations/{conversationId}/secureattributes',
|
|
614
|
+
'GET',
|
|
615
|
+
{ 'conversationId': conversationId },
|
|
616
|
+
{ },
|
|
617
|
+
{ },
|
|
618
|
+
{ },
|
|
619
|
+
null,
|
|
620
|
+
['PureCloud OAuth'],
|
|
621
|
+
['application/json'],
|
|
622
|
+
['application/json']
|
|
623
|
+
);
|
|
624
|
+
}
|
|
625
|
+
|
|
601
626
|
/**
|
|
602
627
|
* Get active conversations for the logged in user
|
|
603
628
|
*
|
|
@@ -1381,6 +1406,51 @@ class ConversationsApi {
|
|
|
1381
1406
|
);
|
|
1382
1407
|
}
|
|
1383
1408
|
|
|
1409
|
+
/**
|
|
1410
|
+
* Get the encryption key configurations
|
|
1411
|
+
*
|
|
1412
|
+
* @param {String} keyconfigurationsId Key Configurations Id
|
|
1413
|
+
*/
|
|
1414
|
+
getConversationsKeyconfiguration(keyconfigurationsId) {
|
|
1415
|
+
// verify the required parameter 'keyconfigurationsId' is set
|
|
1416
|
+
if (keyconfigurationsId === undefined || keyconfigurationsId === null) {
|
|
1417
|
+
throw 'Missing the required parameter "keyconfigurationsId" when calling getConversationsKeyconfiguration';
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
return this.apiClient.callApi(
|
|
1421
|
+
'/api/v2/conversations/keyconfigurations/{keyconfigurationsId}',
|
|
1422
|
+
'GET',
|
|
1423
|
+
{ 'keyconfigurationsId': keyconfigurationsId },
|
|
1424
|
+
{ },
|
|
1425
|
+
{ },
|
|
1426
|
+
{ },
|
|
1427
|
+
null,
|
|
1428
|
+
['PureCloud OAuth'],
|
|
1429
|
+
['application/json'],
|
|
1430
|
+
['application/json']
|
|
1431
|
+
);
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* Get a list of key configurations data
|
|
1436
|
+
*
|
|
1437
|
+
*/
|
|
1438
|
+
getConversationsKeyconfigurations() {
|
|
1439
|
+
|
|
1440
|
+
return this.apiClient.callApi(
|
|
1441
|
+
'/api/v2/conversations/keyconfigurations',
|
|
1442
|
+
'GET',
|
|
1443
|
+
{ },
|
|
1444
|
+
{ },
|
|
1445
|
+
{ },
|
|
1446
|
+
{ },
|
|
1447
|
+
null,
|
|
1448
|
+
['PureCloud OAuth'],
|
|
1449
|
+
['application/json'],
|
|
1450
|
+
['application/json']
|
|
1451
|
+
);
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1384
1454
|
/**
|
|
1385
1455
|
* Get message conversation
|
|
1386
1456
|
*
|
|
@@ -2097,6 +2167,36 @@ class ConversationsApi {
|
|
|
2097
2167
|
);
|
|
2098
2168
|
}
|
|
2099
2169
|
|
|
2170
|
+
/**
|
|
2171
|
+
* Update the secure attributes on a conversation.
|
|
2172
|
+
*
|
|
2173
|
+
* @param {String} conversationId conversation ID
|
|
2174
|
+
* @param {Object} body Conversation Secure Attributes
|
|
2175
|
+
*/
|
|
2176
|
+
patchConversationSecureattributes(conversationId, body) {
|
|
2177
|
+
// verify the required parameter 'conversationId' is set
|
|
2178
|
+
if (conversationId === undefined || conversationId === null) {
|
|
2179
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationSecureattributes';
|
|
2180
|
+
}
|
|
2181
|
+
// verify the required parameter 'body' is set
|
|
2182
|
+
if (body === undefined || body === null) {
|
|
2183
|
+
throw 'Missing the required parameter "body" when calling patchConversationSecureattributes';
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
return this.apiClient.callApi(
|
|
2187
|
+
'/api/v2/conversations/{conversationId}/secureattributes',
|
|
2188
|
+
'PATCH',
|
|
2189
|
+
{ 'conversationId': conversationId },
|
|
2190
|
+
{ },
|
|
2191
|
+
{ },
|
|
2192
|
+
{ },
|
|
2193
|
+
body,
|
|
2194
|
+
['PureCloud OAuth'],
|
|
2195
|
+
['application/json'],
|
|
2196
|
+
['application/json']
|
|
2197
|
+
);
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2100
2200
|
/**
|
|
2101
2201
|
* Update a conversation by setting its recording state, merging in other conversations to create a conference, or disconnecting all of the participants
|
|
2102
2202
|
*
|
|
@@ -4099,6 +4199,56 @@ class ConversationsApi {
|
|
|
4099
4199
|
);
|
|
4100
4200
|
}
|
|
4101
4201
|
|
|
4202
|
+
/**
|
|
4203
|
+
* Setup configurations for encryption key creation
|
|
4204
|
+
*
|
|
4205
|
+
* @param {Object} body Encryption Configuration
|
|
4206
|
+
*/
|
|
4207
|
+
postConversationsKeyconfigurations(body) {
|
|
4208
|
+
// verify the required parameter 'body' is set
|
|
4209
|
+
if (body === undefined || body === null) {
|
|
4210
|
+
throw 'Missing the required parameter "body" when calling postConversationsKeyconfigurations';
|
|
4211
|
+
}
|
|
4212
|
+
|
|
4213
|
+
return this.apiClient.callApi(
|
|
4214
|
+
'/api/v2/conversations/keyconfigurations',
|
|
4215
|
+
'POST',
|
|
4216
|
+
{ },
|
|
4217
|
+
{ },
|
|
4218
|
+
{ },
|
|
4219
|
+
{ },
|
|
4220
|
+
body,
|
|
4221
|
+
['PureCloud OAuth'],
|
|
4222
|
+
['application/json'],
|
|
4223
|
+
['application/json']
|
|
4224
|
+
);
|
|
4225
|
+
}
|
|
4226
|
+
|
|
4227
|
+
/**
|
|
4228
|
+
* Validate encryption key configurations without saving it
|
|
4229
|
+
*
|
|
4230
|
+
* @param {Object} body Encryption Configuration
|
|
4231
|
+
*/
|
|
4232
|
+
postConversationsKeyconfigurationsValidate(body) {
|
|
4233
|
+
// verify the required parameter 'body' is set
|
|
4234
|
+
if (body === undefined || body === null) {
|
|
4235
|
+
throw 'Missing the required parameter "body" when calling postConversationsKeyconfigurationsValidate';
|
|
4236
|
+
}
|
|
4237
|
+
|
|
4238
|
+
return this.apiClient.callApi(
|
|
4239
|
+
'/api/v2/conversations/keyconfigurations/validate',
|
|
4240
|
+
'POST',
|
|
4241
|
+
{ },
|
|
4242
|
+
{ },
|
|
4243
|
+
{ },
|
|
4244
|
+
{ },
|
|
4245
|
+
body,
|
|
4246
|
+
['PureCloud OAuth'],
|
|
4247
|
+
['application/json'],
|
|
4248
|
+
['application/json']
|
|
4249
|
+
);
|
|
4250
|
+
}
|
|
4251
|
+
|
|
4102
4252
|
/**
|
|
4103
4253
|
* Send message
|
|
4104
4254
|
* Send message on existing conversation/communication. Only one message body field can be accepted, per request. Example: 1 textBody, 1 mediaId, 1 stickerId, or 1 messageTemplate.
|
|
@@ -4483,6 +4633,36 @@ class ConversationsApi {
|
|
|
4483
4633
|
);
|
|
4484
4634
|
}
|
|
4485
4635
|
|
|
4636
|
+
/**
|
|
4637
|
+
* Set the secure attributes on a conversation.
|
|
4638
|
+
*
|
|
4639
|
+
* @param {String} conversationId conversation ID
|
|
4640
|
+
* @param {Object} body Conversation Secure Attributes
|
|
4641
|
+
*/
|
|
4642
|
+
putConversationSecureattributes(conversationId, body) {
|
|
4643
|
+
// verify the required parameter 'conversationId' is set
|
|
4644
|
+
if (conversationId === undefined || conversationId === null) {
|
|
4645
|
+
throw 'Missing the required parameter "conversationId" when calling putConversationSecureattributes';
|
|
4646
|
+
}
|
|
4647
|
+
// verify the required parameter 'body' is set
|
|
4648
|
+
if (body === undefined || body === null) {
|
|
4649
|
+
throw 'Missing the required parameter "body" when calling putConversationSecureattributes';
|
|
4650
|
+
}
|
|
4651
|
+
|
|
4652
|
+
return this.apiClient.callApi(
|
|
4653
|
+
'/api/v2/conversations/{conversationId}/secureattributes',
|
|
4654
|
+
'PUT',
|
|
4655
|
+
{ 'conversationId': conversationId },
|
|
4656
|
+
{ },
|
|
4657
|
+
{ },
|
|
4658
|
+
{ },
|
|
4659
|
+
body,
|
|
4660
|
+
['PureCloud OAuth'],
|
|
4661
|
+
['application/json'],
|
|
4662
|
+
['application/json']
|
|
4663
|
+
);
|
|
4664
|
+
}
|
|
4665
|
+
|
|
4486
4666
|
/**
|
|
4487
4667
|
* Update the tags on a conversation.
|
|
4488
4668
|
*
|
|
@@ -4733,6 +4913,36 @@ class ConversationsApi {
|
|
|
4733
4913
|
);
|
|
4734
4914
|
}
|
|
4735
4915
|
|
|
4916
|
+
/**
|
|
4917
|
+
* Update the encryption key configurations
|
|
4918
|
+
*
|
|
4919
|
+
* @param {String} keyconfigurationsId Key Configurations Id
|
|
4920
|
+
* @param {Object} body Encryption key configuration metadata
|
|
4921
|
+
*/
|
|
4922
|
+
putConversationsKeyconfiguration(keyconfigurationsId, body) {
|
|
4923
|
+
// verify the required parameter 'keyconfigurationsId' is set
|
|
4924
|
+
if (keyconfigurationsId === undefined || keyconfigurationsId === null) {
|
|
4925
|
+
throw 'Missing the required parameter "keyconfigurationsId" when calling putConversationsKeyconfiguration';
|
|
4926
|
+
}
|
|
4927
|
+
// verify the required parameter 'body' is set
|
|
4928
|
+
if (body === undefined || body === null) {
|
|
4929
|
+
throw 'Missing the required parameter "body" when calling putConversationsKeyconfiguration';
|
|
4930
|
+
}
|
|
4931
|
+
|
|
4932
|
+
return this.apiClient.callApi(
|
|
4933
|
+
'/api/v2/conversations/keyconfigurations/{keyconfigurationsId}',
|
|
4934
|
+
'PUT',
|
|
4935
|
+
{ 'keyconfigurationsId': keyconfigurationsId },
|
|
4936
|
+
{ },
|
|
4937
|
+
{ },
|
|
4938
|
+
{ },
|
|
4939
|
+
body,
|
|
4940
|
+
['PureCloud OAuth'],
|
|
4941
|
+
['application/json'],
|
|
4942
|
+
['application/json']
|
|
4943
|
+
);
|
|
4944
|
+
}
|
|
4945
|
+
|
|
4736
4946
|
/**
|
|
4737
4947
|
* Update a conversation by setting its recording state
|
|
4738
4948
|
*
|