purecloud-platform-client-v2 230.0.0 → 232.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 (94) hide show
  1. package/README.md +22 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1247 -141
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1247 -141
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +449 -156
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +571 -223
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1704 -518
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +31 -6
  11. package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +2 -0
  12. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +160 -1
  13. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +25 -1
  15. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +83 -1
  18. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +238 -4
  28. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +5 -2
  45. package/src/purecloud-platform-client-v2/api/JourneyApi.js +28 -1
  46. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +187 -1
  48. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LearningApi.js +7 -3
  50. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/QualityApi.js +108 -2
  65. package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -3
  66. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/RoutingApi.js +22 -10
  68. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +241 -1
  74. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -32
  86. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebChatApi.js +7 -4
  90. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +31 -1
  94. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -1,4 +1,44 @@
1
1
  require=(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
2
+ 'use strict';
3
+
4
+ /** @type {import('.').AsyncFunctionConstructor | false} */
5
+ var cached;
6
+
7
+ /** @type {import('.')} */
8
+ module.exports = function getAsyncFunction() {
9
+ if (typeof cached === 'undefined') {
10
+ try {
11
+ // eslint-disable-next-line no-new-func
12
+ cached = Function('return async function () {}')().constructor;
13
+ } catch (e) {
14
+ cached = false;
15
+ }
16
+ }
17
+ return cached;
18
+ };
19
+
20
+
21
+ },{}],2:[function(require,module,exports){
22
+ 'use strict';
23
+
24
+ /** @type {import('.').AsyncGeneratorFunctionConstructor | false} */
25
+ var cached;
26
+
27
+ /** @type {import('.')} */
28
+ module.exports = function getAsyncGeneratorFunction() {
29
+ if (typeof cached === 'undefined') {
30
+ try {
31
+ // eslint-disable-next-line no-new-func
32
+ cached = Function('return async function* () {}')().constructor;
33
+ } catch (e) {
34
+ cached = false;
35
+ }
36
+ }
37
+ return cached;
38
+ };
39
+
40
+
41
+ },{}],3:[function(require,module,exports){
2
42
  'use strict'
3
43
 
4
44
  exports.byteLength = byteLength
@@ -150,9 +190,9 @@ function fromByteArray (uint8) {
150
190
  return parts.join('')
151
191
  }
152
192
 
153
- },{}],2:[function(require,module,exports){
193
+ },{}],4:[function(require,module,exports){
154
194
 
155
- },{}],3:[function(require,module,exports){
195
+ },{}],5:[function(require,module,exports){
156
196
  (function (Buffer){(function (){
157
197
  /*!
158
198
  * The buffer module from node.js, for the browser.
@@ -1933,7 +1973,7 @@ function numberIsNaN (obj) {
1933
1973
  }
1934
1974
 
1935
1975
  }).call(this)}).call(this,require("buffer").Buffer)
1936
- },{"base64-js":1,"buffer":3,"ieee754":31}],4:[function(require,module,exports){
1976
+ },{"base64-js":3,"buffer":5,"ieee754":34}],6:[function(require,module,exports){
1937
1977
  'use strict';
1938
1978
 
1939
1979
  var bind = require('function-bind');
@@ -1945,19 +1985,19 @@ var $reflectApply = require('./reflectApply');
1945
1985
  /** @type {import('./actualApply')} */
1946
1986
  module.exports = $reflectApply || bind.call($call, $apply);
1947
1987
 
1948
- },{"./functionApply":5,"./functionCall":6,"./reflectApply":8,"function-bind":21}],5:[function(require,module,exports){
1988
+ },{"./functionApply":7,"./functionCall":8,"./reflectApply":10,"function-bind":23}],7:[function(require,module,exports){
1949
1989
  'use strict';
1950
1990
 
1951
1991
  /** @type {import('./functionApply')} */
1952
1992
  module.exports = Function.prototype.apply;
1953
1993
 
1954
- },{}],6:[function(require,module,exports){
1994
+ },{}],8:[function(require,module,exports){
1955
1995
  'use strict';
1956
1996
 
1957
1997
  /** @type {import('./functionCall')} */
1958
1998
  module.exports = Function.prototype.call;
1959
1999
 
1960
- },{}],7:[function(require,module,exports){
2000
+ },{}],9:[function(require,module,exports){
1961
2001
  'use strict';
1962
2002
 
1963
2003
  var bind = require('function-bind');
@@ -1974,13 +2014,13 @@ module.exports = function callBindBasic(args) {
1974
2014
  return $actualApply(bind, $call, args);
1975
2015
  };
1976
2016
 
1977
- },{"./actualApply":4,"./functionCall":6,"es-errors/type":17,"function-bind":21}],8:[function(require,module,exports){
2017
+ },{"./actualApply":6,"./functionCall":8,"es-errors/type":19,"function-bind":23}],10:[function(require,module,exports){
1978
2018
  'use strict';
1979
2019
 
1980
2020
  /** @type {import('./reflectApply')} */
1981
2021
  module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
1982
2022
 
1983
- },{}],9:[function(require,module,exports){
2023
+ },{}],11:[function(require,module,exports){
1984
2024
  'use strict';
1985
2025
 
1986
2026
  var GetIntrinsic = require('get-intrinsic');
@@ -2001,7 +2041,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
2001
2041
  return intrinsic;
2002
2042
  };
2003
2043
 
2004
- },{"call-bind-apply-helpers":7,"get-intrinsic":22}],10:[function(require,module,exports){
2044
+ },{"call-bind-apply-helpers":9,"get-intrinsic":25}],12:[function(require,module,exports){
2005
2045
  'use strict';
2006
2046
 
2007
2047
  var callBind = require('call-bind-apply-helpers');
@@ -2033,7 +2073,7 @@ module.exports = desc && typeof desc.get === 'function'
2033
2073
  }
2034
2074
  : false;
2035
2075
 
2036
- },{"call-bind-apply-helpers":7,"gopd":27}],11:[function(require,module,exports){
2076
+ },{"call-bind-apply-helpers":9,"gopd":30}],13:[function(require,module,exports){
2037
2077
  'use strict';
2038
2078
 
2039
2079
  /** @type {import('.')} */
@@ -2049,55 +2089,55 @@ if ($defineProperty) {
2049
2089
 
2050
2090
  module.exports = $defineProperty;
2051
2091
 
2052
- },{}],12:[function(require,module,exports){
2092
+ },{}],14:[function(require,module,exports){
2053
2093
  'use strict';
2054
2094
 
2055
2095
  /** @type {import('./eval')} */
2056
2096
  module.exports = EvalError;
2057
2097
 
2058
- },{}],13:[function(require,module,exports){
2098
+ },{}],15:[function(require,module,exports){
2059
2099
  'use strict';
2060
2100
 
2061
2101
  /** @type {import('.')} */
2062
2102
  module.exports = Error;
2063
2103
 
2064
- },{}],14:[function(require,module,exports){
2104
+ },{}],16:[function(require,module,exports){
2065
2105
  'use strict';
2066
2106
 
2067
2107
  /** @type {import('./range')} */
2068
2108
  module.exports = RangeError;
2069
2109
 
2070
- },{}],15:[function(require,module,exports){
2110
+ },{}],17:[function(require,module,exports){
2071
2111
  'use strict';
2072
2112
 
2073
2113
  /** @type {import('./ref')} */
2074
2114
  module.exports = ReferenceError;
2075
2115
 
2076
- },{}],16:[function(require,module,exports){
2116
+ },{}],18:[function(require,module,exports){
2077
2117
  'use strict';
2078
2118
 
2079
2119
  /** @type {import('./syntax')} */
2080
2120
  module.exports = SyntaxError;
2081
2121
 
2082
- },{}],17:[function(require,module,exports){
2122
+ },{}],19:[function(require,module,exports){
2083
2123
  'use strict';
2084
2124
 
2085
2125
  /** @type {import('./type')} */
2086
2126
  module.exports = TypeError;
2087
2127
 
2088
- },{}],18:[function(require,module,exports){
2128
+ },{}],20:[function(require,module,exports){
2089
2129
  'use strict';
2090
2130
 
2091
2131
  /** @type {import('./uri')} */
2092
2132
  module.exports = URIError;
2093
2133
 
2094
- },{}],19:[function(require,module,exports){
2134
+ },{}],21:[function(require,module,exports){
2095
2135
  'use strict';
2096
2136
 
2097
2137
  /** @type {import('.')} */
2098
2138
  module.exports = Object;
2099
2139
 
2100
- },{}],20:[function(require,module,exports){
2140
+ },{}],22:[function(require,module,exports){
2101
2141
  'use strict';
2102
2142
 
2103
2143
  /* eslint no-invalid-this: 1 */
@@ -2183,14 +2223,34 @@ module.exports = function bind(that) {
2183
2223
  return bound;
2184
2224
  };
2185
2225
 
2186
- },{}],21:[function(require,module,exports){
2226
+ },{}],23:[function(require,module,exports){
2187
2227
  'use strict';
2188
2228
 
2189
2229
  var implementation = require('./implementation');
2190
2230
 
2191
2231
  module.exports = Function.prototype.bind || implementation;
2192
2232
 
2193
- },{"./implementation":20}],22:[function(require,module,exports){
2233
+ },{"./implementation":22}],24:[function(require,module,exports){
2234
+ 'use strict';
2235
+
2236
+ /** @type {GeneratorFunctionConstructor | false} */
2237
+ var cached;
2238
+
2239
+ /** @type {import('./index.js')} */
2240
+ module.exports = function getGeneratorFunction() {
2241
+ if (typeof cached === 'undefined') {
2242
+ try {
2243
+ // eslint-disable-next-line no-new-func
2244
+ cached = Function('return function* () {}')().constructor;
2245
+ } catch (e) {
2246
+ cached = false;
2247
+ }
2248
+ }
2249
+ return cached;
2250
+ };
2251
+
2252
+
2253
+ },{}],25:[function(require,module,exports){
2194
2254
  'use strict';
2195
2255
 
2196
2256
  var undefined;
@@ -2213,15 +2273,6 @@ var pow = require('math-intrinsics/pow');
2213
2273
  var round = require('math-intrinsics/round');
2214
2274
  var sign = require('math-intrinsics/sign');
2215
2275
 
2216
- var $Function = Function;
2217
-
2218
- // eslint-disable-next-line consistent-return
2219
- var getEvalledConstructor = function (expressionSyntax) {
2220
- try {
2221
- return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
2222
- } catch (e) {}
2223
- };
2224
-
2225
2276
  var $gOPD = require('gopd');
2226
2277
  var $defineProperty = require('es-define-property');
2227
2278
 
@@ -2287,7 +2338,7 @@ var INTRINSICS = {
2287
2338
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
2288
2339
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
2289
2340
  '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
2290
- '%Function%': $Function,
2341
+ '%Function%': Function,
2291
2342
  '%GeneratorFunction%': needsEval,
2292
2343
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
2293
2344
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
@@ -2353,14 +2404,18 @@ if (getProto) {
2353
2404
  }
2354
2405
  }
2355
2406
 
2407
+ var getAsyncFunction = require('async-function');
2408
+ var getGeneratorFunction = require('generator-function');
2409
+ var getAsyncGeneratorFunction = require('async-generator-function');
2410
+
2356
2411
  var doEval = function doEval(name) {
2357
2412
  var value;
2358
2413
  if (name === '%AsyncFunction%') {
2359
- value = getEvalledConstructor('async function () {}');
2414
+ value = getAsyncFunction() || void undefined;
2360
2415
  } else if (name === '%GeneratorFunction%') {
2361
- value = getEvalledConstructor('function* () {}');
2416
+ value = getGeneratorFunction() || void undefined;
2362
2417
  } else if (name === '%AsyncGeneratorFunction%') {
2363
- value = getEvalledConstructor('async function* () {}');
2418
+ value = getAsyncGeneratorFunction() || void undefined;
2364
2419
  } else if (name === '%AsyncGenerator%') {
2365
2420
  var fn = doEval('%AsyncGeneratorFunction%');
2366
2421
  if (fn) {
@@ -2570,7 +2625,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
2570
2625
  return value;
2571
2626
  };
2572
2627
 
2573
- },{"call-bind-apply-helpers/functionApply":5,"call-bind-apply-helpers/functionCall":6,"es-define-property":11,"es-errors":13,"es-errors/eval":12,"es-errors/range":14,"es-errors/ref":15,"es-errors/syntax":16,"es-errors/type":17,"es-errors/uri":18,"es-object-atoms":19,"function-bind":21,"get-proto":25,"get-proto/Object.getPrototypeOf":23,"get-proto/Reflect.getPrototypeOf":24,"gopd":27,"has-symbols":28,"hasown":30,"math-intrinsics/abs":32,"math-intrinsics/floor":33,"math-intrinsics/max":35,"math-intrinsics/min":36,"math-intrinsics/pow":37,"math-intrinsics/round":38,"math-intrinsics/sign":39}],23:[function(require,module,exports){
2628
+ },{"async-function":1,"async-generator-function":2,"call-bind-apply-helpers/functionApply":7,"call-bind-apply-helpers/functionCall":8,"es-define-property":13,"es-errors":15,"es-errors/eval":14,"es-errors/range":16,"es-errors/ref":17,"es-errors/syntax":18,"es-errors/type":19,"es-errors/uri":20,"es-object-atoms":21,"function-bind":23,"generator-function":24,"get-proto":28,"get-proto/Object.getPrototypeOf":26,"get-proto/Reflect.getPrototypeOf":27,"gopd":30,"has-symbols":31,"hasown":33,"math-intrinsics/abs":35,"math-intrinsics/floor":36,"math-intrinsics/max":38,"math-intrinsics/min":39,"math-intrinsics/pow":40,"math-intrinsics/round":41,"math-intrinsics/sign":42}],26:[function(require,module,exports){
2574
2629
  'use strict';
2575
2630
 
2576
2631
  var $Object = require('es-object-atoms');
@@ -2578,13 +2633,13 @@ var $Object = require('es-object-atoms');
2578
2633
  /** @type {import('./Object.getPrototypeOf')} */
2579
2634
  module.exports = $Object.getPrototypeOf || null;
2580
2635
 
2581
- },{"es-object-atoms":19}],24:[function(require,module,exports){
2636
+ },{"es-object-atoms":21}],27:[function(require,module,exports){
2582
2637
  'use strict';
2583
2638
 
2584
2639
  /** @type {import('./Reflect.getPrototypeOf')} */
2585
2640
  module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
2586
2641
 
2587
- },{}],25:[function(require,module,exports){
2642
+ },{}],28:[function(require,module,exports){
2588
2643
  'use strict';
2589
2644
 
2590
2645
  var reflectGetProto = require('./Reflect.getPrototypeOf');
@@ -2613,13 +2668,13 @@ module.exports = reflectGetProto
2613
2668
  }
2614
2669
  : null;
2615
2670
 
2616
- },{"./Object.getPrototypeOf":23,"./Reflect.getPrototypeOf":24,"dunder-proto/get":10}],26:[function(require,module,exports){
2671
+ },{"./Object.getPrototypeOf":26,"./Reflect.getPrototypeOf":27,"dunder-proto/get":12}],29:[function(require,module,exports){
2617
2672
  'use strict';
2618
2673
 
2619
2674
  /** @type {import('./gOPD')} */
2620
2675
  module.exports = Object.getOwnPropertyDescriptor;
2621
2676
 
2622
- },{}],27:[function(require,module,exports){
2677
+ },{}],30:[function(require,module,exports){
2623
2678
  'use strict';
2624
2679
 
2625
2680
  /** @type {import('.')} */
@@ -2636,7 +2691,7 @@ if ($gOPD) {
2636
2691
 
2637
2692
  module.exports = $gOPD;
2638
2693
 
2639
- },{"./gOPD":26}],28:[function(require,module,exports){
2694
+ },{"./gOPD":29}],31:[function(require,module,exports){
2640
2695
  'use strict';
2641
2696
 
2642
2697
  var origSymbol = typeof Symbol !== 'undefined' && Symbol;
@@ -2652,7 +2707,7 @@ module.exports = function hasNativeSymbols() {
2652
2707
  return hasSymbolSham();
2653
2708
  };
2654
2709
 
2655
- },{"./shams":29}],29:[function(require,module,exports){
2710
+ },{"./shams":32}],32:[function(require,module,exports){
2656
2711
  'use strict';
2657
2712
 
2658
2713
  /** @type {import('./shams')} */
@@ -2699,7 +2754,7 @@ module.exports = function hasSymbols() {
2699
2754
  return true;
2700
2755
  };
2701
2756
 
2702
- },{}],30:[function(require,module,exports){
2757
+ },{}],33:[function(require,module,exports){
2703
2758
  'use strict';
2704
2759
 
2705
2760
  var call = Function.prototype.call;
@@ -2709,7 +2764,7 @@ var bind = require('function-bind');
2709
2764
  /** @type {import('.')} */
2710
2765
  module.exports = bind.call(call, $hasOwn);
2711
2766
 
2712
- },{"function-bind":21}],31:[function(require,module,exports){
2767
+ },{"function-bind":23}],34:[function(require,module,exports){
2713
2768
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
2714
2769
  exports.read = function (buffer, offset, isLE, mLen, nBytes) {
2715
2770
  var e, m
@@ -2796,19 +2851,19 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
2796
2851
  buffer[offset + i - d] |= s * 128
2797
2852
  }
2798
2853
 
2799
- },{}],32:[function(require,module,exports){
2854
+ },{}],35:[function(require,module,exports){
2800
2855
  'use strict';
2801
2856
 
2802
2857
  /** @type {import('./abs')} */
2803
2858
  module.exports = Math.abs;
2804
2859
 
2805
- },{}],33:[function(require,module,exports){
2860
+ },{}],36:[function(require,module,exports){
2806
2861
  'use strict';
2807
2862
 
2808
2863
  /** @type {import('./floor')} */
2809
2864
  module.exports = Math.floor;
2810
2865
 
2811
- },{}],34:[function(require,module,exports){
2866
+ },{}],37:[function(require,module,exports){
2812
2867
  'use strict';
2813
2868
 
2814
2869
  /** @type {import('./isNaN')} */
@@ -2816,31 +2871,31 @@ module.exports = Number.isNaN || function isNaN(a) {
2816
2871
  return a !== a;
2817
2872
  };
2818
2873
 
2819
- },{}],35:[function(require,module,exports){
2874
+ },{}],38:[function(require,module,exports){
2820
2875
  'use strict';
2821
2876
 
2822
2877
  /** @type {import('./max')} */
2823
2878
  module.exports = Math.max;
2824
2879
 
2825
- },{}],36:[function(require,module,exports){
2880
+ },{}],39:[function(require,module,exports){
2826
2881
  'use strict';
2827
2882
 
2828
2883
  /** @type {import('./min')} */
2829
2884
  module.exports = Math.min;
2830
2885
 
2831
- },{}],37:[function(require,module,exports){
2886
+ },{}],40:[function(require,module,exports){
2832
2887
  'use strict';
2833
2888
 
2834
2889
  /** @type {import('./pow')} */
2835
2890
  module.exports = Math.pow;
2836
2891
 
2837
- },{}],38:[function(require,module,exports){
2892
+ },{}],41:[function(require,module,exports){
2838
2893
  'use strict';
2839
2894
 
2840
2895
  /** @type {import('./round')} */
2841
2896
  module.exports = Math.round;
2842
2897
 
2843
- },{}],39:[function(require,module,exports){
2898
+ },{}],42:[function(require,module,exports){
2844
2899
  'use strict';
2845
2900
 
2846
2901
  var $isNaN = require('./isNaN');
@@ -2853,7 +2908,7 @@ module.exports = function sign(number) {
2853
2908
  return number < 0 ? -1 : +1;
2854
2909
  };
2855
2910
 
2856
- },{"./isNaN":34}],40:[function(require,module,exports){
2911
+ },{"./isNaN":37}],43:[function(require,module,exports){
2857
2912
  (function (global){(function (){
2858
2913
  var hasMap = typeof Map === 'function' && Map.prototype;
2859
2914
  var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
@@ -3401,7 +3456,7 @@ function arrObjKeys(obj, inspect) {
3401
3456
  }
3402
3457
 
3403
3458
  }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
3404
- },{"./util.inspect":2}],41:[function(require,module,exports){
3459
+ },{"./util.inspect":4}],44:[function(require,module,exports){
3405
3460
  exports.endianness = function () { return 'LE' };
3406
3461
 
3407
3462
  exports.hostname = function () {
@@ -3452,7 +3507,7 @@ exports.homedir = function () {
3452
3507
  return '/'
3453
3508
  };
3454
3509
 
3455
- },{}],42:[function(require,module,exports){
3510
+ },{}],45:[function(require,module,exports){
3456
3511
  (function (process){(function (){
3457
3512
  // 'path' module extracted from Node.js v8.11.1 (only the posix part)
3458
3513
  // transplited with Babel
@@ -3985,7 +4040,7 @@ posix.posix = posix;
3985
4040
  module.exports = posix;
3986
4041
 
3987
4042
  }).call(this)}).call(this,require('_process'))
3988
- },{"_process":43}],43:[function(require,module,exports){
4043
+ },{"_process":46}],46:[function(require,module,exports){
3989
4044
  // shim for using process in browser
3990
4045
  var process = module.exports = {};
3991
4046
 
@@ -4171,7 +4226,7 @@ process.chdir = function (dir) {
4171
4226
  };
4172
4227
  process.umask = function() { return 0; };
4173
4228
 
4174
- },{}],44:[function(require,module,exports){
4229
+ },{}],47:[function(require,module,exports){
4175
4230
  'use strict';
4176
4231
 
4177
4232
  var replace = String.prototype.replace;
@@ -4196,7 +4251,7 @@ module.exports = {
4196
4251
  RFC3986: Format.RFC3986
4197
4252
  };
4198
4253
 
4199
- },{}],45:[function(require,module,exports){
4254
+ },{}],48:[function(require,module,exports){
4200
4255
  'use strict';
4201
4256
 
4202
4257
  var stringify = require('./stringify');
@@ -4209,7 +4264,7 @@ module.exports = {
4209
4264
  stringify: stringify
4210
4265
  };
4211
4266
 
4212
- },{"./formats":44,"./parse":46,"./stringify":47}],46:[function(require,module,exports){
4267
+ },{"./formats":47,"./parse":49,"./stringify":50}],49:[function(require,module,exports){
4213
4268
  'use strict';
4214
4269
 
4215
4270
  var utils = require('./utils');
@@ -4539,7 +4594,7 @@ module.exports = function (str, opts) {
4539
4594
  return utils.compact(obj);
4540
4595
  };
4541
4596
 
4542
- },{"./utils":48}],47:[function(require,module,exports){
4597
+ },{"./utils":51}],50:[function(require,module,exports){
4543
4598
  'use strict';
4544
4599
 
4545
4600
  var getSideChannel = require('side-channel');
@@ -4897,7 +4952,7 @@ module.exports = function (object, opts) {
4897
4952
  return joined.length > 0 ? prefix + joined : '';
4898
4953
  };
4899
4954
 
4900
- },{"./formats":44,"./utils":48,"side-channel":52}],48:[function(require,module,exports){
4955
+ },{"./formats":47,"./utils":51,"side-channel":55}],51:[function(require,module,exports){
4901
4956
  'use strict';
4902
4957
 
4903
4958
  var formats = require('./formats');
@@ -5167,7 +5222,7 @@ module.exports = {
5167
5222
  merge: merge
5168
5223
  };
5169
5224
 
5170
- },{"./formats":44}],49:[function(require,module,exports){
5225
+ },{"./formats":47}],52:[function(require,module,exports){
5171
5226
  'use strict';
5172
5227
 
5173
5228
  var inspect = require('object-inspect');
@@ -5282,7 +5337,7 @@ module.exports = function getSideChannelList() {
5282
5337
  return channel;
5283
5338
  };
5284
5339
 
5285
- },{"es-errors/type":17,"object-inspect":40}],50:[function(require,module,exports){
5340
+ },{"es-errors/type":19,"object-inspect":43}],53:[function(require,module,exports){
5286
5341
  'use strict';
5287
5342
 
5288
5343
  var GetIntrinsic = require('get-intrinsic');
@@ -5352,7 +5407,7 @@ module.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function g
5352
5407
  return channel;
5353
5408
  };
5354
5409
 
5355
- },{"call-bound":9,"es-errors/type":17,"get-intrinsic":22,"object-inspect":40}],51:[function(require,module,exports){
5410
+ },{"call-bound":11,"es-errors/type":19,"get-intrinsic":25,"object-inspect":43}],54:[function(require,module,exports){
5356
5411
  'use strict';
5357
5412
 
5358
5413
  var GetIntrinsic = require('get-intrinsic');
@@ -5438,7 +5493,7 @@ module.exports = $WeakMap
5438
5493
  }
5439
5494
  : getSideChannelMap;
5440
5495
 
5441
- },{"call-bound":9,"es-errors/type":17,"get-intrinsic":22,"object-inspect":40,"side-channel-map":50}],52:[function(require,module,exports){
5496
+ },{"call-bound":11,"es-errors/type":19,"get-intrinsic":25,"object-inspect":43,"side-channel-map":53}],55:[function(require,module,exports){
5442
5497
  'use strict';
5443
5498
 
5444
5499
  var $TypeError = require('es-errors/type');
@@ -5483,7 +5538,7 @@ module.exports = function getSideChannel() {
5483
5538
  return channel;
5484
5539
  };
5485
5540
 
5486
- },{"es-errors/type":17,"object-inspect":40,"side-channel-list":49,"side-channel-map":50,"side-channel-weakmap":51}],53:[function(require,module,exports){
5541
+ },{"es-errors/type":19,"object-inspect":43,"side-channel-list":52,"side-channel-map":53,"side-channel-weakmap":54}],56:[function(require,module,exports){
5487
5542
  (function (setImmediate,clearImmediate){(function (){
5488
5543
  var nextTick = require('process/browser.js').nextTick;
5489
5544
  var apply = Function.prototype.apply;
@@ -5562,9 +5617,9 @@ exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate :
5562
5617
  delete immediateIds[id];
5563
5618
  };
5564
5619
  }).call(this)}).call(this,require("timers").setImmediate,require("timers").clearImmediate)
5565
- },{"process/browser.js":43,"timers":53}],"platformClient":[function(require,module,exports){
5620
+ },{"process/browser.js":46,"timers":56}],"platformClient":[function(require,module,exports){
5566
5621
  (function (global,Buffer,setImmediate){(function (){
5567
- 'use strict';function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};}throw new TypeError(_typeof(e)+" is not iterable");}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i["return"])&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},_regeneratorDefine2(e,r,n,t);}function _toArray(r){return _arrayWithHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableRest();}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_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 _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}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(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i: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 _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_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(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}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(r){if(Array.isArray(r))return r;}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);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value;}settle(n.done?"return":"normal",t);},function(e){resume("throw",e);});}catch(e){settle("throw",e);}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1});}(r=r.next)?resume(r.key,r.arg):t=null;}this._invoke=function(e,n){return new Promise(function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(e,d){this.v=e,this.k=d;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}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',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};// shim for using process in browser
5622
+ 'use strict';function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};}throw new TypeError(_typeof(e)+" is not iterable");}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i["return"])&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},_regeneratorDefine2(e,r,n,t);}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_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 _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}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(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i: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 _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_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(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}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(r){if(Array.isArray(r))return r;}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);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value;}settle(n.done?"return":"normal",t);},function(e){resume("throw",e);});}catch(e){settle("throw",e);}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1});}(r=r.next)?resume(r.key,r.arg):t=null;}this._invoke=function(e,n){return new Promise(function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(e,d){this.v=e,this.k=d;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}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',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud',mx_central_1:'mxc1.pure.cloud',ap_southeast_1:'apse1.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};// shim for using process in browser
5568
5623
  // based off https://github.com/defunctzombie/node-process/blob/master/browser.js
5569
5624
  function defaultSetTimout(){throw new Error('setTimeout has not been defined');}function defaultClearTimeout(){throw new Error('clearTimeout has not been defined');}var cachedSetTimeout=defaultSetTimout;var cachedClearTimeout=defaultClearTimeout;if(typeof global$1.setTimeout==='function'){cachedSetTimeout=setTimeout;}if(typeof global$1.clearTimeout==='function'){cachedClearTimeout=clearTimeout;}function runTimeout(fun){if(cachedSetTimeout===setTimeout){//normal enviroments in sane situations
5570
5625
  return setTimeout(fun,0);}// if setTimeout wasn't available but was latter defined
@@ -5601,7 +5656,7 @@ var toString$1=Object.prototype.toString;var getPrototypeOf=Object.getPrototypeO
5601
5656
  * @param {*} val The value to test
5602
5657
  *
5603
5658
  * @returns {boolean} True if value is a Buffer, otherwise false
5604
- */function isBuffer$1(val){return val!==null&&!isUndefined(val)&&val.constructor!==null&&!isUndefined(val.constructor)&&isFunction(val.constructor.isBuffer)&&val.constructor.isBuffer(val);}/**
5659
+ */function isBuffer$1(val){return val!==null&&!isUndefined(val)&&val.constructor!==null&&!isUndefined(val.constructor)&&isFunction$1(val.constructor.isBuffer)&&val.constructor.isBuffer(val);}/**
5605
5660
  * Determine if a value is an ArrayBuffer
5606
5661
  *
5607
5662
  * @param {*} val The value to test
@@ -5624,7 +5679,7 @@ var toString$1=Object.prototype.toString;var getPrototypeOf=Object.getPrototypeO
5624
5679
  *
5625
5680
  * @param {*} val The value to test
5626
5681
  * @returns {boolean} True if value is a Function, otherwise false
5627
- */var isFunction=typeOfTest('function');/**
5682
+ */var isFunction$1=typeOfTest('function');/**
5628
5683
  * Determine if a value is a Number
5629
5684
  *
5630
5685
  * @param {*} val The value to test
@@ -5685,14 +5740,14 @@ return false;}};/**
5685
5740
  * @param {*} val The value to test
5686
5741
  *
5687
5742
  * @returns {boolean} True if value is a Stream, otherwise false
5688
- */var isStream=function isStream(val){return isObject(val)&&isFunction(val.pipe);};/**
5743
+ */var isStream=function isStream(val){return isObject(val)&&isFunction$1(val.pipe);};/**
5689
5744
  * Determine if a value is a FormData
5690
5745
  *
5691
5746
  * @param {*} thing The value to test
5692
5747
  *
5693
5748
  * @returns {boolean} True if value is an FormData, otherwise false
5694
- */var isFormData=function isFormData(thing){var kind;return thing&&(typeof FormData==='function'&&thing instanceof FormData||isFunction(thing.append)&&((kind=kindOf(thing))==='formdata'||// detect form-data instance
5695
- kind==='object'&&isFunction(thing.toString)&&thing.toString()==='[object FormData]'));};/**
5749
+ */var isFormData=function isFormData(thing){var kind;return thing&&(typeof FormData==='function'&&thing instanceof FormData||isFunction$1(thing.append)&&((kind=kindOf(thing))==='formdata'||// detect form-data instance
5750
+ kind==='object'&&isFunction$1(thing.toString)&&thing.toString()==='[object FormData]'));};/**
5696
5751
  * Determine if a value is a URLSearchParams object
5697
5752
  *
5698
5753
  * @param {*} val The value to test
@@ -5740,7 +5795,7 @@ var keys=allOwnKeys?Object.getOwnPropertyNames(obj):Object.keys(obj);var len=key
5740
5795
  * @param {Object} obj1 Object to merge
5741
5796
  *
5742
5797
  * @returns {Object} Result of all merge properties
5743
- */function merge(/* obj1, obj2, obj3, ... */){var _ref4=isContextDefined(this)&&this||{},caseless=_ref4.caseless;var result={};var assignValue=function assignValue(val,key){var targetKey=caseless&&findKey(result,key)||key;if(isPlainObject(result[targetKey])&&isPlainObject(val)){result[targetKey]=merge(result[targetKey],val);}else if(isPlainObject(val)){result[targetKey]=merge({},val);}else if(isArray$1(val)){result[targetKey]=val.slice();}else{result[targetKey]=val;}};for(var i=0,l=arguments.length;i<l;i++){arguments[i]&&forEach(arguments[i],assignValue);}return result;}/**
5798
+ */function merge(/* obj1, obj2, obj3, ... */){var _ref4=isContextDefined(this)&&this||{},caseless=_ref4.caseless,skipUndefined=_ref4.skipUndefined;var result={};var assignValue=function assignValue(val,key){var targetKey=caseless&&findKey(result,key)||key;if(isPlainObject(result[targetKey])&&isPlainObject(val)){result[targetKey]=merge(result[targetKey],val);}else if(isPlainObject(val)){result[targetKey]=merge({},val);}else if(isArray$1(val)){result[targetKey]=val.slice();}else if(!skipUndefined||!isUndefined(val)){result[targetKey]=val;}};for(var i=0,l=arguments.length;i<l;i++){arguments[i]&&forEach(arguments[i],assignValue);}return result;}/**
5744
5799
  * Extends object a by mutably adding to it the properties of object b.
5745
5800
  *
5746
5801
  * @param {Object} a The object to be extended
@@ -5749,7 +5804,7 @@ var keys=allOwnKeys?Object.getOwnPropertyNames(obj):Object.keys(obj);var len=key
5749
5804
  *
5750
5805
  * @param {Boolean} [allOwnKeys]
5751
5806
  * @returns {Object} The resulting value of object a
5752
- */var extend=function extend(a,b,thisArg){var _ref5=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{},allOwnKeys=_ref5.allOwnKeys;forEach(b,function(val,key){if(thisArg&&isFunction(val)){a[key]=bind(val,thisArg);}else{a[key]=val;}},{allOwnKeys:allOwnKeys});return a;};/**
5807
+ */var extend=function extend(a,b,thisArg){var _ref5=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{},allOwnKeys=_ref5.allOwnKeys;forEach(b,function(val,key){if(thisArg&&isFunction$1(val)){a[key]=bind(val,thisArg);}else{a[key]=val;}},{allOwnKeys:allOwnKeys});return a;};/**
5753
5808
  * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
5754
5809
  *
5755
5810
  * @param {string} content with BOM
@@ -5819,17 +5874,17 @@ return function(thing){return TypedArray&&thing instanceof TypedArray;};}(typeof
5819
5874
  * Makes all methods read-only
5820
5875
  * @param {Object} obj
5821
5876
  */var freezeMethods=function freezeMethods(obj){reduceDescriptors(obj,function(descriptor,name){// skip restricted props in strict mode
5822
- if(isFunction(obj)&&['arguments','caller','callee'].indexOf(name)!==-1){return false;}var value=obj[name];if(!isFunction(value))return;descriptor.enumerable=false;if('writable'in descriptor){descriptor.writable=false;return;}if(!descriptor.set){descriptor.set=function(){throw Error('Can not rewrite read-only method \''+name+'\'');};}});};var toObjectSet=function toObjectSet(arrayOrString,delimiter){var obj={};var define=function define(arr){arr.forEach(function(value){obj[value]=true;});};isArray$1(arrayOrString)?define(arrayOrString):define(String(arrayOrString).split(delimiter));return obj;};var noop=function noop(){};var toFiniteNumber=function toFiniteNumber(value,defaultValue){return value!=null&&Number.isFinite(value=+value)?value:defaultValue;};/**
5877
+ if(isFunction$1(obj)&&['arguments','caller','callee'].indexOf(name)!==-1){return false;}var value=obj[name];if(!isFunction$1(value))return;descriptor.enumerable=false;if('writable'in descriptor){descriptor.writable=false;return;}if(!descriptor.set){descriptor.set=function(){throw Error('Can not rewrite read-only method \''+name+'\'');};}});};var toObjectSet=function toObjectSet(arrayOrString,delimiter){var obj={};var define=function define(arr){arr.forEach(function(value){obj[value]=true;});};isArray$1(arrayOrString)?define(arrayOrString):define(String(arrayOrString).split(delimiter));return obj;};var noop=function noop(){};var toFiniteNumber=function toFiniteNumber(value,defaultValue){return value!=null&&Number.isFinite(value=+value)?value:defaultValue;};/**
5823
5878
  * If the thing is a FormData object, return true, otherwise return false.
5824
5879
  *
5825
5880
  * @param {unknown} thing - The thing to check.
5826
5881
  *
5827
5882
  * @returns {boolean}
5828
- */function isSpecCompliantForm(thing){return!!(thing&&isFunction(thing.append)&&thing[toStringTag]==='FormData'&&thing[iterator]);}var toJSONObject=function toJSONObject(obj){var stack=new Array(10);var _visit=function visit(source,i){if(isObject(source)){if(stack.indexOf(source)>=0){return;}//Buffer check
5829
- if(isBuffer$1(source)){return source;}if(!('toJSON'in source)){stack[i]=source;var target=isArray$1(source)?[]:{};forEach(source,function(value,key){var reducedValue=_visit(value,i+1);!isUndefined(reducedValue)&&(target[key]=reducedValue);});stack[i]=undefined;return target;}}return source;};return _visit(obj,0);};var isAsyncFn=kindOfTest('AsyncFunction');var isThenable=function isThenable(thing){return thing&&(isObject(thing)||isFunction(thing))&&isFunction(thing.then)&&isFunction(thing["catch"]);};// original code
5883
+ */function isSpecCompliantForm(thing){return!!(thing&&isFunction$1(thing.append)&&thing[toStringTag]==='FormData'&&thing[iterator]);}var toJSONObject=function toJSONObject(obj){var stack=new Array(10);var _visit=function visit(source,i){if(isObject(source)){if(stack.indexOf(source)>=0){return;}//Buffer check
5884
+ if(isBuffer$1(source)){return source;}if(!('toJSON'in source)){stack[i]=source;var target=isArray$1(source)?[]:{};forEach(source,function(value,key){var reducedValue=_visit(value,i+1);!isUndefined(reducedValue)&&(target[key]=reducedValue);});stack[i]=undefined;return target;}}return source;};return _visit(obj,0);};var isAsyncFn=kindOfTest('AsyncFunction');var isThenable=function isThenable(thing){return thing&&(isObject(thing)||isFunction$1(thing))&&isFunction$1(thing.then)&&isFunction$1(thing["catch"]);};// original code
5830
5885
  // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
5831
- var _setImmediate=function(setImmediateSupported,postMessageSupported){if(setImmediateSupported){return setImmediate;}return postMessageSupported?function(token,callbacks){_global.addEventListener("message",function(_ref7){var source=_ref7.source,data=_ref7.data;if(source===_global&&data===token){callbacks.length&&callbacks.shift()();}},false);return function(cb){callbacks.push(cb);_global.postMessage(token,"*");};}("axios@".concat(Math.random()),[]):function(cb){return setTimeout(cb);};}(typeof setImmediate==='function',isFunction(_global.postMessage));var asap=typeof queueMicrotask!=='undefined'?queueMicrotask.bind(_global):typeof process!=='undefined'&&nextTick||_setImmediate;// *********************
5832
- var isIterable=function isIterable(thing){return thing!=null&&isFunction(thing[iterator]);};var utils$1={isArray:isArray$1,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer$1,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString,isNumber:isNumber,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isEmptyObject:isEmptyObject,isReadableStream:isReadableStream,isRequest:isRequest,isResponse:isResponse,isHeaders:isHeaders,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isBlob:isBlob,isRegExp:isRegExp,isFunction:isFunction,isStream:isStream,isURLSearchParams:isURLSearchParams,isTypedArray:isTypedArray,isFileList:isFileList,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:isHTMLForm,hasOwnProperty:hasOwnProperty,hasOwnProp:hasOwnProperty,// an alias to avoid ESLint no-prototype-builtins detection
5886
+ var _setImmediate=function(setImmediateSupported,postMessageSupported){if(setImmediateSupported){return setImmediate;}return postMessageSupported?function(token,callbacks){_global.addEventListener("message",function(_ref7){var source=_ref7.source,data=_ref7.data;if(source===_global&&data===token){callbacks.length&&callbacks.shift()();}},false);return function(cb){callbacks.push(cb);_global.postMessage(token,"*");};}("axios@".concat(Math.random()),[]):function(cb){return setTimeout(cb);};}(typeof setImmediate==='function',isFunction$1(_global.postMessage));var asap=typeof queueMicrotask!=='undefined'?queueMicrotask.bind(_global):typeof process!=='undefined'&&nextTick||_setImmediate;// *********************
5887
+ var isIterable=function isIterable(thing){return thing!=null&&isFunction$1(thing[iterator]);};var utils$1={isArray:isArray$1,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer$1,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString,isNumber:isNumber,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isEmptyObject:isEmptyObject,isReadableStream:isReadableStream,isRequest:isRequest,isResponse:isResponse,isHeaders:isHeaders,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isBlob:isBlob,isRegExp:isRegExp,isFunction:isFunction$1,isStream:isStream,isURLSearchParams:isURLSearchParams,isTypedArray:isTypedArray,isFileList:isFileList,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:isHTMLForm,hasOwnProperty:hasOwnProperty,hasOwnProp:hasOwnProperty,// an alias to avoid ESLint no-prototype-builtins detection
5833
5888
  reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:_global,isContextDefined:isContextDefined,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:isAsyncFn,isThenable:isThenable,setImmediate:_setImmediate,asap:asap,isIterable:isIterable};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)
5834
5889
  // if there are two placeholders, than the two characters before it
5835
5890
  // represent one byte
@@ -6000,7 +6055,9 @@ description:this.description,number:this.number,// Mozilla
6000
6055
  fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,// Axios
6001
6056
  config:utils$1.toJSONObject(this.config),code:this.code,status:this.status};}});var prototype$1=AxiosError.prototype;var descriptors={};['ERR_BAD_OPTION_VALUE','ERR_BAD_OPTION','ECONNABORTED','ETIMEDOUT','ERR_NETWORK','ERR_FR_TOO_MANY_REDIRECTS','ERR_DEPRECATED','ERR_BAD_RESPONSE','ERR_BAD_REQUEST','ERR_CANCELED','ERR_NOT_SUPPORT','ERR_INVALID_URL'// eslint-disable-next-line func-names
6002
6057
  ].forEach(function(code){descriptors[code]={value:code};});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,'isAxiosError',{value:true});// eslint-disable-next-line func-names
