@opencrvs/toolkit 1.8.1-rc.06c1a33 → 1.8.1-rc.0c6d168

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 (30) hide show
  1. package/build.sh +5 -0
  2. package/dist/commons/api/router.d.ts +1 -1347
  3. package/dist/commons/events/ActionConfig.d.ts +3777 -13563
  4. package/dist/commons/events/ActionDocument.d.ts +1 -3036
  5. package/dist/commons/events/ActionInput.d.ts +0 -2460
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +3 -93
  7. package/dist/commons/events/CompositeFieldValue.d.ts +0 -60
  8. package/dist/commons/events/Draft.d.ts +0 -192
  9. package/dist/commons/events/EventConfig.d.ts +3864 -8123
  10. package/dist/commons/events/EventDocument.d.ts +0 -1704
  11. package/dist/commons/events/EventIndex.d.ts +1 -47
  12. package/dist/commons/events/FieldConfig.d.ts +990 -1752
  13. package/dist/commons/events/FieldType.d.ts +1 -3
  14. package/dist/commons/events/FieldTypeMapping.d.ts +3 -85
  15. package/dist/commons/events/FieldValue.d.ts +3 -62
  16. package/dist/commons/events/FormConfig.d.ts +1148 -5750
  17. package/dist/commons/events/PageConfig.d.ts +1206 -2352
  18. package/dist/commons/events/WorkqueueConfig.d.ts +8 -8
  19. package/dist/commons/events/defineConfig.d.ts +16 -727
  20. package/dist/commons/events/test.utils.d.ts +0 -42
  21. package/dist/commons/events/utils.d.ts +18 -1319
  22. package/dist/commons/notification/UserNotifications.d.ts +547 -0
  23. package/dist/commons/notification/index.d.ts +2 -0
  24. package/dist/events/index.js +19 -74
  25. package/dist/notification/index.d.ts +2 -0
  26. package/dist/notification/index.d.ts.map +1 -0
  27. package/dist/notification/index.js +5333 -0
  28. package/package.json +3 -2
  29. package/tsconfig.json +2 -1
  30. package/tsconfig.tsbuildinfo +1 -1
@@ -4855,7 +4855,8 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
4855
4855
  uncorrectable?: boolean | undefined;
4856
4856
  }>;
4857
4857
  export type DataField = z.infer<typeof DataField>;
