@wildix/wda-history-client 1.2.28 → 3.1.29

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 (108) hide show
  1. package/dist-cjs/WdaHistory.js +3 -3
  2. package/dist-cjs/WdaHistoryClient.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/GetCallAnnotationsCommand.js +10 -11
  6. package/dist-cjs/commands/GetCallCommand.js +10 -11
  7. package/dist-cjs/commands/GetCallTranscriptionCommand.js +10 -11
  8. package/dist-cjs/commands/GetCallTranscriptionTextCommand.js +10 -11
  9. package/dist-cjs/commands/GetChatAnnotationsCommand.js +10 -11
  10. package/dist-cjs/commands/GetChatCommand.js +10 -11
  11. package/dist-cjs/commands/GetChatTranscriptionCommand.js +10 -11
  12. package/dist-cjs/commands/GetChatTranscriptionTextCommand.js +10 -11
  13. package/dist-cjs/commands/GetConferenceAnnotationsCommand.js +10 -11
  14. package/dist-cjs/commands/GetConferenceCommand.js +10 -11
  15. package/dist-cjs/commands/GetConferenceTranscriptionCommand.js +10 -11
  16. package/dist-cjs/commands/GetConferenceTranscriptionTextCommand.js +10 -11
  17. package/dist-cjs/commands/QueryConversationsCommand.js +10 -11
  18. package/dist-cjs/commands/QueryUserCallsCommand.js +10 -11
  19. package/dist-cjs/commands/UpdateCallCommand.js +10 -11
  20. package/dist-cjs/commands/index.js +3 -3
  21. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  22. package/dist-cjs/endpoint/bdd.js +25 -0
  23. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  24. package/dist-cjs/index.js +4 -1
  25. package/dist-cjs/models/WdaHistoryServiceException.js +3 -3
  26. package/dist-cjs/models/enums.js +204 -0
  27. package/dist-cjs/models/errors.js +147 -0
  28. package/dist-cjs/models/models_0.js +0 -406
  29. package/dist-cjs/runtimeConfig.browser.js +11 -11
  30. package/dist-cjs/runtimeConfig.js +22 -18
  31. package/dist-cjs/runtimeConfig.shared.js +30 -10
  32. package/dist-cjs/runtimeExtensions.js +6 -5
  33. package/dist-cjs/schemas/schemas_0.js +1047 -0
  34. package/dist-es/WdaHistory.js +4 -4
  35. package/dist-es/WdaHistoryClient.js +30 -22
  36. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  37. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  38. package/dist-es/commands/GetCallAnnotationsCommand.js +9 -10
  39. package/dist-es/commands/GetCallCommand.js +9 -10
  40. package/dist-es/commands/GetCallTranscriptionCommand.js +9 -10
  41. package/dist-es/commands/GetCallTranscriptionTextCommand.js +9 -10
  42. package/dist-es/commands/GetChatAnnotationsCommand.js +9 -10
  43. package/dist-es/commands/GetChatCommand.js +9 -10
  44. package/dist-es/commands/GetChatTranscriptionCommand.js +9 -10
  45. package/dist-es/commands/GetChatTranscriptionTextCommand.js +9 -10
  46. package/dist-es/commands/GetConferenceAnnotationsCommand.js +9 -10
  47. package/dist-es/commands/GetConferenceCommand.js +9 -10
  48. package/dist-es/commands/GetConferenceTranscriptionCommand.js +9 -10
  49. package/dist-es/commands/GetConferenceTranscriptionTextCommand.js +9 -10
  50. package/dist-es/commands/QueryConversationsCommand.js +9 -10
  51. package/dist-es/commands/QueryUserCallsCommand.js +9 -10
  52. package/dist-es/commands/UpdateCallCommand.js +9 -10
  53. package/dist-es/commands/index.js +3 -3
  54. package/dist-es/endpoint/EndpointParameters.js +12 -0
  55. package/dist-es/endpoint/bdd.js +22 -0
  56. package/dist-es/endpoint/endpointResolver.js +12 -0
  57. package/dist-es/index.js +4 -1
  58. package/dist-es/models/WdaHistoryServiceException.js +1 -1
  59. package/dist-es/models/enums.js +201 -0
  60. package/dist-es/models/errors.js +133 -0
  61. package/dist-es/models/models_0.js +1 -393
  62. package/dist-es/runtimeConfig.browser.js +7 -7
  63. package/dist-es/runtimeConfig.js +17 -13
  64. package/dist-es/runtimeConfig.shared.js +24 -4
  65. package/dist-es/runtimeExtensions.js +6 -5
  66. package/dist-es/schemas/schemas_0.js +1042 -0
  67. package/dist-types/WdaHistory.d.ts +16 -16
  68. package/dist-types/WdaHistoryClient.d.ts +45 -27
  69. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  70. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  71. package/dist-types/commands/GetCallAnnotationsCommand.d.ts +11 -7
  72. package/dist-types/commands/GetCallCommand.d.ts +13 -9
  73. package/dist-types/commands/GetCallTranscriptionCommand.d.ts +11 -7
  74. package/dist-types/commands/GetCallTranscriptionTextCommand.d.ts +11 -7
  75. package/dist-types/commands/GetChatAnnotationsCommand.d.ts +11 -7
  76. package/dist-types/commands/GetChatCommand.d.ts +11 -7
  77. package/dist-types/commands/GetChatTranscriptionCommand.d.ts +11 -7
  78. package/dist-types/commands/GetChatTranscriptionTextCommand.d.ts +11 -7
  79. package/dist-types/commands/GetConferenceAnnotationsCommand.d.ts +11 -7
  80. package/dist-types/commands/GetConferenceCommand.d.ts +11 -7
  81. package/dist-types/commands/GetConferenceTranscriptionCommand.d.ts +11 -7
  82. package/dist-types/commands/GetConferenceTranscriptionTextCommand.d.ts +11 -7
  83. package/dist-types/commands/QueryConversationsCommand.d.ts +13 -9
  84. package/dist-types/commands/QueryUserCallsCommand.d.ts +13 -9
  85. package/dist-types/commands/UpdateCallCommand.d.ts +13 -9
  86. package/dist-types/commands/index.d.ts +3 -3
  87. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  88. package/dist-types/endpoint/bdd.d.ts +2 -0
  89. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  90. package/dist-types/extensionConfiguration.d.ts +4 -3
  91. package/dist-types/index.d.ts +5 -1
  92. package/dist-types/models/WdaHistoryServiceException.d.ts +1 -1
  93. package/dist-types/models/enums.d.ts +505 -0
  94. package/dist-types/models/errors.d.ts +123 -0
  95. package/dist-types/models/models_0.d.ts +83 -685
  96. package/dist-types/runtimeConfig.browser.d.ts +35 -16
  97. package/dist-types/runtimeConfig.d.ts +34 -15
  98. package/dist-types/runtimeConfig.native.d.ts +36 -17
  99. package/dist-types/runtimeConfig.shared.d.ts +20 -3
  100. package/dist-types/runtimeExtensions.d.ts +1 -1
  101. package/dist-types/schemas/schemas_0.d.ts +127 -0
  102. package/package.json +14 -40
  103. package/dist-cjs/models/index.js +0 -4
  104. package/dist-cjs/protocols/Aws_restJson1.js +0 -868
  105. package/dist-es/models/index.js +0 -1
  106. package/dist-es/protocols/Aws_restJson1.js +0 -835
  107. package/dist-types/models/index.d.ts +0 -1
  108. 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.WdaHistory = void 0;
