purecloud-platform-client-v2 209.0.0 → 210.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 +507 -101
- package/dist/web-amd/purecloud-platform-client-v2.js +507 -101
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +191 -97
- package/dist/web-cjs/purecloud-platform-client-v2.js +260 -160
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +892 -702
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.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/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 +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +175 -0
- 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 +240 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +9 -9
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +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 +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +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 +1 -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 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +5 -13
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -1945,7 +1945,7 @@ var $reflectApply = require('./reflectApply');
|
|
|
1945
1945
|
/** @type {import('./actualApply')} */
|
|
1946
1946
|
module.exports = $reflectApply || bind.call($call, $apply);
|
|
1947
1947
|
|
|
1948
|
-
},{"./functionApply":6,"./functionCall":7,"./reflectApply":9,"function-bind":
|
|
1948
|
+
},{"./functionApply":6,"./functionCall":7,"./reflectApply":9,"function-bind":23}],5:[function(require,module,exports){
|
|
1949
1949
|
'use strict';
|
|
1950
1950
|
|
|
1951
1951
|
var bind = require('function-bind');
|
|
@@ -1957,7 +1957,7 @@ module.exports = function applyBind() {
|
|
|
1957
1957
|
return actualApply(bind, $apply, arguments);
|
|
1958
1958
|
};
|
|
1959
1959
|
|
|
1960
|
-
},{"./actualApply":4,"./functionApply":6,"function-bind":
|
|
1960
|
+
},{"./actualApply":4,"./functionApply":6,"function-bind":23}],6:[function(require,module,exports){
|
|
1961
1961
|
'use strict';
|
|
1962
1962
|
|
|
1963
1963
|
/** @type {import('./functionApply')} */
|
|
@@ -1986,11 +1986,11 @@ module.exports = function callBindBasic(args) {
|
|
|
1986
1986
|
return $actualApply(bind, $call, args);
|
|
1987
1987
|
};
|
|
1988
1988
|
|
|
1989
|
-
},{"./actualApply":4,"./functionCall":7,"es-errors/type":
|
|
1989
|
+
},{"./actualApply":4,"./functionCall":7,"es-errors/type":20,"function-bind":23}],9:[function(require,module,exports){
|
|
1990
1990
|
'use strict';
|
|
1991
1991
|
|
|
1992
1992
|
/** @type {import('./reflectApply')} */
|
|
1993
|
-
module.exports = typeof Reflect
|
|
1993
|
+
module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
|
|
1994
1994
|
|
|
1995
1995
|
},{}],10:[function(require,module,exports){
|
|
1996
1996
|
'use strict';
|
|
@@ -2009,7 +2009,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
2009
2009
|
return intrinsic;
|
|
2010
2010
|
};
|
|
2011
2011
|
|
|
2012
|
-
},{"./":11,"get-intrinsic":
|
|
2012
|
+
},{"./":11,"get-intrinsic":24}],11:[function(require,module,exports){
|
|
2013
2013
|
'use strict';
|
|
2014
2014
|
|
|
2015
2015
|
var setFunctionLength = require('set-function-length');
|
|
@@ -2035,7 +2035,7 @@ if ($defineProperty) {
|
|
|
2035
2035
|
module.exports.apply = applyBind;
|
|
2036
2036
|
}
|
|
2037
2037
|
|
|
2038
|
-
},{"call-bind-apply-helpers":8,"call-bind-apply-helpers/applyBind":5,"es-define-property":
|
|
2038
|
+
},{"call-bind-apply-helpers":8,"call-bind-apply-helpers/applyBind":5,"es-define-property":14,"set-function-length":41}],12:[function(require,module,exports){
|
|
2039
2039
|
'use strict';
|
|
2040
2040
|
|
|
2041
2041
|
var $defineProperty = require('es-define-property');
|
|
@@ -2093,13 +2093,36 @@ module.exports = function defineDataProperty(
|
|
|
2093
2093
|
}
|
|
2094
2094
|
};
|
|
2095
2095
|
|
|
2096
|
-
},{"es-define-property":
|
|
2096
|
+
},{"es-define-property":14,"es-errors/syntax":19,"es-errors/type":20,"gopd":26}],13:[function(require,module,exports){
|
|
2097
2097
|
'use strict';
|
|
2098
2098
|
|
|
2099
|
-
var
|
|
2099
|
+
var callBind = require('call-bind-apply-helpers');
|
|
2100
|
+
var gOPD = require('gopd');
|
|
2101
|
+
|
|
2102
|
+
// eslint-disable-next-line no-extra-parens, no-proto
|
|
2103
|
+
var hasProtoAccessor = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
|
|
2104
|
+
|
|
2105
|
+
// eslint-disable-next-line no-extra-parens
|
|
2106
|
+
var desc = hasProtoAccessor && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
|
|
2107
|
+
|
|
2108
|
+
var $Object = Object;
|
|
2109
|
+
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
2110
|
+
|
|
2111
|
+
/** @type {import('./get')} */
|
|
2112
|
+
module.exports = desc && typeof desc.get === 'function'
|
|
2113
|
+
? callBind([desc.get])
|
|
2114
|
+
: typeof $getPrototypeOf === 'function'
|
|
2115
|
+
? /** @type {import('./get')} */ function getDunder(value) {
|
|
2116
|
+
// eslint-disable-next-line eqeqeq
|
|
2117
|
+
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
2118
|
+
}
|
|
2119
|
+
: false;
|
|
2120
|
+
|
|
2121
|
+
},{"call-bind-apply-helpers":8,"gopd":26}],14:[function(require,module,exports){
|
|
2122
|
+
'use strict';
|
|
2100
2123
|
|
|
2101
2124
|
/** @type {import('.')} */
|
|
2102
|
-
var $defineProperty =
|
|
2125
|
+
var $defineProperty = Object.defineProperty || false;
|
|
2103
2126
|
if ($defineProperty) {
|
|
2104
2127
|
try {
|
|
2105
2128
|
$defineProperty({}, 'a', { value: 1 });
|
|
@@ -2111,49 +2134,49 @@ if ($defineProperty) {
|
|
|
2111
2134
|
|
|
2112
2135
|
module.exports = $defineProperty;
|
|
2113
2136
|
|
|
2114
|
-
},{
|
|
2137
|
+
},{}],15:[function(require,module,exports){
|
|
2115
2138
|
'use strict';
|
|
2116
2139
|
|
|
2117
2140
|
/** @type {import('./eval')} */
|
|
2118
2141
|
module.exports = EvalError;
|
|
2119
2142
|
|
|
2120
|
-
},{}],
|
|
2143
|
+
},{}],16:[function(require,module,exports){
|
|
2121
2144
|
'use strict';
|
|
2122
2145
|
|
|
2123
2146
|
/** @type {import('.')} */
|
|
2124
2147
|
module.exports = Error;
|
|
2125
2148
|
|
|
2126
|
-
},{}],
|
|
2149
|
+
},{}],17:[function(require,module,exports){
|
|
2127
2150
|
'use strict';
|
|
2128
2151
|
|
|
2129
2152
|
/** @type {import('./range')} */
|
|
2130
2153
|
module.exports = RangeError;
|
|
2131
2154
|
|
|
2132
|
-
},{}],
|
|
2155
|
+
},{}],18:[function(require,module,exports){
|
|
2133
2156
|
'use strict';
|
|
2134
2157
|
|
|
2135
2158
|
/** @type {import('./ref')} */
|
|
2136
2159
|
module.exports = ReferenceError;
|
|
2137
2160
|
|
|
2138
|
-
},{}],
|
|
2161
|
+
},{}],19:[function(require,module,exports){
|
|
2139
2162
|
'use strict';
|
|
2140
2163
|
|
|
2141
2164
|
/** @type {import('./syntax')} */
|
|
2142
2165
|
module.exports = SyntaxError;
|
|
2143
2166
|
|
|
2144
|
-
},{}],
|
|
2167
|
+
},{}],20:[function(require,module,exports){
|
|
2145
2168
|
'use strict';
|
|
2146
2169
|
|
|
2147
2170
|
/** @type {import('./type')} */
|
|
2148
2171
|
module.exports = TypeError;
|
|
2149
2172
|
|
|
2150
|
-
},{}],
|
|
2173
|
+
},{}],21:[function(require,module,exports){
|
|
2151
2174
|
'use strict';
|
|
2152
2175
|
|
|
2153
2176
|
/** @type {import('./uri')} */
|
|
2154
2177
|
module.exports = URIError;
|
|
2155
2178
|
|
|
2156
|
-
},{}],
|
|
2179
|
+
},{}],22:[function(require,module,exports){
|
|
2157
2180
|
'use strict';
|
|
2158
2181
|
|
|
2159
2182
|
/* eslint no-invalid-this: 1 */
|
|
@@ -2239,14 +2262,14 @@ module.exports = function bind(that) {
|
|
|
2239
2262
|
return bound;
|
|
2240
2263
|
};
|
|
2241
2264
|
|
|
2242
|
-
},{}],
|
|
2265
|
+
},{}],23:[function(require,module,exports){
|
|
2243
2266
|
'use strict';
|
|
2244
2267
|
|
|
2245
2268
|
var implementation = require('./implementation');
|
|
2246
2269
|
|
|
2247
2270
|
module.exports = Function.prototype.bind || implementation;
|
|
2248
2271
|
|
|
2249
|
-
},{"./implementation":
|
|
2272
|
+
},{"./implementation":22}],24:[function(require,module,exports){
|
|
2250
2273
|
'use strict';
|
|
2251
2274
|
|
|
2252
2275
|
var undefined;
|
|
@@ -2268,14 +2291,8 @@ var getEvalledConstructor = function (expressionSyntax) {
|
|
|
2268
2291
|
} catch (e) {}
|
|
2269
2292
|
};
|
|
2270
2293
|
|
|
2271
|
-
var $gOPD =
|
|
2272
|
-
|
|
2273
|
-
try {
|
|
2274
|
-
$gOPD({}, '');
|
|
2275
|
-
} catch (e) {
|
|
2276
|
-
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
2277
|
-
}
|
|
2278
|
-
}
|
|
2294
|
+
var $gOPD = require('gopd');
|
|
2295
|
+
var $defineProperty = require('es-define-property');
|
|
2279
2296
|
|
|
2280
2297
|
var throwTypeError = function () {
|
|
2281
2298
|
throw new $TypeError();
|
|
@@ -2298,13 +2315,14 @@ var ThrowTypeError = $gOPD
|
|
|
2298
2315
|
: throwTypeError;
|
|
2299
2316
|
|
|
2300
2317
|
var hasSymbols = require('has-symbols')();
|
|
2301
|
-
var
|
|
2318
|
+
var getDunderProto = require('dunder-proto/get');
|
|
2302
2319
|
|
|
2303
|
-
var getProto =
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
);
|
|
2320
|
+
var getProto = (typeof Reflect === 'function' && Reflect.getPrototypeOf)
|
|
2321
|
+
|| Object.getPrototypeOf
|
|
2322
|
+
|| getDunderProto;
|
|
2323
|
+
|
|
2324
|
+
var $apply = require('call-bind-apply-helpers/functionApply');
|
|
2325
|
+
var $call = require('call-bind-apply-helpers/functionCall');
|
|
2308
2326
|
|
|
2309
2327
|
var needsEval = {};
|
|
2310
2328
|
|
|
@@ -2352,6 +2370,7 @@ var INTRINSICS = {
|
|
|
2352
2370
|
'%Math%': Math,
|
|
2353
2371
|
'%Number%': Number,
|
|
2354
2372
|
'%Object%': Object,
|
|
2373
|
+
'%Object.getOwnPropertyDescriptor%': $gOPD,
|
|
2355
2374
|
'%parseFloat%': parseFloat,
|
|
2356
2375
|
'%parseInt%': parseInt,
|
|
2357
2376
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
@@ -2377,7 +2396,11 @@ var INTRINSICS = {
|
|
|
2377
2396
|
'%URIError%': $URIError,
|
|
2378
2397
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
2379
2398
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
2380
|
-
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
2399
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet,
|
|
2400
|
+
|
|
2401
|
+
'%Function.prototype.call%': $call,
|
|
2402
|
+
'%Function.prototype.apply%': $apply,
|
|
2403
|
+
'%Object.defineProperty%': $defineProperty
|
|
2381
2404
|
};
|
|
2382
2405
|
|
|
2383
2406
|
if (getProto) {
|
|
@@ -2472,11 +2495,11 @@ var LEGACY_ALIASES = {
|
|
|
2472
2495
|
|
|
2473
2496
|
var bind = require('function-bind');
|
|
2474
2497
|
var hasOwn = require('hasown');
|
|
2475
|
-
var $concat = bind.call(
|
|
2476
|
-
var $spliceApply = bind.call(
|
|
2477
|
-
var $replace = bind.call(
|
|
2478
|
-
var $strSlice = bind.call(
|
|
2479
|
-
var $exec = bind.call(
|
|
2498
|
+
var $concat = bind.call($call, Array.prototype.concat);
|
|
2499
|
+
var $spliceApply = bind.call($apply, Array.prototype.splice);
|
|
2500
|
+
var $replace = bind.call($call, String.prototype.replace);
|
|
2501
|
+
var $strSlice = bind.call($call, String.prototype.slice);
|
|
2502
|
+
var $exec = bind.call($call, RegExp.prototype.exec);
|
|
2480
2503
|
|
|
2481
2504
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
2482
2505
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
@@ -2607,13 +2630,13 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
2607
2630
|
return value;
|
|
2608
2631
|
};
|
|
2609
2632
|
|
|
2610
|
-
},{"es-errors":
|
|
2633
|
+
},{"call-bind-apply-helpers/functionApply":6,"call-bind-apply-helpers/functionCall":7,"dunder-proto/get":13,"es-define-property":14,"es-errors":16,"es-errors/eval":15,"es-errors/range":17,"es-errors/ref":18,"es-errors/syntax":19,"es-errors/type":20,"es-errors/uri":21,"function-bind":23,"gopd":26,"has-symbols":28,"hasown":30}],25:[function(require,module,exports){
|
|
2611
2634
|
'use strict';
|
|
2612
2635
|
|
|
2613
2636
|
/** @type {import('./gOPD')} */
|
|
2614
2637
|
module.exports = Object.getOwnPropertyDescriptor;
|
|
2615
2638
|
|
|
2616
|
-
},{}],
|
|
2639
|
+
},{}],26:[function(require,module,exports){
|
|
2617
2640
|
'use strict';
|
|
2618
2641
|
|
|
2619
2642
|
/** @type {import('.')} */
|
|
@@ -2630,7 +2653,7 @@ if ($gOPD) {
|
|
|
2630
2653
|
|
|
2631
2654
|
module.exports = $gOPD;
|
|
2632
2655
|
|
|
2633
|
-
},{"./gOPD":
|
|
2656
|
+
},{"./gOPD":25}],27:[function(require,module,exports){
|
|
2634
2657
|
'use strict';
|
|
2635
2658
|
|
|
2636
2659
|
var $defineProperty = require('es-define-property');
|
|
@@ -2654,24 +2677,7 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
2654
2677
|
|
|
2655
2678
|
module.exports = hasPropertyDescriptors;
|
|
2656
2679
|
|
|
2657
|
-
},{"es-define-property":
|
|
2658
|
-
'use strict';
|
|
2659
|
-
|
|
2660
|
-
var test = {
|
|
2661
|
-
__proto__: null,
|
|
2662
|
-
foo: {}
|
|
2663
|
-
};
|
|
2664
|
-
|
|
2665
|
-
// @ts-expect-error: TS errors on an inherited property for some reason
|
|
2666
|
-
var result = { __proto__: test }.foo === test.foo
|
|
2667
|
-
&& !(test instanceof Object);
|
|
2668
|
-
|
|
2669
|
-
/** @type {import('.')} */
|
|
2670
|
-
module.exports = function hasProto() {
|
|
2671
|
-
return result;
|
|
2672
|
-
};
|
|
2673
|
-
|
|
2674
|
-
},{}],28:[function(require,module,exports){
|
|
2680
|
+
},{"es-define-property":14}],28:[function(require,module,exports){
|
|
2675
2681
|
'use strict';
|
|
2676
2682
|
|
|
2677
2683
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -2744,7 +2750,7 @@ var bind = require('function-bind');
|
|
|
2744
2750
|
/** @type {import('.')} */
|
|
2745
2751
|
module.exports = bind.call(call, $hasOwn);
|
|
2746
2752
|
|
|
2747
|
-
},{"function-bind":
|
|
2753
|
+
},{"function-bind":23}],31:[function(require,module,exports){
|
|
2748
2754
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
2749
2755
|
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
2750
2756
|
var e, m
|
|
@@ -5155,7 +5161,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
5155
5161
|
return fn;
|
|
5156
5162
|
};
|
|
5157
5163
|
|
|
5158
|
-
},{"define-data-property":12,"es-errors/type":
|
|
5164
|
+
},{"define-data-property":12,"es-errors/type":20,"get-intrinsic":24,"gopd":26,"has-property-descriptors":27}],42:[function(require,module,exports){
|
|
5159
5165
|
'use strict';
|
|
5160
5166
|
|
|
5161
5167
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -5286,7 +5292,7 @@ module.exports = function getSideChannel() {
|
|
|
5286
5292
|
return channel;
|
|
5287
5293
|
};
|
|
5288
5294
|
|
|
5289
|
-
},{"call-bind/callBound":10,"es-errors/type":
|
|
5295
|
+
},{"call-bind/callBound":10,"es-errors/type":20,"get-intrinsic":24,"object-inspect":32}],43:[function(require,module,exports){
|
|
5290
5296
|
(function (setImmediate,clearImmediate){(function (){
|
|
5291
5297
|
var nextTick = require('process/browser.js').nextTick;
|
|
5292
5298
|
var apply = Function.prototype.apply;
|
|
@@ -6246,7 +6252,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6246
6252
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6247
6253
|
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];}}}]);}();/**
|
|
6248
6254
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6249
|
-
* @version
|
|
6255
|
+
* @version 210.0.0
|
|
6250
6256
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6251
6257
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6252
6258
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6568,7 +6574,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6568
6574
|
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 AgentAssistantsApi=/*#__PURE__*/function(){/**
|
|
6569
6575
|
* AgentAssistants service.
|
|
6570
6576
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
6571
|
-
* @version
|
|
6577
|
+
* @version 210.0.0
|
|
6572
6578
|
*//**
|
|
6573
6579
|
* Constructs a new AgentAssistantsApi.
|
|
6574
6580
|
* @alias module:purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
@@ -6669,7 +6675,7 @@ if(queueId===undefined||queueId===null){throw'Missing the required parameter "qu
|
|
|
6669
6675
|
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(){/**
|
|
6670
6676
|
* AgentCopilot service.
|
|
6671
6677
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
6672
|
-
* @version
|
|
6678
|
+
* @version 210.0.0
|
|
6673
6679
|
*//**
|
|
6674
6680
|
* Constructs a new AgentCopilotApi.
|
|
6675
6681
|
* @alias module:purecloud-platform-client-v2/api/AgentCopilotApi
|
|
@@ -6691,7 +6697,7 @@ if(assistantId===undefined||assistantId===null){throw'Missing the required param
|
|
|
6691
6697
|
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(){/**
|
|
6692
6698
|
* AgentUI service.
|
|
6693
6699
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6694
|
-
* @version
|
|
6700
|
+
* @version 210.0.0
|
|
6695
6701
|
*//**
|
|
6696
6702
|
* Constructs a new AgentUIApi.
|
|
6697
6703
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -6725,7 +6731,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
6725
6731
|
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(){/**
|
|
6726
6732
|
* Alerting service.
|
|
6727
6733
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6728
|
-
* @version
|
|
6734
|
+
* @version 210.0.0
|
|
6729
6735
|
*//**
|
|
6730
6736
|
* Constructs a new AlertingApi.
|
|
6731
6737
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6882,7 +6888,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6882
6888
|
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(){/**
|
|
6883
6889
|
* Analytics service.
|
|
6884
6890
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6885
|
-
* @version
|
|
6891
|
+
* @version 210.0.0
|
|
6886
6892
|
*//**
|
|
6887
6893
|
* Constructs a new AnalyticsApi.
|
|
6888
6894
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7504,7 +7510,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7504
7510
|
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(){/**
|
|
7505
7511
|
* Architect service.
|
|
7506
7512
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7507
|
-
* @version
|
|
7513
|
+
* @version 210.0.0
|
|
7508
7514
|
*//**
|
|
7509
7515
|
* Constructs a new ArchitectApi.
|
|
7510
7516
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8596,7 +8602,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8596
8602
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8597
8603
|
* Audit service.
|
|
8598
8604
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8599
|
-
* @version
|
|
8605
|
+
* @version 210.0.0
|
|
8600
8606
|
*//**
|
|
8601
8607
|
* Constructs a new AuditApi.
|
|
8602
8608
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8646,7 +8652,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8646
8652
|
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(){/**
|
|
8647
8653
|
* Authorization service.
|
|
8648
8654
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8649
|
-
* @version
|
|
8655
|
+
* @version 210.0.0
|
|
8650
8656
|
*//**
|
|
8651
8657
|
* Constructs a new AuthorizationApi.
|
|
8652
8658
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8969,7 +8975,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8969
8975
|
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(){/**
|
|
8970
8976
|
* Billing service.
|
|
8971
8977
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8972
|
-
* @version
|
|
8978
|
+
* @version 210.0.0
|
|
8973
8979
|
*//**
|
|
8974
8980
|
* Constructs a new BillingApi.
|
|
8975
8981
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8993,7 +8999,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8993
8999
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
8994
9000
|
* CarrierServices service.
|
|
8995
9001
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8996
|
-
* @version
|
|
9002
|
+
* @version 210.0.0
|
|
8997
9003
|
*//**
|
|
8998
9004
|
* Constructs a new CarrierServicesApi.
|
|
8999
9005
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -9013,7 +9019,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
9013
9019
|
*/},{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(){/**
|
|
9014
9020
|
* Chat service.
|
|
9015
9021
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9016
|
-
* @version
|
|
9022
|
+
* @version 210.0.0
|
|
9017
9023
|
*//**
|
|
9018
9024
|
* Constructs a new ChatApi.
|
|
9019
9025
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -9238,7 +9244,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9238
9244
|
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(){/**
|
|
9239
9245
|
* Coaching service.
|
|
9240
9246
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9241
|
-
* @version
|
|
9247
|
+
* @version 210.0.0
|
|
9242
9248
|
*//**
|
|
9243
9249
|
* Constructs a new CoachingApi.
|
|
9244
9250
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9391,7 +9397,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9391
9397
|
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(){/**
|
|
9392
9398
|
* ContentManagement service.
|
|
9393
9399
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9394
|
-
* @version
|
|
9400
|
+
* @version 210.0.0
|
|
9395
9401
|
*//**
|
|
9396
9402
|
* Constructs a new ContentManagementApi.
|
|
9397
9403
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9673,7 +9679,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9673
9679
|
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(){/**
|
|
9674
9680
|
* Conversations service.
|
|
9675
9681
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9676
|
-
* @version
|
|
9682
|
+
* @version 210.0.0
|
|
9677
9683
|
*//**
|
|
9678
9684
|
* Constructs a new ConversationsApi.
|
|
9679
9685
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -11401,7 +11407,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11401
11407
|
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(){/**
|
|
11402
11408
|
* DataExtensions service.
|
|
11403
11409
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11404
|
-
* @version
|
|
11410
|
+
* @version 210.0.0
|
|
11405
11411
|
*//**
|
|
11406
11412
|
* Constructs a new DataExtensionsApi.
|
|
11407
11413
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11419,10 +11425,50 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11419
11425
|
*/},{key:"getDataextensionsCoretypes",value:function getDataextensionsCoretypes(){return this.apiClient.callApi('/api/v2/dataextensions/coretypes','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11420
11426
|
* Get quantitative limits on schemas
|
|
11421
11427
|
*
|
|
11422
|
-
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var
|
|
11428
|
+
*/},{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(){/**
|
|
11429
|
+
* DataPrivacy service.
|
|
11430
|
+
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
11431
|
+
* @version 210.0.0
|
|
11432
|
+
*//**
|
|
11433
|
+
* Constructs a new DataPrivacyApi.
|
|
11434
|
+
* @alias module:purecloud-platform-client-v2/api/DataPrivacyApi
|
|
11435
|
+
* @class
|
|
11436
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
11437
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
11438
|
+
*/function DataPrivacyApi(apiClient){_classCallCheck(this,DataPrivacyApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
11439
|
+
* Delete a masking rule.
|
|
11440
|
+
*
|
|
11441
|
+
* @param {String} ruleId ruleId
|
|
11442
|
+
*/return _createClass(DataPrivacyApi,[{key:"deleteDataprivacyMaskingrule",value:function deleteDataprivacyMaskingrule(ruleId){// verify the required parameter 'ruleId' is set
|
|
11443
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling deleteDataprivacyMaskingrule';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/{ruleId}','DELETE',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11444
|
+
* Fetch details about a masking rule.
|
|
11445
|
+
*
|
|
11446
|
+
* @param {String} ruleId ruleId
|
|
11447
|
+
*/},{key:"getDataprivacyMaskingrule",value:function getDataprivacyMaskingrule(ruleId){// verify the required parameter 'ruleId' is set
|
|
11448
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling getDataprivacyMaskingrule';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/{ruleId}','GET',{'ruleId':ruleId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11449
|
+
* Retrieve the list of masking rules.
|
|
11450
|
+
*
|
|
11451
|
+
*/},{key:"getDataprivacyMaskingrules",value:function getDataprivacyMaskingrules(){return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11452
|
+
* Update information about a masking rule.
|
|
11453
|
+
*
|
|
11454
|
+
* @param {String} ruleId ruleId
|
|
11455
|
+
* @param {Object} opts Optional parameters
|
|
11456
|
+
* @param {Object} opts.body
|
|
11457
|
+
*/},{key:"patchDataprivacyMaskingrule",value:function patchDataprivacyMaskingrule(ruleId,opts){opts=opts||{};// verify the required parameter 'ruleId' is set
|
|
11458
|
+
if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "ruleId" when calling patchDataprivacyMaskingrule';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules/{ruleId}','PATCH',{'ruleId':ruleId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11459
|
+
* Create a new masking rule resource.
|
|
11460
|
+
*
|
|
11461
|
+
* @param {Object} body Details for creating masking rule resource
|
|
11462
|
+
*/},{key:"postDataprivacyMaskingrules",value:function postDataprivacyMaskingrules(body){// verify the required parameter 'body' is set
|
|
11463
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postDataprivacyMaskingrules';}return this.apiClient.callApi('/api/v2/dataprivacy/maskingrules','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11464
|
+
* Validate masking before creating.
|
|
11465
|
+
*
|
|
11466
|
+
* @param {Object} body Text to be masked
|
|
11467
|
+
*/},{key:"postDataprivacyMaskingrulesValidate",value:function postDataprivacyMaskingrulesValidate(body){// verify the required parameter 'body' is set
|
|
11468
|
+
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(){/**
|
|
11423
11469
|
* Downloads service.
|
|
11424
11470
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11425
|
-
* @version
|
|
11471
|
+
* @version 210.0.0
|
|
11426
11472
|
*//**
|
|
11427
11473
|
* Constructs a new DownloadsApi.
|
|
11428
11474
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11441,7 +11487,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11441
11487
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
11442
11488
|
* Emails service.
|
|
11443
11489
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11444
|
-
* @version
|
|
11490
|
+
* @version 210.0.0
|
|
11445
11491
|
*//**
|
|
11446
11492
|
* Constructs a new EmailsApi.
|
|
11447
11493
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11459,7 +11505,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11459
11505
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
11460
11506
|
* EmployeeEngagement service.
|
|
11461
11507
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11462
|
-
* @version
|
|
11508
|
+
* @version 210.0.0
|
|
11463
11509
|
*//**
|
|
11464
11510
|
* Constructs a new EmployeeEngagementApi.
|
|
11465
11511
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11497,7 +11543,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11497
11543
|
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(){/**
|
|
11498
11544
|
* Events service.
|
|
11499
11545
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11500
|
-
* @version
|
|
11546
|
+
* @version 210.0.0
|
|
11501
11547
|
*//**
|
|
11502
11548
|
* Constructs a new EventsApi.
|
|
11503
11549
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11522,7 +11568,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11522
11568
|
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(){/**
|
|
11523
11569
|
* ExternalContacts service.
|
|
11524
11570
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11525
|
-
* @version
|
|
11571
|
+
* @version 210.0.0
|
|
11526
11572
|
*//**
|
|
11527
11573
|
* Constructs a new ExternalContactsApi.
|
|
11528
11574
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11557,6 +11603,11 @@ if(externalSourceId===undefined||externalSourceId===null){throw'Missing the requ
|
|
|
11557
11603
|
* @param {String} settingsId Settings id
|
|
11558
11604
|
*/},{key:"deleteExternalcontactsImportCsvSetting",value:function deleteExternalcontactsImportCsvSetting(settingsId){// verify the required parameter 'settingsId' is set
|
|
11559
11605
|
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportCsvSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/csv/settings/{settingsId}','DELETE',{'settingsId':settingsId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11606
|
+
* Delete Settings
|
|
11607
|
+
*
|
|
11608
|
+
* @param {String} settingsId Settings id
|
|
11609
|
+
*/},{key:"deleteExternalcontactsImportSetting",value:function deleteExternalcontactsImportSetting(settingsId){// verify the required parameter 'settingsId' is set
|
|
11610
|
+
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling deleteExternalcontactsImportSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings/{settingsId}','DELETE',{'settingsId':settingsId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11560
11611
|
* Delete an external organization
|
|
11561
11612
|
*
|
|
11562
11613
|
* @param {String} externalOrganizationId External Organization ID
|
|
@@ -11690,6 +11741,32 @@ if(uploadId===undefined||uploadId===null){throw'Missing the required parameter "
|
|
|
11690
11741
|
* @param {String} uploadId Upload id
|
|
11691
11742
|
*/},{key:"getExternalcontactsImportCsvUploadPreview",value:function getExternalcontactsImportCsvUploadPreview(uploadId){// verify the required parameter 'uploadId' is set
|
|
11692
11743
|
if(uploadId===undefined||uploadId===null){throw'Missing the required parameter "uploadId" when calling getExternalcontactsImportCsvUploadPreview';}return this.apiClient.callApi('/api/v2/externalcontacts/import/csv/uploads/{uploadId}/preview','GET',{'uploadId':uploadId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11744
|
+
* Get job based on id
|
|
11745
|
+
*
|
|
11746
|
+
* @param {String} jobId Job id
|
|
11747
|
+
*/},{key:"getExternalcontactsImportJob",value:function getExternalcontactsImportJob(jobId){// verify the required parameter 'jobId' is set
|
|
11748
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getExternalcontactsImportJob';}return this.apiClient.callApi('/api/v2/externalcontacts/import/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11749
|
+
* List jobs for organization
|
|
11750
|
+
*
|
|
11751
|
+
* @param {Object} opts Optional parameters
|
|
11752
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
11753
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. (default to 25)
|
|
11754
|
+
* @param {Object} opts.sortOrder Direction of sorting. (default to Ascending)
|
|
11755
|
+
* @param {Object} opts.jobStatus Search term to filter by jobStatus
|
|
11756
|
+
*/},{key:"getExternalcontactsImportJobs",value:function getExternalcontactsImportJobs(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/import/jobs','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'jobStatus':opts['jobStatus']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11757
|
+
* Get setting based on id
|
|
11758
|
+
*
|
|
11759
|
+
* @param {String} settingsId Settings id
|
|
11760
|
+
*/},{key:"getExternalcontactsImportSetting",value:function getExternalcontactsImportSetting(settingsId){// verify the required parameter 'settingsId' is set
|
|
11761
|
+
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling getExternalcontactsImportSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings/{settingsId}','GET',{'settingsId':settingsId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11762
|
+
* List settings for organization
|
|
11763
|
+
*
|
|
11764
|
+
* @param {Object} opts Optional parameters
|
|
11765
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
11766
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. (default to 25)
|
|
11767
|
+
* @param {Object} opts.sortOrder Direction of sorting. (default to Ascending)
|
|
11768
|
+
* @param {String} opts.name Search term to filter by settings name
|
|
11769
|
+
*/},{key:"getExternalcontactsImportSettings",value:function getExternalcontactsImportSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/import/settings','GET',{},{'after':opts['after'],'pageSize':opts['pageSize'],'sortOrder':opts['sortOrder'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11693
11770
|
* Fetch an external organization
|
|
11694
11771
|
*
|
|
11695
11772
|
* @param {String} externalOrganizationId External Organization ID
|
|
@@ -11948,6 +12025,16 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11948
12025
|
* @param {Object} body UploadRequest
|
|
11949
12026
|
*/},{key:"postExternalcontactsImportCsvUploads",value:function postExternalcontactsImportCsvUploads(body){// verify the required parameter 'body' is set
|
|
11950
12027
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsImportCsvUploads';}return this.apiClient.callApi('/api/v2/externalcontacts/import/csv/uploads','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12028
|
+
* Create a new job
|
|
12029
|
+
*
|
|
12030
|
+
* @param {Object} body Job
|
|
12031
|
+
*/},{key:"postExternalcontactsImportJobs",value:function postExternalcontactsImportJobs(body){// verify the required parameter 'body' is set
|
|
12032
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsImportJobs';}return this.apiClient.callApi('/api/v2/externalcontacts/import/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12033
|
+
* Create a new settings
|
|
12034
|
+
*
|
|
12035
|
+
* @param {Object} body Setting
|
|
12036
|
+
*/},{key:"postExternalcontactsImportSettings",value:function postExternalcontactsImportSettings(body){// verify the required parameter 'body' is set
|
|
12037
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postExternalcontactsImportSettings';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11951
12038
|
* Merge two contacts into a new contact record
|
|
11952
12039
|
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
|
|
11953
12040
|
* @param {Object} body MergeRequest
|
|
@@ -12019,6 +12106,20 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12019
12106
|
*/},{key:"putExternalcontactsImportCsvSetting",value:function putExternalcontactsImportCsvSetting(settingsId,body){// verify the required parameter 'settingsId' is set
|
|
12020
12107
|
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling putExternalcontactsImportCsvSetting';}// verify the required parameter 'body' is set
|
|
12021
12108
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsImportCsvSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/csv/settings/{settingsId}','PUT',{'settingsId':settingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12109
|
+
* Update Job's workflow status
|
|
12110
|
+
*
|
|
12111
|
+
* @param {String} jobId Job id
|
|
12112
|
+
* @param {Object} body Status of the Job's workflow
|
|
12113
|
+
*/},{key:"putExternalcontactsImportJob",value:function putExternalcontactsImportJob(jobId,body){// verify the required parameter 'jobId' is set
|
|
12114
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling putExternalcontactsImportJob';}// verify the required parameter 'body' is set
|
|
12115
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsImportJob';}return this.apiClient.callApi('/api/v2/externalcontacts/import/jobs/{jobId}','PUT',{'jobId':jobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12116
|
+
* Update settings
|
|
12117
|
+
*
|
|
12118
|
+
* @param {String} settingsId Settings id
|
|
12119
|
+
* @param {Object} body Setting
|
|
12120
|
+
*/},{key:"putExternalcontactsImportSetting",value:function putExternalcontactsImportSetting(settingsId,body){// verify the required parameter 'settingsId' is set
|
|
12121
|
+
if(settingsId===undefined||settingsId===null){throw'Missing the required parameter "settingsId" when calling putExternalcontactsImportSetting';}// verify the required parameter 'body' is set
|
|
12122
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsImportSetting';}return this.apiClient.callApi('/api/v2/externalcontacts/import/settings/{settingsId}','PUT',{'settingsId':settingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12022
12123
|
* Update an external organization
|
|
12023
12124
|
*
|
|
12024
12125
|
* @param {String} externalOrganizationId External Organization ID
|
|
@@ -12058,7 +12159,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
12058
12159
|
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(){/**
|
|
12059
12160
|
* Fax service.
|
|
12060
12161
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
12061
|
-
* @version
|
|
12162
|
+
* @version 210.0.0
|
|
12062
12163
|
*//**
|
|
12063
12164
|
* Constructs a new FaxApi.
|
|
12064
12165
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -12107,7 +12208,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12107
12208
|
*/},{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(){/**
|
|
12108
12209
|
* Flows service.
|
|
12109
12210
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
12110
|
-
* @version
|
|
12211
|
+
* @version 210.0.0
|
|
12111
12212
|
*//**
|
|
12112
12213
|
* Constructs a new FlowsApi.
|
|
12113
12214
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -12155,7 +12256,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12155
12256
|
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(){/**
|
|
12156
12257
|
* Gamification service.
|
|
12157
12258
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
12158
|
-
* @version
|
|
12259
|
+
* @version 210.0.0
|
|
12159
12260
|
*//**
|
|
12160
12261
|
* Constructs a new GamificationApi.
|
|
12161
12262
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12695,7 +12796,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12695
12796
|
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(){/**
|
|
12696
12797
|
* GeneralDataProtectionRegulation service.
|
|
12697
12798
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12698
|
-
* @version
|
|
12799
|
+
* @version 210.0.0
|
|
12699
12800
|
*//**
|
|
12700
12801
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12701
12802
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12730,7 +12831,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12730
12831
|
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(){/**
|
|
12731
12832
|
* Geolocation service.
|
|
12732
12833
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12733
|
-
* @version
|
|
12834
|
+
* @version 210.0.0
|
|
12734
12835
|
*//**
|
|
12735
12836
|
* Constructs a new GeolocationApi.
|
|
12736
12837
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12764,7 +12865,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12764
12865
|
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(){/**
|
|
12765
12866
|
* Greetings service.
|
|
12766
12867
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12767
|
-
* @version
|
|
12868
|
+
* @version 210.0.0
|
|
12768
12869
|
*//**
|
|
12769
12870
|
* Constructs a new GreetingsApi.
|
|
12770
12871
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12871,7 +12972,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12871
12972
|
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(){/**
|
|
12872
12973
|
* Groups service.
|
|
12873
12974
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12874
|
-
* @version
|
|
12975
|
+
* @version 210.0.0
|
|
12875
12976
|
*//**
|
|
12876
12977
|
* Constructs a new GroupsApi.
|
|
12877
12978
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -13004,7 +13105,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
13004
13105
|
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(){/**
|
|
13005
13106
|
* IdentityProvider service.
|
|
13006
13107
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
13007
|
-
* @version
|
|
13108
|
+
* @version 210.0.0
|
|
13008
13109
|
*//**
|
|
13009
13110
|
* Constructs a new IdentityProviderApi.
|
|
13010
13111
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -13160,7 +13261,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13160
13261
|
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(){/**
|
|
13161
13262
|
* InfrastructureAsCode service.
|
|
13162
13263
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
13163
|
-
* @version
|
|
13264
|
+
* @version 210.0.0
|
|
13164
13265
|
*//**
|
|
13165
13266
|
* Constructs a new InfrastructureAsCodeApi.
|
|
13166
13267
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -13214,7 +13315,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
13214
13315
|
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(){/**
|
|
13215
13316
|
* Integrations service.
|
|
13216
13317
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
13217
|
-
* @version
|
|
13318
|
+
* @version 210.0.0
|
|
13218
13319
|
*//**
|
|
13219
13320
|
* Constructs a new IntegrationsApi.
|
|
13220
13321
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13849,7 +13950,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13849
13950
|
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(){/**
|
|
13850
13951
|
* Journey service.
|
|
13851
13952
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13852
|
-
* @version
|
|
13953
|
+
* @version 210.0.0
|
|
13853
13954
|
*//**
|
|
13854
13955
|
* Constructs a new JourneyApi.
|
|
13855
13956
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13890,7 +13991,7 @@ if(segmentId===undefined||segmentId===null){throw'Missing the required parameter
|
|
|
13890
13991
|
*/},{key:"deleteJourneyView",value:function deleteJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
13891
13992
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13892
13993
|
* Delete the Schedule of a JourneyView
|
|
13893
|
-
*
|
|
13994
|
+
*
|
|
13894
13995
|
* @param {String} viewId Journey View Id
|
|
13895
13996
|
*/},{key:"deleteJourneyViewSchedules",value:function deleteJourneyViewSchedules(viewId){// verify the required parameter 'viewId' is set
|
|
13896
13997
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -14060,7 +14161,7 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
14060
14161
|
*/},{key:"getJourneyView",value:function getJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
14061
14162
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14062
14163
|
* Get the Schedule for a JourneyView
|
|
14063
|
-
*
|
|
14164
|
+
*
|
|
14064
14165
|
* @param {String} viewId Journey View Id
|
|
14065
14166
|
*/},{key:"getJourneyViewSchedules",value:function getJourneyViewSchedules(viewId){// verify the required parameter 'viewId' is set
|
|
14066
14167
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -14092,7 +14193,7 @@ if(journeyViewVersion===undefined||journeyViewVersion===null){throw'Missing the
|
|
|
14092
14193
|
if(chartId===undefined||chartId===null){throw'Missing the required parameter "chartId" when calling getJourneyViewVersionChartVersion';}// verify the required parameter 'chartVersion' is set
|
|
14093
14194
|
if(chartVersion===undefined||chartVersion===null){throw'Missing the required parameter "chartVersion" when calling getJourneyViewVersionChartVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyViewVersion}/charts/{chartId}/versions/{chartVersion}','GET',{'viewId':viewId,'journeyViewVersion':journeyViewVersion,'chartId':chartId,'chartVersion':chartVersion},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14094
14195
|
* Get the job for a journey view version.
|
|
14095
|
-
*
|
|
14196
|
+
*
|
|
14096
14197
|
* @param {String} viewId Journey View Id
|
|
14097
14198
|
* @param {String} journeyVersionId Journey View Version
|
|
14098
14199
|
* @param {String} jobId JobId
|
|
@@ -14101,7 +14202,7 @@ if(viewId===undefined||viewId===null){throw'Missing the required parameter "view
|
|
|
14101
14202
|
if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the required parameter "journeyVersionId" when calling getJourneyViewVersionJob';}// verify the required parameter 'jobId' is set
|
|
14102
14203
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJob';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}','GET',{'viewId':viewId,'journeyVersionId':journeyVersionId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14103
14204
|
* Get the result of a job for a journey view version.
|
|
14104
|
-
*
|
|
14205
|
+
*
|
|
14105
14206
|
* @param {String} viewId JourneyViewResult id
|
|
14106
14207
|
* @param {String} journeyViewVersion Journey View Version
|
|
14107
14208
|
* @param {String} jobId Id of the executing job
|
|
@@ -14121,7 +14222,7 @@ if(journeyVersionId===undefined||journeyVersionId===null){throw'Missing the requ
|
|
|
14121
14222
|
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getJourneyViewVersionJobResultsChart';}// verify the required parameter 'chartId' is set
|
|
14122
14223
|
if(chartId===undefined||chartId===null){throw'Missing the required parameter "chartId" when calling getJourneyViewVersionJobResultsChart';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{journeyVersionId}/jobs/{jobId}/results/charts/{chartId}','GET',{'viewId':viewId,'journeyVersionId':journeyVersionId,'jobId':jobId,'chartId':chartId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14123
14224
|
* Get the latest job of a journey view version.
|
|
14124
|
-
*
|
|
14225
|
+
*
|
|
14125
14226
|
* @param {String} viewId Journey View Id
|
|
14126
14227
|
* @param {String} journeyVersionId Journey View Version
|
|
14127
14228
|
*/},{key:"getJourneyViewVersionJobsLatest",value:function getJourneyViewVersionJobsLatest(viewId,journeyVersionId){// verify the required parameter 'viewId' is set
|
|
@@ -14194,7 +14295,7 @@ if(outcomeId===undefined||outcomeId===null){throw'Missing the required parameter
|
|
|
14194
14295
|
*/},{key:"patchJourneySegment",value:function patchJourneySegment(segmentId,opts){opts=opts||{};// verify the required parameter 'segmentId' is set
|
|
14195
14296
|
if(segmentId===undefined||segmentId===null){throw'Missing the required parameter "segmentId" when calling patchJourneySegment';}return this.apiClient.callApi('/api/v2/journey/segments/{segmentId}','PATCH',{'segmentId':segmentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14196
14297
|
* Update the job for a journey view version. Only the status can be changed and only to Cancelled
|
|
14197
|
-
*
|
|
14298
|
+
*
|
|
14198
14299
|
* @param {String} viewId Journey View Id
|
|
14199
14300
|
* @param {String} journeyVersionId Journey View Version
|
|
14200
14301
|
* @param {String} jobId JobId
|
|
@@ -14285,7 +14386,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
14285
14386
|
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling postJourneyViewSchedules';}// verify the required parameter 'body' is set
|
|
14286
14387
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViewSchedules';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/schedules','POST',{'viewId':viewId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14287
14388
|
* Submit a job request for a journey view version.
|
|
14288
|
-
*
|
|
14389
|
+
*
|
|
14289
14390
|
* @param {String} viewId Journey View Id
|
|
14290
14391
|
* @param {String} journeyVersionId Journey View Version
|
|
14291
14392
|
*/},{key:"postJourneyViewVersionJobs",value:function postJourneyViewVersionJobs(viewId,journeyVersionId){// verify the required parameter 'viewId' is set
|
|
@@ -14309,7 +14410,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14309
14410
|
* @param {Array.<Object>} opts.body
|
|
14310
14411
|
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14311
14412
|
* Update the Schedule for a JourneyView
|
|
14312
|
-
*
|
|
14413
|
+
*
|
|
14313
14414
|
* @param {String} viewId Journey View Id
|
|
14314
14415
|
* @param {Object} body journeyViewSchedule
|
|
14315
14416
|
*/},{key:"putJourneyViewSchedules",value:function putJourneyViewSchedules(viewId,body){// verify the required parameter 'viewId' is set
|
|
@@ -14326,7 +14427,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
14326
14427
|
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(){/**
|
|
14327
14428
|
* Knowledge service.
|
|
14328
14429
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
14329
|
-
* @version
|
|
14430
|
+
* @version 210.0.0
|
|
14330
14431
|
*//**
|
|
14331
14432
|
* Constructs a new KnowledgeApi.
|
|
14332
14433
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -15396,7 +15497,7 @@ if(sourceId===undefined||sourceId===null){throw'Missing the required parameter "
|
|
|
15396
15497
|
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(){/**
|
|
15397
15498
|
* LanguageUnderstanding service.
|
|
15398
15499
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
15399
|
-
* @version
|
|
15500
|
+
* @version 210.0.0
|
|
15400
15501
|
*//**
|
|
15401
15502
|
* Constructs a new LanguageUnderstandingApi.
|
|
15402
15503
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -15656,7 +15757,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
15656
15757
|
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(){/**
|
|
15657
15758
|
* Languages service.
|
|
15658
15759
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
15659
|
-
* @version
|
|
15760
|
+
* @version 210.0.0
|
|
15660
15761
|
*//**
|
|
15661
15762
|
* Constructs a new LanguagesApi.
|
|
15662
15763
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15711,7 +15812,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15711
15812
|
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(){/**
|
|
15712
15813
|
* Learning service.
|
|
15713
15814
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15714
|
-
* @version
|
|
15815
|
+
* @version 210.0.0
|
|
15715
15816
|
*//**
|
|
15716
15817
|
* Constructs a new LearningApi.
|
|
15717
15818
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -15982,7 +16083,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15982
16083
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
15983
16084
|
* License service.
|
|
15984
16085
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15985
|
-
* @version
|
|
16086
|
+
* @version 210.0.0
|
|
15986
16087
|
*//**
|
|
15987
16088
|
* Constructs a new LicenseApi.
|
|
15988
16089
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -16036,7 +16137,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
16036
16137
|
*/},{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(){/**
|
|
16037
16138
|
* Locations service.
|
|
16038
16139
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
16039
|
-
* @version
|
|
16140
|
+
* @version 210.0.0
|
|
16040
16141
|
*//**
|
|
16041
16142
|
* Constructs a new LocationsApi.
|
|
16042
16143
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -16095,7 +16196,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16095
16196
|
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(){/**
|
|
16096
16197
|
* LogCapture service.
|
|
16097
16198
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
16098
|
-
* @version
|
|
16199
|
+
* @version 210.0.0
|
|
16099
16200
|
*//**
|
|
16100
16201
|
* Constructs a new LogCaptureApi.
|
|
16101
16202
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -16145,7 +16246,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
16145
16246
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
16146
16247
|
* Messaging service.
|
|
16147
16248
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
16148
|
-
* @version
|
|
16249
|
+
* @version 210.0.0
|
|
16149
16250
|
*//**
|
|
16150
16251
|
* Constructs a new MessagingApi.
|
|
16151
16252
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -16235,7 +16336,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16235
16336
|
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(){/**
|
|
16236
16337
|
* MobileDevices service.
|
|
16237
16338
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
16238
|
-
* @version
|
|
16339
|
+
* @version 210.0.0
|
|
16239
16340
|
*//**
|
|
16240
16341
|
* Constructs a new MobileDevicesApi.
|
|
16241
16342
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -16274,7 +16375,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16274
16375
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
16275
16376
|
* Notifications service.
|
|
16276
16377
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
16277
|
-
* @version
|
|
16378
|
+
* @version 210.0.0
|
|
16278
16379
|
*//**
|
|
16279
16380
|
* Constructs a new NotificationsApi.
|
|
16280
16381
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -16331,7 +16432,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
16331
16432
|
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(){/**
|
|
16332
16433
|
* OAuth service.
|
|
16333
16434
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
16334
|
-
* @version
|
|
16435
|
+
* @version 210.0.0
|
|
16335
16436
|
*//**
|
|
16336
16437
|
* Constructs a new OAuthApi.
|
|
16337
16438
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -16416,7 +16517,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
16416
16517
|
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(){/**
|
|
16417
16518
|
* Objects service.
|
|
16418
16519
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
16419
|
-
* @version
|
|
16520
|
+
* @version 210.0.0
|
|
16420
16521
|
*//**
|
|
16421
16522
|
* Constructs a new ObjectsApi.
|
|
16422
16523
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -16487,7 +16588,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
16487
16588
|
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(){/**
|
|
16488
16589
|
* OperationalEvents service.
|
|
16489
16590
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
16490
|
-
* @version
|
|
16591
|
+
* @version 210.0.0
|
|
16491
16592
|
*//**
|
|
16492
16593
|
* Constructs a new OperationalEventsApi.
|
|
16493
16594
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -16518,7 +16619,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
16518
16619
|
*/},{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(){/**
|
|
16519
16620
|
* Organization service.
|
|
16520
16621
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
16521
|
-
* @version
|
|
16622
|
+
* @version 210.0.0
|
|
16522
16623
|
*//**
|
|
16523
16624
|
* Constructs a new OrganizationApi.
|
|
16524
16625
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -16643,7 +16744,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16643
16744
|
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(){/**
|
|
16644
16745
|
* OrganizationAuthorization service.
|
|
16645
16746
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
16646
|
-
* @version
|
|
16747
|
+
* @version 210.0.0
|
|
16647
16748
|
*//**
|
|
16648
16749
|
* Constructs a new OrganizationAuthorizationApi.
|
|
16649
16750
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16977,7 +17078,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16977
17078
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
16978
17079
|
* Outbound service.
|
|
16979
17080
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16980
|
-
* @version
|
|
17081
|
+
* @version 210.0.0
|
|
16981
17082
|
*//**
|
|
16982
17083
|
* Constructs a new OutboundApi.
|
|
16983
17084
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -18084,7 +18185,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18084
18185
|
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(){/**
|
|
18085
18186
|
* Presence service.
|
|
18086
18187
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
18087
|
-
* @version
|
|
18188
|
+
* @version 210.0.0
|
|
18088
18189
|
*//**
|
|
18089
18190
|
* Constructs a new PresenceApi.
|
|
18090
18191
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -18257,7 +18358,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18257
18358
|
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(){/**
|
|
18258
18359
|
* ProcessAutomation service.
|
|
18259
18360
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
18260
|
-
* @version
|
|
18361
|
+
* @version 210.0.0
|
|
18261
18362
|
*//**
|
|
18262
18363
|
* Constructs a new ProcessAutomationApi.
|
|
18263
18364
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -18320,7 +18421,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
18320
18421
|
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(){/**
|
|
18321
18422
|
* Quality service.
|
|
18322
18423
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
18323
|
-
* @version
|
|
18424
|
+
* @version 210.0.0
|
|
18324
18425
|
*//**
|
|
18325
18426
|
* Constructs a new QualityApi.
|
|
18326
18427
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -18799,7 +18900,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
18799
18900
|
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(){/**
|
|
18800
18901
|
* Recording service.
|
|
18801
18902
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
18802
|
-
* @version
|
|
18903
|
+
* @version 210.0.0
|
|
18803
18904
|
*//**
|
|
18804
18905
|
* Constructs a new RecordingApi.
|
|
18805
18906
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -19211,7 +19312,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19211
19312
|
*/},{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(){/**
|
|
19212
19313
|
* ResponseManagement service.
|
|
19213
19314
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
19214
|
-
* @version
|
|
19315
|
+
* @version 210.0.0
|
|
19215
19316
|
*//**
|
|
19216
19317
|
* Constructs a new ResponseManagementApi.
|
|
19217
19318
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -19332,7 +19433,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
19332
19433
|
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(){/**
|
|
19333
19434
|
* Routing service.
|
|
19334
19435
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
19335
|
-
* @version
|
|
19436
|
+
* @version 210.0.0
|
|
19336
19437
|
*//**
|
|
19337
19438
|
* Constructs a new RoutingApi.
|
|
19338
19439
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -20338,7 +20439,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20338
20439
|
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(){/**
|
|
20339
20440
|
* SCIM service.
|
|
20340
20441
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
20341
|
-
* @version
|
|
20442
|
+
* @version 210.0.0
|
|
20342
20443
|
*//**
|
|
20343
20444
|
* Constructs a new SCIMApi.
|
|
20344
20445
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -20563,7 +20664,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
20563
20664
|
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(){/**
|
|
20564
20665
|
* ScreenRecording service.
|
|
20565
20666
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
20566
|
-
* @version
|
|
20667
|
+
* @version 210.0.0
|
|
20567
20668
|
*//**
|
|
20568
20669
|
* Constructs a new ScreenRecordingApi.
|
|
20569
20670
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -20578,7 +20679,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20578
20679
|
*/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(){/**
|
|
20579
20680
|
* Scripts service.
|
|
20580
20681
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
20581
|
-
* @version
|
|
20682
|
+
* @version 210.0.0
|
|
20582
20683
|
*//**
|
|
20583
20684
|
* Constructs a new ScriptsApi.
|
|
20584
20685
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -20714,7 +20815,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
20714
20815
|
*/},{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(){/**
|
|
20715
20816
|
* Search service.
|
|
20716
20817
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
20717
|
-
* @version
|
|
20818
|
+
* @version 210.0.0
|
|
20718
20819
|
*//**
|
|
20719
20820
|
* Constructs a new SearchApi.
|
|
20720
20821
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -20886,7 +20987,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20886
20987
|
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(){/**
|
|
20887
20988
|
* Settings service.
|
|
20888
20989
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
20889
|
-
* @version
|
|
20990
|
+
* @version 210.0.0
|
|
20890
20991
|
*//**
|
|
20891
20992
|
* Constructs a new SettingsApi.
|
|
20892
20993
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -20936,7 +21037,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
20936
21037
|
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(){/**
|
|
20937
21038
|
* SocialMedia service.
|
|
20938
21039
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
20939
|
-
* @version
|
|
21040
|
+
* @version 210.0.0
|
|
20940
21041
|
*//**
|
|
20941
21042
|
* Constructs a new SocialMediaApi.
|
|
20942
21043
|
* @alias module:purecloud-platform-client-v2/api/SocialMediaApi
|
|
@@ -21201,7 +21302,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
21201
21302
|
if(twitterIngestionRuleId===undefined||twitterIngestionRuleId===null){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(){/**
|
|
21202
21303
|
* SpeechTextAnalytics service.
|
|
21203
21304
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
21204
|
-
* @version
|
|
21305
|
+
* @version 210.0.0
|
|
21205
21306
|
*//**
|
|
21206
21307
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
21207
21308
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -21500,7 +21601,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
21500
21601
|
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(){/**
|
|
21501
21602
|
* Stations service.
|
|
21502
21603
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
21503
|
-
* @version
|
|
21604
|
+
* @version 210.0.0
|
|
21504
21605
|
*//**
|
|
21505
21606
|
* Constructs a new StationsApi.
|
|
21506
21607
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -21532,7 +21633,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
21532
21633
|
*/},{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(){/**
|
|
21533
21634
|
* Suggest service.
|
|
21534
21635
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
21535
|
-
* @version
|
|
21636
|
+
* @version 210.0.0
|
|
21536
21637
|
*//**
|
|
21537
21638
|
* Constructs a new SuggestApi.
|
|
21538
21639
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -21572,7 +21673,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21572
21673
|
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(){/**
|
|
21573
21674
|
* TaskManagement service.
|
|
21574
21675
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
21575
|
-
* @version
|
|
21676
|
+
* @version 210.0.0
|
|
21576
21677
|
*//**
|
|
21577
21678
|
* Constructs a new TaskManagementApi.
|
|
21578
21679
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -21978,7 +22079,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
21978
22079
|
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(){/**
|
|
21979
22080
|
* Teams service.
|
|
21980
22081
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
21981
|
-
* @version
|
|
22082
|
+
* @version 210.0.0
|
|
21982
22083
|
*//**
|
|
21983
22084
|
* Constructs a new TeamsApi.
|
|
21984
22085
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -22058,7 +22159,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22058
22159
|
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(){/**
|
|
22059
22160
|
* Telephony service.
|
|
22060
22161
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
22061
|
-
* @version
|
|
22162
|
+
* @version 210.0.0
|
|
22062
22163
|
*//**
|
|
22063
22164
|
* Constructs a new TelephonyApi.
|
|
22064
22165
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -22105,7 +22206,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
22105
22206
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
22106
22207
|
* TelephonyProvidersEdge service.
|
|
22107
22208
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
22108
|
-
* @version
|
|
22209
|
+
* @version 210.0.0
|
|
22109
22210
|
*//**
|
|
22110
22211
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
22111
22212
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -22940,7 +23041,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
22940
23041
|
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(){/**
|
|
22941
23042
|
* Textbots service.
|
|
22942
23043
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
22943
|
-
* @version
|
|
23044
|
+
* @version 210.0.0
|
|
22944
23045
|
*//**
|
|
22945
23046
|
* Constructs a new TextbotsApi.
|
|
22946
23047
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -22975,7 +23076,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
22975
23076
|
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(){/**
|
|
22976
23077
|
* Tokens service.
|
|
22977
23078
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
22978
|
-
* @version
|
|
23079
|
+
* @version 210.0.0
|
|
22979
23080
|
*//**
|
|
22980
23081
|
* Constructs a new TokensApi.
|
|
22981
23082
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -23009,7 +23110,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
23009
23110
|
*/},{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(){/**
|
|
23010
23111
|
* Uploads service.
|
|
23011
23112
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
23012
|
-
* @version
|
|
23113
|
+
* @version 210.0.0
|
|
23013
23114
|
*//**
|
|
23014
23115
|
* Constructs a new UploadsApi.
|
|
23015
23116
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -23075,7 +23176,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23075
23176
|
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(){/**
|
|
23076
23177
|
* Usage service.
|
|
23077
23178
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
23078
|
-
* @version
|
|
23179
|
+
* @version 210.0.0
|
|
23079
23180
|
*//**
|
|
23080
23181
|
* Constructs a new UsageApi.
|
|
23081
23182
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -23129,7 +23230,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23129
23230
|
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(){/**
|
|
23130
23231
|
* UserRecordings service.
|
|
23131
23232
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
23132
|
-
* @version
|
|
23233
|
+
* @version 210.0.0
|
|
23133
23234
|
*//**
|
|
23134
23235
|
* Constructs a new UserRecordingsApi.
|
|
23135
23236
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -23186,7 +23287,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
23186
23287
|
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(){/**
|
|
23187
23288
|
* Users service.
|
|
23188
23289
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
23189
|
-
* @version
|
|
23290
|
+
* @version 210.0.0
|
|
23190
23291
|
*//**
|
|
23191
23292
|
* Constructs a new UsersApi.
|
|
23192
23293
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -23883,7 +23984,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
23883
23984
|
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(){/**
|
|
23884
23985
|
* Utilities service.
|
|
23885
23986
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
23886
|
-
* @version
|
|
23987
|
+
* @version 210.0.0
|
|
23887
23988
|
*//**
|
|
23888
23989
|
* Constructs a new UtilitiesApi.
|
|
23889
23990
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -23910,7 +24011,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23910
24011
|
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(){/**
|
|
23911
24012
|
* Voicemail service.
|
|
23912
24013
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
23913
|
-
* @version
|
|
24014
|
+
* @version 210.0.0
|
|
23914
24015
|
*//**
|
|
23915
24016
|
* Constructs a new VoicemailApi.
|
|
23916
24017
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -24072,7 +24173,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
24072
24173
|
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(){/**
|
|
24073
24174
|
* WebChat service.
|
|
24074
24175
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
24075
|
-
* @version
|
|
24176
|
+
* @version 210.0.0
|
|
24076
24177
|
*//**
|
|
24077
24178
|
* Constructs a new WebChatApi.
|
|
24078
24179
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -24207,7 +24308,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24207
24308
|
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(){/**
|
|
24208
24309
|
* WebDeployments service.
|
|
24209
24310
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
24210
|
-
* @version
|
|
24311
|
+
* @version 210.0.0
|
|
24211
24312
|
*//**
|
|
24212
24313
|
* Constructs a new WebDeploymentsApi.
|
|
24213
24314
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -24328,7 +24429,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
24328
24429
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
24329
24430
|
* WebMessaging service.
|
|
24330
24431
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
24331
|
-
* @version
|
|
24432
|
+
* @version 210.0.0
|
|
24332
24433
|
*//**
|
|
24333
24434
|
* Constructs a new WebMessagingApi.
|
|
24334
24435
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -24344,7 +24445,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
24344
24445
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
24345
24446
|
* Widgets service.
|
|
24346
24447
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
24347
|
-
* @version
|
|
24448
|
+
* @version 210.0.0
|
|
24348
24449
|
*//**
|
|
24349
24450
|
* Constructs a new WidgetsApi.
|
|
24350
24451
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -24379,7 +24480,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
24379
24480
|
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(){/**
|
|
24380
24481
|
* WorkforceManagement service.
|
|
24381
24482
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
24382
|
-
* @version
|
|
24483
|
+
* @version 210.0.0
|
|
24383
24484
|
*//**
|
|
24384
24485
|
* Constructs a new WorkforceManagementApi.
|
|
24385
24486
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -25066,11 +25167,9 @@ if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the requ
|
|
|
25066
25167
|
*
|
|
25067
25168
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
25068
25169
|
* @param {String} userId The userId to whom the Time Off Request applies.
|
|
25069
|
-
|
|
25070
|
-
* @param {Boolean} opts.recentlyReviewed Limit results to requests that have been reviewed within the preceding 30 days (default to false)
|
|
25071
|
-
*/},{key:"getWorkforcemanagementManagementunitUserTimeoffrequests",value:function getWorkforcemanagementManagementunitUserTimeoffrequests(managementUnitId,userId,opts){opts=opts||{};// verify the required parameter 'managementUnitId' is set
|
|
25170
|
+
*/},{key:"getWorkforcemanagementManagementunitUserTimeoffrequests",value:function getWorkforcemanagementManagementunitUserTimeoffrequests(managementUnitId,userId){// verify the required parameter 'managementUnitId' is set
|
|
25072
25171
|
if(managementUnitId===undefined||managementUnitId===null){throw'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';}// verify the required parameter 'userId' is set
|
|
25073
|
-
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests','GET',{'managementUnitId':managementUnitId,'userId':userId},{
|
|
25172
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';}return this.apiClient.callApi('/api/v2/workforcemanagement/managementunits/{managementUnitId}/users/{userId}/timeoffrequests','GET',{'managementUnitId':managementUnitId,'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25074
25173
|
* Get users in the management unit
|
|
25075
25174
|
*
|
|
25076
25175
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
@@ -25189,9 +25288,7 @@ if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the requ
|
|
|
25189
25288
|
if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequestWaitlistpositions';}return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}/waitlistpositions','GET',{'timeOffRequestId':timeOffRequestId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25190
25289
|
* Get a list of time off requests for the current user
|
|
25191
25290
|
*
|
|
25192
|
-
|
|
25193
|
-
* @param {Boolean} opts.recentlyReviewed Limit results to requests that have been reviewed within the preceding 30 days (default to false)
|
|
25194
|
-
*/},{key:"getWorkforcemanagementTimeoffrequests",value:function getWorkforcemanagementTimeoffrequests(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests','GET',{},{'recentlyReviewed':opts['recentlyReviewed']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25291
|
+
*/},{key:"getWorkforcemanagementTimeoffrequests",value:function getWorkforcemanagementTimeoffrequests(){return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
25195
25292
|
* Get work plan bid ranks for a user
|
|
25196
25293
|
*
|
|
25197
25294
|
* @param {String} userId The userId to whom the work plan bid ranks apply.
|
|
@@ -26160,7 +26257,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
26160
26257
|
* </pre>
|
|
26161
26258
|
* </p>
|
|
26162
26259
|
* @module purecloud-platform-client-v2/index
|
|
26163
|
-
* @version
|
|
26260
|
+
* @version 210.0.0
|
|
26164
26261
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
26165
26262
|
* The ApiClient constructor.
|
|
26166
26263
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -26213,6 +26310,9 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
26213
26310
|
* The DataExtensionsApi service constructor.
|
|
26214
26311
|
* @property {module:purecloud-platform-client-v2/api/DataExtensionsApi}
|
|
26215
26312
|
*/this.DataExtensionsApi=DataExtensionsApi;/**
|
|
26313
|
+
* The DataPrivacyApi service constructor.
|
|
26314
|
+
* @property {module:purecloud-platform-client-v2/api/DataPrivacyApi}
|
|
26315
|
+
*/this.DataPrivacyApi=DataPrivacyApi;/**
|
|
26216
26316
|
* The DownloadsApi service constructor.
|
|
26217
26317
|
* @property {module:purecloud-platform-client-v2/api/DownloadsApi}
|
|
26218
26318
|
*/this.DownloadsApi=DownloadsApi;/**
|