purecloud-platform-client-v2 188.0.0 → 188.1.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 +426 -83
- package/dist/web-amd/purecloud-platform-client-v2.js +426 -83
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +166 -84
- package/dist/web-cjs/purecloud-platform-client-v2.js +224 -152
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +300 -3
- 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 +1 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +5 -5
- 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 +187 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +161 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -3
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -2807,7 +2807,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
2807
2807
|
return intrinsic;
|
|
2808
2808
|
};
|
|
2809
2809
|
|
|
2810
|
-
},{"./":9,"get-intrinsic":
|
|
2810
|
+
},{"./":9,"get-intrinsic":21}],9:[function(require,module,exports){
|
|
2811
2811
|
'use strict';
|
|
2812
2812
|
|
|
2813
2813
|
var bind = require('function-bind');
|
|
@@ -2819,18 +2819,9 @@ 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);
|
|
2821
2821
|
|
|
2822
|
-
var $defineProperty =
|
|
2822
|
+
var $defineProperty = require('es-define-property');
|
|
2823
2823
|
var $max = GetIntrinsic('%Math.max%');
|
|
2824
2824
|
|
|
2825
|
-
if ($defineProperty) {
|
|
2826
|
-
try {
|
|
2827
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
2828
|
-
} catch (e) {
|
|
2829
|
-
// IE 8 has a broken defineProperty
|
|
2830
|
-
$defineProperty = null;
|
|
2831
|
-
}
|
|
2832
|
-
}
|
|
2833
|
-
|
|
2834
2825
|
module.exports = function callBind(originalFunction) {
|
|
2835
2826
|
if (typeof originalFunction !== 'function') {
|
|
2836
2827
|
throw new $TypeError('a function is required');
|
|
@@ -2853,29 +2844,17 @@ if ($defineProperty) {
|
|
|
2853
2844
|
module.exports.apply = applyBind;
|
|
2854
2845
|
}
|
|
2855
2846
|
|
|
2856
|
-
},{"es-errors/type":
|
|
2847
|
+
},{"es-define-property":11,"es-errors/type":17,"function-bind":20,"get-intrinsic":21,"set-function-length":34}],10:[function(require,module,exports){
|
|
2857
2848
|
'use strict';
|
|
2858
2849
|
|
|
2859
|
-
var
|
|
2860
|
-
|
|
2861
|
-
var GetIntrinsic = require('get-intrinsic');
|
|
2862
|
-
|
|
2863
|
-
var $defineProperty = hasPropertyDescriptors && GetIntrinsic('%Object.defineProperty%', true);
|
|
2864
|
-
if ($defineProperty) {
|
|
2865
|
-
try {
|
|
2866
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
2867
|
-
} catch (e) {
|
|
2868
|
-
// IE 8 has a broken defineProperty
|
|
2869
|
-
$defineProperty = false;
|
|
2870
|
-
}
|
|
2871
|
-
}
|
|
2850
|
+
var $defineProperty = require('es-define-property');
|
|
2872
2851
|
|
|
2873
2852
|
var $SyntaxError = require('es-errors/syntax');
|
|
2874
2853
|
var $TypeError = require('es-errors/type');
|
|
2875
2854
|
|
|
2876
2855
|
var gopd = require('gopd');
|
|
2877
2856
|
|
|
2878
|
-
/** @type {(
|
|
2857
|
+
/** @type {import('.')} */
|
|
2879
2858
|
module.exports = function defineDataProperty(
|
|
2880
2859
|
obj,
|
|
2881
2860
|
property,
|
|
@@ -2923,49 +2902,67 @@ module.exports = function defineDataProperty(
|
|
|
2923
2902
|
}
|
|
2924
2903
|
};
|
|
2925
2904
|
|
|
2926
|
-
},{"es-
|
|
2905
|
+
},{"es-define-property":11,"es-errors/syntax":16,"es-errors/type":17,"gopd":22}],11:[function(require,module,exports){
|
|
2906
|
+
'use strict';
|
|
2907
|
+
|
|
2908
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
2909
|
+
|
|
2910
|
+
/** @type {import('.')} */
|
|
2911
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
|
|
2912
|
+
if ($defineProperty) {
|
|
2913
|
+
try {
|
|
2914
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
2915
|
+
} catch (e) {
|
|
2916
|
+
// IE 8 has a broken defineProperty
|
|
2917
|
+
$defineProperty = false;
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
module.exports = $defineProperty;
|
|
2922
|
+
|
|
2923
|
+
},{"get-intrinsic":21}],12:[function(require,module,exports){
|
|
2927
2924
|
'use strict';
|
|
2928
2925
|
|
|
2929
2926
|
/** @type {import('./eval')} */
|
|
2930
2927
|
module.exports = EvalError;
|
|
2931
2928
|
|
|
2932
|
-
},{}],
|
|
2929
|
+
},{}],13:[function(require,module,exports){
|
|
2933
2930
|
'use strict';
|
|
2934
2931
|
|
|
2935
2932
|
/** @type {import('.')} */
|
|
2936
2933
|
module.exports = Error;
|
|
2937
2934
|
|
|
2938
|
-
},{}],
|
|
2935
|
+
},{}],14:[function(require,module,exports){
|
|
2939
2936
|
'use strict';
|
|
2940
2937
|
|
|
2941
2938
|
/** @type {import('./range')} */
|
|
2942
2939
|
module.exports = RangeError;
|
|
2943
2940
|
|
|
2944
|
-
},{}],
|
|
2941
|
+
},{}],15:[function(require,module,exports){
|
|
2945
2942
|
'use strict';
|
|
2946
2943
|
|
|
2947
2944
|
/** @type {import('./ref')} */
|
|
2948
2945
|
module.exports = ReferenceError;
|
|
2949
2946
|
|
|
2950
|
-
},{}],
|
|
2947
|
+
},{}],16:[function(require,module,exports){
|
|
2951
2948
|
'use strict';
|
|
2952
2949
|
|
|
2953
2950
|
/** @type {import('./syntax')} */
|
|
2954
2951
|
module.exports = SyntaxError;
|
|
2955
2952
|
|
|
2956
|
-
},{}],
|
|
2953
|
+
},{}],17:[function(require,module,exports){
|
|
2957
2954
|
'use strict';
|
|
2958
2955
|
|
|
2959
2956
|
/** @type {import('./type')} */
|
|
2960
2957
|
module.exports = TypeError;
|
|
2961
2958
|
|
|
2962
|
-
},{}],
|
|
2959
|
+
},{}],18:[function(require,module,exports){
|
|
2963
2960
|
'use strict';
|
|
2964
2961
|
|
|
2965
2962
|
/** @type {import('./uri')} */
|
|
2966
2963
|
module.exports = URIError;
|
|
2967
2964
|
|
|
2968
|
-
},{}],
|
|
2965
|
+
},{}],19:[function(require,module,exports){
|
|
2969
2966
|
'use strict';
|
|
2970
2967
|
|
|
2971
2968
|
/* eslint no-invalid-this: 1 */
|
|
@@ -3051,14 +3048,14 @@ module.exports = function bind(that) {
|
|
|
3051
3048
|
return bound;
|
|
3052
3049
|
};
|
|
3053
3050
|
|
|
3054
|
-
},{}],
|
|
3051
|
+
},{}],20:[function(require,module,exports){
|
|
3055
3052
|
'use strict';
|
|
3056
3053
|
|
|
3057
3054
|
var implementation = require('./implementation');
|
|
3058
3055
|
|
|
3059
3056
|
module.exports = Function.prototype.bind || implementation;
|
|
3060
3057
|
|
|
3061
|
-
},{"./implementation":
|
|
3058
|
+
},{"./implementation":19}],21:[function(require,module,exports){
|
|
3062
3059
|
'use strict';
|
|
3063
3060
|
|
|
3064
3061
|
var undefined;
|
|
@@ -3419,7 +3416,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
3419
3416
|
return value;
|
|
3420
3417
|
};
|
|
3421
3418
|
|
|
3422
|
-
},{"es-errors":
|
|
3419
|
+
},{"es-errors":13,"es-errors/eval":12,"es-errors/range":14,"es-errors/ref":15,"es-errors/syntax":16,"es-errors/type":17,"es-errors/uri":18,"function-bind":20,"has-proto":24,"has-symbols":25,"hasown":27}],22:[function(require,module,exports){
|
|
3423
3420
|
'use strict';
|
|
3424
3421
|
|
|
3425
3422
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -3437,29 +3434,18 @@ if ($gOPD) {
|
|
|
3437
3434
|
|
|
3438
3435
|
module.exports = $gOPD;
|
|
3439
3436
|
|
|
3440
|
-
},{"get-intrinsic":
|
|
3437
|
+
},{"get-intrinsic":21}],23:[function(require,module,exports){
|
|
3441
3438
|
'use strict';
|
|
3442
3439
|
|
|
3443
|
-
var
|
|
3444
|
-
|
|
3445
|
-
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
3440
|
+
var $defineProperty = require('es-define-property');
|
|
3446
3441
|
|
|
3447
3442
|
var hasPropertyDescriptors = function hasPropertyDescriptors() {
|
|
3448
|
-
|
|
3449
|
-
try {
|
|
3450
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
3451
|
-
return true;
|
|
3452
|
-
} catch (e) {
|
|
3453
|
-
// IE 8 has a broken defineProperty
|
|
3454
|
-
return false;
|
|
3455
|
-
}
|
|
3456
|
-
}
|
|
3457
|
-
return false;
|
|
3443
|
+
return !!$defineProperty;
|
|
3458
3444
|
};
|
|
3459
3445
|
|
|
3460
3446
|
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
3461
3447
|
// node v0.6 has a bug where array lengths can be Set but not Defined
|
|
3462
|
-
if (
|
|
3448
|
+
if (!$defineProperty) {
|
|
3463
3449
|
return null;
|
|
3464
3450
|
}
|
|
3465
3451
|
try {
|
|
@@ -3472,20 +3458,24 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
3472
3458
|
|
|
3473
3459
|
module.exports = hasPropertyDescriptors;
|
|
3474
3460
|
|
|
3475
|
-
},{"
|
|
3461
|
+
},{"es-define-property":11}],24:[function(require,module,exports){
|
|
3476
3462
|
'use strict';
|
|
3477
3463
|
|
|
3478
3464
|
var test = {
|
|
3465
|
+
__proto__: null,
|
|
3479
3466
|
foo: {}
|
|
3480
3467
|
};
|
|
3481
3468
|
|
|
3482
3469
|
var $Object = Object;
|
|
3483
3470
|
|
|
3471
|
+
/** @type {import('.')} */
|
|
3484
3472
|
module.exports = function hasProto() {
|
|
3485
|
-
|
|
3473
|
+
// @ts-expect-error: TS errors on an inherited property for some reason
|
|
3474
|
+
return { __proto__: test }.foo === test.foo
|
|
3475
|
+
&& !(test instanceof $Object);
|
|
3486
3476
|
};
|
|
3487
3477
|
|
|
3488
|
-
},{}],
|
|
3478
|
+
},{}],25:[function(require,module,exports){
|
|
3489
3479
|
'use strict';
|
|
3490
3480
|
|
|
3491
3481
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -3500,7 +3490,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
3500
3490
|
return hasSymbolSham();
|
|
3501
3491
|
};
|
|
3502
3492
|
|
|
3503
|
-
},{"./shams":
|
|
3493
|
+
},{"./shams":26}],26:[function(require,module,exports){
|
|
3504
3494
|
'use strict';
|
|
3505
3495
|
|
|
3506
3496
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -3544,17 +3534,17 @@ module.exports = function hasSymbols() {
|
|
|
3544
3534
|
return true;
|
|
3545
3535
|
};
|
|
3546
3536
|
|
|
3547
|
-
},{}],
|
|
3537
|
+
},{}],27:[function(require,module,exports){
|
|
3548
3538
|
'use strict';
|
|
3549
3539
|
|
|
3550
3540
|
var call = Function.prototype.call;
|
|
3551
3541
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
3552
3542
|
var bind = require('function-bind');
|
|
3553
3543
|
|
|
3554
|
-
/** @type {(
|
|
3544
|
+
/** @type {import('.')} */
|
|
3555
3545
|
module.exports = bind.call(call, $hasOwn);
|
|
3556
3546
|
|
|
3557
|
-
},{"function-bind":
|
|
3547
|
+
},{"function-bind":20}],28:[function(require,module,exports){
|
|
3558
3548
|
(function (global){(function (){
|
|
3559
3549
|
var hasMap = typeof Map === 'function' && Map.prototype;
|
|
3560
3550
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
|
@@ -4082,7 +4072,7 @@ function arrObjKeys(obj, inspect) {
|
|
|
4082
4072
|
}
|
|
4083
4073
|
|
|
4084
4074
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
4085
|
-
},{"./util.inspect":2}],
|
|
4075
|
+
},{"./util.inspect":2}],29:[function(require,module,exports){
|
|
4086
4076
|
'use strict';
|
|
4087
4077
|
|
|
4088
4078
|
var replace = String.prototype.replace;
|
|
@@ -4107,7 +4097,7 @@ module.exports = {
|
|
|
4107
4097
|
RFC3986: Format.RFC3986
|
|
4108
4098
|
};
|
|
4109
4099
|
|
|
4110
|
-
},{}],
|
|
4100
|
+
},{}],30:[function(require,module,exports){
|
|
4111
4101
|
'use strict';
|
|
4112
4102
|
|
|
4113
4103
|
var stringify = require('./stringify');
|
|
@@ -4120,7 +4110,7 @@ module.exports = {
|
|
|
4120
4110
|
stringify: stringify
|
|
4121
4111
|
};
|
|
4122
4112
|
|
|
4123
|
-
},{"./formats":
|
|
4113
|
+
},{"./formats":29,"./parse":31,"./stringify":32}],31:[function(require,module,exports){
|
|
4124
4114
|
'use strict';
|
|
4125
4115
|
|
|
4126
4116
|
var utils = require('./utils');
|
|
@@ -4386,7 +4376,7 @@ module.exports = function (str, opts) {
|
|
|
4386
4376
|
return utils.compact(obj);
|
|
4387
4377
|
};
|
|
4388
4378
|
|
|
4389
|
-
},{"./utils":
|
|
4379
|
+
},{"./utils":33}],32:[function(require,module,exports){
|
|
4390
4380
|
'use strict';
|
|
4391
4381
|
|
|
4392
4382
|
var getSideChannel = require('side-channel');
|
|
@@ -4708,7 +4698,7 @@ module.exports = function (object, opts) {
|
|
|
4708
4698
|
return joined.length > 0 ? prefix + joined : '';
|
|
4709
4699
|
};
|
|
4710
4700
|
|
|
4711
|
-
},{"./formats":
|
|
4701
|
+
},{"./formats":29,"./utils":33,"side-channel":35}],33:[function(require,module,exports){
|
|
4712
4702
|
'use strict';
|
|
4713
4703
|
|
|
4714
4704
|
var formats = require('./formats');
|
|
@@ -4962,7 +4952,7 @@ module.exports = {
|
|
|
4962
4952
|
merge: merge
|
|
4963
4953
|
};
|
|
4964
4954
|
|
|
4965
|
-
},{"./formats":
|
|
4955
|
+
},{"./formats":29}],34:[function(require,module,exports){
|
|
4966
4956
|
'use strict';
|
|
4967
4957
|
|
|
4968
4958
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -5008,7 +4998,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
5008
4998
|
return fn;
|
|
5009
4999
|
};
|
|
5010
5000
|
|
|
5011
|
-
},{"define-data-property":10,"es-errors/type":
|
|
5001
|
+
},{"define-data-property":10,"es-errors/type":17,"get-intrinsic":21,"gopd":22,"has-property-descriptors":23}],35:[function(require,module,exports){
|
|
5012
5002
|
'use strict';
|
|
5013
5003
|
|
|
5014
5004
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -5127,7 +5117,7 @@ module.exports = function getSideChannel() {
|
|
|
5127
5117
|
return channel;
|
|
5128
5118
|
};
|
|
5129
5119
|
|
|
5130
|
-
},{"call-bind/callBound":8,"es-errors/type":
|
|
5120
|
+
},{"call-bind/callBound":8,"es-errors/type":17,"get-intrinsic":21,"object-inspect":28}],"platformClient":[function(require,module,exports){
|
|
5131
5121
|
(function (global,Buffer){(function (){
|
|
5132
5122
|
'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)
|
|
5133
5123
|
// if there are two placeholders, than the two characters before it
|
|
@@ -5978,7 +5968,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
5978
5968
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
5979
5969
|
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;}();/**
|
|
5980
5970
|
* @module purecloud-platform-client-v2/ApiClient
|
|
5981
|
-
* @version 188.
|
|
5971
|
+
* @version 188.1.0
|
|
5982
5972
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
5983
5973
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
5984
5974
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6290,7 +6280,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6290
6280
|
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(){/**
|
|
6291
6281
|
* Alerting service.
|
|
6292
6282
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6293
|
-
* @version 188.
|
|
6283
|
+
* @version 188.1.0
|
|
6294
6284
|
*/ /**
|
|
6295
6285
|
* Constructs a new AlertingApi.
|
|
6296
6286
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6447,7 +6437,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6447
6437
|
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(){/**
|
|
6448
6438
|
* Analytics service.
|
|
6449
6439
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6450
|
-
* @version 188.
|
|
6440
|
+
* @version 188.1.0
|
|
6451
6441
|
*/ /**
|
|
6452
6442
|
* Constructs a new AnalyticsApi.
|
|
6453
6443
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -6920,7 +6910,6 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
6920
6910
|
* Query for knowledge aggregates
|
|
6921
6911
|
*
|
|
6922
6912
|
* @param {Object} body query
|
|
6923
|
-
* postAnalyticsKnowledgeAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
6924
6913
|
*/},{key:"postAnalyticsKnowledgeAggregatesQuery",value:function postAnalyticsKnowledgeAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
6925
6914
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsKnowledgeAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/knowledge/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
6926
6915
|
* Query for queue observations
|
|
@@ -7058,7 +7047,7 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
7058
7047
|
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(){/**
|
|
7059
7048
|
* Architect service.
|
|
7060
7049
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7061
|
-
* @version 188.
|
|
7050
|
+
* @version 188.1.0
|
|
7062
7051
|
*/ /**
|
|
7063
7052
|
* Constructs a new ArchitectApi.
|
|
7064
7053
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8105,7 +8094,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8105
8094
|
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(){/**
|
|
8106
8095
|
* Audit service.
|
|
8107
8096
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8108
|
-
* @version 188.
|
|
8097
|
+
* @version 188.1.0
|
|
8109
8098
|
*/ /**
|
|
8110
8099
|
* Constructs a new AuditApi.
|
|
8111
8100
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8147,7 +8136,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8147
8136
|
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(){/**
|
|
8148
8137
|
* Authorization service.
|
|
8149
8138
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8150
|
-
* @version 188.
|
|
8139
|
+
* @version 188.1.0
|
|
8151
8140
|
*/ /**
|
|
8152
8141
|
* Constructs a new AuthorizationApi.
|
|
8153
8142
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8458,7 +8447,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8458
8447
|
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(){/**
|
|
8459
8448
|
* Billing service.
|
|
8460
8449
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8461
|
-
* @version 188.
|
|
8450
|
+
* @version 188.1.0
|
|
8462
8451
|
*/ /**
|
|
8463
8452
|
* Constructs a new BillingApi.
|
|
8464
8453
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8482,7 +8471,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8482
8471
|
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(){/**
|
|
8483
8472
|
* CarrierServices service.
|
|
8484
8473
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8485
|
-
* @version 188.
|
|
8474
|
+
* @version 188.1.0
|
|
8486
8475
|
*/ /**
|
|
8487
8476
|
* Constructs a new CarrierServicesApi.
|
|
8488
8477
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8502,7 +8491,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8502
8491
|
*/},{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(){/**
|
|
8503
8492
|
* Chat service.
|
|
8504
8493
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8505
|
-
* @version 188.
|
|
8494
|
+
* @version 188.1.0
|
|
8506
8495
|
*/ /**
|
|
8507
8496
|
* Constructs a new ChatApi.
|
|
8508
8497
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8695,7 +8684,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8695
8684
|
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(){/**
|
|
8696
8685
|
* Coaching service.
|
|
8697
8686
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8698
|
-
* @version 188.
|
|
8687
|
+
* @version 188.1.0
|
|
8699
8688
|
*/ /**
|
|
8700
8689
|
* Constructs a new CoachingApi.
|
|
8701
8690
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -8848,7 +8837,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8848
8837
|
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(){/**
|
|
8849
8838
|
* ContentManagement service.
|
|
8850
8839
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8851
|
-
* @version 188.
|
|
8840
|
+
* @version 188.1.0
|
|
8852
8841
|
*/ /**
|
|
8853
8842
|
* Constructs a new ContentManagementApi.
|
|
8854
8843
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9131,7 +9120,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9131
9120
|
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(){/**
|
|
9132
9121
|
* Conversations service.
|
|
9133
9122
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9134
|
-
* @version 188.
|
|
9123
|
+
* @version 188.1.0
|
|
9135
9124
|
*/ /**
|
|
9136
9125
|
* Constructs a new ConversationsApi.
|
|
9137
9126
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -10858,7 +10847,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
10858
10847
|
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(){/**
|
|
10859
10848
|
* DataExtensions service.
|
|
10860
10849
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
10861
|
-
* @version 188.
|
|
10850
|
+
* @version 188.1.0
|
|
10862
10851
|
*/ /**
|
|
10863
10852
|
* Constructs a new DataExtensionsApi.
|
|
10864
10853
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -10879,7 +10868,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10879
10868
|
*/},{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(){/**
|
|
10880
10869
|
* Downloads service.
|
|
10881
10870
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
10882
|
-
* @version 188.
|
|
10871
|
+
* @version 188.1.0
|
|
10883
10872
|
*/ /**
|
|
10884
10873
|
* Constructs a new DownloadsApi.
|
|
10885
10874
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -10898,7 +10887,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
10898
10887
|
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(){/**
|
|
10899
10888
|
* Emails service.
|
|
10900
10889
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
10901
|
-
* @version 188.
|
|
10890
|
+
* @version 188.1.0
|
|
10902
10891
|
*/ /**
|
|
10903
10892
|
* Constructs a new EmailsApi.
|
|
10904
10893
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -10916,7 +10905,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
10916
10905
|
*/},{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(){/**
|
|
10917
10906
|
* Events service.
|
|
10918
10907
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
10919
|
-
* @version 188.
|
|
10908
|
+
* @version 188.1.0
|
|
10920
10909
|
*/ /**
|
|
10921
10910
|
* Constructs a new EventsApi.
|
|
10922
10911
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -10941,7 +10930,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
10941
10930
|
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(){/**
|
|
10942
10931
|
* ExternalContacts service.
|
|
10943
10932
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
10944
|
-
* @version 188.
|
|
10933
|
+
* @version 188.1.0
|
|
10945
10934
|
*/ /**
|
|
10946
10935
|
* Constructs a new ExternalContactsApi.
|
|
10947
10936
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11160,25 +11149,25 @@ if(lookupVal===undefined||lookupVal===null){throw'Missing the required parameter
|
|
|
11160
11149
|
* Scan for external contacts using paging
|
|
11161
11150
|
*
|
|
11162
11151
|
* @param {Object} opts Optional parameters
|
|
11163
|
-
* @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
|
|
11152
|
+
* @param {Number} opts.limit The number of contacts per page; must be between 10 and 200, default is 100
|
|
11164
11153
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
11165
11154
|
*/},{key:"getExternalcontactsScanContacts",value:function getExternalcontactsScanContacts(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/contacts','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11166
11155
|
* Scan for notes using paging
|
|
11167
11156
|
*
|
|
11168
11157
|
* @param {Object} opts Optional parameters
|
|
11169
|
-
* @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
|
|
11158
|
+
* @param {Number} opts.limit The number of notes per page; must be between 10 and 200, default is 100
|
|
11170
11159
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
11171
11160
|
*/},{key:"getExternalcontactsScanNotes",value:function getExternalcontactsScanNotes(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/notes','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11172
11161
|
* Scan for external organizations using paging
|
|
11173
11162
|
*
|
|
11174
11163
|
* @param {Object} opts Optional parameters
|
|
11175
|
-
* @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
|
|
11164
|
+
* @param {Number} opts.limit The number of organizations per page; must be between 10 and 200, default is 100
|
|
11176
11165
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
11177
11166
|
*/},{key:"getExternalcontactsScanOrganizations",value:function getExternalcontactsScanOrganizations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/organizations','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11178
11167
|
* Scan for relationships
|
|
11179
11168
|
*
|
|
11180
11169
|
* @param {Object} opts Optional parameters
|
|
11181
|
-
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
11170
|
+
* @param {Number} opts.limit The number of relationships per page; must be between 10 and 200, default is 100
|
|
11182
11171
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page), each page returns a new cursor with a 24h TTL
|
|
11183
11172
|
*/},{key:"getExternalcontactsScanRelationships",value:function getExternalcontactsScanRelationships(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/externalcontacts/scan/relationships','GET',{},{'limit':opts['limit'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
11184
11173
|
* Claim or release identifiers for a contact
|
|
@@ -11396,7 +11385,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11396
11385
|
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(){/**
|
|
11397
11386
|
* Fax service.
|
|
11398
11387
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11399
|
-
* @version 188.
|
|
11388
|
+
* @version 188.1.0
|
|
11400
11389
|
*/ /**
|
|
11401
11390
|
* Constructs a new FaxApi.
|
|
11402
11391
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11437,7 +11426,7 @@ if(documentId===undefined||documentId===null){throw'Missing the required paramet
|
|
|
11437
11426
|
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(){/**
|
|
11438
11427
|
* Flows service.
|
|
11439
11428
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11440
|
-
* @version 188.
|
|
11429
|
+
* @version 188.1.0
|
|
11441
11430
|
*/ /**
|
|
11442
11431
|
* Constructs a new FlowsApi.
|
|
11443
11432
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11486,7 +11475,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11486
11475
|
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(){/**
|
|
11487
11476
|
* Gamification service.
|
|
11488
11477
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11489
|
-
* @version 188.
|
|
11478
|
+
* @version 188.1.0
|
|
11490
11479
|
*/ /**
|
|
11491
11480
|
* Constructs a new GamificationApi.
|
|
11492
11481
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12026,7 +12015,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12026
12015
|
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(){/**
|
|
12027
12016
|
* GeneralDataProtectionRegulation service.
|
|
12028
12017
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12029
|
-
* @version 188.
|
|
12018
|
+
* @version 188.1.0
|
|
12030
12019
|
*/ /**
|
|
12031
12020
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12032
12021
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12061,7 +12050,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12061
12050
|
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(){/**
|
|
12062
12051
|
* Geolocation service.
|
|
12063
12052
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12064
|
-
* @version 188.
|
|
12053
|
+
* @version 188.1.0
|
|
12065
12054
|
*/ /**
|
|
12066
12055
|
* Constructs a new GeolocationApi.
|
|
12067
12056
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12095,7 +12084,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12095
12084
|
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(){/**
|
|
12096
12085
|
* Greetings service.
|
|
12097
12086
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12098
|
-
* @version 188.
|
|
12087
|
+
* @version 188.1.0
|
|
12099
12088
|
*/ /**
|
|
12100
12089
|
* Constructs a new GreetingsApi.
|
|
12101
12090
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12202,7 +12191,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12202
12191
|
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(){/**
|
|
12203
12192
|
* Groups service.
|
|
12204
12193
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12205
|
-
* @version 188.
|
|
12194
|
+
* @version 188.1.0
|
|
12206
12195
|
*/ /**
|
|
12207
12196
|
* Constructs a new GroupsApi.
|
|
12208
12197
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12335,7 +12324,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12335
12324
|
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(){/**
|
|
12336
12325
|
* IdentityProvider service.
|
|
12337
12326
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12338
|
-
* @version 188.
|
|
12327
|
+
* @version 188.1.0
|
|
12339
12328
|
*/ /**
|
|
12340
12329
|
* Constructs a new IdentityProviderApi.
|
|
12341
12330
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12491,7 +12480,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12491
12480
|
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(){/**
|
|
12492
12481
|
* InfrastructureAsCode service.
|
|
12493
12482
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12494
|
-
* @version 188.
|
|
12483
|
+
* @version 188.1.0
|
|
12495
12484
|
*/ /**
|
|
12496
12485
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12497
12486
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12545,7 +12534,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12545
12534
|
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(){/**
|
|
12546
12535
|
* Integrations service.
|
|
12547
12536
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12548
|
-
* @version 188.
|
|
12537
|
+
* @version 188.1.0
|
|
12549
12538
|
*/ /**
|
|
12550
12539
|
* Constructs a new IntegrationsApi.
|
|
12551
12540
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -13104,7 +13093,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13104
13093
|
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(){/**
|
|
13105
13094
|
* Journey service.
|
|
13106
13095
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13107
|
-
* @version 188.
|
|
13096
|
+
* @version 188.1.0
|
|
13108
13097
|
*/ /**
|
|
13109
13098
|
* Constructs a new JourneyApi.
|
|
13110
13099
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13139,6 +13128,12 @@ if(predictorId===undefined||predictorId===null){throw'Missing the required param
|
|
|
13139
13128
|
* @param {String} segmentId ID of the segment.
|
|
13140
13129
|
*/},{key:"deleteJourneySegment",value:function deleteJourneySegment(segmentId){// verify the required parameter 'segmentId' is set
|
|
13141
13130
|
if(segmentId===undefined||segmentId===null){throw'Missing the required parameter "segmentId" when calling deleteJourneySegment';}return this.apiClient.callApi('/api/v2/journey/segments/{segmentId}','DELETE',{'segmentId':segmentId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13131
|
+
* Delete a Journey View by ID
|
|
13132
|
+
* deletes all versions
|
|
13133
|
+
* @param {String} viewId viewId
|
|
13134
|
+
* deleteJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13135
|
+
*/},{key:"deleteJourneyView",value:function deleteJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
13136
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling deleteJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','DELETE',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13142
13137
|
* Get status for async query for journey aggregates
|
|
13143
13138
|
*
|
|
13144
13139
|
* @param {String} jobId jobId
|
|
@@ -13299,6 +13294,24 @@ if(sessionId===undefined||sessionId===null){throw'Missing the required parameter
|
|
|
13299
13294
|
* @param {String} sessionId ID of the session.
|
|
13300
13295
|
*/},{key:"getJourneySessionOutcomescores",value:function getJourneySessionOutcomescores(sessionId){// verify the required parameter 'sessionId' is set
|
|
13301
13296
|
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling getJourneySessionOutcomescores';}return this.apiClient.callApi('/api/v2/journey/sessions/{sessionId}/outcomescores','GET',{'sessionId':sessionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13297
|
+
* Get a Journey View by ID
|
|
13298
|
+
* returns the latest version
|
|
13299
|
+
* @param {String} viewId viewId
|
|
13300
|
+
* getJourneyView is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13301
|
+
*/},{key:"getJourneyView",value:function getJourneyView(viewId){// verify the required parameter 'viewId' is set
|
|
13302
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyView';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}','GET',{'viewId':viewId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13303
|
+
* Get a Journey View by ID and version
|
|
13304
|
+
*
|
|
13305
|
+
* @param {String} viewId viewId
|
|
13306
|
+
* @param {String} versionId versionId
|
|
13307
|
+
* getJourneyViewVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13308
|
+
*/},{key:"getJourneyViewVersion",value:function getJourneyViewVersion(viewId,versionId){// verify the required parameter 'viewId' is set
|
|
13309
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling getJourneyViewVersion';}// verify the required parameter 'versionId' is set
|
|
13310
|
+
if(versionId===undefined||versionId===null){throw'Missing the required parameter "versionId" when calling getJourneyViewVersion';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions/{versionId}','GET',{'viewId':viewId,'versionId':versionId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13311
|
+
* Get a list of Journey Views
|
|
13312
|
+
*
|
|
13313
|
+
* getJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13314
|
+
*/},{key:"getJourneyViews",value:function getJourneyViews(){return this.apiClient.callApi('/api/v2/journey/views','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13302
13315
|
* Update single action map.
|
|
13303
13316
|
*
|
|
13304
13317
|
* @param {String} actionMapId ID of the action map.
|
|
@@ -13374,6 +13387,12 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13374
13387
|
* @param {Object} opts.body
|
|
13375
13388
|
*/},{key:"postJourneyDeploymentAppevents",value:function postJourneyDeploymentAppevents(deploymentId,opts){opts=opts||{};// verify the required parameter 'deploymentId' is set
|
|
13376
13389
|
if(deploymentId===undefined||deploymentId===null){throw'Missing the required parameter "deploymentId" when calling postJourneyDeploymentAppevents';}return this.apiClient.callApi('/api/v2/journey/deployments/{deploymentId}/appevents','POST',{'deploymentId':deploymentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13390
|
+
* Query for flow paths.
|
|
13391
|
+
*
|
|
13392
|
+
* @param {Object} opts Optional parameters
|
|
13393
|
+
* @param {Object} opts.body
|
|
13394
|
+
* postJourneyFlowsPathsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13395
|
+
*/},{key:"postJourneyFlowsPathsQuery",value:function postJourneyFlowsPathsQuery(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/flows/paths/query','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13377
13396
|
* Create an outcome.
|
|
13378
13397
|
*
|
|
13379
13398
|
* @param {Object} opts Optional parameters
|
|
@@ -13394,10 +13413,24 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
13394
13413
|
*
|
|
13395
13414
|
* @param {Object} opts Optional parameters
|
|
13396
13415
|
* @param {Object} opts.body
|
|
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']);}
|
|
13416
|
+
*/},{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']);}/**
|
|
13417
|
+
* Update a Journey View by ID
|
|
13418
|
+
* creates a new version
|
|
13419
|
+
* @param {String} viewId viewId
|
|
13420
|
+
* @param {Object} body JourneyView
|
|
13421
|
+
* postJourneyViewVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13422
|
+
*/},{key:"postJourneyViewVersions",value:function postJourneyViewVersions(viewId,body){// verify the required parameter 'viewId' is set
|
|
13423
|
+
if(viewId===undefined||viewId===null){throw'Missing the required parameter "viewId" when calling postJourneyViewVersions';}// verify the required parameter 'body' is set
|
|
13424
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViewVersions';}return this.apiClient.callApi('/api/v2/journey/views/{viewId}/versions','POST',{'viewId':viewId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13425
|
+
* Create a new Journey View
|
|
13426
|
+
*
|
|
13427
|
+
* @param {Object} body JourneyView
|
|
13428
|
+
* postJourneyViews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13429
|
+
*/},{key:"postJourneyViews",value:function postJourneyViews(body){// verify the required parameter 'body' is set
|
|
13430
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postJourneyViews';}return this.apiClient.callApi('/api/v2/journey/views','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);return JourneyApi;}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
13398
13431
|
* Knowledge service.
|
|
13399
13432
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13400
|
-
* @version 188.
|
|
13433
|
+
* @version 188.1.0
|
|
13401
13434
|
*/ /**
|
|
13402
13435
|
* Constructs a new KnowledgeApi.
|
|
13403
13436
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14027,6 +14060,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14027
14060
|
* @param {Object} body query
|
|
14028
14061
|
*/},{key:"postKnowledgeDocumentuploads",value:function postKnowledgeDocumentuploads(body){// verify the required parameter 'body' is set
|
|
14029
14062
|
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']);}/**
|
|
14063
|
+
* Indicate that the document was copied by the user.
|
|
14064
|
+
*
|
|
14065
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
14066
|
+
* @param {String} documentId Document ID
|
|
14067
|
+
* @param {Object} opts Optional parameters
|
|
14068
|
+
* @param {Object} opts.body
|
|
14069
|
+
*/},{key:"postKnowledgeGuestSessionDocumentCopies",value:function postKnowledgeGuestSessionDocumentCopies(sessionId,documentId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
14070
|
+
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentCopies';}// verify the required parameter 'documentId' is set
|
|
14071
|
+
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentCopies';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/copies','POST',{'sessionId':sessionId,'documentId':documentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14030
14072
|
* Give feedback on a document
|
|
14031
14073
|
*
|
|
14032
14074
|
* @param {String} sessionId Knowledge guest session ID.
|
|
@@ -14036,6 +14078,22 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14036
14078
|
*/},{key:"postKnowledgeGuestSessionDocumentFeedback",value:function postKnowledgeGuestSessionDocumentFeedback(sessionId,documentId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
14037
14079
|
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentFeedback';}// verify the required parameter 'documentId' is set
|
|
14038
14080
|
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentFeedback';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/feedback','POST',{'sessionId':sessionId,'documentId':documentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14081
|
+
* Create view event for a document.
|
|
14082
|
+
*
|
|
14083
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
14084
|
+
* @param {String} documentId Document ID
|
|
14085
|
+
* @param {Object} opts Optional parameters
|
|
14086
|
+
* @param {Object} opts.body
|
|
14087
|
+
*/},{key:"postKnowledgeGuestSessionDocumentViews",value:function postKnowledgeGuestSessionDocumentViews(sessionId,documentId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
14088
|
+
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentViews';}// verify the required parameter 'documentId' is set
|
|
14089
|
+
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentViews';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views','POST',{'sessionId':sessionId,'documentId':documentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14090
|
+
* Indicate that documents were presented to the user.
|
|
14091
|
+
*
|
|
14092
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
14093
|
+
* @param {Object} opts Optional parameters
|
|
14094
|
+
* @param {Object} opts.body
|
|
14095
|
+
*/},{key:"postKnowledgeGuestSessionDocumentsPresentations",value:function postKnowledgeGuestSessionDocumentsPresentations(sessionId,opts){opts=opts||{};// verify the required parameter 'sessionId' is set
|
|
14096
|
+
if(sessionId===undefined||sessionId===null){throw'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsPresentations';}return this.apiClient.callApi('/api/v2/knowledge/guest/sessions/{sessionId}/documents/presentations','POST',{'sessionId':sessionId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14039
14097
|
* Search the documents in a guest session.
|
|
14040
14098
|
*
|
|
14041
14099
|
* @param {String} sessionId Knowledge guest session ID.
|
|
@@ -14063,6 +14121,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14063
14121
|
*/},{key:"postKnowledgeKnowledgebaseCategories",value:function postKnowledgeKnowledgebaseCategories(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
14064
14122
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseCategories';}// verify the required parameter 'body' is set
|
|
14065
14123
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseCategories';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/categories','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14124
|
+
* Indicate that the document was copied by the user.
|
|
14125
|
+
*
|
|
14126
|
+
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
14127
|
+
* @param {String} documentId Document ID.
|
|
14128
|
+
* @param {Object} opts Optional parameters
|
|
14129
|
+
* @param {Object} opts.body
|
|
14130
|
+
*/},{key:"postKnowledgeKnowledgebaseDocumentCopies",value:function postKnowledgeKnowledgebaseDocumentCopies(knowledgeBaseId,documentId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
14131
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentCopies';}// verify the required parameter 'documentId' is set
|
|
14132
|
+
if(documentId===undefined||documentId===null){throw'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentCopies';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/copies','POST',{'knowledgeBaseId':knowledgeBaseId,'documentId':documentId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14066
14133
|
* Give feedback on a document
|
|
14067
14134
|
*
|
|
14068
14135
|
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
@@ -14122,6 +14189,13 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14122
14189
|
*/},{key:"postKnowledgeKnowledgebaseDocumentsBulkUpdate",value:function postKnowledgeKnowledgebaseDocumentsBulkUpdate(knowledgeBaseId,body){// verify the required parameter 'knowledgeBaseId' is set
|
|
14123
14190
|
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';}// verify the required parameter 'body' is set
|
|
14124
14191
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseDocumentsBulkUpdate';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/bulk/update','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14192
|
+
* Indicate that documents were presented to the user.
|
|
14193
|
+
*
|
|
14194
|
+
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
14195
|
+
* @param {Object} opts Optional parameters
|
|
14196
|
+
* @param {Object} opts.body
|
|
14197
|
+
*/},{key:"postKnowledgeKnowledgebaseDocumentsPresentations",value:function postKnowledgeKnowledgebaseDocumentsPresentations(knowledgeBaseId,opts){opts=opts||{};// verify the required parameter 'knowledgeBaseId' is set
|
|
14198
|
+
if(knowledgeBaseId===undefined||knowledgeBaseId===null){throw'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsPresentations';}return this.apiClient.callApi('/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/presentations','POST',{'knowledgeBaseId':knowledgeBaseId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
14125
14199
|
* Search the documents in a knowledge base.
|
|
14126
14200
|
*
|
|
14127
14201
|
* @param {String} knowledgeBaseId The ID of knowledge base containing the documents to query.
|
|
@@ -14268,7 +14342,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14268
14342
|
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(){/**
|
|
14269
14343
|
* LanguageUnderstanding service.
|
|
14270
14344
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14271
|
-
* @version 188.
|
|
14345
|
+
* @version 188.1.0
|
|
14272
14346
|
*/ /**
|
|
14273
14347
|
* Constructs a new LanguageUnderstandingApi.
|
|
14274
14348
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -14524,7 +14598,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
14524
14598
|
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(){/**
|
|
14525
14599
|
* Languages service.
|
|
14526
14600
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
14527
|
-
* @version 188.
|
|
14601
|
+
* @version 188.1.0
|
|
14528
14602
|
*/ /**
|
|
14529
14603
|
* Constructs a new LanguagesApi.
|
|
14530
14604
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -14579,7 +14653,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14579
14653
|
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(){/**
|
|
14580
14654
|
* Learning service.
|
|
14581
14655
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
14582
|
-
* @version 188.
|
|
14656
|
+
* @version 188.1.0
|
|
14583
14657
|
*/ /**
|
|
14584
14658
|
* Constructs a new LearningApi.
|
|
14585
14659
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -14809,7 +14883,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
14809
14883
|
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(){/**
|
|
14810
14884
|
* License service.
|
|
14811
14885
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
14812
|
-
* @version 188.
|
|
14886
|
+
* @version 188.1.0
|
|
14813
14887
|
*/ /**
|
|
14814
14888
|
* Constructs a new LicenseApi.
|
|
14815
14889
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -14863,7 +14937,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
14863
14937
|
*/},{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(){/**
|
|
14864
14938
|
* Locations service.
|
|
14865
14939
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
14866
|
-
* @version 188.
|
|
14940
|
+
* @version 188.1.0
|
|
14867
14941
|
*/ /**
|
|
14868
14942
|
* Constructs a new LocationsApi.
|
|
14869
14943
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -14922,7 +14996,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14922
14996
|
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(){/**
|
|
14923
14997
|
* LogCapture service.
|
|
14924
14998
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
14925
|
-
* @version 188.
|
|
14999
|
+
* @version 188.1.0
|
|
14926
15000
|
*/ /**
|
|
14927
15001
|
* Constructs a new LogCaptureApi.
|
|
14928
15002
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -14972,7 +15046,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
14972
15046
|
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(){/**
|
|
14973
15047
|
* Messaging service.
|
|
14974
15048
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
14975
|
-
* @version 188.
|
|
15049
|
+
* @version 188.1.0
|
|
14976
15050
|
*/ /**
|
|
14977
15051
|
* Constructs a new MessagingApi.
|
|
14978
15052
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15062,7 +15136,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15062
15136
|
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(){/**
|
|
15063
15137
|
* MobileDevices service.
|
|
15064
15138
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15065
|
-
* @version 188.
|
|
15139
|
+
* @version 188.1.0
|
|
15066
15140
|
*/ /**
|
|
15067
15141
|
* Constructs a new MobileDevicesApi.
|
|
15068
15142
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15101,7 +15175,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15101
15175
|
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(){/**
|
|
15102
15176
|
* Notifications service.
|
|
15103
15177
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15104
|
-
* @version 188.
|
|
15178
|
+
* @version 188.1.0
|
|
15105
15179
|
*/ /**
|
|
15106
15180
|
* Constructs a new NotificationsApi.
|
|
15107
15181
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15158,7 +15232,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15158
15232
|
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(){/**
|
|
15159
15233
|
* OAuth service.
|
|
15160
15234
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15161
|
-
* @version 188.
|
|
15235
|
+
* @version 188.1.0
|
|
15162
15236
|
*/ /**
|
|
15163
15237
|
* Constructs a new OAuthApi.
|
|
15164
15238
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15243,7 +15317,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15243
15317
|
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(){/**
|
|
15244
15318
|
* Objects service.
|
|
15245
15319
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15246
|
-
* @version 188.
|
|
15320
|
+
* @version 188.1.0
|
|
15247
15321
|
*/ /**
|
|
15248
15322
|
* Constructs a new ObjectsApi.
|
|
15249
15323
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15314,7 +15388,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15314
15388
|
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(){/**
|
|
15315
15389
|
* OperationalEvents service.
|
|
15316
15390
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15317
|
-
* @version 188.
|
|
15391
|
+
* @version 188.1.0
|
|
15318
15392
|
*/ /**
|
|
15319
15393
|
* Constructs a new OperationalEventsApi.
|
|
15320
15394
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15332,7 +15406,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15332
15406
|
*/},{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(){/**
|
|
15333
15407
|
* Organization service.
|
|
15334
15408
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15335
|
-
* @version 188.
|
|
15409
|
+
* @version 188.1.0
|
|
15336
15410
|
*/ /**
|
|
15337
15411
|
* Constructs a new OrganizationApi.
|
|
15338
15412
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15434,7 +15508,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15434
15508
|
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(){/**
|
|
15435
15509
|
* OrganizationAuthorization service.
|
|
15436
15510
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15437
|
-
* @version 188.
|
|
15511
|
+
* @version 188.1.0
|
|
15438
15512
|
*/ /**
|
|
15439
15513
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15440
15514
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -15757,7 +15831,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
15757
15831
|
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(){/**
|
|
15758
15832
|
* Outbound service.
|
|
15759
15833
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
15760
|
-
* @version 188.
|
|
15834
|
+
* @version 188.1.0
|
|
15761
15835
|
*/ /**
|
|
15762
15836
|
* Constructs a new OutboundApi.
|
|
15763
15837
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -16793,7 +16867,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16793
16867
|
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(){/**
|
|
16794
16868
|
* Presence service.
|
|
16795
16869
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
16796
|
-
* @version 188.
|
|
16870
|
+
* @version 188.1.0
|
|
16797
16871
|
*/ /**
|
|
16798
16872
|
* Constructs a new PresenceApi.
|
|
16799
16873
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -16966,7 +17040,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
16966
17040
|
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(){/**
|
|
16967
17041
|
* ProcessAutomation service.
|
|
16968
17042
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
16969
|
-
* @version 188.
|
|
17043
|
+
* @version 188.1.0
|
|
16970
17044
|
*/ /**
|
|
16971
17045
|
* Constructs a new ProcessAutomationApi.
|
|
16972
17046
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17029,7 +17103,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17029
17103
|
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(){/**
|
|
17030
17104
|
* Quality service.
|
|
17031
17105
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17032
|
-
* @version 188.
|
|
17106
|
+
* @version 188.1.0
|
|
17033
17107
|
*/ /**
|
|
17034
17108
|
* Constructs a new QualityApi.
|
|
17035
17109
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -17500,7 +17574,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
17500
17574
|
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(){/**
|
|
17501
17575
|
* Recording service.
|
|
17502
17576
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
17503
|
-
* @version 188.
|
|
17577
|
+
* @version 188.1.0
|
|
17504
17578
|
*/ /**
|
|
17505
17579
|
* Constructs a new RecordingApi.
|
|
17506
17580
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -17907,7 +17981,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17907
17981
|
*/},{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(){/**
|
|
17908
17982
|
* ResponseManagement service.
|
|
17909
17983
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
17910
|
-
* @version 188.
|
|
17984
|
+
* @version 188.1.0
|
|
17911
17985
|
*/ /**
|
|
17912
17986
|
* Constructs a new ResponseManagementApi.
|
|
17913
17987
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18023,7 +18097,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18023
18097
|
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(){/**
|
|
18024
18098
|
* Routing service.
|
|
18025
18099
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18026
|
-
* @version 188.
|
|
18100
|
+
* @version 188.1.0
|
|
18027
18101
|
*/ /**
|
|
18028
18102
|
* Constructs a new RoutingApi.
|
|
18029
18103
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -18991,7 +19065,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
18991
19065
|
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(){/**
|
|
18992
19066
|
* SCIM service.
|
|
18993
19067
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
18994
|
-
* @version 188.
|
|
19068
|
+
* @version 188.1.0
|
|
18995
19069
|
*/ /**
|
|
18996
19070
|
* Constructs a new SCIMApi.
|
|
18997
19071
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19216,7 +19290,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19216
19290
|
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(){/**
|
|
19217
19291
|
* ScreenRecording service.
|
|
19218
19292
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19219
|
-
* @version 188.
|
|
19293
|
+
* @version 188.1.0
|
|
19220
19294
|
*/ /**
|
|
19221
19295
|
* Constructs a new ScreenRecordingApi.
|
|
19222
19296
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19231,7 +19305,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19231
19305
|
*/_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(){/**
|
|
19232
19306
|
* Scripts service.
|
|
19233
19307
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19234
|
-
* @version 188.
|
|
19308
|
+
* @version 188.1.0
|
|
19235
19309
|
*/ /**
|
|
19236
19310
|
* Constructs a new ScriptsApi.
|
|
19237
19311
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19367,7 +19441,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19367
19441
|
*/},{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(){/**
|
|
19368
19442
|
* Search service.
|
|
19369
19443
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19370
|
-
* @version 188.
|
|
19444
|
+
* @version 188.1.0
|
|
19371
19445
|
*/ /**
|
|
19372
19446
|
* Constructs a new SearchApi.
|
|
19373
19447
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -19527,7 +19601,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19527
19601
|
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(){/**
|
|
19528
19602
|
* Settings service.
|
|
19529
19603
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
19530
|
-
* @version 188.
|
|
19604
|
+
* @version 188.1.0
|
|
19531
19605
|
*/ /**
|
|
19532
19606
|
* Constructs a new SettingsApi.
|
|
19533
19607
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -19545,7 +19619,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19545
19619
|
*/},{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(){/**
|
|
19546
19620
|
* SpeechTextAnalytics service.
|
|
19547
19621
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
19548
|
-
* @version 188.
|
|
19622
|
+
* @version 188.1.0
|
|
19549
19623
|
*/ /**
|
|
19550
19624
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
19551
19625
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -19789,7 +19863,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
19789
19863
|
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(){/**
|
|
19790
19864
|
* Stations service.
|
|
19791
19865
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
19792
|
-
* @version 188.
|
|
19866
|
+
* @version 188.1.0
|
|
19793
19867
|
*/ /**
|
|
19794
19868
|
* Constructs a new StationsApi.
|
|
19795
19869
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -19821,7 +19895,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
19821
19895
|
*/},{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(){/**
|
|
19822
19896
|
* Suggest service.
|
|
19823
19897
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
19824
|
-
* @version 188.
|
|
19898
|
+
* @version 188.1.0
|
|
19825
19899
|
*/ /**
|
|
19826
19900
|
* Constructs a new SuggestApi.
|
|
19827
19901
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -19861,7 +19935,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19861
19935
|
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(){/**
|
|
19862
19936
|
* TaskManagement service.
|
|
19863
19937
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
19864
|
-
* @version 188.
|
|
19938
|
+
* @version 188.1.0
|
|
19865
19939
|
*/ /**
|
|
19866
19940
|
* Constructs a new TaskManagementApi.
|
|
19867
19941
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20203,7 +20277,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20203
20277
|
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(){/**
|
|
20204
20278
|
* Teams service.
|
|
20205
20279
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20206
|
-
* @version 188.
|
|
20280
|
+
* @version 188.1.0
|
|
20207
20281
|
*/ /**
|
|
20208
20282
|
* Constructs a new TeamsApi.
|
|
20209
20283
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20282,7 +20356,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20282
20356
|
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(){/**
|
|
20283
20357
|
* Telephony service.
|
|
20284
20358
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20285
|
-
* @version 188.
|
|
20359
|
+
* @version 188.1.0
|
|
20286
20360
|
*/ /**
|
|
20287
20361
|
* Constructs a new TelephonyApi.
|
|
20288
20362
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -20329,7 +20403,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
20329
20403
|
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(){/**
|
|
20330
20404
|
* TelephonyProvidersEdge service.
|
|
20331
20405
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
20332
|
-
* @version 188.
|
|
20406
|
+
* @version 188.1.0
|
|
20333
20407
|
*/ /**
|
|
20334
20408
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
20335
20409
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21143,7 +21217,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21143
21217
|
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(){/**
|
|
21144
21218
|
* Textbots service.
|
|
21145
21219
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21146
|
-
* @version 188.
|
|
21220
|
+
* @version 188.1.0
|
|
21147
21221
|
*/ /**
|
|
21148
21222
|
* Constructs a new TextbotsApi.
|
|
21149
21223
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21178,7 +21252,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21178
21252
|
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(){/**
|
|
21179
21253
|
* Tokens service.
|
|
21180
21254
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21181
|
-
* @version 188.
|
|
21255
|
+
* @version 188.1.0
|
|
21182
21256
|
*/ /**
|
|
21183
21257
|
* Constructs a new TokensApi.
|
|
21184
21258
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21201,7 +21275,6 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21201
21275
|
*/},{key:"getTokensMe",value:function getTokensMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/me','GET',{},{'preserveIdleTTL':opts['preserveIdleTTL']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21202
21276
|
* Get the current Idle Token Timeout Value
|
|
21203
21277
|
*
|
|
21204
|
-
* getTokensTimeout is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21205
21278
|
*/},{key:"getTokensTimeout",value:function getTokensTimeout(){return this.apiClient.callApi('/api/v2/tokens/timeout','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
21206
21279
|
* Verify user token
|
|
21207
21280
|
*
|
|
@@ -21210,11 +21283,10 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21210
21283
|
*
|
|
21211
21284
|
* @param {Object} opts Optional parameters
|
|
21212
21285
|
* @param {Object} opts.body
|
|
21213
|
-
* putTokensTimeout is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
21214
21286
|
*/},{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(){/**
|
|
21215
21287
|
* Uploads service.
|
|
21216
21288
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21217
|
-
* @version 188.
|
|
21289
|
+
* @version 188.1.0
|
|
21218
21290
|
*/ /**
|
|
21219
21291
|
* Constructs a new UploadsApi.
|
|
21220
21292
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21280,7 +21352,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21280
21352
|
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(){/**
|
|
21281
21353
|
* Usage service.
|
|
21282
21354
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21283
|
-
* @version 188.
|
|
21355
|
+
* @version 188.1.0
|
|
21284
21356
|
*/ /**
|
|
21285
21357
|
* Constructs a new UsageApi.
|
|
21286
21358
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -21331,7 +21403,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21331
21403
|
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(){/**
|
|
21332
21404
|
* UserRecordings service.
|
|
21333
21405
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
21334
|
-
* @version 188.
|
|
21406
|
+
* @version 188.1.0
|
|
21335
21407
|
*/ /**
|
|
21336
21408
|
* Constructs a new UserRecordingsApi.
|
|
21337
21409
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -21380,7 +21452,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
21380
21452
|
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(){/**
|
|
21381
21453
|
* Users service.
|
|
21382
21454
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
21383
|
-
* @version 188.
|
|
21455
|
+
* @version 188.1.0
|
|
21384
21456
|
*/ /**
|
|
21385
21457
|
* Constructs a new UsersApi.
|
|
21386
21458
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22039,7 +22111,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22039
22111
|
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(){/**
|
|
22040
22112
|
* Utilities service.
|
|
22041
22113
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22042
|
-
* @version 188.
|
|
22114
|
+
* @version 188.1.0
|
|
22043
22115
|
*/ /**
|
|
22044
22116
|
* Constructs a new UtilitiesApi.
|
|
22045
22117
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22066,7 +22138,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22066
22138
|
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(){/**
|
|
22067
22139
|
* Voicemail service.
|
|
22068
22140
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22069
|
-
* @version 188.
|
|
22141
|
+
* @version 188.1.0
|
|
22070
22142
|
*/ /**
|
|
22071
22143
|
* Constructs a new VoicemailApi.
|
|
22072
22144
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22215,7 +22287,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22215
22287
|
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(){/**
|
|
22216
22288
|
* WebChat service.
|
|
22217
22289
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22218
|
-
* @version 188.
|
|
22290
|
+
* @version 188.1.0
|
|
22219
22291
|
*/ /**
|
|
22220
22292
|
* Constructs a new WebChatApi.
|
|
22221
22293
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -22348,7 +22420,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22348
22420
|
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(){/**
|
|
22349
22421
|
* WebDeployments service.
|
|
22350
22422
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
22351
|
-
* @version 188.
|
|
22423
|
+
* @version 188.1.0
|
|
22352
22424
|
*/ /**
|
|
22353
22425
|
* Constructs a new WebDeploymentsApi.
|
|
22354
22426
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -22469,7 +22541,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22469
22541
|
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(){/**
|
|
22470
22542
|
* WebMessaging service.
|
|
22471
22543
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
22472
|
-
* @version 188.
|
|
22544
|
+
* @version 188.1.0
|
|
22473
22545
|
*/ /**
|
|
22474
22546
|
* Constructs a new WebMessagingApi.
|
|
22475
22547
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -22485,7 +22557,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
22485
22557
|
*/_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(){/**
|
|
22486
22558
|
* Widgets service.
|
|
22487
22559
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
22488
|
-
* @version 188.
|
|
22560
|
+
* @version 188.1.0
|
|
22489
22561
|
*/ /**
|
|
22490
22562
|
* Constructs a new WidgetsApi.
|
|
22491
22563
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -22520,7 +22592,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
22520
22592
|
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(){/**
|
|
22521
22593
|
* WorkforceManagement service.
|
|
22522
22594
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
22523
|
-
* @version 188.
|
|
22595
|
+
* @version 188.1.0
|
|
22524
22596
|
*/ /**
|
|
22525
22597
|
* Constructs a new WorkforceManagementApi.
|
|
22526
22598
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23871,7 +23943,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
23871
23943
|
* </pre>
|
|
23872
23944
|
* </p>
|
|
23873
23945
|
* @module purecloud-platform-client-v2/index
|
|
23874
|
-
* @version 188.
|
|
23946
|
+
* @version 188.1.0
|
|
23875
23947
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
23876
23948
|
* The ApiClient constructor.
|
|
23877
23949
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -24107,4 +24179,4 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24107
24179
|
var index=new platformClient();module.exports=index;
|
|
24108
24180
|
|
|
24109
24181
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
|
|
24110
|
-
},{"buffer":3,"os":5,"path":6,"qs":
|
|
24182
|
+
},{"buffer":3,"os":5,"path":6,"qs":30}]},{},[]);
|