@wildix/wda-stream-client 1.1.69 → 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.
Files changed (111) hide show
  1. package/dist-cjs/WdaStream.js +3 -3
  2. package/dist-cjs/WdaStreamClient.js +34 -26
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
  5. package/dist-cjs/commands/ConsumeEventCommand.js +10 -11
  6. package/dist-cjs/commands/DescribeEventCommand.js +10 -11
  7. package/dist-cjs/commands/GetConferenceIdCommand.js +10 -11
  8. package/dist-cjs/commands/GetOngoingCallAnnotationsCommand.js +10 -11
  9. package/dist-cjs/commands/GetOngoingCallCommand.js +10 -11
  10. package/dist-cjs/commands/GetOngoingCallTranscriptionCommand.js +10 -11
  11. package/dist-cjs/commands/GetOngoingChatAnnotationsCommand.js +10 -11
  12. package/dist-cjs/commands/GetOngoingConferenceAnnotationsCommand.js +10 -11
  13. package/dist-cjs/commands/GetOngoingConferenceCommand.js +10 -11
  14. package/dist-cjs/commands/GetOngoingConferenceTranscriptionCommand.js +10 -11
  15. package/dist-cjs/commands/ListServicesCommand.js +10 -11
  16. package/dist-cjs/commands/QueryConversationsCommand.js +10 -11
  17. package/dist-cjs/commands/QueryPresenceCommand.js +10 -11
  18. package/dist-cjs/commands/QueryPresencesCommand.js +10 -11
  19. package/dist-cjs/commands/UpdatePresenceLastSeenCommand.js +10 -11
  20. package/dist-cjs/commands/index.js +2 -2
  21. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  22. package/dist-cjs/endpoint/bdd.js +28 -0
  23. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  24. package/dist-cjs/index.js +5 -1
  25. package/dist-cjs/models/WdaStreamServiceException.js +3 -3
  26. package/dist-cjs/models/enums.js +508 -0
  27. package/dist-cjs/models/errors.js +56 -0
  28. package/dist-cjs/models/models_0.js +0 -667
  29. package/dist-cjs/models/models_1.js +0 -48
  30. package/dist-cjs/runtimeConfig.browser.js +11 -11
  31. package/dist-cjs/runtimeConfig.js +22 -18
  32. package/dist-cjs/runtimeConfig.shared.js +30 -10
  33. package/dist-cjs/runtimeExtensions.js +6 -5
  34. package/dist-cjs/schemas/schemas_0.js +2528 -0
  35. package/dist-es/WdaStream.js +2 -2
  36. package/dist-es/WdaStreamClient.js +30 -22
  37. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  38. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  39. package/dist-es/commands/ConsumeEventCommand.js +9 -10
  40. package/dist-es/commands/DescribeEventCommand.js +9 -10
  41. package/dist-es/commands/GetConferenceIdCommand.js +9 -10
  42. package/dist-es/commands/GetOngoingCallAnnotationsCommand.js +9 -10
  43. package/dist-es/commands/GetOngoingCallCommand.js +9 -10
  44. package/dist-es/commands/GetOngoingCallTranscriptionCommand.js +9 -10
  45. package/dist-es/commands/GetOngoingChatAnnotationsCommand.js +9 -10
  46. package/dist-es/commands/GetOngoingConferenceAnnotationsCommand.js +9 -10
  47. package/dist-es/commands/GetOngoingConferenceCommand.js +9 -10
  48. package/dist-es/commands/GetOngoingConferenceTranscriptionCommand.js +9 -10
  49. package/dist-es/commands/ListServicesCommand.js +9 -10
  50. package/dist-es/commands/QueryConversationsCommand.js +9 -10
  51. package/dist-es/commands/QueryPresenceCommand.js +9 -10
  52. package/dist-es/commands/QueryPresencesCommand.js +9 -10
  53. package/dist-es/commands/UpdatePresenceLastSeenCommand.js +9 -10
  54. package/dist-es/commands/index.js +2 -2
  55. package/dist-es/endpoint/EndpointParameters.js +12 -0
  56. package/dist-es/endpoint/bdd.js +25 -0
  57. package/dist-es/endpoint/endpointResolver.js +12 -0
  58. package/dist-es/index.js +5 -1
  59. package/dist-es/models/WdaStreamServiceException.js +1 -1
  60. package/dist-es/models/enums.js +504 -0
  61. package/dist-es/models/errors.js +49 -0
  62. package/dist-es/models/models_0.js +1 -663
  63. package/dist-es/models/models_1.js +1 -45
  64. package/dist-es/runtimeConfig.browser.js +7 -7
  65. package/dist-es/runtimeConfig.js +17 -13
  66. package/dist-es/runtimeConfig.shared.js +24 -4
  67. package/dist-es/runtimeExtensions.js +6 -5
  68. package/dist-es/schemas/schemas_0.js +2519 -0
  69. package/dist-types/WdaStream.d.ts +16 -16
  70. package/dist-types/WdaStreamClient.d.ts +45 -27
  71. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  72. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  73. package/dist-types/commands/ConsumeEventCommand.d.ts +11 -7
  74. package/dist-types/commands/DescribeEventCommand.d.ts +11 -8
  75. package/dist-types/commands/GetConferenceIdCommand.d.ts +11 -7
  76. package/dist-types/commands/GetOngoingCallAnnotationsCommand.d.ts +11 -7
  77. package/dist-types/commands/GetOngoingCallCommand.d.ts +11 -7
  78. package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +11 -7
  79. package/dist-types/commands/GetOngoingChatAnnotationsCommand.d.ts +11 -7
  80. package/dist-types/commands/GetOngoingConferenceAnnotationsCommand.d.ts +11 -7
  81. package/dist-types/commands/GetOngoingConferenceCommand.d.ts +11 -7
  82. package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +11 -7
  83. package/dist-types/commands/ListServicesCommand.d.ts +11 -7
  84. package/dist-types/commands/QueryConversationsCommand.d.ts +11 -7
  85. package/dist-types/commands/QueryPresenceCommand.d.ts +12 -7
  86. package/dist-types/commands/QueryPresencesCommand.d.ts +11 -7
  87. package/dist-types/commands/UpdatePresenceLastSeenCommand.d.ts +11 -7
  88. package/dist-types/commands/index.d.ts +2 -2
  89. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  90. package/dist-types/endpoint/bdd.d.ts +2 -0
  91. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  92. package/dist-types/extensionConfiguration.d.ts +4 -3
  93. package/dist-types/index.d.ts +6 -1
  94. package/dist-types/models/WdaStreamServiceException.d.ts +1 -1
  95. package/dist-types/models/enums.d.ts +1088 -0
  96. package/dist-types/models/errors.d.ts +46 -0
  97. package/dist-types/models/models_0.d.ts +1109 -1213
  98. package/dist-types/models/models_1.d.ts +3 -982
  99. package/dist-types/runtimeConfig.browser.d.ts +35 -16
  100. package/dist-types/runtimeConfig.d.ts +34 -15
  101. package/dist-types/runtimeConfig.native.d.ts +36 -17
  102. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  103. package/dist-types/runtimeExtensions.d.ts +1 -1
  104. package/dist-types/schemas/schemas_0.d.ts +333 -0
  105. package/package.json +14 -40
  106. package/dist-cjs/models/index.js +0 -5
  107. package/dist-cjs/protocols/Aws_restJson1.js +0 -1340
  108. package/dist-es/models/index.js +0 -2
  109. package/dist-es/protocols/Aws_restJson1.js +0 -1307
  110. package/dist-types/models/index.d.ts +0 -2
  111. package/dist-types/protocols/Aws_restJson1.d.ts +0 -137
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WdaStream = void 0;
4
- const WdaStreamClient_1 = require("./WdaStreamClient");
4
+ const client_1 = require("@smithy/core/client");
5
5
  const ConsumeEventCommand_1 = require("./commands/ConsumeEventCommand");
