@aws-sdk/client-amplifyuibuilder 3.169.0 → 3.170.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/AmplifyUIBuilder.d.ts +256 -75
  3. package/dist-types/ts3.4/AmplifyUIBuilderClient.d.ts +214 -87
  4. package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +37 -17
  5. package/dist-types/ts3.4/commands/CreateThemeCommand.d.ts +34 -17
  6. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +32 -17
  7. package/dist-types/ts3.4/commands/DeleteThemeCommand.d.ts +32 -17
  8. package/dist-types/ts3.4/commands/ExchangeCodeForTokenCommand.d.ts +41 -17
  9. package/dist-types/ts3.4/commands/ExportComponentsCommand.d.ts +37 -17
  10. package/dist-types/ts3.4/commands/ExportThemesCommand.d.ts +34 -17
  11. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +34 -17
  12. package/dist-types/ts3.4/commands/GetThemeCommand.d.ts +34 -17
  13. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +37 -17
  14. package/dist-types/ts3.4/commands/ListThemesCommand.d.ts +34 -17
  15. package/dist-types/ts3.4/commands/RefreshTokenCommand.d.ts +34 -17
  16. package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +37 -17
  17. package/dist-types/ts3.4/commands/UpdateThemeCommand.d.ts +34 -17
  18. package/dist-types/ts3.4/commands/index.d.ts +14 -14
  19. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  20. package/dist-types/ts3.4/index.d.ts +6 -6
  21. package/dist-types/ts3.4/models/AmplifyUIBuilderServiceException.d.ts +8 -6
  22. package/dist-types/ts3.4/models/index.d.ts +1 -1
  23. package/dist-types/ts3.4/models/models_0.d.ts +749 -698
  24. package/dist-types/ts3.4/pagination/ExportComponentsPaginator.d.ts +11 -4
  25. package/dist-types/ts3.4/pagination/ExportThemesPaginator.d.ts +11 -4
  26. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  27. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +11 -4
  28. package/dist-types/ts3.4/pagination/ListThemesPaginator.d.ts +11 -4
  29. package/dist-types/ts3.4/pagination/index.d.ts +5 -5
  30. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +173 -44
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +68 -38
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +68 -38
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +69 -37
  34. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -11
  35. package/package.json +34 -34
