@aws-sdk/client-taxsettings 3.891.0 → 3.894.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 +1597 -10
- package/package.json +19 -19
- package/dist-cjs/TaxSettings.js +0 -43
- package/dist-cjs/TaxSettingsClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/BatchDeleteTaxRegistrationCommand.js +0 -27
- package/dist-cjs/commands/BatchGetTaxExemptionsCommand.js +0 -26
- package/dist-cjs/commands/BatchPutTaxRegistrationCommand.js +0 -27
- package/dist-cjs/commands/DeleteSupplementalTaxRegistrationCommand.js +0 -26
- package/dist-cjs/commands/DeleteTaxRegistrationCommand.js +0 -26
- package/dist-cjs/commands/GetTaxExemptionTypesCommand.js +0 -26
- package/dist-cjs/commands/GetTaxInheritanceCommand.js +0 -26
- package/dist-cjs/commands/GetTaxRegistrationCommand.js +0 -27
- package/dist-cjs/commands/GetTaxRegistrationDocumentCommand.js +0 -26
- package/dist-cjs/commands/ListSupplementalTaxRegistrationsCommand.js +0 -27
- package/dist-cjs/commands/ListTaxExemptionsCommand.js +0 -26
- package/dist-cjs/commands/ListTaxRegistrationsCommand.js +0 -27
- package/dist-cjs/commands/PutSupplementalTaxRegistrationCommand.js +0 -27
- package/dist-cjs/commands/PutTaxExemptionCommand.js +0 -26
- package/dist-cjs/commands/PutTaxInheritanceCommand.js +0 -26
- package/dist-cjs/commands/PutTaxRegistrationCommand.js +0 -27
- package/dist-cjs/commands/index.js +0 -19
- package/dist-cjs/endpoint/EndpointParameters.js +0 -17
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/TaxSettingsServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -285
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListSupplementalTaxRegistrationsPaginator.js +0 -7
- package/dist-cjs/pagination/ListTaxExemptionsPaginator.js +0 -7
- package/dist-cjs/pagination/ListTaxRegistrationsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -7
- package/dist-cjs/protocols/Aws_restJson1.js +0 -685
- package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,1598 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
AccountDetailsFilterSensitiveLog: () => AccountDetailsFilterSensitiveLog,
|
|
26
|
+
AccountMetaDataFilterSensitiveLog: () => AccountMetaDataFilterSensitiveLog,
|
|
27
|
+
AddressRoleType: () => AddressRoleType,
|
|
28
|
+
AttachmentUploadException: () => AttachmentUploadException,
|
|
29
|
+
BatchDeleteTaxRegistrationCommand: () => BatchDeleteTaxRegistrationCommand,
|
|
30
|
+
BatchDeleteTaxRegistrationErrorFilterSensitiveLog: () => BatchDeleteTaxRegistrationErrorFilterSensitiveLog,
|
|
31
|
+
BatchDeleteTaxRegistrationResponseFilterSensitiveLog: () => BatchDeleteTaxRegistrationResponseFilterSensitiveLog,
|
|
32
|
+
BatchGetTaxExemptionsCommand: () => BatchGetTaxExemptionsCommand,
|
|
33
|
+
BatchPutTaxRegistrationCommand: () => BatchPutTaxRegistrationCommand,
|
|
34
|
+
BatchPutTaxRegistrationErrorFilterSensitiveLog: () => BatchPutTaxRegistrationErrorFilterSensitiveLog,
|
|
35
|
+
BatchPutTaxRegistrationRequestFilterSensitiveLog: () => BatchPutTaxRegistrationRequestFilterSensitiveLog,
|
|
36
|
+
BatchPutTaxRegistrationResponseFilterSensitiveLog: () => BatchPutTaxRegistrationResponseFilterSensitiveLog,
|
|
37
|
+
CaseCreationLimitExceededException: () => CaseCreationLimitExceededException,
|
|
38
|
+
ConflictException: () => ConflictException,
|
|
39
|
+
DeleteSupplementalTaxRegistrationCommand: () => DeleteSupplementalTaxRegistrationCommand,
|
|
40
|
+
DeleteTaxRegistrationCommand: () => DeleteTaxRegistrationCommand,
|
|
41
|
+
EntityExemptionAccountStatus: () => EntityExemptionAccountStatus,
|
|
42
|
+
GetTaxExemptionTypesCommand: () => GetTaxExemptionTypesCommand,
|
|
43
|
+
GetTaxInheritanceCommand: () => GetTaxInheritanceCommand,
|
|
44
|
+
GetTaxRegistrationCommand: () => GetTaxRegistrationCommand,
|
|
45
|
+
GetTaxRegistrationDocumentCommand: () => GetTaxRegistrationDocumentCommand,
|
|
46
|
+
GetTaxRegistrationResponseFilterSensitiveLog: () => GetTaxRegistrationResponseFilterSensitiveLog,
|
|
47
|
+
HeritageStatus: () => HeritageStatus,
|
|
48
|
+
IndonesiaTaxRegistrationNumberType: () => IndonesiaTaxRegistrationNumberType,
|
|
49
|
+
Industries: () => Industries,
|
|
50
|
+
InternalServerException: () => InternalServerException,
|
|
51
|
+
IsraelCustomerType: () => IsraelCustomerType,
|
|
52
|
+
IsraelDealerType: () => IsraelDealerType,
|
|
53
|
+
ListSupplementalTaxRegistrationsCommand: () => ListSupplementalTaxRegistrationsCommand,
|
|
54
|
+
ListSupplementalTaxRegistrationsResponseFilterSensitiveLog: () => ListSupplementalTaxRegistrationsResponseFilterSensitiveLog,
|
|
55
|
+
ListTaxExemptionsCommand: () => ListTaxExemptionsCommand,
|
|
56
|
+
ListTaxRegistrationsCommand: () => ListTaxRegistrationsCommand,
|
|
57
|
+
ListTaxRegistrationsResponseFilterSensitiveLog: () => ListTaxRegistrationsResponseFilterSensitiveLog,
|
|
58
|
+
MalaysiaServiceTaxCode: () => MalaysiaServiceTaxCode,
|
|
59
|
+
PersonType: () => PersonType,
|
|
60
|
+
PutSupplementalTaxRegistrationCommand: () => PutSupplementalTaxRegistrationCommand,
|
|
61
|
+
PutSupplementalTaxRegistrationRequestFilterSensitiveLog: () => PutSupplementalTaxRegistrationRequestFilterSensitiveLog,
|
|
62
|
+
PutTaxExemptionCommand: () => PutTaxExemptionCommand,
|
|
63
|
+
PutTaxInheritanceCommand: () => PutTaxInheritanceCommand,
|
|
64
|
+
PutTaxRegistrationCommand: () => PutTaxRegistrationCommand,
|
|
65
|
+
PutTaxRegistrationRequestFilterSensitiveLog: () => PutTaxRegistrationRequestFilterSensitiveLog,
|
|
66
|
+
RegistrationType: () => RegistrationType,
|
|
67
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
68
|
+
SaudiArabiaTaxRegistrationNumberType: () => SaudiArabiaTaxRegistrationNumberType,
|
|
69
|
+
Sector: () => Sector,
|
|
70
|
+
SupplementalTaxRegistrationEntryFilterSensitiveLog: () => SupplementalTaxRegistrationEntryFilterSensitiveLog,
|
|
71
|
+
SupplementalTaxRegistrationFilterSensitiveLog: () => SupplementalTaxRegistrationFilterSensitiveLog,
|
|
72
|
+
SupplementalTaxRegistrationType: () => SupplementalTaxRegistrationType,
|
|
73
|
+
TaxRegistrationEntryFilterSensitiveLog: () => TaxRegistrationEntryFilterSensitiveLog,
|
|
74
|
+
TaxRegistrationFilterSensitiveLog: () => TaxRegistrationFilterSensitiveLog,
|
|
75
|
+
TaxRegistrationNumberType: () => TaxRegistrationNumberType,
|
|
76
|
+
TaxRegistrationStatus: () => TaxRegistrationStatus,
|
|
77
|
+
TaxRegistrationType: () => TaxRegistrationType,
|
|
78
|
+
TaxRegistrationWithJurisdictionFilterSensitiveLog: () => TaxRegistrationWithJurisdictionFilterSensitiveLog,
|
|
79
|
+
TaxSettings: () => TaxSettings,
|
|
80
|
+
TaxSettingsClient: () => TaxSettingsClient,
|
|
81
|
+
TaxSettingsServiceException: () => TaxSettingsServiceException,
|
|
82
|
+
UkraineTrnType: () => UkraineTrnType,
|
|
83
|
+
UzbekistanTaxRegistrationNumberType: () => UzbekistanTaxRegistrationNumberType,
|
|
84
|
+
ValidationException: () => ValidationException,
|
|
85
|
+
ValidationExceptionErrorCode: () => ValidationExceptionErrorCode,
|
|
86
|
+
__Client: () => import_smithy_client.Client,
|
|
87
|
+
paginateListSupplementalTaxRegistrations: () => paginateListSupplementalTaxRegistrations,
|
|
88
|
+
paginateListTaxExemptions: () => paginateListTaxExemptions,
|
|
89
|
+
paginateListTaxRegistrations: () => paginateListTaxRegistrations
|
|
90
|
+
});
|
|
91
|
+
module.exports = __toCommonJS(index_exports);
|
|
92
|
+
|
|
93
|
+
// src/TaxSettingsClient.ts
|
|
94
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
95
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
96
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
97
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
98
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
99
|
+
var import_core = require("@smithy/core");
|
|
100
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
101
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
102
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
103
|
+
|
|
104
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
105
|
+
|
|
106
|
+
// src/endpoint/EndpointParameters.ts
|
|
107
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
108
|
+
return Object.assign(options, {
|
|
109
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
110
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
111
|
+
defaultSigningName: "tax"
|
|
112
|
+
});
|
|
113
|
+
}, "resolveClientEndpointParameters");
|
|
114
|
+
var commonParams = {
|
|
115
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
116
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
117
|
+
Region: { type: "builtInParams", name: "region" },
|
|
118
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
// src/TaxSettingsClient.ts
|
|
122
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
123
|
+
|
|
124
|
+
// src/runtimeExtensions.ts
|
|
125
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
126
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
127
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
128
|
+
|
|
129
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
130
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
131
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
132
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
133
|
+
let _credentials = runtimeConfig.credentials;
|
|
134
|
+
return {
|
|
135
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
136
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
137
|
+
if (index === -1) {
|
|
138
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
139
|
+
} else {
|
|
140
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
httpAuthSchemes() {
|
|
144
|
+
return _httpAuthSchemes;
|
|
145
|
+
},
|
|
146
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
147
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
148
|
+
},
|
|
149
|
+
httpAuthSchemeProvider() {
|
|
150
|
+
return _httpAuthSchemeProvider;
|
|
151
|
+
},
|
|
152
|
+
setCredentials(credentials) {
|
|
153
|
+
_credentials = credentials;
|
|
154
|
+
},
|
|
155
|
+
credentials() {
|
|
156
|
+
return _credentials;
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
160
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
161
|
+
return {
|
|
162
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
163
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
164
|
+
credentials: config.credentials()
|
|
165
|
+
};
|
|
166
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
167
|
+
|
|
168
|
+
// src/runtimeExtensions.ts
|
|
169
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
170
|
+
const extensionConfiguration = Object.assign(
|
|
171
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
172
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
173
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
174
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
175
|
+
);
|
|
176
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
177
|
+
return Object.assign(
|
|
178
|
+
runtimeConfig,
|
|
179
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
180
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
181
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
182
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
183
|
+
);
|
|
184
|
+
}, "resolveRuntimeExtensions");
|
|
185
|
+
|
|
186
|
+
// src/TaxSettingsClient.ts
|
|
187
|
+
var TaxSettingsClient = class extends import_smithy_client.Client {
|
|
188
|
+
static {
|
|
189
|
+
__name(this, "TaxSettingsClient");
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* The resolved configuration of TaxSettingsClient class. This is resolved and normalized from the {@link TaxSettingsClientConfig | constructor configuration interface}.
|
|
193
|
+
*/
|
|
194
|
+
config;
|
|
195
|
+
constructor(...[configuration]) {
|
|
196
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
197
|
+
super(_config_0);
|
|
198
|
+
this.initConfig = _config_0;
|
|
199
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
200
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
201
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
202
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
203
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
204
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
205
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
206
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
207
|
+
this.config = _config_8;
|
|
208
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
209
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
210
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
211
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
212
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
213
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
214
|
+
this.middlewareStack.use(
|
|
215
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
216
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultTaxSettingsHttpAuthSchemeParametersProvider,
|
|
217
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
218
|
+
"aws.auth#sigv4": config.credentials
|
|
219
|
+
}), "identityProviderConfigProvider")
|
|
220
|
+
})
|
|
221
|
+
);
|
|
222
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
226
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
227
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
228
|
+
*/
|
|
229
|
+
destroy() {
|
|
230
|
+
super.destroy();
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
// src/TaxSettings.ts
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
// src/commands/BatchDeleteTaxRegistrationCommand.ts
|
|
238
|
+
|
|
239
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
// src/models/models_0.ts
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
// src/models/TaxSettingsServiceException.ts
|
|
246
|
+
|
|
247
|
+
var TaxSettingsServiceException = class _TaxSettingsServiceException extends import_smithy_client.ServiceException {
|
|
248
|
+
static {
|
|
249
|
+
__name(this, "TaxSettingsServiceException");
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* @internal
|
|
253
|
+
*/
|
|
254
|
+
constructor(options) {
|
|
255
|
+
super(options);
|
|
256
|
+
Object.setPrototypeOf(this, _TaxSettingsServiceException.prototype);
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
// src/models/models_0.ts
|
|
261
|
+
var AccessDeniedException = class _AccessDeniedException extends TaxSettingsServiceException {
|
|
262
|
+
static {
|
|
263
|
+
__name(this, "AccessDeniedException");
|
|
264
|
+
}
|
|
265
|
+
name = "AccessDeniedException";
|
|
266
|
+
$fault = "client";
|
|
267
|
+
/**
|
|
268
|
+
* @internal
|
|
269
|
+
*/
|
|
270
|
+
constructor(opts) {
|
|
271
|
+
super({
|
|
272
|
+
name: "AccessDeniedException",
|
|
273
|
+
$fault: "client",
|
|
274
|
+
...opts
|
|
275
|
+
});
|
|
276
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
277
|
+
}
|
|
278
|
+
};
|
|
279
|
+
var AddressRoleType = {
|
|
280
|
+
BILLING_ADDRESS: "BillingAddress",
|
|
281
|
+
CONTACT_ADDRESS: "ContactAddress",
|
|
282
|
+
TAX_ADDRESS: "TaxAddress"
|
|
283
|
+
};
|
|
284
|
+
var PersonType = {
|
|
285
|
+
BUSINESS: "Business",
|
|
286
|
+
LEGAL_PERSON: "Legal Person",
|
|
287
|
+
PHYSICAL_PERSON: "Physical Person"
|
|
288
|
+
};
|
|
289
|
+
var IndonesiaTaxRegistrationNumberType = {
|
|
290
|
+
NIK: "NIK",
|
|
291
|
+
NITKU: "NITKU",
|
|
292
|
+
NPWP: "NPWP",
|
|
293
|
+
PASSPORT_NUMBER: "PassportNumber"
|
|
294
|
+
};
|
|
295
|
+
var IsraelCustomerType = {
|
|
296
|
+
BUSINESS: "Business",
|
|
297
|
+
INDIVIDUAL: "Individual"
|
|
298
|
+
};
|
|
299
|
+
var IsraelDealerType = {
|
|
300
|
+
AUTHORIZED: "Authorized",
|
|
301
|
+
NON_AUTHORIZED: "Non-authorized"
|
|
302
|
+
};
|
|
303
|
+
var MalaysiaServiceTaxCode = {
|
|
304
|
+
CONSULTANCY: "Consultancy",
|
|
305
|
+
DIGITAL_SVC_ELECTRONIC_MEDIUM: "Digital Service And Electronic Medium",
|
|
306
|
+
IT_SERVICES: "IT Services",
|
|
307
|
+
TRAINING_OR_COACHING: "Training Or Coaching"
|
|
308
|
+
};
|
|
309
|
+
var TaxRegistrationNumberType = {
|
|
310
|
+
LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber",
|
|
311
|
+
TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber"
|
|
312
|
+
};
|
|
313
|
+
var SaudiArabiaTaxRegistrationNumberType = {
|
|
314
|
+
COMMERCIAL_REGISTRATION_NUMBER: "CommercialRegistrationNumber",
|
|
315
|
+
TAX_IDENTIFICATION_NUMBER: "TaxIdentificationNumber",
|
|
316
|
+
TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber"
|
|
317
|
+
};
|
|
318
|
+
var RegistrationType = {
|
|
319
|
+
INTRA_EU: "Intra-EU",
|
|
320
|
+
LOCAL: "Local"
|
|
321
|
+
};
|
|
322
|
+
var Industries = {
|
|
323
|
+
BANKS: "Banks",
|
|
324
|
+
CIRCULATING_ORG: "CirculatingOrg",
|
|
325
|
+
DEVELOPMENT_AGENCIES: "DevelopmentAgencies",
|
|
326
|
+
INSURANCE: "Insurance",
|
|
327
|
+
PENSION_AND_BENEFIT_FUNDS: "PensionAndBenefitFunds",
|
|
328
|
+
PROFESSIONAL_ORG: "ProfessionalOrg"
|
|
329
|
+
};
|
|
330
|
+
var UkraineTrnType = {
|
|
331
|
+
BUSINESS: "Business",
|
|
332
|
+
INDIVIDUAL: "Individual"
|
|
333
|
+
};
|
|
334
|
+
var UzbekistanTaxRegistrationNumberType = {
|
|
335
|
+
BUSINESS: "Business",
|
|
336
|
+
INDIVIDUAL: "Individual"
|
|
337
|
+
};
|
|
338
|
+
var TaxRegistrationType = {
|
|
339
|
+
CNPJ: "CNPJ",
|
|
340
|
+
CPF: "CPF",
|
|
341
|
+
GST: "GST",
|
|
342
|
+
NRIC: "NRIC",
|
|
343
|
+
SST: "SST",
|
|
344
|
+
TIN: "TIN",
|
|
345
|
+
VAT: "VAT"
|
|
346
|
+
};
|
|
347
|
+
var Sector = {
|
|
348
|
+
BUSINESS: "Business",
|
|
349
|
+
INDIVIDUAL: "Individual",
|
|
350
|
+
PUBLIC_INSTITUTIONS: "Government"
|
|
351
|
+
};
|
|
352
|
+
var TaxRegistrationStatus = {
|
|
353
|
+
DELETED: "Deleted",
|
|
354
|
+
PENDING: "Pending",
|
|
355
|
+
REJECTED: "Rejected",
|
|
356
|
+
VERIFIED: "Verified"
|
|
357
|
+
};
|
|
358
|
+
var AttachmentUploadException = class _AttachmentUploadException extends TaxSettingsServiceException {
|
|
359
|
+
static {
|
|
360
|
+
__name(this, "AttachmentUploadException");
|
|
361
|
+
}
|
|
362
|
+
name = "AttachmentUploadException";
|
|
363
|
+
$fault = "client";
|
|
364
|
+
/**
|
|
365
|
+
* @internal
|
|
366
|
+
*/
|
|
367
|
+
constructor(opts) {
|
|
368
|
+
super({
|
|
369
|
+
name: "AttachmentUploadException",
|
|
370
|
+
$fault: "client",
|
|
371
|
+
...opts
|
|
372
|
+
});
|
|
373
|
+
Object.setPrototypeOf(this, _AttachmentUploadException.prototype);
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
var ConflictException = class _ConflictException extends TaxSettingsServiceException {
|
|
377
|
+
static {
|
|
378
|
+
__name(this, "ConflictException");
|
|
379
|
+
}
|
|
380
|
+
name = "ConflictException";
|
|
381
|
+
$fault = "client";
|
|
382
|
+
/**
|
|
383
|
+
* <p>409</p>
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
errorCode;
|
|
387
|
+
/**
|
|
388
|
+
* @internal
|
|
389
|
+
*/
|
|
390
|
+
constructor(opts) {
|
|
391
|
+
super({
|
|
392
|
+
name: "ConflictException",
|
|
393
|
+
$fault: "client",
|
|
394
|
+
...opts
|
|
395
|
+
});
|
|
396
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
397
|
+
this.errorCode = opts.errorCode;
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
var InternalServerException = class _InternalServerException extends TaxSettingsServiceException {
|
|
401
|
+
static {
|
|
402
|
+
__name(this, "InternalServerException");
|
|
403
|
+
}
|
|
404
|
+
name = "InternalServerException";
|
|
405
|
+
$fault = "server";
|
|
406
|
+
/**
|
|
407
|
+
* <p>500</p>
|
|
408
|
+
* @public
|
|
409
|
+
*/
|
|
410
|
+
errorCode;
|
|
411
|
+
/**
|
|
412
|
+
* @internal
|
|
413
|
+
*/
|
|
414
|
+
constructor(opts) {
|
|
415
|
+
super({
|
|
416
|
+
name: "InternalServerException",
|
|
417
|
+
$fault: "server",
|
|
418
|
+
...opts
|
|
419
|
+
});
|
|
420
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
421
|
+
this.errorCode = opts.errorCode;
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
var ValidationExceptionErrorCode = {
|
|
425
|
+
EXPIRED_TOKEN: "ExpiredToken",
|
|
426
|
+
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
427
|
+
INVALID_TOKEN: "InvalidToken",
|
|
428
|
+
MALFORMED_TOKEN: "MalformedToken",
|
|
429
|
+
MISSING_INPUT: "MissingInput"
|
|
430
|
+
};
|
|
431
|
+
var ValidationException = class _ValidationException extends TaxSettingsServiceException {
|
|
432
|
+
static {
|
|
433
|
+
__name(this, "ValidationException");
|
|
434
|
+
}
|
|
435
|
+
name = "ValidationException";
|
|
436
|
+
$fault = "client";
|
|
437
|
+
/**
|
|
438
|
+
* <p>400</p>
|
|
439
|
+
* @public
|
|
440
|
+
*/
|
|
441
|
+
errorCode;
|
|
442
|
+
/**
|
|
443
|
+
* <p>400</p>
|
|
444
|
+
* @public
|
|
445
|
+
*/
|
|
446
|
+
fieldList;
|
|
447
|
+
/**
|
|
448
|
+
* @internal
|
|
449
|
+
*/
|
|
450
|
+
constructor(opts) {
|
|
451
|
+
super({
|
|
452
|
+
name: "ValidationException",
|
|
453
|
+
$fault: "client",
|
|
454
|
+
...opts
|
|
455
|
+
});
|
|
456
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
457
|
+
this.errorCode = opts.errorCode;
|
|
458
|
+
this.fieldList = opts.fieldList;
|
|
459
|
+
}
|
|
460
|
+
};
|
|
461
|
+
var EntityExemptionAccountStatus = {
|
|
462
|
+
Expired: "Expired",
|
|
463
|
+
None: "None",
|
|
464
|
+
Pending: "Pending",
|
|
465
|
+
Valid: "Valid"
|
|
466
|
+
};
|
|
467
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends TaxSettingsServiceException {
|
|
468
|
+
static {
|
|
469
|
+
__name(this, "ResourceNotFoundException");
|
|
470
|
+
}
|
|
471
|
+
name = "ResourceNotFoundException";
|
|
472
|
+
$fault = "client";
|
|
473
|
+
/**
|
|
474
|
+
* <p>404</p>
|
|
475
|
+
* @public
|
|
476
|
+
*/
|
|
477
|
+
errorCode;
|
|
478
|
+
/**
|
|
479
|
+
* @internal
|
|
480
|
+
*/
|
|
481
|
+
constructor(opts) {
|
|
482
|
+
super({
|
|
483
|
+
name: "ResourceNotFoundException",
|
|
484
|
+
$fault: "client",
|
|
485
|
+
...opts
|
|
486
|
+
});
|
|
487
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
488
|
+
this.errorCode = opts.errorCode;
|
|
489
|
+
}
|
|
490
|
+
};
|
|
491
|
+
var CaseCreationLimitExceededException = class _CaseCreationLimitExceededException extends TaxSettingsServiceException {
|
|
492
|
+
static {
|
|
493
|
+
__name(this, "CaseCreationLimitExceededException");
|
|
494
|
+
}
|
|
495
|
+
name = "CaseCreationLimitExceededException";
|
|
496
|
+
$fault = "client";
|
|
497
|
+
/**
|
|
498
|
+
* @internal
|
|
499
|
+
*/
|
|
500
|
+
constructor(opts) {
|
|
501
|
+
super({
|
|
502
|
+
name: "CaseCreationLimitExceededException",
|
|
503
|
+
$fault: "client",
|
|
504
|
+
...opts
|
|
505
|
+
});
|
|
506
|
+
Object.setPrototypeOf(this, _CaseCreationLimitExceededException.prototype);
|
|
507
|
+
}
|
|
508
|
+
};
|
|
509
|
+
var HeritageStatus = {
|
|
510
|
+
OptIn: "OptIn",
|
|
511
|
+
OptOut: "OptOut"
|
|
512
|
+
};
|
|
513
|
+
var SupplementalTaxRegistrationType = {
|
|
514
|
+
VAT: "VAT"
|
|
515
|
+
};
|
|
516
|
+
var AccountMetaDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
517
|
+
...obj
|
|
518
|
+
}), "AccountMetaDataFilterSensitiveLog");
|
|
519
|
+
var TaxRegistrationWithJurisdictionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
520
|
+
...obj
|
|
521
|
+
}), "TaxRegistrationWithJurisdictionFilterSensitiveLog");
|
|
522
|
+
var AccountDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
523
|
+
...obj,
|
|
524
|
+
...obj.taxRegistration && { taxRegistration: import_smithy_client.SENSITIVE_STRING },
|
|
525
|
+
...obj.accountMetaData && { accountMetaData: import_smithy_client.SENSITIVE_STRING }
|
|
526
|
+
}), "AccountDetailsFilterSensitiveLog");
|
|
527
|
+
var BatchDeleteTaxRegistrationErrorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
528
|
+
...obj,
|
|
529
|
+
...obj.message && { message: import_smithy_client.SENSITIVE_STRING }
|
|
530
|
+
}), "BatchDeleteTaxRegistrationErrorFilterSensitiveLog");
|
|
531
|
+
var BatchDeleteTaxRegistrationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
532
|
+
...obj,
|
|
533
|
+
...obj.errors && { errors: obj.errors.map((item) => BatchDeleteTaxRegistrationErrorFilterSensitiveLog(item)) }
|
|
534
|
+
}), "BatchDeleteTaxRegistrationResponseFilterSensitiveLog");
|
|
535
|
+
var TaxRegistrationEntryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
536
|
+
...obj
|
|
537
|
+
}), "TaxRegistrationEntryFilterSensitiveLog");
|
|
538
|
+
var BatchPutTaxRegistrationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
539
|
+
...obj,
|
|
540
|
+
...obj.taxRegistrationEntry && { taxRegistrationEntry: import_smithy_client.SENSITIVE_STRING }
|
|
541
|
+
}), "BatchPutTaxRegistrationRequestFilterSensitiveLog");
|
|
542
|
+
var BatchPutTaxRegistrationErrorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
543
|
+
...obj,
|
|
544
|
+
...obj.message && { message: import_smithy_client.SENSITIVE_STRING }
|
|
545
|
+
}), "BatchPutTaxRegistrationErrorFilterSensitiveLog");
|
|
546
|
+
var BatchPutTaxRegistrationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
547
|
+
...obj,
|
|
548
|
+
...obj.errors && { errors: obj.errors.map((item) => BatchPutTaxRegistrationErrorFilterSensitiveLog(item)) }
|
|
549
|
+
}), "BatchPutTaxRegistrationResponseFilterSensitiveLog");
|
|
550
|
+
var TaxRegistrationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
551
|
+
...obj
|
|
552
|
+
}), "TaxRegistrationFilterSensitiveLog");
|
|
553
|
+
var GetTaxRegistrationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
554
|
+
...obj,
|
|
555
|
+
...obj.taxRegistration && { taxRegistration: import_smithy_client.SENSITIVE_STRING }
|
|
556
|
+
}), "GetTaxRegistrationResponseFilterSensitiveLog");
|
|
557
|
+
var SupplementalTaxRegistrationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
558
|
+
...obj
|
|
559
|
+
}), "SupplementalTaxRegistrationFilterSensitiveLog");
|
|
560
|
+
var ListSupplementalTaxRegistrationsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
561
|
+
...obj,
|
|
562
|
+
...obj.taxRegistrations && { taxRegistrations: import_smithy_client.SENSITIVE_STRING }
|
|
563
|
+
}), "ListSupplementalTaxRegistrationsResponseFilterSensitiveLog");
|
|
564
|
+
var ListTaxRegistrationsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
565
|
+
...obj,
|
|
566
|
+
...obj.accountDetails && { accountDetails: import_smithy_client.SENSITIVE_STRING }
|
|
567
|
+
}), "ListTaxRegistrationsResponseFilterSensitiveLog");
|
|
568
|
+
var SupplementalTaxRegistrationEntryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
569
|
+
...obj
|
|
570
|
+
}), "SupplementalTaxRegistrationEntryFilterSensitiveLog");
|
|
571
|
+
var PutSupplementalTaxRegistrationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
572
|
+
...obj,
|
|
573
|
+
...obj.taxRegistrationEntry && { taxRegistrationEntry: import_smithy_client.SENSITIVE_STRING }
|
|
574
|
+
}), "PutSupplementalTaxRegistrationRequestFilterSensitiveLog");
|
|
575
|
+
var PutTaxRegistrationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
576
|
+
...obj,
|
|
577
|
+
...obj.taxRegistrationEntry && { taxRegistrationEntry: import_smithy_client.SENSITIVE_STRING }
|
|
578
|
+
}), "PutTaxRegistrationRequestFilterSensitiveLog");
|
|
579
|
+
|
|
580
|
+
// src/protocols/Aws_restJson1.ts
|
|
581
|
+
var import_core2 = require("@aws-sdk/core");
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
var se_BatchDeleteTaxRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
585
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
586
|
+
const headers = {
|
|
587
|
+
"content-type": "application/json"
|
|
588
|
+
};
|
|
589
|
+
b.bp("/BatchDeleteTaxRegistration");
|
|
590
|
+
let body;
|
|
591
|
+
body = JSON.stringify(
|
|
592
|
+
(0, import_smithy_client.take)(input, {
|
|
593
|
+
accountIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accountIds")
|
|
594
|
+
})
|
|
595
|
+
);
|
|
596
|
+
b.m("POST").h(headers).b(body);
|
|
597
|
+
return b.build();
|
|
598
|
+
}, "se_BatchDeleteTaxRegistrationCommand");
|
|
599
|
+
var se_BatchGetTaxExemptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
600
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
601
|
+
const headers = {
|
|
602
|
+
"content-type": "application/json"
|
|
603
|
+
};
|
|
604
|
+
b.bp("/BatchGetTaxExemptions");
|
|
605
|
+
let body;
|
|
606
|
+
body = JSON.stringify(
|
|
607
|
+
(0, import_smithy_client.take)(input, {
|
|
608
|
+
accountIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accountIds")
|
|
609
|
+
})
|
|
610
|
+
);
|
|
611
|
+
b.m("POST").h(headers).b(body);
|
|
612
|
+
return b.build();
|
|
613
|
+
}, "se_BatchGetTaxExemptionsCommand");
|
|
614
|
+
var se_BatchPutTaxRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
615
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
616
|
+
const headers = {
|
|
617
|
+
"content-type": "application/json"
|
|
618
|
+
};
|
|
619
|
+
b.bp("/BatchPutTaxRegistration");
|
|
620
|
+
let body;
|
|
621
|
+
body = JSON.stringify(
|
|
622
|
+
(0, import_smithy_client.take)(input, {
|
|
623
|
+
accountIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accountIds"),
|
|
624
|
+
taxRegistrationEntry: /* @__PURE__ */ __name((_) => se_TaxRegistrationEntry(_, context), "taxRegistrationEntry")
|
|
625
|
+
})
|
|
626
|
+
);
|
|
627
|
+
b.m("POST").h(headers).b(body);
|
|
628
|
+
return b.build();
|
|
629
|
+
}, "se_BatchPutTaxRegistrationCommand");
|
|
630
|
+
var se_DeleteSupplementalTaxRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
631
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
632
|
+
const headers = {
|
|
633
|
+
"content-type": "application/json"
|
|
634
|
+
};
|
|
635
|
+
b.bp("/DeleteSupplementalTaxRegistration");
|
|
636
|
+
let body;
|
|
637
|
+
body = JSON.stringify(
|
|
638
|
+
(0, import_smithy_client.take)(input, {
|
|
639
|
+
authorityId: []
|
|
640
|
+
})
|
|
641
|
+
);
|
|
642
|
+
b.m("POST").h(headers).b(body);
|
|
643
|
+
return b.build();
|
|
644
|
+
}, "se_DeleteSupplementalTaxRegistrationCommand");
|
|
645
|
+
var se_DeleteTaxRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
646
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
647
|
+
const headers = {
|
|
648
|
+
"content-type": "application/json"
|
|
649
|
+
};
|
|
650
|
+
b.bp("/DeleteTaxRegistration");
|
|
651
|
+
let body;
|
|
652
|
+
body = JSON.stringify(
|
|
653
|
+
(0, import_smithy_client.take)(input, {
|
|
654
|
+
accountId: []
|
|
655
|
+
})
|
|
656
|
+
);
|
|
657
|
+
b.m("POST").h(headers).b(body);
|
|
658
|
+
return b.build();
|
|
659
|
+
}, "se_DeleteTaxRegistrationCommand");
|
|
660
|
+
var se_GetTaxExemptionTypesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
661
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
662
|
+
const headers = {};
|
|
663
|
+
b.bp("/GetTaxExemptionTypes");
|
|
664
|
+
let body;
|
|
665
|
+
b.m("POST").h(headers).b(body);
|
|
666
|
+
return b.build();
|
|
667
|
+
}, "se_GetTaxExemptionTypesCommand");
|
|
668
|
+
var se_GetTaxInheritanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
669
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
670
|
+
const headers = {};
|
|
671
|
+
b.bp("/GetTaxInheritance");
|
|
672
|
+
let body;
|
|
673
|
+
b.m("POST").h(headers).b(body);
|
|
674
|
+
return b.build();
|
|
675
|
+
}, "se_GetTaxInheritanceCommand");
|
|
676
|
+
var se_GetTaxRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
677
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
678
|
+
const headers = {
|
|
679
|
+
"content-type": "application/json"
|
|
680
|
+
};
|
|
681
|
+
b.bp("/GetTaxRegistration");
|
|
682
|
+
let body;
|
|
683
|
+
body = JSON.stringify(
|
|
684
|
+
(0, import_smithy_client.take)(input, {
|
|
685
|
+
accountId: []
|
|
686
|
+
})
|
|
687
|
+
);
|
|
688
|
+
b.m("POST").h(headers).b(body);
|
|
689
|
+
return b.build();
|
|
690
|
+
}, "se_GetTaxRegistrationCommand");
|
|
691
|
+
var se_GetTaxRegistrationDocumentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
692
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
693
|
+
const headers = {
|
|
694
|
+
"content-type": "application/json"
|
|
695
|
+
};
|
|
696
|
+
b.bp("/GetTaxRegistrationDocument");
|
|
697
|
+
let body;
|
|
698
|
+
body = JSON.stringify(
|
|
699
|
+
(0, import_smithy_client.take)(input, {
|
|
700
|
+
destinationS3Location: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "destinationS3Location"),
|
|
701
|
+
taxDocumentMetadata: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "taxDocumentMetadata")
|
|
702
|
+
})
|
|
703
|
+
);
|
|
704
|
+
b.m("POST").h(headers).b(body);
|
|
705
|
+
return b.build();
|
|
706
|
+
}, "se_GetTaxRegistrationDocumentCommand");
|
|
707
|
+
var se_ListSupplementalTaxRegistrationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
708
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
709
|
+
const headers = {
|
|
710
|
+
"content-type": "application/json"
|
|
711
|
+
};
|
|
712
|
+
b.bp("/ListSupplementalTaxRegistrations");
|
|
713
|
+
let body;
|
|
714
|
+
body = JSON.stringify(
|
|
715
|
+
(0, import_smithy_client.take)(input, {
|
|
716
|
+
maxResults: [],
|
|
717
|
+
nextToken: []
|
|
718
|
+
})
|
|
719
|
+
);
|
|
720
|
+
b.m("POST").h(headers).b(body);
|
|
721
|
+
return b.build();
|
|
722
|
+
}, "se_ListSupplementalTaxRegistrationsCommand");
|
|
723
|
+
var se_ListTaxExemptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
724
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
725
|
+
const headers = {
|
|
726
|
+
"content-type": "application/json"
|
|
727
|
+
};
|
|
728
|
+
b.bp("/ListTaxExemptions");
|
|
729
|
+
let body;
|
|
730
|
+
body = JSON.stringify(
|
|
731
|
+
(0, import_smithy_client.take)(input, {
|
|
732
|
+
maxResults: [],
|
|
733
|
+
nextToken: []
|
|
734
|
+
})
|
|
735
|
+
);
|
|
736
|
+
b.m("POST").h(headers).b(body);
|
|
737
|
+
return b.build();
|
|
738
|
+
}, "se_ListTaxExemptionsCommand");
|
|
739
|
+
var se_ListTaxRegistrationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
740
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
741
|
+
const headers = {
|
|
742
|
+
"content-type": "application/json"
|
|
743
|
+
};
|
|
744
|
+
b.bp("/ListTaxRegistrations");
|
|
745
|
+
let body;
|
|
746
|
+
body = JSON.stringify(
|
|
747
|
+
(0, import_smithy_client.take)(input, {
|
|
748
|
+
maxResults: [],
|
|
749
|
+
nextToken: []
|
|
750
|
+
})
|
|
751
|
+
);
|
|
752
|
+
b.m("POST").h(headers).b(body);
|
|
753
|
+
return b.build();
|
|
754
|
+
}, "se_ListTaxRegistrationsCommand");
|
|
755
|
+
var se_PutSupplementalTaxRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
756
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
757
|
+
const headers = {
|
|
758
|
+
"content-type": "application/json"
|
|
759
|
+
};
|
|
760
|
+
b.bp("/PutSupplementalTaxRegistration");
|
|
761
|
+
let body;
|
|
762
|
+
body = JSON.stringify(
|
|
763
|
+
(0, import_smithy_client.take)(input, {
|
|
764
|
+
taxRegistrationEntry: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "taxRegistrationEntry")
|
|
765
|
+
})
|
|
766
|
+
);
|
|
767
|
+
b.m("POST").h(headers).b(body);
|
|
768
|
+
return b.build();
|
|
769
|
+
}, "se_PutSupplementalTaxRegistrationCommand");
|
|
770
|
+
var se_PutTaxExemptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
771
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
772
|
+
const headers = {
|
|
773
|
+
"content-type": "application/json"
|
|
774
|
+
};
|
|
775
|
+
b.bp("/PutTaxExemption");
|
|
776
|
+
let body;
|
|
777
|
+
body = JSON.stringify(
|
|
778
|
+
(0, import_smithy_client.take)(input, {
|
|
779
|
+
accountIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accountIds"),
|
|
780
|
+
authority: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "authority"),
|
|
781
|
+
exemptionCertificate: /* @__PURE__ */ __name((_) => se_ExemptionCertificate(_, context), "exemptionCertificate"),
|
|
782
|
+
exemptionType: []
|
|
783
|
+
})
|
|
784
|
+
);
|
|
785
|
+
b.m("POST").h(headers).b(body);
|
|
786
|
+
return b.build();
|
|
787
|
+
}, "se_PutTaxExemptionCommand");
|
|
788
|
+
var se_PutTaxInheritanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
789
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
790
|
+
const headers = {
|
|
791
|
+
"content-type": "application/json"
|
|
792
|
+
};
|
|
793
|
+
b.bp("/PutTaxInheritance");
|
|
794
|
+
let body;
|
|
795
|
+
body = JSON.stringify(
|
|
796
|
+
(0, import_smithy_client.take)(input, {
|
|
797
|
+
heritageStatus: []
|
|
798
|
+
})
|
|
799
|
+
);
|
|
800
|
+
b.m("POST").h(headers).b(body);
|
|
801
|
+
return b.build();
|
|
802
|
+
}, "se_PutTaxInheritanceCommand");
|
|
803
|
+
var se_PutTaxRegistrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
804
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
805
|
+
const headers = {
|
|
806
|
+
"content-type": "application/json"
|
|
807
|
+
};
|
|
808
|
+
b.bp("/PutTaxRegistration");
|
|
809
|
+
let body;
|
|
810
|
+
body = JSON.stringify(
|
|
811
|
+
(0, import_smithy_client.take)(input, {
|
|
812
|
+
accountId: [],
|
|
813
|
+
taxRegistrationEntry: /* @__PURE__ */ __name((_) => se_TaxRegistrationEntry(_, context), "taxRegistrationEntry")
|
|
814
|
+
})
|
|
815
|
+
);
|
|
816
|
+
b.m("POST").h(headers).b(body);
|
|
817
|
+
return b.build();
|
|
818
|
+
}, "se_PutTaxRegistrationCommand");
|
|
819
|
+
var de_BatchDeleteTaxRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
820
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
821
|
+
return de_CommandError(output, context);
|
|
822
|
+
}
|
|
823
|
+
const contents = (0, import_smithy_client.map)({
|
|
824
|
+
$metadata: deserializeMetadata(output)
|
|
825
|
+
});
|
|
826
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
827
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
828
|
+
errors: import_smithy_client._json
|
|
829
|
+
});
|
|
830
|
+
Object.assign(contents, doc);
|
|
831
|
+
return contents;
|
|
832
|
+
}, "de_BatchDeleteTaxRegistrationCommand");
|
|
833
|
+
var de_BatchGetTaxExemptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
834
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
835
|
+
return de_CommandError(output, context);
|
|
836
|
+
}
|
|
837
|
+
const contents = (0, import_smithy_client.map)({
|
|
838
|
+
$metadata: deserializeMetadata(output)
|
|
839
|
+
});
|
|
840
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
841
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
842
|
+
failedAccounts: import_smithy_client._json,
|
|
843
|
+
taxExemptionDetailsMap: /* @__PURE__ */ __name((_) => de_TaxExemptionDetailsMap(_, context), "taxExemptionDetailsMap")
|
|
844
|
+
});
|
|
845
|
+
Object.assign(contents, doc);
|
|
846
|
+
return contents;
|
|
847
|
+
}, "de_BatchGetTaxExemptionsCommand");
|
|
848
|
+
var de_BatchPutTaxRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
849
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
850
|
+
return de_CommandError(output, context);
|
|
851
|
+
}
|
|
852
|
+
const contents = (0, import_smithy_client.map)({
|
|
853
|
+
$metadata: deserializeMetadata(output)
|
|
854
|
+
});
|
|
855
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
856
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
857
|
+
errors: import_smithy_client._json,
|
|
858
|
+
status: import_smithy_client.expectString
|
|
859
|
+
});
|
|
860
|
+
Object.assign(contents, doc);
|
|
861
|
+
return contents;
|
|
862
|
+
}, "de_BatchPutTaxRegistrationCommand");
|
|
863
|
+
var de_DeleteSupplementalTaxRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
864
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
865
|
+
return de_CommandError(output, context);
|
|
866
|
+
}
|
|
867
|
+
const contents = (0, import_smithy_client.map)({
|
|
868
|
+
$metadata: deserializeMetadata(output)
|
|
869
|
+
});
|
|
870
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
871
|
+
return contents;
|
|
872
|
+
}, "de_DeleteSupplementalTaxRegistrationCommand");
|
|
873
|
+
var de_DeleteTaxRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
874
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
875
|
+
return de_CommandError(output, context);
|
|
876
|
+
}
|
|
877
|
+
const contents = (0, import_smithy_client.map)({
|
|
878
|
+
$metadata: deserializeMetadata(output)
|
|
879
|
+
});
|
|
880
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
881
|
+
return contents;
|
|
882
|
+
}, "de_DeleteTaxRegistrationCommand");
|
|
883
|
+
var de_GetTaxExemptionTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
884
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
885
|
+
return de_CommandError(output, context);
|
|
886
|
+
}
|
|
887
|
+
const contents = (0, import_smithy_client.map)({
|
|
888
|
+
$metadata: deserializeMetadata(output)
|
|
889
|
+
});
|
|
890
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
891
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
892
|
+
taxExemptionTypes: import_smithy_client._json
|
|
893
|
+
});
|
|
894
|
+
Object.assign(contents, doc);
|
|
895
|
+
return contents;
|
|
896
|
+
}, "de_GetTaxExemptionTypesCommand");
|
|
897
|
+
var de_GetTaxInheritanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
898
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
899
|
+
return de_CommandError(output, context);
|
|
900
|
+
}
|
|
901
|
+
const contents = (0, import_smithy_client.map)({
|
|
902
|
+
$metadata: deserializeMetadata(output)
|
|
903
|
+
});
|
|
904
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
905
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
906
|
+
heritageStatus: import_smithy_client.expectString
|
|
907
|
+
});
|
|
908
|
+
Object.assign(contents, doc);
|
|
909
|
+
return contents;
|
|
910
|
+
}, "de_GetTaxInheritanceCommand");
|
|
911
|
+
var de_GetTaxRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
912
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
913
|
+
return de_CommandError(output, context);
|
|
914
|
+
}
|
|
915
|
+
const contents = (0, import_smithy_client.map)({
|
|
916
|
+
$metadata: deserializeMetadata(output)
|
|
917
|
+
});
|
|
918
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
919
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
920
|
+
taxRegistration: import_smithy_client._json
|
|
921
|
+
});
|
|
922
|
+
Object.assign(contents, doc);
|
|
923
|
+
return contents;
|
|
924
|
+
}, "de_GetTaxRegistrationCommand");
|
|
925
|
+
var de_GetTaxRegistrationDocumentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
926
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
927
|
+
return de_CommandError(output, context);
|
|
928
|
+
}
|
|
929
|
+
const contents = (0, import_smithy_client.map)({
|
|
930
|
+
$metadata: deserializeMetadata(output)
|
|
931
|
+
});
|
|
932
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
933
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
934
|
+
destinationFilePath: import_smithy_client.expectString,
|
|
935
|
+
presignedS3Url: import_smithy_client.expectString
|
|
936
|
+
});
|
|
937
|
+
Object.assign(contents, doc);
|
|
938
|
+
return contents;
|
|
939
|
+
}, "de_GetTaxRegistrationDocumentCommand");
|
|
940
|
+
var de_ListSupplementalTaxRegistrationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
941
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
942
|
+
return de_CommandError(output, context);
|
|
943
|
+
}
|
|
944
|
+
const contents = (0, import_smithy_client.map)({
|
|
945
|
+
$metadata: deserializeMetadata(output)
|
|
946
|
+
});
|
|
947
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
948
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
949
|
+
nextToken: import_smithy_client.expectString,
|
|
950
|
+
taxRegistrations: import_smithy_client._json
|
|
951
|
+
});
|
|
952
|
+
Object.assign(contents, doc);
|
|
953
|
+
return contents;
|
|
954
|
+
}, "de_ListSupplementalTaxRegistrationsCommand");
|
|
955
|
+
var de_ListTaxExemptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
956
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
957
|
+
return de_CommandError(output, context);
|
|
958
|
+
}
|
|
959
|
+
const contents = (0, import_smithy_client.map)({
|
|
960
|
+
$metadata: deserializeMetadata(output)
|
|
961
|
+
});
|
|
962
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
963
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
964
|
+
nextToken: import_smithy_client.expectString,
|
|
965
|
+
taxExemptionDetailsMap: /* @__PURE__ */ __name((_) => de_TaxExemptionDetailsMap(_, context), "taxExemptionDetailsMap")
|
|
966
|
+
});
|
|
967
|
+
Object.assign(contents, doc);
|
|
968
|
+
return contents;
|
|
969
|
+
}, "de_ListTaxExemptionsCommand");
|
|
970
|
+
var de_ListTaxRegistrationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
971
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
972
|
+
return de_CommandError(output, context);
|
|
973
|
+
}
|
|
974
|
+
const contents = (0, import_smithy_client.map)({
|
|
975
|
+
$metadata: deserializeMetadata(output)
|
|
976
|
+
});
|
|
977
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
978
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
979
|
+
accountDetails: import_smithy_client._json,
|
|
980
|
+
nextToken: import_smithy_client.expectString
|
|
981
|
+
});
|
|
982
|
+
Object.assign(contents, doc);
|
|
983
|
+
return contents;
|
|
984
|
+
}, "de_ListTaxRegistrationsCommand");
|
|
985
|
+
var de_PutSupplementalTaxRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
986
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
987
|
+
return de_CommandError(output, context);
|
|
988
|
+
}
|
|
989
|
+
const contents = (0, import_smithy_client.map)({
|
|
990
|
+
$metadata: deserializeMetadata(output)
|
|
991
|
+
});
|
|
992
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
993
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
994
|
+
authorityId: import_smithy_client.expectString,
|
|
995
|
+
status: import_smithy_client.expectString
|
|
996
|
+
});
|
|
997
|
+
Object.assign(contents, doc);
|
|
998
|
+
return contents;
|
|
999
|
+
}, "de_PutSupplementalTaxRegistrationCommand");
|
|
1000
|
+
var de_PutTaxExemptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1001
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1002
|
+
return de_CommandError(output, context);
|
|
1003
|
+
}
|
|
1004
|
+
const contents = (0, import_smithy_client.map)({
|
|
1005
|
+
$metadata: deserializeMetadata(output)
|
|
1006
|
+
});
|
|
1007
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1008
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1009
|
+
caseId: import_smithy_client.expectString
|
|
1010
|
+
});
|
|
1011
|
+
Object.assign(contents, doc);
|
|
1012
|
+
return contents;
|
|
1013
|
+
}, "de_PutTaxExemptionCommand");
|
|
1014
|
+
var de_PutTaxInheritanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1015
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1016
|
+
return de_CommandError(output, context);
|
|
1017
|
+
}
|
|
1018
|
+
const contents = (0, import_smithy_client.map)({
|
|
1019
|
+
$metadata: deserializeMetadata(output)
|
|
1020
|
+
});
|
|
1021
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1022
|
+
return contents;
|
|
1023
|
+
}, "de_PutTaxInheritanceCommand");
|
|
1024
|
+
var de_PutTaxRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1025
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1026
|
+
return de_CommandError(output, context);
|
|
1027
|
+
}
|
|
1028
|
+
const contents = (0, import_smithy_client.map)({
|
|
1029
|
+
$metadata: deserializeMetadata(output)
|
|
1030
|
+
});
|
|
1031
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1032
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1033
|
+
status: import_smithy_client.expectString
|
|
1034
|
+
});
|
|
1035
|
+
Object.assign(contents, doc);
|
|
1036
|
+
return contents;
|
|
1037
|
+
}, "de_PutTaxRegistrationCommand");
|
|
1038
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1039
|
+
const parsedOutput = {
|
|
1040
|
+
...output,
|
|
1041
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1042
|
+
};
|
|
1043
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1044
|
+
switch (errorCode) {
|
|
1045
|
+
case "ConflictException":
|
|
1046
|
+
case "com.amazonaws.taxsettings#ConflictException":
|
|
1047
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1048
|
+
case "InternalServerException":
|
|
1049
|
+
case "com.amazonaws.taxsettings#InternalServerException":
|
|
1050
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1051
|
+
case "ValidationException":
|
|
1052
|
+
case "com.amazonaws.taxsettings#ValidationException":
|
|
1053
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1054
|
+
case "ResourceNotFoundException":
|
|
1055
|
+
case "com.amazonaws.taxsettings#ResourceNotFoundException":
|
|
1056
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1057
|
+
case "AccessDeniedException":
|
|
1058
|
+
case "com.amazonaws.taxsettings#AccessDeniedException":
|
|
1059
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1060
|
+
case "AttachmentUploadException":
|
|
1061
|
+
case "com.amazonaws.taxsettings#AttachmentUploadException":
|
|
1062
|
+
throw await de_AttachmentUploadExceptionRes(parsedOutput, context);
|
|
1063
|
+
case "CaseCreationLimitExceededException":
|
|
1064
|
+
case "com.amazonaws.taxsettings#CaseCreationLimitExceededException":
|
|
1065
|
+
throw await de_CaseCreationLimitExceededExceptionRes(parsedOutput, context);
|
|
1066
|
+
default:
|
|
1067
|
+
const parsedBody = parsedOutput.body;
|
|
1068
|
+
return throwDefaultError({
|
|
1069
|
+
output,
|
|
1070
|
+
parsedBody,
|
|
1071
|
+
errorCode
|
|
1072
|
+
});
|
|
1073
|
+
}
|
|
1074
|
+
}, "de_CommandError");
|
|
1075
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(TaxSettingsServiceException);
|
|
1076
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1077
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1078
|
+
const data = parsedOutput.body;
|
|
1079
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1080
|
+
message: import_smithy_client.expectString
|
|
1081
|
+
});
|
|
1082
|
+
Object.assign(contents, doc);
|
|
1083
|
+
const exception = new AccessDeniedException({
|
|
1084
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1085
|
+
...contents
|
|
1086
|
+
});
|
|
1087
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1088
|
+
}, "de_AccessDeniedExceptionRes");
|
|
1089
|
+
var de_AttachmentUploadExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1090
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1091
|
+
const data = parsedOutput.body;
|
|
1092
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1093
|
+
message: import_smithy_client.expectString
|
|
1094
|
+
});
|
|
1095
|
+
Object.assign(contents, doc);
|
|
1096
|
+
const exception = new AttachmentUploadException({
|
|
1097
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1098
|
+
...contents
|
|
1099
|
+
});
|
|
1100
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1101
|
+
}, "de_AttachmentUploadExceptionRes");
|
|
1102
|
+
var de_CaseCreationLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1103
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1104
|
+
const data = parsedOutput.body;
|
|
1105
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1106
|
+
message: import_smithy_client.expectString
|
|
1107
|
+
});
|
|
1108
|
+
Object.assign(contents, doc);
|
|
1109
|
+
const exception = new CaseCreationLimitExceededException({
|
|
1110
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1111
|
+
...contents
|
|
1112
|
+
});
|
|
1113
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1114
|
+
}, "de_CaseCreationLimitExceededExceptionRes");
|
|
1115
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1116
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1117
|
+
const data = parsedOutput.body;
|
|
1118
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1119
|
+
errorCode: import_smithy_client.expectString,
|
|
1120
|
+
message: import_smithy_client.expectString
|
|
1121
|
+
});
|
|
1122
|
+
Object.assign(contents, doc);
|
|
1123
|
+
const exception = new ConflictException({
|
|
1124
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1125
|
+
...contents
|
|
1126
|
+
});
|
|
1127
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1128
|
+
}, "de_ConflictExceptionRes");
|
|
1129
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1130
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1131
|
+
const data = parsedOutput.body;
|
|
1132
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1133
|
+
errorCode: import_smithy_client.expectString,
|
|
1134
|
+
message: import_smithy_client.expectString
|
|
1135
|
+
});
|
|
1136
|
+
Object.assign(contents, doc);
|
|
1137
|
+
const exception = new InternalServerException({
|
|
1138
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1139
|
+
...contents
|
|
1140
|
+
});
|
|
1141
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1142
|
+
}, "de_InternalServerExceptionRes");
|
|
1143
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1144
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1145
|
+
const data = parsedOutput.body;
|
|
1146
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1147
|
+
errorCode: import_smithy_client.expectString,
|
|
1148
|
+
message: import_smithy_client.expectString
|
|
1149
|
+
});
|
|
1150
|
+
Object.assign(contents, doc);
|
|
1151
|
+
const exception = new ResourceNotFoundException({
|
|
1152
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1153
|
+
...contents
|
|
1154
|
+
});
|
|
1155
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1156
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1157
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1158
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1159
|
+
const data = parsedOutput.body;
|
|
1160
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1161
|
+
errorCode: import_smithy_client.expectString,
|
|
1162
|
+
fieldList: import_smithy_client._json,
|
|
1163
|
+
message: import_smithy_client.expectString
|
|
1164
|
+
});
|
|
1165
|
+
Object.assign(contents, doc);
|
|
1166
|
+
const exception = new ValidationException({
|
|
1167
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1168
|
+
...contents
|
|
1169
|
+
});
|
|
1170
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1171
|
+
}, "de_ValidationExceptionRes");
|
|
1172
|
+
var se_ExemptionCertificate = /* @__PURE__ */ __name((input, context) => {
|
|
1173
|
+
return (0, import_smithy_client.take)(input, {
|
|
1174
|
+
documentFile: context.base64Encoder,
|
|
1175
|
+
documentName: []
|
|
1176
|
+
});
|
|
1177
|
+
}, "se_ExemptionCertificate");
|
|
1178
|
+
var se_TaxRegistrationDocFile = /* @__PURE__ */ __name((input, context) => {
|
|
1179
|
+
return (0, import_smithy_client.take)(input, {
|
|
1180
|
+
fileContent: context.base64Encoder,
|
|
1181
|
+
fileName: []
|
|
1182
|
+
});
|
|
1183
|
+
}, "se_TaxRegistrationDocFile");
|
|
1184
|
+
var se_TaxRegistrationDocument = /* @__PURE__ */ __name((input, context) => {
|
|
1185
|
+
return (0, import_smithy_client.take)(input, {
|
|
1186
|
+
file: /* @__PURE__ */ __name((_) => se_TaxRegistrationDocFile(_, context), "file"),
|
|
1187
|
+
s3Location: import_smithy_client._json
|
|
1188
|
+
});
|
|
1189
|
+
}, "se_TaxRegistrationDocument");
|
|
1190
|
+
var se_TaxRegistrationDocuments = /* @__PURE__ */ __name((input, context) => {
|
|
1191
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
1192
|
+
return se_TaxRegistrationDocument(entry, context);
|
|
1193
|
+
});
|
|
1194
|
+
}, "se_TaxRegistrationDocuments");
|
|
1195
|
+
var se_TaxRegistrationEntry = /* @__PURE__ */ __name((input, context) => {
|
|
1196
|
+
return (0, import_smithy_client.take)(input, {
|
|
1197
|
+
additionalTaxInformation: import_smithy_client._json,
|
|
1198
|
+
certifiedEmailId: [],
|
|
1199
|
+
legalAddress: import_smithy_client._json,
|
|
1200
|
+
legalName: [],
|
|
1201
|
+
registrationId: [],
|
|
1202
|
+
registrationType: [],
|
|
1203
|
+
sector: [],
|
|
1204
|
+
verificationDetails: /* @__PURE__ */ __name((_) => se_VerificationDetails(_, context), "verificationDetails")
|
|
1205
|
+
});
|
|
1206
|
+
}, "se_TaxRegistrationEntry");
|
|
1207
|
+
var se_VerificationDetails = /* @__PURE__ */ __name((input, context) => {
|
|
1208
|
+
return (0, import_smithy_client.take)(input, {
|
|
1209
|
+
dateOfBirth: [],
|
|
1210
|
+
taxRegistrationDocuments: /* @__PURE__ */ __name((_) => se_TaxRegistrationDocuments(_, context), "taxRegistrationDocuments")
|
|
1211
|
+
});
|
|
1212
|
+
}, "se_VerificationDetails");
|
|
1213
|
+
var de_TaxExemption = /* @__PURE__ */ __name((output, context) => {
|
|
1214
|
+
return (0, import_smithy_client.take)(output, {
|
|
1215
|
+
authority: import_smithy_client._json,
|
|
1216
|
+
effectiveDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "effectiveDate"),
|
|
1217
|
+
expirationDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "expirationDate"),
|
|
1218
|
+
status: import_smithy_client.expectString,
|
|
1219
|
+
systemEffectiveDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "systemEffectiveDate"),
|
|
1220
|
+
taxExemptionType: import_smithy_client._json
|
|
1221
|
+
});
|
|
1222
|
+
}, "de_TaxExemption");
|
|
1223
|
+
var de_TaxExemptionDetails = /* @__PURE__ */ __name((output, context) => {
|
|
1224
|
+
return (0, import_smithy_client.take)(output, {
|
|
1225
|
+
heritageObtainedDetails: import_smithy_client.expectBoolean,
|
|
1226
|
+
heritageObtainedParentEntity: import_smithy_client.expectString,
|
|
1227
|
+
heritageObtainedReason: import_smithy_client.expectString,
|
|
1228
|
+
taxExemptions: /* @__PURE__ */ __name((_) => de_TaxExemptions(_, context), "taxExemptions")
|
|
1229
|
+
});
|
|
1230
|
+
}, "de_TaxExemptionDetails");
|
|
1231
|
+
var de_TaxExemptionDetailsMap = /* @__PURE__ */ __name((output, context) => {
|
|
1232
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1233
|
+
if (value === null) {
|
|
1234
|
+
return acc;
|
|
1235
|
+
}
|
|
1236
|
+
acc[key] = de_TaxExemptionDetails(value, context);
|
|
1237
|
+
return acc;
|
|
1238
|
+
}, {});
|
|
1239
|
+
}, "de_TaxExemptionDetailsMap");
|
|
1240
|
+
var de_TaxExemptions = /* @__PURE__ */ __name((output, context) => {
|
|
1241
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1242
|
+
return de_TaxExemption(entry, context);
|
|
1243
|
+
});
|
|
1244
|
+
return retVal;
|
|
1245
|
+
}, "de_TaxExemptions");
|
|
1246
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1247
|
+
httpStatusCode: output.statusCode,
|
|
1248
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1249
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1250
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1251
|
+
}), "deserializeMetadata");
|
|
1252
|
+
|
|
1253
|
+
// src/commands/BatchDeleteTaxRegistrationCommand.ts
|
|
1254
|
+
var BatchDeleteTaxRegistrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1255
|
+
return [
|
|
1256
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1257
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1258
|
+
];
|
|
1259
|
+
}).s("TaxSettings", "BatchDeleteTaxRegistration", {}).n("TaxSettingsClient", "BatchDeleteTaxRegistrationCommand").f(void 0, BatchDeleteTaxRegistrationResponseFilterSensitiveLog).ser(se_BatchDeleteTaxRegistrationCommand).de(de_BatchDeleteTaxRegistrationCommand).build() {
|
|
1260
|
+
static {
|
|
1261
|
+
__name(this, "BatchDeleteTaxRegistrationCommand");
|
|
1262
|
+
}
|
|
1263
|
+
};
|
|
1264
|
+
|
|
1265
|
+
// src/commands/BatchGetTaxExemptionsCommand.ts
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
var BatchGetTaxExemptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1270
|
+
return [
|
|
1271
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1272
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1273
|
+
];
|
|
1274
|
+
}).s("TaxSettings", "BatchGetTaxExemptions", {}).n("TaxSettingsClient", "BatchGetTaxExemptionsCommand").f(void 0, void 0).ser(se_BatchGetTaxExemptionsCommand).de(de_BatchGetTaxExemptionsCommand).build() {
|
|
1275
|
+
static {
|
|
1276
|
+
__name(this, "BatchGetTaxExemptionsCommand");
|
|
1277
|
+
}
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
// src/commands/BatchPutTaxRegistrationCommand.ts
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
var BatchPutTaxRegistrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1285
|
+
return [
|
|
1286
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1287
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1288
|
+
];
|
|
1289
|
+
}).s("TaxSettings", "BatchPutTaxRegistration", {}).n("TaxSettingsClient", "BatchPutTaxRegistrationCommand").f(BatchPutTaxRegistrationRequestFilterSensitiveLog, BatchPutTaxRegistrationResponseFilterSensitiveLog).ser(se_BatchPutTaxRegistrationCommand).de(de_BatchPutTaxRegistrationCommand).build() {
|
|
1290
|
+
static {
|
|
1291
|
+
__name(this, "BatchPutTaxRegistrationCommand");
|
|
1292
|
+
}
|
|
1293
|
+
};
|
|
1294
|
+
|
|
1295
|
+
// src/commands/DeleteSupplementalTaxRegistrationCommand.ts
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
var DeleteSupplementalTaxRegistrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1300
|
+
return [
|
|
1301
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1302
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1303
|
+
];
|
|
1304
|
+
}).s("TaxSettings", "DeleteSupplementalTaxRegistration", {}).n("TaxSettingsClient", "DeleteSupplementalTaxRegistrationCommand").f(void 0, void 0).ser(se_DeleteSupplementalTaxRegistrationCommand).de(de_DeleteSupplementalTaxRegistrationCommand).build() {
|
|
1305
|
+
static {
|
|
1306
|
+
__name(this, "DeleteSupplementalTaxRegistrationCommand");
|
|
1307
|
+
}
|
|
1308
|
+
};
|
|
1309
|
+
|
|
1310
|
+
// src/commands/DeleteTaxRegistrationCommand.ts
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
var DeleteTaxRegistrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1315
|
+
return [
|
|
1316
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1317
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1318
|
+
];
|
|
1319
|
+
}).s("TaxSettings", "DeleteTaxRegistration", {}).n("TaxSettingsClient", "DeleteTaxRegistrationCommand").f(void 0, void 0).ser(se_DeleteTaxRegistrationCommand).de(de_DeleteTaxRegistrationCommand).build() {
|
|
1320
|
+
static {
|
|
1321
|
+
__name(this, "DeleteTaxRegistrationCommand");
|
|
1322
|
+
}
|
|
1323
|
+
};
|
|
1324
|
+
|
|
1325
|
+
// src/commands/GetTaxExemptionTypesCommand.ts
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
var GetTaxExemptionTypesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1330
|
+
return [
|
|
1331
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1332
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1333
|
+
];
|
|
1334
|
+
}).s("TaxSettings", "GetTaxExemptionTypes", {}).n("TaxSettingsClient", "GetTaxExemptionTypesCommand").f(void 0, void 0).ser(se_GetTaxExemptionTypesCommand).de(de_GetTaxExemptionTypesCommand).build() {
|
|
1335
|
+
static {
|
|
1336
|
+
__name(this, "GetTaxExemptionTypesCommand");
|
|
1337
|
+
}
|
|
1338
|
+
};
|
|
1339
|
+
|
|
1340
|
+
// src/commands/GetTaxInheritanceCommand.ts
|
|
1341
|
+
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
var GetTaxInheritanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1345
|
+
return [
|
|
1346
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1347
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1348
|
+
];
|
|
1349
|
+
}).s("TaxSettings", "GetTaxInheritance", {}).n("TaxSettingsClient", "GetTaxInheritanceCommand").f(void 0, void 0).ser(se_GetTaxInheritanceCommand).de(de_GetTaxInheritanceCommand).build() {
|
|
1350
|
+
static {
|
|
1351
|
+
__name(this, "GetTaxInheritanceCommand");
|
|
1352
|
+
}
|
|
1353
|
+
};
|
|
1354
|
+
|
|
1355
|
+
// src/commands/GetTaxRegistrationCommand.ts
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
var GetTaxRegistrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1360
|
+
return [
|
|
1361
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1362
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1363
|
+
];
|
|
1364
|
+
}).s("TaxSettings", "GetTaxRegistration", {}).n("TaxSettingsClient", "GetTaxRegistrationCommand").f(void 0, GetTaxRegistrationResponseFilterSensitiveLog).ser(se_GetTaxRegistrationCommand).de(de_GetTaxRegistrationCommand).build() {
|
|
1365
|
+
static {
|
|
1366
|
+
__name(this, "GetTaxRegistrationCommand");
|
|
1367
|
+
}
|
|
1368
|
+
};
|
|
1369
|
+
|
|
1370
|
+
// src/commands/GetTaxRegistrationDocumentCommand.ts
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
var GetTaxRegistrationDocumentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1375
|
+
return [
|
|
1376
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1377
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1378
|
+
];
|
|
1379
|
+
}).s("TaxSettings", "GetTaxRegistrationDocument", {}).n("TaxSettingsClient", "GetTaxRegistrationDocumentCommand").f(void 0, void 0).ser(se_GetTaxRegistrationDocumentCommand).de(de_GetTaxRegistrationDocumentCommand).build() {
|
|
1380
|
+
static {
|
|
1381
|
+
__name(this, "GetTaxRegistrationDocumentCommand");
|
|
1382
|
+
}
|
|
1383
|
+
};
|
|
1384
|
+
|
|
1385
|
+
// src/commands/ListSupplementalTaxRegistrationsCommand.ts
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
var ListSupplementalTaxRegistrationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1390
|
+
return [
|
|
1391
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1392
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1393
|
+
];
|
|
1394
|
+
}).s("TaxSettings", "ListSupplementalTaxRegistrations", {}).n("TaxSettingsClient", "ListSupplementalTaxRegistrationsCommand").f(void 0, ListSupplementalTaxRegistrationsResponseFilterSensitiveLog).ser(se_ListSupplementalTaxRegistrationsCommand).de(de_ListSupplementalTaxRegistrationsCommand).build() {
|
|
1395
|
+
static {
|
|
1396
|
+
__name(this, "ListSupplementalTaxRegistrationsCommand");
|
|
1397
|
+
}
|
|
1398
|
+
};
|
|
1399
|
+
|
|
1400
|
+
// src/commands/ListTaxExemptionsCommand.ts
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
var ListTaxExemptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1405
|
+
return [
|
|
1406
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1407
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1408
|
+
];
|
|
1409
|
+
}).s("TaxSettings", "ListTaxExemptions", {}).n("TaxSettingsClient", "ListTaxExemptionsCommand").f(void 0, void 0).ser(se_ListTaxExemptionsCommand).de(de_ListTaxExemptionsCommand).build() {
|
|
1410
|
+
static {
|
|
1411
|
+
__name(this, "ListTaxExemptionsCommand");
|
|
1412
|
+
}
|
|
1413
|
+
};
|
|
1414
|
+
|
|
1415
|
+
// src/commands/ListTaxRegistrationsCommand.ts
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
|
|
1419
|
+
var ListTaxRegistrationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1420
|
+
return [
|
|
1421
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1422
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1423
|
+
];
|
|
1424
|
+
}).s("TaxSettings", "ListTaxRegistrations", {}).n("TaxSettingsClient", "ListTaxRegistrationsCommand").f(void 0, ListTaxRegistrationsResponseFilterSensitiveLog).ser(se_ListTaxRegistrationsCommand).de(de_ListTaxRegistrationsCommand).build() {
|
|
1425
|
+
static {
|
|
1426
|
+
__name(this, "ListTaxRegistrationsCommand");
|
|
1427
|
+
}
|
|
1428
|
+
};
|
|
1429
|
+
|
|
1430
|
+
// src/commands/PutSupplementalTaxRegistrationCommand.ts
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
var PutSupplementalTaxRegistrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1435
|
+
return [
|
|
1436
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1437
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1438
|
+
];
|
|
1439
|
+
}).s("TaxSettings", "PutSupplementalTaxRegistration", {}).n("TaxSettingsClient", "PutSupplementalTaxRegistrationCommand").f(PutSupplementalTaxRegistrationRequestFilterSensitiveLog, void 0).ser(se_PutSupplementalTaxRegistrationCommand).de(de_PutSupplementalTaxRegistrationCommand).build() {
|
|
1440
|
+
static {
|
|
1441
|
+
__name(this, "PutSupplementalTaxRegistrationCommand");
|
|
1442
|
+
}
|
|
1443
|
+
};
|
|
1444
|
+
|
|
1445
|
+
// src/commands/PutTaxExemptionCommand.ts
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
var PutTaxExemptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1450
|
+
return [
|
|
1451
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1452
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1453
|
+
];
|
|
1454
|
+
}).s("TaxSettings", "PutTaxExemption", {}).n("TaxSettingsClient", "PutTaxExemptionCommand").f(void 0, void 0).ser(se_PutTaxExemptionCommand).de(de_PutTaxExemptionCommand).build() {
|
|
1455
|
+
static {
|
|
1456
|
+
__name(this, "PutTaxExemptionCommand");
|
|
1457
|
+
}
|
|
1458
|
+
};
|
|
1459
|
+
|
|
1460
|
+
// src/commands/PutTaxInheritanceCommand.ts
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
|
|
1464
|
+
var PutTaxInheritanceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1465
|
+
return [
|
|
1466
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1467
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1468
|
+
];
|
|
1469
|
+
}).s("TaxSettings", "PutTaxInheritance", {}).n("TaxSettingsClient", "PutTaxInheritanceCommand").f(void 0, void 0).ser(se_PutTaxInheritanceCommand).de(de_PutTaxInheritanceCommand).build() {
|
|
1470
|
+
static {
|
|
1471
|
+
__name(this, "PutTaxInheritanceCommand");
|
|
1472
|
+
}
|
|
1473
|
+
};
|
|
1474
|
+
|
|
1475
|
+
// src/commands/PutTaxRegistrationCommand.ts
|
|
1476
|
+
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
var PutTaxRegistrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1480
|
+
return [
|
|
1481
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1482
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1483
|
+
];
|
|
1484
|
+
}).s("TaxSettings", "PutTaxRegistration", {}).n("TaxSettingsClient", "PutTaxRegistrationCommand").f(PutTaxRegistrationRequestFilterSensitiveLog, void 0).ser(se_PutTaxRegistrationCommand).de(de_PutTaxRegistrationCommand).build() {
|
|
1485
|
+
static {
|
|
1486
|
+
__name(this, "PutTaxRegistrationCommand");
|
|
1487
|
+
}
|
|
1488
|
+
};
|
|
1489
|
+
|
|
1490
|
+
// src/TaxSettings.ts
|
|
1491
|
+
var commands = {
|
|
1492
|
+
BatchDeleteTaxRegistrationCommand,
|
|
1493
|
+
BatchGetTaxExemptionsCommand,
|
|
1494
|
+
BatchPutTaxRegistrationCommand,
|
|
1495
|
+
DeleteSupplementalTaxRegistrationCommand,
|
|
1496
|
+
DeleteTaxRegistrationCommand,
|
|
1497
|
+
GetTaxExemptionTypesCommand,
|
|
1498
|
+
GetTaxInheritanceCommand,
|
|
1499
|
+
GetTaxRegistrationCommand,
|
|
1500
|
+
GetTaxRegistrationDocumentCommand,
|
|
1501
|
+
ListSupplementalTaxRegistrationsCommand,
|
|
1502
|
+
ListTaxExemptionsCommand,
|
|
1503
|
+
ListTaxRegistrationsCommand,
|
|
1504
|
+
PutSupplementalTaxRegistrationCommand,
|
|
1505
|
+
PutTaxExemptionCommand,
|
|
1506
|
+
PutTaxInheritanceCommand,
|
|
1507
|
+
PutTaxRegistrationCommand
|
|
1508
|
+
};
|
|
1509
|
+
var TaxSettings = class extends TaxSettingsClient {
|
|
1510
|
+
static {
|
|
1511
|
+
__name(this, "TaxSettings");
|
|
1512
|
+
}
|
|
1513
|
+
};
|
|
1514
|
+
(0, import_smithy_client.createAggregatedClient)(commands, TaxSettings);
|
|
1515
|
+
|
|
1516
|
+
// src/pagination/ListSupplementalTaxRegistrationsPaginator.ts
|
|
1517
|
+
|
|
1518
|
+
var paginateListSupplementalTaxRegistrations = (0, import_core.createPaginator)(TaxSettingsClient, ListSupplementalTaxRegistrationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1519
|
+
|
|
1520
|
+
// src/pagination/ListTaxExemptionsPaginator.ts
|
|
1521
|
+
|
|
1522
|
+
var paginateListTaxExemptions = (0, import_core.createPaginator)(TaxSettingsClient, ListTaxExemptionsCommand, "nextToken", "nextToken", "maxResults");
|
|
1523
|
+
|
|
1524
|
+
// src/pagination/ListTaxRegistrationsPaginator.ts
|
|
1525
|
+
|
|
1526
|
+
var paginateListTaxRegistrations = (0, import_core.createPaginator)(TaxSettingsClient, ListTaxRegistrationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1527
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1528
|
+
|
|
1529
|
+
0 && (module.exports = {
|
|
1530
|
+
TaxSettingsServiceException,
|
|
1531
|
+
__Client,
|
|
1532
|
+
TaxSettingsClient,
|
|
1533
|
+
TaxSettings,
|
|
1534
|
+
$Command,
|
|
1535
|
+
BatchDeleteTaxRegistrationCommand,
|
|
1536
|
+
BatchGetTaxExemptionsCommand,
|
|
1537
|
+
BatchPutTaxRegistrationCommand,
|
|
1538
|
+
DeleteSupplementalTaxRegistrationCommand,
|
|
1539
|
+
DeleteTaxRegistrationCommand,
|
|
1540
|
+
GetTaxExemptionTypesCommand,
|
|
1541
|
+
GetTaxInheritanceCommand,
|
|
1542
|
+
GetTaxRegistrationCommand,
|
|
1543
|
+
GetTaxRegistrationDocumentCommand,
|
|
1544
|
+
ListSupplementalTaxRegistrationsCommand,
|
|
1545
|
+
ListTaxExemptionsCommand,
|
|
1546
|
+
ListTaxRegistrationsCommand,
|
|
1547
|
+
PutSupplementalTaxRegistrationCommand,
|
|
1548
|
+
PutTaxExemptionCommand,
|
|
1549
|
+
PutTaxInheritanceCommand,
|
|
1550
|
+
PutTaxRegistrationCommand,
|
|
1551
|
+
paginateListSupplementalTaxRegistrations,
|
|
1552
|
+
paginateListTaxExemptions,
|
|
1553
|
+
paginateListTaxRegistrations,
|
|
1554
|
+
AccessDeniedException,
|
|
1555
|
+
AddressRoleType,
|
|
1556
|
+
PersonType,
|
|
1557
|
+
IndonesiaTaxRegistrationNumberType,
|
|
1558
|
+
IsraelCustomerType,
|
|
1559
|
+
IsraelDealerType,
|
|
1560
|
+
MalaysiaServiceTaxCode,
|
|
1561
|
+
TaxRegistrationNumberType,
|
|
1562
|
+
SaudiArabiaTaxRegistrationNumberType,
|
|
1563
|
+
RegistrationType,
|
|
1564
|
+
Industries,
|
|
1565
|
+
UkraineTrnType,
|
|
1566
|
+
UzbekistanTaxRegistrationNumberType,
|
|
1567
|
+
TaxRegistrationType,
|
|
1568
|
+
Sector,
|
|
1569
|
+
TaxRegistrationStatus,
|
|
1570
|
+
AttachmentUploadException,
|
|
1571
|
+
ConflictException,
|
|
1572
|
+
InternalServerException,
|
|
1573
|
+
ValidationExceptionErrorCode,
|
|
1574
|
+
ValidationException,
|
|
1575
|
+
EntityExemptionAccountStatus,
|
|
1576
|
+
ResourceNotFoundException,
|
|
1577
|
+
CaseCreationLimitExceededException,
|
|
1578
|
+
HeritageStatus,
|
|
1579
|
+
SupplementalTaxRegistrationType,
|
|
1580
|
+
AccountMetaDataFilterSensitiveLog,
|
|
1581
|
+
TaxRegistrationWithJurisdictionFilterSensitiveLog,
|
|
1582
|
+
AccountDetailsFilterSensitiveLog,
|
|
1583
|
+
BatchDeleteTaxRegistrationErrorFilterSensitiveLog,
|
|
1584
|
+
BatchDeleteTaxRegistrationResponseFilterSensitiveLog,
|
|
1585
|
+
TaxRegistrationEntryFilterSensitiveLog,
|
|
1586
|
+
BatchPutTaxRegistrationRequestFilterSensitiveLog,
|
|
1587
|
+
BatchPutTaxRegistrationErrorFilterSensitiveLog,
|
|
1588
|
+
BatchPutTaxRegistrationResponseFilterSensitiveLog,
|
|
1589
|
+
TaxRegistrationFilterSensitiveLog,
|
|
1590
|
+
GetTaxRegistrationResponseFilterSensitiveLog,
|
|
1591
|
+
SupplementalTaxRegistrationFilterSensitiveLog,
|
|
1592
|
+
ListSupplementalTaxRegistrationsResponseFilterSensitiveLog,
|
|
1593
|
+
ListTaxRegistrationsResponseFilterSensitiveLog,
|
|
1594
|
+
SupplementalTaxRegistrationEntryFilterSensitiveLog,
|
|
1595
|
+
PutSupplementalTaxRegistrationRequestFilterSensitiveLog,
|
|
1596
|
+
PutTaxRegistrationRequestFilterSensitiveLog
|
|
1597
|
+
});
|
|
1598
|
+
|