@aws-sdk/client-b2bi 3.662.0 → 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.
Files changed (38) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +205 -4
  3. package/dist-es/B2bi.js +4 -0
  4. package/dist-es/commands/CreateStarterMappingTemplateCommand.js +22 -0
  5. package/dist-es/commands/TestConversionCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +78 -0
  8. package/dist-es/protocols/Aws_json1_0.js +63 -0
  9. package/dist-types/B2bi.d.ts +14 -0
  10. package/dist-types/B2biClient.d.ts +4 -2
  11. package/dist-types/commands/CreateCapabilityCommand.d.ts +2 -0
  12. package/dist-types/commands/CreatePartnershipCommand.d.ts +56 -0
  13. package/dist-types/commands/CreateStarterMappingTemplateCommand.d.ts +99 -0
  14. package/dist-types/commands/CreateTransformerCommand.d.ts +106 -14
  15. package/dist-types/commands/DeleteTransformerCommand.d.ts +2 -3
  16. package/dist-types/commands/GetCapabilityCommand.d.ts +1 -0
  17. package/dist-types/commands/GetPartnershipCommand.d.ts +28 -0
  18. package/dist-types/commands/GetTransformerCommand.d.ts +37 -7
  19. package/dist-types/commands/ListPartnershipsCommand.d.ts +28 -0
  20. package/dist-types/commands/ListTransformersCommand.d.ts +37 -7
  21. package/dist-types/commands/StartTransformerJobCommand.d.ts +1 -1
  22. package/dist-types/commands/TestConversionCommand.d.ts +109 -0
  23. package/dist-types/commands/TestMappingCommand.d.ts +1 -1
  24. package/dist-types/commands/TestParsingCommand.d.ts +1 -1
  25. package/dist-types/commands/UpdateCapabilityCommand.d.ts +2 -0
  26. package/dist-types/commands/UpdatePartnershipCommand.d.ts +56 -0
  27. package/dist-types/commands/UpdateTransformerCommand.d.ts +70 -9
  28. package/dist-types/commands/index.d.ts +2 -0
  29. package/dist-types/models/models_0.d.ts +934 -105
  30. package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
  31. package/dist-types/ts3.4/B2bi.d.ts +34 -0
  32. package/dist-types/ts3.4/B2biClient.d.ts +12 -0
  33. package/dist-types/ts3.4/commands/CreateStarterMappingTemplateCommand.d.ts +51 -0
  34. package/dist-types/ts3.4/commands/TestConversionCommand.d.ts +50 -0
  35. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +276 -21
  37. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
  38. package/package.json +1 -1
@@ -41,6 +41,34 @@ declare const UpdatePartnershipCommand_base: {
41
41
  * capabilities: [ // PartnershipCapabilities
42
42
  * "STRING_VALUE",
43
43
  * ],
44
+ * capabilityOptions: { // CapabilityOptions
45
+ * outboundEdi: { // OutboundEdiOptions Union: only one key present
46
+ * x12: { // X12Envelope
47
+ * common: { // X12OutboundEdiHeaders
48
+ * interchangeControlHeaders: { // X12InterchangeControlHeaders
49
+ * senderIdQualifier: "STRING_VALUE",
50
+ * senderId: "STRING_VALUE",
51
+ * receiverIdQualifier: "STRING_VALUE",
52
+ * receiverId: "STRING_VALUE",
53
+ * repetitionSeparator: "STRING_VALUE",
54
+ * acknowledgmentRequestedCode: "STRING_VALUE",
55
+ * usageIndicatorCode: "STRING_VALUE",
56
+ * },
57
+ * functionalGroupHeaders: { // X12FunctionalGroupHeaders
58
+ * applicationSenderCode: "STRING_VALUE",
59
+ * applicationReceiverCode: "STRING_VALUE",
60
+ * responsibleAgencyCode: "STRING_VALUE",
61
+ * },
62
+ * delimiters: { // X12Delimiters
63
+ * componentSeparator: "STRING_VALUE",
64
+ * dataElementSeparator: "STRING_VALUE",
65
+ * segmentTerminator: "STRING_VALUE",
66
+ * },
67
+ * validateEdi: true || false,
68
+ * },
69
+ * },
70
+ * },
71
+ * },
44
72
  * };
45
73
  * const command = new UpdatePartnershipCommand(input);
46
74
  * const response = await client.send(command);
