@aws-sdk/client-taxsettings 3.693.0 → 3.699.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/README.md +55 -7
- package/dist-cjs/TaxSettings.js +12 -0
- package/dist-cjs/commands/BatchGetTaxExemptionsCommand.js +26 -0
- package/dist-cjs/commands/GetTaxExemptionTypesCommand.js +26 -0
- package/dist-cjs/commands/GetTaxInheritanceCommand.js +26 -0
- package/dist-cjs/commands/ListTaxExemptionsCommand.js +26 -0
- package/dist-cjs/commands/PutTaxExemptionCommand.js +26 -0
- package/dist-cjs/commands/PutTaxInheritanceCommand.js +26 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +50 -1
- package/dist-cjs/pagination/ListTaxExemptionsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +296 -3
- package/dist-es/TaxSettings.js +12 -0
- package/dist-es/commands/BatchGetTaxExemptionsCommand.js +22 -0
- package/dist-es/commands/GetTaxExemptionTypesCommand.js +22 -0
- package/dist-es/commands/GetTaxInheritanceCommand.js +22 -0
- package/dist-es/commands/ListTaxExemptionsCommand.js +22 -0
- package/dist-es/commands/PutTaxExemptionCommand.js +22 -0
- package/dist-es/commands/PutTaxInheritanceCommand.js +22 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +46 -0
- package/dist-es/pagination/ListTaxExemptionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +285 -4
- package/dist-types/TaxSettings.d.ts +46 -0
- package/dist-types/TaxSettingsClient.d.ts +8 -2
- package/dist-types/commands/BatchGetTaxExemptionsCommand.d.ts +115 -0
- package/dist-types/commands/BatchPutTaxRegistrationCommand.d.ts +4 -0
- package/dist-types/commands/GetTaxExemptionTypesCommand.d.ts +91 -0
- package/dist-types/commands/GetTaxInheritanceCommand.d.ts +80 -0
- package/dist-types/commands/GetTaxRegistrationDocumentCommand.d.ts +1 -0
- package/dist-types/commands/ListTaxExemptionsCommand.d.ts +112 -0
- package/dist-types/commands/PutTaxExemptionCommand.d.ts +105 -0
- package/dist-types/commands/PutTaxInheritanceCommand.d.ts +83 -0
- package/dist-types/commands/PutTaxRegistrationCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +404 -19
- package/dist-types/pagination/ListTaxExemptionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/TaxSettings.d.ts +106 -0
- package/dist-types/ts3.4/TaxSettingsClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/BatchGetTaxExemptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTaxExemptionTypesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTaxInheritanceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTaxExemptionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutTaxExemptionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PutTaxInheritanceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +117 -10
- package/dist-types/ts3.4/pagination/ListTaxExemptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +35 -35
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { TaxSettingsServiceException as __BaseException } from "./TaxSettingsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The access is denied for the Amazon Web Services Support API.
|
|
5
|
+
* </p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
9
|
+
readonly name: "AccessDeniedException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
|
+
}
|
|
3
16
|
/**
|
|
4
17
|
* <p> The details of the address associated with the TRN information. </p>
|
|
5
18
|
* @public
|
|
@@ -939,6 +952,40 @@ export interface AdditionalInfoRequest {
|
|
|
939
952
|
*/
|
|
940
953
|
saudiArabiaAdditionalInfo?: SaudiArabiaAdditionalInfo | undefined;
|
|
941
954
|
}
|
|
955
|
+
/**
|
|
956
|
+
* <p>Failed to upload the tax exemption document to Amazon Web Services Support case.
|
|
957
|
+
* </p>
|
|
958
|
+
* @public
|
|
959
|
+
*/
|
|
960
|
+
export declare class AttachmentUploadException extends __BaseException {
|
|
961
|
+
readonly name: "AttachmentUploadException";
|
|
962
|
+
readonly $fault: "client";
|
|
963
|
+
/**
|
|
964
|
+
* @internal
|
|
965
|
+
*/
|
|
966
|
+
constructor(opts: __ExceptionOptionType<AttachmentUploadException, __BaseException>);
|
|
967
|
+
}
|
|
968
|
+
/**
|
|
969
|
+
* <p>The address domain associate with the tax information.
|
|
970
|
+
* </p>
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
973
|
+
export interface Authority {
|
|
974
|
+
/**
|
|
975
|
+
* <p>
|
|
976
|
+
* The country code for the country that the address is in.
|
|
977
|
+
* </p>
|
|
978
|
+
* @public
|
|
979
|
+
*/
|
|
980
|
+
country: string | undefined;
|
|
981
|
+
/**
|
|
982
|
+
* <p>
|
|
983
|
+
* The state that the address is located.
|
|
984
|
+
* </p>
|
|
985
|
+
* @public
|
|
986
|
+
*/
|
|
987
|
+
state?: string | undefined;
|
|
988
|
+
}
|
|
942
989
|
/**
|
|
943
990
|
* @public
|
|
944
991
|
*/
|
|
@@ -1066,6 +1113,184 @@ export declare class ValidationException extends __BaseException {
|
|
|
1066
1113
|
*/
|
|
1067
1114
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
1068
1115
|
}
|
|
1116
|
+
/**
|
|
1117
|
+
* @public
|
|
1118
|
+
*/
|
|
1119
|
+
export interface BatchGetTaxExemptionsRequest {
|
|
1120
|
+
/**
|
|
1121
|
+
* <p>
|
|
1122
|
+
* List of unique account identifiers.
|
|
1123
|
+
* </p>
|
|
1124
|
+
* @public
|
|
1125
|
+
*/
|
|
1126
|
+
accountIds: string[] | undefined;
|
|
1127
|
+
}
|
|
1128
|
+
/**
|
|
1129
|
+
* @public
|
|
1130
|
+
* @enum
|
|
1131
|
+
*/
|
|
1132
|
+
export declare const EntityExemptionAccountStatus: {
|
|
1133
|
+
readonly Expired: "Expired";
|
|
1134
|
+
readonly None: "None";
|
|
1135
|
+
readonly Pending: "Pending";
|
|
1136
|
+
readonly Valid: "Valid";
|
|
1137
|
+
};
|
|
1138
|
+
/**
|
|
1139
|
+
* @public
|
|
1140
|
+
*/
|
|
1141
|
+
export type EntityExemptionAccountStatus = (typeof EntityExemptionAccountStatus)[keyof typeof EntityExemptionAccountStatus];
|
|
1142
|
+
/**
|
|
1143
|
+
* <p>The tax exemption type.
|
|
1144
|
+
* </p>
|
|
1145
|
+
* @public
|
|
1146
|
+
*/
|
|
1147
|
+
export interface TaxExemptionType {
|
|
1148
|
+
/**
|
|
1149
|
+
* <p>The tax exemption's type display name.
|
|
1150
|
+
* </p>
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
displayName?: string | undefined;
|
|
1154
|
+
/**
|
|
1155
|
+
* <p>The tax exemption's type description.
|
|
1156
|
+
* </p>
|
|
1157
|
+
* @public
|
|
1158
|
+
*/
|
|
1159
|
+
description?: string | undefined;
|
|
1160
|
+
/**
|
|
1161
|
+
* <p>The tax exemption's applicable jurisdictions.
|
|
1162
|
+
* </p>
|
|
1163
|
+
* @public
|
|
1164
|
+
*/
|
|
1165
|
+
applicableJurisdictions?: Authority[] | undefined;
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
* <p>The tax exemption.
|
|
1169
|
+
* </p>
|
|
1170
|
+
* @public
|
|
1171
|
+
*/
|
|
1172
|
+
export interface TaxExemption {
|
|
1173
|
+
/**
|
|
1174
|
+
* <p>The address domain associate with tax exemption.
|
|
1175
|
+
* </p>
|
|
1176
|
+
* @public
|
|
1177
|
+
*/
|
|
1178
|
+
authority: Authority | undefined;
|
|
1179
|
+
/**
|
|
1180
|
+
* <p>The tax exemption type.
|
|
1181
|
+
* </p>
|
|
1182
|
+
* @public
|
|
1183
|
+
*/
|
|
1184
|
+
taxExemptionType: TaxExemptionType | undefined;
|
|
1185
|
+
/**
|
|
1186
|
+
* <p>The tax exemption effective date.
|
|
1187
|
+
* </p>
|
|
1188
|
+
* @public
|
|
1189
|
+
*/
|
|
1190
|
+
effectiveDate?: Date | undefined;
|
|
1191
|
+
/**
|
|
1192
|
+
* <p>The tax exemption expiration date.
|
|
1193
|
+
* </p>
|
|
1194
|
+
* @public
|
|
1195
|
+
*/
|
|
1196
|
+
expirationDate?: Date | undefined;
|
|
1197
|
+
/**
|
|
1198
|
+
* <p>The tax exemption recording time in the <code>TaxSettings</code> system.
|
|
1199
|
+
* </p>
|
|
1200
|
+
* @public
|
|
1201
|
+
*/
|
|
1202
|
+
systemEffectiveDate?: Date | undefined;
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>The tax exemption status.
|
|
1205
|
+
* </p>
|
|
1206
|
+
* @public
|
|
1207
|
+
*/
|
|
1208
|
+
status?: EntityExemptionAccountStatus | undefined;
|
|
1209
|
+
}
|
|
1210
|
+
/**
|
|
1211
|
+
* <p>The tax exemption details.
|
|
1212
|
+
* </p>
|
|
1213
|
+
* @public
|
|
1214
|
+
*/
|
|
1215
|
+
export interface TaxExemptionDetails {
|
|
1216
|
+
/**
|
|
1217
|
+
* <p>Tax exemptions.
|
|
1218
|
+
* </p>
|
|
1219
|
+
* @public
|
|
1220
|
+
*/
|
|
1221
|
+
taxExemptions?: TaxExemption[] | undefined;
|
|
1222
|
+
/**
|
|
1223
|
+
* <p>The indicator if the tax exemption is inherited from the consolidated billing family management account.
|
|
1224
|
+
* </p>
|
|
1225
|
+
* @public
|
|
1226
|
+
*/
|
|
1227
|
+
heritageObtainedDetails?: boolean | undefined;
|
|
1228
|
+
/**
|
|
1229
|
+
* <p>The consolidated billing family management account the tax exemption inherited from.
|
|
1230
|
+
* </p>
|
|
1231
|
+
* @public
|
|
1232
|
+
*/
|
|
1233
|
+
heritageObtainedParentEntity?: string | undefined;
|
|
1234
|
+
/**
|
|
1235
|
+
* <p>The reason of the heritage inheritance.
|
|
1236
|
+
* </p>
|
|
1237
|
+
* @public
|
|
1238
|
+
*/
|
|
1239
|
+
heritageObtainedReason?: string | undefined;
|
|
1240
|
+
}
|
|
1241
|
+
/**
|
|
1242
|
+
* @public
|
|
1243
|
+
*/
|
|
1244
|
+
export interface BatchGetTaxExemptionsResponse {
|
|
1245
|
+
/**
|
|
1246
|
+
* <p>The tax exemption details map of accountId and tax exemption details.
|
|
1247
|
+
* </p>
|
|
1248
|
+
* @public
|
|
1249
|
+
*/
|
|
1250
|
+
taxExemptionDetailsMap?: Record<string, TaxExemptionDetails> | undefined;
|
|
1251
|
+
/**
|
|
1252
|
+
* <p>The list of accounts that failed to get tax exemptions.
|
|
1253
|
+
* </p>
|
|
1254
|
+
* @public
|
|
1255
|
+
*/
|
|
1256
|
+
failedAccounts?: string[] | undefined;
|
|
1257
|
+
}
|
|
1258
|
+
/**
|
|
1259
|
+
* <p>The exception thrown when the input doesn't have a resource associated to it.</p>
|
|
1260
|
+
* @public
|
|
1261
|
+
*/
|
|
1262
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
1263
|
+
readonly name: "ResourceNotFoundException";
|
|
1264
|
+
readonly $fault: "client";
|
|
1265
|
+
/**
|
|
1266
|
+
* <p>404</p>
|
|
1267
|
+
* @public
|
|
1268
|
+
*/
|
|
1269
|
+
errorCode: string | undefined;
|
|
1270
|
+
/**
|
|
1271
|
+
* @internal
|
|
1272
|
+
*/
|
|
1273
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1274
|
+
}
|
|
1275
|
+
/**
|
|
1276
|
+
* <p>The tax registration document.
|
|
1277
|
+
* </p>
|
|
1278
|
+
* @public
|
|
1279
|
+
*/
|
|
1280
|
+
export interface TaxRegistrationDocFile {
|
|
1281
|
+
/**
|
|
1282
|
+
* <p>The tax registration document name.
|
|
1283
|
+
* </p>
|
|
1284
|
+
* @public
|
|
1285
|
+
*/
|
|
1286
|
+
fileName: string | undefined;
|
|
1287
|
+
/**
|
|
1288
|
+
* <p>The tax registration document content.
|
|
1289
|
+
* </p>
|
|
1290
|
+
* @public
|
|
1291
|
+
*/
|
|
1292
|
+
fileContent: Uint8Array | undefined;
|
|
1293
|
+
}
|
|
1069
1294
|
/**
|
|
1070
1295
|
* <p>The Amazon S3 bucket in your account where your tax document is located.</p>
|
|
1071
1296
|
* @public
|
|
@@ -1091,7 +1316,13 @@ export interface TaxRegistrationDocument {
|
|
|
1091
1316
|
* <p>The Amazon S3 location where your tax registration document is stored.</p>
|
|
1092
1317
|
* @public
|
|
1093
1318
|
*/
|
|
1094
|
-
s3Location
|
|
1319
|
+
s3Location?: SourceS3Location | undefined;
|
|
1320
|
+
/**
|
|
1321
|
+
* <p>The tax registration document.
|
|
1322
|
+
* </p>
|
|
1323
|
+
* @public
|
|
1324
|
+
*/
|
|
1325
|
+
file?: TaxRegistrationDocFile | undefined;
|
|
1095
1326
|
}
|
|
1096
1327
|
/**
|
|
1097
1328
|
* <p>Required information to verify your TRN.</p>
|
|
@@ -1233,6 +1464,19 @@ export interface BatchPutTaxRegistrationResponse {
|
|
|
1233
1464
|
*/
|
|
1234
1465
|
errors: BatchPutTaxRegistrationError[] | undefined;
|
|
1235
1466
|
}
|
|
1467
|
+
/**
|
|
1468
|
+
* <p>You've exceeded the Amazon Web Services Support case creation limit for your account.
|
|
1469
|
+
* </p>
|
|
1470
|
+
* @public
|
|
1471
|
+
*/
|
|
1472
|
+
export declare class CaseCreationLimitExceededException extends __BaseException {
|
|
1473
|
+
readonly name: "CaseCreationLimitExceededException";
|
|
1474
|
+
readonly $fault: "client";
|
|
1475
|
+
/**
|
|
1476
|
+
* @internal
|
|
1477
|
+
*/
|
|
1478
|
+
constructor(opts: __ExceptionOptionType<CaseCreationLimitExceededException, __BaseException>);
|
|
1479
|
+
}
|
|
1236
1480
|
/**
|
|
1237
1481
|
* @public
|
|
1238
1482
|
*/
|
|
@@ -1250,23 +1494,6 @@ export interface DeleteSupplementalTaxRegistrationRequest {
|
|
|
1250
1494
|
*/
|
|
1251
1495
|
export interface DeleteSupplementalTaxRegistrationResponse {
|
|
1252
1496
|
}
|
|
1253
|
-
/**
|
|
1254
|
-
* <p>The exception thrown when the input doesn't have a resource associated to it.</p>
|
|
1255
|
-
* @public
|
|
1256
|
-
*/
|
|
1257
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
1258
|
-
readonly name: "ResourceNotFoundException";
|
|
1259
|
-
readonly $fault: "client";
|
|
1260
|
-
/**
|
|
1261
|
-
* <p>404</p>
|
|
1262
|
-
* @public
|
|
1263
|
-
*/
|
|
1264
|
-
errorCode: string | undefined;
|
|
1265
|
-
/**
|
|
1266
|
-
* @internal
|
|
1267
|
-
*/
|
|
1268
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1269
|
-
}
|
|
1270
1497
|
/**
|
|
1271
1498
|
* @public
|
|
1272
1499
|
*/
|
|
@@ -1300,6 +1527,69 @@ export interface DestinationS3Location {
|
|
|
1300
1527
|
*/
|
|
1301
1528
|
prefix?: string | undefined;
|
|
1302
1529
|
}
|
|
1530
|
+
/**
|
|
1531
|
+
* <p>The exemption certificate.
|
|
1532
|
+
* </p>
|
|
1533
|
+
* @public
|
|
1534
|
+
*/
|
|
1535
|
+
export interface ExemptionCertificate {
|
|
1536
|
+
/**
|
|
1537
|
+
* <p>The exemption certificate file name.
|
|
1538
|
+
* </p>
|
|
1539
|
+
* @public
|
|
1540
|
+
*/
|
|
1541
|
+
documentName: string | undefined;
|
|
1542
|
+
/**
|
|
1543
|
+
* <p>The exemption certificate file content.
|
|
1544
|
+
* </p>
|
|
1545
|
+
* @public
|
|
1546
|
+
*/
|
|
1547
|
+
documentFile: Uint8Array | undefined;
|
|
1548
|
+
}
|
|
1549
|
+
/**
|
|
1550
|
+
* @public
|
|
1551
|
+
*/
|
|
1552
|
+
export interface GetTaxExemptionTypesRequest {
|
|
1553
|
+
}
|
|
1554
|
+
/**
|
|
1555
|
+
* @public
|
|
1556
|
+
*/
|
|
1557
|
+
export interface GetTaxExemptionTypesResponse {
|
|
1558
|
+
/**
|
|
1559
|
+
* <p>The supported types of tax exemptions.
|
|
1560
|
+
* </p>
|
|
1561
|
+
* @public
|
|
1562
|
+
*/
|
|
1563
|
+
taxExemptionTypes?: TaxExemptionType[] | undefined;
|
|
1564
|
+
}
|
|
1565
|
+
/**
|
|
1566
|
+
* @public
|
|
1567
|
+
*/
|
|
1568
|
+
export interface GetTaxInheritanceRequest {
|
|
1569
|
+
}
|
|
1570
|
+
/**
|
|
1571
|
+
* @public
|
|
1572
|
+
* @enum
|
|
1573
|
+
*/
|
|
1574
|
+
export declare const HeritageStatus: {
|
|
1575
|
+
readonly OptIn: "OptIn";
|
|
1576
|
+
readonly OptOut: "OptOut";
|
|
1577
|
+
};
|
|
1578
|
+
/**
|
|
1579
|
+
* @public
|
|
1580
|
+
*/
|
|
1581
|
+
export type HeritageStatus = (typeof HeritageStatus)[keyof typeof HeritageStatus];
|
|
1582
|
+
/**
|
|
1583
|
+
* @public
|
|
1584
|
+
*/
|
|
1585
|
+
export interface GetTaxInheritanceResponse {
|
|
1586
|
+
/**
|
|
1587
|
+
* <p>The tax inheritance status.
|
|
1588
|
+
* </p>
|
|
1589
|
+
* @public
|
|
1590
|
+
*/
|
|
1591
|
+
heritageStatus?: HeritageStatus | undefined;
|
|
1592
|
+
}
|
|
1303
1593
|
/**
|
|
1304
1594
|
* @public
|
|
1305
1595
|
*/
|
|
@@ -1382,7 +1672,7 @@ export interface GetTaxRegistrationDocumentRequest {
|
|
|
1382
1672
|
* <p>The Amazon S3 bucket that you specify to download your tax documents to.</p>
|
|
1383
1673
|
* @public
|
|
1384
1674
|
*/
|
|
1385
|
-
destinationS3Location
|
|
1675
|
+
destinationS3Location?: DestinationS3Location | undefined;
|
|
1386
1676
|
/**
|
|
1387
1677
|
* <p>The metadata for your tax document.</p>
|
|
1388
1678
|
* @public
|
|
@@ -1398,6 +1688,12 @@ export interface GetTaxRegistrationDocumentResponse {
|
|
|
1398
1688
|
* @public
|
|
1399
1689
|
*/
|
|
1400
1690
|
destinationFilePath?: string | undefined;
|
|
1691
|
+
/**
|
|
1692
|
+
* <p>The Amazon S3 presigned URL of the tax registration document.
|
|
1693
|
+
* </p>
|
|
1694
|
+
* @public
|
|
1695
|
+
*/
|
|
1696
|
+
presignedS3Url?: string | undefined;
|
|
1401
1697
|
}
|
|
1402
1698
|
/**
|
|
1403
1699
|
* @public
|
|
@@ -1496,6 +1792,38 @@ export interface ListSupplementalTaxRegistrationsResponse {
|
|
|
1496
1792
|
*/
|
|
1497
1793
|
nextToken?: string | undefined;
|
|
1498
1794
|
}
|
|
1795
|
+
/**
|
|
1796
|
+
* @public
|
|
1797
|
+
*/
|
|
1798
|
+
export interface ListTaxExemptionsRequest {
|
|
1799
|
+
/**
|
|
1800
|
+
* <p>The number of results you want in one response.
|
|
1801
|
+
* </p>
|
|
1802
|
+
* @public
|
|
1803
|
+
*/
|
|
1804
|
+
maxResults?: number | undefined;
|
|
1805
|
+
/**
|
|
1806
|
+
* <p>The token to retrieve the next set of results. </p>
|
|
1807
|
+
* @public
|
|
1808
|
+
*/
|
|
1809
|
+
nextToken?: string | undefined;
|
|
1810
|
+
}
|
|
1811
|
+
/**
|
|
1812
|
+
* @public
|
|
1813
|
+
*/
|
|
1814
|
+
export interface ListTaxExemptionsResponse {
|
|
1815
|
+
/**
|
|
1816
|
+
* <p>The token to retrieve the next set of results. </p>
|
|
1817
|
+
* @public
|
|
1818
|
+
*/
|
|
1819
|
+
nextToken?: string | undefined;
|
|
1820
|
+
/**
|
|
1821
|
+
* <p>The tax exemption details map of <code>accountId</code> and tax exemption details.
|
|
1822
|
+
* </p>
|
|
1823
|
+
* @public
|
|
1824
|
+
*/
|
|
1825
|
+
taxExemptionDetailsMap?: Record<string, TaxExemptionDetails> | undefined;
|
|
1826
|
+
}
|
|
1499
1827
|
/**
|
|
1500
1828
|
* @public
|
|
1501
1829
|
*/
|
|
@@ -1592,6 +1920,63 @@ export interface PutSupplementalTaxRegistrationResponse {
|
|
|
1592
1920
|
*/
|
|
1593
1921
|
status: TaxRegistrationStatus | undefined;
|
|
1594
1922
|
}
|
|
1923
|
+
/**
|
|
1924
|
+
* @public
|
|
1925
|
+
*/
|
|
1926
|
+
export interface PutTaxExemptionRequest {
|
|
1927
|
+
/**
|
|
1928
|
+
* <p>
|
|
1929
|
+
* The list of unique account identifiers.
|
|
1930
|
+
* </p>
|
|
1931
|
+
* @public
|
|
1932
|
+
*/
|
|
1933
|
+
accountIds: string[] | undefined;
|
|
1934
|
+
/**
|
|
1935
|
+
* <p>The address domain associate with the tax information.
|
|
1936
|
+
* </p>
|
|
1937
|
+
* @public
|
|
1938
|
+
*/
|
|
1939
|
+
authority: Authority | undefined;
|
|
1940
|
+
/**
|
|
1941
|
+
* <p>The exemption type.
|
|
1942
|
+
* </p>
|
|
1943
|
+
* @public
|
|
1944
|
+
*/
|
|
1945
|
+
exemptionType: string | undefined;
|
|
1946
|
+
/**
|
|
1947
|
+
* <p>The exemption certificate.
|
|
1948
|
+
* </p>
|
|
1949
|
+
* @public
|
|
1950
|
+
*/
|
|
1951
|
+
exemptionCertificate: ExemptionCertificate | undefined;
|
|
1952
|
+
}
|
|
1953
|
+
/**
|
|
1954
|
+
* @public
|
|
1955
|
+
*/
|
|
1956
|
+
export interface PutTaxExemptionResponse {
|
|
1957
|
+
/**
|
|
1958
|
+
* <p>The customer support case ID.
|
|
1959
|
+
* </p>
|
|
1960
|
+
* @public
|
|
1961
|
+
*/
|
|
1962
|
+
caseId?: string | undefined;
|
|
1963
|
+
}
|
|
1964
|
+
/**
|
|
1965
|
+
* @public
|
|
1966
|
+
*/
|
|
1967
|
+
export interface PutTaxInheritanceRequest {
|
|
1968
|
+
/**
|
|
1969
|
+
* <p>The tax inheritance status.
|
|
1970
|
+
* </p>
|
|
1971
|
+
* @public
|
|
1972
|
+
*/
|
|
1973
|
+
heritageStatus?: HeritageStatus | undefined;
|
|
1974
|
+
}
|
|
1975
|
+
/**
|
|
1976
|
+
* @public
|
|
1977
|
+
*/
|
|
1978
|
+
export interface PutTaxInheritanceResponse {
|
|
1979
|
+
}
|
|
1595
1980
|
/**
|
|
1596
1981
|
* @public
|
|
1597
1982
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListTaxExemptionsCommandInput, ListTaxExemptionsCommandOutput } from "../commands/ListTaxExemptionsCommand";
|
|
3
|
+
import { TaxSettingsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListTaxExemptions: (config: TaxSettingsPaginationConfiguration, input: ListTaxExemptionsCommandInput, ...rest: any[]) => Paginator<ListTaxExemptionsCommandOutput>;
|
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { BatchDeleteTaxRegistrationCommandInput, BatchDeleteTaxRegistrationCommandOutput } from "../commands/BatchDeleteTaxRegistrationCommand";
|
|
4
|
+
import { BatchGetTaxExemptionsCommandInput, BatchGetTaxExemptionsCommandOutput } from "../commands/BatchGetTaxExemptionsCommand";
|
|
4
5
|
import { BatchPutTaxRegistrationCommandInput, BatchPutTaxRegistrationCommandOutput } from "../commands/BatchPutTaxRegistrationCommand";
|
|
5
6
|
import { DeleteSupplementalTaxRegistrationCommandInput, DeleteSupplementalTaxRegistrationCommandOutput } from "../commands/DeleteSupplementalTaxRegistrationCommand";
|
|
6
7
|
import { DeleteTaxRegistrationCommandInput, DeleteTaxRegistrationCommandOutput } from "../commands/DeleteTaxRegistrationCommand";
|
|
8
|
+
import { GetTaxExemptionTypesCommandInput, GetTaxExemptionTypesCommandOutput } from "../commands/GetTaxExemptionTypesCommand";
|
|
9
|
+
import { GetTaxInheritanceCommandInput, GetTaxInheritanceCommandOutput } from "../commands/GetTaxInheritanceCommand";
|
|
7
10
|
import { GetTaxRegistrationCommandInput, GetTaxRegistrationCommandOutput } from "../commands/GetTaxRegistrationCommand";
|
|
8
11
|
import { GetTaxRegistrationDocumentCommandInput, GetTaxRegistrationDocumentCommandOutput } from "../commands/GetTaxRegistrationDocumentCommand";
|
|
9
12
|
import { ListSupplementalTaxRegistrationsCommandInput, ListSupplementalTaxRegistrationsCommandOutput } from "../commands/ListSupplementalTaxRegistrationsCommand";
|
|
13
|
+
import { ListTaxExemptionsCommandInput, ListTaxExemptionsCommandOutput } from "../commands/ListTaxExemptionsCommand";
|
|
10
14
|
import { ListTaxRegistrationsCommandInput, ListTaxRegistrationsCommandOutput } from "../commands/ListTaxRegistrationsCommand";
|
|
11
15
|
import { PutSupplementalTaxRegistrationCommandInput, PutSupplementalTaxRegistrationCommandOutput } from "../commands/PutSupplementalTaxRegistrationCommand";
|
|
16
|
+
import { PutTaxExemptionCommandInput, PutTaxExemptionCommandOutput } from "../commands/PutTaxExemptionCommand";
|
|
17
|
+
import { PutTaxInheritanceCommandInput, PutTaxInheritanceCommandOutput } from "../commands/PutTaxInheritanceCommand";
|
|
12
18
|
import { PutTaxRegistrationCommandInput, PutTaxRegistrationCommandOutput } from "../commands/PutTaxRegistrationCommand";
|
|
13
19
|
/**
|
|
14
20
|
* serializeAws_restJson1BatchDeleteTaxRegistrationCommand
|
|
15
21
|
*/
|
|
16
22
|
export declare const se_BatchDeleteTaxRegistrationCommand: (input: BatchDeleteTaxRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
/**
|
|
24
|
+
* serializeAws_restJson1BatchGetTaxExemptionsCommand
|
|
25
|
+
*/
|
|
26
|
+
export declare const se_BatchGetTaxExemptionsCommand: (input: BatchGetTaxExemptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
17
27
|
/**
|
|
18
28
|
* serializeAws_restJson1BatchPutTaxRegistrationCommand
|
|
19
29
|
*/
|
|
@@ -26,6 +36,14 @@ export declare const se_DeleteSupplementalTaxRegistrationCommand: (input: Delete
|
|
|
26
36
|
* serializeAws_restJson1DeleteTaxRegistrationCommand
|
|
27
37
|
*/
|
|
28
38
|
export declare const se_DeleteTaxRegistrationCommand: (input: DeleteTaxRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
+
/**
|
|
40
|
+
* serializeAws_restJson1GetTaxExemptionTypesCommand
|
|
41
|
+
*/
|
|
42
|
+
export declare const se_GetTaxExemptionTypesCommand: (input: GetTaxExemptionTypesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
|
+
/**
|
|
44
|
+
* serializeAws_restJson1GetTaxInheritanceCommand
|
|
45
|
+
*/
|
|
46
|
+
export declare const se_GetTaxInheritanceCommand: (input: GetTaxInheritanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
47
|
/**
|
|
30
48
|
* serializeAws_restJson1GetTaxRegistrationCommand
|
|
31
49
|
*/
|
|
@@ -38,6 +56,10 @@ export declare const se_GetTaxRegistrationDocumentCommand: (input: GetTaxRegistr
|
|
|
38
56
|
* serializeAws_restJson1ListSupplementalTaxRegistrationsCommand
|
|
39
57
|
*/
|
|
40
58
|
export declare const se_ListSupplementalTaxRegistrationsCommand: (input: ListSupplementalTaxRegistrationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
|
+
/**
|
|
60
|
+
* serializeAws_restJson1ListTaxExemptionsCommand
|
|
61
|
+
*/
|
|
62
|
+
export declare const se_ListTaxExemptionsCommand: (input: ListTaxExemptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
41
63
|
/**
|
|
42
64
|
* serializeAws_restJson1ListTaxRegistrationsCommand
|
|
43
65
|
*/
|
|
@@ -46,6 +68,14 @@ export declare const se_ListTaxRegistrationsCommand: (input: ListTaxRegistration
|
|
|
46
68
|
* serializeAws_restJson1PutSupplementalTaxRegistrationCommand
|
|
47
69
|
*/
|
|
48
70
|
export declare const se_PutSupplementalTaxRegistrationCommand: (input: PutSupplementalTaxRegistrationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
71
|
+
/**
|
|
72
|
+
* serializeAws_restJson1PutTaxExemptionCommand
|
|
73
|
+
*/
|
|
74
|
+
export declare const se_PutTaxExemptionCommand: (input: PutTaxExemptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
75
|
+
/**
|
|
76
|
+
* serializeAws_restJson1PutTaxInheritanceCommand
|
|
77
|
+
*/
|
|
78
|
+
export declare const se_PutTaxInheritanceCommand: (input: PutTaxInheritanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
49
79
|
/**
|
|
50
80
|
* serializeAws_restJson1PutTaxRegistrationCommand
|
|
51
81
|
*/
|
|
@@ -54,6 +84,10 @@ export declare const se_PutTaxRegistrationCommand: (input: PutTaxRegistrationCom
|
|
|
54
84
|
* deserializeAws_restJson1BatchDeleteTaxRegistrationCommand
|
|
55
85
|
*/
|
|
56
86
|
export declare const de_BatchDeleteTaxRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchDeleteTaxRegistrationCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* deserializeAws_restJson1BatchGetTaxExemptionsCommand
|
|
89
|
+
*/
|
|
90
|
+
export declare const de_BatchGetTaxExemptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetTaxExemptionsCommandOutput>;
|
|
57
91
|
/**
|
|
58
92
|
* deserializeAws_restJson1BatchPutTaxRegistrationCommand
|
|
59
93
|
*/
|
|
@@ -66,6 +100,14 @@ export declare const de_DeleteSupplementalTaxRegistrationCommand: (output: __Htt
|
|
|
66
100
|
* deserializeAws_restJson1DeleteTaxRegistrationCommand
|
|
67
101
|
*/
|
|
68
102
|
export declare const de_DeleteTaxRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTaxRegistrationCommandOutput>;
|
|
103
|
+
/**
|
|
104
|
+
* deserializeAws_restJson1GetTaxExemptionTypesCommand
|
|
105
|
+
*/
|
|
106
|
+
export declare const de_GetTaxExemptionTypesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTaxExemptionTypesCommandOutput>;
|
|
107
|
+
/**
|
|
108
|
+
* deserializeAws_restJson1GetTaxInheritanceCommand
|
|
109
|
+
*/
|
|
110
|
+
export declare const de_GetTaxInheritanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTaxInheritanceCommandOutput>;
|
|
69
111
|
/**
|
|
70
112
|
* deserializeAws_restJson1GetTaxRegistrationCommand
|
|
71
113
|
*/
|
|
@@ -78,6 +120,10 @@ export declare const de_GetTaxRegistrationDocumentCommand: (output: __HttpRespon
|
|
|
78
120
|
* deserializeAws_restJson1ListSupplementalTaxRegistrationsCommand
|
|
79
121
|
*/
|
|
80
122
|
export declare const de_ListSupplementalTaxRegistrationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSupplementalTaxRegistrationsCommandOutput>;
|
|
123
|
+
/**
|
|
124
|
+
* deserializeAws_restJson1ListTaxExemptionsCommand
|
|
125
|
+
*/
|
|
126
|
+
export declare const de_ListTaxExemptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTaxExemptionsCommandOutput>;
|
|
81
127
|
/**
|
|
82
128
|
* deserializeAws_restJson1ListTaxRegistrationsCommand
|
|
83
129
|
*/
|
|
@@ -86,6 +132,14 @@ export declare const de_ListTaxRegistrationsCommand: (output: __HttpResponse, co
|
|
|
86
132
|
* deserializeAws_restJson1PutSupplementalTaxRegistrationCommand
|
|
87
133
|
*/
|
|
88
134
|
export declare const de_PutSupplementalTaxRegistrationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutSupplementalTaxRegistrationCommandOutput>;
|
|
135
|
+
/**
|
|
136
|
+
* deserializeAws_restJson1PutTaxExemptionCommand
|
|
137
|
+
*/
|
|
138
|
+
export declare const de_PutTaxExemptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutTaxExemptionCommandOutput>;
|
|
139
|
+
/**
|
|
140
|
+
* deserializeAws_restJson1PutTaxInheritanceCommand
|
|
141
|
+
*/
|
|
142
|
+
export declare const de_PutTaxInheritanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutTaxInheritanceCommandOutput>;
|
|
89
143
|
/**
|
|
90
144
|
* deserializeAws_restJson1PutTaxRegistrationCommand
|
|
91
145
|
*/
|