@aws-sdk/client-b2bi 3.933.0 → 3.935.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-es/index.js CHANGED
@@ -3,5 +3,6 @@ export * from "./B2bi";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
- export * from "./models";
6
+ export * from "./models/enums";
7
+ export * from "./models/errors";
7
8
  export { B2biServiceException } from "./models/B2biServiceException";
@@ -0,0 +1,430 @@
1
+ export const X12SplitBy = {
2
+ NONE: "NONE",
3
+ TRANSACTION: "TRANSACTION",
4
+ };
5
+ export const ElementRequirement = {
6
+ MANDATORY: "MANDATORY",
7
+ OPTIONAL: "OPTIONAL",
8
+ };
9
+ export const CapabilityDirection = {
10
+ INBOUND: "INBOUND",
11
+ OUTBOUND: "OUTBOUND",
12
+ };
13
+ export const X12TransactionSet = {
14
+ X12_100: "X12_100",
15
+ X12_101: "X12_101",
16
+ X12_102: "X12_102",
17
+ X12_103: "X12_103",
18
+ X12_104: "X12_104",
19
+ X12_105: "X12_105",
20
+ X12_106: "X12_106",
21
+ X12_107: "X12_107",
22
+ X12_108: "X12_108",
23
+ X12_109: "X12_109",
24
+ X12_110: "X12_110",
25
+ X12_111: "X12_111",
26
+ X12_112: "X12_112",
27
+ X12_113: "X12_113",
28
+ X12_120: "X12_120",
29
+ X12_121: "X12_121",
30
+ X12_124: "X12_124",
31
+ X12_125: "X12_125",
32
+ X12_126: "X12_126",
33
+ X12_127: "X12_127",
34
+ X12_128: "X12_128",
35
+ X12_129: "X12_129",
36
+ X12_130: "X12_130",
37
+ X12_131: "X12_131",
38
+ X12_132: "X12_132",
39
+ X12_133: "X12_133",
40
+ X12_135: "X12_135",
41
+ X12_138: "X12_138",
42
+ X12_139: "X12_139",
43
+ X12_140: "X12_140",
44
+ X12_141: "X12_141",
45
+ X12_142: "X12_142",
46
+ X12_143: "X12_143",
47
+ X12_144: "X12_144",
48
+ X12_146: "X12_146",
49
+ X12_147: "X12_147",
50
+ X12_148: "X12_148",
51
+ X12_149: "X12_149",
52
+ X12_150: "X12_150",
53
+ X12_151: "X12_151",
54
+ X12_152: "X12_152",
55
+ X12_153: "X12_153",
56
+ X12_154: "X12_154",
57
+ X12_155: "X12_155",
58
+ X12_157: "X12_157",
59
+ X12_158: "X12_158",
60
+ X12_159: "X12_159",
61
+ X12_160: "X12_160",
62
+ X12_161: "X12_161",
63
+ X12_163: "X12_163",
64
+ X12_170: "X12_170",
65
+ X12_175: "X12_175",
66
+ X12_176: "X12_176",
67
+ X12_179: "X12_179",
68
+ X12_180: "X12_180",
69
+ X12_185: "X12_185",
70
+ X12_186: "X12_186",
71
+ X12_187: "X12_187",
72
+ X12_188: "X12_188",
73
+ X12_189: "X12_189",
74
+ X12_190: "X12_190",
75
+ X12_191: "X12_191",
76
+ X12_194: "X12_194",
77
+ X12_195: "X12_195",
78
+ X12_196: "X12_196",
79
+ X12_197: "X12_197",
80
+ X12_198: "X12_198",
81
+ X12_199: "X12_199",
82
+ X12_200: "X12_200",
83
+ X12_201: "X12_201",
84
+ X12_202: "X12_202",
85
+ X12_203: "X12_203",
86
+ X12_204: "X12_204",
87
+ X12_205: "X12_205",
88
+ X12_206: "X12_206",
89
+ X12_210: "X12_210",
90
+ X12_211: "X12_211",
91
+ X12_212: "X12_212",
92
+ X12_213: "X12_213",
93
+ X12_214: "X12_214",
94
+ X12_215: "X12_215",
95
+ X12_216: "X12_216",
96
+ X12_217: "X12_217",
97
+ X12_218: "X12_218",
98
+ X12_219: "X12_219",
99
+ X12_220: "X12_220",
100
+ X12_222: "X12_222",
101
+ X12_223: "X12_223",
102
+ X12_224: "X12_224",
103
+ X12_225: "X12_225",
104
+ X12_227: "X12_227",
105
+ X12_228: "X12_228",
106
+ X12_240: "X12_240",
107
+ X12_242: "X12_242",
108
+ X12_244: "X12_244",
109
+ X12_245: "X12_245",
110
+ X12_248: "X12_248",
111
+ X12_249: "X12_249",
112
+ X12_250: "X12_250",
113
+ X12_251: "X12_251",
114
+ X12_252: "X12_252",
115
+ X12_255: "X12_255",
116
+ X12_256: "X12_256",
117
+ X12_259: "X12_259",
118
+ X12_260: "X12_260",
119
+ X12_261: "X12_261",
120
+ X12_262: "X12_262",
121
+ X12_263: "X12_263",
122
+ X12_264: "X12_264",
123
+ X12_265: "X12_265",
124
+ X12_266: "X12_266",
125
+ X12_267: "X12_267",
126
+ X12_268: "X12_268",
127
+ X12_269: "X12_269",
128
+ X12_270: "X12_270",
129
+ X12_270_X279: "X12_270_X279",
130
+ X12_271: "X12_271",
131
+ X12_271_X279: "X12_271_X279",
132
+ X12_272: "X12_272",
133
+ X12_273: "X12_273",
134
+ X12_274: "X12_274",
135
+ X12_275: "X12_275",
136
+ X12_275_X210: "X12_275_X210",
137
+ X12_275_X211: "X12_275_X211",
138
+ X12_276: "X12_276",
139
+ X12_276_X212: "X12_276_X212",
140
+ X12_277: "X12_277",
141
+ X12_277_X212: "X12_277_X212",
142
+ X12_277_X214: "X12_277_X214",
143
+ X12_277_X364: "X12_277_X364",
144
+ X12_278: "X12_278",
145
+ X12_278_X217: "X12_278_X217",
146
+ X12_280: "X12_280",
147
+ X12_283: "X12_283",
148
+ X12_284: "X12_284",
149
+ X12_285: "X12_285",
150
+ X12_286: "X12_286",
151
+ X12_288: "X12_288",
152
+ X12_290: "X12_290",
153
+ X12_300: "X12_300",
154
+ X12_301: "X12_301",
155
+ X12_303: "X12_303",
156
+ X12_304: "X12_304",
157
+ X12_309: "X12_309",
158
+ X12_310: "X12_310",
159
+ X12_311: "X12_311",
160
+ X12_312: "X12_312",
161
+ X12_313: "X12_313",
162
+ X12_315: "X12_315",
163
+ X12_317: "X12_317",
164
+ X12_319: "X12_319",
165
+ X12_322: "X12_322",
166
+ X12_323: "X12_323",
167
+ X12_324: "X12_324",
168
+ X12_325: "X12_325",
169
+ X12_326: "X12_326",
170
+ X12_350: "X12_350",
171
+ X12_352: "X12_352",
172
+ X12_353: "X12_353",
173
+ X12_354: "X12_354",
174
+ X12_355: "X12_355",
175
+ X12_356: "X12_356",
176
+ X12_357: "X12_357",
177
+ X12_358: "X12_358",
178
+ X12_361: "X12_361",
179
+ X12_362: "X12_362",
180
+ X12_404: "X12_404",
181
+ X12_410: "X12_410",
182
+ X12_412: "X12_412",
183
+ X12_414: "X12_414",
184
+ X12_417: "X12_417",
185
+ X12_418: "X12_418",
186
+ X12_419: "X12_419",
187
+ X12_420: "X12_420",
188
+ X12_421: "X12_421",
189
+ X12_422: "X12_422",
190
+ X12_423: "X12_423",
191
+ X12_424: "X12_424",
192
+ X12_425: "X12_425",
193
+ X12_426: "X12_426",
194
+ X12_429: "X12_429",
195
+ X12_431: "X12_431",
196
+ X12_432: "X12_432",
197
+ X12_433: "X12_433",
198
+ X12_434: "X12_434",
199
+ X12_435: "X12_435",
200
+ X12_436: "X12_436",
201
+ X12_437: "X12_437",
202
+ X12_440: "X12_440",
203
+ X12_451: "X12_451",
204
+ X12_452: "X12_452",
205
+ X12_453: "X12_453",
206
+ X12_455: "X12_455",
207
+ X12_456: "X12_456",
208
+ X12_460: "X12_460",
209
+ X12_463: "X12_463",
210
+ X12_466: "X12_466",
211
+ X12_468: "X12_468",
212
+ X12_470: "X12_470",
213
+ X12_475: "X12_475",
214
+ X12_485: "X12_485",
215
+ X12_486: "X12_486",
216
+ X12_490: "X12_490",
217
+ X12_492: "X12_492",
218
+ X12_494: "X12_494",
219
+ X12_500: "X12_500",
220
+ X12_501: "X12_501",
221
+ X12_503: "X12_503",
222
+ X12_504: "X12_504",
223
+ X12_511: "X12_511",
224
+ X12_517: "X12_517",
225
+ X12_521: "X12_521",
226
+ X12_527: "X12_527",
227
+ X12_536: "X12_536",
228
+ X12_540: "X12_540",
229
+ X12_561: "X12_561",
230
+ X12_567: "X12_567",
231
+ X12_568: "X12_568",
232
+ X12_601: "X12_601",
233
+ X12_602: "X12_602",
234
+ X12_620: "X12_620",
235
+ X12_625: "X12_625",
236
+ X12_650: "X12_650",
237
+ X12_715: "X12_715",
238
+ X12_753: "X12_753",
239
+ X12_754: "X12_754",
240
+ X12_805: "X12_805",
241
+ X12_806: "X12_806",
242
+ X12_810: "X12_810",
243
+ X12_811: "X12_811",
244
+ X12_812: "X12_812",
245
+ X12_813: "X12_813",
246
+ X12_814: "X12_814",
247
+ X12_815: "X12_815",
248
+ X12_816: "X12_816",
249
+ X12_818: "X12_818",
250
+ X12_819: "X12_819",
251
+ X12_820: "X12_820",
252
+ X12_820_X218: "X12_820_X218",
253
+ X12_820_X306: "X12_820_X306",
254
+ X12_821: "X12_821",
255
+ X12_822: "X12_822",
256
+ X12_823: "X12_823",
257
+ X12_824: "X12_824",
258
+ X12_824_X186: "X12_824_X186",
259
+ X12_826: "X12_826",
260
+ X12_827: "X12_827",
261
+ X12_828: "X12_828",
262
+ X12_829: "X12_829",
263
+ X12_830: "X12_830",
264
+ X12_831: "X12_831",
265
+ X12_832: "X12_832",
266
+ X12_833: "X12_833",
267
+ X12_834: "X12_834",
268
+ X12_834_X220: "X12_834_X220",
269
+ X12_834_X307: "X12_834_X307",
270
+ X12_834_X318: "X12_834_X318",
271
+ X12_835: "X12_835",
272
+ X12_835_X221: "X12_835_X221",
273
+ X12_836: "X12_836",
274
+ X12_837: "X12_837",
275
+ X12_837_X222: "X12_837_X222",
276
+ X12_837_X223: "X12_837_X223",
277
+ X12_837_X224: "X12_837_X224",
278
+ X12_837_X291: "X12_837_X291",
279
+ X12_837_X292: "X12_837_X292",
280
+ X12_837_X298: "X12_837_X298",
281
+ X12_838: "X12_838",
282
+ X12_839: "X12_839",
283
+ X12_840: "X12_840",
284
+ X12_841: "X12_841",
285
+ X12_842: "X12_842",
286
+ X12_843: "X12_843",
287
+ X12_844: "X12_844",
288
+ X12_845: "X12_845",
289
+ X12_846: "X12_846",
290
+ X12_847: "X12_847",
291
+ X12_848: "X12_848",
292
+ X12_849: "X12_849",
293
+ X12_850: "X12_850",
294
+ X12_851: "X12_851",
295
+ X12_852: "X12_852",
296
+ X12_853: "X12_853",
297
+ X12_854: "X12_854",
298
+ X12_855: "X12_855",
299
+ X12_856: "X12_856",
300
+ X12_857: "X12_857",
301
+ X12_858: "X12_858",
302
+ X12_859: "X12_859",
303
+ X12_860: "X12_860",
304
+ X12_861: "X12_861",
305
+ X12_862: "X12_862",
306
+ X12_863: "X12_863",
307
+ X12_864: "X12_864",
308
+ X12_865: "X12_865",
309
+ X12_866: "X12_866",
310
+ X12_867: "X12_867",
311
+ X12_868: "X12_868",
312
+ X12_869: "X12_869",
313
+ X12_870: "X12_870",
314
+ X12_871: "X12_871",
315
+ X12_872: "X12_872",
316
+ X12_873: "X12_873",
317
+ X12_874: "X12_874",
318
+ X12_875: "X12_875",
319
+ X12_876: "X12_876",
320
+ X12_877: "X12_877",
321
+ X12_878: "X12_878",
322
+ X12_879: "X12_879",
323
+ X12_880: "X12_880",
324
+ X12_881: "X12_881",
325
+ X12_882: "X12_882",
326
+ X12_883: "X12_883",
327
+ X12_884: "X12_884",
328
+ X12_885: "X12_885",
329
+ X12_886: "X12_886",
330
+ X12_887: "X12_887",
331
+ X12_888: "X12_888",
332
+ X12_889: "X12_889",
333
+ X12_891: "X12_891",
334
+ X12_893: "X12_893",
335
+ X12_894: "X12_894",
336
+ X12_895: "X12_895",
337
+ X12_896: "X12_896",
338
+ X12_920: "X12_920",
339
+ X12_924: "X12_924",
340
+ X12_925: "X12_925",
341
+ X12_926: "X12_926",
342
+ X12_928: "X12_928",
343
+ X12_940: "X12_940",
344
+ X12_943: "X12_943",
345
+ X12_944: "X12_944",
346
+ X12_945: "X12_945",
347
+ X12_947: "X12_947",
348
+ X12_980: "X12_980",
349
+ X12_990: "X12_990",
350
+ X12_993: "X12_993",
351
+ X12_996: "X12_996",
352
+ X12_997: "X12_997",
353
+ X12_998: "X12_998",
354
+ X12_999: "X12_999",
355
+ X12_999_X231: "X12_999_X231",
356
+ };
357
+ export const X12Version = {
358
+ VERSION_4010: "VERSION_4010",
359
+ VERSION_4030: "VERSION_4030",
360
+ VERSION_4050: "VERSION_4050",
361
+ VERSION_4060: "VERSION_4060",
362
+ VERSION_5010: "VERSION_5010",
363
+ VERSION_5010_HIPAA: "VERSION_5010_HIPAA",
364
+ };
365
+ export const CapabilityType = {
366
+ EDI: "edi",
367
+ };
368
+ export const MappingType = {
369
+ JSONATA: "JSONATA",
370
+ XSLT: "XSLT",
371
+ };
372
+ export const TransformerJobStatus = {
373
+ FAILED: "failed",
374
+ RUNNING: "running",
375
+ SUCCEEDED: "succeeded",
376
+ };
377
+ export const X12FunctionalAcknowledgment = {
378
+ DO_NOT_GENERATE: "DO_NOT_GENERATE",
379
+ GENERATE_ALL_SEGMENTS: "GENERATE_ALL_SEGMENTS",
380
+ GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP: "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP",
381
+ };
382
+ export const X12TechnicalAcknowledgment = {
383
+ DO_NOT_GENERATE: "DO_NOT_GENERATE",
384
+ GENERATE_ALL_SEGMENTS: "GENERATE_ALL_SEGMENTS",
385
+ };
386
+ export const X12GS05TimeFormat = {
387
+ HHMM: "HHMM",
388
+ HHMMSS: "HHMMSS",
389
+ HHMMSSDD: "HHMMSSDD",
390
+ };
391
+ export const LineTerminator = {
392
+ CR: "CR",
393
+ CRLF: "CRLF",
394
+ LF: "LF",
395
+ };
396
+ export const WrapFormat = {
397
+ LINE_LENGTH: "LINE_LENGTH",
398
+ ONE_LINE: "ONE_LINE",
399
+ SEGMENT: "SEGMENT",
400
+ };
401
+ export const Logging = {
402
+ DISABLED: "DISABLED",
403
+ ENABLED: "ENABLED",
404
+ };
405
+ export const ConversionSourceFormat = {
406
+ JSON: "JSON",
407
+ XML: "XML",
408
+ };
409
+ export const ConversionTargetFormat = {
410
+ X12: "X12",
411
+ };
412
+ export const FileFormat = {
413
+ JSON: "JSON",
414
+ NOT_USED: "NOT_USED",
415
+ XML: "XML",
416
+ };
417
+ export const FromFormat = {
418
+ X12: "X12",
419
+ };
420
+ export const MappingTemplateLanguage = {
421
+ JSONATA: "JSONATA",
422
+ XSLT: "XSLT",
423
+ };
424
+ export const ToFormat = {
425
+ X12: "X12",
426
+ };
427
+ export const TransformerStatus = {
428
+ ACTIVE: "active",
429
+ INACTIVE: "inactive",
430
+ };
@@ -0,0 +1,101 @@
1
+ import { B2biServiceException as __BaseException } from "./B2biServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "ConflictException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, ConflictException.prototype);
24
+ }
25
+ }
26
+ export class InternalServerException extends __BaseException {
27
+ name = "InternalServerException";
28
+ $fault = "server";
29
+ $retryable = {};
30
+ retryAfterSeconds;
31
+ constructor(opts) {
32
+ super({
33
+ name: "InternalServerException",
34
+ $fault: "server",
35
+ ...opts,
36
+ });
37
+ Object.setPrototypeOf(this, InternalServerException.prototype);
38
+ this.retryAfterSeconds = opts.retryAfterSeconds;
39
+ }
40
+ }
41
+ export class ResourceNotFoundException extends __BaseException {
42
+ name = "ResourceNotFoundException";
43
+ $fault = "client";
44
+ constructor(opts) {
45
+ super({
46
+ name: "ResourceNotFoundException",
47
+ $fault: "client",
48
+ ...opts,
49
+ });
50
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
51
+ }
52
+ }
53
+ export class ServiceQuotaExceededException extends __BaseException {
54
+ name = "ServiceQuotaExceededException";
55
+ $fault = "client";
56
+ resourceId;
57
+ resourceType;
58
+ serviceCode;
59
+ quotaCode;
60
+ constructor(opts) {
61
+ super({
62
+ name: "ServiceQuotaExceededException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
67
+ this.resourceId = opts.resourceId;
68
+ this.resourceType = opts.resourceType;
69
+ this.serviceCode = opts.serviceCode;
70
+ this.quotaCode = opts.quotaCode;
71
+ }
72
+ }
73
+ export class ThrottlingException extends __BaseException {
74
+ name = "ThrottlingException";
75
+ $fault = "client";
76
+ $retryable = {};
77
+ retryAfterSeconds;
78
+ constructor(opts) {
79
+ super({
80
+ name: "ThrottlingException",
81
+ $fault: "client",
82
+ ...opts,
83
+ });
84
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
85
+ this.retryAfterSeconds = opts.retryAfterSeconds;
86
+ }
87
+ }
88
+ export class ValidationException extends __BaseException {
89
+ name = "ValidationException";
90
+ $fault = "client";
91
+ Message;
92
+ constructor(opts) {
93
+ super({
94
+ name: "ValidationException",
95
+ $fault: "client",
96
+ ...opts,
97
+ });
98
+ Object.setPrototypeOf(this, ValidationException.prototype);
99
+ this.Message = opts.Message;
100
+ }
101
+ }