@@ -54,6 +82,34 @@ declare const UpdatePartnershipCommand_base: {
54
82
  * // capabilities: [ // PartnershipCapabilities
55
83
  * // "STRING_VALUE",
56
84
  * // ],
85
+ * // capabilityOptions: { // CapabilityOptions
86
+ * // outboundEdi: { // OutboundEdiOptions Union: only one key present
87
+ * // x12: { // X12Envelope
88
+ * // common: { // X12OutboundEdiHeaders
89
+ * // interchangeControlHeaders: { // X12InterchangeControlHeaders
90
+ * // senderIdQualifier: "STRING_VALUE",
91
+ * // senderId: "STRING_VALUE",
92
+ * // receiverIdQualifier: "STRING_VALUE",
93
+ * // receiverId: "STRING_VALUE",
94
+ * // repetitionSeparator: "STRING_VALUE",
95
+ * // acknowledgmentRequestedCode: "STRING_VALUE",
96
+ * // usageIndicatorCode: "STRING_VALUE",
97
+ * // },
98
+ * // functionalGroupHeaders: { // X12FunctionalGroupHeaders
99
+ * // applicationSenderCode: "STRING_VALUE",
100
+ * // applicationReceiverCode: "STRING_VALUE",
101
+ * // responsibleAgencyCode: "STRING_VALUE",
102
+ * // },
103
+ * // delimiters: { // X12Delimiters
104
+ * // componentSeparator: "STRING_VALUE",
105
+ * // dataElementSeparator: "STRING_VALUE",
106
+ * // segmentTerminator: "STRING_VALUE",
107
+ * // },
108
+ * // validateEdi: true || false,
109
+ * // },
110
+ * // },
111
+ * // },
112
+ * // },
57
113
  * // tradingPartnerId: "STRING_VALUE",
58
114
  * // createdAt: new Date("TIMESTAMP"), // required
59
115
  * // modifiedAt: new Date("TIMESTAMP"),
@@ -27,9 +27,8 @@ declare const UpdateTransformerCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Updates the specified parameters for a transformer. A transformer
31
- * describes how to process the incoming EDI documents and extract the necessary
32
- * information to the output file.</p>
30
+ * <p>Updates the specified parameters for a transformer. A transformer can take an EDI file as input and transform it into a JSON-or XML-formatted document. Alternatively,
31
+ * a transformer can take a JSON-or XML-formatted document as input and transform it into an EDI file.</p>
33
32
  * @example
34
33
  * Use a bare-bones client and the command you need to make an API call.
35
34
  * ```javascript
@@ -39,9 +38,9 @@ declare const UpdateTransformerCommand_base: {
39
38
  * const input = { // UpdateTransformerRequest
40
39
  * transformerId: "STRING_VALUE", // required
41
40
  * name: "STRING_VALUE",
42
- * fileFormat: "XML" || "JSON",
43
- * mappingTemplate: "STRING_VALUE",
44
41
  * status: "active" || "inactive",
42
+ * fileFormat: "XML" || "JSON" || "NOT_USED",
43
+ * mappingTemplate: "STRING_VALUE",
45
44
  * ediType: { // EdiType Union: only one key present
46
45
  * x12Details: { // X12Details
47
46
  * transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
@@ -49,6 +48,37 @@ declare const UpdateTransformerCommand_base: {
49
48
  * },
50
49
  * },
51
50
  * sampleDocument: "STRING_VALUE",
51
+ * inputConversion: { // InputConversion
52
+ * fromFormat: "X12", // required
53
+ * formatOptions: { // FormatOptions Union: only one key present
54
+ * x12: {
55
+ * transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
56
+ * version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
57
+ * },
58
+ * },
59
+ * },
60
+ * mapping: { // Mapping
61
+ * templateLanguage: "XSLT" || "JSONATA", // required
62
+ * template: "STRING_VALUE",
63
+ * },
64
+ * outputConversion: { // OutputConversion
65
+ * toFormat: "X12", // required
66
+ * formatOptions: {// Union: only one key present
67
+ * x12: {
68
+ * transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
69
+ * version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
70
+ * },
71
+ * },
72
+ * },
73
+ * sampleDocuments: { // SampleDocuments
74
+ * bucketName: "STRING_VALUE", // required
75
+ * keys: [ // KeyList // required
76
+ * { // SampleDocumentKeys
77
+ * input: "STRING_VALUE",
78
+ * output: "STRING_VALUE",
79
+ * },
80
+ * ],
81
+ * },
52
82
  * };
53
83
  * const command = new UpdateTransformerCommand(input);
54
84
  * const response = await client.send(command);
@@ -56,9 +86,11 @@ declare const UpdateTransformerCommand_base: {
56
86
  * // transformerId: "STRING_VALUE", // required
57
87
  * // transformerArn: "STRING_VALUE", // required
58
88
  * // name: "STRING_VALUE", // required
59
- * // fileFormat: "XML" || "JSON", // required
60
- * // mappingTemplate: "STRING_VALUE", // required
61
89
  * // status: "active" || "inactive", // required
90
+ * // createdAt: new Date("TIMESTAMP"), // required
91
+ * // modifiedAt: new Date("TIMESTAMP"), // required
92
+ * // fileFormat: "XML" || "JSON" || "NOT_USED",
93
+ * // mappingTemplate: "STRING_VALUE",
62
94
  * // ediType: { // EdiType Union: only one key present
63
95
  * // x12Details: { // X12Details
64
96
  * // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
@@ -66,8 +98,37 @@ declare const UpdateTransformerCommand_base: {
66
98
  * // },
67
99
  * // },
68
100
  * // sampleDocument: "STRING_VALUE",
69
- * // createdAt: new Date("TIMESTAMP"), // required
70
- * // modifiedAt: new Date("TIMESTAMP"), // required
101
+ * // inputConversion: { // InputConversion
102
+ * // fromFormat: "X12", // required
103
+ * // formatOptions: { // FormatOptions Union: only one key present
104
+ * // x12: {
105
+ * // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
106
+ * // version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
107
+ * // },
108
+ * // },
109
+ * // },
110
+ * // mapping: { // Mapping
111
+ * // templateLanguage: "XSLT" || "JSONATA", // required
112
+ * // template: "STRING_VALUE",
113
+ * // },
114
+ * // outputConversion: { // OutputConversion
115
+ * // toFormat: "X12", // required
116
+ * // formatOptions: {// Union: only one key present
117
+ * // x12: {
118
+ * // transactionSet: "X12_110" || "X12_180" || "X12_204" || "X12_210" || "X12_211" || "X12_214" || "X12_215" || "X12_259" || "X12_260" || "X12_266" || "X12_269" || "X12_270" || "X12_271" || "X12_274" || "X12_275" || "X12_276" || "X12_277" || "X12_278" || "X12_310" || "X12_315" || "X12_322" || "X12_404" || "X12_410" || "X12_417" || "X12_421" || "X12_426" || "X12_810" || "X12_820" || "X12_824" || "X12_830" || "X12_832" || "X12_834" || "X12_835" || "X12_837" || "X12_844" || "X12_846" || "X12_849" || "X12_850" || "X12_852" || "X12_855" || "X12_856" || "X12_860" || "X12_861" || "X12_864" || "X12_865" || "X12_869" || "X12_870" || "X12_940" || "X12_945" || "X12_990" || "X12_997" || "X12_999" || "X12_270_X279" || "X12_271_X279" || "X12_275_X210" || "X12_275_X211" || "X12_276_X212" || "X12_277_X212" || "X12_277_X214" || "X12_277_X364" || "X12_278_X217" || "X12_820_X218" || "X12_820_X306" || "X12_824_X186" || "X12_834_X220" || "X12_834_X307" || "X12_834_X318" || "X12_835_X221" || "X12_837_X222" || "X12_837_X223" || "X12_837_X224" || "X12_837_X291" || "X12_837_X292" || "X12_837_X298" || "X12_999_X231",
119
+ * // version: "VERSION_4010" || "VERSION_4030" || "VERSION_5010" || "VERSION_5010_HIPAA",
120
+ * // },
121
+ * // },
122
+ * // },
123
+ * // sampleDocuments: { // SampleDocuments
124
+ * // bucketName: "STRING_VALUE", // required
125
+ * // keys: [ // KeyList // required
126
+ * // { // SampleDocumentKeys
127
+ * // input: "STRING_VALUE",
128
+ * // output: "STRING_VALUE",
129
+ * // },
130
+ * // ],
131
+ * // },
71
132
  * // };
72
133
  *
73
134
  * ```
@@ -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";