4858
- declare const ButtonField: z.ZodObject<z.objectUtil.extendShape<{
4858
+ export type FieldConfig = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof TimeField> | z.infer<typeof DateRangeField> | z.infer<typeof SelectDateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof NameField> | z.infer<typeof PhoneField> | z.infer<typeof IdField> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof Location> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField>;
4859
+ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
4859
4860
  id: z.ZodString;
4860
4861
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4861
4862
  id: string;
@@ -4903,430 +4904,46 @@ declare const ButtonField: z.ZodObject<z.objectUtil.extendShape<{
4903
4904
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4904
4905
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4905
4906
  }, {
4906
- type: z.ZodLiteral<"BUTTON">;
4907
- configuration: z.ZodObject<{
4908
- icon: z.ZodOptional<z.ZodString>;
4909
- loading: z.ZodOptional<z.ZodBoolean>;
4910
- text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4911
- id: string;
4912
- description: string;
4913
- defaultMessage: string;
4914
- }>;
4915
- }, "strip", z.ZodTypeAny, {
4916
- text: TranslationConfig;
4917
- loading?: boolean | undefined;
4918
- icon?: string | undefined;
4907
+ type: z.ZodLiteral<"ADDRESS">;
4908
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
4909
+ country: z.ZodString;
4910
+ addressType: z.ZodLiteral<"DOMESTIC">;
4911
+ province: z.ZodString;
4912
+ district: z.ZodString;
4919
4913
  }, {
4920
- text: {
4921
- id: string;
4922
- description: string;
4923
- defaultMessage: string;
4924
- };
4925
- loading?: boolean | undefined;
4926
- icon?: string | undefined;
4927
- }>;
4928
- }>, "strip", z.ZodTypeAny, {
4929
- type: "BUTTON";
4930
- id: string;
4931
- label: TranslationConfig;
4932
- configuration: {
4933
- text: TranslationConfig;
4934
- loading?: boolean | undefined;
4935
- icon?: string | undefined;
4936
- };
4937
- parent?: {
4938
- $$field: string;
4939
- } | undefined;
4940
- validation?: {
4941
- message: TranslationConfig;
4942
- validator: import(".").JSONSchema;
4943
- }[] | undefined;
4944
- required?: boolean | undefined;
4945
- conditionals?: ({
4946
- type: "SHOW";
4947
- conditional: import(".").JSONSchema;
4948
- } | {
4949
- type: "ENABLE";
4950
- conditional: import(".").JSONSchema;
4951
- } | {
4952
- type: "DISPLAY_ON_REVIEW";
4953
- conditional: import(".").JSONSchema;
4954
- })[] | undefined;
4955
- secured?: boolean | undefined;
4956
- placeholder?: TranslationConfig | undefined;
4957
- helperText?: TranslationConfig | undefined;
4958
- hideLabel?: boolean | undefined;
4959
- uncorrectable?: boolean | undefined;
4960
- }, {
4961
- type: "BUTTON";
4962
- id: string;
4963
- label: {
4964
- id: string;
4965
- description: string;
4966
- defaultMessage: string;
4967
- };
4968
- configuration: {
4969
- text: {
4970
- id: string;
4971
- description: string;
4972
- defaultMessage: string;
4973
- };
4974
- loading?: boolean | undefined;
4975
- icon?: string | undefined;
4976
- };
4977
- parent?: {
4978
- $$field: string;
4979
- } | undefined;
4980
- validation?: {
4981
- message: {
4982
- id: string;
4983
- description: string;
4984
- defaultMessage: string;
4985
- };
4986
- validator: import(".").JSONSchema;
4987
- }[] | undefined;
4988
- required?: boolean | undefined;
4989
- conditionals?: ({
4990
- type: "SHOW";
4991
- conditional: import(".").JSONSchema;
4992
- } | {
4993
- type: "ENABLE";
4994
- conditional: import(".").JSONSchema;
4995
- } | {
4996
- type: "DISPLAY_ON_REVIEW";
4997
- conditional: import(".").JSONSchema;
4998
- })[] | undefined;
4999
- secured?: boolean | undefined;
5000
- placeholder?: {
5001
- id: string;
5002
- description: string;
5003
- defaultMessage: string;
5004
- } | undefined;
5005
- helperText?: {
5006
- id: string;
5007
- description: string;
5008
- defaultMessage: string;
5009
- } | undefined;
5010
- hideLabel?: boolean | undefined;
5011
- uncorrectable?: boolean | undefined;
5012
- }>;
5013
- export type ButtonField = z.infer<typeof ButtonField>;
5014
- declare const HttpField: z.ZodObject<z.objectUtil.extendShape<{
5015
- id: z.ZodString;
5016
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5017
- id: string;
5018
- description: string;
5019
- defaultMessage: string;
5020
- }>;
5021
- parent: z.ZodOptional<z.ZodObject<{
5022
- $$field: z.ZodString;
5023
- }, "strip", z.ZodTypeAny, {
5024
- $$field: string;
4914
+ urbanOrRural: z.ZodLiteral<"URBAN">;
4915
+ town: z.ZodOptional<z.ZodString>;
4916
+ residentialArea: z.ZodOptional<z.ZodString>;
4917
+ street: z.ZodOptional<z.ZodString>;
4918
+ number: z.ZodOptional<z.ZodString>;
4919
+ zipCode: z.ZodOptional<z.ZodString>;
4920
+ }>, "strip", z.ZodTypeAny, {
4921
+ country: string;
4922
+ district: string;
4923
+ addressType: "DOMESTIC";
4924
+ province: string;
4925
+ urbanOrRural: "URBAN";
4926
+ number?: string | undefined;
4927
+ town?: string | undefined;
4928
+ residentialArea?: string | undefined;
4929
+ street?: string | undefined;
4930
+ zipCode?: string | undefined;
5025
4931
  }, {
5026
- $$field: string;
5027
- }>>;
5028
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5029
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5030
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5031
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5032
- id: string;
5033
- description: string;
5034
- defaultMessage: string;
5035
- }>>;
5036
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
5037
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
5038
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5039
- id: string;
5040
- description: string;
5041
- defaultMessage: string;
5042
- }>;
5043
- }, "strip", z.ZodTypeAny, {
5044
- message: TranslationConfig;
5045
- validator: import(".").JSONSchema;
5046
- }, {
5047
- message: {
5048
- id: string;
5049
- description: string;
5050
- defaultMessage: string;
5051
- };
5052
- validator: import(".").JSONSchema;
5053
- }>, "many">>>;
5054
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5055
- id: string;
5056
- description: string;
5057
- defaultMessage: string;
5058
- }>>;
5059
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5060
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5061
- }, {
5062
- type: z.ZodLiteral<"HTTP">;
5063
- defaultValue: z.ZodOptional<z.ZodObject<{
5064
- loading: z.ZodBoolean;
5065
- error: z.ZodNullable<z.ZodObject<{
5066
- statusCode: z.ZodNullable<z.ZodNumber>;
5067
- message: z.ZodString;
5068
- }, "strip", z.ZodTypeAny, {
5069
- message: string;
5070
- statusCode: number | null;
5071
- }, {
5072
- message: string;
5073
- statusCode: number | null;
5074
- }>>;
5075
- data: z.ZodAny;
5076
- trackingValue: z.ZodOptional<z.ZodString>;
5077
- }, "strip", z.ZodTypeAny, {
5078
- error: {
5079
- message: string;
5080
- statusCode: number | null;
5081
- } | null;
5082
- loading: boolean;
5083
- data?: any;
5084
- trackingValue?: string | undefined;
5085
- }, {
5086
- error: {
5087
- message: string;
5088
- statusCode: number | null;
5089
- } | null;
5090
- loading: boolean;
5091
- data?: any;
5092
- trackingValue?: string | undefined;
5093
- }>>;
5094
- configuration: z.ZodObject<{
5095
- trigger: z.ZodObject<{
5096
- $$field: z.ZodString;
5097
- }, "strip", z.ZodTypeAny, {
5098
- $$field: string;
5099
- }, {
5100
- $$field: string;
5101
- }>;
5102
- url: z.ZodString;
5103
- method: z.ZodEnum<["GET", "POST", "PUT", "DELETE"]>;
5104
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5105
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5106
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5107
- timeout: z.ZodDefault<z.ZodNumber>;
5108
- }, "strip", z.ZodTypeAny, {
5109
- method: "POST" | "DELETE" | "GET" | "PUT";
5110
- trigger: {
5111
- $$field: string;
5112
- };
5113
- url: string;
5114
- timeout: number;
5115
- params?: Record<string, string> | undefined;
5116
- headers?: Record<string, string> | undefined;
5117
- body?: Record<string, string> | undefined;
5118
- }, {
5119
- method: "POST" | "DELETE" | "GET" | "PUT";
5120
- trigger: {
5121
- $$field: string;
5122
- };
5123
- url: string;
5124
- params?: Record<string, string> | undefined;
5125
- headers?: Record<string, string> | undefined;
5126
- body?: Record<string, string> | undefined;
5127
- timeout?: number | undefined;
5128
- }>;
5129
- }>, "strip", z.ZodTypeAny, {
5130
- type: "HTTP";
5131
- id: string;
5132
- label: TranslationConfig;
5133
- configuration: {
5134
- method: "POST" | "DELETE" | "GET" | "PUT";
5135
- trigger: {
5136
- $$field: string;
5137
- };
5138
- url: string;
5139
- timeout: number;
5140
- params?: Record<string, string> | undefined;
5141
- headers?: Record<string, string> | undefined;
5142
- body?: Record<string, string> | undefined;
5143
- };
5144
- parent?: {
5145
- $$field: string;
5146
- } | undefined;
5147
- validation?: {
5148
- message: TranslationConfig;
5149
- validator: import(".").JSONSchema;
5150
- }[] | undefined;
5151
- required?: boolean | undefined;
5152
- conditionals?: ({
5153
- type: "SHOW";
5154
- conditional: import(".").JSONSchema;
5155
- } | {
5156
- type: "ENABLE";
5157
- conditional: import(".").JSONSchema;
5158
- } | {
5159
- type: "DISPLAY_ON_REVIEW";
5160
- conditional: import(".").JSONSchema;
5161
- })[] | undefined;
5162
- secured?: boolean | undefined;
5163
- placeholder?: TranslationConfig | undefined;
5164
- helperText?: TranslationConfig | undefined;
5165
- hideLabel?: boolean | undefined;
5166
- uncorrectable?: boolean | undefined;
5167
- defaultValue?: {
5168
- error: {
5169
- message: string;
5170
- statusCode: number | null;
5171
- } | null;
5172
- loading: boolean;
5173
- data?: any;
5174
- trackingValue?: string | undefined;
5175
- } | undefined;
5176
- }, {
5177
- type: "HTTP";
5178
- id: string;
5179
- label: {
5180
- id: string;
5181
- description: string;
5182
- defaultMessage: string;
5183
- };
5184
- configuration: {
5185
- method: "POST" | "DELETE" | "GET" | "PUT";
5186
- trigger: {
5187
- $$field: string;
5188
- };
5189
- url: string;
5190
- params?: Record<string, string> | undefined;
5191
- headers?: Record<string, string> | undefined;
5192
- body?: Record<string, string> | undefined;
5193
- timeout?: number | undefined;
5194
- };
5195
- parent?: {
5196
- $$field: string;
5197
- } | undefined;
5198
- validation?: {
5199
- message: {
5200
- id: string;
5201
- description: string;
5202
- defaultMessage: string;
5203
- };
5204
- validator: import(".").JSONSchema;
5205
- }[] | undefined;
5206
- required?: boolean | undefined;
5207
- conditionals?: ({
5208
- type: "SHOW";
5209
- conditional: import(".").JSONSchema;
5210
- } | {
5211
- type: "ENABLE";
5212
- conditional: import(".").JSONSchema;
5213
- } | {
5214
- type: "DISPLAY_ON_REVIEW";
5215
- conditional: import(".").JSONSchema;
5216
- })[] | undefined;
5217
- secured?: boolean | undefined;
5218
- placeholder?: {
5219
- id: string;
5220
- description: string;
5221
- defaultMessage: string;
5222
- } | undefined;
5223
- helperText?: {
5224
- id: string;
5225
- description: string;
5226
- defaultMessage: string;
5227
- } | undefined;
5228
- hideLabel?: boolean | undefined;
5229
- uncorrectable?: boolean | undefined;
5230
- defaultValue?: {
5231
- error: {
5232
- message: string;
5233
- statusCode: number | null;
5234
- } | null;
5235
- loading: boolean;
5236
- data?: any;
5237
- trackingValue?: string | undefined;
5238
- } | undefined;
5239
- }>;
5240
- export type HttpField = z.infer<typeof HttpField>;
5241
- export type FieldConfig = z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof TimeField> | z.infer<typeof DateRangeField> | z.infer<typeof SelectDateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof NameField> | z.infer<typeof PhoneField> | z.infer<typeof IdField> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof Location> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField> | z.infer<typeof ButtonField> | z.infer<typeof HttpField>;
5242
- export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
5243
- id: z.ZodString;
5244
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5245
- id: string;
5246
- description: string;
5247
- defaultMessage: string;
5248
- }>;
5249
- parent: z.ZodOptional<z.ZodObject<{
5250
- $$field: z.ZodString;
5251
- }, "strip", z.ZodTypeAny, {
5252
- $$field: string;
5253
- }, {
5254
- $$field: string;
5255
- }>>;
5256
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5257
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5258
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5259
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5260
- id: string;
5261
- description: string;
5262
- defaultMessage: string;
5263
- }>>;
5264
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
5265
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
5266
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5267
- id: string;
5268
- description: string;
5269
- defaultMessage: string;
5270
- }>;
5271
- }, "strip", z.ZodTypeAny, {
5272
- message: TranslationConfig;
5273
- validator: import(".").JSONSchema;
5274
- }, {
5275
- message: {
5276
- id: string;
5277
- description: string;
5278
- defaultMessage: string;
5279
- };
5280
- validator: import(".").JSONSchema;
5281
- }>, "many">>>;
5282
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5283
- id: string;
5284
- description: string;
5285
- defaultMessage: string;
5286
- }>>;
5287
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5288
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5289
- }, {
5290
- type: z.ZodLiteral<"ADDRESS">;
5291
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
5292
- country: z.ZodString;
5293
- addressType: z.ZodLiteral<"DOMESTIC">;
5294
- province: z.ZodString;
5295
- district: z.ZodString;
5296
- }, {
5297
- urbanOrRural: z.ZodLiteral<"URBAN">;
5298
- town: z.ZodOptional<z.ZodString>;
5299
- residentialArea: z.ZodOptional<z.ZodString>;
5300
- street: z.ZodOptional<z.ZodString>;
5301
- number: z.ZodOptional<z.ZodString>;
5302
- zipCode: z.ZodOptional<z.ZodString>;
5303
- }>, "strip", z.ZodTypeAny, {
5304
- country: string;
5305
- district: string;
5306
- addressType: "DOMESTIC";
5307
- province: string;
5308
- urbanOrRural: "URBAN";
5309
- number?: string | undefined;
5310
- town?: string | undefined;
5311
- residentialArea?: string | undefined;
5312
- street?: string | undefined;
5313
- zipCode?: string | undefined;
5314
- }, {
5315
- country: string;
5316
- district: string;
5317
- addressType: "DOMESTIC";
5318
- province: string;
5319
- urbanOrRural: "URBAN";
5320
- number?: string | undefined;
5321
- town?: string | undefined;
5322
- residentialArea?: string | undefined;
5323
- street?: string | undefined;
5324
- zipCode?: string | undefined;
5325
- }>, z.ZodObject<z.objectUtil.extendShape<{
5326
- country: z.ZodString;
5327
- addressType: z.ZodLiteral<"DOMESTIC">;
5328
- province: z.ZodString;
5329
- district: z.ZodString;
4932
+ country: string;
4933
+ district: string;
4934
+ addressType: "DOMESTIC";
4935
+ province: string;
4936
+ urbanOrRural: "URBAN";
4937
+ number?: string | undefined;
4938
+ town?: string | undefined;
4939
+ residentialArea?: string | undefined;
4940
+ street?: string | undefined;
4941
+ zipCode?: string | undefined;
4942
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4943
+ country: z.ZodString;
4944
+ addressType: z.ZodLiteral<"DOMESTIC">;
4945
+ province: z.ZodString;
4946
+ district: z.ZodString;
5330
4947
  }, {
5331
4948
  urbanOrRural: z.ZodLiteral<"RURAL">;
5332
4949
  village: z.ZodOptional<z.ZodString>;
@@ -5341,439 +4958,49 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5341
4958
  country: string;
5342
4959
  district: string;
5343
4960
  addressType: "DOMESTIC";
5344
- province: string;
5345
- urbanOrRural: "RURAL";
5346
- village?: string | undefined;
5347
- }>]>, z.ZodObject<{
5348
- country: z.ZodString;
5349
- addressType: z.ZodLiteral<"INTERNATIONAL">;
5350
- state: z.ZodString;
5351
- district2: z.ZodString;
5352
- cityOrTown: z.ZodOptional<z.ZodString>;
5353
- addressLine1: z.ZodOptional<z.ZodString>;
5354
- addressLine2: z.ZodOptional<z.ZodString>;
5355
- addressLine3: z.ZodOptional<z.ZodString>;
5356
- postcodeOrZip: z.ZodOptional<z.ZodString>;
5357
- }, "strip", z.ZodTypeAny, {
5358
- country: string;
5359
- state: string;
5360
- addressType: "INTERNATIONAL";
5361
- district2: string;
5362
- cityOrTown?: string | undefined;
5363
- addressLine1?: string | undefined;
5364
- addressLine2?: string | undefined;
5365
- addressLine3?: string | undefined;
5366
- postcodeOrZip?: string | undefined;
5367
- }, {
5368
- country: string;
5369
- state: string;
5370
- addressType: "INTERNATIONAL";
5371
- district2: string;
5372
- cityOrTown?: string | undefined;
5373
- addressLine1?: string | undefined;
5374
- addressLine2?: string | undefined;
5375
- addressLine3?: string | undefined;
5376
- postcodeOrZip?: string | undefined;
5377
- }>]>>;
5378
- configuration: z.ZodOptional<z.ZodObject<{
5379
- searchMode: z.ZodOptional<z.ZodBoolean>;
5380
- }, "strip", z.ZodTypeAny, {
5381
- searchMode?: boolean | undefined;
5382
- }, {
5383
- searchMode?: boolean | undefined;
5384
- }>>;
5385
- }>, "strip", z.ZodTypeAny, {
5386
- type: "ADDRESS";
5387
- id: string;
5388
- label: TranslationConfig;
5389
- parent?: {
5390
- $$field: string;
5391
- } | undefined;
5392
- validation?: {
5393
- message: TranslationConfig;
5394
- validator: import(".").JSONSchema;
5395
- }[] | undefined;
5396
- required?: boolean | undefined;
5397
- conditionals?: ({
5398
- type: "SHOW";
5399
- conditional: import(".").JSONSchema;
5400
- } | {
5401
- type: "ENABLE";
5402
- conditional: import(".").JSONSchema;
5403
- } | {
5404
- type: "DISPLAY_ON_REVIEW";
5405
- conditional: import(".").JSONSchema;
5406
- })[] | undefined;
5407
- secured?: boolean | undefined;
5408
- placeholder?: TranslationConfig | undefined;
5409
- helperText?: TranslationConfig | undefined;
5410
- hideLabel?: boolean | undefined;
5411
- uncorrectable?: boolean | undefined;
5412
- defaultValue?: {
5413
- country: string;
5414
- district: string;
5415
- addressType: "DOMESTIC";
5416
- province: string;
5417
- urbanOrRural: "URBAN";
5418
- number?: string | undefined;
5419
- town?: string | undefined;
5420
- residentialArea?: string | undefined;
5421
- street?: string | undefined;
5422
- zipCode?: string | undefined;
5423
- } | {
5424
- country: string;
5425
- district: string;
5426
- addressType: "DOMESTIC";
5427
- province: string;
5428
- urbanOrRural: "RURAL";
5429
- village?: string | undefined;
5430
- } | {
5431
- country: string;
5432
- state: string;
5433
- addressType: "INTERNATIONAL";
5434
- district2: string;
5435
- cityOrTown?: string | undefined;
5436
- addressLine1?: string | undefined;
5437
- addressLine2?: string | undefined;
5438
- addressLine3?: string | undefined;
5439
- postcodeOrZip?: string | undefined;
5440
- } | undefined;
5441
- configuration?: {
5442
- searchMode?: boolean | undefined;
5443
- } | undefined;
5444
- }, {
5445
- type: "ADDRESS";
5446
- id: string;
5447
- label: {
5448
- id: string;
5449
- description: string;
5450
- defaultMessage: string;
5451
- };
5452
- parent?: {
5453
- $$field: string;
5454
- } | undefined;
5455
- validation?: {
5456
- message: {
5457
- id: string;
5458
- description: string;
5459
- defaultMessage: string;
5460
- };
5461
- validator: import(".").JSONSchema;
5462
- }[] | undefined;
5463
- required?: boolean | undefined;
5464
- conditionals?: ({
5465
- type: "SHOW";
5466
- conditional: import(".").JSONSchema;
5467
- } | {
5468
- type: "ENABLE";
5469
- conditional: import(".").JSONSchema;
5470
- } | {
5471
- type: "DISPLAY_ON_REVIEW";
5472
- conditional: import(".").JSONSchema;
5473
- })[] | undefined;
5474
- secured?: boolean | undefined;
5475
- placeholder?: {
5476
- id: string;
5477
- description: string;
5478
- defaultMessage: string;
5479
- } | undefined;
5480
- helperText?: {
5481
- id: string;
5482
- description: string;
5483
- defaultMessage: string;
5484
- } | undefined;
5485
- hideLabel?: boolean | undefined;
5486
- uncorrectable?: boolean | undefined;
5487
- defaultValue?: {
5488
- country: string;
5489
- district: string;
5490
- addressType: "DOMESTIC";
5491
- province: string;
5492
- urbanOrRural: "URBAN";
5493
- number?: string | undefined;
5494
- town?: string | undefined;
5495
- residentialArea?: string | undefined;
5496
- street?: string | undefined;
5497
- zipCode?: string | undefined;
5498
- } | {
5499
- country: string;
5500
- district: string;
5501
- addressType: "DOMESTIC";
5502
- province: string;
5503
- urbanOrRural: "RURAL";
5504
- village?: string | undefined;
5505
- } | {
5506
- country: string;
5507
- state: string;
5508
- addressType: "INTERNATIONAL";
5509
- district2: string;
5510
- cityOrTown?: string | undefined;
5511
- addressLine1?: string | undefined;
5512
- addressLine2?: string | undefined;
5513
- addressLine3?: string | undefined;
5514
- postcodeOrZip?: string | undefined;
5515
- } | undefined;
5516
- configuration?: {
5517
- searchMode?: boolean | undefined;
5518
- } | undefined;
5519
- }>, z.ZodObject<z.objectUtil.extendShape<{
5520
- id: z.ZodString;
5521
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5522
- id: string;
5523
- description: string;
5524
- defaultMessage: string;
5525
- }>;
5526
- parent: z.ZodOptional<z.ZodObject<{
5527
- $$field: z.ZodString;
5528
- }, "strip", z.ZodTypeAny, {
5529
- $$field: string;
5530
- }, {
5531
- $$field: string;
5532
- }>>;
5533
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5534
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5535
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5536
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5537
- id: string;
5538
- description: string;
5539
- defaultMessage: string;
5540
- }>>;
5541
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
5542
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
5543
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5544
- id: string;
5545
- description: string;
5546
- defaultMessage: string;
5547
- }>;
5548
- }, "strip", z.ZodTypeAny, {
5549
- message: TranslationConfig;
5550
- validator: import(".").JSONSchema;
5551
- }, {
5552
- message: {
5553
- id: string;
5554
- description: string;
5555
- defaultMessage: string;
5556
- };
5557
- validator: import(".").JSONSchema;
5558
- }>, "many">>>;
5559
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5560
- id: string;
5561
- description: string;
5562
- defaultMessage: string;
5563
- }>>;
5564
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5565
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5566
- }, {
5567
- type: z.ZodLiteral<"TEXT">;
5568
- defaultValue: z.ZodOptional<z.ZodString>;
5569
- configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
5570
- maxLength: z.ZodOptional<z.ZodNumber>;
5571
- type: z.ZodOptional<z.ZodEnum<["text", "password"]>>;
5572
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5573
- id: string;
5574
- description: string;
5575
- defaultMessage: string;
5576
- }>>;
5577
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5578
- id: string;
5579
- description: string;
5580
- defaultMessage: string;
5581
- }>>;
5582
- }, "strip", z.ZodTypeAny, {
5583
- type?: "text" | "password" | undefined;
5584
- maxLength?: number | undefined;
5585
- prefix?: TranslationConfig | undefined;
5586
- postfix?: TranslationConfig | undefined;
5587
- }, {
5588
- type?: "text" | "password" | undefined;
5589
- maxLength?: number | undefined;
5590
- prefix?: {
5591
- id: string;
5592
- description: string;
5593
- defaultMessage: string;
5594
- } | undefined;
5595
- postfix?: {
5596
- id: string;
5597
- description: string;
5598
- defaultMessage: string;
5599
- } | undefined;
5600
- }>>>;
5601
- }>, "strip", z.ZodTypeAny, {
5602
- type: "TEXT";
5603
- id: string;
5604
- label: TranslationConfig;
5605
- parent?: {
5606
- $$field: string;
5607
- } | undefined;
5608
- validation?: {
5609
- message: TranslationConfig;
5610
- validator: import(".").JSONSchema;
5611
- }[] | undefined;
5612
- required?: boolean | undefined;
5613
- conditionals?: ({
5614
- type: "SHOW";
5615
- conditional: import(".").JSONSchema;
5616
- } | {
5617
- type: "ENABLE";
5618
- conditional: import(".").JSONSchema;
5619
- } | {
5620
- type: "DISPLAY_ON_REVIEW";
5621
- conditional: import(".").JSONSchema;
5622
- })[] | undefined;
5623
- secured?: boolean | undefined;
5624
- placeholder?: TranslationConfig | undefined;
5625
- helperText?: TranslationConfig | undefined;
5626
- hideLabel?: boolean | undefined;
5627
- uncorrectable?: boolean | undefined;
5628
- defaultValue?: string | undefined;
5629
- configuration?: {
5630
- type?: "text" | "password" | undefined;
5631
- maxLength?: number | undefined;
5632
- prefix?: TranslationConfig | undefined;
5633
- postfix?: TranslationConfig | undefined;
5634
- } | undefined;
5635
- }, {
5636
- type: "TEXT";
5637
- id: string;
5638
- label: {
5639
- id: string;
5640
- description: string;
5641
- defaultMessage: string;
5642
- };
5643
- parent?: {
5644
- $$field: string;
5645
- } | undefined;
5646
- validation?: {
5647
- message: {
5648
- id: string;
5649
- description: string;
5650
- defaultMessage: string;
5651
- };
5652
- validator: import(".").JSONSchema;
5653
- }[] | undefined;
5654
- required?: boolean | undefined;
5655
- conditionals?: ({
5656
- type: "SHOW";
5657
- conditional: import(".").JSONSchema;
5658
- } | {
5659
- type: "ENABLE";
5660
- conditional: import(".").JSONSchema;
5661
- } | {
5662
- type: "DISPLAY_ON_REVIEW";
5663
- conditional: import(".").JSONSchema;
5664
- })[] | undefined;
5665
- secured?: boolean | undefined;
5666
- placeholder?: {
5667
- id: string;
5668
- description: string;
5669
- defaultMessage: string;
5670
- } | undefined;
5671
- helperText?: {
5672
- id: string;
5673
- description: string;
5674
- defaultMessage: string;
5675
- } | undefined;
5676
- hideLabel?: boolean | undefined;
5677
- uncorrectable?: boolean | undefined;
5678
- defaultValue?: string | undefined;
5679
- configuration?: {
5680
- type?: "text" | "password" | undefined;
5681
- maxLength?: number | undefined;
5682
- prefix?: {
5683
- id: string;
5684
- description: string;
5685
- defaultMessage: string;
5686
- } | undefined;
5687
- postfix?: {
5688
- id: string;
5689
- description: string;
5690
- defaultMessage: string;
5691
- } | undefined;
5692
- } | undefined;
5693
- }>, z.ZodObject<z.objectUtil.extendShape<{
5694
- id: z.ZodString;
5695
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5696
- id: string;
5697
- description: string;
5698
- defaultMessage: string;
5699
- }>;
5700
- parent: z.ZodOptional<z.ZodObject<{
5701
- $$field: z.ZodString;
5702
- }, "strip", z.ZodTypeAny, {
5703
- $$field: string;
5704
- }, {
5705
- $$field: string;
5706
- }>>;
5707
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5708
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
5709
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5710
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5711
- id: string;
5712
- description: string;
5713
- defaultMessage: string;
5714
- }>>;
5715
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
5716
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
5717
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5718
- id: string;
5719
- description: string;
5720
- defaultMessage: string;
5721
- }>;
4961
+ province: string;
4962
+ urbanOrRural: "RURAL";
4963
+ village?: string | undefined;
4964
+ }>]>, z.ZodObject<{
4965
+ country: z.ZodString;
4966
+ addressType: z.ZodLiteral<"INTERNATIONAL">;
4967
+ state: z.ZodString;
4968
+ district2: z.ZodString;
4969
+ cityOrTown: z.ZodOptional<z.ZodString>;
4970
+ addressLine1: z.ZodOptional<z.ZodString>;
4971
+ addressLine2: z.ZodOptional<z.ZodString>;
4972
+ addressLine3: z.ZodOptional<z.ZodString>;
4973
+ postcodeOrZip: z.ZodOptional<z.ZodString>;
5722
4974
  }, "strip", z.ZodTypeAny, {
5723
- message: TranslationConfig;
5724
- validator: import(".").JSONSchema;
4975
+ country: string;
4976
+ state: string;
4977
+ addressType: "INTERNATIONAL";
4978
+ district2: string;
4979
+ cityOrTown?: string | undefined;
4980
+ addressLine1?: string | undefined;
4981
+ addressLine2?: string | undefined;
4982
+ addressLine3?: string | undefined;
4983
+ postcodeOrZip?: string | undefined;
5725
4984
  }, {
5726
- message: {
5727
- id: string;
5728
- description: string;
5729
- defaultMessage: string;
5730
- };
5731
- validator: import(".").JSONSchema;
5732
- }>, "many">>>;
5733
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5734
- id: string;
5735
- description: string;
5736
- defaultMessage: string;
5737
- }>>;
5738
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5739
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5740
- }, {
5741
- type: z.ZodLiteral<"NUMBER">;
5742
- defaultValue: z.ZodOptional<z.ZodNumber>;
4985
+ country: string;
4986
+ state: string;
4987
+ addressType: "INTERNATIONAL";
4988
+ district2: string;
4989
+ cityOrTown?: string | undefined;
4990
+ addressLine1?: string | undefined;
4991
+ addressLine2?: string | undefined;
4992
+ addressLine3?: string | undefined;
4993
+ postcodeOrZip?: string | undefined;
4994
+ }>]>>;
5743
4995
  configuration: z.ZodOptional<z.ZodObject<{
5744
- min: z.ZodOptional<z.ZodNumber>;
5745
- max: z.ZodOptional<z.ZodNumber>;
5746
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5747
- id: string;
5748
- description: string;
5749
- defaultMessage: string;
5750
- }>>;
5751
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5752
- id: string;
5753
- description: string;
5754
- defaultMessage: string;
5755
- }>>;
4996
+ searchMode: z.ZodOptional<z.ZodBoolean>;
5756
4997
  }, "strip", z.ZodTypeAny, {
5757
- prefix?: TranslationConfig | undefined;
5758
- postfix?: TranslationConfig | undefined;
5759
- min?: number | undefined;
5760
- max?: number | undefined;
4998
+ searchMode?: boolean | undefined;
5761
4999
  }, {
5762
- prefix?: {
5763
- id: string;
5764
- description: string;
5765
- defaultMessage: string;
5766
- } | undefined;
5767
- postfix?: {
5768
- id: string;
5769
- description: string;
5770
- defaultMessage: string;
5771
- } | undefined;
5772
- min?: number | undefined;
5773
- max?: number | undefined;
5000
+ searchMode?: boolean | undefined;
5774
5001
  }>>;
