@aws-sdk/client-amplifyuibuilder 3.300.0 → 3.303.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 (27) hide show
  1. package/dist-cjs/models/models_0.js +19 -24
  2. package/dist-es/models/models_0.js +19 -24
  3. package/dist-types/commands/CreateComponentCommand.d.ts +84 -426
  4. package/dist-types/commands/CreateFormCommand.d.ts +28 -28
  5. package/dist-types/commands/CreateThemeCommand.d.ts +8 -12
  6. package/dist-types/commands/DeleteComponentCommand.d.ts +1 -1
  7. package/dist-types/commands/DeleteFormCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteThemeCommand.d.ts +1 -1
  9. package/dist-types/commands/ExchangeCodeForTokenCommand.d.ts +2 -2
  10. package/dist-types/commands/ExportComponentsCommand.d.ts +1 -1
  11. package/dist-types/commands/ExportFormsCommand.d.ts +1 -1
  12. package/dist-types/commands/ExportThemesCommand.d.ts +1 -1
  13. package/dist-types/commands/GetComponentCommand.d.ts +1 -1
  14. package/dist-types/commands/GetFormCommand.d.ts +1 -1
  15. package/dist-types/commands/GetMetadataCommand.d.ts +1 -1
  16. package/dist-types/commands/GetThemeCommand.d.ts +1 -1
  17. package/dist-types/commands/ListComponentsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListFormsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListThemesCommand.d.ts +1 -1
  20. package/dist-types/commands/PutMetadataFlagCommand.d.ts +2 -2
  21. package/dist-types/commands/RefreshTokenCommand.d.ts +2 -2
  22. package/dist-types/commands/UpdateComponentCommand.d.ts +83 -425
  23. package/dist-types/commands/UpdateFormCommand.d.ts +27 -27
  24. package/dist-types/commands/UpdateThemeCommand.d.ts +7 -11
  25. package/dist-types/models/models_0.d.ts +44 -19
  26. package/dist-types/ts3.4/models/models_0.d.ts +28 -19
  27. package/package.json +34 -34
@@ -68,14 +68,12 @@ class ResourceNotFoundException extends AmplifyUIBuilderServiceException_1.Ampli
68
68
  }
69
69
  }
70
70
  exports.ResourceNotFoundException = ResourceNotFoundException;
71
- var TokenProviders;
72
- (function (TokenProviders) {
73
- TokenProviders["FIGMA"] = "figma";
74
- })(TokenProviders = exports.TokenProviders || (exports.TokenProviders = {}));
75
- var FixedPosition;
76
- (function (FixedPosition) {
77
- FixedPosition["FIRST"] = "first";
78
- })(FixedPosition = exports.FixedPosition || (exports.FixedPosition = {}));
71
+ exports.TokenProviders = {
72
+ FIGMA: "figma",
73
+ };
74
+ exports.FixedPosition = {
75
+ FIRST: "first",
76
+ };
79
77
  var FieldPosition;
80
78
  (function (FieldPosition) {
81
79
  FieldPosition.visit = (value, visitor) => {
@@ -88,22 +86,19 @@ var FieldPosition;
88
86
  return visitor._(value.$unknown[0], value.$unknown[1]);
89
87
  };
90
88
  })(FieldPosition = exports.FieldPosition || (exports.FieldPosition = {}));
91
- var FormButtonsPosition;
92
- (function (FormButtonsPosition) {
93
- FormButtonsPosition["BOTTOM"] = "bottom";
94
- FormButtonsPosition["TOP"] = "top";
95
- FormButtonsPosition["TOP_AND_BOTTOM"] = "top_and_bottom";
96
- })(FormButtonsPosition = exports.FormButtonsPosition || (exports.FormButtonsPosition = {}));
97
- var FormDataSourceType;
98
- (function (FormDataSourceType) {
99
- FormDataSourceType["CUSTOM"] = "Custom";
100
- FormDataSourceType["DATASTORE"] = "DataStore";
101
- })(FormDataSourceType = exports.FormDataSourceType || (exports.FormDataSourceType = {}));
102
- var FormActionType;
103
- (function (FormActionType) {
104
- FormActionType["CREATE"] = "create";
105
- FormActionType["UPDATE"] = "update";
106
- })(FormActionType = exports.FormActionType || (exports.FormActionType = {}));
89
+ exports.FormButtonsPosition = {
90
+ BOTTOM: "bottom",
91
+ TOP: "top",
92
+ TOP_AND_BOTTOM: "top_and_bottom",
93
+ };
94
+ exports.FormDataSourceType = {
95
+ CUSTOM: "Custom",
96
+ DATASTORE: "DataStore",
97
+ };
98
+ exports.FormActionType = {
99
+ CREATE: "create",
100
+ UPDATE: "update",
101
+ };
107
102
  var FormStyleConfig;
108
103
  (function (FormStyleConfig) {
109
104
  FormStyleConfig.visit = (value, visitor) => {
@@ -60,14 +60,12 @@ export class ResourceNotFoundException extends __BaseException {
60
60
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
61
61
  }
62
62
  }
63
- export var TokenProviders;
64
- (function (TokenProviders) {
65
- TokenProviders["FIGMA"] = "figma";
66
- })(TokenProviders || (TokenProviders = {}));
67
- export var FixedPosition;
68
- (function (FixedPosition) {
69
- FixedPosition["FIRST"] = "first";
70
- })(FixedPosition || (FixedPosition = {}));
63
+ export const TokenProviders = {
64
+ FIGMA: "figma",
65
+ };
66
+ export const FixedPosition = {
67
+ FIRST: "first",
68
+ };
71
69
  export var FieldPosition;
72
70
  (function (FieldPosition) {
73
71
  FieldPosition.visit = (value, visitor) => {
@@ -80,22 +78,19 @@ export var FieldPosition;
80
78
  return visitor._(value.$unknown[0], value.$unknown[1]);
81
79
  };
82
80
  })(FieldPosition || (FieldPosition = {}));
83
- export var FormButtonsPosition;
84
- (function (FormButtonsPosition) {
85
- FormButtonsPosition["BOTTOM"] = "bottom";
86
- FormButtonsPosition["TOP"] = "top";
87
- FormButtonsPosition["TOP_AND_BOTTOM"] = "top_and_bottom";
88
- })(FormButtonsPosition || (FormButtonsPosition = {}));
89
- export var FormDataSourceType;
90
- (function (FormDataSourceType) {
91
- FormDataSourceType["CUSTOM"] = "Custom";
92
- FormDataSourceType["DATASTORE"] = "DataStore";
93
- })(FormDataSourceType || (FormDataSourceType = {}));
94
- export var FormActionType;
95
- (function (FormActionType) {
96
- FormActionType["CREATE"] = "create";
97
- FormActionType["UPDATE"] = "update";
98
- })(FormActionType || (FormActionType = {}));
81
+ export const FormButtonsPosition = {
82
+ BOTTOM: "bottom",
83
+ TOP: "top",
84
+ TOP_AND_BOTTOM: "top_and_bottom",
85
+ };
86
+ export const FormDataSourceType = {
87
+ CUSTOM: "Custom",
88
+ DATASTORE: "DataStore",
89
+ };
90
+ export const FormActionType = {
91
+ CREATE: "create",
92
+ UPDATE: "update",
93
+ };
99
94
  export var FormStyleConfig;
100
95
  (function (FormStyleConfig) {
101
96
  FormStyleConfig.visit = (value, visitor) => {