@opencrvs/toolkit 1.8.1-rc.0377f8e → 1.8.1-rc.06c1a33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commons/api/router.d.ts +1347 -1
- package/dist/commons/events/ActionConfig.d.ts +13563 -3777
- package/dist/commons/events/ActionDocument.d.ts +3036 -1
- package/dist/commons/events/ActionInput.d.ts +2460 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +93 -3
- package/dist/commons/events/CompositeFieldValue.d.ts +60 -0
- package/dist/commons/events/Draft.d.ts +192 -0
- package/dist/commons/events/EventConfig.d.ts +8123 -3864
- package/dist/commons/events/EventDocument.d.ts +1704 -0
- package/dist/commons/events/EventIndex.d.ts +47 -1
- package/dist/commons/events/FieldConfig.d.ts +1121 -359
- package/dist/commons/events/FieldType.d.ts +3 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +85 -3
- package/dist/commons/events/FieldValue.d.ts +62 -3
- package/dist/commons/events/FormConfig.d.ts +5750 -1148
- package/dist/commons/events/PageConfig.d.ts +1708 -562
- package/dist/commons/events/WorkqueueConfig.d.ts +8 -8
- package/dist/commons/events/defineConfig.d.ts +719 -8
- package/dist/commons/events/test.utils.d.ts +42 -0
- package/dist/commons/events/utils.d.ts +1317 -16
- package/dist/events/index.js +95 -33
- package/package.json +1 -1
@@ -4855,7 +4855,390 @@ 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
|
-
|
4858
|
+
declare const ButtonField: z.ZodObject<z.objectUtil.extendShape<{
|
4859
|
+
id: z.ZodString;
|
4860
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4861
|
+
id: string;
|
4862
|
+
description: string;
|
4863
|
+
defaultMessage: string;
|
4864
|
+
}>;
|
4865
|
+
parent: z.ZodOptional<z.ZodObject<{
|
4866
|
+
$$field: z.ZodString;
|
4867
|
+
}, "strip", z.ZodTypeAny, {
|
4868
|
+
$$field: string;
|
4869
|
+
}, {
|
4870
|
+
$$field: string;
|
4871
|
+
}>>;
|
4872
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4873
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4874
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4875
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4876
|
+
id: string;
|
4877
|
+
description: string;
|
4878
|
+
defaultMessage: string;
|
4879
|
+
}>>;
|
4880
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4881
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4882
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4883
|
+
id: string;
|
4884
|
+
description: string;
|
4885
|
+
defaultMessage: string;
|
4886
|
+
}>;
|
4887
|
+
}, "strip", z.ZodTypeAny, {
|
4888
|
+
message: TranslationConfig;
|
4889
|
+
validator: import(".").JSONSchema;
|
4890
|
+
}, {
|
4891
|
+
message: {
|
4892
|
+
id: string;
|
4893
|
+
description: string;
|
4894
|
+
defaultMessage: string;
|
4895
|
+
};
|
4896
|
+
validator: import(".").JSONSchema;
|
4897
|
+
}>, "many">>>;
|
4898
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4899
|
+
id: string;
|
4900
|
+
description: string;
|
4901
|
+
defaultMessage: string;
|
4902
|
+
}>>;
|
4903
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4904
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4905
|
+
}, {
|
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;
|
4919
|
+
}, {
|
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;
|
5025
|
+
}, {
|
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>;
|
4859
5242
|
export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
4860
5243
|
id: z.ZodString;
|
4861
5244
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -7366,10 +7749,254 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7366
7749
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7367
7750
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7368
7751
|
}, {
|
7369
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
7370
|
-
type: z.ZodLiteral<"PHONE">;
|
7752
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
7753
|
+
type: z.ZodLiteral<"PHONE">;
|
7754
|
+
}>, "strip", z.ZodTypeAny, {
|
7755
|
+
type: "PHONE";
|
7756
|
+
id: string;
|
7757
|
+
label: TranslationConfig;
|
7758
|
+
parent?: {
|
7759
|
+
$$field: string;
|
7760
|
+
} | undefined;
|
7761
|
+
validation?: {
|
7762
|
+
message: TranslationConfig;
|
7763
|
+
validator: import(".").JSONSchema;
|
7764
|
+
}[] | undefined;
|
7765
|
+
required?: boolean | undefined;
|
7766
|
+
conditionals?: ({
|
7767
|
+
type: "SHOW";
|
7768
|
+
conditional: import(".").JSONSchema;
|
7769
|
+
} | {
|
7770
|
+
type: "ENABLE";
|
7771
|
+
conditional: import(".").JSONSchema;
|
7772
|
+
} | {
|
7773
|
+
type: "DISPLAY_ON_REVIEW";
|
7774
|
+
conditional: import(".").JSONSchema;
|
7775
|
+
})[] | undefined;
|
7776
|
+
secured?: boolean | undefined;
|
7777
|
+
placeholder?: TranslationConfig | undefined;
|
7778
|
+
helperText?: TranslationConfig | undefined;
|
7779
|
+
hideLabel?: boolean | undefined;
|
7780
|
+
uncorrectable?: boolean | undefined;
|
7781
|
+
defaultValue?: string | undefined;
|
7782
|
+
}, {
|
7783
|
+
type: "PHONE";
|
7784
|
+
id: string;
|
7785
|
+
label: {
|
7786
|
+
id: string;
|
7787
|
+
description: string;
|
7788
|
+
defaultMessage: string;
|
7789
|
+
};
|
7790
|
+
parent?: {
|
7791
|
+
$$field: string;
|
7792
|
+
} | undefined;
|
7793
|
+
validation?: {
|
7794
|
+
message: {
|
7795
|
+
id: string;
|
7796
|
+
description: string;
|
7797
|
+
defaultMessage: string;
|
7798
|
+
};
|
7799
|
+
validator: import(".").JSONSchema;
|
7800
|
+
}[] | undefined;
|
7801
|
+
required?: boolean | undefined;
|
7802
|
+
conditionals?: ({
|
7803
|
+
type: "SHOW";
|
7804
|
+
conditional: import(".").JSONSchema;
|
7805
|
+
} | {
|
7806
|
+
type: "ENABLE";
|
7807
|
+
conditional: import(".").JSONSchema;
|
7808
|
+
} | {
|
7809
|
+
type: "DISPLAY_ON_REVIEW";
|
7810
|
+
conditional: import(".").JSONSchema;
|
7811
|
+
})[] | undefined;
|
7812
|
+
secured?: boolean | undefined;
|
7813
|
+
placeholder?: {
|
7814
|
+
id: string;
|
7815
|
+
description: string;
|
7816
|
+
defaultMessage: string;
|
7817
|
+
} | undefined;
|
7818
|
+
helperText?: {
|
7819
|
+
id: string;
|
7820
|
+
description: string;
|
7821
|
+
defaultMessage: string;
|
7822
|
+
} | undefined;
|
7823
|
+
hideLabel?: boolean | undefined;
|
7824
|
+
uncorrectable?: boolean | undefined;
|
7825
|
+
defaultValue?: string | undefined;
|
7826
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7827
|
+
id: z.ZodString;
|
7828
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7829
|
+
id: string;
|
7830
|
+
description: string;
|
7831
|
+
defaultMessage: string;
|
7832
|
+
}>;
|
7833
|
+
parent: z.ZodOptional<z.ZodObject<{
|
7834
|
+
$$field: z.ZodString;
|
7835
|
+
}, "strip", z.ZodTypeAny, {
|
7836
|
+
$$field: string;
|
7837
|
+
}, {
|
7838
|
+
$$field: string;
|
7839
|
+
}>>;
|
7840
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7841
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
7842
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7843
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7844
|
+
id: string;
|
7845
|
+
description: string;
|
7846
|
+
defaultMessage: string;
|
7847
|
+
}>>;
|
7848
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
7849
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
7850
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7851
|
+
id: string;
|
7852
|
+
description: string;
|
7853
|
+
defaultMessage: string;
|
7854
|
+
}>;
|
7855
|
+
}, "strip", z.ZodTypeAny, {
|
7856
|
+
message: TranslationConfig;
|
7857
|
+
validator: import(".").JSONSchema;
|
7858
|
+
}, {
|
7859
|
+
message: {
|
7860
|
+
id: string;
|
7861
|
+
description: string;
|
7862
|
+
defaultMessage: string;
|
7863
|
+
};
|
7864
|
+
validator: import(".").JSONSchema;
|
7865
|
+
}>, "many">>>;
|
7866
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7867
|
+
id: string;
|
7868
|
+
description: string;
|
7869
|
+
defaultMessage: string;
|
7870
|
+
}>>;
|
7871
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7872
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7873
|
+
}, {
|
7874
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
7875
|
+
type: z.ZodLiteral<"ID">;
|
7876
|
+
}>, "strip", z.ZodTypeAny, {
|
7877
|
+
type: "ID";
|
7878
|
+
id: string;
|
7879
|
+
label: TranslationConfig;
|
7880
|
+
parent?: {
|
7881
|
+
$$field: string;
|
7882
|
+
} | undefined;
|
7883
|
+
validation?: {
|
7884
|
+
message: TranslationConfig;
|
7885
|
+
validator: import(".").JSONSchema;
|
7886
|
+
}[] | undefined;
|
7887
|
+
required?: boolean | undefined;
|
7888
|
+
conditionals?: ({
|
7889
|
+
type: "SHOW";
|
7890
|
+
conditional: import(".").JSONSchema;
|
7891
|
+
} | {
|
7892
|
+
type: "ENABLE";
|
7893
|
+
conditional: import(".").JSONSchema;
|
7894
|
+
} | {
|
7895
|
+
type: "DISPLAY_ON_REVIEW";
|
7896
|
+
conditional: import(".").JSONSchema;
|
7897
|
+
})[] | undefined;
|
7898
|
+
secured?: boolean | undefined;
|
7899
|
+
placeholder?: TranslationConfig | undefined;
|
7900
|
+
helperText?: TranslationConfig | undefined;
|
7901
|
+
hideLabel?: boolean | undefined;
|
7902
|
+
uncorrectable?: boolean | undefined;
|
7903
|
+
defaultValue?: string | undefined;
|
7904
|
+
}, {
|
7905
|
+
type: "ID";
|
7906
|
+
id: string;
|
7907
|
+
label: {
|
7908
|
+
id: string;
|
7909
|
+
description: string;
|
7910
|
+
defaultMessage: string;
|
7911
|
+
};
|
7912
|
+
parent?: {
|
7913
|
+
$$field: string;
|
7914
|
+
} | undefined;
|
7915
|
+
validation?: {
|
7916
|
+
message: {
|
7917
|
+
id: string;
|
7918
|
+
description: string;
|
7919
|
+
defaultMessage: string;
|
7920
|
+
};
|
7921
|
+
validator: import(".").JSONSchema;
|
7922
|
+
}[] | undefined;
|
7923
|
+
required?: boolean | undefined;
|
7924
|
+
conditionals?: ({
|
7925
|
+
type: "SHOW";
|
7926
|
+
conditional: import(".").JSONSchema;
|
7927
|
+
} | {
|
7928
|
+
type: "ENABLE";
|
7929
|
+
conditional: import(".").JSONSchema;
|
7930
|
+
} | {
|
7931
|
+
type: "DISPLAY_ON_REVIEW";
|
7932
|
+
conditional: import(".").JSONSchema;
|
7933
|
+
})[] | undefined;
|
7934
|
+
secured?: boolean | undefined;
|
7935
|
+
placeholder?: {
|
7936
|
+
id: string;
|
7937
|
+
description: string;
|
7938
|
+
defaultMessage: string;
|
7939
|
+
} | undefined;
|
7940
|
+
helperText?: {
|
7941
|
+
id: string;
|
7942
|
+
description: string;
|
7943
|
+
defaultMessage: string;
|
7944
|
+
} | undefined;
|
7945
|
+
hideLabel?: boolean | undefined;
|
7946
|
+
uncorrectable?: boolean | undefined;
|
7947
|
+
defaultValue?: string | undefined;
|
7948
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7949
|
+
id: z.ZodString;
|
7950
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7951
|
+
id: string;
|
7952
|
+
description: string;
|
7953
|
+
defaultMessage: string;
|
7954
|
+
}>;
|
7955
|
+
parent: z.ZodOptional<z.ZodObject<{
|
7956
|
+
$$field: z.ZodString;
|
7957
|
+
}, "strip", z.ZodTypeAny, {
|
7958
|
+
$$field: string;
|
7959
|
+
}, {
|
7960
|
+
$$field: string;
|
7961
|
+
}>>;
|
7962
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7963
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
7964
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7965
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7966
|
+
id: string;
|
7967
|
+
description: string;
|
7968
|
+
defaultMessage: string;
|
7969
|
+
}>>;
|
7970
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
7971
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
7972
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7973
|
+
id: string;
|
7974
|
+
description: string;
|
7975
|
+
defaultMessage: string;
|
7976
|
+
}>;
|
7977
|
+
}, "strip", z.ZodTypeAny, {
|
7978
|
+
message: TranslationConfig;
|
7979
|
+
validator: import(".").JSONSchema;
|
7980
|
+
}, {
|
7981
|
+
message: {
|
7982
|
+
id: string;
|
7983
|
+
description: string;
|
7984
|
+
defaultMessage: string;
|
7985
|
+
};
|
7986
|
+
validator: import(".").JSONSchema;
|
7987
|
+
}>, "many">>>;
|
7988
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7989
|
+
id: string;
|
7990
|
+
description: string;
|
7991
|
+
defaultMessage: string;
|
7992
|
+
}>>;
|
7993
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7994
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7995
|
+
}, {
|
7996
|
+
type: z.ZodLiteral<"CHECKBOX">;
|
7997
|
+
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
7371
7998
|
}>, "strip", z.ZodTypeAny, {
|
7372
|
-
type: "
|
7999
|
+
type: "CHECKBOX";
|
7373
8000
|
id: string;
|
7374
8001
|
label: TranslationConfig;
|
7375
8002
|
parent?: {
|
@@ -7395,9 +8022,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7395
8022
|
helperText?: TranslationConfig | undefined;
|
7396
8023
|
hideLabel?: boolean | undefined;
|
7397
8024
|
uncorrectable?: boolean | undefined;
|
7398
|
-
defaultValue?:
|
8025
|
+
defaultValue?: boolean | undefined;
|
7399
8026
|
}, {
|
7400
|
-
type: "
|
8027
|
+
type: "CHECKBOX";
|
7401
8028
|
id: string;
|
7402
8029
|
label: {
|
7403
8030
|
id: string;
|
@@ -7439,7 +8066,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7439
8066
|
} | undefined;
|
7440
8067
|
hideLabel?: boolean | undefined;
|
7441
8068
|
uncorrectable?: boolean | undefined;
|
7442
|
-
defaultValue?:
|
8069
|
+
defaultValue?: boolean | undefined;
|
7443
8070
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7444
8071
|
id: z.ZodString;
|
7445
8072
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -7488,12 +8115,66 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7488
8115
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7489
8116
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7490
8117
|
}, {
|
7491
|
-
|
7492
|
-
|
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
|
+
}>>;
|
7493
8166
|
}>, "strip", z.ZodTypeAny, {
|
7494
|
-
type: "
|
8167
|
+
type: "FILE";
|
7495
8168
|
id: string;
|
7496
8169
|
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
|
+
};
|
7497
8178
|
parent?: {
|
7498
8179
|
$$field: string;
|
7499
8180
|
} | undefined;
|
@@ -7517,9 +8198,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7517
8198
|
helperText?: TranslationConfig | undefined;
|
7518
8199
|
hideLabel?: boolean | undefined;
|
7519
8200
|
uncorrectable?: boolean | undefined;
|
7520
|
-
defaultValue?:
|
8201
|
+
defaultValue?: {
|
8202
|
+
type: string;
|
8203
|
+
path: string;
|
8204
|
+
originalFilename: string;
|
8205
|
+
} | undefined;
|
7521
8206
|
}, {
|
7522
|
-
type: "
|
8207
|
+
type: "FILE";
|
7523
8208
|
id: string;
|
7524
8209
|
label: {
|
7525
8210
|
id: string;
|
@@ -7561,7 +8246,23 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7561
8246
|
} | undefined;
|
7562
8247
|
hideLabel?: boolean | undefined;
|
7563
8248
|
uncorrectable?: boolean | undefined;
|
7564
|
-
defaultValue?:
|
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;
|
7565
8266
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7566
8267
|
id: z.ZodString;
|
7567
8268
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -7610,10 +8311,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7610
8311
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7611
8312
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7612
8313
|
}, {
|
7613
|
-
type: z.ZodLiteral<"
|
7614
|
-
defaultValue: z.ZodOptional<z.
|
8314
|
+
type: z.ZodLiteral<"COUNTRY">;
|
8315
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
7615
8316
|
}>, "strip", z.ZodTypeAny, {
|
7616
|
-
type: "
|
8317
|
+
type: "COUNTRY";
|
7617
8318
|
id: string;
|
7618
8319
|
label: TranslationConfig;
|
7619
8320
|
parent?: {
|
@@ -7639,9 +8340,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7639
8340
|
helperText?: TranslationConfig | undefined;
|
7640
8341
|
hideLabel?: boolean | undefined;
|
7641
8342
|
uncorrectable?: boolean | undefined;
|
7642
|
-
defaultValue?:
|
8343
|
+
defaultValue?: string | undefined;
|
7643
8344
|
}, {
|
7644
|
-
type: "
|
8345
|
+
type: "COUNTRY";
|
7645
8346
|
id: string;
|
7646
8347
|
label: {
|
7647
8348
|
id: string;
|
@@ -7683,7 +8384,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7683
8384
|
} | undefined;
|
7684
8385
|
hideLabel?: boolean | undefined;
|
7685
8386
|
uncorrectable?: boolean | undefined;
|
7686
|
-
defaultValue?:
|
8387
|
+
defaultValue?: string | undefined;
|
7687
8388
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7688
8389
|
id: z.ZodString;
|
7689
8390
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -7732,65 +8433,37 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7732
8433
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7733
8434
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7734
8435
|
}, {
|
7735
|
-
type: z.ZodLiteral<"
|
7736
|
-
defaultValue: z.ZodOptional<z.
|
7737
|
-
|
7738
|
-
|
7739
|
-
|
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"]>>;
|
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;
|
7754
8441
|
}, "strip", z.ZodTypeAny, {
|
7755
|
-
|
8442
|
+
$declaration: string;
|
7756
8443
|
}, {
|
7757
|
-
|
7758
|
-
}>>;
|
7759
|
-
fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7760
|
-
id: string;
|
7761
|
-
description: string;
|
7762
|
-
defaultMessage: string;
|
8444
|
+
$declaration: string;
|
7763
8445
|
}>>;
|
8446
|
+
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
7764
8447
|
}, "strip", z.ZodTypeAny, {
|
7765
|
-
|
7766
|
-
|
7767
|
-
|
7768
|
-
width?: "full" | "auto" | undefined;
|
8448
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
8449
|
+
partOf?: {
|
8450
|
+
$declaration: string;
|
7769
8451
|
} | undefined;
|
7770
|
-
fileName?: TranslationConfig | undefined;
|
7771
8452
|
}, {
|
7772
|
-
|
7773
|
-
|
7774
|
-
|
7775
|
-
width?: "full" | "auto" | undefined;
|
7776
|
-
} | undefined;
|
7777
|
-
fileName?: {
|
7778
|
-
id: string;
|
7779
|
-
description: string;
|
7780
|
-
defaultMessage: string;
|
8453
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
8454
|
+
partOf?: {
|
8455
|
+
$declaration: string;
|
7781
8456
|
} | undefined;
|
7782
|
-
}
|
8457
|
+
}>;
|
7783
8458
|
}>, "strip", z.ZodTypeAny, {
|
7784
|
-
type: "
|
8459
|
+
type: "ADMINISTRATIVE_AREA";
|
7785
8460
|
id: string;
|
7786
8461
|
label: TranslationConfig;
|
7787
8462
|
configuration: {
|
7788
|
-
|
7789
|
-
|
7790
|
-
|
7791
|
-
width?: "full" | "auto" | undefined;
|
8463
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
8464
|
+
partOf?: {
|
8465
|
+
$declaration: string;
|
7792
8466
|
} | undefined;
|
7793
|
-
fileName?: TranslationConfig | undefined;
|
7794
8467
|
};
|
7795
8468
|
parent?: {
|
7796
8469
|
$$field: string;
|
@@ -7815,19 +8488,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7815
8488
|
helperText?: TranslationConfig | undefined;
|
7816
8489
|
hideLabel?: boolean | undefined;
|
7817
8490
|
uncorrectable?: boolean | undefined;
|
7818
|
-
defaultValue?:
|
7819
|
-
type: string;
|
7820
|
-
path: string;
|
7821
|
-
originalFilename: string;
|
7822
|
-
} | undefined;
|
8491
|
+
defaultValue?: string | undefined;
|
7823
8492
|
}, {
|
7824
|
-
type: "
|
8493
|
+
type: "ADMINISTRATIVE_AREA";
|
7825
8494
|
id: string;
|
7826
8495
|
label: {
|
7827
8496
|
id: string;
|
7828
8497
|
description: string;
|
7829
8498
|
defaultMessage: string;
|
7830
8499
|
};
|
8500
|
+
configuration: {
|
8501
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
8502
|
+
partOf?: {
|
8503
|
+
$declaration: string;
|
8504
|
+
} | undefined;
|
8505
|
+
};
|
7831
8506
|
parent?: {
|
7832
8507
|
$$field: string;
|
7833
8508
|
} | undefined;
|
@@ -7863,23 +8538,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7863
8538
|
} | undefined;
|
7864
8539
|
hideLabel?: boolean | undefined;
|
7865
8540
|
uncorrectable?: boolean | 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;
|
8541
|
+
defaultValue?: string | undefined;
|
7883
8542
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7884
8543
|
id: z.ZodString;
|
7885
8544
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -7928,10 +8587,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7928
8587
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7929
8588
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7930
8589
|
}, {
|
7931
|
-
type: z.ZodLiteral<"
|
7932
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
8590
|
+
type: z.ZodLiteral<"DIVIDER">;
|
7933
8591
|
}>, "strip", z.ZodTypeAny, {
|
7934
|
-
type: "
|
8592
|
+
type: "DIVIDER";
|
7935
8593
|
id: string;
|
7936
8594
|
label: TranslationConfig;
|
7937
8595
|
parent?: {
|
@@ -7957,9 +8615,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7957
8615
|
helperText?: TranslationConfig | undefined;
|
7958
8616
|
hideLabel?: boolean | undefined;
|
7959
8617
|
uncorrectable?: boolean | undefined;
|
7960
|
-
defaultValue?: string | undefined;
|
7961
8618
|
}, {
|
7962
|
-
type: "
|
8619
|
+
type: "DIVIDER";
|
7963
8620
|
id: string;
|
7964
8621
|
label: {
|
7965
8622
|
id: string;
|
@@ -8001,7 +8658,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8001
8658
|
} | undefined;
|
8002
8659
|
hideLabel?: boolean | undefined;
|
8003
8660
|
uncorrectable?: boolean | undefined;
|
8004
|
-
defaultValue?: string | undefined;
|
8005
8661
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8006
8662
|
id: z.ZodString;
|
8007
8663
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8050,38 +8706,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8050
8706
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8051
8707
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8052
8708
|
}, {
|
8053
|
-
type: z.ZodLiteral<"
|
8709
|
+
type: z.ZodLiteral<"LOCATION">;
|
8054
8710
|
defaultValue: z.ZodOptional<z.ZodString>;
|
8055
|
-
configuration: z.ZodObject<{
|
8056
|
-
|
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"]>;
|
8711
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
8712
|
+
searchableResource: z.ZodOptional<z.ZodArray<z.ZodEnum<["locations", "facilities", "offices"]>, "many">>;
|
8064
8713
|
}, "strip", z.ZodTypeAny, {
|
8065
|
-
|
8066
|
-
partOf?: {
|
8067
|
-
$declaration: string;
|
8068
|
-
} | undefined;
|
8714
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8069
8715
|
}, {
|
8070
|
-
|
8071
|
-
|
8072
|
-
$declaration: string;
|
8073
|
-
} | undefined;
|
8074
|
-
}>;
|
8716
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8717
|
+
}>>;
|
8075
8718
|
}>, "strip", z.ZodTypeAny, {
|
8076
|
-
type: "
|
8719
|
+
type: "LOCATION";
|
8077
8720
|
id: string;
|
8078
8721
|
label: TranslationConfig;
|
8079
|
-
configuration: {
|
8080
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
8081
|
-
partOf?: {
|
8082
|
-
$declaration: string;
|
8083
|
-
} | undefined;
|
8084
|
-
};
|
8085
8722
|
parent?: {
|
8086
8723
|
$$field: string;
|
8087
8724
|
} | undefined;
|
@@ -8106,20 +8743,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8106
8743
|
hideLabel?: boolean | undefined;
|
8107
8744
|
uncorrectable?: boolean | undefined;
|
8108
8745
|
defaultValue?: string | undefined;
|
8746
|
+
configuration?: {
|
8747
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8748
|
+
} | undefined;
|
8109
8749
|
}, {
|
8110
|
-
type: "
|
8750
|
+
type: "LOCATION";
|
8111
8751
|
id: string;
|
8112
8752
|
label: {
|
8113
8753
|
id: string;
|
8114
8754
|
description: string;
|
8115
8755
|
defaultMessage: string;
|
8116
8756
|
};
|
8117
|
-
configuration: {
|
8118
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
8119
|
-
partOf?: {
|
8120
|
-
$declaration: string;
|
8121
|
-
} | undefined;
|
8122
|
-
};
|
8123
8757
|
parent?: {
|
8124
8758
|
$$field: string;
|
8125
8759
|
} | undefined;
|
@@ -8156,6 +8790,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8156
8790
|
hideLabel?: boolean | undefined;
|
8157
8791
|
uncorrectable?: boolean | undefined;
|
8158
8792
|
defaultValue?: string | undefined;
|
8793
|
+
configuration?: {
|
8794
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8795
|
+
} | undefined;
|
8159
8796
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8160
8797
|
id: z.ZodString;
|
8161
8798
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8204,9 +8841,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8204
8841
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8205
8842
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8206
8843
|
}, {
|
8207
|
-
type: z.ZodLiteral<"
|
8844
|
+
type: z.ZodLiteral<"FACILITY">;
|
8845
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
8208
8846
|
}>, "strip", z.ZodTypeAny, {
|
8209
|
-
type: "
|
8847
|
+
type: "FACILITY";
|
8210
8848
|
id: string;
|
8211
8849
|
label: TranslationConfig;
|
8212
8850
|
parent?: {
|
@@ -8232,8 +8870,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8232
8870
|
helperText?: TranslationConfig | undefined;
|
8233
8871
|
hideLabel?: boolean | undefined;
|
8234
8872
|
uncorrectable?: boolean | undefined;
|
8873
|
+
defaultValue?: string | undefined;
|
8235
8874
|
}, {
|
8236
|
-
type: "
|
8875
|
+
type: "FACILITY";
|
8237
8876
|
id: string;
|
8238
8877
|
label: {
|
8239
8878
|
id: string;
|
@@ -8275,6 +8914,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8275
8914
|
} | undefined;
|
8276
8915
|
hideLabel?: boolean | undefined;
|
8277
8916
|
uncorrectable?: boolean | undefined;
|
8917
|
+
defaultValue?: string | undefined;
|
8278
8918
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8279
8919
|
id: z.ZodString;
|
8280
8920
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8323,17 +8963,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8323
8963
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8324
8964
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8325
8965
|
}, {
|
8326
|
-
type: z.ZodLiteral<"
|
8966
|
+
type: z.ZodLiteral<"OFFICE">;
|
8327
8967
|
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
|
-
}>>;
|
8335
8968
|
}>, "strip", z.ZodTypeAny, {
|
8336
|
-
type: "
|
8969
|
+
type: "OFFICE";
|
8337
8970
|
id: string;
|
8338
8971
|
label: TranslationConfig;
|
8339
8972
|
parent?: {
|
@@ -8360,11 +8993,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8360
8993
|
hideLabel?: boolean | undefined;
|
8361
8994
|
uncorrectable?: boolean | undefined;
|
8362
8995
|
defaultValue?: string | undefined;
|
8363
|
-
configuration?: {
|
8364
|
-
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8365
|
-
} | undefined;
|
8366
8996
|
}, {
|
8367
|
-
type: "
|
8997
|
+
type: "OFFICE";
|
8368
8998
|
id: string;
|
8369
8999
|
label: {
|
8370
9000
|
id: string;
|
@@ -8407,9 +9037,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8407
9037
|
hideLabel?: boolean | undefined;
|
8408
9038
|
uncorrectable?: boolean | undefined;
|
8409
9039
|
defaultValue?: string | undefined;
|
8410
|
-
configuration?: {
|
8411
|
-
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8412
|
-
} | undefined;
|
8413
9040
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8414
9041
|
id: z.ZodString;
|
8415
9042
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8458,12 +9085,32 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8458
9085
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8459
9086
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8460
9087
|
}, {
|
8461
|
-
type: z.ZodLiteral<"
|
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
|
+
}>;
|
8462
9094
|
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
|
+
}>>;
|
8463
9105
|
}>, "strip", z.ZodTypeAny, {
|
8464
|
-
type: "
|
9106
|
+
type: "SIGNATURE";
|
8465
9107
|
id: string;
|
8466
9108
|
label: TranslationConfig;
|
9109
|
+
configuration: {
|
9110
|
+
maxFileSize: number;
|
9111
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9112
|
+
};
|
9113
|
+
signaturePromptLabel: TranslationConfig;
|
8467
9114
|
parent?: {
|
8468
9115
|
$$field: string;
|
8469
9116
|
} | undefined;
|
@@ -8489,13 +9136,18 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8489
9136
|
uncorrectable?: boolean | undefined;
|
8490
9137
|
defaultValue?: string | undefined;
|
8491
9138
|
}, {
|
8492
|
-
type: "
|
9139
|
+
type: "SIGNATURE";
|
8493
9140
|
id: string;
|
8494
9141
|
label: {
|
8495
9142
|
id: string;
|
8496
9143
|
description: string;
|
8497
9144
|
defaultMessage: string;
|
8498
9145
|
};
|
9146
|
+
signaturePromptLabel: {
|
9147
|
+
id: string;
|
9148
|
+
description: string;
|
9149
|
+
defaultMessage: string;
|
9150
|
+
};
|
8499
9151
|
parent?: {
|
8500
9152
|
$$field: string;
|
8501
9153
|
} | undefined;
|
@@ -8532,6 +9184,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8532
9184
|
hideLabel?: boolean | undefined;
|
8533
9185
|
uncorrectable?: boolean | undefined;
|
8534
9186
|
defaultValue?: string | undefined;
|
9187
|
+
configuration?: {
|
9188
|
+
maxFileSize?: number | undefined;
|
9189
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
9190
|
+
} | undefined;
|
8535
9191
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8536
9192
|
id: z.ZodString;
|
8537
9193
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8580,10 +9236,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8580
9236
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8581
9237
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8582
9238
|
}, {
|
8583
|
-
type: z.ZodLiteral<"
|
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
|
+
}>>>;
|
8584
9247
|
defaultValue: z.ZodOptional<z.ZodString>;
|
8585
9248
|
}>, "strip", z.ZodTypeAny, {
|
8586
|
-
type: "
|
9249
|
+
type: "EMAIL";
|
8587
9250
|
id: string;
|
8588
9251
|
label: TranslationConfig;
|
8589
9252
|
parent?: {
|
@@ -8610,8 +9273,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8610
9273
|
hideLabel?: boolean | undefined;
|
8611
9274
|
uncorrectable?: boolean | undefined;
|
8612
9275
|
defaultValue?: string | undefined;
|
9276
|
+
configuration?: {
|
9277
|
+
maxLength?: number | undefined;
|
9278
|
+
} | undefined;
|
8613
9279
|
}, {
|
8614
|
-
type: "
|
9280
|
+
type: "EMAIL";
|
8615
9281
|
id: string;
|
8616
9282
|
label: {
|
8617
9283
|
id: string;
|
@@ -8654,6 +9320,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8654
9320
|
hideLabel?: boolean | undefined;
|
8655
9321
|
uncorrectable?: boolean | undefined;
|
8656
9322
|
defaultValue?: string | undefined;
|
9323
|
+
configuration?: {
|
9324
|
+
maxLength?: number | undefined;
|
9325
|
+
} | undefined;
|
8657
9326
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8658
9327
|
id: z.ZodString;
|
8659
9328
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8702,13 +9371,41 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8702
9371
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8703
9372
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8704
9373
|
}, {
|
8705
|
-
type: z.ZodLiteral<"
|
8706
|
-
|
8707
|
-
|
8708
|
-
|
8709
|
-
|
8710
|
-
|
8711
|
-
|
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">>;
|
8712
9409
|
configuration: z.ZodDefault<z.ZodObject<{
|
8713
9410
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
8714
9411
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -8720,14 +9417,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8720
9417
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
8721
9418
|
}>>;
|
8722
9419
|
}>, "strip", z.ZodTypeAny, {
|
8723
|
-
type: "
|
9420
|
+
type: "FILE_WITH_OPTIONS";
|
8724
9421
|
id: string;
|
9422
|
+
options: {
|
9423
|
+
value: string;
|
9424
|
+
label: TranslationConfig;
|
9425
|
+
}[];
|
8725
9426
|
label: TranslationConfig;
|
8726
9427
|
configuration: {
|
8727
9428
|
maxFileSize: number;
|
8728
9429
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
8729
9430
|
};
|
8730
|
-
signaturePromptLabel: TranslationConfig;
|
8731
9431
|
parent?: {
|
8732
9432
|
$$field: string;
|
8733
9433
|
} | undefined;
|
@@ -8751,20 +9451,28 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8751
9451
|
helperText?: TranslationConfig | undefined;
|
8752
9452
|
hideLabel?: boolean | undefined;
|
8753
9453
|
uncorrectable?: boolean | undefined;
|
8754
|
-
defaultValue?:
|
9454
|
+
defaultValue?: {
|
9455
|
+
type: string;
|
9456
|
+
option: string;
|
9457
|
+
path: string;
|
9458
|
+
originalFilename: string;
|
9459
|
+
}[] | undefined;
|
8755
9460
|
}, {
|
8756
|
-
type: "
|
9461
|
+
type: "FILE_WITH_OPTIONS";
|
8757
9462
|
id: string;
|
9463
|
+
options: {
|
9464
|
+
value: string;
|
9465
|
+
label: {
|
9466
|
+
id: string;
|
9467
|
+
description: string;
|
9468
|
+
defaultMessage: string;
|
9469
|
+
};
|
9470
|
+
}[];
|
8758
9471
|
label: {
|
8759
9472
|
id: string;
|
8760
9473
|
description: string;
|
8761
9474
|
defaultMessage: string;
|
8762
9475
|
};
|
8763
|
-
signaturePromptLabel: {
|
8764
|
-
id: string;
|
8765
|
-
description: string;
|
8766
|
-
defaultMessage: string;
|
8767
|
-
};
|
8768
9476
|
parent?: {
|
8769
9477
|
$$field: string;
|
8770
9478
|
} | undefined;
|
@@ -8800,7 +9508,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8800
9508
|
} | undefined;
|
8801
9509
|
hideLabel?: boolean | undefined;
|
8802
9510
|
uncorrectable?: boolean | undefined;
|
8803
|
-
defaultValue?:
|
9511
|
+
defaultValue?: {
|
9512
|
+
type: string;
|
9513
|
+
option: string;
|
9514
|
+
path: string;
|
9515
|
+
originalFilename: string;
|
9516
|
+
}[] | undefined;
|
8804
9517
|
configuration?: {
|
8805
9518
|
maxFileSize?: number | undefined;
|
8806
9519
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
@@ -8838,34 +9551,102 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8838
9551
|
message: TranslationConfig;
|
8839
9552
|
validator: import(".").JSONSchema;
|
8840
9553
|
}, {
|
8841
|
-
message: {
|
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;
|
9616
|
+
}, {
|
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?: {
|
8842
9632
|
id: string;
|
8843
9633
|
description: string;
|
8844
9634
|
defaultMessage: string;
|
8845
|
-
};
|
8846
|
-
|
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>;
|
9635
|
+
} | undefined;
|
9636
|
+
}>;
|
8865
9637
|
}>, "strip", z.ZodTypeAny, {
|
8866
|
-
type: "
|
9638
|
+
type: "DATA";
|
8867
9639
|
id: string;
|
8868
9640
|
label: TranslationConfig;
|
9641
|
+
configuration: {
|
9642
|
+
data: ({
|
9643
|
+
value: string | TranslationConfig;
|
9644
|
+
label: TranslationConfig;
|
9645
|
+
} | {
|
9646
|
+
fieldId: string;
|
9647
|
+
})[];
|
9648
|
+
subtitle?: TranslationConfig | undefined;
|
9649
|
+
};
|
8869
9650
|
parent?: {
|
8870
9651
|
$$field: string;
|
8871
9652
|
} | undefined;
|
@@ -8889,18 +9670,35 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8889
9670
|
helperText?: TranslationConfig | undefined;
|
8890
9671
|
hideLabel?: boolean | undefined;
|
8891
9672
|
uncorrectable?: boolean | undefined;
|
8892
|
-
defaultValue?: string | undefined;
|
8893
|
-
configuration?: {
|
8894
|
-
maxLength?: number | undefined;
|
8895
|
-
} | undefined;
|
8896
9673
|
}, {
|
8897
|
-
type: "
|
9674
|
+
type: "DATA";
|
8898
9675
|
id: string;
|
8899
9676
|
label: {
|
8900
9677
|
id: string;
|
8901
9678
|
description: string;
|
8902
9679
|
defaultMessage: string;
|
8903
9680
|
};
|
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
|
+
};
|
8904
9702
|
parent?: {
|
8905
9703
|
$$field: string;
|
8906
9704
|
} | undefined;
|
@@ -8936,10 +9734,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8936
9734
|
} | undefined;
|
8937
9735
|
hideLabel?: boolean | undefined;
|
8938
9736
|
uncorrectable?: boolean | undefined;
|
8939
|
-
defaultValue?: string | undefined;
|
8940
|
-
configuration?: {
|
8941
|
-
maxLength?: number | undefined;
|
8942
|
-
} | undefined;
|
8943
9737
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8944
9738
|
id: z.ZodString;
|
8945
9739
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8988,62 +9782,36 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8988
9782
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8989
9783
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8990
9784
|
}, {
|
8991
|
-
type: z.ZodLiteral<"
|
8992
|
-
|
8993
|
-
|
8994
|
-
|
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, {
|
8995
9790
|
id: string;
|
8996
9791
|
description: string;
|
8997
9792
|
defaultMessage: string;
|
8998
9793
|
}>;
|
8999
9794
|
}, "strip", z.ZodTypeAny, {
|
9000
|
-
|
9001
|
-
|
9795
|
+
text: TranslationConfig;
|
9796
|
+
loading?: boolean | undefined;
|
9797
|
+
icon?: string | undefined;
|
9002
9798
|
}, {
|
9003
|
-
|
9004
|
-
label: {
|
9799
|
+
text: {
|
9005
9800
|
id: string;
|
9006
9801
|
description: string;
|
9007
9802
|
defaultMessage: string;
|
9008
9803
|
};
|
9009
|
-
|
9010
|
-
|
9011
|
-
|
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
|
-
}>>;
|
9804
|
+
loading?: boolean | undefined;
|
9805
|
+
icon?: string | undefined;
|
9806
|
+
}>;
|
9036
9807
|
}>, "strip", z.ZodTypeAny, {
|
9037
|
-
type: "
|
9808
|
+
type: "BUTTON";
|
9038
9809
|
id: string;
|
9039
|
-
options: {
|
9040
|
-
value: string;
|
9041
|
-
label: TranslationConfig;
|
9042
|
-
}[];
|
9043
9810
|
label: TranslationConfig;
|
9044
9811
|
configuration: {
|
9045
|
-
|
9046
|
-
|
9812
|
+
text: TranslationConfig;
|
9813
|
+
loading?: boolean | undefined;
|
9814
|
+
icon?: string | undefined;
|
9047
9815
|
};
|
9048
9816
|
parent?: {
|
9049
9817
|
$$field: string;
|
@@ -9068,28 +9836,23 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9068
9836
|
helperText?: TranslationConfig | undefined;
|
9069
9837
|
hideLabel?: boolean | undefined;
|
9070
9838
|
uncorrectable?: boolean | undefined;
|
9071
|
-
defaultValue?: {
|
9072
|
-
type: string;
|
9073
|
-
option: string;
|
9074
|
-
path: string;
|
9075
|
-
originalFilename: string;
|
9076
|
-
}[] | undefined;
|
9077
9839
|
}, {
|
9078
|
-
type: "
|
9840
|
+
type: "BUTTON";
|
9079
9841
|
id: string;
|
9080
|
-
options: {
|
9081
|
-
value: string;
|
9082
|
-
label: {
|
9083
|
-
id: string;
|
9084
|
-
description: string;
|
9085
|
-
defaultMessage: string;
|
9086
|
-
};
|
9087
|
-
}[];
|
9088
9842
|
label: {
|
9089
9843
|
id: string;
|
9090
9844
|
description: string;
|
9091
9845
|
defaultMessage: string;
|
9092
9846
|
};
|
9847
|
+
configuration: {
|
9848
|
+
text: {
|
9849
|
+
id: string;
|
9850
|
+
description: string;
|
9851
|
+
defaultMessage: string;
|
9852
|
+
};
|
9853
|
+
loading?: boolean | undefined;
|
9854
|
+
icon?: string | undefined;
|
9855
|
+
};
|
9093
9856
|
parent?: {
|
9094
9857
|
$$field: string;
|
9095
9858
|
} | undefined;
|
@@ -9125,16 +9888,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9125
9888
|
} | undefined;
|
9126
9889
|
hideLabel?: boolean | undefined;
|
9127
9890
|
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;
|
9138
9891
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9139
9892
|
id: z.ZodString;
|
9140
9893
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -9183,86 +9936,87 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9183
9936
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9184
9937
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9185
9938
|
}, {
|
9186
|
-
type: z.ZodLiteral<"
|
9187
|
-
|
9188
|
-
|
9189
|
-
|
9190
|
-
|
9191
|
-
|
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]>;
|
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;
|
9204
9945
|
}, "strip", z.ZodTypeAny, {
|
9205
|
-
|
9206
|
-
|
9946
|
+
message: string;
|
9947
|
+
statusCode: number | null;
|
9207
9948
|
}, {
|
9208
|
-
|
9209
|
-
|
9210
|
-
|
9211
|
-
|
9212
|
-
|
9213
|
-
|
9214
|
-
|
9215
|
-
|
9216
|
-
|
9217
|
-
|
9218
|
-
|
9219
|
-
|
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;
|
9220
9974
|
}, "strip", z.ZodTypeAny, {
|
9221
|
-
|
9975
|
+
$$field: string;
|
9222
9976
|
}, {
|
9223
|
-
|
9224
|
-
}
|
9225
|
-
|
9226
|
-
|
9227
|
-
|
9228
|
-
|
9229
|
-
|
9230
|
-
|
9231
|
-
|
9232
|
-
|
9233
|
-
|
9234
|
-
|
9235
|
-
|
9236
|
-
|
9237
|
-
|
9238
|
-
|
9239
|
-
|
9240
|
-
|
9241
|
-
|
9242
|
-
|
9243
|
-
|
9244
|
-
|
9245
|
-
}
|
9246
|
-
|
9247
|
-
|
9248
|
-
|
9249
|
-
|
9250
|
-
|
9251
|
-
defaultMessage: string;
|
9252
|
-
} | undefined;
|
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;
|
9253
10005
|
}>;
|
9254
10006
|
}>, "strip", z.ZodTypeAny, {
|
9255
|
-
type: "
|
10007
|
+
type: "HTTP";
|
9256
10008
|
id: string;
|
9257
10009
|
label: TranslationConfig;
|
9258
10010
|
configuration: {
|
9259
|
-
|
9260
|
-
|
9261
|
-
|
9262
|
-
}
|
9263
|
-
|
9264
|
-
|
9265
|
-
|
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;
|
9266
10020
|
};
|
9267
10021
|
parent?: {
|
9268
10022
|
$$field: string;
|
@@ -9287,8 +10041,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9287
10041
|
helperText?: TranslationConfig | undefined;
|
9288
10042
|
hideLabel?: boolean | undefined;
|
9289
10043
|
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;
|
9290
10053
|
}, {
|
9291
|
-
type: "
|
10054
|
+
type: "HTTP";
|
9292
10055
|
id: string;
|
9293
10056
|
label: {
|
9294
10057
|
id: string;
|
@@ -9296,25 +10059,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9296
10059
|
defaultMessage: string;
|
9297
10060
|
};
|
9298
10061
|
configuration: {
|
9299
|
-
|
9300
|
-
|
9301
|
-
|
9302
|
-
|
9303
|
-
|
9304
|
-
|
9305
|
-
|
9306
|
-
|
9307
|
-
|
9308
|
-
defaultMessage: string;
|
9309
|
-
};
|
9310
|
-
} | {
|
9311
|
-
fieldId: string;
|
9312
|
-
})[];
|
9313
|
-
subtitle?: {
|
9314
|
-
id: string;
|
9315
|
-
description: string;
|
9316
|
-
defaultMessage: string;
|
9317
|
-
} | undefined;
|
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;
|
9318
10071
|
};
|
9319
10072
|
parent?: {
|
9320
10073
|
$$field: string;
|
@@ -9351,6 +10104,15 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9351
10104
|
} | undefined;
|
9352
10105
|
hideLabel?: boolean | undefined;
|
9353
10106
|
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;
|
9354
10116
|
}>]>;
|
9355
10117
|
export type SelectField = z.infer<typeof Select>;
|
9356
10118
|
export type NameField = z.infer<typeof NameField>;
|