5775
5002
  }>, "strip", z.ZodTypeAny, {
5776
- type: "NUMBER";
5003
+ type: "ADDRESS";
5777
5004
  id: string;
5778
5005
  label: TranslationConfig;
5779
5006
  parent?: {
@@ -5799,15 +5026,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5799
5026
  helperText?: TranslationConfig | undefined;
5800
5027
  hideLabel?: boolean | undefined;
5801
5028
  uncorrectable?: boolean | undefined;
5802
- defaultValue?: number | undefined;
5029
+ defaultValue?: {
5030
+ country: string;
5031
+ district: string;
5032
+ addressType: "DOMESTIC";
5033
+ province: string;
5034
+ urbanOrRural: "URBAN";
5035
+ number?: string | undefined;
5036
+ town?: string | undefined;
5037
+ residentialArea?: string | undefined;
5038
+ street?: string | undefined;
5039
+ zipCode?: string | undefined;
5040
+ } | {
5041
+ country: string;
5042
+ district: string;
5043
+ addressType: "DOMESTIC";
5044
+ province: string;
5045
+ urbanOrRural: "RURAL";
5046
+ village?: string | undefined;
5047
+ } | {
5048
+ country: string;
5049
+ state: string;
5050
+ addressType: "INTERNATIONAL";
5051
+ district2: string;
5052
+ cityOrTown?: string | undefined;
5053
+ addressLine1?: string | undefined;
5054
+ addressLine2?: string | undefined;
5055
+ addressLine3?: string | undefined;
5056
+ postcodeOrZip?: string | undefined;
5057
+ } | undefined;
5803
5058
  configuration?: {
5804
- prefix?: TranslationConfig | undefined;
5805
- postfix?: TranslationConfig | undefined;
5806
- min?: number | undefined;
5807
- max?: number | undefined;
5059
+ searchMode?: boolean | undefined;
5808
5060
  } | undefined;
5809
5061
  }, {
5810
- type: "NUMBER";
5062
+ type: "ADDRESS";
5811
5063
  id: string;
5812
5064
  label: {
5813
5065
  id: string;
@@ -5849,20 +5101,37 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5849
5101
  } | undefined;
5850
5102
  hideLabel?: boolean | undefined;
5851
5103
  uncorrectable?: boolean | undefined;
5852
- defaultValue?: number | undefined;
5104
+ defaultValue?: {
5105
+ country: string;
5106
+ district: string;
5107
+ addressType: "DOMESTIC";
5108
+ province: string;
5109
+ urbanOrRural: "URBAN";
5110
+ number?: string | undefined;
5111
+ town?: string | undefined;
5112
+ residentialArea?: string | undefined;
5113
+ street?: string | undefined;
5114
+ zipCode?: string | undefined;
5115
+ } | {
5116
+ country: string;
5117
+ district: string;
5118
+ addressType: "DOMESTIC";
5119
+ province: string;
5120
+ urbanOrRural: "RURAL";
5121
+ village?: string | undefined;
5122
+ } | {
5123
+ country: string;
5124
+ state: string;
5125
+ addressType: "INTERNATIONAL";
5126
+ district2: string;
5127
+ cityOrTown?: string | undefined;
5128
+ addressLine1?: string | undefined;
5129
+ addressLine2?: string | undefined;
5130
+ addressLine3?: string | undefined;
5131
+ postcodeOrZip?: string | undefined;
5132
+ } | undefined;
5853
5133
  configuration?: {
5854
- prefix?: {
5855
- id: string;
5856
- description: string;
5857
- defaultMessage: string;
5858
- } | undefined;
5859
- postfix?: {
5860
- id: string;
5861
- description: string;
5862
- defaultMessage: string;
5863
- } | undefined;
5864
- min?: number | undefined;
5865
- max?: number | undefined;
5134
+ searchMode?: boolean | undefined;
5866
5135
  } | undefined;
5867
5136
  }>, z.ZodObject<z.objectUtil.extendShape<{
5868
5137
  id: z.ZodString;
@@ -5912,12 +5181,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5912
5181
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5913
5182
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5914
5183
  }, {
5915
- type: z.ZodLiteral<"TEXTAREA">;
5184
+ type: z.ZodLiteral<"TEXT">;
5916
5185
  defaultValue: z.ZodOptional<z.ZodString>;
5917
5186
  configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
5918
5187
  maxLength: z.ZodOptional<z.ZodNumber>;
5919
- rows: z.ZodOptional<z.ZodNumber>;
5920
- cols: z.ZodOptional<z.ZodNumber>;
5188
+ type: z.ZodOptional<z.ZodEnum<["text", "password"]>>;
5921
5189
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5922
5190
  id: string;
5923
5191
  description: string;
@@ -5929,12 +5197,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5929
5197
  defaultMessage: string;
5930
5198
  }>>;
5931
5199
  }, "strip", z.ZodTypeAny, {
5200
+ type?: "text" | "password" | undefined;
5932
5201
  maxLength?: number | undefined;
5933
5202
  prefix?: TranslationConfig | undefined;
5934
5203
  postfix?: TranslationConfig | undefined;
5935
- rows?: number | undefined;
5936
- cols?: number | undefined;
5937
5204
  }, {
5205
+ type?: "text" | "password" | undefined;
5938
5206
  maxLength?: number | undefined;
5939
5207
  prefix?: {
5940
5208
  id: string;
@@ -5946,11 +5214,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5946
5214
  description: string;
5947
5215
  defaultMessage: string;
5948
5216
  } | undefined;
5949
- rows?: number | undefined;
5950
- cols?: number | undefined;
5951
5217
  }>>>;
