@aws-sdk/client-taxsettings 3.1074.0 → 3.1076.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.
- package/dist-cjs/index.js +1229 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/TaxSettingsServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -95
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -927
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultTaxSettingsHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "tax",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultTaxSettingsHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,1068 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = { "authSchemes": [{ "name": "sigv4", "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
85
|
+
],
|
|
86
|
+
results: [
|
|
87
|
+
[a],
|
|
88
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
89
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
90
|
+
[g, {}],
|
|
91
|
+
["https://tax-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
92
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
93
|
+
["https://tax-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", i],
|
|
94
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
95
|
+
["https://tax.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
96
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
97
|
+
["https://tax.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", i],
|
|
98
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
99
|
+
]
|
|
100
|
+
};
|
|
101
|
+
const root = 2;
|
|
102
|
+
const r = 100_000_000;
|
|
103
|
+
const nodes = new Int32Array([
|
|
104
|
+
-1, 1, -1,
|
|
105
|
+
0, 12, 3,
|
|
106
|
+
1, 4, r + 11,
|
|
107
|
+
2, 5, r + 11,
|
|
108
|
+
3, 8, 6,
|
|
109
|
+
4, 7, r + 10,
|
|
110
|
+
5, r + 8, r + 9,
|
|
111
|
+
4, 10, 9,
|
|
112
|
+
6, r + 6, r + 7,
|
|
113
|
+
5, 11, r + 5,
|
|
114
|
+
6, r + 4, r + 5,
|
|
115
|
+
3, r + 1, 13,
|
|
116
|
+
4, r + 2, r + 3,
|
|
117
|
+
]);
|
|
118
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
119
|
+
|
|
120
|
+
const cache = new EndpointCache({
|
|
121
|
+
size: 50,
|
|
122
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
123
|
+
});
|
|
124
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
125
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
126
|
+
endpointParams: endpointParams,
|
|
127
|
+
logger: context.logger,
|
|
128
|
+
}));
|
|
129
|
+
};
|
|
130
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
131
|
+
|
|
132
|
+
class TaxSettingsServiceException extends ServiceException {
|
|
133
|
+
constructor(options) {
|
|
134
|
+
super(options);
|
|
135
|
+
Object.setPrototypeOf(this, TaxSettingsServiceException.prototype);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
class AccessDeniedException extends TaxSettingsServiceException {
|
|
140
|
+
name = "AccessDeniedException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
constructor(opts) {
|
|
143
|
+
super({
|
|
144
|
+
name: "AccessDeniedException",
|
|
145
|
+
$fault: "client",
|
|
146
|
+
...opts,
|
|
147
|
+
});
|
|
148
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
class AttachmentUploadException extends TaxSettingsServiceException {
|
|
152
|
+
name = "AttachmentUploadException";
|
|
153
|
+
$fault = "client";
|
|
154
|
+
constructor(opts) {
|
|
155
|
+
super({
|
|
156
|
+
name: "AttachmentUploadException",
|
|
157
|
+
$fault: "client",
|
|
158
|
+
...opts,
|
|
159
|
+
});
|
|
160
|
+
Object.setPrototypeOf(this, AttachmentUploadException.prototype);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
class ConflictException extends TaxSettingsServiceException {
|
|
164
|
+
name = "ConflictException";
|
|
165
|
+
$fault = "client";
|
|
166
|
+
errorCode;
|
|
167
|
+
constructor(opts) {
|
|
168
|
+
super({
|
|
169
|
+
name: "ConflictException",
|
|
170
|
+
$fault: "client",
|
|
171
|
+
...opts,
|
|
172
|
+
});
|
|
173
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
174
|
+
this.errorCode = opts.errorCode;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
class InternalServerException extends TaxSettingsServiceException {
|
|
178
|
+
name = "InternalServerException";
|
|
179
|
+
$fault = "server";
|
|
180
|
+
errorCode;
|
|
181
|
+
constructor(opts) {
|
|
182
|
+
super({
|
|
183
|
+
name: "InternalServerException",
|
|
184
|
+
$fault: "server",
|
|
185
|
+
...opts,
|
|
186
|
+
});
|
|
187
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
188
|
+
this.errorCode = opts.errorCode;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
class ValidationException extends TaxSettingsServiceException {
|
|
192
|
+
name = "ValidationException";
|
|
193
|
+
$fault = "client";
|
|
194
|
+
errorCode;
|
|
195
|
+
fieldList;
|
|
196
|
+
constructor(opts) {
|
|
197
|
+
super({
|
|
198
|
+
name: "ValidationException",
|
|
199
|
+
$fault: "client",
|
|
200
|
+
...opts,
|
|
201
|
+
});
|
|
202
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
203
|
+
this.errorCode = opts.errorCode;
|
|
204
|
+
this.fieldList = opts.fieldList;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
class ResourceNotFoundException extends TaxSettingsServiceException {
|
|
208
|
+
name = "ResourceNotFoundException";
|
|
209
|
+
$fault = "client";
|
|
210
|
+
errorCode;
|
|
211
|
+
constructor(opts) {
|
|
212
|
+
super({
|
|
213
|
+
name: "ResourceNotFoundException",
|
|
214
|
+
$fault: "client",
|
|
215
|
+
...opts,
|
|
216
|
+
});
|
|
217
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
218
|
+
this.errorCode = opts.errorCode;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
class CaseCreationLimitExceededException extends TaxSettingsServiceException {
|
|
222
|
+
name = "CaseCreationLimitExceededException";
|
|
223
|
+
$fault = "client";
|
|
224
|
+
constructor(opts) {
|
|
225
|
+
super({
|
|
226
|
+
name: "CaseCreationLimitExceededException",
|
|
227
|
+
$fault: "client",
|
|
228
|
+
...opts,
|
|
229
|
+
});
|
|
230
|
+
Object.setPrototypeOf(this, CaseCreationLimitExceededException.prototype);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
const _A = "Address";
|
|
235
|
+
const _AD = "AccountDetails";
|
|
236
|
+
const _ADE = "AccessDeniedException";
|
|
237
|
+
const _ADL = "AccountDetailsList";
|
|
238
|
+
const _AIR = "AdditionalInfoRequest";
|
|
239
|
+
const _AIRd = "AdditionalInfoResponse";
|
|
240
|
+
const _AMD = "AccountMetaData";
|
|
241
|
+
const _ARM = "AddressRoleMap";
|
|
242
|
+
const _AUE = "AttachmentUploadException";
|
|
243
|
+
const _Au = "Authority";
|
|
244
|
+
const _Aut = "Authorities";
|
|
245
|
+
const _BAI = "BelgiumAdditionalInfo";
|
|
246
|
+
const _BAIr = "BrazilAdditionalInfo";
|
|
247
|
+
const _BDTR = "BatchDeleteTaxRegistration";
|
|
248
|
+
const _BDTRE = "BatchDeleteTaxRegistrationError";
|
|
249
|
+
const _BDTREa = "BatchDeleteTaxRegistrationErrors";
|
|
250
|
+
const _BDTRR = "BatchDeleteTaxRegistrationRequest";
|
|
251
|
+
const _BDTRRa = "BatchDeleteTaxRegistrationResponse";
|
|
252
|
+
const _BGTE = "BatchGetTaxExemptions";
|
|
253
|
+
const _BGTER = "BatchGetTaxExemptionsRequest";
|
|
254
|
+
const _BGTERa = "BatchGetTaxExemptionsResponse";
|
|
255
|
+
const _BPTR = "BatchPutTaxRegistration";
|
|
256
|
+
const _BPTRE = "BatchPutTaxRegistrationError";
|
|
257
|
+
const _BPTREa = "BatchPutTaxRegistrationErrors";
|
|
258
|
+
const _BPTRR = "BatchPutTaxRegistrationRequest";
|
|
259
|
+
const _BPTRRa = "BatchPutTaxRegistrationResponse";
|
|
260
|
+
const _CAI = "CanadaAdditionalInfo";
|
|
261
|
+
const _CAIh = "ChileAdditionalInfo";
|
|
262
|
+
const _CCLEE = "CaseCreationLimitExceededException";
|
|
263
|
+
const _CE = "ConflictException";
|
|
264
|
+
const _DSL = "DestinationS3Location";
|
|
265
|
+
const _DSTR = "DeleteSupplementalTaxRegistration";
|
|
266
|
+
const _DSTRR = "DeleteSupplementalTaxRegistrationRequest";
|
|
267
|
+
const _DSTRRe = "DeleteSupplementalTaxRegistrationResponse";
|
|
268
|
+
const _DTR = "DeleteTaxRegistration";
|
|
269
|
+
const _DTRR = "DeleteTaxRegistrationRequest";
|
|
270
|
+
const _DTRRe = "DeleteTaxRegistrationResponse";
|
|
271
|
+
const _EAI = "EgyptAdditionalInfo";
|
|
272
|
+
const _EAIs = "EstoniaAdditionalInfo";
|
|
273
|
+
const _EC = "ExemptionCertificate";
|
|
274
|
+
const _EM = "ErrorMessage";
|
|
275
|
+
const _FAI = "FranceAdditionalInfo";
|
|
276
|
+
const _GAI = "GeorgiaAdditionalInfo";
|
|
277
|
+
const _GAIr = "GreeceAdditionalInfo";
|
|
278
|
+
const _GTET = "GetTaxExemptionTypes";
|
|
279
|
+
const _GTETR = "GetTaxExemptionTypesRequest";
|
|
280
|
+
const _GTETRe = "GetTaxExemptionTypesResponse";
|
|
281
|
+
const _GTI = "GetTaxInheritance";
|
|
282
|
+
const _GTIR = "GetTaxInheritanceRequest";
|
|
283
|
+
const _GTIRe = "GetTaxInheritanceResponse";
|
|
284
|
+
const _GTR = "GetTaxRegistration";
|
|
285
|
+
const _GTRD = "GetTaxRegistrationDocument";
|
|
286
|
+
const _GTRDR = "GetTaxRegistrationDocumentRequest";
|
|
287
|
+
const _GTRDRe = "GetTaxRegistrationDocumentResponse";
|
|
288
|
+
const _GTRR = "GetTaxRegistrationRequest";
|
|
289
|
+
const _GTRRe = "GetTaxRegistrationResponse";
|
|
290
|
+
const _IAI = "IndiaAdditionalInfo";
|
|
291
|
+
const _IAIn = "IndonesiaAdditionalInfo";
|
|
292
|
+
const _IAIs = "IsraelAdditionalInfo";
|
|
293
|
+
const _IAIt = "ItalyAdditionalInfo";
|
|
294
|
+
const _ISE = "InternalServerException";
|
|
295
|
+
const _J = "Jurisdiction";
|
|
296
|
+
const _KAI = "KenyaAdditionalInfo";
|
|
297
|
+
const _LSTR = "ListSupplementalTaxRegistrations";
|
|
298
|
+
const _LSTRR = "ListSupplementalTaxRegistrationsRequest";
|
|
299
|
+
const _LSTRRi = "ListSupplementalTaxRegistrationsResponse";
|
|
300
|
+
const _LTE = "ListTaxExemptions";
|
|
301
|
+
const _LTER = "ListTaxExemptionsRequest";
|
|
302
|
+
const _LTERi = "ListTaxExemptionsResponse";
|
|
303
|
+
const _LTR = "ListTaxRegistrations";
|
|
304
|
+
const _LTRR = "ListTaxRegistrationsRequest";
|
|
305
|
+
const _LTRRi = "ListTaxRegistrationsResponse";
|
|
306
|
+
const _MAI = "MalaysiaAdditionalInfo";
|
|
307
|
+
const _PAI = "PhilippinesAdditionalInfo";
|
|
308
|
+
const _PAIo = "PolandAdditionalInfo";
|
|
309
|
+
const _PSTR = "PutSupplementalTaxRegistration";
|
|
310
|
+
const _PSTRR = "PutSupplementalTaxRegistrationRequest";
|
|
311
|
+
const _PSTRRu = "PutSupplementalTaxRegistrationResponse";
|
|
312
|
+
const _PTE = "PutTaxExemption";
|
|
313
|
+
const _PTER = "PutTaxExemptionRequest";
|
|
314
|
+
const _PTERu = "PutTaxExemptionResponse";
|
|
315
|
+
const _PTI = "PutTaxInheritance";
|
|
316
|
+
const _PTIR = "PutTaxInheritanceRequest";
|
|
317
|
+
const _PTIRu = "PutTaxInheritanceResponse";
|
|
318
|
+
const _PTR = "PutTaxRegistration";
|
|
319
|
+
const _PTRR = "PutTaxRegistrationRequest";
|
|
320
|
+
const _PTRRu = "PutTaxRegistrationResponse";
|
|
321
|
+
const _RAI = "RomaniaAdditionalInfo";
|
|
322
|
+
const _RNFE = "ResourceNotFoundException";
|
|
323
|
+
const _SAAI = "SaudiArabiaAdditionalInfo";
|
|
324
|
+
const _SAI = "SpainAdditionalInfo";
|
|
325
|
+
const _SKAI = "SouthKoreaAdditionalInfo";
|
|
326
|
+
const _SSL = "SourceS3Location";
|
|
327
|
+
const _STR = "SupplementalTaxRegistration";
|
|
328
|
+
const _STRE = "SupplementalTaxRegistrationEntry";
|
|
329
|
+
const _STRL = "SupplementalTaxRegistrationList";
|
|
330
|
+
const _TAI = "TurkeyAdditionalInfo";
|
|
331
|
+
const _TDM = "TaxDocumentMetadata";
|
|
332
|
+
const _TDMa = "TaxDocumentMetadatas";
|
|
333
|
+
const _TE = "TaxExemption";
|
|
334
|
+
const _TED = "TaxExemptionDetails";
|
|
335
|
+
const _TEDM = "TaxExemptionDetailsMap";
|
|
336
|
+
const _TET = "TaxExemptionType";
|
|
337
|
+
const _TETa = "TaxExemptionTypes";
|
|
338
|
+
const _TEa = "TaxExemptions";
|
|
339
|
+
const _TID = "TaxInheritanceDetails";
|
|
340
|
+
const _TR = "TaxRegistration";
|
|
341
|
+
const _TRD = "TaxRegistrationDocument";
|
|
342
|
+
const _TRDF = "TaxRegistrationDocFile";
|
|
343
|
+
const _TRDa = "TaxRegistrationDocuments";
|
|
344
|
+
const _TRE = "TaxRegistrationEntry";
|
|
345
|
+
const _TRWJ = "TaxRegistrationWithJurisdiction";
|
|
346
|
+
const _UAI = "UkraineAdditionalInfo";
|
|
347
|
+
const _UAIz = "UzbekistanAdditionalInfo";
|
|
348
|
+
const _VAI = "VietnamAdditionalInfo";
|
|
349
|
+
const _VD = "VerificationDetails";
|
|
350
|
+
const _VE = "ValidationException";
|
|
351
|
+
const _VEF = "ValidationExceptionField";
|
|
352
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
353
|
+
const _a = "address";
|
|
354
|
+
const _aD = "accountDetails";
|
|
355
|
+
const _aI = "accountId";
|
|
356
|
+
const _aIc = "accountIds";
|
|
357
|
+
const _aIu = "authorityId";
|
|
358
|
+
const _aJ = "applicableJurisdictions";
|
|
359
|
+
const _aL = "addressLine1";
|
|
360
|
+
const _aLd = "addressLine2";
|
|
361
|
+
const _aLdd = "addressLine3";
|
|
362
|
+
const _aMD = "accountMetaData";
|
|
363
|
+
const _aN = "accountName";
|
|
364
|
+
const _aRM = "addressRoleMap";
|
|
365
|
+
const _aT = "addressType";
|
|
366
|
+
const _aTI = "additionalTaxInformation";
|
|
367
|
+
const _au = "authority";
|
|
368
|
+
const _b = "bucket";
|
|
369
|
+
const _bA = "businessActivity";
|
|
370
|
+
const _bAI = "belgiumAdditionalInfo";
|
|
371
|
+
const _bAIr = "brazilAdditionalInfo";
|
|
372
|
+
const _bRN = "businessRegistrationNumber";
|
|
373
|
+
const _bRNu = "businessRepresentativeName";
|
|
374
|
+
const _c = "client";
|
|
375
|
+
const _cAC = "contractingAuthorityCode";
|
|
376
|
+
const _cAI = "canadaAdditionalInfo";
|
|
377
|
+
const _cAIh = "chileAdditionalInfo";
|
|
378
|
+
const _cC = "countryCode";
|
|
379
|
+
const _cCc = "ccmCode";
|
|
380
|
+
const _cEI = "certifiedEmailId";
|
|
381
|
+
const _cI = "caseId";
|
|
382
|
+
const _cN = "cigNumber";
|
|
383
|
+
const _cNu = "cupNumber";
|
|
384
|
+
const _cQSTN = "canadaQuebecSalesTaxNumber";
|
|
385
|
+
const _cRSTN = "canadaRetailSalesTaxNumber";
|
|
386
|
+
const _cT = "customerType";
|
|
387
|
+
const _ci = "city";
|
|
388
|
+
const _co = "country";
|
|
389
|
+
const _cod = "code";
|
|
390
|
+
const _d = "description";
|
|
391
|
+
const _dF = "documentFile";
|
|
392
|
+
const _dFP = "destinationFilePath";
|
|
393
|
+
const _dN = "documentName";
|
|
394
|
+
const _dNe = "decisionNumber";
|
|
395
|
+
const _dNi = "displayName";
|
|
396
|
+
const _dOB = "dateOfBirth";
|
|
397
|
+
const _dOC = "districtOrCounty";
|
|
398
|
+
const _dSL = "destinationS3Location";
|
|
399
|
+
const _dT = "documentType";
|
|
400
|
+
const _dTe = "dealerType";
|
|
401
|
+
const _e = "error";
|
|
402
|
+
const _eAI = "estoniaAdditionalInfo";
|
|
403
|
+
const _eAIg = "egyptAdditionalInfo";
|
|
404
|
+
const _eC = "errorCode";
|
|
405
|
+
const _eCx = "exemptionCertificate";
|
|
406
|
+
const _eD = "effectiveDate";
|
|
407
|
+
const _eDx = "expirationDate";
|
|
408
|
+
const _eIN = "enterpriseIdentificationNumber";
|
|
409
|
+
const _eT = "exemptionType";
|
|
410
|
+
const _eTCN = "electronicTransactionCodeNumber";
|
|
411
|
+
const _er = "errors";
|
|
412
|
+
const _f = "file";
|
|
413
|
+
const _fA = "failedAccounts";
|
|
414
|
+
const _fAI = "franceAdditionalInfo";
|
|
415
|
+
const _fC = "fileContent";
|
|
416
|
+
const _fL = "fieldList";
|
|
417
|
+
const _fN = "fileName";
|
|
418
|
+
const _gAI = "georgiaAdditionalInfo";
|
|
419
|
+
const _gAIr = "greeceAdditionalInfo";
|
|
420
|
+
const _h = "http";
|
|
421
|
+
const _hE = "httpError";
|
|
422
|
+
const _hOD = "heritageObtainedDetails";
|
|
423
|
+
const _hOPE = "heritageObtainedParentEntity";
|
|
424
|
+
const _hOR = "heritageObtainedReason";
|
|
425
|
+
const _hS = "heritageStatus";
|
|
426
|
+
const _i = "industries";
|
|
427
|
+
const _iAI = "israelAdditionalInfo";
|
|
428
|
+
const _iAIn = "indonesiaAdditionalInfo";
|
|
429
|
+
const _iAInd = "indiaAdditionalInfo";
|
|
430
|
+
const _iAIt = "italyAdditionalInfo";
|
|
431
|
+
const _iGVE = "isGroupVatEnabled";
|
|
432
|
+
const _iMBE = "isMercuriusBoxEnabled";
|
|
433
|
+
const _iOB = "itemOfBusiness";
|
|
434
|
+
const _iOR = "inheritanceObtainedReason";
|
|
435
|
+
const _iRA = "isResellerAccount";
|
|
436
|
+
const _iRN = "individualRegistrationNumber";
|
|
437
|
+
const _iVR = "isVatRegistered";
|
|
438
|
+
const _j = "jurisdiction";
|
|
439
|
+
const _k = "key";
|
|
440
|
+
const _kAI = "kenyaAdditionalInfo";
|
|
441
|
+
const _kEI = "kepEmailId";
|
|
442
|
+
const _lA = "legalAddress";
|
|
443
|
+
const _lN = "legalName";
|
|
444
|
+
const _lNC = "legalNatureCode";
|
|
445
|
+
const _lOB = "lineOfBusiness";
|
|
446
|
+
const _m = "message";
|
|
447
|
+
const _mAI = "malaysiaAdditionalInfo";
|
|
448
|
+
const _mR = "maxResults";
|
|
449
|
+
const _n = "name";
|
|
450
|
+
const _nT = "nextToken";
|
|
451
|
+
const _p = "prefix";
|
|
452
|
+
const _pAI = "polandAdditionalInfo";
|
|
453
|
+
const _pAIh = "philippinesAdditionalInfo";
|
|
454
|
+
const _pC = "postalCode";
|
|
455
|
+
const _pEDC = "ppnExceptionDesignationCode";
|
|
456
|
+
const _pEI = "parentEntityId";
|
|
457
|
+
const _pI = "peppolId";
|
|
458
|
+
const _pSTI = "provincialSalesTaxId";
|
|
459
|
+
const _pSU = "presignedS3Url";
|
|
460
|
+
const _pT = "personType";
|
|
461
|
+
const _pVN = "paymentVoucherNumber";
|
|
462
|
+
const _pVND = "paymentVoucherNumberDate";
|
|
463
|
+
const _pa = "pan";
|
|
464
|
+
const _rAI = "romaniaAdditionalInfo";
|
|
465
|
+
const _rCC = "registryCommercialCode";
|
|
466
|
+
const _rI = "registrationId";
|
|
467
|
+
const _rT = "registrationType";
|
|
468
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.taxsettings";
|
|
469
|
+
const _sAAI = "saudiArabiaAdditionalInfo";
|
|
470
|
+
const _sAI = "spainAdditionalInfo";
|
|
471
|
+
const _sAId = "sdiAccountId";
|
|
472
|
+
const _sED = "systemEffectiveDate";
|
|
473
|
+
const _sKAI = "southKoreaAdditionalInfo";
|
|
474
|
+
const _sL = "s3Location";
|
|
475
|
+
const _sN = "sirenNumber";
|
|
476
|
+
const _sOR = "stateOrRegion";
|
|
477
|
+
const _sTC = "serviceTaxCodes";
|
|
478
|
+
const _sTI = "secondaryTaxId";
|
|
479
|
+
const _se = "server";
|
|
480
|
+
const _sec = "sector";
|
|
481
|
+
const _sel = "seller";
|
|
482
|
+
const _st = "state";
|
|
483
|
+
const _sta = "status";
|
|
484
|
+
const _tAI = "turkeyAdditionalInfo";
|
|
485
|
+
const _tC = "taxCode";
|
|
486
|
+
const _tDAT = "taxDocumentAccessToken";
|
|
487
|
+
const _tDM = "taxDocumentMetadata";
|
|
488
|
+
const _tDMa = "taxDocumentMetadatas";
|
|
489
|
+
const _tDN = "taxDocumentName";
|
|
490
|
+
const _tE = "taxExemptions";
|
|
491
|
+
const _tEDM = "taxExemptionDetailsMap";
|
|
492
|
+
const _tET = "taxExemptionTypes";
|
|
493
|
+
const _tETa = "taxExemptionType";
|
|
494
|
+
const _tID = "taxInheritanceDetails";
|
|
495
|
+
const _tIN = "taxInformationNumber";
|
|
496
|
+
const _tO = "taxOffice";
|
|
497
|
+
const _tR = "taxRegistration";
|
|
498
|
+
const _tRD = "taxRegistrationDocuments";
|
|
499
|
+
const _tRE = "taxRegistrationEntry";
|
|
500
|
+
const _tRNT = "taxRegistrationNumberType";
|
|
501
|
+
const _tRa = "taxRegistrations";
|
|
502
|
+
const _uAI = "ukraineAdditionalInfo";
|
|
503
|
+
const _uAIz = "uzbekistanAdditionalInfo";
|
|
504
|
+
const _uIN = "uniqueIdentificationNumber";
|
|
505
|
+
const _uINED = "uniqueIdentificationNumberExpirationDate";
|
|
506
|
+
const _uTT = "ukraineTrnType";
|
|
507
|
+
const _vAI = "vietnamAdditionalInfo";
|
|
508
|
+
const _vD = "verificationDetails";
|
|
509
|
+
const _vRN = "vatRegistrationNumber";
|
|
510
|
+
const n0 = "com.amazonaws.taxsettings";
|
|
511
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
512
|
+
var TaxSettingsServiceException$ = [-3, _s, "TaxSettingsServiceException", 0, [], []];
|
|
513
|
+
_s_registry.registerError(TaxSettingsServiceException$, TaxSettingsServiceException);
|
|
514
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
515
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
516
|
+
{ [_e]: _c, [_hE]: 401 },
|
|
517
|
+
[_m],
|
|
518
|
+
[[() => ErrorMessage, 0]], 1
|
|
519
|
+
];
|
|
520
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
521
|
+
var AttachmentUploadException$ = [-3, n0, _AUE,
|
|
522
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
523
|
+
[_m],
|
|
524
|
+
[[() => ErrorMessage, 0]], 1
|
|
525
|
+
];
|
|
526
|
+
n0_registry.registerError(AttachmentUploadException$, AttachmentUploadException);
|
|
527
|
+
var CaseCreationLimitExceededException$ = [-3, n0, _CCLEE,
|
|
528
|
+
{ [_e]: _c, [_hE]: 413 },
|
|
529
|
+
[_m],
|
|
530
|
+
[[() => ErrorMessage, 0]], 1
|
|
531
|
+
];
|
|
532
|
+
n0_registry.registerError(CaseCreationLimitExceededException$, CaseCreationLimitExceededException);
|
|
533
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
534
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
535
|
+
[_m, _eC],
|
|
536
|
+
[[() => ErrorMessage, 0], 0], 2
|
|
537
|
+
];
|
|
538
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
539
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
540
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
541
|
+
[_m, _eC],
|
|
542
|
+
[[() => ErrorMessage, 0], 0], 2
|
|
543
|
+
];
|
|
544
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
545
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
546
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
547
|
+
[_m, _eC],
|
|
548
|
+
[[() => ErrorMessage, 0], 0], 2
|
|
549
|
+
];
|
|
550
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
551
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
552
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
553
|
+
[_m, _eC, _fL],
|
|
554
|
+
[[() => ErrorMessage, 0], 0, () => ValidationExceptionFieldList], 2
|
|
555
|
+
];
|
|
556
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
557
|
+
const errorTypeRegistries = [
|
|
558
|
+
_s_registry,
|
|
559
|
+
n0_registry,
|
|
560
|
+
];
|
|
561
|
+
var ErrorMessage = [0, n0, _EM, 8, 0];
|
|
562
|
+
var AccountDetails$ = [3, n0, _AD,
|
|
563
|
+
8,
|
|
564
|
+
[_aI, _tR, _tID, _aMD],
|
|
565
|
+
[0, [() => TaxRegistrationWithJurisdiction$, 0], () => TaxInheritanceDetails$, [() => AccountMetaData$, 0]]
|
|
566
|
+
];
|
|
567
|
+
var AccountMetaData$ = [3, n0, _AMD,
|
|
568
|
+
8,
|
|
569
|
+
[_aN, _sel, _a, _aT, _aRM],
|
|
570
|
+
[0, 0, () => Address$, 0, () => AddressRoleMap]
|
|
571
|
+
];
|
|
572
|
+
var AdditionalInfoRequest$ = [3, n0, _AIR,
|
|
573
|
+
0,
|
|
574
|
+
[_mAI, _iAI, _eAI, _cAI, _sAI, _kAI, _sKAI, _tAI, _gAI, _iAIt, _rAI, _uAI, _pAI, _sAAI, _iAIn, _vAI, _eAIg, _gAIr, _uAIz, _pAIh, _bAI, _cAIh, _fAI],
|
|
575
|
+
[() => MalaysiaAdditionalInfo$, () => IsraelAdditionalInfo$, () => EstoniaAdditionalInfo$, () => CanadaAdditionalInfo$, () => SpainAdditionalInfo$, () => KenyaAdditionalInfo$, () => SouthKoreaAdditionalInfo$, () => TurkeyAdditionalInfo$, () => GeorgiaAdditionalInfo$, () => ItalyAdditionalInfo$, () => RomaniaAdditionalInfo$, () => UkraineAdditionalInfo$, () => PolandAdditionalInfo$, () => SaudiArabiaAdditionalInfo$, () => IndonesiaAdditionalInfo$, () => VietnamAdditionalInfo$, () => EgyptAdditionalInfo$, () => GreeceAdditionalInfo$, () => UzbekistanAdditionalInfo$, () => PhilippinesAdditionalInfo$, () => BelgiumAdditionalInfo$, () => ChileAdditionalInfo$, () => FranceAdditionalInfo$]
|
|
576
|
+
];
|
|
577
|
+
var AdditionalInfoResponse$ = [3, n0, _AIRd,
|
|
578
|
+
0,
|
|
579
|
+
[_mAI, _iAI, _eAI, _cAI, _bAIr, _sAI, _kAI, _sKAI, _tAI, _gAI, _iAIt, _rAI, _uAI, _pAI, _sAAI, _iAInd, _iAIn, _vAI, _eAIg, _gAIr, _uAIz, _pAIh, _bAI, _cAIh, _fAI],
|
|
580
|
+
[() => MalaysiaAdditionalInfo$, () => IsraelAdditionalInfo$, () => EstoniaAdditionalInfo$, () => CanadaAdditionalInfo$, () => BrazilAdditionalInfo$, () => SpainAdditionalInfo$, () => KenyaAdditionalInfo$, () => SouthKoreaAdditionalInfo$, () => TurkeyAdditionalInfo$, () => GeorgiaAdditionalInfo$, () => ItalyAdditionalInfo$, () => RomaniaAdditionalInfo$, () => UkraineAdditionalInfo$, () => PolandAdditionalInfo$, () => SaudiArabiaAdditionalInfo$, () => IndiaAdditionalInfo$, () => IndonesiaAdditionalInfo$, () => VietnamAdditionalInfo$, () => EgyptAdditionalInfo$, () => GreeceAdditionalInfo$, () => UzbekistanAdditionalInfo$, () => PhilippinesAdditionalInfo$, () => BelgiumAdditionalInfo$, () => ChileAdditionalInfo$, () => FranceAdditionalInfo$]
|
|
581
|
+
];
|
|
582
|
+
var Address$ = [3, n0, _A,
|
|
583
|
+
0,
|
|
584
|
+
[_pC, _cC, _aL, _aLd, _aLdd, _dOC, _ci, _sOR],
|
|
585
|
+
[0, 0, 0, 0, 0, 0, 0, 0], 2
|
|
586
|
+
];
|
|
587
|
+
var Authority$ = [3, n0, _Au,
|
|
588
|
+
0,
|
|
589
|
+
[_co, _st],
|
|
590
|
+
[0, 0], 1
|
|
591
|
+
];
|
|
592
|
+
var BatchDeleteTaxRegistrationError$ = [3, n0, _BDTRE,
|
|
593
|
+
0,
|
|
594
|
+
[_aI, _m, _cod],
|
|
595
|
+
[0, [() => ErrorMessage, 0], 0], 2
|
|
596
|
+
];
|
|
597
|
+
var BatchDeleteTaxRegistrationRequest$ = [3, n0, _BDTRR,
|
|
598
|
+
0,
|
|
599
|
+
[_aIc],
|
|
600
|
+
[64 | 0], 1
|
|
601
|
+
];
|
|
602
|
+
var BatchDeleteTaxRegistrationResponse$ = [3, n0, _BDTRRa,
|
|
603
|
+
0,
|
|
604
|
+
[_er],
|
|
605
|
+
[[() => BatchDeleteTaxRegistrationErrors, 0]], 1
|
|
606
|
+
];
|
|
607
|
+
var BatchGetTaxExemptionsRequest$ = [3, n0, _BGTER,
|
|
608
|
+
0,
|
|
609
|
+
[_aIc],
|
|
610
|
+
[64 | 0], 1
|
|
611
|
+
];
|
|
612
|
+
var BatchGetTaxExemptionsResponse$ = [3, n0, _BGTERa,
|
|
613
|
+
0,
|
|
614
|
+
[_tEDM, _fA],
|
|
615
|
+
[() => TaxExemptionDetailsMap, 64 | 0]
|
|
616
|
+
];
|
|
617
|
+
var BatchPutTaxRegistrationError$ = [3, n0, _BPTRE,
|
|
618
|
+
0,
|
|
619
|
+
[_aI, _m, _cod],
|
|
620
|
+
[0, [() => ErrorMessage, 0], 0], 2
|
|
621
|
+
];
|
|
622
|
+
var BatchPutTaxRegistrationRequest$ = [3, n0, _BPTRR,
|
|
623
|
+
0,
|
|
624
|
+
[_aIc, _tRE],
|
|
625
|
+
[64 | 0, [() => TaxRegistrationEntry$, 0]], 2
|
|
626
|
+
];
|
|
627
|
+
var BatchPutTaxRegistrationResponse$ = [3, n0, _BPTRRa,
|
|
628
|
+
0,
|
|
629
|
+
[_er, _sta],
|
|
630
|
+
[[() => BatchPutTaxRegistrationErrors, 0], 0], 1
|
|
631
|
+
];
|
|
632
|
+
var BelgiumAdditionalInfo$ = [3, n0, _BAI,
|
|
633
|
+
0,
|
|
634
|
+
[_pI, _iMBE],
|
|
635
|
+
[0, 2]
|
|
636
|
+
];
|
|
637
|
+
var BrazilAdditionalInfo$ = [3, n0, _BAIr,
|
|
638
|
+
0,
|
|
639
|
+
[_cCc, _lNC],
|
|
640
|
+
[0, 0]
|
|
641
|
+
];
|
|
642
|
+
var CanadaAdditionalInfo$ = [3, n0, _CAI,
|
|
643
|
+
0,
|
|
644
|
+
[_pSTI, _cQSTN, _cRSTN, _iRA],
|
|
645
|
+
[0, 0, 0, 2]
|
|
646
|
+
];
|
|
647
|
+
var ChileAdditionalInfo$ = [3, n0, _CAIh,
|
|
648
|
+
0,
|
|
649
|
+
[_dT, _bA],
|
|
650
|
+
[0, 0]
|
|
651
|
+
];
|
|
652
|
+
var DeleteSupplementalTaxRegistrationRequest$ = [3, n0, _DSTRR,
|
|
653
|
+
0,
|
|
654
|
+
[_aIu],
|
|
655
|
+
[0], 1
|
|
656
|
+
];
|
|
657
|
+
var DeleteSupplementalTaxRegistrationResponse$ = [3, n0, _DSTRRe,
|
|
658
|
+
0,
|
|
659
|
+
[],
|
|
660
|
+
[]
|
|
661
|
+
];
|
|
662
|
+
var DeleteTaxRegistrationRequest$ = [3, n0, _DTRR,
|
|
663
|
+
0,
|
|
664
|
+
[_aI],
|
|
665
|
+
[0]
|
|
666
|
+
];
|
|
667
|
+
var DeleteTaxRegistrationResponse$ = [3, n0, _DTRRe,
|
|
668
|
+
0,
|
|
669
|
+
[],
|
|
670
|
+
[]
|
|
671
|
+
];
|
|
672
|
+
var DestinationS3Location$ = [3, n0, _DSL,
|
|
673
|
+
0,
|
|
674
|
+
[_b, _p],
|
|
675
|
+
[0, 0], 1
|
|
676
|
+
];
|
|
677
|
+
var EgyptAdditionalInfo$ = [3, n0, _EAI,
|
|
678
|
+
0,
|
|
679
|
+
[_uIN, _uINED],
|
|
680
|
+
[0, 0]
|
|
681
|
+
];
|
|
682
|
+
var EstoniaAdditionalInfo$ = [3, n0, _EAIs,
|
|
683
|
+
0,
|
|
684
|
+
[_rCC],
|
|
685
|
+
[0], 1
|
|
686
|
+
];
|
|
687
|
+
var ExemptionCertificate$ = [3, n0, _EC,
|
|
688
|
+
0,
|
|
689
|
+
[_dN, _dF],
|
|
690
|
+
[0, 21], 2
|
|
691
|
+
];
|
|
692
|
+
var FranceAdditionalInfo$ = [3, n0, _FAI,
|
|
693
|
+
0,
|
|
694
|
+
[_sN],
|
|
695
|
+
[0], 1
|
|
696
|
+
];
|
|
697
|
+
var GeorgiaAdditionalInfo$ = [3, n0, _GAI,
|
|
698
|
+
0,
|
|
699
|
+
[_pT],
|
|
700
|
+
[0], 1
|
|
701
|
+
];
|
|
702
|
+
var GetTaxExemptionTypesRequest$ = [3, n0, _GTETR,
|
|
703
|
+
0,
|
|
704
|
+
[],
|
|
705
|
+
[]
|
|
706
|
+
];
|
|
707
|
+
var GetTaxExemptionTypesResponse$ = [3, n0, _GTETRe,
|
|
708
|
+
0,
|
|
709
|
+
[_tET],
|
|
710
|
+
[() => TaxExemptionTypes]
|
|
711
|
+
];
|
|
712
|
+
var GetTaxInheritanceRequest$ = [3, n0, _GTIR,
|
|
713
|
+
0,
|
|
714
|
+
[],
|
|
715
|
+
[]
|
|
716
|
+
];
|
|
717
|
+
var GetTaxInheritanceResponse$ = [3, n0, _GTIRe,
|
|
718
|
+
0,
|
|
719
|
+
[_hS],
|
|
720
|
+
[0]
|
|
721
|
+
];
|
|
722
|
+
var GetTaxRegistrationDocumentRequest$ = [3, n0, _GTRDR,
|
|
723
|
+
0,
|
|
724
|
+
[_tDM, _dSL],
|
|
725
|
+
[() => TaxDocumentMetadata$, () => DestinationS3Location$], 1
|
|
726
|
+
];
|
|
727
|
+
var GetTaxRegistrationDocumentResponse$ = [3, n0, _GTRDRe,
|
|
728
|
+
0,
|
|
729
|
+
[_dFP, _pSU],
|
|
730
|
+
[0, 0]
|
|
731
|
+
];
|
|
732
|
+
var GetTaxRegistrationRequest$ = [3, n0, _GTRR,
|
|
733
|
+
0,
|
|
734
|
+
[_aI],
|
|
735
|
+
[0]
|
|
736
|
+
];
|
|
737
|
+
var GetTaxRegistrationResponse$ = [3, n0, _GTRRe,
|
|
738
|
+
0,
|
|
739
|
+
[_tR],
|
|
740
|
+
[[() => TaxRegistration$, 0]]
|
|
741
|
+
];
|
|
742
|
+
var GreeceAdditionalInfo$ = [3, n0, _GAIr,
|
|
743
|
+
0,
|
|
744
|
+
[_cAC],
|
|
745
|
+
[0]
|
|
746
|
+
];
|
|
747
|
+
var IndiaAdditionalInfo$ = [3, n0, _IAI,
|
|
748
|
+
0,
|
|
749
|
+
[_pa],
|
|
750
|
+
[0]
|
|
751
|
+
];
|
|
752
|
+
var IndonesiaAdditionalInfo$ = [3, n0, _IAIn,
|
|
753
|
+
0,
|
|
754
|
+
[_tRNT, _pEDC, _dNe],
|
|
755
|
+
[0, 0, 0]
|
|
756
|
+
];
|
|
757
|
+
var IsraelAdditionalInfo$ = [3, n0, _IAIs,
|
|
758
|
+
0,
|
|
759
|
+
[_dTe, _cT],
|
|
760
|
+
[0, 0], 2
|
|
761
|
+
];
|
|
762
|
+
var ItalyAdditionalInfo$ = [3, n0, _IAIt,
|
|
763
|
+
0,
|
|
764
|
+
[_sAId, _cN, _cNu, _tC, _cT],
|
|
765
|
+
[0, 0, 0, 0, 0]
|
|
766
|
+
];
|
|
767
|
+
var Jurisdiction$ = [3, n0, _J,
|
|
768
|
+
0,
|
|
769
|
+
[_cC, _sOR],
|
|
770
|
+
[0, 0], 1
|
|
771
|
+
];
|
|
772
|
+
var KenyaAdditionalInfo$ = [3, n0, _KAI,
|
|
773
|
+
0,
|
|
774
|
+
[_pT],
|
|
775
|
+
[0], 1
|
|
776
|
+
];
|
|
777
|
+
var ListSupplementalTaxRegistrationsRequest$ = [3, n0, _LSTRR,
|
|
778
|
+
0,
|
|
779
|
+
[_mR, _nT],
|
|
780
|
+
[1, 0]
|
|
781
|
+
];
|
|
782
|
+
var ListSupplementalTaxRegistrationsResponse$ = [3, n0, _LSTRRi,
|
|
783
|
+
0,
|
|
784
|
+
[_tRa, _nT],
|
|
785
|
+
[[() => SupplementalTaxRegistrationList, 0], 0], 1
|
|
786
|
+
];
|
|
787
|
+
var ListTaxExemptionsRequest$ = [3, n0, _LTER,
|
|
788
|
+
0,
|
|
789
|
+
[_mR, _nT],
|
|
790
|
+
[1, 0]
|
|
791
|
+
];
|
|
792
|
+
var ListTaxExemptionsResponse$ = [3, n0, _LTERi,
|
|
793
|
+
0,
|
|
794
|
+
[_nT, _tEDM],
|
|
795
|
+
[0, () => TaxExemptionDetailsMap]
|
|
796
|
+
];
|
|
797
|
+
var ListTaxRegistrationsRequest$ = [3, n0, _LTRR,
|
|
798
|
+
0,
|
|
799
|
+
[_mR, _nT],
|
|
800
|
+
[1, 0]
|
|
801
|
+
];
|
|
802
|
+
var ListTaxRegistrationsResponse$ = [3, n0, _LTRRi,
|
|
803
|
+
0,
|
|
804
|
+
[_aD, _nT],
|
|
805
|
+
[[() => AccountDetailsList, 0], 0], 1
|
|
806
|
+
];
|
|
807
|
+
var MalaysiaAdditionalInfo$ = [3, n0, _MAI,
|
|
808
|
+
0,
|
|
809
|
+
[_sTC, _tIN, _bRN],
|
|
810
|
+
[64 | 0, 0, 0]
|
|
811
|
+
];
|
|
812
|
+
var PhilippinesAdditionalInfo$ = [3, n0, _PAI,
|
|
813
|
+
0,
|
|
814
|
+
[_iVR],
|
|
815
|
+
[2]
|
|
816
|
+
];
|
|
817
|
+
var PolandAdditionalInfo$ = [3, n0, _PAIo,
|
|
818
|
+
0,
|
|
819
|
+
[_iRN, _iGVE, _tRNT],
|
|
820
|
+
[0, 2, 0]
|
|
821
|
+
];
|
|
822
|
+
var PutSupplementalTaxRegistrationRequest$ = [3, n0, _PSTRR,
|
|
823
|
+
0,
|
|
824
|
+
[_tRE],
|
|
825
|
+
[[() => SupplementalTaxRegistrationEntry$, 0]], 1
|
|
826
|
+
];
|
|
827
|
+
var PutSupplementalTaxRegistrationResponse$ = [3, n0, _PSTRRu,
|
|
828
|
+
0,
|
|
829
|
+
[_aIu, _sta],
|
|
830
|
+
[0, 0], 2
|
|
831
|
+
];
|
|
832
|
+
var PutTaxExemptionRequest$ = [3, n0, _PTER,
|
|
833
|
+
0,
|
|
834
|
+
[_aIc, _au, _eT, _eCx],
|
|
835
|
+
[64 | 0, () => Authority$, 0, () => ExemptionCertificate$], 4
|
|
836
|
+
];
|
|
837
|
+
var PutTaxExemptionResponse$ = [3, n0, _PTERu,
|
|
838
|
+
0,
|
|
839
|
+
[_cI],
|
|
840
|
+
[0]
|
|
841
|
+
];
|
|
842
|
+
var PutTaxInheritanceRequest$ = [3, n0, _PTIR,
|
|
843
|
+
0,
|
|
844
|
+
[_hS],
|
|
845
|
+
[0]
|
|
846
|
+
];
|
|
847
|
+
var PutTaxInheritanceResponse$ = [3, n0, _PTIRu,
|
|
848
|
+
0,
|
|
849
|
+
[],
|
|
850
|
+
[]
|
|
851
|
+
];
|
|
852
|
+
var PutTaxRegistrationRequest$ = [3, n0, _PTRR,
|
|
853
|
+
0,
|
|
854
|
+
[_tRE, _aI],
|
|
855
|
+
[[() => TaxRegistrationEntry$, 0], 0], 1
|
|
856
|
+
];
|
|
857
|
+
var PutTaxRegistrationResponse$ = [3, n0, _PTRRu,
|
|
858
|
+
0,
|
|
859
|
+
[_sta],
|
|
860
|
+
[0]
|
|
861
|
+
];
|
|
862
|
+
var RomaniaAdditionalInfo$ = [3, n0, _RAI,
|
|
863
|
+
0,
|
|
864
|
+
[_tRNT],
|
|
865
|
+
[0], 1
|
|
866
|
+
];
|
|
867
|
+
var SaudiArabiaAdditionalInfo$ = [3, n0, _SAAI,
|
|
868
|
+
0,
|
|
869
|
+
[_tRNT],
|
|
870
|
+
[0]
|
|
871
|
+
];
|
|
872
|
+
var SourceS3Location$ = [3, n0, _SSL,
|
|
873
|
+
0,
|
|
874
|
+
[_b, _k],
|
|
875
|
+
[0, 0], 2
|
|
876
|
+
];
|
|
877
|
+
var SouthKoreaAdditionalInfo$ = [3, n0, _SKAI,
|
|
878
|
+
0,
|
|
879
|
+
[_bRNu, _lOB, _iOB],
|
|
880
|
+
[0, 0, 0], 3
|
|
881
|
+
];
|
|
882
|
+
var SpainAdditionalInfo$ = [3, n0, _SAI,
|
|
883
|
+
0,
|
|
884
|
+
[_rT],
|
|
885
|
+
[0], 1
|
|
886
|
+
];
|
|
887
|
+
var SupplementalTaxRegistration$ = [3, n0, _STR,
|
|
888
|
+
8,
|
|
889
|
+
[_rI, _rT, _lN, _a, _aIu, _sta],
|
|
890
|
+
[0, 0, 0, () => Address$, 0, 0], 6
|
|
891
|
+
];
|
|
892
|
+
var SupplementalTaxRegistrationEntry$ = [3, n0, _STRE,
|
|
893
|
+
8,
|
|
894
|
+
[_rI, _rT, _lN, _a],
|
|
895
|
+
[0, 0, 0, () => Address$], 4
|
|
896
|
+
];
|
|
897
|
+
var TaxDocumentMetadata$ = [3, n0, _TDM,
|
|
898
|
+
0,
|
|
899
|
+
[_tDAT, _tDN],
|
|
900
|
+
[0, 0], 2
|
|
901
|
+
];
|
|
902
|
+
var TaxExemption$ = [3, n0, _TE,
|
|
903
|
+
0,
|
|
904
|
+
[_au, _tETa, _eD, _eDx, _sED, _sta],
|
|
905
|
+
[() => Authority$, () => TaxExemptionType$, 4, 4, 4, 0], 2
|
|
906
|
+
];
|
|
907
|
+
var TaxExemptionDetails$ = [3, n0, _TED,
|
|
908
|
+
0,
|
|
909
|
+
[_tE, _hOD, _hOPE, _hOR],
|
|
910
|
+
[() => TaxExemptions, 2, 0, 0]
|
|
911
|
+
];
|
|
912
|
+
var TaxExemptionType$ = [3, n0, _TET,
|
|
913
|
+
0,
|
|
914
|
+
[_dNi, _d, _aJ],
|
|
915
|
+
[0, 0, () => Authorities]
|
|
916
|
+
];
|
|
917
|
+
var TaxInheritanceDetails$ = [3, n0, _TID,
|
|
918
|
+
0,
|
|
919
|
+
[_pEI, _iOR],
|
|
920
|
+
[0, 0]
|
|
921
|
+
];
|
|
922
|
+
var TaxRegistration$ = [3, n0, _TR,
|
|
923
|
+
8,
|
|
924
|
+
[_rI, _rT, _lN, _sta, _lA, _sec, _tDMa, _cEI, _aTI],
|
|
925
|
+
[0, 0, 0, 0, () => Address$, 0, () => TaxDocumentMetadatas, 0, () => AdditionalInfoResponse$], 5
|
|
926
|
+
];
|
|
927
|
+
var TaxRegistrationDocFile$ = [3, n0, _TRDF,
|
|
928
|
+
0,
|
|
929
|
+
[_fN, _fC],
|
|
930
|
+
[0, 21], 2
|
|
931
|
+
];
|
|
932
|
+
var TaxRegistrationDocument$ = [3, n0, _TRD,
|
|
933
|
+
0,
|
|
934
|
+
[_sL, _f],
|
|
935
|
+
[() => SourceS3Location$, () => TaxRegistrationDocFile$]
|
|
936
|
+
];
|
|
937
|
+
var TaxRegistrationEntry$ = [3, n0, _TRE,
|
|
938
|
+
8,
|
|
939
|
+
[_rI, _rT, _lN, _lA, _sec, _aTI, _vD, _cEI],
|
|
940
|
+
[0, 0, 0, () => Address$, 0, () => AdditionalInfoRequest$, () => VerificationDetails$, 0], 2
|
|
941
|
+
];
|
|
942
|
+
var TaxRegistrationWithJurisdiction$ = [3, n0, _TRWJ,
|
|
943
|
+
8,
|
|
944
|
+
[_rI, _rT, _lN, _sta, _j, _sec, _tDMa, _cEI, _aTI],
|
|
945
|
+
[0, 0, 0, 0, () => Jurisdiction$, 0, () => TaxDocumentMetadatas, 0, () => AdditionalInfoResponse$], 5
|
|
946
|
+
];
|
|
947
|
+
var TurkeyAdditionalInfo$ = [3, n0, _TAI,
|
|
948
|
+
0,
|
|
949
|
+
[_tO, _kEI, _sTI, _i],
|
|
950
|
+
[0, 0, 0, 0]
|
|
951
|
+
];
|
|
952
|
+
var UkraineAdditionalInfo$ = [3, n0, _UAI,
|
|
953
|
+
0,
|
|
954
|
+
[_uTT],
|
|
955
|
+
[0], 1
|
|
956
|
+
];
|
|
957
|
+
var UzbekistanAdditionalInfo$ = [3, n0, _UAIz,
|
|
958
|
+
0,
|
|
959
|
+
[_tRNT, _vRN],
|
|
960
|
+
[0, 0]
|
|
961
|
+
];
|
|
962
|
+
var ValidationExceptionField$ = [3, n0, _VEF,
|
|
963
|
+
0,
|
|
964
|
+
[_n],
|
|
965
|
+
[0], 1
|
|
966
|
+
];
|
|
967
|
+
var VerificationDetails$ = [3, n0, _VD,
|
|
968
|
+
0,
|
|
969
|
+
[_dOB, _tRD],
|
|
970
|
+
[0, () => TaxRegistrationDocuments]
|
|
971
|
+
];
|
|
972
|
+
var VietnamAdditionalInfo$ = [3, n0, _VAI,
|
|
973
|
+
0,
|
|
974
|
+
[_eIN, _eTCN, _pVN, _pVND],
|
|
975
|
+
[0, 0, 0, 0]
|
|
976
|
+
];
|
|
977
|
+
var AccountDetailsList = [1, n0, _ADL,
|
|
978
|
+
0, [() => AccountDetails$,
|
|
979
|
+
0]
|
|
980
|
+
];
|
|
981
|
+
var Authorities = [1, n0, _Aut,
|
|
982
|
+
0, () => Authority$
|
|
983
|
+
];
|
|
984
|
+
var BatchDeleteTaxRegistrationErrors = [1, n0, _BDTREa,
|
|
985
|
+
0, [() => BatchDeleteTaxRegistrationError$,
|
|
986
|
+
0]
|
|
987
|
+
];
|
|
988
|
+
var BatchPutTaxRegistrationErrors = [1, n0, _BPTREa,
|
|
989
|
+
0, [() => BatchPutTaxRegistrationError$,
|
|
990
|
+
0]
|
|
991
|
+
];
|
|
992
|
+
var SupplementalTaxRegistrationList = [1, n0, _STRL,
|
|
993
|
+
0, [() => SupplementalTaxRegistration$,
|
|
994
|
+
0]
|
|
995
|
+
];
|
|
996
|
+
var TaxDocumentMetadatas = [1, n0, _TDMa,
|
|
997
|
+
0, () => TaxDocumentMetadata$
|
|
998
|
+
];
|
|
999
|
+
var TaxExemptions = [1, n0, _TEa,
|
|
1000
|
+
0, () => TaxExemption$
|
|
1001
|
+
];
|
|
1002
|
+
var TaxExemptionTypes = [1, n0, _TETa,
|
|
1003
|
+
0, () => TaxExemptionType$
|
|
1004
|
+
];
|
|
1005
|
+
var TaxRegistrationDocuments = [1, n0, _TRDa,
|
|
1006
|
+
0, () => TaxRegistrationDocument$
|
|
1007
|
+
];
|
|
1008
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
1009
|
+
0, () => ValidationExceptionField$
|
|
1010
|
+
];
|
|
1011
|
+
var AddressRoleMap = [2, n0, _ARM,
|
|
1012
|
+
0, 0, () => Jurisdiction$
|
|
1013
|
+
];
|
|
1014
|
+
var TaxExemptionDetailsMap = [2, n0, _TEDM,
|
|
1015
|
+
0, 0, () => TaxExemptionDetails$
|
|
1016
|
+
];
|
|
1017
|
+
var BatchDeleteTaxRegistration$ = [9, n0, _BDTR,
|
|
1018
|
+
{ [_h]: ["POST", "/BatchDeleteTaxRegistration", 200] }, () => BatchDeleteTaxRegistrationRequest$, () => BatchDeleteTaxRegistrationResponse$
|
|
1019
|
+
];
|
|
1020
|
+
var BatchGetTaxExemptions$ = [9, n0, _BGTE,
|
|
1021
|
+
{ [_h]: ["POST", "/BatchGetTaxExemptions", 200] }, () => BatchGetTaxExemptionsRequest$, () => BatchGetTaxExemptionsResponse$
|
|
1022
|
+
];
|
|
1023
|
+
var BatchPutTaxRegistration$ = [9, n0, _BPTR,
|
|
1024
|
+
{ [_h]: ["POST", "/BatchPutTaxRegistration", 200] }, () => BatchPutTaxRegistrationRequest$, () => BatchPutTaxRegistrationResponse$
|
|
1025
|
+
];
|
|
1026
|
+
var DeleteSupplementalTaxRegistration$ = [9, n0, _DSTR,
|
|
1027
|
+
{ [_h]: ["POST", "/DeleteSupplementalTaxRegistration", 200] }, () => DeleteSupplementalTaxRegistrationRequest$, () => DeleteSupplementalTaxRegistrationResponse$
|
|
1028
|
+
];
|
|
1029
|
+
var DeleteTaxRegistration$ = [9, n0, _DTR,
|
|
1030
|
+
{ [_h]: ["POST", "/DeleteTaxRegistration", 200] }, () => DeleteTaxRegistrationRequest$, () => DeleteTaxRegistrationResponse$
|
|
1031
|
+
];
|
|
1032
|
+
var GetTaxExemptionTypes$ = [9, n0, _GTET,
|
|
1033
|
+
{ [_h]: ["POST", "/GetTaxExemptionTypes", 200] }, () => GetTaxExemptionTypesRequest$, () => GetTaxExemptionTypesResponse$
|
|
1034
|
+
];
|
|
1035
|
+
var GetTaxInheritance$ = [9, n0, _GTI,
|
|
1036
|
+
{ [_h]: ["POST", "/GetTaxInheritance", 200] }, () => GetTaxInheritanceRequest$, () => GetTaxInheritanceResponse$
|
|
1037
|
+
];
|
|
1038
|
+
var GetTaxRegistration$ = [9, n0, _GTR,
|
|
1039
|
+
{ [_h]: ["POST", "/GetTaxRegistration", 200] }, () => GetTaxRegistrationRequest$, () => GetTaxRegistrationResponse$
|
|
1040
|
+
];
|
|
1041
|
+
var GetTaxRegistrationDocument$ = [9, n0, _GTRD,
|
|
1042
|
+
{ [_h]: ["POST", "/GetTaxRegistrationDocument", 200] }, () => GetTaxRegistrationDocumentRequest$, () => GetTaxRegistrationDocumentResponse$
|
|
1043
|
+
];
|
|
1044
|
+
var ListSupplementalTaxRegistrations$ = [9, n0, _LSTR,
|
|
1045
|
+
{ [_h]: ["POST", "/ListSupplementalTaxRegistrations", 200] }, () => ListSupplementalTaxRegistrationsRequest$, () => ListSupplementalTaxRegistrationsResponse$
|
|
1046
|
+
];
|
|
1047
|
+
var ListTaxExemptions$ = [9, n0, _LTE,
|
|
1048
|
+
{ [_h]: ["POST", "/ListTaxExemptions", 200] }, () => ListTaxExemptionsRequest$, () => ListTaxExemptionsResponse$
|
|
1049
|
+
];
|
|
1050
|
+
var ListTaxRegistrations$ = [9, n0, _LTR,
|
|
1051
|
+
{ [_h]: ["POST", "/ListTaxRegistrations", 200] }, () => ListTaxRegistrationsRequest$, () => ListTaxRegistrationsResponse$
|
|
1052
|
+
];
|
|
1053
|
+
var PutSupplementalTaxRegistration$ = [9, n0, _PSTR,
|
|
1054
|
+
{ [_h]: ["POST", "/PutSupplementalTaxRegistration", 200] }, () => PutSupplementalTaxRegistrationRequest$, () => PutSupplementalTaxRegistrationResponse$
|
|
1055
|
+
];
|
|
1056
|
+
var PutTaxExemption$ = [9, n0, _PTE,
|
|
1057
|
+
{ [_h]: ["POST", "/PutTaxExemption", 200] }, () => PutTaxExemptionRequest$, () => PutTaxExemptionResponse$
|
|
1058
|
+
];
|
|
1059
|
+
var PutTaxInheritance$ = [9, n0, _PTI,
|
|
1060
|
+
{ [_h]: ["POST", "/PutTaxInheritance", 200] }, () => PutTaxInheritanceRequest$, () => PutTaxInheritanceResponse$
|
|
1061
|
+
];
|
|
1062
|
+
var PutTaxRegistration$ = [9, n0, _PTR,
|
|
1063
|
+
{ [_h]: ["POST", "/PutTaxRegistration", 200] }, () => PutTaxRegistrationRequest$, () => PutTaxRegistrationResponse$
|
|
1064
|
+
];
|
|
1065
|
+
|
|
1066
|
+
const getRuntimeConfig$1 = (config) => {
|
|
1067
|
+
return {
|
|
1068
|
+
apiVersion: "2018-05-10",
|
|
1069
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
1070
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
1071
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
1072
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
1073
|
+
extensions: config?.extensions ?? [],
|
|
1074
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultTaxSettingsHttpAuthSchemeProvider,
|
|
1075
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
1076
|
+
{
|
|
1077
|
+
schemeId: "aws.auth#sigv4",
|
|
1078
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
1079
|
+
signer: new AwsSdkSigV4Signer(),
|
|
1080
|
+
},
|
|
1081
|
+
],
|
|
1082
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
1083
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
1084
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
1085
|
+
defaultNamespace: "com.amazonaws.taxsettings",
|
|
1086
|
+
errorTypeRegistries,
|
|
1087
|
+
version: "2018-05-10",
|
|
1088
|
+
serviceTarget: "TaxSettings",
|
|
1089
|
+
},
|
|
1090
|
+
serviceId: config?.serviceId ?? "TaxSettings",
|
|
1091
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
1092
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1093
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
const getRuntimeConfig = (config) => {
|
|
1098
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
1099
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
1100
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
1101
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
1102
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
1103
|
+
const loaderConfig = {
|
|
1104
|
+
profile: config?.profile,
|
|
1105
|
+
logger: clientSharedValues.logger,
|
|
1106
|
+
};
|
|
1107
|
+
return {
|
|
1108
|
+
...clientSharedValues,
|
|
1109
|
+
...config,
|
|
1110
|
+
runtime: "node",
|
|
1111
|
+
defaultsMode,
|
|
1112
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
1113
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
1114
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
1115
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
1116
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1117
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
1118
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1119
|
+
retryMode: config?.retryMode ??
|
|
1120
|
+
loadConfig({
|
|
1121
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1122
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1123
|
+
}, config),
|
|
1124
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1125
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1126
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1127
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1128
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
|
|
34
1132
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
1133
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
1134
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -453,46 +1551,162 @@ const SupplementalTaxRegistrationType = {
|
|
|
453
1551
|
VAT: "VAT",
|
|
454
1552
|
};
|
|
455
1553
|
|
|
1554
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1555
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1556
|
+
exports.AccountDetails$ = AccountDetails$;
|
|
1557
|
+
exports.AccountMetaData$ = AccountMetaData$;
|
|
1558
|
+
exports.AdditionalInfoRequest$ = AdditionalInfoRequest$;
|
|
1559
|
+
exports.AdditionalInfoResponse$ = AdditionalInfoResponse$;
|
|
1560
|
+
exports.Address$ = Address$;
|
|
456
1561
|
exports.AddressRoleType = AddressRoleType;
|
|
1562
|
+
exports.AttachmentUploadException = AttachmentUploadException;
|
|
1563
|
+
exports.AttachmentUploadException$ = AttachmentUploadException$;
|
|
1564
|
+
exports.Authority$ = Authority$;
|
|
1565
|
+
exports.BatchDeleteTaxRegistration$ = BatchDeleteTaxRegistration$;
|
|
457
1566
|
exports.BatchDeleteTaxRegistrationCommand = BatchDeleteTaxRegistrationCommand;
|
|
1567
|
+
exports.BatchDeleteTaxRegistrationError$ = BatchDeleteTaxRegistrationError$;
|
|
1568
|
+
exports.BatchDeleteTaxRegistrationRequest$ = BatchDeleteTaxRegistrationRequest$;
|
|
1569
|
+
exports.BatchDeleteTaxRegistrationResponse$ = BatchDeleteTaxRegistrationResponse$;
|
|
1570
|
+
exports.BatchGetTaxExemptions$ = BatchGetTaxExemptions$;
|
|
458
1571
|
exports.BatchGetTaxExemptionsCommand = BatchGetTaxExemptionsCommand;
|
|
1572
|
+
exports.BatchGetTaxExemptionsRequest$ = BatchGetTaxExemptionsRequest$;
|
|
1573
|
+
exports.BatchGetTaxExemptionsResponse$ = BatchGetTaxExemptionsResponse$;
|
|
1574
|
+
exports.BatchPutTaxRegistration$ = BatchPutTaxRegistration$;
|
|
459
1575
|
exports.BatchPutTaxRegistrationCommand = BatchPutTaxRegistrationCommand;
|
|
1576
|
+
exports.BatchPutTaxRegistrationError$ = BatchPutTaxRegistrationError$;
|
|
1577
|
+
exports.BatchPutTaxRegistrationRequest$ = BatchPutTaxRegistrationRequest$;
|
|
1578
|
+
exports.BatchPutTaxRegistrationResponse$ = BatchPutTaxRegistrationResponse$;
|
|
1579
|
+
exports.BelgiumAdditionalInfo$ = BelgiumAdditionalInfo$;
|
|
1580
|
+
exports.BrazilAdditionalInfo$ = BrazilAdditionalInfo$;
|
|
1581
|
+
exports.CanadaAdditionalInfo$ = CanadaAdditionalInfo$;
|
|
1582
|
+
exports.CaseCreationLimitExceededException = CaseCreationLimitExceededException;
|
|
1583
|
+
exports.CaseCreationLimitExceededException$ = CaseCreationLimitExceededException$;
|
|
1584
|
+
exports.ChileAdditionalInfo$ = ChileAdditionalInfo$;
|
|
460
1585
|
exports.ChileDocumentType = ChileDocumentType;
|
|
1586
|
+
exports.ConflictException = ConflictException;
|
|
1587
|
+
exports.ConflictException$ = ConflictException$;
|
|
461
1588
|
exports.CustomerType = CustomerType;
|
|
1589
|
+
exports.DeleteSupplementalTaxRegistration$ = DeleteSupplementalTaxRegistration$;
|
|
462
1590
|
exports.DeleteSupplementalTaxRegistrationCommand = DeleteSupplementalTaxRegistrationCommand;
|
|
1591
|
+
exports.DeleteSupplementalTaxRegistrationRequest$ = DeleteSupplementalTaxRegistrationRequest$;
|
|
1592
|
+
exports.DeleteSupplementalTaxRegistrationResponse$ = DeleteSupplementalTaxRegistrationResponse$;
|
|
1593
|
+
exports.DeleteTaxRegistration$ = DeleteTaxRegistration$;
|
|
463
1594
|
exports.DeleteTaxRegistrationCommand = DeleteTaxRegistrationCommand;
|
|
1595
|
+
exports.DeleteTaxRegistrationRequest$ = DeleteTaxRegistrationRequest$;
|
|
1596
|
+
exports.DeleteTaxRegistrationResponse$ = DeleteTaxRegistrationResponse$;
|
|
1597
|
+
exports.DestinationS3Location$ = DestinationS3Location$;
|
|
1598
|
+
exports.EgyptAdditionalInfo$ = EgyptAdditionalInfo$;
|
|
464
1599
|
exports.EntityExemptionAccountStatus = EntityExemptionAccountStatus;
|
|
1600
|
+
exports.EstoniaAdditionalInfo$ = EstoniaAdditionalInfo$;
|
|
1601
|
+
exports.ExemptionCertificate$ = ExemptionCertificate$;
|
|
1602
|
+
exports.FranceAdditionalInfo$ = FranceAdditionalInfo$;
|
|
1603
|
+
exports.GeorgiaAdditionalInfo$ = GeorgiaAdditionalInfo$;
|
|
1604
|
+
exports.GetTaxExemptionTypes$ = GetTaxExemptionTypes$;
|
|
465
1605
|
exports.GetTaxExemptionTypesCommand = GetTaxExemptionTypesCommand;
|
|
1606
|
+
exports.GetTaxExemptionTypesRequest$ = GetTaxExemptionTypesRequest$;
|
|
1607
|
+
exports.GetTaxExemptionTypesResponse$ = GetTaxExemptionTypesResponse$;
|
|
1608
|
+
exports.GetTaxInheritance$ = GetTaxInheritance$;
|
|
466
1609
|
exports.GetTaxInheritanceCommand = GetTaxInheritanceCommand;
|
|
1610
|
+
exports.GetTaxInheritanceRequest$ = GetTaxInheritanceRequest$;
|
|
1611
|
+
exports.GetTaxInheritanceResponse$ = GetTaxInheritanceResponse$;
|
|
1612
|
+
exports.GetTaxRegistration$ = GetTaxRegistration$;
|
|
467
1613
|
exports.GetTaxRegistrationCommand = GetTaxRegistrationCommand;
|
|
1614
|
+
exports.GetTaxRegistrationDocument$ = GetTaxRegistrationDocument$;
|
|
468
1615
|
exports.GetTaxRegistrationDocumentCommand = GetTaxRegistrationDocumentCommand;
|
|
1616
|
+
exports.GetTaxRegistrationDocumentRequest$ = GetTaxRegistrationDocumentRequest$;
|
|
1617
|
+
exports.GetTaxRegistrationDocumentResponse$ = GetTaxRegistrationDocumentResponse$;
|
|
1618
|
+
exports.GetTaxRegistrationRequest$ = GetTaxRegistrationRequest$;
|
|
1619
|
+
exports.GetTaxRegistrationResponse$ = GetTaxRegistrationResponse$;
|
|
1620
|
+
exports.GreeceAdditionalInfo$ = GreeceAdditionalInfo$;
|
|
469
1621
|
exports.HeritageStatus = HeritageStatus;
|
|
1622
|
+
exports.IndiaAdditionalInfo$ = IndiaAdditionalInfo$;
|
|
1623
|
+
exports.IndonesiaAdditionalInfo$ = IndonesiaAdditionalInfo$;
|
|
470
1624
|
exports.IndonesiaTaxRegistrationNumberType = IndonesiaTaxRegistrationNumberType;
|
|
471
1625
|
exports.Industries = Industries;
|
|
1626
|
+
exports.InternalServerException = InternalServerException;
|
|
1627
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1628
|
+
exports.IsraelAdditionalInfo$ = IsraelAdditionalInfo$;
|
|
472
1629
|
exports.IsraelCustomerType = IsraelCustomerType;
|
|
473
1630
|
exports.IsraelDealerType = IsraelDealerType;
|
|
1631
|
+
exports.ItalyAdditionalInfo$ = ItalyAdditionalInfo$;
|
|
1632
|
+
exports.Jurisdiction$ = Jurisdiction$;
|
|
1633
|
+
exports.KenyaAdditionalInfo$ = KenyaAdditionalInfo$;
|
|
1634
|
+
exports.ListSupplementalTaxRegistrations$ = ListSupplementalTaxRegistrations$;
|
|
474
1635
|
exports.ListSupplementalTaxRegistrationsCommand = ListSupplementalTaxRegistrationsCommand;
|
|
1636
|
+
exports.ListSupplementalTaxRegistrationsRequest$ = ListSupplementalTaxRegistrationsRequest$;
|
|
1637
|
+
exports.ListSupplementalTaxRegistrationsResponse$ = ListSupplementalTaxRegistrationsResponse$;
|
|
1638
|
+
exports.ListTaxExemptions$ = ListTaxExemptions$;
|
|
475
1639
|
exports.ListTaxExemptionsCommand = ListTaxExemptionsCommand;
|
|
1640
|
+
exports.ListTaxExemptionsRequest$ = ListTaxExemptionsRequest$;
|
|
1641
|
+
exports.ListTaxExemptionsResponse$ = ListTaxExemptionsResponse$;
|
|
1642
|
+
exports.ListTaxRegistrations$ = ListTaxRegistrations$;
|
|
476
1643
|
exports.ListTaxRegistrationsCommand = ListTaxRegistrationsCommand;
|
|
1644
|
+
exports.ListTaxRegistrationsRequest$ = ListTaxRegistrationsRequest$;
|
|
1645
|
+
exports.ListTaxRegistrationsResponse$ = ListTaxRegistrationsResponse$;
|
|
1646
|
+
exports.MalaysiaAdditionalInfo$ = MalaysiaAdditionalInfo$;
|
|
477
1647
|
exports.MalaysiaServiceTaxCode = MalaysiaServiceTaxCode;
|
|
478
1648
|
exports.PersonType = PersonType;
|
|
1649
|
+
exports.PhilippinesAdditionalInfo$ = PhilippinesAdditionalInfo$;
|
|
1650
|
+
exports.PolandAdditionalInfo$ = PolandAdditionalInfo$;
|
|
479
1651
|
exports.PolandTaxRegistrationNumberType = PolandTaxRegistrationNumberType;
|
|
1652
|
+
exports.PutSupplementalTaxRegistration$ = PutSupplementalTaxRegistration$;
|
|
480
1653
|
exports.PutSupplementalTaxRegistrationCommand = PutSupplementalTaxRegistrationCommand;
|
|
1654
|
+
exports.PutSupplementalTaxRegistrationRequest$ = PutSupplementalTaxRegistrationRequest$;
|
|
1655
|
+
exports.PutSupplementalTaxRegistrationResponse$ = PutSupplementalTaxRegistrationResponse$;
|
|
1656
|
+
exports.PutTaxExemption$ = PutTaxExemption$;
|
|
481
1657
|
exports.PutTaxExemptionCommand = PutTaxExemptionCommand;
|
|
1658
|
+
exports.PutTaxExemptionRequest$ = PutTaxExemptionRequest$;
|
|
1659
|
+
exports.PutTaxExemptionResponse$ = PutTaxExemptionResponse$;
|
|
1660
|
+
exports.PutTaxInheritance$ = PutTaxInheritance$;
|
|
482
1661
|
exports.PutTaxInheritanceCommand = PutTaxInheritanceCommand;
|
|
1662
|
+
exports.PutTaxInheritanceRequest$ = PutTaxInheritanceRequest$;
|
|
1663
|
+
exports.PutTaxInheritanceResponse$ = PutTaxInheritanceResponse$;
|
|
1664
|
+
exports.PutTaxRegistration$ = PutTaxRegistration$;
|
|
483
1665
|
exports.PutTaxRegistrationCommand = PutTaxRegistrationCommand;
|
|
1666
|
+
exports.PutTaxRegistrationRequest$ = PutTaxRegistrationRequest$;
|
|
1667
|
+
exports.PutTaxRegistrationResponse$ = PutTaxRegistrationResponse$;
|
|
484
1668
|
exports.RegistrationType = RegistrationType;
|
|
1669
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1670
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1671
|
+
exports.RomaniaAdditionalInfo$ = RomaniaAdditionalInfo$;
|
|
1672
|
+
exports.SaudiArabiaAdditionalInfo$ = SaudiArabiaAdditionalInfo$;
|
|
485
1673
|
exports.SaudiArabiaTaxRegistrationNumberType = SaudiArabiaTaxRegistrationNumberType;
|
|
486
1674
|
exports.Sector = Sector;
|
|
1675
|
+
exports.SourceS3Location$ = SourceS3Location$;
|
|
1676
|
+
exports.SouthKoreaAdditionalInfo$ = SouthKoreaAdditionalInfo$;
|
|
1677
|
+
exports.SpainAdditionalInfo$ = SpainAdditionalInfo$;
|
|
1678
|
+
exports.SupplementalTaxRegistration$ = SupplementalTaxRegistration$;
|
|
1679
|
+
exports.SupplementalTaxRegistrationEntry$ = SupplementalTaxRegistrationEntry$;
|
|
487
1680
|
exports.SupplementalTaxRegistrationType = SupplementalTaxRegistrationType;
|
|
1681
|
+
exports.TaxDocumentMetadata$ = TaxDocumentMetadata$;
|
|
1682
|
+
exports.TaxExemption$ = TaxExemption$;
|
|
1683
|
+
exports.TaxExemptionDetails$ = TaxExemptionDetails$;
|
|
1684
|
+
exports.TaxExemptionType$ = TaxExemptionType$;
|
|
1685
|
+
exports.TaxInheritanceDetails$ = TaxInheritanceDetails$;
|
|
1686
|
+
exports.TaxRegistration$ = TaxRegistration$;
|
|
1687
|
+
exports.TaxRegistrationDocFile$ = TaxRegistrationDocFile$;
|
|
1688
|
+
exports.TaxRegistrationDocument$ = TaxRegistrationDocument$;
|
|
1689
|
+
exports.TaxRegistrationEntry$ = TaxRegistrationEntry$;
|
|
488
1690
|
exports.TaxRegistrationNumberType = TaxRegistrationNumberType;
|
|
489
1691
|
exports.TaxRegistrationStatus = TaxRegistrationStatus;
|
|
490
1692
|
exports.TaxRegistrationType = TaxRegistrationType;
|
|
1693
|
+
exports.TaxRegistrationWithJurisdiction$ = TaxRegistrationWithJurisdiction$;
|
|
491
1694
|
exports.TaxSettings = TaxSettings;
|
|
492
1695
|
exports.TaxSettingsClient = TaxSettingsClient;
|
|
1696
|
+
exports.TaxSettingsServiceException = TaxSettingsServiceException;
|
|
1697
|
+
exports.TaxSettingsServiceException$ = TaxSettingsServiceException$;
|
|
1698
|
+
exports.TurkeyAdditionalInfo$ = TurkeyAdditionalInfo$;
|
|
1699
|
+
exports.UkraineAdditionalInfo$ = UkraineAdditionalInfo$;
|
|
493
1700
|
exports.UkraineTrnType = UkraineTrnType;
|
|
1701
|
+
exports.UzbekistanAdditionalInfo$ = UzbekistanAdditionalInfo$;
|
|
494
1702
|
exports.UzbekistanTaxRegistrationNumberType = UzbekistanTaxRegistrationNumberType;
|
|
1703
|
+
exports.ValidationException = ValidationException;
|
|
1704
|
+
exports.ValidationException$ = ValidationException$;
|
|
495
1705
|
exports.ValidationExceptionErrorCode = ValidationExceptionErrorCode;
|
|
1706
|
+
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
1707
|
+
exports.VerificationDetails$ = VerificationDetails$;
|
|
1708
|
+
exports.VietnamAdditionalInfo$ = VietnamAdditionalInfo$;
|
|
1709
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
496
1710
|
exports.paginateListSupplementalTaxRegistrations = paginateListSupplementalTaxRegistrations;
|
|
497
1711
|
exports.paginateListTaxExemptions = paginateListTaxExemptions;
|
|
498
1712
|
exports.paginateListTaxRegistrations = paginateListTaxRegistrations;
|