@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.
Files changed (127) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +293 -0
  3. package/dist-cjs/Invoicing.js +29 -0
  4. package/dist-cjs/InvoicingClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/BatchGetInvoiceProfileCommand.js +27 -0
  8. package/dist-cjs/commands/CreateInvoiceUnitCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteInvoiceUnitCommand.js +26 -0
  10. package/dist-cjs/commands/GetInvoiceUnitCommand.js +26 -0
  11. package/dist-cjs/commands/ListInvoiceUnitsCommand.js +26 -0
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  13. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  14. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  15. package/dist-cjs/commands/UpdateInvoiceUnitCommand.js +26 -0
  16. package/dist-cjs/commands/index.js +12 -0
  17. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  18. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  19. package/dist-cjs/endpoint/ruleset.js +7 -0
  20. package/dist-cjs/extensionConfiguration.js +2 -0
  21. package/dist-cjs/index.js +11 -0
  22. package/dist-cjs/models/InvoicingServiceException.js +12 -0
  23. package/dist-cjs/models/index.js +4 -0
  24. package/dist-cjs/models/models_0.js +121 -0
  25. package/dist-cjs/pagination/Interfaces.js +2 -0
  26. package/dist-cjs/pagination/ListInvoiceUnitsPaginator.js +7 -0
  27. package/dist-cjs/pagination/index.js +5 -0
  28. package/dist-cjs/protocols/Aws_json1_0.js +367 -0
  29. package/dist-cjs/runtimeConfig.browser.js +39 -0
  30. package/dist-cjs/runtimeConfig.js +50 -0
  31. package/dist-cjs/runtimeConfig.native.js +15 -0
  32. package/dist-cjs/runtimeConfig.shared.js +34 -0
  33. package/dist-cjs/runtimeExtensions.js +25 -0
  34. package/dist-es/Invoicing.js +25 -0
  35. package/dist-es/InvoicingClient.js +46 -0
  36. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  37. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  38. package/dist-es/commands/BatchGetInvoiceProfileCommand.js +23 -0
  39. package/dist-es/commands/CreateInvoiceUnitCommand.js +22 -0
  40. package/dist-es/commands/DeleteInvoiceUnitCommand.js +22 -0
  41. package/dist-es/commands/GetInvoiceUnitCommand.js +22 -0
  42. package/dist-es/commands/ListInvoiceUnitsCommand.js +22 -0
  43. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  44. package/dist-es/commands/TagResourceCommand.js +22 -0
  45. package/dist-es/commands/UntagResourceCommand.js +22 -0
  46. package/dist-es/commands/UpdateInvoiceUnitCommand.js +22 -0
  47. package/dist-es/commands/index.js +9 -0
  48. package/dist-es/endpoint/EndpointParameters.js +12 -0
  49. package/dist-es/endpoint/endpointResolver.js +14 -0
  50. package/dist-es/endpoint/ruleset.js +4 -0
  51. package/dist-es/extensionConfiguration.js +1 -0
  52. package/dist-es/index.js +6 -0
  53. package/dist-es/models/InvoicingServiceException.js +8 -0
  54. package/dist-es/models/index.js +1 -0
  55. package/dist-es/models/models_0.js +109 -0
  56. package/dist-es/pagination/Interfaces.js +1 -0
  57. package/dist-es/pagination/ListInvoiceUnitsPaginator.js +4 -0
  58. package/dist-es/pagination/index.js +2 -0
  59. package/dist-es/protocols/Aws_json1_0.js +346 -0
  60. package/dist-es/runtimeConfig.browser.js +34 -0
  61. package/dist-es/runtimeConfig.js +45 -0
  62. package/dist-es/runtimeConfig.native.js +11 -0
  63. package/dist-es/runtimeConfig.shared.js +30 -0
  64. package/dist-es/runtimeExtensions.js +21 -0
  65. package/dist-types/Invoicing.d.ts +90 -0
  66. package/dist-types/InvoicingClient.d.ts +194 -0
  67. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  68. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  69. package/dist-types/commands/BatchGetInvoiceProfileCommand.d.ts +111 -0
  70. package/dist-types/commands/CreateInvoiceUnitCommand.d.ts +100 -0
  71. package/dist-types/commands/DeleteInvoiceUnitCommand.d.ts +91 -0
  72. package/dist-types/commands/GetInvoiceUnitCommand.d.ts +101 -0
  73. package/dist-types/commands/ListInvoiceUnitsCommand.d.ts +114 -0
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +96 -0
  75. package/dist-types/commands/TagResourceCommand.d.ts +99 -0
  76. package/dist-types/commands/UntagResourceCommand.d.ts +93 -0
  77. package/dist-types/commands/UpdateInvoiceUnitCommand.d.ts +97 -0
  78. package/dist-types/commands/index.d.ts +9 -0
  79. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  80. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  81. package/dist-types/endpoint/ruleset.d.ts +2 -0
  82. package/dist-types/extensionConfiguration.d.ts +9 -0
  83. package/dist-types/index.d.ts +30 -0
  84. package/dist-types/models/InvoicingServiceException.d.ts +14 -0
  85. package/dist-types/models/index.d.ts +1 -0
  86. package/dist-types/models/models_0.d.ts +742 -0
  87. package/dist-types/pagination/Interfaces.d.ts +8 -0
  88. package/dist-types/pagination/ListInvoiceUnitsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/index.d.ts +2 -0
  90. package/dist-types/protocols/Aws_json1_0.d.ts +83 -0
  91. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  92. package/dist-types/runtimeConfig.d.ts +48 -0
  93. package/dist-types/runtimeConfig.native.d.ts +47 -0
  94. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  95. package/dist-types/runtimeExtensions.d.ts +17 -0
  96. package/dist-types/ts3.4/Invoicing.d.ts +159 -0
  97. package/dist-types/ts3.4/InvoicingClient.d.ts +172 -0
  98. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  99. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  100. package/dist-types/ts3.4/commands/BatchGetInvoiceProfileCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/CreateInvoiceUnitCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/DeleteInvoiceUnitCommand.d.ts +51 -0
  103. package/dist-types/ts3.4/commands/GetInvoiceUnitCommand.d.ts +50 -0
  104. package/dist-types/ts3.4/commands/ListInvoiceUnitsCommand.d.ts +50 -0
  105. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  107. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  108. package/dist-types/ts3.4/commands/UpdateInvoiceUnitCommand.d.ts +51 -0
  109. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  110. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  111. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  112. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  113. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  114. package/dist-types/ts3.4/index.d.ts +9 -0
  115. package/dist-types/ts3.4/models/InvoicingServiceException.d.ts +9 -0
  116. package/dist-types/ts3.4/models/index.d.ts +1 -0
  117. package/dist-types/ts3.4/models/models_0.d.ts +192 -0
  118. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  119. package/dist-types/ts3.4/pagination/ListInvoiceUnitsPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  121. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +113 -0
  122. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  123. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  124. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  125. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  126. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  127. package/package.json +101 -0
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchGetInvoiceProfileCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
+ class BatchGetInvoiceProfileCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep(EndpointParameters_1.commonParams)
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("Invoicing", "BatchGetInvoiceProfile", {})
21
+ .n("InvoicingClient", "BatchGetInvoiceProfileCommand")
22
+ .f(void 0, models_0_1.BatchGetInvoiceProfileResponseFilterSensitiveLog)
23
+ .ser(Aws_json1_0_1.se_BatchGetInvoiceProfileCommand)
24
+ .de(Aws_json1_0_1.de_BatchGetInvoiceProfileCommand)
25
+ .build() {
26
+ }
27
+ exports.BatchGetInvoiceProfileCommand = BatchGetInvoiceProfileCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateInvoiceUnitCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class CreateInvoiceUnitCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("Invoicing", "CreateInvoiceUnit", {})
20
+ .n("InvoicingClient", "CreateInvoiceUnitCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_CreateInvoiceUnitCommand)
23
+ .de(Aws_json1_0_1.de_CreateInvoiceUnitCommand)
24
+ .build() {
25
+ }
26
+ exports.CreateInvoiceUnitCommand = CreateInvoiceUnitCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteInvoiceUnitCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class DeleteInvoiceUnitCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("Invoicing", "DeleteInvoiceUnit", {})
20
+ .n("InvoicingClient", "DeleteInvoiceUnitCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_DeleteInvoiceUnitCommand)
23
+ .de(Aws_json1_0_1.de_DeleteInvoiceUnitCommand)
24
+ .build() {
25
+ }
26
+ exports.DeleteInvoiceUnitCommand = DeleteInvoiceUnitCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetInvoiceUnitCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class GetInvoiceUnitCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("Invoicing", "GetInvoiceUnit", {})
20
+ .n("InvoicingClient", "GetInvoiceUnitCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_GetInvoiceUnitCommand)
23
+ .de(Aws_json1_0_1.de_GetInvoiceUnitCommand)
24
+ .build() {
25
+ }
26
+ exports.GetInvoiceUnitCommand = GetInvoiceUnitCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListInvoiceUnitsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class ListInvoiceUnitsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("Invoicing", "ListInvoiceUnits", {})
20
+ .n("InvoicingClient", "ListInvoiceUnitsCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_ListInvoiceUnitsCommand)
23
+ .de(Aws_json1_0_1.de_ListInvoiceUnitsCommand)
24
+ .build() {
25
+ }
26
+ exports.ListInvoiceUnitsCommand = ListInvoiceUnitsCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class ListTagsForResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("Invoicing", "ListTagsForResource", {})
20
+ .n("InvoicingClient", "ListTagsForResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_ListTagsForResourceCommand)
23
+ .de(Aws_json1_0_1.de_ListTagsForResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class TagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("Invoicing", "TagResource", {})
20
+ .n("InvoicingClient", "TagResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_TagResourceCommand)
23
+ .de(Aws_json1_0_1.de_TagResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.TagResourceCommand = TagResourceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class UntagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("Invoicing", "UntagResource", {})
20
+ .n("InvoicingClient", "UntagResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_UntagResourceCommand)
23
+ .de(Aws_json1_0_1.de_UntagResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.UntagResourceCommand = UntagResourceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateInvoiceUnitCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class UpdateInvoiceUnitCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("Invoicing", "UpdateInvoiceUnit", {})
20
+ .n("InvoicingClient", "UpdateInvoiceUnitCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_UpdateInvoiceUnitCommand)
23
+ .de(Aws_json1_0_1.de_UpdateInvoiceUnitCommand)
24
+ .build() {
25
+ }
26
+ exports.UpdateInvoiceUnitCommand = UpdateInvoiceUnitCommand;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./BatchGetInvoiceProfileCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateInvoiceUnitCommand"), exports);
6
+ tslib_1.__exportStar(require("./DeleteInvoiceUnitCommand"), exports);
7
+ tslib_1.__exportStar(require("./GetInvoiceUnitCommand"), exports);
8
+ tslib_1.__exportStar(require("./ListInvoiceUnitsCommand"), exports);
9
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
10
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
11
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
12
+ tslib_1.__exportStar(require("./UpdateInvoiceUnitCommand"), exports);
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
+ const resolveClientEndpointParameters = (options) => {
5
+ return {
6
+ ...options,
7
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
8
+ defaultSigningName: "invoicing",
9
+ };
10
+ };
11
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
12
+ exports.commonParams = {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
6
+ const ruleset_1 = require("./ruleset");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["Endpoint", "Region", "UseFIPS"],
10
+ });
11
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
13
+ endpointParams: endpointParams,
14
+ logger: context.logger,
15
+ }));
16
+ };
17
+ exports.defaultEndpointResolver = defaultEndpointResolver;
18
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ const l = "ref";
5
+ const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "String" }, h = { [l]: "Endpoint" }, i = { "authSchemes": [{ "name": "sigv4", "signingRegion": "{PartitionResult#implicitGlobalRegion}" }] }, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "Boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: {}, headers: {} }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://invoicing-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: {} }, type: e }, { endpoint: { url: "https://invoicing.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: {} }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
+ exports.ruleSet = _data;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvoicingServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./InvoicingClient"), exports);
6
+ tslib_1.__exportStar(require("./Invoicing"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
+ var InvoicingServiceException_1 = require("./models/InvoicingServiceException");
11
+ Object.defineProperty(exports, "InvoicingServiceException", { enumerable: true, get: function () { return InvoicingServiceException_1.InvoicingServiceException; } });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvoicingServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class InvoicingServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, InvoicingServiceException.prototype);
10
+ }
11
+ }
12
+ exports.InvoicingServiceException = InvoicingServiceException;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);
@@ -0,0 +1,121 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchGetInvoiceProfileResponseFilterSensitiveLog = exports.InvoiceProfileFilterSensitiveLog = exports.ReceiverAddressFilterSensitiveLog = exports.ServiceQuotaExceededException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const InvoicingServiceException_1 = require("./InvoicingServiceException");
6
+ class AccessDeniedException extends InvoicingServiceException_1.InvoicingServiceException {
7
+ constructor(opts) {
8
+ super({
9
+ name: "AccessDeniedException",
10
+ $fault: "client",
11
+ ...opts,
12
+ });
13
+ this.name = "AccessDeniedException";
14
+ this.$fault = "client";
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ this.resourceName = opts.resourceName;
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
20
+ class InternalServerException extends InvoicingServiceException_1.InvoicingServiceException {
21
+ constructor(opts) {
22
+ super({
23
+ name: "InternalServerException",
24
+ $fault: "server",
25
+ ...opts,
26
+ });
27
+ this.name = "InternalServerException";
28
+ this.$fault = "server";
29
+ Object.setPrototypeOf(this, InternalServerException.prototype);
30
+ this.retryAfterSeconds = opts.retryAfterSeconds;
31
+ }
32
+ }
33
+ exports.InternalServerException = InternalServerException;
34
+ class ResourceNotFoundException extends InvoicingServiceException_1.InvoicingServiceException {
35
+ constructor(opts) {
36
+ super({
37
+ name: "ResourceNotFoundException",
38
+ $fault: "client",
39
+ ...opts,
40
+ });
41
+ this.name = "ResourceNotFoundException";
42
+ this.$fault = "client";
43
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
44
+ this.resourceName = opts.resourceName;
45
+ }
46
+ }
47
+ exports.ResourceNotFoundException = ResourceNotFoundException;
48
+ class ThrottlingException extends InvoicingServiceException_1.InvoicingServiceException {
49
+ constructor(opts) {
50
+ super({
51
+ name: "ThrottlingException",
52
+ $fault: "client",
53
+ ...opts,
54
+ });
55
+ this.name = "ThrottlingException";
56
+ this.$fault = "client";
57
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
58
+ }
59
+ }
60
+ exports.ThrottlingException = ThrottlingException;
61
+ exports.ValidationExceptionReason = {
62
+ ACCOUNT_MEMBERSHIP_ERROR: "accountMembershipError",
63
+ CANNOT_PARSE: "cannotParse",
64
+ DUPLICATE_INVOICE_UNIT: "duplicateInvoiceUnit",
65
+ EXPIRED_NEXT_TOKEN: "expiredNextToken",
66
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
67
+ INVALID_INPUT: "invalidInput",
68
+ INVALID_NEXT_TOKEN: "invalidNextToken",
69
+ MAX_ACCOUNTS_EXCEEDED: "maxAccountsExceeded",
70
+ MAX_INVOICE_UNITS_EXCEEDED: "maxInvoiceUnitsExceeded",
71
+ MUTUAL_EXCLUSION_ERROR: "mutualExclusionError",
72
+ NON_MEMBERS_PRESENT: "nonMemberPresent",
73
+ OTHER: "other",
74
+ TAX_SETTINGS_ERROR: "taxSettingsError",
75
+ UNKNOWN_OPERATION: "unknownOperation",
76
+ };
77
+ class ValidationException extends InvoicingServiceException_1.InvoicingServiceException {
78
+ constructor(opts) {
79
+ super({
80
+ name: "ValidationException",
81
+ $fault: "client",
82
+ ...opts,
83
+ });
84
+ this.name = "ValidationException";
85
+ this.$fault = "client";
86
+ Object.setPrototypeOf(this, ValidationException.prototype);
87
+ this.resourceName = opts.resourceName;
88
+ this.reason = opts.reason;
89
+ this.fieldList = opts.fieldList;
90
+ }
91
+ }
92
+ exports.ValidationException = ValidationException;
93
+ class ServiceQuotaExceededException extends InvoicingServiceException_1.InvoicingServiceException {
94
+ constructor(opts) {
95
+ super({
96
+ name: "ServiceQuotaExceededException",
97
+ $fault: "client",
98
+ ...opts,
99
+ });
100
+ this.name = "ServiceQuotaExceededException";
101
+ this.$fault = "client";
102
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
103
+ }
104
+ }
105
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
106
+ const ReceiverAddressFilterSensitiveLog = (obj) => ({
107
+ ...obj,
108
+ });
109
+ exports.ReceiverAddressFilterSensitiveLog = ReceiverAddressFilterSensitiveLog;
110
+ const InvoiceProfileFilterSensitiveLog = (obj) => ({
111
+ ...obj,
112
+ ...(obj.ReceiverAddress && { ReceiverAddress: smithy_client_1.SENSITIVE_STRING }),
113
+ ...(obj.ReceiverEmail && { ReceiverEmail: smithy_client_1.SENSITIVE_STRING }),
114
+ ...(obj.TaxRegistrationNumber && { TaxRegistrationNumber: smithy_client_1.SENSITIVE_STRING }),
115
+ });
116
+ exports.InvoiceProfileFilterSensitiveLog = InvoiceProfileFilterSensitiveLog;
117
+ const BatchGetInvoiceProfileResponseFilterSensitiveLog = (obj) => ({
118
+ ...obj,
119
+ ...(obj.Profiles && { Profiles: obj.Profiles.map((item) => (0, exports.InvoiceProfileFilterSensitiveLog)(item)) }),
120
+ });
121
+ exports.BatchGetInvoiceProfileResponseFilterSensitiveLog = BatchGetInvoiceProfileResponseFilterSensitiveLog;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListInvoiceUnits = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListInvoiceUnitsCommand_1 = require("../commands/ListInvoiceUnitsCommand");
6
+ const InvoicingClient_1 = require("../InvoicingClient");
7
+ exports.paginateListInvoiceUnits = (0, core_1.createPaginator)(InvoicingClient_1.InvoicingClient, ListInvoiceUnitsCommand_1.ListInvoiceUnitsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListInvoiceUnitsPaginator"), exports);