@aws-sdk/client-invoicing 3.1044.0 → 3.1046.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.
Files changed (93) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +90 -51
  5. package/dist-cjs/models/InvoicingServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-cjs/schemas/schemas_0.js +19 -8
  10. package/dist-es/Invoicing.js +1 -1
  11. package/dist-es/InvoicingClient.js +5 -5
  12. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  13. package/dist-es/commands/BatchGetInvoiceProfileCommand.js +2 -2
  14. package/dist-es/commands/CreateInvoiceUnitCommand.js +2 -2
  15. package/dist-es/commands/CreateProcurementPortalPreferenceCommand.js +2 -2
  16. package/dist-es/commands/DeleteInvoiceUnitCommand.js +2 -2
  17. package/dist-es/commands/DeleteProcurementPortalPreferenceCommand.js +2 -2
  18. package/dist-es/commands/GetInvoicePDFCommand.js +2 -2
  19. package/dist-es/commands/GetInvoiceUnitCommand.js +2 -2
  20. package/dist-es/commands/GetProcurementPortalPreferenceCommand.js +2 -2
  21. package/dist-es/commands/ListInvoiceSummariesCommand.js +2 -2
  22. package/dist-es/commands/ListInvoiceUnitsCommand.js +2 -2
  23. package/dist-es/commands/ListProcurementPortalPreferencesCommand.js +2 -2
  24. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  25. package/dist-es/commands/PutProcurementPortalPreferenceCommand.js +2 -2
  26. package/dist-es/commands/TagResourceCommand.js +2 -2
  27. package/dist-es/commands/UntagResourceCommand.js +2 -2
  28. package/dist-es/commands/UpdateInvoiceUnitCommand.js +2 -2
  29. package/dist-es/commands/UpdateProcurementPortalPreferenceStatusCommand.js +2 -2
  30. package/dist-es/endpoint/bdd.js +1 -1
  31. package/dist-es/endpoint/endpointResolver.js +1 -1
  32. package/dist-es/models/InvoicingServiceException.js +1 -1
  33. package/dist-es/models/enums.js +33 -0
  34. package/dist-es/runtimeConfig.browser.js +4 -6
  35. package/dist-es/runtimeConfig.js +4 -8
  36. package/dist-es/runtimeConfig.shared.js +3 -4
  37. package/dist-es/runtimeExtensions.js +2 -2
  38. package/dist-es/schemas/schemas_0.js +19 -8
  39. package/dist-types/InvoicingClient.d.ts +5 -5
  40. package/dist-types/commands/BatchGetInvoiceProfileCommand.d.ts +6 -4
  41. package/dist-types/commands/CreateInvoiceUnitCommand.d.ts +6 -4
  42. package/dist-types/commands/CreateProcurementPortalPreferenceCommand.d.ts +7 -5
  43. package/dist-types/commands/DeleteInvoiceUnitCommand.d.ts +6 -4
  44. package/dist-types/commands/DeleteProcurementPortalPreferenceCommand.d.ts +7 -5
  45. package/dist-types/commands/GetInvoicePDFCommand.d.ts +10 -4
  46. package/dist-types/commands/GetInvoiceUnitCommand.d.ts +6 -4
  47. package/dist-types/commands/GetProcurementPortalPreferenceCommand.d.ts +7 -5
  48. package/dist-types/commands/ListInvoiceSummariesCommand.d.ts +188 -5
  49. package/dist-types/commands/ListInvoiceUnitsCommand.d.ts +6 -4
  50. package/dist-types/commands/ListProcurementPortalPreferencesCommand.d.ts +7 -5
  51. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  52. package/dist-types/commands/PutProcurementPortalPreferenceCommand.d.ts +7 -5
  53. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  54. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  55. package/dist-types/commands/UpdateInvoiceUnitCommand.d.ts +6 -4
  56. package/dist-types/commands/UpdateProcurementPortalPreferenceStatusCommand.d.ts +7 -5
  57. package/dist-types/endpoint/bdd.d.ts +1 -1
  58. package/dist-types/extensionConfiguration.d.ts +1 -1
  59. package/dist-types/models/InvoicingServiceException.d.ts +1 -1
  60. package/dist-types/models/enums.d.ts +89 -0
  61. package/dist-types/models/errors.d.ts +1 -1
  62. package/dist-types/models/models_0.d.ts +63 -3
  63. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  64. package/dist-types/runtimeConfig.d.ts +2 -2
  65. package/dist-types/runtimeConfig.native.d.ts +2 -2
  66. package/dist-types/ts3.4/InvoicingClient.d.ts +8 -14
  67. package/dist-types/ts3.4/commands/BatchGetInvoiceProfileCommand.d.ts +6 -4
  68. package/dist-types/ts3.4/commands/CreateInvoiceUnitCommand.d.ts +6 -4
  69. package/dist-types/ts3.4/commands/CreateProcurementPortalPreferenceCommand.d.ts +6 -4
  70. package/dist-types/ts3.4/commands/DeleteInvoiceUnitCommand.d.ts +6 -4
  71. package/dist-types/ts3.4/commands/DeleteProcurementPortalPreferenceCommand.d.ts +6 -4
  72. package/dist-types/ts3.4/commands/GetInvoicePDFCommand.d.ts +6 -4
  73. package/dist-types/ts3.4/commands/GetInvoiceUnitCommand.d.ts +6 -4
  74. package/dist-types/ts3.4/commands/GetProcurementPortalPreferenceCommand.d.ts +6 -4
  75. package/dist-types/ts3.4/commands/ListInvoiceSummariesCommand.d.ts +6 -4
  76. package/dist-types/ts3.4/commands/ListInvoiceUnitsCommand.d.ts +6 -4
  77. package/dist-types/ts3.4/commands/ListProcurementPortalPreferencesCommand.d.ts +6 -4
  78. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  79. package/dist-types/ts3.4/commands/PutProcurementPortalPreferenceCommand.d.ts +6 -4
  80. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  81. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  82. package/dist-types/ts3.4/commands/UpdateInvoiceUnitCommand.d.ts +6 -4
  83. package/dist-types/ts3.4/commands/UpdateProcurementPortalPreferenceStatusCommand.d.ts +6 -4
  84. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  85. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  86. package/dist-types/ts3.4/models/InvoicingServiceException.d.ts +1 -1
  87. package/dist-types/ts3.4/models/enums.d.ts +44 -0
  88. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  89. package/dist-types/ts3.4/models/models_0.d.ts +19 -0
  90. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  91. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  92. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  93. package/package.json +13 -34
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InvoicingClient";
4
4
  import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface TagResourceCommandInput extends TagResourceRequest {
22
22
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
23
  }
