purecloud-platform-client-v2 212.1.0 → 213.1.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 +150 -103
- package/dist/web-amd/purecloud-platform-client-v2.js +150 -103
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +130 -103
- package/dist/web-cjs/purecloud-platform-client-v2.js +168 -110
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +281 -229
- 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 +3 -2
- 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 -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 +35 -18
- 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 +2 -2
- 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 +7 -3
- 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 +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 +26 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -4232,7 +4232,8 @@ var defaults = {
|
|
|
4232
4232
|
parseArrays: true,
|
|
4233
4233
|
plainObjects: false,
|
|
4234
4234
|
strictDepth: false,
|
|
4235
|
-
strictNullHandling: false
|
|
4235
|
+
strictNullHandling: false,
|
|
4236
|
+
throwOnLimitExceeded: false
|
|
4236
4237
|
};
|
|
4237
4238
|
|
|
4238
4239
|
var interpretNumericEntities = function (str) {
|
|
@@ -4241,11 +4242,15 @@ var interpretNumericEntities = function (str) {
|
|
|
4241
4242
|
});
|
|
4242
4243
|
};
|
|
4243
4244
|
|
|
4244
|
-
var parseArrayValue = function (val, options) {
|
|
4245
|
+
var parseArrayValue = function (val, options, currentArrayLength) {
|
|
4245
4246
|
if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
|
|
4246
4247
|
return val.split(',');
|
|
4247
4248
|
}
|
|
4248
4249
|
|
|
4250
|
+
if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) {
|
|
4251
|
+
throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.');
|
|
4252
|
+
}
|
|
4253
|
+
|
|
4249
4254
|
return val;
|
|
4250
4255
|
};
|
|
4251
4256
|
|
|
@@ -4264,8 +4269,17 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
4264
4269
|
|
|
4265
4270
|
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
|
|
4266
4271
|
cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');
|
|
4272
|
+
|
|
4267
4273
|
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
|
|
4268
|
-
var parts = cleanStr.split(
|
|
4274
|
+
var parts = cleanStr.split(
|
|
4275
|
+
options.delimiter,
|
|
4276
|
+
options.throwOnLimitExceeded ? limit + 1 : limit
|
|
4277
|
+
);
|
|
4278
|
+
|
|
4279
|
+
if (options.throwOnLimitExceeded && parts.length > limit) {
|
|
4280
|
+
throw new RangeError('Parameter limit exceeded. Only ' + limit + ' parameter' + (limit === 1 ? '' : 's') + ' allowed.');
|
|
4281
|
+
}
|
|
4282
|
+
|
|
4269
4283
|
var skipIndex = -1; // Keep track of where the utf8 sentinel was found
|
|
4270
4284
|
var i;
|
|
4271
4285
|
|
|
@@ -4300,8 +4314,13 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
4300
4314
|
val = options.strictNullHandling ? null : '';
|
|
4301
4315
|
} else {
|
|
4302
4316
|
key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
|
|
4317
|
+
|
|
4303
4318
|
val = utils.maybeMap(
|
|
4304
|
-
parseArrayValue(
|
|
4319
|
+
parseArrayValue(
|
|
4320
|
+
part.slice(pos + 1),
|
|
4321
|
+
options,
|
|
4322
|
+
isArray(obj[key]) ? obj[key].length : 0
|
|
4323
|
+
),
|
|
4305
4324
|
function (encodedVal) {
|
|
4306
4325
|
return options.decoder(encodedVal, defaults.decoder, charset, 'value');
|
|
4307
4326
|
}
|
|
@@ -4328,7 +4347,13 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
4328
4347
|
};
|
|
4329
4348
|
|
|
4330
4349
|
var parseObject = function (chain, val, options, valuesParsed) {
|
|
4331
|
-
var
|
|
4350
|
+
var currentArrayLength = 0;
|
|
4351
|
+
if (chain.length > 0 && chain[chain.length - 1] === '[]') {
|
|
4352
|
+
var parentKey = chain.slice(0, -1).join('');
|
|
4353
|
+
currentArrayLength = Array.isArray(val) && val[parentKey] ? val[parentKey].length : 0;
|
|
4354
|
+
}
|
|
4355
|
+
|
|
4356
|
+
var leaf = valuesParsed ? val : parseArrayValue(val, options, currentArrayLength);
|
|
4332
4357
|
|
|
4333
4358
|
for (var i = chain.length - 1; i >= 0; --i) {
|
|
4334
4359
|
var obj;
|
|
@@ -4337,7 +4362,7 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
|
4337
4362
|
if (root === '[]' && options.parseArrays) {
|
|
4338
4363
|
obj = options.allowEmptyArrays && (leaf === '' || (options.strictNullHandling && leaf === null))
|
|
4339
4364
|
? []
|
|
4340
|
-
: []
|
|
4365
|
+
: utils.combine([], leaf);
|
|
4341
4366
|
} else {
|
|
4342
4367
|
obj = options.plainObjects ? { __proto__: null } : {};
|
|
4343
4368
|
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
|
@@ -4442,6 +4467,11 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
4442
4467
|
if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
|
|
4443
4468
|
throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
|
|
4444
4469
|
}
|
|
4470
|
+
|
|
4471
|
+
if (typeof opts.throwOnLimitExceeded !== 'undefined' && typeof opts.throwOnLimitExceeded !== 'boolean') {
|
|
4472
|
+
throw new TypeError('`throwOnLimitExceeded` option must be a boolean');
|
|
4473
|
+
}
|
|
4474
|
+
|
|
4445
4475
|
var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
|
|
4446
4476
|
|
|
4447
4477
|
var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;
|
|
@@ -4473,7 +4503,8 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
4473
4503
|
parseArrays: opts.parseArrays !== false,
|
|
4474
4504
|
plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
|
|
4475
4505
|
strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,
|
|
4476
|
-
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
|
|
4506
|
+
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling,
|
|
4507
|
+
throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === 'boolean' ? opts.throwOnLimitExceeded : false
|
|
4477
4508
|
};
|
|
4478
4509
|
};
|
|
4479
4510
|
|
|
@@ -6412,7 +6443,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6412
6443
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6413
6444
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
|
|
6414
6445
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6415
|
-
* @version
|
|
6446
|
+
* @version 213.1.0
|
|
6416
6447
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6417
6448
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6418
6449
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6749,7 +6780,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6749
6780
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
6750
6781
|
* AgentAssistants service.
|
|
6751
6782
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
6752
|
-
* @version
|
|
6783
|
+
* @version 213.1.0
|
|
6753
6784
|
*//**
|
|
6754
6785
|
* Constructs a new AgentAssistantsApi.
|
|
6755
6786
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -6850,7 +6881,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
6850
6881
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
6851
6882
|
* AgentCopilot service.
|
|
6852
6883
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
6853
|
-
* @version
|
|
6884
|
+
* @version 213.1.0
|
|
6854
6885
|
*//**
|
|
6855
6886
|
* Constructs a new AgentCopilotApi.
|
|
6856
6887
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -6872,7 +6903,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
6872
6903
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
6873
6904
|
* AgentUI service.
|
|
6874
6905
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6875
|
-
* @version
|
|
6906
|
+
* @version 213.1.0
|
|
6876
6907
|
*//**
|
|
6877
6908
|
* Constructs a new AgentUIApi.
|
|
6878
6909
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -6906,7 +6937,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
6906
6937
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
6907
6938
|
* Alerting service.
|
|
6908
6939
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6909
|
-
* @version
|
|
6940
|
+
* @version 213.1.0
|
|
6910
6941
|
*//**
|
|
6911
6942
|
* Constructs a new AlertingApi.
|
|
6912
6943
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -7063,7 +7094,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
7063
7094
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
7064
7095
|
* Analytics service.
|
|
7065
7096
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7066
|
-
* @version
|
|
7097
|
+
* @version 213.1.0
|
|
7067
7098
|
*//**
|
|
7068
7099
|
* Constructs a new AnalyticsApi.
|
|
7069
7100
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7313,12 +7344,13 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
7313
7344
|
* @param {Object} dashboardAccessFilter Filter dashboard based on the owner of dashboard
|
|
7314
7345
|
* @param {Object} opts Optional parameters
|
|
7315
7346
|
* @param {String} opts.name name of the dashboard
|
|
7347
|
+
* @param {Object} opts.dashboardState List dashboard of given state (default to Active)
|
|
7316
7348
|
* @param {String} opts.sortBy (default to desc)
|
|
7317
7349
|
* @param {Number} opts.pageNumber (default to 1)
|
|
7318
7350
|
* @param {Number} opts.pageSize (default to 9)
|
|
7319
7351
|
*/},{key:"getAnalyticsReportingSettingsDashboardsQuery",value:function getAnalyticsReportingSettingsDashboardsQuery(dashboardType,dashboardAccessFilter,opts){opts=opts||{};// verify the required parameter 'dashboardType' is set
|
|
7320
7352
|
if(dashboardType===undefined||dashboardType===null){throw'Missing the required parameter "dashboardType" when calling getAnalyticsReportingSettingsDashboardsQuery';}// verify the required parameter 'dashboardAccessFilter' is set
|
|
7321
|
-
if(dashboardAccessFilter===undefined||dashboardAccessFilter===null){throw'Missing the required parameter "dashboardAccessFilter" when calling getAnalyticsReportingSettingsDashboardsQuery';}return this.apiClient.callApi('/api/v2/analytics/reporting/settings/dashboards/query','GET',{},{'name':opts['name'],'dashboardType':dashboardType,'dashboardAccessFilter':dashboardAccessFilter,'sortBy':opts['sortBy'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7353
|
+
if(dashboardAccessFilter===undefined||dashboardAccessFilter===null){throw'Missing the required parameter "dashboardAccessFilter" when calling getAnalyticsReportingSettingsDashboardsQuery';}return this.apiClient.callApi('/api/v2/analytics/reporting/settings/dashboards/query','GET',{},{'name':opts['name'],'dashboardType':dashboardType,'dashboardState':opts['dashboardState'],'dashboardAccessFilter':dashboardAccessFilter,'sortBy':opts['sortBy'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7322
7354
|
* Get list of dashboards for an user
|
|
7323
7355
|
*
|
|
7324
7356
|
* @param {String} userId User ID
|
|
@@ -7734,7 +7766,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7734
7766
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
7735
7767
|
* Architect service.
|
|
7736
7768
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7737
|
-
* @version
|
|
7769
|
+
* @version 213.1.0
|
|
7738
7770
|
*//**
|
|
7739
7771
|
* Constructs a new ArchitectApi.
|
|
7740
7772
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8826,7 +8858,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8826
8858
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8827
8859
|
* Audit service.
|
|
8828
8860
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8829
|
-
* @version
|
|
8861
|
+
* @version 213.1.0
|
|
8830
8862
|
*//**
|
|
8831
8863
|
* Constructs a new AuditApi.
|
|
8832
8864
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8876,7 +8908,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8876
8908
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
8877
8909
|
* Authorization service.
|
|
8878
8910
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8879
|
-
* @version
|
|
8911
|
+
* @version 213.1.0
|
|
8880
8912
|
*//**
|
|
8881
8913
|
* Constructs a new AuthorizationApi.
|
|
8882
8914
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -9199,7 +9231,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
9199
9231
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
9200
9232
|
* Billing service.
|
|
9201
9233
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9202
|
-
* @version
|
|
9234
|
+
* @version 213.1.0
|
|
9203
9235
|
*//**
|
|
9204
9236
|
* Constructs a new BillingApi.
|
|
9205
9237
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -9223,7 +9255,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
9223
9255
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
9224
9256
|
* CarrierServices service.
|
|
9225
9257
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
9226
|
-
* @version
|
|
9258
|
+
* @version 213.1.0
|
|
9227
9259
|
*//**
|
|
9228
9260
|
* Constructs a new CarrierServicesApi.
|
|
9229
9261
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -9243,7 +9275,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
9243
9275
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
9244
9276
|
* Chat service.
|
|
9245
9277
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9246
|
-
* @version
|
|
9278
|
+
* @version 213.1.0
|
|
9247
9279
|
*//**
|
|
9248
9280
|
* Constructs a new ChatApi.
|
|
9249
9281
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -9468,7 +9500,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9468
9500
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
9469
9501
|
* Coaching service.
|
|
9470
9502
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9471
|
-
* @version
|
|
9503
|
+
* @version 213.1.0
|
|
9472
9504
|
*//**
|
|
9473
9505
|
* Constructs a new CoachingApi.
|
|
9474
9506
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9621,7 +9653,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9621
9653
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
9622
9654
|
* ContentManagement service.
|
|
9623
9655
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9624
|
-
* @version
|
|
9656
|
+
* @version 213.1.0
|
|
9625
9657
|
*//**
|
|
9626
9658
|
* Constructs a new ContentManagementApi.
|
|
9627
9659
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9903,7 +9935,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9903
9935
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
9904
9936
|
* Conversations service.
|
|
9905
9937
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9906
|
-
* @version
|
|
9938
|
+
* @version 213.1.0
|
|
9907
9939
|
*//**
|
|
9908
9940
|
* Constructs a new ConversationsApi.
|
|
9909
9941
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10176,56 +10208,63 @@ if(participantId===undefined||participantId===null){throw'Missing the required p
|
|
|
10176
10208
|
*
|
|
10177
10209
|
*/},{key:"getConversationsCallsMaximumconferenceparties",value:function getConversationsCallsMaximumconferenceparties(){return this.apiClient.callApi('/api/v2/conversations/calls/maximumconferenceparties','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10178
10210
|
* Get chat conversation
|
|
10179
|
-
*
|
|
10211
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
10180
10212
|
* @param {String} conversationId conversationId
|
|
10213
|
+
* @deprecated
|
|
10181
10214
|
*/},{key:"getConversationsChat",value:function getConversationsChat(conversationId){// verify the required parameter 'conversationId' is set
|
|
10182
10215
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationsChat';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10183
10216
|
* Get a web chat conversation message
|
|
10184
|
-
* The current user must be involved with the conversation to get its messages.
|
|
10217
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/. The current user must be involved with the conversation to get its messages.
|
|
10185
10218
|
* @param {String} conversationId conversationId
|
|
10186
10219
|
* @param {String} messageId messageId
|
|
10220
|
+
* @deprecated
|
|
10187
10221
|
*/},{key:"getConversationsChatMessage",value:function getConversationsChatMessage(conversationId,messageId){// verify the required parameter 'conversationId' is set
|
|
10188
10222
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationsChatMessage';}// verify the required parameter 'messageId' is set
|
|
10189
10223
|
if(messageId===undefined||messageId===null){throw'Missing the required parameter "messageId" when calling getConversationsChatMessage';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/messages/{messageId}','GET',{'conversationId':conversationId,'messageId':messageId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10190
10224
|
* Get the messages of a chat conversation.
|
|
10191
|
-
* The current user must be involved with the conversation to get its messages.
|
|
10225
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/. The current user must be involved with the conversation to get its messages.
|
|
10192
10226
|
* @param {String} conversationId conversationId
|
|
10193
10227
|
* @param {Object} opts Optional parameters
|
|
10194
10228
|
* @param {String} opts.after If specified, get the messages chronologically after the id of this message
|
|
10195
10229
|
* @param {String} opts.before If specified, get the messages chronologically before the id of this message
|
|
10196
10230
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
10197
10231
|
* @param {Number} opts.maxResults Limit the returned number of messages, up to a maximum of 100 (default to 100)
|
|
10232
|
+
* @deprecated
|
|
10198
10233
|
*/},{key:"getConversationsChatMessages",value:function getConversationsChatMessages(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
10199
10234
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationsChatMessages';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/messages','GET',{'conversationId':conversationId},{'after':opts['after'],'before':opts['before'],'sortOrder':opts['sortOrder'],'maxResults':opts['maxResults']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10200
10235
|
* Get the wrap-up for this conversation communication.
|
|
10201
|
-
*
|
|
10236
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
10202
10237
|
* @param {String} conversationId conversationId
|
|
10203
10238
|
* @param {String} participantId participantId
|
|
10204
10239
|
* @param {String} communicationId communicationId
|
|
10205
10240
|
* @param {Object} opts Optional parameters
|
|
10206
10241
|
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
10242
|
+
* @deprecated
|
|
10207
10243
|
*/},{key:"getConversationsChatParticipantCommunicationWrapup",value:function getConversationsChatParticipantCommunicationWrapup(conversationId,participantId,communicationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
10208
10244
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationsChatParticipantCommunicationWrapup';}// verify the required parameter 'participantId' is set
|
|
10209
10245
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling getConversationsChatParticipantCommunicationWrapup';}// verify the required parameter 'communicationId' is set
|
|
10210
10246
|
if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling getConversationsChatParticipantCommunicationWrapup';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup','GET',{'conversationId':conversationId,'participantId':participantId,'communicationId':communicationId},{'provisional':opts['provisional']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10211
10247
|
* Get the wrap-up for this conversation participant.
|
|
10212
|
-
*
|
|
10248
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
10213
10249
|
* @param {String} conversationId conversationId
|
|
10214
10250
|
* @param {String} participantId participantId
|
|
10215
10251
|
* @param {Object} opts Optional parameters
|
|
10216
10252
|
* @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
10253
|
+
* @deprecated
|
|
10217
10254
|
*/},{key:"getConversationsChatParticipantWrapup",value:function getConversationsChatParticipantWrapup(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
10218
10255
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationsChatParticipantWrapup';}// verify the required parameter 'participantId' is set
|
|
10219
10256
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling getConversationsChatParticipantWrapup';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/participants/{participantId}/wrapup','GET',{'conversationId':conversationId,'participantId':participantId},{'provisional':opts['provisional']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10220
10257
|
* Get list of wrapup codes for this conversation participant
|
|
10221
|
-
*
|
|
10258
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
10222
10259
|
* @param {String} conversationId conversationId
|
|
10223
10260
|
* @param {String} participantId participantId
|
|
10261
|
+
* @deprecated
|
|
10224
10262
|
*/},{key:"getConversationsChatParticipantWrapupcodes",value:function getConversationsChatParticipantWrapupcodes(conversationId,participantId){// verify the required parameter 'conversationId' is set
|
|
10225
10263
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling getConversationsChatParticipantWrapupcodes';}// verify the required parameter 'participantId' is set
|
|
10226
10264
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling getConversationsChatParticipantWrapupcodes';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/participants/{participantId}/wrapupcodes','GET',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10227
10265
|
* Get active chat conversations for the logged in user
|
|
10228
|
-
*
|
|
10266
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
10267
|
+
* @deprecated
|
|
10229
10268
|
*/},{key:"getConversationsChats",value:function getConversationsChats(){return this.apiClient.callApi('/api/v2/conversations/chats','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10230
10269
|
* Get cobrowse conversation
|
|
10231
10270
|
*
|
|
@@ -10691,36 +10730,40 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10691
10730
|
*/},{key:"patchConversationsCallbacks",value:function patchConversationsCallbacks(body){// verify the required parameter 'body' is set
|
|
10692
10731
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsCallbacks';}return this.apiClient.callApi('/api/v2/conversations/callbacks','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10693
10732
|
* Update a conversation by disconnecting all of the participants
|
|
10694
|
-
*
|
|
10733
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
10695
10734
|
* @param {String} conversationId conversationId
|
|
10696
10735
|
* @param {Object} body Conversation
|
|
10736
|
+
* @deprecated
|
|
10697
10737
|
*/},{key:"patchConversationsChat",value:function patchConversationsChat(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
10698
10738
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationsChat';}// verify the required parameter 'body' is set
|
|
10699
10739
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsChat';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}','PATCH',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10700
10740
|
* Update conversation participant
|
|
10701
|
-
*
|
|
10741
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
10702
10742
|
* @param {String} conversationId conversationId
|
|
10703
10743
|
* @param {String} participantId participantId
|
|
10704
10744
|
* @param {Object} body Update request
|
|
10745
|
+
* @deprecated
|
|
10705
10746
|
*/},{key:"patchConversationsChatParticipant",value:function patchConversationsChatParticipant(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
10706
10747
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationsChatParticipant';}// verify the required parameter 'participantId' is set
|
|
10707
10748
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling patchConversationsChatParticipant';}// verify the required parameter 'body' is set
|
|
10708
10749
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsChatParticipant';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/participants/{participantId}','PATCH',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10709
10750
|
* Update the attributes on a conversation participant.
|
|
10710
|
-
*
|
|
10751
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
10711
10752
|
* @param {String} conversationId conversationId
|
|
10712
10753
|
* @param {String} participantId participantId
|
|
10713
10754
|
* @param {Object} body Participant attributes
|
|
10755
|
+
* @deprecated
|
|
10714
10756
|
*/},{key:"patchConversationsChatParticipantAttributes",value:function patchConversationsChatParticipantAttributes(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
10715
10757
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationsChatParticipantAttributes';}// verify the required parameter 'participantId' is set
|
|
10716
10758
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling patchConversationsChatParticipantAttributes';}// verify the required parameter 'body' is set
|
|
10717
10759
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsChatParticipantAttributes';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/participants/{participantId}/attributes','PATCH',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10718
10760
|
* Update conversation participant's communication by disconnecting it.
|
|
10719
|
-
*
|
|
10761
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
10720
10762
|
* @param {String} conversationId conversationId
|
|
10721
10763
|
* @param {String} participantId participantId
|
|
10722
10764
|
* @param {String} communicationId communicationId
|
|
10723
10765
|
* @param {Object} body Participant
|
|
10766
|
+
* @deprecated
|
|
10724
10767
|
*/},{key:"patchConversationsChatParticipantCommunication",value:function patchConversationsChatParticipantCommunication(conversationId,participantId,communicationId,body){// verify the required parameter 'conversationId' is set
|
|
10725
10768
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling patchConversationsChatParticipantCommunication';}// verify the required parameter 'participantId' is set
|
|
10726
10769
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling patchConversationsChatParticipantCommunication';}// verify the required parameter 'communicationId' is set
|
|
@@ -11189,44 +11232,49 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11189
11232
|
*/},{key:"postConversationsCalls",value:function postConversationsCalls(body){// verify the required parameter 'body' is set
|
|
11190
11233
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCalls';}return this.apiClient.callApi('/api/v2/conversations/calls','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11191
11234
|
* Send a message on behalf of a communication in a chat conversation.
|
|
11192
|
-
*
|
|
11235
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
11193
11236
|
* @param {String} conversationId conversationId
|
|
11194
11237
|
* @param {String} communicationId communicationId
|
|
11195
11238
|
* @param {Object} body Message
|
|
11239
|
+
* @deprecated
|
|
11196
11240
|
*/},{key:"postConversationsChatCommunicationMessages",value:function postConversationsChatCommunicationMessages(conversationId,communicationId,body){// verify the required parameter 'conversationId' is set
|
|
11197
11241
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsChatCommunicationMessages';}// verify the required parameter 'communicationId' is set
|
|
11198
11242
|
if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling postConversationsChatCommunicationMessages';}// verify the required parameter 'body' is set
|
|
11199
11243
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsChatCommunicationMessages';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/communications/{communicationId}/messages','POST',{'conversationId':conversationId,'communicationId':communicationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11200
11244
|
* Send a typing-indicator on behalf of a communication in a chat conversation.
|
|
11201
|
-
*
|
|
11245
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
11202
11246
|
* @param {String} conversationId conversationId
|
|
11203
11247
|
* @param {String} communicationId communicationId
|
|
11248
|
+
* @deprecated
|
|
11204
11249
|
*/},{key:"postConversationsChatCommunicationTyping",value:function postConversationsChatCommunicationTyping(conversationId,communicationId){// verify the required parameter 'conversationId' is set
|
|
11205
11250
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsChatCommunicationTyping';}// verify the required parameter 'communicationId' is set
|
|
11206
11251
|
if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling postConversationsChatCommunicationTyping';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/communications/{communicationId}/typing','POST',{'conversationId':conversationId,'communicationId':communicationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11207
11252
|
* Apply wrap-up for this conversation communication
|
|
11208
|
-
*
|
|
11253
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
11209
11254
|
* @param {String} conversationId conversationId
|
|
11210
11255
|
* @param {String} participantId participantId
|
|
11211
11256
|
* @param {String} communicationId communicationId
|
|
11212
11257
|
* @param {Object} opts Optional parameters
|
|
11213
11258
|
* @param {Object} opts.body Wrap-up
|
|
11259
|
+
* @deprecated
|
|
11214
11260
|
*/},{key:"postConversationsChatParticipantCommunicationWrapup",value:function postConversationsChatParticipantCommunicationWrapup(conversationId,participantId,communicationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
11215
11261
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsChatParticipantCommunicationWrapup';}// verify the required parameter 'participantId' is set
|
|
11216
11262
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsChatParticipantCommunicationWrapup';}// verify the required parameter 'communicationId' is set
|
|
11217
11263
|
if(communicationId===undefined||communicationId===null){throw'Missing the required parameter "communicationId" when calling postConversationsChatParticipantCommunicationWrapup';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}/wrapup','POST',{'conversationId':conversationId,'participantId':participantId,'communicationId':communicationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11218
11264
|
* Replace this participant with the specified user and/or address
|
|
11219
|
-
*
|
|
11265
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
11220
11266
|
* @param {String} conversationId conversationId
|
|
11221
11267
|
* @param {String} participantId participantId
|
|
11222
11268
|
* @param {Object} body Transfer request
|
|
11269
|
+
* @deprecated
|
|
11223
11270
|
*/},{key:"postConversationsChatParticipantReplace",value:function postConversationsChatParticipantReplace(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
11224
11271
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsChatParticipantReplace';}// verify the required parameter 'participantId' is set
|
|
11225
11272
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsChatParticipantReplace';}// verify the required parameter 'body' is set
|
|
11226
11273
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsChatParticipantReplace';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/participants/{participantId}/replace','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11227
11274
|
* Create a web chat conversation
|
|
11228
|
-
*
|
|
11275
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
11229
11276
|
* @param {Object} body Create web chat request
|
|
11277
|
+
* @deprecated
|
|
11230
11278
|
*/},{key:"postConversationsChats",value:function postConversationsChats(body){// verify the required parameter 'body' is set
|
|
11231
11279
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsChats';}return this.apiClient.callApi('/api/v2/conversations/chats','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11232
11280
|
* Apply wrap-up for this conversation communication
|
|
@@ -11553,9 +11601,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11553
11601
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsCallbackRecordingstate';}// verify the required parameter 'body' is set
|
|
11554
11602
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsCallbackRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/callbacks/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11555
11603
|
* Update a conversation by setting its recording state
|
|
11556
|
-
*
|
|
11604
|
+
* This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-removal-of-acd-web-chat-version-2/.
|
|
11557
11605
|
* @param {String} conversationId conversationId
|
|
11558
11606
|
* @param {Object} body SetRecordingState
|
|
11607
|
+
* @deprecated
|
|
11559
11608
|
*/},{key:"putConversationsChatRecordingstate",value:function putConversationsChatRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
11560
11609
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsChatRecordingstate';}// verify the required parameter 'body' is set
|
|
11561
11610
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsChatRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/chats/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -11633,7 +11682,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11633
11682
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
11634
11683
|
* DataExtensions service.
|
|
11635
11684
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11636
|
-
* @version
|
|
11685
|
+
* @version 213.1.0
|
|
11637
11686
|
*//**
|
|
11638
11687
|
* Constructs a new DataExtensionsApi.
|
|
11639
11688
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11654,7 +11703,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11654
11703
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
|
|
11655
11704
|
* DataPrivacy service.
|
|
11656
11705
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
11657
|
-
* @version
|
|
11706
|
+
* @version 213.1.0
|
|
11658
11707
|
*//**
|
|
11659
11708
|
* Constructs a new DataPrivacyApi.
|
|
11660
11709
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -11694,7 +11743,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11694
11743
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
11695
11744
|
* Downloads service.
|
|
11696
11745
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11697
|
-
* @version
|
|
11746
|
+
* @version 213.1.0
|
|
11698
11747
|
*//**
|
|
11699
11748
|
* Constructs a new DownloadsApi.
|
|
11700
11749
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11713,7 +11762,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11713
11762
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
11714
11763
|
* Emails service.
|
|
11715
11764
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11716
|
-
* @version
|
|
11765
|
+
* @version 213.1.0
|
|
11717
11766
|
*//**
|
|
11718
11767
|
* Constructs a new EmailsApi.
|
|
11719
11768
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11731,7 +11780,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11731
11780
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
11732
11781
|
* EmployeeEngagement service.
|
|
11733
11782
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11734
|
-
* @version
|
|
11783
|
+
* @version 213.1.0
|
|
11735
11784
|
*//**
|
|
11736
11785
|
* Constructs a new EmployeeEngagementApi.
|
|
11737
11786
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11769,7 +11818,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11769
11818
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
11770
11819
|
* Events service.
|
|
11771
11820
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11772
|
-
* @version
|
|
11821
|
+
* @version 213.1.0
|
|
11773
11822
|
*//**
|
|
11774
11823
|
* Constructs a new EventsApi.
|
|
11775
11824
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11794,7 +11843,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11794
11843
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
11795
11844
|
* ExternalContacts service.
|
|
11796
11845
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11797
|
-
* @version
|
|
11846
|
+
* @version 213.1.0
|
|
11798
11847
|
*//**
|
|
11799
11848
|
* Constructs a new ExternalContactsApi.
|
|
11800
11849
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -12386,7 +12435,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
12386
12435
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
12387
12436
|
* Fax service.
|
|
12388
12437
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
12389
|
-
* @version
|
|
12438
|
+
* @version 213.1.0
|
|
12390
12439
|
*//**
|
|
12391
12440
|
* Constructs a new FaxApi.
|
|
12392
12441
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -12435,7 +12484,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12435
12484
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
12436
12485
|
* Flows service.
|
|
12437
12486
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
12438
|
-
* @version
|
|
12487
|
+
* @version 213.1.0
|
|
12439
12488
|
*//**
|
|
12440
12489
|
* Constructs a new FlowsApi.
|
|
12441
12490
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -12483,7 +12532,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12483
12532
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
12484
12533
|
* Gamification service.
|
|
12485
12534
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
12486
|
-
* @version
|
|
12535
|
+
* @version 213.1.0
|
|
12487
12536
|
*//**
|
|
12488
12537
|
* Constructs a new GamificationApi.
|
|
12489
12538
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -13042,7 +13091,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13042
13091
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
13043
13092
|
* GeneralDataProtectionRegulation service.
|
|
13044
13093
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
13045
|
-
* @version
|
|
13094
|
+
* @version 213.1.0
|
|
13046
13095
|
*//**
|
|
13047
13096
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
13048
13097
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -13077,7 +13126,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
13077
13126
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
13078
13127
|
* Geolocation service.
|
|
13079
13128
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
13080
|
-
* @version
|
|
13129
|
+
* @version 213.1.0
|
|
13081
13130
|
*//**
|
|
13082
13131
|
* Constructs a new GeolocationApi.
|
|
13083
13132
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -13111,7 +13160,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
13111
13160
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
13112
13161
|
* Greetings service.
|
|
13113
13162
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
13114
|
-
* @version
|
|
13163
|
+
* @version 213.1.0
|
|
13115
13164
|
*//**
|
|
13116
13165
|
* Constructs a new GreetingsApi.
|
|
13117
13166
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -13218,7 +13267,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
13218
13267
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
13219
13268
|
* Groups service.
|
|
13220
13269
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
13221
|
-
* @version
|
|
13270
|
+
* @version 213.1.0
|
|
13222
13271
|
*//**
|
|
13223
13272
|
* Constructs a new GroupsApi.
|
|
13224
13273
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -13240,7 +13289,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
13240
13289
|
* Remove members
|
|
13241
13290
|
*
|
|
13242
13291
|
* @param {String} groupId Group ID
|
|
13243
|
-
* @param {String} ids Comma separated list of userIds to remove
|
|
13292
|
+
* @param {String} ids Comma separated list of userIds to remove. A maximum of 50 members are allowed per request.
|
|
13244
13293
|
*/},{key:"deleteGroupMembers",value:function deleteGroupMembers(groupId,ids){// verify the required parameter 'groupId' is set
|
|
13245
13294
|
if(groupId===undefined||groupId===null){throw'Missing the required parameter "groupId" when calling deleteGroupMembers';}// verify the required parameter 'ids' is set
|
|
13246
13295
|
if(ids===undefined||ids===null){throw'Missing the required parameter "ids" when calling deleteGroupMembers';}return this.apiClient.callApi('/api/v2/groups/{groupId}/members','DELETE',{'groupId':groupId},{'ids':ids},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -13351,7 +13400,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
13351
13400
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
13352
13401
|
* IdentityProvider service.
|
|
13353
13402
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
13354
|
-
* @version
|
|
13403
|
+
* @version 213.1.0
|
|
13355
13404
|
*//**
|
|
13356
13405
|
* Constructs a new IdentityProviderApi.
|
|
13357
13406
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -13507,7 +13556,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13507
13556
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
13508
13557
|
* InfrastructureAsCode service.
|
|
13509
13558
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
13510
|
-
* @version
|
|
13559
|
+
* @version 213.1.0
|
|
13511
13560
|
*//**
|
|
13512
13561
|
* Constructs a new InfrastructureAsCodeApi.
|
|
13513
13562
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -13561,7 +13610,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13561
13610
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
13562
13611
|
* Integrations service.
|
|
13563
13612
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
13564
|
-
* @version
|
|
13613
|
+
* @version 213.1.0
|
|
13565
13614
|
*//**
|
|
13566
13615
|
* Constructs a new IntegrationsApi.
|
|
13567
13616
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -14196,7 +14245,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
14196
14245
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
14197
14246
|
* Journey service.
|
|
14198
14247
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
14199
|
-
* @version
|
|
14248
|
+
* @version 213.1.0
|
|
14200
14249
|
*//**
|
|
14201
14250
|
* Constructs a new JourneyApi.
|
|
14202
14251
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -14673,7 +14722,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
14673
14722
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
14674
14723
|
* Knowledge service.
|
|
14675
14724
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14676
|
-
* @version
|
|
14725
|
+
* @version 213.1.0
|
|
14677
14726
|
*//**
|
|
14678
14727
|
* Constructs a new KnowledgeApi.
|
|
14679
14728
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -15743,7 +15792,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
15743
15792
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
15744
15793
|
* LanguageUnderstanding service.
|
|
15745
15794
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
15746
|
-
* @version
|
|
15795
|
+
* @version 213.1.0
|
|
15747
15796
|
*//**
|
|
15748
15797
|
* Constructs a new LanguageUnderstandingApi.
|
|
15749
15798
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -16002,7 +16051,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
16002
16051
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
16003
16052
|
* Languages service.
|
|
16004
16053
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
16005
|
-
* @version
|
|
16054
|
+
* @version 213.1.0
|
|
16006
16055
|
*//**
|
|
16007
16056
|
* Constructs a new LanguagesApi.
|
|
16008
16057
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -16057,7 +16106,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16057
16106
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
16058
16107
|
* Learning service.
|
|
16059
16108
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
16060
|
-
* @version
|
|
16109
|
+
* @version 213.1.0
|
|
16061
16110
|
*//**
|
|
16062
16111
|
* Constructs a new LearningApi.
|
|
16063
16112
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -16328,7 +16377,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
16328
16377
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
16329
16378
|
* License service.
|
|
16330
16379
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
16331
|
-
* @version
|
|
16380
|
+
* @version 213.1.0
|
|
16332
16381
|
*//**
|
|
16333
16382
|
* Constructs a new LicenseApi.
|
|
16334
16383
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -16382,7 +16431,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
16382
16431
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
16383
16432
|
* Locations service.
|
|
16384
16433
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
16385
|
-
* @version
|
|
16434
|
+
* @version 213.1.0
|
|
16386
16435
|
*//**
|
|
16387
16436
|
* Constructs a new LocationsApi.
|
|
16388
16437
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -16441,7 +16490,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16441
16490
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
16442
16491
|
* LogCapture service.
|
|
16443
16492
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
16444
|
-
* @version
|
|
16493
|
+
* @version 213.1.0
|
|
16445
16494
|
*//**
|
|
16446
16495
|
* Constructs a new LogCaptureApi.
|
|
16447
16496
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -16491,7 +16540,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16491
16540
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
16492
16541
|
* Messaging service.
|
|
16493
16542
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
16494
|
-
* @version
|
|
16543
|
+
* @version 213.1.0
|
|
16495
16544
|
*//**
|
|
16496
16545
|
* Constructs a new MessagingApi.
|
|
16497
16546
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -16581,7 +16630,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16581
16630
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
16582
16631
|
* MobileDevices service.
|
|
16583
16632
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
16584
|
-
* @version
|
|
16633
|
+
* @version 213.1.0
|
|
16585
16634
|
*//**
|
|
16586
16635
|
* Constructs a new MobileDevicesApi.
|
|
16587
16636
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -16620,7 +16669,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16620
16669
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
16621
16670
|
* Notifications service.
|
|
16622
16671
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
16623
|
-
* @version
|
|
16672
|
+
* @version 213.1.0
|
|
16624
16673
|
*//**
|
|
16625
16674
|
* Constructs a new NotificationsApi.
|
|
16626
16675
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -16677,7 +16726,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
16677
16726
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
16678
16727
|
* OAuth service.
|
|
16679
16728
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
16680
|
-
* @version
|
|
16729
|
+
* @version 213.1.0
|
|
16681
16730
|
*//**
|
|
16682
16731
|
* Constructs a new OAuthApi.
|
|
16683
16732
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -16762,7 +16811,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
16762
16811
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
16763
16812
|
* Objects service.
|
|
16764
16813
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
16765
|
-
* @version
|
|
16814
|
+
* @version 213.1.0
|
|
16766
16815
|
*//**
|
|
16767
16816
|
* Constructs a new ObjectsApi.
|
|
16768
16817
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -16833,7 +16882,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
16833
16882
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
16834
16883
|
* OperationalEvents service.
|
|
16835
16884
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
16836
|
-
* @version
|
|
16885
|
+
* @version 213.1.0
|
|
16837
16886
|
*//**
|
|
16838
16887
|
* Constructs a new OperationalEventsApi.
|
|
16839
16888
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -16864,7 +16913,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
16864
16913
|
*/},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
16865
16914
|
* Organization service.
|
|
16866
16915
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
16867
|
-
* @version
|
|
16916
|
+
* @version 213.1.0
|
|
16868
16917
|
*//**
|
|
16869
16918
|
* Constructs a new OrganizationApi.
|
|
16870
16919
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -16989,7 +17038,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16989
17038
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
16990
17039
|
* OrganizationAuthorization service.
|
|
16991
17040
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
16992
|
-
* @version
|
|
17041
|
+
* @version 213.1.0
|
|
16993
17042
|
*//**
|
|
16994
17043
|
* Constructs a new OrganizationAuthorizationApi.
|
|
16995
17044
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -17323,7 +17372,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
17323
17372
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
17324
17373
|
* Outbound service.
|
|
17325
17374
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
17326
|
-
* @version
|
|
17375
|
+
* @version 213.1.0
|
|
17327
17376
|
*//**
|
|
17328
17377
|
* Constructs a new OutboundApi.
|
|
17329
17378
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -17932,7 +17981,9 @@ if(messagingCampaignId===undefined||messagingCampaignId===null){throw'Missing th
|
|
|
17932
17981
|
* @param {Object} opts.type Campaign Type
|
|
17933
17982
|
* @param {String} opts.senderSmsPhoneNumber Sender SMS Phone Number
|
|
17934
17983
|
* @param {Array.<String>} opts.id A list of messaging campaign ids to bulk fetch
|
|
17935
|
-
|
|
17984
|
+
* @param {String} opts.contentTemplateId Content template ID
|
|
17985
|
+
* @param {Object} opts.campaignStatus Campaign Status
|
|
17986
|
+
*/},{key:"getOutboundMessagingcampaigns",value:function getOutboundMessagingcampaigns(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/messagingcampaigns','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'contactListId':opts['contactListId'],'divisionId':this.apiClient.buildCollectionParam(opts['divisionId'],'multi'),'type':opts['type'],'senderSmsPhoneNumber':opts['senderSmsPhoneNumber'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'contentTemplateId':opts['contentTemplateId'],'campaignStatus':opts['campaignStatus']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17936
17987
|
* Get a basic Messaging Campaign information object
|
|
17937
17988
|
* This returns a simplified version of a Messaging Campaign, consisting of id, name, and division.
|
|
17938
17989
|
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
@@ -17948,7 +17999,9 @@ if(messagingCampaignId===undefined||messagingCampaignId===null){throw'Missing th
|
|
|
17948
17999
|
* @param {Object} opts.type Campaign Type
|
|
17949
18000
|
* @param {Array.<String>} opts.id id
|
|
17950
18001
|
* @param {String} opts.senderSmsPhoneNumber Sender SMS Phone Number
|
|
17951
|
-
|
|
18002
|
+
* @param {String} opts.contentTemplateId Content template ID
|
|
18003
|
+
* @param {Object} opts.campaignStatus Campaign Status
|
|
18004
|
+
*/},{key:"getOutboundMessagingcampaignsDivisionviews",value:function getOutboundMessagingcampaignsDivisionviews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/messagingcampaigns/divisionviews','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder'],'name':opts['name'],'type':opts['type'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'senderSmsPhoneNumber':opts['senderSmsPhoneNumber'],'contentTemplateId':opts['contentTemplateId'],'campaignStatus':opts['campaignStatus']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17952
18005
|
* Get a Rule Set by ID.
|
|
17953
18006
|
*
|
|
17954
18007
|
* @param {String} ruleSetId Rule Set ID
|
|
@@ -18430,7 +18483,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18430
18483
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
18431
18484
|
* Presence service.
|
|
18432
18485
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
18433
|
-
* @version
|
|
18486
|
+
* @version 213.1.0
|
|
18434
18487
|
*//**
|
|
18435
18488
|
* Constructs a new PresenceApi.
|
|
18436
18489
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -18603,7 +18656,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18603
18656
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
18604
18657
|
* ProcessAutomation service.
|
|
18605
18658
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
18606
|
-
* @version
|
|
18659
|
+
* @version 213.1.0
|
|
18607
18660
|
*//**
|
|
18608
18661
|
* Constructs a new ProcessAutomationApi.
|
|
18609
18662
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -18666,7 +18719,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
18666
18719
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
18667
18720
|
* Quality service.
|
|
18668
18721
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
18669
|
-
* @version
|
|
18722
|
+
* @version 213.1.0
|
|
18670
18723
|
*//**
|
|
18671
18724
|
* Constructs a new QualityApi.
|
|
18672
18725
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -19145,7 +19198,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
19145
19198
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
19146
19199
|
* Recording service.
|
|
19147
19200
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
19148
|
-
* @version
|
|
19201
|
+
* @version 213.1.0
|
|
19149
19202
|
*//**
|
|
19150
19203
|
* Constructs a new RecordingApi.
|
|
19151
19204
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -19557,7 +19610,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19557
19610
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
19558
19611
|
* ResponseManagement service.
|
|
19559
19612
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
19560
|
-
* @version
|
|
19613
|
+
* @version 213.1.0
|
|
19561
19614
|
*//**
|
|
19562
19615
|
* Constructs a new ResponseManagementApi.
|
|
19563
19616
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -19678,7 +19731,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
19678
19731
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
19679
19732
|
* Routing service.
|
|
19680
19733
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
19681
|
-
* @version
|
|
19734
|
+
* @version 213.1.0
|
|
19682
19735
|
*//**
|
|
19683
19736
|
* Constructs a new RoutingApi.
|
|
19684
19737
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -20684,7 +20737,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20684
20737
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
20685
20738
|
* SCIM service.
|
|
20686
20739
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
20687
|
-
* @version
|
|
20740
|
+
* @version 213.1.0
|
|
20688
20741
|
*//**
|
|
20689
20742
|
* Constructs a new SCIMApi.
|
|
20690
20743
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -20909,7 +20962,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20909
20962
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
20910
20963
|
* ScreenRecording service.
|
|
20911
20964
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
20912
|
-
* @version
|
|
20965
|
+
* @version 213.1.0
|
|
20913
20966
|
*//**
|
|
20914
20967
|
* Constructs a new ScreenRecordingApi.
|
|
20915
20968
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -20924,7 +20977,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20924
20977
|
*/return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
20925
20978
|
* Scripts service.
|
|
20926
20979
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
20927
|
-
* @version
|
|
20980
|
+
* @version 213.1.0
|
|
20928
20981
|
*//**
|
|
20929
20982
|
* Constructs a new ScriptsApi.
|
|
20930
20983
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -21060,7 +21113,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
21060
21113
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
21061
21114
|
* Search service.
|
|
21062
21115
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
21063
|
-
* @version
|
|
21116
|
+
* @version 213.1.0
|
|
21064
21117
|
*//**
|
|
21065
21118
|
* Constructs a new SearchApi.
|
|
21066
21119
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -21232,7 +21285,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21232
21285
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
21233
21286
|
* Settings service.
|
|
21234
21287
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
21235
|
-
* @version
|
|
21288
|
+
* @version 213.1.0
|
|
21236
21289
|
*//**
|
|
21237
21290
|
* Constructs a new SettingsApi.
|
|
21238
21291
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -21282,7 +21335,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
21282
21335
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
|
|
21283
21336
|
* SocialMedia service.
|
|
21284
21337
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
21285
|
-
* @version
|
|
21338
|
+
* @version 213.1.0
|
|
21286
21339
|
*//**
|
|
21287
21340
|
* Constructs a new SocialMediaApi.
|
|
21288
21341
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -21547,7 +21600,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
21547
21600
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
21548
21601
|
* SpeechTextAnalytics service.
|
|
21549
21602
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
21550
|
-
* @version
|
|
21603
|
+
* @version 213.1.0
|
|
21551
21604
|
*//**
|
|
21552
21605
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
21553
21606
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -21846,7 +21899,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
21846
21899
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
21847
21900
|
* Stations service.
|
|
21848
21901
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
21849
|
-
* @version
|
|
21902
|
+
* @version 213.1.0
|
|
21850
21903
|
*//**
|
|
21851
21904
|
* Constructs a new StationsApi.
|
|
21852
21905
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -21878,7 +21931,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
21878
21931
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
21879
21932
|
* Suggest service.
|
|
21880
21933
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
21881
|
-
* @version
|
|
21934
|
+
* @version 213.1.0
|
|
21882
21935
|
*//**
|
|
21883
21936
|
* Constructs a new SuggestApi.
|
|
21884
21937
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -21918,7 +21971,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21918
21971
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
21919
21972
|
* TaskManagement service.
|
|
21920
21973
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
21921
|
-
* @version
|
|
21974
|
+
* @version 213.1.0
|
|
21922
21975
|
*//**
|
|
21923
21976
|
* Constructs a new TaskManagementApi.
|
|
21924
21977
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -22424,7 +22477,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
22424
22477
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
22425
22478
|
* Teams service.
|
|
22426
22479
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
22427
|
-
* @version
|
|
22480
|
+
* @version 213.1.0
|
|
22428
22481
|
*//**
|
|
22429
22482
|
* Constructs a new TeamsApi.
|
|
22430
22483
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -22504,7 +22557,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22504
22557
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
22505
22558
|
* Telephony service.
|
|
22506
22559
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
22507
|
-
* @version
|
|
22560
|
+
* @version 213.1.0
|
|
22508
22561
|
*//**
|
|
22509
22562
|
* Constructs a new TelephonyApi.
|
|
22510
22563
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -22551,7 +22604,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
22551
22604
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
22552
22605
|
* TelephonyProvidersEdge service.
|
|
22553
22606
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
22554
|
-
* @version
|
|
22607
|
+
* @version 213.1.0
|
|
22555
22608
|
*//**
|
|
22556
22609
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
22557
22610
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -23386,7 +23439,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
23386
23439
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
23387
23440
|
* Textbots service.
|
|
23388
23441
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
23389
|
-
* @version
|
|
23442
|
+
* @version 213.1.0
|
|
23390
23443
|
*//**
|
|
23391
23444
|
* Constructs a new TextbotsApi.
|
|
23392
23445
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -23421,7 +23474,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
23421
23474
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
23422
23475
|
* Tokens service.
|
|
23423
23476
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
23424
|
-
* @version
|
|
23477
|
+
* @version 213.1.0
|
|
23425
23478
|
*//**
|
|
23426
23479
|
* Constructs a new TokensApi.
|
|
23427
23480
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -23455,7 +23508,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23455
23508
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
23456
23509
|
* Uploads service.
|
|
23457
23510
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
23458
|
-
* @version
|
|
23511
|
+
* @version 213.1.0
|
|
23459
23512
|
*//**
|
|
23460
23513
|
* Constructs a new UploadsApi.
|
|
23461
23514
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -23521,7 +23574,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23521
23574
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
23522
23575
|
* Usage service.
|
|
23523
23576
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
23524
|
-
* @version
|
|
23577
|
+
* @version 213.1.0
|
|
23525
23578
|
*//**
|
|
23526
23579
|
* Constructs a new UsageApi.
|
|
23527
23580
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -23575,7 +23628,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23575
23628
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
23576
23629
|
* UserRecordings service.
|
|
23577
23630
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
23578
|
-
* @version
|
|
23631
|
+
* @version 213.1.0
|
|
23579
23632
|
*//**
|
|
23580
23633
|
* Constructs a new UserRecordingsApi.
|
|
23581
23634
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -23632,7 +23685,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
23632
23685
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
23633
23686
|
* Users service.
|
|
23634
23687
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
23635
|
-
* @version
|
|
23688
|
+
* @version 213.1.0
|
|
23636
23689
|
*//**
|
|
23637
23690
|
* Constructs a new UsersApi.
|
|
23638
23691
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -24329,7 +24382,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
24329
24382
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
24330
24383
|
* Utilities service.
|
|
24331
24384
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
24332
|
-
* @version
|
|
24385
|
+
* @version 213.1.0
|
|
24333
24386
|
*//**
|
|
24334
24387
|
* Constructs a new UtilitiesApi.
|
|
24335
24388
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -24356,7 +24409,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24356
24409
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
24357
24410
|
* Voicemail service.
|
|
24358
24411
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
24359
|
-
* @version
|
|
24412
|
+
* @version 213.1.0
|
|
24360
24413
|
*//**
|
|
24361
24414
|
* Constructs a new VoicemailApi.
|
|
24362
24415
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -24518,7 +24571,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
24518
24571
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
24519
24572
|
* WebChat service.
|
|
24520
24573
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
24521
|
-
* @version
|
|
24574
|
+
* @version 213.1.0
|
|
24522
24575
|
*//**
|
|
24523
24576
|
* Constructs a new WebChatApi.
|
|
24524
24577
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -24653,7 +24706,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24653
24706
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
24654
24707
|
* WebDeployments service.
|
|
24655
24708
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
24656
|
-
* @version
|
|
24709
|
+
* @version 213.1.0
|
|
24657
24710
|
*//**
|
|
24658
24711
|
* Constructs a new WebDeploymentsApi.
|
|
24659
24712
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -24774,7 +24827,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
24774
24827
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
24775
24828
|
* WebMessaging service.
|
|
24776
24829
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
24777
|
-
* @version
|
|
24830
|
+
* @version 213.1.0
|
|
24778
24831
|
*//**
|
|
24779
24832
|
* Constructs a new WebMessagingApi.
|
|
24780
24833
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -24790,7 +24843,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
24790
24843
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
24791
24844
|
* Widgets service.
|
|
24792
24845
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
24793
|
-
* @version
|
|
24846
|
+
* @version 213.1.0
|
|
24794
24847
|
*//**
|
|
24795
24848
|
* Constructs a new WidgetsApi.
|
|
24796
24849
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -24825,7 +24878,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
24825
24878
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
24826
24879
|
* WorkforceManagement service.
|
|
24827
24880
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
24828
|
-
* @version
|
|
24881
|
+
* @version 213.1.0
|
|
24829
24882
|
*//**
|
|
24830
24883
|
* Constructs a new WorkforceManagementApi.
|
|
24831
24884
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -25435,6 +25488,11 @@ if(calendarId===undefined||calendarId===null){throw'Missing the required paramet
|
|
|
25435
25488
|
* Retrieves status of the historical data imports of the organization
|
|
25436
25489
|
*
|
|
25437
25490
|
*/},{key:"getWorkforcemanagementHistoricaldataImportstatus",value:function getWorkforcemanagementHistoricaldataImportstatus(){return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/importstatus','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25491
|
+
* Retrieves status of the historical data imports associated with job id
|
|
25492
|
+
*
|
|
25493
|
+
* @param {String} jobId The job Id of the historical data import request
|
|
25494
|
+
*/},{key:"getWorkforcemanagementHistoricaldataImportstatusJobId",value:function getWorkforcemanagementHistoricaldataImportstatusJobId(jobId){// verify the required parameter 'jobId' is set
|
|
25495
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementHistoricaldataImportstatusJobId';}return this.apiClient.callApi('/api/v2/workforcemanagement/historicaldata/importstatus/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25438
25496
|
* Get integrations
|
|
25439
25497
|
*
|
|
25440
25498
|
*/},{key:"getWorkforcemanagementIntegrationsHris",value:function getWorkforcemanagementIntegrationsHris(){return this.apiClient.callApi('/api/v2/workforcemanagement/integrations/hris','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -26626,7 +26684,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
26626
26684
|
* </pre>
|
|
26627
26685
|
* </p>
|
|
26628
26686
|
* @module purecloud-platform-client-v2/index
|
|
26629
|
-
* @version
|
|
26687
|
+
* @version 213.1.0
|
|
26630
26688
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
26631
26689
|
* The ApiClient constructor.
|
|
26632
26690
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|