purecloud-platform-client-v2 189.0.0 → 189.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +76 -76
- package/dist/web-amd/purecloud-platform-client-v2.js +76 -76
- package/dist/web-cjs/bundle.js +76 -76
- package/dist/web-cjs/purecloud-platform-client-v2.js +160 -105
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +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/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 +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -4120,15 +4120,18 @@ var isArray = Array.isArray;
|
|
|
4120
4120
|
|
|
4121
4121
|
var defaults = {
|
|
4122
4122
|
allowDots: false,
|
|
4123
|
+
allowEmptyArrays: false,
|
|
4123
4124
|
allowPrototypes: false,
|
|
4124
4125
|
allowSparse: false,
|
|
4125
4126
|
arrayLimit: 20,
|
|
4126
4127
|
charset: 'utf-8',
|
|
4127
4128
|
charsetSentinel: false,
|
|
4128
4129
|
comma: false,
|
|
4130
|
+
decodeDotInKeys: true,
|
|
4129
4131
|
decoder: utils.decode,
|
|
4130
4132
|
delimiter: '&',
|
|
4131
4133
|
depth: 5,
|
|
4134
|
+
duplicates: 'combine',
|
|
4132
4135
|
ignoreQueryPrefix: false,
|
|
4133
4136
|
interpretNumericEntities: false,
|
|
4134
4137
|
parameterLimit: 1000,
|
|
@@ -4216,9 +4219,10 @@ var parseValues = function parseQueryStringValues(str, options) {
|
|
|
4216
4219
|
val = isArray(val) ? [val] : val;
|
|
4217
4220
|
}
|
|
4218
4221
|
|
|
4219
|
-
|
|
4222
|
+
var existing = has.call(obj, key);
|
|
4223
|
+
if (existing && options.duplicates === 'combine') {
|
|
4220
4224
|
obj[key] = utils.combine(obj[key], val);
|
|
4221
|
-
} else {
|
|
4225
|
+
} else if (!existing || options.duplicates === 'last') {
|
|
4222
4226
|
obj[key] = val;
|
|
4223
4227
|
}
|
|
4224
4228
|
}
|
|
@@ -4234,24 +4238,25 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
|
4234
4238
|
var root = chain[i];
|
|
4235
4239
|
|
|
4236
4240
|
if (root === '[]' && options.parseArrays) {
|
|
4237
|
-
obj = [].concat(leaf);
|
|
4241
|
+
obj = options.allowEmptyArrays && leaf === '' ? [] : [].concat(leaf);
|
|
4238
4242
|
} else {
|
|
4239
4243
|
obj = options.plainObjects ? Object.create(null) : {};
|
|
4240
4244
|
var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
|
|
4241
|
-
var
|
|
4242
|
-
|
|
4245
|
+
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, '.') : cleanRoot;
|
|
4246
|
+
var index = parseInt(decodedRoot, 10);
|
|
4247
|
+
if (!options.parseArrays && decodedRoot === '') {
|
|
4243
4248
|
obj = { 0: leaf };
|
|
4244
4249
|
} else if (
|
|
4245
4250
|
!isNaN(index)
|
|
4246
|
-
&& root !==
|
|
4247
|
-
&& String(index) ===
|
|
4251
|
+
&& root !== decodedRoot
|
|
4252
|
+
&& String(index) === decodedRoot
|
|
4248
4253
|
&& index >= 0
|
|
4249
4254
|
&& (options.parseArrays && index <= options.arrayLimit)
|
|
4250
4255
|
) {
|
|
4251
4256
|
obj = [];
|
|
4252
4257
|
obj[index] = leaf;
|
|
4253
|
-
} else if (
|
|
4254
|
-
obj[
|
|
4258
|
+
} else if (decodedRoot !== '__proto__') {
|
|
4259
|
+
obj[decodedRoot] = leaf;
|
|
4255
4260
|
}
|
|
4256
4261
|
}
|
|
4257
4262
|
|
|
@@ -4320,7 +4325,15 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
4320
4325
|
return defaults;
|
|
4321
4326
|
}
|
|
4322
4327
|
|
|
4323
|
-
if (
|
|
4328
|
+
if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {
|
|
4329
|
+
throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
|
|
4330
|
+
}
|
|
4331
|
+
|
|
4332
|
+
if (typeof opts.decodeDotInKeys !== 'undefined' && typeof opts.decodeDotInKeys !== 'boolean') {
|
|
4333
|
+
throw new TypeError('`decodeDotInKeys` option can only be `true` or `false`, when provided');
|
|
4334
|
+
}
|
|
4335
|
+
|
|
4336
|
+
if (opts.decoder !== null && typeof opts.decoder !== 'undefined' && typeof opts.decoder !== 'function') {
|
|
4324
4337
|
throw new TypeError('Decoder has to be a function.');
|
|
4325
4338
|
}
|
|
4326
4339
|
|
|
@@ -4329,18 +4342,29 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
4329
4342
|
}
|
|
4330
4343
|
var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
|
|
4331
4344
|
|
|
4345
|
+
var duplicates = typeof opts.duplicates === 'undefined' ? defaults.duplicates : opts.duplicates;
|
|
4346
|
+
|
|
4347
|
+
if (duplicates !== 'combine' && duplicates !== 'first' && duplicates !== 'last') {
|
|
4348
|
+
throw new TypeError('The duplicates option must be either combine, first, or last');
|
|
4349
|
+
}
|
|
4350
|
+
|
|
4351
|
+
var allowDots = typeof opts.allowDots === 'undefined' ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
|
|
4352
|
+
|
|
4332
4353
|
return {
|
|
4333
|
-
allowDots:
|
|
4354
|
+
allowDots: allowDots,
|
|
4355
|
+
allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
|
|
4334
4356
|
allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
|
|
4335
4357
|
allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
|
|
4336
4358
|
arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
|
|
4337
4359
|
charset: charset,
|
|
4338
4360
|
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
4339
4361
|
comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
|
|
4362
|
+
decodeDotInKeys: typeof opts.decodeDotInKeys === 'boolean' ? opts.decodeDotInKeys : defaults.decodeDotInKeys,
|
|
4340
4363
|
decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
|
|
4341
4364
|
delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
|
|
4342
4365
|
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
4343
4366
|
depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,
|
|
4367
|
+
duplicates: duplicates,
|
|
4344
4368
|
ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
|
|
4345
4369
|
interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
|
|
4346
4370
|
parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
|
|
@@ -4409,10 +4433,13 @@ var defaultFormat = formats['default'];
|
|
|
4409
4433
|
var defaults = {
|
|
4410
4434
|
addQueryPrefix: false,
|
|
4411
4435
|
allowDots: false,
|
|
4436
|
+
allowEmptyArrays: false,
|
|
4437
|
+
arrayFormat: 'indices',
|
|
4412
4438
|
charset: 'utf-8',
|
|
4413
4439
|
charsetSentinel: false,
|
|
4414
4440
|
delimiter: '&',
|
|
4415
4441
|
encode: true,
|
|
4442
|
+
encodeDotInKeys: false,
|
|
4416
4443
|
encoder: utils.encode,
|
|
4417
4444
|
encodeValuesOnly: false,
|
|
4418
4445
|
format: defaultFormat,
|
|
@@ -4441,8 +4468,10 @@ var stringify = function stringify(
|
|
|
4441
4468
|
prefix,
|
|
4442
4469
|
generateArrayPrefix,
|
|
4443
4470
|
commaRoundTrip,
|
|
4471
|
+
allowEmptyArrays,
|
|
4444
4472
|
strictNullHandling,
|
|
4445
4473
|
skipNulls,
|
|
4474
|
+
encodeDotInKeys,
|
|
4446
4475
|
encoder,
|
|
4447
4476
|
filter,
|
|
4448
4477
|
sort,
|
|
@@ -4524,7 +4553,13 @@ var stringify = function stringify(
|
|
|
4524
4553
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
4525
4554
|
}
|
|
4526
4555
|
|
|
4527
|
-
var
|
|
4556
|
+
var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, '%2E') : prefix;
|
|
4557
|
+
|
|
4558
|
+
var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + '[]' : encodedPrefix;
|
|
4559
|
+
|
|
4560
|
+
if (allowEmptyArrays && isArray(obj) && obj.length === 0) {
|
|
4561
|
+
return adjustedPrefix + '[]';
|
|
4562
|
+
}
|
|
4528
4563
|
|
|
4529
4564
|
for (var j = 0; j < objKeys.length; ++j) {
|
|
4530
4565
|
var key = objKeys[j];
|
|
@@ -4534,9 +4569,10 @@ var stringify = function stringify(
|
|
|
4534
4569
|
continue;
|
|
4535
4570
|
}
|
|
4536
4571
|
|
|
4572
|
+
var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, '%2E') : key;
|
|
4537
4573
|
var keyPrefix = isArray(obj)
|
|
4538
|
-
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix,
|
|
4539
|
-
: adjustedPrefix + (allowDots ? '.' +
|
|
4574
|
+
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix
|
|
4575
|
+
: adjustedPrefix + (allowDots ? '.' + encodedKey : '[' + encodedKey + ']');
|
|
4540
4576
|
|
|
4541
4577
|
sideChannel.set(object, step);
|
|
4542
4578
|
var valueSideChannel = getSideChannel();
|
|
@@ -4546,8 +4582,10 @@ var stringify = function stringify(
|
|
|
4546
4582
|
keyPrefix,
|
|
4547
4583
|
generateArrayPrefix,
|
|
4548
4584
|
commaRoundTrip,
|
|
4585
|
+
allowEmptyArrays,
|
|
4549
4586
|
strictNullHandling,
|
|
4550
4587
|
skipNulls,
|
|
4588
|
+
encodeDotInKeys,
|
|
4551
4589
|
generateArrayPrefix === 'comma' && encodeValuesOnly && isArray(obj) ? null : encoder,
|
|
4552
4590
|
filter,
|
|
4553
4591
|
sort,
|
|
@@ -4569,6 +4607,14 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
|
4569
4607
|
return defaults;
|
|
4570
4608
|
}
|
|
4571
4609
|
|
|
4610
|
+
if (typeof opts.allowEmptyArrays !== 'undefined' && typeof opts.allowEmptyArrays !== 'boolean') {
|
|
4611
|
+
throw new TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
|
|
4612
|
+
}
|
|
4613
|
+
|
|
4614
|
+
if (typeof opts.encodeDotInKeys !== 'undefined' && typeof opts.encodeDotInKeys !== 'boolean') {
|
|
4615
|
+
throw new TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided');
|
|
4616
|
+
}
|
|
4617
|
+
|
|
4572
4618
|
if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
|
|
4573
4619
|
throw new TypeError('Encoder has to be a function.');
|
|
4574
4620
|
}
|
|
@@ -4592,13 +4638,32 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
|
4592
4638
|
filter = opts.filter;
|
|
4593
4639
|
}
|
|
4594
4640
|
|
|
4641
|
+
var arrayFormat;
|
|
4642
|
+
if (opts.arrayFormat in arrayPrefixGenerators) {
|
|
4643
|
+
arrayFormat = opts.arrayFormat;
|
|
4644
|
+
} else if ('indices' in opts) {
|
|
4645
|
+
arrayFormat = opts.indices ? 'indices' : 'repeat';
|
|
4646
|
+
} else {
|
|
4647
|
+
arrayFormat = defaults.arrayFormat;
|
|
4648
|
+
}
|
|
4649
|
+
|
|
4650
|
+
if ('commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {
|
|
4651
|
+
throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
|
|
4652
|
+
}
|
|
4653
|
+
|
|
4654
|
+
var allowDots = typeof opts.allowDots === 'undefined' ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
|
|
4655
|
+
|
|
4595
4656
|
return {
|
|
4596
4657
|
addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
|
|
4597
|
-
allowDots:
|
|
4658
|
+
allowDots: allowDots,
|
|
4659
|
+
allowEmptyArrays: typeof opts.allowEmptyArrays === 'boolean' ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
|
|
4660
|
+
arrayFormat: arrayFormat,
|
|
4598
4661
|
charset: charset,
|
|
4599
4662
|
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
4663
|
+
commaRoundTrip: opts.commaRoundTrip,
|
|
4600
4664
|
delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
|
|
4601
4665
|
encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
|
|
4666
|
+
encodeDotInKeys: typeof opts.encodeDotInKeys === 'boolean' ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
|
|
4602
4667
|
encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
|
|
4603
4668
|
encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
|
|
4604
4669
|
filter: filter,
|
|
@@ -4632,20 +4697,8 @@ module.exports = function (object, opts) {
|
|
|
4632
4697
|
return '';
|
|
4633
4698
|
}
|
|
4634
4699
|
|
|
4635
|
-
var arrayFormat;
|
|
4636
|
-
|
|
4637
|
-
arrayFormat = opts.arrayFormat;
|
|
4638
|
-
} else if (opts && 'indices' in opts) {
|
|
4639
|
-
arrayFormat = opts.indices ? 'indices' : 'repeat';
|
|
4640
|
-
} else {
|
|
4641
|
-
arrayFormat = 'indices';
|
|
4642
|
-
}
|
|
4643
|
-
|
|
4644
|
-
var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
|
|
4645
|
-
if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {
|
|
4646
|
-
throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
|
|
4647
|
-
}
|
|
4648
|
-
var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip;
|
|
4700
|
+
var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];
|
|
4701
|
+
var commaRoundTrip = generateArrayPrefix === 'comma' && options.commaRoundTrip;
|
|
4649
4702
|
|
|
4650
4703
|
if (!objKeys) {
|
|
4651
4704
|
objKeys = Object.keys(obj);
|
|
@@ -4667,8 +4720,10 @@ module.exports = function (object, opts) {
|
|
|
4667
4720
|
key,
|
|
4668
4721
|
generateArrayPrefix,
|
|
4669
4722
|
commaRoundTrip,
|
|
4723
|
+
options.allowEmptyArrays,
|
|
4670
4724
|
options.strictNullHandling,
|
|
4671
4725
|
options.skipNulls,
|
|
4726
|
+
options.encodeDotInKeys,
|
|
4672
4727
|
options.encode ? options.encoder : null,
|
|
4673
4728
|
options.filter,
|
|
4674
4729
|
options.sort,
|
|
@@ -5980,7 +6035,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
5980
6035
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
5981
6036
|
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:"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];}}}]);return Configuration;}();/**
|
|
5982
6037
|
* @module purecloud-platform-client-v2/ApiClient
|
|
5983
|
-
* @version 189.
|
|
6038
|
+
* @version 189.1.0
|
|
5984
6039
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
5985
6040
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
5986
6041
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6292,7 +6347,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6292
6347
|
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);});}});}}]);return ApiClient;}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
6293
6348
|
* Alerting service.
|
|
6294
6349
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6295
|
-
* @version 189.
|
|
6350
|
+
* @version 189.1.0
|
|
6296
6351
|
*/ /**
|
|
6297
6352
|
* Constructs a new AlertingApi.
|
|
6298
6353
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6449,7 +6504,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6449
6504
|
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']);}}]);return AlertingApi;}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
6450
6505
|
* Analytics service.
|
|
6451
6506
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6452
|
-
* @version 189.
|
|
6507
|
+
* @version 189.1.0
|
|
6453
6508
|
*/ /**
|
|
6454
6509
|
* Constructs a new AnalyticsApi.
|
|
6455
6510
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7059,7 +7114,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
7059
7114
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsReportingSchedule';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules/{scheduleId}','PUT',{'scheduleId':scheduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AnalyticsApi;}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
7060
7115
|
* Architect service.
|
|
7061
7116
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7062
|
-
* @version 189.
|
|
7117
|
+
* @version 189.1.0
|
|
7063
7118
|
*/ /**
|
|
7064
7119
|
* Constructs a new ArchitectApi.
|
|
7065
7120
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8175,7 +8230,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8175
8230
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ArchitectApi;}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8176
8231
|
* Audit service.
|
|
8177
8232
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8178
|
-
* @version 189.
|
|
8233
|
+
* @version 189.1.0
|
|
8179
8234
|
*/ /**
|
|
8180
8235
|
* Constructs a new AuditApi.
|
|
8181
8236
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8217,7 +8272,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8217
8272
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuditApi;}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
8218
8273
|
* Authorization service.
|
|
8219
8274
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8220
|
-
* @version 189.
|
|
8275
|
+
* @version 189.1.0
|
|
8221
8276
|
*/ /**
|
|
8222
8277
|
* Constructs a new AuthorizationApi.
|
|
8223
8278
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8528,7 +8583,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8528
8583
|
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']);}}]);return AuthorizationApi;}();var BillingApi=/*#__PURE__*/function(){/**
|
|
8529
8584
|
* Billing service.
|
|
8530
8585
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8531
|
-
* @version 189.
|
|
8586
|
+
* @version 189.1.0
|
|
8532
8587
|
*/ /**
|
|
8533
8588
|
* Constructs a new BillingApi.
|
|
8534
8589
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8552,7 +8607,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8552
8607
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return BillingApi;}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
8553
8608
|
* CarrierServices service.
|
|
8554
8609
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8555
|
-
* @version 189.
|
|
8610
|
+
* @version 189.1.0
|
|
8556
8611
|
*/ /**
|
|
8557
8612
|
* Constructs a new CarrierServicesApi.
|
|
8558
8613
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8572,7 +8627,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8572
8627
|
*/},{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']);}}]);return CarrierServicesApi;}();var ChatApi=/*#__PURE__*/function(){/**
|
|
8573
8628
|
* Chat service.
|
|
8574
8629
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8575
|
-
* @version 189.
|
|
8630
|
+
* @version 189.1.0
|
|
8576
8631
|
*/ /**
|
|
8577
8632
|
* Constructs a new ChatApi.
|
|
8578
8633
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8765,7 +8820,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8765
8820
|
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']);}}]);return ChatApi;}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
8766
8821
|
* Coaching service.
|
|
8767
8822
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8768
|
-
* @version 189.
|
|
8823
|
+
* @version 189.1.0
|
|
8769
8824
|
*/ /**
|
|
8770
8825
|
* Constructs a new CoachingApi.
|
|
8771
8826
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -8918,7 +8973,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8918
8973
|
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']);}}]);return CoachingApi;}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
8919
8974
|
* ContentManagement service.
|
|
8920
8975
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8921
|
-
* @version 189.
|
|
8976
|
+
* @version 189.1.0
|
|
8922
8977
|
*/ /**
|
|
8923
8978
|
* Constructs a new ContentManagementApi.
|
|
8924
8979
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9201,7 +9256,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9201
9256
|
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']);}}]);return ContentManagementApi;}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
9202
9257
|
* Conversations service.
|
|
9203
9258
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9204
|
-
* @version 189.
|
|
9259
|
+
* @version 189.1.0
|
|
9205
9260
|
*/ /**
|
|
9206
9261
|
* Constructs a new ConversationsApi.
|
|
9207
9262
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10932,7 +10987,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
10932
10987
|
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']);}}]);return ConversationsApi;}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
10933
10988
|
* DataExtensions service.
|
|
10934
10989
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
10935
|
-
* @version 189.
|
|
10990
|
+
* @version 189.1.0
|
|
10936
10991
|
*/ /**
|
|
10937
10992
|
* Constructs a new DataExtensionsApi.
|
|
10938
10993
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -10953,7 +11008,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10953
11008
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DataExtensionsApi;}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
10954
11009
|
* Downloads service.
|
|
10955
11010
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
10956
|
-
* @version 189.
|
|
11011
|
+
* @version 189.1.0
|
|
10957
11012
|
*/ /**
|
|
10958
11013
|
* Constructs a new DownloadsApi.
|
|
10959
11014
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -10972,7 +11027,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10972
11027
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DownloadsApi;}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
10973
11028
|
* Emails service.
|
|
10974
11029
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
10975
|
-
* @version 189.
|
|
11030
|
+
* @version 189.1.0
|
|
10976
11031
|
*/ /**
|
|
10977
11032
|
* Constructs a new EmailsApi.
|
|
10978
11033
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -10990,7 +11045,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
10990
11045
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return EmailsApi;}();var EventsApi=/*#__PURE__*/function(){/**
|
|
10991
11046
|
* Events service.
|
|
10992
11047
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
10993
|
-
* @version 189.
|
|
11048
|
+
* @version 189.1.0
|
|
10994
11049
|
*/ /**
|
|
10995
11050
|
* Constructs a new EventsApi.
|
|
10996
11051
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11015,7 +11070,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11015
11070
|
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']);}}]);return EventsApi;}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
11016
11071
|
* ExternalContacts service.
|
|
11017
11072
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11018
|
-
* @version 189.
|
|
11073
|
+
* @version 189.1.0
|
|
11019
11074
|
*/ /**
|
|
11020
11075
|
* Constructs a new ExternalContactsApi.
|
|
11021
11076
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11470,7 +11525,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11470
11525
|
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']);}}]);return ExternalContactsApi;}();var FaxApi=/*#__PURE__*/function(){/**
|
|
11471
11526
|
* Fax service.
|
|
11472
11527
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11473
|
-
* @version 189.
|
|
11528
|
+
* @version 189.1.0
|
|
11474
11529
|
*/ /**
|
|
11475
11530
|
* Constructs a new FaxApi.
|
|
11476
11531
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11511,7 +11566,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
11511
11566
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFaxDocument';}return this.apiClient.callApi('/api/v2/fax/documents/{documentId}','PUT',{'documentId':documentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FaxApi;}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
11512
11567
|
* Flows service.
|
|
11513
11568
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11514
|
-
* @version 189.
|
|
11569
|
+
* @version 189.1.0
|
|
11515
11570
|
*/ /**
|
|
11516
11571
|
* Constructs a new FlowsApi.
|
|
11517
11572
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11560,7 +11615,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11560
11615
|
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']);}}]);return FlowsApi;}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
11561
11616
|
* Gamification service.
|
|
11562
11617
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11563
|
-
* @version 189.
|
|
11618
|
+
* @version 189.1.0
|
|
11564
11619
|
*/ /**
|
|
11565
11620
|
* Constructs a new GamificationApi.
|
|
11566
11621
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12100,7 +12155,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12100
12155
|
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']);}}]);return GamificationApi;}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
12101
12156
|
* GeneralDataProtectionRegulation service.
|
|
12102
12157
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12103
|
-
* @version 189.
|
|
12158
|
+
* @version 189.1.0
|
|
12104
12159
|
*/ /**
|
|
12105
12160
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12106
12161
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12135,7 +12190,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12135
12190
|
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']);}}]);return GeneralDataProtectionRegulationApi;}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
12136
12191
|
* Geolocation service.
|
|
12137
12192
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12138
|
-
* @version 189.
|
|
12193
|
+
* @version 189.1.0
|
|
12139
12194
|
*/ /**
|
|
12140
12195
|
* Constructs a new GeolocationApi.
|
|
12141
12196
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12169,7 +12224,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12169
12224
|
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']);}}]);return GeolocationApi;}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
12170
12225
|
* Greetings service.
|
|
12171
12226
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12172
|
-
* @version 189.
|
|
12227
|
+
* @version 189.1.0
|
|
12173
12228
|
*/ /**
|
|
12174
12229
|
* Constructs a new GreetingsApi.
|
|
12175
12230
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12276,7 +12331,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12276
12331
|
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']);}}]);return GreetingsApi;}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
12277
12332
|
* Groups service.
|
|
12278
12333
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12279
|
-
* @version 189.
|
|
12334
|
+
* @version 189.1.0
|
|
12280
12335
|
*/ /**
|
|
12281
12336
|
* Constructs a new GroupsApi.
|
|
12282
12337
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12409,7 +12464,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12409
12464
|
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']);}}]);return GroupsApi;}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
12410
12465
|
* IdentityProvider service.
|
|
12411
12466
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12412
|
-
* @version 189.
|
|
12467
|
+
* @version 189.1.0
|
|
12413
12468
|
*/ /**
|
|
12414
12469
|
* Constructs a new IdentityProviderApi.
|
|
12415
12470
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12565,7 +12620,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12565
12620
|
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']);}}]);return IdentityProviderApi;}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
12566
12621
|
* InfrastructureAsCode service.
|
|
12567
12622
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12568
|
-
* @version 189.
|
|
12623
|
+
* @version 189.1.0
|
|
12569
12624
|
*/ /**
|
|
12570
12625
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12571
12626
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12619,7 +12674,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12619
12674
|
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']);}}]);return InfrastructureAsCodeApi;}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
12620
12675
|
* Integrations service.
|
|
12621
12676
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12622
|
-
* @version 189.
|
|
12677
|
+
* @version 189.1.0
|
|
12623
12678
|
*/ /**
|
|
12624
12679
|
* Constructs a new IntegrationsApi.
|
|
12625
12680
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13229,7 +13284,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13229
13284
|
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']);}}]);return IntegrationsApi;}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
13230
13285
|
* Journey service.
|
|
13231
13286
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13232
|
-
* @version 189.
|
|
13287
|
+
* @version 189.1.0
|
|
13233
13288
|
*/ /**
|
|
13234
13289
|
* Constructs a new JourneyApi.
|
|
13235
13290
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13566,7 +13621,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13566
13621
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViews';}return this.apiClient.callApi('/api/v2/journey/views','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
13567
13622
|
* Knowledge service.
|
|
13568
13623
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13569
|
-
* @version 189.
|
|
13624
|
+
* @version 189.1.0
|
|
13570
13625
|
*/ /**
|
|
13571
13626
|
* Constructs a new KnowledgeApi.
|
|
13572
13627
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14478,7 +14533,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14478
14533
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return KnowledgeApi;}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
14479
14534
|
* LanguageUnderstanding service.
|
|
14480
14535
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14481
|
-
* @version 189.
|
|
14536
|
+
* @version 189.1.0
|
|
14482
14537
|
*/ /**
|
|
14483
14538
|
* Constructs a new LanguageUnderstandingApi.
|
|
14484
14539
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14734,7 +14789,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14734
14789
|
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']);}}]);return LanguageUnderstandingApi;}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
14735
14790
|
* Languages service.
|
|
14736
14791
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14737
|
-
* @version 189.
|
|
14792
|
+
* @version 189.1.0
|
|
14738
14793
|
*/ /**
|
|
14739
14794
|
* Constructs a new LanguagesApi.
|
|
14740
14795
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14789,7 +14844,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14789
14844
|
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']);}}]);return LanguagesApi;}();var LearningApi=/*#__PURE__*/function(){/**
|
|
14790
14845
|
* Learning service.
|
|
14791
14846
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14792
|
-
* @version 189.
|
|
14847
|
+
* @version 189.1.0
|
|
14793
14848
|
*/ /**
|
|
14794
14849
|
* Constructs a new LearningApi.
|
|
14795
14850
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -15019,7 +15074,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15019
15074
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LearningApi;}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
15020
15075
|
* License service.
|
|
15021
15076
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15022
|
-
* @version 189.
|
|
15077
|
+
* @version 189.1.0
|
|
15023
15078
|
*/ /**
|
|
15024
15079
|
* Constructs a new LicenseApi.
|
|
15025
15080
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15073,7 +15128,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15073
15128
|
*/},{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']);}}]);return LicenseApi;}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
15074
15129
|
* Locations service.
|
|
15075
15130
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15076
|
-
* @version 189.
|
|
15131
|
+
* @version 189.1.0
|
|
15077
15132
|
*/ /**
|
|
15078
15133
|
* Constructs a new LocationsApi.
|
|
15079
15134
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -15132,7 +15187,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15132
15187
|
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']);}}]);return LocationsApi;}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
15133
15188
|
* LogCapture service.
|
|
15134
15189
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
15135
|
-
* @version 189.
|
|
15190
|
+
* @version 189.1.0
|
|
15136
15191
|
*/ /**
|
|
15137
15192
|
* Constructs a new LogCaptureApi.
|
|
15138
15193
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -15182,7 +15237,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15182
15237
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LogCaptureApi;}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
15183
15238
|
* Messaging service.
|
|
15184
15239
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
15185
|
-
* @version 189.
|
|
15240
|
+
* @version 189.1.0
|
|
15186
15241
|
*/ /**
|
|
15187
15242
|
* Constructs a new MessagingApi.
|
|
15188
15243
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15272,7 +15327,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15272
15327
|
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']);}}]);return MessagingApi;}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
15273
15328
|
* MobileDevices service.
|
|
15274
15329
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15275
|
-
* @version 189.
|
|
15330
|
+
* @version 189.1.0
|
|
15276
15331
|
*/ /**
|
|
15277
15332
|
* Constructs a new MobileDevicesApi.
|
|
15278
15333
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15311,7 +15366,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15311
15366
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return MobileDevicesApi;}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
15312
15367
|
* Notifications service.
|
|
15313
15368
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15314
|
-
* @version 189.
|
|
15369
|
+
* @version 189.1.0
|
|
15315
15370
|
*/ /**
|
|
15316
15371
|
* Constructs a new NotificationsApi.
|
|
15317
15372
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15368,7 +15423,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15368
15423
|
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']);}}]);return NotificationsApi;}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
15369
15424
|
* OAuth service.
|
|
15370
15425
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15371
|
-
* @version 189.
|
|
15426
|
+
* @version 189.1.0
|
|
15372
15427
|
*/ /**
|
|
15373
15428
|
* Constructs a new OAuthApi.
|
|
15374
15429
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15453,7 +15508,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15453
15508
|
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']);}}]);return OAuthApi;}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
15454
15509
|
* Objects service.
|
|
15455
15510
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15456
|
-
* @version 189.
|
|
15511
|
+
* @version 189.1.0
|
|
15457
15512
|
*/ /**
|
|
15458
15513
|
* Constructs a new ObjectsApi.
|
|
15459
15514
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15524,7 +15579,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15524
15579
|
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']);}}]);return ObjectsApi;}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
15525
15580
|
* OperationalEvents service.
|
|
15526
15581
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15527
|
-
* @version 189.
|
|
15582
|
+
* @version 189.1.0
|
|
15528
15583
|
*/ /**
|
|
15529
15584
|
* Constructs a new OperationalEventsApi.
|
|
15530
15585
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15542,7 +15597,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15542
15597
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OperationalEventsApi;}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
15543
15598
|
* Organization service.
|
|
15544
15599
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15545
|
-
* @version 189.
|
|
15600
|
+
* @version 189.1.0
|
|
15546
15601
|
*/ /**
|
|
15547
15602
|
* Constructs a new OrganizationApi.
|
|
15548
15603
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15644,7 +15699,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15644
15699
|
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']);}}]);return OrganizationApi;}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
15645
15700
|
* OrganizationAuthorization service.
|
|
15646
15701
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15647
|
-
* @version 189.
|
|
15702
|
+
* @version 189.1.0
|
|
15648
15703
|
*/ /**
|
|
15649
15704
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15650
15705
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -15967,7 +16022,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
15967
16022
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OrganizationAuthorizationApi;}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
15968
16023
|
* Outbound service.
|
|
15969
16024
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
15970
|
-
* @version 189.
|
|
16025
|
+
* @version 189.1.0
|
|
15971
16026
|
*/ /**
|
|
15972
16027
|
* Constructs a new OutboundApi.
|
|
15973
16028
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -17005,7 +17060,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17005
17060
|
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']);}}]);return OutboundApi;}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
17006
17061
|
* Presence service.
|
|
17007
17062
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
17008
|
-
* @version 189.
|
|
17063
|
+
* @version 189.1.0
|
|
17009
17064
|
*/ /**
|
|
17010
17065
|
* Constructs a new PresenceApi.
|
|
17011
17066
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -17178,7 +17233,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17178
17233
|
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']);}}]);return PresenceApi;}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
17179
17234
|
* ProcessAutomation service.
|
|
17180
17235
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
17181
|
-
* @version 189.
|
|
17236
|
+
* @version 189.1.0
|
|
17182
17237
|
*/ /**
|
|
17183
17238
|
* Constructs a new ProcessAutomationApi.
|
|
17184
17239
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17241,7 +17296,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17241
17296
|
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']);}}]);return ProcessAutomationApi;}();var QualityApi=/*#__PURE__*/function(){/**
|
|
17242
17297
|
* Quality service.
|
|
17243
17298
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17244
|
-
* @version 189.
|
|
17299
|
+
* @version 189.1.0
|
|
17245
17300
|
*/ /**
|
|
17246
17301
|
* Constructs a new QualityApi.
|
|
17247
17302
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17712,7 +17767,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17712
17767
|
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']);}}]);return QualityApi;}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
17713
17768
|
* Recording service.
|
|
17714
17769
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17715
|
-
* @version 189.
|
|
17770
|
+
* @version 189.1.0
|
|
17716
17771
|
*/ /**
|
|
17717
17772
|
* Constructs a new RecordingApi.
|
|
17718
17773
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -18119,7 +18174,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18119
18174
|
*/},{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']);}}]);return RecordingApi;}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
18120
18175
|
* ResponseManagement service.
|
|
18121
18176
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
18122
|
-
* @version 189.
|
|
18177
|
+
* @version 189.1.0
|
|
18123
18178
|
*/ /**
|
|
18124
18179
|
* Constructs a new ResponseManagementApi.
|
|
18125
18180
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18235,7 +18290,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18235
18290
|
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']);}}]);return ResponseManagementApi;}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
18236
18291
|
* Routing service.
|
|
18237
18292
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18238
|
-
* @version 189.
|
|
18293
|
+
* @version 189.1.0
|
|
18239
18294
|
*/ /**
|
|
18240
18295
|
* Constructs a new RoutingApi.
|
|
18241
18296
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -19203,7 +19258,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19203
19258
|
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']);}}]);return RoutingApi;}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
19204
19259
|
* SCIM service.
|
|
19205
19260
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
19206
|
-
* @version 189.
|
|
19261
|
+
* @version 189.1.0
|
|
19207
19262
|
*/ /**
|
|
19208
19263
|
* Constructs a new SCIMApi.
|
|
19209
19264
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19428,7 +19483,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19428
19483
|
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']);}}]);return SCIMApi;}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
19429
19484
|
* ScreenRecording service.
|
|
19430
19485
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19431
|
-
* @version 189.
|
|
19486
|
+
* @version 189.1.0
|
|
19432
19487
|
*/ /**
|
|
19433
19488
|
* Constructs a new ScreenRecordingApi.
|
|
19434
19489
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19443,7 +19498,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19443
19498
|
*/_createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ScreenRecordingApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
19444
19499
|
* Scripts service.
|
|
19445
19500
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19446
|
-
* @version 189.
|
|
19501
|
+
* @version 189.1.0
|
|
19447
19502
|
*/ /**
|
|
19448
19503
|
* Constructs a new ScriptsApi.
|
|
19449
19504
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19579,7 +19634,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19579
19634
|
*/},{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']);}}]);return ScriptsApi;}();var SearchApi=/*#__PURE__*/function(){/**
|
|
19580
19635
|
* Search service.
|
|
19581
19636
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19582
|
-
* @version 189.
|
|
19637
|
+
* @version 189.1.0
|
|
19583
19638
|
*/ /**
|
|
19584
19639
|
* Constructs a new SearchApi.
|
|
19585
19640
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -19739,7 +19794,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19739
19794
|
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']);}}]);return SearchApi;}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
19740
19795
|
* Settings service.
|
|
19741
19796
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19742
|
-
* @version 189.
|
|
19797
|
+
* @version 189.1.0
|
|
19743
19798
|
*/ /**
|
|
19744
19799
|
* Constructs a new SettingsApi.
|
|
19745
19800
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -19767,7 +19822,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19767
19822
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SettingsApi;}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
19768
19823
|
* SpeechTextAnalytics service.
|
|
19769
19824
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
19770
|
-
* @version 189.
|
|
19825
|
+
* @version 189.1.0
|
|
19771
19826
|
*/ /**
|
|
19772
19827
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
19773
19828
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -20011,7 +20066,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20011
20066
|
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']);}}]);return SpeechTextAnalyticsApi;}();var StationsApi=/*#__PURE__*/function(){/**
|
|
20012
20067
|
* Stations service.
|
|
20013
20068
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
20014
|
-
* @version 189.
|
|
20069
|
+
* @version 189.1.0
|
|
20015
20070
|
*/ /**
|
|
20016
20071
|
* Constructs a new StationsApi.
|
|
20017
20072
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -20043,7 +20098,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
20043
20098
|
*/},{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']);}}]);return StationsApi;}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
20044
20099
|
* Suggest service.
|
|
20045
20100
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
20046
|
-
* @version 189.
|
|
20101
|
+
* @version 189.1.0
|
|
20047
20102
|
*/ /**
|
|
20048
20103
|
* Constructs a new SuggestApi.
|
|
20049
20104
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -20083,7 +20138,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20083
20138
|
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']);}}]);return SuggestApi;}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
20084
20139
|
* TaskManagement service.
|
|
20085
20140
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
20086
|
-
* @version 189.
|
|
20141
|
+
* @version 189.1.0
|
|
20087
20142
|
*/ /**
|
|
20088
20143
|
* Constructs a new TaskManagementApi.
|
|
20089
20144
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20431,7 +20486,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20431
20486
|
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']);}}]);return TaskManagementApi;}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
20432
20487
|
* Teams service.
|
|
20433
20488
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20434
|
-
* @version 189.
|
|
20489
|
+
* @version 189.1.0
|
|
20435
20490
|
*/ /**
|
|
20436
20491
|
* Constructs a new TeamsApi.
|
|
20437
20492
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20510,7 +20565,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20510
20565
|
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']);}}]);return TeamsApi;}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
20511
20566
|
* Telephony service.
|
|
20512
20567
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20513
|
-
* @version 189.
|
|
20568
|
+
* @version 189.1.0
|
|
20514
20569
|
*/ /**
|
|
20515
20570
|
* Constructs a new TelephonyApi.
|
|
20516
20571
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20557,7 +20612,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20557
20612
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TelephonyApi;}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
20558
20613
|
* TelephonyProvidersEdge service.
|
|
20559
20614
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20560
|
-
* @version 189.
|
|
20615
|
+
* @version 189.1.0
|
|
20561
20616
|
*/ /**
|
|
20562
20617
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20563
20618
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21371,7 +21426,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21371
21426
|
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']);}}]);return TelephonyProvidersEdgeApi;}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
21372
21427
|
* Textbots service.
|
|
21373
21428
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21374
|
-
* @version 189.
|
|
21429
|
+
* @version 189.1.0
|
|
21375
21430
|
*/ /**
|
|
21376
21431
|
* Constructs a new TextbotsApi.
|
|
21377
21432
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21406,7 +21461,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21406
21461
|
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']);}}]);return TextbotsApi;}();var TokensApi=/*#__PURE__*/function(){/**
|
|
21407
21462
|
* Tokens service.
|
|
21408
21463
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21409
|
-
* @version 189.
|
|
21464
|
+
* @version 189.1.0
|
|
21410
21465
|
*/ /**
|
|
21411
21466
|
* Constructs a new TokensApi.
|
|
21412
21467
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21440,7 +21495,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21440
21495
|
*/},{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']);}}]);return TokensApi;}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
21441
21496
|
* Uploads service.
|
|
21442
21497
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21443
|
-
* @version 189.
|
|
21498
|
+
* @version 189.1.0
|
|
21444
21499
|
*/ /**
|
|
21445
21500
|
* Constructs a new UploadsApi.
|
|
21446
21501
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21506,7 +21561,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21506
21561
|
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']);}}]);return UploadsApi;}();var UsageApi=/*#__PURE__*/function(){/**
|
|
21507
21562
|
* Usage service.
|
|
21508
21563
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21509
|
-
* @version 189.
|
|
21564
|
+
* @version 189.1.0
|
|
21510
21565
|
*/ /**
|
|
21511
21566
|
* Constructs a new UsageApi.
|
|
21512
21567
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21557,7 +21612,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21557
21612
|
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']);}}]);return UsageApi;}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
21558
21613
|
* UserRecordings service.
|
|
21559
21614
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21560
|
-
* @version 189.
|
|
21615
|
+
* @version 189.1.0
|
|
21561
21616
|
*/ /**
|
|
21562
21617
|
* Constructs a new UserRecordingsApi.
|
|
21563
21618
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -21606,7 +21661,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
21606
21661
|
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']);}}]);return UserRecordingsApi;}();var UsersApi=/*#__PURE__*/function(){/**
|
|
21607
21662
|
* Users service.
|
|
21608
21663
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
21609
|
-
* @version 189.
|
|
21664
|
+
* @version 189.1.0
|
|
21610
21665
|
*/ /**
|
|
21611
21666
|
* Constructs a new UsersApi.
|
|
21612
21667
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22265,7 +22320,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22265
22320
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UsersApi;}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
22266
22321
|
* Utilities service.
|
|
22267
22322
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22268
|
-
* @version 189.
|
|
22323
|
+
* @version 189.1.0
|
|
22269
22324
|
*/ /**
|
|
22270
22325
|
* Constructs a new UtilitiesApi.
|
|
22271
22326
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22292,7 +22347,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22292
22347
|
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']);}}]);return UtilitiesApi;}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
22293
22348
|
* Voicemail service.
|
|
22294
22349
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22295
|
-
* @version 189.
|
|
22350
|
+
* @version 189.1.0
|
|
22296
22351
|
*/ /**
|
|
22297
22352
|
* Constructs a new VoicemailApi.
|
|
22298
22353
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22441,7 +22496,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22441
22496
|
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']);}}]);return VoicemailApi;}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
22442
22497
|
* WebChat service.
|
|
22443
22498
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22444
|
-
* @version 189.
|
|
22499
|
+
* @version 189.1.0
|
|
22445
22500
|
*/ /**
|
|
22446
22501
|
* Constructs a new WebChatApi.
|
|
22447
22502
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22574,7 +22629,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22574
22629
|
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']);}}]);return WebChatApi;}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
22575
22630
|
* WebDeployments service.
|
|
22576
22631
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22577
|
-
* @version 189.
|
|
22632
|
+
* @version 189.1.0
|
|
22578
22633
|
*/ /**
|
|
22579
22634
|
* Constructs a new WebDeploymentsApi.
|
|
22580
22635
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22695,7 +22750,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22695
22750
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebDeploymentsApi;}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
22696
22751
|
* WebMessaging service.
|
|
22697
22752
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22698
|
-
* @version 189.
|
|
22753
|
+
* @version 189.1.0
|
|
22699
22754
|
*/ /**
|
|
22700
22755
|
* Constructs a new WebMessagingApi.
|
|
22701
22756
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22711,7 +22766,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
22711
22766
|
*/_createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebMessagingApi;}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
22712
22767
|
* Widgets service.
|
|
22713
22768
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22714
|
-
* @version 189.
|
|
22769
|
+
* @version 189.1.0
|
|
22715
22770
|
*/ /**
|
|
22716
22771
|
* Constructs a new WidgetsApi.
|
|
22717
22772
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22746,7 +22801,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22746
22801
|
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']);}}]);return WidgetsApi;}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
22747
22802
|
* WorkforceManagement service.
|
|
22748
22803
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
22749
|
-
* @version 189.
|
|
22804
|
+
* @version 189.1.0
|
|
22750
22805
|
*/ /**
|
|
22751
22806
|
* Constructs a new WorkforceManagementApi.
|
|
22752
22807
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -24098,7 +24153,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24098
24153
|
* </pre>
|
|
24099
24154
|
* </p>
|
|
24100
24155
|
* @module purecloud-platform-client-v2/index
|
|
24101
|
-
* @version 189.
|
|
24156
|
+
* @version 189.1.0
|
|
24102
24157
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
24103
24158
|
* The ApiClient constructor.
|
|
24104
24159
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|