purecloud-platform-client-v2 187.0.0 → 188.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +406 -93
- package/dist/web-amd/purecloud-platform-client-v2.js +406 -93
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +173 -94
- package/dist/web-cjs/purecloud-platform-client-v2.js +261 -139
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +379 -146
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +26 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +3 -2
- 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 +3 -10
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +201 -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 +3 -2
- 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 +34 -4
- 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/SpeechTextAnalyticsApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +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 +63 -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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -2807,14 +2807,14 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
2807
2807
|
return intrinsic;
|
|
2808
2808
|
};
|
|
2809
2809
|
|
|
2810
|
-
},{"./":9,"get-intrinsic":
|
|
2810
|
+
},{"./":9,"get-intrinsic":20}],9:[function(require,module,exports){
|
|
2811
2811
|
'use strict';
|
|
2812
2812
|
|
|
2813
2813
|
var bind = require('function-bind');
|
|
2814
2814
|
var GetIntrinsic = require('get-intrinsic');
|
|
2815
2815
|
var setFunctionLength = require('set-function-length');
|
|
2816
2816
|
|
|
2817
|
-
var $TypeError =
|
|
2817
|
+
var $TypeError = require('es-errors/type');
|
|
2818
2818
|
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
2819
2819
|
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
2820
2820
|
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
@@ -2853,7 +2853,7 @@ if ($defineProperty) {
|
|
|
2853
2853
|
module.exports.apply = applyBind;
|
|
2854
2854
|
}
|
|
2855
2855
|
|
|
2856
|
-
},{"function-bind":
|
|
2856
|
+
},{"es-errors/type":16,"function-bind":19,"get-intrinsic":20,"set-function-length":33}],10:[function(require,module,exports){
|
|
2857
2857
|
'use strict';
|
|
2858
2858
|
|
|
2859
2859
|
var hasPropertyDescriptors = require('has-property-descriptors')();
|
|
@@ -2870,8 +2870,8 @@ if ($defineProperty) {
|
|
|
2870
2870
|
}
|
|
2871
2871
|
}
|
|
2872
2872
|
|
|
2873
|
-
var $SyntaxError =
|
|
2874
|
-
var $TypeError =
|
|
2873
|
+
var $SyntaxError = require('es-errors/syntax');
|
|
2874
|
+
var $TypeError = require('es-errors/type');
|
|
2875
2875
|
|
|
2876
2876
|
var gopd = require('gopd');
|
|
2877
2877
|
|
|
@@ -2923,7 +2923,49 @@ module.exports = function defineDataProperty(
|
|
|
2923
2923
|
}
|
|
2924
2924
|
};
|
|
2925
2925
|
|
|
2926
|
-
},{"get-intrinsic":
|
|
2926
|
+
},{"es-errors/syntax":15,"es-errors/type":16,"get-intrinsic":20,"gopd":21,"has-property-descriptors":22}],11:[function(require,module,exports){
|
|
2927
|
+
'use strict';
|
|
2928
|
+
|
|
2929
|
+
/** @type {import('./eval')} */
|
|
2930
|
+
module.exports = EvalError;
|
|
2931
|
+
|
|
2932
|
+
},{}],12:[function(require,module,exports){
|
|
2933
|
+
'use strict';
|
|
2934
|
+
|
|
2935
|
+
/** @type {import('.')} */
|
|
2936
|
+
module.exports = Error;
|
|
2937
|
+
|
|
2938
|
+
},{}],13:[function(require,module,exports){
|
|
2939
|
+
'use strict';
|
|
2940
|
+
|
|
2941
|
+
/** @type {import('./range')} */
|
|
2942
|
+
module.exports = RangeError;
|
|
2943
|
+
|
|
2944
|
+
},{}],14:[function(require,module,exports){
|
|
2945
|
+
'use strict';
|
|
2946
|
+
|
|
2947
|
+
/** @type {import('./ref')} */
|
|
2948
|
+
module.exports = ReferenceError;
|
|
2949
|
+
|
|
2950
|
+
},{}],15:[function(require,module,exports){
|
|
2951
|
+
'use strict';
|
|
2952
|
+
|
|
2953
|
+
/** @type {import('./syntax')} */
|
|
2954
|
+
module.exports = SyntaxError;
|
|
2955
|
+
|
|
2956
|
+
},{}],16:[function(require,module,exports){
|
|
2957
|
+
'use strict';
|
|
2958
|
+
|
|
2959
|
+
/** @type {import('./type')} */
|
|
2960
|
+
module.exports = TypeError;
|
|
2961
|
+
|
|
2962
|
+
},{}],17:[function(require,module,exports){
|
|
2963
|
+
'use strict';
|
|
2964
|
+
|
|
2965
|
+
/** @type {import('./uri')} */
|
|
2966
|
+
module.exports = URIError;
|
|
2967
|
+
|
|
2968
|
+
},{}],18:[function(require,module,exports){
|
|
2927
2969
|
'use strict';
|
|
2928
2970
|
|
|
2929
2971
|
/* eslint no-invalid-this: 1 */
|
|
@@ -3009,21 +3051,27 @@ module.exports = function bind(that) {
|
|
|
3009
3051
|
return bound;
|
|
3010
3052
|
};
|
|
3011
3053
|
|
|
3012
|
-
},{}],
|
|
3054
|
+
},{}],19:[function(require,module,exports){
|
|
3013
3055
|
'use strict';
|
|
3014
3056
|
|
|
3015
3057
|
var implementation = require('./implementation');
|
|
3016
3058
|
|
|
3017
3059
|
module.exports = Function.prototype.bind || implementation;
|
|
3018
3060
|
|
|
3019
|
-
},{"./implementation":
|
|
3061
|
+
},{"./implementation":18}],20:[function(require,module,exports){
|
|
3020
3062
|
'use strict';
|
|
3021
3063
|
|
|
3022
3064
|
var undefined;
|
|
3023
3065
|
|
|
3024
|
-
var $
|
|
3066
|
+
var $Error = require('es-errors');
|
|
3067
|
+
var $EvalError = require('es-errors/eval');
|
|
3068
|
+
var $RangeError = require('es-errors/range');
|
|
3069
|
+
var $ReferenceError = require('es-errors/ref');
|
|
3070
|
+
var $SyntaxError = require('es-errors/syntax');
|
|
3071
|
+
var $TypeError = require('es-errors/type');
|
|
3072
|
+
var $URIError = require('es-errors/uri');
|
|
3073
|
+
|
|
3025
3074
|
var $Function = Function;
|
|
3026
|
-
var $TypeError = TypeError;
|
|
3027
3075
|
|
|
3028
3076
|
// eslint-disable-next-line consistent-return
|
|
3029
3077
|
var getEvalledConstructor = function (expressionSyntax) {
|
|
@@ -3075,6 +3123,7 @@ var needsEval = {};
|
|
|
3075
3123
|
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
|
|
3076
3124
|
|
|
3077
3125
|
var INTRINSICS = {
|
|
3126
|
+
__proto__: null,
|
|
3078
3127
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
3079
3128
|
'%Array%': Array,
|
|
3080
3129
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
@@ -3095,9 +3144,9 @@ var INTRINSICS = {
|
|
|
3095
3144
|
'%decodeURIComponent%': decodeURIComponent,
|
|
3096
3145
|
'%encodeURI%': encodeURI,
|
|
3097
3146
|
'%encodeURIComponent%': encodeURIComponent,
|
|
3098
|
-
'%Error%': Error,
|
|
3147
|
+
'%Error%': $Error,
|
|
3099
3148
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
3100
|
-
'%EvalError%': EvalError,
|
|
3149
|
+
'%EvalError%': $EvalError,
|
|
3101
3150
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
3102
3151
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
3103
3152
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -3119,8 +3168,8 @@ var INTRINSICS = {
|
|
|
3119
3168
|
'%parseInt%': parseInt,
|
|
3120
3169
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
3121
3170
|
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
3122
|
-
'%RangeError%': RangeError,
|
|
3123
|
-
'%ReferenceError%': ReferenceError,
|
|
3171
|
+
'%RangeError%': $RangeError,
|
|
3172
|
+
'%ReferenceError%': $ReferenceError,
|
|
3124
3173
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
3125
3174
|
'%RegExp%': RegExp,
|
|
3126
3175
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
@@ -3137,7 +3186,7 @@ var INTRINSICS = {
|
|
|
3137
3186
|
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
3138
3187
|
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
3139
3188
|
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
3140
|
-
'%URIError%': URIError,
|
|
3189
|
+
'%URIError%': $URIError,
|
|
3141
3190
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
3142
3191
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
3143
3192
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
@@ -3179,6 +3228,7 @@ var doEval = function doEval(name) {
|
|
|
3179
3228
|
};
|
|
3180
3229
|
|
|
3181
3230
|
var LEGACY_ALIASES = {
|
|
3231
|
+
__proto__: null,
|
|
3182
3232
|
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
3183
3233
|
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
3184
3234
|
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
@@ -3369,7 +3419,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
3369
3419
|
return value;
|
|
3370
3420
|
};
|
|
3371
3421
|
|
|
3372
|
-
},{"function-bind":
|
|
3422
|
+
},{"es-errors":12,"es-errors/eval":11,"es-errors/range":13,"es-errors/ref":14,"es-errors/syntax":15,"es-errors/type":16,"es-errors/uri":17,"function-bind":19,"has-proto":23,"has-symbols":24,"hasown":26}],21:[function(require,module,exports){
|
|
3373
3423
|
'use strict';
|
|
3374
3424
|
|
|
3375
3425
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -3387,7 +3437,7 @@ if ($gOPD) {
|
|
|
3387
3437
|
|
|
3388
3438
|
module.exports = $gOPD;
|
|
3389
3439
|
|
|
3390
|
-
},{"get-intrinsic":
|
|
3440
|
+
},{"get-intrinsic":20}],22:[function(require,module,exports){
|
|
3391
3441
|
'use strict';
|
|
3392
3442
|
|
|
3393
3443
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -3422,7 +3472,7 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
3422
3472
|
|
|
3423
3473
|
module.exports = hasPropertyDescriptors;
|
|
3424
3474
|
|
|
3425
|
-
},{"get-intrinsic":
|
|
3475
|
+
},{"get-intrinsic":20}],23:[function(require,module,exports){
|
|
3426
3476
|
'use strict';
|
|
3427
3477
|
|
|
3428
3478
|
var test = {
|
|
@@ -3435,7 +3485,7 @@ module.exports = function hasProto() {
|
|
|
3435
3485
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
3436
3486
|
};
|
|
3437
3487
|
|
|
3438
|
-
},{}],
|
|
3488
|
+
},{}],24:[function(require,module,exports){
|
|
3439
3489
|
'use strict';
|
|
3440
3490
|
|
|
3441
3491
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -3450,7 +3500,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
3450
3500
|
return hasSymbolSham();
|
|
3451
3501
|
};
|
|
3452
3502
|
|
|
3453
|
-
},{"./shams":
|
|
3503
|
+
},{"./shams":25}],25:[function(require,module,exports){
|
|
3454
3504
|
'use strict';
|
|
3455
3505
|
|
|
3456
3506
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -3494,7 +3544,7 @@ module.exports = function hasSymbols() {
|
|
|
3494
3544
|
return true;
|
|
3495
3545
|
};
|
|
3496
3546
|
|
|
3497
|
-
},{}],
|
|
3547
|
+
},{}],26:[function(require,module,exports){
|
|
3498
3548
|
'use strict';
|
|
3499
3549
|
|
|
3500
3550
|
var call = Function.prototype.call;
|
|
@@ -3504,7 +3554,7 @@ var bind = require('function-bind');
|
|
|
3504
3554
|
/** @type {(o: {}, p: PropertyKey) => p is keyof o} */
|
|
3505
3555
|
module.exports = bind.call(call, $hasOwn);
|
|
3506
3556
|
|
|
3507
|
-
},{"function-bind":
|
|
3557
|
+
},{"function-bind":19}],27:[function(require,module,exports){
|
|
3508
3558
|
(function (global){(function (){
|
|
3509
3559
|
var hasMap = typeof Map === 'function' && Map.prototype;
|
|
3510
3560
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
|
@@ -4032,7 +4082,7 @@ function arrObjKeys(obj, inspect) {
|
|
|
4032
4082
|
}
|
|
4033
4083
|
|
|
4034
4084
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
4035
|
-
},{"./util.inspect":2}],
|
|
4085
|
+
},{"./util.inspect":2}],28:[function(require,module,exports){
|
|
4036
4086
|
'use strict';
|
|
4037
4087
|
|
|
4038
4088
|
var replace = String.prototype.replace;
|
|
@@ -4057,7 +4107,7 @@ module.exports = {
|
|
|
4057
4107
|
RFC3986: Format.RFC3986
|
|
4058
4108
|
};
|
|
4059
4109
|
|
|
4060
|
-
},{}],
|
|
4110
|
+
},{}],29:[function(require,module,exports){
|
|
4061
4111
|
'use strict';
|
|
4062
4112
|
|
|
4063
4113
|
var stringify = require('./stringify');
|
|
@@ -4070,7 +4120,7 @@ module.exports = {
|
|
|
4070
4120
|
stringify: stringify
|
|
4071
4121
|
};
|
|
4072
4122
|
|
|
4073
|
-
},{"./formats":
|
|
4123
|
+
},{"./formats":28,"./parse":30,"./stringify":31}],30:[function(require,module,exports){
|
|
4074
4124
|
'use strict';
|
|
4075
4125
|
|
|
4076
4126
|
var utils = require('./utils');
|
|
@@ -4336,7 +4386,7 @@ module.exports = function (str, opts) {
|
|
|
4336
4386
|
return utils.compact(obj);
|
|
4337
4387
|
};
|
|
4338
4388
|
|
|
4339
|
-
},{"./utils":
|
|
4389
|
+
},{"./utils":32}],31:[function(require,module,exports){
|
|
4340
4390
|
'use strict';
|
|
4341
4391
|
|
|
4342
4392
|
var getSideChannel = require('side-channel');
|
|
@@ -4658,7 +4708,7 @@ module.exports = function (object, opts) {
|
|
|
4658
4708
|
return joined.length > 0 ? prefix + joined : '';
|
|
4659
4709
|
};
|
|
4660
4710
|
|
|
4661
|
-
},{"./formats":
|
|
4711
|
+
},{"./formats":28,"./utils":32,"side-channel":34}],32:[function(require,module,exports){
|
|
4662
4712
|
'use strict';
|
|
4663
4713
|
|
|
4664
4714
|
var formats = require('./formats');
|
|
@@ -4912,7 +4962,7 @@ module.exports = {
|
|
|
4912
4962
|
merge: merge
|
|
4913
4963
|
};
|
|
4914
4964
|
|
|
4915
|
-
},{"./formats":
|
|
4965
|
+
},{"./formats":28}],33:[function(require,module,exports){
|
|
4916
4966
|
'use strict';
|
|
4917
4967
|
|
|
4918
4968
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -4920,7 +4970,7 @@ var define = require('define-data-property');
|
|
|
4920
4970
|
var hasDescriptors = require('has-property-descriptors')();
|
|
4921
4971
|
var gOPD = require('gopd');
|
|
4922
4972
|
|
|
4923
|
-
var $TypeError =
|
|
4973
|
+
var $TypeError = require('es-errors/type');
|
|
4924
4974
|
var $floor = GetIntrinsic('%Math.floor%');
|
|
4925
4975
|
|
|
4926
4976
|
/** @typedef {(...args: unknown[]) => unknown} Func */
|
|
@@ -4958,14 +5008,14 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
4958
5008
|
return fn;
|
|
4959
5009
|
};
|
|
4960
5010
|
|
|
4961
|
-
},{"define-data-property":10,"get-intrinsic":
|
|
5011
|
+
},{"define-data-property":10,"es-errors/type":16,"get-intrinsic":20,"gopd":21,"has-property-descriptors":22}],34:[function(require,module,exports){
|
|
4962
5012
|
'use strict';
|
|
4963
5013
|
|
|
4964
5014
|
var GetIntrinsic = require('get-intrinsic');
|
|
4965
5015
|
var callBound = require('call-bind/callBound');
|
|
4966
5016
|
var inspect = require('object-inspect');
|
|
4967
5017
|
|
|
4968
|
-
var $TypeError =
|
|
5018
|
+
var $TypeError = require('es-errors/type');
|
|
4969
5019
|
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
|
4970
5020
|
var $Map = GetIntrinsic('%Map%', true);
|
|
4971
5021
|
|
|
@@ -4977,13 +5027,10 @@ var $mapSet = callBound('Map.prototype.set', true);
|
|
|
4977
5027
|
var $mapHas = callBound('Map.prototype.has', true);
|
|
4978
5028
|
|
|
4979
5029
|
/*
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
* again we don't need to traverse the whole list. By doing so, all the recently
|
|
4985
|
-
* used nodes can be accessed relatively quickly.
|
|
4986
|
-
*/
|
|
5030
|
+
* This function traverses the list returning the node corresponding to the given key.
|
|
5031
|
+
*
|
|
5032
|
+
* That node is also moved to the head of the list, so that if it's accessed again we don't need to traverse the whole list. By doing so, all the recently used nodes can be accessed relatively quickly.
|
|
5033
|
+
*/
|
|
4987
5034
|
var listGetNode = function (list, key) { // eslint-disable-line consistent-return
|
|
4988
5035
|
for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
|
|
4989
5036
|
if (curr.key === key) {
|
|
@@ -5070,11 +5117,7 @@ module.exports = function getSideChannel() {
|
|
|
5070
5117
|
$mapSet($m, key, value);
|
|
5071
5118
|
} else {
|
|
5072
5119
|
if (!$o) {
|
|
5073
|
-
|
|
5074
|
-
* Initialize the linked list as an empty node, so that we don't have
|
|
5075
|
-
* to special-case handling of the first node: we can always refer to
|
|
5076
|
-
* it as (previous node).next, instead of something like (list).head
|
|
5077
|
-
*/
|
|
5120
|
+
// Initialize the linked list as an empty node, so that we don't have to special-case handling of the first node: we can always refer to it as (previous node).next, instead of something like (list).head
|
|
5078
5121
|
$o = { key: {}, next: null };
|
|
5079
5122
|
}
|
|
5080
5123
|
listSet($o, key, value);
|
|
@@ -5084,7 +5127,7 @@ module.exports = function getSideChannel() {
|
|
|
5084
5127
|
return channel;
|
|
5085
5128
|
};
|
|
5086
5129
|
|
|
5087
|
-
},{"call-bind/callBound":8,"get-intrinsic":
|
|
5130
|
+
},{"call-bind/callBound":8,"es-errors/type":16,"get-intrinsic":20,"object-inspect":27}],"platformClient":[function(require,module,exports){
|
|
5088
5131
|
(function (global,Buffer){(function (){
|
|
5089
5132
|
'use strict';function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return e;};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value;},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function define(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{define({},"");}catch(t){define=function define(t,e,r){return t[e]=r;};}function wrap(t,e,r,n){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype),c=new Context(n||[]);return o(a,"_invoke",{value:makeInvokeMethod(t,r,c)}),a;}function tryCatch(t,e,r){try{return{type:"normal",arg:t.call(e,r)};}catch(t){return{type:"throw",arg:t};}}e.wrap=wrap;var h="suspendedStart",l="suspendedYield",f="executing",s="completed",y={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var p={};define(p,a,function(){return this;});var d=Object.getPrototypeOf,v=d&&d(d(values([])));v&&v!==r&&n.call(v,a)&&(p=v);var g=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(p);function defineIteratorMethods(t){["next","throw","return"].forEach(function(e){define(t,e,function(t){return this._invoke(e,t);});});}function AsyncIterator(t,e){function invoke(r,o,i,a){var c=tryCatch(t[r],t,o);if("throw"!==c.type){var u=c.arg,h=u.value;return h&&"object"==_typeof(h)&&n.call(h,"__await")?e.resolve(h.__await).then(function(t){invoke("next",t,i,a);},function(t){invoke("throw",t,i,a);}):e.resolve(h).then(function(t){u.value=t,i(u);},function(t){return invoke("throw",t,i,a);});}a(c.arg);}var r;o(this,"_invoke",{value:function value(t,n){function callInvokeWithMethodAndArg(){return new e(function(e,r){invoke(t,n,e,r);});}return r=r?r.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg();}});}function makeInvokeMethod(e,r,n){var o=h;return function(i,a){if(o===f)throw new Error("Generator is already running");if(o===s){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=maybeInvokeDelegate(c,n);if(u){if(u===y)continue;return u;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=s,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=f;var p=tryCatch(e,r,n);if("normal"===p.type){if(o=n.done?s:l,p.arg===y)continue;return{value:p.arg,done:n.done};}"throw"===p.type&&(o=s,n.method="throw",n.arg=p.arg);}};}function maybeInvokeDelegate(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator["return"]&&(r.method="return",r.arg=t,maybeInvokeDelegate(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=tryCatch(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y);}function pushTryEntry(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function resetTryEntry(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0);}function values(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function next(){for(;++o<e.length;)if(n.call(e,o))return next.value=e[o],next.done=!1,next;return next.value=t,next.done=!0,next;};return i.next=i;}}throw new TypeError(_typeof(e)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,o(g,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),o(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===GeneratorFunction||"GeneratorFunction"===(e.displayName||e.name));},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t;},e.awrap=function(t){return{__await:t};},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,c,function(){return this;}),e.AsyncIterator=AsyncIterator,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(wrap(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next();});},defineIteratorMethods(g),define(g,u,"Generator"),define(g,a,function(){return this;}),define(g,"toString",function(){return"[object Generator]";}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function next(){for(;r.length;){var t=r.pop();if(t in e)return next.value=t,next.done=!1,next;}return next.done=!0,next;};},e.values=values,Context.prototype={constructor:Context,reset:function reset(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(e){if(this.done)throw e;var r=this;function handle(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o;}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return handle("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}else if(c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc);}}}},abrupt:function abrupt(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a);},complete:function complete(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y;},finish:function finish(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),resetTryEntry(r),y;}},"catch":function _catch(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;resetTryEntry(r);}return o;}}throw new Error("illegal catch attempt");},delegateYield:function delegateYield(e,r,n){return this.delegate={iterator:values(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y;}},e;}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr);}function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableRest();}function _iterableToArray(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter);}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr;}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(obj,key,value){key=_toPropertyKey(key);if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor);}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);Object.defineProperty(Constructor,"prototype",{writable:false});return Constructor;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:String(i);}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud'};var global$1=typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{};var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var inited=false;function init(){inited=true;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}revLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;}function toByteArray(b64){if(!inited){init();}var i,j,l,tmp,placeHolders,arr;var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// the number of equal signs (place holders)
|
|
5090
5133
|
// if there are two placeholders, than the two characters before it
|
|
@@ -5935,7 +5978,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
5935
5978
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
5936
5979
|
if(this.environment.startsWith('https://'))this.environment=this.environment.substring(8);if(this.environment.startsWith('http://'))this.environment=this.environment.substring(7);if(this.environment.startsWith('api.'))this.environment=this.environment.substring(4);this.basePath="https://api.".concat(this.environment);this.authUrl="https://login.".concat(this.environment);}},{key:"getConfigString",value:function getConfigString(section,key){if(this.config._sections[section])return this.config._sections[section][key];}},{key:"getConfigBoolean",value:function getConfigBoolean(section,key){if(this.config._sections[section]&&this.config._sections[section][key]!==undefined){if(typeof this.config._sections[section][key]==='string'){return this.config._sections[section][key]==='true';}else return this.config._sections[section][key];}}},{key:"getConfigInt",value:function getConfigInt(section,key){if(this.config._sections[section]&&this.config._sections[section][key]){if(typeof this.config._sections[section][key]==='string'){return parseInt(this.config._sections[section][key]);}else return this.config._sections[section][key];}}}]);return Configuration;}();/**
|
|
5937
5980
|
* @module purecloud-platform-client-v2/ApiClient
|
|
5938
|
-
* @version
|
|
5981
|
+
* @version 188.0.0
|
|
5939
5982
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
5940
5983
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
5941
5984
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6247,7 +6290,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6247
6290
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);return ApiClient;}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
6248
6291
|
* Alerting service.
|
|
6249
6292
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6250
|
-
* @version
|
|
6293
|
+
* @version 188.0.0
|
|
6251
6294
|
*/ /**
|
|
6252
6295
|
* Constructs a new AlertingApi.
|
|
6253
6296
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6404,7 +6447,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6404
6447
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AlertingApi;}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
6405
6448
|
* Analytics service.
|
|
6406
6449
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6407
|
-
* @version
|
|
6450
|
+
* @version 188.0.0
|
|
6408
6451
|
*/ /**
|
|
6409
6452
|
* Constructs a new AnalyticsApi.
|
|
6410
6453
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -6830,7 +6873,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6830
6873
|
* Query for flow execution aggregates
|
|
6831
6874
|
*
|
|
6832
6875
|
* @param {Object} body query
|
|
6833
|
-
* postAnalyticsFlowexecutionsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6834
6876
|
*/},{key:"postAnalyticsFlowexecutionsAggregatesQuery",value:function postAnalyticsFlowexecutionsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
6835
6877
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/flowexecutions/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6836
6878
|
* Query for flow activity observations
|
|
@@ -6886,6 +6928,11 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6886
6928
|
* @param {Object} body query
|
|
6887
6929
|
*/},{key:"postAnalyticsQueuesObservationsQuery",value:function postAnalyticsQueuesObservationsQuery(body){// verify the required parameter 'body' is set
|
|
6888
6930
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/queues/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6931
|
+
* Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded
|
|
6932
|
+
*
|
|
6933
|
+
* @param {Object} body query
|
|
6934
|
+
*/},{key:"postAnalyticsRatelimitsAggregatesQuery",value:function postAnalyticsRatelimitsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
6935
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/ratelimits/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6889
6936
|
* Generate a view export request
|
|
6890
6937
|
* This API creates a reporting export but the desired way to export analytics data is to use the analytics query APIs instead
|
|
6891
6938
|
* @param {Object} body ReportingExportJobRequest
|
|
@@ -7011,7 +7058,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
7011
7058
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsReportingSchedule';}return this.apiClient.callApi('/api/v2/analytics/reporting/schedules/{scheduleId}','PUT',{'scheduleId':scheduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AnalyticsApi;}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
7012
7059
|
* Architect service.
|
|
7013
7060
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7014
|
-
* @version
|
|
7061
|
+
* @version 188.0.0
|
|
7015
7062
|
*/ /**
|
|
7016
7063
|
* Constructs a new ArchitectApi.
|
|
7017
7064
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -7947,9 +7994,10 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7947
7994
|
* @param {Object} body query
|
|
7948
7995
|
* @param {Object} opts Optional parameters
|
|
7949
7996
|
* @param {Boolean} opts.indexOnly indexes only
|
|
7997
|
+
* @param {Number} opts.pageSize number of results to return (default to 50)
|
|
7950
7998
|
* postFlowsInstancesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
7951
7999
|
*/},{key:"postFlowsInstancesQuery",value:function postFlowsInstancesQuery(body,opts){opts=opts||{};// verify the required parameter 'body' is set
|
|
7952
|
-
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsInstancesQuery';}return this.apiClient.callApi('/api/v2/flows/instances/query','POST',{},{'indexOnly':opts['indexOnly']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8000
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postFlowsInstancesQuery';}return this.apiClient.callApi('/api/v2/flows/instances/query','POST',{},{'indexOnly':opts['indexOnly'],'pageSize':opts['pageSize']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7953
8001
|
* Register Architect Job. Returns a URL where a file, such as an Architect flow YAML file, can be PUT which will then initiate the job.
|
|
7954
8002
|
*
|
|
7955
8003
|
*/},{key:"postFlowsJobs",value:function postFlowsJobs(){return this.apiClient.callApi('/api/v2/flows/jobs','POST',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -8057,7 +8105,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8057
8105
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ArchitectApi;}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8058
8106
|
* Audit service.
|
|
8059
8107
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8060
|
-
* @version
|
|
8108
|
+
* @version 188.0.0
|
|
8061
8109
|
*/ /**
|
|
8062
8110
|
* Constructs a new AuditApi.
|
|
8063
8111
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8099,7 +8147,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8099
8147
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtime';}return this.apiClient.callApi('/api/v2/audits/query/realtime','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuditApi;}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
8100
8148
|
* Authorization service.
|
|
8101
8149
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8102
|
-
* @version
|
|
8150
|
+
* @version 188.0.0
|
|
8103
8151
|
*/ /**
|
|
8104
8152
|
* Constructs a new AuthorizationApi.
|
|
8105
8153
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8153,8 +8201,9 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
8153
8201
|
* @param {String} opts.nextPage next page token
|
|
8154
8202
|
* @param {String} opts.previousPage Previous page token
|
|
8155
8203
|
* @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
|
|
8204
|
+
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
8156
8205
|
* @param {String} opts.name Search term to filter by division name
|
|
8157
|
-
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8206
|
+
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
8158
8207
|
* Retrieve the home division for the organization.
|
|
8159
8208
|
* Will not include object counts.
|
|
8160
8209
|
*/},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -8409,7 +8458,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8409
8458
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return AuthorizationApi;}();var BillingApi=/*#__PURE__*/function(){/**
|
|
8410
8459
|
* Billing service.
|
|
8411
8460
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8412
|
-
* @version
|
|
8461
|
+
* @version 188.0.0
|
|
8413
8462
|
*/ /**
|
|
8414
8463
|
* Constructs a new BillingApi.
|
|
8415
8464
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8433,7 +8482,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8433
8482
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return BillingApi;}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
8434
8483
|
* CarrierServices service.
|
|
8435
8484
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8436
|
-
* @version
|
|
8485
|
+
* @version 188.0.0
|
|
8437
8486
|
*/ /**
|
|
8438
8487
|
* Constructs a new CarrierServicesApi.
|
|
8439
8488
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8453,7 +8502,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8453
8502
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return CarrierServicesApi;}();var ChatApi=/*#__PURE__*/function(){/**
|
|
8454
8503
|
* Chat service.
|
|
8455
8504
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8456
|
-
* @version
|
|
8505
|
+
* @version 188.0.0
|
|
8457
8506
|
*/ /**
|
|
8458
8507
|
* Constructs a new ChatApi.
|
|
8459
8508
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8646,7 +8695,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8646
8695
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ChatApi;}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
8647
8696
|
* Coaching service.
|
|
8648
8697
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8649
|
-
* @version
|
|
8698
|
+
* @version 188.0.0
|
|
8650
8699
|
*/ /**
|
|
8651
8700
|
* Constructs a new CoachingApi.
|
|
8652
8701
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -8799,7 +8848,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8799
8848
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return CoachingApi;}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
8800
8849
|
* ContentManagement service.
|
|
8801
8850
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8802
|
-
* @version
|
|
8851
|
+
* @version 188.0.0
|
|
8803
8852
|
*/ /**
|
|
8804
8853
|
* Constructs a new ContentManagementApi.
|
|
8805
8854
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9082,7 +9131,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9082
9131
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ContentManagementApi;}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
9083
9132
|
* Conversations service.
|
|
9084
9133
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9085
|
-
* @version
|
|
9134
|
+
* @version 188.0.0
|
|
9086
9135
|
*/ /**
|
|
9087
9136
|
* Constructs a new ConversationsApi.
|
|
9088
9137
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10070,8 +10119,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10070
10119
|
*/},{key:"patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId",value:function patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
10071
10120
|
if(integrationId===undefined||integrationId===null){throw'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';}// verify the required parameter 'body' is set
|
|
10072
10121
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';}return this.apiClient.callApi('/api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup/{integrationId}','PATCH',{'integrationId':integrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
10073
|
-
* Update
|
|
10074
|
-
*
|
|
10122
|
+
* Update a WhatsApp messaging integration
|
|
10123
|
+
*
|
|
10075
10124
|
* @param {String} integrationId Integration ID
|
|
10076
10125
|
* @param {Object} body WhatsAppIntegrationUpdateRequest
|
|
10077
10126
|
*/},{key:"patchConversationsMessagingIntegrationsWhatsappIntegrationId",value:function patchConversationsMessagingIntegrationsWhatsappIntegrationId(integrationId,body){// verify the required parameter 'integrationId' is set
|
|
@@ -10188,7 +10237,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10188
10237
|
* @param {String} conversationId conversation ID
|
|
10189
10238
|
* @param {String} participantId participant ID
|
|
10190
10239
|
* @param {Object} body Transfer request
|
|
10191
|
-
* postConversationParticipantReplaceAgent is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10192
10240
|
*/},{key:"postConversationParticipantReplaceAgent",value:function postConversationParticipantReplaceAgent(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
10193
10241
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'participantId' is set
|
|
10194
10242
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceAgent';}// verify the required parameter 'body' is set
|
|
@@ -10198,7 +10246,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10198
10246
|
* @param {String} conversationId conversation ID
|
|
10199
10247
|
* @param {String} participantId participant ID
|
|
10200
10248
|
* @param {Object} body Transfer request
|
|
10201
|
-
* postConversationParticipantReplaceExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10202
10249
|
*/},{key:"postConversationParticipantReplaceExternal",value:function postConversationParticipantReplaceExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
10203
10250
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceExternal';}// verify the required parameter 'participantId' is set
|
|
10204
10251
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceExternal';}// verify the required parameter 'body' is set
|
|
@@ -10208,7 +10255,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10208
10255
|
* @param {String} conversationId conversation ID
|
|
10209
10256
|
* @param {String} participantId participant ID
|
|
10210
10257
|
* @param {Object} body Transfer request
|
|
10211
|
-
* postConversationParticipantReplaceQueue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10212
10258
|
*/},{key:"postConversationParticipantReplaceQueue",value:function postConversationParticipantReplaceQueue(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
10213
10259
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceQueue';}// verify the required parameter 'participantId' is set
|
|
10214
10260
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationParticipantReplaceQueue';}// verify the required parameter 'body' is set
|
|
@@ -10278,7 +10324,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10278
10324
|
* @param {String} conversationId conversationId
|
|
10279
10325
|
* @param {String} participantId participantId
|
|
10280
10326
|
* @param {Object} body Destination agent and initial speak to
|
|
10281
|
-
* postConversationsCallParticipantConsultAgent is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10282
10327
|
*/},{key:"postConversationsCallParticipantConsultAgent",value:function postConversationsCallParticipantConsultAgent(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
10283
10328
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'participantId' is set
|
|
10284
10329
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultAgent';}// verify the required parameter 'body' is set
|
|
@@ -10288,7 +10333,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10288
10333
|
* @param {String} conversationId conversationId
|
|
10289
10334
|
* @param {String} participantId participantId
|
|
10290
10335
|
* @param {Object} body Destination address and initial speak to
|
|
10291
|
-
* postConversationsCallParticipantConsultExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10292
10336
|
*/},{key:"postConversationsCallParticipantConsultExternal",value:function postConversationsCallParticipantConsultExternal(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
10293
10337
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultExternal';}// verify the required parameter 'participantId' is set
|
|
10294
10338
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultExternal';}// verify the required parameter 'body' is set
|
|
@@ -10298,7 +10342,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10298
10342
|
* @param {String} conversationId conversationId
|
|
10299
10343
|
* @param {String} participantId participantId
|
|
10300
10344
|
* @param {Object} body Destination queue and initial speak to
|
|
10301
|
-
* postConversationsCallParticipantConsultQueue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10302
10345
|
*/},{key:"postConversationsCallParticipantConsultQueue",value:function postConversationsCallParticipantConsultQueue(conversationId,participantId,body){// verify the required parameter 'conversationId' is set
|
|
10303
10346
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultQueue';}// verify the required parameter 'participantId' is set
|
|
10304
10347
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultQueue';}// verify the required parameter 'body' is set
|
|
@@ -10564,7 +10607,6 @@ if(communicationId===undefined||communicationId===null){throw'Missing the requir
|
|
|
10564
10607
|
*
|
|
10565
10608
|
* @param {String} conversationId conversationId
|
|
10566
10609
|
* @param {String} participantId participantId
|
|
10567
|
-
* postConversationsMessageParticipantMonitor is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
10568
10610
|
*/},{key:"postConversationsMessageParticipantMonitor",value:function postConversationsMessageParticipantMonitor(conversationId,participantId){// verify the required parameter 'conversationId' is set
|
|
10569
10611
|
if(conversationId===undefined||conversationId===null){throw'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantMonitor';}// verify the required parameter 'participantId' is set
|
|
10570
10612
|
if(participantId===undefined||participantId===null){throw'Missing the required parameter "participantId" when calling postConversationsMessageParticipantMonitor';}return this.apiClient.callApi('/api/v2/conversations/messages/{conversationId}/participants/{participantId}/monitor','POST',{'conversationId':conversationId,'participantId':participantId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -10816,7 +10858,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
10816
10858
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ConversationsApi;}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
10817
10859
|
* DataExtensions service.
|
|
10818
10860
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
10819
|
-
* @version
|
|
10861
|
+
* @version 188.0.0
|
|
10820
10862
|
*/ /**
|
|
10821
10863
|
* Constructs a new DataExtensionsApi.
|
|
10822
10864
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -10837,7 +10879,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10837
10879
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DataExtensionsApi;}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
10838
10880
|
* Downloads service.
|
|
10839
10881
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
10840
|
-
* @version
|
|
10882
|
+
* @version 188.0.0
|
|
10841
10883
|
*/ /**
|
|
10842
10884
|
* Constructs a new DownloadsApi.
|
|
10843
10885
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -10856,7 +10898,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10856
10898
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return DownloadsApi;}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
10857
10899
|
* Emails service.
|
|
10858
10900
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
10859
|
-
* @version
|
|
10901
|
+
* @version 188.0.0
|
|
10860
10902
|
*/ /**
|
|
10861
10903
|
* Constructs a new EmailsApi.
|
|
10862
10904
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -10874,7 +10916,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
10874
10916
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return EmailsApi;}();var EventsApi=/*#__PURE__*/function(){/**
|
|
10875
10917
|
* Events service.
|
|
10876
10918
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
10877
|
-
* @version
|
|
10919
|
+
* @version 188.0.0
|
|
10878
10920
|
*/ /**
|
|
10879
10921
|
* Constructs a new EventsApi.
|
|
10880
10922
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -10899,7 +10941,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10899
10941
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return EventsApi;}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
10900
10942
|
* ExternalContacts service.
|
|
10901
10943
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
10902
|
-
* @version
|
|
10944
|
+
* @version 188.0.0
|
|
10903
10945
|
*/ /**
|
|
10904
10946
|
* Constructs a new ExternalContactsApi.
|
|
10905
10947
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11354,7 +11396,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11354
11396
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ExternalContactsApi;}();var FaxApi=/*#__PURE__*/function(){/**
|
|
11355
11397
|
* Fax service.
|
|
11356
11398
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11357
|
-
* @version
|
|
11399
|
+
* @version 188.0.0
|
|
11358
11400
|
*/ /**
|
|
11359
11401
|
* Constructs a new FaxApi.
|
|
11360
11402
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11395,7 +11437,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
11395
11437
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putFaxDocument';}return this.apiClient.callApi('/api/v2/fax/documents/{documentId}','PUT',{'documentId':documentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FaxApi;}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
11396
11438
|
* Flows service.
|
|
11397
11439
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11398
|
-
* @version
|
|
11440
|
+
* @version 188.0.0
|
|
11399
11441
|
*/ /**
|
|
11400
11442
|
* Constructs a new FlowsApi.
|
|
11401
11443
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11444,7 +11486,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11444
11486
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return FlowsApi;}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
11445
11487
|
* Gamification service.
|
|
11446
11488
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11447
|
-
* @version
|
|
11489
|
+
* @version 188.0.0
|
|
11448
11490
|
*/ /**
|
|
11449
11491
|
* Constructs a new GamificationApi.
|
|
11450
11492
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -11984,7 +12026,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11984
12026
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GamificationApi;}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
11985
12027
|
* GeneralDataProtectionRegulation service.
|
|
11986
12028
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
11987
|
-
* @version
|
|
12029
|
+
* @version 188.0.0
|
|
11988
12030
|
*/ /**
|
|
11989
12031
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
11990
12032
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12019,7 +12061,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12019
12061
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GeneralDataProtectionRegulationApi;}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
12020
12062
|
* Geolocation service.
|
|
12021
12063
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12022
|
-
* @version
|
|
12064
|
+
* @version 188.0.0
|
|
12023
12065
|
*/ /**
|
|
12024
12066
|
* Constructs a new GeolocationApi.
|
|
12025
12067
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12053,7 +12095,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12053
12095
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GeolocationApi;}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
12054
12096
|
* Greetings service.
|
|
12055
12097
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12056
|
-
* @version
|
|
12098
|
+
* @version 188.0.0
|
|
12057
12099
|
*/ /**
|
|
12058
12100
|
* Constructs a new GreetingsApi.
|
|
12059
12101
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12160,7 +12202,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12160
12202
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GreetingsApi;}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
12161
12203
|
* Groups service.
|
|
12162
12204
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12163
|
-
* @version
|
|
12205
|
+
* @version 188.0.0
|
|
12164
12206
|
*/ /**
|
|
12165
12207
|
* Constructs a new GroupsApi.
|
|
12166
12208
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12293,7 +12335,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12293
12335
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return GroupsApi;}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
12294
12336
|
* IdentityProvider service.
|
|
12295
12337
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12296
|
-
* @version
|
|
12338
|
+
* @version 188.0.0
|
|
12297
12339
|
*/ /**
|
|
12298
12340
|
* Constructs a new IdentityProviderApi.
|
|
12299
12341
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12449,7 +12491,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12449
12491
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return IdentityProviderApi;}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
12450
12492
|
* InfrastructureAsCode service.
|
|
12451
12493
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12452
|
-
* @version
|
|
12494
|
+
* @version 188.0.0
|
|
12453
12495
|
*/ /**
|
|
12454
12496
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12455
12497
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12503,7 +12545,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12503
12545
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return InfrastructureAsCodeApi;}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
12504
12546
|
* Integrations service.
|
|
12505
12547
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12506
|
-
* @version
|
|
12548
|
+
* @version 188.0.0
|
|
12507
12549
|
*/ /**
|
|
12508
12550
|
* Constructs a new IntegrationsApi.
|
|
12509
12551
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13062,7 +13104,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13062
13104
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return IntegrationsApi;}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
13063
13105
|
* Journey service.
|
|
13064
13106
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13065
|
-
* @version
|
|
13107
|
+
* @version 188.0.0
|
|
13066
13108
|
*/ /**
|
|
13067
13109
|
* Constructs a new JourneyApi.
|
|
13068
13110
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13355,7 +13397,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
13355
13397
|
*/},{key:"postJourneySegments",value:function postJourneySegments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/segments','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
13356
13398
|
* Knowledge service.
|
|
13357
13399
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13358
|
-
* @version
|
|
13400
|
+
* @version 188.0.0
|
|
13359
13401
|
*/ /**
|
|
13360
13402
|
* Constructs a new KnowledgeApi.
|
|
13361
13403
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -13777,6 +13819,16 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
13777
13819
|
* getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13778
13820
|
*/},{key:"getKnowledgeKnowledgebaseOperationsUsersQuery",value:function getKnowledgeKnowledgebaseOperationsUsersQuery(knowledgeBaseId){// verify the required parameter 'knowledgeBaseId' is set
|
|
13779
13821
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperationsUsersQuery';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations/users/query','GET',{'knowledgeBaseId':knowledgeBaseId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13822
|
+
* Get parse job report
|
|
13823
|
+
*
|
|
13824
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
13825
|
+
* @param {String} parseJobId Parse job ID
|
|
13826
|
+
* @param {Object} opts Optional parameters
|
|
13827
|
+
* @param {Array.<String>} opts.expand If expand contains 'urls' downloadURL and failedEntitiesURL will be filled.
|
|
13828
|
+
* getKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13829
|
+
*/},{key:"getKnowledgeKnowledgebaseParseJob",value:function getKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
13830
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
|
|
13831
|
+
if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling getKnowledgeKnowledgebaseParseJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13780
13832
|
* Get knowledge base unanswered group for a particular groupId
|
|
13781
13833
|
*
|
|
13782
13834
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -13810,6 +13862,14 @@ if(phraseGroupId===undefined||phraseGroupId===null){throw'Missing the required p
|
|
|
13810
13862
|
* @param {String} opts.dateEnd The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
13811
13863
|
*/},{key:"getKnowledgeKnowledgebaseUnansweredGroups",value:function getKnowledgeKnowledgebaseUnansweredGroups(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
13812
13864
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUnansweredGroups';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups','GET',{'knowledgeBaseId':knowledgeBaseId},{'app':opts['app'],'dateStart':opts['dateStart'],'dateEnd':opts['dateEnd']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13865
|
+
* Get content upload from URL job status
|
|
13866
|
+
*
|
|
13867
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
13868
|
+
* @param {String} jobId Upload job ID
|
|
13869
|
+
* getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13870
|
+
*/},{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
|
|
13871
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
|
|
13872
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13813
13873
|
* Get knowledge bases
|
|
13814
13874
|
*
|
|
13815
13875
|
* @param {Object} opts Optional parameters
|
|
@@ -13941,6 +14001,16 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
13941
14001
|
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'importId' is set
|
|
13942
14002
|
if(importId===undefined||importId===null){throw'Missing the required parameter "importId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}// verify the required parameter 'body' is set
|
|
13943
14003
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode,'importId':importId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14004
|
+
* Send update to the parse operation
|
|
14005
|
+
*
|
|
14006
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
14007
|
+
* @param {String} parseJobId Parse job ID
|
|
14008
|
+
* @param {Object} body
|
|
14009
|
+
* patchKnowledgeKnowledgebaseParseJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14010
|
+
*/},{key:"patchKnowledgeKnowledgebaseParseJob",value:function patchKnowledgeKnowledgebaseParseJob(knowledgeBaseId,parseJobId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
14011
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'parseJobId' is set
|
|
14012
|
+
if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling patchKnowledgeKnowledgebaseParseJob';}// verify the required parameter 'body' is set
|
|
14013
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseParseJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}','PATCH',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13944
14014
|
* Update a Knowledge base unanswered phrase group
|
|
13945
14015
|
*
|
|
13946
14016
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -14157,6 +14227,24 @@ if(trainingId===undefined||trainingId===null){throw'Missing the required paramet
|
|
|
14157
14227
|
*/},{key:"postKnowledgeKnowledgebaseLanguageTrainings",value:function postKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId,languageCode){// verify the required parameter 'knowledgeBaseId' is set
|
|
14158
14228
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainings';}// verify the required parameter 'languageCode' is set
|
|
14159
14229
|
if(languageCode===undefined||languageCode===null){throw'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainings';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings','POST',{'knowledgeBaseId':knowledgeBaseId,'languageCode':languageCode},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14230
|
+
* Import the parsed articles
|
|
14231
|
+
*
|
|
14232
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
14233
|
+
* @param {String} parseJobId Parse job ID
|
|
14234
|
+
* @param {Object} body
|
|
14235
|
+
* postKnowledgeKnowledgebaseParseJobImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14236
|
+
*/},{key:"postKnowledgeKnowledgebaseParseJobImport",value:function postKnowledgeKnowledgebaseParseJobImport(knowledgeBaseId,parseJobId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
14237
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobImport';}// verify the required parameter 'parseJobId' is set
|
|
14238
|
+
if(parseJobId===undefined||parseJobId===null){throw'Missing the required parameter "parseJobId" when calling postKnowledgeKnowledgebaseParseJobImport';}// verify the required parameter 'body' is set
|
|
14239
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobImport';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs/{parseJobId}/import','POST',{'knowledgeBaseId':knowledgeBaseId,'parseJobId':parseJobId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14240
|
+
* Create parse job
|
|
14241
|
+
*
|
|
14242
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
14243
|
+
* @param {Object} body
|
|
14244
|
+
* postKnowledgeKnowledgebaseParseJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14245
|
+
*/},{key:"postKnowledgeKnowledgebaseParseJobs",value:function postKnowledgeKnowledgebaseParseJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
14246
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseParseJobs';}// verify the required parameter 'body' is set
|
|
14247
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseParseJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/parse/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14160
14248
|
* Search Documents
|
|
14161
14249
|
*
|
|
14162
14250
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
@@ -14165,6 +14253,14 @@ if(languageCode===undefined||languageCode===null){throw'Missing the required par
|
|
|
14165
14253
|
* @deprecated
|
|
14166
14254
|
*/},{key:"postKnowledgeKnowledgebaseSearch",value:function postKnowledgeKnowledgebaseSearch(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
14167
14255
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14256
|
+
* Create content upload from URL job
|
|
14257
|
+
*
|
|
14258
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
14259
|
+
* @param {Object} body uploadRequest
|
|
14260
|
+
* postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14261
|
+
*/},{key:"postKnowledgeKnowledgebaseUploadsUrlsJobs",value:function postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
14262
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}// verify the required parameter 'body' is set
|
|
14263
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14168
14264
|
* Create new knowledge base
|
|
14169
14265
|
*
|
|
14170
14266
|
* @param {Object} body
|
|
@@ -14172,7 +14268,7 @@ if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the requir
|
|
|
14172
14268
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebases';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return KnowledgeApi;}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
14173
14269
|
* LanguageUnderstanding service.
|
|
14174
14270
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14175
|
-
* @version
|
|
14271
|
+
* @version 188.0.0
|
|
14176
14272
|
*/ /**
|
|
14177
14273
|
* Constructs a new LanguageUnderstandingApi.
|
|
14178
14274
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14428,7 +14524,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14428
14524
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LanguageUnderstandingApi;}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
14429
14525
|
* Languages service.
|
|
14430
14526
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14431
|
-
* @version
|
|
14527
|
+
* @version 188.0.0
|
|
14432
14528
|
*/ /**
|
|
14433
14529
|
* Constructs a new LanguagesApi.
|
|
14434
14530
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14483,7 +14579,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14483
14579
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LanguagesApi;}();var LearningApi=/*#__PURE__*/function(){/**
|
|
14484
14580
|
* Learning service.
|
|
14485
14581
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14486
|
-
* @version
|
|
14582
|
+
* @version 188.0.0
|
|
14487
14583
|
*/ /**
|
|
14488
14584
|
* Constructs a new LearningApi.
|
|
14489
14585
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -14713,7 +14809,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
14713
14809
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LearningApi;}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
14714
14810
|
* License service.
|
|
14715
14811
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
14716
|
-
* @version
|
|
14812
|
+
* @version 188.0.0
|
|
14717
14813
|
*/ /**
|
|
14718
14814
|
* Constructs a new LicenseApi.
|
|
14719
14815
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -14767,7 +14863,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
14767
14863
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LicenseApi;}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
14768
14864
|
* Locations service.
|
|
14769
14865
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
14770
|
-
* @version
|
|
14866
|
+
* @version 188.0.0
|
|
14771
14867
|
*/ /**
|
|
14772
14868
|
* Constructs a new LocationsApi.
|
|
14773
14869
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -14826,7 +14922,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14826
14922
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LocationsApi;}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
14827
14923
|
* LogCapture service.
|
|
14828
14924
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
14829
|
-
* @version
|
|
14925
|
+
* @version 188.0.0
|
|
14830
14926
|
*/ /**
|
|
14831
14927
|
* Constructs a new LogCaptureApi.
|
|
14832
14928
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -14876,7 +14972,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14876
14972
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return LogCaptureApi;}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
14877
14973
|
* Messaging service.
|
|
14878
14974
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
14879
|
-
* @version
|
|
14975
|
+
* @version 188.0.0
|
|
14880
14976
|
*/ /**
|
|
14881
14977
|
* Constructs a new MessagingApi.
|
|
14882
14978
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -14966,7 +15062,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14966
15062
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return MessagingApi;}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
14967
15063
|
* MobileDevices service.
|
|
14968
15064
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
14969
|
-
* @version
|
|
15065
|
+
* @version 188.0.0
|
|
14970
15066
|
*/ /**
|
|
14971
15067
|
* Constructs a new MobileDevicesApi.
|
|
14972
15068
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15005,7 +15101,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15005
15101
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return MobileDevicesApi;}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
15006
15102
|
* Notifications service.
|
|
15007
15103
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15008
|
-
* @version
|
|
15104
|
+
* @version 188.0.0
|
|
15009
15105
|
*/ /**
|
|
15010
15106
|
* Constructs a new NotificationsApi.
|
|
15011
15107
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15062,7 +15158,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15062
15158
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return NotificationsApi;}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
15063
15159
|
* OAuth service.
|
|
15064
15160
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15065
|
-
* @version
|
|
15161
|
+
* @version 188.0.0
|
|
15066
15162
|
*/ /**
|
|
15067
15163
|
* Constructs a new OAuthApi.
|
|
15068
15164
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15147,7 +15243,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15147
15243
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OAuthApi;}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
15148
15244
|
* Objects service.
|
|
15149
15245
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15150
|
-
* @version
|
|
15246
|
+
* @version 188.0.0
|
|
15151
15247
|
*/ /**
|
|
15152
15248
|
* Constructs a new ObjectsApi.
|
|
15153
15249
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15179,8 +15275,9 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15179
15275
|
* @param {String} opts.nextPage next page token
|
|
15180
15276
|
* @param {String} opts.previousPage Previous page token
|
|
15181
15277
|
* @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
|
|
15278
|
+
* @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
|
|
15182
15279
|
* @param {String} opts.name Search term to filter by division name
|
|
15183
|
-
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15280
|
+
*/},{key:"getAuthorizationDivisions",value:function getAuthorizationDivisions(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/authorization/divisions','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi'),'nextPage':opts['nextPage'],'previousPage':opts['previousPage'],'objectCount':opts['objectCount'],'id':this.apiClient.buildCollectionParam(opts['id'],'multi'),'name':opts['name']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15184
15281
|
* Retrieve the home division for the organization.
|
|
15185
15282
|
* Will not include object counts.
|
|
15186
15283
|
*/},{key:"getAuthorizationDivisionsHome",value:function getAuthorizationDivisionsHome(){return this.apiClient.callApi('/api/v2/authorization/divisions/home','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -15217,7 +15314,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15217
15314
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ObjectsApi;}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
15218
15315
|
* OperationalEvents service.
|
|
15219
15316
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15220
|
-
* @version
|
|
15317
|
+
* @version 188.0.0
|
|
15221
15318
|
*/ /**
|
|
15222
15319
|
* Constructs a new OperationalEventsApi.
|
|
15223
15320
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15235,7 +15332,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15235
15332
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OperationalEventsApi;}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
15236
15333
|
* Organization service.
|
|
15237
15334
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15238
|
-
* @version
|
|
15335
|
+
* @version 188.0.0
|
|
15239
15336
|
*/ /**
|
|
15240
15337
|
* Constructs a new OrganizationApi.
|
|
15241
15338
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15337,7 +15434,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15337
15434
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OrganizationApi;}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
15338
15435
|
* OrganizationAuthorization service.
|
|
15339
15436
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15340
|
-
* @version
|
|
15437
|
+
* @version 188.0.0
|
|
15341
15438
|
*/ /**
|
|
15342
15439
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15343
15440
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -15660,7 +15757,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
15660
15757
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OrganizationAuthorizationApi;}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
15661
15758
|
* Outbound service.
|
|
15662
15759
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
15663
|
-
* @version
|
|
15760
|
+
* @version 188.0.0
|
|
15664
15761
|
*/ /**
|
|
15665
15762
|
* Constructs a new OutboundApi.
|
|
15666
15763
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -16185,8 +16282,10 @@ if(fileSpecificationTemplateId===undefined||fileSpecificationTemplateId===null){
|
|
|
16185
16282
|
* Get Import Template
|
|
16186
16283
|
*
|
|
16187
16284
|
* @param {String} importTemplateId Import Template ID
|
|
16188
|
-
|
|
16189
|
-
|
|
16285
|
+
* @param {Object} opts Optional parameters
|
|
16286
|
+
* @param {Boolean} opts.includeImportStatus Import status (default to false)
|
|
16287
|
+
*/},{key:"getOutboundImporttemplate",value:function getOutboundImporttemplate(importTemplateId,opts){opts=opts||{};// verify the required parameter 'importTemplateId' is set
|
|
16288
|
+
if(importTemplateId===undefined||importTemplateId===null){throw'Missing the required parameter "importTemplateId" when calling getOutboundImporttemplate';}return this.apiClient.callApi('/api/v2/outbound/importtemplates/{importTemplateId}','GET',{'importTemplateId':importTemplateId},{'includeImportStatus':opts['includeImportStatus']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16190
16289
|
* Get the import status for an import template.
|
|
16191
16290
|
*
|
|
16192
16291
|
* @param {String} importTemplateId importTemplateId
|
|
@@ -16197,6 +16296,7 @@ if(importTemplateId===undefined||importTemplateId===null){throw'Missing the requ
|
|
|
16197
16296
|
* Query Import Templates
|
|
16198
16297
|
*
|
|
16199
16298
|
* @param {Object} opts Optional parameters
|
|
16299
|
+
* @param {Boolean} opts.includeImportStatus Import status (default to false)
|
|
16200
16300
|
* @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
|
|
16201
16301
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
16202
16302
|
* @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
|
|
@@ -16205,7 +16305,7 @@ if(importTemplateId===undefined||importTemplateId===null){throw'Missing the requ
|
|
|
16205
16305
|
* @param {String} opts.sortBy Sort by
|
|
16206
16306
|
* @param {Object} opts.sortOrder Sort order (default to a)
|
|
16207
16307
|
* @param {String} opts.contactListTemplateId Contact List Template ID
|
|
16208
|
-
*/},{key:"getOutboundImporttemplates",value:function getOutboundImporttemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/importtemplates','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'contactListTemplateId':opts['contactListTemplateId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16308
|
+
*/},{key:"getOutboundImporttemplates",value:function getOutboundImporttemplates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/outbound/importtemplates','GET',{},{'includeImportStatus':opts['includeImportStatus'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'allowEmptyResult':opts['allowEmptyResult'],'filterType':opts['filterType'],'name':opts['name'],'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder'],'contactListTemplateId':opts['contactListTemplateId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16209
16309
|
* Get an Outbound Messaging Campaign
|
|
16210
16310
|
*
|
|
16211
16311
|
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
@@ -16434,6 +16534,11 @@ if(contactListId===undefined||contactListId===null){throw'Missing the required p
|
|
|
16434
16534
|
* @param {Object} body ContactListFilter
|
|
16435
16535
|
*/},{key:"postOutboundContactlistfilters",value:function postOutboundContactlistfilters(body){// verify the required parameter 'body' is set
|
|
16436
16536
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistfilters';}return this.apiClient.callApi('/api/v2/outbound/contactlistfilters','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16537
|
+
* Retrieve multiple contact list filters
|
|
16538
|
+
*
|
|
16539
|
+
* @param {Object} body The contact list filters to retrieve
|
|
16540
|
+
*/},{key:"postOutboundContactlistfiltersBulkRetrieve",value:function postOutboundContactlistfiltersBulkRetrieve(body){// verify the required parameter 'body' is set
|
|
16541
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postOutboundContactlistfiltersBulkRetrieve';}return this.apiClient.callApi('/api/v2/outbound/contactlistfilters/bulk/retrieve','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16437
16542
|
* Get a preview of the output of a contact list filter
|
|
16438
16543
|
*
|
|
16439
16544
|
* @param {Object} body ContactListFilter
|
|
@@ -16688,7 +16793,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16688
16793
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return OutboundApi;}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
16689
16794
|
* Presence service.
|
|
16690
16795
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
16691
|
-
* @version
|
|
16796
|
+
* @version 188.0.0
|
|
16692
16797
|
*/ /**
|
|
16693
16798
|
* Constructs a new PresenceApi.
|
|
16694
16799
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -16861,7 +16966,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16861
16966
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return PresenceApi;}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
16862
16967
|
* ProcessAutomation service.
|
|
16863
16968
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
16864
|
-
* @version
|
|
16969
|
+
* @version 188.0.0
|
|
16865
16970
|
*/ /**
|
|
16866
16971
|
* Constructs a new ProcessAutomationApi.
|
|
16867
16972
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -16924,7 +17029,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
16924
17029
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ProcessAutomationApi;}();var QualityApi=/*#__PURE__*/function(){/**
|
|
16925
17030
|
* Quality service.
|
|
16926
17031
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
16927
|
-
* @version
|
|
17032
|
+
* @version 188.0.0
|
|
16928
17033
|
*/ /**
|
|
16929
17034
|
* Constructs a new QualityApi.
|
|
16930
17035
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17395,7 +17500,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17395
17500
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return QualityApi;}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
17396
17501
|
* Recording service.
|
|
17397
17502
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17398
|
-
* @version
|
|
17503
|
+
* @version 188.0.0
|
|
17399
17504
|
*/ /**
|
|
17400
17505
|
* Constructs a new RecordingApi.
|
|
17401
17506
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -17802,7 +17907,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17802
17907
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return RecordingApi;}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
17803
17908
|
* ResponseManagement service.
|
|
17804
17909
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
17805
|
-
* @version
|
|
17910
|
+
* @version 188.0.0
|
|
17806
17911
|
*/ /**
|
|
17807
17912
|
* Constructs a new ResponseManagementApi.
|
|
17808
17913
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -17918,7 +18023,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
17918
18023
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ResponseManagementApi;}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
17919
18024
|
* Routing service.
|
|
17920
18025
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
17921
|
-
* @version
|
|
18026
|
+
* @version 188.0.0
|
|
17922
18027
|
*/ /**
|
|
17923
18028
|
* Constructs a new RoutingApi.
|
|
17924
18029
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -18886,7 +18991,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18886
18991
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return RoutingApi;}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
18887
18992
|
* SCIM service.
|
|
18888
18993
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
18889
|
-
* @version
|
|
18994
|
+
* @version 188.0.0
|
|
18890
18995
|
*/ /**
|
|
18891
18996
|
* Constructs a new SCIMApi.
|
|
18892
18997
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19111,7 +19216,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19111
19216
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);return SCIMApi;}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
19112
19217
|
* ScreenRecording service.
|
|
19113
19218
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19114
|
-
* @version
|
|
19219
|
+
* @version 188.0.0
|
|
19115
19220
|
*/ /**
|
|
19116
19221
|
* Constructs a new ScreenRecordingApi.
|
|
19117
19222
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19126,7 +19231,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19126
19231
|
*/_createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ScreenRecordingApi;}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
19127
19232
|
* Scripts service.
|
|
19128
19233
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19129
|
-
* @version
|
|
19234
|
+
* @version 188.0.0
|
|
19130
19235
|
*/ /**
|
|
19131
19236
|
* Constructs a new ScriptsApi.
|
|
19132
19237
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19262,7 +19367,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19262
19367
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return ScriptsApi;}();var SearchApi=/*#__PURE__*/function(){/**
|
|
19263
19368
|
* Search service.
|
|
19264
19369
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19265
|
-
* @version
|
|
19370
|
+
* @version 188.0.0
|
|
19266
19371
|
*/ /**
|
|
19267
19372
|
* Constructs a new SearchApi.
|
|
19268
19373
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -19422,7 +19527,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19422
19527
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SearchApi;}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
19423
19528
|
* Settings service.
|
|
19424
19529
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19425
|
-
* @version
|
|
19530
|
+
* @version 188.0.0
|
|
19426
19531
|
*/ /**
|
|
19427
19532
|
* Constructs a new SettingsApi.
|
|
19428
19533
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -19440,7 +19545,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19440
19545
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SettingsApi;}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
19441
19546
|
* SpeechTextAnalytics service.
|
|
19442
19547
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
19443
|
-
* @version
|
|
19548
|
+
* @version 188.0.0
|
|
19444
19549
|
*/ /**
|
|
19445
19550
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
19446
19551
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -19575,9 +19680,10 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
19575
19680
|
* @param {Object} opts.state Topic state. Defaults to latest
|
|
19576
19681
|
* @param {String} opts.name Case insensitive partial name to filter by
|
|
19577
19682
|
* @param {Array.<String>} opts.ids Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
|
|
19683
|
+
* @param {Array.<String>} opts.dialects Comma separated dialect strings to filter by. Maximum of 15 dialects allowed.
|
|
19578
19684
|
* @param {Object} opts.sortBy Sort results by. Defaults to name
|
|
19579
19685
|
* @param {Object} opts.sortOrder Sort order. Defaults to asc
|
|
19580
|
-
*/},{key:"getSpeechandtextanalyticsTopics",value:function getSpeechandtextanalyticsTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics','GET',{},{'nextPage':opts['nextPage'],'pageSize':opts['pageSize'],'state':opts['state'],'name':opts['name'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19686
|
+
*/},{key:"getSpeechandtextanalyticsTopics",value:function getSpeechandtextanalyticsTopics(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics','GET',{},{'nextPage':opts['nextPage'],'pageSize':opts['pageSize'],'state':opts['state'],'name':opts['name'],'ids':this.apiClient.buildCollectionParam(opts['ids'],'multi'),'dialects':this.apiClient.buildCollectionParam(opts['dialects'],'multi'),'sortBy':opts['sortBy'],'sortOrder':opts['sortOrder']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
19581
19687
|
* Get list of supported Speech and Text Analytics topics dialects
|
|
19582
19688
|
*
|
|
19583
19689
|
*/},{key:"getSpeechandtextanalyticsTopicsDialects",value:function getSpeechandtextanalyticsTopicsDialects(){return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/dialects','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -19683,7 +19789,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
19683
19789
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SpeechTextAnalyticsApi;}();var StationsApi=/*#__PURE__*/function(){/**
|
|
19684
19790
|
* Stations service.
|
|
19685
19791
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
19686
|
-
* @version
|
|
19792
|
+
* @version 188.0.0
|
|
19687
19793
|
*/ /**
|
|
19688
19794
|
* Constructs a new StationsApi.
|
|
19689
19795
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -19715,7 +19821,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
19715
19821
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return StationsApi;}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
19716
19822
|
* Suggest service.
|
|
19717
19823
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
19718
|
-
* @version
|
|
19824
|
+
* @version 188.0.0
|
|
19719
19825
|
*/ /**
|
|
19720
19826
|
* Constructs a new SuggestApi.
|
|
19721
19827
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -19755,7 +19861,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19755
19861
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return SuggestApi;}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
19756
19862
|
* TaskManagement service.
|
|
19757
19863
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
19758
|
-
* @version
|
|
19864
|
+
* @version 188.0.0
|
|
19759
19865
|
*/ /**
|
|
19760
19866
|
* Constructs a new TaskManagementApi.
|
|
19761
19867
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20097,7 +20203,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20097
20203
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TaskManagementApi;}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
20098
20204
|
* Teams service.
|
|
20099
20205
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20100
|
-
* @version
|
|
20206
|
+
* @version 188.0.0
|
|
20101
20207
|
*/ /**
|
|
20102
20208
|
* Constructs a new TeamsApi.
|
|
20103
20209
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20176,7 +20282,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20176
20282
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TeamsApi;}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
20177
20283
|
* Telephony service.
|
|
20178
20284
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20179
|
-
* @version
|
|
20285
|
+
* @version 188.0.0
|
|
20180
20286
|
*/ /**
|
|
20181
20287
|
* Constructs a new TelephonyApi.
|
|
20182
20288
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20223,7 +20329,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20223
20329
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TelephonyApi;}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
20224
20330
|
* TelephonyProvidersEdge service.
|
|
20225
20331
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20226
|
-
* @version
|
|
20332
|
+
* @version 188.0.0
|
|
20227
20333
|
*/ /**
|
|
20228
20334
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20229
20335
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21037,7 +21143,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21037
21143
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TelephonyProvidersEdgeApi;}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
21038
21144
|
* Textbots service.
|
|
21039
21145
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21040
|
-
* @version
|
|
21146
|
+
* @version 188.0.0
|
|
21041
21147
|
*/ /**
|
|
21042
21148
|
* Constructs a new TextbotsApi.
|
|
21043
21149
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21072,7 +21178,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21072
21178
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TextbotsApi;}();var TokensApi=/*#__PURE__*/function(){/**
|
|
21073
21179
|
* Tokens service.
|
|
21074
21180
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21075
|
-
* @version
|
|
21181
|
+
* @version 188.0.0
|
|
21076
21182
|
*/ /**
|
|
21077
21183
|
* Constructs a new TokensApi.
|
|
21078
21184
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21108,7 +21214,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21108
21214
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);return TokensApi;}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
21109
21215
|
* Uploads service.
|
|
21110
21216
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21111
|
-
* @version
|
|
21217
|
+
* @version 188.0.0
|
|
21112
21218
|
*/ /**
|
|
21113
21219
|
* Constructs a new UploadsApi.
|
|
21114
21220
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21116,12 +21222,20 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21116
21222
|
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
21117
21223
|
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
21118
21224
|
*/function UploadsApi(apiClient){_classCallCheck(this,UploadsApi);this.apiClient=apiClient||ApiClient.instance;}/**
|
|
21225
|
+
* Get content upload from URL job status
|
|
21226
|
+
*
|
|
21227
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
21228
|
+
* @param {String} jobId Upload job ID
|
|
21229
|
+
* getKnowledgeKnowledgebaseUploadsUrlsJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21230
|
+
*/_createClass(UploadsApi,[{key:"getKnowledgeKnowledgebaseUploadsUrlsJob",value:function getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId,jobId){// verify the required parameter 'knowledgeBaseId' is set
|
|
21231
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}// verify the required parameter 'jobId' is set
|
|
21232
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs/{jobId}','GET',{'knowledgeBaseId':knowledgeBaseId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21119
21233
|
* Create upload presigned URL for draft function package file.
|
|
21120
21234
|
*
|
|
21121
21235
|
* @param {String} actionId actionId
|
|
21122
21236
|
* @param {Object} body Input used to request URL upload.
|
|
21123
21237
|
* postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21124
|
-
*/
|
|
21238
|
+
*/},{key:"postIntegrationsActionDraftFunctionUpload",value:function postIntegrationsActionDraftFunctionUpload(actionId,body){// verify the required parameter 'actionId' is set
|
|
21125
21239
|
if(actionId===undefined||actionId===null){throw'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';}// verify the required parameter 'body' is set
|
|
21126
21240
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';}return this.apiClient.callApi('/api/v2/integrations/actions/{actionId}/draft/function/upload','POST',{'actionId':actionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21127
21241
|
* Creates a presigned URL for uploading a knowledge import file with a set of documents
|
|
@@ -21129,6 +21243,14 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21129
21243
|
* @param {Object} body query
|
|
21130
21244
|
*/},{key:"postKnowledgeDocumentuploads",value:function postKnowledgeDocumentuploads(body){// verify the required parameter 'body' is set
|
|
21131
21245
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';}return this.apiClient.callApi('/api/v2/knowledge/documentuploads','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21246
|
+
* Create content upload from URL job
|
|
21247
|
+
*
|
|
21248
|
+
* @param {String} knowledgeBaseId Knowledge base ID
|
|
21249
|
+
* @param {Object} body uploadRequest
|
|
21250
|
+
* postKnowledgeKnowledgebaseUploadsUrlsJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21251
|
+
*/},{key:"postKnowledgeKnowledgebaseUploadsUrlsJobs",value:function postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
21252
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}// verify the required parameter 'body' is set
|
|
21253
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/uploads/urls/jobs','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21132
21254
|
* Creates a presigned URL for uploading a chat corpus which will be used for mining by intent miner
|
|
21133
21255
|
*
|
|
21134
21256
|
* @param {String} minerId Miner ID
|
|
@@ -21158,7 +21280,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21158
21280
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UploadsApi;}();var UsageApi=/*#__PURE__*/function(){/**
|
|
21159
21281
|
* Usage service.
|
|
21160
21282
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21161
|
-
* @version
|
|
21283
|
+
* @version 188.0.0
|
|
21162
21284
|
*/ /**
|
|
21163
21285
|
* Constructs a new UsageApi.
|
|
21164
21286
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21209,7 +21331,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21209
21331
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UsageApi;}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
21210
21332
|
* UserRecordings service.
|
|
21211
21333
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21212
|
-
* @version
|
|
21334
|
+
* @version 188.0.0
|
|
21213
21335
|
*/ /**
|
|
21214
21336
|
* Constructs a new UserRecordingsApi.
|
|
21215
21337
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -21258,7 +21380,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
21258
21380
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UserRecordingsApi;}();var UsersApi=/*#__PURE__*/function(){/**
|
|
21259
21381
|
* Users service.
|
|
21260
21382
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
21261
|
-
* @version
|
|
21383
|
+
* @version 188.0.0
|
|
21262
21384
|
*/ /**
|
|
21263
21385
|
* Constructs a new UsersApi.
|
|
21264
21386
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -21917,7 +22039,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
21917
22039
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UsersApi;}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
21918
22040
|
* Utilities service.
|
|
21919
22041
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
21920
|
-
* @version
|
|
22042
|
+
* @version 188.0.0
|
|
21921
22043
|
*/ /**
|
|
21922
22044
|
* Constructs a new UtilitiesApi.
|
|
21923
22045
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -21944,7 +22066,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21944
22066
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return UtilitiesApi;}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
21945
22067
|
* Voicemail service.
|
|
21946
22068
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
21947
|
-
* @version
|
|
22069
|
+
* @version 188.0.0
|
|
21948
22070
|
*/ /**
|
|
21949
22071
|
* Constructs a new VoicemailApi.
|
|
21950
22072
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22093,7 +22215,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22093
22215
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return VoicemailApi;}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
22094
22216
|
* WebChat service.
|
|
22095
22217
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22096
|
-
* @version
|
|
22218
|
+
* @version 188.0.0
|
|
22097
22219
|
*/ /**
|
|
22098
22220
|
* Constructs a new WebChatApi.
|
|
22099
22221
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22226,7 +22348,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22226
22348
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebChatApi;}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
22227
22349
|
* WebDeployments service.
|
|
22228
22350
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22229
|
-
* @version
|
|
22351
|
+
* @version 188.0.0
|
|
22230
22352
|
*/ /**
|
|
22231
22353
|
* Constructs a new WebDeploymentsApi.
|
|
22232
22354
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22347,7 +22469,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22347
22469
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebDeploymentsApi;}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
22348
22470
|
* WebMessaging service.
|
|
22349
22471
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22350
|
-
* @version
|
|
22472
|
+
* @version 188.0.0
|
|
22351
22473
|
*/ /**
|
|
22352
22474
|
* Constructs a new WebMessagingApi.
|
|
22353
22475
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22363,7 +22485,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
22363
22485
|
*/_createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WebMessagingApi;}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
22364
22486
|
* Widgets service.
|
|
22365
22487
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22366
|
-
* @version
|
|
22488
|
+
* @version 188.0.0
|
|
22367
22489
|
*/ /**
|
|
22368
22490
|
* Constructs a new WidgetsApi.
|
|
22369
22491
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22398,7 +22520,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22398
22520
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return WidgetsApi;}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
22399
22521
|
* WorkforceManagement service.
|
|
22400
22522
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
22401
|
-
* @version
|
|
22523
|
+
* @version 188.0.0
|
|
22402
22524
|
*/ /**
|
|
22403
22525
|
* Constructs a new WorkforceManagementApi.
|
|
22404
22526
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23749,7 +23871,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
23749
23871
|
* </pre>
|
|
23750
23872
|
* </p>
|
|
23751
23873
|
* @module purecloud-platform-client-v2/index
|
|
23752
|
-
* @version
|
|
23874
|
+
* @version 188.0.0
|
|
23753
23875
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
23754
23876
|
* The ApiClient constructor.
|
|
23755
23877
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -23985,4 +24107,4 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
23985
24107
|
var index=new platformClient();module.exports=index;
|
|
23986
24108
|
|
|
23987
24109
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
|
|
23988
|
-
},{"buffer":3,"os":5,"path":6,"qs":
|
|
24110
|
+
},{"buffer":3,"os":5,"path":6,"qs":29}]},{},[]);
|