@aws-sdk/client-invoicing 3.703.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/LICENSE +201 -0
- package/README.md +293 -0
- package/dist-cjs/Invoicing.js +29 -0
- package/dist-cjs/InvoicingClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/BatchGetInvoiceProfileCommand.js +27 -0
- package/dist-cjs/commands/CreateInvoiceUnitCommand.js +26 -0
- package/dist-cjs/commands/DeleteInvoiceUnitCommand.js +26 -0
- package/dist-cjs/commands/GetInvoiceUnitCommand.js +26 -0
- package/dist-cjs/commands/ListInvoiceUnitsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateInvoiceUnitCommand.js +26 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/InvoicingServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +121 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListInvoiceUnitsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_json1_0.js +367 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/Invoicing.js +25 -0
- package/dist-es/InvoicingClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/BatchGetInvoiceProfileCommand.js +23 -0
- package/dist-es/commands/CreateInvoiceUnitCommand.js +22 -0
- package/dist-es/commands/DeleteInvoiceUnitCommand.js +22 -0
- package/dist-es/commands/GetInvoiceUnitCommand.js +22 -0
- package/dist-es/commands/ListInvoiceUnitsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateInvoiceUnitCommand.js +22 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/InvoicingServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +109 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListInvoiceUnitsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_0.js +346 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/Invoicing.d.ts +90 -0
- package/dist-types/InvoicingClient.d.ts +194 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/BatchGetInvoiceProfileCommand.d.ts +111 -0
- package/dist-types/commands/CreateInvoiceUnitCommand.d.ts +100 -0
- package/dist-types/commands/DeleteInvoiceUnitCommand.d.ts +91 -0
- package/dist-types/commands/GetInvoiceUnitCommand.d.ts +101 -0
- package/dist-types/commands/ListInvoiceUnitsCommand.d.ts +114 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +96 -0
- package/dist-types/commands/TagResourceCommand.d.ts +99 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UpdateInvoiceUnitCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +30 -0
- package/dist-types/models/InvoicingServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +742 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListInvoiceUnitsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +83 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Invoicing.d.ts +159 -0
- package/dist-types/ts3.4/InvoicingClient.d.ts +172 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/BatchGetInvoiceProfileCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateInvoiceUnitCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteInvoiceUnitCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetInvoiceUnitCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListInvoiceUnitsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateInvoiceUnitCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/InvoicingServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +192 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListInvoiceUnitsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +113 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
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
|
+
}
|
|
11
|
+
export interface BatchGetInvoiceProfileRequest {
|
|
12
|
+
AccountIds: string[] | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface ReceiverAddress {
|
|
15
|
+
AddressLine1?: string | undefined;
|
|
16
|
+
AddressLine2?: string | undefined;
|
|
17
|
+
AddressLine3?: string | undefined;
|
|
18
|
+
DistrictOrCounty?: string | undefined;
|
|
19
|
+
City?: string | undefined;
|
|
20
|
+
StateOrRegion?: string | undefined;
|
|
21
|
+
CountryCode?: string | undefined;
|
|
22
|
+
CompanyName?: string | undefined;
|
|
23
|
+
PostalCode?: string | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface InvoiceProfile {
|
|
26
|
+
AccountId?: string | undefined;
|
|
27
|
+
ReceiverName?: string | undefined;
|
|
28
|
+
ReceiverAddress?: ReceiverAddress | undefined;
|
|
29
|
+
ReceiverEmail?: string | undefined;
|
|
30
|
+
Issuer?: string | undefined;
|
|
31
|
+
TaxRegistrationNumber?: string | undefined;
|
|
32
|
+
}
|
|
33
|
+
export interface BatchGetInvoiceProfileResponse {
|
|
34
|
+
Profiles?: InvoiceProfile[] | undefined;
|
|
35
|
+
}
|
|
36
|
+
export declare class InternalServerException extends __BaseException {
|
|
37
|
+
readonly name: "InternalServerException";
|
|
38
|
+
readonly $fault: "server";
|
|
39
|
+
retryAfterSeconds?: number | undefined;
|
|
40
|
+
constructor(
|
|
41
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
45
|
+
readonly name: "ResourceNotFoundException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
resourceName?: string | undefined;
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class ThrottlingException extends __BaseException {
|
|
53
|
+
readonly name: "ThrottlingException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
constructor(
|
|
56
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
export interface ValidationExceptionField {
|
|
60
|
+
name: string | undefined;
|
|
61
|
+
message: string | undefined;
|
|
62
|
+
}
|
|
63
|
+
export declare const ValidationExceptionReason: {
|
|
64
|
+
readonly ACCOUNT_MEMBERSHIP_ERROR: "accountMembershipError";
|
|
65
|
+
readonly CANNOT_PARSE: "cannotParse";
|
|
66
|
+
readonly DUPLICATE_INVOICE_UNIT: "duplicateInvoiceUnit";
|
|
67
|
+
readonly EXPIRED_NEXT_TOKEN: "expiredNextToken";
|
|
68
|
+
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
69
|
+
readonly INVALID_INPUT: "invalidInput";
|
|
70
|
+
readonly INVALID_NEXT_TOKEN: "invalidNextToken";
|
|
71
|
+
readonly MAX_ACCOUNTS_EXCEEDED: "maxAccountsExceeded";
|
|
72
|
+
readonly MAX_INVOICE_UNITS_EXCEEDED: "maxInvoiceUnitsExceeded";
|
|
73
|
+
readonly MUTUAL_EXCLUSION_ERROR: "mutualExclusionError";
|
|
74
|
+
readonly NON_MEMBERS_PRESENT: "nonMemberPresent";
|
|
75
|
+
readonly OTHER: "other";
|
|
76
|
+
readonly TAX_SETTINGS_ERROR: "taxSettingsError";
|
|
77
|
+
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
78
|
+
};
|
|
79
|
+
export type ValidationExceptionReason =
|
|
80
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
81
|
+
export declare class ValidationException extends __BaseException {
|
|
82
|
+
readonly name: "ValidationException";
|
|
83
|
+
readonly $fault: "client";
|
|
84
|
+
resourceName?: string | undefined;
|
|
85
|
+
reason?: ValidationExceptionReason | undefined;
|
|
86
|
+
fieldList?: ValidationExceptionField[] | undefined;
|
|
87
|
+
constructor(
|
|
88
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
export interface ResourceTag {
|
|
92
|
+
Key: string | undefined;
|
|
93
|
+
Value: string | undefined;
|
|
94
|
+
}
|
|
95
|
+
export interface InvoiceUnitRule {
|
|
96
|
+
LinkedAccounts?: string[] | undefined;
|
|
97
|
+
}
|
|
98
|
+
export interface CreateInvoiceUnitRequest {
|
|
99
|
+
Name: string | undefined;
|
|
100
|
+
InvoiceReceiver: string | undefined;
|
|
101
|
+
Description?: string | undefined;
|
|
102
|
+
TaxInheritanceDisabled?: boolean | undefined;
|
|
103
|
+
Rule: InvoiceUnitRule | undefined;
|
|
104
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
105
|
+
}
|
|
106
|
+
export interface CreateInvoiceUnitResponse {
|
|
107
|
+
InvoiceUnitArn?: string | undefined;
|
|
108
|
+
}
|
|
109
|
+
export interface DeleteInvoiceUnitRequest {
|
|
110
|
+
InvoiceUnitArn: string | undefined;
|
|
111
|
+
}
|
|
112
|
+
export interface DeleteInvoiceUnitResponse {
|
|
113
|
+
InvoiceUnitArn?: string | undefined;
|
|
114
|
+
}
|
|
115
|
+
export interface Filters {
|
|
116
|
+
Names?: string[] | undefined;
|
|
117
|
+
InvoiceReceivers?: string[] | undefined;
|
|
118
|
+
Accounts?: string[] | undefined;
|
|
119
|
+
}
|
|
120
|
+
export interface GetInvoiceUnitRequest {
|
|
121
|
+
InvoiceUnitArn: string | undefined;
|
|
122
|
+
AsOf?: Date | undefined;
|
|
123
|
+
}
|
|
124
|
+
export interface GetInvoiceUnitResponse {
|
|
125
|
+
InvoiceUnitArn?: string | undefined;
|
|
126
|
+
InvoiceReceiver?: string | undefined;
|
|
127
|
+
Name?: string | undefined;
|
|
128
|
+
Description?: string | undefined;
|
|
129
|
+
TaxInheritanceDisabled?: boolean | undefined;
|
|
130
|
+
Rule?: InvoiceUnitRule | undefined;
|
|
131
|
+
LastModified?: Date | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface InvoiceUnit {
|
|
134
|
+
InvoiceUnitArn?: string | undefined;
|
|
135
|
+
InvoiceReceiver?: string | undefined;
|
|
136
|
+
Name?: string | undefined;
|
|
137
|
+
Description?: string | undefined;
|
|
138
|
+
TaxInheritanceDisabled?: boolean | undefined;
|
|
139
|
+
Rule?: InvoiceUnitRule | undefined;
|
|
140
|
+
LastModified?: Date | undefined;
|
|
141
|
+
}
|
|
142
|
+
export interface ListInvoiceUnitsRequest {
|
|
143
|
+
Filters?: Filters | undefined;
|
|
144
|
+
NextToken?: string | undefined;
|
|
145
|
+
MaxResults?: number | undefined;
|
|
146
|
+
AsOf?: Date | undefined;
|
|
147
|
+
}
|
|
148
|
+
export interface ListInvoiceUnitsResponse {
|
|
149
|
+
InvoiceUnits?: InvoiceUnit[] | undefined;
|
|
150
|
+
NextToken?: string | undefined;
|
|
151
|
+
}
|
|
152
|
+
export interface ListTagsForResourceRequest {
|
|
153
|
+
ResourceArn: string | undefined;
|
|
154
|
+
}
|
|
155
|
+
export interface ListTagsForResourceResponse {
|
|
156
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
157
|
+
}
|
|
158
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
159
|
+
readonly name: "ServiceQuotaExceededException";
|
|
160
|
+
readonly $fault: "client";
|
|
161
|
+
constructor(
|
|
162
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
export interface TagResourceRequest {
|
|
166
|
+
ResourceArn: string | undefined;
|
|
167
|
+
ResourceTags: ResourceTag[] | undefined;
|
|
168
|
+
}
|
|
169
|
+
export interface TagResourceResponse {}
|
|
170
|
+
export interface UntagResourceRequest {
|
|
171
|
+
ResourceArn: string | undefined;
|
|
172
|
+
ResourceTagKeys: string[] | undefined;
|
|
173
|
+
}
|
|
174
|
+
export interface UntagResourceResponse {}
|
|
175
|
+
export interface UpdateInvoiceUnitRequest {
|
|
176
|
+
InvoiceUnitArn: string | undefined;
|
|
177
|
+
Description?: string | undefined;
|
|
178
|
+
TaxInheritanceDisabled?: boolean | undefined;
|
|
179
|
+
Rule?: InvoiceUnitRule | undefined;
|
|
180
|
+
}
|
|
181
|
+
export interface UpdateInvoiceUnitResponse {
|
|
182
|
+
InvoiceUnitArn?: string | undefined;
|
|
183
|
+
}
|
|
184
|
+
export declare const ReceiverAddressFilterSensitiveLog: (
|
|
185
|
+
obj: ReceiverAddress
|
|
186
|
+
) => any;
|
|
187
|
+
export declare const InvoiceProfileFilterSensitiveLog: (
|
|
188
|
+
obj: InvoiceProfile
|
|
189
|
+
) => any;
|
|
190
|
+
export declare const BatchGetInvoiceProfileResponseFilterSensitiveLog: (
|
|
191
|
+
obj: BatchGetInvoiceProfileResponse
|
|
192
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListInvoiceUnitsCommandInput,
|
|
4
|
+
ListInvoiceUnitsCommandOutput,
|
|
5
|
+
} from "../commands/ListInvoiceUnitsCommand";
|
|
6
|
+
import { InvoicingPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListInvoiceUnits: (
|
|
8
|
+
config: InvoicingPaginationConfiguration,
|
|
9
|
+
input: ListInvoiceUnitsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListInvoiceUnitsCommandOutput>;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
BatchGetInvoiceProfileCommandInput,
|
|
8
|
+
BatchGetInvoiceProfileCommandOutput,
|
|
9
|
+
} from "../commands/BatchGetInvoiceProfileCommand";
|
|
10
|
+
import {
|
|
11
|
+
CreateInvoiceUnitCommandInput,
|
|
12
|
+
CreateInvoiceUnitCommandOutput,
|
|
13
|
+
} from "../commands/CreateInvoiceUnitCommand";
|
|
14
|
+
import {
|
|
15
|
+
DeleteInvoiceUnitCommandInput,
|
|
16
|
+
DeleteInvoiceUnitCommandOutput,
|
|
17
|
+
} from "../commands/DeleteInvoiceUnitCommand";
|
|
18
|
+
import {
|
|
19
|
+
GetInvoiceUnitCommandInput,
|
|
20
|
+
GetInvoiceUnitCommandOutput,
|
|
21
|
+
} from "../commands/GetInvoiceUnitCommand";
|
|
22
|
+
import {
|
|
23
|
+
ListInvoiceUnitsCommandInput,
|
|
24
|
+
ListInvoiceUnitsCommandOutput,
|
|
25
|
+
} from "../commands/ListInvoiceUnitsCommand";
|
|
26
|
+
import {
|
|
27
|
+
ListTagsForResourceCommandInput,
|
|
28
|
+
ListTagsForResourceCommandOutput,
|
|
29
|
+
} from "../commands/ListTagsForResourceCommand";
|
|
30
|
+
import {
|
|
31
|
+
TagResourceCommandInput,
|
|
32
|
+
TagResourceCommandOutput,
|
|
33
|
+
} from "../commands/TagResourceCommand";
|
|
34
|
+
import {
|
|
35
|
+
UntagResourceCommandInput,
|
|
36
|
+
UntagResourceCommandOutput,
|
|
37
|
+
} from "../commands/UntagResourceCommand";
|
|
38
|
+
import {
|
|
39
|
+
UpdateInvoiceUnitCommandInput,
|
|
40
|
+
UpdateInvoiceUnitCommandOutput,
|
|
41
|
+
} from "../commands/UpdateInvoiceUnitCommand";
|
|
42
|
+
export declare const se_BatchGetInvoiceProfileCommand: (
|
|
43
|
+
input: BatchGetInvoiceProfileCommandInput,
|
|
44
|
+
context: __SerdeContext
|
|
45
|
+
) => Promise<__HttpRequest>;
|
|
46
|
+
export declare const se_CreateInvoiceUnitCommand: (
|
|
47
|
+
input: CreateInvoiceUnitCommandInput,
|
|
48
|
+
context: __SerdeContext
|
|
49
|
+
) => Promise<__HttpRequest>;
|
|
50
|
+
export declare const se_DeleteInvoiceUnitCommand: (
|
|
51
|
+
input: DeleteInvoiceUnitCommandInput,
|
|
52
|
+
context: __SerdeContext
|
|
53
|
+
) => Promise<__HttpRequest>;
|
|
54
|
+
export declare const se_GetInvoiceUnitCommand: (
|
|
55
|
+
input: GetInvoiceUnitCommandInput,
|
|
56
|
+
context: __SerdeContext
|
|
57
|
+
) => Promise<__HttpRequest>;
|
|
58
|
+
export declare const se_ListInvoiceUnitsCommand: (
|
|
59
|
+
input: ListInvoiceUnitsCommandInput,
|
|
60
|
+
context: __SerdeContext
|
|
61
|
+
) => Promise<__HttpRequest>;
|
|
62
|
+
export declare const se_ListTagsForResourceCommand: (
|
|
63
|
+
input: ListTagsForResourceCommandInput,
|
|
64
|
+
context: __SerdeContext
|
|
65
|
+
) => Promise<__HttpRequest>;
|
|
66
|
+
export declare const se_TagResourceCommand: (
|
|
67
|
+
input: TagResourceCommandInput,
|
|
68
|
+
context: __SerdeContext
|
|
69
|
+
) => Promise<__HttpRequest>;
|
|
70
|
+
export declare const se_UntagResourceCommand: (
|
|
71
|
+
input: UntagResourceCommandInput,
|
|
72
|
+
context: __SerdeContext
|
|
73
|
+
) => Promise<__HttpRequest>;
|
|
74
|
+
export declare const se_UpdateInvoiceUnitCommand: (
|
|
75
|
+
input: UpdateInvoiceUnitCommandInput,
|
|
76
|
+
context: __SerdeContext
|
|
77
|
+
) => Promise<__HttpRequest>;
|
|
78
|
+
export declare const de_BatchGetInvoiceProfileCommand: (
|
|
79
|
+
output: __HttpResponse,
|
|
80
|
+
context: __SerdeContext
|
|
81
|
+
) => Promise<BatchGetInvoiceProfileCommandOutput>;
|
|
82
|
+
export declare const de_CreateInvoiceUnitCommand: (
|
|
83
|
+
output: __HttpResponse,
|
|
84
|
+
context: __SerdeContext
|
|
85
|
+
) => Promise<CreateInvoiceUnitCommandOutput>;
|
|
86
|
+
export declare const de_DeleteInvoiceUnitCommand: (
|
|
87
|
+
output: __HttpResponse,
|
|
88
|
+
context: __SerdeContext
|
|
89
|
+
) => Promise<DeleteInvoiceUnitCommandOutput>;
|
|
90
|
+
export declare const de_GetInvoiceUnitCommand: (
|
|
91
|
+
output: __HttpResponse,
|
|
92
|
+
context: __SerdeContext
|
|
93
|
+
) => Promise<GetInvoiceUnitCommandOutput>;
|
|
94
|
+
export declare const de_ListInvoiceUnitsCommand: (
|
|
95
|
+
output: __HttpResponse,
|
|
96
|
+
context: __SerdeContext
|
|
97
|
+
) => Promise<ListInvoiceUnitsCommandOutput>;
|
|
98
|
+
export declare const de_ListTagsForResourceCommand: (
|
|
99
|
+
output: __HttpResponse,
|
|
100
|
+
context: __SerdeContext
|
|
101
|
+
) => Promise<ListTagsForResourceCommandOutput>;
|
|
102
|
+
export declare const de_TagResourceCommand: (
|
|
103
|
+
output: __HttpResponse,
|
|
104
|
+
context: __SerdeContext
|
|
105
|
+
) => Promise<TagResourceCommandOutput>;
|
|
106
|
+
export declare const de_UntagResourceCommand: (
|
|
107
|
+
output: __HttpResponse,
|
|
108
|
+
context: __SerdeContext
|
|
109
|
+
) => Promise<UntagResourceCommandOutput>;
|
|
110
|
+
export declare const de_UpdateInvoiceUnitCommand: (
|
|
111
|
+
output: __HttpResponse,
|
|
112
|
+
context: __SerdeContext
|
|
113
|
+
) => Promise<UpdateInvoiceUnitCommandOutput>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { InvoicingClientConfig } from "./InvoicingClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: InvoicingClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider: (
|
|
10
|
+
input: any
|
|
11
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
|
+
defaultUserAgentProvider: (
|
|
13
|
+
config?:
|
|
14
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
15
|
+
| undefined
|
|
16
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
+
requestHandler:
|
|
20
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
21
|
+
| RequestHandler;
|
|
22
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
25
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
26
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
|
+
apiVersion: string;
|
|
28
|
+
cacheMiddleware?: boolean | undefined;
|
|
29
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
30
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
31
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
32
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
34
|
+
disableHostPrefix: boolean;
|
|
35
|
+
serviceId: string;
|
|
36
|
+
logger: import("@smithy/types").Logger;
|
|
37
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
38
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
39
|
+
userAgentAppId?:
|
|
40
|
+
| string
|
|
41
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
42
|
+
| undefined;
|
|
43
|
+
retryStrategy?:
|
|
44
|
+
| import("@smithy/types").RetryStrategy
|
|
45
|
+
| import("@smithy/types").RetryStrategyV2
|
|
46
|
+
| undefined;
|
|
47
|
+
endpoint?:
|
|
48
|
+
| ((
|
|
49
|
+
| string
|
|
50
|
+
| import("@smithy/types").Endpoint
|
|
51
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
|
+
| import("@smithy/types").EndpointV2
|
|
53
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
54
|
+
) &
|
|
55
|
+
(
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Provider<string>
|
|
58
|
+
| import("@smithy/types").Endpoint
|
|
59
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
60
|
+
| import("@smithy/types").EndpointV2
|
|
61
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
62
|
+
))
|
|
63
|
+
| undefined;
|
|
64
|
+
endpointProvider: (
|
|
65
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
66
|
+
context?: {
|
|
67
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
68
|
+
}
|
|
69
|
+
) => import("@smithy/types").EndpointV2;
|
|
70
|
+
tls?: boolean | undefined;
|
|
71
|
+
serviceConfiguredEndpoint?: undefined;
|
|
72
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
73
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").InvoicingHttpAuthSchemeProvider;
|
|
74
|
+
credentials?:
|
|
75
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
76
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
77
|
+
| undefined;
|
|
78
|
+
signer?:
|
|
79
|
+
| import("@smithy/types").RequestSigner
|
|
80
|
+
| ((
|
|
81
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
|
82
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
|
83
|
+
| undefined;
|
|
84
|
+
signingEscapePath?: boolean | undefined;
|
|
85
|
+
systemClockOffset?: number | undefined;
|
|
86
|
+
signingRegion?: string | undefined;
|
|
87
|
+
signerConstructor?:
|
|
88
|
+
| (new (
|
|
89
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
90
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
) => import("@smithy/types").RequestSigner)
|
|
92
|
+
| undefined;
|
|
93
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { InvoicingClientConfig } from "./InvoicingClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: InvoicingClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider: (
|
|
10
|
+
init?:
|
|
11
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
12
|
+
| undefined
|
|
13
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
14
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
15
|
+
>;
|
|
16
|
+
defaultUserAgentProvider: (
|
|
17
|
+
config?:
|
|
18
|
+
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
19
|
+
| undefined
|
|
20
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
21
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
22
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
23
|
+
requestHandler:
|
|
24
|
+
| RequestHandler
|
|
25
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
26
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
27
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
28
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
29
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
30
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
32
|
+
apiVersion: string;
|
|
33
|
+
cacheMiddleware?: boolean | undefined;
|
|
34
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
35
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
36
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
37
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
38
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
39
|
+
disableHostPrefix: boolean;
|
|
40
|
+
serviceId: string;
|
|
41
|
+
logger: import("@smithy/types").Logger;
|
|
42
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
44
|
+
retryStrategy?:
|
|
45
|
+
| import("@smithy/types").RetryStrategy
|
|
46
|
+
| import("@smithy/types").RetryStrategyV2
|
|
47
|
+
| undefined;
|
|
48
|
+
endpoint?:
|
|
49
|
+
| ((
|
|
50
|
+
| string
|
|
51
|
+
| import("@smithy/types").Endpoint
|
|
52
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
53
|
+
| import("@smithy/types").EndpointV2
|
|
54
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
55
|
+
) &
|
|
56
|
+
(
|
|
57
|
+
| string
|
|
58
|
+
| import("@smithy/types").Provider<string>
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
))
|
|
64
|
+
| undefined;
|
|
65
|
+
endpointProvider: (
|
|
66
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
67
|
+
context?: {
|
|
68
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
69
|
+
}
|
|
70
|
+
) => import("@smithy/types").EndpointV2;
|
|
71
|
+
tls?: boolean | undefined;
|
|
72
|
+
serviceConfiguredEndpoint?: undefined;
|
|
73
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
74
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").InvoicingHttpAuthSchemeProvider;
|
|
75
|
+
credentials?:
|
|
76
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
77
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
78
|
+
| undefined;
|
|
79
|
+
signer?:
|
|
80
|
+
| import("@smithy/types").RequestSigner
|
|
81
|
+
| ((
|
|
82
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
|
83
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
|
84
|
+
| undefined;
|
|
85
|
+
signingEscapePath?: boolean | undefined;
|
|
86
|
+
systemClockOffset?: number | undefined;
|
|
87
|
+
signingRegion?: string | undefined;
|
|
88
|
+
signerConstructor?:
|
|
89
|
+
| (new (
|
|
90
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
92
|
+
) => import("@smithy/types").RequestSigner)
|
|
93
|
+
| undefined;
|
|
94
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { InvoicingClientConfig } from "./InvoicingClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: InvoicingClientConfig) => {
|
|
3
|
+
runtime: string;
|
|
4
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
5
|
+
requestHandler:
|
|
6
|
+
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
|
+
| import("@smithy/types").FetchHttpHandlerOptions
|
|
8
|
+
| Record<string, unknown>
|
|
9
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
10
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
+
apiVersion: string;
|
|
12
|
+
cacheMiddleware?: boolean | undefined;
|
|
13
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
14
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
18
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
19
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
20
|
+
disableHostPrefix: boolean;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
+
defaultUserAgentProvider: (
|
|
26
|
+
config?:
|
|
27
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
28
|
+
| undefined
|
|
29
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
30
|
+
credentialDefaultProvider: (
|
|
31
|
+
input: any
|
|
32
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
33
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
34
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
35
|
+
logger: import("@smithy/types").Logger;
|
|
36
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
37
|
+
defaultsMode:
|
|
38
|
+
| import("@smithy/smithy-client").DefaultsMode
|
|
39
|
+
| import("@smithy/types").Provider<
|
|
40
|
+
import("@smithy/smithy-client").DefaultsMode
|
|
41
|
+
>;
|
|
42
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
43
|
+
userAgentAppId?:
|
|
44
|
+
| string
|
|
45
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
46
|
+
| undefined;
|
|
47
|
+
retryStrategy?:
|
|
48
|
+
| import("@smithy/types").RetryStrategy
|
|
49
|
+
| import("@smithy/types").RetryStrategyV2
|
|
50
|
+
| undefined;
|
|
51
|
+
endpoint?:
|
|
52
|
+
| string
|
|
53
|
+
| import("@smithy/types").Endpoint
|
|
54
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
55
|
+
| import("@smithy/types").EndpointV2
|
|
56
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
57
|
+
| undefined;
|
|
58
|
+
endpointProvider: (
|
|
59
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
60
|
+
context?: {
|
|
61
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
62
|
+
}
|
|
63
|
+
) => import("@smithy/types").EndpointV2;
|
|
64
|
+
tls?: boolean | undefined;
|
|
65
|
+
serviceConfiguredEndpoint?: undefined;
|
|
66
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
67
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").InvoicingHttpAuthSchemeProvider;
|
|
68
|
+
credentials?:
|
|
69
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
70
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
71
|
+
| undefined;
|
|
72
|
+
signer?:
|
|
73
|
+
| import("@smithy/types").RequestSigner
|
|
74
|
+
| ((
|
|
75
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
|
76
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
|
77
|
+
| undefined;
|
|
78
|
+
signingEscapePath?: boolean | undefined;
|
|
79
|
+
systemClockOffset?: number | undefined;
|
|
80
|
+
signingRegion?: string | undefined;
|
|
81
|
+
signerConstructor?:
|
|
82
|
+
| (new (
|
|
83
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
84
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
85
|
+
) => import("@smithy/types").RequestSigner)
|
|
86
|
+
| undefined;
|
|
87
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { InvoicingClientConfig } from "./InvoicingClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: InvoicingClientConfig) => {
|
|
3
|
+
apiVersion: string;
|
|
4
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
5
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
6
|
+
disableHostPrefix: boolean;
|
|
7
|
+
endpointProvider: (
|
|
8
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
9
|
+
context?: {
|
|
10
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
11
|
+
}
|
|
12
|
+
) => import("@smithy/types").EndpointV2;
|
|
13
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").InvoicingHttpAuthSchemeProvider;
|
|
15
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
|
+
logger: import("@smithy/types").Logger;
|
|
17
|
+
serviceId: string;
|
|
18
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
19
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
21
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InvoicingExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
export interface RuntimeExtension {
|
|
3
|
+
configure(extensionConfiguration: InvoicingExtensionConfiguration): void;
|
|
4
|
+
}
|
|
5
|
+
export interface RuntimeExtensionsConfig {
|
|
6
|
+
extensions: RuntimeExtension[];
|
|
7
|
+
}
|
|
8
|
+
export declare const resolveRuntimeExtensions: (
|
|
9
|
+
runtimeConfig: any,
|
|
10
|
+
extensions: RuntimeExtension[]
|
|
11
|
+
) => any;
|