purecloud-platform-client-v2 230.0.0 → 232.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 +22 -3
- package/dist/node/purecloud-platform-client-v2.js +1247 -141
- package/dist/web-amd/purecloud-platform-client-v2.js +1247 -141
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +449 -156
- package/dist/web-cjs/purecloud-platform-client-v2.js +571 -223
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1704 -518
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +31 -6
- package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +2 -0
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +160 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +25 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +83 -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/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.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 +238 -4
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.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/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +5 -2
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +28 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +187 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +7 -3
- 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/LogCaptureApi.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/OperationalEventsApi.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/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +108 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +22 -10
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.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/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +241 -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/TaskManagementApi.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 -32
- 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 +7 -4
- 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 +31 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -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 232.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -246,6 +246,31 @@ class ConversationsApi {
|
|
|
246
246
|
);
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
+
/**
|
|
250
|
+
* Delete an Apple messaging integration
|
|
251
|
+
*
|
|
252
|
+
* @param {String} integrationId Integration ID
|
|
253
|
+
*/
|
|
254
|
+
deleteConversationsMessagingIntegrationsAppleIntegrationId(integrationId) {
|
|
255
|
+
// verify the required parameter 'integrationId' is set
|
|
256
|
+
if (integrationId === undefined || integrationId === null || integrationId === '') {
|
|
257
|
+
throw 'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsAppleIntegrationId';
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
return this.apiClient.callApi(
|
|
261
|
+
'/api/v2/conversations/messaging/integrations/apple/{integrationId}',
|
|
262
|
+
'DELETE',
|
|
263
|
+
{ 'integrationId': integrationId },
|
|
264
|
+
{ },
|
|
265
|
+
{ },
|
|
266
|
+
{ },
|
|
267
|
+
null,
|
|
268
|
+
['PureCloud OAuth'],
|
|
269
|
+
['application/json'],
|
|
270
|
+
['application/json']
|
|
271
|
+
);
|
|
272
|
+
}
|
|
273
|
+
|
|
249
274
|
/**
|
|
250
275
|
* Delete a Facebook messaging integration
|
|
251
276
|
*
|
|
@@ -2381,7 +2406,6 @@ class ConversationsApi {
|
|
|
2381
2406
|
* Get Apple messaging integration identity resolution settings
|
|
2382
2407
|
*
|
|
2383
2408
|
* @param {String} integrationId Integration ID
|
|
2384
|
-
* getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2385
2409
|
*/
|
|
2386
2410
|
getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId) {
|
|
2387
2411
|
// verify the required parameter 'integrationId' is set
|
|
@@ -2581,6 +2605,63 @@ class ConversationsApi {
|
|
|
2581
2605
|
);
|
|
2582
2606
|
}
|
|
2583
2607
|
|
|
2608
|
+
/**
|
|
2609
|
+
* Get a list of Apple Integrations
|
|
2610
|
+
*
|
|
2611
|
+
* @param {Object} opts Optional parameters
|
|
2612
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
2613
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
2614
|
+
* @param {Object} opts.expand Expand instructions for the return value.
|
|
2615
|
+
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
2616
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
2617
|
+
*/
|
|
2618
|
+
getConversationsMessagingIntegrationsApple(opts) {
|
|
2619
|
+
opts = opts || {};
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
return this.apiClient.callApi(
|
|
2623
|
+
'/api/v2/conversations/messaging/integrations/apple',
|
|
2624
|
+
'GET',
|
|
2625
|
+
{ },
|
|
2626
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
2627
|
+
{ },
|
|
2628
|
+
{ },
|
|
2629
|
+
null,
|
|
2630
|
+
['PureCloud OAuth'],
|
|
2631
|
+
['application/json'],
|
|
2632
|
+
['application/json']
|
|
2633
|
+
);
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2636
|
+
/**
|
|
2637
|
+
* Get an Apple messaging integration
|
|
2638
|
+
*
|
|
2639
|
+
* @param {String} integrationId Integration ID
|
|
2640
|
+
* @param {Object} opts Optional parameters
|
|
2641
|
+
* @param {Object} opts.expand Expand instructions for the return value.
|
|
2642
|
+
*/
|
|
2643
|
+
getConversationsMessagingIntegrationsAppleIntegrationId(integrationId, opts) {
|
|
2644
|
+
opts = opts || {};
|
|
2645
|
+
|
|
2646
|
+
// verify the required parameter 'integrationId' is set
|
|
2647
|
+
if (integrationId === undefined || integrationId === null || integrationId === '') {
|
|
2648
|
+
throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsAppleIntegrationId';
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2651
|
+
return this.apiClient.callApi(
|
|
2652
|
+
'/api/v2/conversations/messaging/integrations/apple/{integrationId}',
|
|
2653
|
+
'GET',
|
|
2654
|
+
{ 'integrationId': integrationId },
|
|
2655
|
+
{ 'expand': opts['expand'] },
|
|
2656
|
+
{ },
|
|
2657
|
+
{ },
|
|
2658
|
+
null,
|
|
2659
|
+
['PureCloud OAuth'],
|
|
2660
|
+
['application/json'],
|
|
2661
|
+
['application/json']
|
|
2662
|
+
);
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2584
2665
|
/**
|
|
2585
2666
|
* Get a list of Facebook Integrations
|
|
2586
2667
|
*
|
|
@@ -2886,6 +2967,40 @@ class ConversationsApi {
|
|
|
2886
2967
|
);
|
|
2887
2968
|
}
|
|
2888
2969
|
|
|
2970
|
+
/**
|
|
2971
|
+
* Call Authentication provider callback to validate state and code
|
|
2972
|
+
*
|
|
2973
|
+
* @param {String} code The authorization code to be sent to the authentication server during the token request.
|
|
2974
|
+
* @param {String} state The state/nonce value generated by Genesys Auth-Client Service.
|
|
2975
|
+
* @param {Object} opts Optional parameters
|
|
2976
|
+
* @param {String} opts.error Error parameter from OAuth provider
|
|
2977
|
+
*/
|
|
2978
|
+
getConversationsMessagingOauthAppleCallback(code, state, opts) {
|
|
2979
|
+
opts = opts || {};
|
|
2980
|
+
|
|
2981
|
+
// verify the required parameter 'code' is set
|
|
2982
|
+
if (code === undefined || code === null) {
|
|
2983
|
+
throw 'Missing the required parameter "code" when calling getConversationsMessagingOauthAppleCallback';
|
|
2984
|
+
}
|
|
2985
|
+
// verify the required parameter 'state' is set
|
|
2986
|
+
if (state === undefined || state === null) {
|
|
2987
|
+
throw 'Missing the required parameter "state" when calling getConversationsMessagingOauthAppleCallback';
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
return this.apiClient.callApi(
|
|
2991
|
+
'/api/v2/conversations/messaging/oauth/apple/callback',
|
|
2992
|
+
'GET',
|
|
2993
|
+
{ },
|
|
2994
|
+
{ 'code': code,'state': state,'error': opts['error'] },
|
|
2995
|
+
{ },
|
|
2996
|
+
{ },
|
|
2997
|
+
null,
|
|
2998
|
+
['PureCloud OAuth'],
|
|
2999
|
+
['application/json'],
|
|
3000
|
+
['application/json']
|
|
3001
|
+
);
|
|
3002
|
+
}
|
|
3003
|
+
|
|
2889
3004
|
/**
|
|
2890
3005
|
* Get a messaging setting
|
|
2891
3006
|
*
|
|
@@ -4504,6 +4619,36 @@ class ConversationsApi {
|
|
|
4504
4619
|
);
|
|
4505
4620
|
}
|
|
4506
4621
|
|
|
4622
|
+
/**
|
|
4623
|
+
* Update an Apple messaging integration
|
|
4624
|
+
*
|
|
4625
|
+
* @param {String} integrationId Integration ID
|
|
4626
|
+
* @param {Object} body AppleIntegrationUpdateRequest
|
|
4627
|
+
*/
|
|
4628
|
+
patchConversationsMessagingIntegrationsAppleIntegrationId(integrationId, body) {
|
|
4629
|
+
// verify the required parameter 'integrationId' is set
|
|
4630
|
+
if (integrationId === undefined || integrationId === null || integrationId === '') {
|
|
4631
|
+
throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';
|
|
4632
|
+
}
|
|
4633
|
+
// verify the required parameter 'body' is set
|
|
4634
|
+
if (body === undefined || body === null) {
|
|
4635
|
+
throw 'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';
|
|
4636
|
+
}
|
|
4637
|
+
|
|
4638
|
+
return this.apiClient.callApi(
|
|
4639
|
+
'/api/v2/conversations/messaging/integrations/apple/{integrationId}',
|
|
4640
|
+
'PATCH',
|
|
4641
|
+
{ 'integrationId': integrationId },
|
|
4642
|
+
{ },
|
|
4643
|
+
{ },
|
|
4644
|
+
{ },
|
|
4645
|
+
body,
|
|
4646
|
+
['PureCloud OAuth'],
|
|
4647
|
+
['application/json'],
|
|
4648
|
+
['application/json']
|
|
4649
|
+
);
|
|
4650
|
+
}
|
|
4651
|
+
|
|
4507
4652
|
/**
|
|
4508
4653
|
* Update Facebook messaging integration
|
|
4509
4654
|
*
|
|
@@ -5957,6 +6102,41 @@ class ConversationsApi {
|
|
|
5957
6102
|
);
|
|
5958
6103
|
}
|
|
5959
6104
|
|
|
6105
|
+
/**
|
|
6106
|
+
* Add participants to a conversation on behalf of a user
|
|
6107
|
+
*
|
|
6108
|
+
* @param {String} conversationId conversationId
|
|
6109
|
+
* @param {String} userId userId
|
|
6110
|
+
* @param {Object} body Conversation
|
|
6111
|
+
*/
|
|
6112
|
+
postConversationsCallParticipantsUserUserId(conversationId, userId, body) {
|
|
6113
|
+
// verify the required parameter 'conversationId' is set
|
|
6114
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
6115
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantsUserUserId';
|
|
6116
|
+
}
|
|
6117
|
+
// verify the required parameter 'userId' is set
|
|
6118
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
6119
|
+
throw 'Missing the required parameter "userId" when calling postConversationsCallParticipantsUserUserId';
|
|
6120
|
+
}
|
|
6121
|
+
// verify the required parameter 'body' is set
|
|
6122
|
+
if (body === undefined || body === null) {
|
|
6123
|
+
throw 'Missing the required parameter "body" when calling postConversationsCallParticipantsUserUserId';
|
|
6124
|
+
}
|
|
6125
|
+
|
|
6126
|
+
return this.apiClient.callApi(
|
|
6127
|
+
'/api/v2/conversations/calls/{conversationId}/participants/user/{userId}',
|
|
6128
|
+
'POST',
|
|
6129
|
+
{ 'conversationId': conversationId,'userId': userId },
|
|
6130
|
+
{ },
|
|
6131
|
+
{ },
|
|
6132
|
+
{ },
|
|
6133
|
+
body,
|
|
6134
|
+
['PureCloud OAuth'],
|
|
6135
|
+
['application/json'],
|
|
6136
|
+
['application/json']
|
|
6137
|
+
);
|
|
6138
|
+
}
|
|
6139
|
+
|
|
5960
6140
|
/**
|
|
5961
6141
|
* Apply wrap-up for this conversation communication
|
|
5962
6142
|
*
|
|
@@ -6131,6 +6311,36 @@ class ConversationsApi {
|
|
|
6131
6311
|
);
|
|
6132
6312
|
}
|
|
6133
6313
|
|
|
6314
|
+
/**
|
|
6315
|
+
* Create a call conversation on behalf of a user
|
|
6316
|
+
*
|
|
6317
|
+
* @param {String} userId userId
|
|
6318
|
+
* @param {Object} body Call request
|
|
6319
|
+
*/
|
|
6320
|
+
postConversationsCallsUserUserId(userId, body) {
|
|
6321
|
+
// verify the required parameter 'userId' is set
|
|
6322
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
6323
|
+
throw 'Missing the required parameter "userId" when calling postConversationsCallsUserUserId';
|
|
6324
|
+
}
|
|
6325
|
+
// verify the required parameter 'body' is set
|
|
6326
|
+
if (body === undefined || body === null) {
|
|
6327
|
+
throw 'Missing the required parameter "body" when calling postConversationsCallsUserUserId';
|
|
6328
|
+
}
|
|
6329
|
+
|
|
6330
|
+
return this.apiClient.callApi(
|
|
6331
|
+
'/api/v2/conversations/calls/user/{userId}',
|
|
6332
|
+
'POST',
|
|
6333
|
+
{ 'userId': userId },
|
|
6334
|
+
{ },
|
|
6335
|
+
{ },
|
|
6336
|
+
{ },
|
|
6337
|
+
body,
|
|
6338
|
+
['PureCloud OAuth'],
|
|
6339
|
+
['application/json'],
|
|
6340
|
+
['application/json']
|
|
6341
|
+
);
|
|
6342
|
+
}
|
|
6343
|
+
|
|
6134
6344
|
/**
|
|
6135
6345
|
* Send a message on behalf of a communication in a chat conversation.
|
|
6136
6346
|
* This endpoint is deprecated. Please see the article https://help.genesys.cloud/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
@@ -6541,7 +6751,7 @@ class ConversationsApi {
|
|
|
6541
6751
|
|
|
6542
6752
|
/**
|
|
6543
6753
|
* Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
|
|
6544
|
-
*
|
|
6754
|
+
* This request is not valid when using the Client Credentials OAuth grant.
|
|
6545
6755
|
* @param {String} conversationId conversationId
|
|
6546
6756
|
*/
|
|
6547
6757
|
postConversationsEmailReconnect(conversationId) {
|
|
@@ -7202,6 +7412,31 @@ class ConversationsApi {
|
|
|
7202
7412
|
);
|
|
7203
7413
|
}
|
|
7204
7414
|
|
|
7415
|
+
/**
|
|
7416
|
+
* Create Apple Integration
|
|
7417
|
+
*
|
|
7418
|
+
* @param {Object} body AppleIntegrationRequest
|
|
7419
|
+
*/
|
|
7420
|
+
postConversationsMessagingIntegrationsApple(body) {
|
|
7421
|
+
// verify the required parameter 'body' is set
|
|
7422
|
+
if (body === undefined || body === null) {
|
|
7423
|
+
throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsApple';
|
|
7424
|
+
}
|
|
7425
|
+
|
|
7426
|
+
return this.apiClient.callApi(
|
|
7427
|
+
'/api/v2/conversations/messaging/integrations/apple',
|
|
7428
|
+
'POST',
|
|
7429
|
+
{ },
|
|
7430
|
+
{ },
|
|
7431
|
+
{ },
|
|
7432
|
+
{ },
|
|
7433
|
+
body,
|
|
7434
|
+
['PureCloud OAuth'],
|
|
7435
|
+
['application/json'],
|
|
7436
|
+
['application/json']
|
|
7437
|
+
);
|
|
7438
|
+
}
|
|
7439
|
+
|
|
7205
7440
|
/**
|
|
7206
7441
|
* Create a Facebook Integration
|
|
7207
7442
|
*
|
|
@@ -7980,7 +8215,6 @@ class ConversationsApi {
|
|
|
7980
8215
|
*
|
|
7981
8216
|
* @param {String} integrationId Integration ID
|
|
7982
8217
|
* @param {Object} body IdentityResolutionConfig
|
|
7983
|
-
* putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7984
8218
|
*/
|
|
7985
8219
|
putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId, body) {
|
|
7986
8220
|
// verify the required parameter 'integrationId' is set
|
|
@@ -5,7 +5,7 @@ class IntegrationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Integrations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 232.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -189,6 +189,9 @@ class IntegrationsApi {
|
|
|
189
189
|
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
190
190
|
* @param {String} opts.nextPage next page token
|
|
191
191
|
* @param {String} opts.previousPage Previous page token
|
|
192
|
+
* @param {Array.<String>} opts.ids Comma-separated list of integration IDs to filter by (max 100)
|
|
193
|
+
* @param {String} opts.integrationType Filter integrations by integration type ID
|
|
194
|
+
* @param {Object} opts.reportedState Filter integrations by reported state (case-insensitive)
|
|
192
195
|
*/
|
|
193
196
|
getIntegrations(opts) {
|
|
194
197
|
opts = opts || {};
|
|
@@ -198,7 +201,7 @@ class IntegrationsApi {
|
|
|
198
201
|
'/api/v2/integrations',
|
|
199
202
|
'GET',
|
|
200
203
|
{ },
|
|
201
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
|
|
204
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'integrationType': opts['integrationType'],'reportedState': opts['reportedState'] },
|
|
202
205
|
{ },
|
|
203
206
|
{ },
|
|
204
207
|
null,
|
|
@@ -5,7 +5,7 @@ class JourneyApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Journey service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 232.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1293,6 +1293,33 @@ class JourneyApi {
|
|
|
1293
1293
|
);
|
|
1294
1294
|
}
|
|
1295
1295
|
|
|
1296
|
+
/**
|
|
1297
|
+
* Get my jobs
|
|
1298
|
+
*
|
|
1299
|
+
* @param {Object} opts Optional parameters
|
|
1300
|
+
* @param {Number} opts.pageNumber The number of the page to return (default to 1)
|
|
1301
|
+
* @param {Number} opts.pageSize Max number of entities to return (default to 25)
|
|
1302
|
+
* @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
|
|
1303
|
+
* @param {String} opts.statuses Job statuses to filter for
|
|
1304
|
+
*/
|
|
1305
|
+
getJourneyViewsJobsMe(opts) {
|
|
1306
|
+
opts = opts || {};
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
return this.apiClient.callApi(
|
|
1310
|
+
'/api/v2/journey/views/jobs/me',
|
|
1311
|
+
'GET',
|
|
1312
|
+
{ },
|
|
1313
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'interval': opts['interval'],'statuses': opts['statuses'] },
|
|
1314
|
+
{ },
|
|
1315
|
+
{ },
|
|
1316
|
+
null,
|
|
1317
|
+
['PureCloud OAuth'],
|
|
1318
|
+
['application/json'],
|
|
1319
|
+
['application/json']
|
|
1320
|
+
);
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1296
1323
|
/**
|
|
1297
1324
|
* Get the journey schedules for an organization.
|
|
1298
1325
|
*
|