6003
- AxiosError.from=function(error,code,config,request,response,customProps){var axiosError=Object.create(prototype$1);utils$1.toFlatObject(error,axiosError,function filter(obj){return obj!==Error.prototype;},function(prop){return prop!=='isAxiosError';});AxiosError.call(axiosError,error.message,code,config,request,response);axiosError.cause=error;axiosError.name=error.name;customProps&&Object.assign(axiosError,customProps);return axiosError;};// eslint-disable-next-line strict
6058
+ AxiosError.from=function(error,code,config,request,response,customProps){var axiosError=Object.create(prototype$1);utils$1.toFlatObject(error,axiosError,function filter(obj){return obj!==Error.prototype;},function(prop){return prop!=='isAxiosError';});var msg=error&&error.message?error.message:'Error';// Prefer explicit code; otherwise copy the low-level error's code (e.g. ECONNREFUSED)
6059
+ var errCode=code==null&&error?error.code:code;AxiosError.call(axiosError,msg,errCode,config,request,response);// Chain the original error on the standard field; non-enumerable to avoid JSON noise
6060
+ if(error&&axiosError.cause==null){Object.defineProperty(axiosError,'cause',{value:error,configurable:true});}axiosError.name=error&&error.name||'Error';customProps&&Object.assign(axiosError,customProps);return axiosError;};// eslint-disable-next-line strict
6004
6061
  var httpAdapter=null;/**
6005
6062
  * Determines if the given thing is a array or js object.
6006
6063
  *
@@ -6086,7 +6143,7 @@ indexes===true?renderKey([key],index,dots):indexes===null?key:key+'[]',convertVa
6086
6143
  * @param {string} val The value to be encoded.
6087
6144
  *
6088
6145
  * @returns {string} The encoded value.
6089
- */function encode(val){return encodeURIComponent(val).replace(/%3A/gi,':').replace(/%24/g,'$').replace(/%2C/gi,',').replace(/%20/g,'+').replace(/%5B/gi,'[').replace(/%5D/gi,']');}/**
6146
+ */function encode(val){return encodeURIComponent(val).replace(/%3A/gi,':').replace(/%24/g,'$').replace(/%2C/gi,',').replace(/%20/g,'+');}/**
6090
6147
  * Build a URL by appending params to the end
6091
6148
  *
6092
6149
  * @param {string} url The base of the url (e.g., http://www.google.com)
@@ -6176,7 +6233,7 @@ return utils$1.matchAll(/\w+|\[(\w*)]/g,name).map(function(match){return match[0
6176
6233
  * @param {Function} encoder - A function that takes a value and returns a string.
6177
6234
  *
6178
6235
  * @returns {string} A stringified version of the rawValue.
6179
- */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','fetch'],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)||utils$1.isReadableStream(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(utils$1.isResponse(data)||utils$1.isReadableStream(data)){return data;}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;}],/**
6236
+ */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','fetch'],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)||utils$1.isReadableStream(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(utils$1.isResponse(data)||utils$1.isReadableStream(data)){return data;}if(data&&utils$1.isString(data)&&(forcedJSONParsing&&!this.responseType||JSONRequested)){var silentJSONParsing=transitional&&transitional.silentJSONParsing;var strictJSONParsing=!silentJSONParsing&&JSONRequested;try{return JSON.parse(data,this.parseReviver);}catch(e){if(strictJSONParsing){if(e.name==='SyntaxError'){throw AxiosError.from(e,AxiosError.ERR_BAD_RESPONSE,this,null,this.response);}throw e;}}}return data;}],/**
6180
6237
  * A timeout in milliseconds to abort a request. If set to 0 (default) a
6181
6238
  * timeout is not created.
6182
6239
  */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
@@ -6271,9 +6328,10 @@ function mergeDeepProperties(a,b,prop,caseless){if(!utils$1.isUndefined(b)){retu
6271
6328
  function valueFromConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue(undefined,b);}}// eslint-disable-next-line consistent-return
6272
6329
  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
