@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
@@ -16,18 +16,22 @@ const _Ac = "Accounts";
16
16
  const _B = "Breakdown";
17
17
  const _BCA = "BaseCurrencyAmount";
18
18
  const _BD = "BuyerDomain";
19
+ const _BE = "BillingEntity";
19
20
  const _BGIP = "BatchGetInvoiceProfile";
20
21
  const _BGIPR = "BatchGetInvoiceProfileRequest";
21
22
  const _BGIPRa = "BatchGetInvoiceProfileResponse";
22
23
  const _BI = "BuyerIdentifier";
23
24
  const _BP = "BillingPeriod";
24
25
  const _BSA = "BillSourceAccounts";
26
+ const _BSATC = "BillSourceAccountsTotalCount";
27
+ const _BT = "BillType";
25
28
  const _C = "Contact";
26
29
  const _CC = "CurrencyCode";
27
30
  const _CCo = "CountryCode";
28
31
  const _CD = "CreateDate";
29
32
  const _CE = "ConflictException";
30
33
  const _CED = "CurrencyExchangeDetails";
34
+ const _CII = "CommercialInvoiceId";
31
35
  const _CIU = "CreateInvoiceUnit";
32
36
  const _CIUR = "CreateInvoiceUnitRequest";
33
37
  const _CIURr = "CreateInvoiceUnitResponse";
@@ -48,10 +52,12 @@ const _DI = "DateInterval";
48
52
  const _DIU = "DeleteInvoiceUnit";
49
53
  const _DIUR = "DeleteInvoiceUnitRequest";
50
54
  const _DIURe = "DeleteInvoiceUnitResponse";
55
+ const _DIo = "DocumentId";
51
56
  const _DOC = "DistrictOrCounty";
52
57
  const _DPPP = "DeleteProcurementPortalPreference";
53
58
  const _DPPPR = "DeleteProcurementPortalPreferenceRequest";
54
59
  const _DPPPRe = "DeleteProcurementPortalPreferenceResponse";
60
+ const _DT = "DocumentType";
55
61
  const _DU = "DocumentUrl";
56
62
  const _DUED = "DocumentUrlExpirationDate";
57
63
  const _De = "Description";
@@ -65,6 +71,7 @@ const _EDE = "EinvoiceDeliveryEnabled";
65
71
  const _EDP = "EinvoiceDeliveryPreference";
66
72
  const _EDPS = "EinvoiceDeliveryPreferenceStatus";
67
73
  const _EDPSR = "EinvoiceDeliveryPreferenceStatusReason";
74
+ const _EDS = "EinvoiceDeliveryStatus";
68
75
  const _En = "Entity";
69
76
  const _F = "Fees";
70
77
  const _FB = "FeesBreakdown";
@@ -85,6 +92,7 @@ const _I = "Issuer";
85
92
  const _ICA = "InvoiceCurrencyAmount";
86
93
  const _ID = "IssuedDate";
87
94
  const _IE = "InvoicingEntity";
95
+ const _IF = "InvoiceFrequency";
88
96
  const _II = "InvoiceId";
89
97
  const _IP = "InvoiceProfile";
90
98
  const _IPDF = "InvoicePDF";
@@ -155,6 +163,7 @@ const _RAes = "ResourceArn";
155
163
  const _RE = "ReceiverEmail";
156
164
  const _RN = "ReceiverName";
157
165
  const _RNFE = "ResourceNotFoundException";
166
+ const _RR = "ReceiverRole";
158
167
  const _RT = "ResourceTags";
159
168
  const _RTK = "ResourceTagKeys";
160
169
  const _RTL = "ResourceTagList";
@@ -176,6 +185,7 @@ const _STA = "SubTotalAmount";
176
185
  const _T = "Taxes";
177
186
  const _TA = "TotalAmount";
178
187
  const _TABT = "TotalAmountBeforeTax";
188
+ const _TAS = "TaxAuthorityStatus";
179
189
  const _TB = "TaxesBreakdown";
180
190
  const _TBA = "TaxesBreakdownAmount";
181
191
  const _TBAL = "TaxesBreakdownAmountList";
@@ -367,8 +377,8 @@ exports.EinvoiceDeliveryPreference$ = [3, n0, _EDP,
367
377
  ];
368
378
  exports.Entity$ = [3, n0, _En,
369
379
  0,
370
- [_IE],
371
- [0]
380
+ [_IE, _BE],
381
+ [0, 0]
372
382
  ];
