purecloud-platform-client-v2 232.0.0 → 234.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +327 -974
- package/dist/web-amd/purecloud-platform-client-v2.js +327 -974
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +151 -375
- package/dist/web-cjs/purecloud-platform-client-v2.js +218 -497
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +639 -580
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- 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 +1 -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 +3 -32
- 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 +41 -1
- 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 +11 -5
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +61 -880
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +156 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -31
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +3 -2
- 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 +3 -3
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -1,44 +1,4 @@
|
|
|
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){
|
|
42
2
|
'use strict'
|
|
43
3
|
|
|
44
4
|
exports.byteLength = byteLength
|
|
@@ -190,9 +150,9 @@ function fromByteArray (uint8) {
|
|
|
190
150
|
return parts.join('')
|
|
191
151
|
}
|
|
192
152
|
|
|
193
|
-
},{}],
|
|
153
|
+
},{}],2:[function(require,module,exports){
|
|
194
154
|
|
|
195
|
-
},{}],
|
|
155
|
+
},{}],3:[function(require,module,exports){
|
|
196
156
|
(function (Buffer){(function (){
|
|
197
157
|
/*!
|
|
198
158
|
* The buffer module from node.js, for the browser.
|
|
@@ -1973,7 +1933,7 @@ function numberIsNaN (obj) {
|
|
|
1973
1933
|
}
|
|
1974
1934
|
|
|
1975
1935
|
}).call(this)}).call(this,require("buffer").Buffer)
|
|
1976
|
-
},{"base64-js":
|
|
1936
|
+
},{"base64-js":1,"buffer":3,"ieee754":31}],4:[function(require,module,exports){
|
|
1977
1937
|
'use strict';
|
|
1978
1938
|
|
|
1979
1939
|
var bind = require('function-bind');
|
|
@@ -1985,19 +1945,19 @@ var $reflectApply = require('./reflectApply');
|
|
|
1985
1945
|
/** @type {import('./actualApply')} */
|
|
1986
1946
|
module.exports = $reflectApply || bind.call($call, $apply);
|
|
1987
1947
|
|
|
1988
|
-
},{"./functionApply":
|
|
1948
|
+
},{"./functionApply":5,"./functionCall":6,"./reflectApply":8,"function-bind":21}],5:[function(require,module,exports){
|
|
1989
1949
|
'use strict';
|
|
1990
1950
|
|
|
1991
1951
|
/** @type {import('./functionApply')} */
|
|
1992
1952
|
module.exports = Function.prototype.apply;
|
|
1993
1953
|
|
|
1994
|
-
},{}],
|
|
1954
|
+
},{}],6:[function(require,module,exports){
|
|
1995
1955
|
'use strict';
|
|
1996
1956
|
|
|
1997
1957
|
/** @type {import('./functionCall')} */
|
|
1998
1958
|
module.exports = Function.prototype.call;
|
|
1999
1959
|
|
|
2000
|
-
},{}],
|
|
1960
|
+
},{}],7:[function(require,module,exports){
|
|
2001
1961
|
'use strict';
|
|
2002
1962
|
|
|
2003
1963
|
var bind = require('function-bind');
|
|
@@ -2014,13 +1974,13 @@ module.exports = function callBindBasic(args) {
|
|
|
2014
1974
|
return $actualApply(bind, $call, args);
|
|
2015
1975
|
};
|
|
2016
1976
|
|
|
2017
|
-
},{"./actualApply":
|
|
1977
|
+
},{"./actualApply":4,"./functionCall":6,"es-errors/type":17,"function-bind":21}],8:[function(require,module,exports){
|
|
2018
1978
|
'use strict';
|
|
2019
1979
|
|
|
2020
1980
|
/** @type {import('./reflectApply')} */
|
|
2021
1981
|
module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
|
|
2022
1982
|
|
|
2023
|
-
},{}],
|
|
1983
|
+
},{}],9:[function(require,module,exports){
|
|
2024
1984
|
'use strict';
|
|
2025
1985
|
|
|
2026
1986
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -2041,7 +2001,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
2041
2001
|
return intrinsic;
|
|
2042
2002
|
};
|
|
2043
2003
|
|
|
2044
|
-
},{"call-bind-apply-helpers":
|
|
2004
|
+
},{"call-bind-apply-helpers":7,"get-intrinsic":22}],10:[function(require,module,exports){
|
|
2045
2005
|
'use strict';
|
|
2046
2006
|
|
|
2047
2007
|
var callBind = require('call-bind-apply-helpers');
|
|
@@ -2073,7 +2033,7 @@ module.exports = desc && typeof desc.get === 'function'
|
|
|
2073
2033
|
}
|
|
2074
2034
|
: false;
|
|
2075
2035
|
|
|
2076
|
-
},{"call-bind-apply-helpers":
|
|
2036
|
+
},{"call-bind-apply-helpers":7,"gopd":27}],11:[function(require,module,exports){
|
|
2077
2037
|
'use strict';
|
|
2078
2038
|
|
|
2079
2039
|
/** @type {import('.')} */
|
|
@@ -2089,55 +2049,55 @@ if ($defineProperty) {
|
|
|
2089
2049
|
|
|
2090
2050
|
module.exports = $defineProperty;
|
|
2091
2051
|
|
|
2092
|
-
},{}],
|
|
2052
|
+
},{}],12:[function(require,module,exports){
|
|
2093
2053
|
'use strict';
|
|
2094
2054
|
|
|
2095
2055
|
/** @type {import('./eval')} */
|
|
2096
2056
|
module.exports = EvalError;
|
|
2097
2057
|
|
|
2098
|
-
},{}],
|
|
2058
|
+
},{}],13:[function(require,module,exports){
|
|
2099
2059
|
'use strict';
|
|
2100
2060
|
|
|
2101
2061
|
/** @type {import('.')} */
|
|
2102
2062
|
module.exports = Error;
|
|
2103
2063
|
|
|
2104
|
-
},{}],
|
|
2064
|
+
},{}],14:[function(require,module,exports){
|
|
2105
2065
|
'use strict';
|
|
2106
2066
|
|
|
2107
2067
|
/** @type {import('./range')} */
|
|
2108
2068
|
module.exports = RangeError;
|
|
2109
2069
|
|
|
2110
|
-
},{}],
|
|
2070
|
+
},{}],15:[function(require,module,exports){
|
|
2111
2071
|
'use strict';
|
|
2112
2072
|
|
|
2113
2073
|
/** @type {import('./ref')} */
|
|
2114
2074
|
module.exports = ReferenceError;
|
|
2115
2075
|
|
|
2116
|
-
},{}],
|
|
2076
|
+
},{}],16:[function(require,module,exports){
|
|
2117
2077
|
'use strict';
|
|
2118
2078
|
|
|
2119
2079
|
/** @type {import('./syntax')} */
|
|
2120
2080
|
module.exports = SyntaxError;
|
|
2121
2081
|
|
|
2122
|
-
},{}],
|
|
2082
|
+
},{}],17:[function(require,module,exports){
|
|
2123
2083
|
'use strict';
|
|
2124
2084
|
|
|
2125
2085
|
/** @type {import('./type')} */
|
|
2126
2086
|
module.exports = TypeError;
|
|
2127
2087
|
|
|
2128
|
-
},{}],
|
|
2088
|
+
},{}],18:[function(require,module,exports){
|
|
2129
2089
|
'use strict';
|
|
2130
2090
|
|
|
2131
2091
|
/** @type {import('./uri')} */
|
|
2132
2092
|
module.exports = URIError;
|
|
2133
2093
|
|
|
2134
|
-
},{}],
|
|
2094
|
+
},{}],19:[function(require,module,exports){
|
|
2135
2095
|
'use strict';
|
|
2136
2096
|
|
|
2137
2097
|
/** @type {import('.')} */
|
|
2138
2098
|
module.exports = Object;
|
|
2139
2099
|
|
|
2140
|
-
},{}],
|
|
2100
|
+
},{}],20:[function(require,module,exports){
|
|
2141
2101
|
'use strict';
|
|
2142
2102
|
|
|
2143
2103
|
/* eslint no-invalid-this: 1 */
|
|
@@ -2223,34 +2183,14 @@ module.exports = function bind(that) {
|
|
|
2223
2183
|
return bound;
|
|
2224
2184
|
};
|
|
2225
2185
|
|
|
2226
|
-
},{}],
|
|
2186
|
+
},{}],21:[function(require,module,exports){
|
|
2227
2187
|
'use strict';
|
|
2228
2188
|
|
|
2229
2189
|
var implementation = require('./implementation');
|
|
2230
2190
|
|
|
2231
2191
|
module.exports = Function.prototype.bind || implementation;
|
|
2232
2192
|
|
|
2233
|
-
},{"./implementation":
|
|
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){
|
|
2193
|
+
},{"./implementation":20}],22:[function(require,module,exports){
|
|
2254
2194
|
'use strict';
|
|
2255
2195
|
|
|
2256
2196
|
var undefined;
|
|
@@ -2273,6 +2213,15 @@ var pow = require('math-intrinsics/pow');
|
|
|
2273
2213
|
var round = require('math-intrinsics/round');
|
|
2274
2214
|
var sign = require('math-intrinsics/sign');
|
|
2275
2215
|
|
|
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
|
+
|
|
2276
2225
|
var $gOPD = require('gopd');
|
|
2277
2226
|
var $defineProperty = require('es-define-property');
|
|
2278
2227
|
|
|
@@ -2338,7 +2287,7 @@ var INTRINSICS = {
|
|
|
2338
2287
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
2339
2288
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
2340
2289
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
2341
|
-
'%Function%': Function,
|
|
2290
|
+
'%Function%': $Function,
|
|
2342
2291
|
'%GeneratorFunction%': needsEval,
|
|
2343
2292
|
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
|
|
2344
2293
|
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
|
|
@@ -2404,18 +2353,14 @@ if (getProto) {
|
|
|
2404
2353
|
}
|
|
2405
2354
|
}
|
|
2406
2355
|
|
|
2407
|
-
var getAsyncFunction = require('async-function');
|
|
2408
|
-
var getGeneratorFunction = require('generator-function');
|
|
2409
|
-
var getAsyncGeneratorFunction = require('async-generator-function');
|
|
2410
|
-
|
|
2411
2356
|
var doEval = function doEval(name) {
|
|
2412
2357
|
var value;
|
|
2413
2358
|
if (name === '%AsyncFunction%') {
|
|
2414
|
-
value =
|
|
2359
|
+
value = getEvalledConstructor('async function () {}');
|
|
2415
2360
|
} else if (name === '%GeneratorFunction%') {
|
|
2416
|
-
value =
|
|
2361
|
+
value = getEvalledConstructor('function* () {}');
|
|
2417
2362
|
} else if (name === '%AsyncGeneratorFunction%') {
|
|
2418
|
-
value =
|
|
2363
|
+
value = getEvalledConstructor('async function* () {}');
|
|
2419
2364
|
} else if (name === '%AsyncGenerator%') {
|
|
2420
2365
|
var fn = doEval('%AsyncGeneratorFunction%');
|
|
2421
2366
|
if (fn) {
|
|
@@ -2625,7 +2570,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
2625
2570
|
return value;
|
|
2626
2571
|
};
|
|
2627
2572
|
|
|
2628
|
-
},{"
|
|
2573
|
+
},{"call-bind-apply-helpers/functionApply":5,"call-bind-apply-helpers/functionCall":6,"es-define-property":11,"es-errors":13,"es-errors/eval":12,"es-errors/range":14,"es-errors/ref":15,"es-errors/syntax":16,"es-errors/type":17,"es-errors/uri":18,"es-object-atoms":19,"function-bind":21,"get-proto":25,"get-proto/Object.getPrototypeOf":23,"get-proto/Reflect.getPrototypeOf":24,"gopd":27,"has-symbols":28,"hasown":30,"math-intrinsics/abs":32,"math-intrinsics/floor":33,"math-intrinsics/max":35,"math-intrinsics/min":36,"math-intrinsics/pow":37,"math-intrinsics/round":38,"math-intrinsics/sign":39}],23:[function(require,module,exports){
|
|
2629
2574
|
'use strict';
|
|
2630
2575
|
|
|
2631
2576
|
var $Object = require('es-object-atoms');
|
|
@@ -2633,13 +2578,13 @@ var $Object = require('es-object-atoms');
|
|
|
2633
2578
|
/** @type {import('./Object.getPrototypeOf')} */
|
|
2634
2579
|
module.exports = $Object.getPrototypeOf || null;
|
|
2635
2580
|
|
|
2636
|
-
},{"es-object-atoms":
|
|
2581
|
+
},{"es-object-atoms":19}],24:[function(require,module,exports){
|
|
2637
2582
|
'use strict';
|
|
2638
2583
|
|
|
2639
2584
|
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
2640
2585
|
module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
|
|
2641
2586
|
|
|
2642
|
-
},{}],
|
|
2587
|
+
},{}],25:[function(require,module,exports){
|
|
2643
2588
|
'use strict';
|
|
2644
2589
|
|
|
2645
2590
|
var reflectGetProto = require('./Reflect.getPrototypeOf');
|
|
@@ -2668,13 +2613,13 @@ module.exports = reflectGetProto
|
|
|
2668
2613
|
}
|
|
2669
2614
|
: null;
|
|
2670
2615
|
|
|
2671
|
-
},{"./Object.getPrototypeOf":
|
|
2616
|
+
},{"./Object.getPrototypeOf":23,"./Reflect.getPrototypeOf":24,"dunder-proto/get":10}],26:[function(require,module,exports){
|
|
2672
2617
|
'use strict';
|
|
2673
2618
|
|
|
2674
2619
|
/** @type {import('./gOPD')} */
|
|
2675
2620
|
module.exports = Object.getOwnPropertyDescriptor;
|
|
2676
2621
|
|
|
2677
|
-
},{}],
|
|
2622
|
+
},{}],27:[function(require,module,exports){
|
|
2678
2623
|
'use strict';
|
|
2679
2624
|
|
|
2680
2625
|
/** @type {import('.')} */
|
|
@@ -2691,7 +2636,7 @@ if ($gOPD) {
|
|
|
2691
2636
|
|
|
2692
2637
|
module.exports = $gOPD;
|
|
2693
2638
|
|
|
2694
|
-
},{"./gOPD":
|
|
2639
|
+
},{"./gOPD":26}],28:[function(require,module,exports){
|
|
2695
2640
|
'use strict';
|
|
2696
2641
|
|
|
2697
2642
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -2707,7 +2652,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
2707
2652
|
return hasSymbolSham();
|
|
2708
2653
|
};
|
|
2709
2654
|
|
|
2710
|
-
},{"./shams":
|
|
2655
|
+
},{"./shams":29}],29:[function(require,module,exports){
|
|
2711
2656
|
'use strict';
|
|
2712
2657
|
|
|
2713
2658
|
/** @type {import('./shams')} */
|
|
@@ -2754,7 +2699,7 @@ module.exports = function hasSymbols() {
|
|
|
2754
2699
|
return true;
|
|
2755
2700
|
};
|
|
2756
2701
|
|
|
2757
|
-
},{}],
|
|
2702
|
+
},{}],30:[function(require,module,exports){
|
|
2758
2703
|
'use strict';
|
|
2759
2704
|
|
|
2760
2705
|
var call = Function.prototype.call;
|
|
@@ -2764,7 +2709,7 @@ var bind = require('function-bind');
|
|
|
2764
2709
|
/** @type {import('.')} */
|
|
2765
2710
|
module.exports = bind.call(call, $hasOwn);
|
|
2766
2711
|
|
|
2767
|
-
},{"function-bind":
|
|
2712
|
+
},{"function-bind":21}],31:[function(require,module,exports){
|
|
2768
2713
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2769
2714
|
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
2770
2715
|
var e, m
|
|
@@ -2851,19 +2796,19 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
2851
2796
|
buffer[offset + i - d] |= s * 128
|
|
2852
2797
|
}
|
|
2853
2798
|
|
|
2854
|
-
},{}],
|
|
2799
|
+
},{}],32:[function(require,module,exports){
|
|
2855
2800
|
'use strict';
|
|
2856
2801
|
|
|
2857
2802
|
/** @type {import('./abs')} */
|
|
2858
2803
|
module.exports = Math.abs;
|
|
2859
2804
|
|
|
2860
|
-
},{}],
|
|
2805
|
+
},{}],33:[function(require,module,exports){
|
|
2861
2806
|
'use strict';
|
|
2862
2807
|
|
|
2863
2808
|
/** @type {import('./floor')} */
|
|
2864
2809
|
module.exports = Math.floor;
|
|
2865
2810
|
|
|
2866
|
-
},{}],
|
|
2811
|
+
},{}],34:[function(require,module,exports){
|
|
2867
2812
|
'use strict';
|
|
2868
2813
|
|
|
2869
2814
|
/** @type {import('./isNaN')} */
|
|
@@ -2871,31 +2816,31 @@ module.exports = Number.isNaN || function isNaN(a) {
|
|
|
2871
2816
|
return a !== a;
|
|
2872
2817
|
};
|
|
2873
2818
|
|
|
2874
|
-
},{}],
|
|
2819
|
+
},{}],35:[function(require,module,exports){
|
|
2875
2820
|
'use strict';
|
|
2876
2821
|
|
|
2877
2822
|
/** @type {import('./max')} */
|
|
2878
2823
|
module.exports = Math.max;
|
|
2879
2824
|
|
|
2880
|
-
},{}],
|
|
2825
|
+
},{}],36:[function(require,module,exports){
|
|
2881
2826
|
'use strict';
|
|
2882
2827
|
|
|
2883
2828
|
/** @type {import('./min')} */
|
|
2884
2829
|
module.exports = Math.min;
|
|
2885
2830
|
|
|
2886
|
-
},{}],
|
|
2831
|
+
},{}],37:[function(require,module,exports){
|
|
2887
2832
|
'use strict';
|
|
2888
2833
|
|
|
2889
2834
|
/** @type {import('./pow')} */
|
|
2890
2835
|
module.exports = Math.pow;
|
|
2891
2836
|
|
|
2892
|
-
},{}],
|
|
2837
|
+
},{}],38:[function(require,module,exports){
|
|
2893
2838
|
'use strict';
|
|
2894
2839
|
|
|
2895
2840
|
/** @type {import('./round')} */
|
|
2896
2841
|
module.exports = Math.round;
|
|
2897
2842
|
|
|
2898
|
-
},{}],
|
|
2843
|
+
},{}],39:[function(require,module,exports){
|
|
2899
2844
|
'use strict';
|
|
2900
2845
|
|
|
2901
2846
|
var $isNaN = require('./isNaN');
|
|
@@ -2908,7 +2853,7 @@ module.exports = function sign(number) {
|
|
|
2908
2853
|
return number < 0 ? -1 : +1;
|
|
2909
2854
|
};
|
|
2910
2855
|
|
|
2911
|
-
},{"./isNaN":
|
|
2856
|
+
},{"./isNaN":34}],40:[function(require,module,exports){
|
|
2912
2857
|
(function (global){(function (){
|
|
2913
2858
|
var hasMap = typeof Map === 'function' && Map.prototype;
|
|
2914
2859
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
|
@@ -3456,7 +3401,7 @@ function arrObjKeys(obj, inspect) {
|
|
|
3456
3401
|
}
|
|
3457
3402
|
|
|
3458
3403
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
3459
|
-
},{"./util.inspect":
|
|
3404
|
+
},{"./util.inspect":2}],41:[function(require,module,exports){
|
|
3460
3405
|
exports.endianness = function () { return 'LE' };
|
|
3461
3406
|
|
|
3462
3407
|
exports.hostname = function () {
|
|
@@ -3507,7 +3452,7 @@ exports.homedir = function () {
|
|
|
3507
3452
|
return '/'
|
|
3508
3453
|
};
|
|
3509
3454
|
|
|
3510
|
-
},{}],
|
|
3455
|
+
},{}],42:[function(require,module,exports){
|
|
3511
3456
|
(function (process){(function (){
|
|
3512
3457
|
// 'path' module extracted from Node.js v8.11.1 (only the posix part)
|
|
3513
3458
|
// transplited with Babel
|
|
@@ -4040,7 +3985,7 @@ posix.posix = posix;
|
|
|
4040
3985
|
module.exports = posix;
|
|
4041
3986
|
|
|
4042
3987
|
}).call(this)}).call(this,require('_process'))
|
|
4043
|
-
},{"_process":
|
|
3988
|
+
},{"_process":43}],43:[function(require,module,exports){
|
|
4044
3989
|
// shim for using process in browser
|
|
4045
3990
|
var process = module.exports = {};
|
|
4046
3991
|
|
|
@@ -4226,7 +4171,7 @@ process.chdir = function (dir) {
|
|
|
4226
4171
|
};
|
|
4227
4172
|
process.umask = function() { return 0; };
|
|
4228
4173
|
|
|
4229
|
-
},{}],
|
|
4174
|
+
},{}],44:[function(require,module,exports){
|
|
4230
4175
|
'use strict';
|
|
4231
4176
|
|
|
4232
4177
|
var replace = String.prototype.replace;
|
|
@@ -4251,7 +4196,7 @@ module.exports = {
|
|
|
4251
4196
|
RFC3986: Format.RFC3986
|
|
4252
4197
|
};
|
|
4253
4198
|
|
|
4254
|
-
},{}],
|
|
4199
|
+
},{}],45:[function(require,module,exports){
|
|
4255
4200
|
'use strict';
|
|
4256
4201
|
|
|
4257
4202
|
var stringify = require('./stringify');
|
|
@@ -4264,7 +4209,7 @@ module.exports = {
|
|
|
4264
4209
|
stringify: stringify
|
|
4265
4210
|
};
|
|
4266
4211
|
|
|
4267
|
-
},{"./formats":
|
|
4212
|
+
},{"./formats":44,"./parse":46,"./stringify":47}],46:[function(require,module,exports){
|
|
4268
4213
|
'use strict';
|
|
4269
4214
|
|
|
4270
4215
|
var utils = require('./utils');
|
|
@@ -4594,7 +4539,7 @@ module.exports = function (str, opts) {
|
|
|
4594
4539
|
return utils.compact(obj);
|
|
4595
4540
|
};
|
|
4596
4541
|
|
|
4597
|
-
},{"./utils":
|
|
4542
|
+
},{"./utils":48}],47:[function(require,module,exports){
|
|
4598
4543
|
'use strict';
|
|
4599
4544
|
|
|
4600
4545
|
var getSideChannel = require('side-channel');
|
|
@@ -4952,7 +4897,7 @@ module.exports = function (object, opts) {
|
|
|
4952
4897
|
return joined.length > 0 ? prefix + joined : '';
|
|
4953
4898
|
};
|
|
4954
4899
|
|
|
4955
|
-
},{"./formats":
|
|
4900
|
+
},{"./formats":44,"./utils":48,"side-channel":52}],48:[function(require,module,exports){
|
|
4956
4901
|
'use strict';
|
|
4957
4902
|
|
|
4958
4903
|
var formats = require('./formats');
|
|
@@ -5222,7 +5167,7 @@ module.exports = {
|
|
|
5222
5167
|
merge: merge
|
|
5223
5168
|
};
|
|
5224
5169
|
|
|
5225
|
-
},{"./formats":
|
|
5170
|
+
},{"./formats":44}],49:[function(require,module,exports){
|
|
5226
5171
|
'use strict';
|
|
5227
5172
|
|
|
5228
5173
|
var inspect = require('object-inspect');
|
|
@@ -5337,7 +5282,7 @@ module.exports = function getSideChannelList() {
|
|
|
5337
5282
|
return channel;
|
|
5338
5283
|
};
|
|
5339
5284
|
|
|
5340
|
-
},{"es-errors/type":
|
|
5285
|
+
},{"es-errors/type":17,"object-inspect":40}],50:[function(require,module,exports){
|
|
5341
5286
|
'use strict';
|
|
5342
5287
|
|
|
5343
5288
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -5407,7 +5352,7 @@ module.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function g
|
|
|
5407
5352
|
return channel;
|
|
5408
5353
|
};
|
|
5409
5354
|
|
|
5410
|
-
},{"call-bound":
|
|
5355
|
+
},{"call-bound":9,"es-errors/type":17,"get-intrinsic":22,"object-inspect":40}],51:[function(require,module,exports){
|
|
5411
5356
|
'use strict';
|
|
5412
5357
|
|
|
5413
5358
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -5493,7 +5438,7 @@ module.exports = $WeakMap
|
|
|
5493
5438
|
}
|
|
5494
5439
|
: getSideChannelMap;
|
|
5495
5440
|
|
|
5496
|
-
},{"call-bound":
|
|
5441
|
+
},{"call-bound":9,"es-errors/type":17,"get-intrinsic":22,"object-inspect":40,"side-channel-map":50}],52:[function(require,module,exports){
|
|
5497
5442
|
'use strict';
|
|
5498
5443
|
|
|
5499
5444
|
var $TypeError = require('es-errors/type');
|
|
@@ -5538,7 +5483,7 @@ module.exports = function getSideChannel() {
|
|
|
5538
5483
|
return channel;
|
|
5539
5484
|
};
|
|
5540
5485
|
|
|
5541
|
-
},{"es-errors/type":
|
|
5486
|
+
},{"es-errors/type":17,"object-inspect":40,"side-channel-list":49,"side-channel-map":50,"side-channel-weakmap":51}],53:[function(require,module,exports){
|
|
5542
5487
|
(function (setImmediate,clearImmediate){(function (){
|
|
5543
5488
|
var nextTick = require('process/browser.js').nextTick;
|
|
5544
5489
|
var apply = Function.prototype.apply;
|
|
@@ -5617,7 +5562,7 @@ exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate :
|
|
|
5617
5562
|
delete immediateIds[id];
|
|
5618
5563
|
};
|
|
5619
5564
|
}).call(this)}).call(this,require("timers").setImmediate,require("timers").clearImmediate)
|
|
5620
|
-
},{"process/browser.js":
|
|
5565
|
+
},{"process/browser.js":43,"timers":53}],"platformClient":[function(require,module,exports){
|
|
5621
5566
|
(function (global,Buffer,setImmediate){(function (){
|
|
5622
5567
|
'use strict';function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e};}};}throw new TypeError(_typeof(e)+" is not iterable");}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i["return"])&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},_regeneratorDefine2(e,r,n,t);}function _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
|
|
5623
5568
|
// based off https://github.com/defunctzombie/node-process/blob/master/browser.js
|
|
@@ -6532,7 +6477,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6532
6477
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6533
6478
|
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];}}}]);}();/**
|
|
6534
6479
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6535
|
-
* @version
|
|
6480
|
+
* @version 234.0.0
|
|
6536
6481
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6537
6482
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6538
6483
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6878,7 +6823,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6878
6823
|
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(){/**
|
|
6879
6824
|
* AIStudio service.
|
|
6880
6825
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
6881
|
-
* @version
|
|
6826
|
+
* @version 234.0.0
|
|
6882
6827
|
*//**
|
|
6883
6828
|
* Constructs a new AIStudioApi.
|
|
6884
6829
|
* @alias module:purecloud-platform-client-v2/api/AIStudioApi
|
|
@@ -7029,7 +6974,7 @@ if(summarySettingId===undefined||summarySettingId===null||summarySettingId==='')
|
|
|
7029
6974
|
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(){/**
|
|
7030
6975
|
* AgentAssistants service.
|
|
7031
6976
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
7032
|
-
* @version
|
|
6977
|
+
* @version 234.0.0
|
|
7033
6978
|
*//**
|
|
7034
6979
|
* Constructs a new AgentAssistantsApi.
|
|
7035
6980
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -7160,7 +7105,7 @@ if(queueId===undefined||queueId===null||queueId===''){throw'Missing the required
|
|
|
7160
7105
|
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(){/**
|
|
7161
7106
|
* AgentCopilot service.
|
|
7162
7107
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
7163
|
-
* @version
|
|
7108
|
+
* @version 234.0.0
|
|
7164
7109
|
*//**
|
|
7165
7110
|
* Constructs a new AgentCopilotApi.
|
|
7166
7111
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -7187,7 +7132,7 @@ if(assistantId===undefined||assistantId===null||assistantId===''){throw'Missing
|
|
|
7187
7132
|
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(){/**
|
|
7188
7133
|
* AgentUI service.
|
|
7189
7134
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
7190
|
-
* @version
|
|
7135
|
+
* @version 234.0.0
|
|
7191
7136
|
*//**
|
|
7192
7137
|
* Constructs a new AgentUIApi.
|
|
7193
7138
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -7221,7 +7166,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
7221
7166
|
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(){/**
|
|
7222
7167
|
* Alerting service.
|
|
7223
7168
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
7224
|
-
* @version
|
|
7169
|
+
* @version 234.0.0
|
|
7225
7170
|
*//**
|
|
7226
7171
|
* Constructs a new AlertingApi.
|
|
7227
7172
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -7310,7 +7255,7 @@ if(ruleId===undefined||ruleId===null||ruleId===''){throw'Missing the required pa
|
|
|
7310
7255
|
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(){/**
|
|
7311
7256
|
* Analytics service.
|
|
7312
7257
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
7313
|
-
* @version
|
|
7258
|
+
* @version 234.0.0
|
|
7314
7259
|
*//**
|
|
7315
7260
|
* Constructs a new AnalyticsApi.
|
|
7316
7261
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -8086,7 +8031,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8086
8031
|
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(){/**
|
|
8087
8032
|
* Architect service.
|
|
8088
8033
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
8089
|
-
* @version
|
|
8034
|
+
* @version 234.0.0
|
|
8090
8035
|
*//**
|
|
8091
8036
|
* Constructs a new ArchitectApi.
|
|
8092
8037
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -9220,7 +9165,7 @@ if(milestoneId===undefined||milestoneId===null||milestoneId===''){throw'Missing
|
|
|
9220
9165
|
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(){/**
|
|
9221
9166
|
* Audit service.
|
|
9222
9167
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
9223
|
-
* @version
|
|
9168
|
+
* @version 234.0.0
|
|
9224
9169
|
*//**
|
|
9225
9170
|
* Constructs a new AuditApi.
|
|
9226
9171
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -9270,7 +9215,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9270
9215
|
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(){/**
|
|
9271
9216
|
* Authorization service.
|
|
9272
9217
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
9273
|
-
* @version
|
|
9218
|
+
* @version 234.0.0
|
|
9274
9219
|
*//**
|
|
9275
9220
|
* Constructs a new AuthorizationApi.
|
|
9276
9221
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -9705,7 +9650,7 @@ if(subjectId===undefined||subjectId===null||subjectId===''){throw'Missing the re
|
|
|
9705
9650
|
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(){/**
|
|
9706
9651
|
* Billing service.
|
|
9707
9652
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9708
|
-
* @version
|
|
9653
|
+
* @version 234.0.0
|
|
9709
9654
|
*//**
|
|
9710
9655
|
* Constructs a new BillingApi.
|
|
9711
9656
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -9782,7 +9727,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
9782
9727
|
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(){/**
|
|
9783
9728
|
* BusinessRules service.
|
|
9784
9729
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
9785
|
-
* @version
|
|
9730
|
+
* @version 234.0.0
|
|
9786
9731
|
*//**
|
|
9787
9732
|
* Constructs a new BusinessRulesApi.
|
|
9788
9733
|
* @alias module:purecloud-platform-client-v2/api/BusinessRulesApi
|
|
@@ -9795,14 +9740,12 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
9795
9740
|
* @param {String} tableId Table ID
|
|
9796
9741
|
* @param {Object} opts Optional parameters
|
|
9797
9742
|
* @param {Boolean} opts.forceDelete Force delete decision table (under certain conditions) (default to false)
|
|
9798
|
-
* deleteBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9799
9743
|
*/return _createClass(BusinessRulesApi,[{key:"deleteBusinessrulesDecisiontable",value:function deleteBusinessrulesDecisiontable(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
9800
9744
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','DELETE',{'tableId':tableId},{'forceDelete':opts['forceDelete']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9801
9745
|
* Delete a decision table version
|
|
9802
9746
|
*
|
|
9803
9747
|
* @param {String} tableId Table ID
|
|
9804
9748
|
* @param {Number} tableVersion Table Version
|
|
9805
|
-
* deleteBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9806
9749
|
*/},{key:"deleteBusinessrulesDecisiontableVersion",value:function deleteBusinessrulesDecisiontableVersion(tableId,tableVersion){// verify the required parameter 'tableId' is set
|
|
9807
9750
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersion';}// verify the required parameter 'tableVersion' is set
|
|
9808
9751
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersion';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}','DELETE',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -9811,7 +9754,6 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
|
|
|
9811
9754
|
* @param {String} tableId Table ID
|
|
9812
9755
|
* @param {Number} tableVersion Table Version
|
|
9813
9756
|
* @param {String} rowId Row ID
|
|
9814
|
-
* deleteBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9815
9757
|
*/},{key:"deleteBusinessrulesDecisiontableVersionRow",value:function deleteBusinessrulesDecisiontableVersionRow(tableId,tableVersion,rowId){// verify the required parameter 'tableId' is set
|
|
9816
9758
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling deleteBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'tableVersion' is set
|
|
9817
9759
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling deleteBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'rowId' is set
|
|
@@ -9819,20 +9761,17 @@ if(rowId===undefined||rowId===null||rowId===''){throw'Missing the required param
|
|
|
9819
9761
|
* Delete a schema
|
|
9820
9762
|
*
|
|
9821
9763
|
* @param {String} schemaId Schema ID
|
|
9822
|
-
* deleteBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9823
9764
|
*/},{key:"deleteBusinessrulesSchema",value:function deleteBusinessrulesSchema(schemaId){// verify the required parameter 'schemaId' is set
|
|
9824
9765
|
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling deleteBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','DELETE',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9825
9766
|
* Get a decision table
|
|
9826
9767
|
*
|
|
9827
9768
|
* @param {String} tableId Table ID
|
|
9828
|
-
* getBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9829
9769
|
*/},{key:"getBusinessrulesDecisiontable",value:function getBusinessrulesDecisiontable(tableId){// verify the required parameter 'tableId' is set
|
|
9830
9770
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','GET',{'tableId':tableId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9831
9771
|
* Get a decision table version
|
|
9832
9772
|
*
|
|
9833
9773
|
* @param {String} tableId Table ID
|
|
9834
9774
|
* @param {Number} tableVersion Table Version
|
|
9835
|
-
* getBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9836
9775
|
*/},{key:"getBusinessrulesDecisiontableVersion",value:function getBusinessrulesDecisiontableVersion(tableId,tableVersion){// verify the required parameter 'tableId' is set
|
|
9837
9776
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersion';}// verify the required parameter 'tableVersion' is set
|
|
9838
9777
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersion';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}','GET',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -9841,7 +9780,6 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
|
|
|
9841
9780
|
* @param {String} tableId Table ID
|
|
9842
9781
|
* @param {Number} tableVersion Table Version
|
|
9843
9782
|
* @param {String} rowId Row ID
|
|
9844
|
-
* getBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9845
9783
|
*/},{key:"getBusinessrulesDecisiontableVersionRow",value:function getBusinessrulesDecisiontableVersionRow(tableId,tableVersion,rowId){// verify the required parameter 'tableId' is set
|
|
9846
9784
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'tableVersion' is set
|
|
9847
9785
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'rowId' is set
|
|
@@ -9853,7 +9791,6 @@ if(rowId===undefined||rowId===null||rowId===''){throw'Missing the required param
|
|
|
9853
9791
|
* @param {Object} opts Optional parameters
|
|
9854
9792
|
* @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
|
|
9855
9793
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
|
|
9856
|
-
* getBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9857
9794
|
*/},{key:"getBusinessrulesDecisiontableVersionRows",value:function getBusinessrulesDecisiontableVersionRows(tableId,tableVersion,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
9858
9795
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'tableVersion' is set
|
|
9859
9796
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling getBusinessrulesDecisiontableVersionRows';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/rows','GET',{'tableId':tableId,'tableVersion':tableVersion},{'pageNumber':opts['pageNumber'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -9863,7 +9800,6 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
|
|
|
9863
9800
|
* @param {Object} opts Optional parameters
|
|
9864
9801
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
9865
9802
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
9866
|
-
* getBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9867
9803
|
*/},{key:"getBusinessrulesDecisiontableVersions",value:function getBusinessrulesDecisiontableVersions(tableId,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
9868
9804
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling getBusinessrulesDecisiontableVersions';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions','GET',{'tableId':tableId},{'after':opts['after'],'pageSize':opts['pageSize']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9869
9805
|
* Get a list of decision tables.
|
|
@@ -9873,7 +9809,6 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
|
|
|
9873
9809
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
9874
9810
|
* @param {Array.<String>} opts.divisionIds One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned.
|
|
9875
9811
|
* @param {String} opts.name Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name.
|
|
9876
|
-
* getBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9877
9812
|
*/},{key:"getBusinessrulesDecisiontables",value:function getBusinessrulesDecisiontables(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/businessrules/decisiontables','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'divisionIds':this.apiClient.buildCollectionParam(opts['divisionIds'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9878
9813
|
* Search for decision tables.
|
|
9879
9814
|
*
|
|
@@ -9885,33 +9820,27 @@ if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required
|
|
|
9885
9820
|
* @param {Boolean} opts.withPublishedVersion Filters results to only decision tables that have at least one version in Published status
|
|
9886
9821
|
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
9887
9822
|
* @param {Array.<String>} opts.ids Decision table IDs to search for
|
|
9888
|
-
* getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9889
9823
|
*/},{key:"getBusinessrulesDecisiontablesSearch",value:function getBusinessrulesDecisiontablesSearch(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/businessrules/decisiontables/search','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'schemaId':opts['schemaId'],'name':opts['name'],'withPublishedVersion':opts['withPublishedVersion'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9890
9824
|
* Get a schema
|
|
9891
9825
|
*
|
|
9892
9826
|
* @param {String} schemaId Schema ID
|
|
9893
|
-
* getBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9894
9827
|
*/},{key:"getBusinessrulesSchema",value:function getBusinessrulesSchema(schemaId){// verify the required parameter 'schemaId' is set
|
|
9895
9828
|
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling getBusinessrulesSchema';}return this.apiClient.callApi('/api/v2/businessrules/schemas/{schemaId}','GET',{'schemaId':schemaId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9896
9829
|
* Get a list of schemas.
|
|
9897
9830
|
*
|
|
9898
|
-
* getBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9899
9831
|
*/},{key:"getBusinessrulesSchemas",value:function getBusinessrulesSchemas(){return this.apiClient.callApi('/api/v2/businessrules/schemas','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9900
9832
|
* Get a specific named core type.
|
|
9901
9833
|
*
|
|
9902
9834
|
* @param {String} coreTypeName The core type's name
|
|
9903
|
-
* getBusinessrulesSchemasCoretype is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9904
9835
|
*/},{key:"getBusinessrulesSchemasCoretype",value:function getBusinessrulesSchemasCoretype(coreTypeName){// verify the required parameter 'coreTypeName' is set
|
|
9905
9836
|
if(coreTypeName===undefined||coreTypeName===null||coreTypeName===''){throw'Missing the required parameter "coreTypeName" when calling getBusinessrulesSchemasCoretype';}return this.apiClient.callApi('/api/v2/businessrules/schemas/coretypes/{coreTypeName}','GET',{'coreTypeName':coreTypeName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9906
9837
|
* Get the core types from which all schemas are built.
|
|
9907
9838
|
*
|
|
9908
|
-
* getBusinessrulesSchemasCoretypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9909
9839
|
*/},{key:"getBusinessrulesSchemasCoretypes",value:function getBusinessrulesSchemasCoretypes(){return this.apiClient.callApi('/api/v2/businessrules/schemas/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9910
9840
|
* Update a decision table
|
|
9911
9841
|
*
|
|
9912
9842
|
* @param {String} tableId Table ID
|
|
9913
9843
|
* @param {Object} body Decision Table
|
|
9914
|
-
* patchBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9915
9844
|
*/},{key:"patchBusinessrulesDecisiontable",value:function patchBusinessrulesDecisiontable(tableId,body){// verify the required parameter 'tableId' is set
|
|
9916
9845
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontable';}// verify the required parameter 'body' is set
|
|
9917
9846
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchBusinessrulesDecisiontable';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}','PATCH',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -9920,7 +9849,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9920
9849
|
* @param {String} tableId Table ID
|
|
9921
9850
|
* @param {Number} tableVersion Table Version
|
|
9922
9851
|
* @param {Object} body Decision Table
|
|
9923
|
-
* patchBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9924
9852
|
*/},{key:"patchBusinessrulesDecisiontableVersion",value:function patchBusinessrulesDecisiontableVersion(tableId,tableVersion,body){// verify the required parameter 'tableId' is set
|
|
9925
9853
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling patchBusinessrulesDecisiontableVersion';}// verify the required parameter 'tableVersion' is set
|
|
9926
9854
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling patchBusinessrulesDecisiontableVersion';}// verify the required parameter 'body' is set
|
|
@@ -9929,7 +9857,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9929
9857
|
*
|
|
9930
9858
|
* @param {String} tableId Table ID
|
|
9931
9859
|
* @param {Object} body Decision Table
|
|
9932
|
-
* postBusinessrulesDecisiontableExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9933
9860
|
*/},{key:"postBusinessrulesDecisiontableExecute",value:function postBusinessrulesDecisiontableExecute(tableId,body){// verify the required parameter 'tableId' is set
|
|
9934
9861
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableExecute';}// verify the required parameter 'body' is set
|
|
9935
9862
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontableExecute';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/execute','POST',{'tableId':tableId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -9938,7 +9865,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9938
9865
|
* @param {String} tableId Table ID
|
|
9939
9866
|
* @param {Number} tableVersion Table Version
|
|
9940
9867
|
* @param {Object} body Decision Table
|
|
9941
|
-
* postBusinessrulesDecisiontableVersionCopy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9942
9868
|
*/},{key:"postBusinessrulesDecisiontableVersionCopy",value:function postBusinessrulesDecisiontableVersionCopy(tableId,tableVersion,body){// verify the required parameter 'tableId' is set
|
|
9943
9869
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionCopy';}// verify the required parameter 'tableVersion' is set
|
|
9944
9870
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionCopy';}// verify the required parameter 'body' is set
|
|
@@ -9948,7 +9874,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9948
9874
|
* @param {String} tableId Table ID
|
|
9949
9875
|
* @param {Number} tableVersion Table Version
|
|
9950
9876
|
* @param {Object} body Decision Table
|
|
9951
|
-
* postBusinessrulesDecisiontableVersionExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9952
9877
|
*/},{key:"postBusinessrulesDecisiontableVersionExecute",value:function postBusinessrulesDecisiontableVersionExecute(tableId,tableVersion,body){// verify the required parameter 'tableId' is set
|
|
9953
9878
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionExecute';}// verify the required parameter 'tableVersion' is set
|
|
9954
9879
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionExecute';}// verify the required parameter 'body' is set
|
|
@@ -9958,7 +9883,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9958
9883
|
* @param {String} tableId Table ID
|
|
9959
9884
|
* @param {Number} tableVersion Table Version
|
|
9960
9885
|
* @param {Object} body Create decision table row request
|
|
9961
|
-
* postBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9962
9886
|
*/},{key:"postBusinessrulesDecisiontableVersionRows",value:function postBusinessrulesDecisiontableVersionRows(tableId,tableVersion,body){// verify the required parameter 'tableId' is set
|
|
9963
9887
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'tableVersion' is set
|
|
9964
9888
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRows';}// verify the required parameter 'body' is set
|
|
@@ -9971,7 +9895,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9971
9895
|
* @param {Object} opts Optional parameters
|
|
9972
9896
|
* @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
|
|
9973
9897
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
|
|
9974
|
-
* postBusinessrulesDecisiontableVersionRowsSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9975
9898
|
*/},{key:"postBusinessrulesDecisiontableVersionRowsSearch",value:function postBusinessrulesDecisiontableVersionRowsSearch(tableId,tableVersion,body,opts){opts=opts||{};// verify the required parameter 'tableId' is set
|
|
9976
9899
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionRowsSearch';}// verify the required parameter 'tableVersion' is set
|
|
9977
9900
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionRowsSearch';}// verify the required parameter 'body' is set
|
|
@@ -9980,33 +9903,28 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9980
9903
|
*
|
|
9981
9904
|
* @param {String} tableId Table ID
|
|
9982
9905
|
* @param {Number} tableVersion Table Version
|
|
9983
|
-
* postBusinessrulesDecisiontableVersionSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9984
9906
|
*/},{key:"postBusinessrulesDecisiontableVersionSync",value:function postBusinessrulesDecisiontableVersionSync(tableId,tableVersion){// verify the required parameter 'tableId' is set
|
|
9985
9907
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersionSync';}// verify the required parameter 'tableVersion' is set
|
|
9986
9908
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling postBusinessrulesDecisiontableVersionSync';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/sync','POST',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9987
9909
|
* Create a new decision table version
|
|
9988
9910
|
*
|
|
9989
9911
|
* @param {String} tableId Table ID
|
|
9990
|
-
* postBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9991
9912
|
*/},{key:"postBusinessrulesDecisiontableVersions",value:function postBusinessrulesDecisiontableVersions(tableId){// verify the required parameter 'tableId' is set
|
|
9992
9913
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling postBusinessrulesDecisiontableVersions';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions','POST',{'tableId':tableId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9993
9914
|
* Create a decision table
|
|
9994
9915
|
*
|
|
9995
9916
|
* @param {Object} body Decision Table
|
|
9996
|
-
* postBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9997
9917
|
*/},{key:"postBusinessrulesDecisiontables",value:function postBusinessrulesDecisiontables(body){// verify the required parameter 'body' is set
|
|
9998
9918
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesDecisiontables';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
9999
9919
|
* Create a schema
|
|
10000
9920
|
*
|
|
10001
|
-
* @param {Object} body Schema
|
|
10002
|
-
* postBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9921
|
+
* @param {Object} body Business Rules Schema Create Request
|
|
10003
9922
|
*/},{key:"postBusinessrulesSchemas",value:function postBusinessrulesSchemas(body){// verify the required parameter 'body' is set
|
|
10004
9923
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postBusinessrulesSchemas';}return this.apiClient.callApi('/api/v2/businessrules/schemas','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10005
9924
|
* Publish a decision table version
|
|
10006
9925
|
*
|
|
10007
9926
|
* @param {String} tableId Table ID
|
|
10008
9927
|
* @param {Number} tableVersion Table Version
|
|
10009
|
-
* putBusinessrulesDecisiontableVersionPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10010
9928
|
*/},{key:"putBusinessrulesDecisiontableVersionPublish",value:function putBusinessrulesDecisiontableVersionPublish(tableId,tableVersion){// verify the required parameter 'tableId' is set
|
|
10011
9929
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionPublish';}// verify the required parameter 'tableVersion' is set
|
|
10012
9930
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionPublish';}return this.apiClient.callApi('/api/v2/businessrules/decisiontables/{tableId}/versions/{tableVersion}/publish','PUT',{'tableId':tableId,'tableVersion':tableVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -10016,7 +9934,6 @@ if(tableVersion===undefined||tableVersion===null){throw'Missing the required par
|
|
|
10016
9934
|
* @param {Number} tableVersion Table Version
|
|
10017
9935
|
* @param {String} rowId Row ID
|
|
10018
9936
|
* @param {Object} body Full update decision table row request
|
|
10019
|
-
* putBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10020
9937
|
*/},{key:"putBusinessrulesDecisiontableVersionRow",value:function putBusinessrulesDecisiontableVersionRow(tableId,tableVersion,rowId,body){// verify the required parameter 'tableId' is set
|
|
10021
9938
|
if(tableId===undefined||tableId===null||tableId===''){throw'Missing the required parameter "tableId" when calling putBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'tableVersion' is set
|
|
10022
9939
|
if(tableVersion===undefined||tableVersion===null){throw'Missing the required parameter "tableVersion" when calling putBusinessrulesDecisiontableVersionRow';}// verify the required parameter 'rowId' is set
|
|
@@ -10025,14 +9942,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10025
9942
|
* Update a schema
|
|
10026
9943
|
*
|
|
10027
9944
|
* @param {String} schemaId Schema ID
|
|
10028
|
-
* @param {Object} body
|
|
10029
|
-
* putBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
9945
|
+
* @param {Object} body Business Rules Schema Update Request
|
|
10030
9946
|
*/},{key:"putBusinessrulesSchema",value:function putBusinessrulesSchema(schemaId,body){// verify the required parameter 'schemaId' is set
|
|
10031
9947
|
if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the required parameter "schemaId" when calling putBusinessrulesSchema';}// verify the required parameter 'body' is set
|
|
10032
9948
|
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(){/**
|
|
10033
9949
|
* CarrierServices service.
|
|
10034
9950
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
10035
|
-
* @version
|
|
9951
|
+
* @version 234.0.0
|
|
10036
9952
|
*//**
|
|
10037
9953
|
* Constructs a new CarrierServicesApi.
|
|
10038
9954
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -10052,7 +9968,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
10052
9968
|
*/},{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(){/**
|
|
10053
9969
|
* Chat service.
|
|
10054
9970
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
10055
|
-
* @version
|
|
9971
|
+
* @version 234.0.0
|
|
10056
9972
|
*//**
|
|
10057
9973
|
* Constructs a new ChatApi.
|
|
10058
9974
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -10283,7 +10199,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10283
10199
|
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(){/**
|
|
10284
10200
|
* Coaching service.
|
|
10285
10201
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
10286
|
-
* @version
|
|
10202
|
+
* @version 234.0.0
|
|
10287
10203
|
*//**
|
|
10288
10204
|
* Constructs a new CoachingApi.
|
|
10289
10205
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -10436,7 +10352,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10436
10352
|
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(){/**
|
|
10437
10353
|
* ContentManagement service.
|
|
10438
10354
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10439
|
-
* @version
|
|
10355
|
+
* @version 234.0.0
|
|
10440
10356
|
*//**
|
|
10441
10357
|
* Constructs a new ContentManagementApi.
|
|
10442
10358
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -10718,7 +10634,7 @@ if(tagId===undefined||tagId===null||tagId===''){throw'Missing the required param
|
|
|
10718
10634
|
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(){/**
|
|
10719
10635
|
* Conversations service.
|
|
10720
10636
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
10721
|
-
* @version
|
|
10637
|
+
* @version 234.0.0
|
|
10722
10638
|
*//**
|
|
10723
10639
|
* Constructs a new ConversationsApi.
|
|
10724
10640
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -11634,6 +11550,17 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11634
11550
|
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantConsult';}// verify the required parameter 'participantId' is set
|
|
11635
11551
|
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantConsult';}// verify the required parameter 'body' is set
|
|
11636
11552
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsCallParticipantConsult';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult','PATCH',{'conversationId':conversationId,'participantId':participantId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11553
|
+
* Update conversation participant on behalf of a user
|
|
11554
|
+
*
|
|
11555
|
+
* @param {String} conversationId conversationId
|
|
11556
|
+
* @param {String} participantId participantId
|
|
11557
|
+
* @param {String} userId userId
|
|
11558
|
+
* @param {Object} body Participant request
|
|
11559
|
+
*/},{key:"patchConversationsCallParticipantUserUserId",value:function patchConversationsCallParticipantUserUserId(conversationId,participantId,userId,body){// verify the required parameter 'conversationId' is set
|
|
11560
|
+
if(conversationId===undefined||conversationId===null||conversationId===''){throw'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantUserUserId';}// verify the required parameter 'participantId' is set
|
|
11561
|
+
if(participantId===undefined||participantId===null||participantId===''){throw'Missing the required parameter "participantId" when calling patchConversationsCallParticipantUserUserId';}// verify the required parameter 'userId' is set
|
|
11562
|
+
if(userId===undefined||userId===null||userId===''){throw'Missing the required parameter "userId" when calling patchConversationsCallParticipantUserUserId';}// verify the required parameter 'body' is set
|
|
11563
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsCallParticipantUserUserId';}return this.apiClient.callApi('/api/v2/conversations/calls/{conversationId}/participants/{participantId}/user/{userId}','PATCH',{'conversationId':conversationId,'participantId':participantId,'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11637
11564
|
* Update a conversation by disconnecting all of the participants
|
|
11638
11565
|
*
|
|
11639
11566
|
* @param {String} conversationId conversationId
|
|
@@ -12805,7 +12732,7 @@ if(conversationId===undefined||conversationId===null||conversationId===''){throw
|
|
|
12805
12732
|
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(){/**
|
|
12806
12733
|
* DataExtensions service.
|
|
12807
12734
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
12808
|
-
* @version
|
|
12735
|
+
* @version 234.0.0
|
|
12809
12736
|
*//**
|
|
12810
12737
|
* Constructs a new DataExtensionsApi.
|
|
12811
12738
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -12826,7 +12753,7 @@ if(coretypeName===undefined||coretypeName===null||coretypeName===''){throw'Missi
|
|
|
12826
12753
|
*/},{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(){/**
|
|
12827
12754
|
* DataPrivacy service.
|
|
12828
12755
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
12829
|
-
* @version
|
|
12756
|
+
* @version 234.0.0
|
|
12830
12757
|
*//**
|
|
12831
12758
|
* Constructs a new DataPrivacyApi.
|
|
12832
12759
|
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
@@ -12866,7 +12793,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12866
12793
|
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(){/**
|
|
12867
12794
|
* Downloads service.
|
|
12868
12795
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
12869
|
-
* @version
|
|
12796
|
+
* @version 234.0.0
|
|
12870
12797
|
*//**
|
|
12871
12798
|
* Constructs a new DownloadsApi.
|
|
12872
12799
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -12885,7 +12812,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12885
12812
|
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(){/**
|
|
12886
12813
|
* Emails service.
|
|
12887
12814
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
12888
|
-
* @version
|
|
12815
|
+
* @version 234.0.0
|
|
12889
12816
|
*//**
|
|
12890
12817
|
* Constructs a new EmailsApi.
|
|
12891
12818
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -12914,7 +12841,7 @@ if(downloadId===undefined||downloadId===null||downloadId===''){throw'Missing the
|
|
|
12914
12841
|
*/},{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(){/**
|
|
12915
12842
|
* EmployeeEngagement service.
|
|
12916
12843
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
12917
|
-
* @version
|
|
12844
|
+
* @version 234.0.0
|
|
12918
12845
|
*//**
|
|
12919
12846
|
* Constructs a new EmployeeEngagementApi.
|
|
12920
12847
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -12952,7 +12879,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12952
12879
|
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(){/**
|
|
12953
12880
|
* Events service.
|
|
12954
12881
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
12955
|
-
* @version
|
|
12882
|
+
* @version 234.0.0
|
|
12956
12883
|
*//**
|
|
12957
12884
|
* Constructs a new EventsApi.
|
|
12958
12885
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -12977,7 +12904,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12977
12904
|
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(){/**
|
|
12978
12905
|
* ExternalContacts service.
|
|
12979
12906
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
12980
|
-
* @version
|
|
12907
|
+
* @version 234.0.0
|
|
12981
12908
|
*//**
|
|
12982
12909
|
* Constructs a new ExternalContactsApi.
|
|
12983
12910
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -13727,7 +13654,7 @@ if(relationshipId===undefined||relationshipId===null||relationshipId===''){throw
|
|
|
13727
13654
|
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(){/**
|
|
13728
13655
|
* Fax service.
|
|
13729
13656
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
13730
|
-
* @version
|
|
13657
|
+
* @version 234.0.0
|
|
13731
13658
|
*//**
|
|
13732
13659
|
* Constructs a new FaxApi.
|
|
13733
13660
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -13776,7 +13703,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13776
13703
|
*/},{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(){/**
|
|
13777
13704
|
* Flows service.
|
|
13778
13705
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
13779
|
-
* @version
|
|
13706
|
+
* @version 234.0.0
|
|
13780
13707
|
*//**
|
|
13781
13708
|
* Constructs a new FlowsApi.
|
|
13782
13709
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -13830,7 +13757,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13830
13757
|
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(){/**
|
|
13831
13758
|
* Gamification service.
|
|
13832
13759
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
13833
|
-
* @version
|
|
13760
|
+
* @version 234.0.0
|
|
13834
13761
|
*//**
|
|
13835
13762
|
* Constructs a new GamificationApi.
|
|
13836
13763
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -13938,12 +13865,13 @@ if(prizeImageId===undefined||prizeImageId===null||prizeImageId===''){throw'Missi
|
|
|
13938
13865
|
* @param {String} opts.sortMetricId Sort Metric Id
|
|
13939
13866
|
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
13940
13867
|
* @param {String} opts.userIds A list of up to 100 comma-separated user Ids
|
|
13868
|
+
* @param {String} opts.reportsTo The reportsTo used by ABAC policies.
|
|
13941
13869
|
*/},{key:"getGamificationInsights",value:function getGamificationInsights(filterType,filterId,granularity,comparativePeriodStartWorkday,primaryPeriodStartWorkday,opts){opts=opts||{};// verify the required parameter 'filterType' is set
|
|
13942
13870
|
if(filterType===undefined||filterType===null){throw'Missing the required parameter "filterType" when calling getGamificationInsights';}// verify the required parameter 'filterId' is set
|
|
13943
13871
|
if(filterId===undefined||filterId===null){throw'Missing the required parameter "filterId" when calling getGamificationInsights';}// verify the required parameter 'granularity' is set
|
|
13944
13872
|
if(granularity===undefined||granularity===null){throw'Missing the required parameter "granularity" when calling getGamificationInsights';}// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
13945
13873
|
if(comparativePeriodStartWorkday===undefined||comparativePeriodStartWorkday===null){throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsights';}// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
13946
|
-
if(primaryPeriodStartWorkday===undefined||primaryPeriodStartWorkday===null){throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsights';}return this.apiClient.callApi('/api/v2/gamification/insights','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'comparativePeriodStartWorkday':comparativePeriodStartWorkday,'primaryPeriodStartWorkday':primaryPeriodStartWorkday,'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortKey':opts['sortKey'],'sortMetricId':opts['sortMetricId'],'sortOrder':opts['sortOrder'],'userIds':opts['userIds']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13874
|
+
if(primaryPeriodStartWorkday===undefined||primaryPeriodStartWorkday===null){throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsights';}return this.apiClient.callApi('/api/v2/gamification/insights','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'comparativePeriodStartWorkday':comparativePeriodStartWorkday,'primaryPeriodStartWorkday':primaryPeriodStartWorkday,'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortKey':opts['sortKey'],'sortMetricId':opts['sortMetricId'],'sortOrder':opts['sortOrder'],'userIds':opts['userIds'],'reportsTo':opts['reportsTo']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13947
13875
|
* Get insights details for the current user
|
|
13948
13876
|
*
|
|
13949
13877
|
* @param {Object} filterType Filter type for the query request.
|
|
@@ -13997,11 +13925,13 @@ if(primaryPeriodEndWorkday===undefined||primaryPeriodEndWorkday===null){throw'Mi
|
|
|
13997
13925
|
* @param {String} filterId ID for the filter type.
|
|
13998
13926
|
* @param {Object} granularity Granularity
|
|
13999
13927
|
* @param {String} startWorkday The start work day. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
14000
|
-
|
|
13928
|
+
* @param {Object} opts Optional parameters
|
|
13929
|
+
* @param {String} opts.reportsTo The reportsTo used by ABAC policies.
|
|
13930
|
+
*/},{key:"getGamificationInsightsMembers",value:function getGamificationInsightsMembers(filterType,filterId,granularity,startWorkday,opts){opts=opts||{};// verify the required parameter 'filterType' is set
|
|
14001
13931
|
if(filterType===undefined||filterType===null){throw'Missing the required parameter "filterType" when calling getGamificationInsightsMembers';}// verify the required parameter 'filterId' is set
|
|
14002
13932
|
if(filterId===undefined||filterId===null){throw'Missing the required parameter "filterId" when calling getGamificationInsightsMembers';}// verify the required parameter 'granularity' is set
|
|
14003
13933
|
if(granularity===undefined||granularity===null){throw'Missing the required parameter "granularity" when calling getGamificationInsightsMembers';}// verify the required parameter 'startWorkday' is set
|
|
14004
|
-
if(startWorkday===undefined||startWorkday===null){throw'Missing the required parameter "startWorkday" when calling getGamificationInsightsMembers';}return this.apiClient.callApi('/api/v2/gamification/insights/members','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'startWorkday':startWorkday},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13934
|
+
if(startWorkday===undefined||startWorkday===null){throw'Missing the required parameter "startWorkday" when calling getGamificationInsightsMembers';}return this.apiClient.callApi('/api/v2/gamification/insights/members','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'startWorkday':startWorkday,'reportsTo':opts['reportsTo']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14005
13935
|
* Get insights rankings
|
|
14006
13936
|
*
|
|
14007
13937
|
* @param {Object} filterType Filter type for the query request.
|
|
@@ -14014,13 +13944,14 @@ if(startWorkday===undefined||startWorkday===null){throw'Missing the required par
|
|
|
14014
13944
|
* @param {String} opts.sortMetricId Sort Metric Id
|
|
14015
13945
|
* @param {Number} opts.sectionSize The number of top and bottom users to return before ties
|
|
14016
13946
|
* @param {String} opts.userIds A list of up to 100 comma-separated user Ids
|
|
13947
|
+
* @param {String} opts.reportsTo The reportsTo used by ABAC policies.
|
|
14017
13948
|
*/},{key:"getGamificationInsightsRankings",value:function getGamificationInsightsRankings(filterType,filterId,granularity,comparativePeriodStartWorkday,primaryPeriodStartWorkday,sortKey,opts){opts=opts||{};// verify the required parameter 'filterType' is set
|
|
14018
13949
|
if(filterType===undefined||filterType===null){throw'Missing the required parameter "filterType" when calling getGamificationInsightsRankings';}// verify the required parameter 'filterId' is set
|
|
14019
13950
|
if(filterId===undefined||filterId===null){throw'Missing the required parameter "filterId" when calling getGamificationInsightsRankings';}// verify the required parameter 'granularity' is set
|
|
14020
13951
|
if(granularity===undefined||granularity===null){throw'Missing the required parameter "granularity" when calling getGamificationInsightsRankings';}// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
14021
13952
|
if(comparativePeriodStartWorkday===undefined||comparativePeriodStartWorkday===null){throw'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsRankings';}// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
14022
13953
|
if(primaryPeriodStartWorkday===undefined||primaryPeriodStartWorkday===null){throw'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsRankings';}// verify the required parameter 'sortKey' is set
|
|
14023
|
-
if(sortKey===undefined||sortKey===null){throw'Missing the required parameter "sortKey" when calling getGamificationInsightsRankings';}return this.apiClient.callApi('/api/v2/gamification/insights/rankings','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'comparativePeriodStartWorkday':comparativePeriodStartWorkday,'primaryPeriodStartWorkday':primaryPeriodStartWorkday,'sortKey':sortKey,'sortMetricId':opts['sortMetricId'],'sectionSize':opts['sectionSize'],'userIds':opts['userIds']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13954
|
+
if(sortKey===undefined||sortKey===null){throw'Missing the required parameter "sortKey" when calling getGamificationInsightsRankings';}return this.apiClient.callApi('/api/v2/gamification/insights/rankings','GET',{},{'filterType':filterType,'filterId':filterId,'granularity':granularity,'comparativePeriodStartWorkday':comparativePeriodStartWorkday,'primaryPeriodStartWorkday':primaryPeriodStartWorkday,'sortKey':sortKey,'sortMetricId':opts['sortMetricId'],'sectionSize':opts['sectionSize'],'userIds':opts['userIds'],'reportsTo':opts['reportsTo']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14024
13955
|
* Get insights user trend for the current user
|
|
14025
13956
|
*
|
|
14026
13957
|
* @param {Object} filterType Filter type for the query request.
|
|
@@ -14483,7 +14414,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14483
14414
|
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(){/**
|
|
14484
14415
|
* GeneralDataProtectionRegulation service.
|
|
14485
14416
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
14486
|
-
* @version
|
|
14417
|
+
* @version 234.0.0
|
|
14487
14418
|
*//**
|
|
14488
14419
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
14489
14420
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -14518,7 +14449,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
14518
14449
|
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(){/**
|
|
14519
14450
|
* Geolocation service.
|
|
14520
14451
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
14521
|
-
* @version
|
|
14452
|
+
* @version 234.0.0
|
|
14522
14453
|
*//**
|
|
14523
14454
|
* Constructs a new GeolocationApi.
|
|
14524
14455
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -14552,7 +14483,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
14552
14483
|
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(){/**
|
|
14553
14484
|
* Greetings service.
|
|
14554
14485
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
14555
|
-
* @version
|
|
14486
|
+
* @version 234.0.0
|
|
14556
14487
|
*//**
|
|
14557
14488
|
* Constructs a new GreetingsApi.
|
|
14558
14489
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -14680,7 +14611,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
14680
14611
|
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(){/**
|
|
14681
14612
|
* Groups service.
|
|
14682
14613
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
14683
|
-
* @version
|
|
14614
|
+
* @version 234.0.0
|
|
14684
14615
|
*//**
|
|
14685
14616
|
* Constructs a new GroupsApi.
|
|
14686
14617
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -14813,7 +14744,7 @@ if(groupId===undefined||groupId===null||groupId===''){throw'Missing the required
|
|
|
14813
14744
|
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(){/**
|
|
14814
14745
|
* IdentityProvider service.
|
|
14815
14746
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
14816
|
-
* @version
|
|
14747
|
+
* @version 234.0.0
|
|
14817
14748
|
*//**
|
|
14818
14749
|
* Constructs a new IdentityProviderApi.
|
|
14819
14750
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -14969,7 +14900,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14969
14900
|
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(){/**
|
|
14970
14901
|
* InfrastructureAsCode service.
|
|
14971
14902
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
14972
|
-
* @version
|
|
14903
|
+
* @version 234.0.0
|
|
14973
14904
|
*//**
|
|
14974
14905
|
* Constructs a new InfrastructureAsCodeApi.
|
|
14975
14906
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -15023,7 +14954,7 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
15023
14954
|
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(){/**
|
|
15024
14955
|
* Integrations service.
|
|
15025
14956
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
15026
|
-
* @version
|
|
14957
|
+
* @version 234.0.0
|
|
15027
14958
|
*//**
|
|
15028
14959
|
* Constructs a new IntegrationsApi.
|
|
15029
14960
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -15713,7 +15644,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null||ucIntegrationId===''){th
|
|
|
15713
15644
|
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(){/**
|
|
15714
15645
|
* Journey service.
|
|
15715
15646
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
15716
|
-
* @version
|
|
15647
|
+
* @version 234.0.0
|
|
15717
15648
|
*//**
|
|
15718
15649
|
* Constructs a new JourneyApi.
|
|
15719
15650
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -16222,7 +16153,7 @@ if(versionId===undefined||versionId===null||versionId===''){throw'Missing the re
|
|
|
16222
16153
|
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(){/**
|
|
16223
16154
|
* Knowledge service.
|
|
16224
16155
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
16225
|
-
* @version
|
|
16156
|
+
* @version 234.0.0
|
|
16226
16157
|
*//**
|
|
16227
16158
|
* Constructs a new KnowledgeApi.
|
|
16228
16159
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -16279,36 +16210,6 @@ if(importJobId===undefined||importJobId===null||importJobId===''){throw'Missing
|
|
|
16279
16210
|
*/},{key:"deleteKnowledgeKnowledgebaseLabel",value:function deleteKnowledgeKnowledgebaseLabel(knowledgeBaseId,labelId){// verify the required parameter 'knowledgeBaseId' is set
|
|
16280
16211
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLabel';}// verify the required parameter 'labelId' is set
|
|
16281
16212
|
if(labelId===undefined||labelId===null||labelId===''){throw'Missing the required parameter "labelId" when calling deleteKnowledgeKnowledgebaseLabel';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId}','DELETE',{'knowledgeBaseId':knowledgeBaseId,'labelId':labelId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16282
|
-
* Delete category
|
|
16283
|
-
*
|
|
16284
|
-
* @param {String} categoryId Category ID
|
|
16285
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16286
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16287
|
-
* @deprecated
|
|
16288
|
-
*/},{key:"deleteKnowledgeKnowledgebaseLanguageCategory",value:function deleteKnowledgeKnowledgebaseLanguageCategory(categoryId,knowledgeBaseId,languageCode){// verify the required parameter 'categoryId' is set
|
|
16289
|
-
if(categoryId===undefined||categoryId===null||categoryId===''){throw'Missing the required parameter "categoryId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'knowledgeBaseId' is set
|
|
16290
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'languageCode' is set
|
|
16291
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageCategory';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}','DELETE',{'categoryId':categoryId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16292
|
-
* Delete document
|
|
16293
|
-
*
|
|
16294
|
-
* @param {String} documentId Document ID
|
|
16295
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16296
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16297
|
-
* @deprecated
|
|
16298
|
-
*/},{key:"deleteKnowledgeKnowledgebaseLanguageDocument",value:function deleteKnowledgeKnowledgebaseLanguageDocument(documentId,knowledgeBaseId,languageCode){// verify the required parameter 'documentId' is set
|
|
16299
|
-
if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'knowledgeBaseId' is set
|
|
16300
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'languageCode' is set
|
|
16301
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocument';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}','DELETE',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16302
|
-
* Delete import operation
|
|
16303
|
-
*
|
|
16304
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16305
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16306
|
-
* @param {String} importId Import ID
|
|
16307
|
-
* @deprecated
|
|
16308
|
-
*/},{key:"deleteKnowledgeKnowledgebaseLanguageDocumentsImport",value:function deleteKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId,languageCode,importId){// verify the required parameter 'knowledgeBaseId' is set
|
|
16309
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'languageCode' is set
|
|
16310
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
|
|
16311
|
-
if(importId===undefined||importId===null||importId===''){throw'Missing the required parameter "importId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','DELETE',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16312
16213
|
* Delete Salesforce Knowledge integration source
|
|
16313
16214
|
*
|
|
16314
16215
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -16555,104 +16456,6 @@ if(labelId===undefined||labelId===null||labelId===''){throw'Missing the required
|
|
|
16555
16456
|
* @param {Boolean} opts.includeDocumentCount If specified, retrieves the number of documents related to label.
|
|
16556
16457
|
*/},{key:"getKnowledgeKnowledgebaseLabels",value:function getKnowledgeKnowledgebaseLabels(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
16557
16458
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLabels';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels','GET',{'knowledgeBaseId':knowledgeBaseId},{'before':opts['before'],'after':opts['after'],'pageSize':opts['pageSize'],'name':opts['name'],'includeDocumentCount':opts['includeDocumentCount']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16558
|
-
* Get categories
|
|
16559
|
-
*
|
|
16560
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16561
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16562
|
-
* @param {Object} opts Optional parameters
|
|
16563
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
16564
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
16565
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
16566
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
16567
|
-
* @param {String} opts.name Filter to return the categories that starts with the given category name.
|
|
16568
|
-
* @deprecated
|
|
16569
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageCategories",value:function getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
16570
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategories';}// verify the required parameter 'languageCode' is set
|
|
16571
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategories';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16572
|
-
* Get category
|
|
16573
|
-
*
|
|
16574
|
-
* @param {String} categoryId Category ID
|
|
16575
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16576
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16577
|
-
* @deprecated
|
|
16578
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageCategory",value:function getKnowledgeKnowledgebaseLanguageCategory(categoryId,knowledgeBaseId,languageCode){// verify the required parameter 'categoryId' is set
|
|
16579
|
-
if(categoryId===undefined||categoryId===null||categoryId===''){throw'Missing the required parameter "categoryId" when calling getKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'knowledgeBaseId' is set
|
|
16580
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'languageCode' is set
|
|
16581
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategory';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}','GET',{'categoryId':categoryId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16582
|
-
* Get document
|
|
16583
|
-
*
|
|
16584
|
-
* @param {String} documentId Document ID
|
|
16585
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16586
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16587
|
-
* @deprecated
|
|
16588
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageDocument",value:function getKnowledgeKnowledgebaseLanguageDocument(documentId,knowledgeBaseId,languageCode){// verify the required parameter 'documentId' is set
|
|
16589
|
-
if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'knowledgeBaseId' is set
|
|
16590
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'languageCode' is set
|
|
16591
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocument';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}','GET',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16592
|
-
* Get document content upload status
|
|
16593
|
-
*
|
|
16594
|
-
* @param {String} documentId Document ID
|
|
16595
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16596
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16597
|
-
* @param {String} uploadId UploadId
|
|
16598
|
-
* @deprecated
|
|
16599
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageDocumentUpload",value:function getKnowledgeKnowledgebaseLanguageDocumentUpload(documentId,knowledgeBaseId,languageCode,uploadId){// verify the required parameter 'documentId' is set
|
|
16600
|
-
if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'knowledgeBaseId' is set
|
|
16601
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'languageCode' is set
|
|
16602
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}// verify the required parameter 'uploadId' is set
|
|
16603
|
-
if(uploadId===undefined||uploadId===null||uploadId===''){throw'Missing the required parameter "uploadId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads/{uploadId}','GET',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'uploadId':uploadId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16604
|
-
* Get documents
|
|
16605
|
-
*
|
|
16606
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16607
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16608
|
-
* @param {Object} opts Optional parameters
|
|
16609
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
16610
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
16611
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
16612
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
16613
|
-
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
16614
|
-
* @param {String} opts.title Filter by document title.
|
|
16615
|
-
* @param {Object} opts.sortBy Sort by.
|
|
16616
|
-
* @param {Object} opts.sortOrder Sort Order.
|
|
16617
|
-
* @param {Array.<String>} opts.documentIds Comma-separated list of document identifiers to fetch by.
|
|
16618
|
-
* @deprecated
|
|
16619
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageDocuments",value:function getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
16620
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'languageCode' is set
|
|
16621
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocuments';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'categories':opts['categories'],'title':opts['title'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'documentIds':this.apiClient.buildCollectionParam(opts['documentIds'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16622
|
-
* Get import operation report
|
|
16623
|
-
*
|
|
16624
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16625
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16626
|
-
* @param {String} importId Import ID
|
|
16627
|
-
* @deprecated
|
|
16628
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageDocumentsImport",value:function getKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId,languageCode,importId){// verify the required parameter 'knowledgeBaseId' is set
|
|
16629
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'languageCode' is set
|
|
16630
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
|
|
16631
|
-
if(importId===undefined||importId===null||importId===''){throw'Missing the required parameter "importId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16632
|
-
* Get training detail
|
|
16633
|
-
*
|
|
16634
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16635
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16636
|
-
* @param {String} trainingId Training ID
|
|
16637
|
-
* @deprecated
|
|
16638
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageTraining",value:function getKnowledgeKnowledgebaseLanguageTraining(knowledgeBaseId,languageCode,trainingId){// verify the required parameter 'knowledgeBaseId' is set
|
|
16639
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTraining';}// verify the required parameter 'languageCode' is set
|
|
16640
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTraining';}// verify the required parameter 'trainingId' is set
|
|
16641
|
-
if(trainingId===undefined||trainingId===null||trainingId===''){throw'Missing the required parameter "trainingId" when calling getKnowledgeKnowledgebaseLanguageTraining';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'trainingId':trainingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16642
|
-
* Get all trainings information for a knowledgebase
|
|
16643
|
-
*
|
|
16644
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16645
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16646
|
-
* @param {Object} opts Optional parameters
|
|
16647
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
16648
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
16649
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
16650
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
16651
|
-
* @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
|
|
16652
|
-
* @deprecated
|
|
16653
|
-
*/},{key:"getKnowledgeKnowledgebaseLanguageTrainings",value:function getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
16654
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
|
|
16655
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','GET',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{'before':opts['before'],'after':opts['after'],'limit':opts['limit'],'pageSize':opts['pageSize'],'knowledgeDocumentsState':opts['knowledgeDocumentsState']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16656
16459
|
* Get operations
|
|
16657
16460
|
*
|
|
16658
16461
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -16851,52 +16654,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16851
16654
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLabel';}// verify the required parameter 'labelId' is set
|
|
16852
16655
|
if(labelId===undefined||labelId===null||labelId===''){throw'Missing the required parameter "labelId" when calling patchKnowledgeKnowledgebaseLabel';}// verify the required parameter 'body' is set
|
|
16853
16656
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLabel';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels/{labelId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'labelId':labelId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16854
|
-
* Update category
|
|
16855
|
-
*
|
|
16856
|
-
* @param {String} categoryId Category ID
|
|
16857
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16858
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16859
|
-
* @param {Object} body
|
|
16860
|
-
* @deprecated
|
|
16861
|
-
*/},{key:"patchKnowledgeKnowledgebaseLanguageCategory",value:function patchKnowledgeKnowledgebaseLanguageCategory(categoryId,knowledgeBaseId,languageCode,body){// verify the required parameter 'categoryId' is set
|
|
16862
|
-
if(categoryId===undefined||categoryId===null||categoryId===''){throw'Missing the required parameter "categoryId" when calling patchKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'knowledgeBaseId' is set
|
|
16863
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'languageCode' is set
|
|
16864
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageCategory';}// verify the required parameter 'body' is set
|
|
16865
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageCategory';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}','PATCH',{'categoryId':categoryId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16866
|
-
* Update document
|
|
16867
|
-
*
|
|
16868
|
-
* @param {String} documentId Document ID
|
|
16869
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16870
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16871
|
-
* @param {Object} body
|
|
16872
|
-
* @deprecated
|
|
16873
|
-
*/},{key:"patchKnowledgeKnowledgebaseLanguageDocument",value:function patchKnowledgeKnowledgebaseLanguageDocument(documentId,knowledgeBaseId,languageCode,body){// verify the required parameter 'documentId' is set
|
|
16874
|
-
if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'knowledgeBaseId' is set
|
|
16875
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'languageCode' is set
|
|
16876
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocument';}// verify the required parameter 'body' is set
|
|
16877
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocument';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}','PATCH',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16878
|
-
* Update documents collection
|
|
16879
|
-
*
|
|
16880
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16881
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16882
|
-
* @param {Array.<Object>} body
|
|
16883
|
-
* @deprecated
|
|
16884
|
-
*/},{key:"patchKnowledgeKnowledgebaseLanguageDocuments",value:function patchKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId,languageCode,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
16885
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'languageCode' is set
|
|
16886
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'body' is set
|
|
16887
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocuments';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents','PATCH',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16888
|
-
* Start import operation
|
|
16889
|
-
*
|
|
16890
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
16891
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
16892
|
-
* @param {String} importId Import ID
|
|
16893
|
-
* @param {Object} body
|
|
16894
|
-
* @deprecated
|
|
16895
|
-
*/},{key:"patchKnowledgeKnowledgebaseLanguageDocumentsImport",value:function patchKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId,languageCode,importId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
16896
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'languageCode' is set
|
|
16897
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
|
|
16898
|
-
if(importId===undefined||importId===null||importId===''){throw'Missing the required parameter "importId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'body' is set
|
|
16899
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16900
16657
|
* Send update to the parse operation
|
|
16901
16658
|
*
|
|
16902
16659
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -17137,66 +16894,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17137
16894
|
*/},{key:"postKnowledgeKnowledgebaseLabels",value:function postKnowledgeKnowledgebaseLabels(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
17138
16895
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLabels';}// verify the required parameter 'body' is set
|
|
17139
16896
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLabels';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/labels','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17140
|
-
* Create new category
|
|
17141
|
-
*
|
|
17142
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
17143
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
17144
|
-
* @param {Object} body
|
|
17145
|
-
* @deprecated
|
|
17146
|
-
*/},{key:"postKnowledgeKnowledgebaseLanguageCategories",value:function postKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId,languageCode,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
17147
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageCategories';}// verify the required parameter 'languageCode' is set
|
|
17148
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageCategories';}// verify the required parameter 'body' is set
|
|
17149
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageCategories';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17150
|
-
* Upload Article Content
|
|
17151
|
-
*
|
|
17152
|
-
* @param {String} documentId Document ID
|
|
17153
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
17154
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
17155
|
-
* @param {Object} body
|
|
17156
|
-
* @deprecated
|
|
17157
|
-
*/},{key:"postKnowledgeKnowledgebaseLanguageDocumentUploads",value:function postKnowledgeKnowledgebaseLanguageDocumentUploads(documentId,knowledgeBaseId,languageCode,body){// verify the required parameter 'documentId' is set
|
|
17158
|
-
if(documentId===undefined||documentId===null||documentId===''){throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'knowledgeBaseId' is set
|
|
17159
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'languageCode' is set
|
|
17160
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}// verify the required parameter 'body' is set
|
|
17161
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads','POST',{'documentId':documentId,'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17162
|
-
* Create document
|
|
17163
|
-
*
|
|
17164
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
17165
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
17166
|
-
* @param {Object} body
|
|
17167
|
-
* @deprecated
|
|
17168
|
-
*/},{key:"postKnowledgeKnowledgebaseLanguageDocuments",value:function postKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId,languageCode,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
17169
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'languageCode' is set
|
|
17170
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocuments';}// verify the required parameter 'body' is set
|
|
17171
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocuments';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17172
|
-
* Create import operation
|
|
17173
|
-
*
|
|
17174
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
17175
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
17176
|
-
* @param {Object} body
|
|
17177
|
-
* @deprecated
|
|
17178
|
-
*/},{key:"postKnowledgeKnowledgebaseLanguageDocumentsImports",value:function postKnowledgeKnowledgebaseLanguageDocumentsImports(knowledgeBaseId,languageCode,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
17179
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';}// verify the required parameter 'languageCode' is set
|
|
17180
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';}// verify the required parameter 'body' is set
|
|
17181
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17182
|
-
* Promote trained documents from draft state to active.
|
|
17183
|
-
*
|
|
17184
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
17185
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
17186
|
-
* @param {String} trainingId Training ID
|
|
17187
|
-
* @deprecated
|
|
17188
|
-
*/},{key:"postKnowledgeKnowledgebaseLanguageTrainingPromote",value:function postKnowledgeKnowledgebaseLanguageTrainingPromote(knowledgeBaseId,languageCode,trainingId){// verify the required parameter 'knowledgeBaseId' is set
|
|
17189
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';}// verify the required parameter 'languageCode' is set
|
|
17190
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';}// verify the required parameter 'trainingId' is set
|
|
17191
|
-
if(trainingId===undefined||trainingId===null||trainingId===''){throw'Missing the required parameter "trainingId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}/promote','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'trainingId':trainingId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17192
|
-
* Trigger training
|
|
17193
|
-
*
|
|
17194
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
17195
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
17196
|
-
* @deprecated
|
|
17197
|
-
*/},{key:"postKnowledgeKnowledgebaseLanguageTrainings",value:function postKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode){// verify the required parameter 'knowledgeBaseId' is set
|
|
17198
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
|
|
17199
|
-
if(languageCode===undefined||languageCode===null||languageCode===''){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17200
16897
|
* Import the parsed articles
|
|
17201
16898
|
*
|
|
17202
16899
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -17213,14 +16910,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17213
16910
|
*/},{key:"postKnowledgeKnowledgebaseParseJobs",value:function postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
17214
16911
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobs';}// verify the required parameter 'body' is set
|
|
17215
16912
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17216
|
-
* Search Documents
|
|
17217
|
-
*
|
|
17218
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
17219
|
-
* @param {Object} opts Optional parameters
|
|
17220
|
-
* @param {Object} opts.body
|
|
17221
|
-
* @deprecated
|
|
17222
|
-
*/},{key:"postKnowledgeKnowledgebaseSearch",value:function postKnowledgeKnowledgebaseSearch(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
17223
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
17224
16913
|
* Create Salesforce Knowledge integration source
|
|
17225
16914
|
*
|
|
17226
16915
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -17292,7 +16981,7 @@ if(sourceId===undefined||sourceId===null||sourceId===''){throw'Missing the requi
|
|
|
17292
16981
|
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(){/**
|
|
17293
16982
|
* LanguageUnderstanding service.
|
|
17294
16983
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
17295
|
-
* @version
|
|
16984
|
+
* @version 234.0.0
|
|
17296
16985
|
*//**
|
|
17297
16986
|
* Constructs a new LanguageUnderstandingApi.
|
|
17298
16987
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -17601,7 +17290,7 @@ if(domainVersionId===undefined||domainVersionId===null||domainVersionId===''){th
|
|
|
17601
17290
|
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(){/**
|
|
17602
17291
|
* Languages service.
|
|
17603
17292
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
17604
|
-
* @version
|
|
17293
|
+
* @version 234.0.0
|
|
17605
17294
|
*//**
|
|
17606
17295
|
* Constructs a new LanguagesApi.
|
|
17607
17296
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -17656,7 +17345,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
17656
17345
|
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(){/**
|
|
17657
17346
|
* Learning service.
|
|
17658
17347
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
17659
|
-
* @version
|
|
17348
|
+
* @version 234.0.0
|
|
17660
17349
|
*//**
|
|
17661
17350
|
* Constructs a new LearningApi.
|
|
17662
17351
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -17929,7 +17618,7 @@ if(moduleId===undefined||moduleId===null||moduleId===''){throw'Missing the requi
|
|
|
17929
17618
|
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(){/**
|
|
17930
17619
|
* License service.
|
|
17931
17620
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
17932
|
-
* @version
|
|
17621
|
+
* @version 234.0.0
|
|
17933
17622
|
*//**
|
|
17934
17623
|
* Constructs a new LicenseApi.
|
|
17935
17624
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -17983,7 +17672,7 @@ if(featureName===undefined||featureName===null||featureName===''){throw'Missing
|
|
|
17983
17672
|
*/},{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(){/**
|
|
17984
17673
|
* Locations service.
|
|
17985
17674
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
17986
|
-
* @version
|
|
17675
|
+
* @version 234.0.0
|
|
17987
17676
|
*//**
|
|
17988
17677
|
* Constructs a new LocationsApi.
|
|
17989
17678
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -18042,7 +17731,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18042
17731
|
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(){/**
|
|
18043
17732
|
* LogCapture service.
|
|
18044
17733
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
18045
|
-
* @version
|
|
17734
|
+
* @version 234.0.0
|
|
18046
17735
|
*//**
|
|
18047
17736
|
* Constructs a new LogCaptureApi.
|
|
18048
17737
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -18091,7 +17780,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
18091
17780
|
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(){/**
|
|
18092
17781
|
* Messaging service.
|
|
18093
17782
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
18094
|
-
* @version
|
|
17783
|
+
* @version 234.0.0
|
|
18095
17784
|
*//**
|
|
18096
17785
|
* Constructs a new MessagingApi.
|
|
18097
17786
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -18181,7 +17870,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18181
17870
|
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(){/**
|
|
18182
17871
|
* MobileDevices service.
|
|
18183
17872
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
18184
|
-
* @version
|
|
17873
|
+
* @version 234.0.0
|
|
18185
17874
|
*//**
|
|
18186
17875
|
* Constructs a new MobileDevicesApi.
|
|
18187
17876
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -18220,7 +17909,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18220
17909
|
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(){/**
|
|
18221
17910
|
* Notifications service.
|
|
18222
17911
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
18223
|
-
* @version
|
|
17912
|
+
* @version 234.0.0
|
|
18224
17913
|
*//**
|
|
18225
17914
|
* Constructs a new NotificationsApi.
|
|
18226
17915
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -18277,7 +17966,7 @@ if(channelId===undefined||channelId===null||channelId===''){throw'Missing the re
|
|
|
18277
17966
|
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(){/**
|
|
18278
17967
|
* OAuth service.
|
|
18279
17968
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
18280
|
-
* @version
|
|
17969
|
+
* @version 234.0.0
|
|
18281
17970
|
*//**
|
|
18282
17971
|
* Constructs a new OAuthApi.
|
|
18283
17972
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -18362,7 +18051,7 @@ if(clientId===undefined||clientId===null||clientId===''){throw'Missing the requi
|
|
|
18362
18051
|
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(){/**
|
|
18363
18052
|
* Objects service.
|
|
18364
18053
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
18365
|
-
* @version
|
|
18054
|
+
* @version 234.0.0
|
|
18366
18055
|
*//**
|
|
18367
18056
|
* Constructs a new ObjectsApi.
|
|
18368
18057
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -18448,7 +18137,7 @@ if(divisionId===undefined||divisionId===null||divisionId===''){throw'Missing the
|
|
|
18448
18137
|
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(){/**
|
|
18449
18138
|
* OperationalEvents service.
|
|
18450
18139
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
18451
|
-
* @version
|
|
18140
|
+
* @version 234.0.0
|
|
18452
18141
|
*//**
|
|
18453
18142
|
* Constructs a new OperationalEventsApi.
|
|
18454
18143
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -18479,7 +18168,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null||eventDefinitionId===
|
|
|
18479
18168
|
*/},{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(){/**
|
|
18480
18169
|
* Organization service.
|
|
18481
18170
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
18482
|
-
* @version
|
|
18171
|
+
* @version 234.0.0
|
|
18483
18172
|
*//**
|
|
18484
18173
|
* Constructs a new OrganizationApi.
|
|
18485
18174
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -18584,7 +18273,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18584
18273
|
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(){/**
|
|
18585
18274
|
* OrganizationAuthorization service.
|
|
18586
18275
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
18587
|
-
* @version
|
|
18276
|
+
* @version 234.0.0
|
|
18588
18277
|
*//**
|
|
18589
18278
|
* Constructs a new OrganizationAuthorizationApi.
|
|
18590
18279
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -18918,7 +18607,7 @@ if(trustorOrgId===undefined||trustorOrgId===null||trustorOrgId===''){throw'Missi
|
|
|
18918
18607
|
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(){/**
|
|
18919
18608
|
* Outbound service.
|
|
18920
18609
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
18921
|
-
* @version
|
|
18610
|
+
* @version 234.0.0
|
|
18922
18611
|
*//**
|
|
18923
18612
|
* Constructs a new OutboundApi.
|
|
18924
18613
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -19730,6 +19419,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19730
19419
|
* @param {Object} opts.useMaxCallsPerAgentDecimal Use maxCallsPerAgent with decimal precision
|
|
19731
19420
|
*/},{key:"postOutboundCampaigns",value:function postOutboundCampaigns(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
19732
19421
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundCampaigns';}return this.apiClient.callApi('/api/v2/outbound/campaigns','POST',{},{'useMaxCallsPerAgentDecimal':opts['useMaxCallsPerAgentDecimal']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19422
|
+
* Get performance data for a list of campaigns
|
|
19423
|
+
*
|
|
19424
|
+
* @param {Array.<String>} body Campaign IDs. Maximum of 50 IDs allowed.
|
|
19425
|
+
*/},{key:"postOutboundCampaignsPerformanceQuery",value:function postOutboundCampaignsPerformanceQuery(body){// verify the required parameter 'body' is set
|
|
19426
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundCampaignsPerformanceQuery';}return this.apiClient.callApi('/api/v2/outbound/campaigns/performance/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19733
19427
|
* Get progress for a list of campaigns
|
|
19734
19428
|
*
|
|
19735
19429
|
* @param {Array.<String>} body Campaign IDs
|
|
@@ -20069,7 +19763,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20069
19763
|
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(){/**
|
|
20070
19764
|
* Presence service.
|
|
20071
19765
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
20072
|
-
* @version
|
|
19766
|
+
* @version 234.0.0
|
|
20073
19767
|
*//**
|
|
20074
19768
|
* Constructs a new PresenceApi.
|
|
20075
19769
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -20242,7 +19936,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20242
19936
|
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(){/**
|
|
20243
19937
|
* ProcessAutomation service.
|
|
20244
19938
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
20245
|
-
* @version
|
|
19939
|
+
* @version 234.0.0
|
|
20246
19940
|
*//**
|
|
20247
19941
|
* Constructs a new ProcessAutomationApi.
|
|
20248
19942
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -20305,7 +19999,7 @@ if(triggerId===undefined||triggerId===null||triggerId===''){throw'Missing the re
|
|
|
20305
19999
|
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(){/**
|
|
20306
20000
|
* Quality service.
|
|
20307
20001
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
20308
|
-
* @version
|
|
20002
|
+
* @version 234.0.0
|
|
20309
20003
|
*//**
|
|
20310
20004
|
* Constructs a new QualityApi.
|
|
20311
20005
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -20823,7 +20517,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
20823
20517
|
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(){/**
|
|
20824
20518
|
* Recording service.
|
|
20825
20519
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
20826
|
-
* @version
|
|
20520
|
+
* @version 234.0.0
|
|
20827
20521
|
*//**
|
|
20828
20522
|
* Constructs a new RecordingApi.
|
|
20829
20523
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -21222,7 +20916,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21222
20916
|
*/},{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(){/**
|
|
21223
20917
|
* ResponseManagement service.
|
|
21224
20918
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
21225
|
-
* @version
|
|
20919
|
+
* @version 234.0.0
|
|
21226
20920
|
*//**
|
|
21227
20921
|
* Constructs a new ResponseManagementApi.
|
|
21228
20922
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -21343,7 +21037,7 @@ if(responseAssetId===undefined||responseAssetId===null||responseAssetId===''){th
|
|
|
21343
21037
|
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(){/**
|
|
21344
21038
|
* Routing service.
|
|
21345
21039
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
21346
|
-
* @version
|
|
21040
|
+
* @version 234.0.0
|
|
21347
21041
|
*//**
|
|
21348
21042
|
* Constructs a new RoutingApi.
|
|
21349
21043
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -21522,6 +21216,16 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
21522
21216
|
* @param {Object} opts.expand Expand options. Valid values: settings
|
|
21523
21217
|
*/},{key:"getRoutingEmailDomain",value:function getRoutingEmailDomain(domainId,opts){opts=opts||{};// verify the required parameter 'domainId' is set
|
|
21524
21218
|
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomain';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}','GET',{'domainId':domainId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21219
|
+
* Get domain dkim settings
|
|
21220
|
+
*
|
|
21221
|
+
* @param {String} domainId domain ID
|
|
21222
|
+
*/},{key:"getRoutingEmailDomainDkim",value:function getRoutingEmailDomainDkim(domainId){// verify the required parameter 'domainId' is set
|
|
21223
|
+
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainDkim';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/dkim','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21224
|
+
* Get domain mail from settings
|
|
21225
|
+
*
|
|
21226
|
+
* @param {String} domainId domain ID
|
|
21227
|
+
*/},{key:"getRoutingEmailDomainMailfrom",value:function getRoutingEmailDomainMailfrom(domainId){// verify the required parameter 'domainId' is set
|
|
21228
|
+
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainMailfrom';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/mailfrom','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21525
21229
|
* Get a route
|
|
21526
21230
|
*
|
|
21527
21231
|
* @param {String} domainName email domain
|
|
@@ -21548,6 +21252,11 @@ if(routeId===undefined||routeId===null||routeId===''){throw'Missing the required
|
|
|
21548
21252
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
21549
21253
|
*/},{key:"getRoutingEmailDomainRoutes",value:function getRoutingEmailDomainRoutes(domainName,opts){opts=opts||{};// verify the required parameter 'domainName' is set
|
|
21550
21254
|
if(domainName===undefined||domainName===null||domainName===''){throw'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoutes';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainName}/routes','GET',{'domainName':domainName},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'pattern':opts['pattern'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21255
|
+
* Get domain verification settings
|
|
21256
|
+
*
|
|
21257
|
+
* @param {String} domainId domain ID
|
|
21258
|
+
*/},{key:"getRoutingEmailDomainVerification",value:function getRoutingEmailDomainVerification(domainId){// verify the required parameter 'domainId' is set
|
|
21259
|
+
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling getRoutingEmailDomainVerification';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/verification','GET',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21551
21260
|
* Get domains
|
|
21552
21261
|
*
|
|
21553
21262
|
* @param {Object} opts Optional parameters
|
|
@@ -22147,6 +21856,18 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22147
21856
|
* @param {Object} opts Optional parameters
|
|
22148
21857
|
* @param {Object} opts.body
|
|
22149
21858
|
*/},{key:"postRoutingAssessmentsJobs",value:function postRoutingAssessmentsJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/routing/assessments/jobs','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21859
|
+
* Restart domain dkim
|
|
21860
|
+
*
|
|
21861
|
+
* @param {String} domainId domain ID
|
|
21862
|
+
*/},{key:"postRoutingEmailDomainDkim",value:function postRoutingEmailDomainDkim(domainId){// verify the required parameter 'domainId' is set
|
|
21863
|
+
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainDkim';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/dkim','POST',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21864
|
+
* Set domain mail from settings
|
|
21865
|
+
*
|
|
21866
|
+
* @param {String} domainId domain ID
|
|
21867
|
+
* @param {Object} body Mail From Settings
|
|
21868
|
+
*/},{key:"postRoutingEmailDomainMailfrom",value:function postRoutingEmailDomainMailfrom(domainId,body){// verify the required parameter 'domainId' is set
|
|
21869
|
+
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainMailfrom';}// verify the required parameter 'body' is set
|
|
21870
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postRoutingEmailDomainMailfrom';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/mailfrom','POST',{'domainId':domainId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22150
21871
|
* Create a route
|
|
22151
21872
|
*
|
|
22152
21873
|
* @param {String} domainName email domain
|
|
@@ -22161,6 +21882,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22161
21882
|
* @param {Object} opts.body TestMessage
|
|
22162
21883
|
*/},{key:"postRoutingEmailDomainTestconnection",value:function postRoutingEmailDomainTestconnection(domainId,opts){opts=opts||{};// verify the required parameter 'domainId' is set
|
|
22163
21884
|
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainTestconnection';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/testconnection','POST',{'domainId':domainId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21885
|
+
* Restart domain verification
|
|
21886
|
+
*
|
|
21887
|
+
* @param {String} domainId domain ID
|
|
21888
|
+
*/},{key:"postRoutingEmailDomainVerification",value:function postRoutingEmailDomainVerification(domainId){// verify the required parameter 'domainId' is set
|
|
21889
|
+
if(domainId===undefined||domainId===null||domainId===''){throw'Missing the required parameter "domainId" when calling postRoutingEmailDomainVerification';}return this.apiClient.callApi('/api/v2/routing/email/domains/{domainId}/verification','POST',{'domainId':domainId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22164
21890
|
* Create a domain
|
|
22165
21891
|
*
|
|
22166
21892
|
* @param {Object} body Domain
|
|
@@ -22402,7 +22128,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22402
22128
|
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(){/**
|
|
22403
22129
|
* SCIM service.
|
|
22404
22130
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
22405
|
-
* @version
|
|
22131
|
+
* @version 234.0.0
|
|
22406
22132
|
*//**
|
|
22407
22133
|
* Constructs a new SCIMApi.
|
|
22408
22134
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -22627,7 +22353,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
22627
22353
|
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(){/**
|
|
22628
22354
|
* ScreenRecording service.
|
|
22629
22355
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
22630
|
-
* @version
|
|
22356
|
+
* @version 234.0.0
|
|
22631
22357
|
*//**
|
|
22632
22358
|
* Constructs a new ScreenRecordingApi.
|
|
22633
22359
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -22642,7 +22368,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22642
22368
|
*/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(){/**
|
|
22643
22369
|
* Scripts service.
|
|
22644
22370
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
22645
|
-
* @version
|
|
22371
|
+
* @version 234.0.0
|
|
22646
22372
|
*//**
|
|
22647
22373
|
* Constructs a new ScriptsApi.
|
|
22648
22374
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -22788,7 +22514,7 @@ if(scriptId===undefined||scriptId===null||scriptId===''){throw'Missing the requi
|
|
|
22788
22514
|
*/},{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(){/**
|
|
22789
22515
|
* Search service.
|
|
22790
22516
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
22791
|
-
* @version
|
|
22517
|
+
* @version 234.0.0
|
|
22792
22518
|
*//**
|
|
22793
22519
|
* Constructs a new SearchApi.
|
|
22794
22520
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -22884,14 +22610,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22884
22610
|
* @param {Object} body Search request options
|
|
22885
22611
|
*/},{key:"postGroupsSearch",value:function postGroupsSearch(body){// verify the required parameter 'body' is set
|
|
22886
22612
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGroupsSearch';}return this.apiClient.callApi('/api/v2/groups/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22887
|
-
* Search Documents
|
|
22888
|
-
*
|
|
22889
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
22890
|
-
* @param {Object} opts Optional parameters
|
|
22891
|
-
* @param {Object} opts.body
|
|
22892
|
-
* @deprecated
|
|
22893
|
-
*/},{key:"postKnowledgeKnowledgebaseSearch",value:function postKnowledgeKnowledgebaseSearch(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
22894
|
-
if(knowledgeBaseId===undefined||knowledgeBaseId===null||knowledgeBaseId===''){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22895
22613
|
* Search locations
|
|
22896
22614
|
*
|
|
22897
22615
|
* @param {Object} body Search request options
|
|
@@ -22955,7 +22673,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22955
22673
|
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(){/**
|
|
22956
22674
|
* Settings service.
|
|
22957
22675
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
22958
|
-
* @version
|
|
22676
|
+
* @version 234.0.0
|
|
22959
22677
|
*//**
|
|
22960
22678
|
* Constructs a new SettingsApi.
|
|
22961
22679
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -23027,7 +22745,7 @@ if(agentId===undefined||agentId===null||agentId===''){throw'Missing the required
|
|
|
23027
22745
|
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(){/**
|
|
23028
22746
|
* SocialMedia service.
|
|
23029
22747
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
23030
|
-
* @version
|
|
22748
|
+
* @version 234.0.0
|
|
23031
22749
|
*//**
|
|
23032
22750
|
* Constructs a new SocialMediaApi.
|
|
23033
22751
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -23116,8 +22834,10 @@ if(jobId===undefined||jobId===null||jobId===''){throw'Missing the required param
|
|
|
23116
22834
|
* Get a single escalation rule.
|
|
23117
22835
|
*
|
|
23118
22836
|
* @param {String} escalationRuleId escalationRuleId
|
|
23119
|
-
|
|
23120
|
-
|
|
22837
|
+
* @param {Object} opts Optional parameters
|
|
22838
|
+
* @param {Object} opts.expand which fields, if any, to expand
|
|
22839
|
+
*/},{key:"getSocialmediaEscalationrule",value:function getSocialmediaEscalationrule(escalationRuleId,opts){opts=opts||{};// verify the required parameter 'escalationRuleId' is set
|
|
22840
|
+
if(escalationRuleId===undefined||escalationRuleId===null||escalationRuleId===''){throw'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';}return this.apiClient.callApi('/api/v2/socialmedia/escalationrules/{escalationRuleId}','GET',{'escalationRuleId':escalationRuleId},{'expand':opts['expand']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23121
22841
|
* Retrieve all escalation rules for a division.
|
|
23122
22842
|
*
|
|
23123
22843
|
* @param {String} divisionId One division ID
|
|
@@ -23440,7 +23160,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23440
23160
|
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(){/**
|
|
23441
23161
|
* SpeechTextAnalytics service.
|
|
23442
23162
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
23443
|
-
* @version
|
|
23163
|
+
* @version 234.0.0
|
|
23444
23164
|
*//**
|
|
23445
23165
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
23446
23166
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -23649,13 +23369,14 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23649
23369
|
* @param {Object} opts Optional parameters
|
|
23650
23370
|
* @param {String} opts.nextPage The key for listing the next page
|
|
23651
23371
|
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 500. (default to 20)
|
|
23372
|
+
* @param {Number} opts.pageNumber The page number for the listing
|
|
23652
23373
|
* @param {Object} opts.state Topic state. Defaults to latest
|
|
23653
23374
|
* @param {String} opts.name Case insensitive partial name to filter by
|
|
23654
23375
|
* @param {Array.<String>} opts.ids Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
|
|
23655
23376
|
* @param {Array.<String>} opts.dialects Comma separated dialect strings to filter by. Maximum of 15 dialects allowed.
|
|
23656
23377
|
* @param {Object} opts.sortBy Sort results by. Defaults to name
|
|
23657
23378
|
* @param {Object} opts.sortOrder Sort order. Defaults to asc
|
|
23658
|
-
*/},{key:"getSpeechandtextanalyticsTopics",value:function getSpeechandtextanalyticsTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics','GET',{},{'nextPage':opts['nextPage'],'pageSize':opts['pageSize'],'state':opts['state'],'name':opts['name'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'dialects':this.apiClient.buildCollectionParam(opts['dialects'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23379
|
+
*/},{key:"getSpeechandtextanalyticsTopics",value:function getSpeechandtextanalyticsTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics','GET',{},{'nextPage':opts['nextPage'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'state':opts['state'],'name':opts['name'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'dialects':this.apiClient.buildCollectionParam(opts['dialects'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23659
23380
|
* Get list of supported Speech and Text Analytics topics dialects
|
|
23660
23381
|
*
|
|
23661
23382
|
*/},{key:"getSpeechandtextanalyticsTopicsDialects",value:function getSpeechandtextanalyticsTopicsDialects(){return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/dialects','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -23809,7 +23530,7 @@ if(topicId===undefined||topicId===null||topicId===''){throw'Missing the required
|
|
|
23809
23530
|
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(){/**
|
|
23810
23531
|
* Stations service.
|
|
23811
23532
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
23812
|
-
* @version
|
|
23533
|
+
* @version 234.0.0
|
|
23813
23534
|
*//**
|
|
23814
23535
|
* Constructs a new StationsApi.
|
|
23815
23536
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -23841,7 +23562,7 @@ if(stationId===undefined||stationId===null||stationId===''){throw'Missing the re
|
|
|
23841
23562
|
*/},{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(){/**
|
|
23842
23563
|
* Suggest service.
|
|
23843
23564
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
23844
|
-
* @version
|
|
23565
|
+
* @version 234.0.0
|
|
23845
23566
|
*//**
|
|
23846
23567
|
* Constructs a new SuggestApi.
|
|
23847
23568
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -23881,7 +23602,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23881
23602
|
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(){/**
|
|
23882
23603
|
* TaskManagement service.
|
|
23883
23604
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
23884
|
-
* @version
|
|
23605
|
+
* @version 234.0.0
|
|
23885
23606
|
*//**
|
|
23886
23607
|
* Constructs a new TaskManagementApi.
|
|
23887
23608
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -23981,9 +23702,9 @@ if(workbinId===undefined||workbinId===null||workbinId===''){throw'Missing the re
|
|
|
23981
23702
|
*
|
|
23982
23703
|
* @param {String} workitemId Workitem ID
|
|
23983
23704
|
* @param {Object} opts Optional parameters
|
|
23984
|
-
* @param {
|
|
23705
|
+
* @param {Array.<String>} opts.expands Which fields to expand. Comma separated if more than one.
|
|
23985
23706
|
*/},{key:"getTaskmanagementWorkitem",value:function getTaskmanagementWorkitem(workitemId,opts){opts=opts||{};// verify the required parameter 'workitemId' is set
|
|
23986
|
-
if(workitemId===undefined||workitemId===null||workitemId===''){throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitem';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/{workitemId}','GET',{'workitemId':workitemId},{'expands':opts['expands']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23707
|
+
if(workitemId===undefined||workitemId===null||workitemId===''){throw'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitem';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/{workitemId}','GET',{'workitemId':workitemId},{'expands':this.apiClient.buildCollectionParam(opts['expands'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23987
23708
|
* Get a listing of a workitem's attribute change history
|
|
23988
23709
|
*
|
|
23989
23710
|
* @param {String} workitemId Workitem ID
|
|
@@ -24389,7 +24110,7 @@ if(schemaId===undefined||schemaId===null||schemaId===''){throw'Missing the requi
|
|
|
24389
24110
|
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(){/**
|
|
24390
24111
|
* Teams service.
|
|
24391
24112
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
24392
|
-
* @version
|
|
24113
|
+
* @version 234.0.0
|
|
24393
24114
|
*//**
|
|
24394
24115
|
* Constructs a new TeamsApi.
|
|
24395
24116
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -24469,7 +24190,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24469
24190
|
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(){/**
|
|
24470
24191
|
* Telephony service.
|
|
24471
24192
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
24472
|
-
* @version
|
|
24193
|
+
* @version 234.0.0
|
|
24473
24194
|
*//**
|
|
24474
24195
|
* Constructs a new TelephonyApi.
|
|
24475
24196
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -24540,7 +24261,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24540
24261
|
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(){/**
|
|
24541
24262
|
* TelephonyProvidersEdge service.
|
|
24542
24263
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
24543
|
-
* @version
|
|
24264
|
+
* @version 234.0.0
|
|
24544
24265
|
*//**
|
|
24545
24266
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
24546
24267
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -25388,7 +25109,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null||trunkBaseSetting
|
|
|
25388
25109
|
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(){/**
|
|
25389
25110
|
* Textbots service.
|
|
25390
25111
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
25391
|
-
* @version
|
|
25112
|
+
* @version 234.0.0
|
|
25392
25113
|
*//**
|
|
25393
25114
|
* Constructs a new TextbotsApi.
|
|
25394
25115
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -25424,7 +25145,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
25424
25145
|
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(){/**
|
|
25425
25146
|
* Tokens service.
|
|
25426
25147
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
25427
|
-
* @version
|
|
25148
|
+
* @version 234.0.0
|
|
25428
25149
|
*//**
|
|
25429
25150
|
* Constructs a new TokensApi.
|
|
25430
25151
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -25458,7 +25179,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
25458
25179
|
*/},{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(){/**
|
|
25459
25180
|
* Uploads service.
|
|
25460
25181
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
25461
|
-
* @version
|
|
25182
|
+
* @version 234.0.0
|
|
25462
25183
|
*//**
|
|
25463
25184
|
* Constructs a new UploadsApi.
|
|
25464
25185
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -25526,7 +25247,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25526
25247
|
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(){/**
|
|
25527
25248
|
* Usage service.
|
|
25528
25249
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
25529
|
-
* @version
|
|
25250
|
+
* @version 234.0.0
|
|
25530
25251
|
*//**
|
|
25531
25252
|
* Constructs a new UsageApi.
|
|
25532
25253
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -25610,7 +25331,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
25610
25331
|
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(){/**
|
|
25611
25332
|
* UserRecordings service.
|
|
25612
25333
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
25613
|
-
* @version
|
|
25334
|
+
* @version 234.0.0
|
|
25614
25335
|
*//**
|
|
25615
25336
|
* Constructs a new UserRecordingsApi.
|
|
25616
25337
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -25658,7 +25379,7 @@ if(recordingId===undefined||recordingId===null||recordingId===''){throw'Missing
|
|
|
25658
25379
|
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(){/**
|
|
25659
25380
|
* Users service.
|
|
25660
25381
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
25661
|
-
* @version
|
|
25382
|
+
* @version 234.0.0
|
|
25662
25383
|
*//**
|
|
25663
25384
|
* Constructs a new UsersApi.
|
|
25664
25385
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -26402,7 +26123,7 @@ if(verifierId===undefined||verifierId===null||verifierId===''){throw'Missing the
|
|
|
26402
26123
|
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(){/**
|
|
26403
26124
|
* Utilities service.
|
|
26404
26125
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
26405
|
-
* @version
|
|
26126
|
+
* @version 234.0.0
|
|
26406
26127
|
*//**
|
|
26407
26128
|
* Constructs a new UtilitiesApi.
|
|
26408
26129
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -26429,7 +26150,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26429
26150
|
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(){/**
|
|
26430
26151
|
* Voicemail service.
|
|
26431
26152
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
26432
|
-
* @version
|
|
26153
|
+
* @version 234.0.0
|
|
26433
26154
|
*//**
|
|
26434
26155
|
* Constructs a new VoicemailApi.
|
|
26435
26156
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -26591,7 +26312,7 @@ if(userId===undefined||userId===null||userId===''){throw'Missing the required pa
|
|
|
26591
26312
|
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(){/**
|
|
26592
26313
|
* WebChat service.
|
|
26593
26314
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
26594
|
-
* @version
|
|
26315
|
+
* @version 234.0.0
|
|
26595
26316
|
*//**
|
|
26596
26317
|
* Constructs a new WebChatApi.
|
|
26597
26318
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -26738,7 +26459,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
26738
26459
|
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(){/**
|
|
26739
26460
|
* WebDeployments service.
|
|
26740
26461
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
26741
|
-
* @version
|
|
26462
|
+
* @version 234.0.0
|
|
26742
26463
|
*//**
|
|
26743
26464
|
* Constructs a new WebDeploymentsApi.
|
|
26744
26465
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -26838,7 +26559,7 @@ if(configurationVersion===undefined||configurationVersion===null){throw'Missing
|
|
|
26838
26559
|
* @param {Object} deployment
|
|
26839
26560
|
*/},{key:"postWebdeploymentsDeployments",value:function postWebdeploymentsDeployments(deployment){// verify the required parameter 'deployment' is set
|
|
26840
26561
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling postWebdeploymentsDeployments';}return this.apiClient.callApi('/api/v2/webdeployments/deployments','POST',{},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
26841
|
-
* Exchange an oAuth code (obtained using the Authorization Code Flow) for a JWT that can be used by webdeployments.
|
|
26562
|
+
* Exchange an oAuth code (obtained using the Authorization Code Flow or Implicit flow) for a JWT that can be used by webdeployments.
|
|
26842
26563
|
*
|
|
26843
26564
|
* @param {Object} body webDeploymentsOAuthExchangeRequest
|
|
26844
26565
|
*/},{key:"postWebdeploymentsTokenOauthcodegrantjwtexchange",value:function postWebdeploymentsTokenOauthcodegrantjwtexchange(body){// verify the required parameter 'body' is set
|
|
@@ -26871,7 +26592,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26871
26592
|
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(){/**
|
|
26872
26593
|
* WebMessaging service.
|
|
26873
26594
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
26874
|
-
* @version
|
|
26595
|
+
* @version 234.0.0
|
|
26875
26596
|
*//**
|
|
26876
26597
|
* Constructs a new WebMessagingApi.
|
|
26877
26598
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -26912,7 +26633,7 @@ if(tokenId===undefined||tokenId===null||tokenId===''){throw'Missing the required
|
|
|
26912
26633
|
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(){/**
|
|
26913
26634
|
* Widgets service.
|
|
26914
26635
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
26915
|
-
* @version
|
|
26636
|
+
* @version 234.0.0
|
|
26916
26637
|
*//**
|
|
26917
26638
|
* Constructs a new WidgetsApi.
|
|
26918
26639
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -26952,7 +26673,7 @@ if(deploymentId===undefined||deploymentId===null||deploymentId===''){throw'Missi
|
|
|
26952
26673
|
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(){/**
|
|
26953
26674
|
* WorkforceManagement service.
|
|
26954
26675
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
26955
|
-
* @version
|
|
26676
|
+
* @version 234.0.0
|
|
26956
26677
|
*//**
|
|
26957
26678
|
* Constructs a new WorkforceManagementApi.
|
|
26958
26679
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -28912,7 +28633,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
28912
28633
|
* </pre>
|
|
28913
28634
|
* </p>
|
|
28914
28635
|
* @module purecloud-platform-client-v2/index
|
|
28915
|
-
* @version
|
|
28636
|
+
* @version 234.0.0
|
|
28916
28637
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
28917
28638
|
* The ApiClient constructor.
|
|
28918
28639
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -29172,4 +28893,4 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
29172
28893
|
var index=new platformClient();module.exports=index;
|
|
29173
28894
|
|
|
29174
28895
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,require("timers").setImmediate)
|
|
29175
|
-
},{"buffer":
|
|
28896
|
+
},{"buffer":3,"os":41,"path":42,"qs":45,"timers":53}]},{},[]);
|