6
6
  const DescribeEventCommand_1 = require("./commands/DescribeEventCommand");
7
7
  const GetConferenceIdCommand_1 = require("./commands/GetConferenceIdCommand");
@@ -17,7 +17,7 @@ const QueryConversationsCommand_1 = require("./commands/QueryConversationsComman
17
17
  const QueryPresenceCommand_1 = require("./commands/QueryPresenceCommand");
18
18
  const QueryPresencesCommand_1 = require("./commands/QueryPresencesCommand");
19
19
  const UpdatePresenceLastSeenCommand_1 = require("./commands/UpdatePresenceLastSeenCommand");
20
- const smithy_client_1 = require("@smithy/smithy-client");
20
+ const WdaStreamClient_1 = require("./WdaStreamClient");
21
21
  const commands = {
22
22
  ConsumeEventCommand: ConsumeEventCommand_1.ConsumeEventCommand,
23
23
  DescribeEventCommand: DescribeEventCommand_1.DescribeEventCommand,
@@ -38,4 +38,4 @@ const commands = {
38
38
  class WdaStream extends WdaStreamClient_1.WdaStreamClient {
39
39
  }
40
40
  exports.WdaStream = WdaStream;
41
- (0, smithy_client_1.createAggregatedClient)(commands, WdaStream);
41
+ (0, client_1.createAggregatedClient)(commands, WdaStream);
@@ -1,38 +1,46 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WdaStreamClient = exports.__Client = void 0;
4
+ const client_1 = require("@aws-sdk/core/client");
5
+ const core_1 = require("@smithy/core");
6
+ const client_2 = require("@smithy/core/client");
7
+ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return client_2.Client; } });
8
+ const endpoints_1 = require("@smithy/core/endpoints");
9
+ const protocols_1 = require("@smithy/core/protocols");
10
+ const retry_1 = require("@smithy/core/retry");
11
+ const schema_1 = require("@smithy/core/schema");
12
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
13
+ const EndpointParameters_1 = require("./endpoint/EndpointParameters");
4
14
  const runtimeConfig_1 = require("./runtimeConfig");
