purecloud-platform-client-v2 186.0.1 → 188.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +1047 -185
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1047 -185
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +367 -151
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +455 -196
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +899 -240
  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 +26 -2
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +27 -8
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -2
  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 +4 -22
  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 +40 -12
  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 +106 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +136 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -34
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +263 -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 +3 -2
  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 +219 -4
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +11 -6
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  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 +50 -0
  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 +1 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +3 -2
  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 +1 -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 -27
  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 +94 -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 +1 -1
  85. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -2807,14 +2807,14 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
2807
2807
  return intrinsic;
2808
2808
  };
2809
2809
 
2810
- },{"./":9,"get-intrinsic":13}],9:[function(require,module,exports){
2810
+ },{"./":9,"get-intrinsic":20}],9:[function(require,module,exports){
2811
2811
  'use strict';
2812
2812
 
2813
2813
  var bind = require('function-bind');
2814
2814
  var GetIntrinsic = require('get-intrinsic');
2815
2815
  var setFunctionLength = require('set-function-length');
2816
2816
 
2817
- var $TypeError = GetIntrinsic('%TypeError%');
2817
+ var $TypeError = require('es-errors/type');
2818
2818
  var $apply = GetIntrinsic('%Function.prototype.apply%');
2819
2819
  var $call = GetIntrinsic('%Function.prototype.call%');
2820
2820
  var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
@@ -2853,7 +2853,7 @@ if ($defineProperty) {
2853
2853
  module.exports.apply = applyBind;
2854
2854
  }
2855
2855
 
2856
- },{"function-bind":12,"get-intrinsic":13,"set-function-length":26}],10:[function(require,module,exports){
2856
+ },{"es-errors/type":16,"function-bind":19,"get-intrinsic":20,"set-function-length":33}],10:[function(require,module,exports){
2857
2857
  'use strict';
2858
2858
 
2859
2859
  var hasPropertyDescriptors = require('has-property-descriptors')();
@@ -2870,8 +2870,8 @@ if ($defineProperty) {
2870
2870
  }
2871
2871
  }
2872
2872
 
2873
- var $SyntaxError = GetIntrinsic('%SyntaxError%');
2874
- var $TypeError = GetIntrinsic('%TypeError%');
2873
+ var $SyntaxError = require('es-errors/syntax');
2874
+ var $TypeError = require('es-errors/type');
2875
2875
 
2876
2876
  var gopd = require('gopd');
2877
2877
 
@@ -2923,7 +2923,49 @@ module.exports = function defineDataProperty(
2923
2923
  }
2924
2924
  };
2925
2925
 
