purecloud-platform-client-v2 231.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.
- package/README.md +22 -3
- package/dist/node/purecloud-platform-client-v2.js +362 -102
- package/dist/web-amd/purecloud-platform-client-v2.js +362 -102
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +169 -103
- package/dist/web-cjs/purecloud-platform-client-v2.js +291 -170
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +753 -261
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +31 -6
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +25 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +173 -4
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +5 -2
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +6 -4
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +7 -4
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +31 -1
- 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
|
-
},{}],
|
|
193
|
+
},{}],4:[function(require,module,exports){
|
|
154
194
|
|
|
155
|
-
},{}],
|
|
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":
|
|
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":
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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":
|
|
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
|
-
},{}],
|
|
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":
|
|
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":
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
2098
|
+
},{}],15:[function(require,module,exports){
|
|
2059
2099
|
'use strict';
|
|
2060
2100
|
|
|
2061
2101
|
/** @type {import('.')} */
|
|
2062
2102
|
module.exports = Error;
|
|
2063
2103
|
|
|
2064
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
2134
|
+
},{}],21:[function(require,module,exports){
|
|
2095
2135
|
'use strict';
|
|
2096
2136
|
|
|
2097
2137
|
/** @type {import('.')} */
|
|
2098
2138
|
module.exports = Object;
|
|
2099
2139
|
|
|
2100
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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":
|
|
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%':
|
|
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 =
|
|
2414
|
+
value = getAsyncFunction() || void undefined;
|
|
2360
2415
|
} else if (name === '%GeneratorFunction%') {
|
|
2361
|
-
value =
|
|
2416
|
+
value = getGeneratorFunction() || void undefined;
|
|
2362
2417
|
} else if (name === '%AsyncGeneratorFunction%') {
|
|
2363
|
-
value =
|
|
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":
|
|
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":
|
|
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
|
-
},{}],
|
|
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":
|
|
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
|
-
},{}],
|
|
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":
|
|
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":
|
|
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
|
-
},{}],
|
|
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":
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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":
|
|
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":
|
|
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
|
-
},{}],
|
|
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":
|
|
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
|
-
},{}],
|
|
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
|
-
},{}],
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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,7 +5617,7 @@ 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":
|
|
5620
|
+
},{"process/browser.js":46,"timers":56}],"platformClient":[function(require,module,exports){
|
|
5566
5621
|
(function (global,Buffer,setImmediate){(function (){
|
|
5567
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
|
|
@@ -6477,7 +6532,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6477
6532
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6478
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];}}}]);}();/**
|
|
6479
6534
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6480
|
-
* @version
|
|
6535
|
+
* @version 232.0.0
|
|
6481
6536
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6482
6537
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6483
6538
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6506,7 +6561,7 @@ if(this.environment.startsWith('https://'))this.environment=this.environment.sub
|
|
|
6506
6561
|
*/PIPES:'|',/**
|
|
6507
6562
|
* Native array. Value: <code>multi</code>
|
|
6508
6563
|
* @const
|
|
6509
|
-
*/MULTI:'multi'};/**
|
|
6564
|
+
*/MULTI:'multi'};this.useLegacyParameterFilter=true;/**
|
|
6510
6565
|
* @description Value is `true` if local storage exists. Otherwise, false.
|
|
6511
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;}/**
|
|
6512
6567
|
* The authentication methods to be included for all API calls.
|
|
@@ -6734,10 +6789,13 @@ this.setAccessToken(this.authentications['PureCloud OAuth'].accessToken);}/**
|
|
|
6734
6789
|
* @param {string} path - The path for the URL
|
|
6735
6790
|
* @param {object} query - An object of key/value pairs to use for querystring keys/values
|
|
6736
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;}/**
|
|
6737
6795
|
* Returns a string representation for an actual parameter.
|
|
6738
6796
|
* @param param The actual parameter.
|
|
6739
6797
|
* @returns {String} The string representation of <code>param</code>.
|
|
6740
|
-
*/},{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&¶m!==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();}/**
|
|
6741
6799
|
* Returns query parameters serialized in the format needed for an axios request.
|
|
6742
6800
|
* @param param The unserialized query parameters.
|
|
6743
6801
|
* @returns {Object} The serialized representation the query parameters.
|
|
@@ -6788,12 +6846,12 @@ if(typeof File==='function'&¶m instanceof File){return true;}return false;}/
|
|
|
6788
6846
|
* @param {module:purecloud-platform-client-v2/ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.
|
|
6789
6847
|
* @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns
|
|
6790
6848
|
* <code>param</code> as is if <code>collectionFormat</code> is <code>multi</code>.
|
|
6791
|
-
*/},{key:"buildCollectionParam",value:function buildCollectionParam(param,collectionFormat){if(!param)return;if(!Array.isArray(param)){param=[param];}switch(collectionFormat){case'csv':return param.map(
|
|
6792
|
-
return param.map(
|
|
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));}}/**
|
|
6793
6851
|
* Applies authentication headers to the request.
|
|
6794
6852
|
* @param {Object} request The axios request config object.
|
|
6795
6853
|
* @param {Array.<String>} authNames An array of authentication method names.
|
|
6796
|
-
*/},{key:"applyAuthToRequest",value:function applyAuthToRequest(request,authNames){var
|
|
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));}});}/**
|
|
6797
6855
|
* @description Sets the proxy agent axios will use for requests
|
|
6798
6856
|
* @param {any} agent - The proxy agent
|
|
6799
6857
|
*/},{key:"setProxyAgent",value:function setProxyAgent(agent){this.proxyAgent=agent;var httpClient=this.getHttpClient();httpClient.setHttpsAgent(this.proxyAgent);}/**
|
|
@@ -6810,7 +6868,7 @@ return param.map(this.paramToString);default:throw new Error("Unknown collection
|
|
|
6810
6868
|
* @param {Array.<String>} accepts An array of acceptable response MIME types.types or the
|
|
6811
6869
|
* constructor for a complex type.
|
|
6812
6870
|
* @returns {Promise} A Promise object.
|
|
6813
|
-
*/},{key:"callApi",value:function callApi(path,httpMethod,pathParams,queryParams,headerParams,formParams,bodyParam,authNames,contentTypes,accepts){var
|
|
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
|
|
6814
6872
|
that.applyAuthToRequest(request,authNames);// set header parameters
|
|
6815
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
|
|
6816
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
|
|
@@ -6820,7 +6878,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6820
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(){/**
|
|
6821
6879
|
* AIStudio service.
|
|
6822
6880
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
6823
|
-
* @version
|
|
6881
|
+
* @version 232.0.0
|
|
6824
6882
|
*//**
|
|
6825
6883
|
* Constructs a new AIStudioApi.
|
|
6826
6884
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -6971,7 +7029,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
6971
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(){/**
|
|
6972
7030
|
* AgentAssistants service.
|
|
6973
7031
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
6974
|
-
* @version
|
|
7032
|
+
* @version 232.0.0
|
|
6975
7033
|
*//**
|
|
6976
7034
|
* Constructs a new AgentAssistantsApi.
|
|
6977
7035
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -7102,7 +7160,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
7102
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(){/**
|
|
7103
7161
|
* AgentCopilot service.
|
|
7104
7162
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
7105
|
-
* @version
|
|
7163
|
+
* @version 232.0.0
|
|
7106
7164
|
*//**
|
|
7107
7165
|
* Constructs a new AgentCopilotApi.
|
|
7108
7166
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -7115,6 +7173,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7115
7173
|
* @param {String} assistantId Assistant ID
|
|
7116
7174
|
*/return _createClass(AgentCopilotApi,[{key:"getAssistantCopilot",value:function getAssistantCopilot(assistantId){// verify the required parameter 'assistantId' is set
|
|
7117
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']);}/**
|
|
7118
7181
|
* Update agent copilot configuration
|
|
7119
7182
|
*
|
|
7120
7183
|
* @param {String} assistantId Assistant ID
|
|
@@ -7124,7 +7187,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
7124
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(){/**
|
|
7125
7188
|
* AgentUI service.
|
|
7126
7189
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
7127
|
-
* @version
|
|
7190
|
+
* @version 232.0.0
|
|
7128
7191
|
*//**
|
|
7129
7192
|
* Constructs a new AgentUIApi.
|
|
7130
7193
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -7158,7 +7221,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
7158
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(){/**
|
|
7159
7222
|
* Alerting service.
|
|
7160
7223
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
7161
|
-
* @version
|
|
7224
|
+
* @version 232.0.0
|
|
7162
7225
|
*//**
|
|
7163
7226
|
* Constructs a new AlertingApi.
|
|
7164
7227
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -7247,7 +7310,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
7247
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(){/**
|
|
7248
7311
|
* Analytics service.
|
|
7249
7312
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7250
|
-
* @version
|
|
7313
|
+
* @version 232.0.0
|
|
7251
7314
|
*//**
|
|
7252
7315
|
* Constructs a new AnalyticsApi.
|
|
7253
7316
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -8023,7 +8086,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8023
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(){/**
|
|
8024
8087
|
* Architect service.
|
|
8025
8088
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8026
|
-
* @version
|
|
8089
|
+
* @version 232.0.0
|
|
8027
8090
|
*//**
|
|
8028
8091
|
* Constructs a new ArchitectApi.
|
|
8029
8092
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -9157,7 +9220,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
9157
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(){/**
|
|
9158
9221
|
* Audit service.
|
|
9159
9222
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9160
|
-
* @version
|
|
9223
|
+
* @version 232.0.0
|
|
9161
9224
|
*//**
|
|
9162
9225
|
* Constructs a new AuditApi.
|
|
9163
9226
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -9207,7 +9270,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9207
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(){/**
|
|
9208
9271
|
* Authorization service.
|
|
9209
9272
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9210
|
-
* @version
|
|
9273
|
+
* @version 232.0.0
|
|
9211
9274
|
*//**
|
|
9212
9275
|
* Constructs a new AuthorizationApi.
|
|
9213
9276
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -9642,7 +9705,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
9642
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(){/**
|
|
9643
9706
|
* Billing service.
|
|
9644
9707
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9645
|
-
* @version
|
|
9708
|
+
* @version 232.0.0
|
|
9646
9709
|
*//**
|
|
9647
9710
|
* Constructs a new BillingApi.
|
|
9648
9711
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -9719,7 +9782,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
9719
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(){/**
|
|
9720
9783
|
* BusinessRules service.
|
|
9721
9784
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
9722
|
-
* @version
|
|
9785
|
+
* @version 232.0.0
|
|
9723
9786
|
*//**
|
|
9724
9787
|
* Constructs a new BusinessRulesApi.
|
|
9725
9788
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -9969,7 +10032,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
9969
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(){/**
|
|
9970
10033
|
* CarrierServices service.
|
|
9971
10034
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
9972
|
-
* @version
|
|
10035
|
+
* @version 232.0.0
|
|
9973
10036
|
*//**
|
|
9974
10037
|
* Constructs a new CarrierServicesApi.
|
|
9975
10038
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -9989,7 +10052,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
9989
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(){/**
|
|
9990
10053
|
* Chat service.
|
|
9991
10054
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9992
|
-
* @version
|
|
10055
|
+
* @version 232.0.0
|
|
9993
10056
|
*//**
|
|
9994
10057
|
* Constructs a new ChatApi.
|
|
9995
10058
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -10220,7 +10283,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10220
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(){/**
|
|
10221
10284
|
* Coaching service.
|
|
10222
10285
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
10223
|
-
* @version
|
|
10286
|
+
* @version 232.0.0
|
|
10224
10287
|
*//**
|
|
10225
10288
|
* Constructs a new CoachingApi.
|
|
10226
10289
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -10373,7 +10436,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10373
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(){/**
|
|
10374
10437
|
* ContentManagement service.
|
|
10375
10438
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10376
|
-
* @version
|
|
10439
|
+
* @version 232.0.0
|
|
10377
10440
|
*//**
|
|
10378
10441
|
* Constructs a new ContentManagementApi.
|
|
10379
10442
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -10655,7 +10718,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
10655
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(){/**
|
|
10656
10719
|
* Conversations service.
|
|
10657
10720
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10658
|
-
* @version
|
|
10721
|
+
* @version 232.0.0
|
|
10659
10722
|
*//**
|
|
10660
10723
|
* Constructs a new ConversationsApi.
|
|
10661
10724
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10714,6 +10777,11 @@ if(attachmentId===undefined||attachmentId===null||attachmentId===''){throw'Missi
|
|
|
10714
10777
|
* @param {String} cachedMediaItemId cachedMediaItemId
|
|
10715
10778
|
*/},{key:"deleteConversationsMessagesCachedmediaCachedMediaItemId",value:function deleteConversationsMessagesCachedmediaCachedMediaItemId(cachedMediaItemId){// verify the required parameter 'cachedMediaItemId' is set
|
|
10716
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']);}/**
|
|
10717
10785
|
* Delete a Facebook messaging integration
|
|
10718
10786
|
*
|
|
10719
10787
|
* @param {String} integrationId Integration ID
|
|
@@ -11217,7 +11285,6 @@ if(cachedMediaItemId===undefined||cachedMediaItemId===null||cachedMediaItemId===
|
|
|
11217
11285
|
* Get Apple messaging integration identity resolution settings
|
|
11218
11286
|
*
|
|
11219
11287
|
* @param {String} integrationId Integration ID
|
|
11220
|
-
* getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
11221
11288
|
*/},{key:"getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId",value:function getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId){// verify the required parameter 'integrationId' is set
|
|
11222
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']);}/**
|
|
11223
11290
|
* Get Facebook messaging integration identity resolution settings
|
|
@@ -11259,6 +11326,22 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
|
|
|
11259
11326
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
11260
11327
|
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
11261
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']);}/**
|
|
11262
11345
|
* Get a list of Facebook Integrations
|
|
11263
11346
|
*
|
|
11264
11347
|
* @param {Object} opts Optional parameters
|
|
@@ -11342,6 +11425,15 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
|
|
|
11342
11425
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
11343
11426
|
*/},{key:"getConversationsMessagingIntegrationsWhatsappIntegrationId",value:function getConversationsMessagingIntegrationsWhatsappIntegrationId(integrationId,opts){opts=opts||{};// verify the required parameter 'integrationId' is set
|
|
11344
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']);}/**
|
|
11345
11437
|
* Get a messaging setting
|
|
11346
11438
|
*
|
|
11347
11439
|
* @param {String} messageSettingId Message Setting ID
|
|
@@ -11753,6 +11845,13 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
11753
11845
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling patchConversationsMessageParticipantCommunication';}// verify the required parameter 'communicationId' is set
|
|
11754
11846
|
if(communicationId===undefined||communicationId===null||communicationId===''){throw'Missing the required parameter "communicationId" when calling patchConversationsMessageParticipantCommunication';}// verify the required parameter 'body' is set
|
|
11755
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']);}/**
|
|
11756
11855
|
* Update Facebook messaging integration
|
|
11757
11856
|
*
|
|
11758
11857
|
* @param {String} integrationId Integration ID
|
|
@@ -12112,7 +12211,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12112
12211
|
*/},{key:"postConversationsCallParticipants",value:function postConversationsCallParticipants(conversationId,body){// verify the required parameter 'conversationId' is set
|
|
12113
12212
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipants';}// verify the required parameter 'body' is set
|
|
12114
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']);}/**
|
|
12115
|
-
* Add participants to a conversation
|
|
12214
|
+
* Add participants to a conversation on behalf of a user
|
|
12116
12215
|
*
|
|
12117
12216
|
* @param {String} conversationId conversationId
|
|
12118
12217
|
* @param {String} userId userId
|
|
@@ -12436,6 +12535,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12436
12535
|
* @deprecated
|
|
12437
12536
|
*/},{key:"postConversationsMessagesInboundOpen",value:function postConversationsMessagesInboundOpen(body){// verify the required parameter 'body' is set
|
|
12438
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']);}/**
|
|
12439
12543
|
* Create a Facebook Integration
|
|
12440
12544
|
*
|
|
12441
12545
|
* @param {Object} body FacebookIntegrationRequest
|
|
@@ -12624,7 +12728,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12624
12728
|
*
|
|
12625
12729
|
* @param {String} integrationId Integration ID
|
|
12626
12730
|
* @param {Object} body IdentityResolutionConfig
|
|
12627
|
-
* putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
12628
12731
|
*/},{key:"putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId",value:function putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
12629
12732
|
if(integrationId===undefined||integrationId===null||integrationId===''){throw'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';}// verify the required parameter 'body' is set
|
|
12630
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']);}/**
|
|
@@ -12702,7 +12805,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
12702
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(){/**
|
|
12703
12806
|
* DataExtensions service.
|
|
12704
12807
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
12705
|
-
* @version
|
|
12808
|
+
* @version 232.0.0
|
|
12706
12809
|
*//**
|
|
12707
12810
|
* Constructs a new DataExtensionsApi.
|
|
12708
12811
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -12723,7 +12826,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
12723
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(){/**
|
|
12724
12827
|
* DataPrivacy service.
|
|
12725
12828
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
12726
|
-
* @version
|
|
12829
|
+
* @version 232.0.0
|
|
12727
12830
|
*//**
|
|
12728
12831
|
* Constructs a new DataPrivacyApi.
|
|
12729
12832
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -12763,7 +12866,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12763
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(){/**
|
|
12764
12867
|
* Downloads service.
|
|
12765
12868
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
12766
|
-
* @version
|
|
12869
|
+
* @version 232.0.0
|
|
12767
12870
|
*//**
|
|
12768
12871
|
* Constructs a new DownloadsApi.
|
|
12769
12872
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -12782,7 +12885,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12782
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(){/**
|
|
12783
12886
|
* Emails service.
|
|
12784
12887
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
12785
|
-
* @version
|
|
12888
|
+
* @version 232.0.0
|
|
12786
12889
|
*//**
|
|
12787
12890
|
* Constructs a new EmailsApi.
|
|
12788
12891
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -12811,7 +12914,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
12811
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(){/**
|
|
12812
12915
|
* EmployeeEngagement service.
|
|
12813
12916
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
12814
|
-
* @version
|
|
12917
|
+
* @version 232.0.0
|
|
12815
12918
|
*//**
|
|
12816
12919
|
* Constructs a new EmployeeEngagementApi.
|
|
12817
12920
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -12849,7 +12952,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12849
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(){/**
|
|
12850
12953
|
* Events service.
|
|
12851
12954
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
12852
|
-
* @version
|
|
12955
|
+
* @version 232.0.0
|
|
12853
12956
|
*//**
|
|
12854
12957
|
* Constructs a new EventsApi.
|
|
12855
12958
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -12874,7 +12977,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12874
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(){/**
|
|
12875
12978
|
* ExternalContacts service.
|
|
12876
12979
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
12877
|
-
* @version
|
|
12980
|
+
* @version 232.0.0
|
|
12878
12981
|
*//**
|
|
12879
12982
|
* Constructs a new ExternalContactsApi.
|
|
12880
12983
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -13624,7 +13727,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
13624
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(){/**
|
|
13625
13728
|
* Fax service.
|
|
13626
13729
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
13627
|
-
* @version
|
|
13730
|
+
* @version 232.0.0
|
|
13628
13731
|
*//**
|
|
13629
13732
|
* Constructs a new FaxApi.
|
|
13630
13733
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -13673,7 +13776,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13673
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(){/**
|
|
13674
13777
|
* Flows service.
|
|
13675
13778
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
13676
|
-
* @version
|
|
13779
|
+
* @version 232.0.0
|
|
13677
13780
|
*//**
|
|
13678
13781
|
* Constructs a new FlowsApi.
|
|
13679
13782
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -13727,7 +13830,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13727
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(){/**
|
|
13728
13831
|
* Gamification service.
|
|
13729
13832
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
13730
|
-
* @version
|
|
13833
|
+
* @version 232.0.0
|
|
13731
13834
|
*//**
|
|
13732
13835
|
* Constructs a new GamificationApi.
|
|
13733
13836
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -14380,7 +14483,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14380
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(){/**
|
|
14381
14484
|
* GeneralDataProtectionRegulation service.
|
|
14382
14485
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
14383
|
-
* @version
|
|
14486
|
+
* @version 232.0.0
|
|
14384
14487
|
*//**
|
|
14385
14488
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
14386
14489
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -14415,7 +14518,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
14415
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(){/**
|
|
14416
14519
|
* Geolocation service.
|
|
14417
14520
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
14418
|
-
* @version
|
|
14521
|
+
* @version 232.0.0
|
|
14419
14522
|
*//**
|
|
14420
14523
|
* Constructs a new GeolocationApi.
|
|
14421
14524
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -14449,7 +14552,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
14449
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(){/**
|
|
14450
14553
|
* Greetings service.
|
|
14451
14554
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
14452
|
-
* @version
|
|
14555
|
+
* @version 232.0.0
|
|
14453
14556
|
*//**
|
|
14454
14557
|
* Constructs a new GreetingsApi.
|
|
14455
14558
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -14577,7 +14680,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
14577
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(){/**
|
|
14578
14681
|
* Groups service.
|
|
14579
14682
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
14580
|
-
* @version
|
|
14683
|
+
* @version 232.0.0
|
|
14581
14684
|
*//**
|
|
14582
14685
|
* Constructs a new GroupsApi.
|
|
14583
14686
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -14710,7 +14813,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
14710
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(){/**
|
|
14711
14814
|
* IdentityProvider service.
|
|
14712
14815
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
14713
|
-
* @version
|
|
14816
|
+
* @version 232.0.0
|
|
14714
14817
|
*//**
|
|
14715
14818
|
* Constructs a new IdentityProviderApi.
|
|
14716
14819
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -14866,7 +14969,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14866
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(){/**
|
|
14867
14970
|
* InfrastructureAsCode service.
|
|
14868
14971
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
14869
|
-
* @version
|
|
14972
|
+
* @version 232.0.0
|
|
14870
14973
|
*//**
|
|
14871
14974
|
* Constructs a new InfrastructureAsCodeApi.
|
|
14872
14975
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -14920,7 +15023,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
14920
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(){/**
|
|
14921
15024
|
* Integrations service.
|
|
14922
15025
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
14923
|
-
* @version
|
|
15026
|
+
* @version 232.0.0
|
|
14924
15027
|
*//**
|
|
14925
15028
|
* Constructs a new IntegrationsApi.
|
|
14926
15029
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -14974,7 +15077,10 @@ if(integrationId===undefined||integrationId===null||integrationId===''){throw'Mi
|
|
|
14974
15077
|
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
14975
15078
|
* @param {String} opts.nextPage next page token
|
|
14976
15079
|
* @param {String} opts.previousPage Previous page token
|
|
14977
|
-
|
|
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']);}/**
|
|
14978
15084
|
* Retrieves a single Action matching id.
|
|
14979
15085
|
*
|
|
14980
15086
|
* @param {String} actionId actionId
|
|
@@ -15607,7 +15713,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
15607
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(){/**
|
|
15608
15714
|
* Journey service.
|
|
15609
15715
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
15610
|
-
* @version
|
|
15716
|
+
* @version 232.0.0
|
|
15611
15717
|
*//**
|
|
15612
15718
|
* Constructs a new JourneyApi.
|
|
15613
15719
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -16116,7 +16222,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
16116
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(){/**
|
|
16117
16223
|
* Knowledge service.
|
|
16118
16224
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
16119
|
-
* @version
|
|
16225
|
+
* @version 232.0.0
|
|
16120
16226
|
*//**
|
|
16121
16227
|
* Constructs a new KnowledgeApi.
|
|
16122
16228
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -17186,7 +17292,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
17186
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(){/**
|
|
17187
17293
|
* LanguageUnderstanding service.
|
|
17188
17294
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
17189
|
-
* @version
|
|
17295
|
+
* @version 232.0.0
|
|
17190
17296
|
*//**
|
|
17191
17297
|
* Constructs a new LanguageUnderstandingApi.
|
|
17192
17298
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -17495,7 +17601,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
17495
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(){/**
|
|
17496
17602
|
* Languages service.
|
|
17497
17603
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
17498
|
-
* @version
|
|
17604
|
+
* @version 232.0.0
|
|
17499
17605
|
*//**
|
|
17500
17606
|
* Constructs a new LanguagesApi.
|
|
17501
17607
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -17550,7 +17656,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17550
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(){/**
|
|
17551
17657
|
* Learning service.
|
|
17552
17658
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
17553
|
-
* @version
|
|
17659
|
+
* @version 232.0.0
|
|
17554
17660
|
*//**
|
|
17555
17661
|
* Constructs a new LearningApi.
|
|
17556
17662
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -17816,12 +17922,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17816
17922
|
* This will update a learning module rule with the specified fields.
|
|
17817
17923
|
* @param {String} moduleId The ID of the learning module
|
|
17818
17924
|
* @param {Object} body The learning module rule to be updated
|
|
17819
|
-
|
|
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
|
|
17820
17928
|
if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the required parameter "moduleId" when calling putLearningModuleRule';}// verify the required parameter 'body' is set
|
|
17821
|
-
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(){/**
|
|
17822
17930
|
* License service.
|
|
17823
17931
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
17824
|
-
* @version
|
|
17932
|
+
* @version 232.0.0
|
|
17825
17933
|
*//**
|
|
17826
17934
|
* Constructs a new LicenseApi.
|
|
17827
17935
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -17875,7 +17983,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
17875
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(){/**
|
|
17876
17984
|
* Locations service.
|
|
17877
17985
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
17878
|
-
* @version
|
|
17986
|
+
* @version 232.0.0
|
|
17879
17987
|
*//**
|
|
17880
17988
|
* Constructs a new LocationsApi.
|
|
17881
17989
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -17934,7 +18042,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17934
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(){/**
|
|
17935
18043
|
* LogCapture service.
|
|
17936
18044
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
17937
|
-
* @version
|
|
18045
|
+
* @version 232.0.0
|
|
17938
18046
|
*//**
|
|
17939
18047
|
* Constructs a new LogCaptureApi.
|
|
17940
18048
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -17983,7 +18091,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17983
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(){/**
|
|
17984
18092
|
* Messaging service.
|
|
17985
18093
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
17986
|
-
* @version
|
|
18094
|
+
* @version 232.0.0
|
|
17987
18095
|
*//**
|
|
17988
18096
|
* Constructs a new MessagingApi.
|
|
17989
18097
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -18073,7 +18181,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18073
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(){/**
|
|
18074
18182
|
* MobileDevices service.
|
|
18075
18183
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
18076
|
-
* @version
|
|
18184
|
+
* @version 232.0.0
|
|
18077
18185
|
*//**
|
|
18078
18186
|
* Constructs a new MobileDevicesApi.
|
|
18079
18187
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -18112,7 +18220,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18112
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(){/**
|
|
18113
18221
|
* Notifications service.
|
|
18114
18222
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
18115
|
-
* @version
|
|
18223
|
+
* @version 232.0.0
|
|
18116
18224
|
*//**
|
|
18117
18225
|
* Constructs a new NotificationsApi.
|
|
18118
18226
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -18169,7 +18277,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
18169
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(){/**
|
|
18170
18278
|
* OAuth service.
|
|
18171
18279
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
18172
|
-
* @version
|
|
18280
|
+
* @version 232.0.0
|
|
18173
18281
|
*//**
|
|
18174
18282
|
* Constructs a new OAuthApi.
|
|
18175
18283
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -18254,7 +18362,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
18254
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(){/**
|
|
18255
18363
|
* Objects service.
|
|
18256
18364
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
18257
|
-
* @version
|
|
18365
|
+
* @version 232.0.0
|
|
18258
18366
|
*//**
|
|
18259
18367
|
* Constructs a new ObjectsApi.
|
|
18260
18368
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -18340,7 +18448,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
18340
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(){/**
|
|
18341
18449
|
* OperationalEvents service.
|
|
18342
18450
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
18343
|
-
* @version
|
|
18451
|
+
* @version 232.0.0
|
|
18344
18452
|
*//**
|
|
18345
18453
|
* Constructs a new OperationalEventsApi.
|
|
18346
18454
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -18371,7 +18479,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
18371
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(){/**
|
|
18372
18480
|
* Organization service.
|
|
18373
18481
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
18374
|
-
* @version
|
|
18482
|
+
* @version 232.0.0
|
|
18375
18483
|
*//**
|
|
18376
18484
|
* Constructs a new OrganizationApi.
|
|
18377
18485
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -18476,7 +18584,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18476
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(){/**
|
|
18477
18585
|
* OrganizationAuthorization service.
|
|
18478
18586
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
18479
|
-
* @version
|
|
18587
|
+
* @version 232.0.0
|
|
18480
18588
|
*//**
|
|
18481
18589
|
* Constructs a new OrganizationAuthorizationApi.
|
|
18482
18590
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -18810,7 +18918,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
18810
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(){/**
|
|
18811
18919
|
* Outbound service.
|
|
18812
18920
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
18813
|
-
* @version
|
|
18921
|
+
* @version 232.0.0
|
|
18814
18922
|
*//**
|
|
18815
18923
|
* Constructs a new OutboundApi.
|
|
18816
18924
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -19961,7 +20069,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19961
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(){/**
|
|
19962
20070
|
* Presence service.
|
|
19963
20071
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
19964
|
-
* @version
|
|
20072
|
+
* @version 232.0.0
|
|
19965
20073
|
*//**
|
|
19966
20074
|
* Constructs a new PresenceApi.
|
|
19967
20075
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -20134,7 +20242,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20134
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(){/**
|
|
20135
20243
|
* ProcessAutomation service.
|
|
20136
20244
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
20137
|
-
* @version
|
|
20245
|
+
* @version 232.0.0
|
|
20138
20246
|
*//**
|
|
20139
20247
|
* Constructs a new ProcessAutomationApi.
|
|
20140
20248
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -20197,7 +20305,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
20197
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(){/**
|
|
20198
20306
|
* Quality service.
|
|
20199
20307
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
20200
|
-
* @version
|
|
20308
|
+
* @version 232.0.0
|
|
20201
20309
|
*//**
|
|
20202
20310
|
* Constructs a new QualityApi.
|
|
20203
20311
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -20371,7 +20479,7 @@ if(transactionId===undefined||transactionId===null||transactionId===''){throw'Mi
|
|
|
20371
20479
|
* @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
|
|
20372
20480
|
* @param {Boolean} opts.includeDeletedUsers Allow returning an agent or evaluator user with a 'delete' status. Defaults to false. (default to false)
|
|
20373
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']);}/**
|
|
20374
|
-
* 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.
|
|
20375
20483
|
*
|
|
20376
20484
|
* @param {Object} opts Optional parameters
|
|
20377
20485
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
@@ -20715,7 +20823,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
20715
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(){/**
|
|
20716
20824
|
* Recording service.
|
|
20717
20825
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
20718
|
-
* @version
|
|
20826
|
+
* @version 232.0.0
|
|
20719
20827
|
*//**
|
|
20720
20828
|
* Constructs a new RecordingApi.
|
|
20721
20829
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -21114,7 +21222,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21114
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(){/**
|
|
21115
21223
|
* ResponseManagement service.
|
|
21116
21224
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
21117
|
-
* @version
|
|
21225
|
+
* @version 232.0.0
|
|
21118
21226
|
*//**
|
|
21119
21227
|
* Constructs a new ResponseManagementApi.
|
|
21120
21228
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -21235,7 +21343,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
21235
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(){/**
|
|
21236
21344
|
* Routing service.
|
|
21237
21345
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
21238
|
-
* @version
|
|
21346
|
+
* @version 232.0.0
|
|
21239
21347
|
*//**
|
|
21240
21348
|
* Constructs a new RoutingApi.
|
|
21241
21349
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -21524,7 +21632,9 @@ if(predictorId===undefined||predictorId===null||predictorId===''){throw'Missing
|
|
|
21524
21632
|
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
21525
21633
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
21526
21634
|
* @param {Array.<String>} opts.queueId Comma-separated list of queue Ids to filter by.
|
|
21527
|
-
|
|
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']);}/**
|
|
21528
21638
|
* Get a list of Key Performance Indicators
|
|
21529
21639
|
*
|
|
21530
21640
|
* @param {Object} opts Optional parameters
|
|
@@ -21542,9 +21652,9 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
21542
21652
|
*
|
|
21543
21653
|
* @param {String} queueId Queue ID
|
|
21544
21654
|
* @param {Object} opts Optional parameters
|
|
21545
|
-
* @param {
|
|
21655
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
21546
21656
|
*/},{key:"getRoutingQueueAssistant",value:function getRoutingQueueAssistant(queueId,opts){opts=opts||{};// verify the required parameter 'queueId' is set
|
|
21547
|
-
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']);}/**
|
|
21548
21658
|
* Get a Comparison Period.
|
|
21549
21659
|
*
|
|
21550
21660
|
* @param {String} queueId Queue id
|
|
@@ -22292,7 +22402,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22292
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(){/**
|
|
22293
22403
|
* SCIM service.
|
|
22294
22404
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
22295
|
-
* @version
|
|
22405
|
+
* @version 232.0.0
|
|
22296
22406
|
*//**
|
|
22297
22407
|
* Constructs a new SCIMApi.
|
|
22298
22408
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -22517,7 +22627,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22517
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(){/**
|
|
22518
22628
|
* ScreenRecording service.
|
|
22519
22629
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
22520
|
-
* @version
|
|
22630
|
+
* @version 232.0.0
|
|
22521
22631
|
*//**
|
|
22522
22632
|
* Constructs a new ScreenRecordingApi.
|
|
22523
22633
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -22532,7 +22642,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22532
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(){/**
|
|
22533
22643
|
* Scripts service.
|
|
22534
22644
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
22535
|
-
* @version
|
|
22645
|
+
* @version 232.0.0
|
|
22536
22646
|
*//**
|
|
22537
22647
|
* Constructs a new ScriptsApi.
|
|
22538
22648
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -22678,7 +22788,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
22678
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(){/**
|
|
22679
22789
|
* Search service.
|
|
22680
22790
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
22681
|
-
* @version
|
|
22791
|
+
* @version 232.0.0
|
|
22682
22792
|
*//**
|
|
22683
22793
|
* Constructs a new SearchApi.
|
|
22684
22794
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -22845,7 +22955,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22845
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(){/**
|
|
22846
22956
|
* Settings service.
|
|
22847
22957
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
22848
|
-
* @version
|
|
22958
|
+
* @version 232.0.0
|
|
22849
22959
|
*//**
|
|
22850
22960
|
* Constructs a new SettingsApi.
|
|
22851
22961
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -22917,7 +23027,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
22917
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(){/**
|
|
22918
23028
|
* SocialMedia service.
|
|
22919
23029
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
22920
|
-
* @version
|
|
23030
|
+
* @version 232.0.0
|
|
22921
23031
|
*//**
|
|
22922
23032
|
* Constructs a new SocialMediaApi.
|
|
22923
23033
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -23330,7 +23440,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23330
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(){/**
|
|
23331
23441
|
* SpeechTextAnalytics service.
|
|
23332
23442
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
23333
|
-
* @version
|
|
23443
|
+
* @version 232.0.0
|
|
23334
23444
|
*//**
|
|
23335
23445
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
23336
23446
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -23699,7 +23809,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23699
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(){/**
|
|
23700
23810
|
* Stations service.
|
|
23701
23811
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
23702
|
-
* @version
|
|
23812
|
+
* @version 232.0.0
|
|
23703
23813
|
*//**
|
|
23704
23814
|
* Constructs a new StationsApi.
|
|
23705
23815
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -23731,7 +23841,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
23731
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(){/**
|
|
23732
23842
|
* Suggest service.
|
|
23733
23843
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
23734
|
-
* @version
|
|
23844
|
+
* @version 232.0.0
|
|
23735
23845
|
*//**
|
|
23736
23846
|
* Constructs a new SuggestApi.
|
|
23737
23847
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -23771,7 +23881,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23771
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(){/**
|
|
23772
23882
|
* TaskManagement service.
|
|
23773
23883
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
23774
|
-
* @version
|
|
23884
|
+
* @version 232.0.0
|
|
23775
23885
|
*//**
|
|
23776
23886
|
* Constructs a new TaskManagementApi.
|
|
23777
23887
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -24279,7 +24389,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
24279
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(){/**
|
|
24280
24390
|
* Teams service.
|
|
24281
24391
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
24282
|
-
* @version
|
|
24392
|
+
* @version 232.0.0
|
|
24283
24393
|
*//**
|
|
24284
24394
|
* Constructs a new TeamsApi.
|
|
24285
24395
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -24359,7 +24469,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24359
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(){/**
|
|
24360
24470
|
* Telephony service.
|
|
24361
24471
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
24362
|
-
* @version
|
|
24472
|
+
* @version 232.0.0
|
|
24363
24473
|
*//**
|
|
24364
24474
|
* Constructs a new TelephonyApi.
|
|
24365
24475
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -24430,7 +24540,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24430
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(){/**
|
|
24431
24541
|
* TelephonyProvidersEdge service.
|
|
24432
24542
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
24433
|
-
* @version
|
|
24543
|
+
* @version 232.0.0
|
|
24434
24544
|
*//**
|
|
24435
24545
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
24436
24546
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -25278,7 +25388,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
25278
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(){/**
|
|
25279
25389
|
* Textbots service.
|
|
25280
25390
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
25281
|
-
* @version
|
|
25391
|
+
* @version 232.0.0
|
|
25282
25392
|
*//**
|
|
25283
25393
|
* Constructs a new TextbotsApi.
|
|
25284
25394
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -25314,7 +25424,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
25314
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(){/**
|
|
25315
25425
|
* Tokens service.
|
|
25316
25426
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
25317
|
-
* @version
|
|
25427
|
+
* @version 232.0.0
|
|
25318
25428
|
*//**
|
|
25319
25429
|
* Constructs a new TokensApi.
|
|
25320
25430
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -25348,7 +25458,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
25348
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(){/**
|
|
25349
25459
|
* Uploads service.
|
|
25350
25460
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
25351
|
-
* @version
|
|
25461
|
+
* @version 232.0.0
|
|
25352
25462
|
*//**
|
|
25353
25463
|
* Constructs a new UploadsApi.
|
|
25354
25464
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -25416,7 +25526,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25416
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(){/**
|
|
25417
25527
|
* Usage service.
|
|
25418
25528
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
25419
|
-
* @version
|
|
25529
|
+
* @version 232.0.0
|
|
25420
25530
|
*//**
|
|
25421
25531
|
* Constructs a new UsageApi.
|
|
25422
25532
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -25500,7 +25610,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25500
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(){/**
|
|
25501
25611
|
* UserRecordings service.
|
|
25502
25612
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
25503
|
-
* @version
|
|
25613
|
+
* @version 232.0.0
|
|
25504
25614
|
*//**
|
|
25505
25615
|
* Constructs a new UserRecordingsApi.
|
|
25506
25616
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -25548,7 +25658,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
25548
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(){/**
|
|
25549
25659
|
* Users service.
|
|
25550
25660
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
25551
|
-
* @version
|
|
25661
|
+
* @version 232.0.0
|
|
25552
25662
|
*//**
|
|
25553
25663
|
* Constructs a new UsersApi.
|
|
25554
25664
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -26292,7 +26402,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
26292
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(){/**
|
|
26293
26403
|
* Utilities service.
|
|
26294
26404
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
26295
|
-
* @version
|
|
26405
|
+
* @version 232.0.0
|
|
26296
26406
|
*//**
|
|
26297
26407
|
* Constructs a new UtilitiesApi.
|
|
26298
26408
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -26319,7 +26429,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26319
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(){/**
|
|
26320
26430
|
* Voicemail service.
|
|
26321
26431
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
26322
|
-
* @version
|
|
26432
|
+
* @version 232.0.0
|
|
26323
26433
|
*//**
|
|
26324
26434
|
* Constructs a new VoicemailApi.
|
|
26325
26435
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -26481,7 +26591,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
26481
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(){/**
|
|
26482
26592
|
* WebChat service.
|
|
26483
26593
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
26484
|
-
* @version
|
|
26594
|
+
* @version 232.0.0
|
|
26485
26595
|
*//**
|
|
26486
26596
|
* Constructs a new WebChatApi.
|
|
26487
26597
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -26504,7 +26614,8 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26504
26614
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling deleteWebchatGuestConversationMember';}// verify the required parameter 'memberId' is set
|
|
26505
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']);}/**
|
|
26506
26616
|
* Remove WebChat deployment settings
|
|
26507
|
-
*
|
|
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
|
|
26508
26619
|
*/},{key:"deleteWebchatSettings",value:function deleteWebchatSettings(){return this.apiClient.callApi('/api/v2/webchat/settings','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26509
26620
|
* Get a WebChat deployment
|
|
26510
26621
|
*
|
|
@@ -26568,7 +26679,8 @@ if(messageId===undefined||messageId===null||messageId===''){throw'Missing the re
|
|
|
26568
26679
|
*/},{key:"getWebchatGuestConversationMessages",value:function getWebchatGuestConversationMessages(conversationId,opts){opts=opts||{};// verify the required parameter 'conversationId' is set
|
|
26569
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']);}/**
|
|
26570
26681
|
* Get WebChat deployment settings
|
|
26571
|
-
*
|
|
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
|
|
26572
26684
|
*/},{key:"getWebchatSettings",value:function getWebchatSettings(){return this.apiClient.callApi('/api/v2/webchat/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26573
26685
|
* Update a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERRORED
|
|
26574
26686
|
* This endpoint is deprecated. Please see the article https://help.genesys.cloud/articles/deprecation-legacy-co-browse-and-screenshare/
|
|
@@ -26619,13 +26731,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26619
26731
|
if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missing the required parameter "deploymentId" when calling putWebchatDeployment';}// verify the required parameter 'body' is set
|
|
26620
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']);}/**
|
|
26621
26733
|
* Update WebChat deployment settings
|
|
26622
|
-
*
|
|
26734
|
+
* This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
|
|
26623
26735
|
* @param {Object} body webChatSettings
|
|
26736
|
+
* @deprecated
|
|
26624
26737
|
*/},{key:"putWebchatSettings",value:function putWebchatSettings(body){// verify the required parameter 'body' is set
|
|
26625
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(){/**
|
|
26626
26739
|
* WebDeployments service.
|
|
26627
26740
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
26628
|
-
* @version
|
|
26741
|
+
* @version 232.0.0
|
|
26629
26742
|
*//**
|
|
26630
26743
|
* Constructs a new WebDeploymentsApi.
|
|
26631
26744
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -26758,7 +26871,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26758
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(){/**
|
|
26759
26872
|
* WebMessaging service.
|
|
26760
26873
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
26761
|
-
* @version
|
|
26874
|
+
* @version 232.0.0
|
|
26762
26875
|
*//**
|
|
26763
26876
|
* Constructs a new WebMessagingApi.
|
|
26764
26877
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -26799,7 +26912,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
26799
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(){/**
|
|
26800
26913
|
* Widgets service.
|
|
26801
26914
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
26802
|
-
* @version
|
|
26915
|
+
* @version 232.0.0
|
|
26803
26916
|
*//**
|
|
26804
26917
|
* Constructs a new WidgetsApi.
|
|
26805
26918
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -26839,7 +26952,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26839
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(){/**
|
|
26840
26953
|
* WorkforceManagement service.
|
|
26841
26954
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
26842
|
-
* @version
|
|
26955
|
+
* @version 232.0.0
|
|
26843
26956
|
*//**
|
|
26844
26957
|
* Constructs a new WorkforceManagementApi.
|
|
26845
26958
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -28066,6 +28179,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28066
28179
|
* @param {Object} body body
|
|
28067
28180
|
*/},{key:"postWorkforcemanagementAgentsMePossibleworkshifts",value:function postWorkforcemanagementAgentsMePossibleworkshifts(body){// verify the required parameter 'body' is set
|
|
28068
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']);}/**
|
|
28069
28190
|
* Get published schedule for the current user
|
|
28070
28191
|
*
|
|
28071
28192
|
* @param {Object} body body
|
|
@@ -28791,7 +28912,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28791
28912
|
* </pre>
|
|
28792
28913
|
* </p>
|
|
28793
28914
|
* @module purecloud-platform-client-v2/index
|
|
28794
|
-
* @version
|
|
28915
|
+
* @version 232.0.0
|
|
28795
28916
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
28796
28917
|
* The ApiClient constructor.
|
|
28797
28918
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -29051,4 +29172,4 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
29051
29172
|
var index=new platformClient();module.exports=index;
|
|
29052
29173
|
|
|
29053
29174
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,require("timers").setImmediate)
|
|
29054
|
-
},{"buffer":
|
|
29175
|
+
},{"buffer":5,"os":44,"path":45,"qs":48,"timers":56}]},{},[]);
|