purecloud-platform-client-v2 221.0.0 → 223.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +1032 -524
- package/dist/web-amd/purecloud-platform-client-v2.js +1032 -524
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +498 -392
- package/dist/web-cjs/purecloud-platform-client-v2.js +498 -392
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1408 -1008
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +3 -2
- 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 +5 -6
- 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 +154 -7
- 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 +3 -3
- 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 +150 -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/LogCaptureApi.js +2 -3
- 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 +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 +1 -1
- 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 +71 -8
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +51 -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 +2 -2
- 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 +3 -2
- 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 +514 -416
- package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ class AgentAssistantsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* AgentAssistants service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 223.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -208,6 +208,7 @@ class AgentAssistantsApi {
|
|
|
208
208
|
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
209
209
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
210
210
|
* @param {String} opts.name Return the assistant by the given name.
|
|
211
|
+
* @param {Object} opts.expand Which fields, if any, to expand
|
|
211
212
|
*/
|
|
212
213
|
getAssistants(opts) {
|
|
213
214
|
opts = opts || {};
|
|
@@ -217,7 +218,7 @@ class AgentAssistantsApi {
|
|
|
217
218
|
'/api/v2/assistants',
|
|
218
219
|
'GET',
|
|
219
220
|
{ },
|
|
220
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
|
|
221
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'],'expand': opts['expand'] },
|
|
221
222
|
{ },
|
|
222
223
|
{ },
|
|
223
224
|
null,
|
|
@@ -5,7 +5,7 @@ class ArchitectApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Architect service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 223.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1979,6 +1979,7 @@ class ArchitectApi {
|
|
|
1979
1979
|
* @param {Object} opts.secure Secure
|
|
1980
1980
|
* @param {Boolean} opts.deleted Include deleted (default to false)
|
|
1981
1981
|
* @param {Boolean} opts.includeSchemas Include variable schemas (default to false)
|
|
1982
|
+
* @param {Boolean} opts.virtualAgentEnabled Include/exclude virtual agent flows
|
|
1982
1983
|
* @param {String} opts.publishedAfter Published after
|
|
1983
1984
|
* @param {String} opts.publishedBefore Published before
|
|
1984
1985
|
* @param {Array.<String>} opts.divisionId division ID(s)
|
|
@@ -1991,7 +1992,7 @@ class ArchitectApi {
|
|
|
1991
1992
|
'/api/v2/flows',
|
|
1992
1993
|
'GET',
|
|
1993
1994
|
{ },
|
|
1994
|
-
{ 'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'publishVersionId': opts['publishVersionId'],'editableBy': opts['editableBy'],'lockedBy': opts['lockedBy'],'lockedByClientId': opts['lockedByClientId'],'secure': opts['secure'],'deleted': opts['deleted'],'includeSchemas': opts['includeSchemas'],'publishedAfter': opts['publishedAfter'],'publishedBefore': opts['publishedBefore'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1995
|
+
{ 'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'publishVersionId': opts['publishVersionId'],'editableBy': opts['editableBy'],'lockedBy': opts['lockedBy'],'lockedByClientId': opts['lockedByClientId'],'secure': opts['secure'],'deleted': opts['deleted'],'includeSchemas': opts['includeSchemas'],'virtualAgentEnabled': opts['virtualAgentEnabled'],'publishedAfter': opts['publishedAfter'],'publishedBefore': opts['publishedBefore'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1995
1996
|
{ },
|
|
1996
1997
|
{ },
|
|
1997
1998
|
null,
|
|
@@ -5,7 +5,7 @@ class BusinessRulesApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* BusinessRules service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 223.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -278,7 +278,7 @@ class BusinessRulesApi {
|
|
|
278
278
|
* @param {String} tableId Table ID
|
|
279
279
|
* @param {Object} opts Optional parameters
|
|
280
280
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
281
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of
|
|
281
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
282
282
|
* @param {Array.<String>} opts.divisionIds One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned.
|
|
283
283
|
* getBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
284
284
|
*/
|
|
@@ -309,7 +309,7 @@ class BusinessRulesApi {
|
|
|
309
309
|
*
|
|
310
310
|
* @param {Object} opts Optional parameters
|
|
311
311
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
312
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of
|
|
312
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
313
313
|
* @param {Array.<String>} opts.divisionIds One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned.
|
|
314
314
|
* getBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
315
315
|
*/
|
|
@@ -335,9 +335,8 @@ class BusinessRulesApi {
|
|
|
335
335
|
* Search for decision tables.
|
|
336
336
|
*
|
|
337
337
|
* @param {Object} opts Optional parameters
|
|
338
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
339
338
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
340
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of
|
|
339
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
341
340
|
* @param {String} opts.schemaId Search for decision tables that use the schema with this ID. Cannot be combined with name search. Search results will not be paginated if used.
|
|
342
341
|
* @param {String} opts.name Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name. Cannot be combined with schema search. Search results will not be paginated if used.
|
|
343
342
|
* getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
@@ -350,7 +349,7 @@ class BusinessRulesApi {
|
|
|
350
349
|
'/api/v2/businessrules/decisiontables/search',
|
|
351
350
|
'GET',
|
|
352
351
|
{ },
|
|
353
|
-
{ '
|
|
352
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'schemaId': opts['schemaId'],'name': opts['name'] },
|
|
354
353
|
{ },
|
|
355
354
|
{ },
|
|
356
355
|
null,
|
|
@@ -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 223.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1935,7 +1935,7 @@ class ConversationsApi {
|
|
|
1935
1935
|
*
|
|
1936
1936
|
* @param {String} messageId messageId
|
|
1937
1937
|
* @param {Object} opts Optional parameters
|
|
1938
|
-
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media
|
|
1938
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
|
|
1939
1939
|
*/
|
|
1940
1940
|
getConversationsMessageDetails(messageId, opts) {
|
|
1941
1941
|
opts = opts || {};
|
|
@@ -1965,7 +1965,7 @@ class ConversationsApi {
|
|
|
1965
1965
|
* @param {String} conversationId conversationId
|
|
1966
1966
|
* @param {String} messageId messageId
|
|
1967
1967
|
* @param {Object} opts Optional parameters
|
|
1968
|
-
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media
|
|
1968
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
|
|
1969
1969
|
*/
|
|
1970
1970
|
getConversationsMessageMessage(conversationId, messageId, opts) {
|
|
1971
1971
|
opts = opts || {};
|
|
@@ -2207,6 +2207,32 @@ class ConversationsApi {
|
|
|
2207
2207
|
);
|
|
2208
2208
|
}
|
|
2209
2209
|
|
|
2210
|
+
/**
|
|
2211
|
+
* Get Apple messaging integration identity resolution settings
|
|
2212
|
+
*
|
|
2213
|
+
* @param {String} integrationId Integration ID
|
|
2214
|
+
* getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2215
|
+
*/
|
|
2216
|
+
getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId) {
|
|
2217
|
+
// verify the required parameter 'integrationId' is set
|
|
2218
|
+
if (integrationId === undefined || integrationId === null) {
|
|
2219
|
+
throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
return this.apiClient.callApi(
|
|
2223
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}',
|
|
2224
|
+
'GET',
|
|
2225
|
+
{ 'integrationId': integrationId },
|
|
2226
|
+
{ },
|
|
2227
|
+
{ },
|
|
2228
|
+
{ },
|
|
2229
|
+
null,
|
|
2230
|
+
['PureCloud OAuth'],
|
|
2231
|
+
['application/json'],
|
|
2232
|
+
['application/json']
|
|
2233
|
+
);
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2210
2236
|
/**
|
|
2211
2237
|
* Get Facebook messaging integration identity resolution settings
|
|
2212
2238
|
*
|
|
@@ -2232,6 +2258,31 @@ class ConversationsApi {
|
|
|
2232
2258
|
);
|
|
2233
2259
|
}
|
|
2234
2260
|
|
|
2261
|
+
/**
|
|
2262
|
+
* Get an Instagram integration identity resolution settings
|
|
2263
|
+
*
|
|
2264
|
+
* @param {String} integrationId Integration ID
|
|
2265
|
+
*/
|
|
2266
|
+
getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(integrationId) {
|
|
2267
|
+
// verify the required parameter 'integrationId' is set
|
|
2268
|
+
if (integrationId === undefined || integrationId === null) {
|
|
2269
|
+
throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
return this.apiClient.callApi(
|
|
2273
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/instagram/{integrationId}',
|
|
2274
|
+
'GET',
|
|
2275
|
+
{ 'integrationId': integrationId },
|
|
2276
|
+
{ },
|
|
2277
|
+
{ },
|
|
2278
|
+
{ },
|
|
2279
|
+
null,
|
|
2280
|
+
['PureCloud OAuth'],
|
|
2281
|
+
['application/json'],
|
|
2282
|
+
['application/json']
|
|
2283
|
+
);
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2235
2286
|
/**
|
|
2236
2287
|
* Get an open messaging integration Identity Resolution settings
|
|
2237
2288
|
*
|
|
@@ -4320,7 +4371,7 @@ class ConversationsApi {
|
|
|
4320
4371
|
|
|
4321
4372
|
/**
|
|
4322
4373
|
* Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
|
|
4323
|
-
* Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the
|
|
4374
|
+
* Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the GET call on the integration with a createStatus of Completed. You can then run a GET on the integration to check if its status has been updated to Active.
|
|
4324
4375
|
* @param {String} integrationId Integration ID
|
|
4325
4376
|
* @param {Object} body WhatsAppEmbeddedSignupIntegrationActivationRequest
|
|
4326
4377
|
*/
|
|
@@ -6169,12 +6220,12 @@ class ConversationsApi {
|
|
|
6169
6220
|
|
|
6170
6221
|
/**
|
|
6171
6222
|
* Send message
|
|
6172
|
-
* Send message on existing conversation/communication. Only one message body field can be accepted, per request. Example: 1 textBody, 1 mediaId,
|
|
6223
|
+
* Send message on existing conversation/communication. Only one message body field can be accepted, per request. Example: 1 textBody, 1 mediaId, or 1 messageTemplate.
|
|
6173
6224
|
* @param {String} conversationId conversationId
|
|
6174
6225
|
* @param {String} communicationId communicationId
|
|
6175
6226
|
* @param {Object} body Message
|
|
6176
6227
|
* @param {Object} opts Optional parameters
|
|
6177
|
-
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media
|
|
6228
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
|
|
6178
6229
|
*/
|
|
6179
6230
|
postConversationsMessageCommunicationMessages(conversationId, communicationId, body, opts) {
|
|
6180
6231
|
opts = opts || {};
|
|
@@ -6272,6 +6323,41 @@ class ConversationsApi {
|
|
|
6272
6323
|
);
|
|
6273
6324
|
}
|
|
6274
6325
|
|
|
6326
|
+
/**
|
|
6327
|
+
* Send a social media message
|
|
6328
|
+
* Send a social media message on existing conversation/communication.
|
|
6329
|
+
* @param {String} conversationId conversationId
|
|
6330
|
+
* @param {String} communicationId communicationId
|
|
6331
|
+
* @param {Object} body Message
|
|
6332
|
+
*/
|
|
6333
|
+
postConversationsMessageCommunicationSocialmediaMessages(conversationId, communicationId, body) {
|
|
6334
|
+
// verify the required parameter 'conversationId' is set
|
|
6335
|
+
if (conversationId === undefined || conversationId === null) {
|
|
6336
|
+
throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationSocialmediaMessages';
|
|
6337
|
+
}
|
|
6338
|
+
// verify the required parameter 'communicationId' is set
|
|
6339
|
+
if (communicationId === undefined || communicationId === null) {
|
|
6340
|
+
throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationSocialmediaMessages';
|
|
6341
|
+
}
|
|
6342
|
+
// verify the required parameter 'body' is set
|
|
6343
|
+
if (body === undefined || body === null) {
|
|
6344
|
+
throw 'Missing the required parameter "body" when calling postConversationsMessageCommunicationSocialmediaMessages';
|
|
6345
|
+
}
|
|
6346
|
+
|
|
6347
|
+
return this.apiClient.callApi(
|
|
6348
|
+
'/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/socialmedia/messages',
|
|
6349
|
+
'POST',
|
|
6350
|
+
{ 'conversationId': conversationId,'communicationId': communicationId },
|
|
6351
|
+
{ },
|
|
6352
|
+
{ },
|
|
6353
|
+
{ },
|
|
6354
|
+
body,
|
|
6355
|
+
['PureCloud OAuth'],
|
|
6356
|
+
['application/json'],
|
|
6357
|
+
['application/json']
|
|
6358
|
+
);
|
|
6359
|
+
}
|
|
6360
|
+
|
|
6275
6361
|
/**
|
|
6276
6362
|
* Send message typing event
|
|
6277
6363
|
* Send message typing event for existing conversation/communication.
|
|
@@ -6406,7 +6492,7 @@ class ConversationsApi {
|
|
|
6406
6492
|
* The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: ["a3069a33b-bbb1-4703-9d68-061d9e9db96e", "55bc6be3-078c-4a49-a4e6-1e05776ed7e8"]
|
|
6407
6493
|
* @param {String} conversationId
|
|
6408
6494
|
* @param {Object} opts Optional parameters
|
|
6409
|
-
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media
|
|
6495
|
+
* @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media) (default to false)
|
|
6410
6496
|
* @param {Array.<String>} opts.body messageIds
|
|
6411
6497
|
*/
|
|
6412
6498
|
postConversationsMessageMessagesBulk(conversationId, opts) {
|
|
@@ -7388,6 +7474,37 @@ class ConversationsApi {
|
|
|
7388
7474
|
);
|
|
7389
7475
|
}
|
|
7390
7476
|
|
|
7477
|
+
/**
|
|
7478
|
+
* Create an identity resolution settings for a Apple messaging integration
|
|
7479
|
+
*
|
|
7480
|
+
* @param {String} integrationId Integration ID
|
|
7481
|
+
* @param {Object} body IdentityResolutionConfig
|
|
7482
|
+
* putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7483
|
+
*/
|
|
7484
|
+
putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId, body) {
|
|
7485
|
+
// verify the required parameter 'integrationId' is set
|
|
7486
|
+
if (integrationId === undefined || integrationId === null) {
|
|
7487
|
+
throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';
|
|
7488
|
+
}
|
|
7489
|
+
// verify the required parameter 'body' is set
|
|
7490
|
+
if (body === undefined || body === null) {
|
|
7491
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';
|
|
7492
|
+
}
|
|
7493
|
+
|
|
7494
|
+
return this.apiClient.callApi(
|
|
7495
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}',
|
|
7496
|
+
'PUT',
|
|
7497
|
+
{ 'integrationId': integrationId },
|
|
7498
|
+
{ },
|
|
7499
|
+
{ },
|
|
7500
|
+
{ },
|
|
7501
|
+
body,
|
|
7502
|
+
['PureCloud OAuth'],
|
|
7503
|
+
['application/json'],
|
|
7504
|
+
['application/json']
|
|
7505
|
+
);
|
|
7506
|
+
}
|
|
7507
|
+
|
|
7391
7508
|
/**
|
|
7392
7509
|
* Create an identity resolution settings for a Facebook messaging integration
|
|
7393
7510
|
*
|
|
@@ -7418,6 +7535,36 @@ class ConversationsApi {
|
|
|
7418
7535
|
);
|
|
7419
7536
|
}
|
|
7420
7537
|
|
|
7538
|
+
/**
|
|
7539
|
+
* Create identity resolution settings for an Instagram messaging integration
|
|
7540
|
+
*
|
|
7541
|
+
* @param {String} integrationId Integration ID
|
|
7542
|
+
* @param {Object} body IdentityResolutionConfig
|
|
7543
|
+
*/
|
|
7544
|
+
putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(integrationId, body) {
|
|
7545
|
+
// verify the required parameter 'integrationId' is set
|
|
7546
|
+
if (integrationId === undefined || integrationId === null) {
|
|
7547
|
+
throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';
|
|
7548
|
+
}
|
|
7549
|
+
// verify the required parameter 'body' is set
|
|
7550
|
+
if (body === undefined || body === null) {
|
|
7551
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';
|
|
7552
|
+
}
|
|
7553
|
+
|
|
7554
|
+
return this.apiClient.callApi(
|
|
7555
|
+
'/api/v2/conversations/messaging/identityresolution/integrations/instagram/{integrationId}',
|
|
7556
|
+
'PUT',
|
|
7557
|
+
{ 'integrationId': integrationId },
|
|
7558
|
+
{ },
|
|
7559
|
+
{ },
|
|
7560
|
+
{ },
|
|
7561
|
+
body,
|
|
7562
|
+
['PureCloud OAuth'],
|
|
7563
|
+
['application/json'],
|
|
7564
|
+
['application/json']
|
|
7565
|
+
);
|
|
7566
|
+
}
|
|
7567
|
+
|
|
7421
7568
|
/**
|
|
7422
7569
|
* Update an open messaging integration Identity Resolution settings
|
|
7423
7570
|
*
|
|
@@ -5,7 +5,7 @@ class ExternalContactsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* ExternalContacts service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 223.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -641,7 +641,7 @@ class ExternalContactsApi {
|
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
/**
|
|
644
|
-
* Get
|
|
644
|
+
* Get a specific named core type.
|
|
645
645
|
*
|
|
646
646
|
* @param {String} coreTypeName Name of the core type
|
|
647
647
|
*/
|
|
@@ -1285,7 +1285,7 @@ class ExternalContactsApi {
|
|
|
1285
1285
|
}
|
|
1286
1286
|
|
|
1287
1287
|
/**
|
|
1288
|
-
* Get
|
|
1288
|
+
* Get a specific named core type.
|
|
1289
1289
|
*
|
|
1290
1290
|
* @param {String} coreTypeName Name of the core type
|
|
1291
1291
|
*/
|