@aws-sdk/client-b2bi 3.490.0 → 3.496.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 (73) hide show
  1. package/dist-cjs/B2bi.js +1 -65
  2. package/dist-cjs/B2biClient.js +1 -43
  3. package/dist-cjs/commands/CreateCapabilityCommand.js +1 -28
  4. package/dist-cjs/commands/CreatePartnershipCommand.js +1 -29
  5. package/dist-cjs/commands/CreateProfileCommand.js +1 -29
  6. package/dist-cjs/commands/CreateTransformerCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteCapabilityCommand.js +1 -28
  8. package/dist-cjs/commands/DeletePartnershipCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteProfileCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteTransformerCommand.js +1 -28
  11. package/dist-cjs/commands/GetCapabilityCommand.js +1 -28
  12. package/dist-cjs/commands/GetPartnershipCommand.js +1 -29
  13. package/dist-cjs/commands/GetProfileCommand.js +1 -29
  14. package/dist-cjs/commands/GetTransformerCommand.js +1 -28
  15. package/dist-cjs/commands/GetTransformerJobCommand.js +1 -28
  16. package/dist-cjs/commands/ListCapabilitiesCommand.js +1 -28
  17. package/dist-cjs/commands/ListPartnershipsCommand.js +1 -28
  18. package/dist-cjs/commands/ListProfilesCommand.js +1 -28
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  20. package/dist-cjs/commands/ListTransformersCommand.js +1 -28
  21. package/dist-cjs/commands/StartTransformerJobCommand.js +1 -28
  22. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  23. package/dist-cjs/commands/TestMappingCommand.js +1 -28
  24. package/dist-cjs/commands/TestParsingCommand.js +1 -28
  25. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  26. package/dist-cjs/commands/UpdateCapabilityCommand.js +1 -28
  27. package/dist-cjs/commands/UpdatePartnershipCommand.js +1 -29
  28. package/dist-cjs/commands/UpdateProfileCommand.js +1 -29
  29. package/dist-cjs/commands/UpdateTransformerCommand.js +1 -28
  30. package/dist-cjs/commands/index.js +1 -30
  31. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  32. package/dist-cjs/extensionConfiguration.js +1 -2
  33. package/dist-cjs/index.js +2779 -11
  34. package/dist-cjs/models/B2biServiceException.js +1 -12
  35. package/dist-cjs/models/index.js +1 -4
  36. package/dist-cjs/models/models_0.js +1 -227
  37. package/dist-cjs/pagination/Interfaces.js +1 -2
  38. package/dist-cjs/pagination/ListCapabilitiesPaginator.js +1 -7
  39. package/dist-cjs/pagination/ListPartnershipsPaginator.js +1 -7
  40. package/dist-cjs/pagination/ListProfilesPaginator.js +1 -7
  41. package/dist-cjs/pagination/ListTransformersPaginator.js +1 -7
  42. package/dist-cjs/pagination/index.js +1 -8
  43. package/dist-cjs/protocols/Aws_json1_0.js +1 -1822
  44. package/dist-cjs/runtimeExtensions.js +1 -22
  45. package/dist-es/protocols/Aws_json1_0.js +9 -0
  46. package/dist-types/commands/CreateCapabilityCommand.d.ts +78 -0
  47. package/dist-types/commands/CreatePartnershipCommand.d.ts +39 -0
  48. package/dist-types/commands/CreateProfileCommand.d.ts +35 -0
  49. package/dist-types/commands/CreateTransformerCommand.d.ts +45 -0
  50. package/dist-types/commands/DeleteCapabilityCommand.d.ts +11 -0
  51. package/dist-types/commands/DeletePartnershipCommand.d.ts +11 -0
  52. package/dist-types/commands/DeleteProfileCommand.d.ts +11 -0
  53. package/dist-types/commands/DeleteTransformerCommand.d.ts +11 -0
  54. package/dist-types/commands/GetCapabilityCommand.d.ts +46 -0
  55. package/dist-types/commands/GetPartnershipCommand.d.ts +27 -0
  56. package/dist-types/commands/GetProfileCommand.d.ts +24 -0
  57. package/dist-types/commands/GetTransformerCommand.d.ts +30 -0
  58. package/dist-types/commands/GetTransformerJobCommand.d.ts +24 -0
  59. package/dist-types/commands/ListCapabilitiesCommand.d.ts +26 -0
  60. package/dist-types/commands/ListPartnershipsCommand.d.ts +31 -0
  61. package/dist-types/commands/ListProfilesCommand.d.ts +27 -0
  62. package/dist-types/commands/ListTagsForResourceCommand.d.ts +24 -0
  63. package/dist-types/commands/ListTransformersCommand.d.ts +35 -0
  64. package/dist-types/commands/StartTransformerJobCommand.d.ts +25 -0
  65. package/dist-types/commands/TagResourceCommand.d.ts +20 -0
  66. package/dist-types/commands/TestMappingCommand.d.ts +18 -0
  67. package/dist-types/commands/TestParsingCommand.d.ts +27 -1
  68. package/dist-types/commands/UntagResourceCommand.d.ts +17 -0
  69. package/dist-types/commands/UpdateCapabilityCommand.d.ts +72 -0
  70. package/dist-types/commands/UpdatePartnershipCommand.d.ts +31 -0
  71. package/dist-types/commands/UpdateProfileCommand.d.ts +29 -0
  72. package/dist-types/commands/UpdateTransformerCommand.d.ts +41 -0
  73. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.B2biServiceException = 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 B2biServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, B2biServiceException.prototype);
