purecloud-platform-client-v2 217.0.0 → 218.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 +805 -195
- package/dist/web-amd/purecloud-platform-client-v2.js +805 -195
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +275 -152
- package/dist/web-cjs/purecloud-platform-client-v2.js +275 -152
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +606 -72
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- 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 +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/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -4
- 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 +214 -1
- 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 +77 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -6
- 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 +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 -70
- 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 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -2
- 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 +403 -20
- 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 +3 -2
- 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 +19 -10
- 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 +11 -6
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class KnowledgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Knowledge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 218.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1280,7 +1280,6 @@ class KnowledgeApi {
|
|
|
1280
1280
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
1281
1281
|
* @param {String} uploadId UploadId
|
|
1282
1282
|
* @deprecated
|
|
1283
|
-
* getKnowledgeKnowledgebaseLanguageDocumentUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1284
1283
|
*/
|
|
1285
1284
|
getKnowledgeKnowledgebaseLanguageDocumentUpload(documentId, knowledgeBaseId, languageCode, uploadId) {
|
|
1286
1285
|
// verify the required parameter 'documentId' is set
|
|
@@ -2986,7 +2985,6 @@ class KnowledgeApi {
|
|
|
2986
2985
|
*
|
|
2987
2986
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
2988
2987
|
* @param {Object} body
|
|
2989
|
-
* postKnowledgeKnowledgebaseDocumentsBulkRemove is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2990
2988
|
*/
|
|
2991
2989
|
postKnowledgeKnowledgebaseDocumentsBulkRemove(knowledgeBaseId, body) {
|
|
2992
2990
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -3017,7 +3015,6 @@ class KnowledgeApi {
|
|
|
3017
3015
|
*
|
|
3018
3016
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
3019
3017
|
* @param {Object} body
|
|
3020
|
-
* postKnowledgeKnowledgebaseDocumentsBulkUpdate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3021
3018
|
*/
|
|
3022
3019
|
postKnowledgeKnowledgebaseDocumentsBulkUpdate(knowledgeBaseId, body) {
|
|
3023
3020
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -3166,7 +3163,6 @@ class KnowledgeApi {
|
|
|
3166
3163
|
*
|
|
3167
3164
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
3168
3165
|
* @param {Object} body
|
|
3169
|
-
* postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3170
3166
|
*/
|
|
3171
3167
|
postKnowledgeKnowledgebaseDocumentsVersionsBulkAdd(knowledgeBaseId, body) {
|
|
3172
3168
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -3326,7 +3322,6 @@ class KnowledgeApi {
|
|
|
3326
3322
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
3327
3323
|
* @param {Object} body
|
|
3328
3324
|
* @deprecated
|
|
3329
|
-
* postKnowledgeKnowledgebaseLanguageDocumentUploads is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3330
3325
|
*/
|
|
3331
3326
|
postKnowledgeKnowledgebaseLanguageDocumentUploads(documentId, knowledgeBaseId, languageCode, body) {
|
|
3332
3327
|
// verify the required parameter 'documentId' is set
|
|
@@ -5,7 +5,7 @@ class OrganizationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Organization service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 218.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -226,38 +226,6 @@ class OrganizationApi {
|
|
|
226
226
|
);
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
/**
|
|
230
|
-
* Get estimated limit counts for a namespace. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
|
|
231
|
-
* See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
|
|
232
|
-
* @param {String} namespaceName The namespace to get
|
|
233
|
-
* @param {Object} opts Optional parameters
|
|
234
|
-
* @param {String} opts.cursor Cursor provided when retrieving the last page
|
|
235
|
-
* @param {String} opts.entityId entity id of the count
|
|
236
|
-
* @param {String} opts.userId userid of the count
|
|
237
|
-
* @deprecated
|
|
238
|
-
*/
|
|
239
|
-
getOrganizationsLimitsNamespaceCounts(namespaceName, opts) {
|
|
240
|
-
opts = opts || {};
|
|
241
|
-
|
|
242
|
-
// verify the required parameter 'namespaceName' is set
|
|
243
|
-
if (namespaceName === undefined || namespaceName === null) {
|
|
244
|
-
throw 'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceCounts';
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
return this.apiClient.callApi(
|
|
248
|
-
'/api/v2/organizations/limits/namespaces/{namespaceName}/counts',
|
|
249
|
-
'GET',
|
|
250
|
-
{ 'namespaceName': namespaceName },
|
|
251
|
-
{ 'cursor': opts['cursor'],'entityId': opts['entityId'],'userId': opts['userId'] },
|
|
252
|
-
{ },
|
|
253
|
-
{ },
|
|
254
|
-
null,
|
|
255
|
-
['PureCloud OAuth'],
|
|
256
|
-
['application/json'],
|
|
257
|
-
['application/json']
|
|
258
|
-
);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
229
|
/**
|
|
262
230
|
* Get the default limits in a namespace for an organization
|
|
263
231
|
*
|
|
@@ -283,43 +251,6 @@ class OrganizationApi {
|
|
|
283
251
|
);
|
|
284
252
|
}
|
|
285
253
|
|
|
286
|
-
/**
|
|
287
|
-
* Get estimated limit counts for a namespace and limit name. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
|
|
288
|
-
* See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
|
|
289
|
-
* @param {String} namespaceName The namespace to get
|
|
290
|
-
* @param {String} limitName The limit to get
|
|
291
|
-
* @param {Object} opts Optional parameters
|
|
292
|
-
* @param {String} opts.entityId entity id of the count
|
|
293
|
-
* @param {String} opts.userId userid of the count
|
|
294
|
-
* @param {String} opts.cursor Cursor provided when retrieving the last page
|
|
295
|
-
* @deprecated
|
|
296
|
-
*/
|
|
297
|
-
getOrganizationsLimitsNamespaceLimitCounts(namespaceName, limitName, opts) {
|
|
298
|
-
opts = opts || {};
|
|
299
|
-
|
|
300
|
-
// verify the required parameter 'namespaceName' is set
|
|
301
|
-
if (namespaceName === undefined || namespaceName === null) {
|
|
302
|
-
throw 'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceLimitCounts';
|
|
303
|
-
}
|
|
304
|
-
// verify the required parameter 'limitName' is set
|
|
305
|
-
if (limitName === undefined || limitName === null) {
|
|
306
|
-
throw 'Missing the required parameter "limitName" when calling getOrganizationsLimitsNamespaceLimitCounts';
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
return this.apiClient.callApi(
|
|
310
|
-
'/api/v2/organizations/limits/namespaces/{namespaceName}/limits/{limitName}/counts',
|
|
311
|
-
'GET',
|
|
312
|
-
{ 'namespaceName': namespaceName,'limitName': limitName },
|
|
313
|
-
{ 'entityId': opts['entityId'],'userId': opts['userId'],'cursor': opts['cursor'] },
|
|
314
|
-
{ },
|
|
315
|
-
{ },
|
|
316
|
-
null,
|
|
317
|
-
['PureCloud OAuth'],
|
|
318
|
-
['application/json'],
|
|
319
|
-
['application/json']
|
|
320
|
-
);
|
|
321
|
-
}
|
|
322
|
-
|
|
323
254
|
/**
|
|
324
255
|
* Get the available limit namespaces
|
|
325
256
|
*
|
|
@@ -5,7 +5,7 @@ class QualityApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Quality service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 218.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1701,7 +1701,6 @@ class QualityApi {
|
|
|
1701
1701
|
*
|
|
1702
1702
|
* @param {String} formId Form ID
|
|
1703
1703
|
* @param {Object} body AI Scoring Settings
|
|
1704
|
-
* putQualityFormsEvaluationAiscoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1705
1704
|
*/
|
|
1706
1705
|
putQualityFormsEvaluationAiscoringSettings(formId, body) {
|
|
1707
1706
|
// verify the required parameter 'formId' is set
|
|
@@ -5,7 +5,7 @@ class RecordingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Recording service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 218.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -375,6 +375,7 @@ class RecordingApi {
|
|
|
375
375
|
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
376
376
|
* @param {Array.<String>} opts.mediaFormats All acceptable media formats. Overrides formatId. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3.
|
|
377
377
|
* @param {String} opts.locale The locale used for redacting sensitive information in requested files, as an ISO 639-1 code
|
|
378
|
+
* @param {Boolean} opts.includePauseAnnotationsForScreenRecordings Include applicable Secure Pause annotations from all audio recordings to all screen recordings (default to false)
|
|
378
379
|
*/
|
|
379
380
|
getConversationRecordings(conversationId, opts) {
|
|
380
381
|
opts = opts || {};
|
|
@@ -388,7 +389,7 @@ class RecordingApi {
|
|
|
388
389
|
'/api/v2/conversations/{conversationId}/recordings',
|
|
389
390
|
'GET',
|
|
390
391
|
{ 'conversationId': conversationId },
|
|
391
|
-
{ 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi'),'locale': opts['locale'] },
|
|
392
|
+
{ 'maxWaitMs': opts['maxWaitMs'],'formatId': opts['formatId'],'mediaFormats': this.apiClient.buildCollectionParam(opts['mediaFormats'], 'multi'),'locale': opts['locale'],'includePauseAnnotationsForScreenRecordings': opts['includePauseAnnotationsForScreenRecordings'] },
|
|
392
393
|
{ },
|
|
393
394
|
{ },
|
|
394
395
|
null,
|