@aws-sdk/client-invoicing 3.933.0 → 3.935.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 +28 -26
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +24 -0
- package/dist-es/models/errors.js +85 -0
- package/dist-es/models/models_0.js +1 -109
- package/dist-es/schemas/schemas_0.js +5 -3
- package/dist-types/commands/CreateInvoiceUnitCommand.d.ts +4 -1
- package/dist-types/commands/GetInvoiceUnitCommand.d.ts +4 -1
- package/dist-types/commands/ListInvoiceUnitsCommand.d.ts +7 -1
- package/dist-types/commands/UpdateInvoiceUnitCommand.d.ts +4 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +48 -0
- package/dist-types/models/errors.d.ts +106 -0
- package/dist-types/models/models_0.d.ts +11 -152
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +29 -0
- package/dist-types/ts3.4/models/errors.d.ts +52 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -79
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -169,22 +169,6 @@ let ThrottlingException$1 = class ThrottlingException extends InvoicingServiceEx
|
|
|
169
169
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
|
-
const ValidationExceptionReason = {
|
|
173
|
-
ACCOUNT_MEMBERSHIP_ERROR: "accountMembershipError",
|
|
174
|
-
CANNOT_PARSE: "cannotParse",
|
|
175
|
-
DUPLICATE_INVOICE_UNIT: "duplicateInvoiceUnit",
|
|
176
|
-
EXPIRED_NEXT_TOKEN: "expiredNextToken",
|
|
177
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
178
|
-
INVALID_INPUT: "invalidInput",
|
|
179
|
-
INVALID_NEXT_TOKEN: "invalidNextToken",
|
|
180
|
-
MAX_ACCOUNTS_EXCEEDED: "maxAccountsExceeded",
|
|
181
|
-
MAX_INVOICE_UNITS_EXCEEDED: "maxInvoiceUnitsExceeded",
|
|
182
|
-
MUTUAL_EXCLUSION_ERROR: "mutualExclusionError",
|
|
183
|
-
NON_MEMBERS_PRESENT: "nonMemberPresent",
|
|
184
|
-
OTHER: "other",
|
|
185
|
-
TAX_SETTINGS_ERROR: "taxSettingsError",
|
|
186
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
187
|
-
};
|
|
188
172
|
let ValidationException$1 = class ValidationException extends InvoicingServiceException$1 {
|
|
189
173
|
name = "ValidationException";
|
|
190
174
|
$fault = "client";
|
|
@@ -203,14 +187,6 @@ let ValidationException$1 = class ValidationException extends InvoicingServiceEx
|
|
|
203
187
|
this.fieldList = opts.fieldList;
|
|
204
188
|
}
|
|
205
189
|
};
|
|
206
|
-
const InvoiceType = {
|
|
207
|
-
CREDIT_MEMO: "CREDIT_MEMO",
|
|
208
|
-
INVOICE: "INVOICE",
|
|
209
|
-
};
|
|
210
|
-
const ListInvoiceSummariesResourceType = {
|
|
211
|
-
ACCOUNT_ID: "ACCOUNT_ID",
|
|
212
|
-
INVOICE_ID: "INVOICE_ID",
|
|
213
|
-
};
|
|
214
190
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends InvoicingServiceException$1 {
|
|
215
191
|
name = "ServiceQuotaExceededException";
|
|
216
192
|
$fault = "client";
|
|
@@ -240,6 +216,7 @@ const _BGIP = "BatchGetInvoiceProfile";
|
|
|
240
216
|
const _BGIPR = "BatchGetInvoiceProfileRequest";
|
|
241
217
|
const _BGIPRa = "BatchGetInvoiceProfileResponse";
|
|
242
218
|
const _BP = "BillingPeriod";
|
|
219
|
+
const _BSA = "BillSourceAccounts";
|
|
243
220
|
const _C = "City";
|
|
244
221
|
const _CC = "CurrencyCode";
|
|
245
222
|
const _CCo = "CountryCode";
|
|
@@ -429,7 +406,7 @@ var DiscountsBreakdownAmount = [3, n0, _DBA, 0, [_De, _A, _Ra], [0, 0, 0]];
|
|
|
429
406
|
var Entity = [3, n0, _E, 0, [_IE], [0]];
|
|
430
407
|
var FeesBreakdown = [3, n0, _FB, 0, [_B, _TA], [() => FeesBreakdownAmountList, 0]];
|
|
431
408
|
var FeesBreakdownAmount = [3, n0, _FBA, 0, [_De, _A, _Ra], [0, 0, 0]];
|
|
432
|
-
var Filters = [3, n0, _Fi, 0, [_Na, _IRn, _Ac], [64 | 0, 64 | 0, 64 | 0]];
|
|
409
|
+
var Filters = [3, n0, _Fi, 0, [_Na, _IRn, _Ac, _BSA], [64 | 0, 64 | 0, 64 | 0, 64 | 0]];
|
|
433
410
|
var GetInvoicePDFRequest = [3, n0, _GIPDFR, 0, [_II], [0]];
|
|
434
411
|
var GetInvoicePDFResponse = [3, n0, _GIPDFRe, 0, [_IPDF], [() => InvoicePDF]];
|
|
435
412
|
var GetInvoiceUnitRequest = [3, n0, _GIUR, 0, [_IUA, _AO], [0, 4]];
|
|
@@ -531,7 +508,7 @@ var InvoiceUnit = [
|
|
|
531
508
|
[_IUA, _IR, _N, _De, _TID, _R, _LM],
|
|
532
509
|
[0, 0, 0, 0, 2, () => InvoiceUnitRule, 4],
|
|
533
510
|
];
|
|
534
|
-
var InvoiceUnitRule = [3, n0, _IUR, 0, [_LA], [64 | 0]];
|
|
511
|
+
var InvoiceUnitRule = [3, n0, _IUR, 0, [_LA, _BSA], [64 | 0, 64 | 0]];
|
|
535
512
|
var ListInvoiceSummariesRequest = [
|
|
536
513
|
3,
|
|
537
514
|
n0,
|
|
@@ -883,6 +860,31 @@ const paginateListInvoiceSummaries = core.createPaginator(InvoicingClient, ListI
|
|
|
883
860
|
|
|
884
861
|
const paginateListInvoiceUnits = core.createPaginator(InvoicingClient, ListInvoiceUnitsCommand, "NextToken", "NextToken", "MaxResults");
|
|
885
862
|
|
|
863
|
+
const ValidationExceptionReason = {
|
|
864
|
+
ACCOUNT_MEMBERSHIP_ERROR: "accountMembershipError",
|
|
865
|
+
CANNOT_PARSE: "cannotParse",
|
|
866
|
+
DUPLICATE_INVOICE_UNIT: "duplicateInvoiceUnit",
|
|
867
|
+
EXPIRED_NEXT_TOKEN: "expiredNextToken",
|
|
868
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
869
|
+
INVALID_INPUT: "invalidInput",
|
|
870
|
+
INVALID_NEXT_TOKEN: "invalidNextToken",
|
|
871
|
+
MAX_ACCOUNTS_EXCEEDED: "maxAccountsExceeded",
|
|
872
|
+
MAX_INVOICE_UNITS_EXCEEDED: "maxInvoiceUnitsExceeded",
|
|
873
|
+
MUTUAL_EXCLUSION_ERROR: "mutualExclusionError",
|
|
874
|
+
NON_MEMBERS_PRESENT: "nonMemberPresent",
|
|
875
|
+
OTHER: "other",
|
|
876
|
+
TAX_SETTINGS_ERROR: "taxSettingsError",
|
|
877
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
878
|
+
};
|
|
879
|
+
const InvoiceType = {
|
|
880
|
+
CREDIT_MEMO: "CREDIT_MEMO",
|
|
881
|
+
INVOICE: "INVOICE",
|
|
882
|
+
};
|
|
883
|
+
const ListInvoiceSummariesResourceType = {
|
|
884
|
+
ACCOUNT_ID: "ACCOUNT_ID",
|
|
885
|
+
INVOICE_ID: "INVOICE_ID",
|
|
886
|
+
};
|
|
887
|
+
|
|
886
888
|
Object.defineProperty(exports, "$Command", {
|
|
887
889
|
enumerable: true,
|
|
888
890
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./InvoicingClient";
|
|
|
2
2
|
export * from "./Invoicing";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { InvoicingServiceException } from "./models/InvoicingServiceException";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const ValidationExceptionReason = {
|
|
2
|
+
ACCOUNT_MEMBERSHIP_ERROR: "accountMembershipError",
|
|
3
|
+
CANNOT_PARSE: "cannotParse",
|
|
4
|
+
DUPLICATE_INVOICE_UNIT: "duplicateInvoiceUnit",
|
|
5
|
+
EXPIRED_NEXT_TOKEN: "expiredNextToken",
|
|
6
|
+
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
7
|
+
INVALID_INPUT: "invalidInput",
|
|
8
|
+
INVALID_NEXT_TOKEN: "invalidNextToken",
|
|
9
|
+
MAX_ACCOUNTS_EXCEEDED: "maxAccountsExceeded",
|
|
10
|
+
MAX_INVOICE_UNITS_EXCEEDED: "maxInvoiceUnitsExceeded",
|
|
11
|
+
MUTUAL_EXCLUSION_ERROR: "mutualExclusionError",
|
|
12
|
+
NON_MEMBERS_PRESENT: "nonMemberPresent",
|
|
13
|
+
OTHER: "other",
|
|
14
|
+
TAX_SETTINGS_ERROR: "taxSettingsError",
|
|
15
|
+
UNKNOWN_OPERATION: "unknownOperation",
|
|
16
|
+
};
|
|
17
|
+
export const InvoiceType = {
|
|
18
|
+
CREDIT_MEMO: "CREDIT_MEMO",
|
|
19
|
+
INVOICE: "INVOICE",
|
|
20
|
+
};
|
|
21
|
+
export const ListInvoiceSummariesResourceType = {
|
|
22
|
+
ACCOUNT_ID: "ACCOUNT_ID",
|
|
23
|
+
INVOICE_ID: "INVOICE_ID",
|
|
24
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { InvoicingServiceException as __BaseException } from "./InvoicingServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
resourceName;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.resourceName = opts.resourceName;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class InternalServerException extends __BaseException {
|
|
17
|
+
name = "InternalServerException";
|
|
18
|
+
$fault = "server";
|
|
19
|
+
retryAfterSeconds;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "InternalServerException",
|
|
23
|
+
$fault: "server",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
27
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
31
|
+
name = "ResourceNotFoundException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
resourceName;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ResourceNotFoundException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
41
|
+
this.resourceName = opts.resourceName;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class ThrottlingException extends __BaseException {
|
|
45
|
+
name = "ThrottlingException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "ThrottlingException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
export class ValidationException extends __BaseException {
|
|
57
|
+
name = "ValidationException";
|
|
58
|
+
$fault = "client";
|
|
59
|
+
resourceName;
|
|
60
|
+
reason;
|
|
61
|
+
fieldList;
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ValidationException",
|
|
65
|
+
$fault: "client",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
69
|
+
this.resourceName = opts.resourceName;
|
|
70
|
+
this.reason = opts.reason;
|
|
71
|
+
this.fieldList = opts.fieldList;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
75
|
+
name = "ServiceQuotaExceededException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "ServiceQuotaExceededException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -1,109 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
resourceName;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.resourceName = opts.resourceName;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export class InternalServerException extends __BaseException {
|
|
17
|
-
name = "InternalServerException";
|
|
18
|
-
$fault = "server";
|
|
19
|
-
retryAfterSeconds;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "InternalServerException",
|
|
23
|
-
$fault: "server",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
27
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
31
|
-
name = "ResourceNotFoundException";
|
|
32
|
-
$fault = "client";
|
|
33
|
-
resourceName;
|
|
34
|
-
constructor(opts) {
|
|
35
|
-
super({
|
|
36
|
-
name: "ResourceNotFoundException",
|
|
37
|
-
$fault: "client",
|
|
38
|
-
...opts,
|
|
39
|
-
});
|
|
40
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
41
|
-
this.resourceName = opts.resourceName;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export class ThrottlingException extends __BaseException {
|
|
45
|
-
name = "ThrottlingException";
|
|
46
|
-
$fault = "client";
|
|
47
|
-
constructor(opts) {
|
|
48
|
-
super({
|
|
49
|
-
name: "ThrottlingException",
|
|
50
|
-
$fault: "client",
|
|
51
|
-
...opts,
|
|
52
|
-
});
|
|
53
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
export const ValidationExceptionReason = {
|
|
57
|
-
ACCOUNT_MEMBERSHIP_ERROR: "accountMembershipError",
|
|
58
|
-
CANNOT_PARSE: "cannotParse",
|
|
59
|
-
DUPLICATE_INVOICE_UNIT: "duplicateInvoiceUnit",
|
|
60
|
-
EXPIRED_NEXT_TOKEN: "expiredNextToken",
|
|
61
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
62
|
-
INVALID_INPUT: "invalidInput",
|
|
63
|
-
INVALID_NEXT_TOKEN: "invalidNextToken",
|
|
64
|
-
MAX_ACCOUNTS_EXCEEDED: "maxAccountsExceeded",
|
|
65
|
-
MAX_INVOICE_UNITS_EXCEEDED: "maxInvoiceUnitsExceeded",
|
|
66
|
-
MUTUAL_EXCLUSION_ERROR: "mutualExclusionError",
|
|
67
|
-
NON_MEMBERS_PRESENT: "nonMemberPresent",
|
|
68
|
-
OTHER: "other",
|
|
69
|
-
TAX_SETTINGS_ERROR: "taxSettingsError",
|
|
70
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
71
|
-
};
|
|
72
|
-
export class ValidationException extends __BaseException {
|
|
73
|
-
name = "ValidationException";
|
|
74
|
-
$fault = "client";
|
|
75
|
-
resourceName;
|
|
76
|
-
reason;
|
|
77
|
-
fieldList;
|
|
78
|
-
constructor(opts) {
|
|
79
|
-
super({
|
|
80
|
-
name: "ValidationException",
|
|
81
|
-
$fault: "client",
|
|
82
|
-
...opts,
|
|
83
|
-
});
|
|
84
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
85
|
-
this.resourceName = opts.resourceName;
|
|
86
|
-
this.reason = opts.reason;
|
|
87
|
-
this.fieldList = opts.fieldList;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
export const InvoiceType = {
|
|
91
|
-
CREDIT_MEMO: "CREDIT_MEMO",
|
|
92
|
-
INVOICE: "INVOICE",
|
|
93
|
-
};
|
|
94
|
-
export const ListInvoiceSummariesResourceType = {
|
|
95
|
-
ACCOUNT_ID: "ACCOUNT_ID",
|
|
96
|
-
INVOICE_ID: "INVOICE_ID",
|
|
97
|
-
};
|
|
98
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
99
|
-
name = "ServiceQuotaExceededException";
|
|
100
|
-
$fault = "client";
|
|
101
|
-
constructor(opts) {
|
|
102
|
-
super({
|
|
103
|
-
name: "ServiceQuotaExceededException",
|
|
104
|
-
$fault: "client",
|
|
105
|
-
...opts,
|
|
106
|
-
});
|
|
107
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
1
|
+
export {};
|
|
@@ -14,6 +14,7 @@ const _BGIP = "BatchGetInvoiceProfile";
|
|
|
14
14
|
const _BGIPR = "BatchGetInvoiceProfileRequest";
|
|
15
15
|
const _BGIPRa = "BatchGetInvoiceProfileResponse";
|
|
16
16
|
const _BP = "BillingPeriod";
|
|
17
|
+
const _BSA = "BillSourceAccounts";
|
|
17
18
|
const _C = "City";
|
|
18
19
|
const _CC = "CurrencyCode";
|
|
19
20
|
const _CCo = "CountryCode";
|
|
@@ -154,7 +155,7 @@ const _s = "server";
|
|
|
154
155
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.invoicing";
|
|
155
156
|
const n0 = "com.amazonaws.invoicing";
|
|
156
157
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
157
|
-
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
158
|
+
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
158
159
|
import { InvoicingServiceException as __InvoicingServiceException } from "../models/InvoicingServiceException";
|
|
159
160
|
export var SensitiveBasicStringWithoutSpace = [0, n0, _SBSWS, 8, 0];
|
|
160
161
|
export var AccessDeniedException = [
|
|
@@ -206,7 +207,7 @@ export var DiscountsBreakdownAmount = [3, n0, _DBA, 0, [_De, _A, _Ra], [0, 0, 0]
|
|
|
206
207
|
export var Entity = [3, n0, _E, 0, [_IE], [0]];
|
|
207
208
|
export var FeesBreakdown = [3, n0, _FB, 0, [_B, _TA], [() => FeesBreakdownAmountList, 0]];
|
|
208
209
|
export var FeesBreakdownAmount = [3, n0, _FBA, 0, [_De, _A, _Ra], [0, 0, 0]];
|
|
209
|
-
export var Filters = [3, n0, _Fi, 0, [_Na, _IRn, _Ac], [64 | 0, 64 | 0, 64 | 0]];
|
|
210
|
+
export var Filters = [3, n0, _Fi, 0, [_Na, _IRn, _Ac, _BSA], [64 | 0, 64 | 0, 64 | 0, 64 | 0]];
|
|
210
211
|
export var GetInvoicePDFRequest = [3, n0, _GIPDFR, 0, [_II], [0]];
|
|
211
212
|
export var GetInvoicePDFResponse = [3, n0, _GIPDFRe, 0, [_IPDF], [() => InvoicePDF]];
|
|
212
213
|
export var GetInvoiceUnitRequest = [3, n0, _GIUR, 0, [_IUA, _AO], [0, 4]];
|
|
@@ -308,7 +309,7 @@ export var InvoiceUnit = [
|
|
|
308
309
|
[_IUA, _IR, _N, _De, _TID, _R, _LM],
|
|
309
310
|
[0, 0, 0, 0, 2, () => InvoiceUnitRule, 4],
|
|
310
311
|
];
|
|
311
|
-
export var InvoiceUnitRule = [3, n0, _IUR, 0, [_LA], [64 | 0]];
|
|
312
|
+
export var InvoiceUnitRule = [3, n0, _IUR, 0, [_LA, _BSA], [64 | 0, 64 | 0]];
|
|
312
313
|
export var ListInvoiceSummariesRequest = [
|
|
313
314
|
3,
|
|
314
315
|
n0,
|
|
@@ -426,6 +427,7 @@ export var InvoiceUnits = [1, n0, _IUn, 0, () => InvoiceUnit];
|
|
|
426
427
|
export var ProfileList = [1, n0, _PL, 0, [() => InvoiceProfile, 0]];
|
|
427
428
|
export var ResourceTagKeyList = 64 | 0;
|
|
428
429
|
export var ResourceTagList = [1, n0, _RTL, 0, () => ResourceTag];
|
|
430
|
+
export var RuleAccountIdList = 64 | 0;
|
|
429
431
|
export var SupplementalDocuments = [1, n0, _SDu, 0, () => SupplementalDocument];
|
|
430
432
|
export var TaxesBreakdownAmountList = [1, n0, _TBAL, 0, () => TaxesBreakdownAmount];
|
|
431
433
|
export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
@@ -42,7 +42,10 @@ declare const CreateInvoiceUnitCommand_base: {
|
|
|
42
42
|
* Description: "STRING_VALUE",
|
|
43
43
|
* TaxInheritanceDisabled: true || false,
|
|
44
44
|
* Rule: { // InvoiceUnitRule
|
|
45
|
-
* LinkedAccounts: [ //
|
|
45
|
+
* LinkedAccounts: [ // RuleAccountIdList
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* BillSourceAccounts: [
|
|
46
49
|
* "STRING_VALUE",
|
|
47
50
|
* ],
|
|
48
51
|
* },
|
|
@@ -49,7 +49,10 @@ declare const GetInvoiceUnitCommand_base: {
|
|
|
49
49
|
* // Description: "STRING_VALUE",
|
|
50
50
|
* // TaxInheritanceDisabled: true || false,
|
|
51
51
|
* // Rule: { // InvoiceUnitRule
|
|
52
|
-
* // LinkedAccounts: [ //
|
|
52
|
+
* // LinkedAccounts: [ // RuleAccountIdList
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // BillSourceAccounts: [
|
|
53
56
|
* // "STRING_VALUE",
|
|
54
57
|
* // ],
|
|
55
58
|
* // },
|
|
@@ -47,6 +47,9 @@ declare const ListInvoiceUnitsCommand_base: {
|
|
|
47
47
|
* Accounts: [
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
|
+
* BillSourceAccounts: [
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
50
53
|
* },
|
|
51
54
|
* NextToken: "STRING_VALUE",
|
|
52
55
|
* MaxResults: Number("int"),
|
|
@@ -63,7 +66,10 @@ declare const ListInvoiceUnitsCommand_base: {
|
|
|
63
66
|
* // Description: "STRING_VALUE",
|
|
64
67
|
* // TaxInheritanceDisabled: true || false,
|
|
65
68
|
* // Rule: { // InvoiceUnitRule
|
|
66
|
-
* // LinkedAccounts: [ //
|
|
69
|
+
* // LinkedAccounts: [ // RuleAccountIdList
|
|
70
|
+
* // "STRING_VALUE",
|
|
71
|
+
* // ],
|
|
72
|
+
* // BillSourceAccounts: [
|
|
67
73
|
* // "STRING_VALUE",
|
|
68
74
|
* // ],
|
|
69
75
|
* // },
|
|
@@ -41,7 +41,10 @@ declare const UpdateInvoiceUnitCommand_base: {
|
|
|
41
41
|
* Description: "STRING_VALUE",
|
|
42
42
|
* TaxInheritanceDisabled: true || false,
|
|
43
43
|
* Rule: { // InvoiceUnitRule
|
|
44
|
-
* LinkedAccounts: [ //
|
|
44
|
+
* LinkedAccounts: [ // RuleAccountIdList
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* BillSourceAccounts: [
|
|
45
48
|
* "STRING_VALUE",
|
|
46
49
|
* ],
|
|
47
50
|
* },
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { InvoicingExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { InvoicingServiceException } from "./models/InvoicingServiceException";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ValidationExceptionReason: {
|
|
6
|
+
readonly ACCOUNT_MEMBERSHIP_ERROR: "accountMembershipError";
|
|
7
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
8
|
+
readonly DUPLICATE_INVOICE_UNIT: "duplicateInvoiceUnit";
|
|
9
|
+
readonly EXPIRED_NEXT_TOKEN: "expiredNextToken";
|
|
10
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
11
|
+
readonly INVALID_INPUT: "invalidInput";
|
|
12
|
+
readonly INVALID_NEXT_TOKEN: "invalidNextToken";
|
|
13
|
+
readonly MAX_ACCOUNTS_EXCEEDED: "maxAccountsExceeded";
|
|
14
|
+
readonly MAX_INVOICE_UNITS_EXCEEDED: "maxInvoiceUnitsExceeded";
|
|
15
|
+
readonly MUTUAL_EXCLUSION_ERROR: "mutualExclusionError";
|
|
16
|
+
readonly NON_MEMBERS_PRESENT: "nonMemberPresent";
|
|
17
|
+
readonly OTHER: "other";
|
|
18
|
+
readonly TAX_SETTINGS_ERROR: "taxSettingsError";
|
|
19
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @enum
|
|
28
|
+
*/
|
|
29
|
+
export declare const InvoiceType: {
|
|
30
|
+
readonly CREDIT_MEMO: "CREDIT_MEMO";
|
|
31
|
+
readonly INVOICE: "INVOICE";
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export type InvoiceType = (typeof InvoiceType)[keyof typeof InvoiceType];
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @enum
|
|
40
|
+
*/
|
|
41
|
+
export declare const ListInvoiceSummariesResourceType: {
|
|
42
|
+
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
43
|
+
readonly INVOICE_ID: "INVOICE_ID";
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export type ListInvoiceSummariesResourceType = (typeof ListInvoiceSummariesResourceType)[keyof typeof ListInvoiceSummariesResourceType];
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { InvoicingServiceException as __BaseException } from "./InvoicingServiceException";
|
|
4
|
+
import { ValidationExceptionField } from "./models_0";
|
|
5
|
+
/**
|
|
6
|
+
* <p>You don't have sufficient access to perform this action.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
10
|
+
readonly name: "AccessDeniedException";
|
|
11
|
+
readonly $fault: "client";
|
|
12
|
+
/**
|
|
13
|
+
* <p>You don't have sufficient access to perform this action. </p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
resourceName?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* <p>The processing request failed because of an unknown error, exception, or failure. </p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export declare class InternalServerException extends __BaseException {
|
|
27
|
+
readonly name: "InternalServerException";
|
|
28
|
+
readonly $fault: "server";
|
|
29
|
+
/**
|
|
30
|
+
* <p>The processing request failed because of an unknown error, exception, or failure.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
retryAfterSeconds?: number | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>The resource could not be found. </p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
44
|
+
readonly name: "ResourceNotFoundException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* <p>The resource could not be found.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
resourceName?: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* @internal
|
|
53
|
+
*/
|
|
54
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* <p>The request was denied due to request throttling.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class ThrottlingException extends __BaseException {
|
|
61
|
+
readonly name: "ThrottlingException";
|
|
62
|
+
readonly $fault: "client";
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* <p> The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class ValidationException extends __BaseException {
|
|
73
|
+
readonly name: "ValidationException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
/**
|
|
76
|
+
* <p>You don't have sufficient access to perform this action. </p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
resourceName?: string | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* <p>You don't have sufficient access to perform this action. </p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
reason?: ValidationExceptionReason | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p> The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services account limits. The error message describes the limit exceeded. </p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
100
|
+
readonly name: "ServiceQuotaExceededException";
|
|
101
|
+
readonly $fault: "client";
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
106
|
+
}
|
|
@@ -1,22 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { InvoicingServiceException as __BaseException } from "./InvoicingServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You don't have sufficient access to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* <p>You don't have sufficient access to perform this action. </p>
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
resourceName?: string | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* @internal
|
|
17
|
-
*/
|
|
18
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
19
|
-
}
|
|
1
|
+
import { InvoiceType, ListInvoiceSummariesResourceType } from "./enums";
|
|
20
2
|
/**
|
|
21
3
|
* <p> The discounted amount. </p>
|
|
22
4
|
* @public
|
|
@@ -261,52 +243,6 @@ export interface BatchGetInvoiceProfileResponse {
|
|
|
261
243
|
*/
|
|
262
244
|
Profiles?: InvoiceProfile[] | undefined;
|
|
263
245
|
}
|
|
264
|
-
/**
|
|
265
|
-
* <p>The processing request failed because of an unknown error, exception, or failure. </p>
|
|
266
|
-
* @public
|
|
267
|
-
*/
|
|
268
|
-
export declare class InternalServerException extends __BaseException {
|
|
269
|
-
readonly name: "InternalServerException";
|
|
270
|
-
readonly $fault: "server";
|
|
271
|
-
/**
|
|
272
|
-
* <p>The processing request failed because of an unknown error, exception, or failure.</p>
|
|
273
|
-
* @public
|
|
274
|
-
*/
|
|
275
|
-
retryAfterSeconds?: number | undefined;
|
|
276
|
-
/**
|
|
277
|
-
* @internal
|
|
278
|
-
*/
|
|
279
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
280
|
-
}
|
|
281
|
-
/**
|
|
282
|
-
* <p>The resource could not be found. </p>
|
|
283
|
-
* @public
|
|
284
|
-
*/
|
|
285
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
286
|
-
readonly name: "ResourceNotFoundException";
|
|
287
|
-
readonly $fault: "client";
|
|
288
|
-
/**
|
|
289
|
-
* <p>The resource could not be found.</p>
|
|
290
|
-
* @public
|
|
291
|
-
*/
|
|
292
|
-
resourceName?: string | undefined;
|
|
293
|
-
/**
|
|
294
|
-
* @internal
|
|
295
|
-
*/
|
|
296
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
297
|
-
}
|
|
298
|
-
/**
|
|
299
|
-
* <p>The request was denied due to request throttling.</p>
|
|
300
|
-
* @public
|
|
301
|
-
*/
|
|
302
|
-
export declare class ThrottlingException extends __BaseException {
|
|
303
|
-
readonly name: "ThrottlingException";
|
|
304
|
-
readonly $fault: "client";
|
|
305
|
-
/**
|
|
306
|
-
* @internal
|
|
307
|
-
*/
|
|
308
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
309
|
-
}
|
|
310
246
|
/**
|
|
311
247
|
* <p> The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
312
248
|
* @public
|
|
@@ -323,57 +259,6 @@ export interface ValidationExceptionField {
|
|
|
323
259
|
*/
|
|
324
260
|
message: string | undefined;
|
|
325
261
|
}
|
|
326
|
-
/**
|
|
327
|
-
* @public
|
|
328
|
-
* @enum
|
|
329
|
-
*/
|
|
330
|
-
export declare const ValidationExceptionReason: {
|
|
331
|
-
readonly ACCOUNT_MEMBERSHIP_ERROR: "accountMembershipError";
|
|
332
|
-
readonly CANNOT_PARSE: "cannotParse";
|
|
333
|
-
readonly DUPLICATE_INVOICE_UNIT: "duplicateInvoiceUnit";
|
|
334
|
-
readonly EXPIRED_NEXT_TOKEN: "expiredNextToken";
|
|
335
|
-
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
336
|
-
readonly INVALID_INPUT: "invalidInput";
|
|
337
|
-
readonly INVALID_NEXT_TOKEN: "invalidNextToken";
|
|
338
|
-
readonly MAX_ACCOUNTS_EXCEEDED: "maxAccountsExceeded";
|
|
339
|
-
readonly MAX_INVOICE_UNITS_EXCEEDED: "maxInvoiceUnitsExceeded";
|
|
340
|
-
readonly MUTUAL_EXCLUSION_ERROR: "mutualExclusionError";
|
|
341
|
-
readonly NON_MEMBERS_PRESENT: "nonMemberPresent";
|
|
342
|
-
readonly OTHER: "other";
|
|
343
|
-
readonly TAX_SETTINGS_ERROR: "taxSettingsError";
|
|
344
|
-
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
345
|
-
};
|
|
346
|
-
/**
|
|
347
|
-
* @public
|
|
348
|
-
*/
|
|
349
|
-
export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
350
|
-
/**
|
|
351
|
-
* <p> The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
352
|
-
* @public
|
|
353
|
-
*/
|
|
354
|
-
export declare class ValidationException extends __BaseException {
|
|
355
|
-
readonly name: "ValidationException";
|
|
356
|
-
readonly $fault: "client";
|
|
357
|
-
/**
|
|
358
|
-
* <p>You don't have sufficient access to perform this action. </p>
|
|
359
|
-
* @public
|
|
360
|
-
*/
|
|
361
|
-
resourceName?: string | undefined;
|
|
362
|
-
/**
|
|
363
|
-
* <p>You don't have sufficient access to perform this action. </p>
|
|
364
|
-
* @public
|
|
365
|
-
*/
|
|
366
|
-
reason?: ValidationExceptionReason | undefined;
|
|
367
|
-
/**
|
|
368
|
-
* <p> The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
369
|
-
* @public
|
|
370
|
-
*/
|
|
371
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
372
|
-
/**
|
|
373
|
-
* @internal
|
|
374
|
-
*/
|
|
375
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
376
|
-
}
|
|
377
262
|
/**
|
|
378
263
|
* <p> The billing period for which you want to retrieve invoice-related documents. </p>
|
|
379
264
|
* @public
|
|
@@ -416,6 +301,11 @@ export interface InvoiceUnitRule {
|
|
|
416
301
|
* @public
|
|
417
302
|
*/
|
|
418
303
|
LinkedAccounts?: string[] | undefined;
|
|
304
|
+
/**
|
|
305
|
+
* <p> A list of Amazon Web Services account account IDs that have delegated their billing responsibility to the receiver account through transfer billing. Unlike linked accounts, these bill source accounts can be payer accounts from other organizations that have authorized billing transfer to this account. </p>
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
BillSourceAccounts?: string[] | undefined;
|
|
419
309
|
}
|
|
420
310
|
/**
|
|
421
311
|
* @public
|
|
@@ -550,6 +440,11 @@ export interface Filters {
|
|
|
550
440
|
* @public
|
|
551
441
|
*/
|
|
552
442
|
Accounts?: string[] | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* <p> A list of Amazon Web Services account account IDs used to filter invoice units. These are payer accounts from other Organizations that have delegated their billing responsibility to the receiver account through the billing transfer feature. </p>
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
BillSourceAccounts?: string[] | undefined;
|
|
553
448
|
}
|
|
554
449
|
/**
|
|
555
450
|
* @public
|
|
@@ -699,18 +594,6 @@ export interface InvoiceCurrencyAmount {
|
|
|
699
594
|
*/
|
|
700
595
|
CurrencyExchangeDetails?: CurrencyExchangeDetails | undefined;
|
|
701
596
|
}
|
|
702
|
-
/**
|
|
703
|
-
* @public
|
|
704
|
-
* @enum
|
|
705
|
-
*/
|
|
706
|
-
export declare const InvoiceType: {
|
|
707
|
-
readonly CREDIT_MEMO: "CREDIT_MEMO";
|
|
708
|
-
readonly INVOICE: "INVOICE";
|
|
709
|
-
};
|
|
710
|
-
/**
|
|
711
|
-
* @public
|
|
712
|
-
*/
|
|
713
|
-
export type InvoiceType = (typeof InvoiceType)[keyof typeof InvoiceType];
|
|
714
597
|
/**
|
|
715
598
|
* <p> The invoice that the API retrieved. </p>
|
|
716
599
|
* @public
|
|
@@ -798,18 +681,6 @@ export interface InvoiceSummariesFilter {
|
|
|
798
681
|
*/
|
|
799
682
|
InvoicingEntity?: string | undefined;
|
|
800
683
|
}
|
|
801
|
-
/**
|
|
802
|
-
* @public
|
|
803
|
-
* @enum
|
|
804
|
-
*/
|
|
805
|
-
export declare const ListInvoiceSummariesResourceType: {
|
|
806
|
-
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
807
|
-
readonly INVOICE_ID: "INVOICE_ID";
|
|
808
|
-
};
|
|
809
|
-
/**
|
|
810
|
-
* @public
|
|
811
|
-
*/
|
|
812
|
-
export type ListInvoiceSummariesResourceType = (typeof ListInvoiceSummariesResourceType)[keyof typeof ListInvoiceSummariesResourceType];
|
|
813
684
|
/**
|
|
814
685
|
* <p>Specifies the invoice summary.</p>
|
|
815
686
|
* @public
|
|
@@ -967,18 +838,6 @@ export interface ListTagsForResourceResponse {
|
|
|
967
838
|
*/
|
|
968
839
|
ResourceTags?: ResourceTag[] | undefined;
|
|
969
840
|
}
|
|
970
|
-
/**
|
|
971
|
-
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services account limits. The error message describes the limit exceeded. </p>
|
|
972
|
-
* @public
|
|
973
|
-
*/
|
|
974
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
975
|
-
readonly name: "ServiceQuotaExceededException";
|
|
976
|
-
readonly $fault: "client";
|
|
977
|
-
/**
|
|
978
|
-
* @internal
|
|
979
|
-
*/
|
|
980
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
981
|
-
}
|
|
982
841
|
/**
|
|
983
842
|
* @public
|
|
984
843
|
*/
|
|
@@ -63,6 +63,7 @@ export declare var InvoiceUnits: StaticListSchema;
|
|
|
63
63
|
export declare var ProfileList: StaticListSchema;
|
|
64
64
|
export declare var ResourceTagKeyList: number;
|
|
65
65
|
export declare var ResourceTagList: StaticListSchema;
|
|
66
|
+
export declare var RuleAccountIdList: number;
|
|
66
67
|
export declare var SupplementalDocuments: StaticListSchema;
|
|
67
68
|
export declare var TaxesBreakdownAmountList: StaticListSchema;
|
|
68
69
|
export declare var ValidationExceptionFieldList: StaticListSchema;
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { InvoicingExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { InvoicingServiceException } from "./models/InvoicingServiceException";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const ValidationExceptionReason: {
|
|
2
|
+
readonly ACCOUNT_MEMBERSHIP_ERROR: "accountMembershipError";
|
|
3
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
4
|
+
readonly DUPLICATE_INVOICE_UNIT: "duplicateInvoiceUnit";
|
|
5
|
+
readonly EXPIRED_NEXT_TOKEN: "expiredNextToken";
|
|
6
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
7
|
+
readonly INVALID_INPUT: "invalidInput";
|
|
8
|
+
readonly INVALID_NEXT_TOKEN: "invalidNextToken";
|
|
9
|
+
readonly MAX_ACCOUNTS_EXCEEDED: "maxAccountsExceeded";
|
|
10
|
+
readonly MAX_INVOICE_UNITS_EXCEEDED: "maxInvoiceUnitsExceeded";
|
|
11
|
+
readonly MUTUAL_EXCLUSION_ERROR: "mutualExclusionError";
|
|
12
|
+
readonly NON_MEMBERS_PRESENT: "nonMemberPresent";
|
|
13
|
+
readonly OTHER: "other";
|
|
14
|
+
readonly TAX_SETTINGS_ERROR: "taxSettingsError";
|
|
15
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
16
|
+
};
|
|
17
|
+
export type ValidationExceptionReason =
|
|
18
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
19
|
+
export declare const InvoiceType: {
|
|
20
|
+
readonly CREDIT_MEMO: "CREDIT_MEMO";
|
|
21
|
+
readonly INVOICE: "INVOICE";
|
|
22
|
+
};
|
|
23
|
+
export type InvoiceType = (typeof InvoiceType)[keyof typeof InvoiceType];
|
|
24
|
+
export declare const ListInvoiceSummariesResourceType: {
|
|
25
|
+
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
26
|
+
readonly INVOICE_ID: "INVOICE_ID";
|
|
27
|
+
};
|
|
28
|
+
export type ListInvoiceSummariesResourceType =
|
|
29
|
+
(typeof ListInvoiceSummariesResourceType)[keyof typeof ListInvoiceSummariesResourceType];
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ValidationExceptionReason } from "./enums";
|
|
3
|
+
import { InvoicingServiceException as __BaseException } from "./InvoicingServiceException";
|
|
4
|
+
import { ValidationExceptionField } from "./models_0";
|
|
5
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
6
|
+
readonly name: "AccessDeniedException";
|
|
7
|
+
readonly $fault: "client";
|
|
8
|
+
resourceName?: string | undefined;
|
|
9
|
+
constructor(
|
|
10
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
export declare class InternalServerException extends __BaseException {
|
|
14
|
+
readonly name: "InternalServerException";
|
|
15
|
+
readonly $fault: "server";
|
|
16
|
+
retryAfterSeconds?: number | undefined;
|
|
17
|
+
constructor(
|
|
18
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
22
|
+
readonly name: "ResourceNotFoundException";
|
|
23
|
+
readonly $fault: "client";
|
|
24
|
+
resourceName?: string | undefined;
|
|
25
|
+
constructor(
|
|
26
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
export declare class ThrottlingException extends __BaseException {
|
|
30
|
+
readonly name: "ThrottlingException";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
constructor(
|
|
33
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
export declare class ValidationException extends __BaseException {
|
|
37
|
+
readonly name: "ValidationException";
|
|
38
|
+
readonly $fault: "client";
|
|
39
|
+
resourceName?: string | undefined;
|
|
40
|
+
reason?: ValidationExceptionReason | undefined;
|
|
41
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
42
|
+
constructor(
|
|
43
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
47
|
+
readonly name: "ServiceQuotaExceededException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
constructor(
|
|
50
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { InvoicingServiceException as __BaseException } from "./InvoicingServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
resourceName?: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
-
);
|
|
10
|
-
}
|
|
1
|
+
import { InvoiceType, ListInvoiceSummariesResourceType } from "./enums";
|
|
11
2
|
export interface DiscountsBreakdownAmount {
|
|
12
3
|
Description?: string | undefined;
|
|
13
4
|
Amount?: string | undefined;
|
|
@@ -66,61 +57,10 @@ export interface InvoiceProfile {
|
|
|
66
57
|
export interface BatchGetInvoiceProfileResponse {
|
|
67
58
|
Profiles?: InvoiceProfile[] | undefined;
|
|
68
59
|
}
|
|
69
|
-
export declare class InternalServerException extends __BaseException {
|
|
70
|
-
readonly name: "InternalServerException";
|
|
71
|
-
readonly $fault: "server";
|
|
72
|
-
retryAfterSeconds?: number | undefined;
|
|
73
|
-
constructor(
|
|
74
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
78
|
-
readonly name: "ResourceNotFoundException";
|
|
79
|
-
readonly $fault: "client";
|
|
80
|
-
resourceName?: string | undefined;
|
|
81
|
-
constructor(
|
|
82
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
export declare class ThrottlingException extends __BaseException {
|
|
86
|
-
readonly name: "ThrottlingException";
|
|
87
|
-
readonly $fault: "client";
|
|
88
|
-
constructor(
|
|
89
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
60
|
export interface ValidationExceptionField {
|
|
93
61
|
name: string | undefined;
|
|
94
62
|
message: string | undefined;
|
|
95
63
|
}
|
|
96
|
-
export declare const ValidationExceptionReason: {
|
|
97
|
-
readonly ACCOUNT_MEMBERSHIP_ERROR: "accountMembershipError";
|
|
98
|
-
readonly CANNOT_PARSE: "cannotParse";
|
|
99
|
-
readonly DUPLICATE_INVOICE_UNIT: "duplicateInvoiceUnit";
|
|
100
|
-
readonly EXPIRED_NEXT_TOKEN: "expiredNextToken";
|
|
101
|
-
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
102
|
-
readonly INVALID_INPUT: "invalidInput";
|
|
103
|
-
readonly INVALID_NEXT_TOKEN: "invalidNextToken";
|
|
104
|
-
readonly MAX_ACCOUNTS_EXCEEDED: "maxAccountsExceeded";
|
|
105
|
-
readonly MAX_INVOICE_UNITS_EXCEEDED: "maxInvoiceUnitsExceeded";
|
|
106
|
-
readonly MUTUAL_EXCLUSION_ERROR: "mutualExclusionError";
|
|
107
|
-
readonly NON_MEMBERS_PRESENT: "nonMemberPresent";
|
|
108
|
-
readonly OTHER: "other";
|
|
109
|
-
readonly TAX_SETTINGS_ERROR: "taxSettingsError";
|
|
110
|
-
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
111
|
-
};
|
|
112
|
-
export type ValidationExceptionReason =
|
|
113
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
114
|
-
export declare class ValidationException extends __BaseException {
|
|
115
|
-
readonly name: "ValidationException";
|
|
116
|
-
readonly $fault: "client";
|
|
117
|
-
resourceName?: string | undefined;
|
|
118
|
-
reason?: ValidationExceptionReason | undefined;
|
|
119
|
-
fieldList?: ValidationExceptionField[] | undefined;
|
|
120
|
-
constructor(
|
|
121
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
122
|
-
);
|
|
123
|
-
}
|
|
124
64
|
export interface BillingPeriod {
|
|
125
65
|
Month: number | undefined;
|
|
126
66
|
Year: number | undefined;
|
|
@@ -131,6 +71,7 @@ export interface ResourceTag {
|
|
|
131
71
|
}
|
|
132
72
|
export interface InvoiceUnitRule {
|
|
133
73
|
LinkedAccounts?: string[] | undefined;
|
|
74
|
+
BillSourceAccounts?: string[] | undefined;
|
|
134
75
|
}
|
|
135
76
|
export interface CreateInvoiceUnitRequest {
|
|
136
77
|
Name: string | undefined;
|
|
@@ -165,6 +106,7 @@ export interface Filters {
|
|
|
165
106
|
Names?: string[] | undefined;
|
|
166
107
|
InvoiceReceivers?: string[] | undefined;
|
|
167
108
|
Accounts?: string[] | undefined;
|
|
109
|
+
BillSourceAccounts?: string[] | undefined;
|
|
168
110
|
}
|
|
169
111
|
export interface GetInvoicePDFRequest {
|
|
170
112
|
InvoiceId: string | undefined;
|
|
@@ -202,11 +144,6 @@ export interface InvoiceCurrencyAmount {
|
|
|
202
144
|
AmountBreakdown?: AmountBreakdown | undefined;
|
|
203
145
|
CurrencyExchangeDetails?: CurrencyExchangeDetails | undefined;
|
|
204
146
|
}
|
|
205
|
-
export declare const InvoiceType: {
|
|
206
|
-
readonly CREDIT_MEMO: "CREDIT_MEMO";
|
|
207
|
-
readonly INVOICE: "INVOICE";
|
|
208
|
-
};
|
|
209
|
-
export type InvoiceType = (typeof InvoiceType)[keyof typeof InvoiceType];
|
|
210
147
|
export interface InvoiceSummary {
|
|
211
148
|
AccountId?: string | undefined;
|
|
212
149
|
InvoiceId?: string | undefined;
|
|
@@ -226,12 +163,6 @@ export interface InvoiceSummariesFilter {
|
|
|
226
163
|
BillingPeriod?: BillingPeriod | undefined;
|
|
227
164
|
InvoicingEntity?: string | undefined;
|
|
228
165
|
}
|
|
229
|
-
export declare const ListInvoiceSummariesResourceType: {
|
|
230
|
-
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
231
|
-
readonly INVOICE_ID: "INVOICE_ID";
|
|
232
|
-
};
|
|
233
|
-
export type ListInvoiceSummariesResourceType =
|
|
234
|
-
(typeof ListInvoiceSummariesResourceType)[keyof typeof ListInvoiceSummariesResourceType];
|
|
235
166
|
export interface InvoiceSummariesSelector {
|
|
236
167
|
ResourceType: ListInvoiceSummariesResourceType | undefined;
|
|
237
168
|
Value: string | undefined;
|
|
@@ -271,13 +202,6 @@ export interface ListTagsForResourceRequest {
|
|
|
271
202
|
export interface ListTagsForResourceResponse {
|
|
272
203
|
ResourceTags?: ResourceTag[] | undefined;
|
|
273
204
|
}
|
|
274
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
275
|
-
readonly name: "ServiceQuotaExceededException";
|
|
276
|
-
readonly $fault: "client";
|
|
277
|
-
constructor(
|
|
278
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
279
|
-
);
|
|
280
|
-
}
|
|
281
205
|
export interface TagResourceRequest {
|
|
282
206
|
ResourceArn: string | undefined;
|
|
283
207
|
ResourceTags: ResourceTag[] | undefined;
|
|
@@ -69,6 +69,7 @@ export declare var InvoiceUnits: StaticListSchema;
|
|
|
69
69
|
export declare var ProfileList: StaticListSchema;
|
|
70
70
|
export declare var ResourceTagKeyList: number;
|
|
71
71
|
export declare var ResourceTagList: StaticListSchema;
|
|
72
|
+
export declare var RuleAccountIdList: number;
|
|
72
73
|
export declare var SupplementalDocuments: StaticListSchema;
|
|
73
74
|
export declare var TaxesBreakdownAmountList: StaticListSchema;
|
|
74
75
|
export declare var ValidationExceptionFieldList: StaticListSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-invoicing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Invoicing Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-invoicing",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|