@aws-sdk/client-b2bi 3.658.1 → 3.663.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/README.md +16 -0
- package/dist-cjs/index.js +205 -4
- package/dist-es/B2bi.js +4 -0
- package/dist-es/commands/CreateStarterMappingTemplateCommand.js +22 -0
- package/dist-es/commands/TestConversionCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +78 -0
- package/dist-es/protocols/Aws_json1_0.js +63 -0
- package/dist-types/B2bi.d.ts +14 -0
- package/dist-types/B2biClient.d.ts +4 -2
- package/dist-types/commands/CreateCapabilityCommand.d.ts +2 -0
- package/dist-types/commands/CreatePartnershipCommand.d.ts +56 -0
- package/dist-types/commands/CreateStarterMappingTemplateCommand.d.ts +99 -0
- package/dist-types/commands/CreateTransformerCommand.d.ts +106 -14
- package/dist-types/commands/DeleteTransformerCommand.d.ts +2 -3
- package/dist-types/commands/GetCapabilityCommand.d.ts +1 -0
- package/dist-types/commands/GetPartnershipCommand.d.ts +28 -0
- package/dist-types/commands/GetTransformerCommand.d.ts +37 -7
- package/dist-types/commands/ListPartnershipsCommand.d.ts +28 -0
- package/dist-types/commands/ListTransformersCommand.d.ts +37 -7
- package/dist-types/commands/StartTransformerJobCommand.d.ts +1 -1
- package/dist-types/commands/TestConversionCommand.d.ts +109 -0
- package/dist-types/commands/TestMappingCommand.d.ts +1 -1
- package/dist-types/commands/TestParsingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePartnershipCommand.d.ts +56 -0
- package/dist-types/commands/UpdateTransformerCommand.d.ts +70 -9
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +934 -105
- package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
- package/dist-types/ts3.4/B2bi.d.ts +34 -0
- package/dist-types/ts3.4/B2biClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateStarterMappingTemplateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TestConversionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +276 -21
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -236,6 +236,14 @@ CreateProfile
|
|
|
236
236
|
|
|
237
237
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/b2bi/command/CreateProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-b2bi/Interface/CreateProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-b2bi/Interface/CreateProfileCommandOutput/)
|
|
238
238
|
|
|
239
|
+
</details>
|
|
240
|
+
<details>
|
|
241
|
+
<summary>
|
|
242
|
+
CreateStarterMappingTemplate
|
|
243
|
+
</summary>
|
|
244
|
+
|
|
245
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/b2bi/command/CreateStarterMappingTemplateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-b2bi/Interface/CreateStarterMappingTemplateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-b2bi/Interface/CreateStarterMappingTemplateCommandOutput/)
|
|
246
|
+
|
|
239
247
|
</details>
|
|
240
248
|
<details>
|
|
241
249
|
<summary>
|
|
@@ -372,6 +380,14 @@ TagResource
|
|
|
372
380
|
|
|
373
381
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/b2bi/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-b2bi/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-b2bi/Interface/TagResourceCommandOutput/)
|
|
374
382
|
|
|
383
|
+
</details>
|
|
384
|
+
<details>
|
|
385
|
+
<summary>
|
|
386
|
+
TestConversion
|
|
387
|
+
</summary>
|
|
388
|
+
|
|
389
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/b2bi/command/TestConversionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-b2bi/Interface/TestConversionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-b2bi/Interface/TestConversionCommandOutput/)
|
|
390
|
+
|
|
375
391
|
</details>
|
|
376
392
|
<details>
|
|
377
393
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -26,8 +26,12 @@ __export(src_exports, {
|
|
|
26
26
|
B2biClient: () => B2biClient,
|
|
27
27
|
B2biServiceException: () => B2biServiceException,
|
|
28
28
|
CapabilityConfiguration: () => CapabilityConfiguration,
|
|
29
|
+
CapabilityDirection: () => CapabilityDirection,
|
|
29
30
|
CapabilityType: () => CapabilityType,
|
|
30
31
|
ConflictException: () => ConflictException,
|
|
32
|
+
ConversionSourceFormat: () => ConversionSourceFormat,
|
|
33
|
+
ConversionTargetFormat: () => ConversionTargetFormat,
|
|
34
|
+
ConversionTargetFormatDetails: () => ConversionTargetFormatDetails,
|
|
31
35
|
CreateCapabilityCommand: () => CreateCapabilityCommand,
|
|
32
36
|
CreatePartnershipCommand: () => CreatePartnershipCommand,
|
|
33
37
|
CreatePartnershipRequestFilterSensitiveLog: () => CreatePartnershipRequestFilterSensitiveLog,
|
|
@@ -35,6 +39,7 @@ __export(src_exports, {
|
|
|
35
39
|
CreateProfileCommand: () => CreateProfileCommand,
|
|
36
40
|
CreateProfileRequestFilterSensitiveLog: () => CreateProfileRequestFilterSensitiveLog,
|
|
37
41
|
CreateProfileResponseFilterSensitiveLog: () => CreateProfileResponseFilterSensitiveLog,
|
|
42
|
+
CreateStarterMappingTemplateCommand: () => CreateStarterMappingTemplateCommand,
|
|
38
43
|
CreateTransformerCommand: () => CreateTransformerCommand,
|
|
39
44
|
DeleteCapabilityCommand: () => DeleteCapabilityCommand,
|
|
40
45
|
DeletePartnershipCommand: () => DeletePartnershipCommand,
|
|
@@ -42,6 +47,8 @@ __export(src_exports, {
|
|
|
42
47
|
DeleteTransformerCommand: () => DeleteTransformerCommand,
|
|
43
48
|
EdiType: () => EdiType,
|
|
44
49
|
FileFormat: () => FileFormat,
|
|
50
|
+
FormatOptions: () => FormatOptions,
|
|
51
|
+
FromFormat: () => FromFormat,
|
|
45
52
|
GetCapabilityCommand: () => GetCapabilityCommand,
|
|
46
53
|
GetPartnershipCommand: () => GetPartnershipCommand,
|
|
47
54
|
GetPartnershipResponseFilterSensitiveLog: () => GetPartnershipResponseFilterSensitiveLog,
|
|
@@ -49,6 +56,7 @@ __export(src_exports, {
|
|
|
49
56
|
GetProfileResponseFilterSensitiveLog: () => GetProfileResponseFilterSensitiveLog,
|
|
50
57
|
GetTransformerCommand: () => GetTransformerCommand,
|
|
51
58
|
GetTransformerJobCommand: () => GetTransformerJobCommand,
|
|
59
|
+
InputFileSource: () => InputFileSource,
|
|
52
60
|
InternalServerException: () => InternalServerException,
|
|
53
61
|
ListCapabilitiesCommand: () => ListCapabilitiesCommand,
|
|
54
62
|
ListPartnershipsCommand: () => ListPartnershipsCommand,
|
|
@@ -56,13 +64,20 @@ __export(src_exports, {
|
|
|
56
64
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
57
65
|
ListTransformersCommand: () => ListTransformersCommand,
|
|
58
66
|
Logging: () => Logging,
|
|
67
|
+
MappingTemplateLanguage: () => MappingTemplateLanguage,
|
|
68
|
+
MappingType: () => MappingType,
|
|
69
|
+
OutboundEdiOptions: () => OutboundEdiOptions,
|
|
70
|
+
OutputSampleFileSource: () => OutputSampleFileSource,
|
|
59
71
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
60
72
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
61
73
|
StartTransformerJobCommand: () => StartTransformerJobCommand,
|
|
62
74
|
TagResourceCommand: () => TagResourceCommand,
|
|
75
|
+
TemplateDetails: () => TemplateDetails,
|
|
76
|
+
TestConversionCommand: () => TestConversionCommand,
|
|
63
77
|
TestMappingCommand: () => TestMappingCommand,
|
|
64
78
|
TestParsingCommand: () => TestParsingCommand,
|
|
65
79
|
ThrottlingException: () => ThrottlingException,
|
|
80
|
+
ToFormat: () => ToFormat,
|
|
66
81
|
TransformerJobStatus: () => TransformerJobStatus,
|
|
67
82
|
TransformerStatus: () => TransformerStatus,
|
|
68
83
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
@@ -285,6 +300,10 @@ var _ConflictException = class _ConflictException extends B2biServiceException {
|
|
|
285
300
|
};
|
|
286
301
|
__name(_ConflictException, "ConflictException");
|
|
287
302
|
var ConflictException = _ConflictException;
|
|
303
|
+
var CapabilityDirection = {
|
|
304
|
+
INBOUND: "INBOUND",
|
|
305
|
+
OUTBOUND: "OUTBOUND"
|
|
306
|
+
};
|
|
288
307
|
var X12TransactionSet = {
|
|
289
308
|
X12_110: "X12_110",
|
|
290
309
|
X12_180: "X12_180",
|
|
@@ -481,19 +500,89 @@ var _ValidationException = class _ValidationException extends B2biServiceExcepti
|
|
|
481
500
|
};
|
|
482
501
|
__name(_ValidationException, "ValidationException");
|
|
483
502
|
var ValidationException = _ValidationException;
|
|
503
|
+
var MappingType = {
|
|
504
|
+
JSONATA: "JSONATA",
|
|
505
|
+
XSLT: "XSLT"
|
|
506
|
+
};
|
|
507
|
+
var TemplateDetails;
|
|
508
|
+
((TemplateDetails3) => {
|
|
509
|
+
TemplateDetails3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
510
|
+
if (value.x12 !== void 0)
|
|
511
|
+
return visitor.x12(value.x12);
|
|
512
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
513
|
+
}, "visit");
|
|
514
|
+
})(TemplateDetails || (TemplateDetails = {}));
|
|
484
515
|
var TransformerJobStatus = {
|
|
485
516
|
FAILED: "failed",
|
|
486
517
|
RUNNING: "running",
|
|
487
518
|
SUCCEEDED: "succeeded"
|
|
488
519
|
};
|
|
520
|
+
var OutboundEdiOptions;
|
|
521
|
+
((OutboundEdiOptions3) => {
|
|
522
|
+
OutboundEdiOptions3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
523
|
+
if (value.x12 !== void 0)
|
|
524
|
+
return visitor.x12(value.x12);
|
|
525
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
526
|
+
}, "visit");
|
|
527
|
+
})(OutboundEdiOptions || (OutboundEdiOptions = {}));
|
|
489
528
|
var Logging = {
|
|
490
529
|
DISABLED: "DISABLED",
|
|
491
530
|
ENABLED: "ENABLED"
|
|
492
531
|
};
|
|
532
|
+
var ConversionSourceFormat = {
|
|
533
|
+
JSON: "JSON",
|
|
534
|
+
XML: "XML"
|
|
535
|
+
};
|
|
536
|
+
var InputFileSource;
|
|
537
|
+
((InputFileSource3) => {
|
|
538
|
+
InputFileSource3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
539
|
+
if (value.fileContent !== void 0)
|
|
540
|
+
return visitor.fileContent(value.fileContent);
|
|
541
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
542
|
+
}, "visit");
|
|
543
|
+
})(InputFileSource || (InputFileSource = {}));
|
|
544
|
+
var ConversionTargetFormat = {
|
|
545
|
+
X12: "X12"
|
|
546
|
+
};
|
|
547
|
+
var ConversionTargetFormatDetails;
|
|
548
|
+
((ConversionTargetFormatDetails3) => {
|
|
549
|
+
ConversionTargetFormatDetails3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
550
|
+
if (value.x12 !== void 0)
|
|
551
|
+
return visitor.x12(value.x12);
|
|
552
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
553
|
+
}, "visit");
|
|
554
|
+
})(ConversionTargetFormatDetails || (ConversionTargetFormatDetails = {}));
|
|
555
|
+
var OutputSampleFileSource;
|
|
556
|
+
((OutputSampleFileSource3) => {
|
|
557
|
+
OutputSampleFileSource3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
558
|
+
if (value.fileLocation !== void 0)
|
|
559
|
+
return visitor.fileLocation(value.fileLocation);
|
|
560
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
561
|
+
}, "visit");
|
|
562
|
+
})(OutputSampleFileSource || (OutputSampleFileSource = {}));
|
|
493
563
|
var FileFormat = {
|
|
494
564
|
JSON: "JSON",
|
|
565
|
+
NOT_USED: "NOT_USED",
|
|
495
566
|
XML: "XML"
|
|
496
567
|
};
|
|
568
|
+
var FormatOptions;
|
|
569
|
+
((FormatOptions3) => {
|
|
570
|
+
FormatOptions3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
571
|
+
if (value.x12 !== void 0)
|
|
572
|
+
return visitor.x12(value.x12);
|
|
573
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
574
|
+
}, "visit");
|
|
575
|
+
})(FormatOptions || (FormatOptions = {}));
|
|
576
|
+
var FromFormat = {
|
|
577
|
+
X12: "X12"
|
|
578
|
+
};
|
|
579
|
+
var MappingTemplateLanguage = {
|
|
580
|
+
JSONATA: "JSONATA",
|
|
581
|
+
XSLT: "XSLT"
|
|
582
|
+
};
|
|
583
|
+
var ToFormat = {
|
|
584
|
+
X12: "X12"
|
|
585
|
+
};
|
|
497
586
|
var TransformerStatus = {
|
|
498
587
|
ACTIVE: "active",
|
|
499
588
|
INACTIVE: "inactive"
|
|
@@ -501,22 +590,26 @@ var TransformerStatus = {
|
|
|
501
590
|
var CreatePartnershipRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
502
591
|
...obj,
|
|
503
592
|
...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
|
|
504
|
-
...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING }
|
|
593
|
+
...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING },
|
|
594
|
+
...obj.capabilityOptions && { capabilityOptions: obj.capabilityOptions }
|
|
505
595
|
}), "CreatePartnershipRequestFilterSensitiveLog");
|
|
506
596
|
var CreatePartnershipResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
507
597
|
...obj,
|
|
508
598
|
...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
|
|
509
|
-
...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING }
|
|
599
|
+
...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING },
|
|
600
|
+
...obj.capabilityOptions && { capabilityOptions: obj.capabilityOptions }
|
|
510
601
|
}), "CreatePartnershipResponseFilterSensitiveLog");
|
|
511
602
|
var GetPartnershipResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
512
603
|
...obj,
|
|
513
604
|
...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
|
|
514
|
-
...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING }
|
|
605
|
+
...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING },
|
|
606
|
+
...obj.capabilityOptions && { capabilityOptions: obj.capabilityOptions }
|
|
515
607
|
}), "GetPartnershipResponseFilterSensitiveLog");
|
|
516
608
|
var UpdatePartnershipResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
517
609
|
...obj,
|
|
518
610
|
...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
|
|
519
|
-
...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING }
|
|
611
|
+
...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING },
|
|
612
|
+
...obj.capabilityOptions && { capabilityOptions: obj.capabilityOptions }
|
|
520
613
|
}), "UpdatePartnershipResponseFilterSensitiveLog");
|
|
521
614
|
var CreateProfileRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
522
615
|
...obj,
|
|
@@ -563,6 +656,12 @@ var se_CreateProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
563
656
|
body = JSON.stringify(se_CreateProfileRequest(input, context));
|
|
564
657
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
565
658
|
}, "se_CreateProfileCommand");
|
|
659
|
+
var se_CreateStarterMappingTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
660
|
+
const headers = sharedHeaders("CreateStarterMappingTemplate");
|
|
661
|
+
let body;
|
|
662
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
663
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
664
|
+
}, "se_CreateStarterMappingTemplateCommand");
|
|
566
665
|
var se_CreateTransformerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
567
666
|
const headers = sharedHeaders("CreateTransformer");
|
|
568
667
|
let body;
|
|
@@ -665,6 +764,12 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
665
764
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
666
765
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
667
766
|
}, "se_TagResourceCommand");
|
|
767
|
+
var se_TestConversionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
768
|
+
const headers = sharedHeaders("TestConversion");
|
|
769
|
+
let body;
|
|
770
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
771
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
772
|
+
}, "se_TestConversionCommand");
|
|
668
773
|
var se_TestMappingCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
669
774
|
const headers = sharedHeaders("TestMapping");
|
|
670
775
|
let body;
|
|
@@ -746,6 +851,19 @@ var de_CreateProfileCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
746
851
|
};
|
|
747
852
|
return response;
|
|
748
853
|
}, "de_CreateProfileCommand");
|
|
854
|
+
var de_CreateStarterMappingTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
855
|
+
if (output.statusCode >= 300) {
|
|
856
|
+
return de_CommandError(output, context);
|
|
857
|
+
}
|
|
858
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
859
|
+
let contents = {};
|
|
860
|
+
contents = (0, import_smithy_client._json)(data);
|
|
861
|
+
const response = {
|
|
862
|
+
$metadata: deserializeMetadata(output),
|
|
863
|
+
...contents
|
|
864
|
+
};
|
|
865
|
+
return response;
|
|
866
|
+
}, "de_CreateStarterMappingTemplateCommand");
|
|
749
867
|
var de_CreateTransformerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
750
868
|
if (output.statusCode >= 300) {
|
|
751
869
|
return de_CommandError(output, context);
|
|
@@ -952,6 +1070,19 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
952
1070
|
};
|
|
953
1071
|
return response;
|
|
954
1072
|
}, "de_TagResourceCommand");
|
|
1073
|
+
var de_TestConversionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1074
|
+
if (output.statusCode >= 300) {
|
|
1075
|
+
return de_CommandError(output, context);
|
|
1076
|
+
}
|
|
1077
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1078
|
+
let contents = {};
|
|
1079
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1080
|
+
const response = {
|
|
1081
|
+
$metadata: deserializeMetadata(output),
|
|
1082
|
+
...contents
|
|
1083
|
+
};
|
|
1084
|
+
return response;
|
|
1085
|
+
}, "de_TestConversionCommand");
|
|
955
1086
|
var de_TestMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
956
1087
|
if (output.statusCode >= 300) {
|
|
957
1088
|
return de_CommandError(output, context);
|
|
@@ -1153,6 +1284,7 @@ var se_CreateCapabilityRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
1153
1284
|
var se_CreatePartnershipRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1154
1285
|
return (0, import_smithy_client.take)(input, {
|
|
1155
1286
|
capabilities: import_smithy_client._json,
|
|
1287
|
+
capabilityOptions: import_smithy_client._json,
|
|
1156
1288
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1157
1289
|
email: [],
|
|
1158
1290
|
name: [],
|
|
@@ -1177,9 +1309,13 @@ var se_CreateTransformerRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
1177
1309
|
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1178
1310
|
ediType: import_smithy_client._json,
|
|
1179
1311
|
fileFormat: [],
|
|
1312
|
+
inputConversion: import_smithy_client._json,
|
|
1313
|
+
mapping: import_smithy_client._json,
|
|
1180
1314
|
mappingTemplate: [],
|
|
1181
1315
|
name: [],
|
|
1316
|
+
outputConversion: import_smithy_client._json,
|
|
1182
1317
|
sampleDocument: [],
|
|
1318
|
+
sampleDocuments: import_smithy_client._json,
|
|
1183
1319
|
tags: import_smithy_client._json
|
|
1184
1320
|
});
|
|
1185
1321
|
}, "se_CreateTransformerRequest");
|
|
@@ -1220,6 +1356,7 @@ var de_CreateCapabilityResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
1220
1356
|
var de_CreatePartnershipResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1221
1357
|
return (0, import_smithy_client.take)(output, {
|
|
1222
1358
|
capabilities: import_smithy_client._json,
|
|
1359
|
+
capabilityOptions: import_smithy_client._json,
|
|
1223
1360
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1224
1361
|
email: import_smithy_client.expectString,
|
|
1225
1362
|
name: import_smithy_client.expectString,
|
|
@@ -1248,9 +1385,13 @@ var de_CreateTransformerResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
1248
1385
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1249
1386
|
ediType: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1250
1387
|
fileFormat: import_smithy_client.expectString,
|
|
1388
|
+
inputConversion: import_smithy_client._json,
|
|
1389
|
+
mapping: import_smithy_client._json,
|
|
1251
1390
|
mappingTemplate: import_smithy_client.expectString,
|
|
1252
1391
|
name: import_smithy_client.expectString,
|
|
1392
|
+
outputConversion: import_smithy_client._json,
|
|
1253
1393
|
sampleDocument: import_smithy_client.expectString,
|
|
1394
|
+
sampleDocuments: import_smithy_client._json,
|
|
1254
1395
|
status: import_smithy_client.expectString,
|
|
1255
1396
|
transformerArn: import_smithy_client.expectString,
|
|
1256
1397
|
transformerId: import_smithy_client.expectString
|
|
@@ -1271,6 +1412,7 @@ var de_GetCapabilityResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
1271
1412
|
var de_GetPartnershipResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1272
1413
|
return (0, import_smithy_client.take)(output, {
|
|
1273
1414
|
capabilities: import_smithy_client._json,
|
|
1415
|
+
capabilityOptions: import_smithy_client._json,
|
|
1274
1416
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1275
1417
|
email: import_smithy_client.expectString,
|
|
1276
1418
|
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
@@ -1301,10 +1443,14 @@ var de_GetTransformerResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
1301
1443
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1302
1444
|
ediType: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1303
1445
|
fileFormat: import_smithy_client.expectString,
|
|
1446
|
+
inputConversion: import_smithy_client._json,
|
|
1447
|
+
mapping: import_smithy_client._json,
|
|
1304
1448
|
mappingTemplate: import_smithy_client.expectString,
|
|
1305
1449
|
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1306
1450
|
name: import_smithy_client.expectString,
|
|
1451
|
+
outputConversion: import_smithy_client._json,
|
|
1307
1452
|
sampleDocument: import_smithy_client.expectString,
|
|
1453
|
+
sampleDocuments: import_smithy_client._json,
|
|
1308
1454
|
status: import_smithy_client.expectString,
|
|
1309
1455
|
transformerArn: import_smithy_client.expectString,
|
|
1310
1456
|
transformerId: import_smithy_client.expectString
|
|
@@ -1343,6 +1489,7 @@ var de_PartnershipList = /* @__PURE__ */ __name((output, context) => {
|
|
|
1343
1489
|
var de_PartnershipSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1344
1490
|
return (0, import_smithy_client.take)(output, {
|
|
1345
1491
|
capabilities: import_smithy_client._json,
|
|
1492
|
+
capabilityOptions: import_smithy_client._json,
|
|
1346
1493
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1347
1494
|
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1348
1495
|
name: import_smithy_client.expectString,
|
|
@@ -1379,10 +1526,14 @@ var de_TransformerSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1379
1526
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1380
1527
|
ediType: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1381
1528
|
fileFormat: import_smithy_client.expectString,
|
|
1529
|
+
inputConversion: import_smithy_client._json,
|
|
1530
|
+
mapping: import_smithy_client._json,
|
|
1382
1531
|
mappingTemplate: import_smithy_client.expectString,
|
|
1383
1532
|
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1384
1533
|
name: import_smithy_client.expectString,
|
|
1534
|
+
outputConversion: import_smithy_client._json,
|
|
1385
1535
|
sampleDocument: import_smithy_client.expectString,
|
|
1536
|
+
sampleDocuments: import_smithy_client._json,
|
|
1386
1537
|
status: import_smithy_client.expectString,
|
|
1387
1538
|
transformerId: import_smithy_client.expectString
|
|
1388
1539
|
});
|
|
@@ -1402,6 +1553,7 @@ var de_UpdateCapabilityResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
1402
1553
|
var de_UpdatePartnershipResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1403
1554
|
return (0, import_smithy_client.take)(output, {
|
|
1404
1555
|
capabilities: import_smithy_client._json,
|
|
1556
|
+
capabilityOptions: import_smithy_client._json,
|
|
1405
1557
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1406
1558
|
email: import_smithy_client.expectString,
|
|
1407
1559
|
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
@@ -1432,10 +1584,14 @@ var de_UpdateTransformerResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
1432
1584
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1433
1585
|
ediType: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1434
1586
|
fileFormat: import_smithy_client.expectString,
|
|
1587
|
+
inputConversion: import_smithy_client._json,
|
|
1588
|
+
mapping: import_smithy_client._json,
|
|
1435
1589
|
mappingTemplate: import_smithy_client.expectString,
|
|
1436
1590
|
modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1437
1591
|
name: import_smithy_client.expectString,
|
|
1592
|
+
outputConversion: import_smithy_client._json,
|
|
1438
1593
|
sampleDocument: import_smithy_client.expectString,
|
|
1594
|
+
sampleDocuments: import_smithy_client._json,
|
|
1439
1595
|
status: import_smithy_client.expectString,
|
|
1440
1596
|
transformerArn: import_smithy_client.expectString,
|
|
1441
1597
|
transformerId: import_smithy_client.expectString
|
|
@@ -1513,6 +1669,20 @@ var _CreateProfileCommand = class _CreateProfileCommand extends import_smithy_cl
|
|
|
1513
1669
|
__name(_CreateProfileCommand, "CreateProfileCommand");
|
|
1514
1670
|
var CreateProfileCommand = _CreateProfileCommand;
|
|
1515
1671
|
|
|
1672
|
+
// src/commands/CreateStarterMappingTemplateCommand.ts
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
|
|
1676
|
+
var _CreateStarterMappingTemplateCommand = class _CreateStarterMappingTemplateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1677
|
+
return [
|
|
1678
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1679
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1680
|
+
];
|
|
1681
|
+
}).s("B2BI", "CreateStarterMappingTemplate", {}).n("B2biClient", "CreateStarterMappingTemplateCommand").f(void 0, void 0).ser(se_CreateStarterMappingTemplateCommand).de(de_CreateStarterMappingTemplateCommand).build() {
|
|
1682
|
+
};
|
|
1683
|
+
__name(_CreateStarterMappingTemplateCommand, "CreateStarterMappingTemplateCommand");
|
|
1684
|
+
var CreateStarterMappingTemplateCommand = _CreateStarterMappingTemplateCommand;
|
|
1685
|
+
|
|
1516
1686
|
// src/commands/CreateTransformerCommand.ts
|
|
1517
1687
|
|
|
1518
1688
|
|
|
@@ -1751,6 +1921,20 @@ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client
|
|
|
1751
1921
|
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1752
1922
|
var TagResourceCommand = _TagResourceCommand;
|
|
1753
1923
|
|
|
1924
|
+
// src/commands/TestConversionCommand.ts
|
|
1925
|
+
|
|
1926
|
+
|
|
1927
|
+
|
|
1928
|
+
var _TestConversionCommand = class _TestConversionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1929
|
+
return [
|
|
1930
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1931
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1932
|
+
];
|
|
1933
|
+
}).s("B2BI", "TestConversion", {}).n("B2biClient", "TestConversionCommand").f(void 0, void 0).ser(se_TestConversionCommand).de(de_TestConversionCommand).build() {
|
|
1934
|
+
};
|
|
1935
|
+
__name(_TestConversionCommand, "TestConversionCommand");
|
|
1936
|
+
var TestConversionCommand = _TestConversionCommand;
|
|
1937
|
+
|
|
1754
1938
|
// src/commands/TestMappingCommand.ts
|
|
1755
1939
|
|
|
1756
1940
|
|
|
@@ -1854,6 +2038,7 @@ var commands = {
|
|
|
1854
2038
|
CreateCapabilityCommand,
|
|
1855
2039
|
CreatePartnershipCommand,
|
|
1856
2040
|
CreateProfileCommand,
|
|
2041
|
+
CreateStarterMappingTemplateCommand,
|
|
1857
2042
|
CreateTransformerCommand,
|
|
1858
2043
|
DeleteCapabilityCommand,
|
|
1859
2044
|
DeletePartnershipCommand,
|
|
@@ -1871,6 +2056,7 @@ var commands = {
|
|
|
1871
2056
|
ListTransformersCommand,
|
|
1872
2057
|
StartTransformerJobCommand,
|
|
1873
2058
|
TagResourceCommand,
|
|
2059
|
+
TestConversionCommand,
|
|
1874
2060
|
TestMappingCommand,
|
|
1875
2061
|
TestParsingCommand,
|
|
1876
2062
|
UntagResourceCommand,
|
|
@@ -1911,6 +2097,7 @@ var paginateListTransformers = (0, import_core.createPaginator)(B2biClient, List
|
|
|
1911
2097
|
CreateCapabilityCommand,
|
|
1912
2098
|
CreatePartnershipCommand,
|
|
1913
2099
|
CreateProfileCommand,
|
|
2100
|
+
CreateStarterMappingTemplateCommand,
|
|
1914
2101
|
CreateTransformerCommand,
|
|
1915
2102
|
DeleteCapabilityCommand,
|
|
1916
2103
|
DeletePartnershipCommand,
|
|
@@ -1928,6 +2115,7 @@ var paginateListTransformers = (0, import_core.createPaginator)(B2biClient, List
|
|
|
1928
2115
|
ListTransformersCommand,
|
|
1929
2116
|
StartTransformerJobCommand,
|
|
1930
2117
|
TagResourceCommand,
|
|
2118
|
+
TestConversionCommand,
|
|
1931
2119
|
TestMappingCommand,
|
|
1932
2120
|
TestParsingCommand,
|
|
1933
2121
|
UntagResourceCommand,
|
|
@@ -1941,6 +2129,7 @@ var paginateListTransformers = (0, import_core.createPaginator)(B2biClient, List
|
|
|
1941
2129
|
paginateListTransformers,
|
|
1942
2130
|
AccessDeniedException,
|
|
1943
2131
|
ConflictException,
|
|
2132
|
+
CapabilityDirection,
|
|
1944
2133
|
X12TransactionSet,
|
|
1945
2134
|
X12Version,
|
|
1946
2135
|
EdiType,
|
|
@@ -1951,9 +2140,21 @@ var paginateListTransformers = (0, import_core.createPaginator)(B2biClient, List
|
|
|
1951
2140
|
ServiceQuotaExceededException,
|
|
1952
2141
|
ThrottlingException,
|
|
1953
2142
|
ValidationException,
|
|
2143
|
+
MappingType,
|
|
2144
|
+
TemplateDetails,
|
|
1954
2145
|
TransformerJobStatus,
|
|
2146
|
+
OutboundEdiOptions,
|
|
1955
2147
|
Logging,
|
|
2148
|
+
ConversionSourceFormat,
|
|
2149
|
+
InputFileSource,
|
|
2150
|
+
ConversionTargetFormat,
|
|
2151
|
+
ConversionTargetFormatDetails,
|
|
2152
|
+
OutputSampleFileSource,
|
|
1956
2153
|
FileFormat,
|
|
2154
|
+
FormatOptions,
|
|
2155
|
+
FromFormat,
|
|
2156
|
+
MappingTemplateLanguage,
|
|
2157
|
+
ToFormat,
|
|
1957
2158
|
TransformerStatus,
|
|
1958
2159
|
CreatePartnershipRequestFilterSensitiveLog,
|
|
1959
2160
|
CreatePartnershipResponseFilterSensitiveLog,
|
package/dist-es/B2bi.js
CHANGED
|
@@ -3,6 +3,7 @@ import { B2biClient } from "./B2biClient";
|
|
|
3
3
|
import { CreateCapabilityCommand, } from "./commands/CreateCapabilityCommand";
|
|
4
4
|
import { CreatePartnershipCommand, } from "./commands/CreatePartnershipCommand";
|
|
5
5
|
import { CreateProfileCommand, } from "./commands/CreateProfileCommand";
|
|
6
|
+
import { CreateStarterMappingTemplateCommand, } from "./commands/CreateStarterMappingTemplateCommand";
|
|
6
7
|
import { CreateTransformerCommand, } from "./commands/CreateTransformerCommand";
|
|
7
8
|
import { DeleteCapabilityCommand, } from "./commands/DeleteCapabilityCommand";
|
|
8
9
|
import { DeletePartnershipCommand, } from "./commands/DeletePartnershipCommand";
|
|
@@ -20,6 +21,7 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
20
21
|
import { ListTransformersCommand, } from "./commands/ListTransformersCommand";
|
|
21
22
|
import { StartTransformerJobCommand, } from "./commands/StartTransformerJobCommand";
|
|
22
23
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
24
|
+
import { TestConversionCommand, } from "./commands/TestConversionCommand";
|
|
23
25
|
import { TestMappingCommand } from "./commands/TestMappingCommand";
|
|
24
26
|
import { TestParsingCommand } from "./commands/TestParsingCommand";
|
|
25
27
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -31,6 +33,7 @@ const commands = {
|
|
|
31
33
|
CreateCapabilityCommand,
|
|
32
34
|
CreatePartnershipCommand,
|
|
33
35
|
CreateProfileCommand,
|
|
36
|
+
CreateStarterMappingTemplateCommand,
|
|
34
37
|
CreateTransformerCommand,
|
|
35
38
|
DeleteCapabilityCommand,
|
|
36
39
|
DeletePartnershipCommand,
|
|
@@ -48,6 +51,7 @@ const commands = {
|
|
|
48
51
|
ListTransformersCommand,
|
|
49
52
|
StartTransformerJobCommand,
|
|
50
53
|
TagResourceCommand,
|
|
54
|
+
TestConversionCommand,
|
|
51
55
|
TestMappingCommand,
|
|
52
56
|
TestParsingCommand,
|
|
53
57
|
UntagResourceCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateStarterMappingTemplateCommand, se_CreateStarterMappingTemplateCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateStarterMappingTemplateCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("B2BI", "CreateStarterMappingTemplate", {})
|
|
17
|
+
.n("B2biClient", "CreateStarterMappingTemplateCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateStarterMappingTemplateCommand)
|
|
20
|
+
.de(de_CreateStarterMappingTemplateCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_TestConversionCommand, se_TestConversionCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class TestConversionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("B2BI", "TestConversion", {})
|
|
17
|
+
.n("B2biClient", "TestConversionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_TestConversionCommand)
|
|
20
|
+
.de(de_TestConversionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./CreateCapabilityCommand";
|
|
2
2
|
export * from "./CreatePartnershipCommand";
|
|
3
3
|
export * from "./CreateProfileCommand";
|
|
4
|
+
export * from "./CreateStarterMappingTemplateCommand";
|
|
4
5
|
export * from "./CreateTransformerCommand";
|
|
5
6
|
export * from "./DeleteCapabilityCommand";
|
|
6
7
|
export * from "./DeletePartnershipCommand";
|
|
@@ -18,6 +19,7 @@ export * from "./ListTagsForResourceCommand";
|
|
|
18
19
|
export * from "./ListTransformersCommand";
|
|
19
20
|
export * from "./StartTransformerJobCommand";
|
|
20
21
|
export * from "./TagResourceCommand";
|
|
22
|
+
export * from "./TestConversionCommand";
|
|
21
23
|
export * from "./TestMappingCommand";
|
|
22
24
|
export * from "./TestParsingCommand";
|
|
23
25
|
export * from "./UntagResourceCommand";
|