@aws-sdk/client-billingconductor 3.606.0 → 3.613.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 +5 -4
- package/dist-es/protocols/Aws_restJson1.js +5 -4
- package/package.json +35 -35
package/dist-cjs/index.js
CHANGED
|
@@ -272,6 +272,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
272
272
|
var import_core2 = require("@aws-sdk/core");
|
|
273
273
|
|
|
274
274
|
|
|
275
|
+
var import_uuid = require("uuid");
|
|
275
276
|
|
|
276
277
|
// src/models/BillingconductorServiceException.ts
|
|
277
278
|
|
|
@@ -752,7 +753,7 @@ var se_CreateBillingGroupCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
752
753
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
753
754
|
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
754
755
|
"content-type": "application/json",
|
|
755
|
-
[_xact]: input[_CT]
|
|
756
|
+
[_xact]: input[_CT] ?? (0, import_uuid.v4)()
|
|
756
757
|
});
|
|
757
758
|
b.bp("/create-billing-group");
|
|
758
759
|
let body;
|
|
@@ -773,7 +774,7 @@ var se_CreateCustomLineItemCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
773
774
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
774
775
|
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
775
776
|
"content-type": "application/json",
|
|
776
|
-
[_xact]: input[_CT]
|
|
777
|
+
[_xact]: input[_CT] ?? (0, import_uuid.v4)()
|
|
777
778
|
});
|
|
778
779
|
b.bp("/create-custom-line-item");
|
|
779
780
|
let body;
|
|
@@ -795,7 +796,7 @@ var se_CreatePricingPlanCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
795
796
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
796
797
|
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
797
798
|
"content-type": "application/json",
|
|
798
|
-
[_xact]: input[_CT]
|
|
799
|
+
[_xact]: input[_CT] ?? (0, import_uuid.v4)()
|
|
799
800
|
});
|
|
800
801
|
b.bp("/create-pricing-plan");
|
|
801
802
|
let body;
|
|
@@ -814,7 +815,7 @@ var se_CreatePricingRuleCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
814
815
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
815
816
|
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
816
817
|
"content-type": "application/json",
|
|
817
|
-
[_xact]: input[_CT]
|
|
818
|
+
[_xact]: input[_CT] ?? (0, import_uuid.v4)()
|
|
818
819
|
});
|
|
819
820
|
b.bp("/create-pricing-rule");
|
|
820
821
|
let body;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
+
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
5
|
import { BillingconductorServiceException as __BaseException } from "../models/BillingconductorServiceException";
|
|
5
6
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceLimitExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
7
|
export const se_AssociateAccountsCommand = async (input, context) => {
|
|
@@ -65,7 +66,7 @@ export const se_CreateBillingGroupCommand = async (input, context) => {
|
|
|
65
66
|
const b = rb(input, context);
|
|
66
67
|
const headers = map({}, isSerializableHeaderValue, {
|
|
67
68
|
"content-type": "application/json",
|
|
68
|
-
[_xact]: input[_CT],
|
|
69
|
+
[_xact]: input[_CT] ?? generateIdempotencyToken(),
|
|
69
70
|
});
|
|
70
71
|
b.bp("/create-billing-group");
|
|
71
72
|
let body;
|
|
@@ -84,7 +85,7 @@ export const se_CreateCustomLineItemCommand = async (input, context) => {
|
|
|
84
85
|
const b = rb(input, context);
|
|
85
86
|
const headers = map({}, isSerializableHeaderValue, {
|
|
86
87
|
"content-type": "application/json",
|
|
87
|
-
[_xact]: input[_CT],
|
|
88
|
+
[_xact]: input[_CT] ?? generateIdempotencyToken(),
|
|
88
89
|
});
|
|
89
90
|
b.bp("/create-custom-line-item");
|
|
90
91
|
let body;
|
|
@@ -104,7 +105,7 @@ export const se_CreatePricingPlanCommand = async (input, context) => {
|
|
|
104
105
|
const b = rb(input, context);
|
|
105
106
|
const headers = map({}, isSerializableHeaderValue, {
|
|
106
107
|
"content-type": "application/json",
|
|
107
|
-
[_xact]: input[_CT],
|
|
108
|
+
[_xact]: input[_CT] ?? generateIdempotencyToken(),
|
|
108
109
|
});
|
|
109
110
|
b.bp("/create-pricing-plan");
|
|
110
111
|
let body;
|
|
@@ -121,7 +122,7 @@ export const se_CreatePricingRuleCommand = async (input, context) => {
|
|
|
121
122
|
const b = rb(input, context);
|
|
122
123
|
const headers = map({}, isSerializableHeaderValue, {
|
|
123
124
|
"content-type": "application/json",
|
|
124
|
-
[_xact]: input[_CT],
|
|
125
|
+
[_xact]: input[_CT] ?? generateIdempotencyToken(),
|
|
125
126
|
});
|
|
126
127
|
b.bp("/create-pricing-rule");
|
|
127
128
|
let body;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-billingconductor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Billingconductor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.613.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-billingconductor",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.2.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.0
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.
|
|
48
|
-
"@smithy/protocol-http": "^4.0.
|
|
49
|
-
"@smithy/smithy-client": "^3.1.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.613.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.613.0",
|
|
25
|
+
"@aws-sdk/core": "3.609.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.613.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.609.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.609.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.609.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.609.0",
|
|
32
|
+
"@aws-sdk/types": "3.609.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.609.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.609.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.4",
|
|
37
|
+
"@smithy/core": "^2.2.4",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.0",
|
|
39
|
+
"@smithy/hash-node": "^3.0.3",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.3",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.3",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.0.4",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.7",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.3",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.3",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.3",
|
|
47
|
+
"@smithy/node-http-handler": "^3.1.1",
|
|
48
|
+
"@smithy/protocol-http": "^4.0.3",
|
|
49
|
+
"@smithy/smithy-client": "^3.1.5",
|
|
50
|
+
"@smithy/types": "^3.3.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.3",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.0.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.7",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.7",
|
|
57
|
+
"@smithy/util-endpoints": "^2.0.4",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.3",
|
|
59
|
+
"@smithy/util-retry": "^3.0.3",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"tslib": "^2.6.2",
|
|
62
62
|
"uuid": "^9.0.1"
|