@ama-sdk/core 14.6.0-prerelease.9 → 15.1.0-prerelease.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/cjs/fwk/api-helpers.js +10 -19
- package/cjs/fwk/api-helpers.spec.js +79 -10
- package/cjs/fwk/core/api-client.js +1 -1
- package/cjs/fwk/date.js +20 -29
- package/cjs/fwk/errors.js +16 -27
- package/cjs/fwk/mocks/alf-mock-adapter.js +5 -11
- package/cjs/fwk/mocks/base-mock-adapter.js +4 -11
- package/cjs/fwk/mocks/random-mock-adapter.js +12 -20
- package/cjs/fwk/mocks/sequential-mock-adapter.js +12 -20
- package/cjs/fwk/param-deserialization.js +1 -1
- package/cjs/fwk/param-serialization.js +2 -4
- package/cjs/fwk/server.js +1 -1
- package/cjs/plugins/additional-params/additional-params-request.js +17 -24
- package/cjs/plugins/additional-params/additional-params-sync-request.js +3 -7
- package/cjs/plugins/additional-params/additional-params.spec.js +2 -5
- package/cjs/plugins/api-configuration-override/api-configuration-override-request.js +4 -11
- package/cjs/plugins/api-configuration-override/api-configuration-override.spec.js +4 -11
- package/cjs/plugins/api-key/api-key-request.js +4 -11
- package/cjs/plugins/api-key/api-key.spec.js +2 -5
- package/cjs/plugins/bot-protection-fingerprint/bot-protection-fingerprint-request.js +4 -11
- package/cjs/plugins/bot-protection-fingerprint/bot-protection-fingerprint.spec.js +2 -5
- package/cjs/plugins/client-facts/client-facts-request.js +4 -11
- package/cjs/plugins/client-facts/client-facts.spec.js +3 -8
- package/cjs/plugins/custom-info/custom-info-reply.js +2 -6
- package/cjs/plugins/custom-info/custom-info.spec.js +2 -5
- package/cjs/plugins/exception/exception-reply.js +2 -6
- package/cjs/plugins/exception/exception.spec.js +1 -3
- package/cjs/plugins/fetch-cache/fetch-cache-request.js +4 -9
- package/cjs/plugins/fetch-cache/fetch-cache.spec.js +2 -5
- package/cjs/plugins/fetch-credentials/fetch-credentials-request.js +2 -6
- package/cjs/plugins/fetch-credentials/fetch-credentials.spec.js +2 -5
- package/cjs/plugins/json-token/json-token-reply.js +2 -6
- package/cjs/plugins/json-token/json-token-request.js +2 -6
- package/cjs/plugins/json-token/json-token.spec.js +2 -5
- package/cjs/plugins/mgw-mdw-auth/mgw-mdw-auth-helpers.js +14 -15
- package/cjs/plugins/mgw-mdw-auth/mgw-mdw-auth-request.js +4 -11
- package/cjs/plugins/mgw-mdw-auth/mgw-mdw-auth.spec.js +4 -11
- package/cjs/plugins/mock-intercept/mock-intercept-request.js +6 -14
- package/cjs/plugins/mock-intercept/mock-intercept.spec.js +2 -5
- package/cjs/plugins/open-telemetry/traceparent/open-telemetry-traceparent-reply.js +5 -10
- package/cjs/plugins/open-telemetry/traceparent/open-telemetry-traceparent-reply.spec.js +2 -5
- package/cjs/plugins/open-telemetry/traceparent/open-telemetry-traceparent-request.js +4 -9
- package/cjs/plugins/open-telemetry/traceparent/open-telemetry-traceparent-request.spec.js +2 -5
- package/cjs/plugins/pii-tokenizer/pii-tokenizer-request.js +4 -11
- package/cjs/plugins/pii-tokenizer/pii-tokenizer.spec.js +13 -30
- package/cjs/plugins/raw-response-info/raw-response-info-reply.js +4 -9
- package/cjs/plugins/raw-response-info/raw-response-info.spec.js +2 -5
- package/cjs/plugins/reviver/reviver-reply.js +2 -6
- package/cjs/plugins/reviver/reviver.spec.js +2 -5
- package/cjs/plugins/session-id/session-id-request.js +2 -6
- package/cjs/plugins/session-id/session-id.spec.js +2 -5
- package/cjs/plugins/si-token/si-token-request.js +12 -20
- package/cjs/plugins/si-token/si-token.spec.js +2 -5
- package/cjs/plugins/simple-api-key-authentication/simple-api-key-authentication-request.js +4 -11
- package/cjs/plugins/simple-api-key-authentication/simple-api-key-authentication.spec.js +2 -5
- package/cjs/plugins/url-rewrite/url-rewrite-request.js +4 -11
- package/cjs/plugins/url-rewrite/url-rewrite.spec.js +2 -5
- package/cjs/utils/crypto.js +2 -5
- package/cjs/utils/encoder.js +6 -8
- package/cjs/utils/generic-api.js +4 -11
- package/cjs/utils/json-token.js +2 -5
- package/cjs/utils/json-token.spec.js +11 -14
- package/cjs/utils/perf/perf-metric.js +4 -9
- package/esm2015/fwk/api-helpers.js +11 -21
- package/esm2015/fwk/api-helpers.spec.js +80 -11
- package/esm2015/fwk/core/api-client.js +1 -1
- package/esm2015/fwk/date.js +20 -29
- package/esm2015/fwk/errors.js +16 -27
- package/esm2015/fwk/mocks/alf-mock-adapter.js +5 -11
- package/esm2015/fwk/mocks/base-mock-adapter.js +4 -11
- package/esm2015/fwk/mocks/random-mock-adapter.js +12 -20
- package/esm2015/fwk/mocks/sequential-mock-adapter.js +12 -20
- package/esm2015/fwk/param-deserialization.js +1 -1
- package/esm2015/fwk/param-serialization.js +2 -4
- package/esm2015/fwk/server.js +1 -1
- package/esm2015/plugins/additional-params/additional-params-request.js +17 -24
- package/esm2015/plugins/additional-params/additional-params-sync-request.js +3 -7
- package/esm2015/plugins/additional-params/additional-params.spec.js +2 -5
- package/esm2015/plugins/api-configuration-override/api-configuration-override-request.js +4 -11
- package/esm2015/plugins/api-configuration-override/api-configuration-override.spec.js +4 -11
- package/esm2015/plugins/api-key/api-key-request.js +4 -11
- package/esm2015/plugins/api-key/api-key.spec.js +2 -5
- package/esm2015/plugins/bot-protection-fingerprint/bot-protection-fingerprint-request.js +4 -11
- package/esm2015/plugins/bot-protection-fingerprint/bot-protection-fingerprint.spec.js +2 -5
- package/esm2015/plugins/client-facts/client-facts-request.js +4 -11
- package/esm2015/plugins/client-facts/client-facts.spec.js +3 -8
- package/esm2015/plugins/custom-info/custom-info-reply.js +2 -6
- package/esm2015/plugins/custom-info/custom-info.spec.js +2 -5
- package/esm2015/plugins/exception/exception-reply.js +2 -6
- package/esm2015/plugins/exception/exception.spec.js +1 -3
- package/esm2015/plugins/fetch-cache/fetch-cache-request.js +4 -9
- package/esm2015/plugins/fetch-cache/fetch-cache.spec.js +2 -5
- package/esm2015/plugins/fetch-credentials/fetch-credentials-request.js +2 -6
- package/esm2015/plugins/fetch-credentials/fetch-credentials.spec.js +2 -5
- package/esm2015/plugins/json-token/json-token-reply.js +2 -6
- package/esm2015/plugins/json-token/json-token-request.js +2 -6
- package/esm2015/plugins/json-token/json-token.spec.js +2 -5
- package/esm2015/plugins/mgw-mdw-auth/mgw-mdw-auth-helpers.js +14 -15
- package/esm2015/plugins/mgw-mdw-auth/mgw-mdw-auth-request.js +4 -11
- package/esm2015/plugins/mgw-mdw-auth/mgw-mdw-auth.spec.js +4 -11
- package/esm2015/plugins/mock-intercept/mock-intercept-request.js +6 -14
- package/esm2015/plugins/mock-intercept/mock-intercept.spec.js +2 -5
- package/esm2015/plugins/open-telemetry/traceparent/open-telemetry-traceparent-reply.js +5 -10
- package/esm2015/plugins/open-telemetry/traceparent/open-telemetry-traceparent-reply.spec.js +2 -5
- package/esm2015/plugins/open-telemetry/traceparent/open-telemetry-traceparent-request.js +4 -9
- package/esm2015/plugins/open-telemetry/traceparent/open-telemetry-traceparent-request.spec.js +2 -5
- package/esm2015/plugins/pii-tokenizer/pii-tokenizer-request.js +4 -11
- package/esm2015/plugins/pii-tokenizer/pii-tokenizer.spec.js +5 -11
- package/esm2015/plugins/raw-response-info/raw-response-info-reply.js +4 -9
- package/esm2015/plugins/raw-response-info/raw-response-info.spec.js +2 -5
- package/esm2015/plugins/reviver/reviver-reply.js +2 -6
- package/esm2015/plugins/reviver/reviver.spec.js +2 -5
- package/esm2015/plugins/session-id/session-id-request.js +2 -6
- package/esm2015/plugins/session-id/session-id.spec.js +2 -5
- package/esm2015/plugins/si-token/si-token-request.js +12 -20
- package/esm2015/plugins/si-token/si-token.spec.js +2 -5
- package/esm2015/plugins/simple-api-key-authentication/simple-api-key-authentication-request.js +4 -11
- package/esm2015/plugins/simple-api-key-authentication/simple-api-key-authentication.spec.js +2 -5
- package/esm2015/plugins/url-rewrite/url-rewrite-request.js +4 -11
- package/esm2015/plugins/url-rewrite/url-rewrite.spec.js +2 -5
- package/esm2015/utils/crypto.js +2 -5
- package/esm2015/utils/encoder.js +6 -8
- package/esm2015/utils/generic-api.js +4 -11
- package/esm2015/utils/json-token.js +2 -5
- package/esm2015/utils/json-token.spec.js +11 -14
- package/esm2015/utils/perf/perf-metric.js +4 -9
- package/package.json +25 -25
- package/schematics/ng-add/index.js +3 -2
- package/schematics/ng-add/index.js.map +1 -1
- package/src/fwk/api-helpers.d.ts +2 -10
- package/src/fwk/api-helpers.d.ts.map +1 -1
- package/src/fwk/api-helpers.js +8 -16
- package/src/fwk/api-helpers.js.map +1 -1
- package/src/fwk/core/api-client.d.ts +2 -10
- package/src/fwk/core/api-client.d.ts.map +1 -1
- package/src/fwk/core/api-client.js +1 -1
- package/src/fwk/core/api-client.js.map +1 -1
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
78
|
}
|
|
79
|
-
function _is_native_reflect_construct() {
|
|
80
|
-
try {
|
|
81
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
-
} catch (_) {}
|
|
83
|
-
return (_is_native_reflect_construct = function() {
|
|
84
|
-
return !!result;
|
|
85
|
-
})();
|
|
86
|
-
}
|
|
87
79
|
import { BaseMockAdapter } from './base-mock-adapter';
|
|
88
80
|
/**
|
|
89
81
|
* Mock adapter that, for each operation, runs through the list of mocks randomly
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _assert_this_initialized(self) {
|
|
2
|
-
if (self === void 0)
|
|
3
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
-
}
|
|
2
|
+
if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
5
3
|
return self;
|
|
6
4
|
}
|
|
7
5
|
function _call_super(_this, derived, args) {
|
|
@@ -9,9 +7,7 @@ function _call_super(_this, derived, args) {
|
|
|
9
7
|
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
8
|
}
|
|
11
9
|
function _class_call_check(instance, Constructor) {
|
|
12
|
-
if (!(instance instanceof Constructor))
|
|
13
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
15
11
|
}
|
|
16
12
|
function _defineProperties(target, props) {
|
|
17
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -35,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
35
31
|
configurable: true,
|
|
36
32
|
writable: true
|
|
37
33
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
41
35
|
return obj;
|
|
42
36
|
}
|
|
43
37
|
function _get_prototype_of(o) {
|
|
@@ -59,10 +53,16 @@ function _inherits(subClass, superClass) {
|
|
|
59
53
|
});
|
|
60
54
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
55
|
}
|
|
56
|
+
function _is_native_reflect_construct() {
|
|
57
|
+
try {
|
|
58
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
59
|
+
} catch (_) {}
|
|
60
|
+
return (_is_native_reflect_construct = function() {
|
|
61
|
+
return !!result;
|
|
62
|
+
})();
|
|
63
|
+
}
|
|
62
64
|
function _possible_constructor_return(self, call) {
|
|
63
|
-
if (call && (_type_of(call) === "object" || typeof call === "function"))
|
|
64
|
-
return call;
|
|
65
|
-
}
|
|
65
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) return call;
|
|
66
66
|
return _assert_this_initialized(self);
|
|
67
67
|
}
|
|
68
68
|
function _set_prototype_of(o, p) {
|
|
@@ -76,14 +76,6 @@ function _type_of(obj) {
|
|
|
76
76
|
"@swc/helpers - typeof";
|
|
77
77
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
78
|
}
|
|
79
|
-
function _is_native_reflect_construct() {
|
|
80
|
-
try {
|
|
81
|
-
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
-
} catch (_) {}
|
|
83
|
-
return (_is_native_reflect_construct = function() {
|
|
84
|
-
return !!result;
|
|
85
|
-
})();
|
|
86
|
-
}
|
|
87
79
|
import { BaseMockAdapter } from './base-mock-adapter';
|
|
88
80
|
/**
|
|
89
81
|
* Mock adapter that, for each operation, runs through the list of mocks sequentially.
|
|
@@ -31,7 +31,7 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
31
31
|
return _arr;
|
|
32
32
|
}
|
|
33
33
|
function _non_iterable_rest() {
|
|
34
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
34
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
35
35
|
}
|
|
36
36
|
function _sliced_to_array(arr, i) {
|
|
37
37
|
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
@@ -10,9 +10,7 @@ function _instanceof(left, right) {
|
|
|
10
10
|
"@swc/helpers - instanceof";
|
|
11
11
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
12
12
|
return !!right[Symbol.hasInstance](left);
|
|
13
|
-
} else
|
|
14
|
-
return left instanceof right;
|
|
15
|
-
}
|
|
13
|
+
} else return left instanceof right;
|
|
16
14
|
}
|
|
17
15
|
function _iterable_to_array_limit(arr, i) {
|
|
18
16
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
@@ -39,7 +37,7 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
39
37
|
return _arr;
|
|
40
38
|
}
|
|
41
39
|
function _non_iterable_rest() {
|
|
42
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
40
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
43
41
|
}
|
|
44
42
|
function _sliced_to_array(arr, i) {
|
|
45
43
|
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
package/esm2015/fwk/server.js
CHANGED
|
@@ -31,7 +31,7 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
31
31
|
return _arr;
|
|
32
32
|
}
|
|
33
33
|
function _non_iterable_rest() {
|
|
34
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
34
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
35
35
|
}
|
|
36
36
|
function _sliced_to_array(arr, i) {
|
|
37
37
|
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
@@ -14,11 +14,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
14
14
|
reject(error);
|
|
15
15
|
return;
|
|
16
16
|
}
|
|
17
|
-
if (info.done)
|
|
18
|
-
|
|
19
|
-
} else {
|
|
20
|
-
Promise.resolve(value).then(_next, _throw);
|
|
21
|
-
}
|
|
17
|
+
if (info.done) resolve(value);
|
|
18
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
22
19
|
}
|
|
23
20
|
function _async_to_generator(fn) {
|
|
24
21
|
return function() {
|
|
@@ -36,9 +33,7 @@ function _async_to_generator(fn) {
|
|
|
36
33
|
};
|
|
37
34
|
}
|
|
38
35
|
function _class_call_check(instance, Constructor) {
|
|
39
|
-
if (!(instance instanceof Constructor))
|
|
40
|
-
throw new TypeError("Cannot call a class as a function");
|
|
41
|
-
}
|
|
36
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
42
37
|
}
|
|
43
38
|
function _defineProperties(target, props) {
|
|
44
39
|
for(var i = 0; i < props.length; i++){
|
|
@@ -62,9 +57,7 @@ function _define_property(obj, key, value) {
|
|
|
62
57
|
configurable: true,
|
|
63
58
|
writable: true
|
|
64
59
|
});
|
|
65
|
-
} else
|
|
66
|
-
obj[key] = value;
|
|
67
|
-
}
|
|
60
|
+
} else obj[key] = value;
|
|
68
61
|
return obj;
|
|
69
62
|
}
|
|
70
63
|
function _iterable_to_array_limit(arr, i) {
|
|
@@ -92,7 +85,7 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
92
85
|
return _arr;
|
|
93
86
|
}
|
|
94
87
|
function _non_iterable_rest() {
|
|
95
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
88
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
96
89
|
}
|
|
97
90
|
function _object_spread(target) {
|
|
98
91
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -112,18 +105,6 @@ function _object_spread(target) {
|
|
|
112
105
|
function _sliced_to_array(arr, i) {
|
|
113
106
|
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
114
107
|
}
|
|
115
|
-
function _type_of(obj) {
|
|
116
|
-
"@swc/helpers - typeof";
|
|
117
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
118
|
-
}
|
|
119
|
-
function _unsupported_iterable_to_array(o, minLen) {
|
|
120
|
-
if (!o) return;
|
|
121
|
-
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
122
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
123
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
124
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
125
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
126
|
-
}
|
|
127
108
|
function _ts_generator(thisArg, body) {
|
|
128
109
|
var f, y, t, _ = {
|
|
129
110
|
label: 0,
|
|
@@ -223,6 +204,18 @@ function _ts_generator(thisArg, body) {
|
|
|
223
204
|
};
|
|
224
205
|
}
|
|
225
206
|
}
|
|
207
|
+
function _type_of(obj) {
|
|
208
|
+
"@swc/helpers - typeof";
|
|
209
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
210
|
+
}
|
|
211
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
212
|
+
if (!o) return;
|
|
213
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
214
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
215
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
216
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
217
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
218
|
+
}
|
|
226
219
|
import { stringifyQueryParams } from '../../fwk/api-helpers';
|
|
227
220
|
import { isParamValueRecord, serializeRequestPluginQueryParams } from '../../fwk/param-serialization';
|
|
228
221
|
/**
|
|
@@ -7,9 +7,7 @@ function _array_with_holes(arr) {
|
|
|
7
7
|
if (Array.isArray(arr)) return arr;
|
|
8
8
|
}
|
|
9
9
|
function _class_call_check(instance, Constructor) {
|
|
10
|
-
if (!(instance instanceof Constructor))
|
|
11
|
-
throw new TypeError("Cannot call a class as a function");
|
|
12
|
-
}
|
|
10
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
13
11
|
}
|
|
14
12
|
function _defineProperties(target, props) {
|
|
15
13
|
for(var i = 0; i < props.length; i++){
|
|
@@ -33,9 +31,7 @@ function _define_property(obj, key, value) {
|
|
|
33
31
|
configurable: true,
|
|
34
32
|
writable: true
|
|
35
33
|
});
|
|
36
|
-
} else
|
|
37
|
-
obj[key] = value;
|
|
38
|
-
}
|
|
34
|
+
} else obj[key] = value;
|
|
39
35
|
return obj;
|
|
40
36
|
}
|
|
41
37
|
function _iterable_to_array_limit(arr, i) {
|
|
@@ -63,7 +59,7 @@ function _iterable_to_array_limit(arr, i) {
|
|
|
63
59
|
return _arr;
|
|
64
60
|
}
|
|
65
61
|
function _non_iterable_rest() {
|
|
66
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance
|
|
62
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
67
63
|
}
|
|
68
64
|
function _object_spread(target) {
|
|
69
65
|
for(var i = 1; i < arguments.length; i++){
|
|
@@ -6,11 +6,8 @@
|
|
|
6
6
|
reject(error);
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
if (info.done)
|
|
10
|
-
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
9
|
+
if (info.done) resolve(value);
|
|
10
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
14
11
|
}
|
|
15
12
|
function _async_to_generator(fn) {
|
|
16
13
|
return function() {
|
|
@@ -6,11 +6,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6
6
|
reject(error);
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
if (info.done)
|
|
10
|
-
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
9
|
+
if (info.done) resolve(value);
|
|
10
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
14
11
|
}
|
|
15
12
|
function _async_to_generator(fn) {
|
|
16
13
|
return function() {
|
|
@@ -28,9 +25,7 @@ function _async_to_generator(fn) {
|
|
|
28
25
|
};
|
|
29
26
|
}
|
|
30
27
|
function _class_call_check(instance, Constructor) {
|
|
31
|
-
if (!(instance instanceof Constructor))
|
|
32
|
-
throw new TypeError("Cannot call a class as a function");
|
|
33
|
-
}
|
|
28
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
34
29
|
}
|
|
35
30
|
function _defineProperties(target, props) {
|
|
36
31
|
for(var i = 0; i < props.length; i++){
|
|
@@ -54,9 +49,7 @@ function _define_property(obj, key, value) {
|
|
|
54
49
|
configurable: true,
|
|
55
50
|
writable: true
|
|
56
51
|
});
|
|
57
|
-
} else
|
|
58
|
-
obj[key] = value;
|
|
59
|
-
}
|
|
52
|
+
} else obj[key] = value;
|
|
60
53
|
return obj;
|
|
61
54
|
}
|
|
62
55
|
function _ts_generator(thisArg, body) {
|
|
@@ -6,11 +6,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6
6
|
reject(error);
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
if (info.done)
|
|
10
|
-
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
9
|
+
if (info.done) resolve(value);
|
|
10
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
14
11
|
}
|
|
15
12
|
function _async_to_generator(fn) {
|
|
16
13
|
return function() {
|
|
@@ -28,9 +25,7 @@ function _async_to_generator(fn) {
|
|
|
28
25
|
};
|
|
29
26
|
}
|
|
30
27
|
function _class_call_check(instance, Constructor) {
|
|
31
|
-
if (!(instance instanceof Constructor))
|
|
32
|
-
throw new TypeError("Cannot call a class as a function");
|
|
33
|
-
}
|
|
28
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
34
29
|
}
|
|
35
30
|
function _define_property(obj, key, value) {
|
|
36
31
|
if (key in obj) {
|
|
@@ -40,9 +35,7 @@ function _define_property(obj, key, value) {
|
|
|
40
35
|
configurable: true,
|
|
41
36
|
writable: true
|
|
42
37
|
});
|
|
43
|
-
} else
|
|
44
|
-
obj[key] = value;
|
|
45
|
-
}
|
|
38
|
+
} else obj[key] = value;
|
|
46
39
|
return obj;
|
|
47
40
|
}
|
|
48
41
|
function _ts_generator(thisArg, body) {
|
|
@@ -6,11 +6,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6
6
|
reject(error);
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
if (info.done)
|
|
10
|
-
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
9
|
+
if (info.done) resolve(value);
|
|
10
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
14
11
|
}
|
|
15
12
|
function _async_to_generator(fn) {
|
|
16
13
|
return function() {
|
|
@@ -28,9 +25,7 @@ function _async_to_generator(fn) {
|
|
|
28
25
|
};
|
|
29
26
|
}
|
|
30
27
|
function _class_call_check(instance, Constructor) {
|
|
31
|
-
if (!(instance instanceof Constructor))
|
|
32
|
-
throw new TypeError("Cannot call a class as a function");
|
|
33
|
-
}
|
|
28
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
34
29
|
}
|
|
35
30
|
function _defineProperties(target, props) {
|
|
36
31
|
for(var i = 0; i < props.length; i++){
|
|
@@ -54,9 +49,7 @@ function _define_property(obj, key, value) {
|
|
|
54
49
|
configurable: true,
|
|
55
50
|
writable: true
|
|
56
51
|
});
|
|
57
|
-
} else
|
|
58
|
-
obj[key] = value;
|
|
59
|
-
}
|
|
52
|
+
} else obj[key] = value;
|
|
60
53
|
return obj;
|
|
61
54
|
}
|
|
62
55
|
function _ts_generator(thisArg, body) {
|
|
@@ -6,11 +6,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6
6
|
reject(error);
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
if (info.done)
|
|
10
|
-
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
9
|
+
if (info.done) resolve(value);
|
|
10
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
14
11
|
}
|
|
15
12
|
function _async_to_generator(fn) {
|
|
16
13
|
return function() {
|
|
@@ -6,11 +6,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6
6
|
reject(error);
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
if (info.done)
|
|
10
|
-
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
9
|
+
if (info.done) resolve(value);
|
|
10
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
14
11
|
}
|
|
15
12
|
function _async_to_generator(fn) {
|
|
16
13
|
return function() {
|
|
@@ -28,9 +25,7 @@ function _async_to_generator(fn) {
|
|
|
28
25
|
};
|
|
29
26
|
}
|
|
30
27
|
function _class_call_check(instance, Constructor) {
|
|
31
|
-
if (!(instance instanceof Constructor))
|
|
32
|
-
throw new TypeError("Cannot call a class as a function");
|
|
33
|
-
}
|
|
28
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
34
29
|
}
|
|
35
30
|
function _defineProperties(target, props) {
|
|
36
31
|
for(var i = 0; i < props.length; i++){
|
|
@@ -54,9 +49,7 @@ function _define_property(obj, key, value) {
|
|
|
54
49
|
configurable: true,
|
|
55
50
|
writable: true
|
|
56
51
|
});
|
|
57
|
-
} else
|
|
58
|
-
obj[key] = value;
|
|
59
|
-
}
|
|
52
|
+
} else obj[key] = value;
|
|
60
53
|
return obj;
|
|
61
54
|
}
|
|
62
55
|
function _ts_generator(thisArg, body) {
|
|
@@ -6,11 +6,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6
6
|
reject(error);
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
if (info.done)
|
|
10
|
-
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
9
|
+
if (info.done) resolve(value);
|
|
10
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
14
11
|
}
|
|
15
12
|
function _async_to_generator(fn) {
|
|
16
13
|
return function() {
|
|
@@ -6,11 +6,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6
6
|
reject(error);
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
if (info.done)
|
|
10
|
-
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
9
|
+
if (info.done) resolve(value);
|
|
10
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
14
11
|
}
|
|
15
12
|
function _async_to_generator(fn) {
|
|
16
13
|
return function() {
|
|
@@ -28,9 +25,7 @@ function _async_to_generator(fn) {
|
|
|
28
25
|
};
|
|
29
26
|
}
|
|
30
27
|
function _class_call_check(instance, Constructor) {
|
|
31
|
-
if (!(instance instanceof Constructor))
|
|
32
|
-
throw new TypeError("Cannot call a class as a function");
|
|
33
|
-
}
|
|
28
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
34
29
|
}
|
|
35
30
|
function _defineProperties(target, props) {
|
|
36
31
|
for(var i = 0; i < props.length; i++){
|
|
@@ -54,9 +49,7 @@ function _define_property(obj, key, value) {
|
|
|
54
49
|
configurable: true,
|
|
55
50
|
writable: true
|
|
56
51
|
});
|
|
57
|
-
} else
|
|
58
|
-
obj[key] = value;
|
|
59
|
-
}
|
|
52
|
+
} else obj[key] = value;
|
|
60
53
|
return obj;
|
|
61
54
|
}
|
|
62
55
|
function _object_spread(target) {
|
|
@@ -6,11 +6,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6
6
|
reject(error);
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
if (info.done)
|
|
10
|
-
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
9
|
+
if (info.done) resolve(value);
|
|
10
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
14
11
|
}
|
|
15
12
|
function _async_to_generator(fn) {
|
|
16
13
|
return function() {
|
|
@@ -35,9 +32,7 @@ function _define_property(obj, key, value) {
|
|
|
35
32
|
configurable: true,
|
|
36
33
|
writable: true
|
|
37
34
|
});
|
|
38
|
-
} else
|
|
39
|
-
obj[key] = value;
|
|
40
|
-
}
|
|
35
|
+
} else obj[key] = value;
|
|
41
36
|
return obj;
|
|
42
37
|
}
|
|
43
38
|
function _object_spread(target) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _class_call_check(instance, Constructor) {
|
|
2
|
-
if (!(instance instanceof Constructor))
|
|
3
|
-
throw new TypeError("Cannot call a class as a function");
|
|
4
|
-
}
|
|
2
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
5
3
|
}
|
|
6
4
|
function _defineProperties(target, props) {
|
|
7
5
|
for(var i = 0; i < props.length; i++){
|
|
@@ -25,9 +23,7 @@ function _define_property(obj, key, value) {
|
|
|
25
23
|
configurable: true,
|
|
26
24
|
writable: true
|
|
27
25
|
});
|
|
28
|
-
} else
|
|
29
|
-
obj[key] = value;
|
|
30
|
-
}
|
|
26
|
+
} else obj[key] = value;
|
|
31
27
|
return obj;
|
|
32
28
|
}
|
|
33
29
|
/**
|
|
@@ -6,11 +6,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6
6
|
reject(error);
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
if (info.done)
|
|
10
|
-
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
9
|
+
if (info.done) resolve(value);
|
|
10
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
14
11
|
}
|
|
15
12
|
function _async_to_generator(fn) {
|
|
16
13
|
return function() {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _class_call_check(instance, Constructor) {
|
|
2
|
-
if (!(instance instanceof Constructor))
|
|
3
|
-
throw new TypeError("Cannot call a class as a function");
|
|
4
|
-
}
|
|
2
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
5
3
|
}
|
|
6
4
|
function _defineProperties(target, props) {
|
|
7
5
|
for(var i = 0; i < props.length; i++){
|
|
@@ -25,9 +23,7 @@ function _define_property(obj, key, value) {
|
|
|
25
23
|
configurable: true,
|
|
26
24
|
writable: true
|
|
27
25
|
});
|
|
28
|
-
} else
|
|
29
|
-
obj[key] = value;
|
|
30
|
-
}
|
|
26
|
+
} else obj[key] = value;
|
|
31
27
|
return obj;
|
|
32
28
|
}
|
|
33
29
|
import { ApiTypes } from '../../fwk/api';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _class_call_check(instance, Constructor) {
|
|
2
|
-
if (!(instance instanceof Constructor))
|
|
3
|
-
throw new TypeError("Cannot call a class as a function");
|
|
4
|
-
}
|
|
2
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
5
3
|
}
|
|
6
4
|
function _defineProperties(target, props) {
|
|
7
5
|
for(var i = 0; i < props.length; i++){
|
|
@@ -25,9 +23,7 @@ function _define_property(obj, key, value) {
|
|
|
25
23
|
configurable: true,
|
|
26
24
|
writable: true
|
|
27
25
|
});
|
|
28
|
-
} else
|
|
29
|
-
obj[key] = value;
|
|
30
|
-
}
|
|
26
|
+
} else obj[key] = value;
|
|
31
27
|
return obj;
|
|
32
28
|
}
|
|
33
29
|
function _object_spread(target) {
|
|
@@ -60,9 +56,8 @@ function ownKeys(object, enumerableOnly) {
|
|
|
60
56
|
}
|
|
61
57
|
function _object_spread_props(target, source) {
|
|
62
58
|
source = source != null ? source : {};
|
|
63
|
-
if (Object.getOwnPropertyDescriptors)
|
|
64
|
-
|
|
65
|
-
} else {
|
|
59
|
+
if (Object.getOwnPropertyDescriptors) Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
60
|
+
else {
|
|
66
61
|
ownKeys(Object(source)).forEach(function(key) {
|
|
67
62
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
68
63
|
});
|
|
@@ -6,11 +6,8 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
6
6
|
reject(error);
|
|
7
7
|
return;
|
|
8
8
|
}
|
|
9
|
-
if (info.done)
|
|
10
|
-
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
9
|
+
if (info.done) resolve(value);
|
|
10
|
+
else Promise.resolve(value).then(_next, _throw);
|
|
14
11
|
}
|
|
15
12
|
function _async_to_generator(fn) {
|
|
16
13
|
return function() {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
function _class_call_check(instance, Constructor) {
|
|
2
|
-
if (!(instance instanceof Constructor))
|
|
3
|
-
throw new TypeError("Cannot call a class as a function");
|
|
4
|
-
}
|
|
2
|
+
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
|
5
3
|
}
|
|
6
4
|
function _defineProperties(target, props) {
|
|
7
5
|
for(var i = 0; i < props.length; i++){
|
|
@@ -25,9 +23,7 @@ function _define_property(obj, key, value) {
|
|
|
25
23
|
configurable: true,
|
|
26
24
|
writable: true
|
|
27
25
|
});
|
|
28
|
-
} else
|
|
29
|
-
obj[key] = value;
|
|
30
|
-
}
|
|
26
|
+
} else obj[key] = value;
|
|
31
27
|
return obj;
|
|
32
28
|
}
|
|
33
29
|
/**
|