@@ -1,698 +1,749 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { AmplifyUIBuilderServiceException as __BaseException } from "./AmplifyUIBuilderServiceException";
3
-
4
- export interface ComponentPropertyBindingProperties {
5
-
6
- property: string | undefined;
7
-
8
- field?: string;
9
- }
10
-
11
- export interface FormBindingElement {
12
-
13
- element: string | undefined;
14
-
15
- property: string | undefined;
16
- }
17
- export declare type SortDirection = "ASC" | "DESC";
18
-
19
- export interface SortProperty {
20
-
21
- field: string | undefined;
22
-
23
- direction: SortDirection | string | undefined;
24
- }
25
-
26
- export interface ComponentVariant {
27
-
28
- variantValues?: Record<string, string>;
29
-
30
- overrides?: Record<string, Record<string, string>>;
31
- }
32
-
33
- export declare class InternalServerException extends __BaseException {
34
- readonly name: "InternalServerException";
35
- readonly $fault: "server";
36
-
37
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
38
- }
39
-
40
- export declare class InvalidParameterException extends __BaseException {
41
- readonly name: "InvalidParameterException";
42
- readonly $fault: "client";
43
-
44
- constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
45
- }
46
-
47
- export declare class ResourceConflictException extends __BaseException {
48
- readonly name: "ResourceConflictException";
49
- readonly $fault: "client";
50
-
51
- constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
52
- }
53
-
54
- export declare class ServiceQuotaExceededException extends __BaseException {
55
- readonly name: "ServiceQuotaExceededException";
56
- readonly $fault: "client";
57
-
58
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
59
- }
60
- export interface DeleteComponentRequest {
61
-
62
- appId: string | undefined;
63
-
64
- environmentName: string | undefined;
65
-
66
- id: string | undefined;
67
- }
68
-
69
- export declare class ResourceNotFoundException extends __BaseException {
70
- readonly name: "ResourceNotFoundException";
71
- readonly $fault: "client";
72
-
73
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
74
- }
75
- export interface ExportComponentsRequest {
76
-
77
- appId: string | undefined;
78
-
79
- environmentName: string | undefined;
80
-
81
- nextToken?: string;
82
- }
83
- export interface GetComponentRequest {
84
-
85
- appId: string | undefined;
86
-
87
- environmentName: string | undefined;
88
-
89
- id: string | undefined;
90
- }
91
- export interface ListComponentsRequest {
92
-
93
- appId: string | undefined;
94
-
95
- environmentName: string | undefined;
96
-
97
- nextToken?: string;
98
-
99
- maxResults?: number;
100
- }
101
-
102
- export interface ComponentSummary {
103
-
104
- appId: string | undefined;
105
-
106
- environmentName: string | undefined;
107
-
108
- id: string | undefined;
109
-
110
- name: string | undefined;
111
-
112
- componentType: string | undefined;
113
- }
114
- export interface ListComponentsResponse {
115
-
116
- entities: ComponentSummary[] | undefined;
117
-
118
- nextToken?: string;
119
- }
120
- export declare enum TokenProviders {
121
-
122
- FIGMA = "figma"
123
- }
124
-
125
- export interface ExchangeCodeForTokenRequestBody {
126
-
127
- code: string | undefined;
128
-
129
- redirectUri: string | undefined;
130
- }
131
- export interface ExchangeCodeForTokenRequest {
132
-
133
- provider: TokenProviders | string | undefined;
134
-
135
- request: ExchangeCodeForTokenRequestBody | undefined;
136
- }
137
- export interface ExchangeCodeForTokenResponse {
138
-
139
- accessToken: string | undefined;
140
-
141
- expiresIn: number | undefined;
142
-
143
- refreshToken: string | undefined;
144
- }
145
-
146
- export interface RefreshTokenRequestBody {
147
-
148
- token: string | undefined;
149
- }
150
- export interface RefreshTokenRequest {
151
-
152
- provider: TokenProviders | string | undefined;
153
-
154
- refreshTokenBody: RefreshTokenRequestBody | undefined;
155
- }
156
- export interface RefreshTokenResponse {
157
-
158
- accessToken: string | undefined;
159
-
160
- expiresIn: number | undefined;
161
- }
162
- export interface DeleteThemeRequest {
163
-
164
- appId: string | undefined;
165
-
166
- environmentName: string | undefined;
167
-
168
- id: string | undefined;
169
- }
170
- export interface ExportThemesRequest {
171
-
172
- appId: string | undefined;
173
-
174
- environmentName: string | undefined;
175
-
176
- nextToken?: string;
177
- }
178
- export interface GetThemeRequest {
179
-
180
- appId: string | undefined;
181
-
182
- environmentName: string | undefined;
183
-
184
- id: string | undefined;
185
- }
186
- export interface ListThemesRequest {
187
-
188
- appId: string | undefined;
189
-
190
- environmentName: string | undefined;
191
-
192
- nextToken?: string;
193
-
194
- maxResults?: number;
195
- }
196
-
197
- export interface ThemeSummary {
198
-
199
- appId: string | undefined;
200
-
201
- environmentName: string | undefined;
202
-
203
- id: string | undefined;
204
-
205
- name: string | undefined;
206
- }
207
- export interface ListThemesResponse {
208
-
209
- entities: ThemeSummary[] | undefined;
210
-
211
- nextToken?: string;
212
- }
213
-
214
- export interface ThemeValue {
215
-
216
- value?: string;
217
-
218
- children?: ThemeValues[];
219
- }
220
-
221
- export interface ThemeValues {
222
-
223
- key?: string;
224
-
225
- value?: ThemeValue;
226
- }
227
-
228
- export interface Predicate {
229
-
230
- or?: Predicate[];
231
-
232
- and?: Predicate[];
233
-
234
- field?: string;
235
-
236
- operator?: string;
237
-
238
- operand?: string;
239
- }
240
-
241
- export interface ComponentBindingPropertiesValueProperties {
242
-
243
- model?: string;
244
-
245
- field?: string;
246
-
247
- predicates?: Predicate[];
248
-
249
- userAttribute?: string;
250
-
251
- bucket?: string;
252
-
253
- key?: string;
254
-
255
- defaultValue?: string;
256
- }
257
-
258
- export interface ComponentDataConfiguration {
259
-
260
- model: string | undefined;
261
-
262
- sort?: SortProperty[];
263
-
264
- predicate?: Predicate;
265
-
266
- identifiers?: string[];
267
- }
268
-
269
- export interface ComponentProperty {
270
-
271
- value?: string;
272
-
273
- bindingProperties?: ComponentPropertyBindingProperties;
274
-
275
- collectionBindingProperties?: ComponentPropertyBindingProperties;
276
-
277
- defaultValue?: string;
278
-
279
- model?: string;
280
-
281
- bindings?: Record<string, FormBindingElement>;
282
-
283
- event?: string;
284
-
285
- userAttribute?: string;
286
-
287
- concat?: ComponentProperty[];
288
-
289
- condition?: ComponentConditionProperty;
290
-
291
- configured?: boolean;
292
-
293
- type?: string;
294
-
295
- importedValue?: string;
296
-
297
- componentName?: string;
298
-
299
- property?: string;
300
- }
301
-
302
- export interface ComponentBindingPropertiesValue {
303
-
304
- type?: string;
305
-
306
- bindingProperties?: ComponentBindingPropertiesValueProperties;
307
-
308
- defaultValue?: string;
309
- }
310
-
311
- export interface CreateThemeData {
312
-
313
- name: string | undefined;
314
-
315
- values: ThemeValues[] | undefined;
316
-
317
- overrides?: ThemeValues[];
318
-
319
- tags?: Record<string, string>;
320
- }
321
-
322
- export interface Theme {
323
-
324
- appId: string | undefined;
325
-
326
- environmentName: string | undefined;
327
-
328
- id: string | undefined;
329
-
330
- name: string | undefined;
331
-
332
- createdAt: Date | undefined;
333
-
334
- modifiedAt?: Date;
335
-
336
- values: ThemeValues[] | undefined;
337
-
338
- overrides?: ThemeValues[];
339
-
340
- tags?: Record<string, string>;
341
- }
342
-
343
- export interface UpdateThemeData {
344
-
345
- id?: string;
346
-
347
- name?: string;
348
-
349
- values: ThemeValues[] | undefined;
350
-
351
- overrides?: ThemeValues[];
352
- }
353
-
354
- export interface MutationActionSetStateParameter {
355
-
356
- componentName: string | undefined;
357
-
358
- property: string | undefined;
359
-
360
- set: ComponentProperty | undefined;
361
- }
362
-
363
- export interface ComponentConditionProperty {
364
-
365
- property?: string;
366
-
367
- field?: string;
368
-
369
- operator?: string;
370
-
371
- operand?: string;
372
-
373
- then?: ComponentProperty;
374
-
375
- else?: ComponentProperty;
376
-
377
- operandType?: string;
378
- }
379
- export interface CreateThemeRequest {
380
-
381
- appId: string | undefined;
382
-
383
- environmentName: string | undefined;
384
-
385
- clientToken?: string;
386
-
387
- themeToCreate: CreateThemeData | undefined;
388
- }
389
- export interface CreateThemeResponse {
390
-
391
- entity?: Theme;
392
- }
393
- export interface GetThemeResponse {
394
-
395
- theme?: Theme;
396
- }
397
- export interface UpdateThemeRequest {
398
-
399
- appId: string | undefined;
400
-
401
- environmentName: string | undefined;
402
-
403
- id: string | undefined;
404
-
405
- clientToken?: string;
406
-
407
- updatedTheme: UpdateThemeData | undefined;
408
- }
409
- export interface UpdateThemeResponse {
410
-
411
- entity?: Theme;
412
- }
413
- export interface ExportThemesResponse {
414
-
415
- entities: Theme[] | undefined;
416
-
417
- nextToken?: string;
418
- }
419
-
420
- export interface ActionParameters {
421
-
422
- type?: ComponentProperty;
423
-
424
- url?: ComponentProperty;
425
-
426
- anchor?: ComponentProperty;
427
-
428
- target?: ComponentProperty;
429
-
430
- global?: ComponentProperty;
431
-
432
- model?: string;
433
-
434
- id?: ComponentProperty;
435
-
436
- fields?: Record<string, ComponentProperty>;
437
-
438
- state?: MutationActionSetStateParameter;
439
- }
440
-
441
- export interface ComponentEvent {
442
-
443
- action?: string;
444
-
445
- parameters?: ActionParameters;
446
-
447
- bindingEvent?: string;
448
- }
449
-
450
- export interface ComponentChild {
451
-
452
- componentType: string | undefined;
453
-
454
- name: string | undefined;
455
-
456
- properties: Record<string, ComponentProperty> | undefined;
457
-
458
- children?: ComponentChild[];
459
-
460
- events?: Record<string, ComponentEvent>;
461
-
462
- sourceId?: string;
463
- }
464
-
465
- export interface Component {
466
-
467
- appId: string | undefined;
468
-
469
- environmentName: string | undefined;
470
-
471
- sourceId?: string;
472
-
473
- id: string | undefined;
474
-
475
- name: string | undefined;
476
-
477
- componentType: string | undefined;
478
-
479
- properties: Record<string, ComponentProperty> | undefined;
480
-
481
- children?: ComponentChild[];
482
-
483
- variants: ComponentVariant[] | undefined;
484
-
485
- overrides: Record<string, Record<string, string>> | undefined;
486
-
487
- bindingProperties: Record<string, ComponentBindingPropertiesValue> | undefined;
488
-
489
- collectionProperties?: Record<string, ComponentDataConfiguration>;
490
-
491
- createdAt: Date | undefined;
492
-
493
- modifiedAt?: Date;
494
-
495
- tags?: Record<string, string>;
496
-
497
- events?: Record<string, ComponentEvent>;
498
-
499
- schemaVersion?: string;
500
- }
501
-
502
- export interface CreateComponentData {
503
-
504
- name: string | undefined;
505
-
506
- sourceId?: string;
507
-
508
- componentType: string | undefined;
509
-
510
- properties: Record<string, ComponentProperty> | undefined;
511
-
512
- children?: ComponentChild[];
513
-
514
- variants: ComponentVariant[] | undefined;
515
-
516
- overrides: Record<string, Record<string, string>> | undefined;
517
-
518
- bindingProperties: Record<string, ComponentBindingPropertiesValue> | undefined;
519
-
520
- collectionProperties?: Record<string, ComponentDataConfiguration>;
521
-
522
- tags?: Record<string, string>;
523
-
524
- events?: Record<string, ComponentEvent>;
525
-
526
- schemaVersion?: string;
527
- }
528
-
529
- export interface UpdateComponentData {
530
-
531
- id?: string;
532
-
533
- name?: string;
534
-
535
- sourceId?: string;
536
-
537
- componentType?: string;
538
-
539
- properties?: Record<string, ComponentProperty>;
540
-
541
- children?: ComponentChild[];
542
-
543
- variants?: ComponentVariant[];
544
-
545
- overrides?: Record<string, Record<string, string>>;
546
-
547
- bindingProperties?: Record<string, ComponentBindingPropertiesValue>;
548
-
549
- collectionProperties?: Record<string, ComponentDataConfiguration>;
550
-
551
- events?: Record<string, ComponentEvent>;
552
-
553
- schemaVersion?: string;
554
- }
555
- export interface CreateComponentRequest {
556
-
557
- appId: string | undefined;
558
-
559
- environmentName: string | undefined;
560
-
561
- clientToken?: string;
562
-
563
- componentToCreate: CreateComponentData | undefined;
564
- }
565
- export interface CreateComponentResponse {
566
-
567
- entity?: Component;
568
- }
569
- export interface GetComponentResponse {
570
-
571
- component?: Component;
572
- }
573
- export interface UpdateComponentRequest {
574
-
575
- appId: string | undefined;
576
-
577
- environmentName: string | undefined;
578
-
579
- id: string | undefined;
580
-
581
- clientToken?: string;
582
-
583
- updatedComponent: UpdateComponentData | undefined;
584
- }
585
- export interface UpdateComponentResponse {
586
-
587
- entity?: Component;
588
- }
589
- export interface ExportComponentsResponse {
590
-
591
- entities: Component[] | undefined;
592
-
593
- nextToken?: string;
594
- }
595
-
596
- export declare const ComponentPropertyBindingPropertiesFilterSensitiveLog: (obj: ComponentPropertyBindingProperties) => any;
597
-
598
- export declare const FormBindingElementFilterSensitiveLog: (obj: FormBindingElement) => any;
599
-
600
- export declare const SortPropertyFilterSensitiveLog: (obj: SortProperty) => any;
601
-
602
- export declare const ComponentVariantFilterSensitiveLog: (obj: ComponentVariant) => any;
603
-
604
- export declare const DeleteComponentRequestFilterSensitiveLog: (obj: DeleteComponentRequest) => any;
605
-
606
- export declare const ExportComponentsRequestFilterSensitiveLog: (obj: ExportComponentsRequest) => any;
607
-
608
- export declare const GetComponentRequestFilterSensitiveLog: (obj: GetComponentRequest) => any;
609
-
610
- export declare const ListComponentsRequestFilterSensitiveLog: (obj: ListComponentsRequest) => any;
611
-
612
- export declare const ComponentSummaryFilterSensitiveLog: (obj: ComponentSummary) => any;
613
-
614
- export declare const ListComponentsResponseFilterSensitiveLog: (obj: ListComponentsResponse) => any;
615
-
616
- export declare const ExchangeCodeForTokenRequestBodyFilterSensitiveLog: (obj: ExchangeCodeForTokenRequestBody) => any;
617
-
618
- export declare const ExchangeCodeForTokenRequestFilterSensitiveLog: (obj: ExchangeCodeForTokenRequest) => any;
619
-
620
- export declare const ExchangeCodeForTokenResponseFilterSensitiveLog: (obj: ExchangeCodeForTokenResponse) => any;
621
-
622
- export declare const RefreshTokenRequestBodyFilterSensitiveLog: (obj: RefreshTokenRequestBody) => any;
623
-
624
- export declare const RefreshTokenRequestFilterSensitiveLog: (obj: RefreshTokenRequest) => any;
625
-
626
- export declare const RefreshTokenResponseFilterSensitiveLog: (obj: RefreshTokenResponse) => any;
627
-
628
- export declare const DeleteThemeRequestFilterSensitiveLog: (obj: DeleteThemeRequest) => any;
629
-
630
- export declare const ExportThemesRequestFilterSensitiveLog: (obj: ExportThemesRequest) => any;
631
-
632
- export declare const GetThemeRequestFilterSensitiveLog: (obj: GetThemeRequest) => any;
633
-
634
- export declare const ListThemesRequestFilterSensitiveLog: (obj: ListThemesRequest) => any;
635
-
636
- export declare const ThemeSummaryFilterSensitiveLog: (obj: ThemeSummary) => any;
637
-
638
- export declare const ListThemesResponseFilterSensitiveLog: (obj: ListThemesResponse) => any;
639
-
640
- export declare const ThemeValueFilterSensitiveLog: (obj: ThemeValue) => any;
641
-
642
- export declare const ThemeValuesFilterSensitiveLog: (obj: ThemeValues) => any;
643
-
644
- export declare const PredicateFilterSensitiveLog: (obj: Predicate) => any;
645
-
646
- export declare const ComponentBindingPropertiesValuePropertiesFilterSensitiveLog: (obj: ComponentBindingPropertiesValueProperties) => any;
647
-
648
- export declare const ComponentDataConfigurationFilterSensitiveLog: (obj: ComponentDataConfiguration) => any;
649
-
650
- export declare const ComponentPropertyFilterSensitiveLog: (obj: ComponentProperty) => any;
651
-
652
- export declare const ComponentBindingPropertiesValueFilterSensitiveLog: (obj: ComponentBindingPropertiesValue) => any;
653
-
654
- export declare const CreateThemeDataFilterSensitiveLog: (obj: CreateThemeData) => any;
655
-
656
- export declare const ThemeFilterSensitiveLog: (obj: Theme) => any;
657
-
658
- export declare const UpdateThemeDataFilterSensitiveLog: (obj: UpdateThemeData) => any;
659
-
660
- export declare const MutationActionSetStateParameterFilterSensitiveLog: (obj: MutationActionSetStateParameter) => any;
661
-
662
- export declare const ComponentConditionPropertyFilterSensitiveLog: (obj: ComponentConditionProperty) => any;
663
-
664
- export declare const CreateThemeRequestFilterSensitiveLog: (obj: CreateThemeRequest) => any;
665
-
666
- export declare const CreateThemeResponseFilterSensitiveLog: (obj: CreateThemeResponse) => any;
667
-
668
- export declare const GetThemeResponseFilterSensitiveLog: (obj: GetThemeResponse) => any;
669
-
670
- export declare const UpdateThemeRequestFilterSensitiveLog: (obj: UpdateThemeRequest) => any;
671
-
672
- export declare const UpdateThemeResponseFilterSensitiveLog: (obj: UpdateThemeResponse) => any;
673
-
674
- export declare const ExportThemesResponseFilterSensitiveLog: (obj: ExportThemesResponse) => any;
675
-
676
- export declare const ActionParametersFilterSensitiveLog: (obj: ActionParameters) => any;
677
-
678
- export declare const ComponentEventFilterSensitiveLog: (obj: ComponentEvent) => any;
679
-
680
- export declare const ComponentChildFilterSensitiveLog: (obj: ComponentChild) => any;
681
-
682
- export declare const ComponentFilterSensitiveLog: (obj: Component) => any;
683
-
684
- export declare const CreateComponentDataFilterSensitiveLog: (obj: CreateComponentData) => any;
685
-
686
- export declare const UpdateComponentDataFilterSensitiveLog: (obj: UpdateComponentData) => any;
687
-
688
- export declare const CreateComponentRequestFilterSensitiveLog: (obj: CreateComponentRequest) => any;
689
-
690
- export declare const CreateComponentResponseFilterSensitiveLog: (obj: CreateComponentResponse) => any;
691
-
692
- export declare const GetComponentResponseFilterSensitiveLog: (obj: GetComponentResponse) => any;
693
-
694
- export declare const UpdateComponentRequestFilterSensitiveLog: (obj: UpdateComponentRequest) => any;
695
-
696
- export declare const UpdateComponentResponseFilterSensitiveLog: (obj: UpdateComponentResponse) => any;
697
-
698
- export declare const ExportComponentsResponseFilterSensitiveLog: (obj: ExportComponentsResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AmplifyUIBuilderServiceException as __BaseException } from "./AmplifyUIBuilderServiceException";
3
+
4
+ export interface ComponentPropertyBindingProperties {
5
+ property: string | undefined;
6
+
7
+ field?: string;
8
+ }
9
+
10
+ export interface FormBindingElement {
11
+ element: string | undefined;
12
+
13
+ property: string | undefined;
14
+ }
15
+ export declare type SortDirection = "ASC" | "DESC";
16
+
17
+ export interface SortProperty {
18
+ field: string | undefined;
19
+
20
+ direction: SortDirection | string | undefined;
21
+ }
22
+
23
+ export interface ComponentVariant {
24
+ variantValues?: Record<string, string>;
25
+
26
+ overrides?: Record<string, Record<string, string>>;
27
+ }
28
+
29
+ export declare class InternalServerException extends __BaseException {
30
+ readonly name: "InternalServerException";
31
+ readonly $fault: "server";
32
+
33
+ constructor(
34
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
35
+ );
36
+ }
37
+
38
+ export declare class InvalidParameterException extends __BaseException {
39
+ readonly name: "InvalidParameterException";
40
+ readonly $fault: "client";
41
+
42
+ constructor(
43
+ opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
44
+ );
45
+ }
46
+
47
+ export declare class ResourceConflictException extends __BaseException {
48
+ readonly name: "ResourceConflictException";
49
+ readonly $fault: "client";
50
+
51
+ constructor(
52
+ opts: __ExceptionOptionType<ResourceConflictException, __BaseException>
53
+ );
54
+ }
55
+
56
+ export declare class ServiceQuotaExceededException extends __BaseException {
57
+ readonly name: "ServiceQuotaExceededException";
58
+ readonly $fault: "client";
59
+
60
+ constructor(
61
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
62
+ );
63
+ }
64
+ export interface DeleteComponentRequest {
65
+ appId: string | undefined;
66
+
67
+ environmentName: string | undefined;
68
+
69
+ id: string | undefined;
70
+ }
71
+
72
+ export declare class ResourceNotFoundException extends __BaseException {
73
+ readonly name: "ResourceNotFoundException";
74
+ readonly $fault: "client";
75
+
76
+ constructor(
77
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
78
+ );
79
+ }
80
+ export interface ExportComponentsRequest {
81
+ appId: string | undefined;
82
+
83
+ environmentName: string | undefined;
84
+
85
+ nextToken?: string;
86
+ }
87
+ export interface GetComponentRequest {
88
+ appId: string | undefined;
89
+
90
+ environmentName: string | undefined;
91
+
92
+ id: string | undefined;
93
+ }
94
+ export interface ListComponentsRequest {
95
+ appId: string | undefined;
96
+
97
+ environmentName: string | undefined;
98
+
99
+ nextToken?: string;
100
+
101
+ maxResults?: number;
102
+ }
103
+
104
+ export interface ComponentSummary {
105
+ appId: string | undefined;
106
+
107
+ environmentName: string | undefined;
108
+
109
+ id: string | undefined;
110
+
111
+ name: string | undefined;
112
+
113
+ componentType: string | undefined;
114
+ }
115
+ export interface ListComponentsResponse {
116
+ entities: ComponentSummary[] | undefined;
117
+
118
+ nextToken?: string;
119
+ }
120
+ export declare enum TokenProviders {
121
+ FIGMA = "figma",
122
+ }
123
+
124
+ export interface ExchangeCodeForTokenRequestBody {
125
+ code: string | undefined;
126
+
127
+ redirectUri: string | undefined;
128
+ }
129
+ export interface ExchangeCodeForTokenRequest {
130
+ provider: TokenProviders | string | undefined;
131
+
132
+ request: ExchangeCodeForTokenRequestBody | undefined;
133
+ }
134
+ export interface ExchangeCodeForTokenResponse {
135
+ accessToken: string | undefined;
136
+
137
+ expiresIn: number | undefined;
138
+
139
+ refreshToken: string | undefined;
140
+ }
141
+
142
+ export interface RefreshTokenRequestBody {
143
+ token: string | undefined;
144
+ }
145
+ export interface RefreshTokenRequest {
146
+ provider: TokenProviders | string | undefined;
147
+
148
+ refreshTokenBody: RefreshTokenRequestBody | undefined;
149
+ }
150
+ export interface RefreshTokenResponse {
151
+ accessToken: string | undefined;
152
+
153
+ expiresIn: number | undefined;
154
+ }
155
+ export interface DeleteThemeRequest {
156
+ appId: string | undefined;
157
+
158
+ environmentName: string | undefined;
159
+
160
+ id: string | undefined;
161
+ }
162
+ export interface ExportThemesRequest {
163
+ appId: string | undefined;
164
+
165
+ environmentName: string | undefined;
166
+
167
+ nextToken?: string;
168
+ }
169
+ export interface GetThemeRequest {
170
+ appId: string | undefined;
171
+
172
+ environmentName: string | undefined;
173
+
174
+ id: string | undefined;
175
+ }
176
+ export interface ListThemesRequest {
177
+ appId: string | undefined;
178
+
179
+ environmentName: string | undefined;
180
+
181
+ nextToken?: string;
182
+
183
+ maxResults?: number;
184
+ }
185
+
186
+ export interface ThemeSummary {
187
+ appId: string | undefined;
188
+
189
+ environmentName: string | undefined;
190
+
191
+ id: string | undefined;
192
+
193
+ name: string | undefined;
194
+ }
195
+ export interface ListThemesResponse {
196
+ entities: ThemeSummary[] | undefined;
197
+
198
+ nextToken?: string;
199
+ }
200
+
201
+ export interface ThemeValue {
202
+ value?: string;
203
+
204
+ children?: ThemeValues[];
205
+ }
206
+
207
+ export interface ThemeValues {
208
+ key?: string;
209
+
210
+ value?: ThemeValue;
211
+ }
212
+
213
+ export interface Predicate {
214
+ or?: Predicate[];
215
+
216
+ and?: Predicate[];
217
+
218
+ field?: string;
219
+
220
+ operator?: string;
221
+
222
+ operand?: string;
223
+ }
224
+
225
+ export interface ComponentBindingPropertiesValueProperties {
226
+ model?: string;
227
+
228
+ field?: string;
229
+
230
+ predicates?: Predicate[];
231
+
232
+ userAttribute?: string;
233
+
234
+ bucket?: string;
235
+
236
+ key?: string;
237
+
238
+ defaultValue?: string;
239
+ }
240
+
241
+ export interface ComponentDataConfiguration {
242
+ model: string | undefined;
243
+
244
+ sort?: SortProperty[];
245
+
246
+ predicate?: Predicate;
247
+
248
+ identifiers?: string[];
249
+ }
250
+
251
+ export interface ComponentProperty {
252
+ value?: string;
253
+
254
+ bindingProperties?: ComponentPropertyBindingProperties;
255
+
256
+ collectionBindingProperties?: ComponentPropertyBindingProperties;
257
+
258
+ defaultValue?: string;
259
+
260
+ model?: string;
261
+
262
+ bindings?: Record<string, FormBindingElement>;
263
+
264
+ event?: string;
265
+
266
+ userAttribute?: string;
267
+
268
+ concat?: ComponentProperty[];
269
+
270
+ condition?: ComponentConditionProperty;
271
+
272
+ configured?: boolean;
273
+
274
+ type?: string;
275
+
276
+ importedValue?: string;
277
+
278
+ componentName?: string;
279
+
280
+ property?: string;
281
+ }
282
+
283
+ export interface ComponentBindingPropertiesValue {
284
+ type?: string;
285
+
286
+ bindingProperties?: ComponentBindingPropertiesValueProperties;
287
+
288
+ defaultValue?: string;
289
+ }
290
+
291
+ export interface CreateThemeData {
292
+ name: string | undefined;
293
+
294
+ values: ThemeValues[] | undefined;
295
+
296
+ overrides?: ThemeValues[];
297
+
298
+ tags?: Record<string, string>;
299
+ }
300
+
301
+ export interface Theme {
302
+ appId: string | undefined;
303
+
304
+ environmentName: string | undefined;
305
+
306
+ id: string | undefined;
307
+
308
+ name: string | undefined;
309
+
310
+ createdAt: Date | undefined;
311
+
312
+ modifiedAt?: Date;
313
+
314
+ values: ThemeValues[] | undefined;
315
+
316
+ overrides?: ThemeValues[];
317
+
318
+ tags?: Record<string, string>;
319
+ }
320
+
321
+ export interface UpdateThemeData {
322
+ id?: string;
323
+
324
+ name?: string;
325
+
326
+ values: ThemeValues[] | undefined;
327
+
328
+ overrides?: ThemeValues[];
329
+ }
330
+
331
+ export interface MutationActionSetStateParameter {
332
+ componentName: string | undefined;
333
+
334
+ property: string | undefined;
335
+
336
+ set: ComponentProperty | undefined;
337
+ }
338
+
339
+ export interface ComponentConditionProperty {
340
+ property?: string;
341
+
342
+ field?: string;
343
+
344
+ operator?: string;
345
+
346
+ operand?: string;
347
+
348
+ then?: ComponentProperty;
349
+
350
+ else?: ComponentProperty;
351
+
352
+ operandType?: string;
353
+ }
354
+ export interface CreateThemeRequest {
355
+ appId: string | undefined;
356
+
357
+ environmentName: string | undefined;
358
+
359
+ clientToken?: string;
360
+
361
+ themeToCreate: CreateThemeData | undefined;
362
+ }
363
+ export interface CreateThemeResponse {
364
+ entity?: Theme;
365
+ }
366
+ export interface GetThemeResponse {
367
+ theme?: Theme;
368
+ }
369
+ export interface UpdateThemeRequest {
370
+ appId: string | undefined;
371
+
372
+ environmentName: string | undefined;
373
+
374
+ id: string | undefined;
375
+
376
+ clientToken?: string;
377
+
378
+ updatedTheme: UpdateThemeData | undefined;
379
+ }
380
+ export interface UpdateThemeResponse {
381
+ entity?: Theme;
382
+ }
383
+ export interface ExportThemesResponse {
384
+ entities: Theme[] | undefined;
385
+
386
+ nextToken?: string;
387
+ }
388
+
389
+ export interface ActionParameters {
390
+ type?: ComponentProperty;
391
+
392
+ url?: ComponentProperty;
393
+
394
+ anchor?: ComponentProperty;
395
+
396
+ target?: ComponentProperty;
397
+
398
+ global?: ComponentProperty;
399
+
400
+ model?: string;
401
+
402
+ id?: ComponentProperty;
403
+
404
+ fields?: Record<string, ComponentProperty>;
405
+
406
+ state?: MutationActionSetStateParameter;
407
+ }
408
+
409
+ export interface ComponentEvent {
410
+ action?: string;
411
+
412
+ parameters?: ActionParameters;
413
+
414
+ bindingEvent?: string;
415
+ }
416
+
417
+ export interface ComponentChild {
418
+ componentType: string | undefined;
419
+
420
+ name: string | undefined;
421
+
422
+ properties: Record<string, ComponentProperty> | undefined;
423
+
424
+ children?: ComponentChild[];
425
+
426
+ events?: Record<string, ComponentEvent>;
427
+
428
+ sourceId?: string;
429
+ }
430
+
431
+ export interface Component {
432
+ appId: string | undefined;
433
+
434
+ environmentName: string | undefined;
435
+
436
+ sourceId?: string;
437
+
438
+ id: string | undefined;
439
+
440
+ name: string | undefined;
441
+
442
+ componentType: string | undefined;
443
+
444
+ properties: Record<string, ComponentProperty> | undefined;
445
+
446
+ children?: ComponentChild[];
447
+
448
+ variants: ComponentVariant[] | undefined;
449
+
450
+ overrides: Record<string, Record<string, string>> | undefined;
451
+
452
+ bindingProperties:
453
+ | Record<string, ComponentBindingPropertiesValue>
454
+ | undefined;
455
+
456
+ collectionProperties?: Record<string, ComponentDataConfiguration>;
457
+
458
+ createdAt: Date | undefined;
459
+
460
+ modifiedAt?: Date;
461
+
462
+ tags?: Record<string, string>;
463
+
464
+ events?: Record<string, ComponentEvent>;
465
+
466
+ schemaVersion?: string;
467
+ }
468
+
469
+ export interface CreateComponentData {
470
+ name: string | undefined;
471
+
472
+ sourceId?: string;
473
+
474
+ componentType: string | undefined;
475
+
476
+ properties: Record<string, ComponentProperty> | undefined;
477
+
478
+ children?: ComponentChild[];
479
+
480
+ variants: ComponentVariant[] | undefined;
481
+
482
+ overrides: Record<string, Record<string, string>> | undefined;
483
+
484
+ bindingProperties:
485
+ | Record<string, ComponentBindingPropertiesValue>
486
+ | undefined;
487
+
488
+ collectionProperties?: Record<string, ComponentDataConfiguration>;
489
+
490
+ tags?: Record<string, string>;
491
+
492
+ events?: Record<string, ComponentEvent>;
493
+
494
+ schemaVersion?: string;
495
+ }
496
+
497
+ export interface UpdateComponentData {
498
+ id?: string;
499
+
500
+ name?: string;
501
+
502
+ sourceId?: string;
503
+
504
+ componentType?: string;
505
+
506
+ properties?: Record<string, ComponentProperty>;
507
+
508
+ children?: ComponentChild[];
509
+
510
+ variants?: ComponentVariant[];
511
+
512
+ overrides?: Record<string, Record<string, string>>;
513
+
514
+ bindingProperties?: Record<string, ComponentBindingPropertiesValue>;
515
+
516
+ collectionProperties?: Record<string, ComponentDataConfiguration>;
517
+
518
+ events?: Record<string, ComponentEvent>;
519
+
520
+ schemaVersion?: string;
521
+ }
522
+ export interface CreateComponentRequest {
523
+ appId: string | undefined;
524
+
525
+ environmentName: string | undefined;
526
+
527
+ clientToken?: string;
528
+
529
+ componentToCreate: CreateComponentData | undefined;
530
+ }
531
+ export interface CreateComponentResponse {
532
+ entity?: Component;
533
+ }
534
+ export interface GetComponentResponse {
535
+ component?: Component;
536
+ }
537
+ export interface UpdateComponentRequest {
538
+ appId: string | undefined;
539
+
540
+ environmentName: string | undefined;
541
+
542
+ id: string | undefined;
543
+
544
+ clientToken?: string;
545
+
546
+ updatedComponent: UpdateComponentData | undefined;
547
+ }
548
+ export interface UpdateComponentResponse {
549
+ entity?: Component;
550
+ }
551
+ export interface ExportComponentsResponse {
552
+ entities: Component[] | undefined;
553
+
554
+ nextToken?: string;
555
+ }
556
+
557
+ export declare const ComponentPropertyBindingPropertiesFilterSensitiveLog: (
558
+ obj: ComponentPropertyBindingProperties
559
+ ) => any;
560
+
561
+ export declare const FormBindingElementFilterSensitiveLog: (
562
+ obj: FormBindingElement
563
+ ) => any;
564
+
565
+ export declare const SortPropertyFilterSensitiveLog: (obj: SortProperty) => any;
566
+
567
+ export declare const ComponentVariantFilterSensitiveLog: (
568
+ obj: ComponentVariant
569
+ ) => any;
570
+
571
+ export declare const DeleteComponentRequestFilterSensitiveLog: (
572
+ obj: DeleteComponentRequest
573
+ ) => any;
574
+
575
+ export declare const ExportComponentsRequestFilterSensitiveLog: (
576
+ obj: ExportComponentsRequest
577
+ ) => any;
578
+
579
+ export declare const GetComponentRequestFilterSensitiveLog: (
580
+ obj: GetComponentRequest
581
+ ) => any;
582
+
583
+ export declare const ListComponentsRequestFilterSensitiveLog: (
584
+ obj: ListComponentsRequest
585
+ ) => any;
586
+
587
+ export declare const ComponentSummaryFilterSensitiveLog: (
588
+ obj: ComponentSummary
589
+ ) => any;
590
+
591
+ export declare const ListComponentsResponseFilterSensitiveLog: (
592
+ obj: ListComponentsResponse
593
+ ) => any;
594
+
595
+ export declare const ExchangeCodeForTokenRequestBodyFilterSensitiveLog: (
596
+ obj: ExchangeCodeForTokenRequestBody
597
+ ) => any;
598
+
599
+ export declare const ExchangeCodeForTokenRequestFilterSensitiveLog: (
600
+ obj: ExchangeCodeForTokenRequest
601
+ ) => any;
602
+
603
+ export declare const ExchangeCodeForTokenResponseFilterSensitiveLog: (
604
+ obj: ExchangeCodeForTokenResponse
605
+ ) => any;
606
+
607
+ export declare const RefreshTokenRequestBodyFilterSensitiveLog: (
608
+ obj: RefreshTokenRequestBody
609
+ ) => any;
610
+
611
+ export declare const RefreshTokenRequestFilterSensitiveLog: (
612
+ obj: RefreshTokenRequest
613
+ ) => any;
614
+
615
+ export declare const RefreshTokenResponseFilterSensitiveLog: (
616
+ obj: RefreshTokenResponse
617
+ ) => any;
618
+
619
+ export declare const DeleteThemeRequestFilterSensitiveLog: (
620
+ obj: DeleteThemeRequest
621
+ ) => any;
622
+
623
+ export declare const ExportThemesRequestFilterSensitiveLog: (
624
+ obj: ExportThemesRequest
625
+ ) => any;
626
+
627
+ export declare const GetThemeRequestFilterSensitiveLog: (
628
+ obj: GetThemeRequest
629
+ ) => any;
630
+
631
+ export declare const ListThemesRequestFilterSensitiveLog: (
632
+ obj: ListThemesRequest
633
+ ) => any;
634
+
635
+ export declare const ThemeSummaryFilterSensitiveLog: (obj: ThemeSummary) => any;
636
+
637
+ export declare const ListThemesResponseFilterSensitiveLog: (
638
+ obj: ListThemesResponse
639
+ ) => any;
640
+
641
+ export declare const ThemeValueFilterSensitiveLog: (obj: ThemeValue) => any;
642
+
643
+ export declare const ThemeValuesFilterSensitiveLog: (obj: ThemeValues) => any;
644
+
645
+ export declare const PredicateFilterSensitiveLog: (obj: Predicate) => any;
646
+
647
+ export declare const ComponentBindingPropertiesValuePropertiesFilterSensitiveLog: (
648
+ obj: ComponentBindingPropertiesValueProperties
649
+ ) => any;
650
+
651
+ export declare const ComponentDataConfigurationFilterSensitiveLog: (
652
+ obj: ComponentDataConfiguration
653
+ ) => any;
654
+
655
+ export declare const ComponentPropertyFilterSensitiveLog: (
656
+ obj: ComponentProperty
657
+ ) => any;
658
+
659
+ export declare const ComponentBindingPropertiesValueFilterSensitiveLog: (
660
+ obj: ComponentBindingPropertiesValue
661
+ ) => any;
662
+
663
+ export declare const CreateThemeDataFilterSensitiveLog: (
664
+ obj: CreateThemeData
665
+ ) => any;
666
+
667
+ export declare const ThemeFilterSensitiveLog: (obj: Theme) => any;
668
+
669
+ export declare const UpdateThemeDataFilterSensitiveLog: (
670
+ obj: UpdateThemeData
671
+ ) => any;
672
+
673
+ export declare const MutationActionSetStateParameterFilterSensitiveLog: (
674
+ obj: MutationActionSetStateParameter
675
+ ) => any;
676
+
677
+ export declare const ComponentConditionPropertyFilterSensitiveLog: (
678
+ obj: ComponentConditionProperty
679
+ ) => any;
680
+
681
+ export declare const CreateThemeRequestFilterSensitiveLog: (
682
+ obj: CreateThemeRequest
683
+ ) => any;
684
+
685
+ export declare const CreateThemeResponseFilterSensitiveLog: (
686
+ obj: CreateThemeResponse
687
+ ) => any;
688
+
689
+ export declare const GetThemeResponseFilterSensitiveLog: (
690
+ obj: GetThemeResponse
691
+ ) => any;
692
+
693
+ export declare const UpdateThemeRequestFilterSensitiveLog: (
694
+ obj: UpdateThemeRequest
695
+ ) => any;
696
+
697
+ export declare const UpdateThemeResponseFilterSensitiveLog: (
698
+ obj: UpdateThemeResponse
699
+ ) => any;
700
+
701
+ export declare const ExportThemesResponseFilterSensitiveLog: (
702
+ obj: ExportThemesResponse
703
+ ) => any;
704
+
705
+ export declare const ActionParametersFilterSensitiveLog: (
706
+ obj: ActionParameters
707
+ ) => any;
708
+
709
+ export declare const ComponentEventFilterSensitiveLog: (
710
+ obj: ComponentEvent
711
+ ) => any;
712
+
713
+ export declare const ComponentChildFilterSensitiveLog: (
714
+ obj: ComponentChild
715
+ ) => any;
716
+
717
+ export declare const ComponentFilterSensitiveLog: (obj: Component) => any;
718
+
719
+ export declare const CreateComponentDataFilterSensitiveLog: (
720
+ obj: CreateComponentData
721
+ ) => any;
722
+
723
+ export declare const UpdateComponentDataFilterSensitiveLog: (
724
+ obj: UpdateComponentData
725
+ ) => any;
726
+
727
+ export declare const CreateComponentRequestFilterSensitiveLog: (
728
+ obj: CreateComponentRequest
729
+ ) => any;
730
+
731
+ export declare const CreateComponentResponseFilterSensitiveLog: (
732
+ obj: CreateComponentResponse
733
+ ) => any;
734
+
735
+ export declare const GetComponentResponseFilterSensitiveLog: (
736
+ obj: GetComponentResponse
737
+ ) => any;
738
+
739
+ export declare const UpdateComponentRequestFilterSensitiveLog: (
740
+ obj: UpdateComponentRequest
741
+ ) => any;
742
+
743
+ export declare const UpdateComponentResponseFilterSensitiveLog: (
744
+ obj: UpdateComponentResponse
745
+ ) => any;
746
+
747
+ export declare const ExportComponentsResponseFilterSensitiveLog: (
748
+ obj: ExportComponentsResponse
749
+ ) => any;