@aws-sdk/client-b2bi 3.839.0 → 3.844.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 +1 -11
- package/dist-cjs/index.js +85 -1
- package/dist-es/index.js +1 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForTransformerJobSucceeded.js +40 -0
- package/dist-types/B2bi.d.ts +1 -11
- package/dist-types/B2biClient.d.ts +1 -11
- package/dist-types/commands/CreatePartnershipCommand.d.ts +39 -2
- package/dist-types/commands/CreateProfileCommand.d.ts +1 -2
- package/dist-types/commands/CreateStarterMappingTemplateCommand.d.ts +1 -7
- package/dist-types/commands/CreateTransformerCommand.d.ts +15 -33
- package/dist-types/commands/DeletePartnershipCommand.d.ts +1 -2
- package/dist-types/commands/DeleteProfileCommand.d.ts +1 -2
- package/dist-types/commands/DeleteTransformerCommand.d.ts +1 -2
- package/dist-types/commands/GenerateMappingCommand.d.ts +1 -5
- package/dist-types/commands/GetPartnershipCommand.d.ts +20 -2
- package/dist-types/commands/GetProfileCommand.d.ts +1 -2
- package/dist-types/commands/GetTransformerCommand.d.ts +8 -2
- package/dist-types/commands/GetTransformerJobCommand.d.ts +1 -1
- package/dist-types/commands/ListPartnershipsCommand.d.ts +20 -2
- package/dist-types/commands/ListProfilesCommand.d.ts +1 -2
- package/dist-types/commands/ListTransformersCommand.d.ts +8 -2
- package/dist-types/commands/StartTransformerJobCommand.d.ts +1 -3
- package/dist-types/commands/TagResourceCommand.d.ts +1 -2
- package/dist-types/commands/TestParsingCommand.d.ts +78 -0
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +1 -2
- package/dist-types/commands/UpdatePartnershipCommand.d.ts +39 -2
- package/dist-types/commands/UpdateProfileCommand.d.ts +1 -2
- package/dist-types/commands/UpdateTransformerCommand.d.ts +15 -2
- package/dist-types/index.d.ts +2 -11
- package/dist-types/models/models_0.d.ts +266 -135
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +74 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForTransformerJobSucceeded.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForTransformerJobSucceeded.d.ts +14 -0
- package/package.json +21 -20
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { B2biExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
+
export * from "./waiters";
|
|
8
9
|
export * from "./models";
|
|
9
10
|
export { B2biServiceException } from "./models/B2biServiceException";
|
|
@@ -7,6 +7,20 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
+
export declare const X12SplitBy: {
|
|
11
|
+
readonly NONE: "NONE";
|
|
12
|
+
readonly TRANSACTION: "TRANSACTION";
|
|
13
|
+
};
|
|
14
|
+
export type X12SplitBy = (typeof X12SplitBy)[keyof typeof X12SplitBy];
|
|
15
|
+
export interface X12SplitOptions {
|
|
16
|
+
splitBy: X12SplitBy | undefined;
|
|
17
|
+
}
|
|
18
|
+
export interface X12AdvancedOptions {
|
|
19
|
+
splitOptions?: X12SplitOptions | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface AdvancedOptions {
|
|
22
|
+
x12?: X12AdvancedOptions | undefined;
|
|
23
|
+
}
|
|
10
24
|
export declare class ConflictException extends __BaseException {
|
|
11
25
|
readonly name: "ConflictException";
|
|
12
26
|
readonly $fault: "client";
|
|
@@ -601,6 +615,34 @@ export interface ListTagsForResourceRequest {
|
|
|
601
615
|
export interface ListTagsForResourceResponse {
|
|
602
616
|
Tags?: Tag[] | undefined;
|
|
603
617
|
}
|
|
618
|
+
export declare const X12FunctionalAcknowledgment: {
|
|
619
|
+
readonly DO_NOT_GENERATE: "DO_NOT_GENERATE";
|
|
620
|
+
readonly GENERATE_ALL_SEGMENTS: "GENERATE_ALL_SEGMENTS";
|
|
621
|
+
readonly GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP: "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP";
|
|
622
|
+
};
|
|
623
|
+
export type X12FunctionalAcknowledgment =
|
|
624
|
+
(typeof X12FunctionalAcknowledgment)[keyof typeof X12FunctionalAcknowledgment];
|
|
625
|
+
export declare const X12TechnicalAcknowledgment: {
|
|
626
|
+
readonly DO_NOT_GENERATE: "DO_NOT_GENERATE";
|
|
627
|
+
readonly GENERATE_ALL_SEGMENTS: "GENERATE_ALL_SEGMENTS";
|
|
628
|
+
};
|
|
629
|
+
export type X12TechnicalAcknowledgment =
|
|
630
|
+
(typeof X12TechnicalAcknowledgment)[keyof typeof X12TechnicalAcknowledgment];
|
|
631
|
+
export interface X12AcknowledgmentOptions {
|
|
632
|
+
functionalAcknowledgment: X12FunctionalAcknowledgment | undefined;
|
|
633
|
+
technicalAcknowledgment: X12TechnicalAcknowledgment | undefined;
|
|
634
|
+
}
|
|
635
|
+
export interface X12InboundEdiOptions {
|
|
636
|
+
acknowledgmentOptions?: X12AcknowledgmentOptions | undefined;
|
|
637
|
+
}
|
|
638
|
+
export interface InboundEdiOptions {
|
|
639
|
+
x12?: X12InboundEdiOptions | undefined;
|
|
640
|
+
}
|
|
641
|
+
export interface X12ControlNumbers {
|
|
642
|
+
startingInterchangeControlNumber?: number | undefined;
|
|
643
|
+
startingFunctionalGroupControlNumber?: number | undefined;
|
|
644
|
+
startingTransactionSetControlNumber?: number | undefined;
|
|
645
|
+
}
|
|
604
646
|
export interface X12Delimiters {
|
|
605
647
|
componentSeparator?: string | undefined;
|
|
606
648
|
dataElementSeparator?: string | undefined;
|
|
@@ -611,6 +653,13 @@ export interface X12FunctionalGroupHeaders {
|
|
|
611
653
|
applicationReceiverCode?: string | undefined;
|
|
612
654
|
responsibleAgencyCode?: string | undefined;
|
|
613
655
|
}
|
|
656
|
+
export declare const X12GS05TimeFormat: {
|
|
657
|
+
readonly HHMM: "HHMM";
|
|
658
|
+
readonly HHMMSS: "HHMMSS";
|
|
659
|
+
readonly HHMMSSDD: "HHMMSSDD";
|
|
660
|
+
};
|
|
661
|
+
export type X12GS05TimeFormat =
|
|
662
|
+
(typeof X12GS05TimeFormat)[keyof typeof X12GS05TimeFormat];
|
|
614
663
|
export interface X12InterchangeControlHeaders {
|
|
615
664
|
senderIdQualifier?: string | undefined;
|
|
616
665
|
senderId?: string | undefined;
|
|
@@ -625,9 +674,30 @@ export interface X12OutboundEdiHeaders {
|
|
|
625
674
|
functionalGroupHeaders?: X12FunctionalGroupHeaders | undefined;
|
|
626
675
|
delimiters?: X12Delimiters | undefined;
|
|
627
676
|
validateEdi?: boolean | undefined;
|
|
677
|
+
controlNumbers?: X12ControlNumbers | undefined;
|
|
678
|
+
gs05TimeFormat?: X12GS05TimeFormat | undefined;
|
|
679
|
+
}
|
|
680
|
+
export declare const LineTerminator: {
|
|
681
|
+
readonly CR: "CR";
|
|
682
|
+
readonly CRLF: "CRLF";
|
|
683
|
+
readonly LF: "LF";
|
|
684
|
+
};
|
|
685
|
+
export type LineTerminator =
|
|
686
|
+
(typeof LineTerminator)[keyof typeof LineTerminator];
|
|
687
|
+
export declare const WrapFormat: {
|
|
688
|
+
readonly LINE_LENGTH: "LINE_LENGTH";
|
|
689
|
+
readonly ONE_LINE: "ONE_LINE";
|
|
690
|
+
readonly SEGMENT: "SEGMENT";
|
|
691
|
+
};
|
|
692
|
+
export type WrapFormat = (typeof WrapFormat)[keyof typeof WrapFormat];
|
|
693
|
+
export interface WrapOptions {
|
|
694
|
+
wrapBy: WrapFormat | undefined;
|
|
695
|
+
lineTerminator?: LineTerminator | undefined;
|
|
696
|
+
lineLength?: number | undefined;
|
|
628
697
|
}
|
|
629
698
|
export interface X12Envelope {
|
|
630
699
|
common?: X12OutboundEdiHeaders | undefined;
|
|
700
|
+
wrapOptions?: WrapOptions | undefined;
|
|
631
701
|
}
|
|
632
702
|
export type OutboundEdiOptions =
|
|
633
703
|
| OutboundEdiOptions.X12Member
|
|
@@ -649,6 +719,7 @@ export declare namespace OutboundEdiOptions {
|
|
|
649
719
|
}
|
|
650
720
|
export interface CapabilityOptions {
|
|
651
721
|
outboundEdi?: OutboundEdiOptions | undefined;
|
|
722
|
+
inboundEdi?: InboundEdiOptions | undefined;
|
|
652
723
|
}
|
|
653
724
|
export interface CreatePartnershipRequest {
|
|
654
725
|
profileId: string | undefined;
|
|
@@ -924,9 +995,11 @@ export interface TestParsingRequest {
|
|
|
924
995
|
inputFile: S3Location | undefined;
|
|
925
996
|
fileFormat: FileFormat | undefined;
|
|
926
997
|
ediType: EdiType | undefined;
|
|
998
|
+
advancedOptions?: AdvancedOptions | undefined;
|
|
927
999
|
}
|
|
928
1000
|
export interface TestParsingResponse {
|
|
929
1001
|
parsedFileContent: string | undefined;
|
|
1002
|
+
parsedSplitFileContents?: string[] | undefined;
|
|
930
1003
|
}
|
|
931
1004
|
export type FormatOptions =
|
|
932
1005
|
| FormatOptions.X12Member
|
|
@@ -953,6 +1026,7 @@ export type FromFormat = (typeof FromFormat)[keyof typeof FromFormat];
|
|
|
953
1026
|
export interface InputConversion {
|
|
954
1027
|
fromFormat: FromFormat | undefined;
|
|
955
1028
|
formatOptions?: FormatOptions | undefined;
|
|
1029
|
+
advancedOptions?: AdvancedOptions | undefined;
|
|
956
1030
|
}
|
|
957
1031
|
export declare const MappingTemplateLanguage: {
|
|
958
1032
|
readonly JSONATA: "JSONATA";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./waitForTransformerJobSucceeded";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { B2biClient } from "../B2biClient";
|
|
3
|
+
import { GetTransformerJobCommandInput } from "../commands/GetTransformerJobCommand";
|
|
4
|
+
export declare const waitForTransformerJobSucceeded: (
|
|
5
|
+
params: WaiterConfiguration<B2biClient>,
|
|
6
|
+
input: GetTransformerJobCommandInput
|
|
7
|
+
) => Promise<WaiterResult>;
|
|
8
|
+
export declare const waitUntilTransformerJobSucceeded: (
|
|
9
|
+
params: WaiterConfiguration<B2biClient>,
|
|
10
|
+
input: GetTransformerJobCommandInput
|
|
11
|
+
) => Promise<WaiterResult>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./waitForTransformerJobSucceeded";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { B2biClient } from "../B2biClient";
|
|
3
|
+
import { GetTransformerJobCommandInput } from "../commands/GetTransformerJobCommand";
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @deprecated Use waitUntilTransformerJobSucceeded instead. waitForTransformerJobSucceeded does not throw error in non-success cases.
|
|
7
|
+
*/
|
|
8
|
+
export declare const waitForTransformerJobSucceeded: (params: WaiterConfiguration<B2biClient>, input: GetTransformerJobCommandInput) => Promise<WaiterResult>;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @param params - Waiter configuration options.
|
|
12
|
+
* @param input - The input to GetTransformerJobCommand for polling.
|
|
13
|
+
*/
|
|
14
|
+
export declare const waitUntilTransformerJobSucceeded: (params: WaiterConfiguration<B2biClient>, input: GetTransformerJobCommandInput) => Promise<WaiterResult>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-b2bi",
|
|
3
3
|
"description": "AWS SDK for JavaScript B2bi Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.844.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-b2bi",
|
|
@@ -20,42 +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/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.844.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.844.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.840.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.844.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
30
|
+
"@aws-sdk/types": "3.840.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.844.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.844.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.0
|
|
35
|
+
"@smithy/core": "^3.7.0",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.1.0",
|
|
37
37
|
"@smithy/hash-node": "^4.0.4",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.14",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.15",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.8",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.4",
|
|
44
44
|
"@smithy/node-config-provider": "^4.1.3",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0
|
|
45
|
+
"@smithy/node-http-handler": "^4.1.0",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.2",
|
|
47
|
-
"@smithy/smithy-client": "^4.4.
|
|
47
|
+
"@smithy/smithy-client": "^4.4.6",
|
|
48
48
|
"@smithy/types": "^4.3.1",
|
|
49
49
|
"@smithy/url-parser": "^4.0.4",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.22",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.22",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.6",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.4",
|
|
57
57
|
"@smithy/util-retry": "^4.0.6",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
|
+
"@smithy/util-waiter": "^4.0.6",
|
|
59
60
|
"@types/uuid": "^9.0.1",
|
|
60
61
|
"tslib": "^2.6.2",
|
|
61
62
|
"uuid": "^9.0.1"
|