373
383
  exports.FeesBreakdown$ = [3, n0, _FB,
374
384
  0,
@@ -432,8 +442,8 @@ exports.InvoiceProfile$ = [3, n0, _IP,
432
442
  ];
433
443
  exports.InvoiceSummariesFilter$ = [3, n0, _ISF,
434
444
  0,
435
- [_TI, _BP, _IE],
436
- [() => exports.DateInterval$, () => exports.BillingPeriod$, 0]
445
+ [_TI, _BP, _IE, _RR],
446
+ [() => exports.DateInterval$, () => exports.BillingPeriod$, 0, 0]
437
447
  ];
438
448
  exports.InvoiceSummariesSelector$ = [3, n0, _ISS,
439
449
  0,
@@ -442,8 +452,8 @@ exports.InvoiceSummariesSelector$ = [3, n0, _ISS,
442
452
  ];
443
453
  exports.InvoiceSummary$ = [3, n0, _IS,
444
454
  0,
445
- [_AIc, _II, _ID, _DD, _En, _BP, _IT, _OII, _PON, _BCA, _TCA, _PCA],
446
- [0, 0, 4, 4, () => exports.Entity$, () => exports.BillingPeriod$, 0, 0, 0, () => exports.InvoiceCurrencyAmount$, () => exports.InvoiceCurrencyAmount$, () => exports.InvoiceCurrencyAmount$]
455
+ [_AIc, _II, _ID, _DD, _BSA, _BSATC, _RR, _En, _BP, _IF, _BT, _IT, _CII, _OII, _PON, _EDS, _TAS, _BCA, _TCA, _PCA],
456
+ [0, 0, 4, 4, 64 | 0, 1, 0, () => exports.Entity$, () => exports.BillingPeriod$, 0, 0, 0, 0, 0, 0, 0, 0, () => exports.InvoiceCurrencyAmount$, () => exports.InvoiceCurrencyAmount$, () => exports.InvoiceCurrencyAmount$]
447
457
  ];
448
458
  exports.InvoiceUnit$ = [3, n0, _IU,
449
459
  0,
@@ -537,8 +547,8 @@ exports.ResourceTag$ = [3, n0, _RTes,
537
547
  ];
538
548
  exports.SupplementalDocument$ = [3, n0, _SDup,
539
549
  0,
540
- [_DU, _DUED],
541
- [0, 4]
550
+ [_DT, _DIo, _DU, _DUED],
551
+ [0, 0, 0, 4]
542
552
  ];
543
553
  exports.TagResourceRequest$ = [3, n0, _TRR,
544
554
  0,
@@ -606,6 +616,7 @@ exports.ValidationExceptionField$ = [3, n0, _VEF,
606
616
  [0, 0], 2
607
617
  ];
608
618
  var AccountIdList = 64 | 0;
619
+ var BillSourceAccountList = 64 | 0;
609
620
  var Contacts = [1, n0, _Co,
610
621
  0, [() => exports.Contact$,
611
622
  0]
@@ -1,4 +1,4 @@
1
- import { createAggregatedClient } from "@smithy/smithy-client";
1
+ import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { BatchGetInvoiceProfileCommand, } from "./commands/BatchGetInvoiceProfileCommand";
3
3
  import { CreateInvoiceUnitCommand, } from "./commands/CreateInvoiceUnitCommand";
4
4
  import { CreateProcurementPortalPreferenceCommand, } from "./commands/CreateProcurementPortalPreferenceCommand";
@@ -2,13 +2,13 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
2
2
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
3
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
- import { resolveRegionConfig } from "@smithy/config-resolver";
6
5
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
6
+ import { Client as __Client, } from "@smithy/core/client";
7
+ import { resolveRegionConfig } from "@smithy/core/config";
8
+ import { resolveEndpointConfig } from "@smithy/core/endpoints";
9
+ import { getContentLengthPlugin } from "@smithy/core/protocols";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
7
11
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
- import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
- import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultInvoicingHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
14
14
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
@@ -1,5 +1,5 @@
1
1
  import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
2
- import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
3
3
  export const defaultInvoicingHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
4
  return {
5
5
  operation: getSmithyContext(context).operation,
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { BatchGetInvoiceProfile$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { CreateInvoiceUnit$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { CreateProcurementPortalPreference$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteInvoiceUnit$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { DeleteProcurementPortalPreference$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetInvoicePDF$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetInvoiceUnit$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { GetProcurementPortalPreference$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListInvoiceSummaries$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListInvoiceUnits$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListProcurementPortalPreferences$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { PutProcurementPortalPreference$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateInvoiceUnit$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { UpdateProcurementPortalPreferenceStatus$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,4 +1,4 @@
1
- import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
1
+ import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
2
2
  const a = "isSet", b = { "ref": "Endpoint" }, c = { "authSchemes": [{ "name": "sigv4", "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, d = [{ "ref": "Region" }];
3
3
  const _data = {
4
4
  conditions: [
@@ -1,5 +1,5 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
3
3
  import { bdd } from "./bdd";
4
4
  const cache = new EndpointCache({
5
5
  size: 50,
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
1
+ import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class InvoicingServiceException extends __ServiceException {
4
4
  constructor(options) {
@@ -14,6 +14,15 @@ export const ValidationExceptionReason = {
14
14
  TAX_SETTINGS_ERROR: "taxSettingsError",
15
15
  UNKNOWN_OPERATION: "unknownOperation",
16
16
  };
17
+ export const BillingEntity = {
18
+ AWS: "AWS",
19
+ AWS_MARKETPLACE: "AWS_MARKETPLACE",
20
+ };
21
+ export const BillType = {
22
+ ANNIVERSARY: "ANNIVERSARY",
23
+ PURCHASE: "PURCHASE",
24
+ REFUND: "REFUND",
25
+ };
17
26
  export const BuyerDomain = {
18
27
  NetworkID: "NetworkID",
19
28
  };
@@ -46,6 +55,16 @@ export const ProcurementPortalName = {
46
55
  export const SupplierDomain = {
47
56
  NetworkID: "NetworkID",
48
57
  };
58
+ export const EinvoiceDeliveryStatus = {
59
+ DELIVERED: "DELIVERED",
60
+ NOT_DELIVERED: "NOT_DELIVERED",
61
+ };
62
+ export const SupplementalDocumentType = {
63
+ GOVERNMENT_INVOICE: "GOVERNMENT_INVOICE",
64
+ PAYMENT_RECEIPT: "PAYMENT_RECEIPT",
65
+ SUPPLEMENT: "SUPPLEMENT",
66
+ TAX_E_INVOICE: "TAX_E_INVOICE",
67
+ };
49
68
  export const ProcurementPortalPreferenceStatus = {
50
69
  ACTIVE: "ACTIVE",
51
70
  PENDING_VERIFICATION: "PENDING_VERIFICATION",
@@ -54,9 +73,23 @@ export const ProcurementPortalPreferenceStatus = {
54
73
  TEST_INITIALIZATION_FAILED: "TEST_INITIALIZATION_FAILED",
55
74
  TEST_INITIALIZED: "TEST_INITIALIZED",
56
75
  };
76
+ export const InvoiceFrequency = {
77
+ ONE_TIME: "ONE_TIME",
78
+ RECURRING: "RECURRING",
79
+ };
57
80
  export const InvoiceType = {
58
81
  CREDIT_MEMO: "CREDIT_MEMO",
59
82
  INVOICE: "INVOICE",
83
+ PAYMENT_RECEIPT: "PAYMENT_RECEIPT",
84
+ };
85
+ export const ReceiverRole = {
86
+ BUYER: "BUYER",
87
+ RESELLER: "RESELLER",
88
+ SELLER: "SELLER",
89
+ };
90
+ export const TaxAuthorityStatus = {
91
+ CANCELLED: "CANCELLED",
92
+ ISSUED: "ISSUED",
60
93
  };
61
94
  export const ListInvoiceSummariesResourceType = {
62
95
  ACCOUNT_ID: "ACCOUNT_ID",
@@ -1,13 +1,11 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
3
  import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
4
- import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
4
+ import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
6
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
7
+ import { calculateBodyLength } from "@smithy/core/serde";
5
8
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
- import { invalidProvider } from "@smithy/invalid-dependency";
7
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
8
- import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
10
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
11
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
10
  export const getRuntimeConfig = (config) => {
13
11
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -3,15 +3,11 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor
3
3
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
4
4
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
5
  import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
6
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
7
- import { Hash } from "@smithy/hash-node";
8
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
9
- import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
6
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
7
+ import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
8
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
9
+ import { calculateBodyLength, Hash } from "@smithy/core/serde";
10
10
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
11
- import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
12
- import { calculateBodyLength } from "@smithy/util-body-length-node";
13
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
14
- import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
15
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
16
12
  export const getRuntimeConfig = (config) => {
17
13
  emitWarningIfUnsupportedVersion(process.version);
@@ -1,9 +1,8 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
3
- import { NoOpLogger } from "@smithy/smithy-client";
4
- import { parseUrl } from "@smithy/url-parser";
5
- import { fromBase64, toBase64 } from "@smithy/util-base64";
6
- import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
3
+ import { NoOpLogger } from "@smithy/core/client";
4
+ import { parseUrl } from "@smithy/core/protocols";
5
+ import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
7
6
  import { defaultInvoicingHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
7
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
8
  import { errorTypeRegistries } from "./schemas/schemas_0";
@@ -1,6 +1,6 @@
1
1
  import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
2
- import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
- import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
2
+ import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
3
+ import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
6
6
  const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
@@ -12,18 +12,22 @@ const _Ac = "Accounts";
12
12
  const _B = "Breakdown";
13
13
  const _BCA = "BaseCurrencyAmount";
14
14
  const _BD = "BuyerDomain";
15
+ const _BE = "BillingEntity";
15
16
  const _BGIP = "BatchGetInvoiceProfile";
16
17
  const _BGIPR = "BatchGetInvoiceProfileRequest";
17
18
  const _BGIPRa = "BatchGetInvoiceProfileResponse";
18
19
  const _BI = "BuyerIdentifier";
19
20
  const _BP = "BillingPeriod";
20
21
  const _BSA = "BillSourceAccounts";
22
+ const _BSATC = "BillSourceAccountsTotalCount";
23
+ const _BT = "BillType";
21
24
  const _C = "Contact";
22
25
  const _CC = "CurrencyCode";
23
26
  const _CCo = "CountryCode";
24
27
  const _CD = "CreateDate";
25
28
  const _CE = "ConflictException";
26
29
  const _CED = "CurrencyExchangeDetails";
30
+ const _CII = "CommercialInvoiceId";
27
31
  const _CIU = "CreateInvoiceUnit";
28
32
  const _CIUR = "CreateInvoiceUnitRequest";
29
33
  const _CIURr = "CreateInvoiceUnitResponse";
@@ -44,10 +48,12 @@ const _DI = "DateInterval";
44
48
  const _DIU = "DeleteInvoiceUnit";
45
49
  const _DIUR = "DeleteInvoiceUnitRequest";
46
50
  const _DIURe = "DeleteInvoiceUnitResponse";
51
+ const _DIo = "DocumentId";
47
52
  const _DOC = "DistrictOrCounty";
48
53
  const _DPPP = "DeleteProcurementPortalPreference";
49
54
  const _DPPPR = "DeleteProcurementPortalPreferenceRequest";
50
55
  const _DPPPRe = "DeleteProcurementPortalPreferenceResponse";
56
+ const _DT = "DocumentType";
51
57
  const _DU = "DocumentUrl";
52
58
  const _DUED = "DocumentUrlExpirationDate";
53
59
  const _De = "Description";
@@ -61,6 +67,7 @@ const _EDE = "EinvoiceDeliveryEnabled";
61
67
  const _EDP = "EinvoiceDeliveryPreference";
62
68
  const _EDPS = "EinvoiceDeliveryPreferenceStatus";
63
69
  const _EDPSR = "EinvoiceDeliveryPreferenceStatusReason";
70
+ const _EDS = "EinvoiceDeliveryStatus";
64
71
  const _En = "Entity";
65
72
  const _F = "Fees";
66
73
  const _FB = "FeesBreakdown";
@@ -81,6 +88,7 @@ const _I = "Issuer";
81
88
  const _ICA = "InvoiceCurrencyAmount";
82
89
  const _ID = "IssuedDate";
83
90
  const _IE = "InvoicingEntity";
91
+ const _IF = "InvoiceFrequency";
84
92
  const _II = "InvoiceId";
85
93
  const _IP = "InvoiceProfile";
86
94
  const _IPDF = "InvoicePDF";
@@ -151,6 +159,7 @@ const _RAes = "ResourceArn";
151
159
  const _RE = "ReceiverEmail";
152
160
  const _RN = "ReceiverName";
153
161
  const _RNFE = "ResourceNotFoundException";
162
+ const _RR = "ReceiverRole";
154
163
  const _RT = "ResourceTags";
155
164
  const _RTK = "ResourceTagKeys";
156
165
  const _RTL = "ResourceTagList";
@@ -172,6 +181,7 @@ const _STA = "SubTotalAmount";
172
181
  const _T = "Taxes";
173
182
  const _TA = "TotalAmount";
174
183
  const _TABT = "TotalAmountBeforeTax";
184
+ const _TAS = "TaxAuthorityStatus";
175
185
  const _TB = "TaxesBreakdown";
176
186
  const _TBA = "TaxesBreakdownAmount";
177
187
  const _TBAL = "TaxesBreakdownAmountList";
@@ -363,8 +373,8 @@ export var EinvoiceDeliveryPreference$ = [3, n0, _EDP,
363
373
  ];
364
374
  export var Entity$ = [3, n0, _En,
365
375
  0,
366
- [_IE],
367
- [0]
376
+ [_IE, _BE],
377
+ [0, 0]
368
378
  ];
369
379
  export var FeesBreakdown$ = [3, n0, _FB,
370
380
  0,
@@ -428,8 +438,8 @@ export var InvoiceProfile$ = [3, n0, _IP,
428
438
  ];
429
439
  export var InvoiceSummariesFilter$ = [3, n0, _ISF,
430
440
  0,
431
- [_TI, _BP, _IE],
432
- [() => DateInterval$, () => BillingPeriod$, 0]
441
+ [_TI, _BP, _IE, _RR],
442
+ [() => DateInterval$, () => BillingPeriod$, 0, 0]
433
443
  ];
434
444
  export var InvoiceSummariesSelector$ = [3, n0, _ISS,
435
445
  0,
@@ -438,8 +448,8 @@ export var InvoiceSummariesSelector$ = [3, n0, _ISS,
438
448
  ];
439
449
  export var InvoiceSummary$ = [3, n0, _IS,
440
450
  0,
441
- [_AIc, _II, _ID, _DD, _En, _BP, _IT, _OII, _PON, _BCA, _TCA, _PCA],
442
- [0, 0, 4, 4, () => Entity$, () => BillingPeriod$, 0, 0, 0, () => InvoiceCurrencyAmount$, () => InvoiceCurrencyAmount$, () => InvoiceCurrencyAmount$]
451
+ [_AIc, _II, _ID, _DD, _BSA, _BSATC, _RR, _En, _BP, _IF, _BT, _IT, _CII, _OII, _PON, _EDS, _TAS, _BCA, _TCA, _PCA],
452
+ [0, 0, 4, 4, 64 | 0, 1, 0, () => Entity$, () => BillingPeriod$, 0, 0, 0, 0, 0, 0, 0, 0, () => InvoiceCurrencyAmount$, () => InvoiceCurrencyAmount$, () => InvoiceCurrencyAmount$]
443
453
  ];
444
454
  export var InvoiceUnit$ = [3, n0, _IU,
445
455
  0,
@@ -533,8 +543,8 @@ export var ResourceTag$ = [3, n0, _RTes,
533
543
  ];
534
544
  export var SupplementalDocument$ = [3, n0, _SDup,
535
545
  0,
536
- [_DU, _DUED],
537
- [0, 4]
546
+ [_DT, _DIo, _DU, _DUED],
547
+ [0, 0, 0, 4]
538
548
  ];
539
549
  export var TagResourceRequest$ = [3, n0, _TRR,
540
550
  0,
@@ -602,6 +612,7 @@ export var ValidationExceptionField$ = [3, n0, _VEF,
602
612
  [0, 0], 2
603
613
  ];
604
614
  var AccountIdList = 64 | 0;
615
+ var BillSourceAccountList = 64 | 0;
605
616
  var Contacts = [1, n0, _Co,
606
617
  0, [() => Contact$,
607
618
  0]
@@ -1,10 +1,10 @@
1
1
  import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
2
  import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
3
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
4
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
5
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
6
+ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
7
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
8
8
  import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import type { BatchGetInvoiceProfileCommandInput, BatchGetInvoiceProfileCommandOutput } from "./commands/BatchGetInvoiceProfileCommand";
@@ -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 { BatchGetInvoiceProfileRequest, BatchGetInvoiceProfileResponse } from "../models/models_0";
@@ -22,9 +22,11 @@ export interface BatchGetInvoiceProfileCommandInput extends BatchGetInvoiceProfi
22
22
  export interface BatchGetInvoiceProfileCommandOutput extends BatchGetInvoiceProfileResponse, __MetadataBearer {
23
23
  }
24
24
  declare const BatchGetInvoiceProfileCommand_base: {
25
- new (input: BatchGetInvoiceProfileCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetInvoiceProfileCommandInput, BatchGetInvoiceProfileCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: BatchGetInvoiceProfileCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetInvoiceProfileCommandInput, BatchGetInvoiceProfileCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ new (input: BatchGetInvoiceProfileCommandInput): import("@smithy/core/client").CommandImpl<BatchGetInvoiceProfileCommandInput, BatchGetInvoiceProfileCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: BatchGetInvoiceProfileCommandInput): import("@smithy/core/client").CommandImpl<BatchGetInvoiceProfileCommandInput, BatchGetInvoiceProfileCommandOutput, InvoicingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
28
30
  };
29
31
  /**
30
32
  * <p>This gets the invoice profile associated with a set of accounts. The accounts must be linked accounts under the requester management account organization.</p>