@aws-sdk/client-b2bi 3.687.0 → 3.692.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 +8 -0
- package/dist-cjs/index.js +42 -0
- package/dist-es/B2bi.js +2 -0
- package/dist-es/commands/GenerateMappingCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +26 -1
- package/dist-types/B2bi.d.ts +7 -0
- package/dist-types/B2biClient.d.ts +3 -2
- package/dist-types/commands/GenerateMappingCommand.d.ts +109 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +208 -172
- package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
- package/dist-types/ts3.4/B2bi.d.ts +17 -0
- package/dist-types/ts3.4/B2biClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GenerateMappingCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +180 -171
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
- package/package.json +35 -35
|
@@ -19,8 +19,8 @@ export declare const CapabilityDirection: {
|
|
|
19
19
|
export type CapabilityDirection =
|
|
20
20
|
(typeof CapabilityDirection)[keyof typeof CapabilityDirection];
|
|
21
21
|
export interface S3Location {
|
|
22
|
-
bucketName?: string;
|
|
23
|
-
key?: string;
|
|
22
|
+
bucketName?: string | undefined;
|
|
23
|
+
key?: string | undefined;
|
|
24
24
|
}
|
|
25
25
|
export declare const X12TransactionSet: {
|
|
26
26
|
readonly X12_110: "X12_110";
|
|
@@ -109,8 +109,8 @@ export declare const X12Version: {
|
|
|
109
109
|
};
|
|
110
110
|
export type X12Version = (typeof X12Version)[keyof typeof X12Version];
|
|
111
111
|
export interface X12Details {
|
|
112
|
-
transactionSet?: X12TransactionSet;
|
|
113
|
-
version?: X12Version;
|
|
112
|
+
transactionSet?: X12TransactionSet | undefined;
|
|
113
|
+
version?: X12Version | undefined;
|
|
114
114
|
}
|
|
115
115
|
export type EdiType = EdiType.X12DetailsMember | EdiType.$UnknownMember;
|
|
116
116
|
export declare namespace EdiType {
|
|
@@ -129,7 +129,7 @@ export declare namespace EdiType {
|
|
|
129
129
|
const visit: <T>(value: EdiType, visitor: Visitor<T>) => T;
|
|
130
130
|
}
|
|
131
131
|
export interface EdiConfiguration {
|
|
132
|
-
capabilityDirection?: CapabilityDirection;
|
|
132
|
+
capabilityDirection?: CapabilityDirection | undefined;
|
|
133
133
|
type: EdiType | undefined;
|
|
134
134
|
inputLocation: S3Location | undefined;
|
|
135
135
|
outputLocation: S3Location | undefined;
|
|
@@ -166,9 +166,9 @@ export interface CreateCapabilityRequest {
|
|
|
166
166
|
name: string | undefined;
|
|
167
167
|
type: CapabilityType | undefined;
|
|
168
168
|
configuration: CapabilityConfiguration | undefined;
|
|
169
|
-
instructionsDocuments?: S3Location[];
|
|
170
|
-
clientToken?: string;
|
|
171
|
-
tags?: Tag[];
|
|
169
|
+
instructionsDocuments?: S3Location[] | undefined;
|
|
170
|
+
clientToken?: string | undefined;
|
|
171
|
+
tags?: Tag[] | undefined;
|
|
172
172
|
}
|
|
173
173
|
export interface CreateCapabilityResponse {
|
|
174
174
|
capabilityId: string | undefined;
|
|
@@ -176,14 +176,14 @@ export interface CreateCapabilityResponse {
|
|
|
176
176
|
name: string | undefined;
|
|
177
177
|
type: CapabilityType | undefined;
|
|
178
178
|
configuration: CapabilityConfiguration | undefined;
|
|
179
|
-
instructionsDocuments?: S3Location[];
|
|
179
|
+
instructionsDocuments?: S3Location[] | undefined;
|
|
180
180
|
createdAt: Date | undefined;
|
|
181
181
|
}
|
|
182
182
|
export declare class InternalServerException extends __BaseException {
|
|
183
183
|
readonly name: "InternalServerException";
|
|
184
184
|
readonly $fault: "server";
|
|
185
185
|
$retryable: {};
|
|
186
|
-
retryAfterSeconds?: number;
|
|
186
|
+
retryAfterSeconds?: number | undefined;
|
|
187
187
|
constructor(
|
|
188
188
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
189
189
|
);
|
|
@@ -210,7 +210,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
210
210
|
readonly name: "ThrottlingException";
|
|
211
211
|
readonly $fault: "client";
|
|
212
212
|
$retryable: {};
|
|
213
|
-
retryAfterSeconds?: number;
|
|
213
|
+
retryAfterSeconds?: number | undefined;
|
|
214
214
|
constructor(
|
|
215
215
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
216
216
|
);
|
|
@@ -235,30 +235,30 @@ export interface GetCapabilityResponse {
|
|
|
235
235
|
name: string | undefined;
|
|
236
236
|
type: CapabilityType | undefined;
|
|
237
237
|
configuration: CapabilityConfiguration | undefined;
|
|
238
|
-
instructionsDocuments?: S3Location[];
|
|
238
|
+
instructionsDocuments?: S3Location[] | undefined;
|
|
239
239
|
createdAt: Date | undefined;
|
|
240
|
-
modifiedAt?: Date;
|
|
240
|
+
modifiedAt?: Date | undefined;
|
|
241
241
|
}
|
|
242
242
|
export interface ListCapabilitiesRequest {
|
|
243
|
-
nextToken?: string;
|
|
244
|
-
maxResults?: number;
|
|
243
|
+
nextToken?: string | undefined;
|
|
244
|
+
maxResults?: number | undefined;
|
|
245
245
|
}
|
|
246
246
|
export interface CapabilitySummary {
|
|
247
247
|
capabilityId: string | undefined;
|
|
248
248
|
name: string | undefined;
|
|
249
249
|
type: CapabilityType | undefined;
|
|
250
250
|
createdAt: Date | undefined;
|
|
251
|
-
modifiedAt?: Date;
|
|
251
|
+
modifiedAt?: Date | undefined;
|
|
252
252
|
}
|
|
253
253
|
export interface ListCapabilitiesResponse {
|
|
254
254
|
capabilities: CapabilitySummary[] | undefined;
|
|
255
|
-
nextToken?: string;
|
|
255
|
+
nextToken?: string | undefined;
|
|
256
256
|
}
|
|
257
257
|
export interface UpdateCapabilityRequest {
|
|
258
258
|
capabilityId: string | undefined;
|
|
259
|
-
name?: string;
|
|
260
|
-
configuration?: CapabilityConfiguration;
|
|
261
|
-
instructionsDocuments?: S3Location[];
|
|
259
|
+
name?: string | undefined;
|
|
260
|
+
configuration?: CapabilityConfiguration | undefined;
|
|
261
|
+
instructionsDocuments?: S3Location[] | undefined;
|
|
262
262
|
}
|
|
263
263
|
export interface UpdateCapabilityResponse {
|
|
264
264
|
capabilityId: string | undefined;
|
|
@@ -266,9 +266,9 @@ export interface UpdateCapabilityResponse {
|
|
|
266
266
|
name: string | undefined;
|
|
267
267
|
type: CapabilityType | undefined;
|
|
268
268
|
configuration: CapabilityConfiguration | undefined;
|
|
269
|
-
instructionsDocuments?: S3Location[];
|
|
269
|
+
instructionsDocuments?: S3Location[] | undefined;
|
|
270
270
|
createdAt: Date | undefined;
|
|
271
|
-
modifiedAt?: Date;
|
|
271
|
+
modifiedAt?: Date | undefined;
|
|
272
272
|
}
|
|
273
273
|
export declare const MappingType: {
|
|
274
274
|
readonly JSONATA: "JSONATA";
|
|
@@ -294,13 +294,22 @@ export declare namespace TemplateDetails {
|
|
|
294
294
|
const visit: <T>(value: TemplateDetails, visitor: Visitor<T>) => T;
|
|
295
295
|
}
|
|
296
296
|
export interface CreateStarterMappingTemplateRequest {
|
|
297
|
-
outputSampleLocation?: S3Location;
|
|
297
|
+
outputSampleLocation?: S3Location | undefined;
|
|
298
298
|
mappingType: MappingType | undefined;
|
|
299
299
|
templateDetails: TemplateDetails | undefined;
|
|
300
300
|
}
|
|
301
301
|
export interface CreateStarterMappingTemplateResponse {
|
|
302
302
|
mappingTemplate: string | undefined;
|
|
303
303
|
}
|
|
304
|
+
export interface GenerateMappingRequest {
|
|
305
|
+
inputFileContent: string | undefined;
|
|
306
|
+
outputFileContent: string | undefined;
|
|
307
|
+
mappingType: MappingType | undefined;
|
|
308
|
+
}
|
|
309
|
+
export interface GenerateMappingResponse {
|
|
310
|
+
mappingTemplate: string | undefined;
|
|
311
|
+
mappingAccuracy?: number | undefined;
|
|
312
|
+
}
|
|
304
313
|
export interface GetTransformerJobRequest {
|
|
305
314
|
transformerJobId: string | undefined;
|
|
306
315
|
transformerId: string | undefined;
|
|
@@ -314,42 +323,42 @@ export type TransformerJobStatus =
|
|
|
314
323
|
(typeof TransformerJobStatus)[keyof typeof TransformerJobStatus];
|
|
315
324
|
export interface GetTransformerJobResponse {
|
|
316
325
|
status: TransformerJobStatus | undefined;
|
|
317
|
-
outputFiles?: S3Location[];
|
|
318
|
-
message?: string;
|
|
326
|
+
outputFiles?: S3Location[] | undefined;
|
|
327
|
+
message?: string | undefined;
|
|
319
328
|
}
|
|
320
329
|
export interface ListTagsForResourceRequest {
|
|
321
330
|
ResourceARN: string | undefined;
|
|
322
331
|
}
|
|
323
332
|
export interface ListTagsForResourceResponse {
|
|
324
|
-
Tags?: Tag[];
|
|
333
|
+
Tags?: Tag[] | undefined;
|
|
325
334
|
}
|
|
326
335
|
export interface X12Delimiters {
|
|
327
|
-
componentSeparator?: string;
|
|
328
|
-
dataElementSeparator?: string;
|
|
329
|
-
segmentTerminator?: string;
|
|
336
|
+
componentSeparator?: string | undefined;
|
|
337
|
+
dataElementSeparator?: string | undefined;
|
|
338
|
+
segmentTerminator?: string | undefined;
|
|
330
339
|
}
|
|
331
340
|
export interface X12FunctionalGroupHeaders {
|
|
332
|
-
applicationSenderCode?: string;
|
|
333
|
-
applicationReceiverCode?: string;
|
|
334
|
-
responsibleAgencyCode?: string;
|
|
341
|
+
applicationSenderCode?: string | undefined;
|
|
342
|
+
applicationReceiverCode?: string | undefined;
|
|
343
|
+
responsibleAgencyCode?: string | undefined;
|
|
335
344
|
}
|
|
336
345
|
export interface X12InterchangeControlHeaders {
|
|
337
|
-
senderIdQualifier?: string;
|
|
338
|
-
senderId?: string;
|
|
339
|
-
receiverIdQualifier?: string;
|
|
340
|
-
receiverId?: string;
|
|
341
|
-
repetitionSeparator?: string;
|
|
342
|
-
acknowledgmentRequestedCode?: string;
|
|
343
|
-
usageIndicatorCode?: string;
|
|
346
|
+
senderIdQualifier?: string | undefined;
|
|
347
|
+
senderId?: string | undefined;
|
|
348
|
+
receiverIdQualifier?: string | undefined;
|
|
349
|
+
receiverId?: string | undefined;
|
|
350
|
+
repetitionSeparator?: string | undefined;
|
|
351
|
+
acknowledgmentRequestedCode?: string | undefined;
|
|
352
|
+
usageIndicatorCode?: string | undefined;
|
|
344
353
|
}
|
|
345
354
|
export interface X12OutboundEdiHeaders {
|
|
346
|
-
interchangeControlHeaders?: X12InterchangeControlHeaders;
|
|
347
|
-
functionalGroupHeaders?: X12FunctionalGroupHeaders;
|
|
348
|
-
delimiters?: X12Delimiters;
|
|
349
|
-
validateEdi?: boolean;
|
|
355
|
+
interchangeControlHeaders?: X12InterchangeControlHeaders | undefined;
|
|
356
|
+
functionalGroupHeaders?: X12FunctionalGroupHeaders | undefined;
|
|
357
|
+
delimiters?: X12Delimiters | undefined;
|
|
358
|
+
validateEdi?: boolean | undefined;
|
|
350
359
|
}
|
|
351
360
|
export interface X12Envelope {
|
|
352
|
-
common?: X12OutboundEdiHeaders;
|
|
361
|
+
common?: X12OutboundEdiHeaders | undefined;
|
|
353
362
|
}
|
|
354
363
|
export type OutboundEdiOptions =
|
|
355
364
|
| OutboundEdiOptions.X12Member
|
|
@@ -370,28 +379,28 @@ export declare namespace OutboundEdiOptions {
|
|
|
370
379
|
const visit: <T>(value: OutboundEdiOptions, visitor: Visitor<T>) => T;
|
|
371
380
|
}
|
|
372
381
|
export interface CapabilityOptions {
|
|
373
|
-
outboundEdi?: OutboundEdiOptions;
|
|
382
|
+
outboundEdi?: OutboundEdiOptions | undefined;
|
|
374
383
|
}
|
|
375
384
|
export interface CreatePartnershipRequest {
|
|
376
385
|
profileId: string | undefined;
|
|
377
386
|
name: string | undefined;
|
|
378
387
|
email: string | undefined;
|
|
379
|
-
phone?: string;
|
|
388
|
+
phone?: string | undefined;
|
|
380
389
|
capabilities: string[] | undefined;
|
|
381
|
-
capabilityOptions?: CapabilityOptions;
|
|
382
|
-
clientToken?: string;
|
|
383
|
-
tags?: Tag[];
|
|
390
|
+
capabilityOptions?: CapabilityOptions | undefined;
|
|
391
|
+
clientToken?: string | undefined;
|
|
392
|
+
tags?: Tag[] | undefined;
|
|
384
393
|
}
|
|
385
394
|
export interface CreatePartnershipResponse {
|
|
386
395
|
profileId: string | undefined;
|
|
387
396
|
partnershipId: string | undefined;
|
|
388
397
|
partnershipArn: string | undefined;
|
|
389
|
-
name?: string;
|
|
390
|
-
email?: string;
|
|
391
|
-
phone?: string;
|
|
392
|
-
capabilities?: string[];
|
|
393
|
-
capabilityOptions?: CapabilityOptions;
|
|
394
|
-
tradingPartnerId?: string;
|
|
398
|
+
name?: string | undefined;
|
|
399
|
+
email?: string | undefined;
|
|
400
|
+
phone?: string | undefined;
|
|
401
|
+
capabilities?: string[] | undefined;
|
|
402
|
+
capabilityOptions?: CapabilityOptions | undefined;
|
|
403
|
+
tradingPartnerId?: string | undefined;
|
|
395
404
|
createdAt: Date | undefined;
|
|
396
405
|
}
|
|
397
406
|
export interface DeletePartnershipRequest {
|
|
@@ -404,52 +413,52 @@ export interface GetPartnershipResponse {
|
|
|
404
413
|
profileId: string | undefined;
|
|
405
414
|
partnershipId: string | undefined;
|
|
406
415
|
partnershipArn: string | undefined;
|
|
407
|
-
name?: string;
|
|
408
|
-
email?: string;
|
|
409
|
-
phone?: string;
|
|
410
|
-
capabilities?: string[];
|
|
411
|
-
capabilityOptions?: CapabilityOptions;
|
|
412
|
-
tradingPartnerId?: string;
|
|
416
|
+
name?: string | undefined;
|
|
417
|
+
email?: string | undefined;
|
|
418
|
+
phone?: string | undefined;
|
|
419
|
+
capabilities?: string[] | undefined;
|
|
420
|
+
capabilityOptions?: CapabilityOptions | undefined;
|
|
421
|
+
tradingPartnerId?: string | undefined;
|
|
413
422
|
createdAt: Date | undefined;
|
|
414
|
-
modifiedAt?: Date;
|
|
423
|
+
modifiedAt?: Date | undefined;
|
|
415
424
|
}
|
|
416
425
|
export interface ListPartnershipsRequest {
|
|
417
|
-
profileId?: string;
|
|
418
|
-
nextToken?: string;
|
|
419
|
-
maxResults?: number;
|
|
426
|
+
profileId?: string | undefined;
|
|
427
|
+
nextToken?: string | undefined;
|
|
428
|
+
maxResults?: number | undefined;
|
|
420
429
|
}
|
|
421
430
|
export interface PartnershipSummary {
|
|
422
431
|
profileId: string | undefined;
|
|
423
432
|
partnershipId: string | undefined;
|
|
424
|
-
name?: string;
|
|
425
|
-
capabilities?: string[];
|
|
426
|
-
capabilityOptions?: CapabilityOptions;
|
|
427
|
-
tradingPartnerId?: string;
|
|
433
|
+
name?: string | undefined;
|
|
434
|
+
capabilities?: string[] | undefined;
|
|
435
|
+
capabilityOptions?: CapabilityOptions | undefined;
|
|
436
|
+
tradingPartnerId?: string | undefined;
|
|
428
437
|
createdAt: Date | undefined;
|
|
429
|
-
modifiedAt?: Date;
|
|
438
|
+
modifiedAt?: Date | undefined;
|
|
430
439
|
}
|
|
431
440
|
export interface ListPartnershipsResponse {
|
|
432
441
|
partnerships: PartnershipSummary[] | undefined;
|
|
433
|
-
nextToken?: string;
|
|
442
|
+
nextToken?: string | undefined;
|
|
434
443
|
}
|
|
435
444
|
export interface UpdatePartnershipRequest {
|
|
436
445
|
partnershipId: string | undefined;
|
|
437
|
-
name?: string;
|
|
438
|
-
capabilities?: string[];
|
|
439
|
-
capabilityOptions?: CapabilityOptions;
|
|
446
|
+
name?: string | undefined;
|
|
447
|
+
capabilities?: string[] | undefined;
|
|
448
|
+
capabilityOptions?: CapabilityOptions | undefined;
|
|
440
449
|
}
|
|
441
450
|
export interface UpdatePartnershipResponse {
|
|
442
451
|
profileId: string | undefined;
|
|
443
452
|
partnershipId: string | undefined;
|
|
444
453
|
partnershipArn: string | undefined;
|
|
445
|
-
name?: string;
|
|
446
|
-
email?: string;
|
|
447
|
-
phone?: string;
|
|
448
|
-
capabilities?: string[];
|
|
449
|
-
capabilityOptions?: CapabilityOptions;
|
|
450
|
-
tradingPartnerId?: string;
|
|
454
|
+
name?: string | undefined;
|
|
455
|
+
email?: string | undefined;
|
|
456
|
+
phone?: string | undefined;
|
|
457
|
+
capabilities?: string[] | undefined;
|
|
458
|
+
capabilityOptions?: CapabilityOptions | undefined;
|
|
459
|
+
tradingPartnerId?: string | undefined;
|
|
451
460
|
createdAt: Date | undefined;
|
|
452
|
-
modifiedAt?: Date;
|
|
461
|
+
modifiedAt?: Date | undefined;
|
|
453
462
|
}
|
|
454
463
|
export declare const Logging: {
|
|
455
464
|
readonly DISABLED: "DISABLED";
|
|
@@ -458,12 +467,12 @@ export declare const Logging: {
|
|
|
458
467
|
export type Logging = (typeof Logging)[keyof typeof Logging];
|
|
459
468
|
export interface CreateProfileRequest {
|
|
460
469
|
name: string | undefined;
|
|
461
|
-
email?: string;
|
|
470
|
+
email?: string | undefined;
|
|
462
471
|
phone: string | undefined;
|
|
463
472
|
businessName: string | undefined;
|
|
464
473
|
logging: Logging | undefined;
|
|
465
|
-
clientToken?: string;
|
|
466
|
-
tags?: Tag[];
|
|
474
|
+
clientToken?: string | undefined;
|
|
475
|
+
tags?: Tag[] | undefined;
|
|
467
476
|
}
|
|
468
477
|
export interface CreateProfileResponse {
|
|
469
478
|
profileId: string | undefined;
|
|
@@ -471,9 +480,9 @@ export interface CreateProfileResponse {
|
|
|
471
480
|
name: string | undefined;
|
|
472
481
|
businessName: string | undefined;
|
|
473
482
|
phone: string | undefined;
|
|
474
|
-
email?: string;
|
|
475
|
-
logging?: Logging;
|
|
476
|
-
logGroupName?: string;
|
|
483
|
+
email?: string | undefined;
|
|
484
|
+
logging?: Logging | undefined;
|
|
485
|
+
logGroupName?: string | undefined;
|
|
477
486
|
createdAt: Date | undefined;
|
|
478
487
|
}
|
|
479
488
|
export interface DeleteProfileRequest {
|
|
@@ -486,55 +495,55 @@ export interface GetProfileResponse {
|
|
|
486
495
|
profileId: string | undefined;
|
|
487
496
|
profileArn: string | undefined;
|
|
488
497
|
name: string | undefined;
|
|
489
|
-
email?: string;
|
|
498
|
+
email?: string | undefined;
|
|
490
499
|
phone: string | undefined;
|
|
491
500
|
businessName: string | undefined;
|
|
492
|
-
logging?: Logging;
|
|
493
|
-
logGroupName?: string;
|
|
501
|
+
logging?: Logging | undefined;
|
|
502
|
+
logGroupName?: string | undefined;
|
|
494
503
|
createdAt: Date | undefined;
|
|
495
|
-
modifiedAt?: Date;
|
|
504
|
+
modifiedAt?: Date | undefined;
|
|
496
505
|
}
|
|
497
506
|
export interface ListProfilesRequest {
|
|
498
|
-
nextToken?: string;
|
|
499
|
-
maxResults?: number;
|
|
507
|
+
nextToken?: string | undefined;
|
|
508
|
+
maxResults?: number | undefined;
|
|
500
509
|
}
|
|
501
510
|
export interface ProfileSummary {
|
|
502
511
|
profileId: string | undefined;
|
|
503
512
|
name: string | undefined;
|
|
504
513
|
businessName: string | undefined;
|
|
505
|
-
logging?: Logging;
|
|
506
|
-
logGroupName?: string;
|
|
514
|
+
logging?: Logging | undefined;
|
|
515
|
+
logGroupName?: string | undefined;
|
|
507
516
|
createdAt: Date | undefined;
|
|
508
|
-
modifiedAt?: Date;
|
|
517
|
+
modifiedAt?: Date | undefined;
|
|
509
518
|
}
|
|
510
519
|
export interface ListProfilesResponse {
|
|
511
520
|
profiles: ProfileSummary[] | undefined;
|
|
512
|
-
nextToken?: string;
|
|
521
|
+
nextToken?: string | undefined;
|
|
513
522
|
}
|
|
514
523
|
export interface UpdateProfileRequest {
|
|
515
524
|
profileId: string | undefined;
|
|
516
|
-
name?: string;
|
|
517
|
-
email?: string;
|
|
518
|
-
phone?: string;
|
|
519
|
-
businessName?: string;
|
|
525
|
+
name?: string | undefined;
|
|
526
|
+
email?: string | undefined;
|
|
527
|
+
phone?: string | undefined;
|
|
528
|
+
businessName?: string | undefined;
|
|
520
529
|
}
|
|
521
530
|
export interface UpdateProfileResponse {
|
|
522
531
|
profileId: string | undefined;
|
|
523
532
|
profileArn: string | undefined;
|
|
524
533
|
name: string | undefined;
|
|
525
|
-
email?: string;
|
|
534
|
+
email?: string | undefined;
|
|
526
535
|
phone: string | undefined;
|
|
527
536
|
businessName: string | undefined;
|
|
528
|
-
logging?: Logging;
|
|
529
|
-
logGroupName?: string;
|
|
537
|
+
logging?: Logging | undefined;
|
|
538
|
+
logGroupName?: string | undefined;
|
|
530
539
|
createdAt: Date | undefined;
|
|
531
|
-
modifiedAt?: Date;
|
|
540
|
+
modifiedAt?: Date | undefined;
|
|
532
541
|
}
|
|
533
542
|
export interface StartTransformerJobRequest {
|
|
534
543
|
inputFile: S3Location | undefined;
|
|
535
544
|
outputLocation: S3Location | undefined;
|
|
536
545
|
transformerId: string | undefined;
|
|
537
|
-
clientToken?: string;
|
|
546
|
+
clientToken?: string | undefined;
|
|
538
547
|
}
|
|
539
548
|
export interface StartTransformerJobResponse {
|
|
540
549
|
transformerJobId: string | undefined;
|
|
@@ -617,8 +626,8 @@ export declare namespace OutputSampleFileSource {
|
|
|
617
626
|
}
|
|
618
627
|
export interface ConversionTarget {
|
|
619
628
|
fileFormat: ConversionTargetFormat | undefined;
|
|
620
|
-
formatDetails?: ConversionTargetFormatDetails;
|
|
621
|
-
outputSampleFile?: OutputSampleFileSource;
|
|
629
|
+
formatDetails?: ConversionTargetFormatDetails | undefined;
|
|
630
|
+
outputSampleFile?: OutputSampleFileSource | undefined;
|
|
622
631
|
}
|
|
623
632
|
export interface TestConversionRequest {
|
|
624
633
|
source: ConversionSource | undefined;
|
|
@@ -626,7 +635,7 @@ export interface TestConversionRequest {
|
|
|
626
635
|
}
|
|
627
636
|
export interface TestConversionResponse {
|
|
628
637
|
convertedFileContent: string | undefined;
|
|
629
|
-
validationMessages?: string[];
|
|
638
|
+
validationMessages?: string[] | undefined;
|
|
630
639
|
}
|
|
631
640
|
export declare const FileFormat: {
|
|
632
641
|
readonly JSON: "JSON";
|
|
@@ -674,7 +683,7 @@ export declare const FromFormat: {
|
|
|
674
683
|
export type FromFormat = (typeof FromFormat)[keyof typeof FromFormat];
|
|
675
684
|
export interface InputConversion {
|
|
676
685
|
fromFormat: FromFormat | undefined;
|
|
677
|
-
formatOptions?: FormatOptions;
|
|
686
|
+
formatOptions?: FormatOptions | undefined;
|
|
678
687
|
}
|
|
679
688
|
export declare const MappingTemplateLanguage: {
|
|
680
689
|
readonly JSONATA: "JSONATA";
|
|
@@ -684,7 +693,7 @@ export type MappingTemplateLanguage =
|
|
|
684
693
|
(typeof MappingTemplateLanguage)[keyof typeof MappingTemplateLanguage];
|
|
685
694
|
export interface Mapping {
|
|
686
695
|
templateLanguage: MappingTemplateLanguage | undefined;
|
|
687
|
-
template?: string;
|
|
696
|
+
template?: string | undefined;
|
|
688
697
|
}
|
|
689
698
|
export declare const ToFormat: {
|
|
690
699
|
readonly X12: "X12";
|
|
@@ -692,11 +701,11 @@ export declare const ToFormat: {
|
|
|
692
701
|
export type ToFormat = (typeof ToFormat)[keyof typeof ToFormat];
|
|
693
702
|
export interface OutputConversion {
|
|
694
703
|
toFormat: ToFormat | undefined;
|
|
695
|
-
formatOptions?: FormatOptions;
|
|
704
|
+
formatOptions?: FormatOptions | undefined;
|
|
696
705
|
}
|
|
697
706
|
export interface SampleDocumentKeys {
|
|
698
|
-
input?: string;
|
|
699
|
-
output?: string;
|
|
707
|
+
input?: string | undefined;
|
|
708
|
+
output?: string | undefined;
|
|
700
709
|
}
|
|
701
710
|
export interface SampleDocuments {
|
|
702
711
|
bucketName: string | undefined;
|
|
@@ -704,16 +713,16 @@ export interface SampleDocuments {
|
|
|
704
713
|
}
|
|
705
714
|
export interface CreateTransformerRequest {
|
|
706
715
|
name: string | undefined;
|
|
707
|
-
clientToken?: string;
|
|
708
|
-
tags?: Tag[];
|
|
709
|
-
fileFormat?: FileFormat;
|
|
710
|
-
mappingTemplate?: string;
|
|
711
|
-
ediType?: EdiType;
|
|
712
|
-
sampleDocument?: string;
|
|
713
|
-
inputConversion?: InputConversion;
|
|
714
|
-
mapping?: Mapping;
|
|
715
|
-
outputConversion?: OutputConversion;
|
|
716
|
-
sampleDocuments?: SampleDocuments;
|
|
716
|
+
clientToken?: string | undefined;
|
|
717
|
+
tags?: Tag[] | undefined;
|
|
718
|
+
fileFormat?: FileFormat | undefined;
|
|
719
|
+
mappingTemplate?: string | undefined;
|
|
720
|
+
ediType?: EdiType | undefined;
|
|
721
|
+
sampleDocument?: string | undefined;
|
|
722
|
+
inputConversion?: InputConversion | undefined;
|
|
723
|
+
mapping?: Mapping | undefined;
|
|
724
|
+
outputConversion?: OutputConversion | undefined;
|
|
725
|
+
sampleDocuments?: SampleDocuments | undefined;
|
|
717
726
|
}
|
|
718
727
|
export declare const TransformerStatus: {
|
|
719
728
|
readonly ACTIVE: "active";
|
|
@@ -727,14 +736,14 @@ export interface CreateTransformerResponse {
|
|
|
727
736
|
name: string | undefined;
|
|
728
737
|
status: TransformerStatus | undefined;
|
|
729
738
|
createdAt: Date | undefined;
|
|
730
|
-
fileFormat?: FileFormat;
|
|
731
|
-
mappingTemplate?: string;
|
|
732
|
-
ediType?: EdiType;
|
|
733
|
-
sampleDocument?: string;
|
|
734
|
-
inputConversion?: InputConversion;
|
|
735
|
-
mapping?: Mapping;
|
|
736
|
-
outputConversion?: OutputConversion;
|
|
737
|
-
sampleDocuments?: SampleDocuments;
|
|
739
|
+
fileFormat?: FileFormat | undefined;
|
|
740
|
+
mappingTemplate?: string | undefined;
|
|
741
|
+
ediType?: EdiType | undefined;
|
|
742
|
+
sampleDocument?: string | undefined;
|
|
743
|
+
inputConversion?: InputConversion | undefined;
|
|
744
|
+
mapping?: Mapping | undefined;
|
|
745
|
+
outputConversion?: OutputConversion | undefined;
|
|
746
|
+
sampleDocuments?: SampleDocuments | undefined;
|
|
738
747
|
}
|
|
739
748
|
export interface DeleteTransformerRequest {
|
|
740
749
|
transformerId: string | undefined;
|
|
@@ -748,51 +757,51 @@ export interface GetTransformerResponse {
|
|
|
748
757
|
name: string | undefined;
|
|
749
758
|
status: TransformerStatus | undefined;
|
|
750
759
|
createdAt: Date | undefined;
|
|
751
|
-
modifiedAt?: Date;
|
|
752
|
-
fileFormat?: FileFormat;
|
|
753
|
-
mappingTemplate?: string;
|
|
754
|
-
ediType?: EdiType;
|
|
755
|
-
sampleDocument?: string;
|
|
756
|
-
inputConversion?: InputConversion;
|
|
757
|
-
mapping?: Mapping;
|
|
758
|
-
outputConversion?: OutputConversion;
|
|
759
|
-
sampleDocuments?: SampleDocuments;
|
|
760
|
+
modifiedAt?: Date | undefined;
|
|
761
|
+
fileFormat?: FileFormat | undefined;
|
|
762
|
+
mappingTemplate?: string | undefined;
|
|
763
|
+
ediType?: EdiType | undefined;
|
|
764
|
+
sampleDocument?: string | undefined;
|
|
765
|
+
inputConversion?: InputConversion | undefined;
|
|
766
|
+
mapping?: Mapping | undefined;
|
|
767
|
+
outputConversion?: OutputConversion | undefined;
|
|
768
|
+
sampleDocuments?: SampleDocuments | undefined;
|
|
760
769
|
}
|
|
761
770
|
export interface ListTransformersRequest {
|
|
762
|
-
nextToken?: string;
|
|
763
|
-
maxResults?: number;
|
|
771
|
+
nextToken?: string | undefined;
|
|
772
|
+
maxResults?: number | undefined;
|
|
764
773
|
}
|
|
765
774
|
export interface TransformerSummary {
|
|
766
775
|
transformerId: string | undefined;
|
|
767
776
|
name: string | undefined;
|
|
768
777
|
status: TransformerStatus | undefined;
|
|
769
778
|
createdAt: Date | undefined;
|
|
770
|
-
modifiedAt?: Date;
|
|
771
|
-
fileFormat?: FileFormat;
|
|
772
|
-
mappingTemplate?: string;
|
|
773
|
-
ediType?: EdiType;
|
|
774
|
-
sampleDocument?: string;
|
|
775
|
-
inputConversion?: InputConversion;
|
|
776
|
-
mapping?: Mapping;
|
|
777
|
-
outputConversion?: OutputConversion;
|
|
778
|
-
sampleDocuments?: SampleDocuments;
|
|
779
|
+
modifiedAt?: Date | undefined;
|
|
780
|
+
fileFormat?: FileFormat | undefined;
|
|
781
|
+
mappingTemplate?: string | undefined;
|
|
782
|
+
ediType?: EdiType | undefined;
|
|
783
|
+
sampleDocument?: string | undefined;
|
|
784
|
+
inputConversion?: InputConversion | undefined;
|
|
785
|
+
mapping?: Mapping | undefined;
|
|
786
|
+
outputConversion?: OutputConversion | undefined;
|
|
787
|
+
sampleDocuments?: SampleDocuments | undefined;
|
|
779
788
|
}
|
|
780
789
|
export interface ListTransformersResponse {
|
|
781
790
|
transformers: TransformerSummary[] | undefined;
|
|
782
|
-
nextToken?: string;
|
|
791
|
+
nextToken?: string | undefined;
|
|
783
792
|
}
|
|
784
793
|
export interface UpdateTransformerRequest {
|
|
785
794
|
transformerId: string | undefined;
|
|
786
|
-
name?: string;
|
|
787
|
-
status?: TransformerStatus;
|
|
788
|
-
fileFormat?: FileFormat;
|
|
789
|
-
mappingTemplate?: string;
|
|
790
|
-
ediType?: EdiType;
|
|
791
|
-
sampleDocument?: string;
|
|
792
|
-
inputConversion?: InputConversion;
|
|
793
|
-
mapping?: Mapping;
|
|
794
|
-
outputConversion?: OutputConversion;
|
|
795
|
-
sampleDocuments?: SampleDocuments;
|
|
795
|
+
name?: string | undefined;
|
|
796
|
+
status?: TransformerStatus | undefined;
|
|
797
|
+
fileFormat?: FileFormat | undefined;
|
|
798
|
+
mappingTemplate?: string | undefined;
|
|
799
|
+
ediType?: EdiType | undefined;
|
|
800
|
+
sampleDocument?: string | undefined;
|
|
801
|
+
inputConversion?: InputConversion | undefined;
|
|
802
|
+
mapping?: Mapping | undefined;
|
|
803
|
+
outputConversion?: OutputConversion | undefined;
|
|
804
|
+
sampleDocuments?: SampleDocuments | undefined;
|
|
796
805
|
}
|
|
797
806
|
export interface UpdateTransformerResponse {
|
|
798
807
|
transformerId: string | undefined;
|
|
@@ -801,14 +810,14 @@ export interface UpdateTransformerResponse {
|
|
|
801
810
|
status: TransformerStatus | undefined;
|
|
802
811
|
createdAt: Date | undefined;
|
|
803
812
|
modifiedAt: Date | undefined;
|
|
804
|
-
fileFormat?: FileFormat;
|
|
805
|
-
mappingTemplate?: string;
|
|
806
|
-
ediType?: EdiType;
|
|
807
|
-
sampleDocument?: string;
|
|
808
|
-
inputConversion?: InputConversion;
|
|
809
|
-
mapping?: Mapping;
|
|
810
|
-
outputConversion?: OutputConversion;
|
|
811
|
-
sampleDocuments?: SampleDocuments;
|
|
813
|
+
fileFormat?: FileFormat | undefined;
|
|
814
|
+
mappingTemplate?: string | undefined;
|
|
815
|
+
ediType?: EdiType | undefined;
|
|
816
|
+
sampleDocument?: string | undefined;
|
|
817
|
+
inputConversion?: InputConversion | undefined;
|
|
818
|
+
mapping?: Mapping | undefined;
|
|
819
|
+
outputConversion?: OutputConversion | undefined;
|
|
820
|
+
sampleDocuments?: SampleDocuments | undefined;
|
|
812
821
|
}
|
|
813
822
|
export interface UntagResourceRequest {
|
|
814
823
|
ResourceARN: string | undefined;
|
|
@@ -39,6 +39,10 @@ import {
|
|
|
39
39
|
DeleteTransformerCommandInput,
|
|
40
40
|
DeleteTransformerCommandOutput,
|
|
41
41
|
} from "../commands/DeleteTransformerCommand";
|
|
42
|
+
import {
|
|
43
|
+
GenerateMappingCommandInput,
|
|
44
|
+
GenerateMappingCommandOutput,
|
|
45
|
+
} from "../commands/GenerateMappingCommand";
|
|
42
46
|
import {
|
|
43
47
|
GetCapabilityCommandInput,
|
|
44
48
|
GetCapabilityCommandOutput,
|
|
@@ -155,6 +159,10 @@ export declare const se_DeleteTransformerCommand: (
|
|
|
155
159
|
input: DeleteTransformerCommandInput,
|
|
156
160
|
context: __SerdeContext
|
|
157
161
|
) => Promise<__HttpRequest>;
|
|
162
|
+
export declare const se_GenerateMappingCommand: (
|
|
163
|
+
input: GenerateMappingCommandInput,
|
|
164
|
+
context: __SerdeContext
|
|
165
|
+
) => Promise<__HttpRequest>;
|
|
158
166
|
export declare const se_GetCapabilityCommand: (
|
|
159
167
|
input: GetCapabilityCommandInput,
|
|
160
168
|
context: __SerdeContext
|
|
@@ -271,6 +279,10 @@ export declare const de_DeleteTransformerCommand: (
|
|
|
271
279
|
output: __HttpResponse,
|
|
272
280
|
context: __SerdeContext
|
|
273
281
|
) => Promise<DeleteTransformerCommandOutput>;
|
|
282
|
+
export declare const de_GenerateMappingCommand: (
|
|
283
|
+
output: __HttpResponse,
|
|
284
|
+
context: __SerdeContext
|
|
285
|
+
) => Promise<GenerateMappingCommandOutput>;
|
|
274
286
|
export declare const de_GetCapabilityCommand: (
|
|
275
287
|
output: __HttpResponse,
|
|
276
288
|
context: __SerdeContext
|