4
- const WdaHistoryClient_1 = require("./WdaHistoryClient");
4
+ const client_1 = require("@smithy/core/client");
5
5
  const GetCallAnnotationsCommand_1 = require("./commands/GetCallAnnotationsCommand");
6
6
  const GetCallCommand_1 = require("./commands/GetCallCommand");
7
7
  const GetCallTranscriptionCommand_1 = require("./commands/GetCallTranscriptionCommand");
@@ -17,7 +17,7 @@ const GetConferenceTranscriptionTextCommand_1 = require("./commands/GetConferenc
17
17
  const QueryConversationsCommand_1 = require("./commands/QueryConversationsCommand");
18
18
  const QueryUserCallsCommand_1 = require("./commands/QueryUserCallsCommand");
19
19
  const UpdateCallCommand_1 = require("./commands/UpdateCallCommand");
20
- const smithy_client_1 = require("@smithy/smithy-client");
20
+ const WdaHistoryClient_1 = require("./WdaHistoryClient");
21
21
  const commands = {
22
22
  GetCallCommand: GetCallCommand_1.GetCallCommand,
23
23
  GetCallAnnotationsCommand: GetCallAnnotationsCommand_1.GetCallAnnotationsCommand,
@@ -38,4 +38,4 @@ const commands = {
38
38
  class WdaHistory extends WdaHistoryClient_1.WdaHistoryClient {
39
39
  }
40
40
  exports.WdaHistory = WdaHistory;
41
- (0, smithy_client_1.createAggregatedClient)(commands, WdaHistory);
41
+ (0, client_1.createAggregatedClient)(commands, WdaHistory);
@@ -1,38 +1,46 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WdaHistoryClient = 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 WdaHistoryClient extends smithy_client_1.Client {
16
+ class WdaHistoryClient 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.defaultWdaHistoryHttpAuthSchemeParametersProvider,
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.defaultWdaHistoryHttpAuthSchemeProvider = exports.defaultWdaHistoryHttpAuthSchemeParametersProvider = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const client_1 = require("@smithy/core/client");
6
+ const defaultWdaHistoryHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
+ return {
8
+ operation: (0, client_1.getSmithyContext)(context).operation,
9
+ };
10
+ };
11
+ exports.defaultWdaHistoryHttpAuthSchemeParametersProvider = defaultWdaHistoryHttpAuthSchemeParametersProvider;
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 defaultWdaHistoryHttpAuthSchemeProvider = (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.defaultWdaHistoryHttpAuthSchemeProvider = defaultWdaHistoryHttpAuthSchemeProvider;
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.GetCallAnnotationsCommand = 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 GetCallAnnotationsCommand 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 GetCallAnnotationsCommand 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("WdaHistory", "GetCallAnnotations", {})
15
16
  .n("WdaHistoryClient", "GetCallAnnotationsCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetCallAnnotationsCommand)
18
- .de(Aws_restJson1_1.de_GetCallAnnotationsCommand)
17
+ .sc(schemas_0_1.GetCallAnnotations$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetCallAnnotationsCommand = GetCallAnnotationsCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetCallCommand = 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 GetCallCommand 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 GetCallCommand 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("WdaHistory", "GetCall", {})
15
16
  .n("WdaHistoryClient", "GetCallCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetCallCommand)
18
- .de(Aws_restJson1_1.de_GetCallCommand)
17
+ .sc(schemas_0_1.GetCall$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetCallCommand = GetCallCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetCallTranscriptionCommand = 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 GetCallTranscriptionCommand 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 GetCallTranscriptionCommand 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("WdaHistory", "GetCallTranscription", {})
15
16
  .n("WdaHistoryClient", "GetCallTranscriptionCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetCallTranscriptionCommand)
18
- .de(Aws_restJson1_1.de_GetCallTranscriptionCommand)
17
+ .sc(schemas_0_1.GetCallTranscription$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetCallTranscriptionCommand = GetCallTranscriptionCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetCallTranscriptionTextCommand = 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 GetCallTranscriptionTextCommand 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 GetCallTranscriptionTextCommand 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("WdaHistory", "GetCallTranscriptionText", {})
15
16
  .n("WdaHistoryClient", "GetCallTranscriptionTextCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetCallTranscriptionTextCommand)
18
- .de(Aws_restJson1_1.de_GetCallTranscriptionTextCommand)
17
+ .sc(schemas_0_1.GetCallTranscriptionText$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetCallTranscriptionTextCommand = GetCallTranscriptionTextCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetChatAnnotationsCommand = 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 GetChatAnnotationsCommand 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 GetChatAnnotationsCommand 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("WdaHistory", "GetChatAnnotations", {})
15
16
  .n("WdaHistoryClient", "GetChatAnnotationsCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetChatAnnotationsCommand)
18
- .de(Aws_restJson1_1.de_GetChatAnnotationsCommand)
17
+ .sc(schemas_0_1.GetChatAnnotations$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetChatAnnotationsCommand = GetChatAnnotationsCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetChatCommand = 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 GetChatCommand 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 GetChatCommand 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("WdaHistory", "GetChat", {})
15
16
  .n("WdaHistoryClient", "GetChatCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetChatCommand)
18
- .de(Aws_restJson1_1.de_GetChatCommand)
17
+ .sc(schemas_0_1.GetChat$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetChatCommand = GetChatCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetChatTranscriptionCommand = 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 GetChatTranscriptionCommand 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 GetChatTranscriptionCommand 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("WdaHistory", "GetChatTranscription", {})
15
16
  .n("WdaHistoryClient", "GetChatTranscriptionCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetChatTranscriptionCommand)
18
- .de(Aws_restJson1_1.de_GetChatTranscriptionCommand)
17
+ .sc(schemas_0_1.GetChatTranscription$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetChatTranscriptionCommand = GetChatTranscriptionCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetChatTranscriptionTextCommand = 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 GetChatTranscriptionTextCommand 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 GetChatTranscriptionTextCommand 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("WdaHistory", "GetChatTranscriptionText", {})
15
16
  .n("WdaHistoryClient", "GetChatTranscriptionTextCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetChatTranscriptionTextCommand)
18
- .de(Aws_restJson1_1.de_GetChatTranscriptionTextCommand)
17
+ .sc(schemas_0_1.GetChatTranscriptionText$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetChatTranscriptionTextCommand = GetChatTranscriptionTextCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetConferenceAnnotationsCommand = 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 GetConferenceAnnotationsCommand 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 GetConferenceAnnotationsCommand 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("WdaHistory", "GetConferenceAnnotations", {})
15
16
  .n("WdaHistoryClient", "GetConferenceAnnotationsCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetConferenceAnnotationsCommand)
18
- .de(Aws_restJson1_1.de_GetConferenceAnnotationsCommand)
17
+ .sc(schemas_0_1.GetConferenceAnnotations$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetConferenceAnnotationsCommand = GetConferenceAnnotationsCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetConferenceCommand = 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 GetConferenceCommand 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 GetConferenceCommand 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("WdaHistory", "GetConference", {})
15
16
  .n("WdaHistoryClient", "GetConferenceCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetConferenceCommand)
18
- .de(Aws_restJson1_1.de_GetConferenceCommand)
17
+ .sc(schemas_0_1.GetConference$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetConferenceCommand = GetConferenceCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetConferenceTranscriptionCommand = 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 GetConferenceTranscriptionCommand 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 GetConferenceTranscriptionCommand 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("WdaHistory", "GetConferenceTranscription", {})
15
16
  .n("WdaHistoryClient", "GetConferenceTranscriptionCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetConferenceTranscriptionCommand)
18
- .de(Aws_restJson1_1.de_GetConferenceTranscriptionCommand)
17
+ .sc(schemas_0_1.GetConferenceTranscription$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetConferenceTranscriptionCommand = GetConferenceTranscriptionCommand;
@@ -1,21 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetConferenceTranscriptionTextCommand = 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 GetConferenceTranscriptionTextCommand 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 GetConferenceTranscriptionTextCommand 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("WdaHistory", "GetConferenceTranscriptionText", {})
15
16
  .n("WdaHistoryClient", "GetConferenceTranscriptionTextCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetConferenceTranscriptionTextCommand)
18
- .de(Aws_restJson1_1.de_GetConferenceTranscriptionTextCommand)
17
+ .sc(schemas_0_1.GetConferenceTranscriptionText$)
19
18
  .build() {
20
19
  }
21
20
  exports.GetConferenceTranscriptionTextCommand = GetConferenceTranscriptionTextCommand;