@aws-sdk/client-taxsettings 3.590.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +272 -0
  3. package/dist-cjs/TaxSettings.js +25 -0
  4. package/dist-cjs/TaxSettingsClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/BatchDeleteTaxRegistrationCommand.js +29 -0
  8. package/dist-cjs/commands/BatchPutTaxRegistrationCommand.js +29 -0
  9. package/dist-cjs/commands/DeleteTaxRegistrationCommand.js +28 -0
  10. package/dist-cjs/commands/GetTaxRegistrationCommand.js +29 -0
  11. package/dist-cjs/commands/GetTaxRegistrationDocumentCommand.js +28 -0
  12. package/dist-cjs/commands/ListTaxRegistrationsCommand.js +29 -0
  13. package/dist-cjs/commands/PutTaxRegistrationCommand.js +29 -0
  14. package/dist-cjs/commands/index.js +10 -0
  15. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  16. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  17. package/dist-cjs/endpoint/ruleset.js +7 -0
  18. package/dist-cjs/extensionConfiguration.js +2 -0
  19. package/dist-cjs/index.js +11 -0
  20. package/dist-cjs/models/TaxSettingsServiceException.js +12 -0
  21. package/dist-cjs/models/index.js +4 -0
  22. package/dist-cjs/models/models_0.js +198 -0
  23. package/dist-cjs/pagination/Interfaces.js +2 -0
  24. package/dist-cjs/pagination/ListTaxRegistrationsPaginator.js +7 -0
  25. package/dist-cjs/pagination/index.js +5 -0
  26. package/dist-cjs/protocols/Aws_restJson1.js +311 -0
  27. package/dist-cjs/runtimeConfig.browser.js +39 -0
  28. package/dist-cjs/runtimeConfig.js +49 -0
  29. package/dist-cjs/runtimeConfig.native.js +15 -0
  30. package/dist-cjs/runtimeConfig.shared.js +34 -0
  31. package/dist-cjs/runtimeExtensions.js +25 -0
  32. package/dist-es/TaxSettings.js +21 -0
  33. package/dist-es/TaxSettingsClient.js +52 -0
  34. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  35. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  36. package/dist-es/commands/BatchDeleteTaxRegistrationCommand.js +25 -0
  37. package/dist-es/commands/BatchPutTaxRegistrationCommand.js +25 -0
  38. package/dist-es/commands/DeleteTaxRegistrationCommand.js +24 -0
  39. package/dist-es/commands/GetTaxRegistrationCommand.js +25 -0
  40. package/dist-es/commands/GetTaxRegistrationDocumentCommand.js +24 -0
  41. package/dist-es/commands/ListTaxRegistrationsCommand.js +25 -0
  42. package/dist-es/commands/PutTaxRegistrationCommand.js +25 -0
  43. package/dist-es/commands/index.js +7 -0
  44. package/dist-es/endpoint/EndpointParameters.js +14 -0
  45. package/dist-es/endpoint/endpointResolver.js +10 -0
  46. package/dist-es/endpoint/ruleset.js +4 -0
  47. package/dist-es/extensionConfiguration.js +1 -0
  48. package/dist-es/index.js +6 -0
  49. package/dist-es/models/TaxSettingsServiceException.js +8 -0
  50. package/dist-es/models/index.js +1 -0
  51. package/dist-es/models/models_0.js +178 -0
  52. package/dist-es/pagination/Interfaces.js +1 -0
  53. package/dist-es/pagination/ListTaxRegistrationsPaginator.js +4 -0
  54. package/dist-es/pagination/index.js +2 -0
  55. package/dist-es/protocols/Aws_restJson1.js +294 -0
  56. package/dist-es/runtimeConfig.browser.js +34 -0
  57. package/dist-es/runtimeConfig.js +44 -0
  58. package/dist-es/runtimeConfig.native.js +11 -0
  59. package/dist-es/runtimeConfig.shared.js +30 -0
  60. package/dist-es/runtimeExtensions.js +21 -0
  61. package/dist-types/TaxSettings.d.ts +73 -0
  62. package/dist-types/TaxSettingsClient.d.ts +189 -0
  63. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  64. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  65. package/dist-types/commands/BatchDeleteTaxRegistrationCommand.d.ts +81 -0
  66. package/dist-types/commands/BatchPutTaxRegistrationCommand.d.ts +346 -0
  67. package/dist-types/commands/DeleteTaxRegistrationCommand.d.ts +73 -0
  68. package/dist-types/commands/GetTaxRegistrationCommand.d.ts +158 -0
  69. package/dist-types/commands/GetTaxRegistrationDocumentCommand.d.ts +74 -0
  70. package/dist-types/commands/ListTaxRegistrationsCommand.d.ts +186 -0
  71. package/dist-types/commands/PutTaxRegistrationCommand.d.ts +336 -0
  72. package/dist-types/commands/index.d.ts +7 -0
  73. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  74. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  75. package/dist-types/endpoint/ruleset.d.ts +2 -0
  76. package/dist-types/extensionConfiguration.d.ts +9 -0
  77. package/dist-types/index.d.ts +25 -0
  78. package/dist-types/models/TaxSettingsServiceException.d.ts +13 -0
  79. package/dist-types/models/index.d.ts +1 -0
  80. package/dist-types/models/models_0.d.ts +1476 -0
  81. package/dist-types/pagination/Interfaces.d.ts +8 -0
  82. package/dist-types/pagination/ListTaxRegistrationsPaginator.d.ts +7 -0
  83. package/dist-types/pagination/index.d.ts +2 -0
  84. package/dist-types/protocols/Aws_restJson1.d.ts +65 -0
  85. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  86. package/dist-types/runtimeConfig.d.ts +45 -0
  87. package/dist-types/runtimeConfig.native.d.ts +44 -0
  88. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  89. package/dist-types/runtimeExtensions.d.ts +17 -0
  90. package/dist-types/ts3.4/TaxSettings.d.ts +129 -0
  91. package/dist-types/ts3.4/TaxSettingsClient.d.ts +162 -0
  92. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  93. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  94. package/dist-types/ts3.4/commands/BatchDeleteTaxRegistrationCommand.d.ts +39 -0
  95. package/dist-types/ts3.4/commands/BatchPutTaxRegistrationCommand.d.ts +39 -0
  96. package/dist-types/ts3.4/commands/DeleteTaxRegistrationCommand.d.ts +39 -0
  97. package/dist-types/ts3.4/commands/GetTaxRegistrationCommand.d.ts +39 -0
  98. package/dist-types/ts3.4/commands/GetTaxRegistrationDocumentCommand.d.ts +39 -0
  99. package/dist-types/ts3.4/commands/ListTaxRegistrationsCommand.d.ts +39 -0
  100. package/dist-types/ts3.4/commands/PutTaxRegistrationCommand.d.ts +39 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  102. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  103. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  104. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  105. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  106. package/dist-types/ts3.4/index.d.ts +9 -0
  107. package/dist-types/ts3.4/models/TaxSettingsServiceException.d.ts +8 -0
  108. package/dist-types/ts3.4/models/index.d.ts +1 -0
  109. package/dist-types/ts3.4/models/models_0.d.ts +408 -0
  110. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  111. package/dist-types/ts3.4/pagination/ListTaxRegistrationsPaginator.d.ts +11 -0
  112. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  113. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +89 -0
  114. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
  115. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  116. package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
  117. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  118. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  119. package/package.json +101 -0