6273
6330
  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,prop){return mergeDeepProperties(headersToObject(a),headersToObject(b),prop,true);}};utils$1.forEach(Object.keys(_objectSpread(_objectSpread({},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 resolveConfig=function resolveConfig(config){var newConfig=mergeConfig({},config);var data=newConfig.data,withXSRFToken=newConfig.withXSRFToken,xsrfHeaderName=newConfig.xsrfHeaderName,xsrfCookieName=newConfig.xsrfCookieName,headers=newConfig.headers,auth=newConfig.auth;newConfig.headers=headers=AxiosHeaders$1.from(headers);newConfig.url=buildURL(buildFullPath(newConfig.baseURL,newConfig.url,newConfig.allowAbsoluteUrls),config.params,config.paramsSerializer);// HTTP basic authentication
6274
- if(auth){headers.set('Authorization','Basic '+btoa((auth.username||'')+':'+(auth.password?unescape(encodeURIComponent(auth.password)):'')));}var contentType;if(utils$1.isFormData(data)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv){headers.setContentType(undefined);// Let the browser set it
6275
- }else if((contentType=headers.getContentType())!==false){// fix semicolon duplication issue for ReactNative FormData implementation
6276
- var _ref1=contentType?contentType.split(';').map(function(token){return token.trim();}).filter(Boolean):[],_ref10=_toArray(_ref1),type=_ref10[0],tokens=_ref10.slice(1);headers.setContentType([type||'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));}}// Add xsrf header
6331
+ if(auth){headers.set('Authorization','Basic '+btoa((auth.username||'')+':'+(auth.password?unescape(encodeURIComponent(auth.password)):'')));}if(utils$1.isFormData(data)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv){headers.setContentType(undefined);// browser handles it
6332
+ }else if(utils$1.isFunction(data.getHeaders)){// Node.js FormData (like form-data package)
6333
+ var formHeaders=data.getHeaders();// Only set safe headers to avoid overwriting security headers
6334
+ var allowedHeaders=['content-type','content-length'];Object.entries(formHeaders).forEach(function(_ref1){var _ref10=_slicedToArray(_ref1,2),key=_ref10[0],val=_ref10[1];if(allowedHeaders.includes(key.toLowerCase())){headers.set(key,val);}});}}// Add xsrf header
6277
6335
  // This is only done if running in a standard browser environment.
6278
6336
  // Specifically not if we're in a web worker, or react-native.
6279
6337
  if(platform.hasStandardBrowserEnv){withXSRFToken&&utils$1.isFunction(withXSRFToken)&&(withXSRFToken=withXSRFToken(newConfig));if(withXSRFToken||withXSRFToken!==false&&isURLSameOrigin(newConfig.url)){// Add xsrf header
@@ -6293,10 +6351,11 @@ if(request.status===0&&!(request.responseURL&&request.responseURL.indexOf('file:
6293
6351
  setTimeout(onloadend);};}// Handle browser request cancellation (as opposed to a manual cancellation)
6294
6352
  request.onabort=function handleAbort(){if(!request){return;}reject(new AxiosError('Request aborted',AxiosError.ECONNABORTED,config,request));// Clean up request
6295
6353
  request=null;};// Handle low level network errors
6296
- request.onerror=function handleError(){// Real errors are hidden from us by the browser
6297
- // onerror should only fire if it's a network error
6298
- reject(new AxiosError('Network Error',AxiosError.ERR_NETWORK,config,request));// Clean up request
6299
- request=null;};// Handle timeout
6354
+ request.onerror=function handleError(event){// Browsers deliver a ProgressEvent in XHR onerror
6355
+ // (message may be empty; when present, surface it)
6356
+ // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
6357
+ var msg=event&&event.message?event.message:'Network Error';var err=new AxiosError(msg,AxiosError.ERR_NETWORK,config,request);// attach the underlying event for consumers who want details
6358
+ err.event=event||null;reject(err);request=null;};// Handle timeout
6300
6359
  request.ontimeout=function handleTimeout(){var timeoutErrorMessage=_config.timeout?'timeout of '+_config.timeout+'ms exceeded':'timeout exceeded';var transitional=_config.transitional||transitionalDefaults;if(_config.timeoutErrorMessage){timeoutErrorMessage=_config.timeoutErrorMessage;}reject(new AxiosError(timeoutErrorMessage,transitional.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,config,request));// Clean up request
6301
6360
  request=null;};// Remove Content-Type if data is undefined
6302
6361
  requestData===undefined&&requestHeaders.setContentType(null);// Add headers to the request
@@ -6307,11 +6366,10 @@ if(onDownloadProgress){var _progressEventReducer=progressEventReducer(onDownload
6307
6366
  if(onUploadProgress&&request.upload){var _progressEventReducer3=progressEventReducer(onUploadProgress);var _progressEventReducer4=_slicedToArray(_progressEventReducer3,2);uploadThrottled=_progressEventReducer4[0];flushUpload=_progressEventReducer4[1];request.upload.addEventListener('progress',uploadThrottled);request.upload.addEventListener('loadend',flushUpload);}if(_config.cancelToken||_config.signal){// Handle cancellation
6308
6367
  // eslint-disable-next-line func-names
6309
6368
  onCanceled=function onCanceled(cancel){if(!request){return;}reject(!cancel||cancel.type?new CanceledError(null,config,request):cancel);request.abort();request=null;};_config.cancelToken&&_config.cancelToken.subscribe(onCanceled);if(_config.signal){_config.signal.aborted?onCanceled():_config.signal.addEventListener('abort',onCanceled);}}var protocol=parseProtocol(_config.url);if(protocol&&platform.protocols.indexOf(protocol)===-1){reject(new AxiosError('Unsupported protocol '+protocol+':',AxiosError.ERR_BAD_REQUEST,config));return;}// Send the request
6310
- request.send(requestData||null);});};var composeSignals=function composeSignals(signals,timeout){var _signals=signals=signals?signals.filter(Boolean):[],length=_signals.length;if(timeout||length){var controller=new AbortController();var aborted;var onabort=function onabort(reason){if(!aborted){aborted=true;unsubscribe();var err=reason instanceof Error?reason:this.reason;controller.abort(err instanceof AxiosError?err:new CanceledError(err instanceof Error?err.message:err));}};var timer=timeout&&setTimeout(function(){timer=null;onabort(new AxiosError("timeout ".concat(timeout," of ms exceeded"),AxiosError.ETIMEDOUT));},timeout);var unsubscribe=function unsubscribe(){if(signals){timer&&clearTimeout(timer);timer=null;signals.forEach(function(signal){signal.unsubscribe?signal.unsubscribe(onabort):signal.removeEventListener('abort',onabort);});signals=null;}};signals.forEach(function(signal){return signal.addEventListener('abort',onabort);});var signal=controller.signal;signal.unsubscribe=function(){return utils$1.asap(unsubscribe);};return signal;}};var composeSignals$1=composeSignals;var streamChunk=/*#__PURE__*/_regenerator().m(function streamChunk(chunk,chunkSize){var len,pos,end;return _regenerator().w(function(_context){while(1)switch(_context.n){case 0:len=chunk.byteLength;if(!(!chunkSize||len<chunkSize)){_context.n=2;break;}_context.n=1;return chunk;case 1:return _context.a(2);case 2:pos=0;case 3:if(!(pos<len)){_context.n=5;break;}end=pos+chunkSize;_context.n=4;return chunk.slice(pos,end);case 4:pos=end;_context.n=3;break;case 5:return _context.a(2);}},streamChunk);});var readBytes=/*#__PURE__*/function(){var _ref=_wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee(iterable,chunkSize){var _iteratorAbruptCompletion,_didIteratorError,_iteratorError,_iterator2,_step,chunk,_t;return _regenerator().w(function(_context2){while(1)switch(_context2.p=_context2.n){case 0:_iteratorAbruptCompletion=false;_didIteratorError=false;_context2.p=1;_iterator2=_asyncIterator(readStream(iterable));case 2:_context2.n=3;return _awaitAsyncGenerator(_iterator2.next());case 3:if(!(_iteratorAbruptCompletion=!(_step=_context2.v).done)){_context2.n=5;break;}chunk=_step.value;return _context2.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(streamChunk(chunk,chunkSize)),_awaitAsyncGenerator)),4);case 4:_iteratorAbruptCompletion=false;_context2.n=2;break;case 5:_context2.n=7;break;case 6:_context2.p=6;_t=_context2.v;_didIteratorError=true;_iteratorError=_t;case 7:_context2.p=7;_context2.p=8;if(!(_iteratorAbruptCompletion&&_iterator2["return"]!=null)){_context2.n=9;break;}_context2.n=9;return _awaitAsyncGenerator(_iterator2["return"]());case 9:_context2.p=9;if(!_didIteratorError){_context2.n=10;break;}throw _iteratorError;case 10:return _context2.f(9);case 11:return _context2.f(7);case 12:return _context2.a(2);}},_callee,null,[[8,,9,11],[1,6,7,12]]);}));return function readBytes(_x,_x2){return _ref.apply(this,arguments);};}();var readStream=/*#__PURE__*/function(){var _ref2=_wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee2(stream){var reader,_yield$_awaitAsyncGen,done,value;return _regenerator().w(function(_context3){while(1)switch(_context3.p=_context3.n){case 0:if(!stream[Symbol.asyncIterator]){_context3.n=2;break;}return _context3.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(stream),_awaitAsyncGenerator)),1);case 1:return _context3.a(2);case 2:reader=stream.getReader();_context3.p=3;case 4:_context3.n=5;return _awaitAsyncGenerator(reader.read());case 5:_yield$_awaitAsyncGen=_context3.v;done=_yield$_awaitAsyncGen.done;value=_yield$_awaitAsyncGen.value;if(!done){_context3.n=6;break;}return _context3.a(3,8);case 6:_context3.n=7;return value;case 7:_context3.n=4;break;case 8:_context3.p=8;_context3.n=9;return _awaitAsyncGenerator(reader.cancel());case 9:return _context3.f(8);case 10:return _context3.a(2);}},_callee2,null,[[3,,8,10]]);}));return function readStream(_x3){return _ref2.apply(this,arguments);};}();var trackStream=function trackStream(stream,chunkSize,onProgress,onFinish){var iterator=readBytes(stream,chunkSize);var bytes=0;var done;var _onFinish=function _onFinish(e){if(!done){done=true;onFinish&&onFinish(e);}};return new ReadableStream({pull:function pull(controller){return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(){var _yield$iterator$next,_done,value,len,loadedBytes,_t2;return _regenerator().w(function(_context4){while(1)switch(_context4.p=_context4.n){case 0:_context4.p=0;_context4.n=1;return iterator.next();case 1:_yield$iterator$next=_context4.v;_done=_yield$iterator$next.done;value=_yield$iterator$next.value;if(!_done){_context4.n=2;break;}_onFinish();controller.close();return _context4.a(2);case 2:len=value.byteLength;if(onProgress){loadedBytes=bytes+=len;onProgress(loadedBytes);}controller.enqueue(new Uint8Array(value));_context4.n=4;break;case 3:_context4.p=3;_t2=_context4.v;_onFinish(_t2);throw _t2;case 4:return _context4.a(2);}},_callee3,null,[[0,3]]);}))();},cancel:function cancel(reason){_onFinish(reason);return iterator["return"]();}},{highWaterMark:2});};var isFetchSupported=typeof fetch==='function'&&typeof Request==='function'&&typeof Response==='function';var isReadableStreamSupported=isFetchSupported&&typeof ReadableStream==='function';// used only inside the fetch adapter
6311
- var encodeText=isFetchSupported&&(typeof TextEncoder==='function'?function(encoder){return function(str){return encoder.encode(str);};}(new TextEncoder()):(/*#__PURE__*/function(){var _ref11=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(str){var _t3,_t4;return _regenerator().w(function(_context5){while(1)switch(_context5.n){case 0:_t3=Uint8Array;_context5.n=1;return new Response(str).arrayBuffer();case 1:_t4=_context5.v;return _context5.a(2,new _t3(_t4));}},_callee4);}));return function(_x4){return _ref11.apply(this,arguments);};}()));var test=function test(fn){try{for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key6=1;_key6<_len5;_key6++){args[_key6-1]=arguments[_key6];}return!!fn.apply(void 0,args);}catch(e){return false;}};var supportsRequestStream=isReadableStreamSupported&&test(function(){var duplexAccessed=false;var hasContentType=new Request(platform.origin,{body:new ReadableStream(),method:'POST',get duplex(){duplexAccessed=true;return'half';}}).headers.has('Content-Type');return duplexAccessed&&!hasContentType;});var DEFAULT_CHUNK_SIZE=64*1024;var supportsResponseStream=isReadableStreamSupported&&test(function(){return utils$1.isReadableStream(new Response('').body);});var resolvers={stream:supportsResponseStream&&function(res){return res.body;}};isFetchSupported&&function(res){['text','arrayBuffer','blob','formData','stream'].forEach(function(type){!resolvers[type]&&(resolvers[type]=utils$1.isFunction(res[type])?function(res){return res[type]();}:function(_,config){throw new AxiosError("Response type '".concat(type,"' is not supported"),AxiosError.ERR_NOT_SUPPORT,config);});});}(new Response());var getBodyLength=/*#__PURE__*/function(){var _ref12=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5(body){var _request;return _regenerator().w(function(_context6){while(1)switch(_context6.n){case 0:if(!(body==null)){_context6.n=1;break;}return _context6.a(2,0);case 1:if(!utils$1.isBlob(body)){_context6.n=2;break;}return _context6.a(2,body.size);case 2:if(!utils$1.isSpecCompliantForm(body)){_context6.n=4;break;}_request=new Request(platform.origin,{method:'POST',body:body});_context6.n=3;return _request.arrayBuffer();case 3:return _context6.a(2,_context6.v.byteLength);case 4:if(!(utils$1.isArrayBufferView(body)||utils$1.isArrayBuffer(body))){_context6.n=5;break;}return _context6.a(2,body.byteLength);case 5:if(utils$1.isURLSearchParams(body)){body=body+'';}if(!utils$1.isString(body)){_context6.n=7;break;}_context6.n=6;return encodeText(body);case 6:return _context6.a(2,_context6.v.byteLength);case 7:return _context6.a(2);}},_callee5);}));return function getBodyLength(_x5){return _ref12.apply(this,arguments);};}();var resolveBodyLength=/*#__PURE__*/function(){var _ref13=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6(headers,body){var length;return _regenerator().w(function(_context7){while(1)switch(_context7.n){case 0:length=utils$1.toFiniteNumber(headers.getContentLength());return _context7.a(2,length==null?getBodyLength(body):length);}},_callee6);}));return function resolveBodyLength(_x6,_x7){return _ref13.apply(this,arguments);};}();var fetchAdapter=isFetchSupported&&(/*#__PURE__*/function(){var _ref14=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(config){var _resolveConfig,url,method,data,signal,cancelToken,timeout,onDownloadProgress,onUploadProgress,responseType,headers,_resolveConfig$withCr,withCredentials,fetchOptions,composedSignal,request,unsubscribe,requestContentLength,_request,contentTypeHeader,_progressEventDecorat,_progressEventDecorat2,onProgress,flush,isCredentialsSupported,response,isStreamResponse,options,responseContentLength,_ref15,_ref16,_onProgress,_flush,responseData,_t5,_t6,_t7;return _regenerator().w(function(_context8){while(1)switch(_context8.p=_context8.n){case 0:_resolveConfig=resolveConfig(config),url=_resolveConfig.url,method=_resolveConfig.method,data=_resolveConfig.data,signal=_resolveConfig.signal,cancelToken=_resolveConfig.cancelToken,timeout=_resolveConfig.timeout,onDownloadProgress=_resolveConfig.onDownloadProgress,onUploadProgress=_resolveConfig.onUploadProgress,responseType=_resolveConfig.responseType,headers=_resolveConfig.headers,_resolveConfig$withCr=_resolveConfig.withCredentials,withCredentials=_resolveConfig$withCr===void 0?'same-origin':_resolveConfig$withCr,fetchOptions=_resolveConfig.fetchOptions;responseType=responseType?(responseType+'').toLowerCase():'text';composedSignal=composeSignals$1([signal,cancelToken&&cancelToken.toAbortSignal()],timeout);unsubscribe=composedSignal&&composedSignal.unsubscribe&&function(){composedSignal.unsubscribe();};_context8.p=1;_t5=onUploadProgress&&supportsRequestStream&&method!=='get'&&method!=='head';if(!_t5){_context8.n=3;break;}_context8.n=2;return resolveBodyLength(headers,data);case 2:_t6=requestContentLength=_context8.v;_t5=_t6!==0;case 3:if(!_t5){_context8.n=4;break;}_request=new Request(url,{method:'POST',body:data,duplex:"half"});if(utils$1.isFormData(data)&&(contentTypeHeader=_request.headers.get('content-type'))){headers.setContentType(contentTypeHeader);}if(_request.body){_progressEventDecorat=progressEventDecorator(requestContentLength,progressEventReducer(asyncDecorator(onUploadProgress))),_progressEventDecorat2=_slicedToArray(_progressEventDecorat,2),onProgress=_progressEventDecorat2[0],flush=_progressEventDecorat2[1];data=trackStream(_request.body,DEFAULT_CHUNK_SIZE,onProgress,flush);}case 4:if(!utils$1.isString(withCredentials)){withCredentials=withCredentials?'include':'omit';}// Cloudflare Workers throws when credentials are defined
6369
+ request.send(requestData||null);});};var composeSignals=function composeSignals(signals,timeout){var _signals=signals=signals?signals.filter(Boolean):[],length=_signals.length;if(timeout||length){var controller=new AbortController();var aborted;var onabort=function onabort(reason){if(!aborted){aborted=true;unsubscribe();var err=reason instanceof Error?reason:this.reason;controller.abort(err instanceof AxiosError?err:new CanceledError(err instanceof Error?err.message:err));}};var timer=timeout&&setTimeout(function(){timer=null;onabort(new AxiosError("timeout ".concat(timeout," of ms exceeded"),AxiosError.ETIMEDOUT));},timeout);var unsubscribe=function unsubscribe(){if(signals){timer&&clearTimeout(timer);timer=null;signals.forEach(function(signal){signal.unsubscribe?signal.unsubscribe(onabort):signal.removeEventListener('abort',onabort);});signals=null;}};signals.forEach(function(signal){return signal.addEventListener('abort',onabort);});var signal=controller.signal;signal.unsubscribe=function(){return utils$1.asap(unsubscribe);};return signal;}};var composeSignals$1=composeSignals;var streamChunk=/*#__PURE__*/_regenerator().m(function streamChunk(chunk,chunkSize){var len,pos,end;return _regenerator().w(function(_context){while(1)switch(_context.n){case 0:len=chunk.byteLength;if(!(!chunkSize||len<chunkSize)){_context.n=2;break;}_context.n=1;return chunk;case 1:return _context.a(2);case 2:pos=0;case 3:if(!(pos<len)){_context.n=5;break;}end=pos+chunkSize;_context.n=4;return chunk.slice(pos,end);case 4:pos=end;_context.n=3;break;case 5:return _context.a(2);}},streamChunk);});var readBytes=/*#__PURE__*/function(){var _ref=_wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee(iterable,chunkSize){var _iteratorAbruptCompletion,_didIteratorError,_iteratorError,_iterator2,_step,chunk,_t;return _regenerator().w(function(_context2){while(1)switch(_context2.p=_context2.n){case 0:_iteratorAbruptCompletion=false;_didIteratorError=false;_context2.p=1;_iterator2=_asyncIterator(readStream(iterable));case 2:_context2.n=3;return _awaitAsyncGenerator(_iterator2.next());case 3:if(!(_iteratorAbruptCompletion=!(_step=_context2.v).done)){_context2.n=5;break;}chunk=_step.value;return _context2.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(streamChunk(chunk,chunkSize)),_awaitAsyncGenerator)),4);case 4:_iteratorAbruptCompletion=false;_context2.n=2;break;case 5:_context2.n=7;break;case 6:_context2.p=6;_t=_context2.v;_didIteratorError=true;_iteratorError=_t;case 7:_context2.p=7;_context2.p=8;if(!(_iteratorAbruptCompletion&&_iterator2["return"]!=null)){_context2.n=9;break;}_context2.n=9;return _awaitAsyncGenerator(_iterator2["return"]());case 9:_context2.p=9;if(!_didIteratorError){_context2.n=10;break;}throw _iteratorError;case 10:return _context2.f(9);case 11:return _context2.f(7);case 12:return _context2.a(2);}},_callee,null,[[8,,9,11],[1,6,7,12]]);}));return function readBytes(_x,_x2){return _ref.apply(this,arguments);};}();var readStream=/*#__PURE__*/function(){var _ref2=_wrapAsyncGenerator(/*#__PURE__*/_regenerator().m(function _callee2(stream){var reader,_yield$_awaitAsyncGen,done,value;return _regenerator().w(function(_context3){while(1)switch(_context3.p=_context3.n){case 0:if(!stream[Symbol.asyncIterator]){_context3.n=2;break;}return _context3.d(_regeneratorValues(_asyncGeneratorDelegate(_asyncIterator(stream),_awaitAsyncGenerator)),1);case 1:return _context3.a(2);case 2:reader=stream.getReader();_context3.p=3;case 4:_context3.n=5;return _awaitAsyncGenerator(reader.read());case 5:_yield$_awaitAsyncGen=_context3.v;done=_yield$_awaitAsyncGen.done;value=_yield$_awaitAsyncGen.value;if(!done){_context3.n=6;break;}return _context3.a(3,8);case 6:_context3.n=7;return value;case 7:_context3.n=4;break;case 8:_context3.p=8;_context3.n=9;return _awaitAsyncGenerator(reader.cancel());case 9:return _context3.f(8);case 10:return _context3.a(2);}},_callee2,null,[[3,,8,10]]);}));return function readStream(_x3){return _ref2.apply(this,arguments);};}();var trackStream=function trackStream(stream,chunkSize,onProgress,onFinish){var iterator=readBytes(stream,chunkSize);var bytes=0;var done;var _onFinish=function _onFinish(e){if(!done){done=true;onFinish&&onFinish(e);}};return new ReadableStream({pull:function pull(controller){return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(){var _yield$iterator$next,_done,value,len,loadedBytes,_t2;return _regenerator().w(function(_context4){while(1)switch(_context4.p=_context4.n){case 0:_context4.p=0;_context4.n=1;return iterator.next();case 1:_yield$iterator$next=_context4.v;_done=_yield$iterator$next.done;value=_yield$iterator$next.value;if(!_done){_context4.n=2;break;}_onFinish();controller.close();return _context4.a(2);case 2:len=value.byteLength;if(onProgress){loadedBytes=bytes+=len;onProgress(loadedBytes);}controller.enqueue(new Uint8Array(value));_context4.n=4;break;case 3:_context4.p=3;_t2=_context4.v;_onFinish(_t2);throw _t2;case 4:return _context4.a(2);}},_callee3,null,[[0,3]]);}))();},cancel:function cancel(reason){_onFinish(reason);return iterator["return"]();}},{highWaterMark:2});};var DEFAULT_CHUNK_SIZE=64*1024;var isFunction=utils$1.isFunction;var globalFetchAPI=function(_ref11){var Request=_ref11.Request,Response=_ref11.Response;return{Request:Request,Response:Response};}(utils$1.global);var _utils$1$global=utils$1.global,ReadableStream$1=_utils$1$global.ReadableStream,TextEncoder$1=_utils$1$global.TextEncoder;var test=function test(fn){try{for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key6=1;_key6<_len5;_key6++){args[_key6-1]=arguments[_key6];}return!!fn.apply(void 0,args);}catch(e){return false;}};var factory=function factory(env){env=utils$1.merge.call({skipUndefined:true},globalFetchAPI,env);var _env=env,envFetch=_env.fetch,Request=_env.Request,Response=_env.Response;var isFetchSupported=envFetch?isFunction(envFetch):typeof fetch==='function';var isRequestSupported=isFunction(Request);var isResponseSupported=isFunction(Response);if(!isFetchSupported){return false;}var isReadableStreamSupported=isFetchSupported&&isFunction(ReadableStream$1);var encodeText=isFetchSupported&&(typeof TextEncoder$1==='function'?function(encoder){return function(str){return encoder.encode(str);};}(new TextEncoder$1()):(/*#__PURE__*/function(){var _ref12=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(str){var _t3,_t4;return _regenerator().w(function(_context5){while(1)switch(_context5.n){case 0:_t3=Uint8Array;_context5.n=1;return new Request(str).arrayBuffer();case 1:_t4=_context5.v;return _context5.a(2,new _t3(_t4));}},_callee4);}));return function(_x4){return _ref12.apply(this,arguments);};}()));var supportsRequestStream=isRequestSupported&&isReadableStreamSupported&&test(function(){var duplexAccessed=false;var hasContentType=new Request(platform.origin,{body:new ReadableStream$1(),method:'POST',get duplex(){duplexAccessed=true;return'half';}}).headers.has('Content-Type');return duplexAccessed&&!hasContentType;});var supportsResponseStream=isResponseSupported&&isReadableStreamSupported&&test(function(){return utils$1.isReadableStream(new Response('').body);});var resolvers={stream:supportsResponseStream&&function(res){return res.body;}};isFetchSupported&&function(){['text','arrayBuffer','blob','formData','stream'].forEach(function(type){!resolvers[type]&&(resolvers[type]=function(res,config){var method=res&&res[type];if(method){return method.call(res);}throw new AxiosError("Response type '".concat(type,"' is not supported"),AxiosError.ERR_NOT_SUPPORT,config);});});}();var getBodyLength=/*#__PURE__*/function(){var _ref13=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5(body){var _request;return _regenerator().w(function(_context6){while(1)switch(_context6.n){case 0:if(!(body==null)){_context6.n=1;break;}return _context6.a(2,0);case 1:if(!utils$1.isBlob(body)){_context6.n=2;break;}return _context6.a(2,body.size);case 2:if(!utils$1.isSpecCompliantForm(body)){_context6.n=4;break;}_request=new Request(platform.origin,{method:'POST',body:body});_context6.n=3;return _request.arrayBuffer();case 3:return _context6.a(2,_context6.v.byteLength);case 4:if(!(utils$1.isArrayBufferView(body)||utils$1.isArrayBuffer(body))){_context6.n=5;break;}return _context6.a(2,body.byteLength);case 5:if(utils$1.isURLSearchParams(body)){body=body+'';}if(!utils$1.isString(body)){_context6.n=7;break;}_context6.n=6;return encodeText(body);case 6:return _context6.a(2,_context6.v.byteLength);case 7:return _context6.a(2);}},_callee5);}));return function getBodyLength(_x5){return _ref13.apply(this,arguments);};}();var resolveBodyLength=/*#__PURE__*/function(){var _ref14=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6(headers,body){var length;return _regenerator().w(function(_context7){while(1)switch(_context7.n){case 0:length=utils$1.toFiniteNumber(headers.getContentLength());return _context7.a(2,length==null?getBodyLength(body):length);}},_callee6);}));return function resolveBodyLength(_x6,_x7){return _ref14.apply(this,arguments);};}();return/*#__PURE__*/function(){var _ref15=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7(config){var _resolveConfig,url,method,data,signal,cancelToken,timeout,onDownloadProgress,onUploadProgress,responseType,headers,_resolveConfig$withCr,withCredentials,fetchOptions,_fetch,composedSignal,request,unsubscribe,requestContentLength,_request,contentTypeHeader,_progressEventDecorat,_progressEventDecorat2,onProgress,flush,isCredentialsSupported,resolvedOptions,response,isStreamResponse,options,responseContentLength,_ref16,_ref17,_onProgress,_flush,responseData,_t5,_t6,_t7;return _regenerator().w(function(_context8){while(1)switch(_context8.p=_context8.n){case 0:_resolveConfig=resolveConfig(config),url=_resolveConfig.url,method=_resolveConfig.method,data=_resolveConfig.data,signal=_resolveConfig.signal,cancelToken=_resolveConfig.cancelToken,timeout=_resolveConfig.timeout,onDownloadProgress=_resolveConfig.onDownloadProgress,onUploadProgress=_resolveConfig.onUploadProgress,responseType=_resolveConfig.responseType,headers=_resolveConfig.headers,_resolveConfig$withCr=_resolveConfig.withCredentials,withCredentials=_resolveConfig$withCr===void 0?'same-origin':_resolveConfig$withCr,fetchOptions=_resolveConfig.fetchOptions;_fetch=envFetch||fetch;responseType=responseType?(responseType+'').toLowerCase():'text';composedSignal=composeSignals$1([signal,cancelToken&&cancelToken.toAbortSignal()],timeout);request=null;unsubscribe=composedSignal&&composedSignal.unsubscribe&&function(){composedSignal.unsubscribe();};_context8.p=1;_t5=onUploadProgress&&supportsRequestStream&&method!=='get'&&method!=='head';if(!_t5){_context8.n=3;break;}_context8.n=2;return resolveBodyLength(headers,data);case 2:_t6=requestContentLength=_context8.v;_t5=_t6!==0;case 3:if(!_t5){_context8.n=4;break;}_request=new Request(url,{method:'POST',body:data,duplex:"half"});if(utils$1.isFormData(data)&&(contentTypeHeader=_request.headers.get('content-type'))){headers.setContentType(contentTypeHeader);}if(_request.body){_progressEventDecorat=progressEventDecorator(requestContentLength,progressEventReducer(asyncDecorator(onUploadProgress))),_progressEventDecorat2=_slicedToArray(_progressEventDecorat,2),onProgress=_progressEventDecorat2[0],flush=_progressEventDecorat2[1];data=trackStream(_request.body,DEFAULT_CHUNK_SIZE,onProgress,flush);}case 4:if(!utils$1.isString(withCredentials)){withCredentials=withCredentials?'include':'omit';}// Cloudflare Workers throws when credentials are defined
6312
6370
  // see https://github.com/cloudflare/workerd/issues/902
6313
- isCredentialsSupported="credentials"in Request.prototype;request=new Request(url,_objectSpread(_objectSpread({},fetchOptions),{},{signal:composedSignal,method:method.toUpperCase(),headers:headers.normalize().toJSON(),body:data,duplex:"half",credentials:isCredentialsSupported?withCredentials:undefined}));_context8.n=5;return fetch(request,fetchOptions);case 5:response=_context8.v;isStreamResponse=supportsResponseStream&&(responseType==='stream'||responseType==='response');if(supportsResponseStream&&(onDownloadProgress||isStreamResponse&&unsubscribe)){options={};['status','statusText','headers'].forEach(function(prop){options[prop]=response[prop];});responseContentLength=utils$1.toFiniteNumber(response.headers.get('content-length'));_ref15=onDownloadProgress&&progressEventDecorator(responseContentLength,progressEventReducer(asyncDecorator(onDownloadProgress),true))||[],_ref16=_slicedToArray(_ref15,2),_onProgress=_ref16[0],_flush=_ref16[1];response=new Response(trackStream(response.body,DEFAULT_CHUNK_SIZE,_onProgress,function(){_flush&&_flush();unsubscribe&&unsubscribe();}),options);}responseType=responseType||'text';_context8.n=6;return resolvers[utils$1.findKey(resolvers,responseType)||'text'](response,config);case 6:responseData=_context8.v;!isStreamResponse&&unsubscribe&&unsubscribe();_context8.n=7;return new Promise(function(resolve,reject){settle(resolve,reject,{data:responseData,headers:AxiosHeaders$1.from(response.headers),status:response.status,statusText:response.statusText,config:config,request:request});});case 7:return _context8.a(2,_context8.v);case 8:_context8.p=8;_t7=_context8.v;unsubscribe&&unsubscribe();if(!(_t7&&_t7.name==='TypeError'&&/Load failed|fetch/i.test(_t7.message))){_context8.n=9;break;}throw Object.assign(new AxiosError('Network Error',AxiosError.ERR_NETWORK,config,request),{cause:_t7.cause||_t7});case 9:throw AxiosError.from(_t7,_t7&&_t7.code,config,request);case 10:return _context8.a(2);}},_callee7,null,[[1,8]]);}));return function(_x8){return _ref14.apply(this,arguments);};}());var knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$1.forEach(knownAdapters,function(fn,value){if(fn){try{Object.defineProperty(fn,'name',{value:value});}catch(e){// eslint-disable-next-line no-empty
6314
- }Object.defineProperty(fn,'adapterName',{value:value});}});var renderReason=function renderReason(reason){return"- ".concat(reason);};var isResolvedHandle=function isResolvedHandle(adapter){return utils$1.isFunction(adapter)||adapter===null||adapter===false;};var adapters={getAdapter:function getAdapter(adapters){adapters=utils$1.isArray(adapters)?adapters:[adapters];var _adapters=adapters,length=_adapters.length;var nameOrAdapter;var adapter;var rejectedReasons={};for(var i=0;i<length;i++){nameOrAdapter=adapters[i];var id=void 0;adapter=nameOrAdapter;if(!isResolvedHandle(nameOrAdapter)){adapter=knownAdapters[(id=String(nameOrAdapter)).toLowerCase()];if(adapter===undefined){throw new AxiosError("Unknown adapter '".concat(id,"'"));}}if(adapter){break;}rejectedReasons[id||'#'+i]=adapter;}if(!adapter){var reasons=Object.entries(rejectedReasons).map(function(_ref17){var _ref18=_slicedToArray(_ref17,2),id=_ref18[0],state=_ref18[1];return"adapter ".concat(id," ")+(state===false?'is not supported by the environment':'is not available in the build');});var s=length?reasons.length>1?'since :\n'+reasons.map(renderReason).join('\n'):' '+renderReason(reasons[0]):'as no adapter specified';throw new AxiosError("There is no suitable adapter to dispatch the request "+s,'ERR_NOT_SUPPORT');}return adapter;},adapters:knownAdapters};/**
6371
+ isCredentialsSupported=isRequestSupported&&"credentials"in Request.prototype;resolvedOptions=_objectSpread(_objectSpread({},fetchOptions),{},{signal:composedSignal,method:method.toUpperCase(),headers:headers.normalize().toJSON(),body:data,duplex:"half",credentials:isCredentialsSupported?withCredentials:undefined});request=isRequestSupported&&new Request(url,resolvedOptions);_context8.n=5;return isRequestSupported?_fetch(request,fetchOptions):_fetch(url,resolvedOptions);case 5:response=_context8.v;isStreamResponse=supportsResponseStream&&(responseType==='stream'||responseType==='response');if(supportsResponseStream&&(onDownloadProgress||isStreamResponse&&unsubscribe)){options={};['status','statusText','headers'].forEach(function(prop){options[prop]=response[prop];});responseContentLength=utils$1.toFiniteNumber(response.headers.get('content-length'));_ref16=onDownloadProgress&&progressEventDecorator(responseContentLength,progressEventReducer(asyncDecorator(onDownloadProgress),true))||[],_ref17=_slicedToArray(_ref16,2),_onProgress=_ref17[0],_flush=_ref17[1];response=new Response(trackStream(response.body,DEFAULT_CHUNK_SIZE,_onProgress,function(){_flush&&_flush();unsubscribe&&unsubscribe();}),options);}responseType=responseType||'text';_context8.n=6;return resolvers[utils$1.findKey(resolvers,responseType)||'text'](response,config);case 6:responseData=_context8.v;!isStreamResponse&&unsubscribe&&unsubscribe();_context8.n=7;return new Promise(function(resolve,reject){settle(resolve,reject,{data:responseData,headers:AxiosHeaders$1.from(response.headers),status:response.status,statusText:response.statusText,config:config,request:request});});case 7:return _context8.a(2,_context8.v);case 8:_context8.p=8;_t7=_context8.v;unsubscribe&&unsubscribe();if(!(_t7&&_t7.name==='TypeError'&&/Load failed|fetch/i.test(_t7.message))){_context8.n=9;break;}throw Object.assign(new AxiosError('Network Error',AxiosError.ERR_NETWORK,config,request),{cause:_t7.cause||_t7});case 9:throw AxiosError.from(_t7,_t7&&_t7.code,config,request);case 10:return _context8.a(2);}},_callee7,null,[[1,8]]);}));return function(_x8){return _ref15.apply(this,arguments);};}();};var seedCache=new Map();var getFetch=function getFetch(config){var env=config?config.env:{};var fetch=env.fetch,Request=env.Request,Response=env.Response;var seeds=[Request,Response,fetch];var len=seeds.length,i=len,seed,target,map=seedCache;while(i--){seed=seeds[i];target=map.get(seed);target===undefined&&map.set(seed,target=i?new Map():factory(env));map=target;}return target;};getFetch();var knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:{get:getFetch}};utils$1.forEach(knownAdapters,function(fn,value){if(fn){try{Object.defineProperty(fn,'name',{value:value});}catch(e){// eslint-disable-next-line no-empty
6372
+ }Object.defineProperty(fn,'adapterName',{value:value});}});var renderReason=function renderReason(reason){return"- ".concat(reason);};var isResolvedHandle=function isResolvedHandle(adapter){return utils$1.isFunction(adapter)||adapter===null||adapter===false;};var adapters={getAdapter:function getAdapter(adapters,config){adapters=utils$1.isArray(adapters)?adapters:[adapters];var _adapters=adapters,length=_adapters.length;var nameOrAdapter;var adapter;var rejectedReasons={};for(var i=0;i<length;i++){nameOrAdapter=adapters[i];var id=void 0;adapter=nameOrAdapter;if(!isResolvedHandle(nameOrAdapter)){adapter=knownAdapters[(id=String(nameOrAdapter)).toLowerCase()];if(adapter===undefined){throw new AxiosError("Unknown adapter '".concat(id,"'"));}}if(adapter&&(utils$1.isFunction(adapter)||(adapter=adapter.get(config)))){break;}rejectedReasons[id||'#'+i]=adapter;}if(!adapter){var reasons=Object.entries(rejectedReasons).map(function(_ref18){var _ref19=_slicedToArray(_ref18,2),id=_ref19[0],state=_ref19[1];return"adapter ".concat(id," ")+(state===false?'is not supported by the environment':'is not available in the build');});var s=length?reasons.length>1?'since :\n'+reasons.map(renderReason).join('\n'):' '+renderReason(reasons[0]):'as no adapter specified';throw new AxiosError("There is no suitable adapter to dispatch the request "+s,'ERR_NOT_SUPPORT');}return adapter;},adapters:knownAdapters};/**
6315
6373
  * Throws a `CanceledError` if cancellation has been requested.
6316
6374
  *
6317
6375
  * @param {Object} config The config that is to be used for the request
@@ -6324,9 +6382,9 @@ isCredentialsSupported="credentials"in Request.prototype;request=new Request(url
6324
6382
  *
6325
6383
  * @returns {Promise} The Promise to be fulfilled
6326
6384
  */function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
