purecloud-platform-client-v2 245.0.0 → 246.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +1071 -103
- package/dist/web-amd/purecloud-platform-client-v2.js +1071 -103
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +334 -104
- package/dist/web-cjs/purecloud-platform-client-v2.js +388 -123
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +623 -263
- package/package.json +2 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +6 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.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/BackgroundAssistantApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.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 +661 -3
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntentsApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +31 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +248 -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/UsersRulesApi.js +1 -10
- 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 +18 -6
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -4237,6 +4237,7 @@ var defaults = {
|
|
|
4237
4237
|
parseArrays: true,
|
|
4238
4238
|
plainObjects: false,
|
|
4239
4239
|
strictDepth: false,
|
|
4240
|
+
strictMerge: true,
|
|
4240
4241
|
strictNullHandling: false,
|
|
4241
4242
|
throwOnLimitExceeded: false
|
|
4242
4243
|
};
|
|
@@ -4275,7 +4276,7 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
4275
4276
|
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
|
|
4276
4277
|
cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');
|
|
4277
4278
|
|
|
4278
|
-
var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
|
|
4279
|
+
var limit = options.parameterLimit === Infinity ? void undefined : options.parameterLimit;
|
|
4279
4280
|
var parts = cleanStr.split(
|
|
4280
4281
|
options.delimiter,
|
|
4281
4282
|
options.throwOnLimitExceeded ? limit + 1 : limit
|
|
@@ -4342,9 +4343,16 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
4342
4343
|
val = isArray(val) ? [val] : val;
|
|
4343
4344
|
}
|
|
4344
4345
|
|
|
4346
|
+
if (options.comma && isArray(val) && val.length > options.arrayLimit) {
|
|
4347
|
+
if (options.throwOnLimitExceeded) {
|
|
4348
|
+
throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.');
|
|
4349
|
+
}
|
|
4350
|
+
val = utils.combine([], val, options.arrayLimit, options.plainObjects);
|
|
4351
|
+
}
|
|
4352
|
+
|
|
4345
4353
|
if (key !== null) {
|
|
4346
4354
|
var existing = has.call(obj, key);
|
|
4347
|
-
if (existing && options.duplicates === 'combine') {
|
|
4355
|
+
if (existing && (options.duplicates === 'combine' || part.indexOf('[]=') > -1)) {
|
|
4348
4356
|
obj[key] = utils.combine(
|
|
4349
4357
|
obj[key],
|
|
4350
4358
|
val,
|
|
@@ -4392,17 +4400,21 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
|
4392
4400
|
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
|
4393
4401
|
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
|
|
4394
4402
|
var index = parseInt(decodedRoot, 10);
|
|
4395
|
-
|
|
4396
|
-
obj = { 0: leaf };
|
|
4397
|
-
} else if (
|
|
4398
|
-
!isNaN(index)
|
|
4403
|
+
var isValidArrayIndex = !isNaN(index)
|
|
4399
4404
|
&& root !== decodedRoot
|
|
4400
4405
|
&& String(index) === decodedRoot
|
|
4401
4406
|
&& index >= 0
|
|
4402
|
-
&&
|
|
4403
|
-
) {
|
|
4407
|
+
&& options.parseArrays;
|
|
4408
|
+
if (!options.parseArrays && decodedRoot === '') {
|
|
4409
|
+
obj = { 0: leaf };
|
|
4410
|
+
} else if (isValidArrayIndex && index < options.arrayLimit) {
|
|
4404
4411
|
obj = [];
|
|
4405
4412
|
obj[index] = leaf;
|
|
4413
|
+
} else if (isValidArrayIndex && options.throwOnLimitExceeded) {
|
|
4414
|
+
throw new RangeError('Array limit exceeded. Only ' + options.arrayLimit + ' element' + (options.arrayLimit === 1 ? '' : 's') + ' allowed in an array.');
|
|
4415
|
+
} else if (isValidArrayIndex) {
|
|
4416
|
+
obj[index] = leaf;
|
|
4417
|
+
utils.markOverflow(obj, index);
|
|
4406
4418
|
} else if (decodedRoot !== '__proto__') {
|
|
4407
4419
|
obj[decodedRoot] = leaf;
|
|
4408
4420
|
}
|
|
@@ -4442,7 +4454,7 @@ var splitKeyIntoSegments = function splitKeyIntoSegments(givenKey, options) {
|
|
|
4442
4454
|
}
|
|
4443
4455
|
}
|
|
4444
4456
|
|
|
4445
|
-
keys.
|
|
4457
|
+
keys[keys.length] = parent;
|
|
4446
4458
|
}
|
|
4447
4459
|
|
|
4448
4460
|
var i = 0;
|
|
@@ -4456,7 +4468,7 @@ var splitKeyIntoSegments = function splitKeyIntoSegments(givenKey, options) {
|
|
|
4456
4468
|
}
|
|
4457
4469
|
}
|
|
4458
4470
|
|
|
4459
|
-
keys.
|
|
4471
|
+
keys[keys.length] = segment[1];
|
|
4460
4472
|
}
|
|
4461
4473
|
|
|
4462
4474
|
if (segment) {
|
|
@@ -4464,7 +4476,7 @@ var splitKeyIntoSegments = function splitKeyIntoSegments(givenKey, options) {
|
|
|
4464
4476
|
throw new RangeError('Input depth exceeded depth option of ' + options.depth + ' and strictDepth is true');
|
|
4465
4477
|
}
|
|
4466
4478
|
|
|
4467
|
-
keys.
|
|
4479
|
+
keys[keys.length] = '[' + key.slice(segment.index) + ']';
|
|
4468
4480
|
}
|
|
4469
4481
|
|
|
4470
4482
|
return keys;
|
|
@@ -4540,6 +4552,7 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
4540
4552
|
parseArrays: opts.parseArrays !== false,
|
|
4541
4553
|
plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
|
|
4542
4554
|
strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,
|
|
4555
|
+
strictMerge: typeof opts.strictMerge === 'boolean' ? !!opts.strictMerge : defaults.strictMerge,
|
|
4543
4556
|
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling,
|
|
4544
4557
|
throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === 'boolean' ? opts.throwOnLimitExceeded : false
|
|
4545
4558
|
};
|
|
@@ -4962,7 +4975,7 @@ var setMaxIndex = function setMaxIndex(obj, maxIndex) {
|
|
|
4962
4975
|
var hexTable = (function () {
|
|
4963
4976
|
var array = [];
|
|
4964
4977
|
for (var i = 0; i < 256; ++i) {
|
|
4965
|
-
array.
|
|
4978
|
+
array[array.length] = '%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase();
|
|
4966
4979
|
}
|
|
4967
4980
|
|
|
4968
4981
|
return array;
|
|
@@ -4978,7 +4991,7 @@ var compactQueue = function compactQueue(queue) {
|
|
|
4978
4991
|
|
|
4979
4992
|
for (var j = 0; j < obj.length; ++j) {
|
|
4980
4993
|
if (typeof obj[j] !== 'undefined') {
|
|
4981
|
-
compacted.
|
|
4994
|
+
compacted[compacted.length] = obj[j];
|
|
4982
4995
|
}
|
|
4983
4996
|
}
|
|
4984
4997
|
|
|
@@ -5006,13 +5019,19 @@ var merge = function merge(target, source, options) {
|
|
|
5006
5019
|
|
|
5007
5020
|
if (typeof source !== 'object' && typeof source !== 'function') {
|
|
5008
5021
|
if (isArray(target)) {
|
|
5009
|
-
target.
|
|
5022
|
+
var nextIndex = target.length;
|
|
5023
|
+
if (options && typeof options.arrayLimit === 'number' && nextIndex > options.arrayLimit) {
|
|
5024
|
+
return markOverflow(arrayToObject(target.concat(source), options), nextIndex);
|
|
5025
|
+
}
|
|
5026
|
+
target[nextIndex] = source;
|
|
5010
5027
|
} else if (target && typeof target === 'object') {
|
|
5011
5028
|
if (isOverflow(target)) {
|
|
5012
5029
|
// Add at next numeric index for overflow objects
|
|
5013
5030
|
var newIndex = getMaxIndex(target) + 1;
|
|
5014
5031
|
target[newIndex] = source;
|
|
5015
5032
|
setMaxIndex(target, newIndex);
|
|
5033
|
+
} else if (options && options.strictMerge) {
|
|
5034
|
+
return [target, source];
|
|
5016
5035
|
} else if (
|
|
5017
5036
|
(options && (options.plainObjects || options.allowPrototypes))
|
|
5018
5037
|
|| !has.call(Object.prototype, source)
|
|
@@ -5039,7 +5058,11 @@ var merge = function merge(target, source, options) {
|
|
|
5039
5058
|
}
|
|
5040
5059
|
return markOverflow(result, getMaxIndex(source) + 1);
|
|
5041
5060
|
}
|
|
5042
|
-
|
|
5061
|
+
var combined = [target].concat(source);
|
|
5062
|
+
if (options && typeof options.arrayLimit === 'number' && combined.length > options.arrayLimit) {
|
|
5063
|
+
return markOverflow(arrayToObject(combined, options), combined.length - 1);
|
|
5064
|
+
}
|
|
5065
|
+
return combined;
|
|
5043
5066
|
}
|
|
5044
5067
|
|
|
5045
5068
|
var mergeTarget = target;
|
|
@@ -5054,7 +5077,7 @@ var merge = function merge(target, source, options) {
|
|
|
5054
5077
|
if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
|
|
5055
5078
|
target[i] = merge(targetItem, item, options);
|
|
5056
5079
|
} else {
|
|
5057
|
-
target.
|
|
5080
|
+
target[target.length] = item;
|
|
5058
5081
|
}
|
|
5059
5082
|
} else {
|
|
5060
5083
|
target[i] = item;
|
|
@@ -5071,6 +5094,17 @@ var merge = function merge(target, source, options) {
|
|
|
5071
5094
|
} else {
|
|
5072
5095
|
acc[key] = value;
|
|
5073
5096
|
}
|
|
5097
|
+
|
|
5098
|
+
if (isOverflow(source) && !isOverflow(acc)) {
|
|
5099
|
+
markOverflow(acc, getMaxIndex(source));
|
|
5100
|
+
}
|
|
5101
|
+
if (isOverflow(acc)) {
|
|
5102
|
+
var keyNum = parseInt(key, 10);
|
|
5103
|
+
if (String(keyNum) === key && keyNum >= 0 && keyNum > getMaxIndex(acc)) {
|
|
5104
|
+
setMaxIndex(acc, keyNum);
|
|
5105
|
+
}
|
|
5106
|
+
}
|
|
5107
|
+
|
|
5074
5108
|
return acc;
|
|
5075
5109
|
}, mergeTarget);
|
|
5076
5110
|
};
|
|
@@ -5187,8 +5221,8 @@ var compact = function compact(value) {
|
|
|
5187
5221
|
var key = keys[j];
|
|
5188
5222
|
var val = obj[key];
|
|
5189
5223
|
if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
|
|
5190
|
-
queue.
|
|
5191
|
-
refs.
|
|
5224
|
+
queue[queue.length] = { obj: obj, prop: key };
|
|
5225
|
+
refs[refs.length] = val;
|
|
5192
5226
|
}
|
|
5193
5227
|
}
|
|
5194
5228
|
}
|
|
@@ -5230,7 +5264,7 @@ var maybeMap = function maybeMap(val, fn) {
|
|
|
5230
5264
|
if (isArray(val)) {
|
|
5231
5265
|
var mapped = [];
|
|
5232
5266
|
for (var i = 0; i < val.length; i += 1) {
|
|
5233
|
-
mapped.
|
|
5267
|
+
mapped[mapped.length] = fn(val[i]);
|
|
5234
5268
|
}
|
|
5235
5269
|
return mapped;
|
|
5236
5270
|
}
|
|
@@ -5247,6 +5281,7 @@ module.exports = {
|
|
|
5247
5281
|
isBuffer: isBuffer,
|
|
5248
5282
|
isOverflow: isOverflow,
|
|
5249
5283
|
isRegExp: isRegExp,
|
|
5284
|
+
markOverflow: markOverflow,
|
|
5250
5285
|
maybeMap: maybeMap,
|
|
5251
5286
|
merge: merge
|
|
5252
5287
|
};
|
|
@@ -6602,7 +6637,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6602
6637
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6603
6638
|
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];}}}]);}();/**
|
|
6604
6639
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6605
|
-
* @version
|
|
6640
|
+
* @version 246.0.0
|
|
6606
6641
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6607
6642
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6608
6643
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6941,7 +6976,7 @@ return param.map(function(x){return _this15.paramToString(x);});default:throw ne
|
|
|
6941
6976
|
* Applies authentication headers to the request.
|
|
6942
6977
|
* @param {Object} request The axios request config object.
|
|
6943
6978
|
* @param {Array.<String>} authNames An array of authentication method names.
|
|
6944
|
-
*/},{key:"applyAuthToRequest",value:function applyAuthToRequest(request,authNames){var _this16=this;authNames.forEach(function(authName){var auth=_this16.authentications[authName];switch(auth.type){case'basic':if(auth.username||auth.password){request.auth={username:auth.username||'',password:auth.password||''};}break;case'apiKey':if(auth.apiKey){var data={};if(auth.apiKeyPrefix){data[auth.name]="".concat(auth.apiKeyPrefix," ").concat(auth.apiKey);}else{data[auth.name]=auth.apiKey;}if(auth['in']==='header'){request.headers=_this16.addHeaders(request.headers,data);}else{request.setParams(_this16.serialize(data));}}break;case'oauth2':if(auth.accessToken){request.headers=_this16.addHeaders(request.headers,{'Authorization':"Bearer ".concat(auth.accessToken)});}break;default:throw new Error("Unknown authentication type: ".concat(auth.type));}});}/**
|
|
6979
|
+
*/},{key:"applyAuthToRequest",value:function applyAuthToRequest(request,authNames){var _this16=this;authNames.forEach(function(authName){var auth=_this16.authentications[authName];switch(auth.type){case'basic':if(auth.username||auth.password){request.auth={username:auth.username||'',password:auth.password||''};}break;case'apiKey':if(auth.apiKey){var data={};if(auth.apiKeyPrefix){data[auth.name]="".concat(auth.apiKeyPrefix," ").concat(auth.apiKey);}else{data[auth.name]=auth.apiKey;}if(auth['in']==='header'){request.headers=_this16.addHeaders(request.headers,data);}else{request.setParams(_this16.serialize(data));request.headers=_this16.addHeaders(request.headers,{});}}else{request.headers=_this16.addHeaders(request.headers,{});}break;case'oauth2':if(auth.accessToken){request.headers=_this16.addHeaders(request.headers,{'Authorization':"Bearer ".concat(auth.accessToken)});}else{request.headers=_this16.addHeaders(request.headers,{});}break;default:throw new Error("Unknown authentication type: ".concat(auth.type));}});}/**
|
|
6945
6980
|
* @description Sets the proxy agent axios will use for requests
|
|
6946
6981
|
* @param {any} agent - The proxy agent
|
|
6947
6982
|
*/},{key:"setProxyAgent",value:function setProxyAgent(agent){this.proxyAgent=agent;var httpClient=this.getHttpClient();httpClient.setHttpsAgent(this.proxyAgent);}/**
|
|
@@ -6968,7 +7003,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6968
7003
|
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 AIStudioApi=/*#__PURE__*/function(){/**
|
|
6969
7004
|
* AIStudio service.
|
|
6970
7005
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
6971
|
-
* @version
|
|
7006
|
+
* @version 246.0.0
|
|
6972
7007
|
*//**
|
|
6973
7008
|
* Constructs a new AIStudioApi.
|
|
6974
7009
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -7120,7 +7155,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
7120
7155
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
7121
7156
|
* AgentAssistants service.
|
|
7122
7157
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
7123
|
-
* @version
|
|
7158
|
+
* @version 246.0.0
|
|
7124
7159
|
*//**
|
|
7125
7160
|
* Constructs a new AgentAssistantsApi.
|
|
7126
7161
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -7307,7 +7342,7 @@ if(agentChecklistId===undefined||agentChecklistId===null||agentChecklistId==='')
|
|
|
7307
7342
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantsAgentchecklist';}return this.apiClient.callApi('/api/v2/assistants/agentchecklists/{agentChecklistId}','PUT',{'agentChecklistId':agentChecklistId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
|
|
7308
7343
|
* AgentCopilot service.
|
|
7309
7344
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
7310
|
-
* @version
|
|
7345
|
+
* @version 246.0.0
|
|
7311
7346
|
*//**
|
|
7312
7347
|
* Constructs a new AgentCopilotApi.
|
|
7313
7348
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -7334,7 +7369,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
7334
7369
|
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(){/**
|
|
7335
7370
|
* AgentUI service.
|
|
7336
7371
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
7337
|
-
* @version
|
|
7372
|
+
* @version 246.0.0
|
|
7338
7373
|
*//**
|
|
7339
7374
|
* Constructs a new AgentUIApi.
|
|
7340
7375
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -7368,7 +7403,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
7368
7403
|
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(){/**
|
|
7369
7404
|
* Alerting service.
|
|
7370
7405
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
7371
|
-
* @version
|
|
7406
|
+
* @version 246.0.0
|
|
7372
7407
|
*//**
|
|
7373
7408
|
* Constructs a new AlertingApi.
|
|
7374
7409
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -7457,7 +7492,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
7457
7492
|
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(){/**
|
|
7458
7493
|
* Analytics service.
|
|
7459
7494
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7460
|
-
* @version
|
|
7495
|
+
* @version 246.0.0
|
|
7461
7496
|
*//**
|
|
7462
7497
|
* Constructs a new AnalyticsApi.
|
|
7463
7498
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -8276,7 +8311,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8276
8311
|
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(){/**
|
|
8277
8312
|
* Architect service.
|
|
8278
8313
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8279
|
-
* @version
|
|
8314
|
+
* @version 246.0.0
|
|
8280
8315
|
*//**
|
|
8281
8316
|
* Constructs a new ArchitectApi.
|
|
8282
8317
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -9410,7 +9445,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
9410
9445
|
if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){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 AssistantCopilotVariationsApi=/*#__PURE__*/function(){/**
|
|
9411
9446
|
* AssistantCopilotVariations service.
|
|
9412
9447
|
* @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
9413
|
-
* @version
|
|
9448
|
+
* @version 246.0.0
|
|
9414
9449
|
*//**
|
|
9415
9450
|
* Constructs a new AssistantCopilotVariationsApi.
|
|
9416
9451
|
* @alias module:purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
|
|
@@ -9455,7 +9490,7 @@ if(variationId===undefined||variationId===null||variationId===''){throw'Missing
|
|
|
9455
9490
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantVariation';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/variations/{variationId}','PUT',{'assistantId':assistantId,'variationId':variationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
9456
9491
|
* Audit service.
|
|
9457
9492
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9458
|
-
* @version
|
|
9493
|
+
* @version 246.0.0
|
|
9459
9494
|
*//**
|
|
9460
9495
|
* Constructs a new AuditApi.
|
|
9461
9496
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -9505,7 +9540,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9505
9540
|
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(){/**
|
|
9506
9541
|
* Authorization service.
|
|
9507
9542
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9508
|
-
* @version
|
|
9543
|
+
* @version 246.0.0
|
|
9509
9544
|
*//**
|
|
9510
9545
|
* Constructs a new AuthorizationApi.
|
|
9511
9546
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -9933,7 +9968,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
9933
9968
|
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 BackgroundAssistantApi=/*#__PURE__*/function(){/**
|
|
9934
9969
|
* BackgroundAssistant service.
|
|
9935
9970
|
* @module purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
9936
|
-
* @version
|
|
9971
|
+
* @version 246.0.0
|
|
9937
9972
|
*//**
|
|
9938
9973
|
* Constructs a new BackgroundAssistantApi.
|
|
9939
9974
|
* @alias module:purecloud-platform-client-v2/api/BackgroundAssistantApi
|
|
@@ -9954,7 +9989,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9954
9989
|
*/},{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 BillingApi=/*#__PURE__*/function(){/**
|
|
9955
9990
|
* Billing service.
|
|
9956
9991
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9957
|
-
* @version
|
|
9992
|
+
* @version 246.0.0
|
|
9958
9993
|
*//**
|
|
9959
9994
|
* Constructs a new BillingApi.
|
|
9960
9995
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -10031,7 +10066,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
10031
10066
|
if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){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 BusinessRulesApi=/*#__PURE__*/function(){/**
|
|
10032
10067
|
* BusinessRules service.
|
|
10033
10068
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
10034
|
-
* @version
|
|
10069
|
+
* @version 246.0.0
|
|
10035
10070
|
*//**
|
|
10036
10071
|
* Constructs a new BusinessRulesApi.
|
|
10037
10072
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -10252,7 +10287,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
10252
10287
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
10253
10288
|
* CarrierServices service.
|
|
10254
10289
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
10255
|
-
* @version
|
|
10290
|
+
* @version 246.0.0
|
|
10256
10291
|
*//**
|
|
10257
10292
|
* Constructs a new CarrierServicesApi.
|
|
10258
10293
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -10272,7 +10307,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
10272
10307
|
*/},{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(){/**
|
|
10273
10308
|
* Chat service.
|
|
10274
10309
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
10275
|
-
* @version
|
|
10310
|
+
* @version 246.0.0
|
|
10276
10311
|
*//**
|
|
10277
10312
|
* Constructs a new ChatApi.
|
|
10278
10313
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -10503,7 +10538,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10503
10538
|
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(){/**
|
|
10504
10539
|
* Coaching service.
|
|
10505
10540
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
10506
|
-
* @version
|
|
10541
|
+
* @version 246.0.0
|
|
10507
10542
|
*//**
|
|
10508
10543
|
* Constructs a new CoachingApi.
|
|
10509
10544
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -10666,7 +10701,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10666
10701
|
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(){/**
|
|
10667
10702
|
* ContentManagement service.
|
|
10668
10703
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10669
|
-
* @version
|
|
10704
|
+
* @version 246.0.0
|
|
10670
10705
|
*//**
|
|
10671
10706
|
* Constructs a new ContentManagementApi.
|
|
10672
10707
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -10948,7 +10983,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
10948
10983
|
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(){/**
|
|
10949
10984
|
* Conversations service.
|
|
10950
10985
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10951
|
-
* @version
|
|
10986
|
+
* @version 246.0.0
|
|
10952
10987
|
*//**
|
|
10953
10988
|
* Constructs a new ConversationsApi.
|
|
10954
10989
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10972,6 +11007,13 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
10972
11007
|
* @param {String} conversationId conversation ID
|
|
10973
11008
|
*/},{key:"deleteConversation",value:function deleteConversation(conversationId){// verify the required parameter 'conversationId' is set
|
|
10974
11009
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling deleteConversation';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}','DELETE',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11010
|
+
* Delete a custom attributes record.
|
|
11011
|
+
*
|
|
11012
|
+
* @param {String} conversationId conversation ID
|
|
11013
|
+
* @param {String} attributesId attributesId
|
|
11014
|
+
*/},{key:"deleteConversationCustomattribute",value:function deleteConversationCustomattribute(conversationId,attributesId){// verify the required parameter 'conversationId' is set
|
|
11015
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling deleteConversationCustomattribute';}// verify the required parameter 'attributesId' is set
|
|
11016
|
+
if(attributesId===undefined||attributesId===null||attributesId===''){throw'Missing the required parameter "attributesId" when calling deleteConversationCustomattribute';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes/{attributesId}','DELETE',{'conversationId':conversationId,'attributesId':attributesId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10975
11017
|
* Delete a code used to add a communication to this participant
|
|
10976
11018
|
*
|
|
10977
11019
|
* @param {String} conversationId conversation ID
|
|
@@ -11031,6 +11073,12 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
|
|
|
11031
11073
|
* @param {String} integrationId Integration ID
|
|
11032
11074
|
*/},{key:"deleteConversationsMessagingIntegrationsInstagramIntegrationId",value:function deleteConversationsMessagingIntegrationsInstagramIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
11033
11075
|
if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11076
|
+
* Delete an Open messaging integration with the Google Business Profile extension
|
|
11077
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
11078
|
+
* @param {String} integrationId Integration ID
|
|
11079
|
+
* deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11080
|
+
*/},{key:"deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId",value:function deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
11081
|
+
if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11034
11082
|
* Delete an Open messaging integration
|
|
11035
11083
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
11036
11084
|
* @param {String} integrationId Integration ID
|
|
@@ -11150,6 +11198,18 @@ if(messageId===undefined||messageId===null||messageId===''){throw'Missing the re
|
|
|
11150
11198
|
*/},{key:"getConversationCommunicationInternalmessages",value:function getConversationCommunicationInternalmessages(conversationId,communicationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
11151
11199
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessages';}// verify the required parameter 'communicationId' is set
|
|
11152
11200
|
if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessages';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/communications/{communicationId}/internalmessages','GET',{'conversationId':conversationId,'communicationId':communicationId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11201
|
+
* Get custom attributes by id
|
|
11202
|
+
*
|
|
11203
|
+
* @param {String} conversationId conversation ID
|
|
11204
|
+
* @param {String} attributesId attributesId
|
|
11205
|
+
*/},{key:"getConversationCustomattribute",value:function getConversationCustomattribute(conversationId,attributesId){// verify the required parameter 'conversationId' is set
|
|
11206
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCustomattribute';}// verify the required parameter 'attributesId' is set
|
|
11207
|
+
if(attributesId===undefined||attributesId===null||attributesId===''){throw'Missing the required parameter "attributesId" when calling getConversationCustomattribute';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes/{attributesId}','GET',{'conversationId':conversationId,'attributesId':attributesId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11208
|
+
* Get a list of custom attributes for a conversation.
|
|
11209
|
+
*
|
|
11210
|
+
* @param {String} conversationId conversation ID
|
|
11211
|
+
*/},{key:"getConversationCustomattributes",value:function getConversationCustomattributes(conversationId){// verify the required parameter 'conversationId' is set
|
|
11212
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationCustomattributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes','GET',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11153
11213
|
* Fetch info on a secure session
|
|
11154
11214
|
*
|
|
11155
11215
|
* @param {String} conversationId conversation ID
|
|
@@ -11393,6 +11453,37 @@ if(participantId===undefined||participantId===null||participantId===''){throw'Mi
|
|
|
11393
11453
|
* Get active cobrowse conversations for the logged in user
|
|
11394
11454
|
*
|
|
11395
11455
|
*/},{key:"getConversationsCobrowsesessions",value:function getConversationsCobrowsesessions(){return this.apiClient.callApi('/api/v2/conversations/cobrowsesessions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11456
|
+
* Get a schema
|
|
11457
|
+
*
|
|
11458
|
+
* @param {String} schemaId Schema ID
|
|
11459
|
+
*/},{key:"getConversationsCustomattributesSchema",value:function getConversationsCustomattributesSchema(schemaId){// verify the required parameter 'schemaId' is set
|
|
11460
|
+
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchema';}return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/{schemaId}','GET',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11461
|
+
* Get a specific version of a schema
|
|
11462
|
+
*
|
|
11463
|
+
* @param {String} schemaId Schema ID
|
|
11464
|
+
* @param {String} versionId Schema version
|
|
11465
|
+
*/},{key:"getConversationsCustomattributesSchemaVersion",value:function getConversationsCustomattributesSchemaVersion(schemaId,versionId){// verify the required parameter 'schemaId' is set
|
|
11466
|
+
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchemaVersion';}// verify the required parameter 'versionId' is set
|
|
11467
|
+
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getConversationsCustomattributesSchemaVersion';}return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/{schemaId}/versions/{versionId}','GET',{'schemaId':schemaId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11468
|
+
* Get all versions of a CCA schema
|
|
11469
|
+
*
|
|
11470
|
+
* @param {String} schemaId Schema ID
|
|
11471
|
+
*/},{key:"getConversationsCustomattributesSchemaVersions",value:function getConversationsCustomattributesSchemaVersions(schemaId){// verify the required parameter 'schemaId' is set
|
|
11472
|
+
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getConversationsCustomattributesSchemaVersions';}return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/{schemaId}/versions','GET',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11473
|
+
* Get a list of schemas.
|
|
11474
|
+
*
|
|
11475
|
+
*/},{key:"getConversationsCustomattributesSchemas",value:function getConversationsCustomattributesSchemas(){return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11476
|
+
* Get the core types from which all schemas are built.
|
|
11477
|
+
*
|
|
11478
|
+
* @param {String} coreTypeName Name of the core type
|
|
11479
|
+
*/},{key:"getConversationsCustomattributesSchemasCoretype",value:function getConversationsCustomattributesSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
|
|
11480
|
+
if(coreTypeName===undefined||coreTypeName===null||coreTypeName===''){throw'Missing the required parameter "coreTypeName" when calling getConversationsCustomattributesSchemasCoretype';}return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11481
|
+
* Get the list of core types enabled for a specific namespace.
|
|
11482
|
+
*
|
|
11483
|
+
*/},{key:"getConversationsCustomattributesSchemasCoretypes",value:function getConversationsCustomattributesSchemasCoretypes(){return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11484
|
+
* Get quantitative limits on schemas
|
|
11485
|
+
*
|
|
11486
|
+
*/},{key:"getConversationsCustomattributesSchemasLimits",value:function getConversationsCustomattributesSchemasLimits(){return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11396
11487
|
* Get email conversation
|
|
11397
11488
|
*
|
|
11398
11489
|
* @param {String} conversationId conversationId
|
|
@@ -11483,7 +11574,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
11483
11574
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMedia';}// verify the required parameter 'communicationId' is set
|
|
11484
11575
|
if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling getConversationsMessageCommunicationMessagesMedia';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media','GET',{'conversationId':conversationId,'communicationId':communicationId},{'status':opts['status'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11485
11576
|
* Get media
|
|
11486
|
-
* See https://developer.genesys.cloud/
|
|
11577
|
+
* See https://developer.genesys.cloud/commdigital/digital/messagemediaupload/ for example usage.
|
|
11487
11578
|
* @param {String} conversationId conversationId
|
|
11488
11579
|
* @param {String} communicationId communicationId
|
|
11489
11580
|
* @param {String} mediaId mediaId
|
|
@@ -11656,6 +11747,30 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
|
|
|
11656
11747
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
11657
11748
|
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
11658
11749
|
*/},{key:"getConversationsMessagingIntegrationsOpen",value:function getConversationsMessagingIntegrationsOpen(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11750
|
+
* Get an Open messaging integration with the Google Business Profile extension
|
|
11751
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
11752
|
+
* @param {String} integrationId Integration ID
|
|
11753
|
+
* @param {Object} opts Optional parameters
|
|
11754
|
+
* @param {Object} opts.expand Expand instructions for the return value.
|
|
11755
|
+
* getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11756
|
+
*/},{key:"getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId",value:function getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
11757
|
+
if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11758
|
+
* Get Google Business Profile OAuth 2 settings
|
|
11759
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
11760
|
+
* getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileOauthSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11761
|
+
*/},{key:"getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileOauthSettings",value:function getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileOauthSettings(){return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/oauth/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11762
|
+
* Get a Google Auth Token
|
|
11763
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
11764
|
+
* @param {String} tokenId Token ID
|
|
11765
|
+
* getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11766
|
+
*/},{key:"getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken",value:function getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken(tokenId){// verify the required parameter 'tokenId' is set
|
|
11767
|
+
if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required parameter "tokenId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileToken';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens/{tokenId}','GET',{'tokenId':tokenId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11768
|
+
* Get Google Business Profile accounts
|
|
11769
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
11770
|
+
* @param {String} tokenId Token ID
|
|
11771
|
+
* getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11772
|
+
*/},{key:"getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts",value:function getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts(tokenId){// verify the required parameter 'tokenId' is set
|
|
11773
|
+
if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required parameter "tokenId" when calling getConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokenAccounts';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens/{tokenId}/accounts','GET',{'tokenId':tokenId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11659
11774
|
* Get an Open messaging integration
|
|
11660
11775
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
11661
11776
|
* @param {String} integrationId Integration ID
|
|
@@ -11786,6 +11901,20 @@ if(communicationId===undefined||communicationId===null||communicationId===''){th
|
|
|
11786
11901
|
* @param {String} meetingId meetingId
|
|
11787
11902
|
*/},{key:"getConversationsVideosMeeting",value:function getConversationsVideosMeeting(meetingId){// verify the required parameter 'meetingId' is set
|
|
11788
11903
|
if(meetingId===undefined||meetingId===null||meetingId===''){throw'Missing the required parameter "meetingId" when calling getConversationsVideosMeeting';}return this.apiClient.callApi('/api/v2/conversations/videos/meetings/{meetingId}','GET',{'meetingId':meetingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11904
|
+
* Update a single custom attributes record by amending the data with only the provided fields.
|
|
11905
|
+
*
|
|
11906
|
+
* @param {String} conversationId conversation ID
|
|
11907
|
+
* @param {Object} opts Optional parameters
|
|
11908
|
+
* @param {Object} opts.body
|
|
11909
|
+
*/},{key:"patchConversationCustomattributes",value:function patchConversationCustomattributes(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
11910
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationCustomattributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes','PATCH',{'conversationId':conversationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11911
|
+
* Update a list of custom attributes record by amending the data with only the provided fields.
|
|
11912
|
+
*
|
|
11913
|
+
* @param {String} conversationId conversation ID
|
|
11914
|
+
* @param {Object} opts Optional parameters
|
|
11915
|
+
* @param {Array.<Object>} opts.body
|
|
11916
|
+
*/},{key:"patchConversationCustomattributesBulk",value:function patchConversationCustomattributesBulk(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
11917
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationCustomattributesBulk';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes/bulk','PATCH',{'conversationId':conversationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11789
11918
|
* Update a participant.
|
|
11790
11919
|
* Update conversation participant.
|
|
11791
11920
|
* @param {String} conversationId conversation ID
|
|
@@ -12160,6 +12289,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12160
12289
|
*/},{key:"patchConversationsMessagingIntegrationsInstagramIntegrationId",value:function patchConversationsMessagingIntegrationsInstagramIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
12161
12290
|
if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsInstagramIntegrationId';}// verify the required parameter 'body' is set
|
|
12162
12291
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12292
|
+
* Update an Open messaging integration with the Google Business Profile extension
|
|
12293
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
12294
|
+
* @param {String} integrationId Integration ID
|
|
12295
|
+
* @param {Object} body GoogleBusinessProfileOpenIntegrationUpdateRequest
|
|
12296
|
+
* patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12297
|
+
*/},{key:"patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId",value:function patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
12298
|
+
if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';}// verify the required parameter 'body' is set
|
|
12299
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12163
12300
|
* Update an Open messaging integration
|
|
12164
12301
|
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
12165
12302
|
* @param {String} integrationId Integration ID
|
|
@@ -12669,6 +12806,16 @@ if(communicationId===undefined||communicationId===null||communicationId===''){th
|
|
|
12669
12806
|
*/},{key:"postConversationsCobrowsesessionParticipantReplace",value:function postConversationsCobrowsesessionParticipantReplace(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
12670
12807
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantReplace';}// verify the required parameter 'participantId' is set
|
|
12671
12808
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantReplace';}return this.apiClient.callApi('/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/replace','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12809
|
+
* Create a schema
|
|
12810
|
+
*
|
|
12811
|
+
* @param {Object} body Schema create request body
|
|
12812
|
+
*/},{key:"postConversationsCustomattributesSchemas",value:function postConversationsCustomattributesSchemas(body){// verify the required parameter 'body' is set
|
|
12813
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCustomattributesSchemas';}return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12814
|
+
* Search resources.
|
|
12815
|
+
*
|
|
12816
|
+
* @param {Object} body Search request options
|
|
12817
|
+
*/},{key:"postConversationsCustomattributesSearch",value:function postConversationsCustomattributesSearch(body){// verify the required parameter 'body' is set
|
|
12818
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';}return this.apiClient.callApi('/api/v2/conversations/customattributes/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12672
12819
|
* Send an email to an external conversation. An external conversation is one where the provider is not PureCloud based. This endpoint allows the sender of the external email to reply or send a new message to the existing conversation. The new message will be treated as part of the existing conversation and chained to it.
|
|
12673
12820
|
*
|
|
12674
12821
|
* @param {String} conversationId conversationId
|
|
@@ -12760,7 +12907,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12760
12907
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessagesMedia';}// verify the required parameter 'communicationId' is set
|
|
12761
12908
|
if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessagesMedia';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages/media','POST',{'conversationId':conversationId,'communicationId':communicationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12762
12909
|
* Create a URL to upload a message media file
|
|
12763
|
-
* See https://developer.genesys.cloud/
|
|
12910
|
+
* See https://developer.genesys.cloud/commdigital/digital/messagemediaupload/ for example usage.
|
|
12764
12911
|
* @param {String} conversationId conversationId
|
|
12765
12912
|
* @param {String} communicationId communicationId
|
|
12766
12913
|
* @param {Object} body request
|
|
@@ -12889,6 +13036,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12889
13036
|
* @param {Object} body OpenIntegrationRequest
|
|
12890
13037
|
*/},{key:"postConversationsMessagingIntegrationsOpen",value:function postConversationsMessagingIntegrationsOpen(body){// verify the required parameter 'body' is set
|
|
12891
13038
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpen';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13039
|
+
* Create an Open messaging integration with the Google Business Profile extension
|
|
13040
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
13041
|
+
* @param {Object} body GoogleBusinessProfileOpenIntegrationRequest
|
|
13042
|
+
* postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13043
|
+
*/},{key:"postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile",value:function postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile(body){// verify the required parameter 'body' is set
|
|
13044
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofile';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13045
|
+
* Create a Google Auth Token by exchanging the one-time auth code retrieved from Google
|
|
13046
|
+
* See https://developer.genesys.cloud/api/digital/openmessaging/ for more information.
|
|
13047
|
+
* @param {Object} body GoogleAuthTokenRequest
|
|
13048
|
+
* postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13049
|
+
*/},{key:"postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens",value:function postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens(body){// verify the required parameter 'body' is set
|
|
13050
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsOpenExtensionsGooglebusinessprofileTokens';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/open/extensions/googlebusinessprofile/tokens','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12892
13051
|
* Create Twitter Integration
|
|
12893
13052
|
*
|
|
12894
13053
|
* @param {Object} body TwitterIntegrationRequest
|
|
@@ -12967,6 +13126,20 @@ if(communicationId===undefined||communicationId===null||communicationId===''){th
|
|
|
12967
13126
|
* @param {Object} body MeetingIdRequest
|
|
12968
13127
|
*/},{key:"postConversationsVideosMeetings",value:function postConversationsVideosMeetings(body){// verify the required parameter 'body' is set
|
|
12969
13128
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsVideosMeetings';}return this.apiClient.callApi('/api/v2/conversations/videos/meetings','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13129
|
+
* Create or update a single custom attributes record. Updating replaces all data with the provided fields.
|
|
13130
|
+
*
|
|
13131
|
+
* @param {String} conversationId conversation ID
|
|
13132
|
+
* @param {Object} opts Optional parameters
|
|
13133
|
+
* @param {Object} opts.body
|
|
13134
|
+
*/},{key:"putConversationCustomattributes",value:function putConversationCustomattributes(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
13135
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling putConversationCustomattributes';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes','PUT',{'conversationId':conversationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13136
|
+
* Create or update a list of custom attributes records. Updating replaces all data with the provided fields.
|
|
13137
|
+
*
|
|
13138
|
+
* @param {String} conversationId conversation ID
|
|
13139
|
+
* @param {Object} opts Optional parameters
|
|
13140
|
+
* @param {Array.<Object>} opts.body
|
|
13141
|
+
*/},{key:"putConversationCustomattributesBulk",value:function putConversationCustomattributesBulk(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
13142
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling putConversationCustomattributesBulk';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/customattributes/bulk','PUT',{'conversationId':conversationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12970
13143
|
* Set flagged reason on conversation participant to indicate bad conversation quality.
|
|
12971
13144
|
*
|
|
12972
13145
|
* @param {String} conversationId conversation ID
|
|
@@ -13029,6 +13202,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13029
13202
|
*/},{key:"putConversationsCobrowsesessionRecordingstate",value:function putConversationsCobrowsesessionRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
13030
13203
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling putConversationsCobrowsesessionRecordingstate';}// verify the required parameter 'body' is set
|
|
13031
13204
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsCobrowsesessionRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/cobrowsesessions/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13205
|
+
* Update a schema
|
|
13206
|
+
*
|
|
13207
|
+
* @param {String} schemaId Schema ID
|
|
13208
|
+
* @param {Object} body Schema update request body
|
|
13209
|
+
*/},{key:"putConversationsCustomattributesSchema",value:function putConversationsCustomattributesSchema(schemaId,body){// verify the required parameter 'schemaId' is set
|
|
13210
|
+
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling putConversationsCustomattributesSchema';}// verify the required parameter 'body' is set
|
|
13211
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsCustomattributesSchema';}return this.apiClient.callApi('/api/v2/conversations/customattributes/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13032
13212
|
* Update conversation draft reply
|
|
13033
13213
|
*
|
|
13034
13214
|
* @param {String} conversationId conversationId
|
|
@@ -13138,7 +13318,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
13138
13318
|
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(){/**
|
|
13139
13319
|
* DataExtensions service.
|
|
13140
13320
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
13141
|
-
* @version
|
|
13321
|
+
* @version 246.0.0
|
|
13142
13322
|
*//**
|
|
13143
13323
|
* Constructs a new DataExtensionsApi.
|
|
13144
13324
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -13159,7 +13339,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
13159
13339
|
*/},{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(){/**
|
|
13160
13340
|
* DataPrivacy service.
|
|
13161
13341
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
13162
|
-
* @version
|
|
13342
|
+
* @version 246.0.0
|
|
13163
13343
|
*//**
|
|
13164
13344
|
* Constructs a new DataPrivacyApi.
|
|
13165
13345
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -13199,7 +13379,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13199
13379
|
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(){/**
|
|
13200
13380
|
* Downloads service.
|
|
13201
13381
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
13202
|
-
* @version
|
|
13382
|
+
* @version 246.0.0
|
|
13203
13383
|
*//**
|
|
13204
13384
|
* Constructs a new DownloadsApi.
|
|
13205
13385
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -13218,7 +13398,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13218
13398
|
if(downloadId===undefined||downloadId===null||downloadId===''){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(){/**
|
|
13219
13399
|
* Emails service.
|
|
13220
13400
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
13221
|
-
* @version
|
|
13401
|
+
* @version 246.0.0
|
|
13222
13402
|
*//**
|
|
13223
13403
|
* Constructs a new EmailsApi.
|
|
13224
13404
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -13247,7 +13427,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
13247
13427
|
*/},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
13248
13428
|
* EmployeeEngagement service.
|
|
13249
13429
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
13250
|
-
* @version
|
|
13430
|
+
* @version 246.0.0
|
|
13251
13431
|
*//**
|
|
13252
13432
|
* Constructs a new EmployeeEngagementApi.
|
|
13253
13433
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -13295,7 +13475,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13295
13475
|
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(){/**
|
|
13296
13476
|
* Events service.
|
|
13297
13477
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
13298
|
-
* @version
|
|
13478
|
+
* @version 246.0.0
|
|
13299
13479
|
*//**
|
|
13300
13480
|
* Constructs a new EventsApi.
|
|
13301
13481
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -13320,7 +13500,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13320
13500
|
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(){/**
|
|
13321
13501
|
* ExternalContacts service.
|
|
13322
13502
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
13323
|
-
* @version
|
|
13503
|
+
* @version 246.0.0
|
|
13324
13504
|
*//**
|
|
13325
13505
|
* Constructs a new ExternalContactsApi.
|
|
13326
13506
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -14070,7 +14250,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
14070
14250
|
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(){/**
|
|
14071
14251
|
* Fax service.
|
|
14072
14252
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
14073
|
-
* @version
|
|
14253
|
+
* @version 246.0.0
|
|
14074
14254
|
*//**
|
|
14075
14255
|
* Constructs a new FaxApi.
|
|
14076
14256
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -14119,7 +14299,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14119
14299
|
*/},{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(){/**
|
|
14120
14300
|
* Flows service.
|
|
14121
14301
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
14122
|
-
* @version
|
|
14302
|
+
* @version 246.0.0
|
|
14123
14303
|
*//**
|
|
14124
14304
|
* Constructs a new FlowsApi.
|
|
14125
14305
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -14173,7 +14353,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14173
14353
|
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(){/**
|
|
14174
14354
|
* Gamification service.
|
|
14175
14355
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
14176
|
-
* @version
|
|
14356
|
+
* @version 246.0.0
|
|
14177
14357
|
*//**
|
|
14178
14358
|
* Constructs a new GamificationApi.
|
|
14179
14359
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -14844,7 +15024,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14844
15024
|
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(){/**
|
|
14845
15025
|
* GeneralDataProtectionRegulation service.
|
|
14846
15026
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
14847
|
-
* @version
|
|
15027
|
+
* @version 246.0.0
|
|
14848
15028
|
*//**
|
|
14849
15029
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
14850
15030
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -14879,7 +15059,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
14879
15059
|
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(){/**
|
|
14880
15060
|
* Geolocation service.
|
|
14881
15061
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
14882
|
-
* @version
|
|
15062
|
+
* @version 246.0.0
|
|
14883
15063
|
*//**
|
|
14884
15064
|
* Constructs a new GeolocationApi.
|
|
14885
15065
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -14913,7 +15093,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
14913
15093
|
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(){/**
|
|
14914
15094
|
* Greetings service.
|
|
14915
15095
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
14916
|
-
* @version
|
|
15096
|
+
* @version 246.0.0
|
|
14917
15097
|
*//**
|
|
14918
15098
|
* Constructs a new GreetingsApi.
|
|
14919
15099
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -15041,7 +15221,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
15041
15221
|
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(){/**
|
|
15042
15222
|
* Groups service.
|
|
15043
15223
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
15044
|
-
* @version
|
|
15224
|
+
* @version 246.0.0
|
|
15045
15225
|
*//**
|
|
15046
15226
|
* Constructs a new GroupsApi.
|
|
15047
15227
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -15174,7 +15354,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
15174
15354
|
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(){/**
|
|
15175
15355
|
* IdentityProvider service.
|
|
15176
15356
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
15177
|
-
* @version
|
|
15357
|
+
* @version 246.0.0
|
|
15178
15358
|
*//**
|
|
15179
15359
|
* Constructs a new IdentityProviderApi.
|
|
15180
15360
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -15330,7 +15510,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15330
15510
|
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(){/**
|
|
15331
15511
|
* InfrastructureAsCode service.
|
|
15332
15512
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
15333
|
-
* @version
|
|
15513
|
+
* @version 246.0.0
|
|
15334
15514
|
*//**
|
|
15335
15515
|
* Constructs a new InfrastructureAsCodeApi.
|
|
15336
15516
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -15384,7 +15564,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
15384
15564
|
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(){/**
|
|
15385
15565
|
* Integrations service.
|
|
15386
15566
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
15387
|
-
* @version
|
|
15567
|
+
* @version 246.0.0
|
|
15388
15568
|
*//**
|
|
15389
15569
|
* Constructs a new IntegrationsApi.
|
|
15390
15570
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -16076,7 +16256,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
16076
16256
|
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 IntentsApi=/*#__PURE__*/function(){/**
|
|
16077
16257
|
* Intents service.
|
|
16078
16258
|
* @module purecloud-platform-client-v2/api/IntentsApi
|
|
16079
|
-
* @version
|
|
16259
|
+
* @version 246.0.0
|
|
16080
16260
|
*//**
|
|
16081
16261
|
* Constructs a new IntentsApi.
|
|
16082
16262
|
* @alias module:purecloud-platform-client-v2/api/IntentsApi
|
|
@@ -16193,7 +16373,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16193
16373
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntentsCustomerintents';}return this.apiClient.callApi('/api/v2/intents/customerintents','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
16194
16374
|
* Journey service.
|
|
16195
16375
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
16196
|
-
* @version
|
|
16376
|
+
* @version 246.0.0
|
|
16197
16377
|
*//**
|
|
16198
16378
|
* Constructs a new JourneyApi.
|
|
16199
16379
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -16702,7 +16882,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
16702
16882
|
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(){/**
|
|
16703
16883
|
* Knowledge service.
|
|
16704
16884
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
16705
|
-
* @version
|
|
16885
|
+
* @version 246.0.0
|
|
16706
16886
|
*//**
|
|
16707
16887
|
* Constructs a new KnowledgeApi.
|
|
16708
16888
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -17539,7 +17719,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
17539
17719
|
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(){/**
|
|
17540
17720
|
* LanguageUnderstanding service.
|
|
17541
17721
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
17542
|
-
* @version
|
|
17722
|
+
* @version 246.0.0
|
|
17543
17723
|
*//**
|
|
17544
17724
|
* Constructs a new LanguageUnderstandingApi.
|
|
17545
17725
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -17848,7 +18028,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
17848
18028
|
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(){/**
|
|
17849
18029
|
* Languages service.
|
|
17850
18030
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
17851
|
-
* @version
|
|
18031
|
+
* @version 246.0.0
|
|
17852
18032
|
*//**
|
|
17853
18033
|
* Constructs a new LanguagesApi.
|
|
17854
18034
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -17903,7 +18083,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17903
18083
|
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(){/**
|
|
17904
18084
|
* Learning service.
|
|
17905
18085
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
17906
|
-
* @version
|
|
18086
|
+
* @version 246.0.0
|
|
17907
18087
|
*//**
|
|
17908
18088
|
* Constructs a new LearningApi.
|
|
17909
18089
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -18192,7 +18372,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
18192
18372
|
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},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
18193
18373
|
* License service.
|
|
18194
18374
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
18195
|
-
* @version
|
|
18375
|
+
* @version 246.0.0
|
|
18196
18376
|
*//**
|
|
18197
18377
|
* Constructs a new LicenseApi.
|
|
18198
18378
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -18246,7 +18426,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
18246
18426
|
*/},{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(){/**
|
|
18247
18427
|
* Locations service.
|
|
18248
18428
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
18249
|
-
* @version
|
|
18429
|
+
* @version 246.0.0
|
|
18250
18430
|
*//**
|
|
18251
18431
|
* Constructs a new LocationsApi.
|
|
18252
18432
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -18305,7 +18485,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18305
18485
|
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(){/**
|
|
18306
18486
|
* LogCapture service.
|
|
18307
18487
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
18308
|
-
* @version
|
|
18488
|
+
* @version 246.0.0
|
|
18309
18489
|
*//**
|
|
18310
18490
|
* Constructs a new LogCaptureApi.
|
|
18311
18491
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -18354,7 +18534,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
18354
18534
|
if(userId===undefined||userId===null||userId===''){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(){/**
|
|
18355
18535
|
* Messaging service.
|
|
18356
18536
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
18357
|
-
* @version
|
|
18537
|
+
* @version 246.0.0
|
|
18358
18538
|
*//**
|
|
18359
18539
|
* Constructs a new MessagingApi.
|
|
18360
18540
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -18444,7 +18624,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18444
18624
|
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(){/**
|
|
18445
18625
|
* MobileDevices service.
|
|
18446
18626
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
18447
|
-
* @version
|
|
18627
|
+
* @version 246.0.0
|
|
18448
18628
|
*//**
|
|
18449
18629
|
* Constructs a new MobileDevicesApi.
|
|
18450
18630
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -18483,7 +18663,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18483
18663
|
if(deviceId===undefined||deviceId===null||deviceId===''){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(){/**
|
|
18484
18664
|
* Notifications service.
|
|
18485
18665
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
18486
|
-
* @version
|
|
18666
|
+
* @version 246.0.0
|
|
18487
18667
|
*//**
|
|
18488
18668
|
* Constructs a new NotificationsApi.
|
|
18489
18669
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -18540,7 +18720,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
18540
18720
|
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(){/**
|
|
18541
18721
|
* OAuth service.
|
|
18542
18722
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
18543
|
-
* @version
|
|
18723
|
+
* @version 246.0.0
|
|
18544
18724
|
*//**
|
|
18545
18725
|
* Constructs a new OAuthApi.
|
|
18546
18726
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -18625,7 +18805,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
18625
18805
|
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(){/**
|
|
18626
18806
|
* Objects service.
|
|
18627
18807
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
18628
|
-
* @version
|
|
18808
|
+
* @version 246.0.0
|
|
18629
18809
|
*//**
|
|
18630
18810
|
* Constructs a new ObjectsApi.
|
|
18631
18811
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -18711,7 +18891,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
18711
18891
|
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(){/**
|
|
18712
18892
|
* OperationalEvents service.
|
|
18713
18893
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
18714
|
-
* @version
|
|
18894
|
+
* @version 246.0.0
|
|
18715
18895
|
*//**
|
|
18716
18896
|
* Constructs a new OperationalEventsApi.
|
|
18717
18897
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -18742,7 +18922,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
18742
18922
|
*/},{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(){/**
|
|
18743
18923
|
* Organization service.
|
|
18744
18924
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
18745
|
-
* @version
|
|
18925
|
+
* @version 246.0.0
|
|
18746
18926
|
*//**
|
|
18747
18927
|
* Constructs a new OrganizationApi.
|
|
18748
18928
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -18847,7 +19027,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18847
19027
|
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(){/**
|
|
18848
19028
|
* OrganizationAuthorization service.
|
|
18849
19029
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
18850
|
-
* @version
|
|
19030
|
+
* @version 246.0.0
|
|
18851
19031
|
*//**
|
|
18852
19032
|
* Constructs a new OrganizationAuthorizationApi.
|
|
18853
19033
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -19181,7 +19361,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
19181
19361
|
if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){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(){/**
|
|
19182
19362
|
* Outbound service.
|
|
19183
19363
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
19184
|
-
* @version
|
|
19364
|
+
* @version 246.0.0
|
|
19185
19365
|
*//**
|
|
19186
19366
|
* Constructs a new OutboundApi.
|
|
19187
19367
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -20348,7 +20528,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20348
20528
|
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(){/**
|
|
20349
20529
|
* Presence service.
|
|
20350
20530
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
20351
|
-
* @version
|
|
20531
|
+
* @version 246.0.0
|
|
20352
20532
|
*//**
|
|
20353
20533
|
* Constructs a new PresenceApi.
|
|
20354
20534
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -20521,7 +20701,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20521
20701
|
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(){/**
|
|
20522
20702
|
* ProcessAutomation service.
|
|
20523
20703
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
20524
|
-
* @version
|
|
20704
|
+
* @version 246.0.0
|
|
20525
20705
|
*//**
|
|
20526
20706
|
* Constructs a new ProcessAutomationApi.
|
|
20527
20707
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -20584,7 +20764,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
20584
20764
|
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(){/**
|
|
20585
20765
|
* Quality service.
|
|
20586
20766
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
20587
|
-
* @version
|
|
20767
|
+
* @version 246.0.0
|
|
20588
20768
|
*//**
|
|
20589
20769
|
* Constructs a new QualityApi.
|
|
20590
20770
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -21127,7 +21307,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
21127
21307
|
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(){/**
|
|
21128
21308
|
* Recording service.
|
|
21129
21309
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
21130
|
-
* @version
|
|
21310
|
+
* @version 246.0.0
|
|
21131
21311
|
*//**
|
|
21132
21312
|
* Constructs a new RecordingApi.
|
|
21133
21313
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -21526,7 +21706,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21526
21706
|
*/},{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(){/**
|
|
21527
21707
|
* ResponseManagement service.
|
|
21528
21708
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
21529
|
-
* @version
|
|
21709
|
+
* @version 246.0.0
|
|
21530
21710
|
*//**
|
|
21531
21711
|
* Constructs a new ResponseManagementApi.
|
|
21532
21712
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -21647,7 +21827,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
21647
21827
|
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(){/**
|
|
21648
21828
|
* Routing service.
|
|
21649
21829
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
21650
|
-
* @version
|
|
21830
|
+
* @version 246.0.0
|
|
21651
21831
|
*//**
|
|
21652
21832
|
* Constructs a new RoutingApi.
|
|
21653
21833
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -22423,6 +22603,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22423
22603
|
* @param {Object} body Organization Settings
|
|
22424
22604
|
*/},{key:"patchRoutingSettingsTranscription",value:function patchRoutingSettingsTranscription(body){// verify the required parameter 'body' is set
|
|
22425
22605
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingSettingsTranscription';}return this.apiClient.callApi('/api/v2/routing/settings/transcription','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22606
|
+
* Update Routing Skill Division
|
|
22607
|
+
*
|
|
22608
|
+
* @param {String} skillId Skill ID
|
|
22609
|
+
* @param {Object} body updateSkillDivisionRequest
|
|
22610
|
+
*/},{key:"patchRoutingSkill",value:function patchRoutingSkill(skillId,body){// verify the required parameter 'skillId' is set
|
|
22611
|
+
if(skillId===undefined||skillId===null||skillId===''){throw'Missing the required parameter "skillId" when calling patchRoutingSkill';}// verify the required parameter 'body' is set
|
|
22612
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchRoutingSkill';}return this.apiClient.callApi('/api/v2/routing/skills/{skillId}','PATCH',{'skillId':skillId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22426
22613
|
* Update skill group definition
|
|
22427
22614
|
*
|
|
22428
22615
|
* @param {String} skillGroupId Skill Group ID
|
|
@@ -22786,7 +22973,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22786
22973
|
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(){/**
|
|
22787
22974
|
* SCIM service.
|
|
22788
22975
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
22789
|
-
* @version
|
|
22976
|
+
* @version 246.0.0
|
|
22790
22977
|
*//**
|
|
22791
22978
|
* Constructs a new SCIMApi.
|
|
22792
22979
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -23011,7 +23198,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
23011
23198
|
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 ScriptsApi=/*#__PURE__*/function(){/**
|
|
23012
23199
|
* Scripts service.
|
|
23013
23200
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
23014
|
-
* @version
|
|
23201
|
+
* @version 246.0.0
|
|
23015
23202
|
*//**
|
|
23016
23203
|
* Constructs a new ScriptsApi.
|
|
23017
23204
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -23157,7 +23344,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
23157
23344
|
*/},{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(){/**
|
|
23158
23345
|
* Search service.
|
|
23159
23346
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
23160
|
-
* @version
|
|
23347
|
+
* @version 246.0.0
|
|
23161
23348
|
*//**
|
|
23162
23349
|
* Constructs a new SearchApi.
|
|
23163
23350
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -23227,6 +23414,11 @@ if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when
|
|
|
23227
23414
|
* @param {Array.<String>} opts.expand expand
|
|
23228
23415
|
*/},{key:"getVoicemailSearch",value:function getVoicemailSearch(q64,opts){opts=opts||{};// verify the required parameter 'q64' is set
|
|
23229
23416
|
if(q64===undefined||q64===null){throw'Missing the required parameter "q64" when calling getVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','GET',{},{'q64':q64,'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23417
|
+
* Search resources.
|
|
23418
|
+
*
|
|
23419
|
+
* @param {Object} body Search request options
|
|
23420
|
+
*/},{key:"postConversationsCustomattributesSearch",value:function postConversationsCustomattributesSearch(body){// verify the required parameter 'body' is set
|
|
23421
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCustomattributesSearch';}return this.apiClient.callApi('/api/v2/conversations/customattributes/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23230
23422
|
* Search conversations
|
|
23231
23423
|
*
|
|
23232
23424
|
* @param {Object} body Search request options
|
|
@@ -23316,7 +23508,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23316
23508
|
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(){/**
|
|
23317
23509
|
* Settings service.
|
|
23318
23510
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
23319
|
-
* @version
|
|
23511
|
+
* @version 246.0.0
|
|
23320
23512
|
*//**
|
|
23321
23513
|
* Constructs a new SettingsApi.
|
|
23322
23514
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -23388,7 +23580,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
23388
23580
|
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(){/**
|
|
23389
23581
|
* SocialMedia service.
|
|
23390
23582
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
23391
|
-
* @version
|
|
23583
|
+
* @version 246.0.0
|
|
23392
23584
|
*//**
|
|
23393
23585
|
* Constructs a new SocialMediaApi.
|
|
23394
23586
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -23423,6 +23615,16 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23423
23615
|
*/},{key:"deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
23424
23616
|
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
23425
23617
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null||facebookIngestionRuleId===''){throw'Missing the required parameter "facebookIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','DELETE',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23618
|
+
* Delete a Google Business Profile data ingestion rule.
|
|
23619
|
+
*
|
|
23620
|
+
* @param {String} topicId topicId
|
|
23621
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
23622
|
+
* @param {Object} opts Optional parameters
|
|
23623
|
+
* @param {Boolean} opts.hardDelete Determines whether a Google Business Profile data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
|
|
23624
|
+
* deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23625
|
+
*/},{key:"deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId,googleBusinessProfileIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
23626
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
23627
|
+
if(googleBusinessProfileIngestionRuleId===undefined||googleBusinessProfileIngestionRuleId===null||googleBusinessProfileIngestionRuleId===''){throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}','DELETE',{'topicId':topicId,'googleBusinessProfileIngestionRuleId':googleBusinessProfileIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23426
23628
|
* Delete a Instagram data ingestion rule.
|
|
23427
23629
|
*
|
|
23428
23630
|
* @param {String} topicId topicId
|
|
@@ -23536,6 +23738,40 @@ if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null||dataIn
|
|
|
23536
23738
|
*/},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
23537
23739
|
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
23538
23740
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null||facebookIngestionRuleId===''){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23741
|
+
* Get a single Google Business Profile data ingestion rule.
|
|
23742
|
+
*
|
|
23743
|
+
* @param {String} topicId topicId
|
|
23744
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
23745
|
+
* @param {Object} opts Optional parameters
|
|
23746
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
23747
|
+
* getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23748
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId,googleBusinessProfileIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
23749
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
23750
|
+
if(googleBusinessProfileIngestionRuleId===undefined||googleBusinessProfileIngestionRuleId===null||googleBusinessProfileIngestionRuleId===''){throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}','GET',{'topicId':topicId,'googleBusinessProfileIngestionRuleId':googleBusinessProfileIngestionRuleId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23751
|
+
* Get a single Google Business Profile data ingestion rule version.
|
|
23752
|
+
*
|
|
23753
|
+
* @param {String} topicId topicId
|
|
23754
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
23755
|
+
* @param {String} dataIngestionRuleVersion version
|
|
23756
|
+
* @param {Object} opts Optional parameters
|
|
23757
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
|
|
23758
|
+
* getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23759
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion(topicId,googleBusinessProfileIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
23760
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';}// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
23761
|
+
if(googleBusinessProfileIngestionRuleId===undefined||googleBusinessProfileIngestionRuleId===null||googleBusinessProfileIngestionRuleId===''){throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
|
|
23762
|
+
if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null||dataIngestionRuleVersion===''){throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions/{dataIngestionRuleVersion}','GET',{'topicId':topicId,'googleBusinessProfileIngestionRuleId':googleBusinessProfileIngestionRuleId,'dataIngestionRuleVersion':dataIngestionRuleVersion},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23763
|
+
* Get the Google Business Profile data ingestion rule versions.
|
|
23764
|
+
*
|
|
23765
|
+
* @param {String} topicId topicId
|
|
23766
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
23767
|
+
* @param {Object} opts Optional parameters
|
|
23768
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
23769
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
23770
|
+
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
23771
|
+
* getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23772
|
+
*/},{key:"getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions(topicId,googleBusinessProfileIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
23773
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';}// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
23774
|
+
if(googleBusinessProfileIngestionRuleId===undefined||googleBusinessProfileIngestionRuleId===null||googleBusinessProfileIngestionRuleId===''){throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}/versions','GET',{'topicId':topicId,'googleBusinessProfileIngestionRuleId':googleBusinessProfileIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23539
23775
|
* Get a single Instagram data ingestion rule.
|
|
23540
23776
|
*
|
|
23541
23777
|
* @param {String} topicId topicId
|
|
@@ -23655,6 +23891,16 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23655
23891
|
*/},{key:"patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
23656
23892
|
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
23657
23893
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null||facebookIngestionRuleId===''){throw'Missing the required parameter "facebookIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PATCH',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23894
|
+
* Update the status of a Google Business Profile data ingestion rule.
|
|
23895
|
+
*
|
|
23896
|
+
* @param {String} topicId topicId
|
|
23897
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
23898
|
+
* @param {Object} opts Optional parameters
|
|
23899
|
+
* @param {Object} opts.body
|
|
23900
|
+
* patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23901
|
+
*/},{key:"patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId,googleBusinessProfileIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
23902
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
23903
|
+
if(googleBusinessProfileIngestionRuleId===undefined||googleBusinessProfileIngestionRuleId===null||googleBusinessProfileIngestionRuleId===''){throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}','PATCH',{'topicId':topicId,'googleBusinessProfileIngestionRuleId':googleBusinessProfileIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23658
23904
|
* Update the status of a Instagram data ingestion rule.
|
|
23659
23905
|
*
|
|
23660
23906
|
* @param {String} topicId topicId
|
|
@@ -23711,6 +23957,14 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
23711
23957
|
* @param {Object} opts.body
|
|
23712
23958
|
*/},{key:"postSocialmediaTopicDataingestionrulesFacebook",value:function postSocialmediaTopicDataingestionrulesFacebook(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
23713
23959
|
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesFacebook';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23960
|
+
* Create a Google Business Profile data ingestion rule.
|
|
23961
|
+
*
|
|
23962
|
+
* @param {String} topicId topicId
|
|
23963
|
+
* @param {Object} opts Optional parameters
|
|
23964
|
+
* @param {Object} opts.body
|
|
23965
|
+
* postSocialmediaTopicDataingestionrulesGooglebusinessprofile is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23966
|
+
*/},{key:"postSocialmediaTopicDataingestionrulesGooglebusinessprofile",value:function postSocialmediaTopicDataingestionrulesGooglebusinessprofile(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
23967
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesGooglebusinessprofile';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23714
23968
|
* Create an Instagram data ingestion rule.
|
|
23715
23969
|
*
|
|
23716
23970
|
* @param {String} topicId topicId
|
|
@@ -23776,6 +24030,16 @@ if(escalationRuleId===undefined||escalationRuleId===null||escalationRuleId==='')
|
|
|
23776
24030
|
*/},{key:"putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
23777
24031
|
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
|
|
23778
24032
|
if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null||facebookIngestionRuleId===''){throw'Missing the required parameter "facebookIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PUT',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24033
|
+
* Update the Google Business Profile data ingestion rule.
|
|
24034
|
+
*
|
|
24035
|
+
* @param {String} topicId topicId
|
|
24036
|
+
* @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
|
|
24037
|
+
* @param {Object} opts Optional parameters
|
|
24038
|
+
* @param {Object} opts.body
|
|
24039
|
+
* putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
24040
|
+
*/},{key:"putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId,googleBusinessProfileIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
|
|
24041
|
+
if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}// verify the required parameter 'googleBusinessProfileIngestionRuleId' is set
|
|
24042
|
+
if(googleBusinessProfileIngestionRuleId===undefined||googleBusinessProfileIngestionRuleId===null||googleBusinessProfileIngestionRuleId===''){throw'Missing the required parameter "googleBusinessProfileIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/googlebusinessprofile/{googleBusinessProfileIngestionRuleId}','PUT',{'topicId':topicId,'googleBusinessProfileIngestionRuleId':googleBusinessProfileIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23779
24043
|
* Update the Instagram data ingestion rule.
|
|
23780
24044
|
*
|
|
23781
24045
|
* @param {String} topicId topicId
|
|
@@ -23805,7 +24069,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23805
24069
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){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(){/**
|
|
23806
24070
|
* SpeechTextAnalytics service.
|
|
23807
24071
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
23808
|
-
* @version
|
|
24072
|
+
* @version 246.0.0
|
|
23809
24073
|
*//**
|
|
23810
24074
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
23811
24075
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -24184,7 +24448,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
24184
24448
|
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(){/**
|
|
24185
24449
|
* Stations service.
|
|
24186
24450
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
24187
|
-
* @version
|
|
24451
|
+
* @version 246.0.0
|
|
24188
24452
|
*//**
|
|
24189
24453
|
* Constructs a new StationsApi.
|
|
24190
24454
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -24216,7 +24480,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
24216
24480
|
*/},{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(){/**
|
|
24217
24481
|
* Suggest service.
|
|
24218
24482
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
24219
|
-
* @version
|
|
24483
|
+
* @version 246.0.0
|
|
24220
24484
|
*//**
|
|
24221
24485
|
* Constructs a new SuggestApi.
|
|
24222
24486
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -24256,7 +24520,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24256
24520
|
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(){/**
|
|
24257
24521
|
* TaskManagement service.
|
|
24258
24522
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
24259
|
-
* @version
|
|
24523
|
+
* @version 246.0.0
|
|
24260
24524
|
*//**
|
|
24261
24525
|
* Constructs a new TaskManagementApi.
|
|
24262
24526
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -24764,7 +25028,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
24764
25028
|
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(){/**
|
|
24765
25029
|
* Teams service.
|
|
24766
25030
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
24767
|
-
* @version
|
|
25031
|
+
* @version 246.0.0
|
|
24768
25032
|
*//**
|
|
24769
25033
|
* Constructs a new TeamsApi.
|
|
24770
25034
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -24844,7 +25108,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24844
25108
|
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(){/**
|
|
24845
25109
|
* Telephony service.
|
|
24846
25110
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
24847
|
-
* @version
|
|
25111
|
+
* @version 246.0.0
|
|
24848
25112
|
*//**
|
|
24849
25113
|
* Constructs a new TelephonyApi.
|
|
24850
25114
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -24911,7 +25175,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24911
25175
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
24912
25176
|
* TelephonyProvidersEdge service.
|
|
24913
25177
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
24914
|
-
* @version
|
|
25178
|
+
* @version 246.0.0
|
|
24915
25179
|
*//**
|
|
24916
25180
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
24917
25181
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -25759,7 +26023,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
25759
26023
|
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(){/**
|
|
25760
26024
|
* Textbots service.
|
|
25761
26025
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
25762
|
-
* @version
|
|
26026
|
+
* @version 246.0.0
|
|
25763
26027
|
*//**
|
|
25764
26028
|
* Constructs a new TextbotsApi.
|
|
25765
26029
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -25795,7 +26059,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
25795
26059
|
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(){/**
|
|
25796
26060
|
* Tokens service.
|
|
25797
26061
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
25798
|
-
* @version
|
|
26062
|
+
* @version 246.0.0
|
|
25799
26063
|
*//**
|
|
25800
26064
|
* Constructs a new TokensApi.
|
|
25801
26065
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -25829,7 +26093,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
25829
26093
|
*/},{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(){/**
|
|
25830
26094
|
* Uploads service.
|
|
25831
26095
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
25832
|
-
* @version
|
|
26096
|
+
* @version 246.0.0
|
|
25833
26097
|
*//**
|
|
25834
26098
|
* Constructs a new UploadsApi.
|
|
25835
26099
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -25902,7 +26166,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25902
26166
|
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(){/**
|
|
25903
26167
|
* Usage service.
|
|
25904
26168
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
25905
|
-
* @version
|
|
26169
|
+
* @version 246.0.0
|
|
25906
26170
|
*//**
|
|
25907
26171
|
* Constructs a new UsageApi.
|
|
25908
26172
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -25986,7 +26250,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25986
26250
|
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(){/**
|
|
25987
26251
|
* UserRecordings service.
|
|
25988
26252
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
25989
|
-
* @version
|
|
26253
|
+
* @version 246.0.0
|
|
25990
26254
|
*//**
|
|
25991
26255
|
* Constructs a new UserRecordingsApi.
|
|
25992
26256
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -26034,7 +26298,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
26034
26298
|
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(){/**
|
|
26035
26299
|
* Users service.
|
|
26036
26300
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
26037
|
-
* @version
|
|
26301
|
+
* @version 246.0.0
|
|
26038
26302
|
*//**
|
|
26039
26303
|
* Constructs a new UsersApi.
|
|
26040
26304
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -26884,7 +27148,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
26884
27148
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersCustomattributesSchema';}return this.apiClient.callApi('/api/v2/users/customattributes/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersRulesApi=/*#__PURE__*/function(){/**
|
|
26885
27149
|
* UsersRules service.
|
|
26886
27150
|
* @module purecloud-platform-client-v2/api/UsersRulesApi
|
|
26887
|
-
* @version
|
|
27151
|
+
* @version 246.0.0
|
|
26888
27152
|
*//**
|
|
26889
27153
|
* Constructs a new UsersRulesApi.
|
|
26890
27154
|
* @alias module:purecloud-platform-client-v2/api/UsersRulesApi
|
|
@@ -26895,13 +27159,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26895
27159
|
* Delete an existing users rule
|
|
26896
27160
|
*
|
|
26897
27161
|
* @param {String} ruleId The id of the rule
|
|
26898
|
-
* deleteUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26899
27162
|
*/return _createClass(UsersRulesApi,[{key:"deleteUsersRule",value:function deleteUsersRule(ruleId){// verify the required parameter 'ruleId' is set
|
|
26900
27163
|
if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling deleteUsersRule';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}','DELETE',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26901
27164
|
* Get a users rule
|
|
26902
27165
|
*
|
|
26903
27166
|
* @param {String} ruleId The ID of the rule to retrieve
|
|
26904
|
-
* getUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26905
27167
|
*/},{key:"getUsersRule",value:function getUsersRule(ruleId){// verify the required parameter 'ruleId' is set
|
|
26906
27168
|
if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling getUsersRule';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}','GET',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26907
27169
|
* Get dependent of a users rule
|
|
@@ -26909,7 +27171,6 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
26909
27171
|
* @param {String} ruleId The ID of the rule for which to retrieve dependents
|
|
26910
27172
|
* @param {Object} ruleType The type of the dependent
|
|
26911
27173
|
* @param {String} typeId The type ID of the dependent
|
|
26912
|
-
* getUsersRuleDependentTypeId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26913
27174
|
*/},{key:"getUsersRuleDependentTypeId",value:function getUsersRuleDependentTypeId(ruleId,ruleType,typeId){// verify the required parameter 'ruleId' is set
|
|
26914
27175
|
if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling getUsersRuleDependentTypeId';}// verify the required parameter 'ruleType' is set
|
|
26915
27176
|
if(ruleType===undefined||ruleType===null||ruleType===''){throw'Missing the required parameter "ruleType" when calling getUsersRuleDependentTypeId';}// verify the required parameter 'typeId' is set
|
|
@@ -26921,7 +27182,6 @@ if(typeId===undefined||typeId===null||typeId===''){throw'Missing the required pa
|
|
|
26921
27182
|
* @param {Number} opts.pageSize Number of results per page (default to 25)
|
|
26922
27183
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
26923
27184
|
* @param {Object} opts.sortOrder Sort order for dependents (by last run date, then created date) (default to descending)
|
|
26924
|
-
* getUsersRuleDependents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26925
27185
|
*/},{key:"getUsersRuleDependents",value:function getUsersRuleDependents(ruleId,opts){opts=opts||{};// verify the required parameter 'ruleId' is set
|
|
26926
27186
|
if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling getUsersRuleDependents';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}/dependents','GET',{'ruleId':ruleId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26927
27187
|
* Get the list of users rules
|
|
@@ -26934,27 +27194,23 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
26934
27194
|
* @param {Boolean} opts.enabled Whether to list enabled or disabled rules
|
|
26935
27195
|
* @param {String} opts.searchTerm a search term for finding a rule by name
|
|
26936
27196
|
* @param {Object} opts.sortOrder sort rules by name, ascending, descending (default to ascending)
|
|
26937
|
-
* getUsersRules is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26938
27197
|
*/},{key:"getUsersRules",value:function getUsersRules(types,opts){opts=opts||{};// verify the required parameter 'types' is set
|
|
26939
27198
|
if(types===undefined||types===null){throw'Missing the required parameter "types" when calling getUsersRules';}return this.apiClient.callApi('/api/v2/users/rules','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'types':this.apiClient.buildCollectionParam(types,'multi'),'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'enabled':opts['enabled'],'searchTerm':opts['searchTerm'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26940
27199
|
* Get the settings for a specific users rule type
|
|
26941
27200
|
*
|
|
26942
27201
|
* @param {Object} ruleType The type of the rule
|
|
26943
|
-
* getUsersRulesSetting is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26944
27202
|
*/},{key:"getUsersRulesSetting",value:function getUsersRulesSetting(ruleType){// verify the required parameter 'ruleType' is set
|
|
26945
27203
|
if(ruleType===undefined||ruleType===null||ruleType===''){throw'Missing the required parameter "ruleType" when calling getUsersRulesSetting';}return this.apiClient.callApi('/api/v2/users/rules/settings/{ruleType}','GET',{'ruleType':ruleType},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26946
27204
|
* Update an existing users rule
|
|
26947
27205
|
* This will update an existing users rule with the specified fields.
|
|
26948
27206
|
* @param {String} ruleId The ID of the rule to update
|
|
26949
27207
|
* @param {Object} body updateRuleRequest
|
|
26950
|
-
* patchUsersRule is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26951
27208
|
*/},{key:"patchUsersRule",value:function patchUsersRule(ruleId,body){// verify the required parameter 'ruleId' is set
|
|
26952
27209
|
if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required parameter "ruleId" when calling patchUsersRule';}// verify the required parameter 'body' is set
|
|
26953
27210
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUsersRule';}return this.apiClient.callApi('/api/v2/users/rules/{ruleId}','PATCH',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26954
27211
|
* Create a new rule
|
|
26955
27212
|
* This will create a new rule with the specified fields.
|
|
26956
27213
|
* @param {Object} body usersRulesCreateRuleRequest
|
|
26957
|
-
* postUsersRules is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26958
27214
|
*/},{key:"postUsersRules",value:function postUsersRules(body){// verify the required parameter 'body' is set
|
|
26959
27215
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRules';}return this.apiClient.callApi('/api/v2/users/rules','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26960
27216
|
* Query the result of a users rule
|
|
@@ -26963,12 +27219,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26963
27219
|
* @param {Object} opts Optional parameters
|
|
26964
27220
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
26965
27221
|
* @param {Number} opts.pageSize Number of results per page (default to 25)
|
|
26966
|
-
* postUsersRulesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
26967
27222
|
*/},{key:"postUsersRulesQuery",value:function postUsersRulesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
26968
27223
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsersRulesQuery';}return this.apiClient.callApi('/api/v2/users/rules/query','POST',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
26969
27224
|
* Utilities service.
|
|
26970
27225
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
26971
|
-
* @version
|
|
27226
|
+
* @version 246.0.0
|
|
26972
27227
|
*//**
|
|
26973
27228
|
* Constructs a new UtilitiesApi.
|
|
26974
27229
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -26995,7 +27250,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26995
27250
|
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(){/**
|
|
26996
27251
|
* Voicemail service.
|
|
26997
27252
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
26998
|
-
* @version
|
|
27253
|
+
* @version 246.0.0
|
|
26999
27254
|
*//**
|
|
27000
27255
|
* Constructs a new VoicemailApi.
|
|
27001
27256
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -27157,7 +27412,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
27157
27412
|
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(){/**
|
|
27158
27413
|
* WebChat service.
|
|
27159
27414
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
27160
|
-
* @version
|
|
27415
|
+
* @version 246.0.0
|
|
27161
27416
|
*//**
|
|
27162
27417
|
* Constructs a new WebChatApi.
|
|
27163
27418
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -27304,7 +27559,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
27304
27559
|
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(){/**
|
|
27305
27560
|
* WebDeployments service.
|
|
27306
27561
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
27307
|
-
* @version
|
|
27562
|
+
* @version 246.0.0
|
|
27308
27563
|
*//**
|
|
27309
27564
|
* Constructs a new WebDeploymentsApi.
|
|
27310
27565
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -27343,10 +27598,14 @@ if(sessionId===undefined||sessionId===null||sessionId===''){throw'Missing the re
|
|
|
27343
27598
|
if(configurationId===undefined||configurationId===null||configurationId===''){throw'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersion';}// verify the required parameter 'versionId' is set
|
|
27344
27599
|
if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling getWebdeploymentsConfigurationVersion';}return this.apiClient.callApi('/api/v2/webdeployments/configurations/{configurationId}/versions/{versionId}','GET',{'configurationId':configurationId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
27345
27600
|
* Get the versions of a configuration
|
|
27346
|
-
*
|
|
27601
|
+
*
|
|
27347
27602
|
* @param {String} configurationId The configuration version ID
|
|
27348
|
-
|
|
27349
|
-
|
|
27603
|
+
* @param {Object} opts Optional parameters
|
|
27604
|
+
* @param {String} opts.pageSize Number of entities to return. Defaults to 300.
|
|
27605
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
27606
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
27607
|
+
*/},{key:"getWebdeploymentsConfigurationVersions",value:function getWebdeploymentsConfigurationVersions(configurationId,opts){opts=opts||{};// verify the required parameter 'configurationId' is set
|
|
27608
|
+
if(configurationId===undefined||configurationId===null||configurationId===''){throw'Missing the required parameter "configurationId" when calling getWebdeploymentsConfigurationVersions';}return this.apiClient.callApi('/api/v2/webdeployments/configurations/{configurationId}/versions','GET',{'configurationId':configurationId},{'pageSize':opts['pageSize'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
27350
27609
|
* Get the configuration draft
|
|
27351
27610
|
*
|
|
27352
27611
|
* @param {String} configurationId The configuration version ID
|
|
@@ -27355,8 +27614,11 @@ if(configurationId===undefined||configurationId===null||configurationId===''){th
|
|
|
27355
27614
|
* View configuration drafts
|
|
27356
27615
|
*
|
|
27357
27616
|
* @param {Object} opts Optional parameters
|
|
27617
|
+
* @param {String} opts.pageSize Number of entities to return. Defaults to 300.
|
|
27618
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
27619
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
27358
27620
|
* @param {Boolean} opts.showOnlyPublished Filter by published status.
|
|
27359
|
-
*/},{key:"getWebdeploymentsConfigurations",value:function getWebdeploymentsConfigurations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webdeployments/configurations','GET',{},{'showOnlyPublished':opts['showOnlyPublished']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
27621
|
+
*/},{key:"getWebdeploymentsConfigurations",value:function getWebdeploymentsConfigurations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webdeployments/configurations','GET',{},{'pageSize':opts['pageSize'],'before':opts['before'],'after':opts['after'],'showOnlyPublished':opts['showOnlyPublished']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
27360
27622
|
* Get a deployment
|
|
27361
27623
|
*
|
|
27362
27624
|
* @param {String} deploymentId The deployment ID
|
|
@@ -27387,8 +27649,11 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
27387
27649
|
* Get deployments
|
|
27388
27650
|
*
|
|
27389
27651
|
* @param {Object} opts Optional parameters
|
|
27652
|
+
* @param {String} opts.pageSize Number of entities to return. Defaults to 300.
|
|
27653
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
27654
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
27390
27655
|
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
|
|
27391
|
-
*/},{key:"getWebdeploymentsDeployments",value:function getWebdeploymentsDeployments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webdeployments/deployments','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
27656
|
+
*/},{key:"getWebdeploymentsDeployments",value:function getWebdeploymentsDeployments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webdeployments/deployments','GET',{},{'pageSize':opts['pageSize'],'before':opts['before'],'after':opts['after'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
27392
27657
|
* Publish the configuration draft and create a new version
|
|
27393
27658
|
*
|
|
27394
27659
|
* @param {String} configurationId The configuration version ID
|
|
@@ -27437,7 +27702,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
27437
27702
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
27438
27703
|
* WebMessaging service.
|
|
27439
27704
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
27440
|
-
* @version
|
|
27705
|
+
* @version 246.0.0
|
|
27441
27706
|
*//**
|
|
27442
27707
|
* Constructs a new WebMessagingApi.
|
|
27443
27708
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -27478,7 +27743,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
27478
27743
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
27479
27744
|
* Widgets service.
|
|
27480
27745
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
27481
|
-
* @version
|
|
27746
|
+
* @version 246.0.0
|
|
27482
27747
|
*//**
|
|
27483
27748
|
* Constructs a new WidgetsApi.
|
|
27484
27749
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -27518,7 +27783,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
27518
27783
|
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(){/**
|
|
27519
27784
|
* WorkforceManagement service.
|
|
27520
27785
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
27521
|
-
* @version
|
|
27786
|
+
* @version 246.0.0
|
|
27522
27787
|
*//**
|
|
27523
27788
|
* Constructs a new WorkforceManagementApi.
|
|
27524
27789
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -29541,7 +29806,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
29541
29806
|
* </pre>
|
|
29542
29807
|
* </p>
|
|
29543
29808
|
* @module purecloud-platform-client-v2/index
|
|
29544
|
-
* @version
|
|
29809
|
+
* @version 246.0.0
|
|
29545
29810
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
29546
29811
|
* The ApiClient constructor.
|
|
29547
29812
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|