@wildix/wim-voicebots-client 1.1.8 → 3.1.10
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/dist-cjs/VoiceBots.js +3 -3
- package/dist-cjs/VoiceBotsClient.js +34 -26
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +65 -0
- package/dist-cjs/commands/CreateVoiceBotCommand.js +10 -11
- package/dist-cjs/commands/DeleteVoiceBotCommand.js +10 -11
- package/dist-cjs/commands/DescribeEventCommand.js +10 -11
- package/dist-cjs/commands/GetTraceCommand.js +10 -11
- package/dist-cjs/commands/GetVoiceBotCommand.js +10 -11
- package/dist-cjs/commands/ListTracesCommand.js +10 -11
- package/dist-cjs/commands/ListVoiceBotsCommand.js +10 -11
- package/dist-cjs/commands/ListVoiceBotsNamesCommand.js +10 -11
- package/dist-cjs/commands/SendHangupCommand.js +10 -11
- package/dist-cjs/commands/SendPlayCommand.js +10 -11
- package/dist-cjs/commands/SendSayCommand.js +10 -11
- package/dist-cjs/commands/SendStopCommand.js +10 -11
- package/dist-cjs/commands/SendTransferCommand.js +10 -11
- package/dist-cjs/commands/UpdateVoiceBotCommand.js +10 -11
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +4 -1
- package/dist-cjs/models/VoiceBotsServiceException.js +3 -3
- package/dist-cjs/models/enums.js +64 -0
- package/dist-cjs/models/errors.js +75 -0
- package/dist-cjs/models/models_0.js +0 -314
- package/dist-cjs/runtimeConfig.browser.js +11 -11
- package/dist-cjs/runtimeConfig.js +22 -18
- package/dist-cjs/runtimeConfig.shared.js +30 -10
- package/dist-cjs/runtimeExtensions.js +6 -5
- package/dist-cjs/schemas/schemas_0.js +1247 -0
- package/dist-es/VoiceBots.js +6 -6
- package/dist-es/VoiceBotsClient.js +30 -22
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +59 -0
- package/dist-es/commands/CreateVoiceBotCommand.js +9 -10
- package/dist-es/commands/DeleteVoiceBotCommand.js +9 -10
- package/dist-es/commands/DescribeEventCommand.js +9 -10
- package/dist-es/commands/GetTraceCommand.js +9 -10
- package/dist-es/commands/GetVoiceBotCommand.js +9 -10
- package/dist-es/commands/ListTracesCommand.js +9 -10
- package/dist-es/commands/ListVoiceBotsCommand.js +9 -10
- package/dist-es/commands/ListVoiceBotsNamesCommand.js +9 -10
- package/dist-es/commands/SendHangupCommand.js +9 -10
- package/dist-es/commands/SendPlayCommand.js +9 -10
- package/dist-es/commands/SendSayCommand.js +9 -10
- package/dist-es/commands/SendStopCommand.js +9 -10
- package/dist-es/commands/SendTransferCommand.js +9 -10
- package/dist-es/commands/UpdateVoiceBotCommand.js +9 -10
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +4 -1
- package/dist-es/models/VoiceBotsServiceException.js +1 -1
- package/dist-es/models/enums.js +61 -0
- package/dist-es/models/errors.js +67 -0
- package/dist-es/models/models_0.js +1 -308
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +17 -13
- package/dist-es/runtimeConfig.shared.js +24 -4
- package/dist-es/runtimeExtensions.js +6 -5
- package/dist-es/schemas/schemas_0.js +1241 -0
- package/dist-types/VoiceBots.d.ts +15 -15
- package/dist-types/VoiceBotsClient.d.ts +44 -26
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/CreateVoiceBotCommand.d.ts +143 -7
- package/dist-types/commands/DeleteVoiceBotCommand.d.ts +11 -7
- package/dist-types/commands/DescribeEventCommand.d.ts +35 -7
- package/dist-types/commands/GetTraceCommand.d.ts +33 -7
- package/dist-types/commands/GetVoiceBotCommand.d.ts +77 -7
- package/dist-types/commands/ListTracesCommand.d.ts +11 -7
- package/dist-types/commands/ListVoiceBotsCommand.d.ts +77 -7
- package/dist-types/commands/ListVoiceBotsNamesCommand.d.ts +11 -7
- package/dist-types/commands/SendHangupCommand.d.ts +11 -7
- package/dist-types/commands/SendPlayCommand.d.ts +11 -7
- package/dist-types/commands/SendSayCommand.d.ts +11 -7
- package/dist-types/commands/SendStopCommand.d.ts +11 -7
- package/dist-types/commands/SendTransferCommand.d.ts +11 -7
- package/dist-types/commands/UpdateVoiceBotCommand.d.ts +143 -7
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +4 -3
- package/dist-types/index.d.ts +5 -1
- package/dist-types/models/VoiceBotsServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +141 -0
- package/dist-types/models/errors.d.ts +60 -0
- package/dist-types/models/models_0.d.ts +349 -204
- package/dist-types/runtimeConfig.browser.d.ts +35 -16
- package/dist-types/runtimeConfig.d.ts +34 -15
- package/dist-types/runtimeConfig.native.d.ts +36 -17
- package/dist-types/runtimeConfig.shared.d.ts +20 -3
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +175 -0
- package/package.json +14 -40
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1030
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -999
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -128
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SendTransferCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class SendTransferCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("VoiceBots", "SendTransfer", {})
|
|
15
16
|
.n("VoiceBotsClient", "SendTransferCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_SendTransferCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_SendTransferCommand)
|
|
17
|
+
.sc(schemas_0_1.SendTransfer$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.SendTransferCommand = SendTransferCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateVoiceBotCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class UpdateVoiceBotCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("VoiceBots", "UpdateVoiceBot", {})
|
|
15
16
|
.n("VoiceBotsClient", "UpdateVoiceBotCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_UpdateVoiceBotCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_UpdateVoiceBotCommand)
|
|
17
|
+
.sc(schemas_0_1.UpdateVoiceBot$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.UpdateVoiceBotCommand = UpdateVoiceBotCommand;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const clientContextParamDefaults = {};
|
|
5
|
+
const resolveClientEndpointParameters = (options) => {
|
|
6
|
+
return Object.assign(options, {
|
|
7
|
+
env: options.env ?? "prod",
|
|
8
|
+
defaultSigningName: "",
|
|
9
|
+
clientContextParams: Object.assign(clientContextParamDefaults, options.clientContextParams),
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
env: { type: "clientContextParams", name: "env" },
|
|
15
|
+
endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.bdd = void 0;
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
|
+
const a = "stringEquals", b = { "ref": "endpoint" }, c = { "ref": "env" };
|
|
6
|
+
const _data = {
|
|
7
|
+
conditions: [
|
|
8
|
+
["isSet", [b]],
|
|
9
|
+
[a, [c, "stable"]],
|
|
10
|
+
[a, [c, "stage"]]
|
|
11
|
+
],
|
|
12
|
+
results: [
|
|
13
|
+
[-1],
|
|
14
|
+
[b, {}],
|
|
15
|
+
["https://wim-stable.wildix.com", {}],
|
|
16
|
+
["https://wim-stage.wildix.com", {}],
|
|
17
|
+
["https://wim.wildix.com", {}]
|
|
18
|
+
]
|
|
19
|
+
};
|
|
20
|
+
const root = 2;
|
|
21
|
+
const r = 100_000_000;
|
|
22
|
+
const nodes = new Int32Array([
|
|
23
|
+
-1, 1, -1,
|
|
24
|
+
0, r + 1, 3,
|
|
25
|
+
1, r + 2, 4,
|
|
26
|
+
2, r + 3, r + 4,
|
|
27
|
+
]);
|
|
28
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
|
+
const bdd_1 = require("./bdd");
|
|
6
|
+
const cache = new endpoints_1.EndpointCache({
|
|
7
|
+
size: 50,
|
|
8
|
+
params: ["endpoint", "env"],
|
|
9
|
+
});
|
|
10
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
11
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
12
|
+
endpointParams: endpointParams,
|
|
13
|
+
logger: context.logger,
|
|
14
|
+
}));
|
|
15
|
+
};
|
|
16
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
package/dist-cjs/index.js
CHANGED
|
@@ -5,6 +5,9 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
tslib_1.__exportStar(require("./VoiceBotsClient"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./VoiceBots"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
8
|
+
tslib_1.__exportStar(require("./schemas/schemas_0"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models/enums"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./models/errors"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./models/models_0"), exports);
|
|
9
12
|
var VoiceBotsServiceException_1 = require("./models/VoiceBotsServiceException");
|
|
10
13
|
Object.defineProperty(exports, "VoiceBotsServiceException", { enumerable: true, get: function () { return VoiceBotsServiceException_1.VoiceBotsServiceException; } });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VoiceBotsServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class VoiceBotsServiceException extends
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
+
class VoiceBotsServiceException extends client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, VoiceBotsServiceException.prototype);
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TraceSessionStatus = exports.TraceSegmentStatus = exports.TraceActivityStatus = exports.VoiceBotCommandType = exports.VoiceBotToolType = exports.VoiceBotFunctionIntegrationMethod = exports.VoiceBotEmbeddedToolType = exports.VoiceBotCapabilityToolPipelineType = exports.VoiceBotEventType = exports.AnnotationSourceType = void 0;
|
|
4
|
+
exports.AnnotationSourceType = {
|
|
5
|
+
CHATBOT: "chatbot",
|
|
6
|
+
SYSTEM: "system",
|
|
7
|
+
USER: "user",
|
|
8
|
+
VOICEBOT: "voicebot",
|
|
9
|
+
};
|
|
10
|
+
exports.VoiceBotEventType = {
|
|
11
|
+
AUDIO: "audio",
|
|
12
|
+
COMPLETE: "complete",
|
|
13
|
+
ENDED: "ended",
|
|
14
|
+
INTERRUPTION: "interruption",
|
|
15
|
+
PLAYBACK: "playback",
|
|
16
|
+
REPLY: "reply",
|
|
17
|
+
STARTED: "started",
|
|
18
|
+
TRANSCRIPTION: "transcription",
|
|
19
|
+
};
|
|
20
|
+
exports.VoiceBotCapabilityToolPipelineType = {
|
|
21
|
+
ASYNC_REQUEST: "async_request",
|
|
22
|
+
ASYNC_REQUEST_GUIDED: "async_request_guided",
|
|
23
|
+
BLOCKING_REQUEST: "blocking_request",
|
|
24
|
+
BLOCKING_REQUEST_GUIDED: "blocking_request_guided",
|
|
25
|
+
};
|
|
26
|
+
exports.VoiceBotEmbeddedToolType = {
|
|
27
|
+
DELEGATE: "DELEGATE",
|
|
28
|
+
HANGUP: "HANGUP",
|
|
29
|
+
TRANSFER: "TRANSFER",
|
|
30
|
+
WAIT: "WAIT",
|
|
31
|
+
};
|
|
32
|
+
exports.VoiceBotFunctionIntegrationMethod = {
|
|
33
|
+
DELETE: "delete",
|
|
34
|
+
GET: "get",
|
|
35
|
+
PATCH: "patch",
|
|
36
|
+
POST: "post",
|
|
37
|
+
PUT: "put",
|
|
38
|
+
};
|
|
39
|
+
exports.VoiceBotToolType = {
|
|
40
|
+
FUNCTION: "function",
|
|
41
|
+
};
|
|
42
|
+
exports.VoiceBotCommandType = {
|
|
43
|
+
HANGUP: "hangup",
|
|
44
|
+
PLAY: "play",
|
|
45
|
+
SAY: "say",
|
|
46
|
+
STOP: "stop",
|
|
47
|
+
TRANSFER: "transfer",
|
|
48
|
+
};
|
|
49
|
+
exports.TraceActivityStatus = {
|
|
50
|
+
CANCELLED: "cancelled",
|
|
51
|
+
COMPLETE: "complete",
|
|
52
|
+
ERROR: "error",
|
|
53
|
+
PENDING: "pending",
|
|
54
|
+
};
|
|
55
|
+
exports.TraceSegmentStatus = {
|
|
56
|
+
COMPLETE: "complete",
|
|
57
|
+
ERROR: "error",
|
|
58
|
+
PENDING: "pending",
|
|
59
|
+
};
|
|
60
|
+
exports.TraceSessionStatus = {
|
|
61
|
+
COMPLETE: "complete",
|
|
62
|
+
COMPLETE_WITH_ERROR: "complete_with_error",
|
|
63
|
+
PENDING: "pending",
|
|
64
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VoiceSessionNotFoundException = exports.VoiceBotNotFoundException = exports.VoiceBotNonUniqueNameException = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
4
|
+
const VoiceBotsServiceException_1 = require("./VoiceBotsServiceException");
|
|
5
|
+
class ForbiddenException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
|
|
6
|
+
name = "ForbiddenException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "ForbiddenException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.ForbiddenException = ForbiddenException;
|
|
18
|
+
class ValidationException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
|
|
19
|
+
name = "ValidationException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ValidationException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ValidationException = ValidationException;
|
|
31
|
+
class VoiceBotNonUniqueNameException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
|
|
32
|
+
name = "VoiceBotNonUniqueNameException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
type;
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "VoiceBotNonUniqueNameException",
|
|
38
|
+
$fault: "client",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, VoiceBotNonUniqueNameException.prototype);
|
|
42
|
+
this.type = opts.type;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.VoiceBotNonUniqueNameException = VoiceBotNonUniqueNameException;
|
|
46
|
+
class VoiceBotNotFoundException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
|
|
47
|
+
name = "VoiceBotNotFoundException";
|
|
48
|
+
$fault = "client";
|
|
49
|
+
type;
|
|
50
|
+
constructor(opts) {
|
|
51
|
+
super({
|
|
52
|
+
name: "VoiceBotNotFoundException",
|
|
53
|
+
$fault: "client",
|
|
54
|
+
...opts,
|
|
55
|
+
});
|
|
56
|
+
Object.setPrototypeOf(this, VoiceBotNotFoundException.prototype);
|
|
57
|
+
this.type = opts.type;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.VoiceBotNotFoundException = VoiceBotNotFoundException;
|
|
61
|
+
class VoiceSessionNotFoundException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
|
|
62
|
+
name = "VoiceSessionNotFoundException";
|
|
63
|
+
$fault = "client";
|
|
64
|
+
type;
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "VoiceSessionNotFoundException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, VoiceSessionNotFoundException.prototype);
|
|
72
|
+
this.type = opts.type;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.VoiceSessionNotFoundException = VoiceSessionNotFoundException;
|
|
@@ -1,316 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VoiceSessionNotFoundException = exports.VoiceBotNotFoundException = exports.TraceSessionStatus = exports.TraceSegmentStatus = exports.TraceSegmentResult = exports.TraceSegmentInput = exports.TraceGenericInputBlockContent = exports.TraceSegmentCompletionMessageItem = exports.TraceSegmentCompletionMessage = exports.TraceToolCall = exports.TraceActivityTrigger = exports.TraceActivityStatus = exports.TraceActivityResult = exports.VoiceBotCommandType = exports.VoiceBotNonUniqueNameException = exports.VoiceBotPipelineTerminateAction = exports.VoiceBotEndpoint = exports.VoiceBotToolType = exports.VoiceBotFunctionIntegration = exports.VoiceBotFunctionIntegrationMethod = exports.VoiceBotFunctionIntegrationWebhookAuthorization = exports.VoiceBotEmbeddedToolType = exports.VoiceBotCapability = exports.VoiceBotToolVariableHandler = exports.VoiceBotCapabilityToolPipelineType = exports.VoiceBotEventType = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
4
|
-
const VoiceBotsServiceException_1 = require("./VoiceBotsServiceException");
|
|
5
|
-
class ForbiddenException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
|
|
6
|
-
name = "ForbiddenException";
|
|
7
|
-
$fault = "client";
|
|
8
|
-
constructor(opts) {
|
|
9
|
-
super({
|
|
10
|
-
name: "ForbiddenException",
|
|
11
|
-
$fault: "client",
|
|
12
|
-
...opts
|
|
13
|
-
});
|
|
14
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.ForbiddenException = ForbiddenException;
|
|
18
|
-
class ValidationException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
|
|
19
|
-
name = "ValidationException";
|
|
20
|
-
$fault = "client";
|
|
21
|
-
constructor(opts) {
|
|
22
|
-
super({
|
|
23
|
-
name: "ValidationException",
|
|
24
|
-
$fault: "client",
|
|
25
|
-
...opts
|
|
26
|
-
});
|
|
27
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
exports.ValidationException = ValidationException;
|
|
31
|
-
exports.VoiceBotEventType = {
|
|
32
|
-
AUDIO: "audio",
|
|
33
|
-
COMPLETE: "complete",
|
|
34
|
-
ENDED: "ended",
|
|
35
|
-
INTERRUPTION: "interruption",
|
|
36
|
-
PLAYBACK: "playback",
|
|
37
|
-
REPLY: "reply",
|
|
38
|
-
STARTED: "started",
|
|
39
|
-
TRANSCRIPTION: "transcription",
|
|
40
|
-
};
|
|
41
|
-
exports.VoiceBotCapabilityToolPipelineType = {
|
|
42
|
-
ASYNC_REQUEST: "async_request",
|
|
43
|
-
ASYNC_REQUEST_GUIDED: "async_request_guided",
|
|
44
|
-
BLOCKING_REQUEST: "blocking_request",
|
|
45
|
-
BLOCKING_REQUEST_GUIDED: "blocking_request_guided",
|
|
46
|
-
};
|
|
47
|
-
var VoiceBotToolVariableHandler;
|
|
48
|
-
(function (VoiceBotToolVariableHandler) {
|
|
49
|
-
VoiceBotToolVariableHandler.visit = (value, visitor) => {
|
|
50
|
-
if (value.auto !== undefined)
|
|
51
|
-
return visitor.auto(value.auto);
|
|
52
|
-
if (value.guided !== undefined)
|
|
53
|
-
return visitor.guided(value.guided);
|
|
54
|
-
if (value.predefined !== undefined)
|
|
55
|
-
return visitor.predefined(value.predefined);
|
|
56
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
57
|
-
};
|
|
58
|
-
})(VoiceBotToolVariableHandler || (exports.VoiceBotToolVariableHandler = VoiceBotToolVariableHandler = {}));
|
|
59
|
-
var VoiceBotCapability;
|
|
60
|
-
(function (VoiceBotCapability) {
|
|
61
|
-
VoiceBotCapability.visit = (value, visitor) => {
|
|
62
|
-
if (value.tool !== undefined)
|
|
63
|
-
return visitor.tool(value.tool);
|
|
64
|
-
if (value.kb !== undefined)
|
|
65
|
-
return visitor.kb(value.kb);
|
|
66
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
67
|
-
};
|
|
68
|
-
})(VoiceBotCapability || (exports.VoiceBotCapability = VoiceBotCapability = {}));
|
|
69
|
-
exports.VoiceBotEmbeddedToolType = {
|
|
70
|
-
DELEGATE: "DELEGATE",
|
|
71
|
-
HANGUP: "HANGUP",
|
|
72
|
-
TRANSFER: "TRANSFER",
|
|
73
|
-
WAIT: "WAIT",
|
|
74
|
-
};
|
|
75
|
-
var VoiceBotFunctionIntegrationWebhookAuthorization;
|
|
76
|
-
(function (VoiceBotFunctionIntegrationWebhookAuthorization) {
|
|
77
|
-
VoiceBotFunctionIntegrationWebhookAuthorization.visit = (value, visitor) => {
|
|
78
|
-
if (value.bearer !== undefined)
|
|
79
|
-
return visitor.bearer(value.bearer);
|
|
80
|
-
if (value.basic !== undefined)
|
|
81
|
-
return visitor.basic(value.basic);
|
|
82
|
-
if (value.oauth !== undefined)
|
|
83
|
-
return visitor.oauth(value.oauth);
|
|
84
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
85
|
-
};
|
|
86
|
-
})(VoiceBotFunctionIntegrationWebhookAuthorization || (exports.VoiceBotFunctionIntegrationWebhookAuthorization = VoiceBotFunctionIntegrationWebhookAuthorization = {}));
|
|
87
|
-
exports.VoiceBotFunctionIntegrationMethod = {
|
|
88
|
-
DELETE: "delete",
|
|
89
|
-
GET: "get",
|
|
90
|
-
PATCH: "patch",
|
|
91
|
-
POST: "post",
|
|
92
|
-
PUT: "put",
|
|
93
|
-
};
|
|
94
|
-
var VoiceBotFunctionIntegration;
|
|
95
|
-
(function (VoiceBotFunctionIntegration) {
|
|
96
|
-
VoiceBotFunctionIntegration.visit = (value, visitor) => {
|
|
97
|
-
if (value.webhook !== undefined)
|
|
98
|
-
return visitor.webhook(value.webhook);
|
|
99
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
100
|
-
};
|
|
101
|
-
})(VoiceBotFunctionIntegration || (exports.VoiceBotFunctionIntegration = VoiceBotFunctionIntegration = {}));
|
|
102
|
-
exports.VoiceBotToolType = {
|
|
103
|
-
FUNCTION: "function",
|
|
104
|
-
};
|
|
105
|
-
var VoiceBotEndpoint;
|
|
106
|
-
(function (VoiceBotEndpoint) {
|
|
107
|
-
VoiceBotEndpoint.visit = (value, visitor) => {
|
|
108
|
-
if (value.llm !== undefined)
|
|
109
|
-
return visitor.llm(value.llm);
|
|
110
|
-
if (value.dialogflowCx !== undefined)
|
|
111
|
-
return visitor.dialogflowCx(value.dialogflowCx);
|
|
112
|
-
if (value.openAiAssistant !== undefined)
|
|
113
|
-
return visitor.openAiAssistant(value.openAiAssistant);
|
|
114
|
-
if (value.webhook !== undefined)
|
|
115
|
-
return visitor.webhook(value.webhook);
|
|
116
|
-
if (value.sqs !== undefined)
|
|
117
|
-
return visitor.sqs(value.sqs);
|
|
118
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
119
|
-
};
|
|
120
|
-
})(VoiceBotEndpoint || (exports.VoiceBotEndpoint = VoiceBotEndpoint = {}));
|
|
121
|
-
var VoiceBotPipelineTerminateAction;
|
|
122
|
-
(function (VoiceBotPipelineTerminateAction) {
|
|
123
|
-
VoiceBotPipelineTerminateAction.visit = (value, visitor) => {
|
|
124
|
-
if (value.hangup !== undefined)
|
|
125
|
-
return visitor.hangup(value.hangup);
|
|
126
|
-
if (value.transfer !== undefined)
|
|
127
|
-
return visitor.transfer(value.transfer);
|
|
128
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
129
|
-
};
|
|
130
|
-
})(VoiceBotPipelineTerminateAction || (exports.VoiceBotPipelineTerminateAction = VoiceBotPipelineTerminateAction = {}));
|
|
131
|
-
class VoiceBotNonUniqueNameException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
|
|
132
|
-
name = "VoiceBotNonUniqueNameException";
|
|
133
|
-
$fault = "client";
|
|
134
|
-
type;
|
|
135
|
-
constructor(opts) {
|
|
136
|
-
super({
|
|
137
|
-
name: "VoiceBotNonUniqueNameException",
|
|
138
|
-
$fault: "client",
|
|
139
|
-
...opts
|
|
140
|
-
});
|
|
141
|
-
Object.setPrototypeOf(this, VoiceBotNonUniqueNameException.prototype);
|
|
142
|
-
this.type = opts.type;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
exports.VoiceBotNonUniqueNameException = VoiceBotNonUniqueNameException;
|
|
146
|
-
exports.VoiceBotCommandType = {
|
|
147
|
-
HANGUP: "hangup",
|
|
148
|
-
PLAY: "play",
|
|
149
|
-
SAY: "say",
|
|
150
|
-
STOP: "stop",
|
|
151
|
-
TRANSFER: "transfer",
|
|
152
|
-
};
|
|
153
|
-
var TraceActivityResult;
|
|
154
|
-
(function (TraceActivityResult) {
|
|
155
|
-
TraceActivityResult.visit = (value, visitor) => {
|
|
156
|
-
if (value.error !== undefined)
|
|
157
|
-
return visitor.error(value.error);
|
|
158
|
-
if (value.text !== undefined)
|
|
159
|
-
return visitor.text(value.text);
|
|
160
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
161
|
-
};
|
|
162
|
-
})(TraceActivityResult || (exports.TraceActivityResult = TraceActivityResult = {}));
|
|
163
|
-
exports.TraceActivityStatus = {
|
|
164
|
-
CANCELLED: "cancelled",
|
|
165
|
-
COMPLETE: "complete",
|
|
166
|
-
ERROR: "error",
|
|
167
|
-
PENDING: "pending",
|
|
168
|
-
};
|
|
169
|
-
var TraceActivityTrigger;
|
|
170
|
-
(function (TraceActivityTrigger) {
|
|
171
|
-
TraceActivityTrigger.visit = (value, visitor) => {
|
|
172
|
-
if (value.connectEvent !== undefined)
|
|
173
|
-
return visitor.connectEvent(value.connectEvent);
|
|
174
|
-
if (value.disconnectEvent !== undefined)
|
|
175
|
-
return visitor.disconnectEvent(value.disconnectEvent);
|
|
176
|
-
if (value.replyEvent !== undefined)
|
|
177
|
-
return visitor.replyEvent(value.replyEvent);
|
|
178
|
-
if (value.completeEvent !== undefined)
|
|
179
|
-
return visitor.completeEvent(value.completeEvent);
|
|
180
|
-
if (value.interruptionEvent !== undefined)
|
|
181
|
-
return visitor.interruptionEvent(value.interruptionEvent);
|
|
182
|
-
if (value.playbackEvent !== undefined)
|
|
183
|
-
return visitor.playbackEvent(value.playbackEvent);
|
|
184
|
-
if (value.transcriptionEvent !== undefined)
|
|
185
|
-
return visitor.transcriptionEvent(value.transcriptionEvent);
|
|
186
|
-
if (value.sayCommand !== undefined)
|
|
187
|
-
return visitor.sayCommand(value.sayCommand);
|
|
188
|
-
if (value.hangupCommand !== undefined)
|
|
189
|
-
return visitor.hangupCommand(value.hangupCommand);
|
|
190
|
-
if (value.transferCommand !== undefined)
|
|
191
|
-
return visitor.transferCommand(value.transferCommand);
|
|
192
|
-
if (value.silenceTimeoutTask !== undefined)
|
|
193
|
-
return visitor.silenceTimeoutTask(value.silenceTimeoutTask);
|
|
194
|
-
if (value.durationTimeoutTask !== undefined)
|
|
195
|
-
return visitor.durationTimeoutTask(value.durationTimeoutTask);
|
|
196
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
197
|
-
};
|
|
198
|
-
})(TraceActivityTrigger || (exports.TraceActivityTrigger = TraceActivityTrigger = {}));
|
|
199
|
-
var TraceToolCall;
|
|
200
|
-
(function (TraceToolCall) {
|
|
201
|
-
TraceToolCall.visit = (value, visitor) => {
|
|
202
|
-
if (value.transfer !== undefined)
|
|
203
|
-
return visitor.transfer(value.transfer);
|
|
204
|
-
if (value.hangup !== undefined)
|
|
205
|
-
return visitor.hangup(value.hangup);
|
|
206
|
-
if (value.wait !== undefined)
|
|
207
|
-
return visitor.wait(value.wait);
|
|
208
|
-
if (value.delegation !== undefined)
|
|
209
|
-
return visitor.delegation(value.delegation);
|
|
210
|
-
if (value.function !== undefined)
|
|
211
|
-
return visitor.function(value.function);
|
|
212
|
-
if (value.capabilityTool !== undefined)
|
|
213
|
-
return visitor.capabilityTool(value.capabilityTool);
|
|
214
|
-
if (value.capabilityKb !== undefined)
|
|
215
|
-
return visitor.capabilityKb(value.capabilityKb);
|
|
216
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
217
|
-
};
|
|
218
|
-
})(TraceToolCall || (exports.TraceToolCall = TraceToolCall = {}));
|
|
219
|
-
var TraceSegmentCompletionMessage;
|
|
220
|
-
(function (TraceSegmentCompletionMessage) {
|
|
221
|
-
TraceSegmentCompletionMessage.visit = (value, visitor) => {
|
|
222
|
-
if (value.text !== undefined)
|
|
223
|
-
return visitor.text(value.text);
|
|
224
|
-
if (value.tools !== undefined)
|
|
225
|
-
return visitor.tools(value.tools);
|
|
226
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
227
|
-
};
|
|
228
|
-
})(TraceSegmentCompletionMessage || (exports.TraceSegmentCompletionMessage = TraceSegmentCompletionMessage = {}));
|
|
229
|
-
var TraceSegmentCompletionMessageItem;
|
|
230
|
-
(function (TraceSegmentCompletionMessageItem) {
|
|
231
|
-
TraceSegmentCompletionMessageItem.visit = (value, visitor) => {
|
|
232
|
-
if (value.user !== undefined)
|
|
233
|
-
return visitor.user(value.user);
|
|
234
|
-
if (value.bot !== undefined)
|
|
235
|
-
return visitor.bot(value.bot);
|
|
236
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
237
|
-
};
|
|
238
|
-
})(TraceSegmentCompletionMessageItem || (exports.TraceSegmentCompletionMessageItem = TraceSegmentCompletionMessageItem = {}));
|
|
239
|
-
var TraceGenericInputBlockContent;
|
|
240
|
-
(function (TraceGenericInputBlockContent) {
|
|
241
|
-
TraceGenericInputBlockContent.visit = (value, visitor) => {
|
|
242
|
-
if (value.text !== undefined)
|
|
243
|
-
return visitor.text(value.text);
|
|
244
|
-
if (value.json !== undefined)
|
|
245
|
-
return visitor.json(value.json);
|
|
246
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
247
|
-
};
|
|
248
|
-
})(TraceGenericInputBlockContent || (exports.TraceGenericInputBlockContent = TraceGenericInputBlockContent = {}));
|
|
249
|
-
var TraceSegmentInput;
|
|
250
|
-
(function (TraceSegmentInput) {
|
|
251
|
-
TraceSegmentInput.visit = (value, visitor) => {
|
|
252
|
-
if (value.completion !== undefined)
|
|
253
|
-
return visitor.completion(value.completion);
|
|
254
|
-
if (value.tool !== undefined)
|
|
255
|
-
return visitor.tool(value.tool);
|
|
256
|
-
if (value.oauth !== undefined)
|
|
257
|
-
return visitor.oauth(value.oauth);
|
|
258
|
-
if (value.generic !== undefined)
|
|
259
|
-
return visitor.generic(value.generic);
|
|
260
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
261
|
-
};
|
|
262
|
-
})(TraceSegmentInput || (exports.TraceSegmentInput = TraceSegmentInput = {}));
|
|
263
|
-
var TraceSegmentResult;
|
|
264
|
-
(function (TraceSegmentResult) {
|
|
265
|
-
TraceSegmentResult.visit = (value, visitor) => {
|
|
266
|
-
if (value.error !== undefined)
|
|
267
|
-
return visitor.error(value.error);
|
|
268
|
-
if (value.tools !== undefined)
|
|
269
|
-
return visitor.tools(value.tools);
|
|
270
|
-
if (value.text !== undefined)
|
|
271
|
-
return visitor.text(value.text);
|
|
272
|
-
if (value.json !== undefined)
|
|
273
|
-
return visitor.json(value.json);
|
|
274
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
275
|
-
};
|
|
276
|
-
})(TraceSegmentResult || (exports.TraceSegmentResult = TraceSegmentResult = {}));
|
|
277
|
-
exports.TraceSegmentStatus = {
|
|
278
|
-
COMPLETE: "complete",
|
|
279
|
-
ERROR: "error",
|
|
280
|
-
PENDING: "pending",
|
|
281
|
-
};
|
|
282
|
-
exports.TraceSessionStatus = {
|
|
283
|
-
COMPLETE: "complete",
|
|
284
|
-
COMPLETE_WITH_ERROR: "complete_with_error",
|
|
285
|
-
PENDING: "pending",
|
|
286
|
-
};
|
|
287
|
-
class VoiceBotNotFoundException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
|
|
288
|
-
name = "VoiceBotNotFoundException";
|
|
289
|
-
$fault = "client";
|
|
290
|
-
type;
|
|
291
|
-
constructor(opts) {
|
|
292
|
-
super({
|
|
293
|
-
name: "VoiceBotNotFoundException",
|
|
294
|
-
$fault: "client",
|
|
295
|
-
...opts
|
|
296
|
-
});
|
|
297
|
-
Object.setPrototypeOf(this, VoiceBotNotFoundException.prototype);
|
|
298
|
-
this.type = opts.type;
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
exports.VoiceBotNotFoundException = VoiceBotNotFoundException;
|
|
302
|
-
class VoiceSessionNotFoundException extends VoiceBotsServiceException_1.VoiceBotsServiceException {
|
|
303
|
-
name = "VoiceSessionNotFoundException";
|
|
304
|
-
$fault = "client";
|
|
305
|
-
type;
|
|
306
|
-
constructor(opts) {
|
|
307
|
-
super({
|
|
308
|
-
name: "VoiceSessionNotFoundException",
|
|
309
|
-
$fault: "client",
|
|
310
|
-
...opts
|
|
311
|
-
});
|
|
312
|
-
Object.setPrototypeOf(this, VoiceSessionNotFoundException.prototype);
|
|
313
|
-
this.type = opts.type;
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
exports.VoiceSessionNotFoundException = VoiceSessionNotFoundException;
|
|
@@ -4,27 +4,27 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
-
const
|
|
7
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
8
|
+
const client_2 = require("@smithy/core/client");
|
|
9
|
+
const config_1 = require("@smithy/core/config");
|
|
10
|
+
const retry_1 = require("@smithy/core/retry");
|
|
11
|
+
const serde_1 = require("@smithy/core/serde");
|
|
8
12
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
9
|
-
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
10
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
11
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
12
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
13
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
14
14
|
const getRuntimeConfig = (config) => {
|
|
15
|
-
const defaultsMode = (0,
|
|
16
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
15
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
17
17
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
18
18
|
return {
|
|
19
19
|
...clientSharedValues,
|
|
20
20
|
...config,
|
|
21
21
|
runtime: "browser",
|
|
22
22
|
defaultsMode,
|
|
23
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
24
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
25
|
-
maxAttempts: config?.maxAttempts ??
|
|
23
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
24
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ clientVersion: package_json_1.default.version }),
|
|
25
|
+
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
26
26
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
27
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
27
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
28
28
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
29
29
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
30
30
|
};
|