@aws-sdk/client-b2bi 3.459.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/LICENSE +201 -0
- package/README.md +431 -0
- package/dist-cjs/B2bi.js +65 -0
- package/dist-cjs/B2biClient.js +43 -0
- package/dist-cjs/commands/CreateCapabilityCommand.js +51 -0
- package/dist-cjs/commands/CreatePartnershipCommand.js +52 -0
- package/dist-cjs/commands/CreateProfileCommand.js +52 -0
- package/dist-cjs/commands/CreateTransformerCommand.js +51 -0
- package/dist-cjs/commands/DeleteCapabilityCommand.js +51 -0
- package/dist-cjs/commands/DeletePartnershipCommand.js +51 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +51 -0
- package/dist-cjs/commands/DeleteTransformerCommand.js +51 -0
- package/dist-cjs/commands/GetCapabilityCommand.js +51 -0
- package/dist-cjs/commands/GetPartnershipCommand.js +52 -0
- package/dist-cjs/commands/GetProfileCommand.js +52 -0
- package/dist-cjs/commands/GetTransformerCommand.js +51 -0
- package/dist-cjs/commands/GetTransformerJobCommand.js +51 -0
- package/dist-cjs/commands/ListCapabilitiesCommand.js +51 -0
- package/dist-cjs/commands/ListPartnershipsCommand.js +51 -0
- package/dist-cjs/commands/ListProfilesCommand.js +51 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
- package/dist-cjs/commands/ListTransformersCommand.js +51 -0
- package/dist-cjs/commands/StartTransformerJobCommand.js +51 -0
- package/dist-cjs/commands/TagResourceCommand.js +51 -0
- package/dist-cjs/commands/TestMappingCommand.js +51 -0
- package/dist-cjs/commands/TestParsingCommand.js +51 -0
- package/dist-cjs/commands/UntagResourceCommand.js +51 -0
- package/dist-cjs/commands/UpdateCapabilityCommand.js +51 -0
- package/dist-cjs/commands/UpdatePartnershipCommand.js +52 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +52 -0
- package/dist-cjs/commands/UpdateTransformerCommand.js +51 -0
- package/dist-cjs/commands/index.js +30 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/B2biServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +227 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListCapabilitiesPaginator.js +29 -0
- package/dist-cjs/pagination/ListPartnershipsPaginator.js +29 -0
- package/dist-cjs/pagination/ListProfilesPaginator.js +29 -0
- package/dist-cjs/pagination/ListTransformersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_0.js +1822 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/B2bi.js +61 -0
- package/dist-es/B2biClient.js +39 -0
- package/dist-es/commands/CreateCapabilityCommand.js +47 -0
- package/dist-es/commands/CreatePartnershipCommand.js +48 -0
- package/dist-es/commands/CreateProfileCommand.js +48 -0
- package/dist-es/commands/CreateTransformerCommand.js +47 -0
- package/dist-es/commands/DeleteCapabilityCommand.js +47 -0
- package/dist-es/commands/DeletePartnershipCommand.js +47 -0
- package/dist-es/commands/DeleteProfileCommand.js +47 -0
- package/dist-es/commands/DeleteTransformerCommand.js +47 -0
- package/dist-es/commands/GetCapabilityCommand.js +47 -0
- package/dist-es/commands/GetPartnershipCommand.js +48 -0
- package/dist-es/commands/GetProfileCommand.js +48 -0
- package/dist-es/commands/GetTransformerCommand.js +47 -0
- package/dist-es/commands/GetTransformerJobCommand.js +47 -0
- package/dist-es/commands/ListCapabilitiesCommand.js +47 -0
- package/dist-es/commands/ListPartnershipsCommand.js +47 -0
- package/dist-es/commands/ListProfilesCommand.js +47 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
- package/dist-es/commands/ListTransformersCommand.js +47 -0
- package/dist-es/commands/StartTransformerJobCommand.js +47 -0
- package/dist-es/commands/TagResourceCommand.js +47 -0
- package/dist-es/commands/TestMappingCommand.js +47 -0
- package/dist-es/commands/TestParsingCommand.js +47 -0
- package/dist-es/commands/UntagResourceCommand.js +47 -0
- package/dist-es/commands/UpdateCapabilityCommand.js +47 -0
- package/dist-es/commands/UpdatePartnershipCommand.js +48 -0
- package/dist-es/commands/UpdateProfileCommand.js +48 -0
- package/dist-es/commands/UpdateTransformerCommand.js +47 -0
- package/dist-es/commands/index.js +27 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/B2biServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +208 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCapabilitiesPaginator.js +25 -0
- package/dist-es/pagination/ListPartnershipsPaginator.js +25 -0
- package/dist-es/pagination/ListProfilesPaginator.js +25 -0
- package/dist-es/pagination/ListTransformersPaginator.js +25 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_json1_0.js +1764 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/B2bi.d.ts +209 -0
- package/dist-types/B2biClient.d.ts +206 -0
- package/dist-types/commands/CreateCapabilityCommand.d.ts +156 -0
- package/dist-types/commands/CreatePartnershipCommand.d.ts +117 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +113 -0
- package/dist-types/commands/CreateTransformerCommand.d.ts +123 -0
- package/dist-types/commands/DeleteCapabilityCommand.d.ts +89 -0
- package/dist-types/commands/DeletePartnershipCommand.d.ts +89 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +89 -0
- package/dist-types/commands/DeleteTransformerCommand.d.ts +89 -0
- package/dist-types/commands/GetCapabilityCommand.d.ts +118 -0
- package/dist-types/commands/GetPartnershipCommand.d.ts +99 -0
- package/dist-types/commands/GetProfileCommand.d.ts +97 -0
- package/dist-types/commands/GetTransformerCommand.d.ts +102 -0
- package/dist-types/commands/GetTransformerJobCommand.d.ts +96 -0
- package/dist-types/commands/ListCapabilitiesCommand.d.ts +83 -0
- package/dist-types/commands/ListPartnershipsCommand.d.ts +103 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +85 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +84 -0
- package/dist-types/commands/ListTransformersCommand.d.ts +92 -0
- package/dist-types/commands/StartTransformerJobCommand.d.ts +97 -0
- package/dist-types/commands/TagResourceCommand.d.ts +87 -0
- package/dist-types/commands/TestMappingCommand.d.ts +90 -0
- package/dist-types/commands/TestParsingCommand.d.ts +98 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +80 -0
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +151 -0
- package/dist-types/commands/UpdatePartnershipCommand.d.ts +109 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +107 -0
- package/dist-types/commands/UpdateTransformerCommand.d.ts +119 -0
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +25 -0
- package/dist-types/models/B2biServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1859 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListCapabilitiesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPartnershipsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTransformersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +245 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/B2bi.d.ts +464 -0
- package/dist-types/ts3.4/B2biClient.d.ts +280 -0
- package/dist-types/ts3.4/commands/CreateCapabilityCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreatePartnershipCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateTransformerCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteCapabilityCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeletePartnershipCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteTransformerCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetCapabilityCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetPartnershipCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetTransformerCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetTransformerJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListCapabilitiesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListPartnershipsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTransformersCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartTransformerJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/TestMappingCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/TestParsingCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UpdateCapabilityCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdatePartnershipCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateTransformerCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/B2biServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +537 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListCapabilitiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPartnershipsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTransformersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +329 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +104 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
export interface B2biExtensionConfiguration
|
|
5
|
+
extends HttpHandlerExtensionConfiguration,
|
|
6
|
+
DefaultExtensionConfiguration,
|
|
7
|
+
AwsRegionExtensionConfiguration {}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./B2biClient";
|
|
2
|
+
export * from "./B2bi";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { B2biExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./pagination";
|
|
8
|
+
export * from "./models";
|
|
9
|
+
import "@aws-sdk/util-endpoints";
|
|
10
|
+
export { B2biServiceException } from "./models/B2biServiceException";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
6
|
+
export declare class B2biServiceException extends __ServiceException {
|
|
7
|
+
constructor(options: __ServiceExceptionOptions);
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,537 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { B2biServiceException as __BaseException } from "./B2biServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class ConflictException extends __BaseException {
|
|
11
|
+
readonly name: "ConflictException";
|
|
12
|
+
readonly $fault: "client";
|
|
13
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
export interface S3Location {
|
|
16
|
+
bucketName?: string;
|
|
17
|
+
key?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const X12TransactionSet: {
|
|
20
|
+
readonly X12_110: "X12_110";
|
|
21
|
+
readonly X12_180: "X12_180";
|
|
22
|
+
readonly X12_204: "X12_204";
|
|
23
|
+
readonly X12_210: "X12_210";
|
|
24
|
+
readonly X12_214: "X12_214";
|
|
25
|
+
readonly X12_215: "X12_215";
|
|
26
|
+
readonly X12_310: "X12_310";
|
|
27
|
+
readonly X12_315: "X12_315";
|
|
28
|
+
readonly X12_322: "X12_322";
|
|
29
|
+
readonly X12_404: "X12_404";
|
|
30
|
+
readonly X12_410: "X12_410";
|
|
31
|
+
readonly X12_820: "X12_820";
|
|
32
|
+
readonly X12_824: "X12_824";
|
|
33
|
+
readonly X12_830: "X12_830";
|
|
34
|
+
readonly X12_846: "X12_846";
|
|
35
|
+
readonly X12_850: "X12_850";
|
|
36
|
+
readonly X12_852: "X12_852";
|
|
37
|
+
readonly X12_855: "X12_855";
|
|
38
|
+
readonly X12_856: "X12_856";
|
|
39
|
+
readonly X12_860: "X12_860";
|
|
40
|
+
readonly X12_861: "X12_861";
|
|
41
|
+
readonly X12_864: "X12_864";
|
|
42
|
+
readonly X12_940: "X12_940";
|
|
43
|
+
readonly X12_990: "X12_990";
|
|
44
|
+
readonly X12_997: "X12_997";
|
|
45
|
+
};
|
|
46
|
+
export type X12TransactionSet =
|
|
47
|
+
(typeof X12TransactionSet)[keyof typeof X12TransactionSet];
|
|
48
|
+
export declare const X12Version: {
|
|
49
|
+
readonly VERSION_4010: "VERSION_4010";
|
|
50
|
+
readonly VERSION_4030: "VERSION_4030";
|
|
51
|
+
readonly VERSION_5010: "VERSION_5010";
|
|
52
|
+
};
|
|
53
|
+
export type X12Version = (typeof X12Version)[keyof typeof X12Version];
|
|
54
|
+
export interface X12Details {
|
|
55
|
+
transactionSet?: X12TransactionSet;
|
|
56
|
+
version?: X12Version;
|
|
57
|
+
}
|
|
58
|
+
export type EdiType = EdiType.X12DetailsMember | EdiType.$UnknownMember;
|
|
59
|
+
export declare namespace EdiType {
|
|
60
|
+
interface X12DetailsMember {
|
|
61
|
+
x12Details: X12Details;
|
|
62
|
+
$unknown?: never;
|
|
63
|
+
}
|
|
64
|
+
interface $UnknownMember {
|
|
65
|
+
x12Details?: never;
|
|
66
|
+
$unknown: [string, any];
|
|
67
|
+
}
|
|
68
|
+
interface Visitor<T> {
|
|
69
|
+
x12Details: (value: X12Details) => T;
|
|
70
|
+
_: (name: string, value: any) => T;
|
|
71
|
+
}
|
|
72
|
+
const visit: <T>(value: EdiType, visitor: Visitor<T>) => T;
|
|
73
|
+
}
|
|
74
|
+
export interface EdiConfiguration {
|
|
75
|
+
type: EdiType | undefined;
|
|
76
|
+
inputLocation: S3Location | undefined;
|
|
77
|
+
outputLocation: S3Location | undefined;
|
|
78
|
+
transformerId: string | undefined;
|
|
79
|
+
}
|
|
80
|
+
export type CapabilityConfiguration =
|
|
81
|
+
| CapabilityConfiguration.EdiMember
|
|
82
|
+
| CapabilityConfiguration.$UnknownMember;
|
|
83
|
+
export declare namespace CapabilityConfiguration {
|
|
84
|
+
interface EdiMember {
|
|
85
|
+
edi: EdiConfiguration;
|
|
86
|
+
$unknown?: never;
|
|
87
|
+
}
|
|
88
|
+
interface $UnknownMember {
|
|
89
|
+
edi?: never;
|
|
90
|
+
$unknown: [string, any];
|
|
91
|
+
}
|
|
92
|
+
interface Visitor<T> {
|
|
93
|
+
edi: (value: EdiConfiguration) => T;
|
|
94
|
+
_: (name: string, value: any) => T;
|
|
95
|
+
}
|
|
96
|
+
const visit: <T>(value: CapabilityConfiguration, visitor: Visitor<T>) => T;
|
|
97
|
+
}
|
|
98
|
+
export interface Tag {
|
|
99
|
+
Key: string | undefined;
|
|
100
|
+
Value: string | undefined;
|
|
101
|
+
}
|
|
102
|
+
export declare const CapabilityType: {
|
|
103
|
+
readonly EDI: "edi";
|
|
104
|
+
};
|
|
105
|
+
export type CapabilityType =
|
|
106
|
+
(typeof CapabilityType)[keyof typeof CapabilityType];
|
|
107
|
+
export interface CreateCapabilityRequest {
|
|
108
|
+
name: string | undefined;
|
|
109
|
+
type: CapabilityType | undefined;
|
|
110
|
+
configuration: CapabilityConfiguration | undefined;
|
|
111
|
+
instructionsDocuments?: S3Location[];
|
|
112
|
+
clientToken?: string;
|
|
113
|
+
tags?: Tag[];
|
|
114
|
+
}
|
|
115
|
+
export interface CreateCapabilityResponse {
|
|
116
|
+
capabilityId: string | undefined;
|
|
117
|
+
capabilityArn: string | undefined;
|
|
118
|
+
name: string | undefined;
|
|
119
|
+
type: CapabilityType | undefined;
|
|
120
|
+
configuration: CapabilityConfiguration | undefined;
|
|
121
|
+
instructionsDocuments?: S3Location[];
|
|
122
|
+
createdAt: Date | undefined;
|
|
123
|
+
}
|
|
124
|
+
export declare class InternalServerException extends __BaseException {
|
|
125
|
+
readonly name: "InternalServerException";
|
|
126
|
+
readonly $fault: "server";
|
|
127
|
+
$retryable: {};
|
|
128
|
+
retryAfterSeconds?: number;
|
|
129
|
+
constructor(
|
|
130
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
131
|
+
);
|
|
132
|
+
}
|
|
133
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
134
|
+
readonly name: "ResourceNotFoundException";
|
|
135
|
+
readonly $fault: "client";
|
|
136
|
+
constructor(
|
|
137
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
141
|
+
readonly name: "ServiceQuotaExceededException";
|
|
142
|
+
readonly $fault: "client";
|
|
143
|
+
resourceId: string | undefined;
|
|
144
|
+
resourceType: string | undefined;
|
|
145
|
+
serviceCode: string | undefined;
|
|
146
|
+
quotaCode: string | undefined;
|
|
147
|
+
constructor(
|
|
148
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
export declare class ThrottlingException extends __BaseException {
|
|
152
|
+
readonly name: "ThrottlingException";
|
|
153
|
+
readonly $fault: "client";
|
|
154
|
+
$retryable: {};
|
|
155
|
+
retryAfterSeconds?: number;
|
|
156
|
+
constructor(
|
|
157
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
export declare class ValidationException extends __BaseException {
|
|
161
|
+
readonly name: "ValidationException";
|
|
162
|
+
readonly $fault: "client";
|
|
163
|
+
Message: string | undefined;
|
|
164
|
+
constructor(
|
|
165
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
166
|
+
);
|
|
167
|
+
}
|
|
168
|
+
export interface DeleteCapabilityRequest {
|
|
169
|
+
capabilityId: string | undefined;
|
|
170
|
+
}
|
|
171
|
+
export interface GetCapabilityRequest {
|
|
172
|
+
capabilityId: string | undefined;
|
|
173
|
+
}
|
|
174
|
+
export interface GetCapabilityResponse {
|
|
175
|
+
capabilityId: string | undefined;
|
|
176
|
+
capabilityArn: string | undefined;
|
|
177
|
+
name: string | undefined;
|
|
178
|
+
type: CapabilityType | undefined;
|
|
179
|
+
configuration: CapabilityConfiguration | undefined;
|
|
180
|
+
instructionsDocuments?: S3Location[];
|
|
181
|
+
createdAt: Date | undefined;
|
|
182
|
+
modifiedAt?: Date;
|
|
183
|
+
}
|
|
184
|
+
export interface ListCapabilitiesRequest {
|
|
185
|
+
nextToken?: string;
|
|
186
|
+
maxResults?: number;
|
|
187
|
+
}
|
|
188
|
+
export interface CapabilitySummary {
|
|
189
|
+
capabilityId: string | undefined;
|
|
190
|
+
name: string | undefined;
|
|
191
|
+
type: CapabilityType | undefined;
|
|
192
|
+
createdAt: Date | undefined;
|
|
193
|
+
modifiedAt?: Date;
|
|
194
|
+
}
|
|
195
|
+
export interface ListCapabilitiesResponse {
|
|
196
|
+
capabilities: CapabilitySummary[] | undefined;
|
|
197
|
+
nextToken?: string;
|
|
198
|
+
}
|
|
199
|
+
export interface UpdateCapabilityRequest {
|
|
200
|
+
capabilityId: string | undefined;
|
|
201
|
+
name?: string;
|
|
202
|
+
configuration?: CapabilityConfiguration;
|
|
203
|
+
instructionsDocuments?: S3Location[];
|
|
204
|
+
}
|
|
205
|
+
export interface UpdateCapabilityResponse {
|
|
206
|
+
capabilityId: string | undefined;
|
|
207
|
+
capabilityArn: string | undefined;
|
|
208
|
+
name: string | undefined;
|
|
209
|
+
type: CapabilityType | undefined;
|
|
210
|
+
configuration: CapabilityConfiguration | undefined;
|
|
211
|
+
instructionsDocuments?: S3Location[];
|
|
212
|
+
createdAt: Date | undefined;
|
|
213
|
+
modifiedAt?: Date;
|
|
214
|
+
}
|
|
215
|
+
export interface GetTransformerJobRequest {
|
|
216
|
+
transformerJobId: string | undefined;
|
|
217
|
+
transformerId: string | undefined;
|
|
218
|
+
}
|
|
219
|
+
export declare const TransformerJobStatus: {
|
|
220
|
+
readonly FAILED: "failed";
|
|
221
|
+
readonly RUNNING: "running";
|
|
222
|
+
readonly SUCCEEDED: "succeeded";
|
|
223
|
+
};
|
|
224
|
+
export type TransformerJobStatus =
|
|
225
|
+
(typeof TransformerJobStatus)[keyof typeof TransformerJobStatus];
|
|
226
|
+
export interface GetTransformerJobResponse {
|
|
227
|
+
status: TransformerJobStatus | undefined;
|
|
228
|
+
outputFiles?: S3Location[];
|
|
229
|
+
message?: string;
|
|
230
|
+
}
|
|
231
|
+
export interface ListTagsForResourceRequest {
|
|
232
|
+
ResourceARN: string | undefined;
|
|
233
|
+
}
|
|
234
|
+
export interface ListTagsForResourceResponse {
|
|
235
|
+
Tags?: Tag[];
|
|
236
|
+
}
|
|
237
|
+
export interface CreatePartnershipRequest {
|
|
238
|
+
profileId: string | undefined;
|
|
239
|
+
name: string | undefined;
|
|
240
|
+
email: string | undefined;
|
|
241
|
+
phone?: string;
|
|
242
|
+
capabilities?: string[];
|
|
243
|
+
clientToken?: string;
|
|
244
|
+
tags?: Tag[];
|
|
245
|
+
}
|
|
246
|
+
export interface CreatePartnershipResponse {
|
|
247
|
+
profileId: string | undefined;
|
|
248
|
+
partnershipId: string | undefined;
|
|
249
|
+
partnershipArn: string | undefined;
|
|
250
|
+
name?: string;
|
|
251
|
+
email?: string;
|
|
252
|
+
phone?: string;
|
|
253
|
+
capabilities?: string[];
|
|
254
|
+
tradingPartnerId?: string;
|
|
255
|
+
createdAt: Date | undefined;
|
|
256
|
+
}
|
|
257
|
+
export interface DeletePartnershipRequest {
|
|
258
|
+
partnershipId: string | undefined;
|
|
259
|
+
}
|
|
260
|
+
export interface GetPartnershipRequest {
|
|
261
|
+
partnershipId: string | undefined;
|
|
262
|
+
}
|
|
263
|
+
export interface GetPartnershipResponse {
|
|
264
|
+
profileId: string | undefined;
|
|
265
|
+
partnershipId: string | undefined;
|
|
266
|
+
partnershipArn: string | undefined;
|
|
267
|
+
name?: string;
|
|
268
|
+
email?: string;
|
|
269
|
+
phone?: string;
|
|
270
|
+
capabilities?: string[];
|
|
271
|
+
tradingPartnerId?: string;
|
|
272
|
+
createdAt: Date | undefined;
|
|
273
|
+
modifiedAt?: Date;
|
|
274
|
+
}
|
|
275
|
+
export interface ListPartnershipsRequest {
|
|
276
|
+
profileId?: string;
|
|
277
|
+
nextToken?: string;
|
|
278
|
+
maxResults?: number;
|
|
279
|
+
}
|
|
280
|
+
export interface PartnershipSummary {
|
|
281
|
+
profileId: string | undefined;
|
|
282
|
+
partnershipId: string | undefined;
|
|
283
|
+
name?: string;
|
|
284
|
+
capabilities?: string[];
|
|
285
|
+
tradingPartnerId?: string;
|
|
286
|
+
createdAt: Date | undefined;
|
|
287
|
+
modifiedAt?: Date;
|
|
288
|
+
}
|
|
289
|
+
export interface ListPartnershipsResponse {
|
|
290
|
+
partnerships: PartnershipSummary[] | undefined;
|
|
291
|
+
nextToken?: string;
|
|
292
|
+
}
|
|
293
|
+
export interface UpdatePartnershipRequest {
|
|
294
|
+
partnershipId: string | undefined;
|
|
295
|
+
name?: string;
|
|
296
|
+
capabilities?: string[];
|
|
297
|
+
}
|
|
298
|
+
export interface UpdatePartnershipResponse {
|
|
299
|
+
profileId: string | undefined;
|
|
300
|
+
partnershipId: string | undefined;
|
|
301
|
+
partnershipArn: string | undefined;
|
|
302
|
+
name?: string;
|
|
303
|
+
email?: string;
|
|
304
|
+
phone?: string;
|
|
305
|
+
capabilities?: string[];
|
|
306
|
+
tradingPartnerId?: string;
|
|
307
|
+
createdAt: Date | undefined;
|
|
308
|
+
modifiedAt?: Date;
|
|
309
|
+
}
|
|
310
|
+
export declare const Logging: {
|
|
311
|
+
readonly DISABLED: "DISABLED";
|
|
312
|
+
readonly ENABLED: "ENABLED";
|
|
313
|
+
};
|
|
314
|
+
export type Logging = (typeof Logging)[keyof typeof Logging];
|
|
315
|
+
export interface CreateProfileRequest {
|
|
316
|
+
name: string | undefined;
|
|
317
|
+
email?: string;
|
|
318
|
+
phone: string | undefined;
|
|
319
|
+
businessName: string | undefined;
|
|
320
|
+
logging: Logging | undefined;
|
|
321
|
+
clientToken?: string;
|
|
322
|
+
tags?: Tag[];
|
|
323
|
+
}
|
|
324
|
+
export interface CreateProfileResponse {
|
|
325
|
+
profileId: string | undefined;
|
|
326
|
+
profileArn: string | undefined;
|
|
327
|
+
name: string | undefined;
|
|
328
|
+
businessName: string | undefined;
|
|
329
|
+
phone: string | undefined;
|
|
330
|
+
email?: string;
|
|
331
|
+
logging?: Logging;
|
|
332
|
+
logGroupName?: string;
|
|
333
|
+
createdAt: Date | undefined;
|
|
334
|
+
}
|
|
335
|
+
export interface DeleteProfileRequest {
|
|
336
|
+
profileId: string | undefined;
|
|
337
|
+
}
|
|
338
|
+
export interface GetProfileRequest {
|
|
339
|
+
profileId: string | undefined;
|
|
340
|
+
}
|
|
341
|
+
export interface GetProfileResponse {
|
|
342
|
+
profileId: string | undefined;
|
|
343
|
+
profileArn: string | undefined;
|
|
344
|
+
name: string | undefined;
|
|
345
|
+
email?: string;
|
|
346
|
+
phone: string | undefined;
|
|
347
|
+
businessName: string | undefined;
|
|
348
|
+
logging?: Logging;
|
|
349
|
+
logGroupName?: string;
|
|
350
|
+
createdAt: Date | undefined;
|
|
351
|
+
modifiedAt?: Date;
|
|
352
|
+
}
|
|
353
|
+
export interface ListProfilesRequest {
|
|
354
|
+
nextToken?: string;
|
|
355
|
+
maxResults?: number;
|
|
356
|
+
}
|
|
357
|
+
export interface ProfileSummary {
|
|
358
|
+
profileId: string | undefined;
|
|
359
|
+
name: string | undefined;
|
|
360
|
+
businessName: string | undefined;
|
|
361
|
+
logging?: Logging;
|
|
362
|
+
logGroupName?: string;
|
|
363
|
+
createdAt: Date | undefined;
|
|
364
|
+
modifiedAt?: Date;
|
|
365
|
+
}
|
|
366
|
+
export interface ListProfilesResponse {
|
|
367
|
+
profiles: ProfileSummary[] | undefined;
|
|
368
|
+
nextToken?: string;
|
|
369
|
+
}
|
|
370
|
+
export interface UpdateProfileRequest {
|
|
371
|
+
profileId: string | undefined;
|
|
372
|
+
name?: string;
|
|
373
|
+
email?: string;
|
|
374
|
+
phone?: string;
|
|
375
|
+
businessName?: string;
|
|
376
|
+
}
|
|
377
|
+
export interface UpdateProfileResponse {
|
|
378
|
+
profileId: string | undefined;
|
|
379
|
+
profileArn: string | undefined;
|
|
380
|
+
name: string | undefined;
|
|
381
|
+
email?: string;
|
|
382
|
+
phone: string | undefined;
|
|
383
|
+
businessName: string | undefined;
|
|
384
|
+
logging?: Logging;
|
|
385
|
+
logGroupName?: string;
|
|
386
|
+
createdAt: Date | undefined;
|
|
387
|
+
modifiedAt?: Date;
|
|
388
|
+
}
|
|
389
|
+
export interface StartTransformerJobRequest {
|
|
390
|
+
inputFile: S3Location | undefined;
|
|
391
|
+
outputLocation: S3Location | undefined;
|
|
392
|
+
transformerId: string | undefined;
|
|
393
|
+
clientToken?: string;
|
|
394
|
+
}
|
|
395
|
+
export interface StartTransformerJobResponse {
|
|
396
|
+
transformerJobId: string | undefined;
|
|
397
|
+
}
|
|
398
|
+
export interface TagResourceRequest {
|
|
399
|
+
ResourceARN: string | undefined;
|
|
400
|
+
Tags: Tag[] | undefined;
|
|
401
|
+
}
|
|
402
|
+
export declare const FileFormat: {
|
|
403
|
+
readonly JSON: "JSON";
|
|
404
|
+
readonly XML: "XML";
|
|
405
|
+
};
|
|
406
|
+
export type FileFormat = (typeof FileFormat)[keyof typeof FileFormat];
|
|
407
|
+
export interface TestMappingRequest {
|
|
408
|
+
inputFileContent: string | undefined;
|
|
409
|
+
mappingTemplate: string | undefined;
|
|
410
|
+
fileFormat: FileFormat | undefined;
|
|
411
|
+
}
|
|
412
|
+
export interface TestMappingResponse {
|
|
413
|
+
mappedFileContent: string | undefined;
|
|
414
|
+
}
|
|
415
|
+
export interface TestParsingRequest {
|
|
416
|
+
inputFile: S3Location | undefined;
|
|
417
|
+
fileFormat: FileFormat | undefined;
|
|
418
|
+
ediType: EdiType | undefined;
|
|
419
|
+
}
|
|
420
|
+
export interface TestParsingResponse {
|
|
421
|
+
parsedFileContent: string | undefined;
|
|
422
|
+
}
|
|
423
|
+
export interface CreateTransformerRequest {
|
|
424
|
+
name: string | undefined;
|
|
425
|
+
fileFormat: FileFormat | undefined;
|
|
426
|
+
mappingTemplate: string | undefined;
|
|
427
|
+
ediType: EdiType | undefined;
|
|
428
|
+
sampleDocument?: string;
|
|
429
|
+
clientToken?: string;
|
|
430
|
+
tags?: Tag[];
|
|
431
|
+
}
|
|
432
|
+
export declare const TransformerStatus: {
|
|
433
|
+
readonly ACTIVE: "active";
|
|
434
|
+
readonly INACTIVE: "inactive";
|
|
435
|
+
};
|
|
436
|
+
export type TransformerStatus =
|
|
437
|
+
(typeof TransformerStatus)[keyof typeof TransformerStatus];
|
|
438
|
+
export interface CreateTransformerResponse {
|
|
439
|
+
transformerId: string | undefined;
|
|
440
|
+
transformerArn: string | undefined;
|
|
441
|
+
name: string | undefined;
|
|
442
|
+
fileFormat: FileFormat | undefined;
|
|
443
|
+
mappingTemplate: string | undefined;
|
|
444
|
+
status: TransformerStatus | undefined;
|
|
445
|
+
ediType: EdiType | undefined;
|
|
446
|
+
sampleDocument?: string;
|
|
447
|
+
createdAt: Date | undefined;
|
|
448
|
+
}
|
|
449
|
+
export interface DeleteTransformerRequest {
|
|
450
|
+
transformerId: string | undefined;
|
|
451
|
+
}
|
|
452
|
+
export interface GetTransformerRequest {
|
|
453
|
+
transformerId: string | undefined;
|
|
454
|
+
}
|
|
455
|
+
export interface GetTransformerResponse {
|
|
456
|
+
transformerId: string | undefined;
|
|
457
|
+
transformerArn: string | undefined;
|
|
458
|
+
name: string | undefined;
|
|
459
|
+
fileFormat: FileFormat | undefined;
|
|
460
|
+
mappingTemplate: string | undefined;
|
|
461
|
+
status: TransformerStatus | undefined;
|
|
462
|
+
ediType: EdiType | undefined;
|
|
463
|
+
sampleDocument?: string;
|
|
464
|
+
createdAt: Date | undefined;
|
|
465
|
+
modifiedAt?: Date;
|
|
466
|
+
}
|
|
467
|
+
export interface ListTransformersRequest {
|
|
468
|
+
nextToken?: string;
|
|
469
|
+
maxResults?: number;
|
|
470
|
+
}
|
|
471
|
+
export interface TransformerSummary {
|
|
472
|
+
transformerId: string | undefined;
|
|
473
|
+
name: string | undefined;
|
|
474
|
+
fileFormat: FileFormat | undefined;
|
|
475
|
+
mappingTemplate: string | undefined;
|
|
476
|
+
status: TransformerStatus | undefined;
|
|
477
|
+
ediType: EdiType | undefined;
|
|
478
|
+
sampleDocument?: string;
|
|
479
|
+
createdAt: Date | undefined;
|
|
480
|
+
modifiedAt?: Date;
|
|
481
|
+
}
|
|
482
|
+
export interface ListTransformersResponse {
|
|
483
|
+
transformers: TransformerSummary[] | undefined;
|
|
484
|
+
nextToken?: string;
|
|
485
|
+
}
|
|
486
|
+
export interface UpdateTransformerRequest {
|
|
487
|
+
transformerId: string | undefined;
|
|
488
|
+
name?: string;
|
|
489
|
+
fileFormat?: FileFormat;
|
|
490
|
+
mappingTemplate?: string;
|
|
491
|
+
status?: TransformerStatus;
|
|
492
|
+
ediType?: EdiType;
|
|
493
|
+
sampleDocument?: string;
|
|
494
|
+
}
|
|
495
|
+
export interface UpdateTransformerResponse {
|
|
496
|
+
transformerId: string | undefined;
|
|
497
|
+
transformerArn: string | undefined;
|
|
498
|
+
name: string | undefined;
|
|
499
|
+
fileFormat: FileFormat | undefined;
|
|
500
|
+
mappingTemplate: string | undefined;
|
|
501
|
+
status: TransformerStatus | undefined;
|
|
502
|
+
ediType: EdiType | undefined;
|
|
503
|
+
sampleDocument?: string;
|
|
504
|
+
createdAt: Date | undefined;
|
|
505
|
+
modifiedAt: Date | undefined;
|
|
506
|
+
}
|
|
507
|
+
export interface UntagResourceRequest {
|
|
508
|
+
ResourceARN: string | undefined;
|
|
509
|
+
TagKeys: string[] | undefined;
|
|
510
|
+
}
|
|
511
|
+
export declare const CreatePartnershipRequestFilterSensitiveLog: (
|
|
512
|
+
obj: CreatePartnershipRequest
|
|
513
|
+
) => any;
|
|
514
|
+
export declare const CreatePartnershipResponseFilterSensitiveLog: (
|
|
515
|
+
obj: CreatePartnershipResponse
|
|
516
|
+
) => any;
|
|
517
|
+
export declare const GetPartnershipResponseFilterSensitiveLog: (
|
|
518
|
+
obj: GetPartnershipResponse
|
|
519
|
+
) => any;
|
|
520
|
+
export declare const UpdatePartnershipResponseFilterSensitiveLog: (
|
|
521
|
+
obj: UpdatePartnershipResponse
|
|
522
|
+
) => any;
|
|
523
|
+
export declare const CreateProfileRequestFilterSensitiveLog: (
|
|
524
|
+
obj: CreateProfileRequest
|
|
525
|
+
) => any;
|
|
526
|
+
export declare const CreateProfileResponseFilterSensitiveLog: (
|
|
527
|
+
obj: CreateProfileResponse
|
|
528
|
+
) => any;
|
|
529
|
+
export declare const GetProfileResponseFilterSensitiveLog: (
|
|
530
|
+
obj: GetProfileResponse
|
|
531
|
+
) => any;
|
|
532
|
+
export declare const UpdateProfileRequestFilterSensitiveLog: (
|
|
533
|
+
obj: UpdateProfileRequest
|
|
534
|
+
) => any;
|
|
535
|
+
export declare const UpdateProfileResponseFilterSensitiveLog: (
|
|
536
|
+
obj: UpdateProfileResponse
|
|
537
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListCapabilitiesCommandInput,
|
|
4
|
+
ListCapabilitiesCommandOutput,
|
|
5
|
+
} from "../commands/ListCapabilitiesCommand";
|
|
6
|
+
import { B2biPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListCapabilities(
|
|
8
|
+
config: B2biPaginationConfiguration,
|
|
9
|
+
input: ListCapabilitiesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListCapabilitiesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListPartnershipsCommandInput,
|
|
4
|
+
ListPartnershipsCommandOutput,
|
|
5
|
+
} from "../commands/ListPartnershipsCommand";
|
|
6
|
+
import { B2biPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListPartnerships(
|
|
8
|
+
config: B2biPaginationConfiguration,
|
|
9
|
+
input: ListPartnershipsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListPartnershipsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListProfilesCommandInput,
|
|
4
|
+
ListProfilesCommandOutput,
|
|
5
|
+
} from "../commands/ListProfilesCommand";
|
|
6
|
+
import { B2biPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListProfiles(
|
|
8
|
+
config: B2biPaginationConfiguration,
|
|
9
|
+
input: ListProfilesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListProfilesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTransformersCommandInput,
|
|
4
|
+
ListTransformersCommandOutput,
|
|
5
|
+
} from "../commands/ListTransformersCommand";
|
|
6
|
+
import { B2biPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListTransformers(
|
|
8
|
+
config: B2biPaginationConfiguration,
|
|
9
|
+
input: ListTransformersCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListTransformersCommandOutput>;
|