purecloud-platform-client-v2 200.0.0 → 201.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +1262 -116
- package/dist/web-amd/purecloud-platform-client-v2.js +1262 -116
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +410 -124
- package/dist/web-cjs/purecloud-platform-client-v2.js +526 -156
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +584 -21
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +3 -3
- 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/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +21 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +4 -4
- 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 +68 -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 +36 -31
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +4 -4
- 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 +1080 -26
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -2791,6 +2791,85 @@ process.chdir = function (dir) {
|
|
|
2791
2791
|
process.umask = function() { return 0; };
|
|
2792
2792
|
|
|
2793
2793
|
},{}],8:[function(require,module,exports){
|
|
2794
|
+
(function (setImmediate,clearImmediate){(function (){
|
|
2795
|
+
var nextTick = require('process/browser.js').nextTick;
|
|
2796
|
+
var apply = Function.prototype.apply;
|
|
2797
|
+
var slice = Array.prototype.slice;
|
|
2798
|
+
var immediateIds = {};
|
|
2799
|
+
var nextImmediateId = 0;
|
|
2800
|
+
|
|
2801
|
+
// DOM APIs, for completeness
|
|
2802
|
+
|
|
2803
|
+
exports.setTimeout = function() {
|
|
2804
|
+
return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);
|
|
2805
|
+
};
|
|
2806
|
+
exports.setInterval = function() {
|
|
2807
|
+
return new Timeout(apply.call(setInterval, window, arguments), clearInterval);
|
|
2808
|
+
};
|
|
2809
|
+
exports.clearTimeout =
|
|
2810
|
+
exports.clearInterval = function(timeout) { timeout.close(); };
|
|
2811
|
+
|
|
2812
|
+
function Timeout(id, clearFn) {
|
|
2813
|
+
this._id = id;
|
|
2814
|
+
this._clearFn = clearFn;
|
|
2815
|
+
}
|
|
2816
|
+
Timeout.prototype.unref = Timeout.prototype.ref = function() {};
|
|
2817
|
+
Timeout.prototype.close = function() {
|
|
2818
|
+
this._clearFn.call(window, this._id);
|
|
2819
|
+
};
|
|
2820
|
+
|
|
2821
|
+
// Does not start the time, just sets up the members needed.
|
|
2822
|
+
exports.enroll = function(item, msecs) {
|
|
2823
|
+
clearTimeout(item._idleTimeoutId);
|
|
2824
|
+
item._idleTimeout = msecs;
|
|
2825
|
+
};
|
|
2826
|
+
|
|
2827
|
+
exports.unenroll = function(item) {
|
|
2828
|
+
clearTimeout(item._idleTimeoutId);
|
|
2829
|
+
item._idleTimeout = -1;
|
|
2830
|
+
};
|
|
2831
|
+
|
|
2832
|
+
exports._unrefActive = exports.active = function(item) {
|
|
2833
|
+
clearTimeout(item._idleTimeoutId);
|
|
2834
|
+
|
|
2835
|
+
var msecs = item._idleTimeout;
|
|
2836
|
+
if (msecs >= 0) {
|
|
2837
|
+
item._idleTimeoutId = setTimeout(function onTimeout() {
|
|
2838
|
+
if (item._onTimeout)
|
|
2839
|
+
item._onTimeout();
|
|
2840
|
+
}, msecs);
|
|
2841
|
+
}
|
|
2842
|
+
};
|
|
2843
|
+
|
|
2844
|
+
// That's not how node.js implements it but the exposed api is the same.
|
|
2845
|
+
exports.setImmediate = typeof setImmediate === "function" ? setImmediate : function(fn) {
|
|
2846
|
+
var id = nextImmediateId++;
|
|
2847
|
+
var args = arguments.length < 2 ? false : slice.call(arguments, 1);
|
|
2848
|
+
|
|
2849
|
+
immediateIds[id] = true;
|
|
2850
|
+
|
|
2851
|
+
nextTick(function onNextTick() {
|
|
2852
|
+
if (immediateIds[id]) {
|
|
2853
|
+
// fn.call() is faster so we optimize for the common use-case
|
|
2854
|
+
// @see http://jsperf.com/call-apply-segu
|
|
2855
|
+
if (args) {
|
|
2856
|
+
fn.apply(null, args);
|
|
2857
|
+
} else {
|
|
2858
|
+
fn.call(null);
|
|
2859
|
+
}
|
|
2860
|
+
// Prevent ids from leaking
|
|
2861
|
+
exports.clearImmediate(id);
|
|
2862
|
+
}
|
|
2863
|
+
});
|
|
2864
|
+
|
|
2865
|
+
return id;
|
|
2866
|
+
};
|
|
2867
|
+
|
|
2868
|
+
exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate : function(id) {
|
|
2869
|
+
delete immediateIds[id];
|
|
2870
|
+
};
|
|
2871
|
+
}).call(this)}).call(this,require("timers").setImmediate,require("timers").clearImmediate)
|
|
2872
|
+
},{"process/browser.js":7,"timers":8}],9:[function(require,module,exports){
|
|
2794
2873
|
'use strict';
|
|
2795
2874
|
|
|
2796
2875
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -2807,7 +2886,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
2807
2886
|
return intrinsic;
|
|
2808
2887
|
};
|
|
2809
2888
|
|
|
2810
|
-
},{"./":
|
|
2889
|
+
},{"./":10,"get-intrinsic":22}],10:[function(require,module,exports){
|
|
2811
2890
|
'use strict';
|
|
2812
2891
|
|
|
2813
2892
|
var bind = require('function-bind');
|
|
@@ -2844,7 +2923,7 @@ if ($defineProperty) {
|
|
|
2844
2923
|
module.exports.apply = applyBind;
|
|
2845
2924
|
}
|
|
2846
2925
|
|
|
2847
|
-
},{"es-define-property":
|
|
2926
|
+
},{"es-define-property":12,"es-errors/type":18,"function-bind":21,"get-intrinsic":22,"set-function-length":35}],11:[function(require,module,exports){
|
|
2848
2927
|
'use strict';
|
|
2849
2928
|
|
|
2850
2929
|
var $defineProperty = require('es-define-property');
|
|
@@ -2902,7 +2981,7 @@ module.exports = function defineDataProperty(
|
|
|
2902
2981
|
}
|
|
2903
2982
|
};
|
|
2904
2983
|
|
|
2905
|
-
},{"es-define-property":
|
|
2984
|
+
},{"es-define-property":12,"es-errors/syntax":17,"es-errors/type":18,"gopd":23}],12:[function(require,module,exports){
|
|
2906
2985
|
'use strict';
|
|
2907
2986
|
|
|
2908
2987
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -2920,49 +2999,49 @@ if ($defineProperty) {
|
|
|
2920
2999
|
|
|
2921
3000
|
module.exports = $defineProperty;
|
|
2922
3001
|
|
|
2923
|
-
},{"get-intrinsic":
|
|
3002
|
+
},{"get-intrinsic":22}],13:[function(require,module,exports){
|
|
2924
3003
|
'use strict';
|
|
2925
3004
|
|
|
2926
3005
|
/** @type {import('./eval')} */
|
|
2927
3006
|
module.exports = EvalError;
|
|
2928
3007
|
|
|
2929
|
-
},{}],
|
|
3008
|
+
},{}],14:[function(require,module,exports){
|
|
2930
3009
|
'use strict';
|
|
2931
3010
|
|
|
2932
3011
|
/** @type {import('.')} */
|
|
2933
3012
|
module.exports = Error;
|
|
2934
3013
|
|
|
2935
|
-
},{}],
|
|
3014
|
+
},{}],15:[function(require,module,exports){
|
|
2936
3015
|
'use strict';
|
|
2937
3016
|
|
|
2938
3017
|
/** @type {import('./range')} */
|
|
2939
3018
|
module.exports = RangeError;
|
|
2940
3019
|
|
|
2941
|
-
},{}],
|
|
3020
|
+
},{}],16:[function(require,module,exports){
|
|
2942
3021
|
'use strict';
|
|
2943
3022
|
|
|
2944
3023
|
/** @type {import('./ref')} */
|
|
2945
3024
|
module.exports = ReferenceError;
|
|
2946
3025
|
|
|
2947
|
-
},{}],
|
|
3026
|
+
},{}],17:[function(require,module,exports){
|
|
2948
3027
|
'use strict';
|
|
2949
3028
|
|
|
2950
3029
|
/** @type {import('./syntax')} */
|
|
2951
3030
|
module.exports = SyntaxError;
|
|
2952
3031
|
|
|
2953
|
-
},{}],
|
|
3032
|
+
},{}],18:[function(require,module,exports){
|
|
2954
3033
|
'use strict';
|
|
2955
3034
|
|
|
2956
3035
|
/** @type {import('./type')} */
|
|
2957
3036
|
module.exports = TypeError;
|
|
2958
3037
|
|
|
2959
|
-
},{}],
|
|
3038
|
+
},{}],19:[function(require,module,exports){
|
|
2960
3039
|
'use strict';
|
|
2961
3040
|
|
|
2962
3041
|
/** @type {import('./uri')} */
|
|
2963
3042
|
module.exports = URIError;
|
|
2964
3043
|
|
|
2965
|
-
},{}],
|
|
3044
|
+
},{}],20:[function(require,module,exports){
|
|
2966
3045
|
'use strict';
|
|
2967
3046
|
|
|
2968
3047
|
/* eslint no-invalid-this: 1 */
|
|
@@ -3048,14 +3127,14 @@ module.exports = function bind(that) {
|
|
|
3048
3127
|
return bound;
|
|
3049
3128
|
};
|
|
3050
3129
|
|
|
3051
|
-
},{}],
|
|
3130
|
+
},{}],21:[function(require,module,exports){
|
|
3052
3131
|
'use strict';
|
|
3053
3132
|
|
|
3054
3133
|
var implementation = require('./implementation');
|
|
3055
3134
|
|
|
3056
3135
|
module.exports = Function.prototype.bind || implementation;
|
|
3057
3136
|
|
|
3058
|
-
},{"./implementation":
|
|
3137
|
+
},{"./implementation":20}],22:[function(require,module,exports){
|
|
3059
3138
|
'use strict';
|
|
3060
3139
|
|
|
3061
3140
|
var undefined;
|
|
@@ -3416,7 +3495,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
3416
3495
|
return value;
|
|
3417
3496
|
};
|
|
3418
3497
|
|
|
3419
|
-
},{"es-errors":
|
|
3498
|
+
},{"es-errors":14,"es-errors/eval":13,"es-errors/range":15,"es-errors/ref":16,"es-errors/syntax":17,"es-errors/type":18,"es-errors/uri":19,"function-bind":21,"has-proto":25,"has-symbols":26,"hasown":28}],23:[function(require,module,exports){
|
|
3420
3499
|
'use strict';
|
|
3421
3500
|
|
|
3422
3501
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -3434,7 +3513,7 @@ if ($gOPD) {
|
|
|
3434
3513
|
|
|
3435
3514
|
module.exports = $gOPD;
|
|
3436
3515
|
|
|
3437
|
-
},{"get-intrinsic":
|
|
3516
|
+
},{"get-intrinsic":22}],24:[function(require,module,exports){
|
|
3438
3517
|
'use strict';
|
|
3439
3518
|
|
|
3440
3519
|
var $defineProperty = require('es-define-property');
|
|
@@ -3458,7 +3537,7 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
3458
3537
|
|
|
3459
3538
|
module.exports = hasPropertyDescriptors;
|
|
3460
3539
|
|
|
3461
|
-
},{"es-define-property":
|
|
3540
|
+
},{"es-define-property":12}],25:[function(require,module,exports){
|
|
3462
3541
|
'use strict';
|
|
3463
3542
|
|
|
3464
3543
|
var test = {
|
|
@@ -3475,7 +3554,7 @@ module.exports = function hasProto() {
|
|
|
3475
3554
|
&& !(test instanceof $Object);
|
|
3476
3555
|
};
|
|
3477
3556
|
|
|
3478
|
-
},{}],
|
|
3557
|
+
},{}],26:[function(require,module,exports){
|
|
3479
3558
|
'use strict';
|
|
3480
3559
|
|
|
3481
3560
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -3490,7 +3569,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
3490
3569
|
return hasSymbolSham();
|
|
3491
3570
|
};
|
|
3492
3571
|
|
|
3493
|
-
},{"./shams":
|
|
3572
|
+
},{"./shams":27}],27:[function(require,module,exports){
|
|
3494
3573
|
'use strict';
|
|
3495
3574
|
|
|
3496
3575
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -3534,7 +3613,7 @@ module.exports = function hasSymbols() {
|
|
|
3534
3613
|
return true;
|
|
3535
3614
|
};
|
|
3536
3615
|
|
|
3537
|
-
},{}],
|
|
3616
|
+
},{}],28:[function(require,module,exports){
|
|
3538
3617
|
'use strict';
|
|
3539
3618
|
|
|
3540
3619
|
var call = Function.prototype.call;
|
|
@@ -3544,7 +3623,7 @@ var bind = require('function-bind');
|
|
|
3544
3623
|
/** @type {import('.')} */
|
|
3545
3624
|
module.exports = bind.call(call, $hasOwn);
|
|
3546
3625
|
|
|
3547
|
-
},{"function-bind":
|
|
3626
|
+
},{"function-bind":21}],29:[function(require,module,exports){
|
|
3548
3627
|
(function (global){(function (){
|
|
3549
3628
|
var hasMap = typeof Map === 'function' && Map.prototype;
|
|
3550
3629
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
|
@@ -4075,7 +4154,7 @@ function arrObjKeys(obj, inspect) {
|
|
|
4075
4154
|
}
|
|
4076
4155
|
|
|
4077
4156
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
4078
|
-
},{"./util.inspect":2}],
|
|
4157
|
+
},{"./util.inspect":2}],30:[function(require,module,exports){
|
|
4079
4158
|
'use strict';
|
|
4080
4159
|
|
|
4081
4160
|
var replace = String.prototype.replace;
|
|
@@ -4100,7 +4179,7 @@ module.exports = {
|
|
|
4100
4179
|
RFC3986: Format.RFC3986
|
|
4101
4180
|
};
|
|
4102
4181
|
|
|
4103
|
-
},{}],
|
|
4182
|
+
},{}],31:[function(require,module,exports){
|
|
4104
4183
|
'use strict';
|
|
4105
4184
|
|
|
4106
4185
|
var stringify = require('./stringify');
|
|
@@ -4113,7 +4192,7 @@ module.exports = {
|
|
|
4113
4192
|
stringify: stringify
|
|
4114
4193
|
};
|
|
4115
4194
|
|
|
4116
|
-
},{"./formats":
|
|
4195
|
+
},{"./formats":30,"./parse":32,"./stringify":33}],32:[function(require,module,exports){
|
|
4117
4196
|
'use strict';
|
|
4118
4197
|
|
|
4119
4198
|
var utils = require('./utils');
|
|
@@ -4140,6 +4219,7 @@ var defaults = {
|
|
|
4140
4219
|
parameterLimit: 1000,
|
|
4141
4220
|
parseArrays: true,
|
|
4142
4221
|
plainObjects: false,
|
|
4222
|
+
strictDepth: false,
|
|
4143
4223
|
strictNullHandling: false
|
|
4144
4224
|
};
|
|
4145
4225
|
|
|
@@ -4317,9 +4397,12 @@ var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesPars
|
|
|
4317
4397
|
keys.push(segment[1]);
|
|
4318
4398
|
}
|
|
4319
4399
|
|
|
4320
|
-
// If there's a remainder, just add whatever is left
|
|
4400
|
+
// If there's a remainder, check strictDepth option for throw, else just add whatever is left
|
|
4321
4401
|
|
|
4322
4402
|
if (segment) {
|
|
4403
|
+
if (options.strictDepth === true) {
|
|
4404
|
+
throw new RangeError('Input depth exceeded depth option of ' + options.depth + ' and strictDepth is true');
|
|
4405
|
+
}
|
|
4323
4406
|
keys.push('[' + key.slice(segment.index) + ']');
|
|
4324
4407
|
}
|
|
4325
4408
|
|
|
@@ -4376,6 +4459,7 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
4376
4459
|
parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
|
|
4377
4460
|
parseArrays: opts.parseArrays !== false,
|
|
4378
4461
|
plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
|
|
4462
|
+
strictDepth: typeof opts.strictDepth === 'boolean' ? !!opts.strictDepth : defaults.strictDepth,
|
|
4379
4463
|
strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
|
|
4380
4464
|
};
|
|
4381
4465
|
};
|
|
@@ -4406,7 +4490,7 @@ module.exports = function (str, opts) {
|
|
|
4406
4490
|
return utils.compact(obj);
|
|
4407
4491
|
};
|
|
4408
4492
|
|
|
4409
|
-
},{"./utils":
|
|
4493
|
+
},{"./utils":34}],33:[function(require,module,exports){
|
|
4410
4494
|
'use strict';
|
|
4411
4495
|
|
|
4412
4496
|
var getSideChannel = require('side-channel');
|
|
@@ -4759,7 +4843,7 @@ module.exports = function (object, opts) {
|
|
|
4759
4843
|
return joined.length > 0 ? prefix + joined : '';
|
|
4760
4844
|
};
|
|
4761
4845
|
|
|
4762
|
-
},{"./formats":
|
|
4846
|
+
},{"./formats":30,"./utils":34,"side-channel":36}],34:[function(require,module,exports){
|
|
4763
4847
|
'use strict';
|
|
4764
4848
|
|
|
4765
4849
|
var formats = require('./formats');
|
|
@@ -5026,7 +5110,7 @@ module.exports = {
|
|
|
5026
5110
|
merge: merge
|
|
5027
5111
|
};
|
|
5028
5112
|
|
|
5029
|
-
},{"./formats":
|
|
5113
|
+
},{"./formats":30}],35:[function(require,module,exports){
|
|
5030
5114
|
'use strict';
|
|
5031
5115
|
|
|
5032
5116
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -5070,7 +5154,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
5070
5154
|
return fn;
|
|
5071
5155
|
};
|
|
5072
5156
|
|
|
5073
|
-
},{"define-data-property":
|
|
5157
|
+
},{"define-data-property":11,"es-errors/type":18,"get-intrinsic":22,"gopd":23,"has-property-descriptors":24}],36:[function(require,module,exports){
|
|
5074
5158
|
'use strict';
|
|
5075
5159
|
|
|
5076
5160
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -5201,8 +5285,8 @@ module.exports = function getSideChannel() {
|
|
|
5201
5285
|
return channel;
|
|
5202
5286
|
};
|
|
5203
5287
|
|
|
5204
|
-
},{"call-bind/callBound":
|
|
5205
|
-
(function (global,Buffer){(function (){
|
|
5288
|
+
},{"call-bind/callBound":9,"es-errors/type":18,"get-intrinsic":22,"object-inspect":29}],"platformClient":[function(require,module,exports){
|
|
5289
|
+
(function (global,Buffer,setImmediate){(function (){
|
|
5206
5290
|
'use strict';function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _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 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 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 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 _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _toArray(r){return _arrayWithHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableRest();}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t["return"]&&(u=t["return"](),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments));};}function AsyncGenerator(e){var r,t;function resume(r,t){try{var n=e[r](t),o=n.value,u=o instanceof _OverloadYield;Promise.resolve(u?o.v:o).then(function(t){if(u){var i="return"===r?"return":"next";if(!o.k||t.done)return resume(i,t);t=e[i](t).value;}settle(n.done?"return":"normal",t);},function(e){resume("throw",e);});}catch(e){settle("throw",e);}}function settle(e,n){switch(e){case"return":r.resolve({value:n,done:!0});break;case"throw":r.reject(n);break;default:r.resolve({value:n,done:!1});}(r=r.next)?resume(r.key,r.arg):t=null;}this._invoke=function(e,n){return new Promise(function(o,u){var i={key:e,arg:n,resolve:o,reject:u,next:null};t?t=t.next=i:(r=t=i,resume(e,n));});},"function"!=typeof e["return"]&&(this["return"]=void 0);}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this;},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e);},AsyncGenerator.prototype["throw"]=function(e){return this._invoke("throw",e);},AsyncGenerator.prototype["return"]=function(e){return this._invoke("return",e);};function _awaitAsyncGenerator(e){return new _OverloadYield(e,0);}function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r));}),{done:!1,value:new _OverloadYield(r,1)};}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this;},e.next=function(t){return n?(n=!1,t):pump("next",t);},"function"==typeof t["throw"]&&(e["throw"]=function(t){if(n)throw n=!1,t;return pump("throw",t);}),"function"==typeof t["return"]&&(e["return"]=function(t){return n?(n=!1,t):pump("return",t);}),e;}function _OverloadYield(e,d){this.v=e,this.k=d;}function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator";}throw new TypeError("Object is not async iterable");}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n};});}return AsyncFromSyncIterator=function AsyncFromSyncIterator(r){this.s=r,this.n=r.next;},AsyncFromSyncIterator.prototype={s:null,n:null,next:function next(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments));},"return":function _return(r){var n=this.s["return"];return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));},"throw":function _throw(r){var n=this.s["return"];return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments));}},new AsyncFromSyncIterator(r);}var qs=require('qs');function _interopDefaultLegacy(e){return e&&_typeof(e)==='object'&&'default'in e?e:{'default':e};}var qs__default=/*#__PURE__*/_interopDefaultLegacy(qs);var PureCloudRegionHosts={us_east_1:'mypurecloud.com',eu_west_1:'mypurecloud.ie',ap_southeast_2:'mypurecloud.com.au',ap_northeast_1:'mypurecloud.jp',eu_central_1:'mypurecloud.de',us_west_2:'usw2.pure.cloud',ca_central_1:'cac1.pure.cloud',ap_northeast_2:'apne2.pure.cloud',eu_west_2:'euw2.pure.cloud',ap_south_1:'aps1.pure.cloud',us_east_2:'use2.us-gov-pure.cloud',sa_east_1:'sae1.pure.cloud',me_central_1:'mec1.pure.cloud',ap_northeast_3:'apne3.pure.cloud',eu_central_2:'euc2.pure.cloud'};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)
|
|
5207
5291
|
// if there are two placeholders, than the two characters before it
|
|
5208
5292
|
// represent one byte
|
|
@@ -5357,7 +5441,25 @@ byteArray.push(str.charCodeAt(i)&0xFF);}return byteArray;}function utf16leToByte
|
|
|
5357
5441
|
// The _isBuffer check is for Safari 5-7 support, because it's missing
|
|
5358
5442
|
// Object.prototype.constructor. Remove this eventually
|
|
5359
5443
|
function isBuffer$1(obj){return obj!=null&&(!!obj._isBuffer||isFastBuffer(obj)||isSlowBuffer(obj));}function isFastBuffer(obj){return!!obj.constructor&&typeof obj.constructor.isBuffer==='function'&&obj.constructor.isBuffer(obj);}// For Node v0.10 support. Remove this eventually.
|
|
5360
|
-
function isSlowBuffer(obj){return typeof obj.readFloatLE==='function'&&typeof obj.slice==='function'&&isFastBuffer(obj.slice(0,0));}
|
|
5444
|
+
function isSlowBuffer(obj){return typeof obj.readFloatLE==='function'&&typeof obj.slice==='function'&&isFastBuffer(obj.slice(0,0));}// shim for using process in browser
|
|
5445
|
+
// based off https://github.com/defunctzombie/node-process/blob/master/browser.js
|
|
5446
|
+
function defaultSetTimout(){throw new Error('setTimeout has not been defined');}function defaultClearTimeout(){throw new Error('clearTimeout has not been defined');}var cachedSetTimeout=defaultSetTimout;var cachedClearTimeout=defaultClearTimeout;if(typeof global$1.setTimeout==='function'){cachedSetTimeout=setTimeout;}if(typeof global$1.clearTimeout==='function'){cachedClearTimeout=clearTimeout;}function runTimeout(fun){if(cachedSetTimeout===setTimeout){//normal enviroments in sane situations
|
|
5447
|
+
return setTimeout(fun,0);}// if setTimeout wasn't available but was latter defined
|
|
5448
|
+
if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0);}try{// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
5449
|
+
return cachedSetTimeout(fun,0);}catch(e){try{// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
5450
|
+
return cachedSetTimeout.call(null,fun,0);}catch(e){// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
|
|
5451
|
+
return cachedSetTimeout.call(this,fun,0);}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){//normal enviroments in sane situations
|
|
5452
|
+
return clearTimeout(marker);}// if clearTimeout wasn't available but was latter defined
|
|
5453
|
+
if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker);}try{// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
5454
|
+
return cachedClearTimeout(marker);}catch(e){try{// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
5455
|
+
return cachedClearTimeout.call(null,marker);}catch(e){// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
|
|
5456
|
+
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
|
5457
|
+
return cachedClearTimeout.call(this,marker);}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return;}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue);}else{queueIndex=-1;}if(queue.length){drainQueue();}}function drainQueue(){if(draining){return;}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run();}}queueIndex=-1;len=queue.length;}currentQueue=null;draining=false;runClearTimeout(timeout);}function nextTick(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i];}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue);}}// v8 likes predictible objects
|
|
5458
|
+
function Item(fun,array){this.fun=fun;this.array=array;}Item.prototype.run=function(){this.fun.apply(null,this.array);};var title='browser';var platform$2='browser';var browser=true;var env={};var argv=[];var version='';// empty string to avoid regexp issues
|
|
5459
|
+
var versions={};var release={};var config={};function noop$1(){}var on=noop$1;var addListener=noop$1;var once=noop$1;var off=noop$1;var removeListener=noop$1;var removeAllListeners=noop$1;var emit=noop$1;function binding(name){throw new Error('process.binding is not supported');}function cwd(){return'/';}function chdir(dir){throw new Error('process.chdir is not supported');}function umask(){return 0;}// from https://github.com/kumavis/browser-process-hrtime/blob/master/index.js
|
|
5460
|
+
var performance=global$1.performance||{};var performanceNow=performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow||function(){return new Date().getTime();};// generate timestamp or delta
|
|
5461
|
+
// see http://nodejs.org/api/process.html#process_process_hrtime
|
|
5462
|
+
function hrtime(previousTimestamp){var clocktime=performanceNow.call(performance)*1e-3;var seconds=Math.floor(clocktime);var nanoseconds=Math.floor(clocktime%1*1e9);if(previousTimestamp){seconds=seconds-previousTimestamp[0];nanoseconds=nanoseconds-previousTimestamp[1];if(nanoseconds<0){seconds--;nanoseconds+=1e9;}}return[seconds,nanoseconds];}var startTime=new Date();function uptime(){var currentTime=new Date();var dif=currentTime-startTime;return dif/1000;}var process={nextTick:nextTick,title:title,browser:browser,env:env,argv:argv,version:version,versions:versions,on:on,addListener:addListener,once:once,off:off,removeListener:removeListener,removeAllListeners:removeAllListeners,emit:emit,binding:binding,cwd:cwd,chdir:chdir,umask:umask,hrtime:hrtime,platform:platform$2,release:release,config:config,uptime:uptime};function bind(fn,thisArg){return function wrap(){return fn.apply(thisArg,arguments);};}// utils is a library of generic helper functions non-specific to axios
|
|
5361
5463
|
var toString=Object.prototype.toString;var getPrototypeOf=Object.getPrototypeOf;var kindOf=function(cache){return function(thing){var str=toString.call(thing);return cache[str]||(cache[str]=str.slice(8,-1).toLowerCase());};}(Object.create(null));var kindOfTest=function kindOfTest(type){type=type.toLowerCase();return function(thing){return kindOf(thing)===type;};};var typeOfTest=function typeOfTest(type){return function(thing){return _typeof(thing)===type;};};/**
|
|
5362
5464
|
* Determine if a value is an Array
|
|
5363
5465
|
*
|
|
@@ -5591,8 +5693,11 @@ if(isFunction(obj)&&['arguments','caller','callee'].indexOf(name)!==-1){return f
|
|
|
5591
5693
|
* @param {unknown} thing - The thing to check.
|
|
5592
5694
|
*
|
|
5593
5695
|
* @returns {boolean}
|
|
5594
|
-
*/function isSpecCompliantForm(thing){return!!(thing&&isFunction(thing.append)&&thing[Symbol.toStringTag]==='FormData'&&thing[Symbol.iterator]);}var toJSONObject=function toJSONObject(obj){var stack=new Array(10);var
|
|
5595
|
-
|
|
5696
|
+
*/function isSpecCompliantForm(thing){return!!(thing&&isFunction(thing.append)&&thing[Symbol.toStringTag]==='FormData'&&thing[Symbol.iterator]);}var toJSONObject=function toJSONObject(obj){var stack=new Array(10);var _visit=function visit(source,i){if(isObject(source)){if(stack.indexOf(source)>=0){return;}if(!('toJSON'in source)){stack[i]=source;var target=isArray(source)?[]:{};forEach(source,function(value,key){var reducedValue=_visit(value,i+1);!isUndefined(reducedValue)&&(target[key]=reducedValue);});stack[i]=undefined;return target;}}return source;};return _visit(obj,0);};var isAsyncFn=kindOfTest('AsyncFunction');var isThenable=function isThenable(thing){return thing&&(isObject(thing)||isFunction(thing))&&isFunction(thing.then)&&isFunction(thing["catch"]);};// original code
|
|
5697
|
+
// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
|
|
5698
|
+
var _setImmediate=function(setImmediateSupported,postMessageSupported){if(setImmediateSupported){return setImmediate;}return postMessageSupported?function(token,callbacks){_global.addEventListener("message",function(_ref6){var source=_ref6.source,data=_ref6.data;if(source===_global&&data===token){callbacks.length&&callbacks.shift()();}},false);return function(cb){callbacks.push(cb);_global.postMessage(token,"*");};}("axios@".concat(Math.random()),[]):function(cb){return setTimeout(cb);};}(typeof setImmediate==='function',isFunction(_global.postMessage));var asap=typeof queueMicrotask!=='undefined'?queueMicrotask.bind(_global):typeof process!=='undefined'&&nextTick||_setImmediate;// *********************
|
|
5699
|
+
var utils$1={isArray:isArray,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString,isNumber:isNumber,isBoolean:isBoolean,isObject:isObject,isPlainObject:isPlainObject,isReadableStream:isReadableStream,isRequest:isRequest,isResponse:isResponse,isHeaders:isHeaders,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isBlob:isBlob,isRegExp:isRegExp,isFunction:isFunction,isStream:isStream,isURLSearchParams:isURLSearchParams,isTypedArray:isTypedArray,isFileList:isFileList,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:isHTMLForm,hasOwnProperty:hasOwnProperty,hasOwnProp:hasOwnProperty,// an alias to avoid ESLint no-prototype-builtins detection
|
|
5700
|
+
reduceDescriptors:reduceDescriptors,freezeMethods:freezeMethods,toObjectSet:toObjectSet,toCamelCase:toCamelCase,noop:noop,toFiniteNumber:toFiniteNumber,findKey:findKey,global:_global,isContextDefined:isContextDefined,ALPHABET:ALPHABET,generateString:generateString,isSpecCompliantForm:isSpecCompliantForm,toJSONObject:toJSONObject,isAsyncFn:isAsyncFn,isThenable:isThenable,setImmediate:_setImmediate,asap:asap};/**
|
|
5596
5701
|
* Create an Error with the specified message, config, error code, request and response.
|
|
5597
5702
|
*
|
|
5598
5703
|
* @param {string} message The error message.
|
|
@@ -5802,8 +5907,8 @@ var ignoreDuplicateOf=utils$1.toObjectSet(['age','authorization','content-length
|
|
|
5802
5907
|
* @param {String} rawHeaders Headers needing to be parsed
|
|
5803
5908
|
*
|
|
5804
5909
|
* @returns {Object} Headers parsed into an object
|
|
5805
|
-
*/var parseHeaders=function parseHeaders(rawHeaders){var parsed={};var key;var val;var i;rawHeaders&&rawHeaders.split('\n').forEach(function parser(line){i=line.indexOf(':');key=line.substring(0,i).trim().toLowerCase();val=line.substring(i+1).trim();if(!key||parsed[key]&&ignoreDuplicateOf[key]){return;}if(key==='set-cookie'){if(parsed[key]){parsed[key].push(val);}else{parsed[key]=[val];}}else{parsed[key]=parsed[key]?parsed[key]+', '+val:val;}});return parsed;};var $internals=Symbol('internals');function normalizeHeader(header){return header&&String(header).trim().toLowerCase();}function normalizeValue(value){if(value===false||value==null){return value;}return utils$1.isArray(value)?value.map(normalizeValue):String(value);}function parseTokens(str){var tokens=Object.create(null);var tokensRE=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;var match;while(match=tokensRE.exec(str)){tokens[match[1]]=match[2];}return tokens;}var isValidHeaderName=function isValidHeaderName(str){return /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());};function matchHeaderValue(context,value,header,filter,isHeaderNameFilter){if(utils$1.isFunction(filter)){return filter.call(this,value,header);}if(isHeaderNameFilter){value=header;}if(!utils$1.isString(value))return;if(utils$1.isString(filter)){return value.indexOf(filter)!==-1;}if(utils$1.isRegExp(filter)){return filter.test(value);}}function formatHeader(header){return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,function(w,_char,str){return _char.toUpperCase()+str;});}function buildAccessors(obj,header){var accessorName=utils$1.toCamelCase(' '+header);['get','set','has'].forEach(function(methodName){Object.defineProperty(obj,methodName+accessorName,{value:function value(arg1,arg2,arg3){return this[methodName].call(this,header,arg1,arg2,arg3);},configurable:true});});}var AxiosHeaders=/*#__PURE__*/function(){function AxiosHeaders(headers){_classCallCheck(this,AxiosHeaders);headers&&this.set(headers);}return _createClass(AxiosHeaders,[{key:"set",value:function set(header,valueOrRewrite,rewrite){var self=this;function setHeader(_value,_header,_rewrite){var lHeader=normalizeHeader(_header);if(!lHeader){throw new Error('header name must be a non-empty string');}var key=utils$1.findKey(self,lHeader);if(!key||self[key]===undefined||_rewrite===true||_rewrite===undefined&&self[key]!==false){self[key||_header]=normalizeValue(_value);}}var setHeaders=function setHeaders(headers,_rewrite){return utils$1.forEach(headers,function(_value,_header){return setHeader(_value,_header,_rewrite);});};if(utils$1.isPlainObject(header)||header instanceof this.constructor){setHeaders(header,valueOrRewrite);}else if(utils$1.isString(header)&&(header=header.trim())&&!isValidHeaderName(header)){setHeaders(parseHeaders(header),valueOrRewrite);}else if(utils$1.isHeaders(header)){var _iterator2=_createForOfIteratorHelper(header.entries()),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var _step2$value=_slicedToArray(_step2.value,2),key=_step2$value[0],value=_step2$value[1];setHeader(value,key,rewrite);}}catch(err){_iterator2.e(err);}finally{_iterator2.f();}}else{header!=null&&setHeader(valueOrRewrite,header,rewrite);}return this;}},{key:"get",value:function get(header,parser){header=normalizeHeader(header);if(header){var key=utils$1.findKey(this,header);if(key){var value=this[key];if(!parser){return value;}if(parser===true){return parseTokens(value);}if(utils$1.isFunction(parser)){return parser.call(this,value,key);}if(utils$1.isRegExp(parser)){return parser.exec(value);}throw new TypeError('parser must be boolean|regexp|function');}}}},{key:"has",value:function has(header,matcher){header=normalizeHeader(header);if(header){var key=utils$1.findKey(this,header);return!!(key&&this[key]!==undefined&&(!matcher||matchHeaderValue(this,this[key],key,matcher)));}return false;}},{key:"delete",value:function _delete(header,matcher){var self=this;var deleted=false;function deleteHeader(_header){_header=normalizeHeader(_header);if(_header){var key=utils$1.findKey(self,_header);if(key&&(!matcher||matchHeaderValue(self,self[key],key,matcher))){delete self[key];deleted=true;}}}if(utils$1.isArray(header)){header.forEach(deleteHeader);}else{deleteHeader(header);}return deleted;}},{key:"clear",value:function clear(matcher){var keys=Object.keys(this);var i=keys.length;var deleted=false;while(i--){var key=keys[i];if(!matcher||matchHeaderValue(this,this[key],key,matcher,true)){delete this[key];deleted=true;}}return deleted;}},{key:"normalize",value:function normalize(format){var self=this;var headers={};utils$1.forEach(this,function(value,header){var key=utils$1.findKey(headers,header);if(key){self[key]=normalizeValue(value);delete self[header];return;}var normalized=format?formatHeader(header):String(header).trim();if(normalized!==header){delete self[header];}self[normalized]=normalizeValue(value);headers[normalized]=true;});return this;}},{key:"concat",value:function concat(){var _this$constructor;for(var _len=arguments.length,targets=new Array(_len),_key2=0;_key2<_len;_key2++){targets[_key2]=arguments[_key2];}return(_this$constructor=this.constructor).concat.apply(_this$constructor,[this].concat(targets));}},{key:"toJSON",value:function toJSON(asStrings){var obj=Object.create(null);utils$1.forEach(this,function(value,header){value!=null&&value!==false&&(obj[header]=asStrings&&utils$1.isArray(value)?value.join(', '):value);});return obj;}},{key:Symbol.iterator,value:function value(){return Object.entries(this.toJSON())[Symbol.iterator]();}},{key:"toString",value:function toString(){return Object.entries(this.toJSON()).map(function(
|
|
5806
|
-
utils$1.reduceDescriptors(AxiosHeaders.prototype,function(
|
|
5910
|
+
*/var parseHeaders=function parseHeaders(rawHeaders){var parsed={};var key;var val;var i;rawHeaders&&rawHeaders.split('\n').forEach(function parser(line){i=line.indexOf(':');key=line.substring(0,i).trim().toLowerCase();val=line.substring(i+1).trim();if(!key||parsed[key]&&ignoreDuplicateOf[key]){return;}if(key==='set-cookie'){if(parsed[key]){parsed[key].push(val);}else{parsed[key]=[val];}}else{parsed[key]=parsed[key]?parsed[key]+', '+val:val;}});return parsed;};var $internals=Symbol('internals');function normalizeHeader(header){return header&&String(header).trim().toLowerCase();}function normalizeValue(value){if(value===false||value==null){return value;}return utils$1.isArray(value)?value.map(normalizeValue):String(value);}function parseTokens(str){var tokens=Object.create(null);var tokensRE=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;var match;while(match=tokensRE.exec(str)){tokens[match[1]]=match[2];}return tokens;}var isValidHeaderName=function isValidHeaderName(str){return /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());};function matchHeaderValue(context,value,header,filter,isHeaderNameFilter){if(utils$1.isFunction(filter)){return filter.call(this,value,header);}if(isHeaderNameFilter){value=header;}if(!utils$1.isString(value))return;if(utils$1.isString(filter)){return value.indexOf(filter)!==-1;}if(utils$1.isRegExp(filter)){return filter.test(value);}}function formatHeader(header){return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,function(w,_char,str){return _char.toUpperCase()+str;});}function buildAccessors(obj,header){var accessorName=utils$1.toCamelCase(' '+header);['get','set','has'].forEach(function(methodName){Object.defineProperty(obj,methodName+accessorName,{value:function value(arg1,arg2,arg3){return this[methodName].call(this,header,arg1,arg2,arg3);},configurable:true});});}var AxiosHeaders=/*#__PURE__*/function(){function AxiosHeaders(headers){_classCallCheck(this,AxiosHeaders);headers&&this.set(headers);}return _createClass(AxiosHeaders,[{key:"set",value:function set(header,valueOrRewrite,rewrite){var self=this;function setHeader(_value,_header,_rewrite){var lHeader=normalizeHeader(_header);if(!lHeader){throw new Error('header name must be a non-empty string');}var key=utils$1.findKey(self,lHeader);if(!key||self[key]===undefined||_rewrite===true||_rewrite===undefined&&self[key]!==false){self[key||_header]=normalizeValue(_value);}}var setHeaders=function setHeaders(headers,_rewrite){return utils$1.forEach(headers,function(_value,_header){return setHeader(_value,_header,_rewrite);});};if(utils$1.isPlainObject(header)||header instanceof this.constructor){setHeaders(header,valueOrRewrite);}else if(utils$1.isString(header)&&(header=header.trim())&&!isValidHeaderName(header)){setHeaders(parseHeaders(header),valueOrRewrite);}else if(utils$1.isHeaders(header)){var _iterator2=_createForOfIteratorHelper(header.entries()),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var _step2$value=_slicedToArray(_step2.value,2),key=_step2$value[0],value=_step2$value[1];setHeader(value,key,rewrite);}}catch(err){_iterator2.e(err);}finally{_iterator2.f();}}else{header!=null&&setHeader(valueOrRewrite,header,rewrite);}return this;}},{key:"get",value:function get(header,parser){header=normalizeHeader(header);if(header){var key=utils$1.findKey(this,header);if(key){var value=this[key];if(!parser){return value;}if(parser===true){return parseTokens(value);}if(utils$1.isFunction(parser)){return parser.call(this,value,key);}if(utils$1.isRegExp(parser)){return parser.exec(value);}throw new TypeError('parser must be boolean|regexp|function');}}}},{key:"has",value:function has(header,matcher){header=normalizeHeader(header);if(header){var key=utils$1.findKey(this,header);return!!(key&&this[key]!==undefined&&(!matcher||matchHeaderValue(this,this[key],key,matcher)));}return false;}},{key:"delete",value:function _delete(header,matcher){var self=this;var deleted=false;function deleteHeader(_header){_header=normalizeHeader(_header);if(_header){var key=utils$1.findKey(self,_header);if(key&&(!matcher||matchHeaderValue(self,self[key],key,matcher))){delete self[key];deleted=true;}}}if(utils$1.isArray(header)){header.forEach(deleteHeader);}else{deleteHeader(header);}return deleted;}},{key:"clear",value:function clear(matcher){var keys=Object.keys(this);var i=keys.length;var deleted=false;while(i--){var key=keys[i];if(!matcher||matchHeaderValue(this,this[key],key,matcher,true)){delete this[key];deleted=true;}}return deleted;}},{key:"normalize",value:function normalize(format){var self=this;var headers={};utils$1.forEach(this,function(value,header){var key=utils$1.findKey(headers,header);if(key){self[key]=normalizeValue(value);delete self[header];return;}var normalized=format?formatHeader(header):String(header).trim();if(normalized!==header){delete self[header];}self[normalized]=normalizeValue(value);headers[normalized]=true;});return this;}},{key:"concat",value:function concat(){var _this$constructor;for(var _len=arguments.length,targets=new Array(_len),_key2=0;_key2<_len;_key2++){targets[_key2]=arguments[_key2];}return(_this$constructor=this.constructor).concat.apply(_this$constructor,[this].concat(targets));}},{key:"toJSON",value:function toJSON(asStrings){var obj=Object.create(null);utils$1.forEach(this,function(value,header){value!=null&&value!==false&&(obj[header]=asStrings&&utils$1.isArray(value)?value.join(', '):value);});return obj;}},{key:Symbol.iterator,value:function value(){return Object.entries(this.toJSON())[Symbol.iterator]();}},{key:"toString",value:function toString(){return Object.entries(this.toJSON()).map(function(_ref7){var _ref8=_slicedToArray(_ref7,2),header=_ref8[0],value=_ref8[1];return header+': '+value;}).join('\n');}},{key:Symbol.toStringTag,get:function get(){return'AxiosHeaders';}}],[{key:"from",value:function from(thing){return thing instanceof this?thing:new this(thing);}},{key:"concat",value:function concat(first){var computed=new this(first);for(var _len2=arguments.length,targets=new Array(_len2>1?_len2-1:0),_key3=1;_key3<_len2;_key3++){targets[_key3-1]=arguments[_key3];}targets.forEach(function(target){return computed.set(target);});return computed;}},{key:"accessor",value:function accessor(header){var internals=this[$internals]=this[$internals]={accessors:{}};var accessors=internals.accessors;var prototype=this.prototype;function defineAccessor(_header){var lHeader=normalizeHeader(_header);if(!accessors[lHeader]){buildAccessors(prototype,_header);accessors[lHeader]=true;}}utils$1.isArray(header)?header.forEach(defineAccessor):defineAccessor(header);return this;}}]);}();AxiosHeaders.accessor(['Content-Type','Content-Length','Accept','Accept-Encoding','User-Agent','Authorization']);// reserved names hotfix
|
|
5911
|
+
utils$1.reduceDescriptors(AxiosHeaders.prototype,function(_ref9,key){var value=_ref9.value;var mapped=key[0].toUpperCase()+key.slice(1);// map `set` => `Set`
|
|
5807
5912
|
return{get:function get(){return value;},set:function set(headerValue){this[mapped]=headerValue;}};});utils$1.freezeMethods(AxiosHeaders);var AxiosHeaders$1=AxiosHeaders;/**
|
|
5808
5913
|
* Transform the data for a request or a response
|
|
5809
5914
|
*
|
|
@@ -5838,7 +5943,7 @@ AxiosError.call(this,message==null?'canceled':message,AxiosError.ERR_CANCELED,co
|
|
|
5838
5943
|
* @param {Function} fn
|
|
5839
5944
|
* @param {Number} freq
|
|
5840
5945
|
* @return {Function}
|
|
5841
|
-
*/function throttle(fn,freq){var timestamp=0;var threshold=1000/freq;var timer
|
|
5946
|
+
*/function throttle(fn,freq){var timestamp=0;var threshold=1000/freq;var lastArgs;var timer;var invoke=function invoke(args){var now=arguments.length>1&&arguments[1]!==undefined?arguments[1]:Date.now();timestamp=now;lastArgs=null;if(timer){clearTimeout(timer);timer=null;}fn.apply(null,args);};var throttled=function throttled(){var now=Date.now();var passed=now-timestamp;for(var _len3=arguments.length,args=new Array(_len3),_key4=0;_key4<_len3;_key4++){args[_key4]=arguments[_key4];}if(passed>=threshold){invoke(args,now);}else{lastArgs=args;if(!timer){timer=setTimeout(function(){timer=null;invoke(lastArgs);},threshold-passed);}}};var flush=function flush(){return lastArgs&&invoke(lastArgs);};return[throttled,flush];}var progressEventReducer=function progressEventReducer(listener,isDownloadStream){var freq=arguments.length>2&&arguments[2]!==undefined?arguments[2]:3;var bytesNotified=0;var _speedometer=speedometer(50,250);return throttle(function(e){var loaded=e.loaded;var total=e.lengthComputable?e.total:undefined;var progressBytes=loaded-bytesNotified;var rate=_speedometer(progressBytes);var inRange=loaded<=total;bytesNotified=loaded;var data=_defineProperty({loaded:loaded,total:total,progress:total?loaded/total:undefined,bytes:progressBytes,rate:rate?rate:undefined,estimated:rate&&total&&inRange?(total-loaded)/rate:undefined,event:e,lengthComputable:total!=null},isDownloadStream?'download':'upload',true);listener(data);},freq);};var progressEventDecorator=function progressEventDecorator(total,throttled){var lengthComputable=total!=null;return[function(loaded){return throttled[0]({lengthComputable:lengthComputable,total:total,loaded:loaded});},throttled[1]];};var asyncDecorator=function asyncDecorator(fn){return function(){for(var _len4=arguments.length,args=new Array(_len4),_key5=0;_key5<_len4;_key5++){args[_key5]=arguments[_key5];}return utils$1.asap(function(){return fn.apply(void 0,args);});};};var isURLSameOrigin=platform.hasStandardBrowserEnv?// Standard browser envs have full support of the APIs needed to test
|
|
5842
5947
|
// whether the request URL is of the same origin as current location.
|
|
5843
5948
|
function standardBrowserEnv(){var msie=/(msie|trident)/i.test(navigator.userAgent);var urlParsingNode=document.createElement('a');var originURL;/**
|
|
5844
5949
|
* Parse a URL to discover its components
|
|
@@ -5896,11 +6001,13 @@ function defaultToConfig2(a,b){if(!utils$1.isUndefined(b)){return getMergedValue
|
|
|
5896
6001
|
function mergeDirectKeys(a,b,prop){if(prop in config2){return getMergedValue(a,b);}else if(prop in config1){return getMergedValue(undefined,a);}}var mergeMap={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,withXSRFToken:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:function headers(a,b){return mergeDeepProperties(headersToObject(a),headersToObject(b),true);}};utils$1.forEach(Object.keys(Object.assign({},config1,config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(config1[prop],config2[prop],prop);utils$1.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;}var resolveConfig=function resolveConfig(config){var newConfig=mergeConfig({},config);var data=newConfig.data,withXSRFToken=newConfig.withXSRFToken,xsrfHeaderName=newConfig.xsrfHeaderName,xsrfCookieName=newConfig.xsrfCookieName,headers=newConfig.headers,auth=newConfig.auth;newConfig.headers=headers=AxiosHeaders$1.from(headers);newConfig.url=buildURL(buildFullPath(newConfig.baseURL,newConfig.url),config.params,config.paramsSerializer);// HTTP basic authentication
|
|
5897
6002
|
if(auth){headers.set('Authorization','Basic '+btoa((auth.username||'')+':'+(auth.password?unescape(encodeURIComponent(auth.password)):'')));}var contentType;if(utils$1.isFormData(data)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv){headers.setContentType(undefined);// Let the browser set it
|
|
5898
6003
|
}else if((contentType=headers.getContentType())!==false){// fix semicolon duplication issue for ReactNative FormData implementation
|
|
5899
|
-
var
|
|
6004
|
+
var _ref10=contentType?contentType.split(';').map(function(token){return token.trim();}).filter(Boolean):[],_ref11=_toArray(_ref10),type=_ref11[0],tokens=_ref11.slice(1);headers.setContentType([type||'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));}}// Add xsrf header
|
|
5900
6005
|
// This is only done if running in a standard browser environment.
|
|
5901
6006
|
// Specifically not if we're in a web worker, or react-native.
|
|
5902
6007
|
if(platform.hasStandardBrowserEnv){withXSRFToken&&utils$1.isFunction(withXSRFToken)&&(withXSRFToken=withXSRFToken(newConfig));if(withXSRFToken||withXSRFToken!==false&&isURLSameOrigin(newConfig.url)){// Add xsrf header
|
|
5903
|
-
var xsrfValue=xsrfHeaderName&&xsrfCookieName&&cookies.read(xsrfCookieName);if(xsrfValue){headers.set(xsrfHeaderName,xsrfValue);}}}return newConfig;};var isXHRAdapterSupported=typeof XMLHttpRequest!=='undefined';var xhrAdapter=isXHRAdapterSupported&&function(config){return new Promise(function dispatchXhrRequest(resolve,reject){var _config=resolveConfig(config);var requestData=_config.data;var requestHeaders=AxiosHeaders$1.from(_config.headers).normalize();var responseType=_config.responseType;var onCanceled;
|
|
6008
|
+
var xsrfValue=xsrfHeaderName&&xsrfCookieName&&cookies.read(xsrfCookieName);if(xsrfValue){headers.set(xsrfHeaderName,xsrfValue);}}}return newConfig;};var isXHRAdapterSupported=typeof XMLHttpRequest!=='undefined';var xhrAdapter=isXHRAdapterSupported&&function(config){return new Promise(function dispatchXhrRequest(resolve,reject){var _config=resolveConfig(config);var requestData=_config.data;var requestHeaders=AxiosHeaders$1.from(_config.headers).normalize();var responseType=_config.responseType,onUploadProgress=_config.onUploadProgress,onDownloadProgress=_config.onDownloadProgress;var onCanceled;var uploadThrottled,downloadThrottled;var flushUpload,flushDownload;function done(){flushUpload&&flushUpload();// flush events
|
|
6009
|
+
flushDownload&&flushDownload();// flush events
|
|
6010
|
+
_config.cancelToken&&_config.cancelToken.unsubscribe(onCanceled);_config.signal&&_config.signal.removeEventListener('abort',onCanceled);}var request=new XMLHttpRequest();request.open(_config.method.toUpperCase(),_config.url,true);// Set the request timeout in MS
|
|
5904
6011
|
request.timeout=_config.timeout;function onloadend(){if(!request){return;}// Prepare the response
|
|
5905
6012
|
var responseHeaders=AxiosHeaders$1.from('getAllResponseHeaders'in request&&request.getAllResponseHeaders());var responseData=!responseType||responseType==='text'||responseType==='json'?request.responseText:request.response;var response={data:responseData,status:request.status,statusText:request.statusText,headers:responseHeaders,config:config,request:request};settle(function _resolve(value){resolve(value);done();},function _reject(err){reject(err);done();},response);// Clean up request
|
|
5906
6013
|
request=null;}if('onloadend'in request){// Use onloadend if available
|
|
@@ -5912,26 +6019,25 @@ request.onreadystatechange=function handleLoad(){if(!request||request.readyState
|
|
|
5912
6019
|
if(request.status===0&&!(request.responseURL&&request.responseURL.indexOf('file:')===0)){return;}// readystate handler is calling before onerror or ontimeout handlers,
|
|
5913
6020
|
// so we should call onloadend on the next 'tick'
|
|
5914
6021
|
setTimeout(onloadend);};}// Handle browser request cancellation (as opposed to a manual cancellation)
|
|
5915
|
-
request.onabort=function handleAbort(){if(!request){return;}reject(new AxiosError('Request aborted',AxiosError.ECONNABORTED,
|
|
6022
|
+
request.onabort=function handleAbort(){if(!request){return;}reject(new AxiosError('Request aborted',AxiosError.ECONNABORTED,config,request));// Clean up request
|
|
5916
6023
|
request=null;};// Handle low level network errors
|
|
5917
6024
|
request.onerror=function handleError(){// Real errors are hidden from us by the browser
|
|
5918
6025
|
// onerror should only fire if it's a network error
|
|
5919
|
-
reject(new AxiosError('Network Error',AxiosError.ERR_NETWORK,
|
|
6026
|
+
reject(new AxiosError('Network Error',AxiosError.ERR_NETWORK,config,request));// Clean up request
|
|
5920
6027
|
request=null;};// Handle timeout
|
|
5921
|
-
request.ontimeout=function handleTimeout(){var timeoutErrorMessage=_config.timeout?'timeout of '+_config.timeout+'ms exceeded':'timeout exceeded';var transitional=_config.transitional||transitionalDefaults;if(_config.timeoutErrorMessage){timeoutErrorMessage=_config.timeoutErrorMessage;}reject(new AxiosError(timeoutErrorMessage,transitional.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,
|
|
6028
|
+
request.ontimeout=function handleTimeout(){var timeoutErrorMessage=_config.timeout?'timeout of '+_config.timeout+'ms exceeded':'timeout exceeded';var transitional=_config.transitional||transitionalDefaults;if(_config.timeoutErrorMessage){timeoutErrorMessage=_config.timeoutErrorMessage;}reject(new AxiosError(timeoutErrorMessage,transitional.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,config,request));// Clean up request
|
|
5922
6029
|
request=null;};// Remove Content-Type if data is undefined
|
|
5923
6030
|
requestData===undefined&&requestHeaders.setContentType(null);// Add headers to the request
|
|
5924
6031
|
if('setRequestHeader'in request){utils$1.forEach(requestHeaders.toJSON(),function setRequestHeader(val,key){request.setRequestHeader(key,val);});}// Add withCredentials to request if needed
|
|
5925
6032
|
if(!utils$1.isUndefined(_config.withCredentials)){request.withCredentials=!!_config.withCredentials;}// Add responseType to request if needed
|
|
5926
6033
|
if(responseType&&responseType!=='json'){request.responseType=_config.responseType;}// Handle progress if needed
|
|
5927
|
-
if(
|
|
5928
|
-
if(
|
|
6034
|
+
if(onDownloadProgress){var _progressEventReducer=progressEventReducer(onDownloadProgress,true);var _progressEventReducer2=_slicedToArray(_progressEventReducer,2);downloadThrottled=_progressEventReducer2[0];flushDownload=_progressEventReducer2[1];request.addEventListener('progress',downloadThrottled);}// Not all browsers support upload events
|
|
6035
|
+
if(onUploadProgress&&request.upload){var _progressEventReducer3=progressEventReducer(onUploadProgress);var _progressEventReducer4=_slicedToArray(_progressEventReducer3,2);uploadThrottled=_progressEventReducer4[0];flushUpload=_progressEventReducer4[1];request.upload.addEventListener('progress',uploadThrottled);request.upload.addEventListener('loadend',flushUpload);}if(_config.cancelToken||_config.signal){// Handle cancellation
|
|
5929
6036
|
// eslint-disable-next-line func-names
|
|
5930
6037
|
onCanceled=function onCanceled(cancel){if(!request){return;}reject(!cancel||cancel.type?new CanceledError(null,config,request):cancel);request.abort();request=null;};_config.cancelToken&&_config.cancelToken.subscribe(onCanceled);if(_config.signal){_config.signal.aborted?onCanceled():_config.signal.addEventListener('abort',onCanceled);}}var protocol=parseProtocol(_config.url);if(protocol&&platform.protocols.indexOf(protocol)===-1){reject(new AxiosError('Unsupported protocol '+protocol+':',AxiosError.ERR_BAD_REQUEST,config));return;}// Send the request
|
|
5931
|
-
request.send(requestData||null);});};var composeSignals=function composeSignals(signals,timeout){var controller=new AbortController();var aborted;var onabort=function onabort(cancel){if(!aborted){aborted=true;unsubscribe();var err=cancel instanceof Error?cancel:this.reason;controller.abort(err instanceof AxiosError?err:new CanceledError(err instanceof Error?err.message:err));}};var timer=timeout&&setTimeout(function(){onabort(new AxiosError("timeout ".concat(timeout," of ms exceeded"),AxiosError.ETIMEDOUT));},timeout);var unsubscribe=function unsubscribe(){if(signals){timer&&clearTimeout(timer);timer=null;signals.forEach(function(signal){signal&&(signal.removeEventListener?signal.removeEventListener('abort',onabort):signal.unsubscribe(onabort));});signals=null;}};signals.forEach(function(signal){return signal&&signal.addEventListener&&signal.addEventListener('abort',onabort);});var signal=controller.signal;signal.unsubscribe=unsubscribe;return[signal,function(){timer&&clearTimeout(timer);timer=null;}];};var composeSignals$1=composeSignals;var streamChunk=/*#__PURE__*/_regeneratorRuntime().mark(function streamChunk(chunk,chunkSize){var len,pos,end;return _regeneratorRuntime().wrap(function streamChunk$(_context){while(1)switch(_context.prev=_context.next){case 0:len=chunk.byteLength;if(!(!chunkSize||len<chunkSize)){_context.next=5;break;}_context.next=4;return chunk;case 4:return _context.abrupt("return");case 5:pos=0;case 6:if(!(pos<len)){_context.next=13;break;}end=pos+chunkSize;_context.next=10;return chunk.slice(pos,end);case 10:pos=end;_context.next=6;break;case 13:case"end":return _context.stop();}},streamChunk);});var readBytes=/*#__PURE__*/function(){var _ref=_wrapAsyncGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(iterable,chunkSize,encode){var _iteratorAbruptCompletion,_didIteratorError,_iteratorError,_iterator,_step,chunk;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_iteratorAbruptCompletion=false;_didIteratorError=false;_context2.prev=2;_iterator=_asyncIterator(iterable);case 4:_context2.next=6;return _awaitAsyncGenerator(_iterator.next());case 6:if(!(_iteratorAbruptCompletion=!(_step=_context2.sent).done)){_context2.next=27;break;}chunk=_step.value;_context2.t0=_asyncGeneratorDelegate;_context2.t1=_asyncIterator;_context2.t2=streamChunk;if(!ArrayBuffer.isView(chunk)){_context2.next=15;break;}_context2.t3=chunk;_context2.next=18;break;case 15:_context2.next=17;return _awaitAsyncGenerator(encode(String(chunk)));case 17:_context2.t3=_context2.sent;case 18:_context2.t4=_context2.t3;_context2.t5=chunkSize;_context2.t6=(0,_context2.t2)(_context2.t4,_context2.t5);_context2.t7=(0,_context2.t1)(_context2.t6);_context2.t8=_awaitAsyncGenerator;return _context2.delegateYield((0,_context2.t0)(_context2.t7,_context2.t8),"t9",24);case 24:_iteratorAbruptCompletion=false;_context2.next=4;break;case 27:_context2.next=33;break;case 29:_context2.prev=29;_context2.t10=_context2["catch"](2);_didIteratorError=true;_iteratorError=_context2.t10;case 33:_context2.prev=33;_context2.prev=34;if(!(_iteratorAbruptCompletion&&_iterator["return"]!=null)){_context2.next=38;break;}_context2.next=38;return _awaitAsyncGenerator(_iterator["return"]());case 38:_context2.prev=38;if(!_didIteratorError){_context2.next=41;break;}throw _iteratorError;case 41:return _context2.finish(38);case 42:return _context2.finish(33);case 43:case"end":return _context2.stop();}},_callee,null,[[2,29,33,43],[34,,38,42]]);}));return function readBytes(_x,_x2,_x3){return _ref.apply(this,arguments);};}();var trackStream=function trackStream(stream,chunkSize,onProgress,onFinish,encode){var iterator=readBytes(stream,chunkSize,encode);var bytes=0;return new ReadableStream({
|
|
5932
|
-
var encodeText=isFetchSupported&&(typeof TextEncoder==='function'?function(encoder){return function(str){return encoder.encode(str);};}(new TextEncoder()):(/*#__PURE__*/function(){var
|
|
5933
|
-
}
|
|
5934
|
-
}Object.defineProperty(fn,'adapterName',{value:value});}});var renderReason=function renderReason(reason){return"- ".concat(reason);};var isResolvedHandle=function isResolvedHandle(adapter){return utils$1.isFunction(adapter)||adapter===null||adapter===false;};var adapters={getAdapter:function getAdapter(adapters){adapters=utils$1.isArray(adapters)?adapters:[adapters];var _adapters=adapters,length=_adapters.length;var nameOrAdapter;var adapter;var rejectedReasons={};for(var i=0;i<length;i++){nameOrAdapter=adapters[i];var id=void 0;adapter=nameOrAdapter;if(!isResolvedHandle(nameOrAdapter)){adapter=knownAdapters[(id=String(nameOrAdapter)).toLowerCase()];if(adapter===undefined){throw new AxiosError("Unknown adapter '".concat(id,"'"));}}if(adapter){break;}rejectedReasons[id||'#'+i]=adapter;}if(!adapter){var reasons=Object.entries(rejectedReasons).map(function(_ref17){var _ref18=_slicedToArray(_ref17,2),id=_ref18[0],state=_ref18[1];return"adapter ".concat(id," ")+(state===false?'is not supported by the environment':'is not available in the build');});var s=length?reasons.length>1?'since :\n'+reasons.map(renderReason).join('\n'):' '+renderReason(reasons[0]):'as no adapter specified';throw new AxiosError("There is no suitable adapter to dispatch the request "+s,'ERR_NOT_SUPPORT');}return adapter;},adapters:knownAdapters};/**
|
|
6038
|
+
request.send(requestData||null);});};var composeSignals=function composeSignals(signals,timeout){var controller=new AbortController();var aborted;var onabort=function onabort(cancel){if(!aborted){aborted=true;unsubscribe();var err=cancel instanceof Error?cancel:this.reason;controller.abort(err instanceof AxiosError?err:new CanceledError(err instanceof Error?err.message:err));}};var timer=timeout&&setTimeout(function(){onabort(new AxiosError("timeout ".concat(timeout," of ms exceeded"),AxiosError.ETIMEDOUT));},timeout);var unsubscribe=function unsubscribe(){if(signals){timer&&clearTimeout(timer);timer=null;signals.forEach(function(signal){signal&&(signal.removeEventListener?signal.removeEventListener('abort',onabort):signal.unsubscribe(onabort));});signals=null;}};signals.forEach(function(signal){return signal&&signal.addEventListener&&signal.addEventListener('abort',onabort);});var signal=controller.signal;signal.unsubscribe=unsubscribe;return[signal,function(){timer&&clearTimeout(timer);timer=null;}];};var composeSignals$1=composeSignals;var streamChunk=/*#__PURE__*/_regeneratorRuntime().mark(function streamChunk(chunk,chunkSize){var len,pos,end;return _regeneratorRuntime().wrap(function streamChunk$(_context){while(1)switch(_context.prev=_context.next){case 0:len=chunk.byteLength;if(!(!chunkSize||len<chunkSize)){_context.next=5;break;}_context.next=4;return chunk;case 4:return _context.abrupt("return");case 5:pos=0;case 6:if(!(pos<len)){_context.next=13;break;}end=pos+chunkSize;_context.next=10;return chunk.slice(pos,end);case 10:pos=end;_context.next=6;break;case 13:case"end":return _context.stop();}},streamChunk);});var readBytes=/*#__PURE__*/function(){var _ref=_wrapAsyncGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(iterable,chunkSize,encode){var _iteratorAbruptCompletion,_didIteratorError,_iteratorError,_iterator,_step,chunk;return _regeneratorRuntime().wrap(function _callee$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_iteratorAbruptCompletion=false;_didIteratorError=false;_context2.prev=2;_iterator=_asyncIterator(iterable);case 4:_context2.next=6;return _awaitAsyncGenerator(_iterator.next());case 6:if(!(_iteratorAbruptCompletion=!(_step=_context2.sent).done)){_context2.next=27;break;}chunk=_step.value;_context2.t0=_asyncGeneratorDelegate;_context2.t1=_asyncIterator;_context2.t2=streamChunk;if(!ArrayBuffer.isView(chunk)){_context2.next=15;break;}_context2.t3=chunk;_context2.next=18;break;case 15:_context2.next=17;return _awaitAsyncGenerator(encode(String(chunk)));case 17:_context2.t3=_context2.sent;case 18:_context2.t4=_context2.t3;_context2.t5=chunkSize;_context2.t6=(0,_context2.t2)(_context2.t4,_context2.t5);_context2.t7=(0,_context2.t1)(_context2.t6);_context2.t8=_awaitAsyncGenerator;return _context2.delegateYield((0,_context2.t0)(_context2.t7,_context2.t8),"t9",24);case 24:_iteratorAbruptCompletion=false;_context2.next=4;break;case 27:_context2.next=33;break;case 29:_context2.prev=29;_context2.t10=_context2["catch"](2);_didIteratorError=true;_iteratorError=_context2.t10;case 33:_context2.prev=33;_context2.prev=34;if(!(_iteratorAbruptCompletion&&_iterator["return"]!=null)){_context2.next=38;break;}_context2.next=38;return _awaitAsyncGenerator(_iterator["return"]());case 38:_context2.prev=38;if(!_didIteratorError){_context2.next=41;break;}throw _iteratorError;case 41:return _context2.finish(38);case 42:return _context2.finish(33);case 43:case"end":return _context2.stop();}},_callee,null,[[2,29,33,43],[34,,38,42]]);}));return function readBytes(_x,_x2,_x3){return _ref.apply(this,arguments);};}();var trackStream=function trackStream(stream,chunkSize,onProgress,onFinish,encode){var iterator=readBytes(stream,chunkSize,encode);var bytes=0;var done;var _onFinish=function _onFinish(e){if(!done){done=true;onFinish&&onFinish(e);}};return new ReadableStream({pull:function pull(controller){return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(){var _yield$iterator$next,_done,value,len,loadedBytes;return _regeneratorRuntime().wrap(function _callee2$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.prev=0;_context3.next=3;return iterator.next();case 3:_yield$iterator$next=_context3.sent;_done=_yield$iterator$next.done;value=_yield$iterator$next.value;if(!_done){_context3.next=10;break;}_onFinish();controller.close();return _context3.abrupt("return");case 10:len=value.byteLength;if(onProgress){loadedBytes=bytes+=len;onProgress(loadedBytes);}controller.enqueue(new Uint8Array(value));_context3.next=19;break;case 15:_context3.prev=15;_context3.t0=_context3["catch"](0);_onFinish(_context3.t0);throw _context3.t0;case 19:case"end":return _context3.stop();}},_callee2,null,[[0,15]]);}))();},cancel:function cancel(reason){_onFinish(reason);return iterator["return"]();}},{highWaterMark:2});};var isFetchSupported=typeof fetch==='function'&&typeof Request==='function'&&typeof Response==='function';var isReadableStreamSupported=isFetchSupported&&typeof ReadableStream==='function';// used only inside the fetch adapter
|
|
6039
|
+
var encodeText=isFetchSupported&&(typeof TextEncoder==='function'?function(encoder){return function(str){return encoder.encode(str);};}(new TextEncoder()):(/*#__PURE__*/function(){var _ref12=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(str){return _regeneratorRuntime().wrap(function _callee3$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.t0=Uint8Array;_context4.next=3;return new Response(str).arrayBuffer();case 3:_context4.t1=_context4.sent;return _context4.abrupt("return",new _context4.t0(_context4.t1));case 5:case"end":return _context4.stop();}},_callee3);}));return function(_x4){return _ref12.apply(this,arguments);};}()));var test=function test(fn){try{for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key6=1;_key6<_len5;_key6++){args[_key6-1]=arguments[_key6];}return!!fn.apply(void 0,args);}catch(e){return false;}};var supportsRequestStream=isReadableStreamSupported&&test(function(){var duplexAccessed=false;var hasContentType=new Request(platform.origin,{body:new ReadableStream(),method:'POST',get duplex(){duplexAccessed=true;return'half';}}).headers.has('Content-Type');return duplexAccessed&&!hasContentType;});var DEFAULT_CHUNK_SIZE=64*1024;var supportsResponseStream=isReadableStreamSupported&&test(function(){return utils$1.isReadableStream(new Response('').body);});var resolvers={stream:supportsResponseStream&&function(res){return res.body;}};isFetchSupported&&function(res){['text','arrayBuffer','blob','formData','stream'].forEach(function(type){!resolvers[type]&&(resolvers[type]=utils$1.isFunction(res[type])?function(res){return res[type]();}:function(_,config){throw new AxiosError("Response type '".concat(type,"' is not supported"),AxiosError.ERR_NOT_SUPPORT,config);});});}(new Response());var getBodyLength=/*#__PURE__*/function(){var _ref13=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(body){return _regeneratorRuntime().wrap(function _callee4$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:if(!(body==null)){_context5.next=2;break;}return _context5.abrupt("return",0);case 2:if(!utils$1.isBlob(body)){_context5.next=4;break;}return _context5.abrupt("return",body.size);case 4:if(!utils$1.isSpecCompliantForm(body)){_context5.next=8;break;}_context5.next=7;return new Request(body).arrayBuffer();case 7:return _context5.abrupt("return",_context5.sent.byteLength);case 8:if(!(utils$1.isArrayBufferView(body)||utils$1.isArrayBuffer(body))){_context5.next=10;break;}return _context5.abrupt("return",body.byteLength);case 10:if(utils$1.isURLSearchParams(body)){body=body+'';}if(!utils$1.isString(body)){_context5.next=15;break;}_context5.next=14;return encodeText(body);case 14:return _context5.abrupt("return",_context5.sent.byteLength);case 15:case"end":return _context5.stop();}},_callee4);}));return function getBodyLength(_x5){return _ref13.apply(this,arguments);};}();var resolveBodyLength=/*#__PURE__*/function(){var _ref14=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5(headers,body){var length;return _regeneratorRuntime().wrap(function _callee5$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:length=utils$1.toFiniteNumber(headers.getContentLength());return _context6.abrupt("return",length==null?getBodyLength(body):length);case 2:case"end":return _context6.stop();}},_callee5);}));return function resolveBodyLength(_x6,_x7){return _ref14.apply(this,arguments);};}();var fetchAdapter=isFetchSupported&&(/*#__PURE__*/function(){var _ref15=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(config){var _resolveConfig,url,method,data,signal,cancelToken,timeout,onDownloadProgress,onUploadProgress,responseType,headers,_resolveConfig$withCr,withCredentials,fetchOptions,_ref16,_ref17,composedSignal,stopTimeout,finished,request,onFinish,requestContentLength,_request,contentTypeHeader,_progressEventDecorat,_progressEventDecorat2,onProgress,flush,response,isStreamResponse,options,responseContentLength,_ref18,_ref19,_onProgress,_flush,responseData;return _regeneratorRuntime().wrap(function _callee6$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:_resolveConfig=resolveConfig(config),url=_resolveConfig.url,method=_resolveConfig.method,data=_resolveConfig.data,signal=_resolveConfig.signal,cancelToken=_resolveConfig.cancelToken,timeout=_resolveConfig.timeout,onDownloadProgress=_resolveConfig.onDownloadProgress,onUploadProgress=_resolveConfig.onUploadProgress,responseType=_resolveConfig.responseType,headers=_resolveConfig.headers,_resolveConfig$withCr=_resolveConfig.withCredentials,withCredentials=_resolveConfig$withCr===void 0?'same-origin':_resolveConfig$withCr,fetchOptions=_resolveConfig.fetchOptions;responseType=responseType?(responseType+'').toLowerCase():'text';_ref16=signal||cancelToken||timeout?composeSignals$1([signal,cancelToken],timeout):[],_ref17=_slicedToArray(_ref16,2),composedSignal=_ref17[0],stopTimeout=_ref17[1];onFinish=function onFinish(){!finished&&setTimeout(function(){composedSignal&&composedSignal.unsubscribe();});finished=true;};_context7.prev=4;_context7.t0=onUploadProgress&&supportsRequestStream&&method!=='get'&&method!=='head';if(!_context7.t0){_context7.next=11;break;}_context7.next=9;return resolveBodyLength(headers,data);case 9:_context7.t1=requestContentLength=_context7.sent;_context7.t0=_context7.t1!==0;case 11:if(!_context7.t0){_context7.next=15;break;}_request=new Request(url,{method:'POST',body:data,duplex:"half"});if(utils$1.isFormData(data)&&(contentTypeHeader=_request.headers.get('content-type'))){headers.setContentType(contentTypeHeader);}if(_request.body){_progressEventDecorat=progressEventDecorator(requestContentLength,progressEventReducer(asyncDecorator(onUploadProgress))),_progressEventDecorat2=_slicedToArray(_progressEventDecorat,2),onProgress=_progressEventDecorat2[0],flush=_progressEventDecorat2[1];data=trackStream(_request.body,DEFAULT_CHUNK_SIZE,onProgress,flush,encodeText);}case 15:if(!utils$1.isString(withCredentials)){withCredentials=withCredentials?'include':'omit';}request=new Request(url,_objectSpread(_objectSpread({},fetchOptions),{},{signal:composedSignal,method:method.toUpperCase(),headers:headers.normalize().toJSON(),body:data,duplex:"half",credentials:withCredentials}));_context7.next=19;return fetch(request);case 19:response=_context7.sent;isStreamResponse=supportsResponseStream&&(responseType==='stream'||responseType==='response');if(supportsResponseStream&&(onDownloadProgress||isStreamResponse)){options={};['status','statusText','headers'].forEach(function(prop){options[prop]=response[prop];});responseContentLength=utils$1.toFiniteNumber(response.headers.get('content-length'));_ref18=onDownloadProgress&&progressEventDecorator(responseContentLength,progressEventReducer(asyncDecorator(onDownloadProgress),true))||[],_ref19=_slicedToArray(_ref18,2),_onProgress=_ref19[0],_flush=_ref19[1];response=new Response(trackStream(response.body,DEFAULT_CHUNK_SIZE,_onProgress,function(){_flush&&_flush();isStreamResponse&&onFinish();},encodeText),options);}responseType=responseType||'text';_context7.next=25;return resolvers[utils$1.findKey(resolvers,responseType)||'text'](response,config);case 25:responseData=_context7.sent;!isStreamResponse&&onFinish();stopTimeout&&stopTimeout();_context7.next=30;return new Promise(function(resolve,reject){settle(resolve,reject,{data:responseData,headers:AxiosHeaders$1.from(response.headers),status:response.status,statusText:response.statusText,config:config,request:request});});case 30:return _context7.abrupt("return",_context7.sent);case 33:_context7.prev=33;_context7.t2=_context7["catch"](4);onFinish();if(!(_context7.t2&&_context7.t2.name==='TypeError'&&/fetch/i.test(_context7.t2.message))){_context7.next=38;break;}throw Object.assign(new AxiosError('Network Error',AxiosError.ERR_NETWORK,config,request),{cause:_context7.t2.cause||_context7.t2});case 38:throw AxiosError.from(_context7.t2,_context7.t2&&_context7.t2.code,config,request);case 39:case"end":return _context7.stop();}},_callee6,null,[[4,33]]);}));return function(_x8){return _ref15.apply(this,arguments);};}());var knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$1.forEach(knownAdapters,function(fn,value){if(fn){try{Object.defineProperty(fn,'name',{value:value});}catch(e){// eslint-disable-next-line no-empty
|
|
6040
|
+
}Object.defineProperty(fn,'adapterName',{value:value});}});var renderReason=function renderReason(reason){return"- ".concat(reason);};var isResolvedHandle=function isResolvedHandle(adapter){return utils$1.isFunction(adapter)||adapter===null||adapter===false;};var adapters={getAdapter:function getAdapter(adapters){adapters=utils$1.isArray(adapters)?adapters:[adapters];var _adapters=adapters,length=_adapters.length;var nameOrAdapter;var adapter;var rejectedReasons={};for(var i=0;i<length;i++){nameOrAdapter=adapters[i];var id=void 0;adapter=nameOrAdapter;if(!isResolvedHandle(nameOrAdapter)){adapter=knownAdapters[(id=String(nameOrAdapter)).toLowerCase()];if(adapter===undefined){throw new AxiosError("Unknown adapter '".concat(id,"'"));}}if(adapter){break;}rejectedReasons[id||'#'+i]=adapter;}if(!adapter){var reasons=Object.entries(rejectedReasons).map(function(_ref20){var _ref21=_slicedToArray(_ref20,2),id=_ref21[0],state=_ref21[1];return"adapter ".concat(id," ")+(state===false?'is not supported by the environment':'is not available in the build');});var s=length?reasons.length>1?'since :\n'+reasons.map(renderReason).join('\n'):' '+renderReason(reasons[0]):'as no adapter specified';throw new AxiosError("There is no suitable adapter to dispatch the request "+s,'ERR_NOT_SUPPORT');}return adapter;},adapters:knownAdapters};/**
|
|
5935
6041
|
* Throws a `CanceledError` if cancellation has been requested.
|
|
5936
6042
|
*
|
|
5937
6043
|
* @param {Object} config The config that is to be used for the request
|
|
@@ -5946,7 +6052,7 @@ var encodeText=isFetchSupported&&(typeof TextEncoder==='function'?function(encod
|
|
|
5946
6052
|
*/function dispatchRequest(config){throwIfCancellationRequested(config);config.headers=AxiosHeaders$1.from(config.headers);// Transform request data
|
|
5947
6053
|
config.data=transformData.call(config,config.transformRequest);if(['post','put','patch'].indexOf(config.method)!==-1){config.headers.setContentType('application/x-www-form-urlencoded',false);}var adapter=adapters.getAdapter(config.adapter||defaults$1.adapter);return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
|
|
5948
6054
|
response.data=transformData.call(config,config.transformResponse,response);response.headers=AxiosHeaders$1.from(response.headers);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
|
|
5949
|
-
if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.7.
|
|
6055
|
+
if(reason&&reason.response){reason.response.data=transformData.call(config,config.transformResponse,reason.response);reason.response.headers=AxiosHeaders$1.from(reason.response.headers);}}return Promise.reject(reason);});}var VERSION="1.7.3";var validators$1={};// eslint-disable-next-line func-names
|
|
5950
6056
|
['object','boolean','number','function','string','symbol'].forEach(function(type,i){validators$1[type]=function validator(thing){return _typeof(thing)===type||'a'+(i<1?'n ':' ')+type;};});var deprecatedWarnings={};/**
|
|
5951
6057
|
* Transitional option validator
|
|
5952
6058
|
*
|
|
@@ -6031,7 +6137,7 @@ return;}token.reason=new CanceledError(message,config,request);resolvePromise(to
|
|
|
6031
6137
|
* @param {*} payload The value to test
|
|
6032
6138
|
*
|
|
6033
6139
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
6034
|
-
*/function isAxiosError(payload){return utils$1.isObject(payload)&&payload.isAxiosError===true;}var HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(function(
|
|
6140
|
+
*/function isAxiosError(payload){return utils$1.isObject(payload)&&payload.isAxiosError===true;}var HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(function(_ref22){var _ref23=_slicedToArray(_ref22,2),key=_ref23[0],value=_ref23[1];HttpStatusCode[value]=key;});var HttpStatusCode$1=HttpStatusCode;/**
|
|
6035
6141
|
* Create an instance of Axios
|
|
6036
6142
|
*
|
|
6037
6143
|
* @param {Object} defaultConfig The default config for the instance
|
|
@@ -6060,7 +6166,7 @@ if(env)this.environment=env;else this.environment=this.host?this.host:'mypureclo
|
|
|
6060
6166
|
this.environment=this.environment.replace(/\/+$/,'');// Strip protocol and subdomain
|
|
6061
6167
|
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];}}}]);}();/**
|
|
6062
6168
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6063
|
-
* @version
|
|
6169
|
+
* @version 201.0.0
|
|
6064
6170
|
*/var ApiClient=/*#__PURE__*/function(){/**
|
|
6065
6171
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
6066
6172
|
* application to use this class directly - the *Api and model classes provide the public API for the service. The
|
|
@@ -6298,7 +6404,7 @@ this.setAccessToken(this.authentications['PureCloud OAuth'].accessToken);}/**
|
|
|
6298
6404
|
* @param existingHeaders The existing header object.
|
|
6299
6405
|
* @param newHeaders New headers.
|
|
6300
6406
|
* @returns {Object} The combination of all headers.
|
|
6301
|
-
*/},{key:"addHeaders",value:function addHeaders(existingHeaders){for(var
|
|
6407
|
+
*/},{key:"addHeaders",value:function addHeaders(existingHeaders){for(var _len6=arguments.length,newHeaders=new Array(_len6>1?_len6-1:0),_key7=1;_key7<_len6;_key7++){newHeaders[_key7-1]=arguments[_key7];}if(existingHeaders){existingHeaders=Object.assign.apply(Object,[existingHeaders].concat(newHeaders));}else{existingHeaders=Object.assign.apply(Object,newHeaders);}return existingHeaders;}/**
|
|
6302
6408
|
* Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
|
|
6303
6409
|
* NOTE: query parameters are not handled here.
|
|
6304
6410
|
* @param {String} path The path to append to the base URL.
|
|
@@ -6372,7 +6478,7 @@ resolve(data);})["catch"](function(error){var data=error;if(error.response&&erro
|
|
|
6372
6478
|
that.config.logger.log('error',error.response.status,httpMethod,url,request.headers,error.response.headers,bodyParam,error.response.data);data=that.returnExtended===true?{status:error.response.status,statusText:error.response.statusText,headers:error.response.headers,body:error.response.data,text:error.response.text,error:error}:error.response.data?error.response.data:error.response.text;}reject(data);});}});}}]);}();var AgentUIApi=/*#__PURE__*/function(){/**
|
|
6373
6479
|
* AgentUI service.
|
|
6374
6480
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
6375
|
-
* @version
|
|
6481
|
+
* @version 201.0.0
|
|
6376
6482
|
*/ /**
|
|
6377
6483
|
* Constructs a new AgentUIApi.
|
|
6378
6484
|
* @alias module:purecloud-platform-client-v2/api/AgentUIApi
|
|
@@ -6406,7 +6512,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
6406
6512
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AlertingApi=/*#__PURE__*/function(){/**
|
|
6407
6513
|
* Alerting service.
|
|
6408
6514
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
6409
|
-
* @version
|
|
6515
|
+
* @version 201.0.0
|
|
6410
6516
|
*/ /**
|
|
6411
6517
|
* Constructs a new AlertingApi.
|
|
6412
6518
|
* @alias module:purecloud-platform-client-v2/api/AlertingApi
|
|
@@ -6563,7 +6669,7 @@ if(ruleId===undefined||ruleId===null){throw'Missing the required parameter "rule
|
|
|
6563
6669
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAlertingRule';}return this.apiClient.callApi('/api/v2/alerting/rules/{ruleId}','PUT',{'ruleId':ruleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AnalyticsApi=/*#__PURE__*/function(){/**
|
|
6564
6670
|
* Analytics service.
|
|
6565
6671
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
6566
|
-
* @version
|
|
6672
|
+
* @version 201.0.0
|
|
6567
6673
|
*/ /**
|
|
6568
6674
|
* Constructs a new AnalyticsApi.
|
|
6569
6675
|
* @alias module:purecloud-platform-client-v2/api/AnalyticsApi
|
|
@@ -7062,8 +7168,8 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7062
7168
|
* @param {Object} body query
|
|
7063
7169
|
*/},{key:"postAnalyticsQueuesObservationsQuery",value:function postAnalyticsQueuesObservationsQuery(body){// verify the required parameter 'body' is set
|
|
7064
7170
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/queues/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
7065
|
-
* Query for limits rate limit aggregates. Data populated when limits
|
|
7066
|
-
* The max property can be used to determine estimated rate limit value hit.
|
|
7171
|
+
* Query for limits rate limit aggregates. Data populated when limits reach 90% of the maximum. Not a source of truth for limits hit but a best effort estimate.
|
|
7172
|
+
* The max property can be used to determine estimated rate limit value hit. See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
|
|
7067
7173
|
* @param {Object} body query
|
|
7068
7174
|
*/},{key:"postAnalyticsRatelimitsAggregatesQuery",value:function postAnalyticsRatelimitsAggregatesQuery(body){// verify the required parameter 'body' is set
|
|
7069
7175
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsRatelimitsAggregatesQuery';}return this.apiClient.callApi('/api/v2/analytics/ratelimits/aggregates/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -7184,7 +7290,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
7184
7290
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAnalyticsDataretentionSettings';}return this.apiClient.callApi('/api/v2/analytics/dataretention/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ArchitectApi=/*#__PURE__*/function(){/**
|
|
7185
7291
|
* Architect service.
|
|
7186
7292
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7187
|
-
* @version
|
|
7293
|
+
* @version 201.0.0
|
|
7188
7294
|
*/ /**
|
|
7189
7295
|
* Constructs a new ArchitectApi.
|
|
7190
7296
|
* @alias module:purecloud-platform-client-v2/api/ArchitectApi
|
|
@@ -8300,7 +8406,7 @@ if(milestoneId===undefined||milestoneId===null){throw'Missing the required param
|
|
|
8300
8406
|
if(flowOutcomeId===undefined||flowOutcomeId===null){throw'Missing the required parameter "flowOutcomeId" when calling putFlowsOutcome';}return this.apiClient.callApi('/api/v2/flows/outcomes/{flowOutcomeId}','PUT',{'flowOutcomeId':flowOutcomeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuditApi=/*#__PURE__*/function(){/**
|
|
8301
8407
|
* Audit service.
|
|
8302
8408
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
8303
|
-
* @version
|
|
8409
|
+
* @version 201.0.0
|
|
8304
8410
|
*/ /**
|
|
8305
8411
|
* Constructs a new AuditApi.
|
|
8306
8412
|
* @alias module:purecloud-platform-client-v2/api/AuditApi
|
|
@@ -8350,7 +8456,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8350
8456
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAuditsQueryRealtimeRelated';}return this.apiClient.callApi('/api/v2/audits/query/realtime/related','POST',{},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var AuthorizationApi=/*#__PURE__*/function(){/**
|
|
8351
8457
|
* Authorization service.
|
|
8352
8458
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8353
|
-
* @version
|
|
8459
|
+
* @version 201.0.0
|
|
8354
8460
|
*/ /**
|
|
8355
8461
|
* Constructs a new AuthorizationApi.
|
|
8356
8462
|
* @alias module:purecloud-platform-client-v2/api/AuthorizationApi
|
|
@@ -8665,7 +8771,7 @@ if(subjectId===undefined||subjectId===null){throw'Missing the required parameter
|
|
|
8665
8771
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoles';}return this.apiClient.callApi('/api/v2/users/{subjectId}/roles','PUT',{'subjectId':subjectId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var BillingApi=/*#__PURE__*/function(){/**
|
|
8666
8772
|
* Billing service.
|
|
8667
8773
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
8668
|
-
* @version
|
|
8774
|
+
* @version 201.0.0
|
|
8669
8775
|
*/ /**
|
|
8670
8776
|
* Constructs a new BillingApi.
|
|
8671
8777
|
* @alias module:purecloud-platform-client-v2/api/BillingApi
|
|
@@ -8689,7 +8795,7 @@ if(endDate===undefined||endDate===null){throw'Missing the required parameter "en
|
|
|
8689
8795
|
if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required parameter "trustorOrgId" when calling getBillingTrusteebillingoverviewTrustorOrgId';}return this.apiClient.callApi('/api/v2/billing/trusteebillingoverview/{trustorOrgId}','GET',{'trustorOrgId':trustorOrgId},{'billingPeriodIndex':opts['billingPeriodIndex']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CarrierServicesApi=/*#__PURE__*/function(){/**
|
|
8690
8796
|
* CarrierServices service.
|
|
8691
8797
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
8692
|
-
* @version
|
|
8798
|
+
* @version 201.0.0
|
|
8693
8799
|
*/ /**
|
|
8694
8800
|
* Constructs a new CarrierServicesApi.
|
|
8695
8801
|
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
@@ -8709,7 +8815,7 @@ if(phoneNumber===undefined||phoneNumber===null){throw'Missing the required param
|
|
|
8709
8815
|
*/},{key:"postCarrierservicesIntegrationsEmergencylocationsMe",value:function postCarrierservicesIntegrationsEmergencylocationsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/carrierservices/integrations/emergencylocations/me','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ChatApi=/*#__PURE__*/function(){/**
|
|
8710
8816
|
* Chat service.
|
|
8711
8817
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
8712
|
-
* @version
|
|
8818
|
+
* @version 201.0.0
|
|
8713
8819
|
*/ /**
|
|
8714
8820
|
* Constructs a new ChatApi.
|
|
8715
8821
|
* @alias module:purecloud-platform-client-v2/api/ChatApi
|
|
@@ -8934,7 +9040,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
8934
9040
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putChatsSettings';}return this.apiClient.callApi('/api/v2/chats/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var CoachingApi=/*#__PURE__*/function(){/**
|
|
8935
9041
|
* Coaching service.
|
|
8936
9042
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
8937
|
-
* @version
|
|
9043
|
+
* @version 201.0.0
|
|
8938
9044
|
*/ /**
|
|
8939
9045
|
* Constructs a new CoachingApi.
|
|
8940
9046
|
* @alias module:purecloud-platform-client-v2/api/CoachingApi
|
|
@@ -9087,7 +9193,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
9087
9193
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCoachingScheduleslotsQuery';}return this.apiClient.callApi('/api/v2/coaching/scheduleslots/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ContentManagementApi=/*#__PURE__*/function(){/**
|
|
9088
9194
|
* ContentManagement service.
|
|
9089
9195
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
9090
|
-
* @version
|
|
9196
|
+
* @version 201.0.0
|
|
9091
9197
|
*/ /**
|
|
9092
9198
|
* Constructs a new ContentManagementApi.
|
|
9093
9199
|
* @alias module:purecloud-platform-client-v2/api/ContentManagementApi
|
|
@@ -9370,7 +9476,7 @@ if(tagId===undefined||tagId===null){throw'Missing the required parameter "tagId"
|
|
|
9370
9476
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putContentmanagementWorkspaceTagvalue';}return this.apiClient.callApi('/api/v2/contentmanagement/workspaces/{workspaceId}/tagvalues/{tagId}','PUT',{'workspaceId':workspaceId,'tagId':tagId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ConversationsApi=/*#__PURE__*/function(){/**
|
|
9371
9477
|
* Conversations service.
|
|
9372
9478
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9373
|
-
* @version
|
|
9479
|
+
* @version 201.0.0
|
|
9374
9480
|
*/ /**
|
|
9375
9481
|
* Constructs a new ConversationsApi.
|
|
9376
9482
|
* @alias module:purecloud-platform-client-v2/api/ConversationsApi
|
|
@@ -11092,7 +11198,7 @@ if(conversationId===undefined||conversationId===null){throw'Missing the required
|
|
|
11092
11198
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';}return this.apiClient.callApi('/api/v2/conversations/videos/{conversationId}/recordingstate','PUT',{'conversationId':conversationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DataExtensionsApi=/*#__PURE__*/function(){/**
|
|
11093
11199
|
* DataExtensions service.
|
|
11094
11200
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
11095
|
-
* @version
|
|
11201
|
+
* @version 201.0.0
|
|
11096
11202
|
*/ /**
|
|
11097
11203
|
* Constructs a new DataExtensionsApi.
|
|
11098
11204
|
* @alias module:purecloud-platform-client-v2/api/DataExtensionsApi
|
|
@@ -11113,7 +11219,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11113
11219
|
*/},{key:"getDataextensionsLimits",value:function getDataextensionsLimits(){return this.apiClient.callApi('/api/v2/dataextensions/limits','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var DownloadsApi=/*#__PURE__*/function(){/**
|
|
11114
11220
|
* Downloads service.
|
|
11115
11221
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
11116
|
-
* @version
|
|
11222
|
+
* @version 201.0.0
|
|
11117
11223
|
*/ /**
|
|
11118
11224
|
* Constructs a new DownloadsApi.
|
|
11119
11225
|
* @alias module:purecloud-platform-client-v2/api/DownloadsApi
|
|
@@ -11132,7 +11238,7 @@ if(coretypeName===undefined||coretypeName===null){throw'Missing the required par
|
|
|
11132
11238
|
if(downloadId===undefined||downloadId===null){throw'Missing the required parameter "downloadId" when calling getDownload';}return this.apiClient.callApi('/api/v2/downloads/{downloadId}','GET',{'downloadId':downloadId},{'contentDisposition':opts['contentDisposition'],'issueRedirect':opts['issueRedirect'],'redirectToAuth':opts['redirectToAuth']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmailsApi=/*#__PURE__*/function(){/**
|
|
11133
11239
|
* Emails service.
|
|
11134
11240
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
11135
|
-
* @version
|
|
11241
|
+
* @version 201.0.0
|
|
11136
11242
|
*/ /**
|
|
11137
11243
|
* Constructs a new EmailsApi.
|
|
11138
11244
|
* @alias module:purecloud-platform-client-v2/api/EmailsApi
|
|
@@ -11150,7 +11256,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
11150
11256
|
*/},{key:"patchEmailsSettings",value:function patchEmailsSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/emails/settings','PATCH',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EmployeeEngagementApi=/*#__PURE__*/function(){/**
|
|
11151
11257
|
* EmployeeEngagement service.
|
|
11152
11258
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
11153
|
-
* @version
|
|
11259
|
+
* @version 201.0.0
|
|
11154
11260
|
*/ /**
|
|
11155
11261
|
* Constructs a new EmployeeEngagementApi.
|
|
11156
11262
|
* @alias module:purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
@@ -11188,7 +11294,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11188
11294
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';}return this.apiClient.callApi('/api/v2/employeeengagement/recognitions','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var EventsApi=/*#__PURE__*/function(){/**
|
|
11189
11295
|
* Events service.
|
|
11190
11296
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
11191
|
-
* @version
|
|
11297
|
+
* @version 201.0.0
|
|
11192
11298
|
*/ /**
|
|
11193
11299
|
* Constructs a new EventsApi.
|
|
11194
11300
|
* @alias module:purecloud-platform-client-v2/api/EventsApi
|
|
@@ -11213,7 +11319,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11213
11319
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';}return this.apiClient.callApi('/api/v2/events/users/routingstatus','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ExternalContactsApi=/*#__PURE__*/function(){/**
|
|
11214
11320
|
* ExternalContacts service.
|
|
11215
11321
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
11216
|
-
* @version
|
|
11322
|
+
* @version 201.0.0
|
|
11217
11323
|
*/ /**
|
|
11218
11324
|
* Constructs a new ExternalContactsApi.
|
|
11219
11325
|
* @alias module:purecloud-platform-client-v2/api/ExternalContactsApi
|
|
@@ -11670,7 +11776,7 @@ if(relationshipId===undefined||relationshipId===null){throw'Missing the required
|
|
|
11670
11776
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putExternalcontactsRelationship';}return this.apiClient.callApi('/api/v2/externalcontacts/relationships/{relationshipId}','PUT',{'relationshipId':relationshipId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FaxApi=/*#__PURE__*/function(){/**
|
|
11671
11777
|
* Fax service.
|
|
11672
11778
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
11673
|
-
* @version
|
|
11779
|
+
* @version 201.0.0
|
|
11674
11780
|
*/ /**
|
|
11675
11781
|
* Constructs a new FaxApi.
|
|
11676
11782
|
* @alias module:purecloud-platform-client-v2/api/FaxApi
|
|
@@ -11719,7 +11825,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11719
11825
|
*/},{key:"putFaxSettings",value:function putFaxSettings(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/fax/settings','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var FlowsApi=/*#__PURE__*/function(){/**
|
|
11720
11826
|
* Flows service.
|
|
11721
11827
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
11722
|
-
* @version
|
|
11828
|
+
* @version 201.0.0
|
|
11723
11829
|
*/ /**
|
|
11724
11830
|
* Constructs a new FlowsApi.
|
|
11725
11831
|
* @alias module:purecloud-platform-client-v2/api/FlowsApi
|
|
@@ -11767,7 +11873,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
11767
11873
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postAnalyticsFlowsObservationsQuery';}return this.apiClient.callApi('/api/v2/analytics/flows/observations/query','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GamificationApi=/*#__PURE__*/function(){/**
|
|
11768
11874
|
* Gamification service.
|
|
11769
11875
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
11770
|
-
* @version
|
|
11876
|
+
* @version 201.0.0
|
|
11771
11877
|
*/ /**
|
|
11772
11878
|
* Constructs a new GamificationApi.
|
|
11773
11879
|
* @alias module:purecloud-platform-client-v2/api/GamificationApi
|
|
@@ -12307,7 +12413,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12307
12413
|
if(status===undefined||status===null){throw'Missing the required parameter "status" when calling putGamificationStatus';}return this.apiClient.callApi('/api/v2/gamification/status','PUT',{},{},{},{},status,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeneralDataProtectionRegulationApi=/*#__PURE__*/function(){/**
|
|
12308
12414
|
* GeneralDataProtectionRegulation service.
|
|
12309
12415
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
12310
|
-
* @version
|
|
12416
|
+
* @version 201.0.0
|
|
12311
12417
|
*/ /**
|
|
12312
12418
|
* Constructs a new GeneralDataProtectionRegulationApi.
|
|
12313
12419
|
* @alias module:purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
@@ -12342,7 +12448,7 @@ if(searchValue===undefined||searchValue===null){throw'Missing the required param
|
|
|
12342
12448
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postGdprRequests';}return this.apiClient.callApi('/api/v2/gdpr/requests','POST',{},{'deleteConfirmed':opts['deleteConfirmed']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GeolocationApi=/*#__PURE__*/function(){/**
|
|
12343
12449
|
* Geolocation service.
|
|
12344
12450
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
12345
|
-
* @version
|
|
12451
|
+
* @version 201.0.0
|
|
12346
12452
|
*/ /**
|
|
12347
12453
|
* Constructs a new GeolocationApi.
|
|
12348
12454
|
* @alias module:purecloud-platform-client-v2/api/GeolocationApi
|
|
@@ -12376,7 +12482,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
12376
12482
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchUserGeolocation';}return this.apiClient.callApi('/api/v2/users/{userId}/geolocations/{clientId}','PATCH',{'userId':userId,'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GreetingsApi=/*#__PURE__*/function(){/**
|
|
12377
12483
|
* Greetings service.
|
|
12378
12484
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
12379
|
-
* @version
|
|
12485
|
+
* @version 201.0.0
|
|
12380
12486
|
*/ /**
|
|
12381
12487
|
* Constructs a new GreetingsApi.
|
|
12382
12488
|
* @alias module:purecloud-platform-client-v2/api/GreetingsApi
|
|
@@ -12483,7 +12589,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
12483
12589
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserGreetingsDefaults';}return this.apiClient.callApi('/api/v2/users/{userId}/greetings/defaults','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var GroupsApi=/*#__PURE__*/function(){/**
|
|
12484
12590
|
* Groups service.
|
|
12485
12591
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
12486
|
-
* @version
|
|
12592
|
+
* @version 201.0.0
|
|
12487
12593
|
*/ /**
|
|
12488
12594
|
* Constructs a new GroupsApi.
|
|
12489
12595
|
* @alias module:purecloud-platform-client-v2/api/GroupsApi
|
|
@@ -12616,7 +12722,7 @@ if(groupId===undefined||groupId===null){throw'Missing the required parameter "gr
|
|
|
12616
12722
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putGroupDynamicsettings';}return this.apiClient.callApi('/api/v2/groups/{groupId}/dynamicsettings','PUT',{'groupId':groupId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IdentityProviderApi=/*#__PURE__*/function(){/**
|
|
12617
12723
|
* IdentityProvider service.
|
|
12618
12724
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
12619
|
-
* @version
|
|
12725
|
+
* @version 201.0.0
|
|
12620
12726
|
*/ /**
|
|
12621
12727
|
* Constructs a new IdentityProviderApi.
|
|
12622
12728
|
* @alias module:purecloud-platform-client-v2/api/IdentityProviderApi
|
|
@@ -12772,7 +12878,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
12772
12878
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';}return this.apiClient.callApi('/api/v2/identityproviders/salesforce','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var InfrastructureAsCodeApi=/*#__PURE__*/function(){/**
|
|
12773
12879
|
* InfrastructureAsCode service.
|
|
12774
12880
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
12775
|
-
* @version
|
|
12881
|
+
* @version 201.0.0
|
|
12776
12882
|
*/ /**
|
|
12777
12883
|
* Constructs a new InfrastructureAsCodeApi.
|
|
12778
12884
|
* @alias module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
@@ -12826,7 +12932,7 @@ if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId"
|
|
|
12826
12932
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postInfrastructureascodeJobs';}return this.apiClient.callApi('/api/v2/infrastructureascode/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var IntegrationsApi=/*#__PURE__*/function(){/**
|
|
12827
12933
|
* Integrations service.
|
|
12828
12934
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
12829
|
-
* @version
|
|
12935
|
+
* @version 201.0.0
|
|
12830
12936
|
*/ /**
|
|
12831
12937
|
* Constructs a new IntegrationsApi.
|
|
12832
12938
|
* @alias module:purecloud-platform-client-v2/api/IntegrationsApi
|
|
@@ -12974,6 +13080,9 @@ if(fileName===undefined||fileName===null){throw'Missing the required parameter "
|
|
|
12974
13080
|
* @param {Object} opts.status Indicates the validity of the certificate in question.
|
|
12975
13081
|
* @param {Object} opts.type Indicates the type of the certificate.
|
|
12976
13082
|
*/},{key:"getIntegrationsActionsCertificates",value:function getIntegrationsActionsCertificates(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/integrations/actions/certificates','GET',{},{'status':opts['status'],'type':opts['type']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
13083
|
+
* Retrieves basic info about trusted root CA certificates
|
|
13084
|
+
*
|
|
13085
|
+
*/},{key:"getIntegrationsActionsCertificatesTruststore",value:function getIntegrationsActionsCertificatesTruststore(){return this.apiClient.callApi('/api/v2/integrations/actions/certificates/truststore','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
12977
13086
|
* Retrieves all action drafts associated with the filters passed in via query param.
|
|
12978
13087
|
*
|
|
12979
13088
|
* @param {Object} opts Optional parameters
|
|
@@ -13437,7 +13546,7 @@ if(ucIntegrationId===undefined||ucIntegrationId===null){throw'Missing the requir
|
|
|
13437
13546
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';}return this.apiClient.callApi('/api/v2/integrations/unifiedcommunications/{ucIntegrationId}/thirdpartypresences','PUT',{'ucIntegrationId':ucIntegrationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var JourneyApi=/*#__PURE__*/function(){/**
|
|
13438
13547
|
* Journey service.
|
|
13439
13548
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
13440
|
-
* @version
|
|
13549
|
+
* @version 201.0.0
|
|
13441
13550
|
*/ /**
|
|
13442
13551
|
* Constructs a new JourneyApi.
|
|
13443
13552
|
* @alias module:purecloud-platform-client-v2/api/JourneyApi
|
|
@@ -13846,7 +13955,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
13846
13955
|
*/},{key:"postJourneyViewsEncodingsValidate",value:function postJourneyViewsEncodingsValidate(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/journey/views/encodings/validate','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var KnowledgeApi=/*#__PURE__*/function(){/**
|
|
13847
13956
|
* Knowledge service.
|
|
13848
13957
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
13849
|
-
* @version
|
|
13958
|
+
* @version 201.0.0
|
|
13850
13959
|
*/ /**
|
|
13851
13960
|
* Constructs a new KnowledgeApi.
|
|
13852
13961
|
* @alias module:purecloud-platform-client-v2/api/KnowledgeApi
|
|
@@ -14759,7 +14868,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
14759
14868
|
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']);}}]);}();var LanguageUnderstandingApi=/*#__PURE__*/function(){/**
|
|
14760
14869
|
* LanguageUnderstanding service.
|
|
14761
14870
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
14762
|
-
* @version
|
|
14871
|
+
* @version 201.0.0
|
|
14763
14872
|
*/ /**
|
|
14764
14873
|
* Constructs a new LanguageUnderstandingApi.
|
|
14765
14874
|
* @alias module:purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
@@ -15019,7 +15128,7 @@ if(domainVersionId===undefined||domainVersionId===null){throw'Missing the requir
|
|
|
15019
15128
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLanguageunderstandingDomainVersion';}return this.apiClient.callApi('/api/v2/languageunderstanding/domains/{domainId}/versions/{domainVersionId}','PUT',{'domainId':domainId,'domainVersionId':domainVersionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LanguagesApi=/*#__PURE__*/function(){/**
|
|
15020
15129
|
* Languages service.
|
|
15021
15130
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
15022
|
-
* @version
|
|
15131
|
+
* @version 201.0.0
|
|
15023
15132
|
*/ /**
|
|
15024
15133
|
* Constructs a new LanguagesApi.
|
|
15025
15134
|
* @alias module:purecloud-platform-client-v2/api/LanguagesApi
|
|
@@ -15074,7 +15183,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15074
15183
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLanguages';}return this.apiClient.callApi('/api/v2/languages','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LearningApi=/*#__PURE__*/function(){/**
|
|
15075
15184
|
* Learning service.
|
|
15076
15185
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
15077
|
-
* @version
|
|
15186
|
+
* @version 201.0.0
|
|
15078
15187
|
*/ /**
|
|
15079
15188
|
* Constructs a new LearningApi.
|
|
15080
15189
|
* @alias module:purecloud-platform-client-v2/api/LearningApi
|
|
@@ -15125,7 +15234,7 @@ if(stepId===undefined||stepId===null){throw'Missing the required parameter "step
|
|
|
15125
15234
|
* @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
15126
15235
|
* @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
|
|
15127
15236
|
* @param {Array.<String>} opts.userId Specifies the list of user IDs to be queried, up to 100 user IDs.
|
|
15128
|
-
* @param {Array.<String>} opts.types Specifies the module types to filter by
|
|
15237
|
+
* @param {Array.<String>} opts.types Specifies the module types to filter by. Informational, AssessedContent and Assessment are deprecated
|
|
15129
15238
|
* @param {Array.<String>} opts.states Specifies the assignment states to filter by
|
|
15130
15239
|
* @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
|
|
15131
15240
|
*/},{key:"getLearningAssignments",value:function getLearningAssignments(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/learning/assignments','GET',{},{'moduleId':opts['moduleId'],'interval':opts['interval'],'completionInterval':opts['completionInterval'],'overdue':opts['overdue'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'pass':opts['pass'],'minPercentageScore':opts['minPercentageScore'],'maxPercentageScore':opts['maxPercentageScore'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy'],'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'types':this.apiClient.buildCollectionParam(opts['types'],'multi'),'states':this.apiClient.buildCollectionParam(opts['states'],'multi'),'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -15143,7 +15252,7 @@ if(stepId===undefined||stepId===null){throw'Missing the required parameter "step
|
|
|
15143
15252
|
* @param {Number} opts.maxPercentageScore The maximum assessment score for an assignment (completed with assessment) to be included in the results (inclusive)
|
|
15144
15253
|
* @param {Object} opts.sortOrder Specifies result set sort order; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
15145
15254
|
* @param {Object} opts.sortBy Specifies which field to sort the results by, default sort is by recommendedCompletionDate
|
|
15146
|
-
* @param {Array.<String>} opts.types Specifies the module types to filter by
|
|
15255
|
+
* @param {Array.<String>} opts.types Specifies the module types to filter by. Informational, AssessedContent and Assessment are deprecated
|
|
15147
15256
|
* @param {Array.<String>} opts.states Specifies the assignment states to filter by
|
|
15148
15257
|
* @param {Array.<String>} opts.expand Specifies the expand option for returning additional information
|
|
15149
15258
|
*/},{key:"getLearningAssignmentsMe",value:function getLearningAssignmentsMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/learning/assignments/me','GET',{},{'moduleId':opts['moduleId'],'interval':opts['interval'],'completionInterval':opts['completionInterval'],'overdue':opts['overdue'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'pass':opts['pass'],'minPercentageScore':opts['minPercentageScore'],'maxPercentageScore':opts['maxPercentageScore'],'sortOrder':opts['sortOrder'],'sortBy':opts['sortBy'],'types':this.apiClient.buildCollectionParam(opts['types'],'multi'),'states':this.apiClient.buildCollectionParam(opts['states'],'multi'),'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -15184,7 +15293,7 @@ if(versionId===undefined||versionId===null){throw'Missing the required parameter
|
|
|
15184
15293
|
*
|
|
15185
15294
|
* @param {Object} opts Optional parameters
|
|
15186
15295
|
* @param {Boolean} opts.isArchived Archive status (default to false)
|
|
15187
|
-
* @param {Array.<String>} opts.types Specifies the module types.
|
|
15296
|
+
* @param {Array.<String>} opts.types Specifies the module types. Informational, AssessedContent and Assessment are deprecated
|
|
15188
15297
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
15189
15298
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
15190
15299
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
@@ -15345,7 +15454,7 @@ if(moduleId===undefined||moduleId===null){throw'Missing the required parameter "
|
|
|
15345
15454
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putLearningModuleRule';}return this.apiClient.callApi('/api/v2/learning/modules/{moduleId}/rule','PUT',{'moduleId':moduleId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LicenseApi=/*#__PURE__*/function(){/**
|
|
15346
15455
|
* License service.
|
|
15347
15456
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
15348
|
-
* @version
|
|
15457
|
+
* @version 201.0.0
|
|
15349
15458
|
*/ /**
|
|
15350
15459
|
* Constructs a new LicenseApi.
|
|
15351
15460
|
* @alias module:purecloud-platform-client-v2/api/LicenseApi
|
|
@@ -15399,7 +15508,7 @@ if(featureName===undefined||featureName===null){throw'Missing the required param
|
|
|
15399
15508
|
*/},{key:"postLicenseUsers",value:function postLicenseUsers(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/license/users','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LocationsApi=/*#__PURE__*/function(){/**
|
|
15400
15509
|
* Locations service.
|
|
15401
15510
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
15402
|
-
* @version
|
|
15511
|
+
* @version 201.0.0
|
|
15403
15512
|
*/ /**
|
|
15404
15513
|
* Constructs a new LocationsApi.
|
|
15405
15514
|
* @alias module:purecloud-platform-client-v2/api/LocationsApi
|
|
@@ -15458,7 +15567,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15458
15567
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postLocationsSearch';}return this.apiClient.callApi('/api/v2/locations/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var LogCaptureApi=/*#__PURE__*/function(){/**
|
|
15459
15568
|
* LogCapture service.
|
|
15460
15569
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
15461
|
-
* @version
|
|
15570
|
+
* @version 201.0.0
|
|
15462
15571
|
*/ /**
|
|
15463
15572
|
* Constructs a new LogCaptureApi.
|
|
15464
15573
|
* @alias module:purecloud-platform-client-v2/api/LogCaptureApi
|
|
@@ -15508,7 +15617,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
15508
15617
|
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';}return this.apiClient.callApi('/api/v2/diagnostics/logcapture/browser/users/{userId}','POST',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MessagingApi=/*#__PURE__*/function(){/**
|
|
15509
15618
|
* Messaging service.
|
|
15510
15619
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
15511
|
-
* @version
|
|
15620
|
+
* @version 201.0.0
|
|
15512
15621
|
*/ /**
|
|
15513
15622
|
* Constructs a new MessagingApi.
|
|
15514
15623
|
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
@@ -15598,7 +15707,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15598
15707
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putMessagingSettingsDefault';}return this.apiClient.callApi('/api/v2/messaging/settings/default','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var MobileDevicesApi=/*#__PURE__*/function(){/**
|
|
15599
15708
|
* MobileDevices service.
|
|
15600
15709
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
15601
|
-
* @version
|
|
15710
|
+
* @version 201.0.0
|
|
15602
15711
|
*/ /**
|
|
15603
15712
|
* Constructs a new MobileDevicesApi.
|
|
15604
15713
|
* @alias module:purecloud-platform-client-v2/api/MobileDevicesApi
|
|
@@ -15637,7 +15746,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15637
15746
|
if(deviceId===undefined||deviceId===null){throw'Missing the required parameter "deviceId" when calling putMobiledevice';}return this.apiClient.callApi('/api/v2/mobiledevices/{deviceId}','PUT',{'deviceId':deviceId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var NotificationsApi=/*#__PURE__*/function(){/**
|
|
15638
15747
|
* Notifications service.
|
|
15639
15748
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
15640
|
-
* @version
|
|
15749
|
+
* @version 201.0.0
|
|
15641
15750
|
*/ /**
|
|
15642
15751
|
* Constructs a new NotificationsApi.
|
|
15643
15752
|
* @alias module:purecloud-platform-client-v2/api/NotificationsApi
|
|
@@ -15694,7 +15803,7 @@ if(channelId===undefined||channelId===null){throw'Missing the required parameter
|
|
|
15694
15803
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putNotificationsChannelSubscriptions';}return this.apiClient.callApi('/api/v2/notifications/channels/{channelId}/subscriptions','PUT',{'channelId':channelId},{'ignoreErrors':opts['ignoreErrors']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OAuthApi=/*#__PURE__*/function(){/**
|
|
15695
15804
|
* OAuth service.
|
|
15696
15805
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
15697
|
-
* @version
|
|
15806
|
+
* @version 201.0.0
|
|
15698
15807
|
*/ /**
|
|
15699
15808
|
* Constructs a new OAuthApi.
|
|
15700
15809
|
* @alias module:purecloud-platform-client-v2/api/OAuthApi
|
|
@@ -15779,7 +15888,7 @@ if(clientId===undefined||clientId===null){throw'Missing the required parameter "
|
|
|
15779
15888
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOauthClient';}return this.apiClient.callApi('/api/v2/oauth/clients/{clientId}','PUT',{'clientId':clientId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ObjectsApi=/*#__PURE__*/function(){/**
|
|
15780
15889
|
* Objects service.
|
|
15781
15890
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
15782
|
-
* @version
|
|
15891
|
+
* @version 201.0.0
|
|
15783
15892
|
*/ /**
|
|
15784
15893
|
* Constructs a new ObjectsApi.
|
|
15785
15894
|
* @alias module:purecloud-platform-client-v2/api/ObjectsApi
|
|
@@ -15850,7 +15959,7 @@ if(divisionId===undefined||divisionId===null){throw'Missing the required paramet
|
|
|
15850
15959
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putAuthorizationDivision';}return this.apiClient.callApi('/api/v2/authorization/divisions/{divisionId}','PUT',{'divisionId':divisionId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OperationalEventsApi=/*#__PURE__*/function(){/**
|
|
15851
15960
|
* OperationalEvents service.
|
|
15852
15961
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
15853
|
-
* @version
|
|
15962
|
+
* @version 201.0.0
|
|
15854
15963
|
*/ /**
|
|
15855
15964
|
* Constructs a new OperationalEventsApi.
|
|
15856
15965
|
* @alias module:purecloud-platform-client-v2/api/OperationalEventsApi
|
|
@@ -15868,7 +15977,7 @@ if(eventDefinitionId===undefined||eventDefinitionId===null){throw'Missing the re
|
|
|
15868
15977
|
*/},{key:"getUsageEventsDefinitions",value:function getUsageEventsDefinitions(){return this.apiClient.callApi('/api/v2/usage/events/definitions','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationApi=/*#__PURE__*/function(){/**
|
|
15869
15978
|
* Organization service.
|
|
15870
15979
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
15871
|
-
* @version
|
|
15980
|
+
* @version 201.0.0
|
|
15872
15981
|
*/ /**
|
|
15873
15982
|
* Constructs a new OrganizationApi.
|
|
15874
15983
|
* @alias module:purecloud-platform-client-v2/api/OrganizationApi
|
|
@@ -15918,11 +16027,31 @@ if(requestId===undefined||requestId===null){throw'Missing the required parameter
|
|
|
15918
16027
|
* @param {String} namespaceName The namespace to fetch limits for
|
|
15919
16028
|
*/},{key:"getOrganizationsLimitsNamespace",value:function getOrganizationsLimitsNamespace(namespaceName){// verify the required parameter 'namespaceName' is set
|
|
15920
16029
|
if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespace';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}','GET',{'namespaceName':namespaceName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16030
|
+
* Get estimated limit counts for a namespace. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
|
|
16031
|
+
* See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
|
|
16032
|
+
* @param {String} namespaceName The namespace to get
|
|
16033
|
+
* @param {Object} opts Optional parameters
|
|
16034
|
+
* @param {String} opts.cursor Cursor provided when retrieving the last page
|
|
16035
|
+
* @param {String} opts.entityId entity id of the count
|
|
16036
|
+
* @param {String} opts.userId userid of the count
|
|
16037
|
+
*/},{key:"getOrganizationsLimitsNamespaceCounts",value:function getOrganizationsLimitsNamespaceCounts(namespaceName,opts){opts=opts||{};// verify the required parameter 'namespaceName' is set
|
|
16038
|
+
if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceCounts';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/counts','GET',{'namespaceName':namespaceName},{'cursor':opts['cursor'],'entityId':opts['entityId'],'userId':opts['userId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15921
16039
|
* Get the default limits in a namespace for an organization
|
|
15922
16040
|
*
|
|
15923
16041
|
* @param {String} namespaceName The namespace to fetch defaults limits for
|
|
15924
16042
|
*/},{key:"getOrganizationsLimitsNamespaceDefaults",value:function getOrganizationsLimitsNamespaceDefaults(namespaceName){// verify the required parameter 'namespaceName' is set
|
|
15925
16043
|
if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceDefaults';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/defaults','GET',{'namespaceName':namespaceName},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
16044
|
+
* Get estimated limit counts for a namespace and limit name. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
|
|
16045
|
+
* See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
|
|
16046
|
+
* @param {String} namespaceName The namespace to get
|
|
16047
|
+
* @param {String} limitName The limit to get
|
|
16048
|
+
* @param {Object} opts Optional parameters
|
|
16049
|
+
* @param {String} opts.entityId entity id of the count
|
|
16050
|
+
* @param {String} opts.userId userid of the count
|
|
16051
|
+
* @param {String} opts.cursor Cursor provided when retrieving the last page
|
|
16052
|
+
*/},{key:"getOrganizationsLimitsNamespaceLimitCounts",value:function getOrganizationsLimitsNamespaceLimitCounts(namespaceName,limitName,opts){opts=opts||{};// verify the required parameter 'namespaceName' is set
|
|
16053
|
+
if(namespaceName===undefined||namespaceName===null){throw'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceLimitCounts';}// verify the required parameter 'limitName' is set
|
|
16054
|
+
if(limitName===undefined||limitName===null){throw'Missing the required parameter "limitName" when calling getOrganizationsLimitsNamespaceLimitCounts';}return this.apiClient.callApi('/api/v2/organizations/limits/namespaces/{namespaceName}/limits/{limitName}/counts','GET',{'namespaceName':namespaceName,'limitName':limitName},{'entityId':opts['entityId'],'userId':opts['userId'],'cursor':opts['cursor']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
15926
16055
|
* Get the available limit namespaces
|
|
15927
16056
|
*
|
|
15928
16057
|
* @param {Object} opts Optional parameters
|
|
@@ -15973,7 +16102,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
15973
16102
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOrganizationsWhitelist';}return this.apiClient.callApi('/api/v2/organizations/whitelist','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OrganizationAuthorizationApi=/*#__PURE__*/function(){/**
|
|
15974
16103
|
* OrganizationAuthorization service.
|
|
15975
16104
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
15976
|
-
* @version
|
|
16105
|
+
* @version 201.0.0
|
|
15977
16106
|
*/ /**
|
|
15978
16107
|
* Constructs a new OrganizationAuthorizationApi.
|
|
15979
16108
|
* @alias module:purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
@@ -16296,7 +16425,7 @@ if(trustorOrgId===undefined||trustorOrgId===null){throw'Missing the required par
|
|
|
16296
16425
|
if(trusteeUserId===undefined||trusteeUserId===null){throw'Missing the required parameter "trusteeUserId" when calling putOrgauthorizationTrustorUser';}return this.apiClient.callApi('/api/v2/orgauthorization/trustors/{trustorOrgId}/users/{trusteeUserId}','PUT',{'trustorOrgId':trustorOrgId,'trusteeUserId':trusteeUserId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var OutboundApi=/*#__PURE__*/function(){/**
|
|
16297
16426
|
* Outbound service.
|
|
16298
16427
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
16299
|
-
* @version
|
|
16428
|
+
* @version 201.0.0
|
|
16300
16429
|
*/ /**
|
|
16301
16430
|
* Constructs a new OutboundApi.
|
|
16302
16431
|
* @alias module:purecloud-platform-client-v2/api/OutboundApi
|
|
@@ -17363,7 +17492,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17363
17492
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putOutboundWrapupcodemappings';}return this.apiClient.callApi('/api/v2/outbound/wrapupcodemappings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var PresenceApi=/*#__PURE__*/function(){/**
|
|
17364
17493
|
* Presence service.
|
|
17365
17494
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
17366
|
-
* @version
|
|
17495
|
+
* @version 201.0.0
|
|
17367
17496
|
*/ /**
|
|
17368
17497
|
* Constructs a new PresenceApi.
|
|
17369
17498
|
* @alias module:purecloud-platform-client-v2/api/PresenceApi
|
|
@@ -17536,7 +17665,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
17536
17665
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersPresencesBulk';}return this.apiClient.callApi('/api/v2/users/presences/bulk','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ProcessAutomationApi=/*#__PURE__*/function(){/**
|
|
17537
17666
|
* ProcessAutomation service.
|
|
17538
17667
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
17539
|
-
* @version
|
|
17668
|
+
* @version 201.0.0
|
|
17540
17669
|
*/ /**
|
|
17541
17670
|
* Constructs a new ProcessAutomationApi.
|
|
17542
17671
|
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
@@ -17599,7 +17728,7 @@ if(triggerId===undefined||triggerId===null){throw'Missing the required parameter
|
|
|
17599
17728
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putProcessautomationTrigger';}return this.apiClient.callApi('/api/v2/processautomation/triggers/{triggerId}','PUT',{'triggerId':triggerId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var QualityApi=/*#__PURE__*/function(){/**
|
|
17600
17729
|
* Quality service.
|
|
17601
17730
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
17602
|
-
* @version
|
|
17731
|
+
* @version 201.0.0
|
|
17603
17732
|
*/ /**
|
|
17604
17733
|
* Constructs a new QualityApi.
|
|
17605
17734
|
* @alias module:purecloud-platform-client-v2/api/QualityApi
|
|
@@ -18076,7 +18205,7 @@ if(customerSurveyUrl===undefined||customerSurveyUrl===null){throw'Missing the re
|
|
|
18076
18205
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putQualitySurveysScorable';}return this.apiClient.callApi('/api/v2/quality/surveys/scorable','PUT',{},{'customerSurveyUrl':customerSurveyUrl},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RecordingApi=/*#__PURE__*/function(){/**
|
|
18077
18206
|
* Recording service.
|
|
18078
18207
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
18079
|
-
* @version
|
|
18208
|
+
* @version 201.0.0
|
|
18080
18209
|
*/ /**
|
|
18081
18210
|
* Constructs a new RecordingApi.
|
|
18082
18211
|
* @alias module:purecloud-platform-client-v2/api/RecordingApi
|
|
@@ -18488,7 +18617,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
18488
18617
|
*/},{key:"putRecordingsDeletionprotection",value:function putRecordingsDeletionprotection(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/recordings/deletionprotection','PUT',{},{'protect':opts['protect']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ResponseManagementApi=/*#__PURE__*/function(){/**
|
|
18489
18618
|
* ResponseManagement service.
|
|
18490
18619
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
18491
|
-
* @version
|
|
18620
|
+
* @version 201.0.0
|
|
18492
18621
|
*/ /**
|
|
18493
18622
|
* Constructs a new ResponseManagementApi.
|
|
18494
18623
|
* @alias module:purecloud-platform-client-v2/api/ResponseManagementApi
|
|
@@ -18609,7 +18738,7 @@ if(responseAssetId===undefined||responseAssetId===null){throw'Missing the requir
|
|
|
18609
18738
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putResponsemanagementResponseasset';}return this.apiClient.callApi('/api/v2/responsemanagement/responseassets/{responseAssetId}','PUT',{'responseAssetId':responseAssetId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var RoutingApi=/*#__PURE__*/function(){/**
|
|
18610
18739
|
* Routing service.
|
|
18611
18740
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
18612
|
-
* @version
|
|
18741
|
+
* @version 201.0.0
|
|
18613
18742
|
*/ /**
|
|
18614
18743
|
* Constructs a new RoutingApi.
|
|
18615
18744
|
* @alias module:purecloud-platform-client-v2/api/RoutingApi
|
|
@@ -19606,7 +19735,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19606
19735
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserRoutingskillsBulk';}return this.apiClient.callApi('/api/v2/users/{userId}/routingskills/bulk','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SCIMApi=/*#__PURE__*/function(){/**
|
|
19607
19736
|
* SCIM service.
|
|
19608
19737
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
19609
|
-
* @version
|
|
19738
|
+
* @version 201.0.0
|
|
19610
19739
|
*/ /**
|
|
19611
19740
|
* Constructs a new SCIMApi.
|
|
19612
19741
|
* @alias module:purecloud-platform-client-v2/api/SCIMApi
|
|
@@ -19831,7 +19960,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
19831
19960
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putScimV2User';}return this.apiClient.callApi('/api/v2/scim/v2/users/{userId}','PUT',{'userId':userId},{},{'If-Match':opts['ifMatch']},{},body,['PureCloud OAuth'],['application/scim+json','application/json'],['application/scim+json','application/json']);}}]);}();var ScreenRecordingApi=/*#__PURE__*/function(){/**
|
|
19832
19961
|
* ScreenRecording service.
|
|
19833
19962
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
19834
|
-
* @version
|
|
19963
|
+
* @version 201.0.0
|
|
19835
19964
|
*/ /**
|
|
19836
19965
|
* Constructs a new ScreenRecordingApi.
|
|
19837
19966
|
* @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
@@ -19846,7 +19975,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
19846
19975
|
*/return _createClass(ScreenRecordingApi,[{key:"postScreenrecordingToken",value:function postScreenrecordingToken(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/screenrecording/token','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var ScriptsApi=/*#__PURE__*/function(){/**
|
|
19847
19976
|
* Scripts service.
|
|
19848
19977
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
19849
|
-
* @version
|
|
19978
|
+
* @version 201.0.0
|
|
19850
19979
|
*/ /**
|
|
19851
19980
|
* Constructs a new ScriptsApi.
|
|
19852
19981
|
* @alias module:purecloud-platform-client-v2/api/ScriptsApi
|
|
@@ -19982,7 +20111,7 @@ if(scriptId===undefined||scriptId===null){throw'Missing the required parameter "
|
|
|
19982
20111
|
*/},{key:"postScriptsPublished",value:function postScriptsPublished(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/scripts/published','POST',{},{'scriptDataVersion':opts['scriptDataVersion']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SearchApi=/*#__PURE__*/function(){/**
|
|
19983
20112
|
* Search service.
|
|
19984
20113
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
19985
|
-
* @version
|
|
20114
|
+
* @version 201.0.0
|
|
19986
20115
|
*/ /**
|
|
19987
20116
|
* Constructs a new SearchApi.
|
|
19988
20117
|
* @alias module:purecloud-platform-client-v2/api/SearchApi
|
|
@@ -20142,7 +20271,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20142
20271
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postVoicemailSearch';}return this.apiClient.callApi('/api/v2/voicemail/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SettingsApi=/*#__PURE__*/function(){/**
|
|
20143
20272
|
* Settings service.
|
|
20144
20273
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
20145
|
-
* @version
|
|
20274
|
+
* @version 201.0.0
|
|
20146
20275
|
*/ /**
|
|
20147
20276
|
* Constructs a new SettingsApi.
|
|
20148
20277
|
* @alias module:purecloud-platform-client-v2/api/SettingsApi
|
|
@@ -20194,7 +20323,7 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
20194
20323
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';}return this.apiClient.callApi('/api/v2/users/agentui/agents/autoanswer/{agentId}/settings','PUT',{'agentId':agentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SpeechTextAnalyticsApi=/*#__PURE__*/function(){/**
|
|
20195
20324
|
* SpeechTextAnalytics service.
|
|
20196
20325
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
20197
|
-
* @version
|
|
20326
|
+
* @version 201.0.0
|
|
20198
20327
|
*/ /**
|
|
20199
20328
|
* Constructs a new SpeechTextAnalyticsApi.
|
|
20200
20329
|
* @alias module:purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
@@ -20478,7 +20607,7 @@ if(topicId===undefined||topicId===null){throw'Missing the required parameter "to
|
|
|
20478
20607
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putSpeechandtextanalyticsTopic';}return this.apiClient.callApi('/api/v2/speechandtextanalytics/topics/{topicId}','PUT',{'topicId':topicId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var StationsApi=/*#__PURE__*/function(){/**
|
|
20479
20608
|
* Stations service.
|
|
20480
20609
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
20481
|
-
* @version
|
|
20610
|
+
* @version 201.0.0
|
|
20482
20611
|
*/ /**
|
|
20483
20612
|
* Constructs a new StationsApi.
|
|
20484
20613
|
* @alias module:purecloud-platform-client-v2/api/StationsApi
|
|
@@ -20510,7 +20639,7 @@ if(stationId===undefined||stationId===null){throw'Missing the required parameter
|
|
|
20510
20639
|
*/},{key:"getStations",value:function getStations(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/stations','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortBy':opts['sortBy'],'name':opts['name'],'userSelectable':opts['userSelectable'],'webRtcUserId':opts['webRtcUserId'],'id':opts['id'],'lineAppearanceId':opts['lineAppearanceId']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var SuggestApi=/*#__PURE__*/function(){/**
|
|
20511
20640
|
* Suggest service.
|
|
20512
20641
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
20513
|
-
* @version
|
|
20642
|
+
* @version 201.0.0
|
|
20514
20643
|
*/ /**
|
|
20515
20644
|
* Constructs a new SuggestApi.
|
|
20516
20645
|
* @alias module:purecloud-platform-client-v2/api/SuggestApi
|
|
@@ -20550,7 +20679,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20550
20679
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postSearchSuggest';}return this.apiClient.callApi('/api/v2/search/suggest','POST',{},{'profile':opts['profile']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TaskManagementApi=/*#__PURE__*/function(){/**
|
|
20551
20680
|
* TaskManagement service.
|
|
20552
20681
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
20553
|
-
* @version
|
|
20682
|
+
* @version 201.0.0
|
|
20554
20683
|
*/ /**
|
|
20555
20684
|
* Constructs a new TaskManagementApi.
|
|
20556
20685
|
* @alias module:purecloud-platform-client-v2/api/TaskManagementApi
|
|
@@ -20793,24 +20922,24 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20793
20922
|
* Update the attributes of a worktype
|
|
20794
20923
|
*
|
|
20795
20924
|
* @param {String} worktypeId Worktype id
|
|
20796
|
-
* @param {Object}
|
|
20797
|
-
|
|
20798
|
-
|
|
20799
|
-
if(
|
|
20925
|
+
* @param {Object} body Worktype
|
|
20926
|
+
*/},{key:"patchTaskmanagementWorktype",value:function patchTaskmanagementWorktype(worktypeId,body){// verify the required parameter 'worktypeId' is set
|
|
20927
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktype';}// verify the required parameter 'body' is set
|
|
20928
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchTaskmanagementWorktype';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}','PATCH',{'worktypeId':worktypeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20800
20929
|
* Update the attributes of a status
|
|
20801
20930
|
*
|
|
20802
20931
|
* @param {String} worktypeId Worktype id
|
|
20803
20932
|
* @param {String} statusId Status id
|
|
20804
|
-
* @param {Object}
|
|
20805
|
-
|
|
20806
|
-
*/},{key:"patchTaskmanagementWorktypeStatus",value:function patchTaskmanagementWorktypeStatus(worktypeId,statusId,opts){opts=opts||{};// verify the required parameter 'worktypeId' is set
|
|
20933
|
+
* @param {Object} body Status
|
|
20934
|
+
*/},{key:"patchTaskmanagementWorktypeStatus",value:function patchTaskmanagementWorktypeStatus(worktypeId,statusId,body){// verify the required parameter 'worktypeId' is set
|
|
20807
20935
|
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeStatus';}// verify the required parameter 'statusId' is set
|
|
20808
|
-
if(statusId===undefined||statusId===null){throw'Missing the required parameter "statusId" when calling patchTaskmanagementWorktypeStatus';}
|
|
20936
|
+
if(statusId===undefined||statusId===null){throw'Missing the required parameter "statusId" when calling patchTaskmanagementWorktypeStatus';}// verify the required parameter 'body' is set
|
|
20937
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchTaskmanagementWorktypeStatus';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/statuses/{statusId}','PATCH',{'worktypeId':worktypeId,'statusId':statusId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20809
20938
|
* Create a workbin
|
|
20810
20939
|
*
|
|
20811
|
-
* @param {Object}
|
|
20812
|
-
|
|
20813
|
-
|
|
20940
|
+
* @param {Object} body Workbin
|
|
20941
|
+
*/},{key:"postTaskmanagementWorkbins",value:function postTaskmanagementWorkbins(body){// verify the required parameter 'body' is set
|
|
20942
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorkbins';}return this.apiClient.callApi('/api/v2/taskmanagement/workbins','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20814
20943
|
* Query for workbins
|
|
20815
20944
|
*
|
|
20816
20945
|
* @param {Object} body QueryPostRequest
|
|
@@ -20857,15 +20986,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20857
20986
|
* Add a status to a worktype
|
|
20858
20987
|
*
|
|
20859
20988
|
* @param {String} worktypeId Worktype id
|
|
20860
|
-
* @param {Object}
|
|
20861
|
-
|
|
20862
|
-
|
|
20863
|
-
if(
|
|
20989
|
+
* @param {Object} body Status
|
|
20990
|
+
*/},{key:"postTaskmanagementWorktypeStatuses",value:function postTaskmanagementWorktypeStatuses(worktypeId,body){// verify the required parameter 'worktypeId' is set
|
|
20991
|
+
if(worktypeId===undefined||worktypeId===null){throw'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeStatuses';}// verify the required parameter 'body' is set
|
|
20992
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorktypeStatuses';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes/{worktypeId}/statuses','POST',{'worktypeId':worktypeId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20864
20993
|
* Create a worktype
|
|
20865
20994
|
*
|
|
20866
|
-
* @param {Object}
|
|
20867
|
-
|
|
20868
|
-
|
|
20995
|
+
* @param {Object} body Worktype
|
|
20996
|
+
*/},{key:"postTaskmanagementWorktypes",value:function postTaskmanagementWorktypes(body){// verify the required parameter 'body' is set
|
|
20997
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTaskmanagementWorktypes';}return this.apiClient.callApi('/api/v2/taskmanagement/worktypes','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
20869
20998
|
* Query for worktypes
|
|
20870
20999
|
*
|
|
20871
21000
|
* @param {Object} body QueryPostRequest
|
|
@@ -20880,7 +21009,7 @@ if(schemaId===undefined||schemaId===null){throw'Missing the required parameter "
|
|
|
20880
21009
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTaskmanagementWorkitemsSchema';}return this.apiClient.callApi('/api/v2/taskmanagement/workitems/schemas/{schemaId}','PUT',{'schemaId':schemaId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TeamsApi=/*#__PURE__*/function(){/**
|
|
20881
21010
|
* Teams service.
|
|
20882
21011
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
20883
|
-
* @version
|
|
21012
|
+
* @version 201.0.0
|
|
20884
21013
|
*/ /**
|
|
20885
21014
|
* Constructs a new TeamsApi.
|
|
20886
21015
|
* @alias module:purecloud-platform-client-v2/api/TeamsApi
|
|
@@ -20958,7 +21087,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
20958
21087
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postTeamsSearch';}return this.apiClient.callApi('/api/v2/teams/search','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyApi=/*#__PURE__*/function(){/**
|
|
20959
21088
|
* Telephony service.
|
|
20960
21089
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
20961
|
-
* @version
|
|
21090
|
+
* @version 201.0.0
|
|
20962
21091
|
*/ /**
|
|
20963
21092
|
* Constructs a new TelephonyApi.
|
|
20964
21093
|
* @alias module:purecloud-platform-client-v2/api/TelephonyApi
|
|
@@ -21005,7 +21134,7 @@ if(downloadId===undefined||downloadId===null){throw'Missing the required paramet
|
|
|
21005
21134
|
if(sIPSearchPublicRequest===undefined||sIPSearchPublicRequest===null){throw'Missing the required parameter "sIPSearchPublicRequest" when calling postTelephonySiptracesDownload';}return this.apiClient.callApi('/api/v2/telephony/siptraces/download','POST',{},{},{},{},sIPSearchPublicRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TelephonyProvidersEdgeApi=/*#__PURE__*/function(){/**
|
|
21006
21135
|
* TelephonyProvidersEdge service.
|
|
21007
21136
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
21008
|
-
* @version
|
|
21137
|
+
* @version 201.0.0
|
|
21009
21138
|
*/ /**
|
|
21010
21139
|
* Constructs a new TelephonyProvidersEdgeApi.
|
|
21011
21140
|
* @alias module:purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
@@ -21815,7 +21944,7 @@ if(trunkBaseSettingsId===undefined||trunkBaseSettingsId===null){throw'Missing th
|
|
|
21815
21944
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putTelephonyProvidersEdgesTrunkbasesetting';}return this.apiClient.callApi('/api/v2/telephony/providers/edges/trunkbasesettings/{trunkBaseSettingsId}','PUT',{'trunkBaseSettingsId':trunkBaseSettingsId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TextbotsApi=/*#__PURE__*/function(){/**
|
|
21816
21945
|
* Textbots service.
|
|
21817
21946
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
21818
|
-
* @version
|
|
21947
|
+
* @version 201.0.0
|
|
21819
21948
|
*/ /**
|
|
21820
21949
|
* Constructs a new TextbotsApi.
|
|
21821
21950
|
* @alias module:purecloud-platform-client-v2/api/TextbotsApi
|
|
@@ -21850,7 +21979,7 @@ if(launchRequest===undefined||launchRequest===null){throw'Missing the required p
|
|
|
21850
21979
|
if(postTextRequest===undefined||postTextRequest===null){throw'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';}return this.apiClient.callApi('/api/v2/textbots/bots/execute','POST',{},{},{},{},postTextRequest,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var TokensApi=/*#__PURE__*/function(){/**
|
|
21851
21980
|
* Tokens service.
|
|
21852
21981
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
21853
|
-
* @version
|
|
21982
|
+
* @version 201.0.0
|
|
21854
21983
|
*/ /**
|
|
21855
21984
|
* Constructs a new TokensApi.
|
|
21856
21985
|
* @alias module:purecloud-platform-client-v2/api/TokensApi
|
|
@@ -21884,7 +22013,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
21884
22013
|
*/},{key:"putTokensTimeout",value:function putTokensTimeout(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/tokens/timeout','PUT',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UploadsApi=/*#__PURE__*/function(){/**
|
|
21885
22014
|
* Uploads service.
|
|
21886
22015
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
21887
|
-
* @version
|
|
22016
|
+
* @version 201.0.0
|
|
21888
22017
|
*/ /**
|
|
21889
22018
|
* Constructs a new UploadsApi.
|
|
21890
22019
|
* @alias module:purecloud-platform-client-v2/api/UploadsApi
|
|
@@ -21950,7 +22079,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
21950
22079
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';}return this.apiClient.callApi('/api/v2/uploads/workforcemanagement/historicaldata/csv','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsageApi=/*#__PURE__*/function(){/**
|
|
21951
22080
|
* Usage service.
|
|
21952
22081
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
21953
|
-
* @version
|
|
22082
|
+
* @version 201.0.0
|
|
21954
22083
|
*/ /**
|
|
21955
22084
|
* Constructs a new UsageApi.
|
|
21956
22085
|
* @alias module:purecloud-platform-client-v2/api/UsageApi
|
|
@@ -22004,7 +22133,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22004
22133
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postUsageSimplesearch';}return this.apiClient.callApi('/api/v2/usage/simplesearch','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UserRecordingsApi=/*#__PURE__*/function(){/**
|
|
22005
22134
|
* UserRecordings service.
|
|
22006
22135
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
22007
|
-
* @version
|
|
22136
|
+
* @version 201.0.0
|
|
22008
22137
|
*/ /**
|
|
22009
22138
|
* Constructs a new UserRecordingsApi.
|
|
22010
22139
|
* @alias module:purecloud-platform-client-v2/api/UserRecordingsApi
|
|
@@ -22053,7 +22182,7 @@ if(recordingId===undefined||recordingId===null){throw'Missing the required param
|
|
|
22053
22182
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserrecording';}return this.apiClient.callApi('/api/v2/userrecordings/{recordingId}','PUT',{'recordingId':recordingId},{'expand':this.apiClient.buildCollectionParam(opts['expand'],'multi')},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UsersApi=/*#__PURE__*/function(){/**
|
|
22054
22183
|
* Users service.
|
|
22055
22184
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
22056
|
-
* @version
|
|
22185
|
+
* @version 201.0.0
|
|
22057
22186
|
*/ /**
|
|
22058
22187
|
* Constructs a new UsersApi.
|
|
22059
22188
|
* @alias module:purecloud-platform-client-v2/api/UsersApi
|
|
@@ -22390,7 +22519,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22390
22519
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
22391
22520
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
22392
22521
|
* @param {Object} opts.sortOrder Specifies result set sort order sorted by the date due; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
22393
|
-
* @param {Array.<String>} opts.types Specifies the activity types.
|
|
22522
|
+
* @param {Array.<String>} opts.types Specifies the activity types. Informational, AssessedContent and Assessment are deprecated
|
|
22394
22523
|
* @param {Array.<String>} opts.statuses Specifies the activity statuses to filter by
|
|
22395
22524
|
* @param {Array.<String>} opts.relationship Specifies how the current user relation should be interpreted, and filters the activities returned to only the activities that have the specified relationship. If a value besides Attendee is specified, it will only return Coaching Appointments. If not specified, no filtering is applied.
|
|
22396
22525
|
*/},{key:"getUsersDevelopmentActivities",value:function getUsersDevelopmentActivities(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/users/development/activities','GET',{},{'userId':this.apiClient.buildCollectionParam(opts['userId'],'multi'),'moduleId':opts['moduleId'],'interval':opts['interval'],'completionInterval':opts['completionInterval'],'overdue':opts['overdue'],'pass':opts['pass'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder'],'types':this.apiClient.buildCollectionParam(opts['types'],'multi'),'statuses':this.apiClient.buildCollectionParam(opts['statuses'],'multi'),'relationship':this.apiClient.buildCollectionParam(opts['relationship'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -22405,14 +22534,14 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22405
22534
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
22406
22535
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
22407
22536
|
* @param {Object} opts.sortOrder Specifies result set sort order sorted by the date due; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
22408
|
-
* @param {Array.<String>} opts.types Specifies the activity types.
|
|
22537
|
+
* @param {Array.<String>} opts.types Specifies the activity types. Informational, AssessedContent and Assessment are deprecated
|
|
22409
22538
|
* @param {Array.<String>} opts.statuses Specifies the activity statuses to filter by
|
|
22410
22539
|
* @param {Array.<String>} opts.relationship Specifies how the current user relation should be interpreted, and filters the activities returned to only the activities that have the specified relationship. If a value besides Attendee is specified, it will only return Coaching Appointments. If not specified, no filtering is applied.
|
|
22411
22540
|
*/},{key:"getUsersDevelopmentActivitiesMe",value:function getUsersDevelopmentActivitiesMe(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/users/development/activities/me','GET',{},{'moduleId':opts['moduleId'],'interval':opts['interval'],'completionInterval':opts['completionInterval'],'overdue':opts['overdue'],'pass':opts['pass'],'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber'],'sortOrder':opts['sortOrder'],'types':this.apiClient.buildCollectionParam(opts['types'],'multi'),'statuses':this.apiClient.buildCollectionParam(opts['statuses'],'multi'),'relationship':this.apiClient.buildCollectionParam(opts['relationship'],'multi')},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
22412
22541
|
* Get a Development Activity
|
|
22413
22542
|
* Permission not required if you are the attendee, creator or facilitator of the coaching appointment or you are the assigned user of the learning assignment.
|
|
22414
22543
|
* @param {String} activityId Specifies the activity ID, maps to either assignment or appointment ID
|
|
22415
|
-
* @param {Object} type Specifies the activity type.
|
|
22544
|
+
* @param {Object} type Specifies the activity type. Informational, AssessedContent and Assessment are deprecated
|
|
22416
22545
|
*/},{key:"getUsersDevelopmentActivity",value:function getUsersDevelopmentActivity(activityId,type){// verify the required parameter 'activityId' is set
|
|
22417
22546
|
if(activityId===undefined||activityId===null){throw'Missing the required parameter "activityId" when calling getUsersDevelopmentActivity';}// verify the required parameter 'type' is set
|
|
22418
22547
|
if(type===undefined||type===null){throw'Missing the required parameter "type" when calling getUsersDevelopmentActivity';}return this.apiClient.callApi('/api/v2/users/development/activities/{activityId}','GET',{'activityId':activityId},{'type':type},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -22743,7 +22872,7 @@ if(verifierId===undefined||verifierId===null){throw'Missing the required paramet
|
|
|
22743
22872
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putUserVerifier';}return this.apiClient.callApi('/api/v2/users/{userId}/verifiers/{verifierId}','PUT',{'userId':userId,'verifierId':verifierId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var UtilitiesApi=/*#__PURE__*/function(){/**
|
|
22744
22873
|
* Utilities service.
|
|
22745
22874
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
22746
|
-
* @version
|
|
22875
|
+
* @version 201.0.0
|
|
22747
22876
|
*/ /**
|
|
22748
22877
|
* Constructs a new UtilitiesApi.
|
|
22749
22878
|
* @alias module:purecloud-platform-client-v2/api/UtilitiesApi
|
|
@@ -22770,7 +22899,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
22770
22899
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postCertificateDetails';}return this.apiClient.callApi('/api/v2/certificate/details','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var VoicemailApi=/*#__PURE__*/function(){/**
|
|
22771
22900
|
* Voicemail service.
|
|
22772
22901
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
22773
|
-
* @version
|
|
22902
|
+
* @version 201.0.0
|
|
22774
22903
|
*/ /**
|
|
22775
22904
|
* Constructs a new VoicemailApi.
|
|
22776
22905
|
* @alias module:purecloud-platform-client-v2/api/VoicemailApi
|
|
@@ -22919,7 +23048,7 @@ if(userId===undefined||userId===null){throw'Missing the required parameter "user
|
|
|
22919
23048
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putVoicemailUserpolicy';}return this.apiClient.callApi('/api/v2/voicemail/userpolicies/{userId}','PUT',{'userId':userId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebChatApi=/*#__PURE__*/function(){/**
|
|
22920
23049
|
* WebChat service.
|
|
22921
23050
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
22922
|
-
* @version
|
|
23051
|
+
* @version 201.0.0
|
|
22923
23052
|
*/ /**
|
|
22924
23053
|
* Constructs a new WebChatApi.
|
|
22925
23054
|
* @alias module:purecloud-platform-client-v2/api/WebChatApi
|
|
@@ -23054,7 +23183,7 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
23054
23183
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWebchatSettings';}return this.apiClient.callApi('/api/v2/webchat/settings','PUT',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebDeploymentsApi=/*#__PURE__*/function(){/**
|
|
23055
23184
|
* WebDeployments service.
|
|
23056
23185
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
23057
|
-
* @version
|
|
23186
|
+
* @version 201.0.0
|
|
23058
23187
|
*/ /**
|
|
23059
23188
|
* Constructs a new WebDeploymentsApi.
|
|
23060
23189
|
* @alias module:purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
@@ -23175,7 +23304,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23175
23304
|
if(deployment===undefined||deployment===null){throw'Missing the required parameter "deployment" when calling putWebdeploymentsDeployment';}return this.apiClient.callApi('/api/v2/webdeployments/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},deployment,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WebMessagingApi=/*#__PURE__*/function(){/**
|
|
23176
23305
|
* WebMessaging service.
|
|
23177
23306
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
23178
|
-
* @version
|
|
23307
|
+
* @version 201.0.0
|
|
23179
23308
|
*/ /**
|
|
23180
23309
|
* Constructs a new WebMessagingApi.
|
|
23181
23310
|
* @alias module:purecloud-platform-client-v2/api/WebMessagingApi
|
|
@@ -23191,7 +23320,7 @@ if(deployment===undefined||deployment===null){throw'Missing the required paramet
|
|
|
23191
23320
|
*/return _createClass(WebMessagingApi,[{key:"getWebmessagingMessages",value:function getWebmessagingMessages(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/webmessaging/messages','GET',{},{'pageSize':opts['pageSize'],'pageNumber':opts['pageNumber']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WidgetsApi=/*#__PURE__*/function(){/**
|
|
23192
23321
|
* Widgets service.
|
|
23193
23322
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
23194
|
-
* @version
|
|
23323
|
+
* @version 201.0.0
|
|
23195
23324
|
*/ /**
|
|
23196
23325
|
* Constructs a new WidgetsApi.
|
|
23197
23326
|
* @alias module:purecloud-platform-client-v2/api/WidgetsApi
|
|
@@ -23226,7 +23355,7 @@ if(deploymentId===undefined||deploymentId===null){throw'Missing the required par
|
|
|
23226
23355
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling putWidgetsDeployment';}return this.apiClient.callApi('/api/v2/widgets/deployments/{deploymentId}','PUT',{'deploymentId':deploymentId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}}]);}();var WorkforceManagementApi=/*#__PURE__*/function(){/**
|
|
23227
23356
|
* WorkforceManagement service.
|
|
23228
23357
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
23229
|
-
* @version
|
|
23358
|
+
* @version 201.0.0
|
|
23230
23359
|
*/ /**
|
|
23231
23360
|
* Constructs a new WorkforceManagementApi.
|
|
23232
23361
|
* @alias module:purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
@@ -23306,6 +23435,22 @@ if(scheduleId===undefined||scheduleId===null){throw'Missing the required paramet
|
|
|
23306
23435
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWeekShorttermforecast';}// verify the required parameter 'weekDateId' is set
|
|
23307
23436
|
if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling deleteWorkforcemanagementBusinessunitWeekShorttermforecast';}// verify the required parameter 'forecastId' is set
|
|
23308
23437
|
if(forecastId===undefined||forecastId===null){throw'Missing the required parameter "forecastId" when calling deleteWorkforcemanagementBusinessunitWeekShorttermforecast';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}','DELETE',{'businessUnitId':businessUnitId,'weekDateId':weekDateId,'forecastId':forecastId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23438
|
+
* Delete a work plan bid
|
|
23439
|
+
*
|
|
23440
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23441
|
+
* @param {String} bidId The ID of the work plan bid
|
|
23442
|
+
*/},{key:"deleteWorkforcemanagementBusinessunitWorkplanbid",value:function deleteWorkforcemanagementBusinessunitWorkplanbid(businessUnitId,bidId){// verify the required parameter 'businessUnitId' is set
|
|
23443
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWorkplanbid';}// verify the required parameter 'bidId' is set
|
|
23444
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitWorkplanbid';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}','DELETE',{'businessUnitId':businessUnitId,'bidId':bidId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23445
|
+
* Delete a bid group by bid group Id
|
|
23446
|
+
*
|
|
23447
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23448
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
23449
|
+
* @param {String} bidGroupId Work Plan Bid Group id
|
|
23450
|
+
*/},{key:"deleteWorkforcemanagementBusinessunitWorkplanbidGroup",value:function deleteWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId,bidId,bidGroupId){// verify the required parameter 'businessUnitId' is set
|
|
23451
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';}// verify the required parameter 'bidId' is set
|
|
23452
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';}// verify the required parameter 'bidGroupId' is set
|
|
23453
|
+
if(bidGroupId===undefined||bidGroupId===null){throw'Missing the required parameter "bidGroupId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}','DELETE',{'businessUnitId':businessUnitId,'bidId':bidId,'bidGroupId':bidGroupId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23309
23454
|
* Disable generated calendar link for the current user
|
|
23310
23455
|
*
|
|
23311
23456
|
*/},{key:"deleteWorkforcemanagementCalendarUrlIcs",value:function deleteWorkforcemanagementCalendarUrlIcs(){return this.apiClient.callApi('/api/v2/workforcemanagement/calendar/url/ics','DELETE',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
@@ -23382,6 +23527,39 @@ if(agentId===undefined||agentId===null){throw'Missing the required parameter "ag
|
|
|
23382
23527
|
* Get the management unit to which the currently logged in agent belongs
|
|
23383
23528
|
*
|
|
23384
23529
|
*/},{key:"getWorkforcemanagementAgentsMeManagementunit",value:function getWorkforcemanagementAgentsMeManagementunit(){return this.apiClient.callApi('/api/v2/workforcemanagement/agents/me/managementunit','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23530
|
+
* Query the status of an alternative shift offers operation. Only the user who started the operation can query the status
|
|
23531
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
23532
|
+
* @param {String} jobId The ID of the job
|
|
23533
|
+
*/},{key:"getWorkforcemanagementAlternativeshiftsOffersJob",value:function getWorkforcemanagementAlternativeshiftsOffersJob(jobId){// verify the required parameter 'jobId' is set
|
|
23534
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsOffersJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/alternativeshifts/offers/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23535
|
+
* Query the status of an alternative shift search offers operation. Only the user who started the operation can query the status
|
|
23536
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
23537
|
+
* @param {String} jobId The ID of the job
|
|
23538
|
+
*/},{key:"getWorkforcemanagementAlternativeshiftsOffersSearchJob",value:function getWorkforcemanagementAlternativeshiftsOffersSearchJob(jobId){// verify the required parameter 'jobId' is set
|
|
23539
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsOffersSearchJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/alternativeshifts/offers/search/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23540
|
+
* Get alternative shifts settings from the current logged in agent’s business unit
|
|
23541
|
+
*
|
|
23542
|
+
*/},{key:"getWorkforcemanagementAlternativeshiftsSettings",value:function getWorkforcemanagementAlternativeshiftsSettings(){return this.apiClient.callApi('/api/v2/workforcemanagement/alternativeshifts/settings','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23543
|
+
* Get my alternative shift trade by trade ID
|
|
23544
|
+
*
|
|
23545
|
+
* @param {String} tradeId The ID of the alternative shift trade
|
|
23546
|
+
*/},{key:"getWorkforcemanagementAlternativeshiftsTrade",value:function getWorkforcemanagementAlternativeshiftsTrade(tradeId){// verify the required parameter 'tradeId' is set
|
|
23547
|
+
if(tradeId===undefined||tradeId===null){throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementAlternativeshiftsTrade';}return this.apiClient.callApi('/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}','GET',{'tradeId':tradeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23548
|
+
* Get a list of my alternative shifts trades
|
|
23549
|
+
*
|
|
23550
|
+
* @param {Object} opts Optional parameters
|
|
23551
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
23552
|
+
*/},{key:"getWorkforcemanagementAlternativeshiftsTrades",value:function getWorkforcemanagementAlternativeshiftsTrades(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/alternativeshifts/trades','GET',{},{'forceAsync':opts['forceAsync']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23553
|
+
* Query the status of an alternative shift trades operation. Only the user who started the operation can query the status
|
|
23554
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
23555
|
+
* @param {String} jobId The ID of the job
|
|
23556
|
+
*/},{key:"getWorkforcemanagementAlternativeshiftsTradesJob",value:function getWorkforcemanagementAlternativeshiftsTradesJob(jobId){// verify the required parameter 'jobId' is set
|
|
23557
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsTradesJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/alternativeshifts/trades/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23558
|
+
* Query the status of an alternative shift trade state operation. Only the user who started the operation can query the status
|
|
23559
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
23560
|
+
* @param {String} jobId The ID of the job
|
|
23561
|
+
*/},{key:"getWorkforcemanagementAlternativeshiftsTradesStateJob",value:function getWorkforcemanagementAlternativeshiftsTradesStateJob(jobId){// verify the required parameter 'jobId' is set
|
|
23562
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsTradesStateJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/alternativeshifts/trades/state/jobs/{jobId}','GET',{'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23385
23563
|
* Get business unit
|
|
23386
23564
|
* Expanding "settings" will retrieve all settings. All other expands will retrieve only the requested settings field(s).
|
|
23387
23565
|
* @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
|
|
@@ -23435,6 +23613,25 @@ if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required
|
|
|
23435
23613
|
* getWorkforcemanagementBusinessunitActivityplansJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
23436
23614
|
*/},{key:"getWorkforcemanagementBusinessunitActivityplansJobs",value:function getWorkforcemanagementBusinessunitActivityplansJobs(businessUnitId){// verify the required parameter 'businessUnitId' is set
|
|
23437
23615
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplansJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/jobs','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23616
|
+
* Get alternative shifts settings for a business unit
|
|
23617
|
+
*
|
|
23618
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23619
|
+
*/},{key:"getWorkforcemanagementBusinessunitAlternativeshiftsSettings",value:function getWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId){// verify the required parameter 'businessUnitId' is set
|
|
23620
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23621
|
+
* Get an alternative shifts trade in a business unit for a given trade ID
|
|
23622
|
+
*
|
|
23623
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23624
|
+
* @param {String} tradeId The ID of the alternative shift trade
|
|
23625
|
+
*/},{key:"getWorkforcemanagementBusinessunitAlternativeshiftsTrade",value:function getWorkforcemanagementBusinessunitAlternativeshiftsTrade(businessUnitId,tradeId){// verify the required parameter 'businessUnitId' is set
|
|
23626
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTrade';}// verify the required parameter 'tradeId' is set
|
|
23627
|
+
if(tradeId===undefined||tradeId===null){throw'Missing the required parameter "tradeId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTrade';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/{tradeId}','GET',{'businessUnitId':businessUnitId,'tradeId':tradeId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23628
|
+
* Query the status of an alternative shift search trade operation. Only the user who started the operation can query the status
|
|
23629
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
23630
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23631
|
+
* @param {String} jobId The ID of the job
|
|
23632
|
+
*/},{key:"getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob",value:function getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob(businessUnitId,jobId){// verify the required parameter 'businessUnitId' is set
|
|
23633
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob';}// verify the required parameter 'jobId' is set
|
|
23634
|
+
if(jobId===undefined||jobId===null){throw'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/search/jobs/{jobId}','GET',{'businessUnitId':businessUnitId,'jobId':jobId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23438
23635
|
* Get intraday planning groups for the given date
|
|
23439
23636
|
*
|
|
23440
23637
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -23686,6 +23883,43 @@ if(forecastId===undefined||forecastId===null){throw'Missing the required paramet
|
|
|
23686
23883
|
*/},{key:"getWorkforcemanagementBusinessunitWeekShorttermforecasts",value:function getWorkforcemanagementBusinessunitWeekShorttermforecasts(businessUnitId,weekDateId){// verify the required parameter 'businessUnitId' is set
|
|
23687
23884
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecasts';}// verify the required parameter 'weekDateId' is set
|
|
23688
23885
|
if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecasts';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts','GET',{'businessUnitId':businessUnitId,'weekDateId':weekDateId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23886
|
+
* Get a work plan bid
|
|
23887
|
+
*
|
|
23888
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23889
|
+
* @param {String} bidId The id of the workplanbid
|
|
23890
|
+
*/},{key:"getWorkforcemanagementBusinessunitWorkplanbid",value:function getWorkforcemanagementBusinessunitWorkplanbid(businessUnitId,bidId){// verify the required parameter 'businessUnitId' is set
|
|
23891
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbid';}// verify the required parameter 'bidId' is set
|
|
23892
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbid';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}','GET',{'businessUnitId':businessUnitId,'bidId':bidId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23893
|
+
* Get a bid group by bid group Id
|
|
23894
|
+
*
|
|
23895
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23896
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
23897
|
+
* @param {String} bidGroupId Work Plan Bid Group id
|
|
23898
|
+
*/},{key:"getWorkforcemanagementBusinessunitWorkplanbidGroup",value:function getWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId,bidId,bidGroupId){// verify the required parameter 'businessUnitId' is set
|
|
23899
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';}// verify the required parameter 'bidId' is set
|
|
23900
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';}// verify the required parameter 'bidGroupId' is set
|
|
23901
|
+
if(bidGroupId===undefined||bidGroupId===null){throw'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}','GET',{'businessUnitId':businessUnitId,'bidId':bidId,'bidGroupId':bidGroupId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23902
|
+
* Gets the work plan preferences of all the agents in the work plan bid group
|
|
23903
|
+
*
|
|
23904
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23905
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
23906
|
+
* @param {String} bidGroupId The ID of the work plan bid group
|
|
23907
|
+
*/},{key:"getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences",value:function getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId,bidId,bidGroupId){// verify the required parameter 'businessUnitId' is set
|
|
23908
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';}// verify the required parameter 'bidId' is set
|
|
23909
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';}// verify the required parameter 'bidGroupId' is set
|
|
23910
|
+
if(bidGroupId===undefined||bidGroupId===null){throw'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences','GET',{'businessUnitId':businessUnitId,'bidId':bidId,'bidGroupId':bidGroupId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23911
|
+
* Get summary of bid groups that belong to a work plan bid
|
|
23912
|
+
*
|
|
23913
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23914
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
23915
|
+
*/},{key:"getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary",value:function getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary(businessUnitId,bidId){// verify the required parameter 'businessUnitId' is set
|
|
23916
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary';}// verify the required parameter 'bidId' is set
|
|
23917
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/summary','GET',{'businessUnitId':businessUnitId,'bidId':bidId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23918
|
+
* Get list of work plan bids
|
|
23919
|
+
*
|
|
23920
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
23921
|
+
*/},{key:"getWorkforcemanagementBusinessunitWorkplanbids",value:function getWorkforcemanagementBusinessunitWorkplanbids(businessUnitId){// verify the required parameter 'businessUnitId' is set
|
|
23922
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbids';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids','GET',{'businessUnitId':businessUnitId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23689
23923
|
* Get business units
|
|
23690
23924
|
*
|
|
23691
23925
|
* @param {Object} opts Optional parameters
|
|
@@ -23938,6 +24172,24 @@ if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the requ
|
|
|
23938
24172
|
* @param {Object} opts Optional parameters
|
|
23939
24173
|
* @param {Boolean} opts.recentlyReviewed Limit results to requests that have been reviewed within the preceding 30 days (default to false)
|
|
23940
24174
|
*/},{key:"getWorkforcemanagementTimeoffrequests",value:function getWorkforcemanagementTimeoffrequests(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests','GET',{},{'recentlyReviewed':opts['recentlyReviewed']},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24175
|
+
* Get work plan bid ranks for a user
|
|
24176
|
+
*
|
|
24177
|
+
* @param {String} userId The userId to whom the work plan bid ranks apply.
|
|
24178
|
+
*/},{key:"getWorkforcemanagementUserWorkplanbidranks",value:function getWorkforcemanagementUserWorkplanbidranks(userId){// verify the required parameter 'userId' is set
|
|
24179
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling getWorkforcemanagementUserWorkplanbidranks';}return this.apiClient.callApi('/api/v2/workforcemanagement/users/{userId}/workplanbidranks','GET',{'userId':userId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24180
|
+
* Gets an agent's work plan bidding preference
|
|
24181
|
+
*
|
|
24182
|
+
* @param {String} bidId The ID of the work plan bid
|
|
24183
|
+
*/},{key:"getWorkforcemanagementWorkplanbidPreferences",value:function getWorkforcemanagementWorkplanbidPreferences(bidId){// verify the required parameter 'bidId' is set
|
|
24184
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidPreferences';}return this.apiClient.callApi('/api/v2/workforcemanagement/workplanbids/{bidId}/preferences','GET',{'bidId':bidId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24185
|
+
* Gets an agent's work plans for a bid
|
|
24186
|
+
*
|
|
24187
|
+
* @param {String} bidId The ID of the work plan bid
|
|
24188
|
+
*/},{key:"getWorkforcemanagementWorkplanbidWorkplans",value:function getWorkforcemanagementWorkplanbidWorkplans(bidId){// verify the required parameter 'bidId' is set
|
|
24189
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidWorkplans';}return this.apiClient.callApi('/api/v2/workforcemanagement/workplanbids/{bidId}/workplans','GET',{'bidId':bidId},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24190
|
+
* Gets the list of work plan bids that belong to an agent
|
|
24191
|
+
*
|
|
24192
|
+
*/},{key:"getWorkforcemanagementWorkplanbids",value:function getWorkforcemanagementWorkplanbids(){return this.apiClient.callApi('/api/v2/workforcemanagement/workplanbids','GET',{},{},{},{},null,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23941
24193
|
* Update an adherence explanation
|
|
23942
24194
|
*
|
|
23943
24195
|
* @param {String} agentId The ID of the agent to query
|
|
@@ -23947,6 +24199,18 @@ if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the requ
|
|
|
23947
24199
|
if(agentId===undefined||agentId===null){throw'Missing the required parameter "agentId" when calling patchWorkforcemanagementAgentAdherenceExplanation';}// verify the required parameter 'explanationId' is set
|
|
23948
24200
|
if(explanationId===undefined||explanationId===null){throw'Missing the required parameter "explanationId" when calling patchWorkforcemanagementAgentAdherenceExplanation';}// verify the required parameter 'body' is set
|
|
23949
24201
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementAgentAdherenceExplanation';}return this.apiClient.callApi('/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/{explanationId}','PATCH',{'agentId':agentId,'explanationId':explanationId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24202
|
+
* Update my alternative shifts trade by trade ID
|
|
24203
|
+
*
|
|
24204
|
+
* @param {String} tradeId The ID of the alternative shift trade
|
|
24205
|
+
* @param {Object} opts Optional parameters
|
|
24206
|
+
* @param {Object} opts.body body
|
|
24207
|
+
*/},{key:"patchWorkforcemanagementAlternativeshiftsTrade",value:function patchWorkforcemanagementAlternativeshiftsTrade(tradeId,opts){opts=opts||{};// verify the required parameter 'tradeId' is set
|
|
24208
|
+
if(tradeId===undefined||tradeId===null){throw'Missing the required parameter "tradeId" when calling patchWorkforcemanagementAlternativeshiftsTrade';}return this.apiClient.callApi('/api/v2/workforcemanagement/alternativeshifts/trades/{tradeId}','PATCH',{'tradeId':tradeId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24209
|
+
* Bulk update alternative shift trade states
|
|
24210
|
+
*
|
|
24211
|
+
* @param {Object} body The request body
|
|
24212
|
+
*/},{key:"patchWorkforcemanagementAlternativeshiftsTradesStateJobs",value:function patchWorkforcemanagementAlternativeshiftsTradesStateJobs(body){// verify the required parameter 'body' is set
|
|
24213
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementAlternativeshiftsTradesStateJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/alternativeshifts/trades/state/jobs','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23950
24214
|
* Update business unit
|
|
23951
24215
|
*
|
|
23952
24216
|
* @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
|
|
@@ -23973,6 +24237,13 @@ if(activityCodeId===undefined||activityCodeId===null){throw'Missing the required
|
|
|
23973
24237
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'activityPlanId' is set
|
|
23974
24238
|
if(activityPlanId===undefined||activityPlanId===null){throw'Missing the required parameter "activityPlanId" when calling patchWorkforcemanagementBusinessunitActivityplan';}// verify the required parameter 'body' is set
|
|
23975
24239
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitActivityplan';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/activityplans/{activityPlanId}','PATCH',{'businessUnitId':businessUnitId,'activityPlanId':activityPlanId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24240
|
+
* Update alternative shifts settings for a business unit
|
|
24241
|
+
*
|
|
24242
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
24243
|
+
* @param {Object} opts Optional parameters
|
|
24244
|
+
* @param {Object} opts.body body
|
|
24245
|
+
*/},{key:"patchWorkforcemanagementBusinessunitAlternativeshiftsSettings",value:function patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
24246
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/settings','PATCH',{'businessUnitId':businessUnitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
23976
24247
|
* Updates the planning group
|
|
23977
24248
|
*
|
|
23978
24249
|
* @param {String} businessUnitId The ID of the business unit.
|
|
@@ -24018,6 +24289,37 @@ if(staffingGroupId===undefined||staffingGroupId===null){throw'Missing the requir
|
|
|
24018
24289
|
*/},{key:"patchWorkforcemanagementBusinessunitTimeoffplan",value:function patchWorkforcemanagementBusinessunitTimeoffplan(businessUnitId,timeOffPlanId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
24019
24290
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';}// verify the required parameter 'timeOffPlanId' is set
|
|
24020
24291
|
if(timeOffPlanId===undefined||timeOffPlanId===null){throw'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/timeoffplans/{timeOffPlanId}','PATCH',{'businessUnitId':businessUnitId,'timeOffPlanId':timeOffPlanId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24292
|
+
* Update work plan bid
|
|
24293
|
+
*
|
|
24294
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
24295
|
+
* @param {String} bidId The id of the workplanbid
|
|
24296
|
+
* @param {Object} body The work plan bid to be updated
|
|
24297
|
+
*/},{key:"patchWorkforcemanagementBusinessunitWorkplanbid",value:function patchWorkforcemanagementBusinessunitWorkplanbid(businessUnitId,bidId,body){// verify the required parameter 'businessUnitId' is set
|
|
24298
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';}// verify the required parameter 'bidId' is set
|
|
24299
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';}// verify the required parameter 'body' is set
|
|
24300
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementBusinessunitWorkplanbid';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}','PATCH',{'businessUnitId':businessUnitId,'bidId':bidId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24301
|
+
* Update a bid group by bid group Id
|
|
24302
|
+
*
|
|
24303
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
24304
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
24305
|
+
* @param {String} bidGroupId Work Plan Bid Group id
|
|
24306
|
+
* @param {Object} opts Optional parameters
|
|
24307
|
+
* @param {Object} opts.body body
|
|
24308
|
+
*/},{key:"patchWorkforcemanagementBusinessunitWorkplanbidGroup",value:function patchWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId,bidId,bidGroupId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
24309
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';}// verify the required parameter 'bidId' is set
|
|
24310
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';}// verify the required parameter 'bidGroupId' is set
|
|
24311
|
+
if(bidGroupId===undefined||bidGroupId===null){throw'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}','PATCH',{'businessUnitId':businessUnitId,'bidId':bidId,'bidGroupId':bidGroupId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24312
|
+
* Overrides the assigned work plan for the specified agents
|
|
24313
|
+
*
|
|
24314
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
24315
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
24316
|
+
* @param {String} bidGroupId The ID of the work plan bid group
|
|
24317
|
+
* @param {Object} opts Optional parameters
|
|
24318
|
+
* @param {Object} opts.body body
|
|
24319
|
+
*/},{key:"patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences",value:function patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId,bidId,bidGroupId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
24320
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';}// verify the required parameter 'bidId' is set
|
|
24321
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';}// verify the required parameter 'bidGroupId' is set
|
|
24322
|
+
if(bidGroupId===undefined||bidGroupId===null){throw'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups/{bidGroupId}/preferences','PATCH',{'businessUnitId':businessUnitId,'bidId':bidId,'bidGroupId':bidGroupId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24021
24323
|
* Update the requested management unit
|
|
24022
24324
|
*
|
|
24023
24325
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
@@ -24109,6 +24411,25 @@ if(workPlanRotationId===undefined||workPlanRotationId===null){throw'Missing the
|
|
|
24109
24411
|
* @param {Object} opts.body body
|
|
24110
24412
|
*/},{key:"patchWorkforcemanagementTimeoffrequest",value:function patchWorkforcemanagementTimeoffrequest(timeOffRequestId,opts){opts=opts||{};// verify the required parameter 'timeOffRequestId' is set
|
|
24111
24413
|
if(timeOffRequestId===undefined||timeOffRequestId===null){throw'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementTimeoffrequest';}return this.apiClient.callApi('/api/v2/workforcemanagement/timeoffrequests/{timeOffRequestId}','PATCH',{'timeOffRequestId':timeOffRequestId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24414
|
+
* Update work plan bid ranks for a user
|
|
24415
|
+
*
|
|
24416
|
+
* @param {String} userId The userId to whom the work plan bid ranks apply.
|
|
24417
|
+
* @param {Object} opts Optional parameters
|
|
24418
|
+
* @param {Object} opts.body body
|
|
24419
|
+
*/},{key:"patchWorkforcemanagementUserWorkplanbidranks",value:function patchWorkforcemanagementUserWorkplanbidranks(userId,opts){opts=opts||{};// verify the required parameter 'userId' is set
|
|
24420
|
+
if(userId===undefined||userId===null){throw'Missing the required parameter "userId" when calling patchWorkforcemanagementUserWorkplanbidranks';}return this.apiClient.callApi('/api/v2/workforcemanagement/users/{userId}/workplanbidranks','PATCH',{'userId':userId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24421
|
+
* Update bulk work plan bid ranks on users. Max 50 users can be updated at a time.
|
|
24422
|
+
*
|
|
24423
|
+
* @param {Array.<Object>} body Users
|
|
24424
|
+
*/},{key:"patchWorkforcemanagementUsersWorkplanbidranksBulk",value:function patchWorkforcemanagementUsersWorkplanbidranksBulk(body){// verify the required parameter 'body' is set
|
|
24425
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling patchWorkforcemanagementUsersWorkplanbidranksBulk';}return this.apiClient.callApi('/api/v2/workforcemanagement/users/workplanbidranks/bulk','PATCH',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24426
|
+
* Update an agent's work plan bidding preference
|
|
24427
|
+
*
|
|
24428
|
+
* @param {String} bidId The ID of the work plan bid
|
|
24429
|
+
* @param {Object} opts Optional parameters
|
|
24430
|
+
* @param {Object} opts.body body
|
|
24431
|
+
*/},{key:"patchWorkforcemanagementWorkplanbidPreferences",value:function patchWorkforcemanagementWorkplanbidPreferences(bidId,opts){opts=opts||{};// verify the required parameter 'bidId' is set
|
|
24432
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling patchWorkforcemanagementWorkplanbidPreferences';}return this.apiClient.callApi('/api/v2/workforcemanagement/workplanbids/{bidId}/preferences','PATCH',{'bidId':bidId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24112
24433
|
* Submit an adherence explanation for the current user
|
|
24113
24434
|
*
|
|
24114
24435
|
* @param {Object} body The request body
|
|
@@ -24170,6 +24491,21 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24170
24491
|
* @param {Object} opts Optional parameters
|
|
24171
24492
|
* @param {Object} opts.body body
|
|
24172
24493
|
*/},{key:"postWorkforcemanagementAgentschedulesMine",value:function postWorkforcemanagementAgentschedulesMine(opts){opts=opts||{};return this.apiClient.callApi('/api/v2/workforcemanagement/agentschedules/mine','POST',{},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24494
|
+
* Request a list of alternative shift offers for a given schedule
|
|
24495
|
+
*
|
|
24496
|
+
* @param {Object} body The request body
|
|
24497
|
+
*/},{key:"postWorkforcemanagementAlternativeshiftsOffersJobs",value:function postWorkforcemanagementAlternativeshiftsOffersJobs(body){// verify the required parameter 'body' is set
|
|
24498
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsOffersJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/alternativeshifts/offers/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24499
|
+
* Request a search of alternative shift offers for a given shift
|
|
24500
|
+
*
|
|
24501
|
+
* @param {Object} body The request body
|
|
24502
|
+
*/},{key:"postWorkforcemanagementAlternativeshiftsOffersSearchJobs",value:function postWorkforcemanagementAlternativeshiftsOffersSearchJobs(body){// verify the required parameter 'body' is set
|
|
24503
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsOffersSearchJobs';}return this.apiClient.callApi('/api/v2/workforcemanagement/alternativeshifts/offers/search/jobs','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24504
|
+
* Create my alternative shift trade using an existing offer's jobId
|
|
24505
|
+
*
|
|
24506
|
+
* @param {Object} body The request body
|
|
24507
|
+
*/},{key:"postWorkforcemanagementAlternativeshiftsTrades",value:function postWorkforcemanagementAlternativeshiftsTrades(body){// verify the required parameter 'body' is set
|
|
24508
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementAlternativeshiftsTrades';}return this.apiClient.callApi('/api/v2/workforcemanagement/alternativeshifts/trades','POST',{},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24173
24509
|
* Create a new activity code
|
|
24174
24510
|
*
|
|
24175
24511
|
* @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
|
|
@@ -24212,6 +24548,15 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24212
24548
|
* @param {Object} opts.body body
|
|
24213
24549
|
*/},{key:"postWorkforcemanagementBusinessunitAgentschedulesSearch",value:function postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
24214
24550
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/agentschedules/search','POST',{'businessUnitId':businessUnitId},{'forceAsync':opts['forceAsync'],'forceDownloadService':opts['forceDownloadService']},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24551
|
+
* List alternative shifts trades for a given management unit or agent
|
|
24552
|
+
*
|
|
24553
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
24554
|
+
* @param {Object} body The request body
|
|
24555
|
+
* @param {Object} opts Optional parameters
|
|
24556
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
24557
|
+
*/},{key:"postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch",value:function postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch(businessUnitId,body,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
24558
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch';}// verify the required parameter 'body' is set
|
|
24559
|
+
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/alternativeshifts/trades/search','POST',{'businessUnitId':businessUnitId},{'forceAsync':opts['forceAsync']},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24215
24560
|
* Get intraday data for the given date for the requested planningGroupIds
|
|
24216
24561
|
*
|
|
24217
24562
|
* @param {String} businessUnitId The ID of the business unit
|
|
@@ -24427,6 +24772,31 @@ if(body===undefined||body===null){throw'Missing the required parameter "body" wh
|
|
|
24427
24772
|
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';}// verify the required parameter 'weekDateId' is set
|
|
24428
24773
|
if(weekDateId===undefined||weekDateId===null){throw'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';}// verify the required parameter 'body' is set
|
|
24429
24774
|
if(body===undefined||body===null){throw'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import/uploadurl','POST',{'businessUnitId':businessUnitId,'weekDateId':weekDateId},{},{},{},body,['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24775
|
+
* Copy a work plan bid
|
|
24776
|
+
*
|
|
24777
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
24778
|
+
* @param {String} bidId The ID of the work plan bid to copy
|
|
24779
|
+
* @param {Object} opts Optional parameters
|
|
24780
|
+
* @param {Object} opts.body body
|
|
24781
|
+
*/},{key:"postWorkforcemanagementBusinessunitWorkplanbidCopy",value:function postWorkforcemanagementBusinessunitWorkplanbidCopy(businessUnitId,bidId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
24782
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';}// verify the required parameter 'bidId' is set
|
|
24783
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/copy','POST',{'businessUnitId':businessUnitId,'bidId':bidId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24784
|
+
* Add a bid group in a given work plan bid
|
|
24785
|
+
*
|
|
24786
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
24787
|
+
* @param {String} bidId The work plan bid id of the bid groups
|
|
24788
|
+
* @param {Object} opts Optional parameters
|
|
24789
|
+
* @param {Object} opts.body body
|
|
24790
|
+
*/},{key:"postWorkforcemanagementBusinessunitWorkplanbidGroups",value:function postWorkforcemanagementBusinessunitWorkplanbidGroups(businessUnitId,bidId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
24791
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';}// verify the required parameter 'bidId' is set
|
|
24792
|
+
if(bidId===undefined||bidId===null){throw'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids/{bidId}/groups','POST',{'businessUnitId':businessUnitId,'bidId':bidId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24793
|
+
* Create a new work plan bid
|
|
24794
|
+
*
|
|
24795
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
24796
|
+
* @param {Object} opts Optional parameters
|
|
24797
|
+
* @param {Object} opts.body The work plan bid to be created
|
|
24798
|
+
*/},{key:"postWorkforcemanagementBusinessunitWorkplanbids",value:function postWorkforcemanagementBusinessunitWorkplanbids(businessUnitId,opts){opts=opts||{};// verify the required parameter 'businessUnitId' is set
|
|
24799
|
+
if(businessUnitId===undefined||businessUnitId===null){throw'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbids';}return this.apiClient.callApi('/api/v2/workforcemanagement/businessunits/{businessUnitId}/workplanbids','POST',{'businessUnitId':businessUnitId},{},{},{},opts['body'],['PureCloud OAuth'],['application/json'],['application/json']);}/**
|
|
24430
24800
|
* Add a new business unit
|
|
24431
24801
|
* It may take a minute or two for a new business unit to be available for api operations
|
|
24432
24802
|
* @param {Object} opts Optional parameters
|
|
@@ -24758,7 +25128,7 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24758
25128
|
* </pre>
|
|
24759
25129
|
* </p>
|
|
24760
25130
|
* @module purecloud-platform-client-v2/index
|
|
24761
|
-
* @version
|
|
25131
|
+
* @version 201.0.0
|
|
24762
25132
|
*/var platformClient=/*#__PURE__*/_createClass(function platformClient(){_classCallCheck(this,platformClient);/**
|
|
24763
25133
|
* The ApiClient constructor.
|
|
24764
25134
|
* @property {module:purecloud-platform-client-v2/ApiClient}
|
|
@@ -24999,5 +25369,5 @@ if(timeOffLimitId===undefined||timeOffLimitId===null){throw'Missing the required
|
|
|
24999
25369
|
*/this.PureCloudRegionHosts=PureCloudRegionHosts;});//export default platformClient;
|
|
25000
25370
|
var index=new platformClient();module.exports=index;
|
|
25001
25371
|
|
|
25002
|
-
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
|
|
25003
|
-
},{"buffer":3,"os":5,"path":6,"qs":
|
|
25372
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,require("timers").setImmediate)
|
|
25373
|
+
},{"buffer":3,"os":5,"path":6,"qs":31,"timers":8}]},{},[]);
|