@opencrvs/toolkit 1.8.1-rc.b849abb → 1.8.1-rc.b8eea90
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 +19 -1
- package/dist/commons/events/ActionConfig.d.ts +13593 -4629
- package/dist/commons/events/ActionDocument.d.ts +536 -0
- package/dist/commons/events/ActionInput.d.ts +26 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +34 -34
- package/dist/commons/events/EventConfig.d.ts +7463 -3521
- package/dist/commons/events/EventDocument.d.ts +19 -0
- package/dist/commons/events/EventIndex.d.ts +122 -0
- package/dist/commons/events/FieldConfig.d.ts +1050 -362
- package/dist/commons/events/FieldType.d.ts +3 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +15 -1
- package/dist/commons/events/FieldValue.d.ts +4 -0
- package/dist/commons/events/FormConfig.d.ts +6350 -2138
- package/dist/commons/events/PageConfig.d.ts +2058 -1014
- package/dist/commons/events/WorkqueueConfig.d.ts +97 -8
- package/dist/commons/events/defineConfig.d.ts +640 -10
- package/dist/commons/events/event.d.ts +8 -0
- package/dist/commons/events/field.d.ts +14 -0
- package/dist/commons/events/utils.d.ts +1138 -18
- package/dist/events/index.js +86 -7
- package/package.json +1 -1
@@ -4724,13 +4724,359 @@ declare const DataField: z.ZodObject<z.objectUtil.extendShape<{
|
|
4724
4724
|
uncorrectable?: boolean | undefined;
|
4725
4725
|
}>;
|
4726
4726
|
export type DataField = z.infer<typeof DataField>;
|
4727
|
+
declare const ButtonField: z.ZodObject<z.objectUtil.extendShape<{
|
4728
|
+
id: z.ZodString;
|
4729
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4730
|
+
id: string;
|
4731
|
+
description: string;
|
4732
|
+
defaultMessage: string;
|
4733
|
+
}>;
|
4734
|
+
parent: z.ZodOptional<z.ZodObject<{
|
4735
|
+
$$field: z.ZodString;
|
4736
|
+
}, "strip", z.ZodTypeAny, {
|
4737
|
+
$$field: string;
|
4738
|
+
}, {
|
4739
|
+
$$field: string;
|
4740
|
+
}>>;
|
4741
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4742
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4743
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4744
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4745
|
+
id: string;
|
4746
|
+
description: string;
|
4747
|
+
defaultMessage: string;
|
4748
|
+
}>>;
|
4749
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4750
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4751
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4752
|
+
id: string;
|
4753
|
+
description: string;
|
4754
|
+
defaultMessage: string;
|
4755
|
+
}>;
|
4756
|
+
}, "strip", z.ZodTypeAny, {
|
4757
|
+
message: TranslationConfig;
|
4758
|
+
validator: import(".").JSONSchema;
|
4759
|
+
}, {
|
4760
|
+
message: {
|
4761
|
+
id: string;
|
4762
|
+
description: string;
|
4763
|
+
defaultMessage: string;
|
4764
|
+
};
|
4765
|
+
validator: import(".").JSONSchema;
|
4766
|
+
}>, "many">>>;
|
4767
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4768
|
+
id: string;
|
4769
|
+
description: string;
|
4770
|
+
defaultMessage: string;
|
4771
|
+
}>>;
|
4772
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4773
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4774
|
+
}, {
|
4775
|
+
type: z.ZodLiteral<"BUTTON">;
|
4776
|
+
configuration: z.ZodObject<{
|
4777
|
+
onClick: z.ZodObject<{
|
4778
|
+
$$field: z.ZodString;
|
4779
|
+
}, "strip", z.ZodTypeAny, {
|
4780
|
+
$$field: string;
|
4781
|
+
}, {
|
4782
|
+
$$field: string;
|
4783
|
+
}>;
|
4784
|
+
icon: z.ZodOptional<z.ZodString>;
|
4785
|
+
shouldHandleLoadingState: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4786
|
+
buttonLabel: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4787
|
+
id: string;
|
4788
|
+
description: string;
|
4789
|
+
defaultMessage: string;
|
4790
|
+
}>;
|
4791
|
+
loadingLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4792
|
+
id: string;
|
4793
|
+
description: string;
|
4794
|
+
defaultMessage: string;
|
4795
|
+
}>>;
|
4796
|
+
}, "strip", z.ZodTypeAny, {
|
4797
|
+
onClick: {
|
4798
|
+
$$field: string;
|
4799
|
+
};
|
4800
|
+
buttonLabel: TranslationConfig;
|
4801
|
+
icon?: string | undefined;
|
4802
|
+
shouldHandleLoadingState?: boolean | undefined;
|
4803
|
+
loadingLabel?: TranslationConfig | undefined;
|
4804
|
+
}, {
|
4805
|
+
onClick: {
|
4806
|
+
$$field: string;
|
4807
|
+
};
|
4808
|
+
buttonLabel: {
|
4809
|
+
id: string;
|
4810
|
+
description: string;
|
4811
|
+
defaultMessage: string;
|
4812
|
+
};
|
4813
|
+
icon?: string | undefined;
|
4814
|
+
shouldHandleLoadingState?: boolean | undefined;
|
4815
|
+
loadingLabel?: {
|
4816
|
+
id: string;
|
4817
|
+
description: string;
|
4818
|
+
defaultMessage: string;
|
4819
|
+
} | undefined;
|
4820
|
+
}>;
|
4821
|
+
}>, "strip", z.ZodTypeAny, {
|
4822
|
+
type: "BUTTON";
|
4823
|
+
id: string;
|
4824
|
+
label: TranslationConfig;
|
4825
|
+
configuration: {
|
4826
|
+
onClick: {
|
4827
|
+
$$field: string;
|
4828
|
+
};
|
4829
|
+
buttonLabel: TranslationConfig;
|
4830
|
+
icon?: string | undefined;
|
4831
|
+
shouldHandleLoadingState?: boolean | undefined;
|
4832
|
+
loadingLabel?: TranslationConfig | undefined;
|
4833
|
+
};
|
4834
|
+
parent?: {
|
4835
|
+
$$field: string;
|
4836
|
+
} | undefined;
|
4837
|
+
validation?: {
|
4838
|
+
message: TranslationConfig;
|
4839
|
+
validator: import(".").JSONSchema;
|
4840
|
+
}[] | undefined;
|
4841
|
+
required?: boolean | undefined;
|
4842
|
+
conditionals?: ({
|
4843
|
+
type: "SHOW";
|
4844
|
+
conditional: import(".").JSONSchema;
|
4845
|
+
} | {
|
4846
|
+
type: "ENABLE";
|
4847
|
+
conditional: import(".").JSONSchema;
|
4848
|
+
} | {
|
4849
|
+
type: "DISPLAY_ON_REVIEW";
|
4850
|
+
conditional: import(".").JSONSchema;
|
4851
|
+
})[] | undefined;
|
4852
|
+
secured?: boolean | undefined;
|
4853
|
+
placeholder?: TranslationConfig | undefined;
|
4854
|
+
helperText?: TranslationConfig | undefined;
|
4855
|
+
hideLabel?: boolean | undefined;
|
4856
|
+
uncorrectable?: boolean | undefined;
|
4857
|
+
}, {
|
4858
|
+
type: "BUTTON";
|
4859
|
+
id: string;
|
4860
|
+
label: {
|
4861
|
+
id: string;
|
4862
|
+
description: string;
|
4863
|
+
defaultMessage: string;
|
4864
|
+
};
|
4865
|
+
configuration: {
|
4866
|
+
onClick: {
|
4867
|
+
$$field: string;
|
4868
|
+
};
|
4869
|
+
buttonLabel: {
|
4870
|
+
id: string;
|
4871
|
+
description: string;
|
4872
|
+
defaultMessage: string;
|
4873
|
+
};
|
4874
|
+
icon?: string | undefined;
|
4875
|
+
shouldHandleLoadingState?: boolean | undefined;
|
4876
|
+
loadingLabel?: {
|
4877
|
+
id: string;
|
4878
|
+
description: string;
|
4879
|
+
defaultMessage: string;
|
4880
|
+
} | undefined;
|
4881
|
+
};
|
4882
|
+
parent?: {
|
4883
|
+
$$field: string;
|
4884
|
+
} | undefined;
|
4885
|
+
validation?: {
|
4886
|
+
message: {
|
4887
|
+
id: string;
|
4888
|
+
description: string;
|
4889
|
+
defaultMessage: string;
|
4890
|
+
};
|
4891
|
+
validator: import(".").JSONSchema;
|
4892
|
+
}[] | undefined;
|
4893
|
+
required?: boolean | undefined;
|
4894
|
+
conditionals?: ({
|
4895
|
+
type: "SHOW";
|
4896
|
+
conditional: import(".").JSONSchema;
|
4897
|
+
} | {
|
4898
|
+
type: "ENABLE";
|
4899
|
+
conditional: import(".").JSONSchema;
|
4900
|
+
} | {
|
4901
|
+
type: "DISPLAY_ON_REVIEW";
|
4902
|
+
conditional: import(".").JSONSchema;
|
4903
|
+
})[] | undefined;
|
4904
|
+
secured?: boolean | undefined;
|
4905
|
+
placeholder?: {
|
4906
|
+
id: string;
|
4907
|
+
description: string;
|
4908
|
+
defaultMessage: string;
|
4909
|
+
} | undefined;
|
4910
|
+
helperText?: {
|
4911
|
+
id: string;
|
4912
|
+
description: string;
|
4913
|
+
defaultMessage: string;
|
4914
|
+
} | undefined;
|
4915
|
+
hideLabel?: boolean | undefined;
|
4916
|
+
uncorrectable?: boolean | undefined;
|
4917
|
+
}>;
|
4918
|
+
export type ButtonField = z.infer<typeof ButtonField>;
|
4919
|
+
declare const HttpField: z.ZodObject<z.objectUtil.extendShape<{
|
4920
|
+
id: z.ZodString;
|
4921
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4922
|
+
id: string;
|
4923
|
+
description: string;
|
4924
|
+
defaultMessage: string;
|
4925
|
+
}>;
|
4926
|
+
parent: z.ZodOptional<z.ZodObject<{
|
4927
|
+
$$field: z.ZodString;
|
4928
|
+
}, "strip", z.ZodTypeAny, {
|
4929
|
+
$$field: string;
|
4930
|
+
}, {
|
4931
|
+
$$field: string;
|
4932
|
+
}>>;
|
4933
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4934
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4935
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4936
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4937
|
+
id: string;
|
4938
|
+
description: string;
|
4939
|
+
defaultMessage: string;
|
4940
|
+
}>>;
|
4941
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4942
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4943
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4944
|
+
id: string;
|
4945
|
+
description: string;
|
4946
|
+
defaultMessage: string;
|
4947
|
+
}>;
|
4948
|
+
}, "strip", z.ZodTypeAny, {
|
4949
|
+
message: TranslationConfig;
|
4950
|
+
validator: import(".").JSONSchema;
|
4951
|
+
}, {
|
4952
|
+
message: {
|
4953
|
+
id: string;
|
4954
|
+
description: string;
|
4955
|
+
defaultMessage: string;
|
4956
|
+
};
|
4957
|
+
validator: import(".").JSONSchema;
|
4958
|
+
}>, "many">>>;
|
4959
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4960
|
+
id: string;
|
4961
|
+
description: string;
|
4962
|
+
defaultMessage: string;
|
4963
|
+
}>>;
|
4964
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4965
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4966
|
+
}, {
|
4967
|
+
type: z.ZodLiteral<"HTTP">;
|
4968
|
+
configuration: z.ZodObject<{
|
4969
|
+
method: z.ZodEnum<["GET", "POST", "PUT", "DELETE"]>;
|
4970
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
4971
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
4972
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
4973
|
+
url: z.ZodString;
|
4974
|
+
}, "strip", z.ZodTypeAny, {
|
4975
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
4976
|
+
url: string;
|
4977
|
+
params?: Record<string, string> | undefined;
|
4978
|
+
headers?: Record<string, string> | undefined;
|
4979
|
+
body?: Record<string, string> | undefined;
|
4980
|
+
}, {
|
4981
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
4982
|
+
url: string;
|
4983
|
+
params?: Record<string, string> | undefined;
|
4984
|
+
headers?: Record<string, string> | undefined;
|
4985
|
+
body?: Record<string, string> | undefined;
|
4986
|
+
}>;
|
4987
|
+
}>, "strip", z.ZodTypeAny, {
|
4988
|
+
type: "HTTP";
|
4989
|
+
id: string;
|
4990
|
+
label: TranslationConfig;
|
4991
|
+
configuration: {
|
4992
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
4993
|
+
url: string;
|
4994
|
+
params?: Record<string, string> | undefined;
|
4995
|
+
headers?: Record<string, string> | undefined;
|
4996
|
+
body?: Record<string, string> | undefined;
|
4997
|
+
};
|
4998
|
+
parent?: {
|
4999
|
+
$$field: string;
|
5000
|
+
} | undefined;
|
5001
|
+
validation?: {
|
5002
|
+
message: TranslationConfig;
|
5003
|
+
validator: import(".").JSONSchema;
|
5004
|
+
}[] | undefined;
|
5005
|
+
required?: boolean | undefined;
|
5006
|
+
conditionals?: ({
|
5007
|
+
type: "SHOW";
|
5008
|
+
conditional: import(".").JSONSchema;
|
5009
|
+
} | {
|
5010
|
+
type: "ENABLE";
|
5011
|
+
conditional: import(".").JSONSchema;
|
5012
|
+
} | {
|
5013
|
+
type: "DISPLAY_ON_REVIEW";
|
5014
|
+
conditional: import(".").JSONSchema;
|
5015
|
+
})[] | undefined;
|
5016
|
+
secured?: boolean | undefined;
|
5017
|
+
placeholder?: TranslationConfig | undefined;
|
5018
|
+
helperText?: TranslationConfig | undefined;
|
5019
|
+
hideLabel?: boolean | undefined;
|
5020
|
+
uncorrectable?: boolean | undefined;
|
5021
|
+
}, {
|
5022
|
+
type: "HTTP";
|
5023
|
+
id: string;
|
5024
|
+
label: {
|
5025
|
+
id: string;
|
5026
|
+
description: string;
|
5027
|
+
defaultMessage: string;
|
5028
|
+
};
|
5029
|
+
configuration: {
|
5030
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
5031
|
+
url: string;
|
5032
|
+
params?: Record<string, string> | undefined;
|
5033
|
+
headers?: Record<string, string> | undefined;
|
5034
|
+
body?: Record<string, string> | undefined;
|
5035
|
+
};
|
5036
|
+
parent?: {
|
5037
|
+
$$field: string;
|
5038
|
+
} | undefined;
|
5039
|
+
validation?: {
|
5040
|
+
message: {
|
5041
|
+
id: string;
|
5042
|
+
description: string;
|
5043
|
+
defaultMessage: string;
|
5044
|
+
};
|
5045
|
+
validator: import(".").JSONSchema;
|
5046
|
+
}[] | undefined;
|
5047
|
+
required?: boolean | undefined;
|
5048
|
+
conditionals?: ({
|
5049
|
+
type: "SHOW";
|
5050
|
+
conditional: import(".").JSONSchema;
|
5051
|
+
} | {
|
5052
|
+
type: "ENABLE";
|
5053
|
+
conditional: import(".").JSONSchema;
|
5054
|
+
} | {
|
5055
|
+
type: "DISPLAY_ON_REVIEW";
|
5056
|
+
conditional: import(".").JSONSchema;
|
5057
|
+
})[] | undefined;
|
5058
|
+
secured?: boolean | undefined;
|
5059
|
+
placeholder?: {
|
5060
|
+
id: string;
|
5061
|
+
description: string;
|
5062
|
+
defaultMessage: string;
|
5063
|
+
} | undefined;
|
5064
|
+
helperText?: {
|
5065
|
+
id: string;
|
5066
|
+
description: string;
|
5067
|
+
defaultMessage: string;
|
5068
|
+
} | undefined;
|
5069
|
+
hideLabel?: boolean | undefined;
|
5070
|
+
uncorrectable?: boolean | undefined;
|
5071
|
+
}>;
|
5072
|
+
export type HttpField = z.infer<typeof HttpField>;
|
4727
5073
|
/** @knipignore */
|
4728
|
-
export type Inferred = 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>;
|
5074
|
+
export type Inferred = 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>;
|
4729
5075
|
/** @knipignore */
|
4730
5076
|
/**
|
4731
5077
|
* This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
|
4732
5078
|
*/
|
4733
|
-
export type InferredInput = z.input<typeof Address> | z.input<typeof TextField> | z.input<typeof NumberField> | z.input<typeof TextAreaField> | z.input<typeof DateField> | z.input<typeof TimeField> | z.input<typeof DateRangeField> | z.input<typeof Paragraph> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof NameField> | z.input<typeof PhoneField> | z.input<typeof IdField> | z.input<typeof Checkbox> | z.input<typeof File> | z.input<typeof FileUploadWithOptions> | z.input<typeof Country> | z.input<typeof AdministrativeArea> | z.input<typeof Divider> | z.input<typeof Location> | z.input<typeof Facility> | z.input<typeof Office> | z.input<typeof SignatureField> | z.input<typeof EmailField> | z.input<typeof DataField>;
|
5079
|
+
export type InferredInput = z.input<typeof Address> | z.input<typeof TextField> | z.input<typeof NumberField> | z.input<typeof TextAreaField> | z.input<typeof DateField> | z.input<typeof TimeField> | z.input<typeof DateRangeField> | z.input<typeof Paragraph> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof NameField> | z.input<typeof PhoneField> | z.input<typeof IdField> | z.input<typeof Checkbox> | z.input<typeof File> | z.input<typeof FileUploadWithOptions> | z.input<typeof Country> | z.input<typeof AdministrativeArea> | z.input<typeof Divider> | z.input<typeof Location> | z.input<typeof Facility> | z.input<typeof Office> | z.input<typeof SignatureField> | z.input<typeof EmailField> | z.input<typeof DataField> | z.input<typeof ButtonField> | z.input<typeof HttpField>;
|
4734
5080
|
export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
4735
5081
|
id: z.ZodString;
|
4736
5082
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -7154,10 +7500,254 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7154
7500
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7155
7501
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7156
7502
|
}, {
|
7157
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
7158
|
-
type: z.ZodLiteral<"PHONE">;
|
7503
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
7504
|
+
type: z.ZodLiteral<"PHONE">;
|
7505
|
+
}>, "strip", z.ZodTypeAny, {
|
7506
|
+
type: "PHONE";
|
7507
|
+
id: string;
|
7508
|
+
label: TranslationConfig;
|
7509
|
+
parent?: {
|
7510
|
+
$$field: string;
|
7511
|
+
} | undefined;
|
7512
|
+
validation?: {
|
7513
|
+
message: TranslationConfig;
|
7514
|
+
validator: import(".").JSONSchema;
|
7515
|
+
}[] | undefined;
|
7516
|
+
required?: boolean | undefined;
|
7517
|
+
conditionals?: ({
|
7518
|
+
type: "SHOW";
|
7519
|
+
conditional: import(".").JSONSchema;
|
7520
|
+
} | {
|
7521
|
+
type: "ENABLE";
|
7522
|
+
conditional: import(".").JSONSchema;
|
7523
|
+
} | {
|
7524
|
+
type: "DISPLAY_ON_REVIEW";
|
7525
|
+
conditional: import(".").JSONSchema;
|
7526
|
+
})[] | undefined;
|
7527
|
+
secured?: boolean | undefined;
|
7528
|
+
placeholder?: TranslationConfig | undefined;
|
7529
|
+
helperText?: TranslationConfig | undefined;
|
7530
|
+
hideLabel?: boolean | undefined;
|
7531
|
+
uncorrectable?: boolean | undefined;
|
7532
|
+
defaultValue?: string | undefined;
|
7533
|
+
}, {
|
7534
|
+
type: "PHONE";
|
7535
|
+
id: string;
|
7536
|
+
label: {
|
7537
|
+
id: string;
|
7538
|
+
description: string;
|
7539
|
+
defaultMessage: string;
|
7540
|
+
};
|
7541
|
+
parent?: {
|
7542
|
+
$$field: string;
|
7543
|
+
} | undefined;
|
7544
|
+
validation?: {
|
7545
|
+
message: {
|
7546
|
+
id: string;
|
7547
|
+
description: string;
|
7548
|
+
defaultMessage: string;
|
7549
|
+
};
|
7550
|
+
validator: import(".").JSONSchema;
|
7551
|
+
}[] | undefined;
|
7552
|
+
required?: boolean | undefined;
|
7553
|
+
conditionals?: ({
|
7554
|
+
type: "SHOW";
|
7555
|
+
conditional: import(".").JSONSchema;
|
7556
|
+
} | {
|
7557
|
+
type: "ENABLE";
|
7558
|
+
conditional: import(".").JSONSchema;
|
7559
|
+
} | {
|
7560
|
+
type: "DISPLAY_ON_REVIEW";
|
7561
|
+
conditional: import(".").JSONSchema;
|
7562
|
+
})[] | undefined;
|
7563
|
+
secured?: boolean | undefined;
|
7564
|
+
placeholder?: {
|
7565
|
+
id: string;
|
7566
|
+
description: string;
|
7567
|
+
defaultMessage: string;
|
7568
|
+
} | undefined;
|
7569
|
+
helperText?: {
|
7570
|
+
id: string;
|
7571
|
+
description: string;
|
7572
|
+
defaultMessage: string;
|
7573
|
+
} | undefined;
|
7574
|
+
hideLabel?: boolean | undefined;
|
7575
|
+
uncorrectable?: boolean | undefined;
|
7576
|
+
defaultValue?: string | undefined;
|
7577
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7578
|
+
id: z.ZodString;
|
7579
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7580
|
+
id: string;
|
7581
|
+
description: string;
|
7582
|
+
defaultMessage: string;
|
7583
|
+
}>;
|
7584
|
+
parent: z.ZodOptional<z.ZodObject<{
|
7585
|
+
$$field: z.ZodString;
|
7586
|
+
}, "strip", z.ZodTypeAny, {
|
7587
|
+
$$field: string;
|
7588
|
+
}, {
|
7589
|
+
$$field: string;
|
7590
|
+
}>>;
|
7591
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7592
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
7593
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7594
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7595
|
+
id: string;
|
7596
|
+
description: string;
|
7597
|
+
defaultMessage: string;
|
7598
|
+
}>>;
|
7599
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
7600
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
7601
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7602
|
+
id: string;
|
7603
|
+
description: string;
|
7604
|
+
defaultMessage: string;
|
7605
|
+
}>;
|
7606
|
+
}, "strip", z.ZodTypeAny, {
|
7607
|
+
message: TranslationConfig;
|
7608
|
+
validator: import(".").JSONSchema;
|
7609
|
+
}, {
|
7610
|
+
message: {
|
7611
|
+
id: string;
|
7612
|
+
description: string;
|
7613
|
+
defaultMessage: string;
|
7614
|
+
};
|
7615
|
+
validator: import(".").JSONSchema;
|
7616
|
+
}>, "many">>>;
|
7617
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7618
|
+
id: string;
|
7619
|
+
description: string;
|
7620
|
+
defaultMessage: string;
|
7621
|
+
}>>;
|
7622
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7623
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7624
|
+
}, {
|
7625
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
7626
|
+
type: z.ZodLiteral<"ID">;
|
7627
|
+
}>, "strip", z.ZodTypeAny, {
|
7628
|
+
type: "ID";
|
7629
|
+
id: string;
|
7630
|
+
label: TranslationConfig;
|
7631
|
+
parent?: {
|
7632
|
+
$$field: string;
|
7633
|
+
} | undefined;
|
7634
|
+
validation?: {
|
7635
|
+
message: TranslationConfig;
|
7636
|
+
validator: import(".").JSONSchema;
|
7637
|
+
}[] | undefined;
|
7638
|
+
required?: boolean | undefined;
|
7639
|
+
conditionals?: ({
|
7640
|
+
type: "SHOW";
|
7641
|
+
conditional: import(".").JSONSchema;
|
7642
|
+
} | {
|
7643
|
+
type: "ENABLE";
|
7644
|
+
conditional: import(".").JSONSchema;
|
7645
|
+
} | {
|
7646
|
+
type: "DISPLAY_ON_REVIEW";
|
7647
|
+
conditional: import(".").JSONSchema;
|
7648
|
+
})[] | undefined;
|
7649
|
+
secured?: boolean | undefined;
|
7650
|
+
placeholder?: TranslationConfig | undefined;
|
7651
|
+
helperText?: TranslationConfig | undefined;
|
7652
|
+
hideLabel?: boolean | undefined;
|
7653
|
+
uncorrectable?: boolean | undefined;
|
7654
|
+
defaultValue?: string | undefined;
|
7655
|
+
}, {
|
7656
|
+
type: "ID";
|
7657
|
+
id: string;
|
7658
|
+
label: {
|
7659
|
+
id: string;
|
7660
|
+
description: string;
|
7661
|
+
defaultMessage: string;
|
7662
|
+
};
|
7663
|
+
parent?: {
|
7664
|
+
$$field: string;
|
7665
|
+
} | undefined;
|
7666
|
+
validation?: {
|
7667
|
+
message: {
|
7668
|
+
id: string;
|
7669
|
+
description: string;
|
7670
|
+
defaultMessage: string;
|
7671
|
+
};
|
7672
|
+
validator: import(".").JSONSchema;
|
7673
|
+
}[] | undefined;
|
7674
|
+
required?: boolean | undefined;
|
7675
|
+
conditionals?: ({
|
7676
|
+
type: "SHOW";
|
7677
|
+
conditional: import(".").JSONSchema;
|
7678
|
+
} | {
|
7679
|
+
type: "ENABLE";
|
7680
|
+
conditional: import(".").JSONSchema;
|
7681
|
+
} | {
|
7682
|
+
type: "DISPLAY_ON_REVIEW";
|
7683
|
+
conditional: import(".").JSONSchema;
|
7684
|
+
})[] | undefined;
|
7685
|
+
secured?: boolean | undefined;
|
7686
|
+
placeholder?: {
|
7687
|
+
id: string;
|
7688
|
+
description: string;
|
7689
|
+
defaultMessage: string;
|
7690
|
+
} | undefined;
|
7691
|
+
helperText?: {
|
7692
|
+
id: string;
|
7693
|
+
description: string;
|
7694
|
+
defaultMessage: string;
|
7695
|
+
} | undefined;
|
7696
|
+
hideLabel?: boolean | undefined;
|
7697
|
+
uncorrectable?: boolean | undefined;
|
7698
|
+
defaultValue?: string | undefined;
|
7699
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7700
|
+
id: z.ZodString;
|
7701
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7702
|
+
id: string;
|
7703
|
+
description: string;
|
7704
|
+
defaultMessage: string;
|
7705
|
+
}>;
|
7706
|
+
parent: z.ZodOptional<z.ZodObject<{
|
7707
|
+
$$field: z.ZodString;
|
7708
|
+
}, "strip", z.ZodTypeAny, {
|
7709
|
+
$$field: string;
|
7710
|
+
}, {
|
7711
|
+
$$field: string;
|
7712
|
+
}>>;
|
7713
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7714
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
7715
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7716
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7717
|
+
id: string;
|
7718
|
+
description: string;
|
7719
|
+
defaultMessage: string;
|
7720
|
+
}>>;
|
7721
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
7722
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
7723
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7724
|
+
id: string;
|
7725
|
+
description: string;
|
7726
|
+
defaultMessage: string;
|
7727
|
+
}>;
|
7728
|
+
}, "strip", z.ZodTypeAny, {
|
7729
|
+
message: TranslationConfig;
|
7730
|
+
validator: import(".").JSONSchema;
|
7731
|
+
}, {
|
7732
|
+
message: {
|
7733
|
+
id: string;
|
7734
|
+
description: string;
|
7735
|
+
defaultMessage: string;
|
7736
|
+
};
|
7737
|
+
validator: import(".").JSONSchema;
|
7738
|
+
}>, "many">>>;
|
7739
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7740
|
+
id: string;
|
7741
|
+
description: string;
|
7742
|
+
defaultMessage: string;
|
7743
|
+
}>>;
|
7744
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7745
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7746
|
+
}, {
|
7747
|
+
type: z.ZodLiteral<"CHECKBOX">;
|
7748
|
+
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
7159
7749
|
}>, "strip", z.ZodTypeAny, {
|
7160
|
-
type: "
|
7750
|
+
type: "CHECKBOX";
|
7161
7751
|
id: string;
|
7162
7752
|
label: TranslationConfig;
|
7163
7753
|
parent?: {
|
@@ -7183,9 +7773,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7183
7773
|
helperText?: TranslationConfig | undefined;
|
7184
7774
|
hideLabel?: boolean | undefined;
|
7185
7775
|
uncorrectable?: boolean | undefined;
|
7186
|
-
defaultValue?:
|
7776
|
+
defaultValue?: boolean | undefined;
|
7187
7777
|
}, {
|
7188
|
-
type: "
|
7778
|
+
type: "CHECKBOX";
|
7189
7779
|
id: string;
|
7190
7780
|
label: {
|
7191
7781
|
id: string;
|
@@ -7227,7 +7817,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7227
7817
|
} | undefined;
|
7228
7818
|
hideLabel?: boolean | undefined;
|
7229
7819
|
uncorrectable?: boolean | undefined;
|
7230
|
-
defaultValue?:
|
7820
|
+
defaultValue?: boolean | undefined;
|
7231
7821
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7232
7822
|
id: z.ZodString;
|
7233
7823
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -7276,12 +7866,66 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7276
7866
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7277
7867
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7278
7868
|
}, {
|
7279
|
-
|
7280
|
-
|
7869
|
+
type: z.ZodLiteral<"FILE">;
|
7870
|
+
defaultValue: z.ZodOptional<z.ZodObject<{
|
7871
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
7872
|
+
originalFilename: z.ZodString;
|
7873
|
+
type: z.ZodString;
|
7874
|
+
}, "strip", z.ZodTypeAny, {
|
7875
|
+
type: string;
|
7876
|
+
path: string;
|
7877
|
+
originalFilename: string;
|
7878
|
+
}, {
|
7879
|
+
type: string;
|
7880
|
+
path: string;
|
7881
|
+
originalFilename: string;
|
7882
|
+
}>>;
|
7883
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
7884
|
+
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
7885
|
+
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
7886
|
+
style: z.ZodOptional<z.ZodObject<{
|
7887
|
+
width: z.ZodOptional<z.ZodEnum<["full", "auto"]>>;
|
7888
|
+
}, "strip", z.ZodTypeAny, {
|
7889
|
+
width?: "full" | "auto" | undefined;
|
7890
|
+
}, {
|
7891
|
+
width?: "full" | "auto" | undefined;
|
7892
|
+
}>>;
|
7893
|
+
fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7894
|
+
id: string;
|
7895
|
+
description: string;
|
7896
|
+
defaultMessage: string;
|
7897
|
+
}>>;
|
7898
|
+
}, "strip", z.ZodTypeAny, {
|
7899
|
+
maxFileSize: number;
|
7900
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
7901
|
+
style?: {
|
7902
|
+
width?: "full" | "auto" | undefined;
|
7903
|
+
} | undefined;
|
7904
|
+
fileName?: TranslationConfig | undefined;
|
7905
|
+
}, {
|
7906
|
+
maxFileSize?: number | undefined;
|
7907
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
7908
|
+
style?: {
|
7909
|
+
width?: "full" | "auto" | undefined;
|
7910
|
+
} | undefined;
|
7911
|
+
fileName?: {
|
7912
|
+
id: string;
|
7913
|
+
description: string;
|
7914
|
+
defaultMessage: string;
|
7915
|
+
} | undefined;
|
7916
|
+
}>>;
|
7281
7917
|
}>, "strip", z.ZodTypeAny, {
|
7282
|
-
type: "
|
7918
|
+
type: "FILE";
|
7283
7919
|
id: string;
|
7284
7920
|
label: TranslationConfig;
|
7921
|
+
configuration: {
|
7922
|
+
maxFileSize: number;
|
7923
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
7924
|
+
style?: {
|
7925
|
+
width?: "full" | "auto" | undefined;
|
7926
|
+
} | undefined;
|
7927
|
+
fileName?: TranslationConfig | undefined;
|
7928
|
+
};
|
7285
7929
|
parent?: {
|
7286
7930
|
$$field: string;
|
7287
7931
|
} | undefined;
|
@@ -7305,9 +7949,13 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7305
7949
|
helperText?: TranslationConfig | undefined;
|
7306
7950
|
hideLabel?: boolean | undefined;
|
7307
7951
|
uncorrectable?: boolean | undefined;
|
7308
|
-
defaultValue?:
|
7952
|
+
defaultValue?: {
|
7953
|
+
type: string;
|
7954
|
+
path: string;
|
7955
|
+
originalFilename: string;
|
7956
|
+
} | undefined;
|
7309
7957
|
}, {
|
7310
|
-
type: "
|
7958
|
+
type: "FILE";
|
7311
7959
|
id: string;
|
7312
7960
|
label: {
|
7313
7961
|
id: string;
|
@@ -7349,7 +7997,23 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7349
7997
|
} | undefined;
|
7350
7998
|
hideLabel?: boolean | undefined;
|
7351
7999
|
uncorrectable?: boolean | undefined;
|
7352
|
-
defaultValue?:
|
8000
|
+
defaultValue?: {
|
8001
|
+
type: string;
|
8002
|
+
path: string;
|
8003
|
+
originalFilename: string;
|
8004
|
+
} | undefined;
|
8005
|
+
configuration?: {
|
8006
|
+
maxFileSize?: number | undefined;
|
8007
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
8008
|
+
style?: {
|
8009
|
+
width?: "full" | "auto" | undefined;
|
8010
|
+
} | undefined;
|
8011
|
+
fileName?: {
|
8012
|
+
id: string;
|
8013
|
+
description: string;
|
8014
|
+
defaultMessage: string;
|
8015
|
+
} | undefined;
|
8016
|
+
} | undefined;
|
7353
8017
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7354
8018
|
id: z.ZodString;
|
7355
8019
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -7398,10 +8062,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7398
8062
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7399
8063
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7400
8064
|
}, {
|
7401
|
-
type: z.ZodLiteral<"
|
7402
|
-
defaultValue: z.ZodOptional<z.
|
8065
|
+
type: z.ZodLiteral<"COUNTRY">;
|
8066
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
7403
8067
|
}>, "strip", z.ZodTypeAny, {
|
7404
|
-
type: "
|
8068
|
+
type: "COUNTRY";
|
7405
8069
|
id: string;
|
7406
8070
|
label: TranslationConfig;
|
7407
8071
|
parent?: {
|
@@ -7427,9 +8091,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7427
8091
|
helperText?: TranslationConfig | undefined;
|
7428
8092
|
hideLabel?: boolean | undefined;
|
7429
8093
|
uncorrectable?: boolean | undefined;
|
7430
|
-
defaultValue?:
|
8094
|
+
defaultValue?: string | undefined;
|
7431
8095
|
}, {
|
7432
|
-
type: "
|
8096
|
+
type: "COUNTRY";
|
7433
8097
|
id: string;
|
7434
8098
|
label: {
|
7435
8099
|
id: string;
|
@@ -7471,7 +8135,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7471
8135
|
} | undefined;
|
7472
8136
|
hideLabel?: boolean | undefined;
|
7473
8137
|
uncorrectable?: boolean | undefined;
|
7474
|
-
defaultValue?:
|
8138
|
+
defaultValue?: string | undefined;
|
7475
8139
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7476
8140
|
id: z.ZodString;
|
7477
8141
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -7520,65 +8184,37 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7520
8184
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7521
8185
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7522
8186
|
}, {
|
7523
|
-
type: z.ZodLiteral<"
|
7524
|
-
defaultValue: z.ZodOptional<z.
|
7525
|
-
|
7526
|
-
|
7527
|
-
|
7528
|
-
}, "strip", z.ZodTypeAny, {
|
7529
|
-
type: string;
|
7530
|
-
path: string;
|
7531
|
-
originalFilename: string;
|
7532
|
-
}, {
|
7533
|
-
type: string;
|
7534
|
-
path: string;
|
7535
|
-
originalFilename: string;
|
7536
|
-
}>>;
|
7537
|
-
configuration: z.ZodDefault<z.ZodObject<{
|
7538
|
-
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
7539
|
-
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
7540
|
-
style: z.ZodOptional<z.ZodObject<{
|
7541
|
-
width: z.ZodOptional<z.ZodEnum<["full", "auto"]>>;
|
8187
|
+
type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
|
8188
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
8189
|
+
configuration: z.ZodObject<{
|
8190
|
+
partOf: z.ZodOptional<z.ZodObject<{
|
8191
|
+
$declaration: z.ZodString;
|
7542
8192
|
}, "strip", z.ZodTypeAny, {
|
7543
|
-
|
8193
|
+
$declaration: string;
|
7544
8194
|
}, {
|
7545
|
-
|
7546
|
-
}>>;
|
7547
|
-
fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7548
|
-
id: string;
|
7549
|
-
description: string;
|
7550
|
-
defaultMessage: string;
|
8195
|
+
$declaration: string;
|
7551
8196
|
}>>;
|
8197
|
+
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
7552
8198
|
}, "strip", z.ZodTypeAny, {
|
7553
|
-
|
7554
|
-
|
7555
|
-
|
7556
|
-
width?: "full" | "auto" | undefined;
|
8199
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
8200
|
+
partOf?: {
|
8201
|
+
$declaration: string;
|
7557
8202
|
} | undefined;
|
7558
|
-
fileName?: TranslationConfig | undefined;
|
7559
8203
|
}, {
|
7560
|
-
|
7561
|
-
|
7562
|
-
|
7563
|
-
width?: "full" | "auto" | undefined;
|
7564
|
-
} | undefined;
|
7565
|
-
fileName?: {
|
7566
|
-
id: string;
|
7567
|
-
description: string;
|
7568
|
-
defaultMessage: string;
|
8204
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
8205
|
+
partOf?: {
|
8206
|
+
$declaration: string;
|
7569
8207
|
} | undefined;
|
7570
|
-
}
|
8208
|
+
}>;
|
7571
8209
|
}>, "strip", z.ZodTypeAny, {
|
7572
|
-
type: "
|
8210
|
+
type: "ADMINISTRATIVE_AREA";
|
7573
8211
|
id: string;
|
7574
8212
|
label: TranslationConfig;
|
7575
8213
|
configuration: {
|
7576
|
-
|
7577
|
-
|
7578
|
-
|
7579
|
-
width?: "full" | "auto" | undefined;
|
8214
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
8215
|
+
partOf?: {
|
8216
|
+
$declaration: string;
|
7580
8217
|
} | undefined;
|
7581
|
-
fileName?: TranslationConfig | undefined;
|
7582
8218
|
};
|
7583
8219
|
parent?: {
|
7584
8220
|
$$field: string;
|
@@ -7603,19 +8239,21 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7603
8239
|
helperText?: TranslationConfig | undefined;
|
7604
8240
|
hideLabel?: boolean | undefined;
|
7605
8241
|
uncorrectable?: boolean | undefined;
|
7606
|
-
defaultValue?:
|
7607
|
-
type: string;
|
7608
|
-
path: string;
|
7609
|
-
originalFilename: string;
|
7610
|
-
} | undefined;
|
8242
|
+
defaultValue?: string | undefined;
|
7611
8243
|
}, {
|
7612
|
-
type: "
|
8244
|
+
type: "ADMINISTRATIVE_AREA";
|
7613
8245
|
id: string;
|
7614
8246
|
label: {
|
7615
8247
|
id: string;
|
7616
8248
|
description: string;
|
7617
8249
|
defaultMessage: string;
|
7618
8250
|
};
|
8251
|
+
configuration: {
|
8252
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
8253
|
+
partOf?: {
|
8254
|
+
$declaration: string;
|
8255
|
+
} | undefined;
|
8256
|
+
};
|
7619
8257
|
parent?: {
|
7620
8258
|
$$field: string;
|
7621
8259
|
} | undefined;
|
@@ -7651,23 +8289,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7651
8289
|
} | undefined;
|
7652
8290
|
hideLabel?: boolean | undefined;
|
7653
8291
|
uncorrectable?: boolean | undefined;
|
7654
|
-
defaultValue?:
|
7655
|
-
type: string;
|
7656
|
-
path: string;
|
7657
|
-
originalFilename: string;
|
7658
|
-
} | undefined;
|
7659
|
-
configuration?: {
|
7660
|
-
maxFileSize?: number | undefined;
|
7661
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
7662
|
-
style?: {
|
7663
|
-
width?: "full" | "auto" | undefined;
|
7664
|
-
} | undefined;
|
7665
|
-
fileName?: {
|
7666
|
-
id: string;
|
7667
|
-
description: string;
|
7668
|
-
defaultMessage: string;
|
7669
|
-
} | undefined;
|
7670
|
-
} | undefined;
|
8292
|
+
defaultValue?: string | undefined;
|
7671
8293
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7672
8294
|
id: z.ZodString;
|
7673
8295
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -7716,10 +8338,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7716
8338
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7717
8339
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7718
8340
|
}, {
|
7719
|
-
type: z.ZodLiteral<"
|
7720
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
8341
|
+
type: z.ZodLiteral<"DIVIDER">;
|
7721
8342
|
}>, "strip", z.ZodTypeAny, {
|
7722
|
-
type: "
|
8343
|
+
type: "DIVIDER";
|
7723
8344
|
id: string;
|
7724
8345
|
label: TranslationConfig;
|
7725
8346
|
parent?: {
|
@@ -7745,9 +8366,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7745
8366
|
helperText?: TranslationConfig | undefined;
|
7746
8367
|
hideLabel?: boolean | undefined;
|
7747
8368
|
uncorrectable?: boolean | undefined;
|
7748
|
-
defaultValue?: string | undefined;
|
7749
8369
|
}, {
|
7750
|
-
type: "
|
8370
|
+
type: "DIVIDER";
|
7751
8371
|
id: string;
|
7752
8372
|
label: {
|
7753
8373
|
id: string;
|
@@ -7789,7 +8409,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7789
8409
|
} | undefined;
|
7790
8410
|
hideLabel?: boolean | undefined;
|
7791
8411
|
uncorrectable?: boolean | undefined;
|
7792
|
-
defaultValue?: string | undefined;
|
7793
8412
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7794
8413
|
id: z.ZodString;
|
7795
8414
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -7838,38 +8457,19 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7838
8457
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7839
8458
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7840
8459
|
}, {
|
7841
|
-
type: z.ZodLiteral<"
|
8460
|
+
type: z.ZodLiteral<"LOCATION">;
|
7842
8461
|
defaultValue: z.ZodOptional<z.ZodString>;
|
7843
|
-
configuration: z.ZodObject<{
|
7844
|
-
|
7845
|
-
$declaration: z.ZodString;
|
7846
|
-
}, "strip", z.ZodTypeAny, {
|
7847
|
-
$declaration: string;
|
7848
|
-
}, {
|
7849
|
-
$declaration: string;
|
7850
|
-
}>>;
|
7851
|
-
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
8462
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
8463
|
+
searchableResource: z.ZodOptional<z.ZodArray<z.ZodEnum<["locations", "facilities", "offices"]>, "many">>;
|
7852
8464
|
}, "strip", z.ZodTypeAny, {
|
7853
|
-
|
7854
|
-
partOf?: {
|
7855
|
-
$declaration: string;
|
7856
|
-
} | undefined;
|
8465
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
7857
8466
|
}, {
|
7858
|
-
|
7859
|
-
|
7860
|
-
$declaration: string;
|
7861
|
-
} | undefined;
|
7862
|
-
}>;
|
8467
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8468
|
+
}>>;
|
7863
8469
|
}>, "strip", z.ZodTypeAny, {
|
7864
|
-
type: "
|
8470
|
+
type: "LOCATION";
|
7865
8471
|
id: string;
|
7866
8472
|
label: TranslationConfig;
|
7867
|
-
configuration: {
|
7868
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
7869
|
-
partOf?: {
|
7870
|
-
$declaration: string;
|
7871
|
-
} | undefined;
|
7872
|
-
};
|
7873
8473
|
parent?: {
|
7874
8474
|
$$field: string;
|
7875
8475
|
} | undefined;
|
@@ -7894,20 +8494,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7894
8494
|
hideLabel?: boolean | undefined;
|
7895
8495
|
uncorrectable?: boolean | undefined;
|
7896
8496
|
defaultValue?: string | undefined;
|
8497
|
+
configuration?: {
|
8498
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8499
|
+
} | undefined;
|
7897
8500
|
}, {
|
7898
|
-
type: "
|
8501
|
+
type: "LOCATION";
|
7899
8502
|
id: string;
|
7900
8503
|
label: {
|
7901
8504
|
id: string;
|
7902
8505
|
description: string;
|
7903
8506
|
defaultMessage: string;
|
7904
8507
|
};
|
7905
|
-
configuration: {
|
7906
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
7907
|
-
partOf?: {
|
7908
|
-
$declaration: string;
|
7909
|
-
} | undefined;
|
7910
|
-
};
|
7911
8508
|
parent?: {
|
7912
8509
|
$$field: string;
|
7913
8510
|
} | undefined;
|
@@ -7944,6 +8541,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7944
8541
|
hideLabel?: boolean | undefined;
|
7945
8542
|
uncorrectable?: boolean | undefined;
|
7946
8543
|
defaultValue?: string | undefined;
|
8544
|
+
configuration?: {
|
8545
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8546
|
+
} | undefined;
|
7947
8547
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
7948
8548
|
id: z.ZodString;
|
7949
8549
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -7992,9 +8592,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
7992
8592
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7993
8593
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
7994
8594
|
}, {
|
7995
|
-
type: z.ZodLiteral<"
|
8595
|
+
type: z.ZodLiteral<"FACILITY">;
|
8596
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
7996
8597
|
}>, "strip", z.ZodTypeAny, {
|
7997
|
-
type: "
|
8598
|
+
type: "FACILITY";
|
7998
8599
|
id: string;
|
7999
8600
|
label: TranslationConfig;
|
8000
8601
|
parent?: {
|
@@ -8020,8 +8621,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8020
8621
|
helperText?: TranslationConfig | undefined;
|
8021
8622
|
hideLabel?: boolean | undefined;
|
8022
8623
|
uncorrectable?: boolean | undefined;
|
8624
|
+
defaultValue?: string | undefined;
|
8023
8625
|
}, {
|
8024
|
-
type: "
|
8626
|
+
type: "FACILITY";
|
8025
8627
|
id: string;
|
8026
8628
|
label: {
|
8027
8629
|
id: string;
|
@@ -8063,6 +8665,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8063
8665
|
} | undefined;
|
8064
8666
|
hideLabel?: boolean | undefined;
|
8065
8667
|
uncorrectable?: boolean | undefined;
|
8668
|
+
defaultValue?: string | undefined;
|
8066
8669
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8067
8670
|
id: z.ZodString;
|
8068
8671
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8111,17 +8714,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8111
8714
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8112
8715
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8113
8716
|
}, {
|
8114
|
-
type: z.ZodLiteral<"
|
8717
|
+
type: z.ZodLiteral<"OFFICE">;
|
8115
8718
|
defaultValue: z.ZodOptional<z.ZodString>;
|
8116
|
-
configuration: z.ZodOptional<z.ZodObject<{
|
8117
|
-
searchableResource: z.ZodOptional<z.ZodArray<z.ZodEnum<["locations", "facilities", "offices"]>, "many">>;
|
8118
|
-
}, "strip", z.ZodTypeAny, {
|
8119
|
-
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8120
|
-
}, {
|
8121
|
-
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8122
|
-
}>>;
|
8123
8719
|
}>, "strip", z.ZodTypeAny, {
|
8124
|
-
type: "
|
8720
|
+
type: "OFFICE";
|
8125
8721
|
id: string;
|
8126
8722
|
label: TranslationConfig;
|
8127
8723
|
parent?: {
|
@@ -8148,11 +8744,8 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8148
8744
|
hideLabel?: boolean | undefined;
|
8149
8745
|
uncorrectable?: boolean | undefined;
|
8150
8746
|
defaultValue?: string | undefined;
|
8151
|
-
configuration?: {
|
8152
|
-
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8153
|
-
} | undefined;
|
8154
8747
|
}, {
|
8155
|
-
type: "
|
8748
|
+
type: "OFFICE";
|
8156
8749
|
id: string;
|
8157
8750
|
label: {
|
8158
8751
|
id: string;
|
@@ -8195,9 +8788,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8195
8788
|
hideLabel?: boolean | undefined;
|
8196
8789
|
uncorrectable?: boolean | undefined;
|
8197
8790
|
defaultValue?: string | undefined;
|
8198
|
-
configuration?: {
|
8199
|
-
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
8200
|
-
} | undefined;
|
8201
8791
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8202
8792
|
id: z.ZodString;
|
8203
8793
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8246,12 +8836,32 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8246
8836
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8247
8837
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8248
8838
|
}, {
|
8249
|
-
type: z.ZodLiteral<"
|
8839
|
+
type: z.ZodLiteral<"SIGNATURE">;
|
8840
|
+
signaturePromptLabel: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
8841
|
+
id: string;
|
8842
|
+
description: string;
|
8843
|
+
defaultMessage: string;
|
8844
|
+
}>;
|
8250
8845
|
defaultValue: z.ZodOptional<z.ZodString>;
|
8846
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
8847
|
+
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
8848
|
+
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
8849
|
+
}, "strip", z.ZodTypeAny, {
|
8850
|
+
maxFileSize: number;
|
8851
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
8852
|
+
}, {
|
8853
|
+
maxFileSize?: number | undefined;
|
8854
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
8855
|
+
}>>;
|
8251
8856
|
}>, "strip", z.ZodTypeAny, {
|
8252
|
-
type: "
|
8857
|
+
type: "SIGNATURE";
|
8253
8858
|
id: string;
|
8254
8859
|
label: TranslationConfig;
|
8860
|
+
configuration: {
|
8861
|
+
maxFileSize: number;
|
8862
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
8863
|
+
};
|
8864
|
+
signaturePromptLabel: TranslationConfig;
|
8255
8865
|
parent?: {
|
8256
8866
|
$$field: string;
|
8257
8867
|
} | undefined;
|
@@ -8277,13 +8887,18 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8277
8887
|
uncorrectable?: boolean | undefined;
|
8278
8888
|
defaultValue?: string | undefined;
|
8279
8889
|
}, {
|
8280
|
-
type: "
|
8890
|
+
type: "SIGNATURE";
|
8281
8891
|
id: string;
|
8282
8892
|
label: {
|
8283
8893
|
id: string;
|
8284
8894
|
description: string;
|
8285
8895
|
defaultMessage: string;
|
8286
8896
|
};
|
8897
|
+
signaturePromptLabel: {
|
8898
|
+
id: string;
|
8899
|
+
description: string;
|
8900
|
+
defaultMessage: string;
|
8901
|
+
};
|
8287
8902
|
parent?: {
|
8288
8903
|
$$field: string;
|
8289
8904
|
} | undefined;
|
@@ -8320,6 +8935,10 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8320
8935
|
hideLabel?: boolean | undefined;
|
8321
8936
|
uncorrectable?: boolean | undefined;
|
8322
8937
|
defaultValue?: string | undefined;
|
8938
|
+
configuration?: {
|
8939
|
+
maxFileSize?: number | undefined;
|
8940
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
8941
|
+
} | undefined;
|
8323
8942
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8324
8943
|
id: z.ZodString;
|
8325
8944
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8368,10 +8987,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8368
8987
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8369
8988
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8370
8989
|
}, {
|
8371
|
-
type: z.ZodLiteral<"
|
8990
|
+
type: z.ZodLiteral<"EMAIL">;
|
8991
|
+
configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
8992
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
8993
|
+
}, "strip", z.ZodTypeAny, {
|
8994
|
+
maxLength?: number | undefined;
|
8995
|
+
}, {
|
8996
|
+
maxLength?: number | undefined;
|
8997
|
+
}>>>;
|
8372
8998
|
defaultValue: z.ZodOptional<z.ZodString>;
|
8373
8999
|
}>, "strip", z.ZodTypeAny, {
|
8374
|
-
type: "
|
9000
|
+
type: "EMAIL";
|
8375
9001
|
id: string;
|
8376
9002
|
label: TranslationConfig;
|
8377
9003
|
parent?: {
|
@@ -8398,8 +9024,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8398
9024
|
hideLabel?: boolean | undefined;
|
8399
9025
|
uncorrectable?: boolean | undefined;
|
8400
9026
|
defaultValue?: string | undefined;
|
9027
|
+
configuration?: {
|
9028
|
+
maxLength?: number | undefined;
|
9029
|
+
} | undefined;
|
8401
9030
|
}, {
|
8402
|
-
type: "
|
9031
|
+
type: "EMAIL";
|
8403
9032
|
id: string;
|
8404
9033
|
label: {
|
8405
9034
|
id: string;
|
@@ -8442,6 +9071,9 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8442
9071
|
hideLabel?: boolean | undefined;
|
8443
9072
|
uncorrectable?: boolean | undefined;
|
8444
9073
|
defaultValue?: string | undefined;
|
9074
|
+
configuration?: {
|
9075
|
+
maxLength?: number | undefined;
|
9076
|
+
} | undefined;
|
8445
9077
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8446
9078
|
id: z.ZodString;
|
8447
9079
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8490,13 +9122,41 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8490
9122
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8491
9123
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8492
9124
|
}, {
|
8493
|
-
type: z.ZodLiteral<"
|
8494
|
-
|
8495
|
-
|
8496
|
-
|
8497
|
-
|
8498
|
-
|
8499
|
-
|
9125
|
+
type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
|
9126
|
+
options: z.ZodArray<z.ZodObject<{
|
9127
|
+
value: z.ZodString;
|
9128
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9129
|
+
id: string;
|
9130
|
+
description: string;
|
9131
|
+
defaultMessage: string;
|
9132
|
+
}>;
|
9133
|
+
}, "strip", z.ZodTypeAny, {
|
9134
|
+
value: string;
|
9135
|
+
label: TranslationConfig;
|
9136
|
+
}, {
|
9137
|
+
value: string;
|
9138
|
+
label: {
|
9139
|
+
id: string;
|
9140
|
+
description: string;
|
9141
|
+
defaultMessage: string;
|
9142
|
+
};
|
9143
|
+
}>, "many">;
|
9144
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
9145
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
9146
|
+
originalFilename: z.ZodString;
|
9147
|
+
type: z.ZodString;
|
9148
|
+
option: z.ZodString;
|
9149
|
+
}, "strip", z.ZodTypeAny, {
|
9150
|
+
type: string;
|
9151
|
+
option: string;
|
9152
|
+
path: string;
|
9153
|
+
originalFilename: string;
|
9154
|
+
}, {
|
9155
|
+
type: string;
|
9156
|
+
option: string;
|
9157
|
+
path: string;
|
9158
|
+
originalFilename: string;
|
9159
|
+
}>, "many">>;
|
8500
9160
|
configuration: z.ZodDefault<z.ZodObject<{
|
8501
9161
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
8502
9162
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -8508,14 +9168,17 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8508
9168
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
8509
9169
|
}>>;
|
8510
9170
|
}>, "strip", z.ZodTypeAny, {
|
8511
|
-
type: "
|
9171
|
+
type: "FILE_WITH_OPTIONS";
|
8512
9172
|
id: string;
|
9173
|
+
options: {
|
9174
|
+
value: string;
|
9175
|
+
label: TranslationConfig;
|
9176
|
+
}[];
|
8513
9177
|
label: TranslationConfig;
|
8514
9178
|
configuration: {
|
8515
9179
|
maxFileSize: number;
|
8516
9180
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
8517
9181
|
};
|
8518
|
-
signaturePromptLabel: TranslationConfig;
|
8519
9182
|
parent?: {
|
8520
9183
|
$$field: string;
|
8521
9184
|
} | undefined;
|
@@ -8539,20 +9202,28 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8539
9202
|
helperText?: TranslationConfig | undefined;
|
8540
9203
|
hideLabel?: boolean | undefined;
|
8541
9204
|
uncorrectable?: boolean | undefined;
|
8542
|
-
defaultValue?:
|
9205
|
+
defaultValue?: {
|
9206
|
+
type: string;
|
9207
|
+
option: string;
|
9208
|
+
path: string;
|
9209
|
+
originalFilename: string;
|
9210
|
+
}[] | undefined;
|
8543
9211
|
}, {
|
8544
|
-
type: "
|
9212
|
+
type: "FILE_WITH_OPTIONS";
|
8545
9213
|
id: string;
|
9214
|
+
options: {
|
9215
|
+
value: string;
|
9216
|
+
label: {
|
9217
|
+
id: string;
|
9218
|
+
description: string;
|
9219
|
+
defaultMessage: string;
|
9220
|
+
};
|
9221
|
+
}[];
|
8546
9222
|
label: {
|
8547
9223
|
id: string;
|
8548
9224
|
description: string;
|
8549
9225
|
defaultMessage: string;
|
8550
9226
|
};
|
8551
|
-
signaturePromptLabel: {
|
8552
|
-
id: string;
|
8553
|
-
description: string;
|
8554
|
-
defaultMessage: string;
|
8555
|
-
};
|
8556
9227
|
parent?: {
|
8557
9228
|
$$field: string;
|
8558
9229
|
} | undefined;
|
@@ -8588,7 +9259,12 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8588
9259
|
} | undefined;
|
8589
9260
|
hideLabel?: boolean | undefined;
|
8590
9261
|
uncorrectable?: boolean | undefined;
|
8591
|
-
defaultValue?:
|
9262
|
+
defaultValue?: {
|
9263
|
+
type: string;
|
9264
|
+
option: string;
|
9265
|
+
path: string;
|
9266
|
+
originalFilename: string;
|
9267
|
+
}[] | undefined;
|
8592
9268
|
configuration?: {
|
8593
9269
|
maxFileSize?: number | undefined;
|
8594
9270
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
@@ -8630,30 +9306,98 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8630
9306
|
id: string;
|
8631
9307
|
description: string;
|
8632
9308
|
defaultMessage: string;
|
8633
|
-
};
|
8634
|
-
validator: import(".").JSONSchema;
|
8635
|
-
}>, "many">>>;
|
8636
|
-
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
8637
|
-
id: string;
|
8638
|
-
description: string;
|
8639
|
-
defaultMessage: string;
|
8640
|
-
}>>;
|
8641
|
-
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8642
|
-
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8643
|
-
}, {
|
8644
|
-
type: z.ZodLiteral<"
|
8645
|
-
configuration: z.
|
8646
|
-
|
8647
|
-
|
8648
|
-
|
8649
|
-
|
8650
|
-
|
8651
|
-
|
8652
|
-
|
9309
|
+
};
|
9310
|
+
validator: import(".").JSONSchema;
|
9311
|
+
}>, "many">>>;
|
9312
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9313
|
+
id: string;
|
9314
|
+
description: string;
|
9315
|
+
defaultMessage: string;
|
9316
|
+
}>>;
|
9317
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9318
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9319
|
+
}, {
|
9320
|
+
type: z.ZodLiteral<"DATA">;
|
9321
|
+
configuration: z.ZodObject<{
|
9322
|
+
subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9323
|
+
id: string;
|
9324
|
+
description: string;
|
9325
|
+
defaultMessage: string;
|
9326
|
+
}>>;
|
9327
|
+
data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
9328
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9329
|
+
id: string;
|
9330
|
+
description: string;
|
9331
|
+
defaultMessage: string;
|
9332
|
+
}>;
|
9333
|
+
value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9334
|
+
id: string;
|
9335
|
+
description: string;
|
9336
|
+
defaultMessage: string;
|
9337
|
+
}>, z.ZodString]>;
|
9338
|
+
}, "strip", z.ZodTypeAny, {
|
9339
|
+
value: string | TranslationConfig;
|
9340
|
+
label: TranslationConfig;
|
9341
|
+
}, {
|
9342
|
+
value: string | {
|
9343
|
+
id: string;
|
9344
|
+
description: string;
|
9345
|
+
defaultMessage: string;
|
9346
|
+
};
|
9347
|
+
label: {
|
9348
|
+
id: string;
|
9349
|
+
description: string;
|
9350
|
+
defaultMessage: string;
|
9351
|
+
};
|
9352
|
+
}>, z.ZodObject<{
|
9353
|
+
fieldId: z.ZodString;
|
9354
|
+
}, "strip", z.ZodTypeAny, {
|
9355
|
+
fieldId: string;
|
9356
|
+
}, {
|
9357
|
+
fieldId: string;
|
9358
|
+
}>]>, "many">;
|
9359
|
+
}, "strip", z.ZodTypeAny, {
|
9360
|
+
data: ({
|
9361
|
+
value: string | TranslationConfig;
|
9362
|
+
label: TranslationConfig;
|
9363
|
+
} | {
|
9364
|
+
fieldId: string;
|
9365
|
+
})[];
|
9366
|
+
subtitle?: TranslationConfig | undefined;
|
9367
|
+
}, {
|
9368
|
+
data: ({
|
9369
|
+
value: string | {
|
9370
|
+
id: string;
|
9371
|
+
description: string;
|
9372
|
+
defaultMessage: string;
|
9373
|
+
};
|
9374
|
+
label: {
|
9375
|
+
id: string;
|
9376
|
+
description: string;
|
9377
|
+
defaultMessage: string;
|
9378
|
+
};
|
9379
|
+
} | {
|
9380
|
+
fieldId: string;
|
9381
|
+
})[];
|
9382
|
+
subtitle?: {
|
9383
|
+
id: string;
|
9384
|
+
description: string;
|
9385
|
+
defaultMessage: string;
|
9386
|
+
} | undefined;
|
9387
|
+
}>;
|
8653
9388
|
}>, "strip", z.ZodTypeAny, {
|
8654
|
-
type: "
|
9389
|
+
type: "DATA";
|
8655
9390
|
id: string;
|
8656
9391
|
label: TranslationConfig;
|
9392
|
+
configuration: {
|
9393
|
+
data: ({
|
9394
|
+
value: string | TranslationConfig;
|
9395
|
+
label: TranslationConfig;
|
9396
|
+
} | {
|
9397
|
+
fieldId: string;
|
9398
|
+
})[];
|
9399
|
+
subtitle?: TranslationConfig | undefined;
|
9400
|
+
};
|
8657
9401
|
parent?: {
|
8658
9402
|
$$field: string;
|
8659
9403
|
} | undefined;
|
@@ -8677,18 +9421,35 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8677
9421
|
helperText?: TranslationConfig | undefined;
|
8678
9422
|
hideLabel?: boolean | undefined;
|
8679
9423
|
uncorrectable?: boolean | undefined;
|
8680
|
-
defaultValue?: string | undefined;
|
8681
|
-
configuration?: {
|
8682
|
-
maxLength?: number | undefined;
|
8683
|
-
} | undefined;
|
8684
9424
|
}, {
|
8685
|
-
type: "
|
9425
|
+
type: "DATA";
|
8686
9426
|
id: string;
|
8687
9427
|
label: {
|
8688
9428
|
id: string;
|
8689
9429
|
description: string;
|
8690
9430
|
defaultMessage: string;
|
8691
9431
|
};
|
9432
|
+
configuration: {
|
9433
|
+
data: ({
|
9434
|
+
value: string | {
|
9435
|
+
id: string;
|
9436
|
+
description: string;
|
9437
|
+
defaultMessage: string;
|
9438
|
+
};
|
9439
|
+
label: {
|
9440
|
+
id: string;
|
9441
|
+
description: string;
|
9442
|
+
defaultMessage: string;
|
9443
|
+
};
|
9444
|
+
} | {
|
9445
|
+
fieldId: string;
|
9446
|
+
})[];
|
9447
|
+
subtitle?: {
|
9448
|
+
id: string;
|
9449
|
+
description: string;
|
9450
|
+
defaultMessage: string;
|
9451
|
+
} | undefined;
|
9452
|
+
};
|
8692
9453
|
parent?: {
|
8693
9454
|
$$field: string;
|
8694
9455
|
} | undefined;
|
@@ -8724,10 +9485,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8724
9485
|
} | undefined;
|
8725
9486
|
hideLabel?: boolean | undefined;
|
8726
9487
|
uncorrectable?: boolean | undefined;
|
8727
|
-
defaultValue?: string | undefined;
|
8728
|
-
configuration?: {
|
8729
|
-
maxLength?: number | undefined;
|
8730
|
-
} | undefined;
|
8731
9488
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8732
9489
|
id: z.ZodString;
|
8733
9490
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8776,62 +9533,64 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8776
9533
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8777
9534
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8778
9535
|
}, {
|
8779
|
-
type: z.ZodLiteral<"
|
8780
|
-
|
8781
|
-
|
8782
|
-
|
9536
|
+
type: z.ZodLiteral<"BUTTON">;
|
9537
|
+
configuration: z.ZodObject<{
|
9538
|
+
onClick: z.ZodObject<{
|
9539
|
+
$$field: z.ZodString;
|
9540
|
+
}, "strip", z.ZodTypeAny, {
|
9541
|
+
$$field: string;
|
9542
|
+
}, {
|
9543
|
+
$$field: string;
|
9544
|
+
}>;
|
9545
|
+
icon: z.ZodOptional<z.ZodString>;
|
9546
|
+
shouldHandleLoadingState: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9547
|
+
buttonLabel: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
8783
9548
|
id: string;
|
8784
9549
|
description: string;
|
8785
9550
|
defaultMessage: string;
|
8786
9551
|
}>;
|
9552
|
+
loadingLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9553
|
+
id: string;
|
9554
|
+
description: string;
|
9555
|
+
defaultMessage: string;
|
9556
|
+
}>>;
|
8787
9557
|
}, "strip", z.ZodTypeAny, {
|
8788
|
-
|
8789
|
-
|
9558
|
+
onClick: {
|
9559
|
+
$$field: string;
|
9560
|
+
};
|
9561
|
+
buttonLabel: TranslationConfig;
|
9562
|
+
icon?: string | undefined;
|
9563
|
+
shouldHandleLoadingState?: boolean | undefined;
|
9564
|
+
loadingLabel?: TranslationConfig | undefined;
|
8790
9565
|
}, {
|
8791
|
-
|
8792
|
-
|
9566
|
+
onClick: {
|
9567
|
+
$$field: string;
|
9568
|
+
};
|
9569
|
+
buttonLabel: {
|
8793
9570
|
id: string;
|
8794
9571
|
description: string;
|
8795
9572
|
defaultMessage: string;
|
8796
9573
|
};
|
8797
|
-
|
8798
|
-
|
8799
|
-
|
8800
|
-
|
8801
|
-
|
8802
|
-
|
8803
|
-
|
8804
|
-
|
8805
|
-
option: string;
|
8806
|
-
path: string;
|
8807
|
-
originalFilename: string;
|
8808
|
-
}, {
|
8809
|
-
type: string;
|
8810
|
-
option: string;
|
8811
|
-
path: string;
|
8812
|
-
originalFilename: string;
|
8813
|
-
}>, "many">>;
|
8814
|
-
configuration: z.ZodDefault<z.ZodObject<{
|
8815
|
-
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
8816
|
-
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
8817
|
-
}, "strip", z.ZodTypeAny, {
|
8818
|
-
maxFileSize: number;
|
8819
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
8820
|
-
}, {
|
8821
|
-
maxFileSize?: number | undefined;
|
8822
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
8823
|
-
}>>;
|
9574
|
+
icon?: string | undefined;
|
9575
|
+
shouldHandleLoadingState?: boolean | undefined;
|
9576
|
+
loadingLabel?: {
|
9577
|
+
id: string;
|
9578
|
+
description: string;
|
9579
|
+
defaultMessage: string;
|
9580
|
+
} | undefined;
|
9581
|
+
}>;
|
8824
9582
|
}>, "strip", z.ZodTypeAny, {
|
8825
|
-
type: "
|
9583
|
+
type: "BUTTON";
|
8826
9584
|
id: string;
|
8827
|
-
options: {
|
8828
|
-
value: string;
|
8829
|
-
label: TranslationConfig;
|
8830
|
-
}[];
|
8831
9585
|
label: TranslationConfig;
|
8832
9586
|
configuration: {
|
8833
|
-
|
8834
|
-
|
9587
|
+
onClick: {
|
9588
|
+
$$field: string;
|
9589
|
+
};
|
9590
|
+
buttonLabel: TranslationConfig;
|
9591
|
+
icon?: string | undefined;
|
9592
|
+
shouldHandleLoadingState?: boolean | undefined;
|
9593
|
+
loadingLabel?: TranslationConfig | undefined;
|
8835
9594
|
};
|
8836
9595
|
parent?: {
|
8837
9596
|
$$field: string;
|
@@ -8856,28 +9615,31 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8856
9615
|
helperText?: TranslationConfig | undefined;
|
8857
9616
|
hideLabel?: boolean | undefined;
|
8858
9617
|
uncorrectable?: boolean | undefined;
|
8859
|
-
defaultValue?: {
|
8860
|
-
type: string;
|
8861
|
-
option: string;
|
8862
|
-
path: string;
|
8863
|
-
originalFilename: string;
|
8864
|
-
}[] | undefined;
|
8865
9618
|
}, {
|
8866
|
-
type: "
|
9619
|
+
type: "BUTTON";
|
8867
9620
|
id: string;
|
8868
|
-
options: {
|
8869
|
-
value: string;
|
8870
|
-
label: {
|
8871
|
-
id: string;
|
8872
|
-
description: string;
|
8873
|
-
defaultMessage: string;
|
8874
|
-
};
|
8875
|
-
}[];
|
8876
9621
|
label: {
|
8877
9622
|
id: string;
|
8878
9623
|
description: string;
|
8879
9624
|
defaultMessage: string;
|
8880
9625
|
};
|
9626
|
+
configuration: {
|
9627
|
+
onClick: {
|
9628
|
+
$$field: string;
|
9629
|
+
};
|
9630
|
+
buttonLabel: {
|
9631
|
+
id: string;
|
9632
|
+
description: string;
|
9633
|
+
defaultMessage: string;
|
9634
|
+
};
|
9635
|
+
icon?: string | undefined;
|
9636
|
+
shouldHandleLoadingState?: boolean | undefined;
|
9637
|
+
loadingLabel?: {
|
9638
|
+
id: string;
|
9639
|
+
description: string;
|
9640
|
+
defaultMessage: string;
|
9641
|
+
} | undefined;
|
9642
|
+
};
|
8881
9643
|
parent?: {
|
8882
9644
|
$$field: string;
|
8883
9645
|
} | undefined;
|
@@ -8913,16 +9675,6 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8913
9675
|
} | undefined;
|
8914
9676
|
hideLabel?: boolean | undefined;
|
8915
9677
|
uncorrectable?: boolean | undefined;
|
8916
|
-
defaultValue?: {
|
8917
|
-
type: string;
|
8918
|
-
option: string;
|
8919
|
-
path: string;
|
8920
|
-
originalFilename: string;
|
8921
|
-
}[] | undefined;
|
8922
|
-
configuration?: {
|
8923
|
-
maxFileSize?: number | undefined;
|
8924
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
8925
|
-
} | undefined;
|
8926
9678
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8927
9679
|
id: z.ZodString;
|
8928
9680
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -8971,86 +9723,36 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
8971
9723
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8972
9724
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
8973
9725
|
}, {
|
8974
|
-
type: z.ZodLiteral<"
|
9726
|
+
type: z.ZodLiteral<"HTTP">;
|
8975
9727
|
configuration: z.ZodObject<{
|
8976
|
-
|
8977
|
-
|
8978
|
-
|
8979
|
-
|
8980
|
-
|
8981
|
-
|
8982
|
-
|
8983
|
-
|
8984
|
-
|
8985
|
-
|
8986
|
-
|
8987
|
-
|
8988
|
-
|
8989
|
-
|
8990
|
-
|
8991
|
-
|
8992
|
-
|
8993
|
-
value: string | TranslationConfig;
|
8994
|
-
label: TranslationConfig;
|
8995
|
-
}, {
|
8996
|
-
value: string | {
|
8997
|
-
id: string;
|
8998
|
-
description: string;
|
8999
|
-
defaultMessage: string;
|
9000
|
-
};
|
9001
|
-
label: {
|
9002
|
-
id: string;
|
9003
|
-
description: string;
|
9004
|
-
defaultMessage: string;
|
9005
|
-
};
|
9006
|
-
}>, z.ZodObject<{
|
9007
|
-
fieldId: z.ZodString;
|
9008
|
-
}, "strip", z.ZodTypeAny, {
|
9009
|
-
fieldId: string;
|
9010
|
-
}, {
|
9011
|
-
fieldId: string;
|
9012
|
-
}>]>, "many">;
|
9013
|
-
}, "strip", z.ZodTypeAny, {
|
9014
|
-
data: ({
|
9015
|
-
value: string | TranslationConfig;
|
9016
|
-
label: TranslationConfig;
|
9017
|
-
} | {
|
9018
|
-
fieldId: string;
|
9019
|
-
})[];
|
9020
|
-
subtitle?: TranslationConfig | undefined;
|
9021
|
-
}, {
|
9022
|
-
data: ({
|
9023
|
-
value: string | {
|
9024
|
-
id: string;
|
9025
|
-
description: string;
|
9026
|
-
defaultMessage: string;
|
9027
|
-
};
|
9028
|
-
label: {
|
9029
|
-
id: string;
|
9030
|
-
description: string;
|
9031
|
-
defaultMessage: string;
|
9032
|
-
};
|
9033
|
-
} | {
|
9034
|
-
fieldId: string;
|
9035
|
-
})[];
|
9036
|
-
subtitle?: {
|
9037
|
-
id: string;
|
9038
|
-
description: string;
|
9039
|
-
defaultMessage: string;
|
9040
|
-
} | undefined;
|
9728
|
+
method: z.ZodEnum<["GET", "POST", "PUT", "DELETE"]>;
|
9729
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
9730
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
9731
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
9732
|
+
url: z.ZodString;
|
9733
|
+
}, "strip", z.ZodTypeAny, {
|
9734
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
9735
|
+
url: string;
|
9736
|
+
params?: Record<string, string> | undefined;
|
9737
|
+
headers?: Record<string, string> | undefined;
|
9738
|
+
body?: Record<string, string> | undefined;
|
9739
|
+
}, {
|
9740
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
9741
|
+
url: string;
|
9742
|
+
params?: Record<string, string> | undefined;
|
9743
|
+
headers?: Record<string, string> | undefined;
|
9744
|
+
body?: Record<string, string> | undefined;
|
9041
9745
|
}>;
|
9042
9746
|
}>, "strip", z.ZodTypeAny, {
|
9043
|
-
type: "
|
9747
|
+
type: "HTTP";
|
9044
9748
|
id: string;
|
9045
9749
|
label: TranslationConfig;
|
9046
9750
|
configuration: {
|
9047
|
-
|
9048
|
-
|
9049
|
-
|
9050
|
-
|
9051
|
-
|
9052
|
-
})[];
|
9053
|
-
subtitle?: TranslationConfig | undefined;
|
9751
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
9752
|
+
url: string;
|
9753
|
+
params?: Record<string, string> | undefined;
|
9754
|
+
headers?: Record<string, string> | undefined;
|
9755
|
+
body?: Record<string, string> | undefined;
|
9054
9756
|
};
|
9055
9757
|
parent?: {
|
9056
9758
|
$$field: string;
|
@@ -9076,7 +9778,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9076
9778
|
hideLabel?: boolean | undefined;
|
9077
9779
|
uncorrectable?: boolean | undefined;
|
9078
9780
|
}, {
|
9079
|
-
type: "
|
9781
|
+
type: "HTTP";
|
9080
9782
|
id: string;
|
9081
9783
|
label: {
|
9082
9784
|
id: string;
|
@@ -9084,25 +9786,11 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
9084
9786
|
defaultMessage: string;
|
9085
9787
|
};
|
9086
9788
|
configuration: {
|
9087
|
-
|
9088
|
-
|
9089
|
-
|
9090
|
-
|
9091
|
-
|
9092
|
-
};
|
9093
|
-
label: {
|
9094
|
-
id: string;
|
9095
|
-
description: string;
|
9096
|
-
defaultMessage: string;
|
9097
|
-
};
|
9098
|
-
} | {
|
9099
|
-
fieldId: string;
|
9100
|
-
})[];
|
9101
|
-
subtitle?: {
|
9102
|
-
id: string;
|
9103
|
-
description: string;
|
9104
|
-
defaultMessage: string;
|
9105
|
-
} | undefined;
|
9789
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
9790
|
+
url: string;
|
9791
|
+
params?: Record<string, string> | undefined;
|
9792
|
+
headers?: Record<string, string> | undefined;
|
9793
|
+
body?: Record<string, string> | undefined;
|
9106
9794
|
};
|
9107
9795
|
parent?: {
|
9108
9796
|
$$field: string;
|