5952
5218
  }>, "strip", z.ZodTypeAny, {
5953
- type: "TEXTAREA";
5219
+ type: "TEXT";
5954
5220
  id: string;
5955
5221
  label: TranslationConfig;
5956
5222
  parent?: {
@@ -5978,14 +5244,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
5978
5244
  uncorrectable?: boolean | undefined;
5979
5245
  defaultValue?: string | undefined;
5980
5246
  configuration?: {
5247
+ type?: "text" | "password" | undefined;
5981
5248
  maxLength?: number | undefined;
5982
5249
  prefix?: TranslationConfig | undefined;
5983
5250
  postfix?: TranslationConfig | undefined;
5984
- rows?: number | undefined;
5985
- cols?: number | undefined;
5986
5251
  } | undefined;
5987
5252
  }, {
5988
- type: "TEXTAREA";
5253
+ type: "TEXT";
5989
5254
  id: string;
5990
5255
  label: {
5991
5256
  id: string;
@@ -6029,6 +5294,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6029
5294
  uncorrectable?: boolean | undefined;
6030
5295
  defaultValue?: string | undefined;
6031
5296
  configuration?: {
5297
+ type?: "text" | "password" | undefined;
6032
5298
  maxLength?: number | undefined;
6033
5299
  prefix?: {
6034
5300
  id: string;
@@ -6040,8 +5306,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6040
5306
  description: string;
6041
5307
  defaultMessage: string;
6042
5308
  } | undefined;
6043
- rows?: number | undefined;
6044
- cols?: number | undefined;
6045
5309
  } | undefined;
6046
5310
  }>, z.ZodObject<z.objectUtil.extendShape<{
6047
5311
  id: z.ZodString;
@@ -6091,25 +5355,42 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6091
5355
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6092
5356
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6093
5357
  }, {
6094
- type: z.ZodLiteral<"DATE">;
6095
- defaultValue: z.ZodOptional<z.ZodString>;
5358
+ type: z.ZodLiteral<"NUMBER">;
5359
+ defaultValue: z.ZodOptional<z.ZodNumber>;
6096
5360
  configuration: z.ZodOptional<z.ZodObject<{
6097
- notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5361
+ min: z.ZodOptional<z.ZodNumber>;
5362
+ max: z.ZodOptional<z.ZodNumber>;
5363
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5364
+ id: string;
5365
+ description: string;
5366
+ defaultMessage: string;
5367
+ }>>;
5368
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6098
5369
  id: string;
6099
5370
  description: string;
6100
5371
  defaultMessage: string;
6101
5372
  }>>;
6102
5373
  }, "strip", z.ZodTypeAny, {
6103
- notice?: TranslationConfig | undefined;
5374
+ prefix?: TranslationConfig | undefined;
5375
+ postfix?: TranslationConfig | undefined;
5376
+ min?: number | undefined;
5377
+ max?: number | undefined;
6104
5378
  }, {
6105
- notice?: {
5379
+ prefix?: {
5380
+ id: string;
5381
+ description: string;
5382
+ defaultMessage: string;
5383
+ } | undefined;
5384
+ postfix?: {
6106
5385
  id: string;
6107
5386
  description: string;
6108
5387
  defaultMessage: string;
6109
5388
  } | undefined;
5389
+ min?: number | undefined;
5390
+ max?: number | undefined;
6110
5391
  }>>;
6111
5392
  }>, "strip", z.ZodTypeAny, {
6112
- type: "DATE";
5393
+ type: "NUMBER";
6113
5394
  id: string;
6114
5395
  label: TranslationConfig;
6115
5396
  parent?: {
@@ -6135,12 +5416,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6135
5416
  helperText?: TranslationConfig | undefined;
6136
5417
  hideLabel?: boolean | undefined;
6137
5418
  uncorrectable?: boolean | undefined;
6138
- defaultValue?: string | undefined;
5419
+ defaultValue?: number | undefined;
6139
5420
  configuration?: {
6140
- notice?: TranslationConfig | undefined;
5421
+ prefix?: TranslationConfig | undefined;
5422
+ postfix?: TranslationConfig | undefined;
5423
+ min?: number | undefined;
5424
+ max?: number | undefined;
6141
5425
  } | undefined;
6142
5426
  }, {
6143
- type: "DATE";
5427
+ type: "NUMBER";
6144
5428
  id: string;
6145
5429
  label: {
6146
5430
  id: string;
@@ -6182,13 +5466,20 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6182
5466
  } | undefined;
6183
5467
  hideLabel?: boolean | undefined;
6184
5468
  uncorrectable?: boolean | undefined;
6185
- defaultValue?: string | undefined;
5469
+ defaultValue?: number | undefined;
6186
5470
  configuration?: {
6187
- notice?: {
5471
+ prefix?: {
5472
+ id: string;
5473
+ description: string;
5474
+ defaultMessage: string;
5475
+ } | undefined;
5476
+ postfix?: {
6188
5477
  id: string;
6189
5478
  description: string;
6190
5479
  defaultMessage: string;
6191
5480
  } | undefined;
5481
+ min?: number | undefined;
5482
+ max?: number | undefined;
6192
5483
  } | undefined;
6193
5484
  }>, z.ZodObject<z.objectUtil.extendShape<{
6194
5485
  id: z.ZodString;
@@ -6238,25 +5529,45 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6238
5529
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6239
5530
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6240
5531
  }, {
6241
- type: z.ZodLiteral<"TIME">;
5532
+ type: z.ZodLiteral<"TEXTAREA">;
6242
5533
  defaultValue: z.ZodOptional<z.ZodString>;
6243
- configuration: z.ZodOptional<z.ZodObject<{
6244
- notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5534
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
5535
+ maxLength: z.ZodOptional<z.ZodNumber>;
5536
+ rows: z.ZodOptional<z.ZodNumber>;
5537
+ cols: z.ZodOptional<z.ZodNumber>;
5538
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5539
+ id: string;
5540
+ description: string;
5541
+ defaultMessage: string;
5542
+ }>>;
5543
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5544
+ id: string;
5545
+ description: string;
5546
+ defaultMessage: string;
5547
+ }>>;
5548
+ }, "strip", z.ZodTypeAny, {
5549
+ maxLength?: number | undefined;
5550
+ prefix?: TranslationConfig | undefined;
5551
+ postfix?: TranslationConfig | undefined;
5552
+ rows?: number | undefined;
5553
+ cols?: number | undefined;
5554
+ }, {
5555
+ maxLength?: number | undefined;
5556
+ prefix?: {
6245
5557
  id: string;
6246
5558
  description: string;
6247
5559
  defaultMessage: string;
6248
- }>>;
6249
- }, "strip", z.ZodTypeAny, {
6250
- notice?: TranslationConfig | undefined;
6251
- }, {
6252
- notice?: {
5560
+ } | undefined;
5561
+ postfix?: {
6253
5562
  id: string;
6254
5563
  description: string;
6255
5564
  defaultMessage: string;
6256
5565
  } | undefined;
6257
- }>>;
5566
+ rows?: number | undefined;
5567
+ cols?: number | undefined;
5568
+ }>>>;
6258
5569
  }>, "strip", z.ZodTypeAny, {
6259
- type: "TIME";
5570
+ type: "TEXTAREA";
6260
5571
  id: string;
6261
5572
  label: TranslationConfig;
6262
5573
  parent?: {
@@ -6284,10 +5595,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6284
5595
  uncorrectable?: boolean | undefined;
6285
5596
  defaultValue?: string | undefined;
6286
5597
  configuration?: {
6287
- notice?: TranslationConfig | undefined;
5598
+ maxLength?: number | undefined;
5599
+ prefix?: TranslationConfig | undefined;
5600
+ postfix?: TranslationConfig | undefined;
5601
+ rows?: number | undefined;
5602
+ cols?: number | undefined;
6288
5603
  } | undefined;
6289
5604
  }, {
6290
- type: "TIME";
5605
+ type: "TEXTAREA";
6291
5606
  id: string;
6292
5607
  label: {
6293
5608
  id: string;
@@ -6331,11 +5646,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6331
5646
  uncorrectable?: boolean | undefined;
6332
5647
  defaultValue?: string | undefined;
6333
5648
  configuration?: {
6334
- notice?: {
5649
+ maxLength?: number | undefined;
5650
+ prefix?: {
5651
+ id: string;
5652
+ description: string;
5653
+ defaultMessage: string;
5654
+ } | undefined;
5655
+ postfix?: {
6335
5656
  id: string;
6336
5657
  description: string;
6337
5658
  defaultMessage: string;
6338
5659
  } | undefined;
5660
+ rows?: number | undefined;
5661
+ cols?: number | undefined;
6339
5662
  } | undefined;
6340
5663
  }>, z.ZodObject<z.objectUtil.extendShape<{
6341
5664
  id: z.ZodString;
@@ -6385,17 +5708,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6385
5708
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6386
5709
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6387
5710
  }, {
6388
- type: z.ZodLiteral<"DATE_RANGE">;
6389
- defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6390
- start: z.ZodString;
6391
- end: z.ZodString;
6392
- }, "strip", z.ZodTypeAny, {
6393
- start: string;
6394
- end: string;
6395
- }, {
6396
- start: string;
6397
- end: string;
6398
- }>, z.ZodString]>>;
5711
+ type: z.ZodLiteral<"DATE">;
5712
+ defaultValue: z.ZodOptional<z.ZodString>;
6399
5713
  configuration: z.ZodOptional<z.ZodObject<{
6400
5714
  notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6401
5715
  id: string;
@@ -6412,7 +5726,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6412
5726
  } | undefined;
6413
5727
  }>>;
6414
5728
  }>, "strip", z.ZodTypeAny, {
6415
- type: "DATE_RANGE";
5729
+ type: "DATE";
6416
5730
  id: string;
6417
5731
  label: TranslationConfig;
6418
5732
  parent?: {
@@ -6438,15 +5752,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6438
5752
  helperText?: TranslationConfig | undefined;
6439
5753
  hideLabel?: boolean | undefined;
6440
5754
  uncorrectable?: boolean | undefined;
6441
- defaultValue?: string | {
6442
- start: string;
6443
- end: string;
6444
- } | undefined;
5755
+ defaultValue?: string | undefined;
6445
5756
  configuration?: {
6446
5757
  notice?: TranslationConfig | undefined;
6447
5758
  } | undefined;
6448
5759
  }, {
6449
- type: "DATE_RANGE";
5760
+ type: "DATE";
6450
5761
  id: string;
6451
5762
  label: {
6452
5763
  id: string;
@@ -6488,10 +5799,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6488
5799
  } | undefined;
6489
5800
  hideLabel?: boolean | undefined;
6490
5801
  uncorrectable?: boolean | undefined;
6491
- defaultValue?: string | {
6492
- start: string;
6493
- end: string;
6494
- } | undefined;
5802
+ defaultValue?: string | undefined;
6495
5803
  configuration?: {
6496
5804
  notice?: {
6497
5805
  id: string;
@@ -6547,33 +5855,26 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6547
5855
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6548
5856
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6549
5857
  }, {
6550
- type: z.ZodLiteral<"SELECT_DATE_RANGE">;
6551
- defaultValue: z.ZodOptional<z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>>;
6552
- options: z.ZodArray<z.ZodObject<{
6553
- value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
6554
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
5858
+ type: z.ZodLiteral<"TIME">;
5859
+ defaultValue: z.ZodOptional<z.ZodString>;
5860
+ configuration: z.ZodOptional<z.ZodObject<{
5861
+ notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6555
5862
  id: string;
6556
5863
  description: string;
6557
5864
  defaultMessage: string;
6558
- }>;
5865
+ }>>;
6559
5866
  }, "strip", z.ZodTypeAny, {
6560
- value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6561
- label: TranslationConfig;
5867
+ notice?: TranslationConfig | undefined;
6562
5868
  }, {
6563
- value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6564
- label: {
5869
+ notice?: {
6565
5870
  id: string;
6566
5871
  description: string;
6567
5872
  defaultMessage: string;
6568
- };
6569
- }>, "many">;
5873
+ } | undefined;
5874
+ }>>;
6570
5875
  }>, "strip", z.ZodTypeAny, {
6571
- type: "SELECT_DATE_RANGE";
5876
+ type: "TIME";
6572
5877
  id: string;
6573
- options: {
6574
- value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6575
- label: TranslationConfig;
6576
- }[];
6577
5878
  label: TranslationConfig;
6578
5879
  parent?: {
6579
5880
  $$field: string;
@@ -6598,18 +5899,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6598
5899
  helperText?: TranslationConfig | undefined;
6599
5900
  hideLabel?: boolean | undefined;
6600
5901
  uncorrectable?: boolean | undefined;
6601
- defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
5902
+ defaultValue?: string | undefined;
5903
+ configuration?: {
5904
+ notice?: TranslationConfig | undefined;
5905
+ } | undefined;
6602
5906
  }, {
6603
- type: "SELECT_DATE_RANGE";
5907
+ type: "TIME";
6604
5908
  id: string;
6605
- options: {
6606
- value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6607
- label: {
6608
- id: string;
6609
- description: string;
6610
- defaultMessage: string;
6611
- };
6612
- }[];
6613
5909
  label: {
6614
5910
  id: string;
6615
5911
  description: string;
@@ -6650,7 +5946,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6650
5946
  } | undefined;
6651
5947
  hideLabel?: boolean | undefined;
6652
5948
  uncorrectable?: boolean | undefined;
6653
- defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
5949
+ defaultValue?: string | undefined;
5950
+ configuration?: {
5951
+ notice?: {
5952
+ id: string;
5953
+ description: string;
5954
+ defaultMessage: string;
5955
+ } | undefined;
5956
+ } | undefined;
6654
5957
  }>, z.ZodObject<z.objectUtil.extendShape<{
6655
5958
  id: z.ZodString;
6656
5959
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -6699,40 +6002,36 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6699
6002
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6700
6003
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6701
6004
  }, {
6702
- type: z.ZodLiteral<"PARAGRAPH">;
6703
- defaultValue: z.ZodOptional<z.ZodString>;
6704
- configuration: z.ZodDefault<z.ZodObject<{
6705
- styles: z.ZodOptional<z.ZodObject<{
6706
- fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
6707
- hint: z.ZodOptional<z.ZodBoolean>;
6708
- }, "strip", z.ZodTypeAny, {
6709
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6710
- hint?: boolean | undefined;
6711
- }, {
6712
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6713
- hint?: boolean | undefined;
6005
+ type: z.ZodLiteral<"DATE_RANGE">;
6006
+ defaultValue: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6007
+ start: z.ZodString;
6008
+ end: z.ZodString;
6009
+ }, "strip", z.ZodTypeAny, {
6010
+ start: string;
6011
+ end: string;
6012
+ }, {
6013
+ start: string;
6014
+ end: string;
6015
+ }>, z.ZodString]>>;
6016
+ configuration: z.ZodOptional<z.ZodObject<{
6017
+ notice: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6018
+ id: string;
6019
+ description: string;
6020
+ defaultMessage: string;
6714
6021
  }>>;
6715
6022
  }, "strip", z.ZodTypeAny, {
6716
- styles?: {
6717
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6718
- hint?: boolean | undefined;
6719
- } | undefined;
6023
+ notice?: TranslationConfig | undefined;
6720
6024
  }, {
6721
- styles?: {
6722
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6723
- hint?: boolean | undefined;
6025
+ notice?: {
6026
+ id: string;
6027
+ description: string;
6028
+ defaultMessage: string;
6724
6029
  } | undefined;
6725
6030
  }>>;
6726
6031
  }>, "strip", z.ZodTypeAny, {
6727
- type: "PARAGRAPH";
6032
+ type: "DATE_RANGE";
6728
6033
  id: string;
6729
6034
  label: TranslationConfig;
6730
- configuration: {
6731
- styles?: {
6732
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6733
- hint?: boolean | undefined;
6734
- } | undefined;
6735
- };
6736
6035
  parent?: {
6737
6036
  $$field: string;
6738
6037
  } | undefined;
@@ -6756,9 +6055,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6756
6055
  helperText?: TranslationConfig | undefined;
6757
6056
  hideLabel?: boolean | undefined;
6758
6057
  uncorrectable?: boolean | undefined;
6759
- defaultValue?: string | undefined;
6058
+ defaultValue?: string | {
6059
+ start: string;
6060
+ end: string;
6061
+ } | undefined;
6062
+ configuration?: {
6063
+ notice?: TranslationConfig | undefined;
6064
+ } | undefined;
6760
6065
  }, {
6761
- type: "PARAGRAPH";
6066
+ type: "DATE_RANGE";
6762
6067
  id: string;
6763
6068
  label: {
6764
6069
  id: string;
@@ -6800,11 +6105,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6800
6105
  } | undefined;
6801
6106
  hideLabel?: boolean | undefined;
6802
6107
  uncorrectable?: boolean | undefined;
6803
- defaultValue?: string | undefined;
6108
+ defaultValue?: string | {
6109
+ start: string;
6110
+ end: string;
6111
+ } | undefined;
6804
6112
  configuration?: {
6805
- styles?: {
6806
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6807
- hint?: boolean | undefined;
6113
+ notice?: {
6114
+ id: string;
6115
+ description: string;
6116
+ defaultMessage: string;
6808
6117
  } | undefined;
6809
6118
  } | undefined;
6810
6119
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -6855,48 +6164,31 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6855
6164
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6856
6165
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6857
6166
  }, {
6858
- type: z.ZodLiteral<"RADIO_GROUP">;
6859
- defaultValue: z.ZodOptional<z.ZodString>;
6167
+ type: z.ZodLiteral<"SELECT_DATE_RANGE">;
6168
+ defaultValue: z.ZodOptional<z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>>;
6860
6169
  options: z.ZodArray<z.ZodObject<{
6861
- value: z.ZodString;
6170
+ value: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
6862
6171
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6863
6172
  id: string;
6864
6173
  description: string;
6865
6174
  defaultMessage: string;
6866
6175
  }>;
6867
6176
  }, "strip", z.ZodTypeAny, {
6868
- value: string;
6177
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6869
6178
  label: TranslationConfig;
6870
6179
  }, {
6871
- value: string;
6180
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6872
6181
  label: {
6873
6182
  id: string;
6874
6183
  description: string;
6875
6184
  defaultMessage: string;
6876
6185
  };
6877
6186
  }>, "many">;
6878
- configuration: z.ZodOptional<z.ZodObject<{
6879
- styles: z.ZodOptional<z.ZodObject<{
6880
- size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
6881
- }, "strip", z.ZodTypeAny, {
6882
- size?: "NORMAL" | "LARGE" | undefined;
6883
- }, {
6884
- size?: "NORMAL" | "LARGE" | undefined;
6885
- }>>;
6886
- }, "strip", z.ZodTypeAny, {
6887
- styles?: {
6888
- size?: "NORMAL" | "LARGE" | undefined;
6889
- } | undefined;
6890
- }, {
6891
- styles?: {
6892
- size?: "NORMAL" | "LARGE" | undefined;
6893
- } | undefined;
6894
- }>>;
6895
6187
  }>, "strip", z.ZodTypeAny, {
6896
- type: "RADIO_GROUP";
6188
+ type: "SELECT_DATE_RANGE";
6897
6189
  id: string;
6898
6190
  options: {
6899
- value: string;
6191
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6900
6192
  label: TranslationConfig;
6901
6193
  }[];
6902
6194
  label: TranslationConfig;
@@ -6923,17 +6215,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6923
6215
  helperText?: TranslationConfig | undefined;
6924
6216
  hideLabel?: boolean | undefined;
6925
6217
  uncorrectable?: boolean | undefined;
6926
- defaultValue?: string | undefined;
6927
- configuration?: {
6928
- styles?: {
6929
- size?: "NORMAL" | "LARGE" | undefined;
6930
- } | undefined;
6931
- } | undefined;
6218
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
6932
6219
  }, {
6933
- type: "RADIO_GROUP";
6220
+ type: "SELECT_DATE_RANGE";
6934
6221
  id: string;
6935
6222
  options: {
6936
- value: string;
6223
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
6937
6224
  label: {
6938
6225
  id: string;
6939
6226
  description: string;
@@ -6980,12 +6267,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
6980
6267
  } | undefined;
6981
6268
  hideLabel?: boolean | undefined;
6982
6269
  uncorrectable?: boolean | undefined;
6983
- defaultValue?: string | undefined;
6984
- configuration?: {
6985
- styles?: {
6986
- size?: "NORMAL" | "LARGE" | undefined;
6987
- } | undefined;
6988
- } | undefined;
6270
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
6989
6271
  }>, z.ZodObject<z.objectUtil.extendShape<{
6990
6272
  id: z.ZodString;
6991
6273
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -7034,40 +6316,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7034
6316
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7035
6317
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7036
6318
  }, {
7037
- type: z.ZodLiteral<"BULLET_LIST">;
6319
+ type: z.ZodLiteral<"PARAGRAPH">;
7038
6320
  defaultValue: z.ZodOptional<z.ZodString>;
7039
- items: z.ZodArray<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7040
- id: string;
7041
- description: string;
7042
- defaultMessage: string;
7043
- }>, "many">;
7044
6321
  configuration: z.ZodDefault<z.ZodObject<{
7045
6322
  styles: z.ZodOptional<z.ZodObject<{
7046
6323
  fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
6324
+ hint: z.ZodOptional<z.ZodBoolean>;
7047
6325
  }, "strip", z.ZodTypeAny, {
7048
6326
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6327
+ hint?: boolean | undefined;
7049
6328
  }, {
7050
6329
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6330
+ hint?: boolean | undefined;
7051
6331
  }>>;
7052
6332
  }, "strip", z.ZodTypeAny, {
7053
6333
  styles?: {
7054
6334
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6335
+ hint?: boolean | undefined;
7055
6336
  } | undefined;
7056
6337
  }, {
7057
6338
  styles?: {
7058
6339
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6340
+ hint?: boolean | undefined;
7059
6341
  } | undefined;
7060
6342
  }>>;
7061
6343
  }>, "strip", z.ZodTypeAny, {
7062
- type: "BULLET_LIST";
6344
+ type: "PARAGRAPH";
7063
6345
  id: string;
7064
6346
  label: TranslationConfig;
7065
6347
  configuration: {
7066
6348
  styles?: {
7067
6349
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6350
+ hint?: boolean | undefined;
7068
6351
  } | undefined;
7069
6352
  };
7070
- items: TranslationConfig[];
7071
6353
  parent?: {
7072
6354
  $$field: string;
7073
6355
  } | undefined;
@@ -7093,18 +6375,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7093
6375
  uncorrectable?: boolean | undefined;
7094
6376
  defaultValue?: string | undefined;
7095
6377
  }, {
7096
- type: "BULLET_LIST";
6378
+ type: "PARAGRAPH";
7097
6379
  id: string;
7098
6380
  label: {
7099
6381
  id: string;
7100
6382
  description: string;
7101
6383
  defaultMessage: string;
7102
- };
7103
- items: {
7104
- id: string;
7105
- description: string;
7106
- defaultMessage: string;
7107
- }[];
6384
+ };
7108
6385
  parent?: {
7109
6386
  $$field: string;
7110
6387
  } | undefined;
@@ -7144,6 +6421,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7144
6421
  configuration?: {
7145
6422
  styles?: {
7146
6423
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6424
+ hint?: boolean | undefined;
7147
6425
  } | undefined;
7148
6426
  } | undefined;
7149
6427
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -7194,11 +6472,50 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7194
6472
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7195
6473
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7196
6474
  }, {
7197
- type: z.ZodLiteral<"PAGE_HEADER">;
6475
+ type: z.ZodLiteral<"RADIO_GROUP">;
7198
6476
  defaultValue: z.ZodOptional<z.ZodString>;
6477
+ options: z.ZodArray<z.ZodObject<{
6478
+ value: z.ZodString;
6479
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6480
+ id: string;
6481
+ description: string;
6482
+ defaultMessage: string;
6483
+ }>;
6484
+ }, "strip", z.ZodTypeAny, {
6485
+ value: string;
6486
+ label: TranslationConfig;
6487
+ }, {
6488
+ value: string;
6489
+ label: {
6490
+ id: string;
6491
+ description: string;
6492
+ defaultMessage: string;
6493
+ };
6494
+ }>, "many">;
6495
+ configuration: z.ZodOptional<z.ZodObject<{
6496
+ styles: z.ZodOptional<z.ZodObject<{
6497
+ size: z.ZodOptional<z.ZodEnum<["NORMAL", "LARGE"]>>;
6498
+ }, "strip", z.ZodTypeAny, {
6499
+ size?: "NORMAL" | "LARGE" | undefined;
6500
+ }, {
6501
+ size?: "NORMAL" | "LARGE" | undefined;
6502
+ }>>;
6503
+ }, "strip", z.ZodTypeAny, {
6504
+ styles?: {
6505
+ size?: "NORMAL" | "LARGE" | undefined;
6506
+ } | undefined;
6507
+ }, {
6508
+ styles?: {
6509
+ size?: "NORMAL" | "LARGE" | undefined;
6510
+ } | undefined;
6511
+ }>>;
7199
6512
  }>, "strip", z.ZodTypeAny, {
7200
- type: "PAGE_HEADER";
6513
+ type: "RADIO_GROUP";
7201
6514
  id: string;
6515
+ options: {
6516
+ value: string;
6517
+ label: TranslationConfig;
6518
+ }[];
7202
6519
  label: TranslationConfig;
7203
6520
  parent?: {
7204
6521
  $$field: string;
@@ -7224,9 +6541,22 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7224
6541
  hideLabel?: boolean | undefined;
7225
6542
  uncorrectable?: boolean | undefined;
7226
6543
  defaultValue?: string | undefined;
6544
+ configuration?: {
6545
+ styles?: {
6546
+ size?: "NORMAL" | "LARGE" | undefined;
6547
+ } | undefined;
6548
+ } | undefined;
7227
6549
  }, {
7228
- type: "PAGE_HEADER";
6550
+ type: "RADIO_GROUP";
7229
6551
  id: string;
6552
+ options: {
6553
+ value: string;
6554
+ label: {
6555
+ id: string;
6556
+ description: string;
6557
+ defaultMessage: string;
6558
+ };
6559
+ }[];
7230
6560
  label: {
7231
6561
  id: string;
7232
6562
  description: string;
@@ -7268,6 +6598,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7268
6598
  hideLabel?: boolean | undefined;
7269
6599
  uncorrectable?: boolean | undefined;
7270
6600
  defaultValue?: string | undefined;
6601
+ configuration?: {
6602
+ styles?: {
6603
+ size?: "NORMAL" | "LARGE" | undefined;
6604
+ } | undefined;
6605
+ } | undefined;
7271
6606
  }>, z.ZodObject<z.objectUtil.extendShape<{
7272
6607
  id: z.ZodString;
7273
6608
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -7316,34 +6651,40 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7316
6651
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7317
6652
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7318
6653
  }, {
7319
- type: z.ZodLiteral<"SELECT">;
6654
+ type: z.ZodLiteral<"BULLET_LIST">;
7320
6655
  defaultValue: z.ZodOptional<z.ZodString>;
7321
- options: z.ZodArray<z.ZodObject<{
7322
- value: z.ZodString;
7323
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7324
- id: string;
7325
- description: string;
7326
- defaultMessage: string;
7327
- }>;
6656
+ items: z.ZodArray<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6657
+ id: string;
6658
+ description: string;
6659
+ defaultMessage: string;
6660
+ }>, "many">;
6661
+ configuration: z.ZodDefault<z.ZodObject<{
6662
+ styles: z.ZodOptional<z.ZodObject<{
6663
+ fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
6664
+ }, "strip", z.ZodTypeAny, {
6665
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6666
+ }, {
6667
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6668
+ }>>;
7328
6669
  }, "strip", z.ZodTypeAny, {
7329
- value: string;
7330
- label: TranslationConfig;
6670
+ styles?: {
6671
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6672
+ } | undefined;
7331
6673
  }, {
7332
- value: string;
7333
- label: {
7334
- id: string;
7335
- description: string;
7336
- defaultMessage: string;
7337
- };
7338
- }>, "many">;
6674
+ styles?: {
6675
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6676
+ } | undefined;
6677
+ }>>;
7339
6678
  }>, "strip", z.ZodTypeAny, {
7340
- type: "SELECT";
6679
+ type: "BULLET_LIST";
7341
6680
  id: string;
7342
- options: {
7343
- value: string;
7344
- label: TranslationConfig;
7345
- }[];
7346
6681
  label: TranslationConfig;
6682
+ configuration: {
6683
+ styles?: {
6684
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6685
+ } | undefined;
6686
+ };
6687
+ items: TranslationConfig[];
7347
6688
  parent?: {
7348
6689
  $$field: string;
7349
6690
  } | undefined;
@@ -7369,21 +6710,18 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7369
6710
  uncorrectable?: boolean | undefined;
7370
6711
  defaultValue?: string | undefined;
7371
6712
  }, {
7372
- type: "SELECT";
6713
+ type: "BULLET_LIST";
7373
6714
  id: string;
7374
- options: {
7375
- value: string;
7376
- label: {
7377
- id: string;
7378
- description: string;
7379
- defaultMessage: string;
7380
- };
7381
- }[];
7382
6715
  label: {
7383
6716
  id: string;
7384
6717
  description: string;
7385
6718
  defaultMessage: string;
7386
6719
  };
6720
+ items: {
6721
+ id: string;
6722
+ description: string;
6723
+ defaultMessage: string;
6724
+ }[];
7387
6725
  parent?: {
7388
6726
  $$field: string;
7389
6727
  } | undefined;
@@ -7420,6 +6758,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7420
6758
  hideLabel?: boolean | undefined;
7421
6759
  uncorrectable?: boolean | undefined;
7422
6760
  defaultValue?: string | undefined;
6761
+ configuration?: {
6762
+ styles?: {
6763
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
6764
+ } | undefined;
6765
+ } | undefined;
7423
6766
  }>, z.ZodObject<z.objectUtil.extendShape<{
7424
6767
  id: z.ZodString;
7425
6768
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -7459,128 +6802,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7459
6802
  defaultMessage: string;
7460
6803
  };