2926
- },{"get-intrinsic":13,"gopd":14,"has-property-descriptors":15}],11:[function(require,module,exports){
2926
+ },{"es-errors/syntax":15,"es-errors/type":16,"get-intrinsic":20,"gopd":21,"has-property-descriptors":22}],11:[function(require,module,exports){
2927
+ 'use strict';
2928
+
2929
+ /** @type {import('./eval')} */
2930
+ module.exports = EvalError;
2931
+
2932
+ },{}],12:[function(require,module,exports){
2933
+ 'use strict';
2934
+
2935
+ /** @type {import('.')} */
2936
+ module.exports = Error;
2937
+
2938
+ },{}],13:[function(require,module,exports){
2939
+ 'use strict';
2940
+
2941
+ /** @type {import('./range')} */
2942
+ module.exports = RangeError;
2943
+
2944
+ },{}],14:[function(require,module,exports){
2945
+ 'use strict';
2946
+
2947
+ /** @type {import('./ref')} */
2948
+ module.exports = ReferenceError;
2949
+
2950
+ },{}],15:[function(require,module,exports){
2951
+ 'use strict';
2952
+
2953
+ /** @type {import('./syntax')} */
2954
+ module.exports = SyntaxError;
2955
+
2956
+ },{}],16:[function(require,module,exports){
2957
+ 'use strict';
2958
+
2959
+ /** @type {import('./type')} */
2960
+ module.exports = TypeError;
2961
+
2962
+ },{}],17:[function(require,module,exports){
2963
+ 'use strict';
2964
+
2965
+ /** @type {import('./uri')} */
2966
+ module.exports = URIError;
2967
+
2968
+ },{}],18:[function(require,module,exports){
2927
2969
  'use strict';
2928
2970
 
2929
2971
  /* eslint no-invalid-this: 1 */
@@ -3009,21 +3051,27 @@ module.exports = function bind(that) {
3009
3051
  return bound;
3010
3052
  };
3011
3053
 
3012
- },{}],12:[function(require,module,exports){
3054
+ },{}],19:[function(require,module,exports){
3013
3055
  'use strict';
3014
3056
 
3015
3057
  var implementation = require('./implementation');
3016
3058
 
3017
3059
  module.exports = Function.prototype.bind || implementation;
3018
3060
 
3019
- },{"./implementation":11}],13:[function(require,module,exports){
3061
+ },{"./implementation":18}],20:[function(require,module,exports){
3020
3062
  'use strict';
3021
3063
 
3022
3064
  var undefined;
3023
3065
 
3024
- var $SyntaxError = SyntaxError;
3066
+ var $Error = require('es-errors');
3067
+ var $EvalError = require('es-errors/eval');
3068
+ var $RangeError = require('es-errors/range');
3069
+ var $ReferenceError = require('es-errors/ref');
3070
+ var $SyntaxError = require('es-errors/syntax');
3071
+ var $TypeError = require('es-errors/type');
3072
+ var $URIError = require('es-errors/uri');
3073
+
3025
3074
  var $Function = Function;
3026
- var $TypeError = TypeError;
3027
3075
 
3028
3076
  // eslint-disable-next-line consistent-return
3029
3077
  var getEvalledConstructor = function (expressionSyntax) {
@@ -3075,6 +3123,7 @@ var needsEval = {};
3075
3123
  var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
3076
3124
 
3077
3125
  var INTRINSICS = {
3126
+ __proto__: null,
3078
3127
  '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
3079
3128
  '%Array%': Array,
3080
3129
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
@@ -3095,9 +3144,9 @@ var INTRINSICS = {
3095
3144
  '%decodeURIComponent%': decodeURIComponent,
3096
3145
  '%encodeURI%': encodeURI,
3097
3146
  '%encodeURIComponent%': encodeURIComponent,
3098
- '%Error%': Error,
3147
+ '%Error%': $Error,
3099
3148
  '%eval%': eval, // eslint-disable-line no-eval
3100
- '%EvalError%': EvalError,
3149
+ '%EvalError%': $EvalError,
3101
3150
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
3102
3151
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
3103
3152
  '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
@@ -3119,8 +3168,8 @@ var INTRINSICS = {
3119
3168
  '%parseInt%': parseInt,
3120
3169
  '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
3121
3170
  '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
3122
- '%RangeError%': RangeError,
3123
- '%ReferenceError%': ReferenceError,
3171
+ '%RangeError%': $RangeError,
3172
+ '%ReferenceError%': $ReferenceError,
3124
3173
  '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
3125
3174
  '%RegExp%': RegExp,
3126
3175
  '%Set%': typeof Set === 'undefined' ? undefined : Set,
@@ -3137,7 +3186,7 @@ var INTRINSICS = {
3137
3186
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
3138
3187
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
3139
3188
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
3140
- '%URIError%': URIError,
3189
+ '%URIError%': $URIError,
3141
3190
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
3142
3191
  '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
3143
3192
  '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
@@ -3179,6 +3228,7 @@ var doEval = function doEval(name) {
3179
3228
  };
3180
3229
 
3181
3230
  var LEGACY_ALIASES = {
3231
+ __proto__: null,
3182
3232
  '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
3183
3233
  '%ArrayPrototype%': ['Array', 'prototype'],
3184
3234
  '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
@@ -3369,7 +3419,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
3369
3419
  return value;
3370
3420
  };
3371
3421
 
3372
- },{"function-bind":12,"has-proto":16,"has-symbols":17,"hasown":19}],14:[function(require,module,exports){
3422
+ },{"es-errors":12,"es-errors/eval":11,"es-errors/range":13,"es-errors/ref":14,"es-errors/syntax":15,"es-errors/type":16,"es-errors/uri":17,"function-bind":19,"has-proto":23,"has-symbols":24,"hasown":26}],21:[function(require,module,exports){
3373
3423
  'use strict';
3374
3424
 
3375
3425
  var GetIntrinsic = require('get-intrinsic');
@@ -3387,7 +3437,7 @@ if ($gOPD) {
3387
3437
 
3388
3438
  module.exports = $gOPD;
3389
3439
 
3390
- },{"get-intrinsic":13}],15:[function(require,module,exports){
3440
+ },{"get-intrinsic":20}],22:[function(require,module,exports){
3391
3441
  'use strict';
3392
3442
 
3393
3443
  var GetIntrinsic = require('get-intrinsic');
@@ -3422,7 +3472,7 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
3422
3472
 
3423
3473
  module.exports = hasPropertyDescriptors;
3424
3474
 
3425
- },{"get-intrinsic":13}],16:[function(require,module,exports){
3475
+ },{"get-intrinsic":20}],23:[function(require,module,exports){
3426
3476
  'use strict';
3427
3477
 
3428
3478
  var test = {
@@ -3435,7 +3485,7 @@ module.exports = function hasProto() {
3435
3485
  return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
3436
3486
  };
3437
3487
 
3438
- },{}],17:[function(require,module,exports){
3488
+ },{}],24:[function(require,module,exports){
3439
3489
  'use strict';
3440
3490
 
3441
3491
  var origSymbol = typeof Symbol !== 'undefined' && Symbol;
@@ -3450,7 +3500,7 @@ module.exports = function hasNativeSymbols() {
3450
3500
  return hasSymbolSham();
3451
3501
  };
3452
3502
 
3453
- },{"./shams":18}],18:[function(require,module,exports){
3503
+ },{"./shams":25}],25:[function(require,module,exports){
3454
3504
  'use strict';
3455
3505
 
3456
3506
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
@@ -3494,7 +3544,7 @@ module.exports = function hasSymbols() {
3494
3544
  return true;
3495
3545
  };
3496
3546
 
3497
- },{}],19:[function(require,module,exports){
3547
+ },{}],26:[function(require,module,exports){
3498
3548
  'use strict';
3499
3549
 
3500
3550
  var call = Function.prototype.call;
@@ -3504,7 +3554,7 @@ var bind = require('function-bind');
3504
3554
  /** @type {(o: {}, p: PropertyKey) => p is keyof o} */
3505
3555
  module.exports = bind.call(call, $hasOwn);
3506
3556
 
3507
- },{"function-bind":12}],20:[function(require,module,exports){
3557
+ },{"function-bind":19}],27:[function(require,module,exports){
3508
3558
  (function (global){(function (){
3509
3559
  var hasMap = typeof Map === 'function' && Map.prototype;
3510
3560
  var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
@@ -4032,7 +4082,7 @@ function arrObjKeys(obj, inspect) {
4032
4082
  }
4033
4083
 
4034
4084
  }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
4035
- },{"./util.inspect":2}],21:[function(require,module,exports){
4085
+ },{"./util.inspect":2}],28:[function(require,module,exports){
4036
4086
  'use strict';
4037
4087
 
4038
4088
  var replace = String.prototype.replace;
@@ -4057,7 +4107,7 @@ module.exports = {
4057
4107
  RFC3986: Format.RFC3986
4058
4108
  };
4059
4109
 
4060
- },{}],22:[function(require,module,exports){
4110
+ },{}],29:[function(require,module,exports){
4061
4111
  'use strict';
4062
4112
 
4063
4113
  var stringify = require('./stringify');
@@ -4070,7 +4120,7 @@ module.exports = {
4070
4120
  stringify: stringify
4071
4121
  };
4072
4122
 
4073
- },{"./formats":21,"./parse":23,"./stringify":24}],23:[function(require,module,exports){
4123
+ },{"./formats":28,"./parse":30,"./stringify":31}],30:[function(require,module,exports){
4074
4124
  'use strict';
4075
4125
 
4076
4126
  var utils = require('./utils');
@@ -4336,7 +4386,7 @@ module.exports = function (str, opts) {
4336
4386
  return utils.compact(obj);
4337
4387
  };
4338
4388
 
4339
- },{"./utils":25}],24:[function(require,module,exports){
4389
+ },{"./utils":32}],31:[function(require,module,exports){
4340
4390
  'use strict';
4341
4391
 
4342
4392
  var getSideChannel = require('side-channel');
@@ -4658,7 +4708,7 @@ module.exports = function (object, opts) {
4658
4708
  return joined.length > 0 ? prefix + joined : '';
4659
4709
  };
4660
4710
 
4661
- },{"./formats":21,"./utils":25,"side-channel":27}],25:[function(require,module,exports){
4711
+ },{"./formats":28,"./utils":32,"side-channel":34}],32:[function(require,module,exports){
4662
4712
  'use strict';
4663
4713
 
4664
4714
  var formats = require('./formats');
@@ -4912,7 +4962,7 @@ module.exports = {
4912
4962
  merge: merge
4913
4963
  };
4914
4964
 
4915
- },{"./formats":21}],26:[function(require,module,exports){
4965
+ },{"./formats":28}],33:[function(require,module,exports){
4916
4966
  'use strict';
4917
4967
 
4918
4968
  var GetIntrinsic = require('get-intrinsic');
@@ -4920,7 +4970,7 @@ var define = require('define-data-property');
4920
4970
  var hasDescriptors = require('has-property-descriptors')();
4921
4971
  var gOPD = require('gopd');
4922
4972
 
4923
- var $TypeError = GetIntrinsic('%TypeError%');
4973
+ var $TypeError = require('es-errors/type');
4924
4974
  var $floor = GetIntrinsic('%Math.floor%');
4925
4975
 
4926
4976
  /** @typedef {(...args: unknown[]) => unknown} Func */
@@ -4958,14 +5008,14 @@ module.exports = function setFunctionLength(fn, length) {
4958
5008
  return fn;
4959
5009
  };
4960
5010
 
4961
- },{"define-data-property":10,"get-intrinsic":13,"gopd":14,"has-property-descriptors":15}],27:[function(require,module,exports){
5011
+ },{"define-data-property":10,"es-errors/type":16,"get-intrinsic":20,"gopd":21,"has-property-descriptors":22}],34:[function(require,module,exports){
4962
5012
  'use strict';
4963
5013
 
4964
5014
  var GetIntrinsic = require('get-intrinsic');
4965
5015
  var callBound = require('call-bind/callBound');
4966
5016
  var inspect = require('object-inspect');
4967
5017
 
4968
- var $TypeError = GetIntrinsic('%TypeError%');
5018
+ var $TypeError = require('es-errors/type');
4969
5019
  var $WeakMap = GetIntrinsic('%WeakMap%', true);
4970
5020
  var $Map = GetIntrinsic('%Map%', true);
4971
5021
 
@@ -4977,13 +5027,10 @@ var $mapSet = callBound('Map.prototype.set', true);
4977
5027
  var $mapHas = callBound('Map.prototype.has', true);
4978
5028
 
4979
5029
  /*
4980
- * This function traverses the list returning the node corresponding to the
4981
- * given key.
4982
- *
4983
- * That node is also moved to the head of the list, so that if it's accessed
4984
- * again we don't need to traverse the whole list. By doing so, all the recently
4985
- * used nodes can be accessed relatively quickly.
4986
- */
5030
+ * This function traverses the list returning the node corresponding to the given key.
5031
+ *
5032
+ * 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.
5033
+ */
4987
5034
  var listGetNode = function (list, key) { // eslint-disable-line consistent-return
4988
5035
  for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
4989
5036
  if (curr.key === key) {
@@ -5070,11 +5117,7 @@ module.exports = function getSideChannel() {
5070
5117
  $mapSet($m, key, value);
5071
5118
  } else {
5072
5119
  if (!$o) {
5073
- /*
5074
- * Initialize the linked list as an empty node, so that we don't have
5075
- * to special-case handling of the first node: we can always refer to
5076
- * it as (previous node).next, instead of something like (list).head
5077
- */
5120
+ // Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head
5078
5121
  $o = { key: {}, next: null };
5079
5122
  }
5080
5123
  listSet($o, key, value);
@@ -5084,7 +5127,7 @@ module.exports = function getSideChannel() {
5084
5127
  return channel;
5085
5128
  };
5086
5129
 
5087
- },{"call-bind/callBound":8,"get-intrinsic":13,"object-inspect":20}],"platformClient":[function(require,module,exports){
5130
+ },{"call-bind/callBound":8,"es-errors/type":16,"get-intrinsic":20,"object-inspect":27}],"platformClient":[function(require,module,exports){
5088
5131
  (function (global,Buffer){(function (){
5089
5132
  'use strict';function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw new Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr);}function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableRest();}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter);}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(obj,key,value){key=_toPropertyKey(key);if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:String(i);}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
5090
5133
  // if there are two placeholders, than the two characters before it
@@ -5667,7 +5710,7 @@ return utils$1.matchAll(/\w+|\[(\w*)]/g,name).map(function(match){return match[0
5667
5710
  * @param {Function} encoder - A function that takes a value and returns a string.
5668
5711
  *
5669
5712
  * @returns {string} A stringified version of the rawValue.
5670
- */function stringifySafely(rawValue,parser,encoder){if(utils$1.isString(rawValue)){try{(parser||JSON.parse)(rawValue);return utils$1.trim(rawValue);}catch(e){if(e.name!=='SyntaxError'){throw e;}}}return(encoder||JSON.stringify)(rawValue);}var defaults={transitional:transitionalDefaults,adapter:['xhr','http'],transformRequest:[function transformRequest(data,headers){var contentType=headers.getContentType()||'';var hasJSONContentType=contentType.indexOf('application/json')>-1;var isObjectPayload=utils$1.isObject(data);if(isObjectPayload&&utils$1.isHTMLForm(data)){data=new FormData(data);}var isFormData=utils$1.isFormData(data);if(isFormData){if(!hasJSONContentType){return data;}return hasJSONContentType?JSON.stringify(formDataToJSON(data)):data;}if(utils$1.isArrayBuffer(data)||utils$1.isBuffer(data)||utils$1.isStream(data)||utils$1.isFile(data)||utils$1.isBlob(data)){return data;}if(utils$1.isArrayBufferView(data)){return data.buffer;}if(utils$1.isURLSearchParams(data)){headers.setContentType('application/x-www-form-urlencoded;charset=utf-8',false);return data.toString();}var isFileList;if(isObjectPayload){if(contentType.indexOf('application/x-www-form-urlencoded')>-1){return toURLEncodedForm(data,this.formSerializer).toString();}if((isFileList=utils$1.isFileList(data))||contentType.indexOf('multipart/form-data')>-1){var _FormData=this.env&&this.env.FormData;return toFormData(isFileList?{'files[]':data}:data,_FormData&&new _FormData(),this.formSerializer);}}if(isObjectPayload||hasJSONContentType){headers.setContentType('application/json',false);return stringifySafely(data);}return data;}],transformResponse:[function transformResponse(data){var transitional=this.transitional||defaults.transitional;var forcedJSONParsing=transitional&&transitional.forcedJSONParsing;var JSONRequested=this.responseType==='json';if(data&&utils$1.isString(data)&&(forcedJSONParsing&&!this.responseType||JSONRequested)){var silentJSONParsing=transitional&&transitional.silentJSONParsing;var strictJSONParsing=!silentJSONParsing&&JSONRequested;try{return JSON.parse(data);}catch(e){if(strictJSONParsing){if(e.name==='SyntaxError'){throw AxiosError.from(e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response);}throw e;}}}return data;}],/**
5713
+ */function stringifySafely(rawValue,parser,encoder){if(utils$1.isString(rawValue)){try{(parser||JSON.parse)(rawValue);return utils$1.trim(rawValue);}catch(e){if(e.name!=='SyntaxError'){throw e;}}}return(encoder||JSON.stringify)(rawValue);}var defaults={transitional:transitionalDefaults,adapter:['xhr','http'],transformRequest:[function transformRequest(data,headers){var contentType=headers.getContentType()||'';var hasJSONContentType=contentType.indexOf('application/json')>-1;var isObjectPayload=utils$1.isObject(data);if(isObjectPayload&&utils$1.isHTMLForm(data)){data=new FormData(data);}var isFormData=utils$1.isFormData(data);if(isFormData){return hasJSONContentType?JSON.stringify(formDataToJSON(data)):data;}if(utils$1.isArrayBuffer(data)||utils$1.isBuffer(data)||utils$1.isStream(data)||utils$1.isFile(data)||utils$1.isBlob(data)){return data;}if(utils$1.isArrayBufferView(data)){return data.buffer;}if(utils$1.isURLSearchParams(data)){headers.setContentType('application/x-www-form-urlencoded;charset=utf-8',false);return data.toString();}var isFileList;if(isObjectPayload){if(contentType.indexOf('application/x-www-form-urlencoded')>-1){return toURLEncodedForm(data,this.formSerializer).toString();}if((isFileList=utils$1.isFileList(data))||contentType.indexOf('multipart/form-data')>-1){var _FormData=this.env&&this.env.FormData;return toFormData(isFileList?{'files[]':data}:data,_FormData&&new _FormData(),this.formSerializer);}}if(isObjectPayload||hasJSONContentType){headers.setContentType('application/json',false);return stringifySafely(data);}return data;}],transformResponse:[function transformResponse(data){var transitional=this.transitional||defaults.transitional;var forcedJSONParsing=transitional&&transitional.forcedJSONParsing;var JSONRequested=this.responseType==='json';if(data&&utils$1.isString(data)&&(forcedJSONParsing&&!this.responseType||JSONRequested)){var silentJSONParsing=transitional&&transitional.silentJSONParsing;var strictJSONParsing=!silentJSONParsing&&JSONRequested;try{return JSON.parse(data);}catch(e){if(strictJSONParsing){if(e.name==='SyntaxError'){throw AxiosError.from(e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response);}throw e;}}}return data;}],/**
5671
5714
  * A timeout in milliseconds to abort a request. If set to 0 (default) a
5672
5715
  * timeout is not created.
5673
5716
  */timeout:0,xsrfCookieName:'XSRF-TOKEN',xsrfHeaderName:'X-XSRF-TOKEN',maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function validateStatus(status){return status>=200&&status<300;},headers:{common:{'Accept':'application/json, text/plain, */*','Content-Type':undefined}}};utils$1.forEach(['delete','get','head','post','put','patch'],function(method){defaults.headers[method]={};});var defaults$1=defaults;// RawAxiosHeaders whose duplicates are ignored by node
@@ -5822,7 +5865,7 @@ config2=config2||{};var config={};function getMergedValue(target,source,caseless
5822
5865
  function mergeDeepProperties(a,b,caseless){if(!utils$1.isUndefined(b)){return getMergedValue(a,b,caseless);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a,caseless);}}// eslint-disable-next-line consistent-return
5823
5866
  function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
5824
5867
  function defaultToConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}else if(!utils$1.isUndefined(a)){return getMergedValue(undefined,a);}}// eslint-disable-next-line consistent-return
5825
- function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b){return mergeDeepProperties(headersToObject(a),headersToObject(b),true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var VERSION="1.6.6";var validators$1={};// eslint-disable-next-line func-names
5868
+ function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b){return mergeDeepProperties(headersToObject(a),headersToObject(b),true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var VERSION="1.6.7";var validators$1={};// eslint-disable-next-line func-names
5826
5869
  ['object','boolean','number','function','string','symbol'].forEach(function(type,i){validators$1[type]=function validator(thing){return _typeof(thing)===type||'a'+(i<1?'n ':' ')+type;};});var deprecatedWarnings={};/**
5827
5870
  * Transitional option validator
5828
5871
  *
@@ -5854,9 +5897,9 @@ console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will
5854
5897
  * @param {?Object} config
5855
5898
  *
5856
5899
  * @returns {Promise} The Promise to be fulfilled
5857
- */_createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(configOrUrl,config){var dummy;return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return this._request(configOrUrl,config);case 3:return _context.abrupt("return",_context.sent);case 6:_context.prev=6;_context.t0=_context["catch"](0);dummy={};if(Error.captureStackTrace){Error.captureStackTrace(dummy);}else{dummy.stack=new Error().stack;}// slice off the Error: ... line
5858
- dummy.stack=dummy.stack.replace(/^.+\n/,'');// match without the 2 top stack lines
5859
- if(!_context.t0.stack.endsWith(dummy.stack.replace(/^.+\n.+\n/,''))){_context.t0.stack+='\n'+dummy.stack;}throw _context.t0;case 13:case"end":return _context.stop();}},_callee,this,[[0,6]]);}));function request(_x,_x2){return _request2.apply(this,arguments);}return request;}())},{key:"_request",value:function _request(configOrUrl,config){/*eslint no-param-reassign:0*/ // Allow for axios('example/url'[, config]) a la fetch API
5900
+ */_createClass(Axios,[{key:"request",value:(function(){var _request2=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(configOrUrl,config){var dummy,stack;return _regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;_context.next=3;return this._request(configOrUrl,config);case 3:return _context.abrupt("return",_context.sent);case 6:_context.prev=6;_context.t0=_context["catch"](0);if(_context.t0 instanceof Error){Error.captureStackTrace?Error.captureStackTrace(dummy={}):dummy=new Error();// slice off the Error: ... line
5901
+ stack=dummy.stack?dummy.stack.replace(/^.+\n/,''):'';if(!_context.t0.stack){_context.t0.stack=stack;// match without the 2 top stack lines
5902
+ }else if(stack&&!String(_context.t0.stack).endsWith(stack.replace(/^.+\n.+\n/,''))){_context.t0.stack+='\n'+stack;}}throw _context.t0;case 10:case"end":return _context.stop();}},_callee,this,[[0,6]]);}));function request(_x,_x2){return _request2.apply(this,arguments);}return request;}())},{key:"_request",value:function _request(configOrUrl,config){/*eslint no-param-reassign:0*/ // Allow for axios('example/url'[, config]) a la fetch API
5860
5903
  if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else{config=configOrUrl||{};}config=mergeConfig(this.defaults,config);var _config=config,transitional=_config.transitional,paramsSerializer=_config.paramsSerializer,headers=_config.headers;if(transitional!==undefined){validator.assertOptions(transitional,{silentJSONParsing:validators.transitional(validators["boolean"]),forcedJSONParsing:validators.transitional(validators["boolean"]),clarifyTimeoutError:validators.transitional(validators["boolean"])},false);}if(paramsSerializer!=null){if(utils$1.isFunction(paramsSerializer)){config.paramsSerializer={serialize:paramsSerializer};}else{validator.assertOptions(paramsSerializer,{encode:validators["function"],serialize:validators["function"]},true);}}// Set config.method
5861
5904
  config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
5862
5905
  var contextHeaders=headers&&utils$1.merge(headers.common,headers[config.method]);headers&&utils$1.forEach(['delete','get','head','post','put','patch','common'],function(method){delete headers[method];});config.headers=AxiosHeaders$1.concat(contextHeaders,headers);// filter out skipped interceptors
@@ -5935,7 +5978,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
5935
5978
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
5936
5979
  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;}();/**
5937
5980
  * @module purecloud-platform-client-v2/ApiClient
5938
- * @version 186.0.1
5981
+ * @version 188.0.0
5939
5982
  */var ApiClient=/*#__PURE__*/function(){/**
5940
5983
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
5941
5984
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6247,7 +6290,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
6247
6290
  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(){/**
6248
6291
  * Alerting service.
6249
6292
  * @module purecloud-platform-client-v2/api/AlertingApi
6250
- * @version 186.0.1
6293
+ * @version 188.0.0
6251
6294
  */ /**
6252
6295
  * Constructs a new AlertingApi.
6253
6296
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -6404,7 +6447,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
6404
6447
  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(){/**
6405
6448
  * Analytics service.
6406
6449
  * @module purecloud-platform-client-v2/api/AnalyticsApi
6407
- * @version 186.0.1
6450
+ * @version 188.0.0
6408
6451
  */ /**
6409
6452
  * Constructs a new AnalyticsApi.
6410
6453
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -6830,7 +6873,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6830
6873
  * Query for flow execution aggregates
6831
6874
  *
6832
6875
  * @param {Object} body query
6833
- * postAnalyticsFlowexecutionsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6834
6876
  */},{key:"postAnalyticsFlowexecutionsAggregatesQuery",value:function postAnalyticsFlowexecutionsAggregatesQuery(body){// verify the required parameter 'body' is set
6835
6877
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6836
6878
  * Query for flow activity observations
@@ -6886,6 +6928,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6886
6928
  * @param {Object} body query
6887
6929
  */},{key:"postAnalyticsQueuesObservationsQuery",value:function postAnalyticsQueuesObservationsQuery(body){// verify the required parameter 'body' is set
6888
6930
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/queues/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6931
+ * Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
6932
+ *
6933
+ * @param {Object} body query
6934
+ */},{key:"postAnalyticsRatelimitsAggregatesQuery",value:function postAnalyticsRatelimitsAggregatesQuery(body){// verify the required parameter 'body' is set
6935
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/ratelimits/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6889
6936
  * Generate a view export request
6890
6937
  * This API creates a reporting export but the desired way to export analytics data is to use the analytics query APIs instead
6891
6938
  * @param {Object} body ReportingExportJobRequest
@@ -7011,7 +7058,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
7011
7058
  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(){/**
7012
7059
  * Architect service.
7013
7060
  * @module purecloud-platform-client-v2/api/ArchitectApi
7014
- * @version 186.0.1
7061
+ * @version 188.0.0
7015
7062
  */ /**
7016
7063
  * Constructs a new ArchitectApi.
7017
7064
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -7303,8 +7350,12 @@ if(ivrId===undefined||ivrId===null){throw'Missing the required parameter "ivrId"
7303
7350
  * Get specified user prompt
7304
7351
  *
7305
7352
  * @param {String} promptId Prompt ID
7306
- */},{key:"getArchitectPrompt",value:function getArchitectPrompt(promptId){// verify the required parameter 'promptId' is set
7307
- if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling getArchitectPrompt';}return this.apiClient.callApi('/api/v2/architect/prompts/{promptId}','GET',{'promptId':promptId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7353
+ * @param {Object} opts Optional parameters
7354
+ * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
7355
+ * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
7356
+ * @param {Array.<String>} opts.language Filter the resources down to the provided languages
7357
+ */},{key:"getArchitectPrompt",value:function getArchitectPrompt(promptId,opts){opts=opts||{};// verify the required parameter 'promptId' is set
7358
+ if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling getArchitectPrompt';}return this.apiClient.callApi('/api/v2/architect/prompts/{promptId}','GET',{'promptId':promptId},{'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7308
7359
  * Get generated prompt history
7309
7360
  *
7310
7361
  * @param {String} promptId Prompt ID
@@ -7343,7 +7394,10 @@ if(promptId===undefined||promptId===null){throw'Missing the required parameter "
7343
7394
  * @param {String} opts.nameOrDescription Name or description
7344
7395
  * @param {String} opts.sortBy Sort by (default to id)
7345
7396
  * @param {String} opts.sortOrder Sort order (default to asc)
7346
- */},{key:"getArchitectPrompts",value:function getArchitectPrompts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/architect/prompts','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':this.apiClient.buildCollectionParam(opts['name'],'multi'),'description':opts['description'],'nameOrDescription':opts['nameOrDescription'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7397
+ * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
7398
+ * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
7399
+ * @param {Array.<String>} opts.language Filter the resources down to the provided languages
7400
+ */},{key:"getArchitectPrompts",value:function getArchitectPrompts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/architect/prompts','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'name':this.apiClient.buildCollectionParam(opts['name'],'multi'),'description':opts['description'],'nameOrDescription':opts['nameOrDescription'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7347
7401
  * Get a schedule by ID
7348
7402
  *
7349
7403
  * @param {String} scheduleId Schedule ID
@@ -7400,8 +7454,12 @@ if(scheduleGroupId===undefined||scheduleGroupId===null){throw'Missing the requir
7400
7454
  * Get a system prompt
7401
7455
  *
7402
7456
  * @param {String} promptId promptId
7403
- */},{key:"getArchitectSystemprompt",value:function getArchitectSystemprompt(promptId){// verify the required parameter 'promptId' is set
7404
- if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling getArchitectSystemprompt';}return this.apiClient.callApi('/api/v2/architect/systemprompts/{promptId}','GET',{'promptId':promptId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7457
+ * @param {Object} opts Optional parameters
7458
+ * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
7459
+ * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
7460
+ * @param {Array.<String>} opts.language Filter the resources down to the provided languages
7461
+ */},{key:"getArchitectSystemprompt",value:function getArchitectSystemprompt(promptId,opts){opts=opts||{};// verify the required parameter 'promptId' is set
7462
+ if(promptId===undefined||promptId===null){throw'Missing the required parameter "promptId" when calling getArchitectSystemprompt';}return this.apiClient.callApi('/api/v2/architect/systemprompts/{promptId}','GET',{'promptId':promptId},{'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7405
7463
  * Get generated prompt history
7406
7464
  *
7407
7465
  * @param {String} promptId promptId
@@ -7442,7 +7500,10 @@ if(promptId===undefined||promptId===null){throw'Missing the required parameter "
7442
7500
  * @param {String} opts.name Name
7443
7501
  * @param {String} opts.description Description
7444
7502
  * @param {String} opts.nameOrDescription Name or description
7445
- */},{key:"getArchitectSystemprompts",value:function getArchitectSystemprompts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/architect/systemprompts','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'description':opts['description'],'nameOrDescription':opts['nameOrDescription']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7503
+ * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
7504
+ * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
7505
+ * @param {Array.<String>} opts.language Filter the resources down to the provided languages
7506
+ */},{key:"getArchitectSystemprompts",value:function getArchitectSystemprompts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/architect/systemprompts','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'name':opts['name'],'description':opts['description'],'nameOrDescription':opts['nameOrDescription'],'includeMediaUris':opts['includeMediaUris'],'includeResources':opts['includeResources'],'language':this.apiClient.buildCollectionParam(opts['language'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7446
7507
  * Get flow
7447
7508
  *
7448
7509
  * @param {String} flowId Flow ID
@@ -7933,9 +7994,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7933
7994
  * @param {Object} body query
7934
7995
  * @param {Object} opts Optional parameters
7935
7996
  * @param {Boolean} opts.indexOnly indexes only
7997
+ * @param {Number} opts.pageSize number of results to return (default to 50)
7936
7998
  * postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7937
7999
  */},{key:"postFlowsInstancesQuery",value:function postFlowsInstancesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
7938
- 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']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8000
+ 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']);}/**
7939
8001
  * 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.
7940
8002
  *
7941
8003
  */},{key:"postFlowsJobs",value:function postFlowsJobs(){return this.apiClient.callApi('/api/v2/flows/jobs','POST',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -8043,7 +8105,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
8043
8105
  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(){/**
8044
8106
  * Audit service.
8045
8107
  * @module purecloud-platform-client-v2/api/AuditApi
8046
- * @version 186.0.1
8108
+ * @version 188.0.0
8047
8109
  */ /**
8048
8110
  * Constructs a new AuditApi.
8049
8111
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -8085,7 +8147,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8085
8147
  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(){/**
8086
8148
  * Authorization service.
8087
8149
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8088
- * @version 186.0.1
8150
+ * @version 188.0.0
8089
8151
  */ /**
8090
8152
  * Constructs a new AuthorizationApi.
8091
8153
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -8139,8 +8201,9 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
8139
8201
  * @param {String} opts.nextPage next page token
8140
8202
  * @param {String} opts.previousPage Previous page token
8141
8203
  * @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
8204
+ * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
8142
8205
  * @param {String} opts.name Search term to filter by division name
8143
- */},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8206
+ */},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8144
8207
  * Retrieve the home division for the organization.
8145
8208
  * Will not include object counts.
8146
8209
  */},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -8395,7 +8458,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
8395
8458
  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(){/**
8396
8459
  * Billing service.
8397
8460
  * @module purecloud-platform-client-v2/api/BillingApi
8398
- * @version 186.0.1
8461
+ * @version 188.0.0
8399
8462
  */ /**
8400
8463
  * Constructs a new BillingApi.
8401
8464
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -8419,7 +8482,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
8419
8482
  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(){/**
8420
8483
  * CarrierServices service.
8421
8484
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8422
- * @version 186.0.1
8485
+ * @version 188.0.0
8423
8486
  */ /**
8424
8487
  * Constructs a new CarrierServicesApi.
8425
8488
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -8439,7 +8502,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
8439
8502
  */},{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(){/**
8440
8503
  * Chat service.
8441
8504
  * @module purecloud-platform-client-v2/api/ChatApi
8442
- * @version 186.0.1
8505
+ * @version 188.0.0
8443
8506
  */ /**
8444
8507
  * Constructs a new ChatApi.
8445
8508
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -8503,18 +8566,12 @@ if(messageIds===undefined||messageIds===null){throw'Missing the required paramet
8503
8566
  *
8504
8567
  * @param {String} roomJid roomJid
8505
8568
  * @param {Object} opts Optional parameters
8506
- * @param {Number} opts.pageSize The total page size requested (default to 25)
8507
- * @param {Number} opts.pageNumber The page number requested (default to 1)
8508
- * @param {String} opts.sortBy variable name requested to sort by
8509
- * @param {Array.<String>} opts.expand variable name requested by expand list
8510
- * @param {String} opts.nextPage next page token
8511
- * @param {String} opts.previousPage Previous page token
8512
8569
  * @param {String} opts.limit The maximum number of messages to retrieve
8513
8570
  * @param {String} opts.before The cutoff date for messages to retrieve
8514
8571
  * @param {String} opts.after The beginning date for messages to retrieve
8515
8572
  * getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8516
8573
  */},{key:"getChatsRoomMessages",value:function getChatsRoomMessages(roomJid,opts){opts=opts||{};// verify the required parameter 'roomJid' is set
8517
- if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoomMessages';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/messages','GET',{'roomJid':roomJid},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8574
+ if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "roomJid" when calling getChatsRoomMessages';}return this.apiClient.callApi('/api/v2/chats/rooms/{roomJid}/messages','GET',{'roomJid':roomJid},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8518
8575
  * Get Chat Settings.
8519
8576
  *
8520
8577
  */},{key:"getChatsSettings",value:function getChatsSettings(){return this.apiClient.callApi('/api/v2/chats/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -8522,18 +8579,12 @@ if(roomJid===undefined||roomJid===null){throw'Missing the required parameter "ro
8522
8579
  *
8523
8580
  * @param {String} threadId threadId
8524
8581
  * @param {Object} opts Optional parameters
8525
- * @param {Number} opts.pageSize The total page size requested (default to 25)
8526
- * @param {Number} opts.pageNumber The page number requested (default to 1)
8527
- * @param {String} opts.sortBy variable name requested to sort by
8528
- * @param {Array.<String>} opts.expand variable name requested by expand list
8529
- * @param {String} opts.nextPage next page token
8530
- * @param {String} opts.previousPage Previous page token
8531
8582
  * @param {String} opts.limit The maximum number of messages to retrieve
8532
8583
  * @param {String} opts.before The cutoff date for messages to retrieve
8533
8584
  * @param {String} opts.after The beginning date for messages to retrieve
8534
8585
  * getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8535
8586
  */},{key:"getChatsThreadMessages",value:function getChatsThreadMessages(threadId,opts){opts=opts||{};// verify the required parameter 'threadId' is set
8536
- if(threadId===undefined||threadId===null){throw'Missing the required parameter "threadId" when calling getChatsThreadMessages';}return this.apiClient.callApi('/api/v2/chats/threads/{threadId}/messages','GET',{'threadId':threadId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8587
+ if(threadId===undefined||threadId===null){throw'Missing the required parameter "threadId" when calling getChatsThreadMessages';}return this.apiClient.callApi('/api/v2/chats/threads/{threadId}/messages','GET',{'threadId':threadId},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8537
8588
  * Get messages by id(s) from a 1on1
8538
8589
  *
8539
8590
  * @param {String} userId userId
@@ -8546,18 +8597,12 @@ if(messageIds===undefined||messageIds===null){throw'Missing the required paramet
8546
8597
  *
8547
8598
  * @param {String} userId userId
8548
8599
  * @param {Object} opts Optional parameters
8549
- * @param {Number} opts.pageSize The total page size requested (default to 25)
8550
- * @param {Number} opts.pageNumber The page number requested (default to 1)
8551
- * @param {String} opts.sortBy variable name requested to sort by
8552
- * @param {Array.<String>} opts.expand variable name requested by expand list
8553
- * @param {String} opts.nextPage next page token
8554
- * @param {String} opts.previousPage Previous page token
8555
8600
  * @param {String} opts.limit The maximum number of messages to retrieve
8556
8601
  * @param {String} opts.before The cutoff date for messages to retrieve
8557
8602
  * @param {String} opts.after The beginning date for messages to retrieve
8558
8603
  * getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8559
8604
  */},{key:"getChatsUserMessages",value:function getChatsUserMessages(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
8560
- if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUserMessages';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages','GET',{'userId':userId},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8605
+ if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getChatsUserMessages';}return this.apiClient.callApi('/api/v2/chats/users/{userId}/messages','GET',{'userId':userId},{'limit':opts['limit'],'before':opts['before'],'after':opts['after']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
8561
8606
  * Get a user's chat settings
8562
8607
  *
8563
8608
  * @param {String} userId User ID
@@ -8650,7 +8695,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8650
8695
  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(){/**
8651
8696
  * Coaching service.
8652
8697
  * @module purecloud-platform-client-v2/api/CoachingApi
8653
- * @version 186.0.1
8698
+ * @version 188.0.0
8654
8699
  */ /**
8655
8700
  * Constructs a new CoachingApi.
8656
8701
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -8803,7 +8848,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
8803
8848
  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(){/**
8804
8849
  * ContentManagement service.
8805
8850
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8806
- * @version 186.0.1
8851
+ * @version 188.0.0
8807
8852
  */ /**
8808
8853
  * Constructs a new ContentManagementApi.
8809
8854
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -9086,7 +9131,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
9086
9131
  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(){/**
9087
9132
  * Conversations service.
9088
9133
  * @module purecloud-platform-client-v2/api/ConversationsApi
9089
- * @version 186.0.1
9134
+ * @version 188.0.0
9090
9135
  */ /**
9091
9136
  * Constructs a new ConversationsApi.
9092
9137
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -10074,8 +10119,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10074
10119
  */},{key:"patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId",value:function patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
10075
10120
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';}// verify the required parameter 'body' is set
10076
10121
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10077
- * Update or activate a WhatsApp messaging integration
10078
- * The following steps are required in order to fully activate a WhatsApp Integration: Initially, you will need to get an activation code by sending: an action set to Activate, and an authenticationMethod choosing from Sms or Voice. Finally, once you have been informed of an activation code on selected authenticationMethod, you will need to confirm the code by sending: an action set to Confirm, and the confirmationCode you have received from Whatsapp.
10122
+ * Update a WhatsApp messaging integration
10123
+ *
10079
10124
  * @param {String} integrationId Integration ID
10080
10125
  * @param {Object} body WhatsAppIntegrationUpdateRequest
10081
10126
  */},{key:"patchConversationsMessagingIntegrationsWhatsappIntegrationId",value:function patchConversationsMessagingIntegrationsWhatsappIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
@@ -10192,7 +10237,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10192
10237
  * @param {String} conversationId conversation ID
10193
10238
  * @param {String} participantId participant ID
10194
10239
  * @param {Object} body Transfer request
10195
- * postConversationParticipantReplaceAgent is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10196
10240
  */},{key:"postConversationParticipantReplaceAgent",value:function postConversationParticipantReplaceAgent(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
10197
10241
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'participantId' is set
10198
10242
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'body' is set
@@ -10202,7 +10246,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10202
10246
  * @param {String} conversationId conversation ID
10203
10247
  * @param {String} participantId participant ID
10204
10248
  * @param {Object} body Transfer request
10205
- * postConversationParticipantReplaceExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10206
10249
  */},{key:"postConversationParticipantReplaceExternal",value:function postConversationParticipantReplaceExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
10207
10250
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceExternal';}// verify the required parameter 'participantId' is set
10208
10251
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceExternal';}// verify the required parameter 'body' is set
@@ -10212,7 +10255,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10212
10255
  * @param {String} conversationId conversation ID
10213
10256
  * @param {String} participantId participant ID
10214
10257
  * @param {Object} body Transfer request
10215
- * postConversationParticipantReplaceQueue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10216
10258
  */},{key:"postConversationParticipantReplaceQueue",value:function postConversationParticipantReplaceQueue(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
10217
10259
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceQueue';}// verify the required parameter 'participantId' is set
10218
10260
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceQueue';}// verify the required parameter 'body' is set
@@ -10226,6 +10268,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10226
10268
  */},{key:"postConversationParticipantSecureivrsessions",value:function postConversationParticipantSecureivrsessions(conversationId,participantId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
10227
10269
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';}// verify the required parameter 'participantId' is set
10228
10270
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantSecureivrsessions';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
10271
+ * Submit feedback for the summary.
10272
+ *
10273
+ * @param {String} conversationId Conversation ID
10274
+ * @param {String} summaryId Summary ID
10275
+ * @param {Object} opts Optional parameters
10276
+ * @param {Object} opts.body
10277
+ */},{key:"postConversationSummaryFeedback",value:function postConversationSummaryFeedback(conversationId,summaryId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
10278
+ if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationSummaryFeedback';}// verify the required parameter 'summaryId' is set
10279
+ if(summaryId===undefined||summaryId===null){throw'Missing the required parameter "summaryId" when calling postConversationSummaryFeedback';}return this.apiClient.callApi('/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback','POST',{'conversationId':conversationId,'summaryId':summaryId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
10229
10280
  * Place a new call as part of a callback conversation.
10230
10281
  *
10231
10282
  * @param {String} conversationId conversationId
@@ -10273,7 +10324,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10273
10324
  * @param {String} conversationId conversationId
10274
10325
  * @param {String} participantId participantId
10275
10326
  * @param {Object} body Destination agent and initial speak to
10276
- * postConversationsCallParticipantConsultAgent is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10277
10327
  */},{key:"postConversationsCallParticipantConsultAgent",value:function postConversationsCallParticipantConsultAgent(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
10278
10328
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'participantId' is set
10279
10329
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'body' is set
@@ -10283,7 +10333,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10283
10333
  * @param {String} conversationId conversationId
10284
10334
  * @param {String} participantId participantId
10285
10335
  * @param {Object} body Destination address and initial speak to
10286
- * postConversationsCallParticipantConsultExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10287
10336
  */},{key:"postConversationsCallParticipantConsultExternal",value:function postConversationsCallParticipantConsultExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
10288
10337
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultExternal';}// verify the required parameter 'participantId' is set
10289
10338
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultExternal';}// verify the required parameter 'body' is set
@@ -10293,7 +10342,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10293
10342
  * @param {String} conversationId conversationId
10294
10343
  * @param {String} participantId participantId
10295
10344
  * @param {Object} body Destination queue and initial speak to
10296
- * postConversationsCallParticipantConsultQueue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10297
10345
  */},{key:"postConversationsCallParticipantConsultQueue",value:function postConversationsCallParticipantConsultQueue(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
10298
10346
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultQueue';}// verify the required parameter 'participantId' is set
10299
10347
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultQueue';}// verify the required parameter 'body' is set
@@ -10559,7 +10607,6 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
10559
10607
  *
10560
10608
  * @param {String} conversationId conversationId
10561
10609
  * @param {String} participantId participantId
10562
- * postConversationsMessageParticipantMonitor is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10563
10610
  */},{key:"postConversationsMessageParticipantMonitor",value:function postConversationsMessageParticipantMonitor(conversationId,participantId){// verify the required parameter 'conversationId' is set
10564
10611
  if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantMonitor';}// verify the required parameter 'participantId' is set
10565
10612
  if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantMonitor';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/participants/{participantId}/monitor','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -10597,9 +10644,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10597
10644
  * @param {Object} body InstagramIntegrationRequest
10598
10645
  */},{key:"postConversationsMessagingIntegrationsInstagram",value:function postConversationsMessagingIntegrationsInstagram(body){// verify the required parameter 'body' is set
10599
10646
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsInstagram';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/instagram','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10600
- * Create a LINE messenger Integration
10601
- *
10647
+ * Create a LINE messenger Integration (Deprecated)
10648
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
10602
10649
  * @param {Object} body LineIntegrationRequest
10650
+ * @deprecated
10603
10651
  */},{key:"postConversationsMessagingIntegrationsLine",value:function postConversationsMessagingIntegrationsLine(body){// verify the required parameter 'body' is set
10604
10652
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsLine';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/line','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10605
10653
  * Create an Open messaging integration
@@ -10810,7 +10858,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
10810
10858
  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(){/**
10811
10859
  * DataExtensions service.
10812
10860
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
10813
- * @version 186.0.1
10861
+ * @version 188.0.0
10814
10862
  */ /**
10815
10863
  * Constructs a new DataExtensionsApi.
10816
10864
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -10831,7 +10879,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
10831
10879
  */},{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(){/**
10832
10880
  * Downloads service.
10833
10881
  * @module purecloud-platform-client-v2/api/DownloadsApi
10834
- * @version 186.0.1
10882
+ * @version 188.0.0
10835
10883
  */ /**
10836
10884
  * Constructs a new DownloadsApi.
10837
10885
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -10850,7 +10898,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
10850
10898
  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(){/**
10851
10899
  * Emails service.
10852
10900
  * @module purecloud-platform-client-v2/api/EmailsApi
10853
- * @version 186.0.1
10901
+ * @version 188.0.0
10854
10902
  */ /**
10855
10903
  * Constructs a new EmailsApi.
10856
10904
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -10868,7 +10916,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
10868
10916
  */},{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(){/**
10869
10917
  * Events service.
10870
10918
  * @module purecloud-platform-client-v2/api/EventsApi
10871
- * @version 186.0.1
10919
+ * @version 188.0.0
10872
10920
  */ /**
10873
10921
  * Constructs a new EventsApi.
10874
10922
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -10893,7 +10941,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10893
10941
  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(){/**
10894
10942
  * ExternalContacts service.
10895
10943
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
10896
- * @version 186.0.1
10944
+ * @version 188.0.0
10897
10945
  */ /**
10898
10946
  * Constructs a new ExternalContactsApi.
10899
10947
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -11348,7 +11396,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
11348
11396
  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(){/**
11349
11397
  * Fax service.
11350
11398
  * @module purecloud-platform-client-v2/api/FaxApi
11351
- * @version 186.0.1
11399
+ * @version 188.0.0
11352
11400
  */ /**
11353
11401
  * Constructs a new FaxApi.
11354
11402
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -11389,7 +11437,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
11389
11437
  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(){/**
11390
11438
  * Flows service.
11391
11439
  * @module purecloud-platform-client-v2/api/FlowsApi
11392
- * @version 186.0.1
11440
+ * @version 188.0.0
11393
11441
  */ /**
11394
11442
  * Constructs a new FlowsApi.
11395
11443
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -11438,7 +11486,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11438
11486
  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(){/**
11439
11487
  * Gamification service.
11440
11488
  * @module purecloud-platform-client-v2/api/GamificationApi
11441
- * @version 186.0.1
11489
+ * @version 188.0.0
11442
11490
  */ /**
11443
11491
  * Constructs a new GamificationApi.
11444
11492
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -11978,7 +12026,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
11978
12026
  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(){/**
11979
12027
  * GeneralDataProtectionRegulation service.
11980
12028
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
11981
- * @version 186.0.1
12029
+ * @version 188.0.0
11982
12030
  */ /**
11983
12031
  * Constructs a new GeneralDataProtectionRegulationApi.
11984
12032
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -12013,7 +12061,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
12013
12061
  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(){/**
12014
12062
  * Geolocation service.
12015
12063
  * @module purecloud-platform-client-v2/api/GeolocationApi
12016
- * @version 186.0.1
12064
+ * @version 188.0.0
12017
12065
  */ /**
12018
12066
  * Constructs a new GeolocationApi.
12019
12067
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -12047,7 +12095,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
12047
12095
  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(){/**
12048
12096
  * Greetings service.
12049
12097
  * @module purecloud-platform-client-v2/api/GreetingsApi
12050
- * @version 186.0.1
12098
+ * @version 188.0.0
12051
12099
  */ /**
12052
12100
  * Constructs a new GreetingsApi.
12053
12101
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -12154,7 +12202,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
12154
12202
  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(){/**
12155
12203
  * Groups service.
12156
12204
  * @module purecloud-platform-client-v2/api/GroupsApi
12157
- * @version 186.0.1
12205
+ * @version 188.0.0
12158
12206
  */ /**
12159
12207
  * Constructs a new GroupsApi.
12160
12208
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -12287,7 +12335,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
12287
12335
  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(){/**
12288
12336
  * IdentityProvider service.
12289
12337
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
12290
- * @version 186.0.1
12338
+ * @version 188.0.0
12291
12339
  */ /**
12292
12340
  * Constructs a new IdentityProviderApi.
12293
12341
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -12295,9 +12343,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12295
12343
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
12296
12344
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
12297
12345
  */function IdentityProviderApi(apiClient){_classCallCheck(this,IdentityProviderApi);this.apiClient=apiClient||ApiClient.instance;}/**
12346
+ * Delete Identity Provider
12347
+ *
12348
+ * @param {String} providerId Provider ID
12349
+ */_createClass(IdentityProviderApi,[{key:"deleteIdentityprovider",value:function deleteIdentityprovider(providerId){// verify the required parameter 'providerId' is set
12350
+ if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling deleteIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','DELETE',{'providerId':providerId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12298
12351
  * Delete ADFS Identity Provider
12299
12352
  *
12300
- */_createClass(IdentityProviderApi,[{key:"deleteIdentityprovidersAdfs",value:function deleteIdentityprovidersAdfs(){return this.apiClient.callApi('/api/v2/identityproviders/adfs','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12353
+ */},{key:"deleteIdentityprovidersAdfs",value:function deleteIdentityprovidersAdfs(){return this.apiClient.callApi('/api/v2/identityproviders/adfs','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12301
12354
  * Delete Customer Interaction Center (CIC) Identity Provider
12302
12355
  *
12303
12356
  */},{key:"deleteIdentityprovidersCic",value:function deleteIdentityprovidersCic(){return this.apiClient.callApi('/api/v2/identityproviders/cic','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -12328,6 +12381,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12328
12381
  * Delete Salesforce Identity Provider
12329
12382
  *
12330
12383
  */},{key:"deleteIdentityprovidersSalesforce",value:function deleteIdentityprovidersSalesforce(){return this.apiClient.callApi('/api/v2/identityproviders/salesforce','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12384
+ * Get Identity Provider
12385
+ *
12386
+ * @param {String} providerId Provider ID
12387
+ */},{key:"getIdentityprovider",value:function getIdentityprovider(providerId){// verify the required parameter 'providerId' is set
12388
+ if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling getIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','GET',{'providerId':providerId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12331
12389
  * The list of identity providers
12332
12390
  *
12333
12391
  */},{key:"getIdentityproviders",value:function getIdentityproviders(){return this.apiClient.callApi('/api/v2/identityproviders','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -12364,6 +12422,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12364
12422
  * Get Salesforce Identity Provider
12365
12423
  *
12366
12424
  */},{key:"getIdentityprovidersSalesforce",value:function getIdentityprovidersSalesforce(){return this.apiClient.callApi('/api/v2/identityproviders/salesforce','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12425
+ * Create Identity Provider
12426
+ *
12427
+ * @param {Object} body Provider
12428
+ */},{key:"postIdentityproviders",value:function postIdentityproviders(body){// verify the required parameter 'body' is set
12429
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIdentityproviders';}return this.apiClient.callApi('/api/v2/identityproviders','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12430
+ * Update Identity Provider
12431
+ *
12432
+ * @param {String} providerId Provider ID
12433
+ * @param {Object} body Provider
12434
+ */},{key:"putIdentityprovider",value:function putIdentityprovider(providerId,body){// verify the required parameter 'providerId' is set
12435
+ if(providerId===undefined||providerId===null){throw'Missing the required parameter "providerId" when calling putIdentityprovider';}// verify the required parameter 'body' is set
12436
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovider';}return this.apiClient.callApi('/api/v2/identityproviders/{providerId}','PUT',{'providerId':providerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12367
12437
  * Update/Create ADFS Identity Provider
12368
12438
  *
12369
12439
  * @param {Object} body Provider
@@ -12421,7 +12491,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12421
12491
  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(){/**
12422
12492
  * InfrastructureAsCode service.
12423
12493
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
12424
- * @version 186.0.1
12494
+ * @version 188.0.0
12425
12495
  */ /**
12426
12496
  * Constructs a new InfrastructureAsCodeApi.
12427
12497
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -12475,7 +12545,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
12475
12545
  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(){/**
12476
12546
  * Integrations service.
12477
12547
  * @module purecloud-platform-client-v2/api/IntegrationsApi
12478
- * @version 186.0.1
12548
+ * @version 188.0.0
12479
12549
  */ /**
12480
12550
  * Constructs a new IntegrationsApi.
12481
12551
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -12546,6 +12616,12 @@ if(actionId===undefined||actionId===null){throw'Missing the required parameter "
12546
12616
  * @param {Object} opts.includeConfig Return config in response. (default to false)
12547
12617
  */},{key:"getIntegrationsActionDraft",value:function getIntegrationsActionDraft(actionId,opts){opts=opts||{};// verify the required parameter 'actionId' is set
12548
12618
  if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraft';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft','GET',{'actionId':actionId},{'expand':opts['expand'],'includeConfig':opts['includeConfig']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12619
+ * Get draft function settings for Action
12620
+ *
12621
+ * @param {String} actionId actionId
12622
+ * getIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12623
+ */},{key:"getIntegrationsActionDraftFunction",value:function getIntegrationsActionDraftFunction(actionId){// verify the required parameter 'actionId' is set
12624
+ if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12549
12625
  * Retrieve schema for a Draft based on filename.
12550
12626
  *
12551
12627
  * @param {String} actionId actionId
@@ -12565,6 +12641,12 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
12565
12641
  * @param {String} actionId actionId
12566
12642
  */},{key:"getIntegrationsActionDraftValidation",value:function getIntegrationsActionDraftValidation(actionId){// verify the required parameter 'actionId' is set
12567
12643
  if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionDraftValidation';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/validation','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12644
+ * Get published function settings for Action
12645
+ *
12646
+ * @param {String} actionId actionId
12647
+ * getIntegrationsActionFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12648
+ */},{key:"getIntegrationsActionFunction",value:function getIntegrationsActionFunction(actionId){// verify the required parameter 'actionId' is set
12649
+ if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling getIntegrationsActionFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/function','GET',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12568
12650
  * Retrieve schema for an action based on filename.
12569
12651
  *
12570
12652
  * @param {String} actionId actionId
@@ -12626,6 +12708,10 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
12626
12708
  * @param {Object} opts.secure Filter based on 'secure' configuration option. True will only return actions marked as secure. False will return only non-secure actions. Do not use filter if you want all Actions.
12627
12709
  * @param {Object} opts.includeAuthActions Whether or not to include authentication actions in the response. These actions are not directly executable. Some integrations create them and will run them as needed to refresh authentication information for other actions. (default to false)
12628
12710
  */},{key:"getIntegrationsActionsDrafts",value:function getIntegrationsActionsDrafts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/actions/drafts','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'category':opts['category'],'name':opts['name'],'ids':opts['ids'],'secure':opts['secure'],'includeAuthActions':opts['includeAuthActions']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12711
+ * Get action function settings for Action
12712
+ *
12713
+ * getIntegrationsActionsFunctionsRuntimes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12714
+ */},{key:"getIntegrationsActionsFunctionsRuntimes",value:function getIntegrationsActionsFunctionsRuntimes(){return this.apiClient.callApi('/api/v2/integrations/actions/functions/runtimes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12629
12715
  * Get a specific botConnector bot, plus versions, for this integration
12630
12716
  *
12631
12717
  * @param {String} integrationId The integration ID for this group of bots
@@ -12887,6 +12973,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12887
12973
  * @param {String} actionId actionId
12888
12974
  */},{key:"postIntegrationsActionDraft",value:function postIntegrationsActionDraft(actionId){// verify the required parameter 'actionId' is set
12889
12975
  if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraft';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft','POST',{'actionId':actionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12976
+ * Create upload presigned URL for draft function package file.
12977
+ *
12978
+ * @param {String} actionId actionId
12979
+ * @param {Object} body Input used to request URL upload.
12980
+ * postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12981
+ */},{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
12982
+ if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
12983
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12890
12984
  * Publish a Draft and make it the active Action configuration
12891
12985
  *
12892
12986
  * @param {String} actionId actionId
@@ -12966,6 +13060,14 @@ if(settings===undefined||settings===null){throw'Missing the required parameter "
12966
13060
  * @param {Object} opts.body Integration Configuration
12967
13061
  */},{key:"putIntegrationConfigCurrent",value:function putIntegrationConfigCurrent(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
12968
13062
  if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling putIntegrationConfigCurrent';}return this.apiClient.callApi('/api/v2/integrations/{integrationId}/config/current','PUT',{'integrationId':integrationId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
13063
+ * Update draft function settings.
13064
+ *
13065
+ * @param {String} actionId actionId
13066
+ * @param {Object} body Input used to update function settings.
13067
+ * putIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13068
+ */},{key:"putIntegrationsActionDraftFunction",value:function putIntegrationsActionDraftFunction(actionId,body){// verify the required parameter 'actionId' is set
13069
+ if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';}// verify the required parameter 'body' is set
13070
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsActionDraftFunction';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function','PUT',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12969
13071
  * Set a list of botConnector bots plus versions for this integration
12970
13072
  *
12971
13073
  * @param {String} integrationId The integration ID for this group of bots
@@ -13002,7 +13104,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
13002
13104
  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(){/**
13003
13105
  * Journey service.
13004
13106
  * @module purecloud-platform-client-v2/api/JourneyApi
13005
- * @version 186.0.1
13107
+ * @version 188.0.0
13006
13108
  */ /**
13007
13109
  * Constructs a new JourneyApi.
13008
13110
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -13197,17 +13299,6 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
13197
13299
  * @param {String} sessionId ID of the session.
13198
13300
  */},{key:"getJourneySessionOutcomescores",value:function getJourneySessionOutcomescores(sessionId){// verify the required parameter 'sessionId' is set
13199
13301
  if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionOutcomescores';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/outcomescores','GET',{'sessionId':sessionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13200
- * Retrieve segment assignments by session ID.
13201
- *
13202
- * @param {String} sessionId ID of the session to query for segment assignments.
13203
- * @param {Object} opts Optional parameters
13204
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
13205
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
13206
- * @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
13207
- * @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
13208
- * getJourneySessionSegments is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13209
- */},{key:"getJourneySessionSegments",value:function getJourneySessionSegments(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
13210
- if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionSegments';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/segments','GET',{'sessionId':sessionId},{'pageSize':opts['pageSize'],'after':opts['after'],'segmentScope':opts['segmentScope'],'assignmentState':opts['assignmentState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13211
13302
  * Update single action map.
13212
13303
  *
13213
13304
  * @param {String} actionMapId ID of the action map.
@@ -13306,7 +13397,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
13306
13397
  */},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
13307
13398
  * Knowledge service.
13308
13399
  * @module purecloud-platform-client-v2/api/KnowledgeApi
13309
- * @version 186.0.1
13400
+ * @version 188.0.0
13310
13401
  */ /**
13311
13402
  * Constructs a new KnowledgeApi.
13312
13403
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -13708,6 +13799,36 @@ if(trainingId===undefined||trainingId===null){throw'Missing the required paramet
13708
13799
  */},{key:"getKnowledgeKnowledgebaseLanguageTrainings",value:function getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
13709
13800
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
13710
13801
  if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'knowledgeDocumentsState':opts['knowledgeDocumentsState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13802
+ * Get operations
13803
+ *
13804
+ * @param {String} knowledgeBaseId Knowledge base ID
13805
+ * @param {Object} opts Optional parameters
13806
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
13807
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
13808
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
13809
+ * @param {Array.<String>} opts.userId If specified, retrieves operations associated with user ids, comma separated values expected.
13810
+ * @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
13811
+ * @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
13812
+ * @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
13813
+ * getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13814
+ */},{key:"getKnowledgeKnowledgebaseOperations",value:function getKnowledgeKnowledgebaseOperations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
13815
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'type':this.apiClient.buildCollectionParam(opts['type'],'multi'),'status':this.apiClient.buildCollectionParam(opts['status'],'multi'),'interval':opts['interval']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13816
+ * Get ids of operation creator users and oauth clients
13817
+ *
13818
+ * @param {String} knowledgeBaseId Knowledge base ID
13819
+ * getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13820
+ */},{key:"getKnowledgeKnowledgebaseOperationsUsersQuery",value:function getKnowledgeKnowledgebaseOperationsUsersQuery(knowledgeBaseId){// verify the required parameter 'knowledgeBaseId' is set
13821
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperationsUsersQuery';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations/users/query','GET',{'knowledgeBaseId':knowledgeBaseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13822
+ * Get parse job report
13823
+ *
13824
+ * @param {String} knowledgeBaseId Knowledge base ID
13825
+ * @param {String} parseJobId Parse job ID
13826
+ * @param {Object} opts Optional parameters
13827
+ * @param {Array.<String>} opts.expand If expand contains 'urls' downloadURL and failedEntitiesURL will be filled.
13828
+ * getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13829
+ */},{key:"getKnowledgeKnowledgebaseParseJob",value:function getKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
13830
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
13831
+ if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling getKnowledgeKnowledgebaseParseJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13711
13832
  * Get knowledge base unanswered group for a particular groupId
13712
13833
  *
13713
13834
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -13741,6 +13862,14 @@ if(phraseGroupId===undefined||phraseGroupId===null){throw'Missing the required p
13741
13862
  * @param {String} opts.dateEnd The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
13742
13863
  */},{key:"getKnowledgeKnowledgebaseUnansweredGroups",value:function getKnowledgeKnowledgebaseUnansweredGroups(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
13743
13864
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUnansweredGroups';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups','GET',{'knowledgeBaseId':knowledgeBaseId},{'app':opts['app'],'dateStart':opts['dateStart'],'dateEnd':opts['dateEnd']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13865
+ * Get content upload from URL job status
13866
+ *
13867
+ * @param {String} knowledgeBaseId Knowledge base ID
13868
+ * @param {String} jobId Upload job ID
13869
+ * getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13870
+ */},{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
13871
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
13872
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13744
13873
  * Get knowledge bases
13745
13874
  *
13746
13875
  * @param {Object} opts Optional parameters
@@ -13872,6 +14001,16 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
13872
14001
  if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
13873
14002
  if(importId===undefined||importId===null){throw'Missing the required parameter "importId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'body' is set
13874
14003
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14004
+ * Send update to the parse operation
14005
+ *
14006
+ * @param {String} knowledgeBaseId Knowledge base ID
14007
+ * @param {String} parseJobId Parse job ID
14008
+ * @param {Object} body
14009
+ * patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14010
+ */},{key:"patchKnowledgeKnowledgebaseParseJob",value:function patchKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,body){// verify the required parameter 'knowledgeBaseId' is set
14011
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
14012
+ if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'body' is set
14013
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseParseJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
13875
14014
  * Update a Knowledge base unanswered phrase group
13876
14015
  *
13877
14016
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -14088,6 +14227,24 @@ if(trainingId===undefined||trainingId===null){throw'Missing the required paramet
14088
14227
  */},{key:"postKnowledgeKnowledgebaseLanguageTrainings",value:function postKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode){// verify the required parameter 'knowledgeBaseId' is set
14089
14228
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
14090
14229
  if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14230
+ * Import the parsed articles
14231
+ *
14232
+ * @param {String} knowledgeBaseId Knowledge base ID
14233
+ * @param {String} parseJobId Parse job ID
14234
+ * @param {Object} body
14235
+ * postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14236
+ */},{key:"postKnowledgeKnowledgebaseParseJobImport",value:function postKnowledgeKnowledgebaseParseJobImport(knowledgeBaseId,parseJobId,body){// verify the required parameter 'knowledgeBaseId' is set
14237
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobImport';}// verify the required parameter 'parseJobId' is set
14238
+ if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling postKnowledgeKnowledgebaseParseJobImport';}// verify the required parameter 'body' is set
14239
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}/import','POST',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14240
+ * Create parse job
14241
+ *
14242
+ * @param {String} knowledgeBaseId Knowledge base ID
14243
+ * @param {Object} body
14244
+ * postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14245
+ */},{key:"postKnowledgeKnowledgebaseParseJobs",value:function postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
14246
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobs';}// verify the required parameter 'body' is set
14247
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14091
14248
  * Search Documents
14092
14249
  *
14093
14250
  * @param {String} knowledgeBaseId Knowledge base ID
@@ -14096,6 +14253,14 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
14096
14253
  * @deprecated
14097
14254
  */},{key:"postKnowledgeKnowledgebaseSearch",value:function postKnowledgeKnowledgebaseSearch(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
14098
14255
  if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
14256
+ * Create content upload from URL job
14257
+ *
14258
+ * @param {String} knowledgeBaseId Knowledge base ID
14259
+ * @param {Object} body uploadRequest
14260
+ * postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14261
+ */},{key:"postKnowledgeKnowledgebaseUploadsUrlsJobs",value:function postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
14262
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}// verify the required parameter 'body' is set
14263
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14099
14264
  * Create new knowledge base
14100
14265
  *
14101
14266
  * @param {Object} body
@@ -14103,7 +14268,7 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
14103
14268
  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(){/**
14104
14269
  * LanguageUnderstanding service.
14105
14270
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
14106
- * @version 186.0.1
14271
+ * @version 188.0.0
14107
14272
  */ /**
14108
14273
  * Constructs a new LanguageUnderstandingApi.
14109
14274
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -14359,7 +14524,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
14359
14524
  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(){/**
14360
14525
  * Languages service.
14361
14526
  * @module purecloud-platform-client-v2/api/LanguagesApi
14362
- * @version 186.0.1
14527
+ * @version 188.0.0
14363
14528
  */ /**
14364
14529
  * Constructs a new LanguagesApi.
14365
14530
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -14414,7 +14579,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14414
14579
  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(){/**
14415
14580
  * Learning service.
14416
14581
  * @module purecloud-platform-client-v2/api/LearningApi
14417
- * @version 186.0.1
14582
+ * @version 188.0.0
14418
14583
  */ /**
14419
14584
  * Constructs a new LearningApi.
14420
14585
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -14644,7 +14809,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
14644
14809
  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(){/**
14645
14810
  * License service.
14646
14811
  * @module purecloud-platform-client-v2/api/LicenseApi
14647
- * @version 186.0.1
14812
+ * @version 188.0.0
14648
14813
  */ /**
14649
14814
  * Constructs a new LicenseApi.
14650
14815
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -14698,7 +14863,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
14698
14863
  */},{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(){/**
14699
14864
  * Locations service.
14700
14865
  * @module purecloud-platform-client-v2/api/LocationsApi
14701
- * @version 186.0.1
14866
+ * @version 188.0.0
14702
14867
  */ /**
14703
14868
  * Constructs a new LocationsApi.
14704
14869
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -14757,7 +14922,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14757
14922
  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(){/**
14758
14923
  * LogCapture service.
14759
14924
  * @module purecloud-platform-client-v2/api/LogCaptureApi
14760
- * @version 186.0.1
14925
+ * @version 188.0.0
14761
14926
  */ /**
14762
14927
  * Constructs a new LogCaptureApi.
14763
14928
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -14807,7 +14972,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
14807
14972
  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(){/**
14808
14973
  * Messaging service.
14809
14974
  * @module purecloud-platform-client-v2/api/MessagingApi
14810
- * @version 186.0.1
14975
+ * @version 188.0.0
14811
14976
  */ /**
14812
14977
  * Constructs a new MessagingApi.
14813
14978
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -14897,7 +15062,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14897
15062
  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(){/**
14898
15063
  * MobileDevices service.
14899
15064
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
14900
- * @version 186.0.1
15065
+ * @version 188.0.0
14901
15066
  */ /**
14902
15067
  * Constructs a new MobileDevicesApi.
14903
15068
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -14936,7 +15101,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14936
15101
  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(){/**
14937
15102
  * Notifications service.
14938
15103
  * @module purecloud-platform-client-v2/api/NotificationsApi
14939
- * @version 186.0.1
15104
+ * @version 188.0.0
14940
15105
  */ /**
14941
15106
  * Constructs a new NotificationsApi.
14942
15107
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -14993,7 +15158,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
14993
15158
  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(){/**
14994
15159
  * OAuth service.
14995
15160
  * @module purecloud-platform-client-v2/api/OAuthApi
14996
- * @version 186.0.1
15161
+ * @version 188.0.0
14997
15162
  */ /**
14998
15163
  * Constructs a new OAuthApi.
14999
15164
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -15078,7 +15243,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
15078
15243
  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(){/**
15079
15244
  * Objects service.
15080
15245
  * @module purecloud-platform-client-v2/api/ObjectsApi
15081
- * @version 186.0.1
15246
+ * @version 188.0.0
15082
15247
  */ /**
15083
15248
  * Constructs a new ObjectsApi.
15084
15249
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -15110,8 +15275,9 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
15110
15275
  * @param {String} opts.nextPage next page token
15111
15276
  * @param {String} opts.previousPage Previous page token
15112
15277
  * @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
15278
+ * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
15113
15279
  * @param {String} opts.name Search term to filter by division name
15114
- */},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15280
+ */},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15115
15281
  * Retrieve the home division for the organization.
15116
15282
  * Will not include object counts.
15117
15283
  */},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -15148,7 +15314,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
15148
15314
  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(){/**
15149
15315
  * OperationalEvents service.
15150
15316
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
15151
- * @version 186.0.1
15317
+ * @version 188.0.0
15152
15318
  */ /**
15153
15319
  * Constructs a new OperationalEventsApi.
15154
15320
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -15166,7 +15332,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
15166
15332
  */},{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(){/**
15167
15333
  * Organization service.
15168
15334
  * @module purecloud-platform-client-v2/api/OrganizationApi
15169
- * @version 186.0.1
15335
+ * @version 188.0.0
15170
15336
  */ /**
15171
15337
  * Constructs a new OrganizationApi.
15172
15338
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -15268,7 +15434,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
15268
15434
  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(){/**
15269
15435
  * OrganizationAuthorization service.
15270
15436
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
15271
- * @version 186.0.1
15437
+ * @version 188.0.0
15272
15438
  */ /**
15273
15439
  * Constructs a new OrganizationAuthorizationApi.
15274
15440
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -15591,7 +15757,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
15591
15757
  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(){/**
15592
15758
  * Outbound service.
15593
15759
  * @module purecloud-platform-client-v2/api/OutboundApi
15594
- * @version 186.0.1
15760
+ * @version 188.0.0
15595
15761
  */ /**
15596
15762
  * Constructs a new OutboundApi.
15597
15763
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -15699,6 +15865,16 @@ if(dncListId===undefined||dncListId===null){throw'Missing the required parameter
15699
15865
  * @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
15700
15866
  */},{key:"deleteOutboundDnclistPhonenumbers",value:function deleteOutboundDnclistPhonenumbers(dncListId,opts){opts=opts||{};// verify the required parameter 'dncListId' is set
15701
15867
  if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}/phonenumbers','DELETE',{'dncListId':dncListId},{'expiredOnly':opts['expiredOnly']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15868
+ * Delete File Specification Template
15869
+ *
15870
+ * @param {String} fileSpecificationTemplateId File Specification Template ID
15871
+ */},{key:"deleteOutboundFilespecificationtemplate",value:function deleteOutboundFilespecificationtemplate(fileSpecificationTemplateId){// verify the required parameter 'fileSpecificationTemplateId' is set
15872
+ if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){throw'Missing the required parameter "fileSpecificationTemplateId" when calling deleteOutboundFilespecificationtemplate';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}','DELETE',{'fileSpecificationTemplateId':fileSpecificationTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15873
+ * Delete multiple file specification templates.
15874
+ *
15875
+ * @param {Array.<String>} id File Specification template id(s) to delete
15876
+ */},{key:"deleteOutboundFilespecificationtemplatesBulk",value:function deleteOutboundFilespecificationtemplatesBulk(id){// verify the required parameter 'id' is set
15877
+ if(id===undefined||id===null){throw'Missing the required parameter "id" when calling deleteOutboundFilespecificationtemplatesBulk';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/bulk','DELETE',{},{'id':this.apiClient.buildCollectionParam(id,'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15702
15878
  * Delete Import Template
15703
15879
  *
15704
15880
  * @param {String} importTemplateId Import Template ID
@@ -16087,11 +16263,29 @@ if(eventId===undefined||eventId===null){throw'Missing the required parameter "ev
16087
16263
  * @param {String} opts.sortBy Sort by
16088
16264
  * @param {Object} opts.sortOrder Sort order (default to a)
16089
16265
  */},{key:"getOutboundEvents",value:function getOutboundEvents(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/events','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'filterType':opts['filterType'],'category':opts['category'],'level':opts['level'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16266
+ * Get File Specification Template
16267
+ *
16268
+ * @param {String} fileSpecificationTemplateId File Specification Template ID
16269
+ */},{key:"getOutboundFilespecificationtemplate",value:function getOutboundFilespecificationtemplate(fileSpecificationTemplateId){// verify the required parameter 'fileSpecificationTemplateId' is set
16270
+ if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){throw'Missing the required parameter "fileSpecificationTemplateId" when calling getOutboundFilespecificationtemplate';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}','GET',{'fileSpecificationTemplateId':fileSpecificationTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16271
+ * Query File Specification Templates
16272
+ *
16273
+ * @param {Object} opts Optional parameters
16274
+ * @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
16275
+ * @param {Number} opts.pageNumber Page number (default to 1)
16276
+ * @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
16277
+ * @param {Object} opts.filterType Filter type (default to Prefix)
16278
+ * @param {String} opts.name Name
16279
+ * @param {String} opts.sortBy Sort by
16280
+ * @param {Object} opts.sortOrder Sort order (default to a)
16281
+ */},{key:"getOutboundFilespecificationtemplates",value:function getOutboundFilespecificationtemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16090
16282
  * Get Import Template
16091
16283
  *
16092
16284
  * @param {String} importTemplateId Import Template ID
16093
- */},{key:"getOutboundImporttemplate",value:function getOutboundImporttemplate(importTemplateId){// verify the required parameter 'importTemplateId' is set
16094
- if(importTemplateId===undefined||importTemplateId===null){throw'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplate';}return this.apiClient.callApi('/api/v2/outbound/importtemplates/{importTemplateId}','GET',{'importTemplateId':importTemplateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16285
+ * @param {Object} opts Optional parameters
16286
+ * @param {Boolean} opts.includeImportStatus Import status (default to false)
16287
+ */},{key:"getOutboundImporttemplate",value:function getOutboundImporttemplate(importTemplateId,opts){opts=opts||{};// verify the required parameter 'importTemplateId' is set
16288
+ if(importTemplateId===undefined||importTemplateId===null){throw'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplate';}return this.apiClient.callApi('/api/v2/outbound/importtemplates/{importTemplateId}','GET',{'importTemplateId':importTemplateId},{'includeImportStatus':opts['includeImportStatus']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16095
16289
  * Get the import status for an import template.
16096
16290
  *
16097
16291
  * @param {String} importTemplateId importTemplateId
@@ -16102,6 +16296,7 @@ if(importTemplateId===undefined||importTemplateId===null){throw'Missing the requ
16102
16296
  * Query Import Templates
16103
16297
  *
16104
16298
  * @param {Object} opts Optional parameters
16299
+ * @param {Boolean} opts.includeImportStatus Import status (default to false)
16105
16300
  * @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
16106
16301
  * @param {Number} opts.pageNumber Page number (default to 1)
16107
16302
  * @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
@@ -16110,7 +16305,7 @@ if(importTemplateId===undefined||importTemplateId===null){throw'Missing the requ
16110
16305
  * @param {String} opts.sortBy Sort by
16111
16306
  * @param {Object} opts.sortOrder Sort order (default to a)
16112
16307
  * @param {String} opts.contactListTemplateId Contact List Template ID
16113
- */},{key:"getOutboundImporttemplates",value:function getOutboundImporttemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/importtemplates','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'contactListTemplateId':opts['contactListTemplateId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16308
+ */},{key:"getOutboundImporttemplates",value:function getOutboundImporttemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/importtemplates','GET',{},{'includeImportStatus':opts['includeImportStatus'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'contactListTemplateId':opts['contactListTemplateId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16114
16309
  * Get an Outbound Messaging Campaign
16115
16310
  *
16116
16311
  * @param {String} messagingCampaignId The Messaging Campaign ID
@@ -16339,6 +16534,11 @@ if(contactListId===undefined||contactListId===null){throw'Missing the required p
16339
16534
  * @param {Object} body ContactListFilter
16340
16535
  */},{key:"postOutboundContactlistfilters",value:function postOutboundContactlistfilters(body){// verify the required parameter 'body' is set
16341
16536
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistfilters';}return this.apiClient.callApi('/api/v2/outbound/contactlistfilters','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16537
+ * Retrieve multiple contact list filters
16538
+ *
16539
+ * @param {Object} body The contact list filters to retrieve
16540
+ */},{key:"postOutboundContactlistfiltersBulkRetrieve",value:function postOutboundContactlistfiltersBulkRetrieve(body){// verify the required parameter 'body' is set
16541
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistfiltersBulkRetrieve';}return this.apiClient.callApi('/api/v2/outbound/contactlistfilters/bulk/retrieve','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16342
16542
  * Get a preview of the output of a contact list filter
16343
16543
  *
16344
16544
  * @param {Object} body ContactListFilter
@@ -16359,6 +16559,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16359
16559
  * @param {Array.<Object>} body contact list template(s) to add
16360
16560
  */},{key:"postOutboundContactlisttemplatesBulkAdd",value:function postOutboundContactlisttemplatesBulkAdd(body){// verify the required parameter 'body' is set
16361
16561
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkAdd';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates/bulk/add','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16562
+ * Get multiple contact list templates
16563
+ *
16564
+ * @param {Object} body contact list templates to get
16565
+ */},{key:"postOutboundContactlisttemplatesBulkRetrieve",value:function postOutboundContactlisttemplatesBulkRetrieve(body){// verify the required parameter 'body' is set
16566
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkRetrieve';}return this.apiClient.callApi('/api/v2/outbound/contactlisttemplates/bulk/retrieve','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16362
16567
  * Add phone numbers to a Dialer DNC list.
16363
16568
  *
16364
16569
  * @param {String} conversationId Conversation ID
@@ -16395,6 +16600,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16395
16600
  * @param {Object} body DncList
16396
16601
  */},{key:"postOutboundDnclists",value:function postOutboundDnclists(body){// verify the required parameter 'body' is set
16397
16602
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundDnclists';}return this.apiClient.callApi('/api/v2/outbound/dnclists','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16603
+ * Create File Specification Template
16604
+ *
16605
+ * @param {Object} body FileSpecificationTemplate
16606
+ */},{key:"postOutboundFilespecificationtemplates",value:function postOutboundFilespecificationtemplates(body){// verify the required parameter 'body' is set
16607
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundFilespecificationtemplates';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16398
16608
  * Create Import Template
16399
16609
  *
16400
16610
  * @param {Object} body ImportTemplate
@@ -16513,6 +16723,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16513
16723
  */},{key:"putOutboundDnclist",value:function putOutboundDnclist(dncListId,body){// verify the required parameter 'dncListId' is set
16514
16724
  if(dncListId===undefined||dncListId===null){throw'Missing the required parameter "dncListId" when calling putOutboundDnclist';}// verify the required parameter 'body' is set
16515
16725
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundDnclist';}return this.apiClient.callApi('/api/v2/outbound/dnclists/{dncListId}','PUT',{'dncListId':dncListId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16726
+ * Update File Specification Template
16727
+ *
16728
+ * @param {String} fileSpecificationTemplateId File Specification Template ID
16729
+ * @param {Object} body fileSpecificationTemplate
16730
+ */},{key:"putOutboundFilespecificationtemplate",value:function putOutboundFilespecificationtemplate(fileSpecificationTemplateId,body){// verify the required parameter 'fileSpecificationTemplateId' is set
16731
+ if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){throw'Missing the required parameter "fileSpecificationTemplateId" when calling putOutboundFilespecificationtemplate';}// verify the required parameter 'body' is set
16732
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundFilespecificationtemplate';}return this.apiClient.callApi('/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}','PUT',{'fileSpecificationTemplateId':fileSpecificationTemplateId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16516
16733
  * Update Import Template
16517
16734
  *
16518
16735
  * @param {String} importTemplateId Import Template ID
@@ -16576,7 +16793,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16576
16793
  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(){/**
16577
16794
  * Presence service.
16578
16795
  * @module purecloud-platform-client-v2/api/PresenceApi
16579
- * @version 186.0.1
16796
+ * @version 188.0.0
16580
16797
  */ /**
16581
16798
  * Constructs a new PresenceApi.
16582
16799
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -16594,9 +16811,10 @@ if(definitionId===undefined||definitionId===null){throw'Missing the required par
16594
16811
  * @param {String} sourceId Presence Source ID
16595
16812
  */},{key:"deletePresenceSource",value:function deletePresenceSource(sourceId){// verify the required parameter 'sourceId' is set
16596
16813
  if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "sourceId" when calling deletePresenceSource';}return this.apiClient.callApi('/api/v2/presence/sources/{sourceId}','DELETE',{'sourceId':sourceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16597
- * Delete a Presence Definition
16814
+ * Delete a Presence Definition. Apps should migrate to use DELETE /api/v2/presence/definitions/{definitionId} instead
16598
16815
  *
16599
16816
  * @param {String} presenceId Organization Presence ID
16817
+ * @deprecated
16600
16818
  */},{key:"deletePresencedefinition",value:function deletePresencedefinition(presenceId){// verify the required parameter 'presenceId' is set
16601
16819
  if(presenceId===undefined||presenceId===null){throw'Missing the required parameter "presenceId" when calling deletePresencedefinition';}return this.apiClient.callApi('/api/v2/presencedefinitions/{presenceId}','DELETE',{'presenceId':presenceId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16602
16820
  * Get a Presence Definition
@@ -16631,20 +16849,22 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
16631
16849
  * @param {String} userId user ID
16632
16850
  */},{key:"getPresenceUserPrimarysource",value:function getPresenceUserPrimarysource(userId){// verify the required parameter 'userId' is set
16633
16851
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getPresenceUserPrimarysource';}return this.apiClient.callApi('/api/v2/presence/users/{userId}/primarysource','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16634
- * Get a Presence Definition
16852
+ * Get a Presence Definition. Apps should migrate to use GET /api/v2/presence/definitions/{definitionId} instead
16635
16853
  *
16636
16854
  * @param {String} presenceId Organization Presence ID
16637
16855
  * @param {Object} opts Optional parameters
16638
16856
  * @param {String} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
16857
+ * @deprecated
16639
16858
  */},{key:"getPresencedefinition",value:function getPresencedefinition(presenceId,opts){opts=opts||{};// verify the required parameter 'presenceId' is set
16640
16859
  if(presenceId===undefined||presenceId===null){throw'Missing the required parameter "presenceId" when calling getPresencedefinition';}return this.apiClient.callApi('/api/v2/presencedefinitions/{presenceId}','GET',{'presenceId':presenceId},{'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16641
- * Get an Organization's list of Presence Definitions
16860
+ * Get an Organization's list of Presence Definitions. Apps should migrate to use GET /api/v2/presence/definitions instead
16642
16861
  *
16643
16862
  * @param {Object} opts Optional parameters
16644
16863
  * @param {Number} opts.pageNumber Page number (default to 1)
16645
16864
  * @param {Number} opts.pageSize Page size (default to 25)
16646
16865
  * @param {String} opts.deleted Deleted query can be TRUE, FALSE or ALL (default to false)
16647
16866
  * @param {String} opts.localeCode The locale code to fetch for each presence definition. Use ALL to fetch everything.
16867
+ * @deprecated
16648
16868
  */},{key:"getPresencedefinitions",value:function getPresencedefinitions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/presencedefinitions','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'deleted':opts['deleted'],'localeCode':opts['localeCode']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16649
16869
  * Get the list of SystemPresences
16650
16870
  *
@@ -16699,9 +16919,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16699
16919
  * @param {Object} body The Presence Source to create
16700
16920
  */},{key:"postPresenceSources",value:function postPresenceSources(body){// verify the required parameter 'body' is set
16701
16921
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postPresenceSources';}return this.apiClient.callApi('/api/v2/presence/sources','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16702
- * Create a Presence Definition
16922
+ * Create a Presence Definition. Apps should migrate to use POST /api/v2/presence/definitions instead
16703
16923
  *
16704
16924
  * @param {Object} body The Presence Definition to create
16925
+ * @deprecated
16705
16926
  */},{key:"postPresencedefinitions",value:function postPresencedefinitions(body){// verify the required parameter 'body' is set
16706
16927
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postPresencedefinitions';}return this.apiClient.callApi('/api/v2/presencedefinitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16707
16928
  * Update a Presence Definition
@@ -16730,10 +16951,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16730
16951
  */},{key:"putPresenceUserPrimarysource",value:function putPresenceUserPrimarysource(userId,body){// verify the required parameter 'userId' is set
16731
16952
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putPresenceUserPrimarysource';}// verify the required parameter 'body' is set
16732
16953
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putPresenceUserPrimarysource';}return this.apiClient.callApi('/api/v2/presence/users/{userId}/primarysource','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16733
- * Update a Presence Definition
16954
+ * Update a Presence Definition. Apps should migrate to use PUT /api/v2/presence/definitions/{definitionId} instead)
16734
16955
  *
16735
16956
  * @param {String} presenceId Organization Presence ID
16736
16957
  * @param {Object} body The OrganizationPresence to update
16958
+ * @deprecated
16737
16959
  */},{key:"putPresencedefinition",value:function putPresencedefinition(presenceId,body){// verify the required parameter 'presenceId' is set
16738
16960
  if(presenceId===undefined||presenceId===null){throw'Missing the required parameter "presenceId" when calling putPresencedefinition';}// verify the required parameter 'body' is set
16739
16961
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putPresencedefinition';}return this.apiClient.callApi('/api/v2/presencedefinitions/{presenceId}','PUT',{'presenceId':presenceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -16744,7 +16966,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
16744
16966
  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(){/**
16745
16967
  * ProcessAutomation service.
16746
16968
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
16747
- * @version 186.0.1
16969
+ * @version 188.0.0
16748
16970
  */ /**
16749
16971
  * Constructs a new ProcessAutomationApi.
16750
16972
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -16807,7 +17029,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
16807
17029
  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(){/**
16808
17030
  * Quality service.
16809
17031
  * @module purecloud-platform-client-v2/api/QualityApi
16810
- * @version 186.0.1
17032
+ * @version 188.0.0
16811
17033
  */ /**
16812
17034
  * Constructs a new QualityApi.
16813
17035
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -17278,7 +17500,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
17278
17500
  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(){/**
17279
17501
  * Recording service.
17280
17502
  * @module purecloud-platform-client-v2/api/RecordingApi
17281
- * @version 186.0.1
17503
+ * @version 188.0.0
17282
17504
  */ /**
17283
17505
  * Constructs a new RecordingApi.
17284
17506
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -17685,7 +17907,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17685
17907
  */},{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(){/**
17686
17908
  * ResponseManagement service.
17687
17909
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
17688
- * @version 186.0.1
17910
+ * @version 188.0.0
17689
17911
  */ /**
17690
17912
  * Constructs a new ResponseManagementApi.
17691
17913
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -17801,7 +18023,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
17801
18023
  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(){/**
17802
18024
  * Routing service.
17803
18025
  * @module purecloud-platform-client-v2/api/RoutingApi
17804
- * @version 186.0.1
18026
+ * @version 188.0.0
17805
18027
  */ /**
17806
18028
  * Constructs a new RoutingApi.
17807
18029
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -18769,7 +18991,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
18769
18991
  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(){/**
18770
18992
  * SCIM service.
18771
18993
  * @module purecloud-platform-client-v2/api/SCIMApi
18772
- * @version 186.0.1
18994
+ * @version 188.0.0
18773
18995
  */ /**
18774
18996
  * Constructs a new SCIMApi.
18775
18997
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -18991,10 +19213,25 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18991
19213
  * @param {String} opts.ifMatch The ETag of a resource in double quotes. Returned as header and meta.version with initial call to GET /api/v2/scim/v2/users/{userId}. Example: 42. If the ETag is different from the version on the server, returns 400 with a scimType of invalidVers.
18992
19214
  */},{key:"putScimV2User",value:function putScimV2User(userId,body,opts){opts=opts||{};// verify the required parameter 'userId' is set
18993
19215
  if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling putScimV2User';}// verify the required parameter 'body' is set
18994
- 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 ScriptsApi=/*#__PURE__*/function(){/**
19216
+ 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(){/**
19217
+ * ScreenRecording service.
19218
+ * @module purecloud-platform-client-v2/api/ScreenRecordingApi
19219
+ * @version 188.0.0
19220
+ */ /**
19221
+ * Constructs a new ScreenRecordingApi.
19222
+ * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
19223
+ * @class
19224
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
19225
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
19226
+ */function ScreenRecordingApi(apiClient){_classCallCheck(this,ScreenRecordingApi);this.apiClient=apiClient||ApiClient.instance;}/**
19227
+ * Sign identifying information for screen recording
19228
+ *
19229
+ * @param {Object} opts Optional parameters
19230
+ * @param {Object} opts.body
19231
+ */_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(){/**
18995
19232
  * Scripts service.
18996
19233
  * @module purecloud-platform-client-v2/api/ScriptsApi
18997
- * @version 186.0.1
19234
+ * @version 188.0.0
18998
19235
  */ /**
18999
19236
  * Constructs a new ScriptsApi.
19000
19237
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -19130,7 +19367,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
19130
19367
  */},{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(){/**
19131
19368
  * Search service.
19132
19369
  * @module purecloud-platform-client-v2/api/SearchApi
19133
- * @version 186.0.1
19370
+ * @version 188.0.0
19134
19371
  */ /**
19135
19372
  * Constructs a new SearchApi.
19136
19373
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -19290,7 +19527,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19290
19527
  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(){/**
19291
19528
  * Settings service.
19292
19529
  * @module purecloud-platform-client-v2/api/SettingsApi
19293
- * @version 186.0.1
19530
+ * @version 188.0.0
19294
19531
  */ /**
19295
19532
  * Constructs a new SettingsApi.
19296
19533
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -19308,7 +19545,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19308
19545
  */},{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(){/**
19309
19546
  * SpeechTextAnalytics service.
19310
19547
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
19311
- * @version 186.0.1
19548
+ * @version 188.0.0
19312
19549
  */ /**
19313
19550
  * Constructs a new SpeechTextAnalyticsApi.
19314
19551
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -19443,9 +19680,10 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
19443
19680
  * @param {Object} opts.state Topic state. Defaults to latest
19444
19681
  * @param {String} opts.name Case insensitive partial name to filter by
19445
19682
  * @param {Array.<String>} opts.ids Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
19683
+ * @param {Array.<String>} opts.dialects Comma separated dialect strings to filter by. Maximum of 15 dialects allowed.
19446
19684
  * @param {Object} opts.sortBy Sort results by. Defaults to name
19447
19685
  * @param {Object} opts.sortOrder Sort order. Defaults to asc
19448
- */},{key:"getSpeechandtextanalyticsTopics",value:function getSpeechandtextanalyticsTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics','GET',{},{'nextPage':opts['nextPage'],'pageSize':opts['pageSize'],'state':opts['state'],'name':opts['name'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19686
+ */},{key:"getSpeechandtextanalyticsTopics",value:function getSpeechandtextanalyticsTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics','GET',{},{'nextPage':opts['nextPage'],'pageSize':opts['pageSize'],'state':opts['state'],'name':opts['name'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'dialects':this.apiClient.buildCollectionParam(opts['dialects'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
19449
19687
  * Get list of supported Speech and Text Analytics topics dialects
19450
19688
  *
19451
19689
  */},{key:"getSpeechandtextanalyticsTopicsDialects",value:function getSpeechandtextanalyticsTopicsDialects(){return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/dialects','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -19551,7 +19789,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
19551
19789
  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(){/**
19552
19790
  * Stations service.
19553
19791
  * @module purecloud-platform-client-v2/api/StationsApi
19554
- * @version 186.0.1
19792
+ * @version 188.0.0
19555
19793
  */ /**
19556
19794
  * Constructs a new StationsApi.
19557
19795
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -19583,7 +19821,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
19583
19821
  */},{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(){/**
19584
19822
  * Suggest service.
19585
19823
  * @module purecloud-platform-client-v2/api/SuggestApi
19586
- * @version 186.0.1
19824
+ * @version 188.0.0
19587
19825
  */ /**
19588
19826
  * Constructs a new SuggestApi.
19589
19827
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -19623,7 +19861,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19623
19861
  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(){/**
19624
19862
  * TaskManagement service.
19625
19863
  * @module purecloud-platform-client-v2/api/TaskManagementApi
19626
- * @version 186.0.1
19864
+ * @version 188.0.0
19627
19865
  */ /**
19628
19866
  * Constructs a new TaskManagementApi.
19629
19867
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -19965,7 +20203,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
19965
20203
  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(){/**
19966
20204
  * Teams service.
19967
20205
  * @module purecloud-platform-client-v2/api/TeamsApi
19968
- * @version 186.0.1
20206
+ * @version 188.0.0
19969
20207
  */ /**
19970
20208
  * Constructs a new TeamsApi.
19971
20209
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -20044,7 +20282,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20044
20282
  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(){/**
20045
20283
  * Telephony service.
20046
20284
  * @module purecloud-platform-client-v2/api/TelephonyApi
20047
- * @version 186.0.1
20285
+ * @version 188.0.0
20048
20286
  */ /**
20049
20287
  * Constructs a new TelephonyApi.
20050
20288
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -20091,7 +20329,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
20091
20329
  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(){/**
20092
20330
  * TelephonyProvidersEdge service.
20093
20331
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
20094
- * @version 186.0.1
20332
+ * @version 188.0.0
20095
20333
  */ /**
20096
20334
  * Constructs a new TelephonyProvidersEdgeApi.
20097
20335
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -20448,12 +20686,6 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
20448
20686
  * @param {String} edgeIds Comma separated list of Edge Id's. Maximum of 100 edge ids allowed.
20449
20687
  */},{key:"getTelephonyProvidersEdgesMetrics",value:function getTelephonyProvidersEdgesMetrics(edgeIds){// verify the required parameter 'edgeIds' is set
20450
20688
  if(edgeIds===undefined||edgeIds===null){throw'Missing the required parameter "edgeIds" when calling getTelephonyProvidersEdgesMetrics';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/metrics','GET',{},{'edgeIds':edgeIds},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20451
- * Get outbound route
20452
- * This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
20453
- * @param {String} outboundRouteId Outbound route ID
20454
- * @deprecated
20455
- */},{key:"getTelephonyProvidersEdgesOutboundroute",value:function getTelephonyProvidersEdgesOutboundroute(outboundRouteId){// verify the required parameter 'outboundRouteId' is set
20456
- if(outboundRouteId===undefined||outboundRouteId===null){throw'Missing the required parameter "outboundRouteId" when calling getTelephonyProvidersEdgesOutboundroute';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}','GET',{'outboundRouteId':outboundRouteId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20457
20689
  * Get outbound routes
20458
20690
  *
20459
20691
  * @param {Object} opts Optional parameters
@@ -20911,7 +21143,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
20911
21143
  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(){/**
20912
21144
  * Textbots service.
20913
21145
  * @module purecloud-platform-client-v2/api/TextbotsApi
20914
- * @version 186.0.1
21146
+ * @version 188.0.0
20915
21147
  */ /**
20916
21148
  * Constructs a new TextbotsApi.
20917
21149
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -20946,7 +21178,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
20946
21178
  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(){/**
20947
21179
  * Tokens service.
20948
21180
  * @module purecloud-platform-client-v2/api/TokensApi
20949
- * @version 186.0.1
21181
+ * @version 188.0.0
20950
21182
  */ /**
20951
21183
  * Constructs a new TokensApi.
20952
21184
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -20982,7 +21214,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
20982
21214
  */},{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(){/**
20983
21215
  * Uploads service.
20984
21216
  * @module purecloud-platform-client-v2/api/UploadsApi
20985
- * @version 186.0.1
21217
+ * @version 188.0.0
20986
21218
  */ /**
20987
21219
  * Constructs a new UploadsApi.
20988
21220
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -20990,11 +21222,35 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
20990
21222
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
20991
21223
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
20992
21224
  */function UploadsApi(apiClient){_classCallCheck(this,UploadsApi);this.apiClient=apiClient||ApiClient.instance;}/**
21225
+ * Get content upload from URL job status
21226
+ *
21227
+ * @param {String} knowledgeBaseId Knowledge base ID
21228
+ * @param {String} jobId Upload job ID
21229
+ * getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21230
+ */_createClass(UploadsApi,[{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
21231
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
21232
+ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21233
+ * Create upload presigned URL for draft function package file.
21234
+ *
21235
+ * @param {String} actionId actionId
21236
+ * @param {Object} body Input used to request URL upload.
21237
+ * postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21238
+ */},{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
21239
+ if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
21240
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20993
21241
  * Creates a presigned URL for uploading a knowledge import file with a set of documents
20994
21242
  *
20995
21243
  * @param {Object} body query
20996
- */_createClass(UploadsApi,[{key:"postKnowledgeDocumentuploads",value:function postKnowledgeDocumentuploads(body){// verify the required parameter 'body' is set
21244
+ */},{key:"postKnowledgeDocumentuploads",value:function postKnowledgeDocumentuploads(body){// verify the required parameter 'body' is set
20997
21245
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';}return this.apiClient.callApi('/api/v2/knowledge/documentuploads','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21246
+ * Create content upload from URL job
21247
+ *
21248
+ * @param {String} knowledgeBaseId Knowledge base ID
21249
+ * @param {Object} body uploadRequest
21250
+ * postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
21251
+ */},{key:"postKnowledgeKnowledgebaseUploadsUrlsJobs",value:function postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
21252
+ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}// verify the required parameter 'body' is set
21253
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20998
21254
  * Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner
20999
21255
  *
21000
21256
  * @param {String} minerId Miner ID
@@ -21024,7 +21280,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21024
21280
  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(){/**
21025
21281
  * Usage service.
21026
21282
  * @module purecloud-platform-client-v2/api/UsageApi
21027
- * @version 186.0.1
21283
+ * @version 188.0.0
21028
21284
  */ /**
21029
21285
  * Constructs a new UsageApi.
21030
21286
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -21075,7 +21331,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21075
21331
  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(){/**
21076
21332
  * UserRecordings service.
21077
21333
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
21078
- * @version 186.0.1
21334
+ * @version 188.0.0
21079
21335
  */ /**
21080
21336
  * Constructs a new UserRecordingsApi.
21081
21337
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -21124,7 +21380,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
21124
21380
  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(){/**
21125
21381
  * Users service.
21126
21382
  * @module purecloud-platform-client-v2/api/UsersApi
21127
- * @version 186.0.1
21383
+ * @version 188.0.0
21128
21384
  */ /**
21129
21385
  * Constructs a new UsersApi.
21130
21386
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -21783,7 +22039,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
21783
22039
  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(){/**
21784
22040
  * Utilities service.
21785
22041
  * @module purecloud-platform-client-v2/api/UtilitiesApi
21786
- * @version 186.0.1
22042
+ * @version 188.0.0
21787
22043
  */ /**
21788
22044
  * Constructs a new UtilitiesApi.
21789
22045
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -21810,7 +22066,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
21810
22066
  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(){/**
21811
22067
  * Voicemail service.
21812
22068
  * @module purecloud-platform-client-v2/api/VoicemailApi
21813
- * @version 186.0.1
22069
+ * @version 188.0.0
21814
22070
  */ /**
21815
22071
  * Constructs a new VoicemailApi.
21816
22072
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -21959,7 +22215,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
21959
22215
  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(){/**
21960
22216
  * WebChat service.
21961
22217
  * @module purecloud-platform-client-v2/api/WebChatApi
21962
- * @version 186.0.1
22218
+ * @version 188.0.0
21963
22219
  */ /**
21964
22220
  * Constructs a new WebChatApi.
21965
22221
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -22092,7 +22348,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22092
22348
  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(){/**
22093
22349
  * WebDeployments service.
22094
22350
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
22095
- * @version 186.0.1
22351
+ * @version 188.0.0
22096
22352
  */ /**
22097
22353
  * Constructs a new WebDeploymentsApi.
22098
22354
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -22213,7 +22469,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
22213
22469
  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(){/**
22214
22470
  * WebMessaging service.
22215
22471
  * @module purecloud-platform-client-v2/api/WebMessagingApi
22216
- * @version 186.0.1
22472
+ * @version 188.0.0
22217
22473
  */ /**
22218
22474
  * Constructs a new WebMessagingApi.
22219
22475
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -22229,7 +22485,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
22229
22485
  */_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(){/**
22230
22486
  * Widgets service.
22231
22487
  * @module purecloud-platform-client-v2/api/WidgetsApi
22232
- * @version 186.0.1
22488
+ * @version 188.0.0
22233
22489
  */ /**
22234
22490
  * Constructs a new WidgetsApi.
22235
22491
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -22264,7 +22520,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
22264
22520
  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(){/**
22265
22521
  * WorkforceManagement service.
22266
22522
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
22267
- * @version 186.0.1
22523
+ * @version 188.0.0
22268
22524
  */ /**
22269
22525
  * Constructs a new WorkforceManagementApi.
22270
22526
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -23615,7 +23871,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
23615
23871
  * </pre>
23616
23872
  * </p>
23617
23873
  * @module purecloud-platform-client-v2/index
23618
- * @version 186.0.1
23874
+ * @version 188.0.0
23619
23875
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
23620
23876
  * The ApiClient constructor.
23621
23877
  * @property {module:purecloud-platform-client-v2/ApiClient}
@@ -23773,6 +24029,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
23773
24029
  * The SCIMApi service constructor.
23774
24030
  * @property {module:purecloud-platform-client-v2/api/SCIMApi}
23775
24031
  */this.SCIMApi=SCIMApi;/**
24032
+ * The ScreenRecordingApi service constructor.
24033
+ * @property {module:purecloud-platform-client-v2/api/ScreenRecordingApi}
24034
+ */this.ScreenRecordingApi=ScreenRecordingApi;/**
23776
24035
  * The ScriptsApi service constructor.
23777
24036
  * @property {module:purecloud-platform-client-v2/api/ScriptsApi}
23778
24037
  */this.ScriptsApi=ScriptsApi;/**
@@ -23848,4 +24107,4 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
23848
24107
  var index=new platformClient();module.exports=index;
23849
24108
 
23850
24109
  }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
23851
- },{"buffer":3,"os":5,"path":6,"qs":22}]},{},[]);
24110
+ },{"buffer":3,"os":5,"path":6,"qs":29}]},{},[]);