10
- }
11
- }
12
- exports.B2biServiceException = B2biServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,227 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateProfileResponseFilterSensitiveLog = exports.UpdateProfileRequestFilterSensitiveLog = exports.GetProfileResponseFilterSensitiveLog = exports.CreateProfileResponseFilterSensitiveLog = exports.CreateProfileRequestFilterSensitiveLog = exports.UpdatePartnershipResponseFilterSensitiveLog = exports.GetPartnershipResponseFilterSensitiveLog = exports.CreatePartnershipResponseFilterSensitiveLog = exports.CreatePartnershipRequestFilterSensitiveLog = exports.TransformerStatus = exports.FileFormat = exports.Logging = exports.TransformerJobStatus = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.CapabilityType = exports.CapabilityConfiguration = exports.EdiType = exports.X12Version = exports.X12TransactionSet = exports.ConflictException = exports.AccessDeniedException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const B2biServiceException_1 = require("./B2biServiceException");
6
- class AccessDeniedException extends B2biServiceException_1.B2biServiceException {
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
- }
17
- }
18
- exports.AccessDeniedException = AccessDeniedException;
19
- class ConflictException extends B2biServiceException_1.B2biServiceException {
20
- constructor(opts) {
21
- super({
22
- name: "ConflictException",
23
- $fault: "client",
24
- ...opts,
25
- });
26
- this.name = "ConflictException";
27
- this.$fault = "client";
28
- Object.setPrototypeOf(this, ConflictException.prototype);
29
- }
30
- }
31
- exports.ConflictException = ConflictException;
32
- exports.X12TransactionSet = {
33
- X12_110: "X12_110",
34
- X12_180: "X12_180",
35
- X12_204: "X12_204",
36
- X12_210: "X12_210",
37
- X12_214: "X12_214",
38
- X12_215: "X12_215",
39
- X12_310: "X12_310",
40
- X12_315: "X12_315",
41
- X12_322: "X12_322",
42
- X12_404: "X12_404",
43
- X12_410: "X12_410",
44
- X12_820: "X12_820",
45
- X12_824: "X12_824",
46
- X12_830: "X12_830",
47
- X12_846: "X12_846",
48
- X12_850: "X12_850",
49
- X12_852: "X12_852",
50
- X12_855: "X12_855",
51
- X12_856: "X12_856",
52
- X12_860: "X12_860",
53
- X12_861: "X12_861",
54
- X12_864: "X12_864",
55
- X12_940: "X12_940",
56
- X12_990: "X12_990",
57
- X12_997: "X12_997",
58
- };
59
- exports.X12Version = {
60
- VERSION_4010: "VERSION_4010",
61
- VERSION_4030: "VERSION_4030",
62
- VERSION_5010: "VERSION_5010",
63
- };
64
- var EdiType;
65
- (function (EdiType) {
66
- EdiType.visit = (value, visitor) => {
67
- if (value.x12Details !== undefined)
68
- return visitor.x12Details(value.x12Details);
69
- return visitor._(value.$unknown[0], value.$unknown[1]);
70
- };
71
- })(EdiType = exports.EdiType || (exports.EdiType = {}));
72
- var CapabilityConfiguration;
73
- (function (CapabilityConfiguration) {
74
- CapabilityConfiguration.visit = (value, visitor) => {
75
- if (value.edi !== undefined)
76
- return visitor.edi(value.edi);
77
- return visitor._(value.$unknown[0], value.$unknown[1]);
78
- };
79
- })(CapabilityConfiguration = exports.CapabilityConfiguration || (exports.CapabilityConfiguration = {}));
80
- exports.CapabilityType = {
81
- EDI: "edi",
82
- };
83
- class InternalServerException extends B2biServiceException_1.B2biServiceException {
84
- constructor(opts) {
85
- super({
86
- name: "InternalServerException",
87
- $fault: "server",
88
- ...opts,
89
- });
90
- this.name = "InternalServerException";
91
- this.$fault = "server";
92
- this.$retryable = {};
93
- Object.setPrototypeOf(this, InternalServerException.prototype);
94
- this.retryAfterSeconds = opts.retryAfterSeconds;
95
- }
96
- }
97
- exports.InternalServerException = InternalServerException;
98
- class ResourceNotFoundException extends B2biServiceException_1.B2biServiceException {
99
- constructor(opts) {
100
- super({
101
- name: "ResourceNotFoundException",
102
- $fault: "client",
103
- ...opts,
104
- });
105
- this.name = "ResourceNotFoundException";
106
- this.$fault = "client";
107
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
108
- }
109
- }
110
- exports.ResourceNotFoundException = ResourceNotFoundException;
111
- class ServiceQuotaExceededException extends B2biServiceException_1.B2biServiceException {
112
- constructor(opts) {
113
- super({
114
- name: "ServiceQuotaExceededException",
115
- $fault: "client",
116
- ...opts,
117
- });
118
- this.name = "ServiceQuotaExceededException";
119
- this.$fault = "client";
120
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
121
- this.resourceId = opts.resourceId;
122
- this.resourceType = opts.resourceType;
123
- this.serviceCode = opts.serviceCode;
124
- this.quotaCode = opts.quotaCode;
125
- }
126
- }
127
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
128
- class ThrottlingException extends B2biServiceException_1.B2biServiceException {
129
- constructor(opts) {
130
- super({
131
- name: "ThrottlingException",
132
- $fault: "client",
133
- ...opts,
134
- });
135
- this.name = "ThrottlingException";
136
- this.$fault = "client";
137
- this.$retryable = {};
138
- Object.setPrototypeOf(this, ThrottlingException.prototype);
139
- this.retryAfterSeconds = opts.retryAfterSeconds;
140
- }
141
- }
142
- exports.ThrottlingException = ThrottlingException;
143
- class ValidationException extends B2biServiceException_1.B2biServiceException {
144
- constructor(opts) {
145
- super({
146
- name: "ValidationException",
147
- $fault: "client",
148
- ...opts,
149
- });
150
- this.name = "ValidationException";
151
- this.$fault = "client";
152
- Object.setPrototypeOf(this, ValidationException.prototype);
153
- this.Message = opts.Message;
154
- }
155
- }
156
- exports.ValidationException = ValidationException;
157
- exports.TransformerJobStatus = {
158
- FAILED: "failed",
159
- RUNNING: "running",
160
- SUCCEEDED: "succeeded",
161
- };
162
- exports.Logging = {
163
- DISABLED: "DISABLED",
164
- ENABLED: "ENABLED",
165
- };
166
- exports.FileFormat = {
167
- JSON: "JSON",
168
- XML: "XML",
169
- };
170
- exports.TransformerStatus = {
171
- ACTIVE: "active",
172
- INACTIVE: "inactive",
173
- };
174
- const CreatePartnershipRequestFilterSensitiveLog = (obj) => ({
175
- ...obj,
176
- ...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
177
- ...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
178
- });
179
- exports.CreatePartnershipRequestFilterSensitiveLog = CreatePartnershipRequestFilterSensitiveLog;
180
- const CreatePartnershipResponseFilterSensitiveLog = (obj) => ({
181
- ...obj,
182
- ...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
183
- ...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
184
- });
185
- exports.CreatePartnershipResponseFilterSensitiveLog = CreatePartnershipResponseFilterSensitiveLog;
186
- const GetPartnershipResponseFilterSensitiveLog = (obj) => ({
187
- ...obj,
188
- ...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
189
- ...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
190
- });
191
- exports.GetPartnershipResponseFilterSensitiveLog = GetPartnershipResponseFilterSensitiveLog;
192
- const UpdatePartnershipResponseFilterSensitiveLog = (obj) => ({
193
- ...obj,
194
- ...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
195
- ...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
196
- });
197
- exports.UpdatePartnershipResponseFilterSensitiveLog = UpdatePartnershipResponseFilterSensitiveLog;
198
- const CreateProfileRequestFilterSensitiveLog = (obj) => ({
199
- ...obj,
200
- ...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
201
- ...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
202
- });
203
- exports.CreateProfileRequestFilterSensitiveLog = CreateProfileRequestFilterSensitiveLog;
204
- const CreateProfileResponseFilterSensitiveLog = (obj) => ({
205
- ...obj,
206
- ...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
207
- ...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
208
- });
209
- exports.CreateProfileResponseFilterSensitiveLog = CreateProfileResponseFilterSensitiveLog;
210
- const GetProfileResponseFilterSensitiveLog = (obj) => ({
211
- ...obj,
212
- ...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
213
- ...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
214
- });
215
- exports.GetProfileResponseFilterSensitiveLog = GetProfileResponseFilterSensitiveLog;
216
- const UpdateProfileRequestFilterSensitiveLog = (obj) => ({
217
- ...obj,
218
- ...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
219
- ...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
220
- });
221
- exports.UpdateProfileRequestFilterSensitiveLog = UpdateProfileRequestFilterSensitiveLog;
222
- const UpdateProfileResponseFilterSensitiveLog = (obj) => ({
223
- ...obj,
224
- ...(obj.email && { email: smithy_client_1.SENSITIVE_STRING }),
225
- ...(obj.phone && { phone: smithy_client_1.SENSITIVE_STRING }),
226
- });
227
- exports.UpdateProfileResponseFilterSensitiveLog = UpdateProfileResponseFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListCapabilities = void 0;
4
- const core_1 = require("@smithy/core");
5
- const B2biClient_1 = require("../B2biClient");
6
- const ListCapabilitiesCommand_1 = require("../commands/ListCapabilitiesCommand");
7
- exports.paginateListCapabilities = (0, core_1.createPaginator)(B2biClient_1.B2biClient, ListCapabilitiesCommand_1.ListCapabilitiesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListPartnerships = void 0;
4
- const core_1 = require("@smithy/core");
5
- const B2biClient_1 = require("../B2biClient");
6
- const ListPartnershipsCommand_1 = require("../commands/ListPartnershipsCommand");
7
- exports.paginateListPartnerships = (0, core_1.createPaginator)(B2biClient_1.B2biClient, ListPartnershipsCommand_1.ListPartnershipsCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListProfiles = void 0;
4
- const core_1 = require("@smithy/core");
5
- const B2biClient_1 = require("../B2biClient");
6
- const ListProfilesCommand_1 = require("../commands/ListProfilesCommand");
7
- exports.paginateListProfiles = (0, core_1.createPaginator)(B2biClient_1.B2biClient, ListProfilesCommand_1.ListProfilesCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListTransformers = void 0;
4
- const core_1 = require("@smithy/core");
5
- const B2biClient_1 = require("../B2biClient");
6
- const ListTransformersCommand_1 = require("../commands/ListTransformersCommand");
7
- exports.paginateListTransformers = (0, core_1.createPaginator)(B2biClient_1.B2biClient, ListTransformersCommand_1.ListTransformersCommand, "nextToken", "nextToken", "maxResults");
1
+ module.exports = require("../index.js");
@@ -1,8 +1 @@
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("./ListCapabilitiesPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListPartnershipsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListProfilesPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListTransformersPaginator"), exports);
1
+ module.exports = require("../index.js");