5
15
  const runtimeExtensions_1 = require("./runtimeExtensions");
6
- const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
7
- const middleware_content_length_1 = require("@smithy/middleware-content-length");
8
- const middleware_retry_1 = require("@smithy/middleware-retry");
9
- const smithy_client_1 = require("@smithy/smithy-client");
10
- Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
11
- const smithy_utils_1 = require("@wildix/smithy-utils");
12
- class WdaStreamClient extends smithy_client_1.Client {
16
+ class WdaStreamClient extends client_2.Client {
13
17
  config;
14
18
  constructor(...[configuration]) {
15
- let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
19
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
16
20
  super(_config_0);
17
21
  this.initConfig = _config_0;
18
- let _config_1 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_0);
19
- let _config_2 = (0, middleware_retry_1.resolveRetryConfig)(_config_1);
20
- let _config_3 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_2, configuration?.extensions || []);
21
- const hostname = ['stable', 'stage'].includes(configuration.env || '') ? `wda-${configuration.env}.wildix.com` : 'wda.wildix.com';
22
- const endpoint = () => {
23
- return {
24
- hostname,
25
- protocol: "https",
26
- port: '443',
27
- path: ''
28
- };
29
- };
30
- const config = { ..._config_3, endpoint };
31
- this.config = config;
32
- this.middlewareStack.add(smithy_utils_1.authorizationMiddleware.bind(this, configuration.token), { step: "build" });
33
- this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
34
- this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
35
- this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
22
+ const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
23
+ const _config_2 = (0, client_1.resolveUserAgentConfig)(_config_1);
24
+ const _config_3 = (0, retry_1.resolveRetryConfig)(_config_2);
25
+ const _config_4 = (0, client_1.resolveHostHeaderConfig)(_config_3);
26
+ const _config_5 = (0, endpoints_1.resolveEndpointConfig)(_config_4);
27
+ const _config_6 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_5);
28
+ const _config_7 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_6, configuration?.extensions || []);
29
+ this.config = _config_7;
30
+ this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config));
31
+ this.middlewareStack.use((0, client_1.getUserAgentPlugin)(this.config));
32
+ this.middlewareStack.use((0, retry_1.getRetryPlugin)(this.config));
33
+ this.middlewareStack.use((0, protocols_1.getContentLengthPlugin)(this.config));
34
+ this.middlewareStack.use((0, client_1.getHostHeaderPlugin)(this.config));
35
+ this.middlewareStack.use((0, client_1.getLoggerPlugin)(this.config));
36
+ this.middlewareStack.use((0, client_1.getRecursionDetectionPlugin)(this.config));
37
+ this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
38
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultWdaStreamHttpAuthSchemeParametersProvider,
39
+ identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
40
+ "smithy.api#httpBearerAuth": config.token,
41
+ }),
42
+ }));
43
+ this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
36
44
  }