7461
6804
  validator: import(".").JSONSchema;
7462
- }>, "many">>>;
7463
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7464
- id: string;
7465
- description: string;
7466
- defaultMessage: string;
7467
- }>>;
7468
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7469
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7470
- }, {
7471
- type: z.ZodLiteral<"NAME">;
7472
- defaultValue: z.ZodOptional<z.ZodObject<{
7473
- firstname: z.ZodOptional<z.ZodString>;
7474
- middlename: z.ZodOptional<z.ZodString>;
7475
- surname: z.ZodOptional<z.ZodString>;
7476
- }, "strip", z.ZodTypeAny, {
7477
- firstname?: string | undefined;
7478
- surname?: string | undefined;
7479
- middlename?: string | undefined;
7480
- }, {
7481
- firstname?: string | undefined;
7482
- surname?: string | undefined;
7483
- middlename?: string | undefined;
7484
- }>>;
7485
- configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
7486
- name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
7487
- firstname: z.ZodOptional<z.ZodObject<{
7488
- required: z.ZodBoolean;
7489
- }, "strip", z.ZodTypeAny, {
7490
- required: boolean;
7491
- }, {
7492
- required: boolean;
7493
- }>>;
7494
- middlename: z.ZodOptional<z.ZodObject<{
7495
- required: z.ZodBoolean;
7496
- }, "strip", z.ZodTypeAny, {
7497
- required: boolean;
7498
- }, {
7499
- required: boolean;
7500
- }>>;
7501
- surname: z.ZodOptional<z.ZodObject<{
7502
- required: z.ZodBoolean;
7503
- }, "strip", z.ZodTypeAny, {
7504
- required: boolean;
7505
- }, {
7506
- required: boolean;
7507
- }>>;
7508
- }, "strip", z.ZodTypeAny, {
7509
- firstname?: {
7510
- required: boolean;
7511
- } | undefined;
7512
- surname?: {
7513
- required: boolean;
7514
- } | undefined;
7515
- middlename?: {
7516
- required: boolean;
7517
- } | undefined;
7518
- }, {
7519
- firstname?: {
7520
- required: boolean;
7521
- } | undefined;
7522
- surname?: {
7523
- required: boolean;
7524
- } | undefined;
7525
- middlename?: {
7526
- required: boolean;
7527
- } | undefined;
7528
- }>>>;
7529
- maxLength: z.ZodOptional<z.ZodNumber>;
7530
- prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7531
- id: string;
7532
- description: string;
7533
- defaultMessage: string;
7534
- }>>;
7535
- postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7536
- id: string;
7537
- description: string;
7538
- defaultMessage: string;
7539
- }>>;
7540
- searchMode: z.ZodOptional<z.ZodBoolean>;
7541
- }, "strip", z.ZodTypeAny, {
7542
- name?: {
7543
- firstname?: {
7544
- required: boolean;
7545
- } | undefined;
7546
- surname?: {
7547
- required: boolean;
7548
- } | undefined;
7549
- middlename?: {
7550
- required: boolean;
7551
- } | undefined;
7552
- } | undefined;
7553
- maxLength?: number | undefined;
7554
- prefix?: TranslationConfig | undefined;
7555
- postfix?: TranslationConfig | undefined;
7556
- searchMode?: boolean | undefined;
7557
- }, {
7558
- name?: {
7559
- firstname?: {
7560
- required: boolean;
7561
- } | undefined;
7562
- surname?: {
7563
- required: boolean;
7564
- } | undefined;
7565
- middlename?: {
7566
- required: boolean;
7567
- } | undefined;
7568
- } | undefined;
7569
- maxLength?: number | undefined;
7570
- prefix?: {
7571
- id: string;
7572
- description: string;
7573
- defaultMessage: string;
7574
- } | undefined;
7575
- postfix?: {
7576
- id: string;
7577
- description: string;
7578
- defaultMessage: string;
7579
- } | undefined;
7580
- searchMode?: boolean | undefined;
7581
- }>>>;
6805
+ }>, "many">>>;
6806
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6807
+ id: string;
6808
+ description: string;
6809
+ defaultMessage: string;
6810
+ }>>;
6811
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6812
+ uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6813
+ }, {
6814
+ type: z.ZodLiteral<"PAGE_HEADER">;
6815
+ defaultValue: z.ZodOptional<z.ZodString>;
7582
6816
  }>, "strip", z.ZodTypeAny, {
7583
- type: "NAME";
6817
+ type: "PAGE_HEADER";
7584
6818
  id: string;
7585
6819
  label: TranslationConfig;
7586
6820
  parent?: {
@@ -7606,30 +6840,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7606
6840
  helperText?: TranslationConfig | undefined;
7607
6841
  hideLabel?: boolean | undefined;
7608
6842
  uncorrectable?: boolean | undefined;
7609
- defaultValue?: {
7610
- firstname?: string | undefined;
7611
- surname?: string | undefined;
7612
- middlename?: string | undefined;
7613
- } | undefined;
7614
- configuration?: {
7615
- name?: {
7616
- firstname?: {
7617
- required: boolean;
7618
- } | undefined;
7619
- surname?: {
7620
- required: boolean;
7621
- } | undefined;
7622
- middlename?: {
7623
- required: boolean;
7624
- } | undefined;
7625
- } | undefined;
7626
- maxLength?: number | undefined;
7627
- prefix?: TranslationConfig | undefined;
7628
- postfix?: TranslationConfig | undefined;
7629
- searchMode?: boolean | undefined;
7630
- } | undefined;
6843
+ defaultValue?: string | undefined;
7631
6844
  }, {
7632
- type: "NAME";
6845
+ type: "PAGE_HEADER";
7633
6846
  id: string;
7634
6847
  label: {
7635
6848
  id: string;
@@ -7671,36 +6884,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7671
6884
  } | undefined;
7672
6885
  hideLabel?: boolean | undefined;
7673
6886
  uncorrectable?: boolean | undefined;
7674
- defaultValue?: {
7675
- firstname?: string | undefined;
7676
- surname?: string | undefined;
7677
- middlename?: string | undefined;
7678
- } | undefined;
7679
- configuration?: {
7680
- name?: {
7681
- firstname?: {
7682
- required: boolean;
7683
- } | undefined;
7684
- surname?: {
7685
- required: boolean;
7686
- } | undefined;
7687
- middlename?: {
7688
- required: boolean;
7689
- } | undefined;
7690
- } | undefined;
7691
- maxLength?: number | undefined;
7692
- prefix?: {
7693
- id: string;
7694
- description: string;
7695
- defaultMessage: string;
7696
- } | undefined;
7697
- postfix?: {
7698
- id: string;
7699
- description: string;
7700
- defaultMessage: string;
7701
- } | undefined;
7702
- searchMode?: boolean | undefined;
7703
- } | undefined;
6887
+ defaultValue?: string | undefined;
7704
6888
  }>, z.ZodObject<z.objectUtil.extendShape<{
7705
6889
  id: z.ZodString;
7706
6890
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -7749,11 +6933,33 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7749
6933
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7750
6934
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7751
6935
  }, {
6936
+ type: z.ZodLiteral<"SELECT">;
7752
6937
  defaultValue: z.ZodOptional<z.ZodString>;
7753
- type: z.ZodLiteral<"PHONE">;
6938
+ options: z.ZodArray<z.ZodObject<{
6939
+ value: z.ZodString;
6940
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6941
+ id: string;
6942
+ description: string;
6943
+ defaultMessage: string;
6944
+ }>;
6945
+ }, "strip", z.ZodTypeAny, {
6946
+ value: string;
6947
+ label: TranslationConfig;
6948
+ }, {
6949
+ value: string;
6950
+ label: {
6951
+ id: string;
6952
+ description: string;
6953
+ defaultMessage: string;
6954
+ };
6955
+ }>, "many">;
7754
6956
  }>, "strip", z.ZodTypeAny, {
7755
- type: "PHONE";
6957
+ type: "SELECT";
7756
6958
  id: string;
6959
+ options: {
6960
+ value: string;
6961
+ label: TranslationConfig;
6962
+ }[];
7757
6963
  label: TranslationConfig;
7758
6964
  parent?: {
7759
6965
  $$field: string;
@@ -7780,8 +6986,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7780
6986
  uncorrectable?: boolean | undefined;
7781
6987
  defaultValue?: string | undefined;
7782
6988
  }, {
7783
- type: "PHONE";
6989
+ type: "SELECT";
7784
6990
  id: string;
6991
+ options: {
6992
+ value: string;
6993
+ label: {
6994
+ id: string;
6995
+ description: string;
6996
+ defaultMessage: string;
6997
+ };
6998
+ }[];
7785
6999
  label: {
7786
7000
  id: string;
7787
7001
  description: string;
@@ -7871,10 +7085,119 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7871
7085
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7872
7086
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7873
7087
  }, {
7874
- defaultValue: z.ZodOptional<z.ZodString>;
7875
- type: z.ZodLiteral<"ID">;
7088
+ type: z.ZodLiteral<"NAME">;
7089
+ defaultValue: z.ZodOptional<z.ZodObject<{
7090
+ firstname: z.ZodOptional<z.ZodString>;
7091
+ middlename: z.ZodOptional<z.ZodString>;
7092
+ surname: z.ZodOptional<z.ZodString>;
7093
+ }, "strip", z.ZodTypeAny, {
7094
+ firstname?: string | undefined;
7095
+ surname?: string | undefined;
7096
+ middlename?: string | undefined;
7097
+ }, {
7098
+ firstname?: string | undefined;
7099
+ surname?: string | undefined;
7100
+ middlename?: string | undefined;
7101
+ }>>;
7102
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
7103
+ name: z.ZodOptional<z.ZodDefault<z.ZodObject<{
7104
+ firstname: z.ZodOptional<z.ZodObject<{
7105
+ required: z.ZodBoolean;
7106
+ }, "strip", z.ZodTypeAny, {
7107
+ required: boolean;
7108
+ }, {
7109
+ required: boolean;
7110
+ }>>;
7111
+ middlename: z.ZodOptional<z.ZodObject<{
7112
+ required: z.ZodBoolean;
7113
+ }, "strip", z.ZodTypeAny, {
7114
+ required: boolean;
7115
+ }, {
7116
+ required: boolean;
7117
+ }>>;
7118
+ surname: z.ZodOptional<z.ZodObject<{
7119
+ required: z.ZodBoolean;
7120
+ }, "strip", z.ZodTypeAny, {
7121
+ required: boolean;
7122
+ }, {
7123
+ required: boolean;
7124
+ }>>;
7125
+ }, "strip", z.ZodTypeAny, {
7126
+ firstname?: {
7127
+ required: boolean;
7128
+ } | undefined;
7129
+ surname?: {
7130
+ required: boolean;
7131
+ } | undefined;
7132
+ middlename?: {
7133
+ required: boolean;
7134
+ } | undefined;
7135
+ }, {
7136
+ firstname?: {
7137
+ required: boolean;
7138
+ } | undefined;
7139
+ surname?: {
7140
+ required: boolean;
7141
+ } | undefined;
7142
+ middlename?: {
7143
+ required: boolean;
7144
+ } | undefined;
7145
+ }>>>;
7146
+ maxLength: z.ZodOptional<z.ZodNumber>;
7147
+ prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7148
+ id: string;
7149
+ description: string;
7150
+ defaultMessage: string;
7151
+ }>>;
7152
+ postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7153
+ id: string;
7154
+ description: string;
7155
+ defaultMessage: string;
7156
+ }>>;
7157
+ searchMode: z.ZodOptional<z.ZodBoolean>;
7158
+ }, "strip", z.ZodTypeAny, {
7159
+ name?: {
7160
+ firstname?: {
7161
+ required: boolean;
7162
+ } | undefined;
7163
+ surname?: {
7164
+ required: boolean;
7165
+ } | undefined;
7166
+ middlename?: {
7167
+ required: boolean;
7168
+ } | undefined;
7169
+ } | undefined;
7170
+ maxLength?: number | undefined;
7171
+ prefix?: TranslationConfig | undefined;
7172
+ postfix?: TranslationConfig | undefined;
7173
+ searchMode?: boolean | undefined;
7174
+ }, {
7175
+ name?: {
7176
+ firstname?: {
7177
+ required: boolean;
7178
+ } | undefined;
7179
+ surname?: {
7180
+ required: boolean;
7181
+ } | undefined;
7182
+ middlename?: {
7183
+ required: boolean;
7184
+ } | undefined;
7185
+ } | undefined;
7186
+ maxLength?: number | undefined;
7187
+ prefix?: {
7188
+ id: string;
7189
+ description: string;
7190
+ defaultMessage: string;
7191
+ } | undefined;
7192
+ postfix?: {
7193
+ id: string;
7194
+ description: string;
7195
+ defaultMessage: string;
7196
+ } | undefined;
7197
+ searchMode?: boolean | undefined;
7198
+ }>>>;
7876
7199
  }>, "strip", z.ZodTypeAny, {
7877
- type: "ID";
7200
+ type: "NAME";
7878
7201
  id: string;
7879
7202
  label: TranslationConfig;
7880
7203
  parent?: {
@@ -7900,9 +7223,30 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7900
7223
  helperText?: TranslationConfig | undefined;
7901
7224
  hideLabel?: boolean | undefined;
7902
7225
  uncorrectable?: boolean | undefined;
7903
- defaultValue?: string | undefined;
7226
+ defaultValue?: {
7227
+ firstname?: string | undefined;
7228
+ surname?: string | undefined;
7229
+ middlename?: string | undefined;
7230
+ } | undefined;
7231
+ configuration?: {
7232
+ name?: {
7233
+ firstname?: {
7234
+ required: boolean;
7235
+ } | undefined;
7236
+ surname?: {
7237
+ required: boolean;
7238
+ } | undefined;
7239
+ middlename?: {
7240
+ required: boolean;
7241
+ } | undefined;
7242
+ } | undefined;
7243
+ maxLength?: number | undefined;
7244
+ prefix?: TranslationConfig | undefined;
7245
+ postfix?: TranslationConfig | undefined;
7246
+ searchMode?: boolean | undefined;
7247
+ } | undefined;
7904
7248
  }, {
7905
- type: "ID";
7249
+ type: "NAME";
7906
7250
  id: string;
7907
7251
  label: {
7908
7252
  id: string;
@@ -7942,9 +7286,38 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7942
7286
  description: string;
7943
7287
  defaultMessage: string;
7944
7288
  } | undefined;
7945
- hideLabel?: boolean | undefined;
7946
- uncorrectable?: boolean | undefined;
7947
- defaultValue?: string | undefined;
7289
+ hideLabel?: boolean | undefined;
7290
+ uncorrectable?: boolean | undefined;
7291
+ defaultValue?: {
7292
+ firstname?: string | undefined;
7293
+ surname?: string | undefined;
7294
+ middlename?: string | undefined;
7295
+ } | undefined;
7296
+ configuration?: {
7297
+ name?: {
7298
+ firstname?: {
7299
+ required: boolean;
7300
+ } | undefined;
7301
+ surname?: {
7302
+ required: boolean;
7303
+ } | undefined;
7304
+ middlename?: {
7305
+ required: boolean;
7306
+ } | undefined;
7307
+ } | undefined;
7308
+ maxLength?: number | undefined;
7309
+ prefix?: {
7310
+ id: string;
7311
+ description: string;
7312
+ defaultMessage: string;
7313
+ } | undefined;
7314
+ postfix?: {
7315
+ id: string;
7316
+ description: string;
7317
+ defaultMessage: string;
7318
+ } | undefined;
7319
+ searchMode?: boolean | undefined;
7320
+ } | undefined;
7948
7321
  }>, z.ZodObject<z.objectUtil.extendShape<{
7949
7322
  id: z.ZodString;
7950
7323
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -7993,10 +7366,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
7993
7366
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7994
7367
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7995
7368
  }, {
7996
- type: z.ZodLiteral<"CHECKBOX">;
7997
- defaultValue: z.ZodOptional<z.ZodBoolean>;
7369
+ defaultValue: z.ZodOptional<z.ZodString>;
7370
+ type: z.ZodLiteral<"PHONE">;
7998
7371
  }>, "strip", z.ZodTypeAny, {
7999
- type: "CHECKBOX";
7372
+ type: "PHONE";
8000
7373
  id: string;
8001
7374
  label: TranslationConfig;
8002
7375
  parent?: {
@@ -8022,9 +7395,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8022
7395
  helperText?: TranslationConfig | undefined;
8023
7396
  hideLabel?: boolean | undefined;
8024
7397
  uncorrectable?: boolean | undefined;
8025
- defaultValue?: boolean | undefined;
7398
+ defaultValue?: string | undefined;
8026
7399
  }, {
8027
- type: "CHECKBOX";
7400
+ type: "PHONE";
8028
7401
  id: string;
8029
7402
  label: {
8030
7403
  id: string;
@@ -8066,7 +7439,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8066
7439
  } | undefined;
8067
7440
  hideLabel?: boolean | undefined;
8068
7441
  uncorrectable?: boolean | undefined;
8069
- defaultValue?: boolean | undefined;
7442
+ defaultValue?: string | undefined;
8070
7443
  }>, z.ZodObject<z.objectUtil.extendShape<{
8071
7444
  id: z.ZodString;
8072
7445
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -8115,66 +7488,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8115
7488
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8116
7489
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8117
7490
  }, {
8118
- type: z.ZodLiteral<"FILE">;
8119
- defaultValue: z.ZodOptional<z.ZodObject<{
8120
- path: z.ZodEffects<z.ZodString, string, string>;
8121
- originalFilename: z.ZodString;
8122
- type: z.ZodString;
8123
- }, "strip", z.ZodTypeAny, {
8124
- type: string;
8125
- path: string;
8126
- originalFilename: string;
8127
- }, {
8128
- type: string;
8129
- path: string;
8130
- originalFilename: string;
8131
- }>>;
8132
- configuration: z.ZodDefault<z.ZodObject<{
8133
- maxFileSize: z.ZodDefault<z.ZodNumber>;
8134
- acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
8135
- style: z.ZodOptional<z.ZodObject<{
8136
- width: z.ZodOptional<z.ZodEnum<["full", "auto"]>>;
8137
- }, "strip", z.ZodTypeAny, {
8138
- width?: "full" | "auto" | undefined;
8139
- }, {
8140
- width?: "full" | "auto" | undefined;
8141
- }>>;
8142
- fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
8143
- id: string;
8144
- description: string;
8145
- defaultMessage: string;
8146
- }>>;
8147
- }, "strip", z.ZodTypeAny, {
8148
- maxFileSize: number;
8149
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
8150
- style?: {
8151
- width?: "full" | "auto" | undefined;
8152
- } | undefined;
8153
- fileName?: TranslationConfig | undefined;
8154
- }, {
8155
- maxFileSize?: number | undefined;
8156
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
8157
- style?: {
8158
- width?: "full" | "auto" | undefined;
8159
- } | undefined;
8160
- fileName?: {
8161
- id: string;
8162
- description: string;
8163
- defaultMessage: string;
8164
- } | undefined;
8165
- }>>;
7491
+ defaultValue: z.ZodOptional<z.ZodString>;
7492
+ type: z.ZodLiteral<"ID">;
8166
7493
  }>, "strip", z.ZodTypeAny, {
8167
- type: "FILE";
7494
+ type: "ID";
8168
7495
  id: string;
8169
7496
  label: TranslationConfig;
8170
- configuration: {
8171
- maxFileSize: number;
8172
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
8173
- style?: {
8174
- width?: "full" | "auto" | undefined;
8175
- } | undefined;
8176
- fileName?: TranslationConfig | undefined;
8177
- };
8178
7497
  parent?: {
8179
7498
  $$field: string;
8180
7499
  } | undefined;
@@ -8198,13 +7517,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8198
7517
  helperText?: TranslationConfig | undefined;
8199
7518
  hideLabel?: boolean | undefined;
8200
7519
  uncorrectable?: boolean | undefined;
8201
- defaultValue?: {
8202
- type: string;
8203
- path: string;
8204
- originalFilename: string;
8205
- } | undefined;
7520
+ defaultValue?: string | undefined;
8206
7521
  }, {
8207
- type: "FILE";
7522
+ type: "ID";
8208
7523
  id: string;
8209
7524
  label: {
8210
7525
  id: string;
@@ -8246,23 +7561,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8246
7561
  } | undefined;
8247
7562
  hideLabel?: boolean | undefined;
8248
7563
  uncorrectable?: boolean | undefined;
8249
- defaultValue?: {
8250
- type: string;
8251
- path: string;
8252
- originalFilename: string;
8253
- } | undefined;
8254
- configuration?: {
8255
- maxFileSize?: number | undefined;
8256
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
8257
- style?: {
8258
- width?: "full" | "auto" | undefined;
8259
- } | undefined;
8260
- fileName?: {
8261
- id: string;
8262
- description: string;
8263
- defaultMessage: string;
8264
- } | undefined;
8265
- } | undefined;
7564
+ defaultValue?: string | undefined;
8266
7565
  }>, z.ZodObject<z.objectUtil.extendShape<{
8267
7566
  id: z.ZodString;
8268
7567
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -8311,10 +7610,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8311
7610
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8312
7611
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8313
7612
  }, {
8314
- type: z.ZodLiteral<"COUNTRY">;
8315
- defaultValue: z.ZodOptional<z.ZodString>;
7613
+ type: z.ZodLiteral<"CHECKBOX">;
7614
+ defaultValue: z.ZodOptional<z.ZodBoolean>;
8316
7615
  }>, "strip", z.ZodTypeAny, {
8317
- type: "COUNTRY";
7616
+ type: "CHECKBOX";
8318
7617
  id: string;
8319
7618
  label: TranslationConfig;
8320
7619
  parent?: {
@@ -8340,9 +7639,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8340
7639
  helperText?: TranslationConfig | undefined;
8341
7640
  hideLabel?: boolean | undefined;
8342
7641
  uncorrectable?: boolean | undefined;
8343
- defaultValue?: string | undefined;
7642
+ defaultValue?: boolean | undefined;
8344
7643
  }, {
8345
- type: "COUNTRY";
7644
+ type: "CHECKBOX";
8346
7645
  id: string;
8347
7646
  label: {
8348
7647
  id: string;
@@ -8384,7 +7683,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8384
7683
  } | undefined;
8385
7684
  hideLabel?: boolean | undefined;
8386
7685
  uncorrectable?: boolean | undefined;
8387
- defaultValue?: string | undefined;
7686
+ defaultValue?: boolean | undefined;
8388
7687
  }>, z.ZodObject<z.objectUtil.extendShape<{
8389
7688
  id: z.ZodString;
8390
7689
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -8433,37 +7732,65 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8433
7732
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8434
7733
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8435
7734
  }, {
8436
- type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
8437
- defaultValue: z.ZodOptional<z.ZodString>;
8438
- configuration: z.ZodObject<{
8439
- partOf: z.ZodOptional<z.ZodObject<{
8440
- $declaration: z.ZodString;
7735
+ type: z.ZodLiteral<"FILE">;
7736
+ defaultValue: z.ZodOptional<z.ZodObject<{
7737
+ path: z.ZodEffects<z.ZodString, string, string>;
7738
+ originalFilename: z.ZodString;
7739
+ type: z.ZodString;
7740
+ }, "strip", z.ZodTypeAny, {
7741
+ type: string;
7742
+ path: string;
7743
+ originalFilename: string;
7744
+ }, {
7745
+ type: string;
7746
+ path: string;
7747
+ originalFilename: string;
7748
+ }>>;
7749
+ configuration: z.ZodDefault<z.ZodObject<{
7750
+ maxFileSize: z.ZodDefault<z.ZodNumber>;
7751
+ acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
7752
+ style: z.ZodOptional<z.ZodObject<{
7753
+ width: z.ZodOptional<z.ZodEnum<["full", "auto"]>>;
8441
7754
  }, "strip", z.ZodTypeAny, {
8442
- $declaration: string;
7755
+ width?: "full" | "auto" | undefined;
8443
7756
  }, {
8444
- $declaration: string;
7757
+ width?: "full" | "auto" | undefined;
7758
+ }>>;
7759
+ fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
7760
+ id: string;
7761
+ description: string;
7762
+ defaultMessage: string;
8445
7763
  }>>;
8446
- type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
8447
7764
  }, "strip", z.ZodTypeAny, {
8448
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
8449
- partOf?: {
8450
- $declaration: string;
7765
+ maxFileSize: number;
7766
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
7767
+ style?: {
7768
+ width?: "full" | "auto" | undefined;
8451
7769
  } | undefined;
7770
+ fileName?: TranslationConfig | undefined;
8452
7771
  }, {
8453
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
8454
- partOf?: {
8455
- $declaration: string;
7772
+ maxFileSize?: number | undefined;
7773
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
7774
+ style?: {
7775
+ width?: "full" | "auto" | undefined;
8456
7776
  } | undefined;
8457
- }>;
7777
+ fileName?: {
7778
+ id: string;
7779
+ description: string;
7780
+ defaultMessage: string;
7781
+ } | undefined;
7782
+ }>>;
8458
7783
  }>, "strip", z.ZodTypeAny, {
8459
- type: "ADMINISTRATIVE_AREA";
7784
+ type: "FILE";
8460
7785
  id: string;
8461
7786
  label: TranslationConfig;
8462
7787
  configuration: {
8463
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
8464
- partOf?: {
8465
- $declaration: string;
7788
+ maxFileSize: number;
7789
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
7790
+ style?: {
7791
+ width?: "full" | "auto" | undefined;
8466
7792
  } | undefined;
7793
+ fileName?: TranslationConfig | undefined;
8467
7794
  };
8468
7795
  parent?: {
8469
7796
  $$field: string;
@@ -8488,21 +7815,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8488
7815
  helperText?: TranslationConfig | undefined;
8489
7816
  hideLabel?: boolean | undefined;
8490
7817
  uncorrectable?: boolean | undefined;
8491
- defaultValue?: string | undefined;
7818
+ defaultValue?: {
7819
+ type: string;
7820
+ path: string;
7821
+ originalFilename: string;
7822
+ } | undefined;
8492
7823
  }, {
8493
- type: "ADMINISTRATIVE_AREA";
7824
+ type: "FILE";
8494
7825
  id: string;
8495
7826
  label: {
8496
7827
  id: string;
8497
7828
  description: string;
8498
7829
  defaultMessage: string;
8499
7830
  };
8500
- configuration: {
8501
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
8502
- partOf?: {
8503
- $declaration: string;
8504
- } | undefined;
8505
- };
8506
7831
  parent?: {
8507
7832
  $$field: string;
8508
7833
  } | undefined;
@@ -8538,7 +7863,23 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8538
7863
  } | undefined;
8539
7864
  hideLabel?: boolean | undefined;
8540
7865
  uncorrectable?: boolean | undefined;
8541
- defaultValue?: string | undefined;
7866
+ defaultValue?: {
7867
+ type: string;
7868
+ path: string;
7869
+ originalFilename: string;
7870
+ } | undefined;
7871
+ configuration?: {
7872
+ maxFileSize?: number | undefined;
7873
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
7874
+ style?: {
7875
+ width?: "full" | "auto" | undefined;
7876
+ } | undefined;
7877
+ fileName?: {
7878
+ id: string;
7879
+ description: string;
7880
+ defaultMessage: string;
7881
+ } | undefined;
7882
+ } | undefined;
8542
7883
  }>, z.ZodObject<z.objectUtil.extendShape<{
8543
7884
  id: z.ZodString;
8544
7885
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -8587,9 +7928,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8587
7928
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8588
7929
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8589
7930
  }, {
8590
- type: z.ZodLiteral<"DIVIDER">;
7931
+ type: z.ZodLiteral<"COUNTRY">;
7932
+ defaultValue: z.ZodOptional<z.ZodString>;
8591
7933
  }>, "strip", z.ZodTypeAny, {
8592
- type: "DIVIDER";
7934
+ type: "COUNTRY";
8593
7935
  id: string;
8594
7936
  label: TranslationConfig;
8595
7937
  parent?: {
@@ -8615,8 +7957,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8615
7957
  helperText?: TranslationConfig | undefined;
8616
7958
  hideLabel?: boolean | undefined;
8617
7959
  uncorrectable?: boolean | undefined;
7960
+ defaultValue?: string | undefined;
8618
7961
  }, {
8619
- type: "DIVIDER";
7962
+ type: "COUNTRY";
8620
7963
  id: string;
8621
7964
  label: {
8622
7965
  id: string;
@@ -8658,6 +8001,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8658
8001
  } | undefined;
8659
8002
  hideLabel?: boolean | undefined;
8660
8003
  uncorrectable?: boolean | undefined;
8004
+ defaultValue?: string | undefined;
8661
8005
  }>, z.ZodObject<z.objectUtil.extendShape<{
8662
8006
  id: z.ZodString;
8663
8007
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -8706,19 +8050,38 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8706
8050
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8707
8051
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8708
8052
  }, {
8709
- type: z.ZodLiteral<"LOCATION">;
8053
+ type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
8710
8054
  defaultValue: z.ZodOptional<z.ZodString>;
8711
- configuration: z.ZodOptional<z.ZodObject<{
8712
- searchableResource: z.ZodOptional<z.ZodArray<z.ZodEnum<["locations", "facilities", "offices"]>, "many">>;
8055
+ configuration: z.ZodObject<{
8056
+ partOf: z.ZodOptional<z.ZodObject<{
8057
+ $declaration: z.ZodString;
8058
+ }, "strip", z.ZodTypeAny, {
8059
+ $declaration: string;
8060
+ }, {
8061
+ $declaration: string;
8062
+ }>>;
8063
+ type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
8713
8064
  }, "strip", z.ZodTypeAny, {
8714
- searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
8065
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
8066
+ partOf?: {
8067
+ $declaration: string;
8068
+ } | undefined;
8715
8069
  }, {
8716
- searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
8717
- }>>;
8070
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
8071
+ partOf?: {
8072
+ $declaration: string;
8073
+ } | undefined;
8074
+ }>;
8718
8075
  }>, "strip", z.ZodTypeAny, {
8719
- type: "LOCATION";
8076
+ type: "ADMINISTRATIVE_AREA";
8720
8077
  id: string;
8721
8078
  label: TranslationConfig;
8079
+ configuration: {
8080
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
8081
+ partOf?: {
8082
+ $declaration: string;
8083
+ } | undefined;
8084
+ };
8722
8085
  parent?: {
8723
8086
  $$field: string;
8724
8087
  } | undefined;
@@ -8743,17 +8106,20 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8743
8106
  hideLabel?: boolean | undefined;
8744
8107
  uncorrectable?: boolean | undefined;
8745
8108
  defaultValue?: string | undefined;
8746
- configuration?: {
8747
- searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
8748
- } | undefined;
8749
8109
  }, {
8750
- type: "LOCATION";
8110
+ type: "ADMINISTRATIVE_AREA";
8751
8111
  id: string;
8752
8112
  label: {
8753
8113
  id: string;
8754
8114
  description: string;
8755
8115
  defaultMessage: string;
8756
8116
  };
8117
+ configuration: {
8118
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
8119
+ partOf?: {
8120
+ $declaration: string;
8121
+ } | undefined;
8122
+ };
8757
8123
  parent?: {
8758
8124
  $$field: string;
8759
8125
  } | undefined;
@@ -8790,9 +8156,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8790
8156
  hideLabel?: boolean | undefined;
8791
8157
  uncorrectable?: boolean | undefined;
8792
8158
  defaultValue?: string | undefined;
8793
- configuration?: {
8794
- searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
8795
- } | undefined;
8796
8159
  }>, z.ZodObject<z.objectUtil.extendShape<{
8797
8160
  id: z.ZodString;
8798
8161
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -8841,10 +8204,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8841
8204
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8842
8205
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8843
8206
  }, {
8844
- type: z.ZodLiteral<"FACILITY">;
8845
- defaultValue: z.ZodOptional<z.ZodString>;
8207
+ type: z.ZodLiteral<"DIVIDER">;
8846
8208
  }>, "strip", z.ZodTypeAny, {
8847
- type: "FACILITY";
8209
+ type: "DIVIDER";
8848
8210
  id: string;
8849
8211
  label: TranslationConfig;
8850
8212
  parent?: {
@@ -8870,9 +8232,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8870
8232
  helperText?: TranslationConfig | undefined;
8871
8233
  hideLabel?: boolean | undefined;
8872
8234
  uncorrectable?: boolean | undefined;
8873
- defaultValue?: string | undefined;
8874
8235
  }, {
8875
- type: "FACILITY";
8236
+ type: "DIVIDER";
8876
8237
  id: string;
8877
8238
  label: {
8878
8239
  id: string;
@@ -8914,7 +8275,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8914
8275
  } | undefined;
8915
8276
  hideLabel?: boolean | undefined;
8916
8277
  uncorrectable?: boolean | undefined;
8917
- defaultValue?: string | undefined;
8918
8278
  }>, z.ZodObject<z.objectUtil.extendShape<{
8919
8279
  id: z.ZodString;
8920
8280
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -8963,10 +8323,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8963
8323
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8964
8324
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8965
8325
  }, {
8966
- type: z.ZodLiteral<"OFFICE">;
8326
+ type: z.ZodLiteral<"LOCATION">;
8967
8327
  defaultValue: z.ZodOptional<z.ZodString>;
8328
+ configuration: z.ZodOptional<z.ZodObject<{
8329
+ searchableResource: z.ZodOptional<z.ZodArray<z.ZodEnum<["locations", "facilities", "offices"]>, "many">>;
8330
+ }, "strip", z.ZodTypeAny, {
8331
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
8332
+ }, {
8333
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
8334
+ }>>;
8968
8335
  }>, "strip", z.ZodTypeAny, {
8969
- type: "OFFICE";
8336
+ type: "LOCATION";
8970
8337
  id: string;
8971
8338
  label: TranslationConfig;
8972
8339
  parent?: {
@@ -8993,8 +8360,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
8993
8360
  hideLabel?: boolean | undefined;
8994
8361
  uncorrectable?: boolean | undefined;
8995
8362
  defaultValue?: string | undefined;
8363
+ configuration?: {
8364
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
8365
+ } | undefined;
8996
8366
  }, {
8997
- type: "OFFICE";
8367
+ type: "LOCATION";
8998
8368
  id: string;
8999
8369
  label: {
9000
8370
  id: string;
@@ -9037,6 +8407,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9037
8407
  hideLabel?: boolean | undefined;
9038
8408
  uncorrectable?: boolean | undefined;
9039
8409
  defaultValue?: string | undefined;
8410
+ configuration?: {
8411
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
8412
+ } | undefined;
9040
8413
  }>, z.ZodObject<z.objectUtil.extendShape<{
9041
8414
  id: z.ZodString;
9042
8415
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -9085,32 +8458,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9085
8458
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9086
8459
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9087
8460
  }, {
9088
- type: z.ZodLiteral<"SIGNATURE">;
9089
- signaturePromptLabel: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9090
- id: string;
9091
- description: string;
9092
- defaultMessage: string;
9093
- }>;
8461
+ type: z.ZodLiteral<"FACILITY">;
9094
8462
  defaultValue: z.ZodOptional<z.ZodString>;
9095
- configuration: z.ZodDefault<z.ZodObject<{
9096
- maxFileSize: z.ZodDefault<z.ZodNumber>;
9097
- acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
9098
- }, "strip", z.ZodTypeAny, {
9099
- maxFileSize: number;
9100
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9101
- }, {
9102
- maxFileSize?: number | undefined;
9103
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9104
- }>>;
9105
8463
  }>, "strip", z.ZodTypeAny, {
9106
- type: "SIGNATURE";
8464
+ type: "FACILITY";
9107
8465
  id: string;
9108
8466
  label: TranslationConfig;
9109
- configuration: {
9110
- maxFileSize: number;
9111
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9112
- };
9113
- signaturePromptLabel: TranslationConfig;
9114
8467
  parent?: {
9115
8468
  $$field: string;
9116
8469
  } | undefined;
@@ -9136,18 +8489,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9136
8489
  uncorrectable?: boolean | undefined;
9137
8490
  defaultValue?: string | undefined;
9138
8491
  }, {
9139
- type: "SIGNATURE";
8492
+ type: "FACILITY";
9140
8493
  id: string;
9141
8494
  label: {
9142
8495
  id: string;
9143
8496
  description: string;
9144
8497
  defaultMessage: string;
9145
8498
  };
9146
- signaturePromptLabel: {
9147
- id: string;
9148
- description: string;
9149
- defaultMessage: string;
9150
- };
9151
8499
  parent?: {
9152
8500
  $$field: string;
9153
8501
  } | undefined;
@@ -9184,10 +8532,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9184
8532
  hideLabel?: boolean | undefined;
9185
8533
  uncorrectable?: boolean | undefined;
9186
8534
  defaultValue?: string | undefined;
9187
- configuration?: {
9188
- maxFileSize?: number | undefined;
9189
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9190
- } | undefined;
9191
8535
  }>, z.ZodObject<z.objectUtil.extendShape<{
9192
8536
  id: z.ZodString;
9193
8537
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -9236,17 +8580,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9236
8580
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9237
8581
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9238
8582
  }, {
9239
- type: z.ZodLiteral<"EMAIL">;
9240
- configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
9241
- maxLength: z.ZodOptional<z.ZodNumber>;
9242
- }, "strip", z.ZodTypeAny, {
9243
- maxLength?: number | undefined;
9244
- }, {
9245
- maxLength?: number | undefined;
9246
- }>>>;
8583
+ type: z.ZodLiteral<"OFFICE">;
9247
8584
  defaultValue: z.ZodOptional<z.ZodString>;
9248
8585
  }>, "strip", z.ZodTypeAny, {
9249
- type: "EMAIL";
8586
+ type: "OFFICE";
9250
8587
  id: string;
9251
8588
  label: TranslationConfig;
9252
8589
  parent?: {
@@ -9273,11 +8610,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9273
8610
  hideLabel?: boolean | undefined;
9274
8611
  uncorrectable?: boolean | undefined;
9275
8612
  defaultValue?: string | undefined;
9276
- configuration?: {
9277
- maxLength?: number | undefined;
9278
- } | undefined;
9279
8613
  }, {
9280
- type: "EMAIL";
8614
+ type: "OFFICE";
9281
8615
  id: string;
9282
8616
  label: {
9283
8617
  id: string;
@@ -9320,9 +8654,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9320
8654
  hideLabel?: boolean | undefined;
9321
8655
  uncorrectable?: boolean | undefined;
9322
8656
  defaultValue?: string | undefined;
9323
- configuration?: {
9324
- maxLength?: number | undefined;
9325
- } | undefined;
9326
8657
  }>, z.ZodObject<z.objectUtil.extendShape<{
9327
8658
  id: z.ZodString;
9328
8659
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -9371,41 +8702,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9371
8702
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9372
8703
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9373
8704
  }, {
9374
- type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
9375
- options: z.ZodArray<z.ZodObject<{
9376
- value: z.ZodString;
9377
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9378
- id: string;
9379
- description: string;
9380
- defaultMessage: string;
9381
- }>;
9382
- }, "strip", z.ZodTypeAny, {
9383
- value: string;
9384
- label: TranslationConfig;
9385
- }, {
9386
- value: string;
9387
- label: {
9388
- id: string;
9389
- description: string;
9390
- defaultMessage: string;
9391
- };
9392
- }>, "many">;
9393
- defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
9394
- path: z.ZodEffects<z.ZodString, string, string>;
9395
- originalFilename: z.ZodString;
9396
- type: z.ZodString;
9397
- option: z.ZodString;
9398
- }, "strip", z.ZodTypeAny, {
9399
- type: string;
9400
- option: string;
9401
- path: string;
9402
- originalFilename: string;
9403
- }, {
9404
- type: string;
9405
- option: string;
9406
- path: string;
9407
- originalFilename: string;
9408
- }>, "many">>;
8705
+ type: z.ZodLiteral<"SIGNATURE">;
8706
+ signaturePromptLabel: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
8707
+ id: string;
8708
+ description: string;
8709
+ defaultMessage: string;
8710
+ }>;
8711
+ defaultValue: z.ZodOptional<z.ZodString>;
9409
8712
  configuration: z.ZodDefault<z.ZodObject<{
9410
8713
  maxFileSize: z.ZodDefault<z.ZodNumber>;
9411
8714
  acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
@@ -9417,17 +8720,14 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9417
8720
  acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9418
8721
  }>>;
9419
8722
  }>, "strip", z.ZodTypeAny, {
9420
- type: "FILE_WITH_OPTIONS";
8723
+ type: "SIGNATURE";
9421
8724
  id: string;
9422
- options: {
9423
- value: string;
9424
- label: TranslationConfig;
9425
- }[];
9426
8725
  label: TranslationConfig;
9427
8726
  configuration: {
9428
8727
  maxFileSize: number;
9429
8728
  acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9430
8729
  };
8730
+ signaturePromptLabel: TranslationConfig;
9431
8731
  parent?: {
9432
8732
  $$field: string;
9433
8733
  } | undefined;
@@ -9451,28 +8751,20 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9451
8751
  helperText?: TranslationConfig | undefined;
9452
8752
  hideLabel?: boolean | undefined;
9453
8753
  uncorrectable?: boolean | undefined;
9454
- defaultValue?: {
9455
- type: string;
9456
- option: string;
9457
- path: string;
9458
- originalFilename: string;
9459
- }[] | undefined;
8754
+ defaultValue?: string | undefined;
9460
8755
  }, {
9461
- type: "FILE_WITH_OPTIONS";
8756
+ type: "SIGNATURE";
9462
8757
  id: string;
9463
- options: {
9464
- value: string;
9465
- label: {
9466
- id: string;
9467
- description: string;
9468
- defaultMessage: string;
9469
- };
9470
- }[];
9471
8758
  label: {
9472
8759
  id: string;
9473
8760
  description: string;
9474
8761
  defaultMessage: string;
9475
8762
  };
8763
+ signaturePromptLabel: {
8764
+ id: string;
8765
+ description: string;
8766
+ defaultMessage: string;
8767
+ };
9476
8768
  parent?: {
9477
8769
  $$field: string;
9478
8770
  } | undefined;
@@ -9508,12 +8800,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9508
8800
  } | undefined;
9509
8801
  hideLabel?: boolean | undefined;
9510
8802
  uncorrectable?: boolean | undefined;
9511
- defaultValue?: {
9512
- type: string;
9513
- option: string;
9514
- path: string;
9515
- originalFilename: string;
9516
- }[] | undefined;
8803
+ defaultValue?: string | undefined;
9517
8804
  configuration?: {
9518
8805
  maxFileSize?: number | undefined;
9519
8806
  acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
@@ -9549,104 +8836,36 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9549
8836
  }>;
9550
8837
  }, "strip", z.ZodTypeAny, {
9551
8838
  message: TranslationConfig;
9552
- validator: import(".").JSONSchema;
9553
- }, {
9554
- message: {
9555
- id: string;
9556
- description: string;
9557
- defaultMessage: string;
9558
- };
9559
- validator: import(".").JSONSchema;
9560
- }>, "many">>>;
9561
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9562
- id: string;
9563
- description: string;
9564
- defaultMessage: string;
9565
- }>>;
9566
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9567
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9568
- }, {
9569
- type: z.ZodLiteral<"DATA">;
9570
- configuration: z.ZodObject<{
9571
- subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9572
- id: string;
9573
- description: string;
9574
- defaultMessage: string;
9575
- }>>;
9576
- data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
9577
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9578
- id: string;
9579
- description: string;
9580
- defaultMessage: string;
9581
- }>;
9582
- value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9583
- id: string;
9584
- description: string;
9585
- defaultMessage: string;
9586
- }>, z.ZodString]>;
9587
- }, "strip", z.ZodTypeAny, {
9588
- value: string | TranslationConfig;
9589
- label: TranslationConfig;
9590
- }, {
9591
- value: string | {
9592
- id: string;
9593
- description: string;
9594
- defaultMessage: string;
9595
- };
9596
- label: {
9597
- id: string;
9598
- description: string;
9599
- defaultMessage: string;
9600
- };
9601
- }>, z.ZodObject<{
9602
- fieldId: z.ZodString;
9603
- }, "strip", z.ZodTypeAny, {
9604
- fieldId: string;
9605
- }, {
9606
- fieldId: string;
9607
- }>]>, "many">;
9608
- }, "strip", z.ZodTypeAny, {
9609
- data: ({
9610
- value: string | TranslationConfig;
9611
- label: TranslationConfig;
9612
- } | {
9613
- fieldId: string;
9614
- })[];
9615
- subtitle?: TranslationConfig | undefined;
8839
+ validator: import(".").JSONSchema;
9616
8840
  }, {
9617
- data: ({
9618
- value: string | {
9619
- id: string;
9620
- description: string;
9621
- defaultMessage: string;
9622
- };
9623
- label: {
9624
- id: string;
9625
- description: string;
9626
- defaultMessage: string;
9627
- };
9628
- } | {
9629
- fieldId: string;
9630
- })[];
9631
- subtitle?: {
8841
+ message: {
9632
8842
  id: string;
9633
8843
  description: string;
9634
8844
  defaultMessage: string;
9635
- } | undefined;
9636
- }>;
8845
+ };
8846
+ validator: import(".").JSONSchema;
8847
+ }>, "many">>>;
8848
+ helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
8849
+ id: string;
8850
+ description: string;
8851
+ defaultMessage: string;
8852
+ }>>;
8853
+ hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8854
+ uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8855
+ }, {
8856
+ type: z.ZodLiteral<"EMAIL">;
8857
+ configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
8858
+ maxLength: z.ZodOptional<z.ZodNumber>;
8859
+ }, "strip", z.ZodTypeAny, {
8860
+ maxLength?: number | undefined;
8861
+ }, {
8862
+ maxLength?: number | undefined;
8863
+ }>>>;
8864
+ defaultValue: z.ZodOptional<z.ZodString>;
9637
8865
  }>, "strip", z.ZodTypeAny, {
9638
- type: "DATA";
8866
+ type: "EMAIL";
9639
8867
  id: string;
9640
8868
  label: TranslationConfig;
9641
- configuration: {
9642
- data: ({
9643
- value: string | TranslationConfig;
9644
- label: TranslationConfig;
9645
- } | {
9646
- fieldId: string;
9647
- })[];
9648
- subtitle?: TranslationConfig | undefined;
9649
- };
9650
8869
  parent?: {
9651
8870
  $$field: string;
9652
8871
  } | undefined;
@@ -9670,35 +8889,18 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9670
8889
  helperText?: TranslationConfig | undefined;
9671
8890
  hideLabel?: boolean | undefined;
9672
8891
  uncorrectable?: boolean | undefined;
8892
+ defaultValue?: string | undefined;
8893
+ configuration?: {
8894
+ maxLength?: number | undefined;
8895
+ } | undefined;
9673
8896
  }, {
9674
- type: "DATA";
8897
+ type: "EMAIL";
9675
8898
  id: string;
9676
8899
  label: {
9677
8900
  id: string;
9678
8901
  description: string;
9679
8902
  defaultMessage: string;
9680
8903
  };
9681
- configuration: {
9682
- data: ({
9683
- value: string | {
9684
- id: string;
9685
- description: string;
9686
- defaultMessage: string;
9687
- };
9688
- label: {
9689
- id: string;
9690
- description: string;
9691
- defaultMessage: string;
9692
- };
9693
- } | {
9694
- fieldId: string;
9695
- })[];
9696
- subtitle?: {
9697
- id: string;
9698
- description: string;
9699
- defaultMessage: string;
9700
- } | undefined;
9701
- };
9702
8904
  parent?: {
9703
8905
  $$field: string;
9704
8906
  } | undefined;
@@ -9734,6 +8936,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9734
8936
  } | undefined;