24
24
  declare const TagResourceCommand_base: {
25
- new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagResourceCommandInput): import("@smithy/core/client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>Adds a tag to a resource. </p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InvoicingClient";
4
4
  import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
22
22
  export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
23
  }
24
24
  declare const UntagResourceCommand_base: {
25
- new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UntagResourceCommandInput): import("@smithy/core/client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p> Removes a tag from a resource. </p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InvoicingClient";
4
4
  import type { UpdateInvoiceUnitRequest, UpdateInvoiceUnitResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface UpdateInvoiceUnitCommandInput extends UpdateInvoiceUnitRequest
22
22
  export interface UpdateInvoiceUnitCommandOutput extends UpdateInvoiceUnitResponse, __MetadataBearer {
23
23
  }
24
24
  declare const UpdateInvoiceUnitCommand_base: {
25
- new (input: UpdateInvoiceUnitCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateInvoiceUnitCommandInput, UpdateInvoiceUnitCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateInvoiceUnitCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateInvoiceUnitCommandInput, UpdateInvoiceUnitCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: UpdateInvoiceUnitCommandInput): import("@smithy/core/client").CommandImpl<UpdateInvoiceUnitCommandInput, UpdateInvoiceUnitCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateInvoiceUnitCommandInput): import("@smithy/core/client").CommandImpl<UpdateInvoiceUnitCommandInput, UpdateInvoiceUnitCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>You can update the invoice unit configuration at any time, and Amazon Web Services will use the latest configuration at the end of the month.</p>
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InvoicingClient";
4
4
  import type { UpdateProcurementPortalPreferenceStatusRequest, UpdateProcurementPortalPreferenceStatusResponse } from "../models/models_0";
@@ -22,12 +22,14 @@ export interface UpdateProcurementPortalPreferenceStatusCommandInput extends Upd
22
22
  export interface UpdateProcurementPortalPreferenceStatusCommandOutput extends UpdateProcurementPortalPreferenceStatusResponse, __MetadataBearer {
23
23
  }
24
24
  declare const UpdateProcurementPortalPreferenceStatusCommand_base: {
25
- new (input: UpdateProcurementPortalPreferenceStatusCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProcurementPortalPreferenceStatusCommandInput, UpdateProcurementPortalPreferenceStatusCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: UpdateProcurementPortalPreferenceStatusCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProcurementPortalPreferenceStatusCommandInput, UpdateProcurementPortalPreferenceStatusCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: UpdateProcurementPortalPreferenceStatusCommandInput): import("@smithy/core/client").CommandImpl<UpdateProcurementPortalPreferenceStatusCommandInput, UpdateProcurementPortalPreferenceStatusCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: UpdateProcurementPortalPreferenceStatusCommandInput): import("@smithy/core/client").CommandImpl<UpdateProcurementPortalPreferenceStatusCommandInput, UpdateProcurementPortalPreferenceStatusCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
- * <p>Updates the status of a procurement portal preference, including the activation state of e-invoice delivery and purchase order retrieval features.</p>
32
+ * <p> <i> <b>This feature API is subject to changing at any time. For more information, see the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Betas and Previews).</b> </i> </p> <p>Updates the status of a procurement portal preference, including the activation state of e-invoice delivery and purchase order retrieval features.</p>
31
33
  * @example
32
34
  * Use a bare-bones client and the command you need to make an API call.
33
35
  * ```javascript
@@ -1,2 +1,2 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  export declare const bdd: BinaryDecisionDiagram;
@@ -1,5 +1,5 @@
1
1
  import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import type { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -22,6 +22,31 @@ export declare const ValidationExceptionReason: {
22
22
  * @public
23
23
  */
24
24
  export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const BillingEntity: {
30
+ readonly AWS: "AWS";
31
+ readonly AWS_MARKETPLACE: "AWS_MARKETPLACE";
32
+ };
33
+ /**
34
+ * @public
35
+ */
36
+ export type BillingEntity = (typeof BillingEntity)[keyof typeof BillingEntity];
37
+ /**
38
+ * @public
39
+ * @enum
40
+ */
41
+ export declare const BillType: {
42
+ readonly ANNIVERSARY: "ANNIVERSARY";
43
+ readonly PURCHASE: "PURCHASE";
44
+ readonly REFUND: "REFUND";
45
+ };
46
+ /**
47
+ * @public
48
+ */
49
+ export type BillType = (typeof BillType)[keyof typeof BillType];
25
50
  /**
26
51
  * @public
27
52
  * @enum
@@ -118,6 +143,32 @@ export declare const SupplierDomain: {
118
143
  * @public
119
144
  */
120
145
  export type SupplierDomain = (typeof SupplierDomain)[keyof typeof SupplierDomain];
146
+ /**
147
+ * @public
148
+ * @enum
149
+ */
150
+ export declare const EinvoiceDeliveryStatus: {
151
+ readonly DELIVERED: "DELIVERED";
152
+ readonly NOT_DELIVERED: "NOT_DELIVERED";
153
+ };
154
+ /**
155
+ * @public
156
+ */
157
+ export type EinvoiceDeliveryStatus = (typeof EinvoiceDeliveryStatus)[keyof typeof EinvoiceDeliveryStatus];
158
+ /**
159
+ * @public
160
+ * @enum
161
+ */
162
+ export declare const SupplementalDocumentType: {
163
+ readonly GOVERNMENT_INVOICE: "GOVERNMENT_INVOICE";
164
+ readonly PAYMENT_RECEIPT: "PAYMENT_RECEIPT";
165
+ readonly SUPPLEMENT: "SUPPLEMENT";
166
+ readonly TAX_E_INVOICE: "TAX_E_INVOICE";
167
+ };
168
+ /**
169
+ * @public
170
+ */
171
+ export type SupplementalDocumentType = (typeof SupplementalDocumentType)[keyof typeof SupplementalDocumentType];
121
172
  /**
122
173
  * @public
123
174
  * @enum
@@ -134,6 +185,18 @@ export declare const ProcurementPortalPreferenceStatus: {
134
185
  * @public
135
186
  */
136
187
  export type ProcurementPortalPreferenceStatus = (typeof ProcurementPortalPreferenceStatus)[keyof typeof ProcurementPortalPreferenceStatus];
188
+ /**
189
+ * @public
190
+ * @enum
191
+ */
192
+ export declare const InvoiceFrequency: {
193
+ readonly ONE_TIME: "ONE_TIME";
194
+ readonly RECURRING: "RECURRING";
195
+ };
196
+ /**
197
+ * @public
198
+ */
199
+ export type InvoiceFrequency = (typeof InvoiceFrequency)[keyof typeof InvoiceFrequency];
137
200
  /**
138
201
  * @public
139
202
  * @enum
@@ -141,11 +204,37 @@ export type ProcurementPortalPreferenceStatus = (typeof ProcurementPortalPrefere
141
204
  export declare const InvoiceType: {
142
205
  readonly CREDIT_MEMO: "CREDIT_MEMO";
143
206
  readonly INVOICE: "INVOICE";
207
+ readonly PAYMENT_RECEIPT: "PAYMENT_RECEIPT";
144
208
  };
145
209
  /**
146
210
  * @public
147
211
  */
148
212
  export type InvoiceType = (typeof InvoiceType)[keyof typeof InvoiceType];
213
+ /**
214
+ * @public
215
+ * @enum
216
+ */
217
+ export declare const ReceiverRole: {
218
+ readonly BUYER: "BUYER";
219
+ readonly RESELLER: "RESELLER";
220
+ readonly SELLER: "SELLER";
221
+ };
222
+ /**
223
+ * @public
224
+ */
225
+ export type ReceiverRole = (typeof ReceiverRole)[keyof typeof ReceiverRole];
226
+ /**
227
+ * @public
228
+ * @enum
229
+ */
230
+ export declare const TaxAuthorityStatus: {
231
+ readonly CANCELLED: "CANCELLED";
232
+ readonly ISSUED: "ISSUED";
233
+ };
234
+ /**
235
+ * @public
236
+ */
237
+ export type TaxAuthorityStatus = (typeof TaxAuthorityStatus)[keyof typeof TaxAuthorityStatus];
149
238
  /**
150
239
  * @public
151
240
  * @enum
@@ -1,4 +1,4 @@
1
- import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
2
2
  import type { ValidationExceptionReason } from "./enums";
3
3
  import { InvoicingServiceException as __BaseException } from "./InvoicingServiceException";
4
4
  import type { ValidationExceptionField } from "./models_0";
@@ -1,4 +1,4 @@
1
- import type { BuyerDomain, ConnectionTestingMethod, EinvoiceDeliveryAttachmentType, EinvoiceDeliveryDocumentType, InvoiceType, ListInvoiceSummariesResourceType, ProcurementPortalName, ProcurementPortalPreferenceStatus, Protocol, PurchaseOrderDataSourceType, SupplierDomain } from "./enums";
1
+ import type { BillingEntity, BillType, BuyerDomain, ConnectionTestingMethod, EinvoiceDeliveryAttachmentType, EinvoiceDeliveryDocumentType, EinvoiceDeliveryStatus, InvoiceFrequency, InvoiceType, ListInvoiceSummariesResourceType, ProcurementPortalName, ProcurementPortalPreferenceStatus, Protocol, PurchaseOrderDataSourceType, ReceiverRole, SupplementalDocumentType, SupplierDomain, TaxAuthorityStatus } from "./enums";
2
2
  /**
3
3
  * <p> The discounted amount. </p>
4
4
  * @public
@@ -318,7 +318,7 @@ export interface InvoiceUnitRule {
318
318
  */
319
319
  LinkedAccounts?: string[] | undefined;
320
320
  /**
321
- * <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>
321
+ * <p> A list of Amazon Web Services 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>
322
322
  * @public
323
323
  */
324
324
  BillSourceAccounts?: string[] | undefined;
@@ -649,6 +649,11 @@ export interface Entity {
649
649
  * @public
650
650
  */
651
651
  InvoicingEntity?: string | undefined;
652
+ /**
653
+ * <p>Helps you identify whether your invoices are for Amazon Web Services Marketplace or for purchases of other Amazon Web Services services.</p>
654
+ * @public
655
+ */
656
+ BillingEntity?: BillingEntity | undefined;
652
657
  }
653
658
  /**
654
659
  * <p>An optional input to the list API. If multiple filters are specified, the returned list will be a configuration that match all of the provided filters. Supported filter types are <code>InvoiceReceivers</code>, <code>Names</code>, and <code>Accounts</code>. </p>
@@ -671,7 +676,7 @@ export interface Filters {
671
676
  */
672
677
  Accounts?: string[] | undefined;
673
678
  /**
674
- * <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>
679
+ * <p> A list of Amazon Web Services 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>
675
680
  * @public
676
681
  */
677
682
  BillSourceAccounts?: string[] | undefined;
@@ -691,6 +696,16 @@ export interface GetInvoicePDFRequest {
691
696
  * @public
692
697
  */
693
698
  export interface SupplementalDocument {
699
+ /**
700
+ * <p>The type of supplemental document.</p>
701
+ * @public
702
+ */
703
+ DocumentType?: SupplementalDocumentType | undefined;
704
+ /**
705
+ * <p>The ID of the supplemental document.</p>
706
+ * @public
707
+ */
708
+ DocumentId?: string | undefined;
694
709
  /**
695
710
  * <p>The pre-signed URL to download invoice supplemental document.</p>
696
711
  * @public
@@ -1031,6 +1046,21 @@ export interface InvoiceSummary {
1031
1046
  * @public
1032
1047
  */
1033
1048
  DueDate?: Date | undefined;
1049
+ /**
1050
+ * <p> The list of Amazon Web Services account IDs that are the bill source of the invoice. Currently, only a single bill source account is returned.</p>
1051
+ * @public
1052
+ */
1053
+ BillSourceAccounts?: string[] | undefined;
1054
+ /**
1055
+ * <p> The total number of accounts that are the bill source of the invoice. </p>
1056
+ * @public
1057
+ */
1058
+ BillSourceAccountsTotalCount?: number | undefined;
1059
+ /**
1060
+ * <p>The role of the invoice receiver.</p>
1061
+ * @public
1062
+ */
1063
+ ReceiverRole?: ReceiverRole | undefined;
1034
1064
  /**
1035
1065
  * <p>The organization name providing Amazon Web Services services.</p>
1036
1066
  * @public
@@ -1041,11 +1071,26 @@ export interface InvoiceSummary {
1041
1071
  * @public
1042
1072
  */
1043
1073
  BillingPeriod?: BillingPeriod | undefined;
1074
+ /**
1075
+ * <p> The frequency of the invoice. </p>
1076
+ * @public
1077
+ */
1078
+ InvoiceFrequency?: InvoiceFrequency | undefined;
1079
+ /**
1080
+ * <p> The type of the bill. </p>
1081
+ * @public
1082
+ */
1083
+ BillType?: BillType | undefined;
1044
1084
  /**
1045
1085
  * <p> The type of invoice. </p>
1046
1086
  * @public
1047
1087
  */
1048
1088
  InvoiceType?: InvoiceType | undefined;
1089
+ /**
1090
+ * <p> The commercial invoice ID. This is only applicable for tax invoices and identifies the associated commercial invoice. </p>
1091
+ * @public
1092
+ */
1093
+ CommercialInvoiceId?: string | undefined;
1049
1094
  /**
1050
1095
  * <p>The initial or original invoice ID. </p>
1051
1096
  * @public
@@ -1056,6 +1101,16 @@ export interface InvoiceSummary {
1056
1101
  * @public
1057
1102
  */
1058
1103
  PurchaseOrderNumber?: string | undefined;
1104
+ /**
1105
+ * <p> The e-invoice delivery status. </p>
1106
+ * @public
1107
+ */
1108
+ EinvoiceDeliveryStatus?: EinvoiceDeliveryStatus | undefined;
1109
+ /**
1110
+ * <p> The current status of an invoice as reported to the tax authority. This captures scenarios where an invoice may be cancelled after issuance. </p>
1111
+ * @public
1112
+ */
1113
+ TaxAuthorityStatus?: TaxAuthorityStatus | undefined;
1059
1114
  /**
1060
1115
  * <p> The summary with the product and service currency. </p>
1061
1116
  * @public
@@ -1092,6 +1147,11 @@ export interface InvoiceSummariesFilter {
1092
1147
  * @public
1093
1148
  */
1094
1149
  InvoicingEntity?: string | undefined;
1150
+ /**
1151
+ * <p>The role of the invoice receiver to filter by.</p> <note> <p>When <code>ReceiverRole</code> is specified:</p> <ul> <li> <p>Data is available starting <code>2025-06-01</code>. Queries for periods before <code>2025-06-01</code> return a validation error.</p> </li> <li> <p> <code>TimeInterval</code> supports a time interval of up to 5 years. Without <code>ReceiverRole</code>, <code>TimeInterval</code> is limited to one month.</p> </li> </ul> </note>
1152
+ * @public
1153
+ */
1154
+ ReceiverRole?: ReceiverRole | undefined;
1095
1155
  }
1096
1156
  /**
1097
1157
  * <p>Specifies the invoice summary.</p>
@@ -5,13 +5,13 @@ import type { InvoicingClientConfig } from "./InvoicingClient";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: InvoicingClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
14
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
15
15
  retryMode: string | import("@smithy/types").Provider<string>;
16
16
  sha256: import("@smithy/types").HashConstructor;
17
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,14 +5,14 @@ import type { InvoicingClientConfig } from "./InvoicingClient";
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: InvoicingClientConfig) => {
7
7
  runtime: string;
8
- defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
9
9
  authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
11
  credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
12
12
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
13
  maxAttempts: number | import("@smithy/types").Provider<number>;
14
14
  region: string | import("@smithy/types").Provider<string>;
15
- requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
16
16
  retryMode: string | import("@smithy/types").Provider<string>;
17
17
  sha256: import("@smithy/types").HashConstructor;
18
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,7 +5,7 @@ import type { InvoicingClientConfig } from "./InvoicingClient";
5
5
  export declare const getRuntimeConfig: (config: InvoicingClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
9
  cacheMiddleware?: boolean;
10
10
  protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
11
11
  protocolSettings: {
@@ -32,7 +32,7 @@ export declare const getRuntimeConfig: (config: InvoicingClientConfig) => {
32
32
  retryMode: string | import("@smithy/types").Provider<string>;
33
33
  logger: import("@smithy/types").Logger;
34
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
35
- defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
35
+ defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
36
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
37
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
38
38
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -6,25 +6,19 @@ import {
6
6
  UserAgentInputConfig,
7
7
  UserAgentResolvedConfig,
8
8
  } from "@aws-sdk/middleware-user-agent";
9
- import {
10
- RegionInputConfig,
11
- RegionResolvedConfig,
12
- } from "@smithy/config-resolver";
13
- import {
14
- EndpointInputConfig,
15
- EndpointResolvedConfig,
16
- } from "@smithy/middleware-endpoint";
17
- import {
18
- RetryInputConfig,
19
- RetryResolvedConfig,
20
- } from "@smithy/middleware-retry";
21
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
9
  import {
23
10
  DefaultsMode as __DefaultsMode,
24
11
  SmithyConfiguration as __SmithyConfiguration,
25
12
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
26
13
  Client as __Client,
27
- } from "@smithy/smithy-client";
14
+ } from "@smithy/core/client";
15
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
16
+ import {
17
+ EndpointInputConfig,
18
+ EndpointResolvedConfig,
19
+ } from "@smithy/core/endpoints";
20
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
21
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
28
22
  import {
29
23
  AwsCredentialIdentityProvider,
30
24
  BodyLengthCalculator as __BodyLengthCalculator,
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  InvoicingClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface BatchGetInvoiceProfileCommandOutput
19
19
  declare const BatchGetInvoiceProfileCommand_base: {
20
20
  new (
21
21
  input: BatchGetInvoiceProfileCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  BatchGetInvoiceProfileCommandInput,
24
24
  BatchGetInvoiceProfileCommandOutput,
25
25
  InvoicingClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const BatchGetInvoiceProfileCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: BatchGetInvoiceProfileCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  BatchGetInvoiceProfileCommandInput,
33
33
  BatchGetInvoiceProfileCommandOutput,
34
34
  InvoicingClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class BatchGetInvoiceProfileCommand extends BatchGetInvoiceProfileCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  InvoicingClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface CreateInvoiceUnitCommandOutput
19
19
  declare const CreateInvoiceUnitCommand_base: {
20
20
  new (
21
21
  input: CreateInvoiceUnitCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  CreateInvoiceUnitCommandInput,
24
24
  CreateInvoiceUnitCommandOutput,
25
25
  InvoicingClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const CreateInvoiceUnitCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: CreateInvoiceUnitCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  CreateInvoiceUnitCommandInput,
33
33
  CreateInvoiceUnitCommandOutput,
34
34
  InvoicingClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class CreateInvoiceUnitCommand extends CreateInvoiceUnitCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  InvoicingClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface CreateProcurementPortalPreferenceCommandOutput
19
19
  declare const CreateProcurementPortalPreferenceCommand_base: {
20
20
  new (
21
21
  input: CreateProcurementPortalPreferenceCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  CreateProcurementPortalPreferenceCommandInput,
24
24
  CreateProcurementPortalPreferenceCommandOutput,
25
25
  InvoicingClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const CreateProcurementPortalPreferenceCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: CreateProcurementPortalPreferenceCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  CreateProcurementPortalPreferenceCommandInput,
33
33
  CreateProcurementPortalPreferenceCommandOutput,
34
34
  InvoicingClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class CreateProcurementPortalPreferenceCommand extends CreateProcurementPortalPreferenceCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  InvoicingClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface DeleteInvoiceUnitCommandOutput
19
19
  declare const DeleteInvoiceUnitCommand_base: {
20
20
  new (
21
21
  input: DeleteInvoiceUnitCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  DeleteInvoiceUnitCommandInput,
24
24
  DeleteInvoiceUnitCommandOutput,
25
25
  InvoicingClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const DeleteInvoiceUnitCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: DeleteInvoiceUnitCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  DeleteInvoiceUnitCommandInput,
33
33
  DeleteInvoiceUnitCommandOutput,
34
34
  InvoicingClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class DeleteInvoiceUnitCommand extends DeleteInvoiceUnitCommand_base {
41
43
  protected static __types: {
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import {
4
4
  InvoicingClientResolvedConfig,
@@ -19,7 +19,7 @@ export interface DeleteProcurementPortalPreferenceCommandOutput
19
19
  declare const DeleteProcurementPortalPreferenceCommand_base: {
20
20
  new (
21
21
  input: DeleteProcurementPortalPreferenceCommandInput
22
- ): import("@smithy/smithy-client").CommandImpl<
22
+ ): import("@smithy/core/client").CommandImpl<
23
23
  DeleteProcurementPortalPreferenceCommandInput,
24
24
  DeleteProcurementPortalPreferenceCommandOutput,
25
25
  InvoicingClientResolvedConfig,
@@ -28,14 +28,16 @@ declare const DeleteProcurementPortalPreferenceCommand_base: {
28
28
  >;
29
29
  new (
30
30
  input: DeleteProcurementPortalPreferenceCommandInput
31
- ): import("@smithy/smithy-client").CommandImpl<
31
+ ): import("@smithy/core/client").CommandImpl<
32
32
  DeleteProcurementPortalPreferenceCommandInput,
33
33
  DeleteProcurementPortalPreferenceCommandOutput,
34
34
  InvoicingClientResolvedConfig,
35
35
  ServiceInputTypes,
36
36
  ServiceOutputTypes
37
37
  >;
38
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
39
41
  };
40
42
  export declare class DeleteProcurementPortalPreferenceCommand extends DeleteProcurementPortalPreferenceCommand_base {
41
43
  protected static __types: {