@@ -0,0 +1,8 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { TaxSettingsClient } from "../TaxSettingsClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface TaxSettingsPaginationConfiguration extends PaginationConfiguration {
7
+ client: TaxSettingsClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListTaxRegistrationsCommandInput, ListTaxRegistrationsCommandOutput } from "../commands/ListTaxRegistrationsCommand";
3
+ import { TaxSettingsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListTaxRegistrations: (config: TaxSettingsPaginationConfiguration, input: ListTaxRegistrationsCommandInput, ...rest: any[]) => Paginator<ListTaxRegistrationsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListTaxRegistrationsPaginator";
@@ -0,0 +1,65 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { BatchDeleteTaxRegistrationCommandInput, BatchDeleteTaxRegistrationCommandOutput } from "../commands/BatchDeleteTaxRegistrationCommand";
4
+ import { BatchPutTaxRegistrationCommandInput, BatchPutTaxRegistrationCommandOutput } from "../commands/BatchPutTaxRegistrationCommand";
5
+ import { DeleteTaxRegistrationCommandInput, DeleteTaxRegistrationCommandOutput } from "../commands/DeleteTaxRegistrationCommand";
6
+ import { GetTaxRegistrationCommandInput, GetTaxRegistrationCommandOutput } from "../commands/GetTaxRegistrationCommand";
7
+ import { GetTaxRegistrationDocumentCommandInput, GetTaxRegistrationDocumentCommandOutput } from "../commands/GetTaxRegistrationDocumentCommand";
8
+ import { ListTaxRegistrationsCommandInput, ListTaxRegistrationsCommandOutput } from "../commands/ListTaxRegistrationsCommand";
9
+ import { PutTaxRegistrationCommandInput, PutTaxRegistrationCommandOutput } from "../commands/PutTaxRegistrationCommand";
10
+ /**
11
+ * serializeAws_restJson1BatchDeleteTaxRegistrationCommand
12
+ */
13
+ export declare const se_BatchDeleteTaxRegistrationCommand: (input: BatchDeleteTaxRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
14
+ /**
15
+ * serializeAws_restJson1BatchPutTaxRegistrationCommand
16
+ */
17
+ export declare const se_BatchPutTaxRegistrationCommand: (input: BatchPutTaxRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
+ /**
19
+ * serializeAws_restJson1DeleteTaxRegistrationCommand
20
+ */
21
+ export declare const se_DeleteTaxRegistrationCommand: (input: DeleteTaxRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
+ /**
23
+ * serializeAws_restJson1GetTaxRegistrationCommand
24
+ */
25
+ export declare const se_GetTaxRegistrationCommand: (input: GetTaxRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
+ /**
27
+ * serializeAws_restJson1GetTaxRegistrationDocumentCommand
28
+ */
29
+ export declare const se_GetTaxRegistrationDocumentCommand: (input: GetTaxRegistrationDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
+ /**
31
+ * serializeAws_restJson1ListTaxRegistrationsCommand
32
+ */
33
+ export declare const se_ListTaxRegistrationsCommand: (input: ListTaxRegistrationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
+ /**
35
+ * serializeAws_restJson1PutTaxRegistrationCommand
36
+ */
37
+ export declare const se_PutTaxRegistrationCommand: (input: PutTaxRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
38
+ /**
39
+ * deserializeAws_restJson1BatchDeleteTaxRegistrationCommand
40
+ */
41
+ export declare const de_BatchDeleteTaxRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchDeleteTaxRegistrationCommandOutput>;
42
+ /**
43
+ * deserializeAws_restJson1BatchPutTaxRegistrationCommand
44
+ */
45
+ export declare const de_BatchPutTaxRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchPutTaxRegistrationCommandOutput>;
46
+ /**
47
+ * deserializeAws_restJson1DeleteTaxRegistrationCommand
48
+ */
49
+ export declare const de_DeleteTaxRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTaxRegistrationCommandOutput>;
50
+ /**
51
+ * deserializeAws_restJson1GetTaxRegistrationCommand
52
+ */
53
+ export declare const de_GetTaxRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTaxRegistrationCommandOutput>;
54
+ /**
55
+ * deserializeAws_restJson1GetTaxRegistrationDocumentCommand
56
+ */
57
+ export declare const de_GetTaxRegistrationDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTaxRegistrationDocumentCommandOutput>;
58
+ /**
59
+ * deserializeAws_restJson1ListTaxRegistrationsCommand
60
+ */
61
+ export declare const de_ListTaxRegistrationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTaxRegistrationsCommandOutput>;
62
+ /**
63
+ * deserializeAws_restJson1PutTaxRegistrationCommand
64
+ */
65
+ export declare const de_PutTaxRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutTaxRegistrationCommandOutput>;
@@ -0,0 +1,45 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { TaxSettingsClientConfig } from "./TaxSettingsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: TaxSettingsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
+ disableHostPrefix: boolean;
27
+ serviceId: string;
28
+ logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
31
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
32
+ logger?: import("@smithy/types").Logger | undefined;
33
+ }) => import("@smithy/types").EndpointV2;
34
+ tls?: boolean | undefined;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
36
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
37
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TaxSettingsHttpAuthSchemeProvider;
39
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
40
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
41
+ signingEscapePath?: boolean | undefined;
42
+ systemClockOffset?: number | undefined;
43
+ signingRegion?: string | undefined;
44
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
45
+ };
@@ -0,0 +1,45 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { TaxSettingsClientConfig } from "./TaxSettingsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: TaxSettingsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ base64Decoder: import("@smithy/types").Decoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
+ utf8Decoder: import("@smithy/types").Decoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
+ disableHostPrefix: boolean;
27
+ serviceId: string;
28
+ logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
31
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
32
+ logger?: import("@smithy/types").Logger | undefined;
33
+ }) => import("@smithy/types").EndpointV2;
34
+ tls?: boolean | undefined;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
36
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
37
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
38
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TaxSettingsHttpAuthSchemeProvider;
39
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
40
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
41
+ signingEscapePath?: boolean | undefined;
42
+ systemClockOffset?: number | undefined;
43
+ signingRegion?: string | undefined;
44
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
45
+ };
@@ -0,0 +1,44 @@
1
+ import { TaxSettingsClientConfig } from "./TaxSettingsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: TaxSettingsClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ urlParser: import("@smithy/types").UrlParser;
11
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
+ streamCollector: import("@smithy/types").StreamCollector;
13
+ base64Decoder: import("@smithy/types").Decoder;
14
+ base64Encoder: (_input: string | Uint8Array) => string;
15
+ utf8Decoder: import("@smithy/types").Decoder;
16
+ utf8Encoder: (input: string | Uint8Array) => string;
17
+ disableHostPrefix: boolean;
18
+ serviceId: string;
19
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ region: string | import("@smithy/types").Provider<any>;
22
+ defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
23
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
24
+ maxAttempts: number | import("@smithy/types").Provider<number>;
25
+ retryMode: string | import("@smithy/types").Provider<string>;
26
+ logger: import("@smithy/types").Logger;
27
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
28
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
29
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@smithy/types").Logger | undefined;
32
+ }) => import("@smithy/types").EndpointV2;
33
+ tls?: boolean | undefined;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
35
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
36
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
37
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TaxSettingsHttpAuthSchemeProvider;
38
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
39
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
40
+ signingEscapePath?: boolean | undefined;
41
+ systemClockOffset?: number | undefined;
42
+ signingRegion?: string | undefined;
43
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
44
+ };
@@ -0,0 +1,21 @@
1
+ import { TaxSettingsClientConfig } from "./TaxSettingsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: TaxSettingsClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger | undefined;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TaxSettingsHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ serviceId: string;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
+ };
@@ -0,0 +1,17 @@
1
+ import { TaxSettingsExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: TaxSettingsExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,129 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ BatchDeleteTaxRegistrationCommandInput,
4
+ BatchDeleteTaxRegistrationCommandOutput,
5
+ } from "./commands/BatchDeleteTaxRegistrationCommand";
6
+ import {
7
+ BatchPutTaxRegistrationCommandInput,
8
+ BatchPutTaxRegistrationCommandOutput,
9
+ } from "./commands/BatchPutTaxRegistrationCommand";
10
+ import {
11
+ DeleteTaxRegistrationCommandInput,
12
+ DeleteTaxRegistrationCommandOutput,
13
+ } from "./commands/DeleteTaxRegistrationCommand";
14
+ import {
15
+ GetTaxRegistrationCommandInput,
16
+ GetTaxRegistrationCommandOutput,
17
+ } from "./commands/GetTaxRegistrationCommand";
18
+ import {
19
+ GetTaxRegistrationDocumentCommandInput,
20
+ GetTaxRegistrationDocumentCommandOutput,
21
+ } from "./commands/GetTaxRegistrationDocumentCommand";
22
+ import {
23
+ ListTaxRegistrationsCommandInput,
24
+ ListTaxRegistrationsCommandOutput,
25
+ } from "./commands/ListTaxRegistrationsCommand";
26
+ import {
27
+ PutTaxRegistrationCommandInput,
28
+ PutTaxRegistrationCommandOutput,
29
+ } from "./commands/PutTaxRegistrationCommand";
30
+ import { TaxSettingsClient } from "./TaxSettingsClient";
31
+ export interface TaxSettings {
32
+ batchDeleteTaxRegistration(
33
+ args: BatchDeleteTaxRegistrationCommandInput,
34
+ options?: __HttpHandlerOptions
35
+ ): Promise<BatchDeleteTaxRegistrationCommandOutput>;
36
+ batchDeleteTaxRegistration(
37
+ args: BatchDeleteTaxRegistrationCommandInput,
38
+ cb: (err: any, data?: BatchDeleteTaxRegistrationCommandOutput) => void
39
+ ): void;
40
+ batchDeleteTaxRegistration(
41
+ args: BatchDeleteTaxRegistrationCommandInput,
42
+ options: __HttpHandlerOptions,
43
+ cb: (err: any, data?: BatchDeleteTaxRegistrationCommandOutput) => void
44
+ ): void;
45
+ batchPutTaxRegistration(
46
+ args: BatchPutTaxRegistrationCommandInput,
47
+ options?: __HttpHandlerOptions
48
+ ): Promise<BatchPutTaxRegistrationCommandOutput>;
49
+ batchPutTaxRegistration(
50
+ args: BatchPutTaxRegistrationCommandInput,
51
+ cb: (err: any, data?: BatchPutTaxRegistrationCommandOutput) => void
52
+ ): void;
53
+ batchPutTaxRegistration(
54
+ args: BatchPutTaxRegistrationCommandInput,
55
+ options: __HttpHandlerOptions,
56
+ cb: (err: any, data?: BatchPutTaxRegistrationCommandOutput) => void
57
+ ): void;
58
+ deleteTaxRegistration(): Promise<DeleteTaxRegistrationCommandOutput>;
59
+ deleteTaxRegistration(
60
+ args: DeleteTaxRegistrationCommandInput,
61
+ options?: __HttpHandlerOptions
62
+ ): Promise<DeleteTaxRegistrationCommandOutput>;
63
+ deleteTaxRegistration(
64
+ args: DeleteTaxRegistrationCommandInput,
65
+ cb: (err: any, data?: DeleteTaxRegistrationCommandOutput) => void
66
+ ): void;
67
+ deleteTaxRegistration(
68
+ args: DeleteTaxRegistrationCommandInput,
69
+ options: __HttpHandlerOptions,
70
+ cb: (err: any, data?: DeleteTaxRegistrationCommandOutput) => void
71
+ ): void;
72
+ getTaxRegistration(): Promise<GetTaxRegistrationCommandOutput>;
73
+ getTaxRegistration(
74
+ args: GetTaxRegistrationCommandInput,
75
+ options?: __HttpHandlerOptions
76
+ ): Promise<GetTaxRegistrationCommandOutput>;
77
+ getTaxRegistration(
78
+ args: GetTaxRegistrationCommandInput,
79
+ cb: (err: any, data?: GetTaxRegistrationCommandOutput) => void
80
+ ): void;
81
+ getTaxRegistration(
82
+ args: GetTaxRegistrationCommandInput,
83
+ options: __HttpHandlerOptions,
84
+ cb: (err: any, data?: GetTaxRegistrationCommandOutput) => void
85
+ ): void;
86
+ getTaxRegistrationDocument(
87
+ args: GetTaxRegistrationDocumentCommandInput,
88
+ options?: __HttpHandlerOptions
89
+ ): Promise<GetTaxRegistrationDocumentCommandOutput>;
90
+ getTaxRegistrationDocument(
91
+ args: GetTaxRegistrationDocumentCommandInput,
92
+ cb: (err: any, data?: GetTaxRegistrationDocumentCommandOutput) => void
93
+ ): void;
94
+ getTaxRegistrationDocument(
95
+ args: GetTaxRegistrationDocumentCommandInput,
96
+ options: __HttpHandlerOptions,
97
+ cb: (err: any, data?: GetTaxRegistrationDocumentCommandOutput) => void
98
+ ): void;
99
+ listTaxRegistrations(): Promise<ListTaxRegistrationsCommandOutput>;
100
+ listTaxRegistrations(
101
+ args: ListTaxRegistrationsCommandInput,
102
+ options?: __HttpHandlerOptions
103
+ ): Promise<ListTaxRegistrationsCommandOutput>;
104
+ listTaxRegistrations(
105
+ args: ListTaxRegistrationsCommandInput,
106
+ cb: (err: any, data?: ListTaxRegistrationsCommandOutput) => void
107
+ ): void;
108
+ listTaxRegistrations(
109
+ args: ListTaxRegistrationsCommandInput,
110
+ options: __HttpHandlerOptions,
111
+ cb: (err: any, data?: ListTaxRegistrationsCommandOutput) => void
112
+ ): void;
113
+ putTaxRegistration(
114
+ args: PutTaxRegistrationCommandInput,
115
+ options?: __HttpHandlerOptions
116
+ ): Promise<PutTaxRegistrationCommandOutput>;
117
+ putTaxRegistration(
118
+ args: PutTaxRegistrationCommandInput,
119
+ cb: (err: any, data?: PutTaxRegistrationCommandOutput) => void
120
+ ): void;
121
+ putTaxRegistration(
122
+ args: PutTaxRegistrationCommandInput,
123
+ options: __HttpHandlerOptions,
124
+ cb: (err: any, data?: PutTaxRegistrationCommandOutput) => void
125
+ ): void;
126
+ }
127
+ export declare class TaxSettings
128
+ extends TaxSettingsClient
129
+ implements TaxSettings {}
@@ -0,0 +1,162 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ BatchDeleteTaxRegistrationCommandInput,
50
+ BatchDeleteTaxRegistrationCommandOutput,
51
+ } from "./commands/BatchDeleteTaxRegistrationCommand";
52
+ import {
53
+ BatchPutTaxRegistrationCommandInput,
54
+ BatchPutTaxRegistrationCommandOutput,
55
+ } from "./commands/BatchPutTaxRegistrationCommand";
56
+ import {
57
+ DeleteTaxRegistrationCommandInput,
58
+ DeleteTaxRegistrationCommandOutput,
59
+ } from "./commands/DeleteTaxRegistrationCommand";
60
+ import {
61
+ GetTaxRegistrationCommandInput,
62
+ GetTaxRegistrationCommandOutput,
63
+ } from "./commands/GetTaxRegistrationCommand";
64
+ import {
65
+ GetTaxRegistrationDocumentCommandInput,
66
+ GetTaxRegistrationDocumentCommandOutput,
67
+ } from "./commands/GetTaxRegistrationDocumentCommand";
68
+ import {
69
+ ListTaxRegistrationsCommandInput,
70
+ ListTaxRegistrationsCommandOutput,
71
+ } from "./commands/ListTaxRegistrationsCommand";
72
+ import {
73
+ PutTaxRegistrationCommandInput,
74
+ PutTaxRegistrationCommandOutput,
75
+ } from "./commands/PutTaxRegistrationCommand";
76
+ import {
77
+ ClientInputEndpointParameters,
78
+ ClientResolvedEndpointParameters,
79
+ EndpointParameters,
80
+ } from "./endpoint/EndpointParameters";
81
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
82
+ export { __Client };
83
+ export type ServiceInputTypes =
84
+ | BatchDeleteTaxRegistrationCommandInput
85
+ | BatchPutTaxRegistrationCommandInput
86
+ | DeleteTaxRegistrationCommandInput
87
+ | GetTaxRegistrationCommandInput
88
+ | GetTaxRegistrationDocumentCommandInput
89
+ | ListTaxRegistrationsCommandInput
90
+ | PutTaxRegistrationCommandInput;
91
+ export type ServiceOutputTypes =
92
+ | BatchDeleteTaxRegistrationCommandOutput
93
+ | BatchPutTaxRegistrationCommandOutput
94
+ | DeleteTaxRegistrationCommandOutput
95
+ | GetTaxRegistrationCommandOutput
96
+ | GetTaxRegistrationDocumentCommandOutput
97
+ | ListTaxRegistrationsCommandOutput
98
+ | PutTaxRegistrationCommandOutput;
99
+ export interface ClientDefaults
100
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
101
+ requestHandler?: __HttpHandlerUserInput;
102
+ sha256?: __ChecksumConstructor | __HashConstructor;
103
+ urlParser?: __UrlParser;
104
+ bodyLengthChecker?: __BodyLengthCalculator;
105
+ streamCollector?: __StreamCollector;
106
+ base64Decoder?: __Decoder;
107
+ base64Encoder?: __Encoder;
108
+ utf8Decoder?: __Decoder;
109
+ utf8Encoder?: __Encoder;
110
+ runtime?: string;
111
+ disableHostPrefix?: boolean;
112
+ serviceId?: string;
113
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
114
+ useFipsEndpoint?: boolean | __Provider<boolean>;
115
+ region?: string | __Provider<string>;
116
+ defaultUserAgentProvider?: Provider<__UserAgent>;
117
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
118
+ maxAttempts?: number | __Provider<number>;
119
+ retryMode?: string | __Provider<string>;
120
+ logger?: __Logger;
121
+ extensions?: RuntimeExtension[];
122
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
123
+ }
124
+ export type TaxSettingsClientConfigType = Partial<
125
+ __SmithyConfiguration<__HttpHandlerOptions>
126
+ > &
127
+ ClientDefaults &
128
+ RegionInputConfig &
129
+ EndpointInputConfig<EndpointParameters> &
130
+ RetryInputConfig &
131
+ HostHeaderInputConfig &
132
+ UserAgentInputConfig &
133
+ HttpAuthSchemeInputConfig &
134
+ ClientInputEndpointParameters;
135
+ export interface TaxSettingsClientConfig extends TaxSettingsClientConfigType {}
136
+ export type TaxSettingsClientResolvedConfigType =
137
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
138
+ Required<ClientDefaults> &
139
+ RuntimeExtensionsConfig &
140
+ RegionResolvedConfig &
141
+ EndpointResolvedConfig<EndpointParameters> &
142
+ RetryResolvedConfig &
143
+ HostHeaderResolvedConfig &
144
+ UserAgentResolvedConfig &
145
+ HttpAuthSchemeResolvedConfig &
146
+ ClientResolvedEndpointParameters;
147
+ export interface TaxSettingsClientResolvedConfig
148
+ extends TaxSettingsClientResolvedConfigType {}
149
+ export declare class TaxSettingsClient extends __Client<
150
+ __HttpHandlerOptions,
151
+ ServiceInputTypes,
152
+ ServiceOutputTypes,
153
+ TaxSettingsClientResolvedConfig
154
+ > {
155
+ readonly config: TaxSettingsClientResolvedConfig;
156
+ constructor(
157
+ ...[configuration]: __CheckOptionalClientConfig<TaxSettingsClientConfig>
158
+ );
159
+ destroy(): void;
160
+ private getDefaultHttpAuthSchemeParametersProvider;
161
+ private getIdentityProviderConfigProvider;
162
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { TaxSettingsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: TaxSettingsHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): TaxSettingsHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: TaxSettingsHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,44 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ } from "@smithy/types";
13
+ import { TaxSettingsClientResolvedConfig } from "../TaxSettingsClient";
14
+ export interface TaxSettingsHttpAuthSchemeParameters
15
+ extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface TaxSettingsHttpAuthSchemeParametersProvider
19
+ extends HttpAuthSchemeParametersProvider<
20
+ TaxSettingsClientResolvedConfig,
21
+ HandlerExecutionContext,
22
+ TaxSettingsHttpAuthSchemeParameters,
23
+ object
24
+ > {}
25
+ export declare const defaultTaxSettingsHttpAuthSchemeParametersProvider: (
26
+ config: TaxSettingsClientResolvedConfig,
27
+ context: HandlerExecutionContext,
28
+ input: object
29
+ ) => Promise<TaxSettingsHttpAuthSchemeParameters>;
30
+ export interface TaxSettingsHttpAuthSchemeProvider
31
+ extends HttpAuthSchemeProvider<TaxSettingsHttpAuthSchemeParameters> {}
32
+ export declare const defaultTaxSettingsHttpAuthSchemeProvider: TaxSettingsHttpAuthSchemeProvider;
33
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
+ httpAuthSchemes?: HttpAuthScheme[];
35
+ httpAuthSchemeProvider?: TaxSettingsHttpAuthSchemeProvider;
36
+ }
37
+ export interface HttpAuthSchemeResolvedConfig
38
+ extends AwsSdkSigV4AuthResolvedConfig {
39
+ readonly httpAuthSchemes: HttpAuthScheme[];
40
+ readonly httpAuthSchemeProvider: TaxSettingsHttpAuthSchemeProvider;
41
+ }
42
+ export declare const resolveHttpAuthSchemeConfig: <T>(
43
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
44
+ ) => T & HttpAuthSchemeResolvedConfig;