purecloud-platform-client-v2 192.2.0 → 194.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 +347 -757
- package/dist/web-amd/purecloud-platform-client-v2.js +347 -757
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +240 -361
- package/dist/web-cjs/purecloud-platform-client-v2.js +240 -361
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +714 -751
- 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 +40 -346
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +30 -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 +48 -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 +1 -286
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.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/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -2
- 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 -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 +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 +21 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +125 -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 +3 -3
- 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 -2
- 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/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 -38
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -2
- 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 -2
- 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 +5 -3
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -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 194.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -181,6 +181,26 @@ class OrganizationApi {
|
|
|
181
181
|
);
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
+
/**
|
|
185
|
+
* Get free trial limit documentation
|
|
186
|
+
*
|
|
187
|
+
*/
|
|
188
|
+
getOrganizationsLimitsDocsFreetrial() {
|
|
189
|
+
|
|
190
|
+
return this.apiClient.callApi(
|
|
191
|
+
'/api/v2/organizations/limits/docs/freetrial',
|
|
192
|
+
'GET',
|
|
193
|
+
{ },
|
|
194
|
+
{ },
|
|
195
|
+
{ },
|
|
196
|
+
{ },
|
|
197
|
+
null,
|
|
198
|
+
['PureCloud OAuth'],
|
|
199
|
+
['application/json'],
|
|
200
|
+
['application/json']
|
|
201
|
+
);
|
|
202
|
+
}
|
|
203
|
+
|
|
184
204
|
/**
|
|
185
205
|
* Get the effective limits in a namespace for an organization
|
|
186
206
|
*
|
|
@@ -5,7 +5,7 @@ class OutboundApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Outbound service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 194.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1057,6 +1057,40 @@ class OutboundApi {
|
|
|
1057
1057
|
);
|
|
1058
1058
|
}
|
|
1059
1059
|
|
|
1060
|
+
/**
|
|
1061
|
+
* Get line distribution information for campaigns using same Edge Group or Site as given campaign
|
|
1062
|
+
*
|
|
1063
|
+
* @param {String} campaignId Campaign ID
|
|
1064
|
+
* @param {Object} opts Optional parameters
|
|
1065
|
+
* @param {Boolean} opts.includeOnlyActiveCampaigns If true will return only active Campaigns (default to true)
|
|
1066
|
+
* @param {String} opts.edgeGroupId Edge group to be used in line distribution calculations instead of current Campaign's Edge Group. Campaign's Site and Edge Group are mutually exclusive.
|
|
1067
|
+
* @param {String} opts.siteId Site to be used in line distribution calculations instead of current Campaign's Site. Campaign's Site and Edge Group are mutually exclusive.
|
|
1068
|
+
* @param {Boolean} opts.useWeight Enable usage of weight, this value overrides current Campaign's setting in line distribution calculations
|
|
1069
|
+
* @param {Number} opts.relativeWeight Relative weight to be used in line distribution calculations instead of current Campaign's relative weight
|
|
1070
|
+
* @param {Number} opts.outboundLineCount The number of outbound lines to be used in line distribution calculations, instead of current Campaign's Outbound Lines Count
|
|
1071
|
+
*/
|
|
1072
|
+
getOutboundCampaignLinedistribution(campaignId, opts) {
|
|
1073
|
+
opts = opts || {};
|
|
1074
|
+
|
|
1075
|
+
// verify the required parameter 'campaignId' is set
|
|
1076
|
+
if (campaignId === undefined || campaignId === null) {
|
|
1077
|
+
throw 'Missing the required parameter "campaignId" when calling getOutboundCampaignLinedistribution';
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
return this.apiClient.callApi(
|
|
1081
|
+
'/api/v2/outbound/campaigns/{campaignId}/linedistribution',
|
|
1082
|
+
'GET',
|
|
1083
|
+
{ 'campaignId': campaignId },
|
|
1084
|
+
{ 'includeOnlyActiveCampaigns': opts['includeOnlyActiveCampaigns'],'edgeGroupId': opts['edgeGroupId'],'siteId': opts['siteId'],'useWeight': opts['useWeight'],'relativeWeight': opts['relativeWeight'],'outboundLineCount': opts['outboundLineCount'] },
|
|
1085
|
+
{ },
|
|
1086
|
+
{ },
|
|
1087
|
+
null,
|
|
1088
|
+
['PureCloud OAuth'],
|
|
1089
|
+
['application/json'],
|
|
1090
|
+
['application/json']
|
|
1091
|
+
);
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1060
1094
|
/**
|
|
1061
1095
|
* Get campaign progress
|
|
1062
1096
|
*
|
|
@@ -3033,6 +3067,96 @@ class OutboundApi {
|
|
|
3033
3067
|
);
|
|
3034
3068
|
}
|
|
3035
3069
|
|
|
3070
|
+
/**
|
|
3071
|
+
* Start an async job to delete contacts using a filter.
|
|
3072
|
+
*
|
|
3073
|
+
* @param {String} contactListId Contact List ID
|
|
3074
|
+
* @param {Object} body Contact filter information.
|
|
3075
|
+
*/
|
|
3076
|
+
postOutboundContactlistContactsBulkRemove(contactListId, body) {
|
|
3077
|
+
// verify the required parameter 'contactListId' is set
|
|
3078
|
+
if (contactListId === undefined || contactListId === null) {
|
|
3079
|
+
throw 'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulkRemove';
|
|
3080
|
+
}
|
|
3081
|
+
// verify the required parameter 'body' is set
|
|
3082
|
+
if (body === undefined || body === null) {
|
|
3083
|
+
throw 'Missing the required parameter "body" when calling postOutboundContactlistContactsBulkRemove';
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3086
|
+
return this.apiClient.callApi(
|
|
3087
|
+
'/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/remove',
|
|
3088
|
+
'POST',
|
|
3089
|
+
{ 'contactListId': contactListId },
|
|
3090
|
+
{ },
|
|
3091
|
+
{ },
|
|
3092
|
+
{ },
|
|
3093
|
+
body,
|
|
3094
|
+
['PureCloud OAuth'],
|
|
3095
|
+
['application/json'],
|
|
3096
|
+
['application/json']
|
|
3097
|
+
);
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
/**
|
|
3101
|
+
* Start an async job to bulk edit contacts.
|
|
3102
|
+
*
|
|
3103
|
+
* @param {String} contactListId Contact List ID
|
|
3104
|
+
* @param {Object} body Contact bulk edit request information.
|
|
3105
|
+
*/
|
|
3106
|
+
postOutboundContactlistContactsBulkUpdate(contactListId, body) {
|
|
3107
|
+
// verify the required parameter 'contactListId' is set
|
|
3108
|
+
if (contactListId === undefined || contactListId === null) {
|
|
3109
|
+
throw 'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsBulkUpdate';
|
|
3110
|
+
}
|
|
3111
|
+
// verify the required parameter 'body' is set
|
|
3112
|
+
if (body === undefined || body === null) {
|
|
3113
|
+
throw 'Missing the required parameter "body" when calling postOutboundContactlistContactsBulkUpdate';
|
|
3114
|
+
}
|
|
3115
|
+
|
|
3116
|
+
return this.apiClient.callApi(
|
|
3117
|
+
'/api/v2/outbound/contactlists/{contactListId}/contacts/bulk/update',
|
|
3118
|
+
'POST',
|
|
3119
|
+
{ 'contactListId': contactListId },
|
|
3120
|
+
{ },
|
|
3121
|
+
{ },
|
|
3122
|
+
{ },
|
|
3123
|
+
body,
|
|
3124
|
+
['PureCloud OAuth'],
|
|
3125
|
+
['application/json'],
|
|
3126
|
+
['application/json']
|
|
3127
|
+
);
|
|
3128
|
+
}
|
|
3129
|
+
|
|
3130
|
+
/**
|
|
3131
|
+
* Query contacts from a contact list.
|
|
3132
|
+
*
|
|
3133
|
+
* @param {String} contactListId Contact List ID
|
|
3134
|
+
* @param {Object} body Contact search parameters.
|
|
3135
|
+
*/
|
|
3136
|
+
postOutboundContactlistContactsSearch(contactListId, body) {
|
|
3137
|
+
// verify the required parameter 'contactListId' is set
|
|
3138
|
+
if (contactListId === undefined || contactListId === null) {
|
|
3139
|
+
throw 'Missing the required parameter "contactListId" when calling postOutboundContactlistContactsSearch';
|
|
3140
|
+
}
|
|
3141
|
+
// verify the required parameter 'body' is set
|
|
3142
|
+
if (body === undefined || body === null) {
|
|
3143
|
+
throw 'Missing the required parameter "body" when calling postOutboundContactlistContactsSearch';
|
|
3144
|
+
}
|
|
3145
|
+
|
|
3146
|
+
return this.apiClient.callApi(
|
|
3147
|
+
'/api/v2/outbound/contactlists/{contactListId}/contacts/search',
|
|
3148
|
+
'POST',
|
|
3149
|
+
{ 'contactListId': contactListId },
|
|
3150
|
+
{ },
|
|
3151
|
+
{ },
|
|
3152
|
+
{ },
|
|
3153
|
+
body,
|
|
3154
|
+
['PureCloud OAuth'],
|
|
3155
|
+
['application/json'],
|
|
3156
|
+
['application/json']
|
|
3157
|
+
);
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3036
3160
|
/**
|
|
3037
3161
|
* Initiate the export of a contact list.
|
|
3038
3162
|
* Returns 200 if received OK.
|
|
@@ -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 194.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -493,7 +493,7 @@ class QualityApi {
|
|
|
493
493
|
|
|
494
494
|
/**
|
|
495
495
|
* Queries Evaluations and returns a paged list
|
|
496
|
-
* Query params must include one of conversationId, evaluatorUserId, agentUserId or assigneeUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to Never Release are omitted in this case. When querying by evaluatorUserId or conversationId (including when combined with agentUserId), the results are sorted by assigned date. NOTE: The count for total and pageCount might not be accurate when querying for a large number of evaluations. nextUri, if present, will indicate that there are more evaluations to fetch.
|
|
496
|
+
* Query params must include one of conversationId, evaluatorUserId, agentUserId or assigneeUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to Never Release are omitted in this case. When querying by evaluatorUserId or conversationId (including when combined with agentUserId), the results are sorted by assigned date. NOTE: The count for total and pageCount might not be accurate when querying for a large number of evaluations. nextUri, if present, will indicate that there are more evaluations to fetch. The evaluation entities contained in the response might only contain a subset of all the properties listed below. It is often because a given propertys value has not yet been populated or is not applicable in the current state of the evaluation. It might also be because the missing property in the response was not requested by the user.
|
|
497
497
|
* @param {Object} opts Optional parameters
|
|
498
498
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
499
499
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -513,7 +513,7 @@ class QualityApi {
|
|
|
513
513
|
* @param {Array.<String>} opts.evaluationState
|
|
514
514
|
* @param {Boolean} opts.isReleased the evaluation has been released
|
|
515
515
|
* @param {Boolean} opts.agentHasRead agent has the evaluation
|
|
516
|
-
* @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations
|
|
516
|
+
* @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations. NOTE: The answers will only be populated if this parameter is set to true in the request.
|
|
517
517
|
* @param {Number} opts.maximum the maximum number of results to return
|
|
518
518
|
* @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
|
|
519
519
|
*/
|
|
@@ -5,7 +5,7 @@ class RoutingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Routing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 194.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2902,7 +2902,6 @@ class RoutingApi {
|
|
|
2902
2902
|
* @param {Object} opts Optional parameters
|
|
2903
2903
|
* @param {Number} opts.pageSize The desired page size
|
|
2904
2904
|
* @param {Number} opts.pageNumber The desired page number
|
|
2905
|
-
* postAnalyticsRoutingActivityQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2906
2905
|
*/
|
|
2907
2906
|
postAnalyticsRoutingActivityQuery(body, opts) {
|
|
2908
2907
|
opts = opts || {};
|