purecloud-platform-client-v2 193.0.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 +235 -366
- package/dist/web-amd/purecloud-platform-client-v2.js +235 -366
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +124 -160
- package/dist/web-cjs/purecloud-platform-client-v2.js +124 -160
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +136 -154
- 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 +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 +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 +1 -285
- 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 -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 -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 +1 -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 +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/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 -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
|
@@ -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.
|