@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
@@ -4504,18 +4504,85 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
4504
4504
|
} | undefined;
|
4505
4505
|
hideLabel?: boolean | undefined;
|
4506
4506
|
uncorrectable?: boolean | undefined;
|
4507
|
-
}
|
4508
|
-
|
4509
|
-
|
4510
|
-
|
4511
|
-
|
4512
|
-
|
4513
|
-
|
4514
|
-
|
4515
|
-
|
4516
|
-
|
4507
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4508
|
+
id: z.ZodString;
|
4509
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4510
|
+
id: string;
|
4511
|
+
description: string;
|
4512
|
+
defaultMessage: string;
|
4513
|
+
}>;
|
4514
|
+
parent: z.ZodOptional<z.ZodObject<{
|
4515
|
+
$$field: z.ZodString;
|
4516
|
+
}, "strip", z.ZodTypeAny, {
|
4517
|
+
$$field: string;
|
4518
|
+
}, {
|
4519
|
+
$$field: string;
|
4520
|
+
}>>;
|
4521
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4522
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4523
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4524
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4525
|
+
id: string;
|
4526
|
+
description: string;
|
4527
|
+
defaultMessage: string;
|
4528
|
+
}>>;
|
4529
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4530
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4531
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4532
|
+
id: string;
|
4533
|
+
description: string;
|
4534
|
+
defaultMessage: string;
|
4535
|
+
}>;
|
4536
|
+
}, "strip", z.ZodTypeAny, {
|
4537
|
+
message: TranslationConfig;
|
4538
|
+
validator: import(".").JSONSchema;
|
4539
|
+
}, {
|
4540
|
+
message: {
|
4541
|
+
id: string;
|
4542
|
+
description: string;
|
4543
|
+
defaultMessage: string;
|
4544
|
+
};
|
4545
|
+
validator: import(".").JSONSchema;
|
4546
|
+
}>, "many">>>;
|
4547
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4548
|
+
id: string;
|
4549
|
+
description: string;
|
4550
|
+
defaultMessage: string;
|
4551
|
+
}>>;
|
4552
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4553
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4554
|
+
}, {
|
4555
|
+
type: z.ZodLiteral<"BUTTON">;
|
4556
|
+
configuration: z.ZodObject<{
|
4557
|
+
icon: z.ZodOptional<z.ZodString>;
|
4558
|
+
loading: z.ZodOptional<z.ZodBoolean>;
|
4559
|
+
text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4560
|
+
id: string;
|
4561
|
+
description: string;
|
4562
|
+
defaultMessage: string;
|
4563
|
+
}>;
|
4564
|
+
}, "strip", z.ZodTypeAny, {
|
4565
|
+
text: TranslationConfig;
|
4566
|
+
loading?: boolean | undefined;
|
4567
|
+
icon?: string | undefined;
|
4568
|
+
}, {
|
4569
|
+
text: {
|
4570
|
+
id: string;
|
4571
|
+
description: string;
|
4572
|
+
defaultMessage: string;
|
4573
|
+
};
|
4574
|
+
loading?: boolean | undefined;
|
4575
|
+
icon?: string | undefined;
|
4576
|
+
}>;
|
4577
|
+
}>, "strip", z.ZodTypeAny, {
|
4578
|
+
type: "BUTTON";
|
4517
4579
|
id: string;
|
4518
4580
|
label: TranslationConfig;
|
4581
|
+
configuration: {
|
4582
|
+
text: TranslationConfig;
|
4583
|
+
loading?: boolean | undefined;
|
4584
|
+
icon?: string | undefined;
|
4585
|
+
};
|
4519
4586
|
parent?: {
|
4520
4587
|
$$field: string;
|
4521
4588
|
} | undefined;
|
@@ -4539,15 +4606,32 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
4539
4606
|
helperText?: TranslationConfig | undefined;
|
4540
4607
|
hideLabel?: boolean | undefined;
|
4541
4608
|
uncorrectable?: boolean | undefined;
|
4542
|
-
}
|
4543
|
-
type: "
|
4609
|
+
}, {
|
4610
|
+
type: "BUTTON";
|
4544
4611
|
id: string;
|
4545
|
-
label:
|
4612
|
+
label: {
|
4613
|
+
id: string;
|
4614
|
+
description: string;
|
4615
|
+
defaultMessage: string;
|
4616
|
+
};
|
4617
|
+
configuration: {
|
4618
|
+
text: {
|
4619
|
+
id: string;
|
4620
|
+
description: string;
|
4621
|
+
defaultMessage: string;
|
4622
|
+
};
|
4623
|
+
loading?: boolean | undefined;
|
4624
|
+
icon?: string | undefined;
|
4625
|
+
};
|
4546
4626
|
parent?: {
|
4547
4627
|
$$field: string;
|
4548
4628
|
} | undefined;
|
4549
4629
|
validation?: {
|
4550
|
-
message:
|
4630
|
+
message: {
|
4631
|
+
id: string;
|
4632
|
+
description: string;
|
4633
|
+
defaultMessage: string;
|
4634
|
+
};
|
4551
4635
|
validator: import(".").JSONSchema;
|
4552
4636
|
}[] | undefined;
|
4553
4637
|
required?: boolean | undefined;
|
@@ -4562,21 +4646,148 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
4562
4646
|
conditional: import(".").JSONSchema;
|
4563
4647
|
})[] | undefined;
|
4564
4648
|
secured?: boolean | undefined;
|
4565
|
-
placeholder?:
|
4566
|
-
|
4649
|
+
placeholder?: {
|
4650
|
+
id: string;
|
4651
|
+
description: string;
|
4652
|
+
defaultMessage: string;
|
4653
|
+
} | undefined;
|
4654
|
+
helperText?: {
|
4655
|
+
id: string;
|
4656
|
+
description: string;
|
4657
|
+
defaultMessage: string;
|
4658
|
+
} | undefined;
|
4567
4659
|
hideLabel?: boolean | undefined;
|
4568
4660
|
uncorrectable?: boolean | undefined;
|
4569
|
-
|
4570
|
-
|
4571
|
-
|
4572
|
-
|
4573
|
-
|
4574
|
-
|
4575
|
-
}
|
4576
|
-
|
4577
|
-
|
4661
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4662
|
+
id: z.ZodString;
|
4663
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4664
|
+
id: string;
|
4665
|
+
description: string;
|
4666
|
+
defaultMessage: string;
|
4667
|
+
}>;
|
4668
|
+
parent: z.ZodOptional<z.ZodObject<{
|
4669
|
+
$$field: z.ZodString;
|
4670
|
+
}, "strip", z.ZodTypeAny, {
|
4671
|
+
$$field: string;
|
4672
|
+
}, {
|
4673
|
+
$$field: string;
|
4674
|
+
}>>;
|
4675
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4676
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
4677
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4678
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4679
|
+
id: string;
|
4680
|
+
description: string;
|
4681
|
+
defaultMessage: string;
|
4682
|
+
}>>;
|
4683
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
4684
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
4685
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4686
|
+
id: string;
|
4687
|
+
description: string;
|
4688
|
+
defaultMessage: string;
|
4689
|
+
}>;
|
4690
|
+
}, "strip", z.ZodTypeAny, {
|
4691
|
+
message: TranslationConfig;
|
4692
|
+
validator: import(".").JSONSchema;
|
4693
|
+
}, {
|
4694
|
+
message: {
|
4695
|
+
id: string;
|
4696
|
+
description: string;
|
4697
|
+
defaultMessage: string;
|
4698
|
+
};
|
4699
|
+
validator: import(".").JSONSchema;
|
4700
|
+
}>, "many">>>;
|
4701
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
4702
|
+
id: string;
|
4703
|
+
description: string;
|
4704
|
+
defaultMessage: string;
|
4705
|
+
}>>;
|
4706
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4707
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
4708
|
+
}, {
|
4709
|
+
type: z.ZodLiteral<"HTTP">;
|
4710
|
+
defaultValue: z.ZodOptional<z.ZodObject<{
|
4711
|
+
loading: z.ZodBoolean;
|
4712
|
+
error: z.ZodNullable<z.ZodObject<{
|
4713
|
+
statusCode: z.ZodNullable<z.ZodNumber>;
|
4714
|
+
message: z.ZodString;
|
4715
|
+
}, "strip", z.ZodTypeAny, {
|
4716
|
+
message: string;
|
4717
|
+
statusCode: number | null;
|
4718
|
+
}, {
|
4719
|
+
message: string;
|
4720
|
+
statusCode: number | null;
|
4721
|
+
}>>;
|
4722
|
+
data: z.ZodAny;
|
4723
|
+
trackingValue: z.ZodOptional<z.ZodString>;
|
4724
|
+
}, "strip", z.ZodTypeAny, {
|
4725
|
+
error: {
|
4726
|
+
message: string;
|
4727
|
+
statusCode: number | null;
|
4728
|
+
} | null;
|
4729
|
+
loading: boolean;
|
4730
|
+
data?: any;
|
4731
|
+
trackingValue?: string | undefined;
|
4732
|
+
}, {
|
4733
|
+
error: {
|
4734
|
+
message: string;
|
4735
|
+
statusCode: number | null;
|
4736
|
+
} | null;
|
4737
|
+
loading: boolean;
|
4738
|
+
data?: any;
|
4739
|
+
trackingValue?: string | undefined;
|
4740
|
+
}>>;
|
4741
|
+
configuration: z.ZodObject<{
|
4742
|
+
trigger: z.ZodObject<{
|
4743
|
+
$$field: z.ZodString;
|
4744
|
+
}, "strip", z.ZodTypeAny, {
|
4745
|
+
$$field: string;
|
4746
|
+
}, {
|
4747
|
+
$$field: string;
|
4748
|
+
}>;
|
4749
|
+
url: z.ZodString;
|
4750
|
+
method: z.ZodEnum<["GET", "POST", "PUT", "DELETE"]>;
|
4751
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
4752
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
4753
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
4754
|
+
timeout: z.ZodDefault<z.ZodNumber>;
|
4755
|
+
}, "strip", z.ZodTypeAny, {
|
4756
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
4757
|
+
trigger: {
|
4758
|
+
$$field: string;
|
4759
|
+
};
|
4760
|
+
url: string;
|
4761
|
+
timeout: number;
|
4762
|
+
params?: Record<string, string> | undefined;
|
4763
|
+
headers?: Record<string, string> | undefined;
|
4764
|
+
body?: Record<string, string> | undefined;
|
4765
|
+
}, {
|
4766
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
4767
|
+
trigger: {
|
4768
|
+
$$field: string;
|
4769
|
+
};
|
4770
|
+
url: string;
|
4771
|
+
params?: Record<string, string> | undefined;
|
4772
|
+
headers?: Record<string, string> | undefined;
|
4773
|
+
body?: Record<string, string> | undefined;
|
4774
|
+
timeout?: number | undefined;
|
4775
|
+
}>;
|
4776
|
+
}>, "strip", z.ZodTypeAny, {
|
4777
|
+
type: "HTTP";
|
4578
4778
|
id: string;
|
4579
4779
|
label: TranslationConfig;
|
4780
|
+
configuration: {
|
4781
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
4782
|
+
trigger: {
|
4783
|
+
$$field: string;
|
4784
|
+
};
|
4785
|
+
url: string;
|
4786
|
+
timeout: number;
|
4787
|
+
params?: Record<string, string> | undefined;
|
4788
|
+
headers?: Record<string, string> | undefined;
|
4789
|
+
body?: Record<string, string> | undefined;
|
4790
|
+
};
|
4580
4791
|
parent?: {
|
4581
4792
|
$$field: string;
|
4582
4793
|
} | undefined;
|
@@ -4600,22 +4811,43 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
4600
4811
|
helperText?: TranslationConfig | undefined;
|
4601
4812
|
hideLabel?: boolean | undefined;
|
4602
4813
|
uncorrectable?: boolean | undefined;
|
4603
|
-
defaultValue?:
|
4604
|
-
|
4605
|
-
|
4606
|
-
|
4607
|
-
|
4608
|
-
|
4814
|
+
defaultValue?: {
|
4815
|
+
error: {
|
4816
|
+
message: string;
|
4817
|
+
statusCode: number | null;
|
4818
|
+
} | null;
|
4819
|
+
loading: boolean;
|
4820
|
+
data?: any;
|
4821
|
+
trackingValue?: string | undefined;
|
4609
4822
|
} | undefined;
|
4610
|
-
}
|
4611
|
-
type: "
|
4823
|
+
}, {
|
4824
|
+
type: "HTTP";
|
4612
4825
|
id: string;
|
4613
|
-
label:
|
4826
|
+
label: {
|
4827
|
+
id: string;
|
4828
|
+
description: string;
|
4829
|
+
defaultMessage: string;
|
4830
|
+
};
|
4831
|
+
configuration: {
|
4832
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
4833
|
+
trigger: {
|
4834
|
+
$$field: string;
|
4835
|
+
};
|
4836
|
+
url: string;
|
4837
|
+
params?: Record<string, string> | undefined;
|
4838
|
+
headers?: Record<string, string> | undefined;
|
4839
|
+
body?: Record<string, string> | undefined;
|
4840
|
+
timeout?: number | undefined;
|
4841
|
+
};
|
4614
4842
|
parent?: {
|
4615
4843
|
$$field: string;
|
4616
4844
|
} | undefined;
|
4617
4845
|
validation?: {
|
4618
|
-
message:
|
4846
|
+
message: {
|
4847
|
+
id: string;
|
4848
|
+
description: string;
|
4849
|
+
defaultMessage: string;
|
4850
|
+
};
|
4619
4851
|
validator: import(".").JSONSchema;
|
4620
4852
|
}[] | undefined;
|
4621
4853
|
required?: boolean | undefined;
|
@@ -4630,27 +4862,39 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
4630
4862
|
conditional: import(".").JSONSchema;
|
4631
4863
|
})[] | undefined;
|
4632
4864
|
secured?: boolean | undefined;
|
4633
|
-
placeholder?:
|
4634
|
-
|
4865
|
+
placeholder?: {
|
4866
|
+
id: string;
|
4867
|
+
description: string;
|
4868
|
+
defaultMessage: string;
|
4869
|
+
} | undefined;
|
4870
|
+
helperText?: {
|
4871
|
+
id: string;
|
4872
|
+
description: string;
|
4873
|
+
defaultMessage: string;
|
4874
|
+
} | undefined;
|
4635
4875
|
hideLabel?: boolean | undefined;
|
4636
4876
|
uncorrectable?: boolean | undefined;
|
4637
|
-
defaultValue?:
|
4638
|
-
|
4639
|
-
|
4640
|
-
|
4641
|
-
|
4642
|
-
|
4643
|
-
|
4877
|
+
defaultValue?: {
|
4878
|
+
error: {
|
4879
|
+
message: string;
|
4880
|
+
statusCode: number | null;
|
4881
|
+
} | null;
|
4882
|
+
loading: boolean;
|
4883
|
+
data?: any;
|
4884
|
+
trackingValue?: string | undefined;
|
4644
4885
|
} | undefined;
|
4645
|
-
}
|
4646
|
-
|
4886
|
+
}>]>, "many">;
|
4887
|
+
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
4888
|
+
}, {
|
4889
|
+
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
4890
|
+
}>, "strip", z.ZodTypeAny, {
|
4891
|
+
type: "FORM";
|
4892
|
+
id: string;
|
4893
|
+
title: TranslationConfig;
|
4894
|
+
fields: ({
|
4895
|
+
type: "DIVIDER";
|
4647
4896
|
id: string;
|
4648
4897
|
label: TranslationConfig;
|
4649
|
-
configuration: {
|
4650
|
-
maxFileSize: number;
|
4651
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
4652
|
-
};
|
4653
|
-
signaturePromptLabel: TranslationConfig;
|
4654
4898
|
parent?: {
|
4655
4899
|
$$field: string;
|
4656
4900
|
} | undefined;
|
@@ -4674,9 +4918,8 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
4674
4918
|
helperText?: TranslationConfig | undefined;
|
4675
4919
|
hideLabel?: boolean | undefined;
|
4676
4920
|
uncorrectable?: boolean | undefined;
|
4677
|
-
defaultValue?: string | undefined;
|
4678
4921
|
} | {
|
4679
|
-
type: "
|
4922
|
+
type: "TEXT";
|
4680
4923
|
id: string;
|
4681
4924
|
label: TranslationConfig;
|
4682
4925
|
parent?: {
|
@@ -4704,10 +4947,13 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
4704
4947
|
uncorrectable?: boolean | undefined;
|
4705
4948
|
defaultValue?: string | undefined;
|
4706
4949
|
configuration?: {
|
4950
|
+
type?: "text" | "password" | undefined;
|
4707
4951
|
maxLength?: number | undefined;
|
4952
|
+
prefix?: TranslationConfig | undefined;
|
4953
|
+
postfix?: TranslationConfig | undefined;
|
4708
4954
|
} | undefined;
|
4709
4955
|
} | {
|
4710
|
-
type: "
|
4956
|
+
type: "NUMBER";
|
4711
4957
|
id: string;
|
4712
4958
|
label: TranslationConfig;
|
4713
4959
|
parent?: {
|
@@ -4733,12 +4979,145 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
4733
4979
|
helperText?: TranslationConfig | undefined;
|
4734
4980
|
hideLabel?: boolean | undefined;
|
4735
4981
|
uncorrectable?: boolean | undefined;
|
4736
|
-
defaultValue?:
|
4982
|
+
defaultValue?: number | undefined;
|
4737
4983
|
configuration?: {
|
4738
|
-
|
4984
|
+
prefix?: TranslationConfig | undefined;
|
4985
|
+
postfix?: TranslationConfig | undefined;
|
4986
|
+
min?: number | undefined;
|
4987
|
+
max?: number | undefined;
|
4739
4988
|
} | undefined;
|
4740
4989
|
} | {
|
4741
|
-
type: "
|
4990
|
+
type: "TEXTAREA";
|
4991
|
+
id: string;
|
4992
|
+
label: TranslationConfig;
|
4993
|
+
parent?: {
|
4994
|
+
$$field: string;
|
4995
|
+
} | undefined;
|
4996
|
+
validation?: {
|
4997
|
+
message: TranslationConfig;
|
4998
|
+
validator: import(".").JSONSchema;
|
4999
|
+
}[] | undefined;
|
5000
|
+
required?: boolean | undefined;
|
5001
|
+
conditionals?: ({
|
5002
|
+
type: "SHOW";
|
5003
|
+
conditional: import(".").JSONSchema;
|
5004
|
+
} | {
|
5005
|
+
type: "ENABLE";
|
5006
|
+
conditional: import(".").JSONSchema;
|
5007
|
+
} | {
|
5008
|
+
type: "DISPLAY_ON_REVIEW";
|
5009
|
+
conditional: import(".").JSONSchema;
|
5010
|
+
})[] | undefined;
|
5011
|
+
secured?: boolean | undefined;
|
5012
|
+
placeholder?: TranslationConfig | undefined;
|
5013
|
+
helperText?: TranslationConfig | undefined;
|
5014
|
+
hideLabel?: boolean | undefined;
|
5015
|
+
uncorrectable?: boolean | undefined;
|
5016
|
+
defaultValue?: string | undefined;
|
5017
|
+
configuration?: {
|
5018
|
+
maxLength?: number | undefined;
|
5019
|
+
prefix?: TranslationConfig | undefined;
|
5020
|
+
postfix?: TranslationConfig | undefined;
|
5021
|
+
rows?: number | undefined;
|
5022
|
+
cols?: number | undefined;
|
5023
|
+
} | undefined;
|
5024
|
+
} | {
|
5025
|
+
type: "SIGNATURE";
|
5026
|
+
id: string;
|
5027
|
+
label: TranslationConfig;
|
5028
|
+
configuration: {
|
5029
|
+
maxFileSize: number;
|
5030
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
5031
|
+
};
|
5032
|
+
signaturePromptLabel: TranslationConfig;
|
5033
|
+
parent?: {
|
5034
|
+
$$field: string;
|
5035
|
+
} | undefined;
|
5036
|
+
validation?: {
|
5037
|
+
message: TranslationConfig;
|
5038
|
+
validator: import(".").JSONSchema;
|
5039
|
+
}[] | undefined;
|
5040
|
+
required?: boolean | undefined;
|
5041
|
+
conditionals?: ({
|
5042
|
+
type: "SHOW";
|
5043
|
+
conditional: import(".").JSONSchema;
|
5044
|
+
} | {
|
5045
|
+
type: "ENABLE";
|
5046
|
+
conditional: import(".").JSONSchema;
|
5047
|
+
} | {
|
5048
|
+
type: "DISPLAY_ON_REVIEW";
|
5049
|
+
conditional: import(".").JSONSchema;
|
5050
|
+
})[] | undefined;
|
5051
|
+
secured?: boolean | undefined;
|
5052
|
+
placeholder?: TranslationConfig | undefined;
|
5053
|
+
helperText?: TranslationConfig | undefined;
|
5054
|
+
hideLabel?: boolean | undefined;
|
5055
|
+
uncorrectable?: boolean | undefined;
|
5056
|
+
defaultValue?: string | undefined;
|
5057
|
+
} | {
|
5058
|
+
type: "EMAIL";
|
5059
|
+
id: string;
|
5060
|
+
label: TranslationConfig;
|
5061
|
+
parent?: {
|
5062
|
+
$$field: string;
|
5063
|
+
} | undefined;
|
5064
|
+
validation?: {
|
5065
|
+
message: TranslationConfig;
|
5066
|
+
validator: import(".").JSONSchema;
|
5067
|
+
}[] | undefined;
|
5068
|
+
required?: boolean | undefined;
|
5069
|
+
conditionals?: ({
|
5070
|
+
type: "SHOW";
|
5071
|
+
conditional: import(".").JSONSchema;
|
5072
|
+
} | {
|
5073
|
+
type: "ENABLE";
|
5074
|
+
conditional: import(".").JSONSchema;
|
5075
|
+
} | {
|
5076
|
+
type: "DISPLAY_ON_REVIEW";
|
5077
|
+
conditional: import(".").JSONSchema;
|
5078
|
+
})[] | undefined;
|
5079
|
+
secured?: boolean | undefined;
|
5080
|
+
placeholder?: TranslationConfig | undefined;
|
5081
|
+
helperText?: TranslationConfig | undefined;
|
5082
|
+
hideLabel?: boolean | undefined;
|
5083
|
+
uncorrectable?: boolean | undefined;
|
5084
|
+
defaultValue?: string | undefined;
|
5085
|
+
configuration?: {
|
5086
|
+
maxLength?: number | undefined;
|
5087
|
+
} | undefined;
|
5088
|
+
} | {
|
5089
|
+
type: "DATE";
|
5090
|
+
id: string;
|
5091
|
+
label: TranslationConfig;
|
5092
|
+
parent?: {
|
5093
|
+
$$field: string;
|
5094
|
+
} | undefined;
|
5095
|
+
validation?: {
|
5096
|
+
message: TranslationConfig;
|
5097
|
+
validator: import(".").JSONSchema;
|
5098
|
+
}[] | undefined;
|
5099
|
+
required?: boolean | undefined;
|
5100
|
+
conditionals?: ({
|
5101
|
+
type: "SHOW";
|
5102
|
+
conditional: import(".").JSONSchema;
|
5103
|
+
} | {
|
5104
|
+
type: "ENABLE";
|
5105
|
+
conditional: import(".").JSONSchema;
|
5106
|
+
} | {
|
5107
|
+
type: "DISPLAY_ON_REVIEW";
|
5108
|
+
conditional: import(".").JSONSchema;
|
5109
|
+
})[] | undefined;
|
5110
|
+
secured?: boolean | undefined;
|
5111
|
+
placeholder?: TranslationConfig | undefined;
|
5112
|
+
helperText?: TranslationConfig | undefined;
|
5113
|
+
hideLabel?: boolean | undefined;
|
5114
|
+
uncorrectable?: boolean | undefined;
|
5115
|
+
defaultValue?: string | undefined;
|
5116
|
+
configuration?: {
|
5117
|
+
notice?: TranslationConfig | undefined;
|
5118
|
+
} | undefined;
|
5119
|
+
} | {
|
5120
|
+
type: "TIME";
|
4742
5121
|
id: string;
|
4743
5122
|
label: TranslationConfig;
|
4744
5123
|
parent?: {
|
@@ -5457,6 +5836,85 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
5457
5836
|
helperText?: TranslationConfig | undefined;
|
5458
5837
|
hideLabel?: boolean | undefined;
|
5459
5838
|
uncorrectable?: boolean | undefined;
|
5839
|
+
} | {
|
5840
|
+
type: "BUTTON";
|
5841
|
+
id: string;
|
5842
|
+
label: TranslationConfig;
|
5843
|
+
configuration: {
|
5844
|
+
text: TranslationConfig;
|
5845
|
+
loading?: boolean | undefined;
|
5846
|
+
icon?: string | undefined;
|
5847
|
+
};
|
5848
|
+
parent?: {
|
5849
|
+
$$field: string;
|
5850
|
+
} | undefined;
|
5851
|
+
validation?: {
|
5852
|
+
message: TranslationConfig;
|
5853
|
+
validator: import(".").JSONSchema;
|
5854
|
+
}[] | undefined;
|
5855
|
+
required?: boolean | undefined;
|
5856
|
+
conditionals?: ({
|
5857
|
+
type: "SHOW";
|
5858
|
+
conditional: import(".").JSONSchema;
|
5859
|
+
} | {
|
5860
|
+
type: "ENABLE";
|
5861
|
+
conditional: import(".").JSONSchema;
|
5862
|
+
} | {
|
5863
|
+
type: "DISPLAY_ON_REVIEW";
|
5864
|
+
conditional: import(".").JSONSchema;
|
5865
|
+
})[] | undefined;
|
5866
|
+
secured?: boolean | undefined;
|
5867
|
+
placeholder?: TranslationConfig | undefined;
|
5868
|
+
helperText?: TranslationConfig | undefined;
|
5869
|
+
hideLabel?: boolean | undefined;
|
5870
|
+
uncorrectable?: boolean | undefined;
|
5871
|
+
} | {
|
5872
|
+
type: "HTTP";
|
5873
|
+
id: string;
|
5874
|
+
label: TranslationConfig;
|
5875
|
+
configuration: {
|
5876
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
5877
|
+
trigger: {
|
5878
|
+
$$field: string;
|
5879
|
+
};
|
5880
|
+
url: string;
|
5881
|
+
timeout: number;
|
5882
|
+
params?: Record<string, string> | undefined;
|
5883
|
+
headers?: Record<string, string> | undefined;
|
5884
|
+
body?: Record<string, string> | undefined;
|
5885
|
+
};
|
5886
|
+
parent?: {
|
5887
|
+
$$field: string;
|
5888
|
+
} | undefined;
|
5889
|
+
validation?: {
|
5890
|
+
message: TranslationConfig;
|
5891
|
+
validator: import(".").JSONSchema;
|
5892
|
+
}[] | undefined;
|
5893
|
+
required?: boolean | undefined;
|
5894
|
+
conditionals?: ({
|
5895
|
+
type: "SHOW";
|
5896
|
+
conditional: import(".").JSONSchema;
|
5897
|
+
} | {
|
5898
|
+
type: "ENABLE";
|
5899
|
+
conditional: import(".").JSONSchema;
|
5900
|
+
} | {
|
5901
|
+
type: "DISPLAY_ON_REVIEW";
|
5902
|
+
conditional: import(".").JSONSchema;
|
5903
|
+
})[] | undefined;
|
5904
|
+
secured?: boolean | undefined;
|
5905
|
+
placeholder?: TranslationConfig | undefined;
|
5906
|
+
helperText?: TranslationConfig | undefined;
|
5907
|
+
hideLabel?: boolean | undefined;
|
5908
|
+
uncorrectable?: boolean | undefined;
|
5909
|
+
defaultValue?: {
|
5910
|
+
error: {
|
5911
|
+
message: string;
|
5912
|
+
statusCode: number | null;
|
5913
|
+
} | null;
|
5914
|
+
loading: boolean;
|
5915
|
+
data?: any;
|
5916
|
+
trackingValue?: string | undefined;
|
5917
|
+
} | undefined;
|
5460
5918
|
})[];
|
5461
5919
|
conditional?: import(".").JSONSchema | undefined;
|
5462
5920
|
}, {
|
@@ -6943,79 +7401,194 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
6943
7401
|
} | undefined;
|
6944
7402
|
hideLabel?: boolean | undefined;
|
6945
7403
|
uncorrectable?: boolean | undefined;
|
6946
|
-
}
|
6947
|
-
|
6948
|
-
|
6949
|
-
}>;
|
6950
|
-
export type FormPageConfig = z.infer<typeof FormPageConfig>;
|
6951
|
-
export type FormPageConfigInput = z.input<typeof FormPageConfig>;
|
6952
|
-
export declare const VerificationActionConfig: z.ZodObject<{
|
6953
|
-
verify: z.ZodObject<{
|
6954
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6955
|
-
id: string;
|
6956
|
-
description: string;
|
6957
|
-
defaultMessage: string;
|
6958
|
-
}>;
|
6959
|
-
}, "strip", z.ZodTypeAny, {
|
6960
|
-
label: TranslationConfig;
|
6961
|
-
}, {
|
7404
|
+
} | {
|
7405
|
+
type: "BUTTON";
|
7406
|
+
id: string;
|
6962
7407
|
label: {
|
6963
7408
|
id: string;
|
6964
7409
|
description: string;
|
6965
7410
|
defaultMessage: string;
|
6966
7411
|
};
|
6967
|
-
|
6968
|
-
|
6969
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6970
|
-
id: string;
|
6971
|
-
description: string;
|
6972
|
-
defaultMessage: string;
|
6973
|
-
}>;
|
6974
|
-
confirmation: z.ZodObject<{
|
6975
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6976
|
-
id: string;
|
6977
|
-
description: string;
|
6978
|
-
defaultMessage: string;
|
6979
|
-
}>;
|
6980
|
-
body: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
6981
|
-
id: string;
|
6982
|
-
description: string;
|
6983
|
-
defaultMessage: string;
|
6984
|
-
}>;
|
6985
|
-
}, "strip", z.ZodTypeAny, {
|
6986
|
-
title: TranslationConfig;
|
6987
|
-
body: TranslationConfig;
|
6988
|
-
}, {
|
6989
|
-
title: {
|
6990
|
-
id: string;
|
6991
|
-
description: string;
|
6992
|
-
defaultMessage: string;
|
6993
|
-
};
|
6994
|
-
body: {
|
7412
|
+
configuration: {
|
7413
|
+
text: {
|
6995
7414
|
id: string;
|
6996
7415
|
description: string;
|
6997
7416
|
defaultMessage: string;
|
6998
7417
|
};
|
6999
|
-
|
7000
|
-
|
7001
|
-
label: TranslationConfig;
|
7002
|
-
confirmation: {
|
7003
|
-
title: TranslationConfig;
|
7004
|
-
body: TranslationConfig;
|
7005
|
-
};
|
7006
|
-
}, {
|
7007
|
-
label: {
|
7008
|
-
id: string;
|
7009
|
-
description: string;
|
7010
|
-
defaultMessage: string;
|
7418
|
+
loading?: boolean | undefined;
|
7419
|
+
icon?: string | undefined;
|
7011
7420
|
};
|
7012
|
-
|
7013
|
-
|
7421
|
+
parent?: {
|
7422
|
+
$$field: string;
|
7423
|
+
} | undefined;
|
7424
|
+
validation?: {
|
7425
|
+
message: {
|
7014
7426
|
id: string;
|
7015
7427
|
description: string;
|
7016
7428
|
defaultMessage: string;
|
7017
7429
|
};
|
7018
|
-
|
7430
|
+
validator: import(".").JSONSchema;
|
7431
|
+
}[] | undefined;
|
7432
|
+
required?: boolean | undefined;
|
7433
|
+
conditionals?: ({
|
7434
|
+
type: "SHOW";
|
7435
|
+
conditional: import(".").JSONSchema;
|
7436
|
+
} | {
|
7437
|
+
type: "ENABLE";
|
7438
|
+
conditional: import(".").JSONSchema;
|
7439
|
+
} | {
|
7440
|
+
type: "DISPLAY_ON_REVIEW";
|
7441
|
+
conditional: import(".").JSONSchema;
|
7442
|
+
})[] | undefined;
|
7443
|
+
secured?: boolean | undefined;
|
7444
|
+
placeholder?: {
|
7445
|
+
id: string;
|
7446
|
+
description: string;
|
7447
|
+
defaultMessage: string;
|
7448
|
+
} | undefined;
|
7449
|
+
helperText?: {
|
7450
|
+
id: string;
|
7451
|
+
description: string;
|
7452
|
+
defaultMessage: string;
|
7453
|
+
} | undefined;
|
7454
|
+
hideLabel?: boolean | undefined;
|
7455
|
+
uncorrectable?: boolean | undefined;
|
7456
|
+
} | {
|
7457
|
+
type: "HTTP";
|
7458
|
+
id: string;
|
7459
|
+
label: {
|
7460
|
+
id: string;
|
7461
|
+
description: string;
|
7462
|
+
defaultMessage: string;
|
7463
|
+
};
|
7464
|
+
configuration: {
|
7465
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
7466
|
+
trigger: {
|
7467
|
+
$$field: string;
|
7468
|
+
};
|
7469
|
+
url: string;
|
7470
|
+
params?: Record<string, string> | undefined;
|
7471
|
+
headers?: Record<string, string> | undefined;
|
7472
|
+
body?: Record<string, string> | undefined;
|
7473
|
+
timeout?: number | undefined;
|
7474
|
+
};
|
7475
|
+
parent?: {
|
7476
|
+
$$field: string;
|
7477
|
+
} | undefined;
|
7478
|
+
validation?: {
|
7479
|
+
message: {
|
7480
|
+
id: string;
|
7481
|
+
description: string;
|
7482
|
+
defaultMessage: string;
|
7483
|
+
};
|
7484
|
+
validator: import(".").JSONSchema;
|
7485
|
+
}[] | undefined;
|
7486
|
+
required?: boolean | undefined;
|
7487
|
+
conditionals?: ({
|
7488
|
+
type: "SHOW";
|
7489
|
+
conditional: import(".").JSONSchema;
|
7490
|
+
} | {
|
7491
|
+
type: "ENABLE";
|
7492
|
+
conditional: import(".").JSONSchema;
|
7493
|
+
} | {
|
7494
|
+
type: "DISPLAY_ON_REVIEW";
|
7495
|
+
conditional: import(".").JSONSchema;
|
7496
|
+
})[] | undefined;
|
7497
|
+
secured?: boolean | undefined;
|
7498
|
+
placeholder?: {
|
7499
|
+
id: string;
|
7500
|
+
description: string;
|
7501
|
+
defaultMessage: string;
|
7502
|
+
} | undefined;
|
7503
|
+
helperText?: {
|
7504
|
+
id: string;
|
7505
|
+
description: string;
|
7506
|
+
defaultMessage: string;
|
7507
|
+
} | undefined;
|
7508
|
+
hideLabel?: boolean | undefined;
|
7509
|
+
uncorrectable?: boolean | undefined;
|
7510
|
+
defaultValue?: {
|
7511
|
+
error: {
|
7512
|
+
message: string;
|
7513
|
+
statusCode: number | null;
|
7514
|
+
} | null;
|
7515
|
+
loading: boolean;
|
7516
|
+
data?: any;
|
7517
|
+
trackingValue?: string | undefined;
|
7518
|
+
} | undefined;
|
7519
|
+
})[];
|
7520
|
+
type?: "FORM" | undefined;
|
7521
|
+
conditional?: import(".").JSONSchema | undefined;
|
7522
|
+
}>;
|
7523
|
+
export type FormPageConfig = z.infer<typeof FormPageConfig>;
|
7524
|
+
export type FormPageConfigInput = z.input<typeof FormPageConfig>;
|
7525
|
+
export declare const VerificationActionConfig: z.ZodObject<{
|
7526
|
+
verify: z.ZodObject<{
|
7527
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7528
|
+
id: string;
|
7529
|
+
description: string;
|
7530
|
+
defaultMessage: string;
|
7531
|
+
}>;
|
7532
|
+
}, "strip", z.ZodTypeAny, {
|
7533
|
+
label: TranslationConfig;
|
7534
|
+
}, {
|
7535
|
+
label: {
|
7536
|
+
id: string;
|
7537
|
+
description: string;
|
7538
|
+
defaultMessage: string;
|
7539
|
+
};
|
7540
|
+
}>;
|
7541
|
+
cancel: z.ZodObject<{
|
7542
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7543
|
+
id: string;
|
7544
|
+
description: string;
|
7545
|
+
defaultMessage: string;
|
7546
|
+
}>;
|
7547
|
+
confirmation: z.ZodObject<{
|
7548
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7549
|
+
id: string;
|
7550
|
+
description: string;
|
7551
|
+
defaultMessage: string;
|
7552
|
+
}>;
|
7553
|
+
body: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
7554
|
+
id: string;
|
7555
|
+
description: string;
|
7556
|
+
defaultMessage: string;
|
7557
|
+
}>;
|
7558
|
+
}, "strip", z.ZodTypeAny, {
|
7559
|
+
title: TranslationConfig;
|
7560
|
+
body: TranslationConfig;
|
7561
|
+
}, {
|
7562
|
+
title: {
|
7563
|
+
id: string;
|
7564
|
+
description: string;
|
7565
|
+
defaultMessage: string;
|
7566
|
+
};
|
7567
|
+
body: {
|
7568
|
+
id: string;
|
7569
|
+
description: string;
|
7570
|
+
defaultMessage: string;
|
7571
|
+
};
|
7572
|
+
}>;
|
7573
|
+
}, "strip", z.ZodTypeAny, {
|
7574
|
+
label: TranslationConfig;
|
7575
|
+
confirmation: {
|
7576
|
+
title: TranslationConfig;
|
7577
|
+
body: TranslationConfig;
|
7578
|
+
};
|
7579
|
+
}, {
|
7580
|
+
label: {
|
7581
|
+
id: string;
|
7582
|
+
description: string;
|
7583
|
+
defaultMessage: string;
|
7584
|
+
};
|
7585
|
+
confirmation: {
|
7586
|
+
title: {
|
7587
|
+
id: string;
|
7588
|
+
description: string;
|
7589
|
+
defaultMessage: string;
|
7590
|
+
};
|
7591
|
+
body: {
|
7019
7592
|
id: string;
|
7020
7593
|
description: string;
|
7021
7594
|
defaultMessage: string;
|
@@ -9368,48 +9941,342 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9368
9941
|
}>>;
|
9369
9942
|
searchMode: z.ZodOptional<z.ZodBoolean>;
|
9370
9943
|
}, "strip", z.ZodTypeAny, {
|
9371
|
-
name?: {
|
9372
|
-
firstname?: {
|
9373
|
-
required: boolean;
|
9374
|
-
} | undefined;
|
9375
|
-
surname?: {
|
9376
|
-
required: boolean;
|
9377
|
-
} | undefined;
|
9378
|
-
middlename?: {
|
9379
|
-
required: boolean;
|
9380
|
-
} | undefined;
|
9381
|
-
} | undefined;
|
9382
|
-
maxLength?: number | undefined;
|
9383
|
-
prefix?: TranslationConfig | undefined;
|
9384
|
-
postfix?: TranslationConfig | undefined;
|
9385
|
-
searchMode?: boolean | undefined;
|
9944
|
+
name?: {
|
9945
|
+
firstname?: {
|
9946
|
+
required: boolean;
|
9947
|
+
} | undefined;
|
9948
|
+
surname?: {
|
9949
|
+
required: boolean;
|
9950
|
+
} | undefined;
|
9951
|
+
middlename?: {
|
9952
|
+
required: boolean;
|
9953
|
+
} | undefined;
|
9954
|
+
} | undefined;
|
9955
|
+
maxLength?: number | undefined;
|
9956
|
+
prefix?: TranslationConfig | undefined;
|
9957
|
+
postfix?: TranslationConfig | undefined;
|
9958
|
+
searchMode?: boolean | undefined;
|
9959
|
+
}, {
|
9960
|
+
name?: {
|
9961
|
+
firstname?: {
|
9962
|
+
required: boolean;
|
9963
|
+
} | undefined;
|
9964
|
+
surname?: {
|
9965
|
+
required: boolean;
|
9966
|
+
} | undefined;
|
9967
|
+
middlename?: {
|
9968
|
+
required: boolean;
|
9969
|
+
} | undefined;
|
9970
|
+
} | undefined;
|
9971
|
+
maxLength?: number | undefined;
|
9972
|
+
prefix?: {
|
9973
|
+
id: string;
|
9974
|
+
description: string;
|
9975
|
+
defaultMessage: string;
|
9976
|
+
} | undefined;
|
9977
|
+
postfix?: {
|
9978
|
+
id: string;
|
9979
|
+
description: string;
|
9980
|
+
defaultMessage: string;
|
9981
|
+
} | undefined;
|
9982
|
+
searchMode?: boolean | undefined;
|
9983
|
+
}>>>;
|
9984
|
+
}>, "strip", z.ZodTypeAny, {
|
9985
|
+
type: "NAME";
|
9986
|
+
id: string;
|
9987
|
+
label: TranslationConfig;
|
9988
|
+
parent?: {
|
9989
|
+
$$field: string;
|
9990
|
+
} | undefined;
|
9991
|
+
validation?: {
|
9992
|
+
message: TranslationConfig;
|
9993
|
+
validator: import(".").JSONSchema;
|
9994
|
+
}[] | undefined;
|
9995
|
+
required?: boolean | undefined;
|
9996
|
+
conditionals?: ({
|
9997
|
+
type: "SHOW";
|
9998
|
+
conditional: import(".").JSONSchema;
|
9999
|
+
} | {
|
10000
|
+
type: "ENABLE";
|
10001
|
+
conditional: import(".").JSONSchema;
|
10002
|
+
} | {
|
10003
|
+
type: "DISPLAY_ON_REVIEW";
|
10004
|
+
conditional: import(".").JSONSchema;
|
10005
|
+
})[] | undefined;
|
10006
|
+
secured?: boolean | undefined;
|
10007
|
+
placeholder?: TranslationConfig | undefined;
|
10008
|
+
helperText?: TranslationConfig | undefined;
|
10009
|
+
hideLabel?: boolean | undefined;
|
10010
|
+
uncorrectable?: boolean | undefined;
|
10011
|
+
defaultValue?: {
|
10012
|
+
firstname?: string | undefined;
|
10013
|
+
surname?: string | undefined;
|
10014
|
+
middlename?: string | undefined;
|
10015
|
+
} | undefined;
|
10016
|
+
configuration?: {
|
10017
|
+
name?: {
|
10018
|
+
firstname?: {
|
10019
|
+
required: boolean;
|
10020
|
+
} | undefined;
|
10021
|
+
surname?: {
|
10022
|
+
required: boolean;
|
10023
|
+
} | undefined;
|
10024
|
+
middlename?: {
|
10025
|
+
required: boolean;
|
10026
|
+
} | undefined;
|
10027
|
+
} | undefined;
|
10028
|
+
maxLength?: number | undefined;
|
10029
|
+
prefix?: TranslationConfig | undefined;
|
10030
|
+
postfix?: TranslationConfig | undefined;
|
10031
|
+
searchMode?: boolean | undefined;
|
10032
|
+
} | undefined;
|
10033
|
+
}, {
|
10034
|
+
type: "NAME";
|
10035
|
+
id: string;
|
10036
|
+
label: {
|
10037
|
+
id: string;
|
10038
|
+
description: string;
|
10039
|
+
defaultMessage: string;
|
10040
|
+
};
|
10041
|
+
parent?: {
|
10042
|
+
$$field: string;
|
10043
|
+
} | undefined;
|
10044
|
+
validation?: {
|
10045
|
+
message: {
|
10046
|
+
id: string;
|
10047
|
+
description: string;
|
10048
|
+
defaultMessage: string;
|
10049
|
+
};
|
10050
|
+
validator: import(".").JSONSchema;
|
10051
|
+
}[] | undefined;
|
10052
|
+
required?: boolean | undefined;
|
10053
|
+
conditionals?: ({
|
10054
|
+
type: "SHOW";
|
10055
|
+
conditional: import(".").JSONSchema;
|
10056
|
+
} | {
|
10057
|
+
type: "ENABLE";
|
10058
|
+
conditional: import(".").JSONSchema;
|
10059
|
+
} | {
|
10060
|
+
type: "DISPLAY_ON_REVIEW";
|
10061
|
+
conditional: import(".").JSONSchema;
|
10062
|
+
})[] | undefined;
|
10063
|
+
secured?: boolean | undefined;
|
10064
|
+
placeholder?: {
|
10065
|
+
id: string;
|
10066
|
+
description: string;
|
10067
|
+
defaultMessage: string;
|
10068
|
+
} | undefined;
|
10069
|
+
helperText?: {
|
10070
|
+
id: string;
|
10071
|
+
description: string;
|
10072
|
+
defaultMessage: string;
|
10073
|
+
} | undefined;
|
10074
|
+
hideLabel?: boolean | undefined;
|
10075
|
+
uncorrectable?: boolean | undefined;
|
10076
|
+
defaultValue?: {
|
10077
|
+
firstname?: string | undefined;
|
10078
|
+
surname?: string | undefined;
|
10079
|
+
middlename?: string | undefined;
|
10080
|
+
} | undefined;
|
10081
|
+
configuration?: {
|
10082
|
+
name?: {
|
10083
|
+
firstname?: {
|
10084
|
+
required: boolean;
|
10085
|
+
} | undefined;
|
10086
|
+
surname?: {
|
10087
|
+
required: boolean;
|
10088
|
+
} | undefined;
|
10089
|
+
middlename?: {
|
10090
|
+
required: boolean;
|
10091
|
+
} | undefined;
|
10092
|
+
} | undefined;
|
10093
|
+
maxLength?: number | undefined;
|
10094
|
+
prefix?: {
|
10095
|
+
id: string;
|
10096
|
+
description: string;
|
10097
|
+
defaultMessage: string;
|
10098
|
+
} | undefined;
|
10099
|
+
postfix?: {
|
10100
|
+
id: string;
|
10101
|
+
description: string;
|
10102
|
+
defaultMessage: string;
|
10103
|
+
} | undefined;
|
10104
|
+
searchMode?: boolean | undefined;
|
10105
|
+
} | undefined;
|
10106
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10107
|
+
id: z.ZodString;
|
10108
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
10109
|
+
id: string;
|
10110
|
+
description: string;
|
10111
|
+
defaultMessage: string;
|
10112
|
+
}>;
|
10113
|
+
parent: z.ZodOptional<z.ZodObject<{
|
10114
|
+
$$field: z.ZodString;
|
10115
|
+
}, "strip", z.ZodTypeAny, {
|
10116
|
+
$$field: string;
|
10117
|
+
}, {
|
10118
|
+
$$field: string;
|
10119
|
+
}>>;
|
10120
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10121
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
10122
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10123
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
10124
|
+
id: string;
|
10125
|
+
description: string;
|
10126
|
+
defaultMessage: string;
|
10127
|
+
}>>;
|
10128
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
10129
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
10130
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
10131
|
+
id: string;
|
10132
|
+
description: string;
|
10133
|
+
defaultMessage: string;
|
10134
|
+
}>;
|
10135
|
+
}, "strip", z.ZodTypeAny, {
|
10136
|
+
message: TranslationConfig;
|
10137
|
+
validator: import(".").JSONSchema;
|
10138
|
+
}, {
|
10139
|
+
message: {
|
10140
|
+
id: string;
|
10141
|
+
description: string;
|
10142
|
+
defaultMessage: string;
|
10143
|
+
};
|
10144
|
+
validator: import(".").JSONSchema;
|
10145
|
+
}>, "many">>>;
|
10146
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
10147
|
+
id: string;
|
10148
|
+
description: string;
|
10149
|
+
defaultMessage: string;
|
10150
|
+
}>>;
|
10151
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10152
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10153
|
+
}, {
|
10154
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
10155
|
+
type: z.ZodLiteral<"PHONE">;
|
10156
|
+
}>, "strip", z.ZodTypeAny, {
|
10157
|
+
type: "PHONE";
|
10158
|
+
id: string;
|
10159
|
+
label: TranslationConfig;
|
10160
|
+
parent?: {
|
10161
|
+
$$field: string;
|
10162
|
+
} | undefined;
|
10163
|
+
validation?: {
|
10164
|
+
message: TranslationConfig;
|
10165
|
+
validator: import(".").JSONSchema;
|
10166
|
+
}[] | undefined;
|
10167
|
+
required?: boolean | undefined;
|
10168
|
+
conditionals?: ({
|
10169
|
+
type: "SHOW";
|
10170
|
+
conditional: import(".").JSONSchema;
|
10171
|
+
} | {
|
10172
|
+
type: "ENABLE";
|
10173
|
+
conditional: import(".").JSONSchema;
|
10174
|
+
} | {
|
10175
|
+
type: "DISPLAY_ON_REVIEW";
|
10176
|
+
conditional: import(".").JSONSchema;
|
10177
|
+
})[] | undefined;
|
10178
|
+
secured?: boolean | undefined;
|
10179
|
+
placeholder?: TranslationConfig | undefined;
|
10180
|
+
helperText?: TranslationConfig | undefined;
|
10181
|
+
hideLabel?: boolean | undefined;
|
10182
|
+
uncorrectable?: boolean | undefined;
|
10183
|
+
defaultValue?: string | undefined;
|
10184
|
+
}, {
|
10185
|
+
type: "PHONE";
|
10186
|
+
id: string;
|
10187
|
+
label: {
|
10188
|
+
id: string;
|
10189
|
+
description: string;
|
10190
|
+
defaultMessage: string;
|
10191
|
+
};
|
10192
|
+
parent?: {
|
10193
|
+
$$field: string;
|
10194
|
+
} | undefined;
|
10195
|
+
validation?: {
|
10196
|
+
message: {
|
10197
|
+
id: string;
|
10198
|
+
description: string;
|
10199
|
+
defaultMessage: string;
|
10200
|
+
};
|
10201
|
+
validator: import(".").JSONSchema;
|
10202
|
+
}[] | undefined;
|
10203
|
+
required?: boolean | undefined;
|
10204
|
+
conditionals?: ({
|
10205
|
+
type: "SHOW";
|
10206
|
+
conditional: import(".").JSONSchema;
|
10207
|
+
} | {
|
10208
|
+
type: "ENABLE";
|
10209
|
+
conditional: import(".").JSONSchema;
|
10210
|
+
} | {
|
10211
|
+
type: "DISPLAY_ON_REVIEW";
|
10212
|
+
conditional: import(".").JSONSchema;
|
10213
|
+
})[] | undefined;
|
10214
|
+
secured?: boolean | undefined;
|
10215
|
+
placeholder?: {
|
10216
|
+
id: string;
|
10217
|
+
description: string;
|
10218
|
+
defaultMessage: string;
|
10219
|
+
} | undefined;
|
10220
|
+
helperText?: {
|
10221
|
+
id: string;
|
10222
|
+
description: string;
|
10223
|
+
defaultMessage: string;
|
10224
|
+
} | undefined;
|
10225
|
+
hideLabel?: boolean | undefined;
|
10226
|
+
uncorrectable?: boolean | undefined;
|
10227
|
+
defaultValue?: string | undefined;
|
10228
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10229
|
+
id: z.ZodString;
|
10230
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
10231
|
+
id: string;
|
10232
|
+
description: string;
|
10233
|
+
defaultMessage: string;
|
10234
|
+
}>;
|
10235
|
+
parent: z.ZodOptional<z.ZodObject<{
|
10236
|
+
$$field: z.ZodString;
|
10237
|
+
}, "strip", z.ZodTypeAny, {
|
10238
|
+
$$field: string;
|
9386
10239
|
}, {
|
9387
|
-
|
9388
|
-
|
9389
|
-
|
9390
|
-
|
9391
|
-
|
9392
|
-
|
9393
|
-
|
9394
|
-
|
9395
|
-
|
9396
|
-
|
9397
|
-
|
9398
|
-
|
9399
|
-
|
10240
|
+
$$field: string;
|
10241
|
+
}>>;
|
10242
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10243
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
10244
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10245
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
10246
|
+
id: string;
|
10247
|
+
description: string;
|
10248
|
+
defaultMessage: string;
|
10249
|
+
}>>;
|
10250
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
10251
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
10252
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9400
10253
|
id: string;
|
9401
10254
|
description: string;
|
9402
10255
|
defaultMessage: string;
|
9403
|
-
}
|
9404
|
-
|
10256
|
+
}>;
|
10257
|
+
}, "strip", z.ZodTypeAny, {
|
10258
|
+
message: TranslationConfig;
|
10259
|
+
validator: import(".").JSONSchema;
|
10260
|
+
}, {
|
10261
|
+
message: {
|
9405
10262
|
id: string;
|
9406
10263
|
description: string;
|
9407
10264
|
defaultMessage: string;
|
9408
|
-
}
|
9409
|
-
|
9410
|
-
}>>>;
|
10265
|
+
};
|
10266
|
+
validator: import(".").JSONSchema;
|
10267
|
+
}>, "many">>>;
|
10268
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
10269
|
+
id: string;
|
10270
|
+
description: string;
|
10271
|
+
defaultMessage: string;
|
10272
|
+
}>>;
|
10273
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10274
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10275
|
+
}, {
|
10276
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
10277
|
+
type: z.ZodLiteral<"ID">;
|
9411
10278
|
}>, "strip", z.ZodTypeAny, {
|
9412
|
-
type: "
|
10279
|
+
type: "ID";
|
9413
10280
|
id: string;
|
9414
10281
|
label: TranslationConfig;
|
9415
10282
|
parent?: {
|
@@ -9435,30 +10302,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9435
10302
|
helperText?: TranslationConfig | undefined;
|
9436
10303
|
hideLabel?: boolean | undefined;
|
9437
10304
|
uncorrectable?: boolean | undefined;
|
9438
|
-
defaultValue?:
|
9439
|
-
firstname?: string | undefined;
|
9440
|
-
surname?: string | undefined;
|
9441
|
-
middlename?: string | undefined;
|
9442
|
-
} | undefined;
|
9443
|
-
configuration?: {
|
9444
|
-
name?: {
|
9445
|
-
firstname?: {
|
9446
|
-
required: boolean;
|
9447
|
-
} | undefined;
|
9448
|
-
surname?: {
|
9449
|
-
required: boolean;
|
9450
|
-
} | undefined;
|
9451
|
-
middlename?: {
|
9452
|
-
required: boolean;
|
9453
|
-
} | undefined;
|
9454
|
-
} | undefined;
|
9455
|
-
maxLength?: number | undefined;
|
9456
|
-
prefix?: TranslationConfig | undefined;
|
9457
|
-
postfix?: TranslationConfig | undefined;
|
9458
|
-
searchMode?: boolean | undefined;
|
9459
|
-
} | undefined;
|
10305
|
+
defaultValue?: string | undefined;
|
9460
10306
|
}, {
|
9461
|
-
type: "
|
10307
|
+
type: "ID";
|
9462
10308
|
id: string;
|
9463
10309
|
label: {
|
9464
10310
|
id: string;
|
@@ -9500,36 +10346,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9500
10346
|
} | undefined;
|
9501
10347
|
hideLabel?: boolean | undefined;
|
9502
10348
|
uncorrectable?: boolean | undefined;
|
9503
|
-
defaultValue?:
|
9504
|
-
firstname?: string | undefined;
|
9505
|
-
surname?: string | undefined;
|
9506
|
-
middlename?: string | undefined;
|
9507
|
-
} | undefined;
|
9508
|
-
configuration?: {
|
9509
|
-
name?: {
|
9510
|
-
firstname?: {
|
9511
|
-
required: boolean;
|
9512
|
-
} | undefined;
|
9513
|
-
surname?: {
|
9514
|
-
required: boolean;
|
9515
|
-
} | undefined;
|
9516
|
-
middlename?: {
|
9517
|
-
required: boolean;
|
9518
|
-
} | undefined;
|
9519
|
-
} | undefined;
|
9520
|
-
maxLength?: number | undefined;
|
9521
|
-
prefix?: {
|
9522
|
-
id: string;
|
9523
|
-
description: string;
|
9524
|
-
defaultMessage: string;
|
9525
|
-
} | undefined;
|
9526
|
-
postfix?: {
|
9527
|
-
id: string;
|
9528
|
-
description: string;
|
9529
|
-
defaultMessage: string;
|
9530
|
-
} | undefined;
|
9531
|
-
searchMode?: boolean | undefined;
|
9532
|
-
} | undefined;
|
10349
|
+
defaultValue?: string | undefined;
|
9533
10350
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9534
10351
|
id: z.ZodString;
|
9535
10352
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -9578,10 +10395,10 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9578
10395
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9579
10396
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9580
10397
|
}, {
|
9581
|
-
|
9582
|
-
|
10398
|
+
type: z.ZodLiteral<"CHECKBOX">;
|
10399
|
+
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
9583
10400
|
}>, "strip", z.ZodTypeAny, {
|
9584
|
-
type: "
|
10401
|
+
type: "CHECKBOX";
|
9585
10402
|
id: string;
|
9586
10403
|
label: TranslationConfig;
|
9587
10404
|
parent?: {
|
@@ -9607,9 +10424,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9607
10424
|
helperText?: TranslationConfig | undefined;
|
9608
10425
|
hideLabel?: boolean | undefined;
|
9609
10426
|
uncorrectable?: boolean | undefined;
|
9610
|
-
defaultValue?:
|
10427
|
+
defaultValue?: boolean | undefined;
|
9611
10428
|
}, {
|
9612
|
-
type: "
|
10429
|
+
type: "CHECKBOX";
|
9613
10430
|
id: string;
|
9614
10431
|
label: {
|
9615
10432
|
id: string;
|
@@ -9651,7 +10468,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9651
10468
|
} | undefined;
|
9652
10469
|
hideLabel?: boolean | undefined;
|
9653
10470
|
uncorrectable?: boolean | undefined;
|
9654
|
-
defaultValue?:
|
10471
|
+
defaultValue?: boolean | undefined;
|
9655
10472
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9656
10473
|
id: z.ZodString;
|
9657
10474
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -9700,12 +10517,66 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9700
10517
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9701
10518
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9702
10519
|
}, {
|
9703
|
-
|
9704
|
-
|
10520
|
+
type: z.ZodLiteral<"FILE">;
|
10521
|
+
defaultValue: z.ZodOptional<z.ZodObject<{
|
10522
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
10523
|
+
originalFilename: z.ZodString;
|
10524
|
+
type: z.ZodString;
|
10525
|
+
}, "strip", z.ZodTypeAny, {
|
10526
|
+
type: string;
|
10527
|
+
path: string;
|
10528
|
+
originalFilename: string;
|
10529
|
+
}, {
|
10530
|
+
type: string;
|
10531
|
+
path: string;
|
10532
|
+
originalFilename: string;
|
10533
|
+
}>>;
|
10534
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
10535
|
+
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
10536
|
+
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
10537
|
+
style: z.ZodOptional<z.ZodObject<{
|
10538
|
+
width: z.ZodOptional<z.ZodEnum<["full", "auto"]>>;
|
10539
|
+
}, "strip", z.ZodTypeAny, {
|
10540
|
+
width?: "full" | "auto" | undefined;
|
10541
|
+
}, {
|
10542
|
+
width?: "full" | "auto" | undefined;
|
10543
|
+
}>>;
|
10544
|
+
fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
10545
|
+
id: string;
|
10546
|
+
description: string;
|
10547
|
+
defaultMessage: string;
|
10548
|
+
}>>;
|
10549
|
+
}, "strip", z.ZodTypeAny, {
|
10550
|
+
maxFileSize: number;
|
10551
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
10552
|
+
style?: {
|
10553
|
+
width?: "full" | "auto" | undefined;
|
10554
|
+
} | undefined;
|
10555
|
+
fileName?: TranslationConfig | undefined;
|
10556
|
+
}, {
|
10557
|
+
maxFileSize?: number | undefined;
|
10558
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
10559
|
+
style?: {
|
10560
|
+
width?: "full" | "auto" | undefined;
|
10561
|
+
} | undefined;
|
10562
|
+
fileName?: {
|
10563
|
+
id: string;
|
10564
|
+
description: string;
|
10565
|
+
defaultMessage: string;
|
10566
|
+
} | undefined;
|
10567
|
+
}>>;
|
9705
10568
|
}>, "strip", z.ZodTypeAny, {
|
9706
|
-
type: "
|
10569
|
+
type: "FILE";
|
9707
10570
|
id: string;
|
9708
10571
|
label: TranslationConfig;
|
10572
|
+
configuration: {
|
10573
|
+
maxFileSize: number;
|
10574
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
10575
|
+
style?: {
|
10576
|
+
width?: "full" | "auto" | undefined;
|
10577
|
+
} | undefined;
|
10578
|
+
fileName?: TranslationConfig | undefined;
|
10579
|
+
};
|
9709
10580
|
parent?: {
|
9710
10581
|
$$field: string;
|
9711
10582
|
} | undefined;
|
@@ -9729,9 +10600,13 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9729
10600
|
helperText?: TranslationConfig | undefined;
|
9730
10601
|
hideLabel?: boolean | undefined;
|
9731
10602
|
uncorrectable?: boolean | undefined;
|
9732
|
-
defaultValue?:
|
10603
|
+
defaultValue?: {
|
10604
|
+
type: string;
|
10605
|
+
path: string;
|
10606
|
+
originalFilename: string;
|
10607
|
+
} | undefined;
|
9733
10608
|
}, {
|
9734
|
-
type: "
|
10609
|
+
type: "FILE";
|
9735
10610
|
id: string;
|
9736
10611
|
label: {
|
9737
10612
|
id: string;
|
@@ -9773,7 +10648,23 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9773
10648
|
} | undefined;
|
9774
10649
|
hideLabel?: boolean | undefined;
|
9775
10650
|
uncorrectable?: boolean | undefined;
|
9776
|
-
defaultValue?:
|
10651
|
+
defaultValue?: {
|
10652
|
+
type: string;
|
10653
|
+
path: string;
|
10654
|
+
originalFilename: string;
|
10655
|
+
} | undefined;
|
10656
|
+
configuration?: {
|
10657
|
+
maxFileSize?: number | undefined;
|
10658
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
10659
|
+
style?: {
|
10660
|
+
width?: "full" | "auto" | undefined;
|
10661
|
+
} | undefined;
|
10662
|
+
fileName?: {
|
10663
|
+
id: string;
|
10664
|
+
description: string;
|
10665
|
+
defaultMessage: string;
|
10666
|
+
} | undefined;
|
10667
|
+
} | undefined;
|
9777
10668
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9778
10669
|
id: z.ZodString;
|
9779
10670
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -9822,10 +10713,10 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9822
10713
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9823
10714
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9824
10715
|
}, {
|
9825
|
-
type: z.ZodLiteral<"
|
9826
|
-
defaultValue: z.ZodOptional<z.
|
10716
|
+
type: z.ZodLiteral<"COUNTRY">;
|
10717
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
9827
10718
|
}>, "strip", z.ZodTypeAny, {
|
9828
|
-
type: "
|
10719
|
+
type: "COUNTRY";
|
9829
10720
|
id: string;
|
9830
10721
|
label: TranslationConfig;
|
9831
10722
|
parent?: {
|
@@ -9851,9 +10742,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9851
10742
|
helperText?: TranslationConfig | undefined;
|
9852
10743
|
hideLabel?: boolean | undefined;
|
9853
10744
|
uncorrectable?: boolean | undefined;
|
9854
|
-
defaultValue?:
|
10745
|
+
defaultValue?: string | undefined;
|
9855
10746
|
}, {
|
9856
|
-
type: "
|
10747
|
+
type: "COUNTRY";
|
9857
10748
|
id: string;
|
9858
10749
|
label: {
|
9859
10750
|
id: string;
|
@@ -9895,7 +10786,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9895
10786
|
} | undefined;
|
9896
10787
|
hideLabel?: boolean | undefined;
|
9897
10788
|
uncorrectable?: boolean | undefined;
|
9898
|
-
defaultValue?:
|
10789
|
+
defaultValue?: string | undefined;
|
9899
10790
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9900
10791
|
id: z.ZodString;
|
9901
10792
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -9944,65 +10835,37 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
9944
10835
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9945
10836
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9946
10837
|
}, {
|
9947
|
-
type: z.ZodLiteral<"
|
9948
|
-
defaultValue: z.ZodOptional<z.
|
9949
|
-
|
9950
|
-
|
9951
|
-
|
9952
|
-
}, "strip", z.ZodTypeAny, {
|
9953
|
-
type: string;
|
9954
|
-
path: string;
|
9955
|
-
originalFilename: string;
|
9956
|
-
}, {
|
9957
|
-
type: string;
|
9958
|
-
path: string;
|
9959
|
-
originalFilename: string;
|
9960
|
-
}>>;
|
9961
|
-
configuration: z.ZodDefault<z.ZodObject<{
|
9962
|
-
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
9963
|
-
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
9964
|
-
style: z.ZodOptional<z.ZodObject<{
|
9965
|
-
width: z.ZodOptional<z.ZodEnum<["full", "auto"]>>;
|
10838
|
+
type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
|
10839
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
10840
|
+
configuration: z.ZodObject<{
|
10841
|
+
partOf: z.ZodOptional<z.ZodObject<{
|
10842
|
+
$declaration: z.ZodString;
|
9966
10843
|
}, "strip", z.ZodTypeAny, {
|
9967
|
-
|
10844
|
+
$declaration: string;
|
9968
10845
|
}, {
|
9969
|
-
|
9970
|
-
}>>;
|
9971
|
-
fileName: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
9972
|
-
id: string;
|
9973
|
-
description: string;
|
9974
|
-
defaultMessage: string;
|
10846
|
+
$declaration: string;
|
9975
10847
|
}>>;
|
10848
|
+
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
9976
10849
|
}, "strip", z.ZodTypeAny, {
|
9977
|
-
|
9978
|
-
|
9979
|
-
|
9980
|
-
width?: "full" | "auto" | undefined;
|
10850
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
10851
|
+
partOf?: {
|
10852
|
+
$declaration: string;
|
9981
10853
|
} | undefined;
|
9982
|
-
fileName?: TranslationConfig | undefined;
|
9983
10854
|
}, {
|
9984
|
-
|
9985
|
-
|
9986
|
-
|
9987
|
-
width?: "full" | "auto" | undefined;
|
9988
|
-
} | undefined;
|
9989
|
-
fileName?: {
|
9990
|
-
id: string;
|
9991
|
-
description: string;
|
9992
|
-
defaultMessage: string;
|
10855
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
10856
|
+
partOf?: {
|
10857
|
+
$declaration: string;
|
9993
10858
|
} | undefined;
|
9994
|
-
}
|
10859
|
+
}>;
|
9995
10860
|
}>, "strip", z.ZodTypeAny, {
|
9996
|
-
type: "
|
10861
|
+
type: "ADMINISTRATIVE_AREA";
|
9997
10862
|
id: string;
|
9998
10863
|
label: TranslationConfig;
|
9999
10864
|
configuration: {
|
10000
|
-
|
10001
|
-
|
10002
|
-
|
10003
|
-
width?: "full" | "auto" | undefined;
|
10865
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
10866
|
+
partOf?: {
|
10867
|
+
$declaration: string;
|
10004
10868
|
} | undefined;
|
10005
|
-
fileName?: TranslationConfig | undefined;
|
10006
10869
|
};
|
10007
10870
|
parent?: {
|
10008
10871
|
$$field: string;
|
@@ -10027,19 +10890,21 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10027
10890
|
helperText?: TranslationConfig | undefined;
|
10028
10891
|
hideLabel?: boolean | undefined;
|
10029
10892
|
uncorrectable?: boolean | undefined;
|
10030
|
-
defaultValue?:
|
10031
|
-
type: string;
|
10032
|
-
path: string;
|
10033
|
-
originalFilename: string;
|
10034
|
-
} | undefined;
|
10893
|
+
defaultValue?: string | undefined;
|
10035
10894
|
}, {
|
10036
|
-
type: "
|
10895
|
+
type: "ADMINISTRATIVE_AREA";
|
10037
10896
|
id: string;
|
10038
10897
|
label: {
|
10039
10898
|
id: string;
|
10040
10899
|
description: string;
|
10041
10900
|
defaultMessage: string;
|
10042
10901
|
};
|
10902
|
+
configuration: {
|
10903
|
+
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
10904
|
+
partOf?: {
|
10905
|
+
$declaration: string;
|
10906
|
+
} | undefined;
|
10907
|
+
};
|
10043
10908
|
parent?: {
|
10044
10909
|
$$field: string;
|
10045
10910
|
} | undefined;
|
@@ -10075,23 +10940,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10075
10940
|
} | undefined;
|
10076
10941
|
hideLabel?: boolean | undefined;
|
10077
10942
|
uncorrectable?: boolean | undefined;
|
10078
|
-
defaultValue?:
|
10079
|
-
type: string;
|
10080
|
-
path: string;
|
10081
|
-
originalFilename: string;
|
10082
|
-
} | undefined;
|
10083
|
-
configuration?: {
|
10084
|
-
maxFileSize?: number | undefined;
|
10085
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
10086
|
-
style?: {
|
10087
|
-
width?: "full" | "auto" | undefined;
|
10088
|
-
} | undefined;
|
10089
|
-
fileName?: {
|
10090
|
-
id: string;
|
10091
|
-
description: string;
|
10092
|
-
defaultMessage: string;
|
10093
|
-
} | undefined;
|
10094
|
-
} | undefined;
|
10943
|
+
defaultValue?: string | undefined;
|
10095
10944
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10096
10945
|
id: z.ZodString;
|
10097
10946
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -10140,10 +10989,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10140
10989
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10141
10990
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10142
10991
|
}, {
|
10143
|
-
type: z.ZodLiteral<"
|
10144
|
-
defaultValue: z.ZodOptional<z.ZodString>;
|
10992
|
+
type: z.ZodLiteral<"DIVIDER">;
|
10145
10993
|
}>, "strip", z.ZodTypeAny, {
|
10146
|
-
type: "
|
10994
|
+
type: "DIVIDER";
|
10147
10995
|
id: string;
|
10148
10996
|
label: TranslationConfig;
|
10149
10997
|
parent?: {
|
@@ -10169,9 +11017,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10169
11017
|
helperText?: TranslationConfig | undefined;
|
10170
11018
|
hideLabel?: boolean | undefined;
|
10171
11019
|
uncorrectable?: boolean | undefined;
|
10172
|
-
defaultValue?: string | undefined;
|
10173
11020
|
}, {
|
10174
|
-
type: "
|
11021
|
+
type: "DIVIDER";
|
10175
11022
|
id: string;
|
10176
11023
|
label: {
|
10177
11024
|
id: string;
|
@@ -10213,7 +11060,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10213
11060
|
} | undefined;
|
10214
11061
|
hideLabel?: boolean | undefined;
|
10215
11062
|
uncorrectable?: boolean | undefined;
|
10216
|
-
defaultValue?: string | undefined;
|
10217
11063
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10218
11064
|
id: z.ZodString;
|
10219
11065
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -10262,38 +11108,19 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10262
11108
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10263
11109
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10264
11110
|
}, {
|
10265
|
-
type: z.ZodLiteral<"
|
11111
|
+
type: z.ZodLiteral<"LOCATION">;
|
10266
11112
|
defaultValue: z.ZodOptional<z.ZodString>;
|
10267
|
-
configuration: z.ZodObject<{
|
10268
|
-
|
10269
|
-
$declaration: z.ZodString;
|
10270
|
-
}, "strip", z.ZodTypeAny, {
|
10271
|
-
$declaration: string;
|
10272
|
-
}, {
|
10273
|
-
$declaration: string;
|
10274
|
-
}>>;
|
10275
|
-
type: z.ZodEnum<["ADMIN_STRUCTURE", "HEALTH_FACILITY", "CRVS_OFFICE"]>;
|
11113
|
+
configuration: z.ZodOptional<z.ZodObject<{
|
11114
|
+
searchableResource: z.ZodOptional<z.ZodArray<z.ZodEnum<["locations", "facilities", "offices"]>, "many">>;
|
10276
11115
|
}, "strip", z.ZodTypeAny, {
|
10277
|
-
|
10278
|
-
partOf?: {
|
10279
|
-
$declaration: string;
|
10280
|
-
} | undefined;
|
11116
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
10281
11117
|
}, {
|
10282
|
-
|
10283
|
-
|
10284
|
-
$declaration: string;
|
10285
|
-
} | undefined;
|
10286
|
-
}>;
|
11118
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
11119
|
+
}>>;
|
10287
11120
|
}>, "strip", z.ZodTypeAny, {
|
10288
|
-
type: "
|
11121
|
+
type: "LOCATION";
|
10289
11122
|
id: string;
|
10290
11123
|
label: TranslationConfig;
|
10291
|
-
configuration: {
|
10292
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
10293
|
-
partOf?: {
|
10294
|
-
$declaration: string;
|
10295
|
-
} | undefined;
|
10296
|
-
};
|
10297
11124
|
parent?: {
|
10298
11125
|
$$field: string;
|
10299
11126
|
} | undefined;
|
@@ -10318,20 +11145,17 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10318
11145
|
hideLabel?: boolean | undefined;
|
10319
11146
|
uncorrectable?: boolean | undefined;
|
10320
11147
|
defaultValue?: string | undefined;
|
11148
|
+
configuration?: {
|
11149
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
11150
|
+
} | undefined;
|
10321
11151
|
}, {
|
10322
|
-
type: "
|
11152
|
+
type: "LOCATION";
|
10323
11153
|
id: string;
|
10324
11154
|
label: {
|
10325
11155
|
id: string;
|
10326
11156
|
description: string;
|
10327
11157
|
defaultMessage: string;
|
10328
11158
|
};
|
10329
|
-
configuration: {
|
10330
|
-
type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
|
10331
|
-
partOf?: {
|
10332
|
-
$declaration: string;
|
10333
|
-
} | undefined;
|
10334
|
-
};
|
10335
11159
|
parent?: {
|
10336
11160
|
$$field: string;
|
10337
11161
|
} | undefined;
|
@@ -10368,6 +11192,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10368
11192
|
hideLabel?: boolean | undefined;
|
10369
11193
|
uncorrectable?: boolean | undefined;
|
10370
11194
|
defaultValue?: string | undefined;
|
11195
|
+
configuration?: {
|
11196
|
+
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
11197
|
+
} | undefined;
|
10371
11198
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10372
11199
|
id: z.ZodString;
|
10373
11200
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -10416,9 +11243,10 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10416
11243
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10417
11244
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10418
11245
|
}, {
|
10419
|
-
type: z.ZodLiteral<"
|
11246
|
+
type: z.ZodLiteral<"FACILITY">;
|
11247
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
10420
11248
|
}>, "strip", z.ZodTypeAny, {
|
10421
|
-
type: "
|
11249
|
+
type: "FACILITY";
|
10422
11250
|
id: string;
|
10423
11251
|
label: TranslationConfig;
|
10424
11252
|
parent?: {
|
@@ -10444,8 +11272,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10444
11272
|
helperText?: TranslationConfig | undefined;
|
10445
11273
|
hideLabel?: boolean | undefined;
|
10446
11274
|
uncorrectable?: boolean | undefined;
|
11275
|
+
defaultValue?: string | undefined;
|
10447
11276
|
}, {
|
10448
|
-
type: "
|
11277
|
+
type: "FACILITY";
|
10449
11278
|
id: string;
|
10450
11279
|
label: {
|
10451
11280
|
id: string;
|
@@ -10487,6 +11316,7 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10487
11316
|
} | undefined;
|
10488
11317
|
hideLabel?: boolean | undefined;
|
10489
11318
|
uncorrectable?: boolean | undefined;
|
11319
|
+
defaultValue?: string | undefined;
|
10490
11320
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10491
11321
|
id: z.ZodString;
|
10492
11322
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -10535,17 +11365,10 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10535
11365
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10536
11366
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10537
11367
|
}, {
|
10538
|
-
type: z.ZodLiteral<"
|
11368
|
+
type: z.ZodLiteral<"OFFICE">;
|
10539
11369
|
defaultValue: z.ZodOptional<z.ZodString>;
|
10540
|
-
configuration: z.ZodOptional<z.ZodObject<{
|
10541
|
-
searchableResource: z.ZodOptional<z.ZodArray<z.ZodEnum<["locations", "facilities", "offices"]>, "many">>;
|
10542
|
-
}, "strip", z.ZodTypeAny, {
|
10543
|
-
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
10544
|
-
}, {
|
10545
|
-
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
10546
|
-
}>>;
|
10547
11370
|
}>, "strip", z.ZodTypeAny, {
|
10548
|
-
type: "
|
11371
|
+
type: "OFFICE";
|
10549
11372
|
id: string;
|
10550
11373
|
label: TranslationConfig;
|
10551
11374
|
parent?: {
|
@@ -10572,11 +11395,8 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10572
11395
|
hideLabel?: boolean | undefined;
|
10573
11396
|
uncorrectable?: boolean | undefined;
|
10574
11397
|
defaultValue?: string | undefined;
|
10575
|
-
configuration?: {
|
10576
|
-
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
10577
|
-
} | undefined;
|
10578
11398
|
}, {
|
10579
|
-
type: "
|
11399
|
+
type: "OFFICE";
|
10580
11400
|
id: string;
|
10581
11401
|
label: {
|
10582
11402
|
id: string;
|
@@ -10619,9 +11439,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10619
11439
|
hideLabel?: boolean | undefined;
|
10620
11440
|
uncorrectable?: boolean | undefined;
|
10621
11441
|
defaultValue?: string | undefined;
|
10622
|
-
configuration?: {
|
10623
|
-
searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
|
10624
|
-
} | undefined;
|
10625
11442
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10626
11443
|
id: z.ZodString;
|
10627
11444
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -10670,12 +11487,32 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10670
11487
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10671
11488
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10672
11489
|
}, {
|
10673
|
-
type: z.ZodLiteral<"
|
11490
|
+
type: z.ZodLiteral<"SIGNATURE">;
|
11491
|
+
signaturePromptLabel: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11492
|
+
id: string;
|
11493
|
+
description: string;
|
11494
|
+
defaultMessage: string;
|
11495
|
+
}>;
|
10674
11496
|
defaultValue: z.ZodOptional<z.ZodString>;
|
11497
|
+
configuration: z.ZodDefault<z.ZodObject<{
|
11498
|
+
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
11499
|
+
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
11500
|
+
}, "strip", z.ZodTypeAny, {
|
11501
|
+
maxFileSize: number;
|
11502
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
11503
|
+
}, {
|
11504
|
+
maxFileSize?: number | undefined;
|
11505
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
11506
|
+
}>>;
|
10675
11507
|
}>, "strip", z.ZodTypeAny, {
|
10676
|
-
type: "
|
11508
|
+
type: "SIGNATURE";
|
10677
11509
|
id: string;
|
10678
11510
|
label: TranslationConfig;
|
11511
|
+
configuration: {
|
11512
|
+
maxFileSize: number;
|
11513
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
11514
|
+
};
|
11515
|
+
signaturePromptLabel: TranslationConfig;
|
10679
11516
|
parent?: {
|
10680
11517
|
$$field: string;
|
10681
11518
|
} | undefined;
|
@@ -10701,13 +11538,18 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10701
11538
|
uncorrectable?: boolean | undefined;
|
10702
11539
|
defaultValue?: string | undefined;
|
10703
11540
|
}, {
|
10704
|
-
type: "
|
11541
|
+
type: "SIGNATURE";
|
10705
11542
|
id: string;
|
10706
11543
|
label: {
|
10707
11544
|
id: string;
|
10708
11545
|
description: string;
|
10709
11546
|
defaultMessage: string;
|
10710
11547
|
};
|
11548
|
+
signaturePromptLabel: {
|
11549
|
+
id: string;
|
11550
|
+
description: string;
|
11551
|
+
defaultMessage: string;
|
11552
|
+
};
|
10711
11553
|
parent?: {
|
10712
11554
|
$$field: string;
|
10713
11555
|
} | undefined;
|
@@ -10744,6 +11586,10 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10744
11586
|
hideLabel?: boolean | undefined;
|
10745
11587
|
uncorrectable?: boolean | undefined;
|
10746
11588
|
defaultValue?: string | undefined;
|
11589
|
+
configuration?: {
|
11590
|
+
maxFileSize?: number | undefined;
|
11591
|
+
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
11592
|
+
} | undefined;
|
10747
11593
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10748
11594
|
id: z.ZodString;
|
10749
11595
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -10792,10 +11638,17 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10792
11638
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10793
11639
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10794
11640
|
}, {
|
10795
|
-
type: z.ZodLiteral<"
|
11641
|
+
type: z.ZodLiteral<"EMAIL">;
|
11642
|
+
configuration: z.ZodOptional<z.ZodDefault<z.ZodObject<{
|
11643
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
11644
|
+
}, "strip", z.ZodTypeAny, {
|
11645
|
+
maxLength?: number | undefined;
|
11646
|
+
}, {
|
11647
|
+
maxLength?: number | undefined;
|
11648
|
+
}>>>;
|
10796
11649
|
defaultValue: z.ZodOptional<z.ZodString>;
|
10797
11650
|
}>, "strip", z.ZodTypeAny, {
|
10798
|
-
type: "
|
11651
|
+
type: "EMAIL";
|
10799
11652
|
id: string;
|
10800
11653
|
label: TranslationConfig;
|
10801
11654
|
parent?: {
|
@@ -10822,8 +11675,11 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10822
11675
|
hideLabel?: boolean | undefined;
|
10823
11676
|
uncorrectable?: boolean | undefined;
|
10824
11677
|
defaultValue?: string | undefined;
|
11678
|
+
configuration?: {
|
11679
|
+
maxLength?: number | undefined;
|
11680
|
+
} | undefined;
|
10825
11681
|
}, {
|
10826
|
-
type: "
|
11682
|
+
type: "EMAIL";
|
10827
11683
|
id: string;
|
10828
11684
|
label: {
|
10829
11685
|
id: string;
|
@@ -10866,6 +11722,9 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10866
11722
|
hideLabel?: boolean | undefined;
|
10867
11723
|
uncorrectable?: boolean | undefined;
|
10868
11724
|
defaultValue?: string | undefined;
|
11725
|
+
configuration?: {
|
11726
|
+
maxLength?: number | undefined;
|
11727
|
+
} | undefined;
|
10869
11728
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
10870
11729
|
id: z.ZodString;
|
10871
11730
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -10899,28 +11758,56 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10899
11758
|
message: TranslationConfig;
|
10900
11759
|
validator: import(".").JSONSchema;
|
10901
11760
|
}, {
|
10902
|
-
message: {
|
10903
|
-
id: string;
|
10904
|
-
description: string;
|
10905
|
-
defaultMessage: string;
|
10906
|
-
};
|
10907
|
-
validator: import(".").JSONSchema;
|
10908
|
-
}>, "many">>>;
|
10909
|
-
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
10910
|
-
id: string;
|
10911
|
-
description: string;
|
10912
|
-
defaultMessage: string;
|
10913
|
-
}>>;
|
10914
|
-
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10915
|
-
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
10916
|
-
}, {
|
10917
|
-
type: z.ZodLiteral<"
|
10918
|
-
|
10919
|
-
|
10920
|
-
|
10921
|
-
|
10922
|
-
|
10923
|
-
|
11761
|
+
message: {
|
11762
|
+
id: string;
|
11763
|
+
description: string;
|
11764
|
+
defaultMessage: string;
|
11765
|
+
};
|
11766
|
+
validator: import(".").JSONSchema;
|
11767
|
+
}>, "many">>>;
|
11768
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11769
|
+
id: string;
|
11770
|
+
description: string;
|
11771
|
+
defaultMessage: string;
|
11772
|
+
}>>;
|
11773
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
11774
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
11775
|
+
}, {
|
11776
|
+
type: z.ZodLiteral<"FILE_WITH_OPTIONS">;
|
11777
|
+
options: z.ZodArray<z.ZodObject<{
|
11778
|
+
value: z.ZodString;
|
11779
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11780
|
+
id: string;
|
11781
|
+
description: string;
|
11782
|
+
defaultMessage: string;
|
11783
|
+
}>;
|
11784
|
+
}, "strip", z.ZodTypeAny, {
|
11785
|
+
value: string;
|
11786
|
+
label: TranslationConfig;
|
11787
|
+
}, {
|
11788
|
+
value: string;
|
11789
|
+
label: {
|
11790
|
+
id: string;
|
11791
|
+
description: string;
|
11792
|
+
defaultMessage: string;
|
11793
|
+
};
|
11794
|
+
}>, "many">;
|
11795
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
11796
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
11797
|
+
originalFilename: z.ZodString;
|
11798
|
+
type: z.ZodString;
|
11799
|
+
option: z.ZodString;
|
11800
|
+
}, "strip", z.ZodTypeAny, {
|
11801
|
+
type: string;
|
11802
|
+
option: string;
|
11803
|
+
path: string;
|
11804
|
+
originalFilename: string;
|
11805
|
+
}, {
|
11806
|
+
type: string;
|
11807
|
+
option: string;
|
11808
|
+
path: string;
|
11809
|
+
originalFilename: string;
|
11810
|
+
}>, "many">>;
|
10924
11811
|
configuration: z.ZodDefault<z.ZodObject<{
|
10925
11812
|
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
10926
11813
|
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
@@ -10932,14 +11819,17 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10932
11819
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
10933
11820
|
}>>;
|
10934
11821
|
}>, "strip", z.ZodTypeAny, {
|
10935
|
-
type: "
|
11822
|
+
type: "FILE_WITH_OPTIONS";
|
10936
11823
|
id: string;
|
11824
|
+
options: {
|
11825
|
+
value: string;
|
11826
|
+
label: TranslationConfig;
|
11827
|
+
}[];
|
10937
11828
|
label: TranslationConfig;
|
10938
11829
|
configuration: {
|
10939
11830
|
maxFileSize: number;
|
10940
11831
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
10941
11832
|
};
|
10942
|
-
signaturePromptLabel: TranslationConfig;
|
10943
11833
|
parent?: {
|
10944
11834
|
$$field: string;
|
10945
11835
|
} | undefined;
|
@@ -10963,20 +11853,28 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
10963
11853
|
helperText?: TranslationConfig | undefined;
|
10964
11854
|
hideLabel?: boolean | undefined;
|
10965
11855
|
uncorrectable?: boolean | undefined;
|
10966
|
-
defaultValue?:
|
11856
|
+
defaultValue?: {
|
11857
|
+
type: string;
|
11858
|
+
option: string;
|
11859
|
+
path: string;
|
11860
|
+
originalFilename: string;
|
11861
|
+
}[] | undefined;
|
10967
11862
|
}, {
|
10968
|
-
type: "
|
11863
|
+
type: "FILE_WITH_OPTIONS";
|
10969
11864
|
id: string;
|
11865
|
+
options: {
|
11866
|
+
value: string;
|
11867
|
+
label: {
|
11868
|
+
id: string;
|
11869
|
+
description: string;
|
11870
|
+
defaultMessage: string;
|
11871
|
+
};
|
11872
|
+
}[];
|
10970
11873
|
label: {
|
10971
11874
|
id: string;
|
10972
11875
|
description: string;
|
10973
11876
|
defaultMessage: string;
|
10974
11877
|
};
|
10975
|
-
signaturePromptLabel: {
|
10976
|
-
id: string;
|
10977
|
-
description: string;
|
10978
|
-
defaultMessage: string;
|
10979
|
-
};
|
10980
11878
|
parent?: {
|
10981
11879
|
$$field: string;
|
10982
11880
|
} | undefined;
|
@@ -11012,7 +11910,12 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
11012
11910
|
} | undefined;
|
11013
11911
|
hideLabel?: boolean | undefined;
|
11014
11912
|
uncorrectable?: boolean | undefined;
|
11015
|
-
defaultValue?:
|
11913
|
+
defaultValue?: {
|
11914
|
+
type: string;
|
11915
|
+
option: string;
|
11916
|
+
path: string;
|
11917
|
+
originalFilename: string;
|
11918
|
+
}[] | undefined;
|
11016
11919
|
configuration?: {
|
11017
11920
|
maxFileSize?: number | undefined;
|
11018
11921
|
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
@@ -11065,19 +11968,87 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
11065
11968
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
11066
11969
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
11067
11970
|
}, {
|
11068
|
-
type: z.ZodLiteral<"
|
11069
|
-
configuration: z.
|
11070
|
-
|
11971
|
+
type: z.ZodLiteral<"DATA">;
|
11972
|
+
configuration: z.ZodObject<{
|
11973
|
+
subtitle: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11974
|
+
id: string;
|
11975
|
+
description: string;
|
11976
|
+
defaultMessage: string;
|
11977
|
+
}>>;
|
11978
|
+
data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
11979
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11980
|
+
id: string;
|
11981
|
+
description: string;
|
11982
|
+
defaultMessage: string;
|
11983
|
+
}>;
|
11984
|
+
value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11985
|
+
id: string;
|
11986
|
+
description: string;
|
11987
|
+
defaultMessage: string;
|
11988
|
+
}>, z.ZodString]>;
|
11989
|
+
}, "strip", z.ZodTypeAny, {
|
11990
|
+
value: string | TranslationConfig;
|
11991
|
+
label: TranslationConfig;
|
11992
|
+
}, {
|
11993
|
+
value: string | {
|
11994
|
+
id: string;
|
11995
|
+
description: string;
|
11996
|
+
defaultMessage: string;
|
11997
|
+
};
|
11998
|
+
label: {
|
11999
|
+
id: string;
|
12000
|
+
description: string;
|
12001
|
+
defaultMessage: string;
|
12002
|
+
};
|
12003
|
+
}>, z.ZodObject<{
|
12004
|
+
fieldId: z.ZodString;
|
12005
|
+
}, "strip", z.ZodTypeAny, {
|
12006
|
+
fieldId: string;
|
12007
|
+
}, {
|
12008
|
+
fieldId: string;
|
12009
|
+
}>]>, "many">;
|
11071
12010
|
}, "strip", z.ZodTypeAny, {
|
11072
|
-
|
12011
|
+
data: ({
|
12012
|
+
value: string | TranslationConfig;
|
12013
|
+
label: TranslationConfig;
|
12014
|
+
} | {
|
12015
|
+
fieldId: string;
|
12016
|
+
})[];
|
12017
|
+
subtitle?: TranslationConfig | undefined;
|
11073
12018
|
}, {
|
11074
|
-
|
11075
|
-
|
11076
|
-
|
12019
|
+
data: ({
|
12020
|
+
value: string | {
|
12021
|
+
id: string;
|
12022
|
+
description: string;
|
12023
|
+
defaultMessage: string;
|
12024
|
+
};
|
12025
|
+
label: {
|
12026
|
+
id: string;
|
12027
|
+
description: string;
|
12028
|
+
defaultMessage: string;
|
12029
|
+
};
|
12030
|
+
} | {
|
12031
|
+
fieldId: string;
|
12032
|
+
})[];
|
12033
|
+
subtitle?: {
|
12034
|
+
id: string;
|
12035
|
+
description: string;
|
12036
|
+
defaultMessage: string;
|
12037
|
+
} | undefined;
|
12038
|
+
}>;
|
11077
12039
|
}>, "strip", z.ZodTypeAny, {
|
11078
|
-
type: "
|
12040
|
+
type: "DATA";
|
11079
12041
|
id: string;
|
11080
12042
|
label: TranslationConfig;
|
12043
|
+
configuration: {
|
12044
|
+
data: ({
|
12045
|
+
value: string | TranslationConfig;
|
12046
|
+
label: TranslationConfig;
|
12047
|
+
} | {
|
12048
|
+
fieldId: string;
|
12049
|
+
})[];
|
12050
|
+
subtitle?: TranslationConfig | undefined;
|
12051
|
+
};
|
11081
12052
|
parent?: {
|
11082
12053
|
$$field: string;
|
11083
12054
|
} | undefined;
|
@@ -11101,18 +12072,35 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
11101
12072
|
helperText?: TranslationConfig | undefined;
|
11102
12073
|
hideLabel?: boolean | undefined;
|
11103
12074
|
uncorrectable?: boolean | undefined;
|
11104
|
-
defaultValue?: string | undefined;
|
11105
|
-
configuration?: {
|
11106
|
-
maxLength?: number | undefined;
|
11107
|
-
} | undefined;
|
11108
12075
|
}, {
|
11109
|
-
type: "
|
12076
|
+
type: "DATA";
|
11110
12077
|
id: string;
|
11111
12078
|
label: {
|
11112
12079
|
id: string;
|
11113
12080
|
description: string;
|
11114
12081
|
defaultMessage: string;
|
11115
12082
|
};
|
12083
|
+
configuration: {
|
12084
|
+
data: ({
|
12085
|
+
value: string | {
|
12086
|
+
id: string;
|
12087
|
+
description: string;
|
12088
|
+
defaultMessage: string;
|
12089
|
+
};
|
12090
|
+
label: {
|
12091
|
+
id: string;
|
12092
|
+
description: string;
|
12093
|
+
defaultMessage: string;
|
12094
|
+
};
|
12095
|
+
} | {
|
12096
|
+
fieldId: string;
|
12097
|
+
})[];
|
12098
|
+
subtitle?: {
|
12099
|
+
id: string;
|
12100
|
+
description: string;
|
12101
|
+
defaultMessage: string;
|
12102
|
+
} | undefined;
|
12103
|
+
};
|
11116
12104
|
parent?: {
|
11117
12105
|
$$field: string;
|
11118
12106
|
} | undefined;
|
@@ -11148,10 +12136,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
11148
12136
|
} | undefined;
|
11149
12137
|
hideLabel?: boolean | undefined;
|
11150
12138
|
uncorrectable?: boolean | undefined;
|
11151
|
-
defaultValue?: string | undefined;
|
11152
|
-
configuration?: {
|
11153
|
-
maxLength?: number | undefined;
|
11154
|
-
} | undefined;
|
11155
12139
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
11156
12140
|
id: z.ZodString;
|
11157
12141
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -11200,62 +12184,36 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
11200
12184
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
11201
12185
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
11202
12186
|
}, {
|
11203
|
-
type: z.ZodLiteral<"
|
11204
|
-
|
11205
|
-
|
11206
|
-
|
12187
|
+
type: z.ZodLiteral<"BUTTON">;
|
12188
|
+
configuration: z.ZodObject<{
|
12189
|
+
icon: z.ZodOptional<z.ZodString>;
|
12190
|
+
loading: z.ZodOptional<z.ZodBoolean>;
|
12191
|
+
text: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11207
12192
|
id: string;
|
11208
12193
|
description: string;
|
11209
12194
|
defaultMessage: string;
|
11210
12195
|
}>;
|
11211
12196
|
}, "strip", z.ZodTypeAny, {
|
11212
|
-
|
11213
|
-
|
12197
|
+
text: TranslationConfig;
|
12198
|
+
loading?: boolean | undefined;
|
12199
|
+
icon?: string | undefined;
|
11214
12200
|
}, {
|
11215
|
-
|
11216
|
-
label: {
|
12201
|
+
text: {
|
11217
12202
|
id: string;
|
11218
12203
|
description: string;
|
11219
12204
|
defaultMessage: string;
|
11220
12205
|
};
|
11221
|
-
|
11222
|
-
|
11223
|
-
|
11224
|
-
originalFilename: z.ZodString;
|
11225
|
-
type: z.ZodString;
|
11226
|
-
option: z.ZodString;
|
11227
|
-
}, "strip", z.ZodTypeAny, {
|
11228
|
-
type: string;
|
11229
|
-
option: string;
|
11230
|
-
path: string;
|
11231
|
-
originalFilename: string;
|
11232
|
-
}, {
|
11233
|
-
type: string;
|
11234
|
-
option: string;
|
11235
|
-
path: string;
|
11236
|
-
originalFilename: string;
|
11237
|
-
}>, "many">>;
|
11238
|
-
configuration: z.ZodDefault<z.ZodObject<{
|
11239
|
-
maxFileSize: z.ZodDefault<z.ZodNumber>;
|
11240
|
-
acceptedFileTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["image/png", "image/jpg", "image/jpeg", "image/svg+xml"]>, "many">>;
|
11241
|
-
}, "strip", z.ZodTypeAny, {
|
11242
|
-
maxFileSize: number;
|
11243
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
11244
|
-
}, {
|
11245
|
-
maxFileSize?: number | undefined;
|
11246
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
11247
|
-
}>>;
|
12206
|
+
loading?: boolean | undefined;
|
12207
|
+
icon?: string | undefined;
|
12208
|
+
}>;
|
11248
12209
|
}>, "strip", z.ZodTypeAny, {
|
11249
|
-
type: "
|
12210
|
+
type: "BUTTON";
|
11250
12211
|
id: string;
|
11251
|
-
options: {
|
11252
|
-
value: string;
|
11253
|
-
label: TranslationConfig;
|
11254
|
-
}[];
|
11255
12212
|
label: TranslationConfig;
|
11256
12213
|
configuration: {
|
11257
|
-
|
11258
|
-
|
12214
|
+
text: TranslationConfig;
|
12215
|
+
loading?: boolean | undefined;
|
12216
|
+
icon?: string | undefined;
|
11259
12217
|
};
|
11260
12218
|
parent?: {
|
11261
12219
|
$$field: string;
|
@@ -11280,28 +12238,23 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
11280
12238
|
helperText?: TranslationConfig | undefined;
|
11281
12239
|
hideLabel?: boolean | undefined;
|
11282
12240
|
uncorrectable?: boolean | undefined;
|
11283
|
-
defaultValue?: {
|
11284
|
-
type: string;
|
11285
|
-
option: string;
|
11286
|
-
path: string;
|
11287
|
-
originalFilename: string;
|
11288
|
-
}[] | undefined;
|
11289
12241
|
}, {
|
11290
|
-
type: "
|
12242
|
+
type: "BUTTON";
|
11291
12243
|
id: string;
|
11292
|
-
options: {
|
11293
|
-
value: string;
|
11294
|
-
label: {
|
11295
|
-
id: string;
|
11296
|
-
description: string;
|
11297
|
-
defaultMessage: string;
|
11298
|
-
};
|
11299
|
-
}[];
|
11300
12244
|
label: {
|
11301
12245
|
id: string;
|
11302
12246
|
description: string;
|
11303
12247
|
defaultMessage: string;
|
11304
12248
|
};
|
12249
|
+
configuration: {
|
12250
|
+
text: {
|
12251
|
+
id: string;
|
12252
|
+
description: string;
|
12253
|
+
defaultMessage: string;
|
12254
|
+
};
|
12255
|
+
loading?: boolean | undefined;
|
12256
|
+
icon?: string | undefined;
|
12257
|
+
};
|
11305
12258
|
parent?: {
|
11306
12259
|
$$field: string;
|
11307
12260
|
} | undefined;
|
@@ -11337,16 +12290,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
11337
12290
|
} | undefined;
|
11338
12291
|
hideLabel?: boolean | undefined;
|
11339
12292
|
uncorrectable?: boolean | undefined;
|
11340
|
-
defaultValue?: {
|
11341
|
-
type: string;
|
11342
|
-
option: string;
|
11343
|
-
path: string;
|
11344
|
-
originalFilename: string;
|
11345
|
-
}[] | undefined;
|
11346
|
-
configuration?: {
|
11347
|
-
maxFileSize?: number | undefined;
|
11348
|
-
acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
|
11349
|
-
} | undefined;
|
11350
12293
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
11351
12294
|
id: z.ZodString;
|
11352
12295
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
@@ -11395,86 +12338,87 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
11395
12338
|
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
11396
12339
|
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
11397
12340
|
}, {
|
11398
|
-
type: z.ZodLiteral<"
|
11399
|
-
|
11400
|
-
|
11401
|
-
|
11402
|
-
|
11403
|
-
|
11404
|
-
}>>;
|
11405
|
-
data: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
11406
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11407
|
-
id: string;
|
11408
|
-
description: string;
|
11409
|
-
defaultMessage: string;
|
11410
|
-
}>;
|
11411
|
-
value: z.ZodUnion<[z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
11412
|
-
id: string;
|
11413
|
-
description: string;
|
11414
|
-
defaultMessage: string;
|
11415
|
-
}>, z.ZodString]>;
|
12341
|
+
type: z.ZodLiteral<"HTTP">;
|
12342
|
+
defaultValue: z.ZodOptional<z.ZodObject<{
|
12343
|
+
loading: z.ZodBoolean;
|
12344
|
+
error: z.ZodNullable<z.ZodObject<{
|
12345
|
+
statusCode: z.ZodNullable<z.ZodNumber>;
|
12346
|
+
message: z.ZodString;
|
11416
12347
|
}, "strip", z.ZodTypeAny, {
|
11417
|
-
|
11418
|
-
|
12348
|
+
message: string;
|
12349
|
+
statusCode: number | null;
|
11419
12350
|
}, {
|
11420
|
-
|
11421
|
-
|
11422
|
-
|
11423
|
-
|
11424
|
-
|
11425
|
-
|
11426
|
-
|
11427
|
-
|
11428
|
-
|
11429
|
-
|
11430
|
-
|
11431
|
-
|
12351
|
+
message: string;
|
12352
|
+
statusCode: number | null;
|
12353
|
+
}>>;
|
12354
|
+
data: z.ZodAny;
|
12355
|
+
trackingValue: z.ZodOptional<z.ZodString>;
|
12356
|
+
}, "strip", z.ZodTypeAny, {
|
12357
|
+
error: {
|
12358
|
+
message: string;
|
12359
|
+
statusCode: number | null;
|
12360
|
+
} | null;
|
12361
|
+
loading: boolean;
|
12362
|
+
data?: any;
|
12363
|
+
trackingValue?: string | undefined;
|
12364
|
+
}, {
|
12365
|
+
error: {
|
12366
|
+
message: string;
|
12367
|
+
statusCode: number | null;
|
12368
|
+
} | null;
|
12369
|
+
loading: boolean;
|
12370
|
+
data?: any;
|
12371
|
+
trackingValue?: string | undefined;
|
12372
|
+
}>>;
|
12373
|
+
configuration: z.ZodObject<{
|
12374
|
+
trigger: z.ZodObject<{
|
12375
|
+
$$field: z.ZodString;
|
11432
12376
|
}, "strip", z.ZodTypeAny, {
|
11433
|
-
|
12377
|
+
$$field: string;
|
11434
12378
|
}, {
|
11435
|
-
|
11436
|
-
}
|
11437
|
-
|
11438
|
-
|
11439
|
-
|
11440
|
-
|
11441
|
-
|
11442
|
-
|
11443
|
-
|
11444
|
-
|
11445
|
-
|
11446
|
-
|
11447
|
-
|
11448
|
-
|
11449
|
-
|
11450
|
-
|
11451
|
-
|
11452
|
-
|
11453
|
-
|
11454
|
-
|
11455
|
-
|
11456
|
-
|
11457
|
-
}
|
11458
|
-
|
11459
|
-
|
11460
|
-
|
11461
|
-
|
11462
|
-
|
11463
|
-
defaultMessage: string;
|
11464
|
-
} | undefined;
|
12379
|
+
$$field: string;
|
12380
|
+
}>;
|
12381
|
+
url: z.ZodString;
|
12382
|
+
method: z.ZodEnum<["GET", "POST", "PUT", "DELETE"]>;
|
12383
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
12384
|
+
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
12385
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
12386
|
+
timeout: z.ZodDefault<z.ZodNumber>;
|
12387
|
+
}, "strip", z.ZodTypeAny, {
|
12388
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
12389
|
+
trigger: {
|
12390
|
+
$$field: string;
|
12391
|
+
};
|
12392
|
+
url: string;
|
12393
|
+
timeout: number;
|
12394
|
+
params?: Record<string, string> | undefined;
|
12395
|
+
headers?: Record<string, string> | undefined;
|
12396
|
+
body?: Record<string, string> | undefined;
|
12397
|
+
}, {
|
12398
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
12399
|
+
trigger: {
|
12400
|
+
$$field: string;
|
12401
|
+
};
|
12402
|
+
url: string;
|
12403
|
+
params?: Record<string, string> | undefined;
|
12404
|
+
headers?: Record<string, string> | undefined;
|
12405
|
+
body?: Record<string, string> | undefined;
|
12406
|
+
timeout?: number | undefined;
|
11465
12407
|
}>;
|
11466
12408
|
}>, "strip", z.ZodTypeAny, {
|
11467
|
-
type: "
|
12409
|
+
type: "HTTP";
|
11468
12410
|
id: string;
|
11469
12411
|
label: TranslationConfig;
|
11470
12412
|
configuration: {
|
11471
|
-
|
11472
|
-
|
11473
|
-
|
11474
|
-
}
|
11475
|
-
|
11476
|
-
|
11477
|
-
|
12413
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
12414
|
+
trigger: {
|
12415
|
+
$$field: string;
|
12416
|
+
};
|
12417
|
+
url: string;
|
12418
|
+
timeout: number;
|
12419
|
+
params?: Record<string, string> | undefined;
|
12420
|
+
headers?: Record<string, string> | undefined;
|
12421
|
+
body?: Record<string, string> | undefined;
|
11478
12422
|
};
|
11479
12423
|
parent?: {
|
11480
12424
|
$$field: string;
|
@@ -11499,8 +12443,17 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
11499
12443
|
helperText?: TranslationConfig | undefined;
|
11500
12444
|
hideLabel?: boolean | undefined;
|
11501
12445
|
uncorrectable?: boolean | undefined;
|
12446
|
+
defaultValue?: {
|
12447
|
+
error: {
|
12448
|
+
message: string;
|
12449
|
+
statusCode: number | null;
|
12450
|
+
} | null;
|
12451
|
+
loading: boolean;
|
12452
|
+
data?: any;
|
12453
|
+
trackingValue?: string | undefined;
|
12454
|
+
} | undefined;
|
11502
12455
|
}, {
|
11503
|
-
type: "
|
12456
|
+
type: "HTTP";
|
11504
12457
|
id: string;
|
11505
12458
|
label: {
|
11506
12459
|
id: string;
|
@@ -11508,25 +12461,15 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
11508
12461
|
defaultMessage: string;
|
11509
12462
|
};
|
11510
12463
|
configuration: {
|
11511
|
-
|
11512
|
-
|
11513
|
-
|
11514
|
-
|
11515
|
-
|
11516
|
-
|
11517
|
-
|
11518
|
-
|
11519
|
-
|
11520
|
-
defaultMessage: string;
|
11521
|
-
};
|
11522
|
-
} | {
|
11523
|
-
fieldId: string;
|
11524
|
-
})[];
|
11525
|
-
subtitle?: {
|
11526
|
-
id: string;
|
11527
|
-
description: string;
|
11528
|
-
defaultMessage: string;
|
11529
|
-
} | undefined;
|
12464
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
12465
|
+
trigger: {
|
12466
|
+
$$field: string;
|
12467
|
+
};
|
12468
|
+
url: string;
|
12469
|
+
params?: Record<string, string> | undefined;
|
12470
|
+
headers?: Record<string, string> | undefined;
|
12471
|
+
body?: Record<string, string> | undefined;
|
12472
|
+
timeout?: number | undefined;
|
11530
12473
|
};
|
11531
12474
|
parent?: {
|
11532
12475
|
$$field: string;
|
@@ -11563,6 +12506,15 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
11563
12506
|
} | undefined;
|
11564
12507
|
hideLabel?: boolean | undefined;
|
11565
12508
|
uncorrectable?: boolean | undefined;
|
12509
|
+
defaultValue?: {
|
12510
|
+
error: {
|
12511
|
+
message: string;
|
12512
|
+
statusCode: number | null;
|
12513
|
+
} | null;
|
12514
|
+
loading: boolean;
|
12515
|
+
data?: any;
|
12516
|
+
trackingValue?: string | undefined;
|
12517
|
+
} | undefined;
|
11566
12518
|
}>]>, "many">;
|
11567
12519
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
11568
12520
|
}, {
|
@@ -12642,6 +13594,85 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
12642
13594
|
helperText?: TranslationConfig | undefined;
|
12643
13595
|
hideLabel?: boolean | undefined;
|
12644
13596
|
uncorrectable?: boolean | undefined;
|
13597
|
+
} | {
|
13598
|
+
type: "BUTTON";
|
13599
|
+
id: string;
|
13600
|
+
label: TranslationConfig;
|
13601
|
+
configuration: {
|
13602
|
+
text: TranslationConfig;
|
13603
|
+
loading?: boolean | undefined;
|
13604
|
+
icon?: string | undefined;
|
13605
|
+
};
|
13606
|
+
parent?: {
|
13607
|
+
$$field: string;
|
13608
|
+
} | undefined;
|
13609
|
+
validation?: {
|
13610
|
+
message: TranslationConfig;
|
13611
|
+
validator: import(".").JSONSchema;
|
13612
|
+
}[] | undefined;
|
13613
|
+
required?: boolean | undefined;
|
13614
|
+
conditionals?: ({
|
13615
|
+
type: "SHOW";
|
13616
|
+
conditional: import(".").JSONSchema;
|
13617
|
+
} | {
|
13618
|
+
type: "ENABLE";
|
13619
|
+
conditional: import(".").JSONSchema;
|
13620
|
+
} | {
|
13621
|
+
type: "DISPLAY_ON_REVIEW";
|
13622
|
+
conditional: import(".").JSONSchema;
|
13623
|
+
})[] | undefined;
|
13624
|
+
secured?: boolean | undefined;
|
13625
|
+
placeholder?: TranslationConfig | undefined;
|
13626
|
+
helperText?: TranslationConfig | undefined;
|
13627
|
+
hideLabel?: boolean | undefined;
|
13628
|
+
uncorrectable?: boolean | undefined;
|
13629
|
+
} | {
|
13630
|
+
type: "HTTP";
|
13631
|
+
id: string;
|
13632
|
+
label: TranslationConfig;
|
13633
|
+
configuration: {
|
13634
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
13635
|
+
trigger: {
|
13636
|
+
$$field: string;
|
13637
|
+
};
|
13638
|
+
url: string;
|
13639
|
+
timeout: number;
|
13640
|
+
params?: Record<string, string> | undefined;
|
13641
|
+
headers?: Record<string, string> | undefined;
|
13642
|
+
body?: Record<string, string> | undefined;
|
13643
|
+
};
|
13644
|
+
parent?: {
|
13645
|
+
$$field: string;
|
13646
|
+
} | undefined;
|
13647
|
+
validation?: {
|
13648
|
+
message: TranslationConfig;
|
13649
|
+
validator: import(".").JSONSchema;
|
13650
|
+
}[] | undefined;
|
13651
|
+
required?: boolean | undefined;
|
13652
|
+
conditionals?: ({
|
13653
|
+
type: "SHOW";
|
13654
|
+
conditional: import(".").JSONSchema;
|
13655
|
+
} | {
|
13656
|
+
type: "ENABLE";
|
13657
|
+
conditional: import(".").JSONSchema;
|
13658
|
+
} | {
|
13659
|
+
type: "DISPLAY_ON_REVIEW";
|
13660
|
+
conditional: import(".").JSONSchema;
|
13661
|
+
})[] | undefined;
|
13662
|
+
secured?: boolean | undefined;
|
13663
|
+
placeholder?: TranslationConfig | undefined;
|
13664
|
+
helperText?: TranslationConfig | undefined;
|
13665
|
+
hideLabel?: boolean | undefined;
|
13666
|
+
uncorrectable?: boolean | undefined;
|
13667
|
+
defaultValue?: {
|
13668
|
+
error: {
|
13669
|
+
message: string;
|
13670
|
+
statusCode: number | null;
|
13671
|
+
} | null;
|
13672
|
+
loading: boolean;
|
13673
|
+
data?: any;
|
13674
|
+
trackingValue?: string | undefined;
|
13675
|
+
} | undefined;
|
12645
13676
|
})[];
|
12646
13677
|
conditional?: import(".").JSONSchema | undefined;
|
12647
13678
|
}, {
|
@@ -14157,6 +15188,121 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
14157
15188
|
} | undefined;
|
14158
15189
|
hideLabel?: boolean | undefined;
|
14159
15190
|
uncorrectable?: boolean | undefined;
|
15191
|
+
} | {
|
15192
|
+
type: "BUTTON";
|
15193
|
+
id: string;
|
15194
|
+
label: {
|
15195
|
+
id: string;
|
15196
|
+
description: string;
|
15197
|
+
defaultMessage: string;
|
15198
|
+
};
|
15199
|
+
configuration: {
|
15200
|
+
text: {
|
15201
|
+
id: string;
|
15202
|
+
description: string;
|
15203
|
+
defaultMessage: string;
|
15204
|
+
};
|
15205
|
+
loading?: boolean | undefined;
|
15206
|
+
icon?: string | undefined;
|
15207
|
+
};
|
15208
|
+
parent?: {
|
15209
|
+
$$field: string;
|
15210
|
+
} | undefined;
|
15211
|
+
validation?: {
|
15212
|
+
message: {
|
15213
|
+
id: string;
|
15214
|
+
description: string;
|
15215
|
+
defaultMessage: string;
|
15216
|
+
};
|
15217
|
+
validator: import(".").JSONSchema;
|
15218
|
+
}[] | undefined;
|
15219
|
+
required?: boolean | undefined;
|
15220
|
+
conditionals?: ({
|
15221
|
+
type: "SHOW";
|
15222
|
+
conditional: import(".").JSONSchema;
|
15223
|
+
} | {
|
15224
|
+
type: "ENABLE";
|
15225
|
+
conditional: import(".").JSONSchema;
|
15226
|
+
} | {
|
15227
|
+
type: "DISPLAY_ON_REVIEW";
|
15228
|
+
conditional: import(".").JSONSchema;
|
15229
|
+
})[] | undefined;
|
15230
|
+
secured?: boolean | undefined;
|
15231
|
+
placeholder?: {
|
15232
|
+
id: string;
|
15233
|
+
description: string;
|
15234
|
+
defaultMessage: string;
|
15235
|
+
} | undefined;
|
15236
|
+
helperText?: {
|
15237
|
+
id: string;
|
15238
|
+
description: string;
|
15239
|
+
defaultMessage: string;
|
15240
|
+
} | undefined;
|
15241
|
+
hideLabel?: boolean | undefined;
|
15242
|
+
uncorrectable?: boolean | undefined;
|
15243
|
+
} | {
|
15244
|
+
type: "HTTP";
|
15245
|
+
id: string;
|
15246
|
+
label: {
|
15247
|
+
id: string;
|
15248
|
+
description: string;
|
15249
|
+
defaultMessage: string;
|
15250
|
+
};
|
15251
|
+
configuration: {
|
15252
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
15253
|
+
trigger: {
|
15254
|
+
$$field: string;
|
15255
|
+
};
|
15256
|
+
url: string;
|
15257
|
+
params?: Record<string, string> | undefined;
|
15258
|
+
headers?: Record<string, string> | undefined;
|
15259
|
+
body?: Record<string, string> | undefined;
|
15260
|
+
timeout?: number | undefined;
|
15261
|
+
};
|
15262
|
+
parent?: {
|
15263
|
+
$$field: string;
|
15264
|
+
} | undefined;
|
15265
|
+
validation?: {
|
15266
|
+
message: {
|
15267
|
+
id: string;
|
15268
|
+
description: string;
|
15269
|
+
defaultMessage: string;
|
15270
|
+
};
|
15271
|
+
validator: import(".").JSONSchema;
|
15272
|
+
}[] | undefined;
|
15273
|
+
required?: boolean | undefined;
|
15274
|
+
conditionals?: ({
|
15275
|
+
type: "SHOW";
|
15276
|
+
conditional: import(".").JSONSchema;
|
15277
|
+
} | {
|
15278
|
+
type: "ENABLE";
|
15279
|
+
conditional: import(".").JSONSchema;
|
15280
|
+
} | {
|
15281
|
+
type: "DISPLAY_ON_REVIEW";
|
15282
|
+
conditional: import(".").JSONSchema;
|
15283
|
+
})[] | undefined;
|
15284
|
+
secured?: boolean | undefined;
|
15285
|
+
placeholder?: {
|
15286
|
+
id: string;
|
15287
|
+
description: string;
|
15288
|
+
defaultMessage: string;
|
15289
|
+
} | undefined;
|
15290
|
+
helperText?: {
|
15291
|
+
id: string;
|
15292
|
+
description: string;
|
15293
|
+
defaultMessage: string;
|
15294
|
+
} | undefined;
|
15295
|
+
hideLabel?: boolean | undefined;
|
15296
|
+
uncorrectable?: boolean | undefined;
|
15297
|
+
defaultValue?: {
|
15298
|
+
error: {
|
15299
|
+
message: string;
|
15300
|
+
statusCode: number | null;
|
15301
|
+
} | null;
|
15302
|
+
loading: boolean;
|
15303
|
+
data?: any;
|
15304
|
+
trackingValue?: string | undefined;
|
15305
|
+
} | undefined;
|
14160
15306
|
})[];
|
14161
15307
|
conditional?: import(".").JSONSchema | undefined;
|
14162
15308
|
}>;
|