@aws-sdk/client-amplifyuibuilder 3.687.0 → 3.691.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/dist-types/models/models_0.d.ts +241 -241
- package/dist-types/ts3.4/models/models_0.d.ts +245 -241
- package/package.json +7 -7
|
@@ -2,7 +2,7 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
2
2
|
import { AmplifyUIBuilderServiceException as __BaseException } from "./AmplifyUIBuilderServiceException";
|
|
3
3
|
export interface ComponentPropertyBindingProperties {
|
|
4
4
|
property: string | undefined;
|
|
5
|
-
field?: string;
|
|
5
|
+
field?: string | undefined;
|
|
6
6
|
}
|
|
7
7
|
export interface FormBindingElement {
|
|
8
8
|
element: string | undefined;
|
|
@@ -14,17 +14,17 @@ export interface GetCodegenJobRequest {
|
|
|
14
14
|
id: string | undefined;
|
|
15
15
|
}
|
|
16
16
|
export interface CodegenJobAsset {
|
|
17
|
-
downloadUrl?: string;
|
|
17
|
+
downloadUrl?: string | undefined;
|
|
18
18
|
}
|
|
19
19
|
export interface CodegenDependency {
|
|
20
|
-
name?: string;
|
|
21
|
-
supportedVersion?: string;
|
|
22
|
-
isSemVer?: boolean;
|
|
23
|
-
reason?: string;
|
|
20
|
+
name?: string | undefined;
|
|
21
|
+
supportedVersion?: string | undefined;
|
|
22
|
+
isSemVer?: boolean | undefined;
|
|
23
|
+
reason?: string | undefined;
|
|
24
24
|
}
|
|
25
25
|
export interface CodegenFeatureFlags {
|
|
26
|
-
isRelationshipSupported?: boolean;
|
|
27
|
-
isNonModelSupported?: boolean;
|
|
26
|
+
isRelationshipSupported?: boolean | undefined;
|
|
27
|
+
isNonModelSupported?: boolean | undefined;
|
|
28
28
|
}
|
|
29
29
|
export declare const CodegenJobGenericDataSourceType: {
|
|
30
30
|
readonly DATA_STORE: "DataStore";
|
|
@@ -65,13 +65,13 @@ export type GenericDataRelationshipType =
|
|
|
65
65
|
export interface CodegenGenericDataRelationshipType {
|
|
66
66
|
type: GenericDataRelationshipType | undefined;
|
|
67
67
|
relatedModelName: string | undefined;
|
|
68
|
-
relatedModelFields?: string[];
|
|
69
|
-
canUnlinkAssociatedModel?: boolean;
|
|
70
|
-
relatedJoinFieldName?: string;
|
|
71
|
-
relatedJoinTableName?: string;
|
|
72
|
-
belongsToFieldOnRelatedModel?: string;
|
|
73
|
-
associatedFields?: string[];
|
|
74
|
-
isHasManyIndex?: boolean;
|
|
68
|
+
relatedModelFields?: string[] | undefined;
|
|
69
|
+
canUnlinkAssociatedModel?: boolean | undefined;
|
|
70
|
+
relatedJoinFieldName?: string | undefined;
|
|
71
|
+
relatedJoinTableName?: string | undefined;
|
|
72
|
+
belongsToFieldOnRelatedModel?: string | undefined;
|
|
73
|
+
associatedFields?: string[] | undefined;
|
|
74
|
+
isHasManyIndex?: boolean | undefined;
|
|
75
75
|
}
|
|
76
76
|
export interface CodegenGenericDataField {
|
|
77
77
|
dataType: CodegenGenericDataFieldDataType | undefined;
|
|
@@ -79,11 +79,11 @@ export interface CodegenGenericDataField {
|
|
|
79
79
|
required: boolean | undefined;
|
|
80
80
|
readOnly: boolean | undefined;
|
|
81
81
|
isArray: boolean | undefined;
|
|
82
|
-
relationship?: CodegenGenericDataRelationshipType;
|
|
82
|
+
relationship?: CodegenGenericDataRelationshipType | undefined;
|
|
83
83
|
}
|
|
84
84
|
export interface CodegenGenericDataModel {
|
|
85
85
|
fields: Record<string, CodegenGenericDataField> | undefined;
|
|
86
|
-
isJoinTable?: boolean;
|
|
86
|
+
isJoinTable?: boolean | undefined;
|
|
87
87
|
primaryKeys: string[] | undefined;
|
|
88
88
|
}
|
|
89
89
|
export interface CodegenGenericDataNonModel {
|
|
@@ -159,13 +159,13 @@ export declare const JSTarget: {
|
|
|
159
159
|
};
|
|
160
160
|
export type JSTarget = (typeof JSTarget)[keyof typeof JSTarget];
|
|
161
161
|
export interface ReactStartCodegenJobData {
|
|
162
|
-
module?: JSModule;
|
|
163
|
-
target?: JSTarget;
|
|
164
|
-
script?: JSScript;
|
|
165
|
-
renderTypeDeclarations?: boolean;
|
|
166
|
-
inlineSourceMap?: boolean;
|
|
167
|
-
apiConfiguration?: ApiConfiguration;
|
|
168
|
-
dependencies?: Record<string, string
|
|
162
|
+
module?: JSModule | undefined;
|
|
163
|
+
target?: JSTarget | undefined;
|
|
164
|
+
script?: JSScript | undefined;
|
|
165
|
+
renderTypeDeclarations?: boolean | undefined;
|
|
166
|
+
inlineSourceMap?: boolean | undefined;
|
|
167
|
+
apiConfiguration?: ApiConfiguration | undefined;
|
|
168
|
+
dependencies?: Record<string, string> | undefined;
|
|
169
169
|
}
|
|
170
170
|
export type CodegenJobRenderConfig =
|
|
171
171
|
| CodegenJobRenderConfig.ReactMember
|
|
@@ -196,20 +196,20 @@ export interface CodegenJob {
|
|
|
196
196
|
id: string | undefined;
|
|
197
197
|
appId: string | undefined;
|
|
198
198
|
environmentName: string | undefined;
|
|
199
|
-
renderConfig?: CodegenJobRenderConfig;
|
|
200
|
-
genericDataSchema?: CodegenJobGenericDataSchema;
|
|
201
|
-
autoGenerateForms?: boolean;
|
|
202
|
-
features?: CodegenFeatureFlags;
|
|
203
|
-
status?: CodegenJobStatus;
|
|
204
|
-
statusMessage?: string;
|
|
205
|
-
asset?: CodegenJobAsset;
|
|
206
|
-
tags?: Record<string, string
|
|
207
|
-
createdAt?: Date;
|
|
208
|
-
modifiedAt?: Date;
|
|
209
|
-
dependencies?: CodegenDependency[];
|
|
199
|
+
renderConfig?: CodegenJobRenderConfig | undefined;
|
|
200
|
+
genericDataSchema?: CodegenJobGenericDataSchema | undefined;
|
|
201
|
+
autoGenerateForms?: boolean | undefined;
|
|
202
|
+
features?: CodegenFeatureFlags | undefined;
|
|
203
|
+
status?: CodegenJobStatus | undefined;
|
|
204
|
+
statusMessage?: string | undefined;
|
|
205
|
+
asset?: CodegenJobAsset | undefined;
|
|
206
|
+
tags?: Record<string, string> | undefined;
|
|
207
|
+
createdAt?: Date | undefined;
|
|
208
|
+
modifiedAt?: Date | undefined;
|
|
209
|
+
dependencies?: CodegenDependency[] | undefined;
|
|
210
210
|
}
|
|
211
211
|
export interface GetCodegenJobResponse {
|
|
212
|
-
job?: CodegenJob;
|
|
212
|
+
job?: CodegenJob | undefined;
|
|
213
213
|
}
|
|
214
214
|
export declare class InternalServerException extends __BaseException {
|
|
215
215
|
readonly name: "InternalServerException";
|
|
@@ -242,35 +242,35 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
242
242
|
export interface ListCodegenJobsRequest {
|
|
243
243
|
appId: string | undefined;
|
|
244
244
|
environmentName: string | undefined;
|
|
245
|
-
nextToken?: string;
|
|
246
|
-
maxResults?: number;
|
|
245
|
+
nextToken?: string | undefined;
|
|
246
|
+
maxResults?: number | undefined;
|
|
247
247
|
}
|
|
248
248
|
export interface CodegenJobSummary {
|
|
249
249
|
appId: string | undefined;
|
|
250
250
|
environmentName: string | undefined;
|
|
251
251
|
id: string | undefined;
|
|
252
|
-
createdAt?: Date;
|
|
253
|
-
modifiedAt?: Date;
|
|
252
|
+
createdAt?: Date | undefined;
|
|
253
|
+
modifiedAt?: Date | undefined;
|
|
254
254
|
}
|
|
255
255
|
export interface ListCodegenJobsResponse {
|
|
256
256
|
entities: CodegenJobSummary[] | undefined;
|
|
257
|
-
nextToken?: string;
|
|
257
|
+
nextToken?: string | undefined;
|
|
258
258
|
}
|
|
259
259
|
export interface StartCodegenJobData {
|
|
260
260
|
renderConfig: CodegenJobRenderConfig | undefined;
|
|
261
|
-
genericDataSchema?: CodegenJobGenericDataSchema;
|
|
262
|
-
autoGenerateForms?: boolean;
|
|
263
|
-
features?: CodegenFeatureFlags;
|
|
264
|
-
tags?: Record<string, string
|
|
261
|
+
genericDataSchema?: CodegenJobGenericDataSchema | undefined;
|
|
262
|
+
autoGenerateForms?: boolean | undefined;
|
|
263
|
+
features?: CodegenFeatureFlags | undefined;
|
|
264
|
+
tags?: Record<string, string> | undefined;
|
|
265
265
|
}
|
|
266
266
|
export interface StartCodegenJobRequest {
|
|
267
267
|
appId: string | undefined;
|
|
268
268
|
environmentName: string | undefined;
|
|
269
|
-
clientToken?: string;
|
|
269
|
+
clientToken?: string | undefined;
|
|
270
270
|
codegenJobToCreate: StartCodegenJobData | undefined;
|
|
271
271
|
}
|
|
272
272
|
export interface StartCodegenJobResponse {
|
|
273
|
-
entity?: CodegenJob;
|
|
273
|
+
entity?: CodegenJob | undefined;
|
|
274
274
|
}
|
|
275
275
|
export declare const SortDirection: {
|
|
276
276
|
readonly ASC: "ASC";
|
|
@@ -282,8 +282,8 @@ export interface SortProperty {
|
|
|
282
282
|
direction: SortDirection | undefined;
|
|
283
283
|
}
|
|
284
284
|
export interface ComponentVariant {
|
|
285
|
-
variantValues?: Record<string, string
|
|
286
|
-
overrides?: Record<string, Record<string, string
|
|
285
|
+
variantValues?: Record<string, string> | undefined;
|
|
286
|
+
overrides?: Record<string, Record<string, string>> | undefined;
|
|
287
287
|
}
|
|
288
288
|
export declare class ResourceConflictException extends __BaseException {
|
|
289
289
|
readonly name: "ResourceConflictException";
|
|
@@ -307,7 +307,7 @@ export interface DeleteComponentRequest {
|
|
|
307
307
|
export interface ExportComponentsRequest {
|
|
308
308
|
appId: string | undefined;
|
|
309
309
|
environmentName: string | undefined;
|
|
310
|
-
nextToken?: string;
|
|
310
|
+
nextToken?: string | undefined;
|
|
311
311
|
}
|
|
312
312
|
export interface GetComponentRequest {
|
|
313
313
|
appId: string | undefined;
|
|
@@ -317,8 +317,8 @@ export interface GetComponentRequest {
|
|
|
317
317
|
export interface ListComponentsRequest {
|
|
318
318
|
appId: string | undefined;
|
|
319
319
|
environmentName: string | undefined;
|
|
320
|
-
nextToken?: string;
|
|
321
|
-
maxResults?: number;
|
|
320
|
+
nextToken?: string | undefined;
|
|
321
|
+
maxResults?: number | undefined;
|
|
322
322
|
}
|
|
323
323
|
export interface ComponentSummary {
|
|
324
324
|
appId: string | undefined;
|
|
@@ -329,7 +329,7 @@ export interface ComponentSummary {
|
|
|
329
329
|
}
|
|
330
330
|
export interface ListComponentsResponse {
|
|
331
331
|
entities: ComponentSummary[] | undefined;
|
|
332
|
-
nextToken?: string;
|
|
332
|
+
nextToken?: string | undefined;
|
|
333
333
|
}
|
|
334
334
|
export declare const TokenProviders: {
|
|
335
335
|
readonly FIGMA: "figma";
|
|
@@ -339,7 +339,7 @@ export type TokenProviders =
|
|
|
339
339
|
export interface ExchangeCodeForTokenRequestBody {
|
|
340
340
|
code: string | undefined;
|
|
341
341
|
redirectUri: string | undefined;
|
|
342
|
-
clientId?: string;
|
|
342
|
+
clientId?: string | undefined;
|
|
343
343
|
}
|
|
344
344
|
export interface ExchangeCodeForTokenRequest {
|
|
345
345
|
provider: TokenProviders | undefined;
|
|
@@ -393,9 +393,9 @@ export declare namespace FieldPosition {
|
|
|
393
393
|
const visit: <T>(value: FieldPosition, visitor: Visitor<T>) => T;
|
|
394
394
|
}
|
|
395
395
|
export interface FormButton {
|
|
396
|
-
excluded?: boolean;
|
|
397
|
-
children?: string;
|
|
398
|
-
position?: FieldPosition;
|
|
396
|
+
excluded?: boolean | undefined;
|
|
397
|
+
children?: string | undefined;
|
|
398
|
+
position?: FieldPosition | undefined;
|
|
399
399
|
}
|
|
400
400
|
export declare const FormButtonsPosition: {
|
|
401
401
|
readonly BOTTOM: "bottom";
|
|
@@ -405,10 +405,10 @@ export declare const FormButtonsPosition: {
|
|
|
405
405
|
export type FormButtonsPosition =
|
|
406
406
|
(typeof FormButtonsPosition)[keyof typeof FormButtonsPosition];
|
|
407
407
|
export interface FormCTA {
|
|
408
|
-
position?: FormButtonsPosition;
|
|
409
|
-
clear?: FormButton;
|
|
410
|
-
cancel?: FormButton;
|
|
411
|
-
submit?: FormButton;
|
|
408
|
+
position?: FormButtonsPosition | undefined;
|
|
409
|
+
clear?: FormButton | undefined;
|
|
410
|
+
cancel?: FormButton | undefined;
|
|
411
|
+
submit?: FormButton | undefined;
|
|
412
412
|
}
|
|
413
413
|
export declare const FormDataSourceType: {
|
|
414
414
|
readonly CUSTOM: "Custom";
|
|
@@ -430,27 +430,27 @@ export type StorageAccessLevel =
|
|
|
430
430
|
export interface FileUploaderFieldConfig {
|
|
431
431
|
accessLevel: StorageAccessLevel | undefined;
|
|
432
432
|
acceptedFileTypes: string[] | undefined;
|
|
433
|
-
showThumbnails?: boolean;
|
|
434
|
-
isResumable?: boolean;
|
|
435
|
-
maxFileCount?: number;
|
|
436
|
-
maxSize?: number;
|
|
433
|
+
showThumbnails?: boolean | undefined;
|
|
434
|
+
isResumable?: boolean | undefined;
|
|
435
|
+
maxFileCount?: number | undefined;
|
|
436
|
+
maxSize?: number | undefined;
|
|
437
437
|
}
|
|
438
438
|
export interface FormInputBindingPropertiesValueProperties {
|
|
439
|
-
model?: string;
|
|
439
|
+
model?: string | undefined;
|
|
440
440
|
}
|
|
441
441
|
export interface FormInputBindingPropertiesValue {
|
|
442
|
-
type?: string;
|
|
443
|
-
bindingProperties?: FormInputBindingPropertiesValueProperties;
|
|
442
|
+
type?: string | undefined;
|
|
443
|
+
bindingProperties?: FormInputBindingPropertiesValueProperties | undefined;
|
|
444
444
|
}
|
|
445
445
|
export interface FormInputValuePropertyBindingProperties {
|
|
446
446
|
property: string | undefined;
|
|
447
|
-
field?: string;
|
|
447
|
+
field?: string | undefined;
|
|
448
448
|
}
|
|
449
449
|
export interface FieldValidationConfiguration {
|
|
450
450
|
type: string | undefined;
|
|
451
|
-
strValues?: string[];
|
|
452
|
-
numValues?: number[];
|
|
453
|
-
validationMessage?: string;
|
|
451
|
+
strValues?: string[] | undefined;
|
|
452
|
+
numValues?: number[] | undefined;
|
|
453
|
+
validationMessage?: string | undefined;
|
|
454
454
|
}
|
|
455
455
|
export declare const FormActionType: {
|
|
456
456
|
readonly CREATE: "create";
|
|
@@ -467,11 +467,11 @@ export type LabelDecorator =
|
|
|
467
467
|
(typeof LabelDecorator)[keyof typeof LabelDecorator];
|
|
468
468
|
export interface SectionalElement {
|
|
469
469
|
type: string | undefined;
|
|
470
|
-
position?: FieldPosition;
|
|
471
|
-
text?: string;
|
|
472
|
-
level?: number;
|
|
473
|
-
orientation?: string;
|
|
474
|
-
excluded?: boolean;
|
|
470
|
+
position?: FieldPosition | undefined;
|
|
471
|
+
text?: string | undefined;
|
|
472
|
+
level?: number | undefined;
|
|
473
|
+
orientation?: string | undefined;
|
|
474
|
+
excluded?: boolean | undefined;
|
|
475
475
|
}
|
|
476
476
|
export type FormStyleConfig =
|
|
477
477
|
| FormStyleConfig.TokenReferenceMember
|
|
@@ -501,9 +501,9 @@ export declare namespace FormStyleConfig {
|
|
|
501
501
|
const visit: <T>(value: FormStyleConfig, visitor: Visitor<T>) => T;
|
|
502
502
|
}
|
|
503
503
|
export interface FormStyle {
|
|
504
|
-
horizontalGap?: FormStyleConfig;
|
|
505
|
-
verticalGap?: FormStyleConfig;
|
|
506
|
-
outerPadding?: FormStyleConfig;
|
|
504
|
+
horizontalGap?: FormStyleConfig | undefined;
|
|
505
|
+
verticalGap?: FormStyleConfig | undefined;
|
|
506
|
+
outerPadding?: FormStyleConfig | undefined;
|
|
507
507
|
}
|
|
508
508
|
export interface DeleteFormRequest {
|
|
509
509
|
appId: string | undefined;
|
|
@@ -513,7 +513,7 @@ export interface DeleteFormRequest {
|
|
|
513
513
|
export interface ExportFormsRequest {
|
|
514
514
|
appId: string | undefined;
|
|
515
515
|
environmentName: string | undefined;
|
|
516
|
-
nextToken?: string;
|
|
516
|
+
nextToken?: string | undefined;
|
|
517
517
|
}
|
|
518
518
|
export interface GetFormRequest {
|
|
519
519
|
appId: string | undefined;
|
|
@@ -523,8 +523,8 @@ export interface GetFormRequest {
|
|
|
523
523
|
export interface ListFormsRequest {
|
|
524
524
|
appId: string | undefined;
|
|
525
525
|
environmentName: string | undefined;
|
|
526
|
-
nextToken?: string;
|
|
527
|
-
maxResults?: number;
|
|
526
|
+
nextToken?: string | undefined;
|
|
527
|
+
maxResults?: number | undefined;
|
|
528
528
|
}
|
|
529
529
|
export interface FormSummary {
|
|
530
530
|
appId: string | undefined;
|
|
@@ -536,7 +536,7 @@ export interface FormSummary {
|
|
|
536
536
|
}
|
|
537
537
|
export interface ListFormsResponse {
|
|
538
538
|
entities: FormSummary[] | undefined;
|
|
539
|
-
nextToken?: string;
|
|
539
|
+
nextToken?: string | undefined;
|
|
540
540
|
}
|
|
541
541
|
export interface GetMetadataRequest {
|
|
542
542
|
appId: string | undefined;
|
|
@@ -569,7 +569,7 @@ export interface PutMetadataFlagRequest {
|
|
|
569
569
|
}
|
|
570
570
|
export interface RefreshTokenRequestBody {
|
|
571
571
|
token: string | undefined;
|
|
572
|
-
clientId?: string;
|
|
572
|
+
clientId?: string | undefined;
|
|
573
573
|
}
|
|
574
574
|
export interface RefreshTokenRequest {
|
|
575
575
|
provider: TokenProviders | undefined;
|
|
@@ -592,7 +592,7 @@ export interface DeleteThemeRequest {
|
|
|
592
592
|
export interface ExportThemesRequest {
|
|
593
593
|
appId: string | undefined;
|
|
594
594
|
environmentName: string | undefined;
|
|
595
|
-
nextToken?: string;
|
|
595
|
+
nextToken?: string | undefined;
|
|
596
596
|
}
|
|
597
597
|
export interface GetThemeRequest {
|
|
598
598
|
appId: string | undefined;
|
|
@@ -602,8 +602,8 @@ export interface GetThemeRequest {
|
|
|
602
602
|
export interface ListThemesRequest {
|
|
603
603
|
appId: string | undefined;
|
|
604
604
|
environmentName: string | undefined;
|
|
605
|
-
nextToken?: string;
|
|
606
|
-
maxResults?: number;
|
|
605
|
+
nextToken?: string | undefined;
|
|
606
|
+
maxResults?: number | undefined;
|
|
607
607
|
}
|
|
608
608
|
export interface ThemeSummary {
|
|
609
609
|
appId: string | undefined;
|
|
@@ -613,7 +613,7 @@ export interface ThemeSummary {
|
|
|
613
613
|
}
|
|
614
614
|
export interface ListThemesResponse {
|
|
615
615
|
entities: ThemeSummary[] | undefined;
|
|
616
|
-
nextToken?: string;
|
|
616
|
+
nextToken?: string | undefined;
|
|
617
617
|
}
|
|
618
618
|
export interface UntagResourceRequest {
|
|
619
619
|
resourceArn: string | undefined;
|
|
@@ -621,73 +621,73 @@ export interface UntagResourceRequest {
|
|
|
621
621
|
}
|
|
622
622
|
export interface UntagResourceResponse {}
|
|
623
623
|
export interface FormInputValueProperty {
|
|
624
|
-
value?: string;
|
|
625
|
-
bindingProperties?: FormInputValuePropertyBindingProperties;
|
|
626
|
-
concat?: FormInputValueProperty[];
|
|
624
|
+
value?: string | undefined;
|
|
625
|
+
bindingProperties?: FormInputValuePropertyBindingProperties | undefined;
|
|
626
|
+
concat?: FormInputValueProperty[] | undefined;
|
|
627
627
|
}
|
|
628
628
|
export interface ThemeValue {
|
|
629
|
-
value?: string;
|
|
630
|
-
children?: ThemeValues[];
|
|
629
|
+
value?: string | undefined;
|
|
630
|
+
children?: ThemeValues[] | undefined;
|
|
631
631
|
}
|
|
632
632
|
export interface ThemeValues {
|
|
633
|
-
key?: string;
|
|
634
|
-
value?: ThemeValue;
|
|
633
|
+
key?: string | undefined;
|
|
634
|
+
value?: ThemeValue | undefined;
|
|
635
635
|
}
|
|
636
636
|
export interface Predicate {
|
|
637
|
-
or?: Predicate[];
|
|
638
|
-
and?: Predicate[];
|
|
639
|
-
field?: string;
|
|
640
|
-
operator?: string;
|
|
641
|
-
operand?: string;
|
|
642
|
-
operandType?: string;
|
|
637
|
+
or?: Predicate[] | undefined;
|
|
638
|
+
and?: Predicate[] | undefined;
|
|
639
|
+
field?: string | undefined;
|
|
640
|
+
operator?: string | undefined;
|
|
641
|
+
operand?: string | undefined;
|
|
642
|
+
operandType?: string | undefined;
|
|
643
643
|
}
|
|
644
644
|
export interface ComponentBindingPropertiesValueProperties {
|
|
645
|
-
model?: string;
|
|
646
|
-
field?: string;
|
|
647
|
-
predicates?: Predicate[];
|
|
648
|
-
userAttribute?: string;
|
|
649
|
-
bucket?: string;
|
|
650
|
-
key?: string;
|
|
651
|
-
defaultValue?: string;
|
|
652
|
-
slotName?: string;
|
|
645
|
+
model?: string | undefined;
|
|
646
|
+
field?: string | undefined;
|
|
647
|
+
predicates?: Predicate[] | undefined;
|
|
648
|
+
userAttribute?: string | undefined;
|
|
649
|
+
bucket?: string | undefined;
|
|
650
|
+
key?: string | undefined;
|
|
651
|
+
defaultValue?: string | undefined;
|
|
652
|
+
slotName?: string | undefined;
|
|
653
653
|
}
|
|
654
654
|
export interface ComponentDataConfiguration {
|
|
655
655
|
model: string | undefined;
|
|
656
|
-
sort?: SortProperty[];
|
|
657
|
-
predicate?: Predicate;
|
|
658
|
-
identifiers?: string[];
|
|
656
|
+
sort?: SortProperty[] | undefined;
|
|
657
|
+
predicate?: Predicate | undefined;
|
|
658
|
+
identifiers?: string[] | undefined;
|
|
659
659
|
}
|
|
660
660
|
export interface ComponentProperty {
|
|
661
|
-
value?: string;
|
|
662
|
-
bindingProperties?: ComponentPropertyBindingProperties;
|
|
663
|
-
collectionBindingProperties?: ComponentPropertyBindingProperties;
|
|
664
|
-
defaultValue?: string;
|
|
665
|
-
model?: string;
|
|
666
|
-
bindings?: Record<string, FormBindingElement
|
|
667
|
-
event?: string;
|
|
668
|
-
userAttribute?: string;
|
|
669
|
-
concat?: ComponentProperty[];
|
|
670
|
-
condition?: ComponentConditionProperty;
|
|
671
|
-
configured?: boolean;
|
|
672
|
-
type?: string;
|
|
673
|
-
importedValue?: string;
|
|
674
|
-
componentName?: string;
|
|
675
|
-
property?: string;
|
|
661
|
+
value?: string | undefined;
|
|
662
|
+
bindingProperties?: ComponentPropertyBindingProperties | undefined;
|
|
663
|
+
collectionBindingProperties?: ComponentPropertyBindingProperties | undefined;
|
|
664
|
+
defaultValue?: string | undefined;
|
|
665
|
+
model?: string | undefined;
|
|
666
|
+
bindings?: Record<string, FormBindingElement> | undefined;
|
|
667
|
+
event?: string | undefined;
|
|
668
|
+
userAttribute?: string | undefined;
|
|
669
|
+
concat?: ComponentProperty[] | undefined;
|
|
670
|
+
condition?: ComponentConditionProperty | undefined;
|
|
671
|
+
configured?: boolean | undefined;
|
|
672
|
+
type?: string | undefined;
|
|
673
|
+
importedValue?: string | undefined;
|
|
674
|
+
componentName?: string | undefined;
|
|
675
|
+
property?: string | undefined;
|
|
676
676
|
}
|
|
677
677
|
export interface ValueMapping {
|
|
678
|
-
displayValue?: FormInputValueProperty;
|
|
678
|
+
displayValue?: FormInputValueProperty | undefined;
|
|
679
679
|
value: FormInputValueProperty | undefined;
|
|
680
680
|
}
|
|
681
681
|
export interface ComponentBindingPropertiesValue {
|
|
682
|
-
type?: string;
|
|
683
|
-
bindingProperties?: ComponentBindingPropertiesValueProperties;
|
|
684
|
-
defaultValue?: string;
|
|
682
|
+
type?: string | undefined;
|
|
683
|
+
bindingProperties?: ComponentBindingPropertiesValueProperties | undefined;
|
|
684
|
+
defaultValue?: string | undefined;
|
|
685
685
|
}
|
|
686
686
|
export interface CreateThemeData {
|
|
687
687
|
name: string | undefined;
|
|
688
688
|
values: ThemeValues[] | undefined;
|
|
689
|
-
overrides?: ThemeValues[];
|
|
690
|
-
tags?: Record<string, string
|
|
689
|
+
overrides?: ThemeValues[] | undefined;
|
|
690
|
+
tags?: Record<string, string> | undefined;
|
|
691
691
|
}
|
|
692
692
|
export interface Theme {
|
|
693
693
|
appId: string | undefined;
|
|
@@ -695,16 +695,16 @@ export interface Theme {
|
|
|
695
695
|
id: string | undefined;
|
|
696
696
|
name: string | undefined;
|
|
697
697
|
createdAt: Date | undefined;
|
|
698
|
-
modifiedAt?: Date;
|
|
698
|
+
modifiedAt?: Date | undefined;
|
|
699
699
|
values: ThemeValues[] | undefined;
|
|
700
|
-
overrides?: ThemeValues[];
|
|
701
|
-
tags?: Record<string, string
|
|
700
|
+
overrides?: ThemeValues[] | undefined;
|
|
701
|
+
tags?: Record<string, string> | undefined;
|
|
702
702
|
}
|
|
703
703
|
export interface UpdateThemeData {
|
|
704
|
-
id?: string;
|
|
705
|
-
name?: string;
|
|
704
|
+
id?: string | undefined;
|
|
705
|
+
name?: string | undefined;
|
|
706
706
|
values: ThemeValues[] | undefined;
|
|
707
|
-
overrides?: ThemeValues[];
|
|
707
|
+
overrides?: ThemeValues[] | undefined;
|
|
708
708
|
}
|
|
709
709
|
export interface MutationActionSetStateParameter {
|
|
710
710
|
componentName: string | undefined;
|
|
@@ -712,68 +712,70 @@ export interface MutationActionSetStateParameter {
|
|
|
712
712
|
set: ComponentProperty | undefined;
|
|
713
713
|
}
|
|
714
714
|
export interface ComponentConditionProperty {
|
|
715
|
-
property?: string;
|
|
716
|
-
field?: string;
|
|
717
|
-
operator?: string;
|
|
718
|
-
operand?: string;
|
|
719
|
-
then?: ComponentProperty;
|
|
720
|
-
else?: ComponentProperty;
|
|
721
|
-
operandType?: string;
|
|
715
|
+
property?: string | undefined;
|
|
716
|
+
field?: string | undefined;
|
|
717
|
+
operator?: string | undefined;
|
|
718
|
+
operand?: string | undefined;
|
|
719
|
+
then?: ComponentProperty | undefined;
|
|
720
|
+
else?: ComponentProperty | undefined;
|
|
721
|
+
operandType?: string | undefined;
|
|
722
722
|
}
|
|
723
723
|
export interface CreateThemeRequest {
|
|
724
724
|
appId: string | undefined;
|
|
725
725
|
environmentName: string | undefined;
|
|
726
|
-
clientToken?: string;
|
|
726
|
+
clientToken?: string | undefined;
|
|
727
727
|
themeToCreate: CreateThemeData | undefined;
|
|
728
728
|
}
|
|
729
729
|
export interface CreateThemeResponse {
|
|
730
|
-
entity?: Theme;
|
|
730
|
+
entity?: Theme | undefined;
|
|
731
731
|
}
|
|
732
732
|
export interface GetThemeResponse {
|
|
733
|
-
theme?: Theme;
|
|
733
|
+
theme?: Theme | undefined;
|
|
734
734
|
}
|
|
735
735
|
export interface UpdateThemeRequest {
|
|
736
736
|
appId: string | undefined;
|
|
737
737
|
environmentName: string | undefined;
|
|
738
738
|
id: string | undefined;
|
|
739
|
-
clientToken?: string;
|
|
739
|
+
clientToken?: string | undefined;
|
|
740
740
|
updatedTheme: UpdateThemeData | undefined;
|
|
741
741
|
}
|
|
742
742
|
export interface UpdateThemeResponse {
|
|
743
|
-
entity?: Theme;
|
|
743
|
+
entity?: Theme | undefined;
|
|
744
744
|
}
|
|
745
745
|
export interface ValueMappings {
|
|
746
746
|
values: ValueMapping[] | undefined;
|
|
747
|
-
bindingProperties?:
|
|
747
|
+
bindingProperties?:
|
|
748
|
+
| Record<string, FormInputBindingPropertiesValue>
|
|
749
|
+
| undefined;
|
|
748
750
|
}
|
|
749
751
|
export interface ExportThemesResponse {
|
|
750
752
|
entities: Theme[] | undefined;
|
|
751
|
-
nextToken?: string;
|
|
753
|
+
nextToken?: string | undefined;
|
|
752
754
|
}
|
|
753
755
|
export interface FieldInputConfig {
|
|
754
756
|
type: string | undefined;
|
|
755
|
-
required?: boolean;
|
|
756
|
-
readOnly?: boolean;
|
|
757
|
-
placeholder?: string;
|
|
758
|
-
defaultValue?: string;
|
|
759
|
-
descriptiveText?: string;
|
|
760
|
-
defaultChecked?: boolean;
|
|
761
|
-
defaultCountryCode?: string;
|
|
762
|
-
valueMappings?: ValueMappings;
|
|
763
|
-
name?: string;
|
|
764
|
-
minValue?: number;
|
|
765
|
-
maxValue?: number;
|
|
766
|
-
step?: number;
|
|
767
|
-
value?: string;
|
|
768
|
-
isArray?: boolean;
|
|
769
|
-
fileUploaderConfig?: FileUploaderFieldConfig;
|
|
757
|
+
required?: boolean | undefined;
|
|
758
|
+
readOnly?: boolean | undefined;
|
|
759
|
+
placeholder?: string | undefined;
|
|
760
|
+
defaultValue?: string | undefined;
|
|
761
|
+
descriptiveText?: string | undefined;
|
|
762
|
+
defaultChecked?: boolean | undefined;
|
|
763
|
+
defaultCountryCode?: string | undefined;
|
|
764
|
+
valueMappings?: ValueMappings | undefined;
|
|
765
|
+
name?: string | undefined;
|
|
766
|
+
minValue?: number | undefined;
|
|
767
|
+
maxValue?: number | undefined;
|
|
768
|
+
step?: number | undefined;
|
|
769
|
+
value?: string | undefined;
|
|
770
|
+
isArray?: boolean | undefined;
|
|
771
|
+
fileUploaderConfig?: FileUploaderFieldConfig | undefined;
|
|
770
772
|
}
|
|
771
773
|
export interface FieldConfig {
|
|
772
|
-
label?: string;
|
|
773
|
-
position?: FieldPosition;
|
|
774
|
-
excluded?: boolean;
|
|
775
|
-
inputType?: FieldInputConfig;
|
|
776
|
-
validations?: FieldValidationConfiguration[];
|
|
774
|
+
label?: string | undefined;
|
|
775
|
+
position?: FieldPosition | undefined;
|
|
776
|
+
excluded?: boolean | undefined;
|
|
777
|
+
inputType?: FieldInputConfig | undefined;
|
|
778
|
+
validations?: FieldValidationConfiguration[] | undefined;
|
|
777
779
|
}
|
|
778
780
|
export interface CreateFormData {
|
|
779
781
|
name: string | undefined;
|
|
@@ -783,9 +785,9 @@ export interface CreateFormData {
|
|
|
783
785
|
style: FormStyle | undefined;
|
|
784
786
|
sectionalElements: Record<string, SectionalElement> | undefined;
|
|
785
787
|
schemaVersion: string | undefined;
|
|
786
|
-
cta?: FormCTA;
|
|
787
|
-
tags?: Record<string, string
|
|
788
|
-
labelDecorator?: LabelDecorator;
|
|
788
|
+
cta?: FormCTA | undefined;
|
|
789
|
+
tags?: Record<string, string> | undefined;
|
|
790
|
+
labelDecorator?: LabelDecorator | undefined;
|
|
789
791
|
}
|
|
790
792
|
export interface Form {
|
|
791
793
|
appId: string | undefined;
|
|
@@ -798,147 +800,149 @@ export interface Form {
|
|
|
798
800
|
fields: Record<string, FieldConfig> | undefined;
|
|
799
801
|
sectionalElements: Record<string, SectionalElement> | undefined;
|
|
800
802
|
schemaVersion: string | undefined;
|
|
801
|
-
tags?: Record<string, string
|
|
802
|
-
cta?: FormCTA;
|
|
803
|
-
labelDecorator?: LabelDecorator;
|
|
803
|
+
tags?: Record<string, string> | undefined;
|
|
804
|
+
cta?: FormCTA | undefined;
|
|
805
|
+
labelDecorator?: LabelDecorator | undefined;
|
|
804
806
|
}
|
|
805
807
|
export interface UpdateFormData {
|
|
806
|
-
name?: string;
|
|
807
|
-
dataType?: FormDataTypeConfig;
|
|
808
|
-
formActionType?: FormActionType;
|
|
809
|
-
fields?: Record<string, FieldConfig
|
|
810
|
-
style?: FormStyle;
|
|
811
|
-
sectionalElements?: Record<string, SectionalElement
|
|
812
|
-
schemaVersion?: string;
|
|
813
|
-
cta?: FormCTA;
|
|
814
|
-
labelDecorator?: LabelDecorator;
|
|
808
|
+
name?: string | undefined;
|
|
809
|
+
dataType?: FormDataTypeConfig | undefined;
|
|
810
|
+
formActionType?: FormActionType | undefined;
|
|
811
|
+
fields?: Record<string, FieldConfig> | undefined;
|
|
812
|
+
style?: FormStyle | undefined;
|
|
813
|
+
sectionalElements?: Record<string, SectionalElement> | undefined;
|
|
814
|
+
schemaVersion?: string | undefined;
|
|
815
|
+
cta?: FormCTA | undefined;
|
|
816
|
+
labelDecorator?: LabelDecorator | undefined;
|
|
815
817
|
}
|
|
816
818
|
export interface CreateFormRequest {
|
|
817
819
|
appId: string | undefined;
|
|
818
820
|
environmentName: string | undefined;
|
|
819
|
-
clientToken?: string;
|
|
821
|
+
clientToken?: string | undefined;
|
|
820
822
|
formToCreate: CreateFormData | undefined;
|
|
821
823
|
}
|
|
822
824
|
export interface CreateFormResponse {
|
|
823
|
-
entity?: Form;
|
|
825
|
+
entity?: Form | undefined;
|
|
824
826
|
}
|
|
825
827
|
export interface GetFormResponse {
|
|
826
|
-
form?: Form;
|
|
828
|
+
form?: Form | undefined;
|
|
827
829
|
}
|
|
828
830
|
export interface UpdateFormRequest {
|
|
829
831
|
appId: string | undefined;
|
|
830
832
|
environmentName: string | undefined;
|
|
831
833
|
id: string | undefined;
|
|
832
|
-
clientToken?: string;
|
|
834
|
+
clientToken?: string | undefined;
|
|
833
835
|
updatedForm: UpdateFormData | undefined;
|
|
834
836
|
}
|
|
835
837
|
export interface UpdateFormResponse {
|
|
836
|
-
entity?: Form;
|
|
838
|
+
entity?: Form | undefined;
|
|
837
839
|
}
|
|
838
840
|
export interface ExportFormsResponse {
|
|
839
841
|
entities: Form[] | undefined;
|
|
840
|
-
nextToken?: string;
|
|
842
|
+
nextToken?: string | undefined;
|
|
841
843
|
}
|
|
842
844
|
export interface ActionParameters {
|
|
843
|
-
type?: ComponentProperty;
|
|
844
|
-
url?: ComponentProperty;
|
|
845
|
-
anchor?: ComponentProperty;
|
|
846
|
-
target?: ComponentProperty;
|
|
847
|
-
global?: ComponentProperty;
|
|
848
|
-
model?: string;
|
|
849
|
-
id?: ComponentProperty;
|
|
850
|
-
fields?: Record<string, ComponentProperty
|
|
851
|
-
state?: MutationActionSetStateParameter;
|
|
845
|
+
type?: ComponentProperty | undefined;
|
|
846
|
+
url?: ComponentProperty | undefined;
|
|
847
|
+
anchor?: ComponentProperty | undefined;
|
|
848
|
+
target?: ComponentProperty | undefined;
|
|
849
|
+
global?: ComponentProperty | undefined;
|
|
850
|
+
model?: string | undefined;
|
|
851
|
+
id?: ComponentProperty | undefined;
|
|
852
|
+
fields?: Record<string, ComponentProperty> | undefined;
|
|
853
|
+
state?: MutationActionSetStateParameter | undefined;
|
|
852
854
|
}
|
|
853
855
|
export interface ComponentEvent {
|
|
854
|
-
action?: string;
|
|
855
|
-
parameters?: ActionParameters;
|
|
856
|
-
bindingEvent?: string;
|
|
856
|
+
action?: string | undefined;
|
|
857
|
+
parameters?: ActionParameters | undefined;
|
|
858
|
+
bindingEvent?: string | undefined;
|
|
857
859
|
}
|
|
858
860
|
export interface ComponentChild {
|
|
859
861
|
componentType: string | undefined;
|
|
860
862
|
name: string | undefined;
|
|
861
863
|
properties: Record<string, ComponentProperty> | undefined;
|
|
862
|
-
children?: ComponentChild[];
|
|
863
|
-
events?: Record<string, ComponentEvent
|
|
864
|
-
sourceId?: string;
|
|
864
|
+
children?: ComponentChild[] | undefined;
|
|
865
|
+
events?: Record<string, ComponentEvent> | undefined;
|
|
866
|
+
sourceId?: string | undefined;
|
|
865
867
|
}
|
|
866
868
|
export interface Component {
|
|
867
869
|
appId: string | undefined;
|
|
868
870
|
environmentName: string | undefined;
|
|
869
|
-
sourceId?: string;
|
|
871
|
+
sourceId?: string | undefined;
|
|
870
872
|
id: string | undefined;
|
|
871
873
|
name: string | undefined;
|
|
872
874
|
componentType: string | undefined;
|
|
873
875
|
properties: Record<string, ComponentProperty> | undefined;
|
|
874
|
-
children?: ComponentChild[];
|
|
876
|
+
children?: ComponentChild[] | undefined;
|
|
875
877
|
variants: ComponentVariant[] | undefined;
|
|
876
878
|
overrides: Record<string, Record<string, string>> | undefined;
|
|
877
879
|
bindingProperties:
|
|
878
880
|
| Record<string, ComponentBindingPropertiesValue>
|
|
879
881
|
| undefined;
|
|
880
|
-
collectionProperties?: Record<string, ComponentDataConfiguration
|
|
882
|
+
collectionProperties?: Record<string, ComponentDataConfiguration> | undefined;
|
|
881
883
|
createdAt: Date | undefined;
|
|
882
|
-
modifiedAt?: Date;
|
|
883
|
-
tags?: Record<string, string
|
|
884
|
-
events?: Record<string, ComponentEvent
|
|
885
|
-
schemaVersion?: string;
|
|
884
|
+
modifiedAt?: Date | undefined;
|
|
885
|
+
tags?: Record<string, string> | undefined;
|
|
886
|
+
events?: Record<string, ComponentEvent> | undefined;
|
|
887
|
+
schemaVersion?: string | undefined;
|
|
886
888
|
}
|
|
887
889
|
export interface CreateComponentData {
|
|
888
890
|
name: string | undefined;
|
|
889
|
-
sourceId?: string;
|
|
891
|
+
sourceId?: string | undefined;
|
|
890
892
|
componentType: string | undefined;
|
|
891
893
|
properties: Record<string, ComponentProperty> | undefined;
|
|
892
|
-
children?: ComponentChild[];
|
|
894
|
+
children?: ComponentChild[] | undefined;
|
|
893
895
|
variants: ComponentVariant[] | undefined;
|
|
894
896
|
overrides: Record<string, Record<string, string>> | undefined;
|
|
895
897
|
bindingProperties:
|
|
896
898
|
| Record<string, ComponentBindingPropertiesValue>
|
|
897
899
|
| undefined;
|
|
898
|
-
collectionProperties?: Record<string, ComponentDataConfiguration
|
|
899
|
-
tags?: Record<string, string
|
|
900
|
-
events?: Record<string, ComponentEvent
|
|
901
|
-
schemaVersion?: string;
|
|
900
|
+
collectionProperties?: Record<string, ComponentDataConfiguration> | undefined;
|
|
901
|
+
tags?: Record<string, string> | undefined;
|
|
902
|
+
events?: Record<string, ComponentEvent> | undefined;
|
|
903
|
+
schemaVersion?: string | undefined;
|
|
902
904
|
}
|
|
903
905
|
export interface UpdateComponentData {
|
|
904
|
-
id?: string;
|
|
905
|
-
name?: string;
|
|
906
|
-
sourceId?: string;
|
|
907
|
-
componentType?: string;
|
|
908
|
-
properties?: Record<string, ComponentProperty
|
|
909
|
-
children?: ComponentChild[];
|
|
910
|
-
variants?: ComponentVariant[];
|
|
911
|
-
overrides?: Record<string, Record<string, string
|
|
912
|
-
bindingProperties?:
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
906
|
+
id?: string | undefined;
|
|
907
|
+
name?: string | undefined;
|
|
908
|
+
sourceId?: string | undefined;
|
|
909
|
+
componentType?: string | undefined;
|
|
910
|
+
properties?: Record<string, ComponentProperty> | undefined;
|
|
911
|
+
children?: ComponentChild[] | undefined;
|
|
912
|
+
variants?: ComponentVariant[] | undefined;
|
|
913
|
+
overrides?: Record<string, Record<string, string>> | undefined;
|
|
914
|
+
bindingProperties?:
|
|
915
|
+
| Record<string, ComponentBindingPropertiesValue>
|
|
916
|
+
| undefined;
|
|
917
|
+
collectionProperties?: Record<string, ComponentDataConfiguration> | undefined;
|
|
918
|
+
events?: Record<string, ComponentEvent> | undefined;
|
|
919
|
+
schemaVersion?: string | undefined;
|
|
916
920
|
}
|
|
917
921
|
export interface CreateComponentRequest {
|
|
918
922
|
appId: string | undefined;
|
|
919
923
|
environmentName: string | undefined;
|
|
920
|
-
clientToken?: string;
|
|
924
|
+
clientToken?: string | undefined;
|
|
921
925
|
componentToCreate: CreateComponentData | undefined;
|
|
922
926
|
}
|
|
923
927
|
export interface CreateComponentResponse {
|
|
924
|
-
entity?: Component;
|
|
928
|
+
entity?: Component | undefined;
|
|
925
929
|
}
|
|
926
930
|
export interface GetComponentResponse {
|
|
927
|
-
component?: Component;
|
|
931
|
+
component?: Component | undefined;
|
|
928
932
|
}
|
|
929
933
|
export interface UpdateComponentRequest {
|
|
930
934
|
appId: string | undefined;
|
|
931
935
|
environmentName: string | undefined;
|
|
932
936
|
id: string | undefined;
|
|
933
|
-
clientToken?: string;
|
|
937
|
+
clientToken?: string | undefined;
|
|
934
938
|
updatedComponent: UpdateComponentData | undefined;
|
|
935
939
|
}
|
|
936
940
|
export interface UpdateComponentResponse {
|
|
937
|
-
entity?: Component;
|
|
941
|
+
entity?: Component | undefined;
|
|
938
942
|
}
|
|
939
943
|
export interface ExportComponentsResponse {
|
|
940
944
|
entities: Component[] | undefined;
|
|
941
|
-
nextToken?: string;
|
|
945
|
+
nextToken?: string | undefined;
|
|
942
946
|
}
|
|
943
947
|
export declare const ExchangeCodeForTokenRequestBodyFilterSensitiveLog: (
|
|
944
948
|
obj: ExchangeCodeForTokenRequestBody
|