9735
8937
  hideLabel?: boolean | undefined;
9736
8938
  uncorrectable?: boolean | undefined;
8939
+ defaultValue?: string | undefined;
8940
+ configuration?: {
8941
+ maxLength?: number | undefined;
8942
+ } | undefined;
9737
8943
  }>, z.ZodObject<z.objectUtil.extendShape<{
9738
8944
  id: z.ZodString;
9739
8945
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -9782,36 +8988,62 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9782
8988
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9783
8989
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9784
8990
  }, {
9785
- type: z.ZodLiteral<"BUTTON">;
9786
- configuration: z.ZodObject<{
9787
- icon: z.ZodOptional<z.ZodString>;
9788
- loading: z.ZodOptional<z.ZodBoolean>;
9789
- text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
8991
+ type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
8992
+ options: z.ZodArray<z.ZodObject<{
8993
+ value: z.ZodString;
8994
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9790
8995
  id: string;
9791
8996
  description: string;
9792
8997
  defaultMessage: string;
9793
8998
  }>;
9794
8999
  }, "strip", z.ZodTypeAny, {
9795
- text: TranslationConfig;
9796
- loading?: boolean | undefined;
9797
- icon?: string | undefined;
9000
+ value: string;
9001
+ label: TranslationConfig;
9798
9002
  }, {
9799
- text: {
9003
+ value: string;
9004
+ label: {
9800
9005
  id: string;
9801
9006
  description: string;
9802
9007
  defaultMessage: string;
9803
9008
  };
9804
- loading?: boolean | undefined;
9805
- icon?: string | undefined;
9806
- }>;
9009
+ }>, "many">;
9010
+ defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
9011
+ path: z.ZodEffects<z.ZodString, string, string>;
9012
+ originalFilename: z.ZodString;
9013
+ type: z.ZodString;
9014
+ option: z.ZodString;
9015
+ }, "strip", z.ZodTypeAny, {
9016
+ type: string;
9017
+ option: string;
9018
+ path: string;
9019
+ originalFilename: string;
9020
+ }, {
9021
+ type: string;
9022
+ option: string;
9023
+ path: string;
9024
+ originalFilename: string;
9025
+ }>, "many">>;
9026
+ configuration: z.ZodDefault<z.ZodObject<{
9027
+ maxFileSize: z.ZodDefault<z.ZodNumber>;
9028
+ acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
9029
+ }, "strip", z.ZodTypeAny, {
9030
+ maxFileSize: number;
9031
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9032
+ }, {
9033
+ maxFileSize?: number | undefined;
9034
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9035
+ }>>;
9807
9036
  }>, "strip", z.ZodTypeAny, {
9808
- type: "BUTTON";
9037
+ type: "FILE_WITH_OPTIONS";
9809
9038
  id: string;
9039
+ options: {
9040
+ value: string;
9041
+ label: TranslationConfig;
9042
+ }[];
9810
9043
  label: TranslationConfig;
9811
9044
  configuration: {
9812
- text: TranslationConfig;
9813
- loading?: boolean | undefined;
9814
- icon?: string | undefined;
9045
+ maxFileSize: number;
9046
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9815
9047
  };
9816
9048
  parent?: {
9817
9049
  $$field: string;
@@ -9836,22 +9068,27 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9836
9068
  helperText?: TranslationConfig | undefined;
9837
9069
  hideLabel?: boolean | undefined;
9838
9070
  uncorrectable?: boolean | undefined;
9071
+ defaultValue?: {
9072
+ type: string;
9073
+ option: string;
9074
+ path: string;
9075
+ originalFilename: string;
9076
+ }[] | undefined;
9839
9077
  }, {
9840
- type: "BUTTON";
9078
+ type: "FILE_WITH_OPTIONS";
9841
9079
  id: string;
9842
- label: {
9843
- id: string;
9844
- description: string;
9845
- defaultMessage: string;
9846
- };
9847
- configuration: {
9848
- text: {
9080
+ options: {
9081
+ value: string;
9082
+ label: {
9849
9083
  id: string;
9850
9084
  description: string;
9851
9085
  defaultMessage: string;
9852
9086
  };
9853
- loading?: boolean | undefined;
9854
- icon?: string | undefined;
9087
+ }[];
9088
+ label: {
9089
+ id: string;
9090
+ description: string;
9091
+ defaultMessage: string;
9855
9092
  };
9856
9093
  parent?: {
9857
9094
  $$field: string;
@@ -9888,6 +9125,16 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9888
9125
  } | undefined;
9889
9126
  hideLabel?: boolean | undefined;
9890
9127
  uncorrectable?: boolean | undefined;
9128
+ defaultValue?: {
9129
+ type: string;
9130
+ option: string;
9131
+ path: string;
9132
+ originalFilename: string;
9133
+ }[] | undefined;
9134
+ configuration?: {
9135
+ maxFileSize?: number | undefined;
9136
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
9137
+ } | undefined;
9891
9138
  }>, z.ZodObject<z.objectUtil.extendShape<{
9892
9139
  id: z.ZodString;
9893
9140
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -9936,87 +9183,86 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
9936
9183
  hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9937
9184
  uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9938
9185
  }, {
9939
- type: z.ZodLiteral<"HTTP">;
9940
- defaultValue: z.ZodOptional<z.ZodObject<{
9941
- loading: z.ZodBoolean;
9942
- error: z.ZodNullable<z.ZodObject<{
9943
- statusCode: z.ZodNullable<z.ZodNumber>;
9944
- message: z.ZodString;
9186
+ type: z.ZodLiteral<"DATA">;
9187
+ configuration: z.ZodObject<{
9188
+ subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9189
+ id: string;
9190
+ description: string;
9191
+ defaultMessage: string;
9192
+ }>>;
9193
+ data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
9194
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9195
+ id: string;
9196
+ description: string;
9197
+ defaultMessage: string;
9198
+ }>;
9199
+ value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
9200
+ id: string;
9201
+ description: string;
9202
+ defaultMessage: string;
9203
+ }>, z.ZodString]>;
9945
9204
  }, "strip", z.ZodTypeAny, {
9946
- message: string;
9947
- statusCode: number | null;
9205
+ value: string | TranslationConfig;
9206
+ label: TranslationConfig;
9948
9207
  }, {
9949
- message: string;
9950
- statusCode: number | null;
9951
- }>>;
9952
- data: z.ZodAny;
9953
- trackingValue: z.ZodOptional<z.ZodString>;
9954
- }, "strip", z.ZodTypeAny, {
9955
- error: {
9956
- message: string;
9957
- statusCode: number | null;
9958
- } | null;
9959
- loading: boolean;
9960
- data?: any;
9961
- trackingValue?: string | undefined;
9962
- }, {
9963
- error: {
9964
- message: string;
9965
- statusCode: number | null;
9966
- } | null;
9967
- loading: boolean;
9968
- data?: any;
9969
- trackingValue?: string | undefined;
9970
- }>>;
9971
- configuration: z.ZodObject<{
9972
- trigger: z.ZodObject<{
9973
- $$field: z.ZodString;
9208
+ value: string | {
9209
+ id: string;
9210
+ description: string;
9211
+ defaultMessage: string;
9212
+ };
9213
+ label: {
9214
+ id: string;
9215
+ description: string;
9216
+ defaultMessage: string;
9217
+ };
9218
+ }>, z.ZodObject<{
9219
+ fieldId: z.ZodString;
9974
9220
  }, "strip", z.ZodTypeAny, {
9975
- $$field: string;
9221
+ fieldId: string;
9976
9222
  }, {
9977
- $$field: string;
9978
- }>;
9979
- url: z.ZodString;
9980
- method: z.ZodEnum<["GET", "POST", "PUT", "DELETE"]>;
9981
- headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9982
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9983
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9984
- timeout: z.ZodDefault<z.ZodNumber>;
9985
- }, "strip", z.ZodTypeAny, {
9986
- method: "POST" | "DELETE" | "GET" | "PUT";
9987
- trigger: {
9988
- $$field: string;
9989
- };
9990
- url: string;
9991
- timeout: number;
9992
- params?: Record<string, string> | undefined;
9993
- headers?: Record<string, string> | undefined;
9994
- body?: Record<string, string> | undefined;
9995
- }, {
9996
- method: "POST" | "DELETE" | "GET" | "PUT";
9997
- trigger: {
9998
- $$field: string;
9999
- };
10000
- url: string;
10001
- params?: Record<string, string> | undefined;
10002
- headers?: Record<string, string> | undefined;
10003
- body?: Record<string, string> | undefined;
10004
- timeout?: number | undefined;
9223
+ fieldId: string;
9224
+ }>]>, "many">;
9225
+ }, "strip", z.ZodTypeAny, {
9226
+ data: ({
9227
+ value: string | TranslationConfig;
9228
+ label: TranslationConfig;
9229
+ } | {
9230
+ fieldId: string;
9231
+ })[];
9232
+ subtitle?: TranslationConfig | undefined;
9233
+ }, {
9234
+ data: ({
9235
+ value: string | {
9236
+ id: string;
9237
+ description: string;
9238
+ defaultMessage: string;
9239
+ };
9240
+ label: {
9241
+ id: string;
9242
+ description: string;
9243
+ defaultMessage: string;
9244
+ };
9245
+ } | {
9246
+ fieldId: string;
9247
+ })[];
9248
+ subtitle?: {
9249
+ id: string;
9250
+ description: string;
9251
+ defaultMessage: string;
9252
+ } | undefined;
10005
9253
  }>;
