@wildix/wda-stream-client 1.1.67 → 3.1.69
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/WdaStream.js +3 -3
- package/dist-cjs/WdaStreamClient.js +34 -26
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
- package/dist-cjs/commands/ConsumeEventCommand.js +10 -11
- package/dist-cjs/commands/DescribeEventCommand.js +10 -11
- package/dist-cjs/commands/GetConferenceIdCommand.js +10 -11
- package/dist-cjs/commands/GetOngoingCallAnnotationsCommand.js +10 -11
- package/dist-cjs/commands/GetOngoingCallCommand.js +10 -11
- package/dist-cjs/commands/GetOngoingCallTranscriptionCommand.js +10 -11
- package/dist-cjs/commands/GetOngoingChatAnnotationsCommand.js +10 -11
- package/dist-cjs/commands/GetOngoingConferenceAnnotationsCommand.js +10 -11
- package/dist-cjs/commands/GetOngoingConferenceCommand.js +10 -11
- package/dist-cjs/commands/GetOngoingConferenceTranscriptionCommand.js +10 -11
- package/dist-cjs/commands/ListServicesCommand.js +10 -11
- package/dist-cjs/commands/QueryConversationsCommand.js +10 -11
- package/dist-cjs/commands/QueryPresenceCommand.js +10 -11
- package/dist-cjs/commands/QueryPresencesCommand.js +10 -11
- package/dist-cjs/commands/UpdatePresenceLastSeenCommand.js +10 -11
- package/dist-cjs/commands/index.js +2 -2
- 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 +5 -1
- package/dist-cjs/models/WdaStreamServiceException.js +3 -3
- package/dist-cjs/models/enums.js +508 -0
- package/dist-cjs/models/errors.js +56 -0
- package/dist-cjs/models/models_0.js +0 -660
- package/dist-cjs/models/models_1.js +0 -48
- 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 +2528 -0
- package/dist-es/WdaStream.js +2 -2
- package/dist-es/WdaStreamClient.js +30 -22
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
- package/dist-es/commands/ConsumeEventCommand.js +9 -10
- package/dist-es/commands/DescribeEventCommand.js +9 -10
- package/dist-es/commands/GetConferenceIdCommand.js +9 -10
- package/dist-es/commands/GetOngoingCallAnnotationsCommand.js +9 -10
- package/dist-es/commands/GetOngoingCallCommand.js +9 -10
- package/dist-es/commands/GetOngoingCallTranscriptionCommand.js +9 -10
- package/dist-es/commands/GetOngoingChatAnnotationsCommand.js +9 -10
- package/dist-es/commands/GetOngoingConferenceAnnotationsCommand.js +9 -10
- package/dist-es/commands/GetOngoingConferenceCommand.js +9 -10
- package/dist-es/commands/GetOngoingConferenceTranscriptionCommand.js +9 -10
- package/dist-es/commands/ListServicesCommand.js +9 -10
- package/dist-es/commands/QueryConversationsCommand.js +9 -10
- package/dist-es/commands/QueryPresenceCommand.js +9 -10
- package/dist-es/commands/QueryPresencesCommand.js +9 -10
- package/dist-es/commands/UpdatePresenceLastSeenCommand.js +9 -10
- package/dist-es/commands/index.js +2 -2
- 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 +5 -1
- package/dist-es/models/WdaStreamServiceException.js +1 -1
- package/dist-es/models/enums.js +504 -0
- package/dist-es/models/errors.js +49 -0
- package/dist-es/models/models_0.js +1 -656
- package/dist-es/models/models_1.js +1 -45
- 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 +2519 -0
- package/dist-types/WdaStream.d.ts +16 -16
- package/dist-types/WdaStreamClient.d.ts +45 -27
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/ConsumeEventCommand.d.ts +16 -7
- package/dist-types/commands/DescribeEventCommand.d.ts +24 -18
- package/dist-types/commands/GetConferenceIdCommand.d.ts +11 -7
- package/dist-types/commands/GetOngoingCallAnnotationsCommand.d.ts +13 -9
- package/dist-types/commands/GetOngoingCallCommand.d.ts +13 -9
- package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +14 -10
- package/dist-types/commands/GetOngoingChatAnnotationsCommand.d.ts +11 -7
- package/dist-types/commands/GetOngoingConferenceAnnotationsCommand.d.ts +11 -7
- package/dist-types/commands/GetOngoingConferenceCommand.d.ts +11 -7
- package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +11 -7
- package/dist-types/commands/ListServicesCommand.d.ts +11 -7
- package/dist-types/commands/QueryConversationsCommand.d.ts +13 -9
- package/dist-types/commands/QueryPresenceCommand.d.ts +12 -7
- package/dist-types/commands/QueryPresencesCommand.d.ts +11 -7
- package/dist-types/commands/UpdatePresenceLastSeenCommand.d.ts +11 -7
- package/dist-types/commands/index.d.ts +2 -2
- 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 +6 -1
- package/dist-types/models/WdaStreamServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +1088 -0
- package/dist-types/models/errors.d.ts +46 -0
- package/dist-types/models/models_0.d.ts +1111 -1206
- package/dist-types/models/models_1.d.ts +3 -982
- 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 +333 -0
- package/package.json +14 -40
- package/dist-cjs/models/index.js +0 -5
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1340
- package/dist-es/models/index.js +0 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -1307
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -137
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QueryPresenceCommand = 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 QueryPresenceCommand 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("WdaStream", "QueryPresence", {})
|
|
15
16
|
.n("WdaStreamClient", "QueryPresenceCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_QueryPresenceCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_QueryPresenceCommand)
|
|
17
|
+
.sc(schemas_0_1.QueryPresence$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.QueryPresenceCommand = QueryPresenceCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QueryPresencesCommand = 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 QueryPresencesCommand 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("WdaStream", "QueryPresences", {})
|
|
15
16
|
.n("WdaStreamClient", "QueryPresencesCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_QueryPresencesCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_QueryPresencesCommand)
|
|
17
|
+
.sc(schemas_0_1.QueryPresences$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.QueryPresencesCommand = QueryPresencesCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdatePresenceLastSeenCommand = 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 UpdatePresenceLastSeenCommand 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("WdaStream", "UpdatePresenceLastSeen", {})
|
|
15
16
|
.n("WdaStreamClient", "UpdatePresenceLastSeenCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_UpdatePresenceLastSeenCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_UpdatePresenceLastSeenCommand)
|
|
17
|
+
.sc(schemas_0_1.UpdatePresenceLastSeen$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.UpdatePresenceLastSeenCommand = UpdatePresenceLastSeenCommand;
|
|
@@ -4,12 +4,12 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./ConsumeEventCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./DescribeEventCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./GetConferenceIdCommand"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./GetOngoingCallCommand"), exports);
|
|
8
7
|
tslib_1.__exportStar(require("./GetOngoingCallAnnotationsCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./GetOngoingCallCommand"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./GetOngoingCallTranscriptionCommand"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./GetOngoingChatAnnotationsCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./GetOngoingConferenceCommand"), exports);
|
|
12
11
|
tslib_1.__exportStar(require("./GetOngoingConferenceAnnotationsCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./GetOngoingConferenceCommand"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./GetOngoingConferenceTranscriptionCommand"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./ListServicesCommand"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./QueryConversationsCommand"), exports);
|
|
@@ -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://wda-stable.wildix.com", {}],
|
|
16
|
+
["https://wda-stage.wildix.com", {}],
|
|
17
|
+
["https://wda.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,10 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
tslib_1.__exportStar(require("./WdaStreamClient"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./WdaStream"), 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);
|
|
12
|
+
tslib_1.__exportStar(require("./models/models_1"), exports);
|
|
9
13
|
var WdaStreamServiceException_1 = require("./models/WdaStreamServiceException");
|
|
10
14
|
Object.defineProperty(exports, "WdaStreamServiceException", { enumerable: true, get: function () { return WdaStreamServiceException_1.WdaStreamServiceException; } });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WdaStreamServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class WdaStreamServiceException extends
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
+
class WdaStreamServiceException extends client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, WdaStreamServiceException.prototype);
|