6327
- config.data=transformData.call(config,config.transformRequest);if(['post','put','patch'].indexOf(config.method)!==-1){config.headers.setContentType('application/x-www-form-urlencoded',false);}var adapter=adapters.getAdapter(config.adapter||defaults$1.adapter);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
6385
+ config.data=transformData.call(config,config.transformRequest);if(['post','put','patch'].indexOf(config.method)!==-1){config.headers.setContentType('application/x-www-form-urlencoded',false);}var adapter=adapters.getAdapter(config.adapter||defaults$1.adapter,config);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
6328
6386
  response.data=transformData.call(config,config.transformResponse,response);response.headers=AxiosHeaders$1.from(response.headers);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
6329
- if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.11.0";var validators$1={};// eslint-disable-next-line func-names
6387
+ if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.12.2";var validators$1={};// eslint-disable-next-line func-names
6330
6388
  ['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={};/**
6331
6389
  * Transitional option validator
6332
6390
  *
@@ -6367,7 +6425,7 @@ if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else
6367
6425
  if(config.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){config.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;}else{config.allowAbsoluteUrls=true;}validator.assertOptions(config,{baseUrl:validators.spelling('baseURL'),withXsrfToken:validators.spelling('withXSRFToken')},true);// Set config.method
6368
6426
  config.method=(config.method||this.defaults.method||'get').toLowerCase();// Flatten headers
6369
6427
  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
6370
- var requestInterceptorChain=[];var synchronousRequestInterceptors=true;this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor){if(typeof interceptor.runWhen==='function'&&interceptor.runWhen(config)===false){return;}synchronousRequestInterceptors=synchronousRequestInterceptors&&interceptor.synchronous;requestInterceptorChain.unshift(interceptor.fulfilled,interceptor.rejected);});var responseInterceptorChain=[];this.interceptors.response.forEach(function pushResponseInterceptors(interceptor){responseInterceptorChain.push(interceptor.fulfilled,interceptor.rejected);});var promise;var i=0;var len;if(!synchronousRequestInterceptors){var chain=[dispatchRequest.bind(this),undefined];chain.unshift.apply(chain,requestInterceptorChain);chain.push.apply(chain,responseInterceptorChain);len=chain.length;promise=Promise.resolve(config);while(i<len){promise=promise.then(chain[i++],chain[i++]);}return promise;}len=requestInterceptorChain.length;var newConfig=config;i=0;while(i<len){var onFulfilled=requestInterceptorChain[i++];var onRejected=requestInterceptorChain[i++];try{newConfig=onFulfilled(newConfig);}catch(error){onRejected.call(this,error);break;}}try{promise=dispatchRequest.call(this,newConfig);}catch(error){return Promise.reject(error);}i=0;len=responseInterceptorChain.length;while(i<len){promise=promise.then(responseInterceptorChain[i++],responseInterceptorChain[i++]);}return promise;}},{key:"getUri",value:function getUri(config){config=mergeConfig(this.defaults,config);var fullPath=buildFullPath(config.baseURL,config.url,config.allowAbsoluteUrls);return buildURL(fullPath,config.params,config.paramsSerializer);}}]);}();// Provide aliases for supported request methods
6428
+ var requestInterceptorChain=[];var synchronousRequestInterceptors=true;this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor){if(typeof interceptor.runWhen==='function'&&interceptor.runWhen(config)===false){return;}synchronousRequestInterceptors=synchronousRequestInterceptors&&interceptor.synchronous;requestInterceptorChain.unshift(interceptor.fulfilled,interceptor.rejected);});var responseInterceptorChain=[];this.interceptors.response.forEach(function pushResponseInterceptors(interceptor){responseInterceptorChain.push(interceptor.fulfilled,interceptor.rejected);});var promise;var i=0;var len;if(!synchronousRequestInterceptors){var chain=[dispatchRequest.bind(this),undefined];chain.unshift.apply(chain,requestInterceptorChain);chain.push.apply(chain,responseInterceptorChain);len=chain.length;promise=Promise.resolve(config);while(i<len){promise=promise.then(chain[i++],chain[i++]);}return promise;}len=requestInterceptorChain.length;var newConfig=config;while(i<len){var onFulfilled=requestInterceptorChain[i++];var onRejected=requestInterceptorChain[i++];try{newConfig=onFulfilled(newConfig);}catch(error){onRejected.call(this,error);break;}}try{promise=dispatchRequest.call(this,newConfig);}catch(error){return Promise.reject(error);}i=0;len=responseInterceptorChain.length;while(i<len){promise=promise.then(responseInterceptorChain[i++],responseInterceptorChain[i++]);}return promise;}},{key:"getUri",value:function getUri(config){config=mergeConfig(this.defaults,config);var fullPath=buildFullPath(config.baseURL,config.url,config.allowAbsoluteUrls);return buildURL(fullPath,config.params,config.paramsSerializer);}}]);}();// Provide aliases for supported request methods
6371
6429
  utils$1.forEach(['delete','get','head','options'],function forEachMethodNoData(method){/*eslint func-names:0*/Axios.prototype[method]=function(url,config){return this.request(mergeConfig(config||{},{method:method,url:url,data:(config||{}).data}));};});utils$1.forEach(['post','put','patch'],function forEachMethodWithData(method){/*eslint func-names:0*/function generateHTTPMethod(isForm){return function httpMethod(url,data,config){return this.request(mergeConfig(config||{},{method:method,headers:isForm?{'Content-Type':'multipart/form-data'}:{},url:url,data:data}));};}Axios.prototype[method]=generateHTTPMethod();Axios.prototype[method+'Form']=generateHTTPMethod(true);});var Axios$1=Axios;/**
6372
6430
  * A `CancelToken` is an object that can be used to request cancellation of an operation.
6373
6431
  *
@@ -6413,7 +6471,7 @@ return;}token.reason=new CanceledError(message,config,request);resolvePromise(to
6413
6471
  * @param {*} payload The value to test
6414
6472
  *
6415
6473
  * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
6416
- */function isAxiosError(payload){return utils$1.isObject(payload)&&payload.isAxiosError===true;}var HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(function(_ref19){var _ref20=_slicedToArray(_ref19,2),key=_ref20[0],value=_ref20[1];HttpStatusCode[value]=key;});var HttpStatusCode$1=HttpStatusCode;/**
6474
+ */function isAxiosError(payload){return utils$1.isObject(payload)&&payload.isAxiosError===true;}var HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(function(_ref20){var _ref21=_slicedToArray(_ref20,2),key=_ref21[0],value=_ref21[1];HttpStatusCode[value]=key;});var HttpStatusCode$1=HttpStatusCode;/**
6417
6475
  * Create an instance of Axios
6418
6476
  *
6419
6477
  * @param {Object} defaultConfig The default config for the instance
@@ -6441,10 +6499,10 @@ var axios$1=axios;var AbstractHttpClient=/*#__PURE__*/function(){function Abstra
6441
6499
  return _createClass(HttpRequestOptions,[{key:"setUrl",value:function setUrl(url){if(!url)throw new Error("The 'url' property is required");this.url=url;}},{key:"setMethod",value:function setMethod(method){var validMethods=['GET','POST','PUT','DELETE','PATCH','OPTIONS','HEAD'];if(!method||!validMethods.includes(method.toUpperCase())){throw new Error("The 'method' property is invalid or missing");}this.method=method.toUpperCase();}},{key:"setData",value:function setData(data){if(data===undefined||data===null){throw new Error("The 'data' property is required");}this.data=data;}// Optional fields
6442
6500
  },{key:"setParams",value:function setParams(params){if(params&&_typeof(params)!=='object'){throw new Error("The 'params' property must be an object");}this.params=params;}// Optional fields
6443
6501
  },{key:"setHeaders",value:function setHeaders(headers){if(headers&&_typeof(headers)!=='object'){throw new Error("The 'headers' property must be an object");}this.headers=headers;}},{key:"setTimeout",value:function setTimeout(timeout){if(timeout===undefined||timeout===null||typeof timeout!=='number'){throw new Error("The 'timeout' property must be a number");}this.timeout=timeout;}}]);}();// Default client is Axios