37
45
  destroy() {
38
46
  super.destroy();
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
4
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
5
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
6
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
7
+ let _token = runtimeConfig.token;
8
+ return {
9
+ setHttpAuthScheme(httpAuthScheme) {
10
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
11
+ if (index === -1) {
12
+ _httpAuthSchemes.push(httpAuthScheme);
13
+ }
14
+ else {
15
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
16
+ }
17
+ },
18
+ httpAuthSchemes() {
19
+ return _httpAuthSchemes;
20
+ },
21
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
22
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
23
+ },
24
+ httpAuthSchemeProvider() {
25
+ return _httpAuthSchemeProvider;
26
+ },
27
+ setToken(token) {
28
+ _token = token;
29
+ },
30
+ token() {
31
+ return _token;
32
+ },
33
+ };
34
+ };
35
+ exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
36
+ const resolveHttpAuthRuntimeConfig = (config) => {
37
+ return {
38
+ httpAuthSchemes: config.httpAuthSchemes(),
39
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
40
+ token: config.token(),
41
+ };
42
+ };
43
+ exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveHttpAuthSchemeConfig = exports.defaultWdaStreamHttpAuthSchemeProvider = exports.defaultWdaStreamHttpAuthSchemeParametersProvider = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const client_1 = require("@smithy/core/client");
6
+ const defaultWdaStreamHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
+ return {
8
+ operation: (0, client_1.getSmithyContext)(context).operation,
9
+ };
10
+ };
11
+ exports.defaultWdaStreamHttpAuthSchemeParametersProvider = defaultWdaStreamHttpAuthSchemeParametersProvider;
12
+ function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
13
+ return {
14
+ schemeId: "smithy.api#httpBearerAuth",
15
+ };
16
+ }
17
+ function createWildixAuthApiKeysHttpAuthOption(authParameters) {
18
+ return {
19
+ schemeId: "wildix.auth#apiKeys",
20
+ };
21
+ }
22
+ function createWildixAuthPbxHttpAuthOption(authParameters) {
23
+ return {
24
+ schemeId: "wildix.auth#pbx",
25
+ };
26
+ }
27
+ function createWildixAuthS2sHttpAuthOption(authParameters) {
28
+ return {
29
+ schemeId: "wildix.auth#s2s",
30
+ };
31
+ }
32
+ function createWildixAuthXbsHttpAuthOption(authParameters) {
33
+ return {
34
+ schemeId: "wildix.auth#xbs",
35
+ };
36
+ }
37
+ const defaultWdaStreamHttpAuthSchemeProvider = (authParameters) => {
38
+ const options = [];
39
+ switch (authParameters.operation) {
40
+ default: {
41
+ options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
42
+ options.push(createWildixAuthS2sHttpAuthOption(authParameters));
43
+ options.push(createWildixAuthXbsHttpAuthOption(authParameters));
44
+ options.push(createWildixAuthPbxHttpAuthOption(authParameters));
45
+ options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
46
+ }
47
+ }
48
+ return options;
49
+ };
50
+ exports.defaultWdaStreamHttpAuthSchemeProvider = defaultWdaStreamHttpAuthSchemeProvider;
51
+ const resolveHttpAuthSchemeConfig = (config) => {
52
+ const token = (0, core_1.memoizeIdentityProvider)(config.token, core_1.isIdentityExpired, core_1.doesIdentityRequireRefresh);
53
+ return Object.assign(config, {
54
+ authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
55
+ token,
56
+ });
57
+ };
58
+ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConsumeEventCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class ConsumeEventCommand extends smithy_client_1.Command.classBuilder()
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 ConsumeEventCommand 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", "ConsumeEvent", {})
15
16
  .n("WdaStreamClient", "ConsumeEventCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_ConsumeEventCommand)
18
- .de(Aws_restJson1_1.de_ConsumeEventCommand)
17
+ .sc(schemas_0_1.ConsumeEvent$)
19
18
  .build() {
20
19
  }
21
20
  exports.ConsumeEventCommand = ConsumeEventCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeEventCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class DescribeEventCommand extends smithy_client_1.Command.classBuilder()
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 DescribeEventCommand 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", "DescribeEvent", {})
15
16
  .n("WdaStreamClient", "DescribeEventCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_DescribeEventCommand)
18
- .de(Aws_restJson1_1.de_DescribeEventCommand)
17
+ .sc(schemas_0_1.DescribeEvent$)
19
18
  .build() {
20
19
  }
21
20
  exports.DescribeEventCommand = DescribeEventCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetConferenceIdCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class GetConferenceIdCommand extends smithy_client_1.Command.classBuilder()
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 GetConferenceIdCommand 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", "GetConferenceId", {})
15
16
  .n("WdaStreamClient", "GetConferenceIdCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetConferenceIdCommand)
18
- .de(Aws_restJson1_1.de_GetConferenceIdCommand)
17
+ .sc(schemas_0_1.GetConferenceId$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetConferenceIdCommand = GetConferenceIdCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetOngoingCallAnnotationsCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class GetOngoingCallAnnotationsCommand extends smithy_client_1.Command.classBuilder()
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 GetOngoingCallAnnotationsCommand 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", "GetOngoingCallAnnotations", {})
15
16
  .n("WdaStreamClient", "GetOngoingCallAnnotationsCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetOngoingCallAnnotationsCommand)
18
- .de(Aws_restJson1_1.de_GetOngoingCallAnnotationsCommand)
17
+ .sc(schemas_0_1.GetOngoingCallAnnotations$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetOngoingCallAnnotationsCommand = GetOngoingCallAnnotationsCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetOngoingCallCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class GetOngoingCallCommand extends smithy_client_1.Command.classBuilder()
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 GetOngoingCallCommand 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", "GetOngoingCall", {})
15
16
  .n("WdaStreamClient", "GetOngoingCallCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetOngoingCallCommand)
18
- .de(Aws_restJson1_1.de_GetOngoingCallCommand)
17
+ .sc(schemas_0_1.GetOngoingCall$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetOngoingCallCommand = GetOngoingCallCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetOngoingCallTranscriptionCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class GetOngoingCallTranscriptionCommand extends smithy_client_1.Command.classBuilder()
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 GetOngoingCallTranscriptionCommand 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", "GetOngoingCallTranscription", {})
15
16
  .n("WdaStreamClient", "GetOngoingCallTranscriptionCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetOngoingCallTranscriptionCommand)
18
- .de(Aws_restJson1_1.de_GetOngoingCallTranscriptionCommand)
17
+ .sc(schemas_0_1.GetOngoingCallTranscription$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetOngoingCallTranscriptionCommand = GetOngoingCallTranscriptionCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetOngoingChatAnnotationsCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class GetOngoingChatAnnotationsCommand extends smithy_client_1.Command.classBuilder()
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 GetOngoingChatAnnotationsCommand 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", "GetOngoingChatAnnotations", {})
15
16
  .n("WdaStreamClient", "GetOngoingChatAnnotationsCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetOngoingChatAnnotationsCommand)
18
- .de(Aws_restJson1_1.de_GetOngoingChatAnnotationsCommand)
17
+ .sc(schemas_0_1.GetOngoingChatAnnotations$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetOngoingChatAnnotationsCommand = GetOngoingChatAnnotationsCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetOngoingConferenceAnnotationsCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class GetOngoingConferenceAnnotationsCommand extends smithy_client_1.Command.classBuilder()
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 GetOngoingConferenceAnnotationsCommand 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", "GetOngoingConferenceAnnotations", {})
15
16
  .n("WdaStreamClient", "GetOngoingConferenceAnnotationsCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetOngoingConferenceAnnotationsCommand)
18
- .de(Aws_restJson1_1.de_GetOngoingConferenceAnnotationsCommand)
17
+ .sc(schemas_0_1.GetOngoingConferenceAnnotations$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetOngoingConferenceAnnotationsCommand = GetOngoingConferenceAnnotationsCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetOngoingConferenceCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class GetOngoingConferenceCommand extends smithy_client_1.Command.classBuilder()
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 GetOngoingConferenceCommand 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", "GetOngoingConference", {})
15
16
  .n("WdaStreamClient", "GetOngoingConferenceCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetOngoingConferenceCommand)
18
- .de(Aws_restJson1_1.de_GetOngoingConferenceCommand)
17
+ .sc(schemas_0_1.GetOngoingConference$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetOngoingConferenceCommand = GetOngoingConferenceCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetOngoingConferenceTranscriptionCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class GetOngoingConferenceTranscriptionCommand extends smithy_client_1.Command.classBuilder()
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 GetOngoingConferenceTranscriptionCommand 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", "GetOngoingConferenceTranscription", {})
15
16
  .n("WdaStreamClient", "GetOngoingConferenceTranscriptionCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetOngoingConferenceTranscriptionCommand)
18
- .de(Aws_restJson1_1.de_GetOngoingConferenceTranscriptionCommand)
17
+ .sc(schemas_0_1.GetOngoingConferenceTranscription$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetOngoingConferenceTranscriptionCommand = GetOngoingConferenceTranscriptionCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListServicesCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class ListServicesCommand extends smithy_client_1.Command.classBuilder()
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 ListServicesCommand 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", "ListServices", {})
15
16
  .n("WdaStreamClient", "ListServicesCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_ListServicesCommand)
18
- .de(Aws_restJson1_1.de_ListServicesCommand)
17
+ .sc(schemas_0_1.ListServices$)
19
18
  .build() {
20
19
  }
21
20
  exports.ListServicesCommand = ListServicesCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.QueryConversationsCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class QueryConversationsCommand extends smithy_client_1.Command.classBuilder()
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 QueryConversationsCommand 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", "QueryConversations", {})
15
16
  .n("WdaStreamClient", "QueryConversationsCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_QueryConversationsCommand)
18
- .de(Aws_restJson1_1.de_QueryConversationsCommand)
17
+ .sc(schemas_0_1.QueryConversations$)
19
18
  .build() {
20
19
  }
21
20
  exports.QueryConversationsCommand = QueryConversationsCommand;