@aws-sdk/client-invoicing 3.893.0 → 3.895.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1021 -10
- package/package.json +7 -7
- package/dist-cjs/Invoicing.js +0 -31
- package/dist-cjs/InvoicingClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/BatchGetInvoiceProfileCommand.js +0 -27
- package/dist-cjs/commands/CreateInvoiceUnitCommand.js +0 -26
- package/dist-cjs/commands/DeleteInvoiceUnitCommand.js +0 -26
- package/dist-cjs/commands/GetInvoiceUnitCommand.js +0 -26
- package/dist-cjs/commands/ListInvoiceSummariesCommand.js +0 -26
- package/dist-cjs/commands/ListInvoiceUnitsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateInvoiceUnitCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -13
- package/dist-cjs/endpoint/EndpointParameters.js +0 -15
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/InvoicingServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -135
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListInvoiceSummariesPaginator.js +0 -7
- package/dist-cjs/pagination/ListInvoiceUnitsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -6
- package/dist-cjs/protocols/Aws_json1_0.js +0 -439
- package/dist-cjs/runtimeExtensions.js +0 -13
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-invoicing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Invoicing Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.895.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-invoicing",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.894.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.895.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.895.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.895.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.895.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
35
|
"@smithy/core": "^3.11.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
package/dist-cjs/Invoicing.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Invoicing = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const BatchGetInvoiceProfileCommand_1 = require("./commands/BatchGetInvoiceProfileCommand");
|
|
6
|
-
const CreateInvoiceUnitCommand_1 = require("./commands/CreateInvoiceUnitCommand");
|
|
7
|
-
const DeleteInvoiceUnitCommand_1 = require("./commands/DeleteInvoiceUnitCommand");
|
|
8
|
-
const GetInvoiceUnitCommand_1 = require("./commands/GetInvoiceUnitCommand");
|
|
9
|
-
const ListInvoiceSummariesCommand_1 = require("./commands/ListInvoiceSummariesCommand");
|
|
10
|
-
const ListInvoiceUnitsCommand_1 = require("./commands/ListInvoiceUnitsCommand");
|
|
11
|
-
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
12
|
-
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
13
|
-
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
14
|
-
const UpdateInvoiceUnitCommand_1 = require("./commands/UpdateInvoiceUnitCommand");
|
|
15
|
-
const InvoicingClient_1 = require("./InvoicingClient");
|
|
16
|
-
const commands = {
|
|
17
|
-
BatchGetInvoiceProfileCommand: BatchGetInvoiceProfileCommand_1.BatchGetInvoiceProfileCommand,
|
|
18
|
-
CreateInvoiceUnitCommand: CreateInvoiceUnitCommand_1.CreateInvoiceUnitCommand,
|
|
19
|
-
DeleteInvoiceUnitCommand: DeleteInvoiceUnitCommand_1.DeleteInvoiceUnitCommand,
|
|
20
|
-
GetInvoiceUnitCommand: GetInvoiceUnitCommand_1.GetInvoiceUnitCommand,
|
|
21
|
-
ListInvoiceSummariesCommand: ListInvoiceSummariesCommand_1.ListInvoiceSummariesCommand,
|
|
22
|
-
ListInvoiceUnitsCommand: ListInvoiceUnitsCommand_1.ListInvoiceUnitsCommand,
|
|
23
|
-
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
24
|
-
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
25
|
-
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
26
|
-
UpdateInvoiceUnitCommand: UpdateInvoiceUnitCommand_1.UpdateInvoiceUnitCommand,
|
|
27
|
-
};
|
|
28
|
-
class Invoicing extends InvoicingClient_1.InvoicingClient {
|
|
29
|
-
}
|
|
30
|
-
exports.Invoicing = Invoicing;
|
|
31
|
-
(0, smithy_client_1.createAggregatedClient)(commands, Invoicing);
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvoicingClient = exports.__Client = void 0;
|
|
4
|
-
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
5
|
-
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
6
|
-
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
7
|
-
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
8
|
-
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
|
-
const core_1 = require("@smithy/core");
|
|
10
|
-
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
11
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
12
|
-
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
13
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
|
-
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
15
|
-
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
16
|
-
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
17
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
18
|
-
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
19
|
-
class InvoicingClient extends smithy_client_1.Client {
|
|
20
|
-
config;
|
|
21
|
-
constructor(...[configuration]) {
|
|
22
|
-
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
23
|
-
super(_config_0);
|
|
24
|
-
this.initConfig = _config_0;
|
|
25
|
-
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
26
|
-
const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
|
|
27
|
-
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
28
|
-
const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
|
|
29
|
-
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
30
|
-
const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
|
|
31
|
-
const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
|
|
32
|
-
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
33
|
-
this.config = _config_8;
|
|
34
|
-
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
35
|
-
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
36
|
-
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
37
|
-
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
38
|
-
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
39
|
-
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
40
|
-
this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
41
|
-
httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultInvoicingHttpAuthSchemeParametersProvider,
|
|
42
|
-
identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
|
|
43
|
-
"aws.auth#sigv4": config.credentials,
|
|
44
|
-
}),
|
|
45
|
-
}));
|
|
46
|
-
this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
|
|
47
|
-
}
|
|
48
|
-
destroy() {
|
|
49
|
-
super.destroy();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
exports.InvoicingClient = InvoicingClient;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
|
|
4
|
-
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
5
|
-
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
6
|
-
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
7
|
-
let _credentials = runtimeConfig.credentials;
|
|
8
|
-
return {
|
|
9
|
-
setHttpAuthScheme(httpAuthScheme) {
|
|
10
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
11
|
-
if (index === -1) {
|
|
12
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
httpAuthSchemes() {
|
|
19
|
-
return _httpAuthSchemes;
|
|
20
|
-
},
|
|
21
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
22
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
23
|
-
},
|
|
24
|
-
httpAuthSchemeProvider() {
|
|
25
|
-
return _httpAuthSchemeProvider;
|
|
26
|
-
},
|
|
27
|
-
setCredentials(credentials) {
|
|
28
|
-
_credentials = credentials;
|
|
29
|
-
},
|
|
30
|
-
credentials() {
|
|
31
|
-
return _credentials;
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
|
|
36
|
-
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
37
|
-
return {
|
|
38
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
39
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
40
|
-
credentials: config.credentials(),
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
|
@@ -1,27 +0,0 @@
|
|
|
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;
|
|
@@ -1,26 +0,0 @@
|
|
|
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;
|
|
@@ -1,26 +0,0 @@
|
|
|
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;
|
|
@@ -1,26 +0,0 @@
|
|
|
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;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListInvoiceSummariesCommand = 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 ListInvoiceSummariesCommand 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", "ListInvoiceSummaries", {})
|
|
20
|
-
.n("InvoicingClient", "ListInvoiceSummariesCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_json1_0_1.se_ListInvoiceSummariesCommand)
|
|
23
|
-
.de(Aws_json1_0_1.de_ListInvoiceSummariesCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.ListInvoiceSummariesCommand = ListInvoiceSummariesCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
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;
|
|
@@ -1,26 +0,0 @@
|
|
|
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;
|
|
@@ -1,26 +0,0 @@
|
|
|
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;
|
|
@@ -1,26 +0,0 @@
|
|
|
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;
|
|
@@ -1,26 +0,0 @@
|
|
|
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;
|
|
@@ -1,13 +0,0 @@
|
|
|
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("./ListInvoiceSummariesCommand"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./ListInvoiceUnitsCommand"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./UpdateInvoiceUnitCommand"), exports);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
-
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
return Object.assign(options, {
|
|
6
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
7
|
-
defaultSigningName: "invoicing",
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
11
|
-
exports.commonParams = {
|
|
12
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
-
Region: { type: "builtInParams", name: "region" },
|
|
15
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchGetInvoiceProfileResponseFilterSensitiveLog = exports.InvoiceProfileFilterSensitiveLog = exports.ReceiverAddressFilterSensitiveLog = exports.ServiceQuotaExceededException = exports.ListInvoiceSummariesResourceType = exports.InvoiceType = 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
|
-
name = "AccessDeniedException";
|
|
8
|
-
$fault = "client";
|
|
9
|
-
resourceName;
|
|
10
|
-
constructor(opts) {
|
|
11
|
-
super({
|
|
12
|
-
name: "AccessDeniedException",
|
|
13
|
-
$fault: "client",
|
|
14
|
-
...opts,
|
|
15
|
-
});
|
|
16
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
-
this.resourceName = opts.resourceName;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
21
|
-
class InternalServerException extends InvoicingServiceException_1.InvoicingServiceException {
|
|
22
|
-
name = "InternalServerException";
|
|
23
|
-
$fault = "server";
|
|
24
|
-
retryAfterSeconds;
|
|
25
|
-
constructor(opts) {
|
|
26
|
-
super({
|
|
27
|
-
name: "InternalServerException",
|
|
28
|
-
$fault: "server",
|
|
29
|
-
...opts,
|
|
30
|
-
});
|
|
31
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
32
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.InternalServerException = InternalServerException;
|
|
36
|
-
class ResourceNotFoundException extends InvoicingServiceException_1.InvoicingServiceException {
|
|
37
|
-
name = "ResourceNotFoundException";
|
|
38
|
-
$fault = "client";
|
|
39
|
-
resourceName;
|
|
40
|
-
constructor(opts) {
|
|
41
|
-
super({
|
|
42
|
-
name: "ResourceNotFoundException",
|
|
43
|
-
$fault: "client",
|
|
44
|
-
...opts,
|
|
45
|
-
});
|
|
46
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
47
|
-
this.resourceName = opts.resourceName;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
51
|
-
class ThrottlingException extends InvoicingServiceException_1.InvoicingServiceException {
|
|
52
|
-
name = "ThrottlingException";
|
|
53
|
-
$fault = "client";
|
|
54
|
-
constructor(opts) {
|
|
55
|
-
super({
|
|
56
|
-
name: "ThrottlingException",
|
|
57
|
-
$fault: "client",
|
|
58
|
-
...opts,
|
|
59
|
-
});
|
|
60
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
exports.ThrottlingException = ThrottlingException;
|
|
64
|
-
exports.ValidationExceptionReason = {
|
|
65
|
-
ACCOUNT_MEMBERSHIP_ERROR: "accountMembershipError",
|
|
66
|
-
CANNOT_PARSE: "cannotParse",
|
|
67
|
-
DUPLICATE_INVOICE_UNIT: "duplicateInvoiceUnit",
|
|
68
|
-
EXPIRED_NEXT_TOKEN: "expiredNextToken",
|
|
69
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
70
|
-
INVALID_INPUT: "invalidInput",
|
|
71
|
-
INVALID_NEXT_TOKEN: "invalidNextToken",
|
|
72
|
-
MAX_ACCOUNTS_EXCEEDED: "maxAccountsExceeded",
|
|
73
|
-
MAX_INVOICE_UNITS_EXCEEDED: "maxInvoiceUnitsExceeded",
|
|
74
|
-
MUTUAL_EXCLUSION_ERROR: "mutualExclusionError",
|
|
75
|
-
NON_MEMBERS_PRESENT: "nonMemberPresent",
|
|
76
|
-
OTHER: "other",
|
|
77
|
-
TAX_SETTINGS_ERROR: "taxSettingsError",
|
|
78
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
79
|
-
};
|
|
80
|
-
class ValidationException extends InvoicingServiceException_1.InvoicingServiceException {
|
|
81
|
-
name = "ValidationException";
|
|
82
|
-
$fault = "client";
|
|
83
|
-
resourceName;
|
|
84
|
-
reason;
|
|
85
|
-
fieldList;
|
|
86
|
-
constructor(opts) {
|
|
87
|
-
super({
|
|
88
|
-
name: "ValidationException",
|
|
89
|
-
$fault: "client",
|
|
90
|
-
...opts,
|
|
91
|
-
});
|
|
92
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
93
|
-
this.resourceName = opts.resourceName;
|
|
94
|
-
this.reason = opts.reason;
|
|
95
|
-
this.fieldList = opts.fieldList;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
exports.ValidationException = ValidationException;
|
|
99
|
-
exports.InvoiceType = {
|
|
100
|
-
CREDIT_MEMO: "CREDIT_MEMO",
|
|
101
|
-
INVOICE: "INVOICE",
|
|
102
|
-
};
|
|
103
|
-
exports.ListInvoiceSummariesResourceType = {
|
|
104
|
-
ACCOUNT_ID: "ACCOUNT_ID",
|
|
105
|
-
INVOICE_ID: "INVOICE_ID",
|
|
106
|
-
};
|
|
107
|
-
class ServiceQuotaExceededException extends InvoicingServiceException_1.InvoicingServiceException {
|
|
108
|
-
name = "ServiceQuotaExceededException";
|
|
109
|
-
$fault = "client";
|
|
110
|
-
constructor(opts) {
|
|
111
|
-
super({
|
|
112
|
-
name: "ServiceQuotaExceededException",
|
|
113
|
-
$fault: "client",
|
|
114
|
-
...opts,
|
|
115
|
-
});
|
|
116
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
120
|
-
const ReceiverAddressFilterSensitiveLog = (obj) => ({
|
|
121
|
-
...obj,
|
|
122
|
-
});
|
|
123
|
-
exports.ReceiverAddressFilterSensitiveLog = ReceiverAddressFilterSensitiveLog;
|
|
124
|
-
const InvoiceProfileFilterSensitiveLog = (obj) => ({
|
|
125
|
-
...obj,
|
|
126
|
-
...(obj.ReceiverAddress && { ReceiverAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
127
|
-
...(obj.ReceiverEmail && { ReceiverEmail: smithy_client_1.SENSITIVE_STRING }),
|
|
128
|
-
...(obj.TaxRegistrationNumber && { TaxRegistrationNumber: smithy_client_1.SENSITIVE_STRING }),
|
|
129
|
-
});
|
|
130
|
-
exports.InvoiceProfileFilterSensitiveLog = InvoiceProfileFilterSensitiveLog;
|
|
131
|
-
const BatchGetInvoiceProfileResponseFilterSensitiveLog = (obj) => ({
|
|
132
|
-
...obj,
|
|
133
|
-
...(obj.Profiles && { Profiles: obj.Profiles.map((item) => (0, exports.InvoiceProfileFilterSensitiveLog)(item)) }),
|
|
134
|
-
});
|
|
135
|
-
exports.BatchGetInvoiceProfileResponseFilterSensitiveLog = BatchGetInvoiceProfileResponseFilterSensitiveLog;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListInvoiceSummaries = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListInvoiceSummariesCommand_1 = require("../commands/ListInvoiceSummariesCommand");
|
|
6
|
-
const InvoicingClient_1 = require("../InvoicingClient");
|
|
7
|
-
exports.paginateListInvoiceSummaries = (0, core_1.createPaginator)(InvoicingClient_1.InvoicingClient, ListInvoiceSummariesCommand_1.ListInvoiceSummariesCommand, "NextToken", "NextToken", "MaxResults");
|