10006
9254
  }>, "strip", z.ZodTypeAny, {
10007
- type: "HTTP";
9255
+ type: "DATA";
10008
9256
  id: string;
10009
9257
  label: TranslationConfig;
10010
9258
  configuration: {
10011
- method: "POST" | "DELETE" | "GET" | "PUT";
10012
- trigger: {
10013
- $$field: string;
10014
- };
10015
- url: string;
10016
- timeout: number;
10017
- params?: Record<string, string> | undefined;
10018
- headers?: Record<string, string> | undefined;
10019
- body?: Record<string, string> | undefined;
9259
+ data: ({
9260
+ value: string | TranslationConfig;
9261
+ label: TranslationConfig;
9262
+ } | {
9263
+ fieldId: string;
9264
+ })[];
9265
+ subtitle?: TranslationConfig | undefined;
10020
9266
  };
10021
9267
  parent?: {
10022
9268
  $$field: string;
@@ -10041,17 +9287,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10041
9287
  helperText?: TranslationConfig | undefined;
10042
9288
  hideLabel?: boolean | undefined;
10043
9289
  uncorrectable?: boolean | undefined;
10044
- defaultValue?: {
10045
- error: {
10046
- message: string;
10047
- statusCode: number | null;
10048
- } | null;
10049
- loading: boolean;
10050
- data?: any;
10051
- trackingValue?: string | undefined;
10052
- } | undefined;
10053
9290
  }, {
10054
- type: "HTTP";
9291
+ type: "DATA";
10055
9292
  id: string;
10056
9293
  label: {
10057
9294
  id: string;
@@ -10059,15 +9296,25 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10059
9296
  defaultMessage: string;
10060
9297
  };
10061
9298
  configuration: {
10062
- method: "POST" | "DELETE" | "GET" | "PUT";
10063
- trigger: {
10064
- $$field: string;
10065
- };
10066
- url: string;
10067
- params?: Record<string, string> | undefined;
10068
- headers?: Record<string, string> | undefined;
10069
- body?: Record<string, string> | undefined;
10070
- timeout?: number | undefined;
9299
+ data: ({
9300
+ value: string | {
9301
+ id: string;
9302
+ description: string;
9303
+ defaultMessage: string;
9304
+ };
9305
+ label: {
9306
+ id: string;
9307
+ description: string;
9308
+ defaultMessage: string;
9309
+ };
9310
+ } | {
9311
+ fieldId: string;
9312
+ })[];
9313
+ subtitle?: {
9314
+ id: string;
9315
+ description: string;
9316
+ defaultMessage: string;
9317
+ } | undefined;
10071
9318
  };
10072
9319
  parent?: {
10073
9320
  $$field: string;
@@ -10104,15 +9351,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
10104
9351
  } | undefined;
10105
9352
  hideLabel?: boolean | undefined;
10106
9353
  uncorrectable?: boolean | undefined;
10107
- defaultValue?: {
10108
- error: {
10109
- message: string;
10110
- statusCode: number | null;
10111
- } | null;
10112
- loading: boolean;
10113
- data?: any;
10114
- trackingValue?: string | undefined;
10115
- } | undefined;
10116
9354
  }>]>;
10117
9355
  export type SelectField = z.infer<typeof Select>;
10118
9356
  export type NameField = z.infer<typeof NameField>;