6444
- var DefaultHttpClient=/*#__PURE__*/function(_AbstractHttpClient){function DefaultHttpClient(timeout,httpsAgent){var _this2;_classCallCheck(this,DefaultHttpClient);_this2=_callSuper(this,DefaultHttpClient);if(timeout!==null&&timeout!==undefined)_this2.setTimeout(timeout);else _this2.timeout=16000;if(httpsAgent!==null&&httpsAgent!==undefined)_this2.setHttpsAgent(httpsAgent);else _this2.httpsAgent;_this2._axiosInstance=axios$1.create({});return _this2;}_inherits(DefaultHttpClient,_AbstractHttpClient);return _createClass(DefaultHttpClient,[{key:"enableHooks",value:function enableHooks(){var _this3=this;if(this.preHook&&typeof this.preHook==='function'){if(this.requestInterceptorId!==undefined){axios$1.interceptors.request.eject(this.requestInterceptorId);}this.requestInterceptorId=this._axiosInstance.interceptors.request.use(/*#__PURE__*/function(){var _ref21=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9(config){return _regenerator().w(function(_context0){while(1)switch(_context0.n){case 0:_context0.n=1;return _this3.preHook(config);case 1:config=_context0.v;return _context0.a(2,config);}},_callee9);}));return function(_x1){return _ref21.apply(this,arguments);};}(),function(error){// Handle errors before the request is sent
6502
+ var DefaultHttpClient=/*#__PURE__*/function(_AbstractHttpClient){function DefaultHttpClient(timeout,httpsAgent){var _this2;_classCallCheck(this,DefaultHttpClient);_this2=_callSuper(this,DefaultHttpClient);if(timeout!==null&&timeout!==undefined)_this2.setTimeout(timeout);else _this2.timeout=16000;if(httpsAgent!==null&&httpsAgent!==undefined)_this2.setHttpsAgent(httpsAgent);else _this2.httpsAgent;_this2._axiosInstance=axios$1.create({});return _this2;}_inherits(DefaultHttpClient,_AbstractHttpClient);return _createClass(DefaultHttpClient,[{key:"enableHooks",value:function enableHooks(){var _this3=this;if(this.preHook&&typeof this.preHook==='function'){if(this.requestInterceptorId!==undefined){axios$1.interceptors.request.eject(this.requestInterceptorId);}this.requestInterceptorId=this._axiosInstance.interceptors.request.use(/*#__PURE__*/function(){var _ref22=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9(config){return _regenerator().w(function(_context0){while(1)switch(_context0.n){case 0:_context0.n=1;return _this3.preHook(config);case 1:config=_context0.v;return _context0.a(2,config);}},_callee9);}));return function(_x1){return _ref22.apply(this,arguments);};}(),function(error){// Handle errors before the request is sent
6445
6503
  console.error('Request Pre-Hook Error:',error.message);return Promise.reject(error);});}if(this.postHook&&typeof this.postHook==='function'){// Response interceptor (for post-hooks)
6446
- if(this.responseInterceptorId!==undefined){axios$1.interceptors.response.eject(this.responseInterceptorId);}this.responseInterceptorId=this._axiosInstance.interceptors.response.use(/*#__PURE__*/function(){var _ref22=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(response){return _regenerator().w(function(_context1){while(1)switch(_context1.n){case 0:_context1.n=1;return _this3.postHook(response);case 1:response=_context1.v;return _context1.a(2,response);}},_callee0);}));return function(_x10){return _ref22.apply(this,arguments);};}(),/*#__PURE__*/function(){var _ref23=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(error){return _regenerator().w(function(_context10){while(1)switch(_context10.n){case 0:console.error('Post-Hook: Response Error',error.message);// Optionally call post-hook in case of errors
6447
- return _context10.a(2,Promise.reject(error));}},_callee1);}));return function(_x11){return _ref23.apply(this,arguments);};}());}}},{key:"request",value:function request(httpRequestOptions){if(!(httpRequestOptions instanceof HttpRequestOptions)){throw new Error("httpRequestOptions must be instance of HttpRequestOptions ");}var config=this.toAxiosConfig(httpRequestOptions);return this._axiosInstance.request(config);}// Method to generate Axios-compatible config
6504
+ if(this.responseInterceptorId!==undefined){axios$1.interceptors.response.eject(this.responseInterceptorId);}this.responseInterceptorId=this._axiosInstance.interceptors.response.use(/*#__PURE__*/function(){var _ref23=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(response){return _regenerator().w(function(_context1){while(1)switch(_context1.n){case 0:_context1.n=1;return _this3.postHook(response);case 1:response=_context1.v;return _context1.a(2,response);}},_callee0);}));return function(_x10){return _ref23.apply(this,arguments);};}(),/*#__PURE__*/function(){var _ref24=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(error){return _regenerator().w(function(_context10){while(1)switch(_context10.n){case 0:console.error('Post-Hook: Response Error',error.message);// Optionally call post-hook in case of errors
6505
+ return _context10.a(2,Promise.reject(error));}},_callee1);}));return function(_x11){return _ref24.apply(this,arguments);};}());}}},{key:"request",value:function request(httpRequestOptions){if(!(httpRequestOptions instanceof HttpRequestOptions)){throw new Error("httpRequestOptions must be instance of HttpRequestOptions ");}var config=this.toAxiosConfig(httpRequestOptions);return this._axiosInstance.request(config);}// Method to generate Axios-compatible config
6448
6506
  },{key:"toAxiosConfig",value:function toAxiosConfig(httpRequestOptions){if(!httpRequestOptions.url||!httpRequestOptions.method){throw new Error("Mandatory fields 'url' and 'method' must be set before making a request");}var config={url:httpRequestOptions.url,method:httpRequestOptions.method};if(httpRequestOptions.params)config.params=httpRequestOptions.params;if(httpRequestOptions.headers)config.headers=httpRequestOptions.headers;if(httpRequestOptions.data)config.data=httpRequestOptions.data;if(this.timeout!=null&&this.timeout!=undefined)config.timeout=this.timeout;if(this.httpsAgent)config.httpsAgent=this.httpsAgent;return config;}}]);}(AbstractHttpClient);var logLevelEnum={level:{LNone:'none',LError:'error',LDebug:'debug',LTrace:'trace'}};var logFormatEnum={formats:{JSON:'json',TEXT:'text'}};var Logger=/*#__PURE__*/function(){function Logger(){_classCallCheck(this,Logger);this.log_level=logLevelEnum.level.LNone;this.log_format=logFormatEnum.formats.TEXT;this.log_to_console=true;this.log_file_path;this.log_response_body=false;this.log_request_body=false;this.setLogger();}return _createClass(Logger,[{key:"logLevelEnum",get:function get(){return logLevelEnum;}},{key:"logFormatEnum",get:function get(){return logFormatEnum;}},{key:"setLogger",value:function setLogger(){}},{key:"log",value:function log(level,statusCode,method,url,requestHeaders,responseHeaders,requestBody,responseBody){var content=this.formatLog(level,statusCode,method,url,requestHeaders,responseHeaders,requestBody,responseBody);if(typeof window!=='undefined'){var shouldLog=this.calculateLogLevel(level);if(shouldLog>0&&this.log_to_console===true){if(this.log_format===this.logFormatEnum.formats.JSON){console.log(content);}else{console.log("".concat(level.toUpperCase(),": ").concat(content));}}}else{if(this.logger.transports.length>0)this.logger.log(level,content);}}},{key:"calculateLogLevel",value:function calculateLogLevel(level){switch(this.log_level){case this.logLevelEnum.level.LError:if(level!==this.logLevelEnum.level.LError){return-1;}return 1;case this.logLevelEnum.level.LDebug:if(level===this.logLevelEnum.level.LTrace){return-1;}return 1;case this.logLevelEnum.level.LTrace:return 1;default:return-1;}}},{key:"formatLog",value:function formatLog(level,statusCode,method,url,requestHeaders,responseHeaders,requestBody,responseBody){var result;var localRequestHeaders=requestHeaders?JSON.parse(JSON.stringify(requestHeaders)):null;var localResponseHeaders=responseHeaders?JSON.parse(JSON.stringify(responseHeaders)):null;var localRequestBody=requestBody?JSON.parse(JSON.stringify(requestBody)):null;var localResponseBody=responseBody?JSON.parse(JSON.stringify(responseBody)):null;if(requestHeaders)localRequestHeaders['Authorization']='[REDACTED]';if(!this.log_request_body)localRequestBody=undefined;if(!this.log_response_body)localResponseBody=undefined;if(this.log_format&&this.log_format===logFormatEnum.formats.JSON){result={level:level,date:new Date().toISOString(),method:method,url:decodeURIComponent(url),correlationId:localResponseHeaders?localResponseHeaders['inin-correlation-id']?localResponseHeaders['inin-correlation-id']:'':'',statusCode:statusCode};if(localRequestHeaders)result.requestHeaders=localRequestHeaders;if(localResponseHeaders)result.responseHeaders=localResponseHeaders;if(localRequestBody)result.requestBody=localRequestBody;if(localResponseBody)result.responseBody=localResponseBody;}else{result="".concat(new Date().toISOString(),"\n=== REQUEST === \n").concat(this.formatValue('URL',decodeURIComponent(url))).concat(this.formatValue('Method',method)).concat(this.formatValue('Headers',this.formatHeaderString(localRequestHeaders))).concat(this.formatValue('Body',localRequestBody?JSON.stringify(localRequestBody,null,2):''),"\n=== RESPONSE ===\n").concat(this.formatValue('Status',statusCode)).concat(this.formatValue('Headers',this.formatHeaderString(localResponseHeaders))).concat(this.formatValue('CorrelationId',localResponseHeaders?localResponseHeaders['inin-correlation-id']?localResponseHeaders['inin-correlation-id']:'':'')).concat(this.formatValue('Body',localResponseBody?JSON.stringify(localResponseBody,null,2):''));}return result;}},{key:"formatHeaderString",value:function formatHeaderString(headers){var headerString='';if(!headers)return headerString;for(var _i=0,_Object$entries=Object.entries(headers);_i<_Object$entries.length;_i++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i],2),key=_Object$entries$_i[0],value=_Object$entries$_i[1];headerString+="\n\t".concat(key,": ").concat(value);}return headerString;}},{key:"formatValue",value:function formatValue(key,value){if(!value||value===''||value==='{}')return'';return"".concat(key,": ").concat(value,"\n");}},{key:"getLogLevel",value:function getLogLevel(level){switch(level){case'error':return logLevelEnum.level.LError;case'debug':return logLevelEnum.level.LDebug;case'trace':return logLevelEnum.level.LTrace;default:return logLevelEnum.level.LNone;}}},{key:"getLogFormat",value:function getLogFormat(format){switch(format){case'json':return logFormatEnum.formats.JSON;default:return logFormatEnum.formats.TEXT;}}}]);}();var Configuration=/*#__PURE__*/function(){function Configuration(){_classCallCheck(this,Configuration);if(!Configuration.instance){Configuration.instance=this;}if(typeof window!=='undefined'){this.configPath='';}else{var os=require('os');var path=require('path');this.configPath=path.join(os.homedir(),'.genesyscloudjavascript','config');}this.watchedConfigPath;this.refresh_access_token=true;this.refresh_token_wait_max=10;this._live_reload_config=true;this.host;this.environment;this.basePath;this.authUrl;this.config;this.gateway=undefined;this.logger=new Logger();this.setEnvironment();this.liveLoadConfig();}/**
6449
6507
  * live_reload_config getter
6450
6508
  */return _createClass(Configuration,[{key:"instance",get:/**
@@ -6474,7 +6532,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
6474
6532
  this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
6475
6533
  if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfUrl",value:function getConfUrl(pathType,regionUrl){if(!this.gateway)return regionUrl;if(!this.gateway.host)return regionUrl;var url=this.gateway.protocol+'://'+this.gateway.host;if(this.gateway.port>-1)url=url+':'+this.gateway.port.toString();if(pathType==='login'){if(this.gateway.path_params_login){if(this.gateway.path_params_login.startsWith('/'))url=url+this.gateway.path_params_login;else url=url+'/'+this.gateway.path_params_login;}}else{if(this.gateway.path_params_api){if(this.gateway.path_params_api.startsWith('/'))url=url+this.gateway.path_params_api;else url=url+'/'+this.gateway.path_params_api;}}return url;}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);}();/**
6476
6534
  * @module purecloud-platform-client-v2/ApiClient
6477
- * @version 230.0.0
6535
+ * @version 232.0.0
6478
6536
  */var ApiClient=/*#__PURE__*/function(){/**
6479
6537
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
6480
6538
  * application to use this class directly - the *Api and model classes provide the public API for the service. The
@@ -6503,7 +6561,7 @@ if(this.environment.startsWith('https://'))this.environment=this.environment.sub
6503
6561
  */PIPES:'|',/**
6504
6562
  * Native array. Value: <code>multi</code>
6505
6563
  * @const
6506
- */MULTI:'multi'};/**
6564
+ */MULTI:'multi'};this.useLegacyParameterFilter=true;/**
6507
6565
  * @description Value is `true` if local storage exists. Otherwise, false.
6508
6566
  */try{localStorage.setItem('purecloud_local_storage_test','purecloud_local_storage_test');localStorage.removeItem('purecloud_local_storage_test');this.hasLocalStorage=true;}catch(e){this.hasLocalStorage=false;}/**
6509
6567
  * The authentication methods to be included for all API calls.
@@ -6731,10 +6789,13 @@ this.setAccessToken(this.authentications['PureCloud OAuth'].accessToken);}/**
6731
6789
  * @param {string} path - The path for the URL
6732
6790
  * @param {object} query - An object of key/value pairs to use for querystring keys/values
6733
6791
  */},{key:"_buildAuthUrl",value:function _buildAuthUrl(path,query){if(!query)query={};var loginBasePath=this.config.getConfUrl('login',this.config.authUrl);return Object.keys(query).reduce(function(url,key){return!query[key]?url:"".concat(url,"&").concat(key,"=").concat(query[key]);},"".concat(loginBasePath,"/").concat(path,"?"));}/**
6792
+ * @description If set to `true`, the ApiClient will continue to use its legacy approach for filtering method parameters (mapped to an API Endpoint's query parameter). This is option is meant to facilitate transition from legacy to current and accurate parameters filtering.
6793
+ * @param {boolean} useLegacyParameterFilter - `false` to use modern/accurate approach (default value), `true` to use legacy approach (i.e. parameters of boolean type and equal to false are ignored/filtered, parameters of type integer/number and equal to 0 are ignored/filtered)
6794
+ */},{key:"setUseLegacyParameterFilter",value:function setUseLegacyParameterFilter(useLegacyParameterFilter){this.useLegacyParameterFilter=useLegacyParameterFilter;}},{key:"getUseLegacyParameterFilter",value:function getUseLegacyParameterFilter(){return this.useLegacyParameterFilter;}/**
6734
6795
  * Returns a string representation for an actual parameter.
6735
6796
  * @param param The actual parameter.
6736
6797
  * @returns {String} The string representation of <code>param</code>.
6737
- */},{key:"paramToString",value:function paramToString(param){if(!param){return'';}if(param instanceof Date){return param.toJSON();}if(param instanceof Boolean){return param.toString().toLowerCase();}return param.toString();}/**
6798
+ */},{key:"paramToString",value:function paramToString(param){if(this.useLegacyParameterFilter!==true){if(param!==null&&param!==undefined){if(typeof param==="boolean"){return param.toString().toLowerCase();}else if(param instanceof Boolean){return param.toString().toLowerCase();}else if(typeof param==="number"){return param.toString();}}}if(!param){return'';}if(param instanceof Date){return param.toJSON();}if(param instanceof Boolean){return param.toString().toLowerCase();}return param.toString();}/**
6738
6799
  * Returns query parameters serialized in the format needed for an axios request.
6739
6800
  * @param param The unserialized query parameters.
6740
6801
  * @returns {Object} The serialized representation the query parameters.
@@ -6785,12 +6846,12 @@ if(typeof File==='function'&&param instanceof File){return true;}return false;}/
6785
6846
  * @param {module:purecloud-platform-client-v2/ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.
6786
6847
  * @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns
6787
6848
  * <code>param</code> as is if <code>collectionFormat</code> is <code>multi</code>.
6788
- */},{key:"buildCollectionParam",value:function buildCollectionParam(param,collectionFormat){if(!param)return;if(!Array.isArray(param)){param=[param];}switch(collectionFormat){case'csv':return param.map(this.paramToString).join(',');case'ssv':return param.map(this.paramToString).join(' ');case'tsv':return param.map(this.paramToString).join('\t');case'pipes':return param.map(this.paramToString).join('|');case'multi':// return the array directly as axios will handle it as expected
6789
- return param.map(this.paramToString);default:throw new Error("Unknown collection format: ".concat(collectionFormat));}}/**
6849
+ */},{key:"buildCollectionParam",value:function buildCollectionParam(param,collectionFormat){var _this13=this;if(!param)return;if(!Array.isArray(param)){param=[param];}switch(collectionFormat){case'csv':return param.map(function(x){return _this13.paramToString(x);}).join(',');case'ssv':return param.map(function(x){return _this13.paramToString(x);}).join(' ');case'tsv':return param.map(function(x){return _this13.paramToString(x);}).join('\t');case'pipes':return param.map(function(x){return _this13.paramToString(x);}).join('|');case'multi':// return the array directly as axios will handle it as expected
6850
+ return param.map(function(x){return _this13.paramToString(x);});default:throw new Error("Unknown collection format: ".concat(collectionFormat));}}/**
6790
6851
  * Applies authentication headers to the request.
6791
6852
  * @param {Object} request The axios request config object.
6792
6853
  * @param {Array.<String>} authNames An array of authentication method names.
6793
- */},{key:"applyAuthToRequest",value:function applyAuthToRequest(request,authNames){var _this13=this;authNames.forEach(function(authName){var auth=_this13.authentications[authName];switch(auth.type){case'basic':if(auth.username||auth.password){request.auth={username:auth.username||'',password:auth.password||''};}break;case'apiKey':if(auth.apiKey){var data={};if(auth.apiKeyPrefix){data[auth.name]="".concat(auth.apiKeyPrefix," ").concat(auth.apiKey);}else{data[auth.name]=auth.apiKey;}if(auth['in']==='header'){request.headers=_this13.addHeaders(request.headers,data);}else{request.setParams(_this13.serialize(data));}}break;case'oauth2':if(auth.accessToken){request.headers=_this13.addHeaders(request.headers,{'Authorization':"Bearer ".concat(auth.accessToken)});}break;default:throw new Error("Unknown authentication type: ".concat(auth.type));}});}/**
6854
+ */},{key:"applyAuthToRequest",value:function applyAuthToRequest(request,authNames){var _this14=this;authNames.forEach(function(authName){var auth=_this14.authentications[authName];switch(auth.type){case'basic':if(auth.username||auth.password){request.auth={username:auth.username||'',password:auth.password||''};}break;case'apiKey':if(auth.apiKey){var data={};if(auth.apiKeyPrefix){data[auth.name]="".concat(auth.apiKeyPrefix," ").concat(auth.apiKey);}else{data[auth.name]=auth.apiKey;}if(auth['in']==='header'){request.headers=_this14.addHeaders(request.headers,data);}else{request.setParams(_this14.serialize(data));}}break;case'oauth2':if(auth.accessToken){request.headers=_this14.addHeaders(request.headers,{'Authorization':"Bearer ".concat(auth.accessToken)});}break;default:throw new Error("Unknown authentication type: ".concat(auth.type));}});}/**
6794
6855
  * @description Sets the proxy agent axios will use for requests
6795
6856
  * @param {any} agent - The proxy agent
6796
6857
  */},{key:"setProxyAgent",value:function setProxyAgent(agent){this.proxyAgent=agent;var httpClient=this.getHttpClient();httpClient.setHttpsAgent(this.proxyAgent);}/**
@@ -6807,7 +6868,7 @@ return param.map(this.paramToString);default:throw new Error("Unknown collection
6807
6868
  * @param {Array.<String>} accepts An array of acceptable response MIME types.types or the
6808
6869
  * constructor for a complex type.
6809
6870
  * @returns {Promise} A Promise object.
6810
- */},{key:"callApi",value:function callApi(path,httpMethod,pathParams,queryParams,headerParams,formParams,bodyParam,authNames,contentTypes,accepts){var _this14=this;return new Promise(function(resolve,reject){sendRequest(_this14);function sendRequest(that){var url=that.buildUrl(path,pathParams);var request=new HttpRequestOptions(url,httpMethod,null,that.serialize(queryParams),null,that.timeout);// apply authentications
6871
+ */},{key:"callApi",value:function callApi(path,httpMethod,pathParams,queryParams,headerParams,formParams,bodyParam,authNames,contentTypes,accepts){var _this15=this;return new Promise(function(resolve,reject){sendRequest(_this15);function sendRequest(that){var url=that.buildUrl(path,pathParams);var request=new HttpRequestOptions(url,httpMethod,null,that.serialize(queryParams),null,that.timeout);// apply authentications
6811
6872
  that.applyAuthToRequest(request,authNames);// set header parameters
6812
6873
  var defaultHeaders=that.defaultHeaders;var normalizedHeaderParams=that.normalizeParams(headerParams);request.headers=that.addHeaders(request.headers,defaultHeaders,normalizedHeaderParams);var contentType=that.jsonPreferredMime(contentTypes);if(contentType){request.headers['Content-Type']=contentType;}else if(!request.headers['Content-Type']){request.headers['Content-Type']='application/json';}if(contentType==='application/x-www-form-urlencoded'){request.setData(that.normalizeParams(formParams));}else if(contentType=='multipart/form-data'){var _formParams=that.normalizeParams(formParams);for(var key in _formParams){if(_formParams.hasOwnProperty(key)){// Looks like axios handles files and forms the same way
6813
6874
  var formData=new FormData();formData.set(key,_formParams[key]);request.setData(formData);}}}else if(bodyParam){request.setData(bodyParam);}var accept=that.jsonPreferredMime(accepts);if(accept){request.headers['Accept']=accept;}var httpClient=that.getHttpClient();httpClient.request(request).then(function(response){// Build response object
@@ -6817,7 +6878,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
6817
6878
  that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AIStudioApi=/*#__PURE__*/function(){/**
6818
6879
  * AIStudio service.
6819
6880
  * @module purecloud-platform-client-v2/api/AIStudioApi
6820
- * @version 230.0.0
6881
+ * @version 232.0.0
6821
6882
  *//**
6822
6883
  * Constructs a new AIStudioApi.
6823
6884
  * @alias module:purecloud-platform-client-v2/api/AIStudioApi
@@ -6825,12 +6886,32 @@ that.config.logger.log('error',error.response.status,httpMethod,url,request.head
6825
6886
  * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
6826
6887
  * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
6827
6888
  */function AIStudioApi(apiClient){_classCallCheck(this,AIStudioApi);this.apiClient=apiClient||ApiClient.instance;}/**
6889
+ * Delete a summary setting.
6890
+ *
6891
+ * @param {String} summarySettingId Summary setting id
6892
+ */return _createClass(AIStudioApi,[{key:"deleteConversationsSummariesSetting",value:function deleteConversationsSummariesSetting(summarySettingId){// verify the required parameter 'summarySettingId' is set
6893
+ if(summarySettingId===undefined||summarySettingId===null||summarySettingId===''){throw'Missing the required parameter "summarySettingId" when calling deleteConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','DELETE',{'summarySettingId':summarySettingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6828
6894
  * Start the deletion of a guide.
6829
6895
  *
6830
6896
  * @param {String} guideId Guide ID
6831
6897
  * deleteGuideJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6832
- */return _createClass(AIStudioApi,[{key:"deleteGuideJobs",value:function deleteGuideJobs(guideId){// verify the required parameter 'guideId' is set
6898
+ */},{key:"deleteGuideJobs",value:function deleteGuideJobs(guideId){// verify the required parameter 'guideId' is set
6833
6899
  if(guideId===undefined||guideId===null||guideId===''){throw'Missing the required parameter "guideId" when calling deleteGuideJobs';}return this.apiClient.callApi('/api/v2/guides/{guideId}/jobs','DELETE',{'guideId':guideId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6900
+ * Receive a summary setting.
6901
+ *
6902
+ * @param {String} summarySettingId Summary setting id
6903
+ */},{key:"getConversationsSummariesSetting",value:function getConversationsSummariesSetting(summarySettingId){// verify the required parameter 'summarySettingId' is set
6904
+ if(summarySettingId===undefined||summarySettingId===null||summarySettingId===''){throw'Missing the required parameter "summarySettingId" when calling getConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','GET',{'summarySettingId':summarySettingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6905
+ * Get all summary settings.
6906
+ *
6907
+ * @param {Object} opts Optional parameters
6908
+ * @param {String} opts.language Filter by matching language - case insensitive.
6909
+ * @param {String} opts.name Filter by partially matching name - case insensitive.
6910
+ * @param {Object} opts.sortBy Sort by. Default value dateModified. (default to dateModified)
6911
+ * @param {Object} opts.sortOrder Sort Order. Default value desc. (default to desc)
6912
+ * @param {Number} opts.pageNumber Page number. (default to 1)
6913
+ * @param {Number} opts.pageSize Page size. The maximum page size is 100. (default to 25)
6914
+ */},{key:"getConversationsSummariesSettings",value:function getConversationsSummariesSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/summaries/settings','GET',{},{'language':opts['language'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6834
6915
  * Get guide.
6835
6916
  *
6836
6917
  * @param {String} guideId Guide ID
@@ -6899,6 +6980,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6899
6980
  if(guideId===undefined||guideId===null||guideId===''){throw'Missing the required parameter "guideId" when calling patchGuideVersion';}// verify the required parameter 'versionId' is set
6900
6981
  if(versionId===undefined||versionId===null||versionId===''){throw'Missing the required parameter "versionId" when calling patchGuideVersion';}// verify the required parameter 'body' is set
6901
6982
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchGuideVersion';}return this.apiClient.callApi('/api/v2/guides/{guideId}/versions/{versionId}','PATCH',{'guideId':guideId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6983
+ * Trigger summary preview event generation.
6984
+ *
6985
+ * @param {Object} body
6986
+ */},{key:"postConversationsSummariesPreview",value:function postConversationsSummariesPreview(body){// verify the required parameter 'body' is set
6987
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsSummariesPreview';}return this.apiClient.callApi('/api/v2/conversations/summaries/preview','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6988
+ * Create a summary setting.
6989
+ *
6990
+ * @param {Object} body
6991
+ */},{key:"postConversationsSummariesSettings",value:function postConversationsSummariesSettings(body){// verify the required parameter 'body' is set
6992
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsSummariesSettings';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
6902
6993
  * Start the publishing of a guide version.
6903
6994
  *
6904
6995
  * @param {String} guideId Guide ID
@@ -6928,10 +7019,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
6928
7019
  * @param {Object} body
6929
7020
  * postGuidesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6930
7021
  */},{key:"postGuidesJobs",value:function postGuidesJobs(body){// verify the required parameter 'body' is set
6931
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGuidesJobs';}return this.apiClient.callApi('/api/v2/guides/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
7022
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGuidesJobs';}return this.apiClient.callApi('/api/v2/guides/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7023
+ * Update a summary setting.
7024
+ *
7025
+ * @param {String} summarySettingId Summary setting id
7026
+ * @param {Object} body
7027
+ */},{key:"putConversationsSummariesSetting",value:function putConversationsSummariesSetting(summarySettingId,body){// verify the required parameter 'summarySettingId' is set
7028
+ if(summarySettingId===undefined||summarySettingId===null||summarySettingId===''){throw'Missing the required parameter "summarySettingId" when calling putConversationsSummariesSetting';}// verify the required parameter 'body' is set
7029
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsSummariesSetting';}return this.apiClient.callApi('/api/v2/conversations/summaries/settings/{summarySettingId}','PUT',{'summarySettingId':summarySettingId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentAssistantsApi=/*#__PURE__*/function(){/**
6932
7030
  * AgentAssistants service.
6933
7031
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
6934
- * @version 230.0.0
7032
+ * @version 232.0.0
6935
7033
  *//**
6936
7034
  * Constructs a new AgentAssistantsApi.
6937
7035
  * @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
@@ -7062,7 +7160,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
7062
7160
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantQueue';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/queues/{queueId}','PUT',{'assistantId':assistantId,'queueId':queueId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentCopilotApi=/*#__PURE__*/function(){/**
7063
7161
  * AgentCopilot service.
7064
7162
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
7065
- * @version 230.0.0
7163
+ * @version 232.0.0
7066
7164
  *//**
7067
7165
  * Constructs a new AgentCopilotApi.
7068
7166
  * @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
@@ -7075,6 +7173,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7075
7173
  * @param {String} assistantId Assistant ID
7076
7174
  */return _createClass(AgentCopilotApi,[{key:"getAssistantCopilot",value:function getAssistantCopilot(assistantId){// verify the required parameter 'assistantId' is set
7077
7175
  if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing the required parameter "assistantId" when calling getAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','GET',{'assistantId':assistantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7176
+ * Get information about the support of features for all the languages or only for a certain language.
7177
+ *
7178
+ * @param {Object} opts Optional parameters
7179
+ * @param {String} opts.language Which language are the features supported for
7180
+ */},{key:"getAssistantsCopilotFeaturesupport",value:function getAssistantsCopilotFeaturesupport(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/assistants/copilot/featuresupport','GET',{},{'language':opts['language']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7078
7181
  * Update agent copilot configuration
7079
7182
  *
7080
7183
  * @param {String} assistantId Assistant ID
@@ -7084,7 +7187,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
7084
7187
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAssistantCopilot';}return this.apiClient.callApi('/api/v2/assistants/{assistantId}/copilot','PUT',{'assistantId':assistantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
7085
7188
  * AgentUI service.
7086
7189
  * @module purecloud-platform-client-v2/api/AgentUIApi
7087
- * @version 230.0.0
7190
+ * @version 232.0.0
7088
7191
  *//**
7089
7192
  * Constructs a new AgentUIApi.
7090
7193
  * @alias module:purecloud-platform-client-v2/api/AgentUIApi
@@ -7118,7 +7221,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
7118
7221
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
7119
7222
  * Alerting service.
7120
7223
  * @module purecloud-platform-client-v2/api/AlertingApi
7121
- * @version 230.0.0
7224
+ * @version 232.0.0
7122
7225
  *//**
7123
7226
  * Constructs a new AlertingApi.
7124
7227
  * @alias module:purecloud-platform-client-v2/api/AlertingApi
@@ -7207,7 +7310,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
7207
7310
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
7208
7311
  * Analytics service.
7209
7312
  * @module purecloud-platform-client-v2/api/AnalyticsApi
7210
- * @version 230.0.0
7313
+ * @version 232.0.0
7211
7314
  *//**
7212
7315
  * Constructs a new AnalyticsApi.
7213
7316
  * @alias module:purecloud-platform-client-v2/api/AnalyticsApi
@@ -7440,6 +7543,23 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
7440
7543
  * Lookup the datalake availability date and time
7441
7544
  *
7442
7545
  */},{key:"getAnalyticsConversationsDetailsJobsAvailability",value:function getAnalyticsConversationsDetailsJobsAvailability(){return this.apiClient.callApi('/api/v2/analytics/conversations/details/jobs/availability','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7546
+ * Get analytics data warehouse file download
7547
+ *
7548
+ * @param {String} downloadId Unique file Id to download
7549
+ * getAnalyticsDataextractionDownload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7550
+ */},{key:"getAnalyticsDataextractionDownload",value:function getAnalyticsDataextractionDownload(downloadId){// verify the required parameter 'downloadId' is set
7551
+ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getAnalyticsDataextractionDownload';}return this.apiClient.callApi('/api/v2/analytics/dataextraction/downloads/{downloadId}','GET',{'downloadId':downloadId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7552
+ * Get metadata on files available for extraction
7553
+ *
7554
+ * @param {Object} opts Optional parameters
7555
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
7556
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
7557
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
7558
+ * @param {String} opts.dataSchema Data schema like conversations
7559
+ * @param {Date} opts.dateStart Start DateTime filter. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
7560
+ * @param {Date} opts.dateEnd End DateTime filter. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
7561
+ * getAnalyticsDataextractionDownloadsMetadata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7562
+ */},{key:"getAnalyticsDataextractionDownloadsMetadata",value:function getAnalyticsDataextractionDownloadsMetadata(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/analytics/dataextraction/downloads/metadata','GET',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'dataSchema':opts['dataSchema'],'dateStart':opts['dateStart'],'dateEnd':opts['dateEnd']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7443
7563
  * Get analytics data retention setting
7444
7564
  *
7445
7565
  */},{key:"getAnalyticsDataretentionSettings",value:function getAnalyticsDataretentionSettings(){return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -7750,6 +7870,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7750
7870
  * @param {Object} body query
7751
7871
  */},{key:"postAnalyticsConversationsDetailsQuery",value:function postAnalyticsConversationsDetailsQuery(body){// verify the required parameter 'body' is set
7752
7872
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsConversationsDetailsQuery';}return this.apiClient.callApi('/api/v2/analytics/conversations/details/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7873
+ * Get download URLs for analytics data warehouse files
7874
+ *
7875
+ * @param {Object} body request
7876
+ * postAnalyticsDataextractionDownloadsBulk is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7877
+ */},{key:"postAnalyticsDataextractionDownloadsBulk",value:function postAnalyticsDataextractionDownloadsBulk(body){// verify the required parameter 'body' is set
7878
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsDataextractionDownloadsBulk';}return this.apiClient.callApi('/api/v2/analytics/dataextraction/downloads/bulk','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
7753
7879
  * Query for evaluation aggregates asynchronously
7754
7880
  *
7755
7881
  * @param {Object} body query
@@ -7960,7 +8086,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
7960
8086
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
7961
8087
  * Architect service.
7962
8088
  * @module purecloud-platform-client-v2/api/ArchitectApi
7963
- * @version 230.0.0
8089
+ * @version 232.0.0
7964
8090
  *//**
7965
8091
  * Constructs a new ArchitectApi.
7966
8092
  * @alias module:purecloud-platform-client-v2/api/ArchitectApi
@@ -9094,7 +9220,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
9094
9220
  if(flowOutcomeId===undefined||flowOutcomeId===null||flowOutcomeId===''){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
9095
9221
  * Audit service.
9096
9222
  * @module purecloud-platform-client-v2/api/AuditApi
9097
- * @version 230.0.0
9223
+ * @version 232.0.0
9098
9224
  *//**
9099
9225
  * Constructs a new AuditApi.
9100
9226
  * @alias module:purecloud-platform-client-v2/api/AuditApi
@@ -9144,7 +9270,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
9144
9270
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
9145
9271
  * Authorization service.
9146
9272
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9147
- * @version 230.0.0
9273
+ * @version 232.0.0
9148
9274
  *//**
9149
9275
  * Constructs a new AuthorizationApi.
9150
9276
  * @alias module:purecloud-platform-client-v2/api/AuthorizationApi
@@ -9579,7 +9705,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
9579
9705
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
9580
9706
  * Billing service.
9581
9707
  * @module purecloud-platform-client-v2/api/BillingApi
9582
- * @version 230.0.0
9708
+ * @version 232.0.0
9583
9709
  *//**
9584
9710
  * Constructs a new BillingApi.
9585
9711
  * @alias module:purecloud-platform-client-v2/api/BillingApi
@@ -9656,7 +9782,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
9656
9782
  if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BusinessRulesApi=/*#__PURE__*/function(){/**
9657
9783
  * BusinessRules service.
9658
9784
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
9659
- * @version 230.0.0
9785
+ * @version 232.0.0
9660
9786
  *//**
9661
9787
  * Constructs a new BusinessRulesApi.
9662
9788
  * @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
@@ -9906,7 +10032,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
9906
10032
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
9907
10033
  * CarrierServices service.
9908
10034
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
9909
- * @version 230.0.0
10035
+ * @version 232.0.0
9910
10036
  *//**
9911
10037
  * Constructs a new CarrierServicesApi.
9912
10038
  * @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
@@ -9926,7 +10052,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
9926
10052
  */},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
9927
10053
  * Chat service.
9928
10054
  * @module purecloud-platform-client-v2/api/ChatApi
9929
- * @version 230.0.0
10055
+ * @version 232.0.0
9930
10056
  *//**
9931
10057
  * Constructs a new ChatApi.
9932
10058
  * @alias module:purecloud-platform-client-v2/api/ChatApi
@@ -10157,7 +10283,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10157
10283
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
10158
10284
  * Coaching service.
10159
10285
  * @module purecloud-platform-client-v2/api/CoachingApi
10160
- * @version 230.0.0
10286
+ * @version 232.0.0
10161
10287
  *//**
10162
10288
  * Constructs a new CoachingApi.
10163
10289
  * @alias module:purecloud-platform-client-v2/api/CoachingApi
@@ -10310,7 +10436,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
10310
10436
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
10311
10437
  * ContentManagement service.
10312
10438
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10313
- * @version 230.0.0
10439
+ * @version 232.0.0
10314
10440
  *//**
10315
10441
  * Constructs a new ContentManagementApi.
10316
10442
  * @alias module:purecloud-platform-client-v2/api/ContentManagementApi
@@ -10592,7 +10718,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
10592
10718
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
10593
10719
  * Conversations service.
10594
10720
  * @module purecloud-platform-client-v2/api/ConversationsApi
10595
- * @version 230.0.0
10721
+ * @version 232.0.0
10596
10722
  *//**
10597
10723
  * Constructs a new ConversationsApi.
10598
10724
  * @alias module:purecloud-platform-client-v2/api/ConversationsApi
@@ -10651,6 +10777,11 @@ if(attachmentId===undefined||attachmentId===null||attachmentId===''){throw'Missi
10651
10777
  * @param {String} cachedMediaItemId cachedMediaItemId
10652
10778
  */},{key:"deleteConversationsMessagesCachedmediaCachedMediaItemId",value:function deleteConversationsMessagesCachedmediaCachedMediaItemId(cachedMediaItemId){// verify the required parameter 'cachedMediaItemId' is set
10653
10779
  if(cachedMediaItemId===undefined||cachedMediaItemId===null||cachedMediaItemId===''){throw'Missing the required parameter "cachedMediaItemId" when calling deleteConversationsMessagesCachedmediaCachedMediaItemId';}return this.apiClient.callApi('/api/v2/conversations/messages/cachedmedia/{cachedMediaItemId}','DELETE',{'cachedMediaItemId':cachedMediaItemId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10780
+ * Delete an Apple messaging integration
10781
+ *
10782
+ * @param {String} integrationId Integration ID
10783
+ */},{key:"deleteConversationsMessagingIntegrationsAppleIntegrationId",value:function deleteConversationsMessagingIntegrationsAppleIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
10784
+ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsAppleIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/apple/{integrationId}','DELETE',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
10654
10785
  * Delete a Facebook messaging integration
10655
10786
  *
10656
10787
  * @param {String} integrationId Integration ID
@@ -11154,7 +11285,6 @@ if(cachedMediaItemId===undefined||cachedMediaItemId===null||cachedMediaItemId===
11154
11285
  * Get Apple messaging integration identity resolution settings
11155
11286
  *
11156
11287
  * @param {String} integrationId Integration ID
11157
- * getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11158
11288
  */},{key:"getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
11159
11289
  if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}','GET',{'integrationId':integrationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11160
11290
  * Get Facebook messaging integration identity resolution settings
@@ -11196,6 +11326,22 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
11196
11326
  * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
11197
11327
  * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
11198
11328
  */},{key:"getConversationsMessagingIntegrations",value:function getConversationsMessagingIntegrations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11329
+ * Get a list of Apple Integrations
11330
+ *
11331
+ * @param {Object} opts Optional parameters
11332
+ * @param {Number} opts.pageSize Page size (default to 25)
11333
+ * @param {Number} opts.pageNumber Page number (default to 1)
11334
+ * @param {Object} opts.expand Expand instructions for the return value.
11335
+ * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
11336
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
11337
+ */},{key:"getConversationsMessagingIntegrationsApple",value:function getConversationsMessagingIntegrationsApple(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/apple','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':opts['expand'],'supportedContent.id':opts['supportedContentId'],'messagingSetting.id':opts['messagingSettingId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11338
+ * Get an Apple messaging integration
11339
+ *
11340
+ * @param {String} integrationId Integration ID
11341
+ * @param {Object} opts Optional parameters
11342
+ * @param {Object} opts.expand Expand instructions for the return value.
11343
+ */},{key:"getConversationsMessagingIntegrationsAppleIntegrationId",value:function getConversationsMessagingIntegrationsAppleIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
11344
+ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsAppleIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/apple/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11199
11345
  * Get a list of Facebook Integrations
11200
11346
  *
11201
11347
  * @param {Object} opts Optional parameters
@@ -11279,6 +11425,15 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
11279
11425
  * @param {Object} opts.expand Expand instructions for the return value.
11280
11426
  */},{key:"getConversationsMessagingIntegrationsWhatsappIntegrationId",value:function getConversationsMessagingIntegrationsWhatsappIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
11281
11427
  if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsWhatsappIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/whatsapp/{integrationId}','GET',{'integrationId':integrationId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11428
+ * Call Authentication provider callback to validate state and code
11429
+ *
11430
+ * @param {String} code The authorization code to be sent to the authentication server during the token request.
11431
+ * @param {String} state The state/nonce value generated by Genesys Auth-Client Service.
11432
+ * @param {Object} opts Optional parameters
11433
+ * @param {String} opts.error Error parameter from OAuth provider
11434
+ */},{key:"getConversationsMessagingOauthAppleCallback",value:function getConversationsMessagingOauthAppleCallback(code,state,opts){opts=opts||{};// verify the required parameter 'code' is set
11435
+ if(code===undefined||code===null){throw'Missing the required parameter "code" when calling getConversationsMessagingOauthAppleCallback';}// verify the required parameter 'state' is set
11436
+ if(state===undefined||state===null){throw'Missing the required parameter "state" when calling getConversationsMessagingOauthAppleCallback';}return this.apiClient.callApi('/api/v2/conversations/messaging/oauth/apple/callback','GET',{},{'code':code,'state':state,'error':opts['error']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11282
11437
  * Get a messaging setting
11283
11438
  *
11284
11439
  * @param {String} messageSettingId Message Setting ID
@@ -11690,6 +11845,13 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
11690
11845
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling patchConversationsMessageParticipantCommunication';}// verify the required parameter 'communicationId' is set
11691
11846
  if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling patchConversationsMessageParticipantCommunication';}// verify the required parameter 'body' is set
11692
11847
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessageParticipantCommunication';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}','PATCH',{'conversationId':conversationId,'participantId':participantId,'communicationId':communicationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11848
+ * Update an Apple messaging integration
11849
+ *
11850
+ * @param {String} integrationId Integration ID
11851
+ * @param {Object} body AppleIntegrationUpdateRequest
11852
+ */},{key:"patchConversationsMessagingIntegrationsAppleIntegrationId",value:function patchConversationsMessagingIntegrationsAppleIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
11853
+ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';}// verify the required parameter 'body' is set
11854
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsAppleIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/apple/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
11693
11855
  * Update Facebook messaging integration
11694
11856
  *
11695
11857
  * @param {String} integrationId Integration ID
@@ -12049,6 +12211,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12049
12211
  */},{key:"postConversationsCallParticipants",value:function postConversationsCallParticipants(conversationId,body){// verify the required parameter 'conversationId' is set
12050
12212
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipants';}// verify the required parameter 'body' is set
12051
12213
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipants';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants','POST',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12214
+ * Add participants to a conversation on behalf of a user
12215
+ *
12216
+ * @param {String} conversationId conversationId
12217
+ * @param {String} userId userId
12218
+ * @param {Object} body Conversation
12219
+ */},{key:"postConversationsCallParticipantsUserUserId",value:function postConversationsCallParticipantsUserUserId(conversationId,userId,body){// verify the required parameter 'conversationId' is set
12220
+ if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantsUserUserId';}// verify the required parameter 'userId' is set
12221
+ if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postConversationsCallParticipantsUserUserId';}// verify the required parameter 'body' is set
12222
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallParticipantsUserUserId';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/user/{userId}','POST',{'conversationId':conversationId,'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12052
12223
  * Apply wrap-up for this conversation communication
12053
12224
  *
12054
12225
  * @param {String} conversationId conversationId
@@ -12089,6 +12260,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12089
12260
  * @param {Object} body Call request
12090
12261
  */},{key:"postConversationsCalls",value:function postConversationsCalls(body){// verify the required parameter 'body' is set
12091
12262
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCalls';}return this.apiClient.callApi('/api/v2/conversations/calls','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12263
+ * Create a call conversation on behalf of a user
12264
+ *
12265
+ * @param {String} userId userId
12266
+ * @param {Object} body Call request
12267
+ */},{key:"postConversationsCallsUserUserId",value:function postConversationsCallsUserUserId(userId,body){// verify the required parameter 'userId' is set
12268
+ if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postConversationsCallsUserUserId';}// verify the required parameter 'body' is set
12269
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsCallsUserUserId';}return this.apiClient.callApi('/api/v2/conversations/calls/user/{userId}','POST',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12092
12270
  * Send a message on behalf of a communication in a chat conversation.
12093
12271
  * This endpoint is deprecated. Please see the article https://help.genesys.cloud/articles/deprecation-removal-of-acd-web-chat-version-2/.
12094
12272
  * @param {String} conversationId conversationId
@@ -12199,7 +12377,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
12199
12377
  if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling postConversationsEmailParticipantReplace';}// verify the required parameter 'body' is set
12200
12378
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsEmailParticipantReplace';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/participants/{participantId}/replace','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12201
12379
  * Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
12202
- *
12380
+ * This request is not valid when using the Client Credentials OAuth grant.
12203
12381
  * @param {String} conversationId conversationId
12204
12382
  */},{key:"postConversationsEmailReconnect",value:function postConversationsEmailReconnect(conversationId){// verify the required parameter 'conversationId' is set
12205
12383
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsEmailReconnect';}return this.apiClient.callApi('/api/v2/conversations/emails/{conversationId}/reconnect','POST',{'conversationId':conversationId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -12357,6 +12535,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12357
12535
  * @deprecated
12358
12536
  */},{key:"postConversationsMessagesInboundOpen",value:function postConversationsMessagesInboundOpen(body){// verify the required parameter 'body' is set
12359
12537
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagesInboundOpen';}return this.apiClient.callApi('/api/v2/conversations/messages/inbound/open','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12538
+ * Create Apple Integration
12539
+ *
12540
+ * @param {Object} body AppleIntegrationRequest
12541
+ */},{key:"postConversationsMessagingIntegrationsApple",value:function postConversationsMessagingIntegrationsApple(body){// verify the required parameter 'body' is set
12542
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsApple';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/apple','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
12360
12543
  * Create a Facebook Integration
12361
12544
  *
12362
12545
  * @param {Object} body FacebookIntegrationRequest
@@ -12545,7 +12728,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12545
12728
  *
12546
12729
  * @param {String} integrationId Integration ID
12547
12730
  * @param {Object} body IdentityResolutionConfig
12548
- * putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12549
12731
  */},{key:"putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId",value:function putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
12550
12732
  if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';}// verify the required parameter 'body' is set
12551
12733
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/identityresolution/integrations/apple/{integrationId}','PUT',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -12623,7 +12805,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
12623
12805
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
12624
12806
  * DataExtensions service.
12625
12807
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
12626
- * @version 230.0.0
12808
+ * @version 232.0.0
12627
12809
  *//**
12628
12810
  * Constructs a new DataExtensionsApi.
12629
12811
  * @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
@@ -12644,7 +12826,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
12644
12826
  */},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataPrivacyApi=/*#__PURE__*/function(){/**
12645
12827
  * DataPrivacy service.
12646
12828
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
12647
- * @version 230.0.0
12829
+ * @version 232.0.0
12648
12830
  *//**
12649
12831
  * Constructs a new DataPrivacyApi.
12650
12832
  * @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
@@ -12684,7 +12866,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12684
12866
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/validate','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
12685
12867
  * Downloads service.
12686
12868
  * @module purecloud-platform-client-v2/api/DownloadsApi
12687
- * @version 230.0.0
12869
+ * @version 232.0.0
12688
12870
  *//**
12689
12871
  * Constructs a new DownloadsApi.
12690
12872
  * @alias module:purecloud-platform-client-v2/api/DownloadsApi
@@ -12703,7 +12885,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12703
12885
  if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
12704
12886
  * Emails service.
12705
12887
  * @module purecloud-platform-client-v2/api/EmailsApi
12706
- * @version 230.0.0
12888
+ * @version 232.0.0
12707
12889
  *//**
12708
12890
  * Constructs a new EmailsApi.
12709
12891
  * @alias module:purecloud-platform-client-v2/api/EmailsApi
@@ -12732,7 +12914,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
12732
12914
  */},{key:"patchEmailsSettingsThreading",value:function patchEmailsSettingsThreading(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings/threading','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
12733
12915
  * EmployeeEngagement service.
12734
12916
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
12735
- * @version 230.0.0
12917
+ * @version 232.0.0
12736
12918
  *//**
12737
12919
  * Constructs a new EmployeeEngagementApi.
12738
12920
  * @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
@@ -12770,7 +12952,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12770
12952
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
12771
12953
  * Events service.
12772
12954
  * @module purecloud-platform-client-v2/api/EventsApi
12773
- * @version 230.0.0
12955
+ * @version 232.0.0
12774
12956
  *//**
12775
12957
  * Constructs a new EventsApi.
12776
12958
  * @alias module:purecloud-platform-client-v2/api/EventsApi
@@ -12795,7 +12977,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
12795
12977
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
12796
12978
  * ExternalContacts service.
12797
12979
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
12798
- * @version 230.0.0
12980
+ * @version 232.0.0
12799
12981
  *//**
12800
12982
  * Constructs a new ExternalContactsApi.
12801
12983
  * @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
@@ -13545,7 +13727,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
13545
13727
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
13546
13728
  * Fax service.
13547
13729
  * @module purecloud-platform-client-v2/api/FaxApi
13548
- * @version 230.0.0
13730
+ * @version 232.0.0
13549
13731
  *//**
13550
13732
  * Constructs a new FaxApi.
13551
13733
  * @alias module:purecloud-platform-client-v2/api/FaxApi
@@ -13594,7 +13776,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13594
13776
  */},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
13595
13777
  * Flows service.
13596
13778
  * @module purecloud-platform-client-v2/api/FlowsApi
13597
- * @version 230.0.0
13779
+ * @version 232.0.0
13598
13780
  *//**
13599
13781
  * Constructs a new FlowsApi.
13600
13782
  * @alias module:purecloud-platform-client-v2/api/FlowsApi
@@ -13648,7 +13830,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
13648
13830
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
13649
13831
  * Gamification service.
13650
13832
  * @module purecloud-platform-client-v2/api/GamificationApi
13651
- * @version 230.0.0
13833
+ * @version 232.0.0
13652
13834
  *//**
13653
13835
  * Constructs a new GamificationApi.
13654
13836
  * @alias module:purecloud-platform-client-v2/api/GamificationApi
@@ -14301,7 +14483,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14301
14483
  if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
14302
14484
  * GeneralDataProtectionRegulation service.
14303
14485
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
14304
- * @version 230.0.0
14486
+ * @version 232.0.0
14305
14487
  *//**
14306
14488
  * Constructs a new GeneralDataProtectionRegulationApi.
14307
14489
  * @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
@@ -14336,7 +14518,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
14336
14518
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
14337
14519
  * Geolocation service.
14338
14520
  * @module purecloud-platform-client-v2/api/GeolocationApi
14339
- * @version 230.0.0
14521
+ * @version 232.0.0
14340
14522
  *//**
14341
14523
  * Constructs a new GeolocationApi.
14342
14524
  * @alias module:purecloud-platform-client-v2/api/GeolocationApi
@@ -14370,7 +14552,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
14370
14552
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
14371
14553
  * Greetings service.
14372
14554
  * @module purecloud-platform-client-v2/api/GreetingsApi
14373
- * @version 230.0.0
14555
+ * @version 232.0.0
14374
14556
  *//**
14375
14557
  * Constructs a new GreetingsApi.
14376
14558
  * @alias module:purecloud-platform-client-v2/api/GreetingsApi
@@ -14498,7 +14680,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
14498
14680
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
14499
14681
  * Groups service.
14500
14682
  * @module purecloud-platform-client-v2/api/GroupsApi
14501
- * @version 230.0.0
14683
+ * @version 232.0.0
14502
14684
  *//**
14503
14685
  * Constructs a new GroupsApi.
14504
14686
  * @alias module:purecloud-platform-client-v2/api/GroupsApi
@@ -14631,7 +14813,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
14631
14813
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
14632
14814
  * IdentityProvider service.
14633
14815
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
14634
- * @version 230.0.0
14816
+ * @version 232.0.0
14635
14817
  *//**
14636
14818
  * Constructs a new IdentityProviderApi.
14637
14819
  * @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
@@ -14787,7 +14969,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
14787
14969
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
14788
14970
  * InfrastructureAsCode service.
14789
14971
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
14790
- * @version 230.0.0
14972
+ * @version 232.0.0
14791
14973
  *//**
14792
14974
  * Constructs a new InfrastructureAsCodeApi.
14793
14975
  * @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
@@ -14841,7 +15023,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
14841
15023
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
14842
15024
  * Integrations service.
14843
15025
  * @module purecloud-platform-client-v2/api/IntegrationsApi
14844
- * @version 230.0.0
15026
+ * @version 232.0.0
14845
15027
  *//**
14846
15028
  * Constructs a new IntegrationsApi.
14847
15029
  * @alias module:purecloud-platform-client-v2/api/IntegrationsApi
@@ -14895,7 +15077,10 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
14895
15077
  * @param {Array.<String>} opts.expand variable name requested by expand list
14896
15078
  * @param {String} opts.nextPage next page token
14897
15079
  * @param {String} opts.previousPage Previous page token
14898
- */},{key:"getIntegrations",value:function getIntegrations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15080
+ * @param {Array.<String>} opts.ids Comma-separated list of integration IDs to filter by (max 100)
15081
+ * @param {String} opts.integrationType Filter integrations by integration type ID
15082
+ * @param {Object} opts.reportedState Filter integrations by reported state (case-insensitive)
15083
+ */},{key:"getIntegrations",value:function getIntegrations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'integrationType':opts['integrationType'],'reportedState':opts['reportedState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
14899
15084
  * Retrieves a single Action matching id.
14900
15085
  *
14901
15086
  * @param {String} actionId actionId
@@ -15528,7 +15713,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
15528
15713
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
15529
15714
  * Journey service.
15530
15715
  * @module purecloud-platform-client-v2/api/JourneyApi
15531
- * @version 230.0.0
15716
+ * @version 232.0.0
15532
15717
  *//**
15533
15718
  * Constructs a new JourneyApi.
15534
15719
  * @alias module:purecloud-platform-client-v2/api/JourneyApi
@@ -15848,6 +16033,14 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
15848
16033
  * @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
15849
16034
  * @param {String} opts.statuses Job statuses to filter for
15850
16035
  */},{key:"getJourneyViewsJobs",value:function getJourneyViewsJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/jobs','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'interval':opts['interval'],'statuses':opts['statuses']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
16036
+ * Get my jobs
16037
+ *
16038
+ * @param {Object} opts Optional parameters
16039
+ * @param {Number} opts.pageNumber The number of the page to return (default to 1)
16040
+ * @param {Number} opts.pageSize Max number of entities to return (default to 25)
16041
+ * @param {String} opts.interval An absolute timeframe for filtering the jobs, expressed as an ISO 8601 interval.
16042
+ * @param {String} opts.statuses Job statuses to filter for
16043
+ */},{key:"getJourneyViewsJobsMe",value:function getJourneyViewsJobsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/jobs/me','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'interval':opts['interval'],'statuses':opts['statuses']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
15851
16044
  * Get the journey schedules for an organization.
15852
16045
  *
15853
16046
  * @param {Object} opts Optional parameters
@@ -16029,7 +16222,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
16029
16222
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','PUT',{'viewId':viewId,'versionId':versionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
16030
16223
  * Knowledge service.
16031
16224
  * @module purecloud-platform-client-v2/api/KnowledgeApi
16032
- * @version 230.0.0
16225
+ * @version 232.0.0
16033
16226
  *//**
16034
16227
  * Constructs a new KnowledgeApi.
16035
16228
  * @alias module:purecloud-platform-client-v2/api/KnowledgeApi
@@ -17099,7 +17292,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
17099
17292
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putKnowledgeKnowledgebaseSourcesServicenowSourceId';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/sources/servicenow/{sourceId}','PUT',{'knowledgeBaseId':knowledgeBaseId,'sourceId':sourceId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
17100
17293
  * LanguageUnderstanding service.
17101
17294
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
17102
- * @version 230.0.0
17295
+ * @version 232.0.0
17103
17296
  *//**
17104
17297
  * Constructs a new LanguageUnderstandingApi.
17105
17298
  * @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
@@ -17201,6 +17394,28 @@ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the requi
17201
17394
  * @param {Number} opts.pageNumber Page number (default to 1)
17202
17395
  * @param {Number} opts.pageSize Page size (default to 25)
17203
17396
  */},{key:"getLanguageunderstandingDomains",value:function getLanguageunderstandingDomains(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/languageunderstanding/domains','GET',{},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17397
+ * Get list of all ignored phrases of the specified language code
17398
+ *
17399
+ * @param {String} languageCode Language Code
17400
+ * @param {Object} opts Optional parameters
17401
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 200. (default to 25)
17402
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
17403
+ * @param {String} opts.text The phrase text filter applied to the listing
17404
+ * @param {Object} opts.sortOrder The sort order for the listing (default to desc)
17405
+ * @param {Object} opts.sortBy The field to sort by for the listing (default to dateModified)
17406
+ */},{key:"getLanguageunderstandingIgnorephrase",value:function getLanguageunderstandingIgnorephrase(languageCode,opts){opts=opts||{};// verify the required parameter 'languageCode' is set
17407
+ if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getLanguageunderstandingIgnorephrase';}return this.apiClient.callApi('/api/v2/languageunderstanding/ignorephrases/{languageCode}','GET',{'languageCode':languageCode},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'text':opts['text'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17408
+ * Get list of all ignored topics of the specified language code
17409
+ *
17410
+ * @param {String} languageCode Language Code
17411
+ * @param {Object} opts Optional parameters
17412
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 200. (default to 25)
17413
+ * @param {Number} opts.pageNumber The page number for the listing (default to 1)
17414
+ * @param {String} opts.text The topic text filter applied to the listing
17415
+ * @param {Object} opts.sortOrder The sort order for the listing (default to desc)
17416
+ * @param {Object} opts.sortBy The field to sort by for the listing (default to dateModified)
17417
+ */},{key:"getLanguageunderstandingIgnoretopic",value:function getLanguageunderstandingIgnoretopic(languageCode,opts){opts=opts||{};// verify the required parameter 'languageCode' is set
17418
+ if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getLanguageunderstandingIgnoretopic';}return this.apiClient.callApi('/api/v2/languageunderstanding/ignoretopics/{languageCode}','GET',{'languageCode':languageCode},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'text':opts['text'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17204
17419
  * Get information about a miner.
17205
17420
  *
17206
17421
  * @param {String} minerId Miner ID
@@ -17328,6 +17543,34 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17328
17543
  * @param {Object} body The NLU Domain to create.
17329
17544
  */},{key:"postLanguageunderstandingDomains",value:function postLanguageunderstandingDomains(body){// verify the required parameter 'body' is set
17330
17545
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguageunderstandingDomains';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17546
+ * Add phrases to the ignored phrases list
17547
+ *
17548
+ * @param {String} languageCode Language Code
17549
+ * @param {Object} body Request body containing phrases to be ignored
17550
+ */},{key:"postLanguageunderstandingIgnorephrase",value:function postLanguageunderstandingIgnorephrase(languageCode,body){// verify the required parameter 'languageCode' is set
17551
+ if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnorephrase';}// verify the required parameter 'body' is set
17552
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguageunderstandingIgnorephrase';}return this.apiClient.callApi('/api/v2/languageunderstanding/ignorephrases/{languageCode}','POST',{'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17553
+ * Delete ignored phrases
17554
+ *
17555
+ * @param {String} languageCode Language Code
17556
+ * @param {Object} body Request body containing entities to be removed
17557
+ */},{key:"postLanguageunderstandingIgnorephraseRemove",value:function postLanguageunderstandingIgnorephraseRemove(languageCode,body){// verify the required parameter 'languageCode' is set
17558
+ if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnorephraseRemove';}// verify the required parameter 'body' is set
17559
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguageunderstandingIgnorephraseRemove';}return this.apiClient.callApi('/api/v2/languageunderstanding/ignorephrases/{languageCode}/remove','POST',{'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17560
+ * Add topics to the ignored topics list
17561
+ *
17562
+ * @param {String} languageCode Language Code
17563
+ * @param {Object} body Request body containing topics to be ignored
17564
+ */},{key:"postLanguageunderstandingIgnoretopic",value:function postLanguageunderstandingIgnoretopic(languageCode,body){// verify the required parameter 'languageCode' is set
17565
+ if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnoretopic';}// verify the required parameter 'body' is set
17566
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguageunderstandingIgnoretopic';}return this.apiClient.callApi('/api/v2/languageunderstanding/ignoretopics/{languageCode}','POST',{'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17567
+ * Delete ignored topics
17568
+ *
17569
+ * @param {String} languageCode Language Code
17570
+ * @param {Object} body Request body containing entities to be removed
17571
+ */},{key:"postLanguageunderstandingIgnoretopicRemove",value:function postLanguageunderstandingIgnoretopicRemove(languageCode,body){// verify the required parameter 'languageCode' is set
17572
+ if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnoretopicRemove';}// verify the required parameter 'body' is set
17573
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguageunderstandingIgnoretopicRemove';}return this.apiClient.callApi('/api/v2/languageunderstanding/ignoretopics/{languageCode}/remove','POST',{'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
17331
17574
  * Create a new draft resource.
17332
17575
  *
17333
17576
  * @param {String} minerId Miner ID
@@ -17358,7 +17601,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
17358
17601
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
17359
17602
  * Languages service.
17360
17603
  * @module purecloud-platform-client-v2/api/LanguagesApi
17361
- * @version 230.0.0
17604
+ * @version 232.0.0
17362
17605
  *//**
17363
17606
  * Constructs a new LanguagesApi.
17364
17607
  * @alias module:purecloud-platform-client-v2/api/LanguagesApi
@@ -17413,7 +17656,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17413
17656
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
17414
17657
  * Learning service.
17415
17658
  * @module purecloud-platform-client-v2/api/LearningApi
17416
- * @version 230.0.0
17659
+ * @version 232.0.0
17417
17660
  *//**
17418
17661
  * Constructs a new LearningApi.
17419
17662
  * @alias module:purecloud-platform-client-v2/api/LearningApi
@@ -17679,12 +17922,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17679
17922
  * This will update a learning module rule with the specified fields.
17680
17923
  * @param {String} moduleId The ID of the learning module
17681
17924
  * @param {Object} body The learning module rule to be updated
17682
- */},{key:"putLearningModuleRule",value:function putLearningModuleRule(moduleId,body){// verify the required parameter 'moduleId' is set
17925
+ * @param {Object} opts Optional parameters
17926
+ * @param {Boolean} opts.assign Whether to assign the module to users or not (default to true)
17927
+ */},{key:"putLearningModuleRule",value:function putLearningModuleRule(moduleId,body,opts){opts=opts||{};// verify the required parameter 'moduleId' is set
17683
17928
  if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the required parameter "moduleId" when calling putLearningModuleRule';}// verify the required parameter 'body' is set
17684
- if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
17929
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{'assign':opts['assign']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
17685
17930
  * License service.
17686
17931
  * @module purecloud-platform-client-v2/api/LicenseApi
17687
- * @version 230.0.0
17932
+ * @version 232.0.0
17688
17933
  *//**
17689
17934
  * Constructs a new LicenseApi.
17690
17935
  * @alias module:purecloud-platform-client-v2/api/LicenseApi
@@ -17738,7 +17983,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
17738
17983
  */},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
17739
17984
  * Locations service.
17740
17985
  * @module purecloud-platform-client-v2/api/LocationsApi
17741
- * @version 230.0.0
17986
+ * @version 232.0.0
17742
17987
  *//**
17743
17988
  * Constructs a new LocationsApi.
17744
17989
  * @alias module:purecloud-platform-client-v2/api/LocationsApi
@@ -17797,7 +18042,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17797
18042
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
17798
18043
  * LogCapture service.
17799
18044
  * @module purecloud-platform-client-v2/api/LogCaptureApi
17800
- * @version 230.0.0
18045
+ * @version 232.0.0
17801
18046
  *//**
17802
18047
  * Constructs a new LogCaptureApi.
17803
18048
  * @alias module:purecloud-platform-client-v2/api/LogCaptureApi
@@ -17846,7 +18091,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
17846
18091
  if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
17847
18092
  * Messaging service.
17848
18093
  * @module purecloud-platform-client-v2/api/MessagingApi
17849
- * @version 230.0.0
18094
+ * @version 232.0.0
17850
18095
  *//**
17851
18096
  * Constructs a new MessagingApi.
17852
18097
  * @alias module:purecloud-platform-client-v2/api/MessagingApi
@@ -17936,7 +18181,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17936
18181
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
17937
18182
  * MobileDevices service.
17938
18183
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
17939
- * @version 230.0.0
18184
+ * @version 232.0.0
17940
18185
  *//**
17941
18186
  * Constructs a new MobileDevicesApi.
17942
18187
  * @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
@@ -17975,7 +18220,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
17975
18220
  if(deviceId===undefined||deviceId===null||deviceId===''){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
17976
18221
  * Notifications service.
17977
18222
  * @module purecloud-platform-client-v2/api/NotificationsApi
17978
- * @version 230.0.0
18223
+ * @version 232.0.0
17979
18224
  *//**
17980
18225
  * Constructs a new NotificationsApi.
17981
18226
  * @alias module:purecloud-platform-client-v2/api/NotificationsApi
@@ -18032,7 +18277,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
18032
18277
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
18033
18278
  * OAuth service.
18034
18279
  * @module purecloud-platform-client-v2/api/OAuthApi
18035
- * @version 230.0.0
18280
+ * @version 232.0.0
18036
18281
  *//**
18037
18282
  * Constructs a new OAuthApi.
18038
18283
  * @alias module:purecloud-platform-client-v2/api/OAuthApi
@@ -18117,7 +18362,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
18117
18362
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
18118
18363
  * Objects service.
18119
18364
  * @module purecloud-platform-client-v2/api/ObjectsApi
18120
- * @version 230.0.0
18365
+ * @version 232.0.0
18121
18366
  *//**
18122
18367
  * Constructs a new ObjectsApi.
18123
18368
  * @alias module:purecloud-platform-client-v2/api/ObjectsApi
@@ -18203,7 +18448,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
18203
18448
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
18204
18449
  * OperationalEvents service.
18205
18450
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
18206
- * @version 230.0.0
18451
+ * @version 232.0.0
18207
18452
  *//**
18208
18453
  * Constructs a new OperationalEventsApi.
18209
18454
  * @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
@@ -18234,7 +18479,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
18234
18479
  */},{key:"postUsageEventsQuery",value:function postUsageEventsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/usage/events/query','POST',{},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
18235
18480
  * Organization service.
18236
18481
  * @module purecloud-platform-client-v2/api/OrganizationApi
18237
- * @version 230.0.0
18482
+ * @version 232.0.0
18238
18483
  *//**
18239
18484
  * Constructs a new OrganizationApi.
18240
18485
  * @alias module:purecloud-platform-client-v2/api/OrganizationApi
@@ -18339,7 +18584,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
18339
18584
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
18340
18585
  * OrganizationAuthorization service.
18341
18586
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
18342
- * @version 230.0.0
18587
+ * @version 232.0.0
18343
18588
  *//**
18344
18589
  * Constructs a new OrganizationAuthorizationApi.
18345
18590
  * @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
@@ -18673,7 +18918,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
18673
18918
  if(trusteeUserId===undefined||trusteeUserId===null||trusteeUserId===''){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
18674
18919
  * Outbound service.
18675
18920
  * @module purecloud-platform-client-v2/api/OutboundApi
18676
- * @version 230.0.0
18921
+ * @version 232.0.0
18677
18922
  *//**
18678
18923
  * Constructs a new OutboundApi.
18679
18924
  * @alias module:purecloud-platform-client-v2/api/OutboundApi
@@ -19824,7 +20069,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19824
20069
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
19825
20070
  * Presence service.
19826
20071
  * @module purecloud-platform-client-v2/api/PresenceApi
19827
- * @version 230.0.0
20072
+ * @version 232.0.0
19828
20073
  *//**
19829
20074
  * Constructs a new PresenceApi.
19830
20075
  * @alias module:purecloud-platform-client-v2/api/PresenceApi
@@ -19997,7 +20242,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
19997
20242
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
19998
20243
  * ProcessAutomation service.
19999
20244
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
20000
- * @version 230.0.0
20245
+ * @version 232.0.0
20001
20246
  *//**
20002
20247
  * Constructs a new ProcessAutomationApi.
20003
20248
  * @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
@@ -20060,7 +20305,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
20060
20305
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
20061
20306
  * Quality service.
20062
20307
  * @module purecloud-platform-client-v2/api/QualityApi
20063
- * @version 230.0.0
20308
+ * @version 232.0.0
20064
20309
  *//**
20065
20310
  * Constructs a new QualityApi.
20066
20311
  * @alias module:purecloud-platform-client-v2/api/QualityApi
@@ -20234,7 +20479,7 @@ if(transactionId===undefined||transactionId===null||transactionId===''){throw'Mi
20234
20479
  * @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
20235
20480
  * @param {Boolean} opts.includeDeletedUsers Allow returning an agent or evaluator user with a 'delete' status. Defaults to false. (default to false)
20236
20481
  */},{key:"getQualityEvaluationsQuery",value:function getQualityEvaluationsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/evaluations/query','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'previousPage':opts['previousPage'],'conversationId':opts['conversationId'],'agentUserId':opts['agentUserId'],'agentTeamId':opts['agentTeamId'],'evaluatorUserId':opts['evaluatorUserId'],'assigneeUserId':opts['assigneeUserId'],'queueId':opts['queueId'],'startTime':opts['startTime'],'endTime':opts['endTime'],'formContextId':opts['formContextId'],'evaluationState':this.apiClient.buildCollectionParam(opts['evaluationState'],'multi'),'isReleased':opts['isReleased'],'agentHasRead':opts['agentHasRead'],'expandAnswerTotalScores':opts['expandAnswerTotalScores'],'maximum':opts['maximum'],'sortOrder':opts['sortOrder'],'includeDeletedUsers':opts['includeDeletedUsers']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20237
- * Get an evaluator activity
20482
+ * Get an evaluator activity. To ensure optimal performance and prevent timeouts when processing large datasets, startTime and endTime fields are highly recommended for all requests.
20238
20483
  *
20239
20484
  * @param {Object} opts Optional parameters
20240
20485
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -20374,6 +20619,20 @@ if(formId===undefined||formId===null||formId===''){throw'Missing the required pa
20374
20619
  * @param {String} opts.name Name
20375
20620
  * @param {Boolean} opts.onlyLatestPerContext onlyLatestPerContext (default to false)
20376
20621
  */},{key:"getQualityPublishedformsEvaluations",value:function getQualityPublishedformsEvaluations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/publishedforms/evaluations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name'],'onlyLatestPerContext':opts['onlyLatestPerContext']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20622
+ * Get the most recent published version of an evaluation form across any division.
20623
+ *
20624
+ * @param {String} evaluationFormId Evaluation Form ID
20625
+ * getQualityPublishedformsEvaluationsDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
20626
+ */},{key:"getQualityPublishedformsEvaluationsDivisionview",value:function getQualityPublishedformsEvaluationsDivisionview(evaluationFormId){// verify the required parameter 'evaluationFormId' is set
20627
+ if(evaluationFormId===undefined||evaluationFormId===null||evaluationFormId===''){throw'Missing the required parameter "evaluationFormId" when calling getQualityPublishedformsEvaluationsDivisionview';}return this.apiClient.callApi('/api/v2/quality/publishedforms/evaluations/divisionviews/{evaluationFormId}','GET',{'evaluationFormId':evaluationFormId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20628
+ * Get the published evaluation forms across any division.
20629
+ *
20630
+ * @param {Object} opts Optional parameters
20631
+ * @param {Number} opts.pageSize Page size (default to 25)
20632
+ * @param {Number} opts.pageNumber Page number (default to 1)
20633
+ * @param {String} opts.name Name
20634
+ * getQualityPublishedformsEvaluationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
20635
+ */},{key:"getQualityPublishedformsEvaluationsDivisionviews",value:function getQualityPublishedformsEvaluationsDivisionviews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/publishedforms/evaluations/divisionviews','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20377
20636
  * Get the most recent published version of a survey form.
20378
20637
  *
20379
20638
  * @param {String} formId Form ID
@@ -20387,6 +20646,20 @@ if(formId===undefined||formId===null||formId===''){throw'Missing the required pa
20387
20646
  * @param {String} opts.name Name
20388
20647
  * @param {Boolean} opts.onlyLatestEnabledPerContext onlyLatestEnabledPerContext (default to false)
20389
20648
  */},{key:"getQualityPublishedformsSurveys",value:function getQualityPublishedformsSurveys(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/publishedforms/surveys','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name'],'onlyLatestEnabledPerContext':opts['onlyLatestEnabledPerContext']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20649
+ * Get the most recent published version of an enabled survey form across any division.
20650
+ *
20651
+ * @param {String} surveyFormId Survey Form ID
20652
+ * getQualityPublishedformsSurveysDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
20653
+ */},{key:"getQualityPublishedformsSurveysDivisionview",value:function getQualityPublishedformsSurveysDivisionview(surveyFormId){// verify the required parameter 'surveyFormId' is set
20654
+ if(surveyFormId===undefined||surveyFormId===null||surveyFormId===''){throw'Missing the required parameter "surveyFormId" when calling getQualityPublishedformsSurveysDivisionview';}return this.apiClient.callApi('/api/v2/quality/publishedforms/surveys/divisionviews/{surveyFormId}','GET',{'surveyFormId':surveyFormId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20655
+ * Get the published and enabled survey forms across any division.
20656
+ *
20657
+ * @param {Object} opts Optional parameters
20658
+ * @param {Number} opts.pageSize Page size (default to 25)
20659
+ * @param {Number} opts.pageNumber Page number (default to 1)
20660
+ * @param {String} opts.name Name
20661
+ * getQualityPublishedformsSurveysDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
20662
+ */},{key:"getQualityPublishedformsSurveysDivisionviews",value:function getQualityPublishedformsSurveysDivisionviews(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/quality/publishedforms/surveys/divisionviews','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20390
20663
  * Get a survey for a conversation
20391
20664
  *
20392
20665
  * @param {String} surveyId surveyId
@@ -20550,7 +20823,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
20550
20823
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
20551
20824
  * Recording service.
20552
20825
  * @module purecloud-platform-client-v2/api/RecordingApi
20553
- * @version 230.0.0
20826
+ * @version 232.0.0
20554
20827
  *//**
20555
20828
  * Constructs a new RecordingApi.
20556
20829
  * @alias module:purecloud-platform-client-v2/api/RecordingApi
@@ -20911,7 +21184,7 @@ if(orphanId===undefined||orphanId===null||orphanId===''){throw'Missing the requi
20911
21184
  if(policyId===undefined||policyId===null||policyId===''){throw'Missing the required parameter "policyId" when calling putRecordingCrossplatformMediaretentionpolicy';}// verify the required parameter 'body' is set
20912
21185
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRecordingCrossplatformMediaretentionpolicy';}return this.apiClient.callApi('/api/v2/recording/crossplatform/mediaretentionpolicies/{policyId}','PUT',{'policyId':policyId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20913
21186
  * Execute the recording bulk job.
20914
- * A job must be executed by the same user whom originally created the job. In addition, the user must have permission to update the recordings retention.
21187
+ * Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. A job must be executed by the same user whom originally created the job. In addition, the user must have permission to update the recordings retention.
20915
21188
  * @param {String} jobId jobId
20916
21189
  * @param {Object} body query
20917
21190
  */},{key:"putRecordingJob",value:function putRecordingJob(jobId,body){// verify the required parameter 'jobId' is set
@@ -20925,7 +21198,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20925
21198
  if(keyConfigurationId===undefined||keyConfigurationId===null||keyConfigurationId===''){throw'Missing the required parameter "keyConfigurationId" when calling putRecordingKeyconfiguration';}// verify the required parameter 'body' is set
20926
21199
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putRecordingKeyconfiguration';}return this.apiClient.callApi('/api/v2/recording/keyconfigurations/{keyConfigurationId}','PUT',{'keyConfigurationId':keyConfigurationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
20927
21200
  * Update a media retention policy
20928
- * Policy does not work retroactively
21201
+ * Policy does not work retroactively. In the conditions.forUsers section, each user object can include the id field containing the users unique identifier. Example: [{"id":"<userId>"}].
20929
21202
  * @param {String} policyId Policy ID
20930
21203
  * @param {Object} body Policy
20931
21204
  */},{key:"putRecordingMediaretentionpolicy",value:function putRecordingMediaretentionpolicy(policyId,body){// verify the required parameter 'policyId' is set
@@ -20949,7 +21222,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
20949
21222
  */},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
20950
21223
  * ResponseManagement service.
20951
21224
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
20952
- * @version 230.0.0
21225
+ * @version 232.0.0
20953
21226
  *//**
20954
21227
  * Constructs a new ResponseManagementApi.
20955
21228
  * @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
@@ -21070,7 +21343,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
21070
21343
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
21071
21344
  * Routing service.
21072
21345
  * @module purecloud-platform-client-v2/api/RoutingApi
21073
- * @version 230.0.0
21346
+ * @version 232.0.0
21074
21347
  *//**
21075
21348
  * Constructs a new RoutingApi.
21076
21349
  * @alias module:purecloud-platform-client-v2/api/RoutingApi
@@ -21245,8 +21518,10 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
21245
21518
  * Get domain
21246
21519
  *
21247
21520
  * @param {String} domainId domain ID
21248
- */},{key:"getRoutingEmailDomain",value:function getRoutingEmailDomain(domainId){// verify the required parameter 'domainId' is set
21249
- if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomain';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21521
+ * @param {Object} opts Optional parameters
21522
+ * @param {Object} opts.expand Expand options. Valid values: settings
21523
+ */},{key:"getRoutingEmailDomain",value:function getRoutingEmailDomain(domainId,opts){opts=opts||{};// verify the required parameter 'domainId' is set
21524
+ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomain';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}','GET',{'domainId':domainId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21250
21525
  * Get a route
21251
21526
  *
21252
21527
  * @param {String} domainName email domain
@@ -21280,12 +21555,15 @@ if(domainName===undefined||domainName===null||domainName===''){throw'Missing the
21280
21555
  * @param {Number} opts.pageNumber Page number (default to 1)
21281
21556
  * @param {Boolean} opts.excludeStatus Exclude MX record data (default to false)
21282
21557
  * @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
21283
- */},{key:"getRoutingEmailDomains",value:function getRoutingEmailDomains(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/domains','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'excludeStatus':opts['excludeStatus'],'filter':opts['filter']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21558
+ * @param {Object} opts.expand Expand options. Valid values: settings
21559
+ */},{key:"getRoutingEmailDomains",value:function getRoutingEmailDomains(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/domains','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'excludeStatus':opts['excludeStatus'],'filter':opts['filter'],'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21284
21560
  * Get domain
21285
21561
  *
21286
21562
  * @param {String} domainId domain ID
21287
- */},{key:"getRoutingEmailOutboundDomain",value:function getRoutingEmailOutboundDomain(domainId){// verify the required parameter 'domainId' is set
21288
- if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomain';}return this.apiClient.callApi('/api/v2/routing/email/outbound/domains/{domainId}','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21563
+ * @param {Object} opts Optional parameters
21564
+ * @param {Object} opts.expand Expand options. Valid values: settings
21565
+ */},{key:"getRoutingEmailOutboundDomain",value:function getRoutingEmailOutboundDomain(domainId,opts){opts=opts||{};// verify the required parameter 'domainId' is set
21566
+ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomain';}return this.apiClient.callApi('/api/v2/routing/email/outbound/domains/{domainId}','GET',{'domainId':domainId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21289
21567
  * Get activation status (cname + dkim) of an outbound domain
21290
21568
  *
21291
21569
  * @param {String} domainId domain ID
@@ -21297,7 +21575,8 @@ if(domainId===undefined||domainId===null||domainId===''){throw'Missing the requi
21297
21575
  * @param {Number} opts.pageSize Page size (default to 25)
21298
21576
  * @param {Number} opts.pageNumber Page number (default to 1)
21299
21577
  * @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
21300
- */},{key:"getRoutingEmailOutboundDomains",value:function getRoutingEmailOutboundDomains(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/outbound/domains','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'filter':opts['filter']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21578
+ * @param {Object} opts.expand Expand options. Valid values: settings
21579
+ */},{key:"getRoutingEmailOutboundDomains",value:function getRoutingEmailOutboundDomains(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/email/outbound/domains','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'filter':opts['filter'],'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21301
21580
  * Get email setup
21302
21581
  *
21303
21582
  */},{key:"getRoutingEmailSetup",value:function getRoutingEmailSetup(){return this.apiClient.callApi('/api/v2/routing/email/setup','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
@@ -21353,7 +21632,9 @@ if(predictorId===undefined||predictorId===null||predictorId===''){throw'Missing
21353
21632
  * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
21354
21633
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
21355
21634
  * @param {Array.<String>} opts.queueId Comma-separated list of queue Ids to filter by.
21356
- */},{key:"getRoutingPredictors",value:function getRoutingPredictors(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/predictors','GET',{},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'queueId':this.apiClient.buildCollectionParam(opts['queueId'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21635
+ * @param {String} opts.kpiId Standard or custom KPI id used to filter predictors.
21636
+ * @param {Object} opts.state The state used to filter predictors.
21637
+ */},{key:"getRoutingPredictors",value:function getRoutingPredictors(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/predictors','GET',{},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'queueId':this.apiClient.buildCollectionParam(opts['queueId'],'multi'),'kpiId':opts['kpiId'],'state':opts['state']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21357
21638
  * Get a list of Key Performance Indicators
21358
21639
  *
21359
21640
  * @param {Object} opts Optional parameters
@@ -21371,9 +21652,9 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
21371
21652
  *
21372
21653
  * @param {String} queueId Queue ID
21373
21654
  * @param {Object} opts Optional parameters
21374
- * @param {Object} opts.expand Which fields, if any, to expand.
21655
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand.
21375
21656
  */},{key:"getRoutingQueueAssistant",value:function getRoutingQueueAssistant(queueId,opts){opts=opts||{};// verify the required parameter 'queueId' is set
21376
- if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling getRoutingQueueAssistant';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/assistant','GET',{'queueId':queueId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21657
+ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required parameter "queueId" when calling getRoutingQueueAssistant';}return this.apiClient.callApi('/api/v2/routing/queues/{queueId}/assistant','GET',{'queueId':queueId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
21377
21658
  * Get a Comparison Period.
21378
21659
  *
21379
21660
  * @param {String} queueId Queue id
@@ -22121,7 +22402,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22121
22402
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
22122
22403
  * SCIM service.
22123
22404
  * @module purecloud-platform-client-v2/api/SCIMApi
22124
- * @version 230.0.0
22405
+ * @version 232.0.0
22125
22406
  *//**
22126
22407
  * Constructs a new SCIMApi.
22127
22408
  * @alias module:purecloud-platform-client-v2/api/SCIMApi
@@ -22346,7 +22627,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
22346
22627
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
22347
22628
  * ScreenRecording service.
22348
22629
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
22349
- * @version 230.0.0
22630
+ * @version 232.0.0
22350
22631
  *//**
22351
22632
  * Constructs a new ScreenRecordingApi.
22352
22633
  * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
@@ -22361,7 +22642,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22361
22642
  */return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
22362
22643
  * Scripts service.
22363
22644
  * @module purecloud-platform-client-v2/api/ScriptsApi
22364
- * @version 230.0.0
22645
+ * @version 232.0.0
22365
22646
  *//**
22366
22647
  * Constructs a new ScriptsApi.
22367
22648
  * @alias module:purecloud-platform-client-v2/api/ScriptsApi
@@ -22507,7 +22788,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
22507
22788
  */},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
22508
22789
  * Search service.
22509
22790
  * @module purecloud-platform-client-v2/api/SearchApi
22510
- * @version 230.0.0
22791
+ * @version 232.0.0
22511
22792
  *//**
22512
22793
  * Constructs a new SearchApi.
22513
22794
  * @alias module:purecloud-platform-client-v2/api/SearchApi
@@ -22674,7 +22955,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
22674
22955
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
22675
22956
  * Settings service.
22676
22957
  * @module purecloud-platform-client-v2/api/SettingsApi
22677
- * @version 230.0.0
22958
+ * @version 232.0.0
22678
22959
  *//**
22679
22960
  * Constructs a new SettingsApi.
22680
22961
  * @alias module:purecloud-platform-client-v2/api/SettingsApi
@@ -22746,7 +23027,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
22746
23027
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SocialMediaApi=/*#__PURE__*/function(){/**
22747
23028
  * SocialMedia service.
22748
23029
  * @module purecloud-platform-client-v2/api/SocialMediaApi
22749
- * @version 230.0.0
23030
+ * @version 232.0.0
22750
23031
  *//**
22751
23032
  * Constructs a new SocialMediaApi.
22752
23033
  * @alias module:purecloud-platform-client-v2/api/SocialMediaApi
@@ -22781,6 +23062,15 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
22781
23062
  */},{key:"deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
22782
23063
  if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
22783
23064
  if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null||facebookIngestionRuleId===''){throw'Missing the required parameter "facebookIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','DELETE',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
23065
+ * Delete a Instagram data ingestion rule.
23066
+ *
23067
+ * @param {String} topicId topicId
23068
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
23069
+ * @param {Object} opts Optional parameters
23070
+ * @param {Boolean} opts.hardDelete Determines whether a Instagram data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
23071
+ */},{key:"deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId",value:function deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId,instagramIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
23072
+ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';}// verify the required parameter 'instagramIngestionRuleId' is set
23073
+ if(instagramIngestionRuleId===undefined||instagramIngestionRuleId===null||instagramIngestionRuleId===''){throw'Missing the required parameter "instagramIngestionRuleId" when calling deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}','DELETE',{'topicId':topicId,'instagramIngestionRuleId':instagramIngestionRuleId},{'hardDelete':opts['hardDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22784
23074
  * Delete a open data ingestion rule.
22785
23075
  *
22786
23076
  * @param {String} topicId topicId
@@ -22883,6 +23173,37 @@ if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null||dataIn
22883
23173
  */},{key:"getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
22884
23174
  if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}// verify the required parameter 'facebookIngestionRuleId' is set
22885
23175
  if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null||facebookIngestionRuleId===''){throw'Missing the required parameter "facebookIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}/versions','GET',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
23176
+ * Get a single Instagram data ingestion rule.
23177
+ *
23178
+ * @param {String} topicId topicId
23179
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
23180
+ * @param {Object} opts Optional parameters
23181
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
23182
+ */},{key:"getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId",value:function getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId,instagramIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
23183
+ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';}// verify the required parameter 'instagramIngestionRuleId' is set
23184
+ if(instagramIngestionRuleId===undefined||instagramIngestionRuleId===null||instagramIngestionRuleId===''){throw'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}','GET',{'topicId':topicId,'instagramIngestionRuleId':instagramIngestionRuleId},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
23185
+ * Get a single Instagram data ingestion rule version.
23186
+ *
23187
+ * @param {String} topicId topicId
23188
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
23189
+ * @param {String} dataIngestionRuleVersion version
23190
+ * @param {Object} opts Optional parameters
23191
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
23192
+ */},{key:"getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion",value:function getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion(topicId,instagramIngestionRuleId,dataIngestionRuleVersion,opts){opts=opts||{};// verify the required parameter 'topicId' is set
23193
+ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';}// verify the required parameter 'instagramIngestionRuleId' is set
23194
+ if(instagramIngestionRuleId===undefined||instagramIngestionRuleId===null||instagramIngestionRuleId===''){throw'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';}// verify the required parameter 'dataIngestionRuleVersion' is set
23195
+ if(dataIngestionRuleVersion===undefined||dataIngestionRuleVersion===null||dataIngestionRuleVersion===''){throw'Missing the required parameter "dataIngestionRuleVersion" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}/versions/{dataIngestionRuleVersion}','GET',{'topicId':topicId,'instagramIngestionRuleId':instagramIngestionRuleId,'dataIngestionRuleVersion':dataIngestionRuleVersion},{'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
23196
+ * Get the Instagram data ingestion rule versions.
23197
+ *
23198
+ * @param {String} topicId topicId
23199
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
23200
+ * @param {Object} opts Optional parameters
23201
+ * @param {Number} opts.pageNumber Page number (default to 1)
23202
+ * @param {Number} opts.pageSize Page size (default to 25)
23203
+ * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
23204
+ */},{key:"getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions",value:function getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions(topicId,instagramIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
23205
+ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions';}// verify the required parameter 'instagramIngestionRuleId' is set
23206
+ if(instagramIngestionRuleId===undefined||instagramIngestionRuleId===null||instagramIngestionRuleId===''){throw'Missing the required parameter "instagramIngestionRuleId" when calling getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}/versions','GET',{'topicId':topicId,'instagramIngestionRuleId':instagramIngestionRuleId},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize'],'includeDeleted':opts['includeDeleted']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
22886
23207
  * Get a single open data ingestion rule.
22887
23208
  *
22888
23209
  * @param {String} topicId topicId
@@ -22969,6 +23290,15 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
22969
23290
  */},{key:"patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
22970
23291
  if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
22971
23292
  if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null||facebookIngestionRuleId===''){throw'Missing the required parameter "facebookIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PATCH',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
23293
+ * Update the status of a Instagram data ingestion rule.
23294
+ *
23295
+ * @param {String} topicId topicId
23296
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
23297
+ * @param {Object} opts Optional parameters
23298
+ * @param {Object} opts.body
23299
+ */},{key:"patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId",value:function patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId,instagramIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
23300
+ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';}// verify the required parameter 'instagramIngestionRuleId' is set
23301
+ if(instagramIngestionRuleId===undefined||instagramIngestionRuleId===null||instagramIngestionRuleId===''){throw'Missing the required parameter "instagramIngestionRuleId" when calling patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}','PATCH',{'topicId':topicId,'instagramIngestionRuleId':instagramIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
22972
23302
  * Update the status of a open data ingestion rule.
22973
23303
  *
22974
23304
  * @param {String} topicId topicId
@@ -23016,6 +23346,13 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
23016
23346
  * @param {Object} opts.body
23017
23347
  */},{key:"postSocialmediaTopicDataingestionrulesFacebook",value:function postSocialmediaTopicDataingestionrulesFacebook(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
23018
23348
  if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesFacebook';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
23349
+ * Create an Instagram data ingestion rule.
23350
+ *
23351
+ * @param {String} topicId topicId
23352
+ * @param {Object} opts Optional parameters
23353
+ * @param {Object} opts.body
23354
+ */},{key:"postSocialmediaTopicDataingestionrulesInstagram",value:function postSocialmediaTopicDataingestionrulesInstagram(topicId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
23355
+ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesInstagram';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram','POST',{'topicId':topicId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
23019
23356
  * Create an open data ingestion rule.
23020
23357
  *
23021
23358
  * @param {String} topicId topicId
@@ -23074,6 +23411,15 @@ if(escalationRuleId===undefined||escalationRuleId===null||escalationRuleId==='')
23074
23411
  */},{key:"putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId,facebookIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
23075
23412
  if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}// verify the required parameter 'facebookIngestionRuleId' is set
23076
23413
  if(facebookIngestionRuleId===undefined||facebookIngestionRuleId===null||facebookIngestionRuleId===''){throw'Missing the required parameter "facebookIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/facebook/{facebookIngestionRuleId}','PUT',{'topicId':topicId,'facebookIngestionRuleId':facebookIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
23414
+ * Update the Instagram data ingestion rule.
23415
+ *
23416
+ * @param {String} topicId topicId
23417
+ * @param {String} instagramIngestionRuleId instagramIngestionRuleId
23418
+ * @param {Object} opts Optional parameters
23419
+ * @param {Object} opts.body
23420
+ */},{key:"putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId",value:function putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId,instagramIngestionRuleId,opts){opts=opts||{};// verify the required parameter 'topicId' is set
23421
+ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required parameter "topicId" when calling putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';}// verify the required parameter 'instagramIngestionRuleId' is set
23422
+ if(instagramIngestionRuleId===undefined||instagramIngestionRuleId===null||instagramIngestionRuleId===''){throw'Missing the required parameter "instagramIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/instagram/{instagramIngestionRuleId}','PUT',{'topicId':topicId,'instagramIngestionRuleId':instagramIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
23077
23423
  * Update the open data ingestion rule.
23078
23424
  *
23079
23425
  * @param {String} topicId topicId
@@ -23094,7 +23440,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23094
23440
  if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null||twitterIngestionRuleId===''){throw'Missing the required parameter "twitterIngestionRuleId" when calling putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId';}return this.apiClient.callApi('/api/v2/socialmedia/topics/{topicId}/dataingestionrules/twitter/{twitterIngestionRuleId}','PUT',{'topicId':topicId,'twitterIngestionRuleId':twitterIngestionRuleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
23095
23441
  * SpeechTextAnalytics service.
23096
23442
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
23097
- * @version 230.0.0
23443
+ * @version 232.0.0
23098
23444
  *//**
23099
23445
  * Constructs a new SpeechTextAnalyticsApi.
23100
23446
  * @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
@@ -23463,7 +23809,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
23463
23809
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
23464
23810
  * Stations service.
23465
23811
  * @module purecloud-platform-client-v2/api/StationsApi
23466
- * @version 230.0.0
23812
+ * @version 232.0.0
23467
23813
  *//**
23468
23814
  * Constructs a new StationsApi.
23469
23815
  * @alias module:purecloud-platform-client-v2/api/StationsApi
@@ -23495,7 +23841,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
23495
23841
  */},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
23496
23842
  * Suggest service.
23497
23843
  * @module purecloud-platform-client-v2/api/SuggestApi
23498
- * @version 230.0.0
23844
+ * @version 232.0.0
23499
23845
  *//**
23500
23846
  * Constructs a new SuggestApi.
23501
23847
  * @alias module:purecloud-platform-client-v2/api/SuggestApi
@@ -23535,7 +23881,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
23535
23881
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
23536
23882
  * TaskManagement service.
23537
23883
  * @module purecloud-platform-client-v2/api/TaskManagementApi
23538
- * @version 230.0.0
23884
+ * @version 232.0.0
23539
23885
  *//**
23540
23886
  * Constructs a new TaskManagementApi.
23541
23887
  * @alias module:purecloud-platform-client-v2/api/TaskManagementApi
@@ -24043,7 +24389,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
24043
24389
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
24044
24390
  * Teams service.
24045
24391
  * @module purecloud-platform-client-v2/api/TeamsApi
24046
- * @version 230.0.0
24392
+ * @version 232.0.0
24047
24393
  *//**
24048
24394
  * Constructs a new TeamsApi.
24049
24395
  * @alias module:purecloud-platform-client-v2/api/TeamsApi
@@ -24123,7 +24469,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24123
24469
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
24124
24470
  * Telephony service.
24125
24471
  * @module purecloud-platform-client-v2/api/TelephonyApi
24126
- * @version 230.0.0
24472
+ * @version 232.0.0
24127
24473
  *//**
24128
24474
  * Constructs a new TelephonyApi.
24129
24475
  * @alias module:purecloud-platform-client-v2/api/TelephonyApi
@@ -24194,7 +24540,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
24194
24540
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyAgentsGreetingsMe';}return this.apiClient.callApi('/api/v2/telephony/agents/greetings/me','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
24195
24541
  * TelephonyProvidersEdge service.
24196
24542
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
24197
- * @version 230.0.0
24543
+ * @version 232.0.0
24198
24544
  *//**
24199
24545
  * Constructs a new TelephonyProvidersEdgeApi.
24200
24546
  * @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
@@ -25042,7 +25388,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
25042
25388
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
25043
25389
  * Textbots service.
25044
25390
  * @module purecloud-platform-client-v2/api/TextbotsApi
25045
- * @version 230.0.0
25391
+ * @version 232.0.0
25046
25392
  *//**
25047
25393
  * Constructs a new TextbotsApi.
25048
25394
  * @alias module:purecloud-platform-client-v2/api/TextbotsApi
@@ -25078,7 +25424,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
25078
25424
  if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
25079
25425
  * Tokens service.
25080
25426
  * @module purecloud-platform-client-v2/api/TokensApi
25081
- * @version 230.0.0
25427
+ * @version 232.0.0
25082
25428
  *//**
25083
25429
  * Constructs a new TokensApi.
25084
25430
  * @alias module:purecloud-platform-client-v2/api/TokensApi
@@ -25112,7 +25458,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
25112
25458
  */},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
25113
25459
  * Uploads service.
25114
25460
  * @module purecloud-platform-client-v2/api/UploadsApi
25115
- * @version 230.0.0
25461
+ * @version 232.0.0
25116
25462
  *//**
25117
25463
  * Constructs a new UploadsApi.
25118
25464
  * @alias module:purecloud-platform-client-v2/api/UploadsApi
@@ -25180,7 +25526,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25180
25526
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
25181
25527
  * Usage service.
25182
25528
  * @module purecloud-platform-client-v2/api/UsageApi
25183
- * @version 230.0.0
25529
+ * @version 232.0.0
25184
25530
  *//**
25185
25531
  * Constructs a new UsageApi.
25186
25532
  * @alias module:purecloud-platform-client-v2/api/UsageApi
@@ -25264,7 +25610,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
25264
25610
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
25265
25611
  * UserRecordings service.
25266
25612
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
25267
- * @version 230.0.0
25613
+ * @version 232.0.0
25268
25614
  *//**
25269
25615
  * Constructs a new UserRecordingsApi.
25270
25616
  * @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
@@ -25284,15 +25630,6 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
25284
25630
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
25285
25631
  */},{key:"getUserrecording",value:function getUserrecording(recordingId,opts){opts=opts||{};// verify the required parameter 'recordingId' is set
25286
25632
  if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing the required parameter "recordingId" when calling getUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','GET',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
25287
- * Download a user recording.
25288
- * API should migrate to use GET api/v2/userrecordings/{recordingId}/transcoding
25289
- * @param {String} recordingId User Recording ID
25290
- * @param {Object} opts Optional parameters
25291
- * @param {Object} opts.formatId The desired media format. (default to WEBM)
25292
- * @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
25293
- * @deprecated
25294
- */},{key:"getUserrecordingMedia",value:function getUserrecordingMedia(recordingId,opts){opts=opts||{};// verify the required parameter 'recordingId' is set
25295
- if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing the required parameter "recordingId" when calling getUserrecordingMedia';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}/media','GET',{'recordingId':recordingId},{'formatId':opts['formatId'],'async':opts['async']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
25296
25633
  * Download a user recording.
25297
25634
  *
25298
25635
  * @param {String} recordingId User Recording ID
@@ -25321,7 +25658,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
25321
25658
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
25322
25659
  * Users service.
25323
25660
  * @module purecloud-platform-client-v2/api/UsersApi
25324
- * @version 230.0.0
25661
+ * @version 232.0.0
25325
25662
  *//**
25326
25663
  * Constructs a new UsersApi.
25327
25664
  * @alias module:purecloud-platform-client-v2/api/UsersApi
@@ -26065,7 +26402,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
26065
26402
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
26066
26403
  * Utilities service.
26067
26404
  * @module purecloud-platform-client-v2/api/UtilitiesApi
26068
- * @version 230.0.0
26405
+ * @version 232.0.0
26069
26406
  *//**
26070
26407
  * Constructs a new UtilitiesApi.
26071
26408
  * @alias module:purecloud-platform-client-v2/api/UtilitiesApi
@@ -26092,7 +26429,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26092
26429
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
26093
26430
  * Voicemail service.
26094
26431
  * @module purecloud-platform-client-v2/api/VoicemailApi
26095
- * @version 230.0.0
26432
+ * @version 232.0.0
26096
26433
  *//**
26097
26434
  * Constructs a new VoicemailApi.
26098
26435
  * @alias module:purecloud-platform-client-v2/api/VoicemailApi
@@ -26254,7 +26591,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
26254
26591
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
26255
26592
  * WebChat service.
26256
26593
  * @module purecloud-platform-client-v2/api/WebChatApi
26257
- * @version 230.0.0
26594
+ * @version 232.0.0
26258
26595
  *//**
26259
26596
  * Constructs a new WebChatApi.
26260
26597
  * @alias module:purecloud-platform-client-v2/api/WebChatApi
@@ -26277,7 +26614,8 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26277
26614
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling deleteWebchatGuestConversationMember';}// verify the required parameter 'memberId' is set
26278
26615
  if(memberId===undefined||memberId===null||memberId===''){throw'Missing the required parameter "memberId" when calling deleteWebchatGuestConversationMember';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/members/{memberId}','DELETE',{'conversationId':conversationId,'memberId':memberId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26279
26616
  * Remove WebChat deployment settings
26280
- *
26617
+ * This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
26618
+ * @deprecated
26281
26619
  */},{key:"deleteWebchatSettings",value:function deleteWebchatSettings(){return this.apiClient.callApi('/api/v2/webchat/settings','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26282
26620
  * Get a WebChat deployment
26283
26621
  *
@@ -26341,7 +26679,8 @@ if(messageId===undefined||messageId===null||messageId===''){throw'Missing the re
26341
26679
  */},{key:"getWebchatGuestConversationMessages",value:function getWebchatGuestConversationMessages(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
26342
26680
  if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling getWebchatGuestConversationMessages';}return this.apiClient.callApi('/api/v2/webchat/guest/conversations/{conversationId}/messages','GET',{'conversationId':conversationId},{'after':opts['after'],'before':opts['before'],'sortOrder':opts['sortOrder'],'maxResults':opts['maxResults']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26343
26681
  * Get WebChat deployment settings
26344
- *
26682
+ * This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
26683
+ * @deprecated
26345
26684
  */},{key:"getWebchatSettings",value:function getWebchatSettings(){return this.apiClient.callApi('/api/v2/webchat/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26346
26685
  * Update a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERRORED
26347
26686
  * This endpoint is deprecated. Please see the article https://help.genesys.cloud/articles/deprecation-legacy-co-browse-and-screenshare/
@@ -26392,13 +26731,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
26392
26731
  if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missing the required parameter "deploymentId" when calling putWebchatDeployment';}// verify the required parameter 'body' is set
26393
26732
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatDeployment';}return this.apiClient.callApi('/api/v2/webchat/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
26394
26733
  * Update WebChat deployment settings
26395
- *
26734
+ * This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
26396
26735
  * @param {Object} body webChatSettings
26736
+ * @deprecated
26397
26737
  */},{key:"putWebchatSettings",value:function putWebchatSettings(body){// verify the required parameter 'body' is set
26398
26738
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
26399
26739
  * WebDeployments service.
26400
26740
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
26401
- * @version 230.0.0
26741
+ * @version 232.0.0
26402
26742
  *//**
26403
26743
  * Constructs a new WebDeploymentsApi.
26404
26744
  * @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
@@ -26531,7 +26871,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26531
26871
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebdeploymentsDeploymentIdentityresolution';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}/identityresolution','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
26532
26872
  * WebMessaging service.
26533
26873
  * @module purecloud-platform-client-v2/api/WebMessagingApi
26534
- * @version 230.0.0
26874
+ * @version 232.0.0
26535
26875
  *//**
26536
26876
  * Constructs a new WebMessagingApi.
26537
26877
  * @alias module:purecloud-platform-client-v2/api/WebMessagingApi
@@ -26572,7 +26912,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
26572
26912
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWebmessagingDeploymentPushdevice';}return this.apiClient.callApi('/api/v2/webmessaging/deployments/{deploymentId}/pushdevices/{tokenId}','POST',{'deploymentId':deploymentId,'tokenId':tokenId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
26573
26913
  * Widgets service.
26574
26914
  * @module purecloud-platform-client-v2/api/WidgetsApi
26575
- * @version 230.0.0
26915
+ * @version 232.0.0
26576
26916
  *//**
26577
26917
  * Constructs a new WidgetsApi.
26578
26918
  * @alias module:purecloud-platform-client-v2/api/WidgetsApi
@@ -26612,7 +26952,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
26612
26952
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
26613
26953
  * WorkforceManagement service.
26614
26954
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
26615
- * @version 230.0.0
26955
+ * @version 232.0.0
26616
26956
  *//**
26617
26957
  * Constructs a new WorkforceManagementApi.
26618
26958
  * @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
@@ -27839,6 +28179,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
27839
28179
  * @param {Object} body body
27840
28180
  */},{key:"postWorkforcemanagementAgentsMePossibleworkshifts",value:function postWorkforcemanagementAgentsMePossibleworkshifts(body){// verify the required parameter 'body' is set
27841
28181
  if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentsMePossibleworkshifts';}return this.apiClient.callApi('/api/v2/workforcemanagement/agents/me/possibleworkshifts','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
28182
+ * Fetch agent schedules for the logged in user's management unit
28183
+ *
28184
+ * @param {Object} body body
28185
+ * @param {Object} opts Optional parameters
28186
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
28187
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
28188
+ */},{key:"postWorkforcemanagementAgentschedulesManagementunitsMine",value:function postWorkforcemanagementAgentschedulesManagementunitsMine(body,opts){opts=opts||{};// verify the required parameter 'body' is set
28189
+ if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementAgentschedulesManagementunitsMine';}return this.apiClient.callApi('/api/v2/workforcemanagement/agentschedules/managementunits/mine','POST',{},{'forceAsync':opts['forceAsync'],'forceDownloadService':opts['forceDownloadService']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
27842
28190
  * Get published schedule for the current user
27843
28191
  *
27844
28192
  * @param {Object} body body
@@ -28564,7 +28912,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
28564
28912
  * </pre>
28565
28913
  * </p>
28566
28914
  * @module purecloud-platform-client-v2/index
28567
- * @version 230.0.0
28915
+ * @version 232.0.0
28568
28916
  */var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
28569
28917
  * The ApiClient constructor.
28570
28918
  * @property {module:purecloud-platform-client-v2/ApiClient}
@@ -28824,4 +29172,4 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
28824
29172
  var index=new platformClient();module.exports=index;
28825
29173
 
28826
29174
  }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,require("timers").setImmediate)
28827
- },{"buffer":3,"os":41,"path":42,"qs":45,"timers":53}]},{},[]);
29175
+ },{"buffer":5,"os":44,"path":45,"qs":48,"timers":56}]},{},[]);