purecloud-platform-client-v2 188.1.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.
Files changed (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +709 -106
  3. package/dist/web-amd/purecloud-platform-client-v2.js +709 -106
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +250 -107
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +353 -143
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +529 -6
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +298 -6
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +13 -9
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +240 -11
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +7 -3
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +4 -4
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SettingsApi.js +48 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +27 -1
  69. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +4 -3
  85. 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
- if (has.call(obj, key)) {
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 index = parseInt(cleanRoot, 10);
4242
- if (!options.parseArrays && cleanRoot === '') {
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 !== cleanRoot
4247
- && String(index) === cleanRoot
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 (cleanRoot !== '__proto__') {
4254
- obj[cleanRoot] = leaf;
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 (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {
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: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.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 adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix;
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, key) : adjustedPrefix
4539
- : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']');
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: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.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
- if (opts && opts.arrayFormat in arrayPrefixGenerators) {
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,
@@ -5021,42 +5076,54 @@ var $mapHas = callBound('Map.prototype.has', true);
5021
5076
  *
5022
5077
  * That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.
5023
5078
  */
5079
+ /** @type {import('.').listGetNode} */
5024
5080
  var listGetNode = function (list, key) { // eslint-disable-line consistent-return
5025
- for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
5081
+ /** @type {typeof list | NonNullable<(typeof list)['next']>} */
5082
+ var prev = list;
5083
+ /** @type {(typeof list)['next']} */
5084
+ var curr;
5085
+ for (; (curr = prev.next) !== null; prev = curr) {
5026
5086
  if (curr.key === key) {
5027
5087
  prev.next = curr.next;
5028
- curr.next = list.next;
5088
+ // eslint-disable-next-line no-extra-parens
5089
+ curr.next = /** @type {NonNullable<typeof list.next>} */ (list.next);
5029
5090
  list.next = curr; // eslint-disable-line no-param-reassign
5030
5091
  return curr;
5031
5092
  }
5032
5093
  }
5033
5094
  };
5034
5095
 
5096
+ /** @type {import('.').listGet} */
5035
5097
  var listGet = function (objects, key) {
5036
5098
  var node = listGetNode(objects, key);
5037
5099
  return node && node.value;
5038
5100
  };
5101
+ /** @type {import('.').listSet} */
5039
5102
  var listSet = function (objects, key, value) {
5040
5103
  var node = listGetNode(objects, key);
5041
5104
  if (node) {
5042
5105
  node.value = value;
5043
5106
  } else {
5044
5107
  // Prepend the new node to the beginning of the list
5045
- objects.next = { // eslint-disable-line no-param-reassign
5108
+ objects.next = /** @type {import('.').ListNode<typeof value>} */ ({ // eslint-disable-line no-param-reassign, no-extra-parens
5046
5109
  key: key,
5047
5110
  next: objects.next,
5048
5111
  value: value
5049
- };
5112
+ });
5050
5113
  }
5051
5114
  };
5115
+ /** @type {import('.').listHas} */
5052
5116
  var listHas = function (objects, key) {
5053
5117
  return !!listGetNode(objects, key);
5054
5118
  };
5055
5119
 
5120
+ /** @type {import('.')} */
5056
5121
  module.exports = function getSideChannel() {
5057
- var $wm;
5058
- var $m;
5059
- var $o;
5122
+ /** @type {WeakMap<object, unknown>} */ var $wm;
5123
+ /** @type {Map<object, unknown>} */ var $m;
5124
+ /** @type {import('.').RootNode<unknown>} */ var $o;
5125
+
5126
+ /** @type {import('.').Channel} */
5060
5127
  var channel = {
5061
5128
  assert: function (key) {
5062
5129
  if (!channel.has(key)) {
@@ -5968,7 +6035,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
5968
6035
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
5969
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;}();/**
5970
6037
  * @module purecloud-platform-client-v2/ApiClient
5971
- * @version 188.1.0
6038
+ * @version 189.1.0
5972
6039
  */var ApiClient=/*#__PURE__*/function(){/**
5973
6040
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
5974
6041
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6280,7 +6347,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
6280
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(){/**
6281
6348
  * Alerting service.
6282
6349
  * @module purecloud-platform-client-v2/api/AlertingApi
6283
- * @version 188.1.0
6350
+ * @version 189.1.0
6284
6351
  */ /**
6285
6352
  * Constructs a new AlertingApi.
6286
6353
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -6437,7 +6504,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
6437
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(){/**
6438
6505
  * Analytics service.
6439
6506
  * @module purecloud-platform-client-v2/api/AnalyticsApi
6440
- * @version 188.1.0
6507
+ * @version 189.1.0
6441
6508
  */ /**
6442
6509
  * Constructs a new AnalyticsApi.
6443
6510
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -7047,7 +7114,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
7047
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(){/**
7048
7115
  * Architect service.
7049
7116
  * @module purecloud-platform-client-v2/api/ArchitectApi
7050
- * @version 188.1.0
7117
+ * @version 189.1.0
7051
7118
  */ /**
7052
7119
  * Constructs a new ArchitectApi.
7053
7120
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -7143,6 +7210,12 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
7143
7210
  * @param {String} flowId Flow ID
7144
7211
  */},{key:"deleteFlow",value:function deleteFlow(flowId){// verify the required parameter 'flowId' is set
7145
7212
  if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling deleteFlow';}return this.apiClient.callApi('/api/v2/flows/{flowId}','DELETE',{'flowId':flowId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7213
+ * Deletes a log level for a flow by flow id.
7214
+ * Deletes the associated log level for a flow by flow id
7215
+ * @param {String} flowId The flow id to delete the loglevel for
7216
+ * deleteFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7217
+ */},{key:"deleteFlowInstancesSettingsLoglevels",value:function deleteFlowInstancesSettingsLoglevels(flowId){// verify the required parameter 'flowId' is set
7218
+ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling deleteFlowInstancesSettingsLoglevels';}return this.apiClient.callApi('/api/v2/flows/{flowId}/instances/settings/loglevels','DELETE',{'flowId':flowId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7146
7219
  * Batch-delete a list of flows
7147
7220
  * Multiple IDs can be specified, in which case all specified flows will be deleted. Asynchronous. Notification topic: v2.flows.{flowId}
7148
7221
  * @param {Array.<String>} id List of Flow IDs
@@ -7162,6 +7235,10 @@ if(datatableId===undefined||datatableId===null){throw'Missing the required param
7162
7235
  */},{key:"deleteFlowsDatatableRow",value:function deleteFlowsDatatableRow(datatableId,rowId){// verify the required parameter 'datatableId' is set
7163
7236
  if(datatableId===undefined||datatableId===null){throw'Missing the required parameter "datatableId" when calling deleteFlowsDatatableRow';}// verify the required parameter 'rowId' is set
7164
7237
  if(rowId===undefined||rowId===null){throw'Missing the required parameter "rowId" when calling deleteFlowsDatatableRow';}return this.apiClient.callApi('/api/v2/flows/datatables/{datatableId}/rows/{rowId}','DELETE',{'datatableId':datatableId,'rowId':rowId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7238
+ * Resets the org log level to default, base
7239
+ * Resets the org log level to default, base
7240
+ * deleteFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7241
+ */},{key:"deleteFlowsInstancesSettingsLoglevelsDefault",value:function deleteFlowsInstancesSettingsLoglevelsDefault(){return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/default','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7165
7242
  * Delete a flow milestone.
7166
7243
  *
7167
7244
  * @param {String} milestoneId flow milestone ID
@@ -7513,6 +7590,14 @@ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flow
7513
7590
  */},{key:"getFlowHistoryHistoryId",value:function getFlowHistoryHistoryId(flowId,historyId,opts){opts=opts||{};// verify the required parameter 'flowId' is set
7514
7591
  if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling getFlowHistoryHistoryId';}// verify the required parameter 'historyId' is set
7515
7592
  if(historyId===undefined||historyId===null){throw'Missing the required parameter "historyId" when calling getFlowHistoryHistoryId';}return this.apiClient.callApi('/api/v2/flows/{flowId}/history/{historyId}','GET',{'flowId':flowId,'historyId':historyId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy'],'action':this.apiClient.buildCollectionParam(opts['action'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7593
+ * Retrieves the log level for a flow by flow id.
7594
+ * Retrieves the log level for a flow by flow id.
7595
+ * @param {String} flowId The flow id to get the loglevel for
7596
+ * @param {Object} opts Optional parameters
7597
+ * @param {Array.<String>} opts.expand Expand instructions for the result
7598
+ * getFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7599
+ */},{key:"getFlowInstancesSettingsLoglevels",value:function getFlowInstancesSettingsLoglevels(flowId,opts){opts=opts||{};// verify the required parameter 'flowId' is set
7600
+ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling getFlowInstancesSettingsLoglevels';}return this.apiClient.callApi('/api/v2/flows/{flowId}/instances/settings/loglevels','GET',{'flowId':flowId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7516
7601
  * Get the latest configuration for flow
7517
7602
  *
7518
7603
  * @param {String} flowId Flow ID
@@ -7706,21 +7791,40 @@ if(flowExecutionId===undefined||flowExecutionId===null){throw'Missing the requir
7706
7791
  * @param {String} instanceId Instance ID
7707
7792
  * @param {Object} opts Optional parameters
7708
7793
  * @param {Object} opts.expand Expand various details.
7709
- * getFlowsInstance is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7710
7794
  */},{key:"getFlowsInstance",value:function getFlowsInstance(instanceId,opts){opts=opts||{};// verify the required parameter 'instanceId' is set
7711
7795
  if(instanceId===undefined||instanceId===null){throw'Missing the required parameter "instanceId" when calling getFlowsInstance';}return this.apiClient.callApi('/api/v2/flows/instances/{instanceId}','GET',{'instanceId':instanceId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7712
7796
  * Get the status and/or results of an asynchronous flow execution data retrieval job
7713
7797
  *
7714
7798
  * @param {String} jobId The asynchronous job ID
7715
- * getFlowsInstancesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7716
7799
  */},{key:"getFlowsInstancesJob",value:function getFlowsInstancesJob(jobId){// verify the required parameter 'jobId' is set
7717
7800
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getFlowsInstancesJob';}return this.apiClient.callApi('/api/v2/flows/instances/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7718
7801
  * Retrieve a list of capabilities that the org can use to query for execution data
7719
7802
  * Returns the queryable parameters that can be used to build a query for execution data.
7720
7803
  * @param {Object} opts Optional parameters
7721
7804
  * @param {Object} opts.expand Expand various query types.
7722
- * getFlowsInstancesQuerycapabilities is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7723
7805
  */},{key:"getFlowsInstancesQuerycapabilities",value:function getFlowsInstancesQuerycapabilities(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows/instances/querycapabilities','GET',{},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7806
+ * Get the execution history enabled setting.
7807
+ * Get the execution history enabled setting.
7808
+ * getFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7809
+ */},{key:"getFlowsInstancesSettingsExecutiondata",value:function getFlowsInstancesSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/flows/instances/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7810
+ * Retrieve a list of LogLevels for the organization.
7811
+ * Returns a paged set of LogLevels per flow id
7812
+ * @param {Object} opts Optional parameters
7813
+ * @param {Array.<String>} opts.expand Expand instructions for the result
7814
+ * @param {Number} opts.pageNumber Page number (default to 1)
7815
+ * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
7816
+ * getFlowsInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7817
+ */},{key:"getFlowsInstancesSettingsLoglevels",value:function getFlowsInstancesSettingsLoglevels(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7818
+ * Gets the available flow log level characteristics for this organization.
7819
+ * Log levels can be customized and this returns the set of available characteristics that can be enabled/disabled.
7820
+ * getFlowsInstancesSettingsLoglevelsCharacteristics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7821
+ */},{key:"getFlowsInstancesSettingsLoglevelsCharacteristics",value:function getFlowsInstancesSettingsLoglevelsCharacteristics(){return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/characteristics','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7822
+ * Returns the flow default log level.
7823
+ * Returns the flow default log level which will be used if no specific flow id log level is found.
7824
+ * @param {Object} opts Optional parameters
7825
+ * @param {Array.<String>} opts.expand Expand instructions for the result
7826
+ * getFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7827
+ */},{key:"getFlowsInstancesSettingsLoglevelsDefault",value:function getFlowsInstancesSettingsLoglevelsDefault(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/default','GET',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7724
7828
  * Fetch Architect Job Status
7725
7829
  *
7726
7830
  * @param {String} jobId Job ID
@@ -7804,6 +7908,12 @@ if(grammarId===undefined||grammarId===null){throw'Missing the required parameter
7804
7908
  */},{key:"patchArchitectGrammarLanguage",value:function patchArchitectGrammarLanguage(grammarId,languageCode,opts){opts=opts||{};// verify the required parameter 'grammarId' is set
7805
7909
  if(grammarId===undefined||grammarId===null){throw'Missing the required parameter "grammarId" when calling patchArchitectGrammarLanguage';}// verify the required parameter 'languageCode' is set
7806
7910
  if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling patchArchitectGrammarLanguage';}return this.apiClient.callApi('/api/v2/architect/grammars/{grammarId}/languages/{languageCode}','PATCH',{'grammarId':grammarId,'languageCode':languageCode},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
7911
+ * Edit the execution history enabled setting.
7912
+ * Edit the execution history enabled setting.
7913
+ * @param {Object} body New Execution Data Setting
7914
+ * patchFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7915
+ */},{key:"patchFlowsInstancesSettingsExecutiondata",value:function patchFlowsInstancesSettingsExecutiondata(body){// verify the required parameter 'body' is set
7916
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchFlowsInstancesSettingsExecutiondata';}return this.apiClient.callApi('/api/v2/flows/instances/settings/executiondata','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7807
7917
  * Rebuild Dependency Tracking data for an organization
7808
7918
  * Asynchronous. Notification topic: v2.architect.dependencytracking.build
7809
7919
  */},{key:"postArchitectDependencytrackingBuild",value:function postArchitectDependencytrackingBuild(){return this.apiClient.callApi('/api/v2/architect/dependencytracking/build','POST',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -7895,6 +8005,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7895
8005
  * @param {String} flowId Flow ID
7896
8006
  */},{key:"postFlowHistory",value:function postFlowHistory(flowId){// verify the required parameter 'flowId' is set
7897
8007
  if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling postFlowHistory';}return this.apiClient.callApi('/api/v2/flows/{flowId}/history','POST',{'flowId':flowId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8008
+ * Set the logLevel for a particular flow id
8009
+ * Assigns a new loglevel to a flow id
8010
+ * @param {String} flowId The flow id to set the loglevel for
8011
+ * @param {Object} body New LogLevel settings
8012
+ * @param {Object} opts Optional parameters
8013
+ * @param {Array.<String>} opts.expand Expand instructions for the result
8014
+ * postFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8015
+ */},{key:"postFlowInstancesSettingsLoglevels",value:function postFlowInstancesSettingsLoglevels(flowId,body,opts){opts=opts||{};// verify the required parameter 'flowId' is set
8016
+ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling postFlowInstancesSettingsLoglevels';}// verify the required parameter 'body' is set
8017
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowInstancesSettingsLoglevels';}return this.apiClient.callApi('/api/v2/flows/{flowId}/instances/settings/loglevels','POST',{'flowId':flowId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7898
8018
  * Create flow version
7899
8019
  *
7900
8020
  * @param {String} flowId Flow ID
@@ -7975,7 +8095,6 @@ if(flowLaunchRequest===undefined||flowLaunchRequest===null){throw'Missing the re
7975
8095
  * @param {Object} body Requested Flow Ids
7976
8096
  * @param {Object} opts Optional parameters
7977
8097
  * @param {Object} opts.expand Expand various query types.
7978
- * postFlowsInstancesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7979
8098
  */},{key:"postFlowsInstancesJobs",value:function postFlowsInstancesJobs(body,opts){opts=opts||{};// verify the required parameter 'body' is set
7980
8099
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsInstancesJobs';}return this.apiClient.callApi('/api/v2/flows/instances/jobs','POST',{},{'expand':opts['expand']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7981
8100
  * Query the database of existing flow histories to look for particular flow criteria
@@ -7984,7 +8103,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7984
8103
  * @param {Object} opts Optional parameters
7985
8104
  * @param {Boolean} opts.indexOnly indexes only
7986
8105
  * @param {Number} opts.pageSize number of results to return (default to 50)
7987
- * postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7988
8106
  */},{key:"postFlowsInstancesQuery",value:function postFlowsInstancesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
7989
8107
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsInstancesQuery';}return this.apiClient.callApi('/api/v2/flows/instances/query','POST',{},{'indexOnly':opts['indexOnly'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7990
8108
  * Register Architect Job. Returns a URL where a file, such as an Architect flow YAML file, can be PUT which will then initiate the job.
@@ -8060,6 +8178,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8060
8178
  */},{key:"putFlow",value:function putFlow(flowId,body){// verify the required parameter 'flowId' is set
8061
8179
  if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling putFlow';}// verify the required parameter 'body' is set
8062
8180
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFlow';}return this.apiClient.callApi('/api/v2/flows/{flowId}','PUT',{'flowId':flowId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8181
+ * Edit the logLevel for a particular flow id
8182
+ * Updates the loglevel for a flow id
8183
+ * @param {String} flowId The flow id to edit the loglevel for
8184
+ * @param {Object} body New LogLevel settings
8185
+ * @param {Object} opts Optional parameters
8186
+ * @param {Array.<String>} opts.expand Expand instructions for the result
8187
+ * putFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8188
+ */},{key:"putFlowInstancesSettingsLoglevels",value:function putFlowInstancesSettingsLoglevels(flowId,body,opts){opts=opts||{};// verify the required parameter 'flowId' is set
8189
+ if(flowId===undefined||flowId===null){throw'Missing the required parameter "flowId" when calling putFlowInstancesSettingsLoglevels';}// verify the required parameter 'body' is set
8190
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFlowInstancesSettingsLoglevels';}return this.apiClient.callApi('/api/v2/flows/{flowId}/instances/settings/loglevels','PUT',{'flowId':flowId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8063
8191
  * Updates a specific datatable by id
8064
8192
  * Updates a schema for a datatable with the given datatableId -updates allow only new fields to be added in the schema, no changes or removals of existing fields.
8065
8193
  * @param {String} datatableId id of datatable
@@ -8078,6 +8206,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8078
8206
  */},{key:"putFlowsDatatableRow",value:function putFlowsDatatableRow(datatableId,rowId,opts){opts=opts||{};// verify the required parameter 'datatableId' is set
8079
8207
  if(datatableId===undefined||datatableId===null){throw'Missing the required parameter "datatableId" when calling putFlowsDatatableRow';}// verify the required parameter 'rowId' is set
8080
8208
  if(rowId===undefined||rowId===null){throw'Missing the required parameter "rowId" when calling putFlowsDatatableRow';}return this.apiClient.callApi('/api/v2/flows/datatables/{datatableId}/rows/{rowId}','PUT',{'datatableId':datatableId,'rowId':rowId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
8209
+ * Edit the flow default log level.
8210
+ * Edit the flow default log level.
8211
+ * @param {Object} body New LogLevel settings
8212
+ * @param {Object} opts Optional parameters
8213
+ * @param {Array.<String>} opts.expand Expand instructions for the result
8214
+ * putFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8215
+ */},{key:"putFlowsInstancesSettingsLoglevelsDefault",value:function putFlowsInstancesSettingsLoglevelsDefault(body,opts){opts=opts||{};// verify the required parameter 'body' is set
8216
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFlowsInstancesSettingsLoglevelsDefault';}return this.apiClient.callApi('/api/v2/flows/instances/settings/loglevels/default','PUT',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8081
8217
  * Updates a flow milestone
8082
8218
  *
8083
8219
  * @param {String} milestoneId flow milestone ID
@@ -8094,7 +8230,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
8094
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(){/**
8095
8231
  * Audit service.
8096
8232
  * @module purecloud-platform-client-v2/api/AuditApi
8097
- * @version 188.1.0
8233
+ * @version 189.1.0
8098
8234
  */ /**
8099
8235
  * Constructs a new AuditApi.
8100
8236
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -8136,7 +8272,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8136
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(){/**
8137
8273
  * Authorization service.
8138
8274
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8139
- * @version 188.1.0
8275
+ * @version 189.1.0
8140
8276
  */ /**
8141
8277
  * Constructs a new AuthorizationApi.
8142
8278
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -8447,7 +8583,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
8447
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(){/**
8448
8584
  * Billing service.
8449
8585
  * @module purecloud-platform-client-v2/api/BillingApi
8450
- * @version 188.1.0
8586
+ * @version 189.1.0
8451
8587
  */ /**
8452
8588
  * Constructs a new BillingApi.
8453
8589
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -8471,7 +8607,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
8471
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(){/**
8472
8608
  * CarrierServices service.
8473
8609
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8474
- * @version 188.1.0
8610
+ * @version 189.1.0
8475
8611
  */ /**
8476
8612
  * Constructs a new CarrierServicesApi.
8477
8613
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -8491,7 +8627,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
8491
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(){/**
8492
8628
  * Chat service.
8493
8629
  * @module purecloud-platform-client-v2/api/ChatApi
8494
- * @version 188.1.0
8630
+ * @version 189.1.0
8495
8631
  */ /**
8496
8632
  * Constructs a new ChatApi.
8497
8633
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -8684,7 +8820,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8684
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(){/**
8685
8821
  * Coaching service.
8686
8822
  * @module purecloud-platform-client-v2/api/CoachingApi
8687
- * @version 188.1.0
8823
+ * @version 189.1.0
8688
8824
  */ /**
8689
8825
  * Constructs a new CoachingApi.
8690
8826
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -8837,7 +8973,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8837
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(){/**
8838
8974
  * ContentManagement service.
8839
8975
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8840
- * @version 188.1.0
8976
+ * @version 189.1.0
8841
8977
  */ /**
8842
8978
  * Constructs a new ContentManagementApi.
8843
8979
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -9120,7 +9256,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
9120
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(){/**
9121
9257
  * Conversations service.
9122
9258
  * @module purecloud-platform-client-v2/api/ConversationsApi
9123
- * @version 188.1.0
9259
+ * @version 189.1.0
9124
9260
  */ /**
9125
9261
  * Constructs a new ConversationsApi.
9126
9262
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -9178,9 +9314,10 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
9178
9314
  * @param {String} integrationId Integration ID
9179
9315
  */},{key:"deleteConversationsMessagingIntegrationsInstagramIntegrationId",value:function deleteConversationsMessagingIntegrationsInstagramIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
9180
9316
  if(integrationId===undefined||integrationId===null){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']);}/**
9181
- * Delete a LINE messenger integration
9182
- *
9317
+ * Delete a LINE messenger integration (Deprecated)
9318
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
9183
9319
  * @param {String} integrationId Integration ID
9320
+ * @deprecated
9184
9321
  */},{key:"deleteConversationsMessagingIntegrationsLineIntegrationId",value:function deleteConversationsMessagingIntegrationsLineIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
9185
9322
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9186
9323
  * Delete an Open messaging integration
@@ -9647,20 +9784,22 @@ if(integrationId===undefined||integrationId===null){throw'Missing the required p
9647
9784
  * @param {Object} opts.expand Expand instructions for the return value.
9648
9785
  */},{key:"getConversationsMessagingIntegrationsInstagramIntegrationId",value:function getConversationsMessagingIntegrationsInstagramIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
9649
9786
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsInstagramIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9650
- * Get a list of LINE messenger Integrations
9651
- *
9787
+ * Get a list of LINE messenger Integrations (Deprecated)
9788
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
9652
9789
  * @param {Object} opts Optional parameters
9653
9790
  * @param {Number} opts.pageSize Page size (default to 25)
9654
9791
  * @param {Number} opts.pageNumber Page number (default to 1)
9655
9792
  * @param {Object} opts.expand Expand instructions for the return value.
9656
9793
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
9657
9794
  * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
9795
+ * @deprecated
9658
9796
  */},{key:"getConversationsMessagingIntegrationsLine",value:function getConversationsMessagingIntegrationsLine(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','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']);}/**
9659
- * Get a LINE messenger integration
9660
- *
9797
+ * Get a LINE messenger integration (Deprecated)
9798
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
9661
9799
  * @param {String} integrationId Integration ID
9662
9800
  * @param {Object} opts Optional parameters
9663
9801
  * @param {Object} opts.expand Expand instructions for the return value.
9802
+ * @deprecated
9664
9803
  */},{key:"getConversationsMessagingIntegrationsLineIntegrationId",value:function getConversationsMessagingIntegrationsLineIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
9665
9804
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
9666
9805
  * Get a list of Open messaging integrations
@@ -10802,10 +10941,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10802
10941
  */},{key:"putConversationsMessageRecordingstate",value:function putConversationsMessageRecordingstate(conversationId,body){// verify the required parameter 'conversationId' is set
10803
10942
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';}// verify the required parameter 'body' is set
10804
10943
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10805
- * Update a LINE messenger integration
10806
- *
10944
+ * Update a LINE messenger integration (Deprecated)
10945
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
10807
10946
  * @param {String} integrationId Integration ID
10808
10947
  * @param {Object} body LineIntegrationRequest
10948
+ * @deprecated
10809
10949
  */},{key:"putConversationsMessagingIntegrationsLineIntegrationId",value:function putConversationsMessagingIntegrationsLineIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
10810
10950
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIntegrationsLineIntegrationId';}// verify the required parameter 'body' is set
10811
10951
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIntegrationsLineIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -10847,7 +10987,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
10847
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(){/**
10848
10988
  * DataExtensions service.
10849
10989
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
10850
- * @version 188.1.0
10990
+ * @version 189.1.0
10851
10991
  */ /**
10852
10992
  * Constructs a new DataExtensionsApi.
10853
10993
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -10868,7 +11008,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
10868
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(){/**
10869
11009
  * Downloads service.
10870
11010
  * @module purecloud-platform-client-v2/api/DownloadsApi
10871
- * @version 188.1.0
11011
+ * @version 189.1.0
10872
11012
  */ /**
10873
11013
  * Constructs a new DownloadsApi.
10874
11014
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -10887,7 +11027,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
10887
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(){/**
10888
11028
  * Emails service.
10889
11029
  * @module purecloud-platform-client-v2/api/EmailsApi
10890
- * @version 188.1.0
11030
+ * @version 189.1.0
10891
11031
  */ /**
10892
11032
  * Constructs a new EmailsApi.
10893
11033
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -10905,7 +11045,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
10905
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(){/**
10906
11046
  * Events service.
10907
11047
  * @module purecloud-platform-client-v2/api/EventsApi
10908
- * @version 188.1.0
11048
+ * @version 189.1.0
10909
11049
  */ /**
10910
11050
  * Constructs a new EventsApi.
10911
11051
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -10930,7 +11070,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10930
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(){/**
10931
11071
  * ExternalContacts service.
10932
11072
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
10933
- * @version 188.1.0
11073
+ * @version 189.1.0
10934
11074
  */ /**
10935
11075
  * Constructs a new ExternalContactsApi.
10936
11076
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -11385,7 +11525,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
11385
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(){/**
11386
11526
  * Fax service.
11387
11527
  * @module purecloud-platform-client-v2/api/FaxApi
11388
- * @version 188.1.0
11528
+ * @version 189.1.0
11389
11529
  */ /**
11390
11530
  * Constructs a new FaxApi.
11391
11531
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -11426,7 +11566,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
11426
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(){/**
11427
11567
  * Flows service.
11428
11568
  * @module purecloud-platform-client-v2/api/FlowsApi
11429
- * @version 188.1.0
11569
+ * @version 189.1.0
11430
11570
  */ /**
11431
11571
  * Constructs a new FlowsApi.
11432
11572
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -11475,7 +11615,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11475
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(){/**
11476
11616
  * Gamification service.
11477
11617
  * @module purecloud-platform-client-v2/api/GamificationApi
11478
- * @version 188.1.0
11618
+ * @version 189.1.0
11479
11619
  */ /**
11480
11620
  * Constructs a new GamificationApi.
11481
11621
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -12015,7 +12155,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12015
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(){/**
12016
12156
  * GeneralDataProtectionRegulation service.
12017
12157
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
12018
- * @version 188.1.0
12158
+ * @version 189.1.0
12019
12159
  */ /**
12020
12160
  * Constructs a new GeneralDataProtectionRegulationApi.
12021
12161
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -12050,7 +12190,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
12050
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(){/**
12051
12191
  * Geolocation service.
12052
12192
  * @module purecloud-platform-client-v2/api/GeolocationApi
12053
- * @version 188.1.0
12193
+ * @version 189.1.0
12054
12194
  */ /**
12055
12195
  * Constructs a new GeolocationApi.
12056
12196
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -12084,7 +12224,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
12084
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(){/**
12085
12225
  * Greetings service.
12086
12226
  * @module purecloud-platform-client-v2/api/GreetingsApi
12087
- * @version 188.1.0
12227
+ * @version 189.1.0
12088
12228
  */ /**
12089
12229
  * Constructs a new GreetingsApi.
12090
12230
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -12191,7 +12331,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
12191
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(){/**
12192
12332
  * Groups service.
12193
12333
  * @module purecloud-platform-client-v2/api/GroupsApi
12194
- * @version 188.1.0
12334
+ * @version 189.1.0
12195
12335
  */ /**
12196
12336
  * Constructs a new GroupsApi.
12197
12337
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -12324,7 +12464,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
12324
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(){/**
12325
12465
  * IdentityProvider service.
12326
12466
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
12327
- * @version 188.1.0
12467
+ * @version 189.1.0
12328
12468
  */ /**
12329
12469
  * Constructs a new IdentityProviderApi.
12330
12470
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -12480,7 +12620,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12480
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(){/**
12481
12621
  * InfrastructureAsCode service.
12482
12622
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
12483
- * @version 188.1.0
12623
+ * @version 189.1.0
12484
12624
  */ /**
12485
12625
  * Constructs a new InfrastructureAsCodeApi.
12486
12626
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -12534,7 +12674,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
12534
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(){/**
12535
12675
  * Integrations service.
12536
12676
  * @module purecloud-platform-client-v2/api/IntegrationsApi
12537
- * @version 188.1.0
12677
+ * @version 189.1.0
12538
12678
  */ /**
12539
12679
  * Constructs a new IntegrationsApi.
12540
12680
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -12779,6 +12919,18 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
12779
12919
  * @param {Number} opts.pageSize Page size (default to 25)
12780
12920
  * @param {String} opts.name Filter on agent name
12781
12921
  */},{key:"getIntegrationsSpeechDialogflowAgents",value:function getIntegrationsSpeechDialogflowAgents(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/dialogflow/agents','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12922
+ * Get details about a Dialogflow CX agent
12923
+ *
12924
+ * @param {String} agentId The agent ID
12925
+ */},{key:"getIntegrationsSpeechDialogflowcxAgent",value:function getIntegrationsSpeechDialogflowcxAgent(agentId){// verify the required parameter 'agentId' is set
12926
+ if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowcxAgent';}return this.apiClient.callApi('/api/v2/integrations/speech/dialogflowcx/agents/{agentId}','GET',{'agentId':agentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12927
+ * Get a list of Dialogflow CX agents in the customers' Google accounts
12928
+ *
12929
+ * @param {Object} opts Optional parameters
12930
+ * @param {Number} opts.pageNumber Page number (default to 1)
12931
+ * @param {Number} opts.pageSize Page size (default to 25)
12932
+ * @param {String} opts.name Filter on agent name
12933
+ */},{key:"getIntegrationsSpeechDialogflowcxAgents",value:function getIntegrationsSpeechDialogflowcxAgents(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/dialogflowcx/agents','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12782
12934
  * Get details about a Lex bot alias
12783
12935
  *
12784
12936
  * @param {String} aliasId The alias ID
@@ -12801,6 +12953,28 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
12801
12953
  * @param {Number} opts.pageSize Page size (default to 25)
12802
12954
  * @param {String} opts.name Filter on bot name
12803
12955
  */},{key:"getIntegrationsSpeechLexBots",value:function getIntegrationsSpeechLexBots(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/lex/bots','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12956
+ * Get details about a Lex V2 bot alias
12957
+ *
12958
+ * @param {String} aliasId The Alias ID
12959
+ */},{key:"getIntegrationsSpeechLexv2BotAlias",value:function getIntegrationsSpeechLexv2BotAlias(aliasId){// verify the required parameter 'aliasId' is set
12960
+ if(aliasId===undefined||aliasId===null){throw'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexv2BotAlias';}return this.apiClient.callApi('/api/v2/integrations/speech/lexv2/bot/alias/{aliasId}','GET',{'aliasId':aliasId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12961
+ * Get a list of aliases for a Lex V2 bot
12962
+ *
12963
+ * @param {String} botId The Bot ID
12964
+ * @param {Object} opts Optional parameters
12965
+ * @param {Number} opts.pageNumber Page number (default to 1)
12966
+ * @param {Number} opts.pageSize Page size (default to 25)
12967
+ * @param {Object} opts.status Filter on alias status
12968
+ * @param {String} opts.name Filter on alias name
12969
+ */},{key:"getIntegrationsSpeechLexv2BotBotIdAliases",value:function getIntegrationsSpeechLexv2BotBotIdAliases(botId,opts){opts=opts||{};// verify the required parameter 'botId' is set
12970
+ if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechLexv2BotBotIdAliases';}return this.apiClient.callApi('/api/v2/integrations/speech/lexv2/bot/{botId}/aliases','GET',{'botId':botId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'status':opts['status'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12971
+ * Get a list of Lex V2 bots
12972
+ *
12973
+ * @param {Object} opts Optional parameters
12974
+ * @param {Number} opts.pageNumber Page number (default to 1)
12975
+ * @param {Number} opts.pageSize Page size (default to 25)
12976
+ * @param {String} opts.name Filter on bot name
12977
+ */},{key:"getIntegrationsSpeechLexv2Bots",value:function getIntegrationsSpeechLexv2Bots(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/lexv2/bots','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12804
12978
  * Get a Nuance bot in the specified Integration
12805
12979
  *
12806
12980
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
@@ -12808,7 +12982,6 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
12808
12982
  * @param {Object} opts Optional parameters
12809
12983
  * @param {Array.<String>} opts.expand expand
12810
12984
  * @param {Object} opts.targetChannel targetChannel
12811
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBot is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12812
12985
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBot",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBot(nuanceIntegrationId,botId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
12813
12986
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';}// verify the required parameter 'botId' is set
12814
12987
  if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBot';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}','GET',{'nuanceIntegrationId':nuanceIntegrationId,'botId':botId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'targetChannel':opts['targetChannel']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -12817,7 +12990,6 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
12817
12990
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
12818
12991
  * @param {String} botId The Nuance bot ID
12819
12992
  * @param {String} jobId The asynchronous job ID
12820
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12821
12993
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob(nuanceIntegrationId,botId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
12822
12994
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';}// verify the required parameter 'botId' is set
12823
12995
  if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';}// verify the required parameter 'jobId' is set
@@ -12827,7 +12999,6 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
12827
12999
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
12828
13000
  * @param {String} botId The Nuance bot ID
12829
13001
  * @param {String} jobId The asynchronous job ID
12830
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12831
13002
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults(nuanceIntegrationId,botId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
12832
13003
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';}// verify the required parameter 'botId' is set
12833
13004
  if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';}// verify the required parameter 'jobId' is set
@@ -12839,14 +13010,12 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
12839
13010
  * @param {Number} opts.pageNumber Page number (default to 1)
12840
13011
  * @param {Number} opts.pageSize Page size (default to 25)
12841
13012
  * @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
12842
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBots is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12843
13013
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBots",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBots(nuanceIntegrationId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
12844
13014
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBots';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots','GET',{'nuanceIntegrationId':nuanceIntegrationId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'onlyRegisteredBots':opts['onlyRegisteredBots']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12845
13015
  * Get the status of an asynchronous Nuance bots GET job
12846
13016
  *
12847
13017
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
12848
13018
  * @param {String} jobId The asynchronous job ID
12849
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12850
13019
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob(nuanceIntegrationId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
12851
13020
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';}// verify the required parameter 'jobId' is set
12852
13021
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs/{jobId}','GET',{'nuanceIntegrationId':nuanceIntegrationId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -12854,10 +13023,21 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
12854
13023
  *
12855
13024
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
12856
13025
  * @param {String} jobId The asynchronous job ID
12857
- * getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12858
13026
  */},{key:"getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults",value:function getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults(nuanceIntegrationId,jobId){// verify the required parameter 'nuanceIntegrationId' is set
12859
13027
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';}// verify the required parameter 'jobId' is set
12860
13028
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs/{jobId}/results','GET',{'nuanceIntegrationId':nuanceIntegrationId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13029
+ * Get details about a STT engine
13030
+ *
13031
+ * @param {String} engineId The engine ID
13032
+ */},{key:"getIntegrationsSpeechSttEngine",value:function getIntegrationsSpeechSttEngine(engineId){// verify the required parameter 'engineId' is set
13033
+ if(engineId===undefined||engineId===null){throw'Missing the required parameter "engineId" when calling getIntegrationsSpeechSttEngine';}return this.apiClient.callApi('/api/v2/integrations/speech/stt/engines/{engineId}','GET',{'engineId':engineId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13034
+ * Get a list of STT engines enabled for org
13035
+ *
13036
+ * @param {Object} opts Optional parameters
13037
+ * @param {Number} opts.pageNumber Page number (default to 1)
13038
+ * @param {Number} opts.pageSize Page size (default to 25)
13039
+ * @param {String} opts.name Filter on engine name
13040
+ */},{key:"getIntegrationsSpeechSttEngines",value:function getIntegrationsSpeechSttEngines(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/speech/stt/engines','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12861
13041
  * Get details about a TTS engine
12862
13042
  *
12863
13043
  * @param {String} engineId The engine ID
@@ -12914,6 +13094,21 @@ if(configType===undefined||configType===null){throw'Missing the required paramet
12914
13094
  * @param {String} opts.nextPage next page token
12915
13095
  * @param {String} opts.previousPage Previous page token
12916
13096
  */},{key:"getIntegrationsTypes",value:function getIntegrationsTypes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/types','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13097
+ * UC integration client application configuration.
13098
+ * This endpoint returns basic UI configuration data for the specified Unified Communications integration client application.
13099
+ * @param {String} ucIntegrationId 3rd Party Service Type
13100
+ */},{key:"getIntegrationsUnifiedcommunicationsClientapp",value:function getIntegrationsUnifiedcommunicationsClientapp(ucIntegrationId){// verify the required parameter 'ucIntegrationId' is set
13101
+ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the required parameter "ucIntegrationId" when calling getIntegrationsUnifiedcommunicationsClientapp';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/clientapps/{ucIntegrationId}','GET',{'ucIntegrationId':ucIntegrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13102
+ * List UC integration client application configurations.
13103
+ * This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled.
13104
+ * @param {Object} opts Optional parameters
13105
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
13106
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
13107
+ * @param {String} opts.sortBy variable name requested to sort by
13108
+ * @param {Array.<String>} opts.expand variable name requested by expand list
13109
+ * @param {String} opts.nextPage next page token
13110
+ * @param {String} opts.previousPage Previous page token
13111
+ */},{key:"getIntegrationsUnifiedcommunicationsClientapps",value:function getIntegrationsUnifiedcommunicationsClientapps(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/clientapps','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12917
13112
  * List permitted user app integrations for the logged in user
12918
13113
  *
12919
13114
  * @param {Object} opts Optional parameters
@@ -13020,7 +13215,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13020
13215
  * @param {Object} opts Optional parameters
13021
13216
  * @param {Array.<String>} opts.expand expand
13022
13217
  * @param {String} opts.body targetChannel
13023
- * postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13024
13218
  */},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs(nuanceIntegrationId,botId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
13025
13219
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';}// verify the required parameter 'botId' is set
13026
13220
  if(botId===undefined||botId===null){throw'Missing the required parameter "botId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/{botId}/jobs','POST',{'nuanceIntegrationId':nuanceIntegrationId,'botId':botId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -13031,14 +13225,12 @@ if(botId===undefined||botId===null){throw'Missing the required parameter "botId"
13031
13225
  * @param {Number} opts.pageNumber Page number (default to 1)
13032
13226
  * @param {Number} opts.pageSize Page size (default to 25)
13033
13227
  * @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
13034
- * postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13035
13228
  */},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs(nuanceIntegrationId,opts){opts=opts||{};// verify the required parameter 'nuanceIntegrationId' is set
13036
13229
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/jobs','POST',{'nuanceIntegrationId':nuanceIntegrationId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'onlyRegisteredBots':opts['onlyRegisteredBots']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13037
13230
  * Try out a single credential for a Nuance bot to know if the secret is correct
13038
13231
  *
13039
13232
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
13040
13233
  * @param {Object} settings
13041
- * postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13042
13234
  */},{key:"postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate",value:function postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId,settings){// verify the required parameter 'nuanceIntegrationId' is set
13043
13235
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}// verify the required parameter 'settings' is set
13044
13236
  if(settings===undefined||settings===null){throw'Missing the required parameter "settings" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/validate','POST',{'nuanceIntegrationId':nuanceIntegrationId},{},{},{},settings,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -13075,7 +13267,6 @@ if(credentialId===undefined||credentialId===null){throw'Missing the required par
13075
13267
  *
13076
13268
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
13077
13269
  * @param {Object} settings
13078
- * putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13079
13270
  */},{key:"putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings",value:function putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings(nuanceIntegrationId,settings){// verify the required parameter 'nuanceIntegrationId' is set
13080
13271
  if(nuanceIntegrationId===undefined||nuanceIntegrationId===null){throw'Missing the required parameter "nuanceIntegrationId" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';}// verify the required parameter 'settings' is set
13081
13272
  if(settings===undefined||settings===null){throw'Missing the required parameter "settings" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';}return this.apiClient.callApi('/api/v2/integrations/speech/nuance/{nuanceIntegrationId}/bots/launch/settings','PUT',{'nuanceIntegrationId':nuanceIntegrationId},{},{},{},settings,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -13093,7 +13284,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
13093
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(){/**
13094
13285
  * Journey service.
13095
13286
  * @module purecloud-platform-client-v2/api/JourneyApi
13096
- * @version 188.1.0
13287
+ * @version 189.1.0
13097
13288
  */ /**
13098
13289
  * Constructs a new JourneyApi.
13099
13290
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -13430,7 +13621,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13430
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(){/**
13431
13622
  * Knowledge service.
13432
13623
  * @module purecloud-platform-client-v2/api/KnowledgeApi
13433
- * @version 188.1.0
13624
+ * @version 189.1.0
13434
13625
  */ /**
13435
13626
  * Constructs a new KnowledgeApi.
13436
13627
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -14342,7 +14533,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14342
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(){/**
14343
14534
  * LanguageUnderstanding service.
14344
14535
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
14345
- * @version 188.1.0
14536
+ * @version 189.1.0
14346
14537
  */ /**
14347
14538
  * Constructs a new LanguageUnderstandingApi.
14348
14539
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -14598,7 +14789,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
14598
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(){/**
14599
14790
  * Languages service.
14600
14791
  * @module purecloud-platform-client-v2/api/LanguagesApi
14601
- * @version 188.1.0
14792
+ * @version 189.1.0
14602
14793
  */ /**
14603
14794
  * Constructs a new LanguagesApi.
14604
14795
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -14653,7 +14844,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14653
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(){/**
14654
14845
  * Learning service.
14655
14846
  * @module purecloud-platform-client-v2/api/LearningApi
14656
- * @version 188.1.0
14847
+ * @version 189.1.0
14657
14848
  */ /**
14658
14849
  * Constructs a new LearningApi.
14659
14850
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -14883,7 +15074,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
14883
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(){/**
14884
15075
  * License service.
14885
15076
  * @module purecloud-platform-client-v2/api/LicenseApi
14886
- * @version 188.1.0
15077
+ * @version 189.1.0
14887
15078
  */ /**
14888
15079
  * Constructs a new LicenseApi.
14889
15080
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -14937,7 +15128,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
14937
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(){/**
14938
15129
  * Locations service.
14939
15130
  * @module purecloud-platform-client-v2/api/LocationsApi
14940
- * @version 188.1.0
15131
+ * @version 189.1.0
14941
15132
  */ /**
14942
15133
  * Constructs a new LocationsApi.
14943
15134
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -14996,7 +15187,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14996
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(){/**
14997
15188
  * LogCapture service.
14998
15189
  * @module purecloud-platform-client-v2/api/LogCaptureApi
14999
- * @version 188.1.0
15190
+ * @version 189.1.0
15000
15191
  */ /**
15001
15192
  * Constructs a new LogCaptureApi.
15002
15193
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -15046,7 +15237,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
15046
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(){/**
15047
15238
  * Messaging service.
15048
15239
  * @module purecloud-platform-client-v2/api/MessagingApi
15049
- * @version 188.1.0
15240
+ * @version 189.1.0
15050
15241
  */ /**
15051
15242
  * Constructs a new MessagingApi.
15052
15243
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -15136,7 +15327,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15136
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(){/**
15137
15328
  * MobileDevices service.
15138
15329
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
15139
- * @version 188.1.0
15330
+ * @version 189.1.0
15140
15331
  */ /**
15141
15332
  * Constructs a new MobileDevicesApi.
15142
15333
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -15175,7 +15366,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15175
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(){/**
15176
15367
  * Notifications service.
15177
15368
  * @module purecloud-platform-client-v2/api/NotificationsApi
15178
- * @version 188.1.0
15369
+ * @version 189.1.0
15179
15370
  */ /**
15180
15371
  * Constructs a new NotificationsApi.
15181
15372
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -15232,7 +15423,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
15232
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(){/**
15233
15424
  * OAuth service.
15234
15425
  * @module purecloud-platform-client-v2/api/OAuthApi
15235
- * @version 188.1.0
15426
+ * @version 189.1.0
15236
15427
  */ /**
15237
15428
  * Constructs a new OAuthApi.
15238
15429
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -15317,7 +15508,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
15317
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(){/**
15318
15509
  * Objects service.
15319
15510
  * @module purecloud-platform-client-v2/api/ObjectsApi
15320
- * @version 188.1.0
15511
+ * @version 189.1.0
15321
15512
  */ /**
15322
15513
  * Constructs a new ObjectsApi.
15323
15514
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -15388,7 +15579,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
15388
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(){/**
15389
15580
  * OperationalEvents service.
15390
15581
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
15391
- * @version 188.1.0
15582
+ * @version 189.1.0
15392
15583
  */ /**
15393
15584
  * Constructs a new OperationalEventsApi.
15394
15585
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -15406,7 +15597,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
15406
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(){/**
15407
15598
  * Organization service.
15408
15599
  * @module purecloud-platform-client-v2/api/OrganizationApi
15409
- * @version 188.1.0
15600
+ * @version 189.1.0
15410
15601
  */ /**
15411
15602
  * Constructs a new OrganizationApi.
15412
15603
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -15508,7 +15699,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15508
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(){/**
15509
15700
  * OrganizationAuthorization service.
15510
15701
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
15511
- * @version 188.1.0
15702
+ * @version 189.1.0
15512
15703
  */ /**
15513
15704
  * Constructs a new OrganizationAuthorizationApi.
15514
15705
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -15831,7 +16022,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
15831
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(){/**
15832
16023
  * Outbound service.
15833
16024
  * @module purecloud-platform-client-v2/api/OutboundApi
15834
- * @version 188.1.0
16025
+ * @version 189.1.0
15835
16026
  */ /**
15836
16027
  * Constructs a new OutboundApi.
15837
16028
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -16601,8 +16792,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16601
16792
  * Initiate the export of a contact list.
16602
16793
  * Returns 200 if received OK.
16603
16794
  * @param {String} contactListId ContactList ID
16604
- */},{key:"postOutboundContactlistExport",value:function postOutboundContactlistExport(contactListId){// verify the required parameter 'contactListId' is set
16605
- if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistExport';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/export','POST',{'contactListId':contactListId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16795
+ * @param {Object} opts Optional parameters
16796
+ * @param {Object} opts.body Export information to get
16797
+ */},{key:"postOutboundContactlistExport",value:function postOutboundContactlistExport(contactListId,opts){opts=opts||{};// verify the required parameter 'contactListId' is set
16798
+ if(contactListId===undefined||contactListId===null){throw'Missing the required parameter "contactListId" when calling postOutboundContactlistExport';}return this.apiClient.callApi('/api/v2/outbound/contactlists/{contactListId}/export','POST',{'contactListId':contactListId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
16606
16799
  * Create Contact List Filter
16607
16800
  *
16608
16801
  * @param {Object} body ContactListFilter
@@ -16867,7 +17060,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16867
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(){/**
16868
17061
  * Presence service.
16869
17062
  * @module purecloud-platform-client-v2/api/PresenceApi
16870
- * @version 188.1.0
17063
+ * @version 189.1.0
16871
17064
  */ /**
16872
17065
  * Constructs a new PresenceApi.
16873
17066
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -17040,7 +17233,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17040
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(){/**
17041
17234
  * ProcessAutomation service.
17042
17235
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
17043
- * @version 188.1.0
17236
+ * @version 189.1.0
17044
17237
  */ /**
17045
17238
  * Constructs a new ProcessAutomationApi.
17046
17239
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -17103,7 +17296,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
17103
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(){/**
17104
17297
  * Quality service.
17105
17298
  * @module purecloud-platform-client-v2/api/QualityApi
17106
- * @version 188.1.0
17299
+ * @version 189.1.0
17107
17300
  */ /**
17108
17301
  * Constructs a new QualityApi.
17109
17302
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -17296,7 +17489,7 @@ if(formId===undefined||formId===null){throw'Missing the required parameter "form
17296
17489
  * @deprecated
17297
17490
  */},{key:"getQualityFormVersions",value:function getQualityFormVersions(formId,opts){opts=opts||{};// verify the required parameter 'formId' is set
17298
17491
  if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling getQualityFormVersions';}return this.apiClient.callApi('/api/v2/quality/forms/{formId}/versions','GET',{'formId':formId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17299
- * Get the list of evaluation forms
17492
+ * Get the list of evaluation forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding evaluation form.
17300
17493
  *
17301
17494
  * @param {Object} opts Optional parameters
17302
17495
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -17324,7 +17517,7 @@ if(formId===undefined||formId===null){throw'Missing the required parameter "form
17324
17517
  */},{key:"getQualityFormsEvaluationVersions",value:function getQualityFormsEvaluationVersions(formId,opts){opts=opts||{};// verify the required parameter 'formId' is set
17325
17518
  if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling getQualityFormsEvaluationVersions';}return this.apiClient.callApi('/api/v2/quality/forms/evaluations/{formId}/versions','GET',{'formId':formId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17326
17519
  * Get the list of evaluation forms
17327
- * By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned by default. We will enhance this field in the future release.
17520
+ * By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned. We will enhance this field in a future release.
17328
17521
  * @param {Object} opts Optional parameters
17329
17522
  * @param {Number} opts.pageSize The total page size requested (default to 25)
17330
17523
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -17353,7 +17546,7 @@ if(formId===undefined||formId===null){throw'Missing the required parameter "form
17353
17546
  * @param {Number} opts.pageNumber Page number (default to 1)
17354
17547
  */},{key:"getQualityFormsSurveyVersions",value:function getQualityFormsSurveyVersions(formId,opts){opts=opts||{};// verify the required parameter 'formId' is set
17355
17548
  if(formId===undefined||formId===null){throw'Missing the required parameter "formId" when calling getQualityFormsSurveyVersions';}return this.apiClient.callApi('/api/v2/quality/forms/surveys/{formId}/versions','GET',{'formId':formId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17356
- * Get the list of survey forms
17549
+ * Get the list of survey forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding survey form.
17357
17550
  *
17358
17551
  * @param {Object} opts Optional parameters
17359
17552
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -17574,7 +17767,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
17574
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(){/**
17575
17768
  * Recording service.
17576
17769
  * @module purecloud-platform-client-v2/api/RecordingApi
17577
- * @version 188.1.0
17770
+ * @version 189.1.0
17578
17771
  */ /**
17579
17772
  * Constructs a new RecordingApi.
17580
17773
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -17981,7 +18174,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17981
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(){/**
17982
18175
  * ResponseManagement service.
17983
18176
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
17984
- * @version 188.1.0
18177
+ * @version 189.1.0
17985
18178
  */ /**
17986
18179
  * Constructs a new ResponseManagementApi.
17987
18180
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -18097,7 +18290,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
18097
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(){/**
18098
18291
  * Routing service.
18099
18292
  * @module purecloud-platform-client-v2/api/RoutingApi
18100
- * @version 188.1.0
18293
+ * @version 189.1.0
18101
18294
  */ /**
18102
18295
  * Constructs a new RoutingApi.
18103
18296
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -19065,7 +19258,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
19065
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(){/**
19066
19259
  * SCIM service.
19067
19260
  * @module purecloud-platform-client-v2/api/SCIMApi
19068
- * @version 188.1.0
19261
+ * @version 189.1.0
19069
19262
  */ /**
19070
19263
  * Constructs a new SCIMApi.
19071
19264
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -19290,7 +19483,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
19290
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(){/**
19291
19484
  * ScreenRecording service.
19292
19485
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
19293
- * @version 188.1.0
19486
+ * @version 189.1.0
19294
19487
  */ /**
19295
19488
  * Constructs a new ScreenRecordingApi.
19296
19489
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -19305,7 +19498,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19305
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(){/**
19306
19499
  * Scripts service.
19307
19500
  * @module purecloud-platform-client-v2/api/ScriptsApi
19308
- * @version 188.1.0
19501
+ * @version 189.1.0
19309
19502
  */ /**
19310
19503
  * Constructs a new ScriptsApi.
19311
19504
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -19441,7 +19634,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
19441
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(){/**
19442
19635
  * Search service.
19443
19636
  * @module purecloud-platform-client-v2/api/SearchApi
19444
- * @version 188.1.0
19637
+ * @version 189.1.0
19445
19638
  */ /**
19446
19639
  * Constructs a new SearchApi.
19447
19640
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -19601,7 +19794,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19601
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(){/**
19602
19795
  * Settings service.
19603
19796
  * @module purecloud-platform-client-v2/api/SettingsApi
19604
- * @version 188.1.0
19797
+ * @version 189.1.0
19605
19798
  */ /**
19606
19799
  * Constructs a new SettingsApi.
19607
19800
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -19612,14 +19805,24 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19612
19805
  * Get email Contact Center settings
19613
19806
  *
19614
19807
  */_createClass(SettingsApi,[{key:"getEmailsSettings",value:function getEmailsSettings(){return this.apiClient.callApi('/api/v2/emails/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19808
+ * Get the execution history enabled setting.
19809
+ * Get the execution history enabled setting.
19810
+ * getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19811
+ */},{key:"getSettingsExecutiondata",value:function getSettingsExecutiondata(){return this.apiClient.callApi('/api/v2/settings/executiondata','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19615
19812
  * Patch email Contact Center settings
19616
19813
  *
19617
19814
  * @param {Object} opts Optional parameters
19618
19815
  * @param {Object} opts.body
19619
- */},{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 SettingsApi;}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
19816
+ */},{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']);}/**
19817
+ * Edit the execution history on off setting.
19818
+ * Edit the execution history on off setting.
19819
+ * @param {Object} body New Execution Data Setting
19820
+ * patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
19821
+ */},{key:"patchSettingsExecutiondata",value:function patchSettingsExecutiondata(body){// verify the required parameter 'body' is set
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(){/**
19620
19823
  * SpeechTextAnalytics service.
19621
19824
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
19622
- * @version 188.1.0
19825
+ * @version 189.1.0
19623
19826
  */ /**
19624
19827
  * Constructs a new SpeechTextAnalyticsApi.
19625
19828
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -19863,7 +20066,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
19863
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(){/**
19864
20067
  * Stations service.
19865
20068
  * @module purecloud-platform-client-v2/api/StationsApi
19866
- * @version 188.1.0
20069
+ * @version 189.1.0
19867
20070
  */ /**
19868
20071
  * Constructs a new StationsApi.
19869
20072
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -19895,7 +20098,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
19895
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(){/**
19896
20099
  * Suggest service.
19897
20100
  * @module purecloud-platform-client-v2/api/SuggestApi
19898
- * @version 188.1.0
20101
+ * @version 189.1.0
19899
20102
  */ /**
19900
20103
  * Constructs a new SuggestApi.
19901
20104
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -19935,7 +20138,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19935
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(){/**
19936
20139
  * TaskManagement service.
19937
20140
  * @module purecloud-platform-client-v2/api/TaskManagementApi
19938
- * @version 188.1.0
20141
+ * @version 189.1.0
19939
20142
  */ /**
19940
20143
  * Constructs a new TaskManagementApi.
19941
20144
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -20119,6 +20322,12 @@ if(worktypeId===undefined||worktypeId===null){throw'Missing the required paramet
20119
20322
  */},{key:"getTaskmanagementWorktypeStatus",value:function getTaskmanagementWorktypeStatus(worktypeId,statusId){// verify the required parameter 'worktypeId' is set
20120
20323
  if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatus';}// verify the required parameter 'statusId' is set
20121
20324
  if(statusId===undefined||statusId===null){throw'Missing the required parameter "statusId" when calling getTaskmanagementWorktypeStatus';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}','GET',{'worktypeId':worktypeId,'statusId':statusId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20325
+ * Get list of statuses for this worktype.
20326
+ *
20327
+ * @param {String} worktypeId Worktype id
20328
+ * getTaskmanagementWorktypeStatuses is a preview method and is subject to both breaking and non-breaking changes at any time without notice
20329
+ */},{key:"getTaskmanagementWorktypeStatuses",value:function getTaskmanagementWorktypeStatuses(worktypeId){// verify the required parameter 'worktypeId' is set
20330
+ if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatuses';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/statuses','GET',{'worktypeId':worktypeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20122
20331
  * Get a version of a worktype
20123
20332
  *
20124
20333
  * @param {String} worktypeId Worktype id
@@ -20277,7 +20486,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
20277
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(){/**
20278
20487
  * Teams service.
20279
20488
  * @module purecloud-platform-client-v2/api/TeamsApi
20280
- * @version 188.1.0
20489
+ * @version 189.1.0
20281
20490
  */ /**
20282
20491
  * Constructs a new TeamsApi.
20283
20492
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -20356,7 +20565,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20356
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(){/**
20357
20566
  * Telephony service.
20358
20567
  * @module purecloud-platform-client-v2/api/TelephonyApi
20359
- * @version 188.1.0
20568
+ * @version 189.1.0
20360
20569
  */ /**
20361
20570
  * Constructs a new TelephonyApi.
20362
20571
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -20403,7 +20612,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
20403
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(){/**
20404
20613
  * TelephonyProvidersEdge service.
20405
20614
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
20406
- * @version 188.1.0
20615
+ * @version 189.1.0
20407
20616
  */ /**
20408
20617
  * Constructs a new TelephonyProvidersEdgeApi.
20409
20618
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -21217,7 +21426,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
21217
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(){/**
21218
21427
  * Textbots service.
21219
21428
  * @module purecloud-platform-client-v2/api/TextbotsApi
21220
- * @version 188.1.0
21429
+ * @version 189.1.0
21221
21430
  */ /**
21222
21431
  * Constructs a new TextbotsApi.
21223
21432
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -21252,7 +21461,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
21252
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(){/**
21253
21462
  * Tokens service.
21254
21463
  * @module purecloud-platform-client-v2/api/TokensApi
21255
- * @version 188.1.0
21464
+ * @version 189.1.0
21256
21465
  */ /**
21257
21466
  * Constructs a new TokensApi.
21258
21467
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -21286,7 +21495,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
21286
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(){/**
21287
21496
  * Uploads service.
21288
21497
  * @module purecloud-platform-client-v2/api/UploadsApi
21289
- * @version 188.1.0
21498
+ * @version 189.1.0
21290
21499
  */ /**
21291
21500
  * Constructs a new UploadsApi.
21292
21501
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -21352,7 +21561,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21352
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(){/**
21353
21562
  * Usage service.
21354
21563
  * @module purecloud-platform-client-v2/api/UsageApi
21355
- * @version 188.1.0
21564
+ * @version 189.1.0
21356
21565
  */ /**
21357
21566
  * Constructs a new UsageApi.
21358
21567
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -21403,7 +21612,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21403
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(){/**
21404
21613
  * UserRecordings service.
21405
21614
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
21406
- * @version 188.1.0
21615
+ * @version 189.1.0
21407
21616
  */ /**
21408
21617
  * Constructs a new UserRecordingsApi.
21409
21618
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -21452,7 +21661,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
21452
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(){/**
21453
21662
  * Users service.
21454
21663
  * @module purecloud-platform-client-v2/api/UsersApi
21455
- * @version 188.1.0
21664
+ * @version 189.1.0
21456
21665
  */ /**
21457
21666
  * Constructs a new UsersApi.
21458
21667
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -22111,7 +22320,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
22111
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(){/**
22112
22321
  * Utilities service.
22113
22322
  * @module purecloud-platform-client-v2/api/UtilitiesApi
22114
- * @version 188.1.0
22323
+ * @version 189.1.0
22115
22324
  */ /**
22116
22325
  * Constructs a new UtilitiesApi.
22117
22326
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -22138,7 +22347,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22138
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(){/**
22139
22348
  * Voicemail service.
22140
22349
  * @module purecloud-platform-client-v2/api/VoicemailApi
22141
- * @version 188.1.0
22350
+ * @version 189.1.0
22142
22351
  */ /**
22143
22352
  * Constructs a new VoicemailApi.
22144
22353
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -22287,7 +22496,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
22287
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(){/**
22288
22497
  * WebChat service.
22289
22498
  * @module purecloud-platform-client-v2/api/WebChatApi
22290
- * @version 188.1.0
22499
+ * @version 189.1.0
22291
22500
  */ /**
22292
22501
  * Constructs a new WebChatApi.
22293
22502
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -22420,7 +22629,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22420
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(){/**
22421
22630
  * WebDeployments service.
22422
22631
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
22423
- * @version 188.1.0
22632
+ * @version 189.1.0
22424
22633
  */ /**
22425
22634
  * Constructs a new WebDeploymentsApi.
22426
22635
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -22541,7 +22750,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
22541
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(){/**
22542
22751
  * WebMessaging service.
22543
22752
  * @module purecloud-platform-client-v2/api/WebMessagingApi
22544
- * @version 188.1.0
22753
+ * @version 189.1.0
22545
22754
  */ /**
22546
22755
  * Constructs a new WebMessagingApi.
22547
22756
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -22557,7 +22766,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
22557
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(){/**
22558
22767
  * Widgets service.
22559
22768
  * @module purecloud-platform-client-v2/api/WidgetsApi
22560
- * @version 188.1.0
22769
+ * @version 189.1.0
22561
22770
  */ /**
22562
22771
  * Constructs a new WidgetsApi.
22563
22772
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -22592,7 +22801,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
22592
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(){/**
22593
22802
  * WorkforceManagement service.
22594
22803
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
22595
- * @version 188.1.0
22804
+ * @version 189.1.0
22596
22805
  */ /**
22597
22806
  * Constructs a new WorkforceManagementApi.
22598
22807
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -22712,9 +22921,10 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
22712
22921
  * @param {String} jobId jobId
22713
22922
  */},{key:"getWorkforcemanagementAdherenceHistoricalJob",value:function getWorkforcemanagementAdherenceHistoricalJob(jobId){// verify the required parameter 'jobId' is set
22714
22923
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/adherence/historical/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22715
- * Get status of the modeling job
22716
- *
22924
+ * To get status of the modeling job.
22925
+ * This Endpoint is Deprecated, and not recommended to be used.
22717
22926
  * @param {String} jobId The id of the modeling job
22927
+ * @deprecated
22718
22928
  */},{key:"getWorkforcemanagementAdhocmodelingjob",value:function getWorkforcemanagementAdhocmodelingjob(jobId){// verify the required parameter 'jobId' is set
22719
22929
  if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAdhocmodelingjob';}return this.apiClient.callApi('/api/v2/workforcemanagement/adhocmodelingjobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22720
22930
  * Get an adherence explanation
@@ -23943,7 +24153,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
23943
24153
  * </pre>
23944
24154
  * </p>
23945
24155
  * @module purecloud-platform-client-v2/index
23946
- * @version 188.1.0
24156
+ * @version 189.1.0
23947
24157
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
23948
24158
  * The ApiClient constructor.
23949
24159
  * @property {module:purecloud-platform-client-v2/ApiClient}