@opencrvs/toolkit 1.9.12-rc.8638b48 → 1.9.12-rc.c1b103f
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 +14 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +258 -0
- package/dist/commons/events/EventConfig.d.ts +170 -0
- package/dist/commons/events/FieldConfig.d.ts +170 -244
- package/dist/commons/events/defineConfig.d.ts +14 -0
- package/dist/commons/events/utils.d.ts +14 -0
- package/dist/events/index.js +4 -24
- package/dist/notification/index.js +4 -24
- package/package.json +1 -1
|
@@ -3456,9 +3456,17 @@ export declare const SelectOption: z.ZodObject<{
|
|
|
3456
3456
|
description: string;
|
|
3457
3457
|
defaultMessage: string;
|
|
3458
3458
|
}>]>;
|
|
3459
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").ActionConditionalType[]>, "many">>>;
|
|
3459
3460
|
}, "strip", z.ZodTypeAny, {
|
|
3460
3461
|
value: string;
|
|
3461
3462
|
label: string | TranslationConfig;
|
|
3463
|
+
conditionals?: ({
|
|
3464
|
+
type: "SHOW";
|
|
3465
|
+
conditional: JSONSchema;
|
|
3466
|
+
} | {
|
|
3467
|
+
type: "ENABLE";
|
|
3468
|
+
conditional: JSONSchema;
|
|
3469
|
+
})[] | undefined;
|
|
3462
3470
|
}, {
|
|
3463
3471
|
value: string;
|
|
3464
3472
|
label: string | {
|
|
@@ -3466,6 +3474,13 @@ export declare const SelectOption: z.ZodObject<{
|
|
|
3466
3474
|
description: string;
|
|
3467
3475
|
defaultMessage: string;
|
|
3468
3476
|
};
|
|
3477
|
+
conditionals?: ({
|
|
3478
|
+
type: "SHOW";
|
|
3479
|
+
conditional: JSONSchema;
|
|
3480
|
+
} | {
|
|
3481
|
+
type: "ENABLE";
|
|
3482
|
+
conditional: JSONSchema;
|
|
3483
|
+
})[] | undefined;
|
|
3469
3484
|
}>;
|
|
3470
3485
|
declare const NumberWithUnitField: z.ZodObject<z.objectUtil.extendShape<{
|
|
3471
3486
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -3579,9 +3594,17 @@ declare const NumberWithUnitField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3579
3594
|
description: string;
|
|
3580
3595
|
defaultMessage: string;
|
|
3581
3596
|
}>]>;
|
|
3597
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").ActionConditionalType[]>, "many">>>;
|
|
3582
3598
|
}, "strip", z.ZodTypeAny, {
|
|
3583
3599
|
value: string;
|
|
3584
3600
|
label: string | TranslationConfig;
|
|
3601
|
+
conditionals?: ({
|
|
3602
|
+
type: "SHOW";
|
|
3603
|
+
conditional: JSONSchema;
|
|
3604
|
+
} | {
|
|
3605
|
+
type: "ENABLE";
|
|
3606
|
+
conditional: JSONSchema;
|
|
3607
|
+
})[] | undefined;
|
|
3585
3608
|
}, {
|
|
3586
3609
|
value: string;
|
|
3587
3610
|
label: string | {
|
|
@@ -3589,6 +3612,13 @@ declare const NumberWithUnitField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3589
3612
|
description: string;
|
|
3590
3613
|
defaultMessage: string;
|
|
3591
3614
|
};
|
|
3615
|
+
conditionals?: ({
|
|
3616
|
+
type: "SHOW";
|
|
3617
|
+
conditional: JSONSchema;
|
|
3618
|
+
} | {
|
|
3619
|
+
type: "ENABLE";
|
|
3620
|
+
conditional: JSONSchema;
|
|
3621
|
+
})[] | undefined;
|
|
3592
3622
|
}>, "many">;
|
|
3593
3623
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
3594
3624
|
min: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3617,6 +3647,13 @@ declare const NumberWithUnitField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3617
3647
|
options: {
|
|
3618
3648
|
value: string;
|
|
3619
3649
|
label: string | TranslationConfig;
|
|
3650
|
+
conditionals?: ({
|
|
3651
|
+
type: "SHOW";
|
|
3652
|
+
conditional: JSONSchema;
|
|
3653
|
+
} | {
|
|
3654
|
+
type: "ENABLE";
|
|
3655
|
+
conditional: JSONSchema;
|
|
3656
|
+
})[] | undefined;
|
|
3620
3657
|
}[];
|
|
3621
3658
|
label: TranslationConfig;
|
|
3622
3659
|
parent?: {
|
|
@@ -3675,6 +3712,13 @@ declare const NumberWithUnitField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3675
3712
|
description: string;
|
|
3676
3713
|
defaultMessage: string;
|
|
3677
3714
|
};
|
|
3715
|
+
conditionals?: ({
|
|
3716
|
+
type: "SHOW";
|
|
3717
|
+
conditional: JSONSchema;
|
|
3718
|
+
} | {
|
|
3719
|
+
type: "ENABLE";
|
|
3720
|
+
conditional: JSONSchema;
|
|
3721
|
+
})[] | undefined;
|
|
3678
3722
|
}[];
|
|
3679
3723
|
label: {
|
|
3680
3724
|
id: string;
|
|
@@ -3851,9 +3895,17 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3851
3895
|
description: string;
|
|
3852
3896
|
defaultMessage: string;
|
|
3853
3897
|
}>]>;
|
|
3898
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").ActionConditionalType[]>, "many">>>;
|
|
3854
3899
|
}, "strip", z.ZodTypeAny, {
|
|
3855
3900
|
value: string;
|
|
3856
3901
|
label: string | TranslationConfig;
|
|
3902
|
+
conditionals?: ({
|
|
3903
|
+
type: "SHOW";
|
|
3904
|
+
conditional: JSONSchema;
|
|
3905
|
+
} | {
|
|
3906
|
+
type: "ENABLE";
|
|
3907
|
+
conditional: JSONSchema;
|
|
3908
|
+
})[] | undefined;
|
|
3857
3909
|
}, {
|
|
3858
3910
|
value: string;
|
|
3859
3911
|
label: string | {
|
|
@@ -3861,6 +3913,13 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3861
3913
|
description: string;
|
|
3862
3914
|
defaultMessage: string;
|
|
3863
3915
|
};
|
|
3916
|
+
conditionals?: ({
|
|
3917
|
+
type: "SHOW";
|
|
3918
|
+
conditional: JSONSchema;
|
|
3919
|
+
} | {
|
|
3920
|
+
type: "ENABLE";
|
|
3921
|
+
conditional: JSONSchema;
|
|
3922
|
+
})[] | undefined;
|
|
3864
3923
|
}>, "many">;
|
|
3865
3924
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
3866
3925
|
styles: z.ZodOptional<z.ZodObject<{
|
|
@@ -3885,6 +3944,13 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3885
3944
|
options: {
|
|
3886
3945
|
value: string;
|
|
3887
3946
|
label: string | TranslationConfig;
|
|
3947
|
+
conditionals?: ({
|
|
3948
|
+
type: "SHOW";
|
|
3949
|
+
conditional: JSONSchema;
|
|
3950
|
+
} | {
|
|
3951
|
+
type: "ENABLE";
|
|
3952
|
+
conditional: JSONSchema;
|
|
3953
|
+
})[] | undefined;
|
|
3888
3954
|
}[];
|
|
3889
3955
|
label: TranslationConfig;
|
|
3890
3956
|
parent?: {
|
|
@@ -3940,6 +4006,13 @@ declare const RadioGroup: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3940
4006
|
description: string;
|
|
3941
4007
|
defaultMessage: string;
|
|
3942
4008
|
};
|
|
4009
|
+
conditionals?: ({
|
|
4010
|
+
type: "SHOW";
|
|
4011
|
+
conditional: JSONSchema;
|
|
4012
|
+
} | {
|
|
4013
|
+
type: "ENABLE";
|
|
4014
|
+
conditional: JSONSchema;
|
|
4015
|
+
})[] | undefined;
|
|
3943
4016
|
}[];
|
|
3944
4017
|
label: {
|
|
3945
4018
|
id: string;
|
|
@@ -4350,9 +4423,17 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4350
4423
|
description: string;
|
|
4351
4424
|
defaultMessage: string;
|
|
4352
4425
|
}>]>;
|
|
4426
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").ActionConditionalType[]>, "many">>>;
|
|
4353
4427
|
}, "strip", z.ZodTypeAny, {
|
|
4354
4428
|
value: string;
|
|
4355
4429
|
label: string | TranslationConfig;
|
|
4430
|
+
conditionals?: ({
|
|
4431
|
+
type: "SHOW";
|
|
4432
|
+
conditional: JSONSchema;
|
|
4433
|
+
} | {
|
|
4434
|
+
type: "ENABLE";
|
|
4435
|
+
conditional: JSONSchema;
|
|
4436
|
+
})[] | undefined;
|
|
4356
4437
|
}, {
|
|
4357
4438
|
value: string;
|
|
4358
4439
|
label: string | {
|
|
@@ -4360,6 +4441,13 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4360
4441
|
description: string;
|
|
4361
4442
|
defaultMessage: string;
|
|
4362
4443
|
};
|
|
4444
|
+
conditionals?: ({
|
|
4445
|
+
type: "SHOW";
|
|
4446
|
+
conditional: JSONSchema;
|
|
4447
|
+
} | {
|
|
4448
|
+
type: "ENABLE";
|
|
4449
|
+
conditional: JSONSchema;
|
|
4450
|
+
})[] | undefined;
|
|
4363
4451
|
}>, "many">;
|
|
4364
4452
|
noOptionsMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
4365
4453
|
id: string;
|
|
@@ -4372,6 +4460,13 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4372
4460
|
options: {
|
|
4373
4461
|
value: string;
|
|
4374
4462
|
label: string | TranslationConfig;
|
|
4463
|
+
conditionals?: ({
|
|
4464
|
+
type: "SHOW";
|
|
4465
|
+
conditional: JSONSchema;
|
|
4466
|
+
} | {
|
|
4467
|
+
type: "ENABLE";
|
|
4468
|
+
conditional: JSONSchema;
|
|
4469
|
+
})[] | undefined;
|
|
4375
4470
|
}[];
|
|
4376
4471
|
label: TranslationConfig;
|
|
4377
4472
|
parent?: {
|
|
@@ -4423,6 +4518,13 @@ declare const Select: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4423
4518
|
description: string;
|
|
4424
4519
|
defaultMessage: string;
|
|
4425
4520
|
};
|
|
4521
|
+
conditionals?: ({
|
|
4522
|
+
type: "SHOW";
|
|
4523
|
+
conditional: JSONSchema;
|
|
4524
|
+
} | {
|
|
4525
|
+
type: "ENABLE";
|
|
4526
|
+
conditional: JSONSchema;
|
|
4527
|
+
})[] | undefined;
|
|
4426
4528
|
}[];
|
|
4427
4529
|
label: {
|
|
4428
4530
|
id: string;
|
|
@@ -6986,9 +7088,17 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
6986
7088
|
description: string;
|
|
6987
7089
|
defaultMessage: string;
|
|
6988
7090
|
}>]>;
|
|
7091
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").ActionConditionalType[]>, "many">>>;
|
|
6989
7092
|
}, "strip", z.ZodTypeAny, {
|
|
6990
7093
|
value: string;
|
|
6991
7094
|
label: string | TranslationConfig;
|
|
7095
|
+
conditionals?: ({
|
|
7096
|
+
type: "SHOW";
|
|
7097
|
+
conditional: JSONSchema;
|
|
7098
|
+
} | {
|
|
7099
|
+
type: "ENABLE";
|
|
7100
|
+
conditional: JSONSchema;
|
|
7101
|
+
})[] | undefined;
|
|
6992
7102
|
}, {
|
|
6993
7103
|
value: string;
|
|
6994
7104
|
label: string | {
|
|
@@ -6996,6 +7106,13 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
6996
7106
|
description: string;
|
|
6997
7107
|
defaultMessage: string;
|
|
6998
7108
|
};
|
|
7109
|
+
conditionals?: ({
|
|
7110
|
+
type: "SHOW";
|
|
7111
|
+
conditional: JSONSchema;
|
|
7112
|
+
} | {
|
|
7113
|
+
type: "ENABLE";
|
|
7114
|
+
conditional: JSONSchema;
|
|
7115
|
+
})[] | undefined;
|
|
6999
7116
|
}>, "many">;
|
|
7000
7117
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7001
7118
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -7063,6 +7180,13 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7063
7180
|
options: {
|
|
7064
7181
|
value: string;
|
|
7065
7182
|
label: string | TranslationConfig;
|
|
7183
|
+
conditionals?: ({
|
|
7184
|
+
type: "SHOW";
|
|
7185
|
+
conditional: JSONSchema;
|
|
7186
|
+
} | {
|
|
7187
|
+
type: "ENABLE";
|
|
7188
|
+
conditional: JSONSchema;
|
|
7189
|
+
})[] | undefined;
|
|
7066
7190
|
}[];
|
|
7067
7191
|
label: TranslationConfig;
|
|
7068
7192
|
configuration: {
|
|
@@ -7128,6 +7252,13 @@ declare const FileUploadWithOptions: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7128
7252
|
description: string;
|
|
7129
7253
|
defaultMessage: string;
|
|
7130
7254
|
};
|
|
7255
|
+
conditionals?: ({
|
|
7256
|
+
type: "SHOW";
|
|
7257
|
+
conditional: JSONSchema;
|
|
7258
|
+
} | {
|
|
7259
|
+
type: "ENABLE";
|
|
7260
|
+
conditional: JSONSchema;
|
|
7261
|
+
})[] | undefined;
|
|
7131
7262
|
}[];
|
|
7132
7263
|
label: {
|
|
7133
7264
|
id: string;
|
|
@@ -7741,174 +7872,8 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7741
7872
|
type: z.ZodLiteral<"ADDRESS">;
|
|
7742
7873
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
7743
7874
|
lineSeparator: z.ZodOptional<z.ZodString>;
|
|
7744
|
-
fields: z.ZodOptional<z.ZodArray<z.
|
|
7745
|
-
|
|
7746
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
7747
|
-
id: string;
|
|
7748
|
-
description: string;
|
|
7749
|
-
defaultMessage: string;
|
|
7750
|
-
}>;
|
|
7751
|
-
parent: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7752
|
-
$$field: z.ZodEffects<z.ZodString, string, string>;
|
|
7753
|
-
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
7754
|
-
}, "strip", z.ZodTypeAny, {
|
|
7755
|
-
$$field: string;
|
|
7756
|
-
$$subfield: string[];
|
|
7757
|
-
}, {
|
|
7758
|
-
$$field: string;
|
|
7759
|
-
$$subfield?: string[] | undefined;
|
|
7760
|
-
}>, z.ZodArray<z.ZodObject<{
|
|
7761
|
-
$$field: z.ZodEffects<z.ZodString, string, string>;
|
|
7762
|
-
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
7763
|
-
}, "strip", z.ZodTypeAny, {
|
|
7764
|
-
$$field: string;
|
|
7765
|
-
$$subfield: string[];
|
|
7766
|
-
}, {
|
|
7767
|
-
$$field: string;
|
|
7768
|
-
$$subfield?: string[] | undefined;
|
|
7769
|
-
}>, "many">]>>;
|
|
7770
|
-
required: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
7771
|
-
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
7772
|
-
id: string;
|
|
7773
|
-
description: string;
|
|
7774
|
-
defaultMessage: string;
|
|
7775
|
-
}>;
|
|
7776
|
-
}, "strip", z.ZodTypeAny, {
|
|
7777
|
-
message: TranslationConfig;
|
|
7778
|
-
}, {
|
|
7779
|
-
message: {
|
|
7780
|
-
id: string;
|
|
7781
|
-
description: string;
|
|
7782
|
-
defaultMessage: string;
|
|
7783
|
-
};
|
|
7784
|
-
}>]>>>;
|
|
7785
|
-
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
|
7786
|
-
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7787
|
-
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
7788
|
-
id: string;
|
|
7789
|
-
description: string;
|
|
7790
|
-
defaultMessage: string;
|
|
7791
|
-
}>>;
|
|
7792
|
-
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
7793
|
-
validator: z.ZodType<JSONSchema, z.ZodTypeDef, JSONSchema>;
|
|
7794
|
-
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
7795
|
-
id: string;
|
|
7796
|
-
description: string;
|
|
7797
|
-
defaultMessage: string;
|
|
7798
|
-
}>;
|
|
7799
|
-
}, "strip", z.ZodTypeAny, {
|
|
7800
|
-
message: TranslationConfig;
|
|
7801
|
-
validator: JSONSchema;
|
|
7802
|
-
}, {
|
|
7803
|
-
message: {
|
|
7804
|
-
id: string;
|
|
7805
|
-
description: string;
|
|
7806
|
-
defaultMessage: string;
|
|
7807
|
-
};
|
|
7808
|
-
validator: JSONSchema;
|
|
7809
|
-
}>, "many">>>;
|
|
7810
|
-
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
7811
|
-
id: string;
|
|
7812
|
-
description: string;
|
|
7813
|
-
defaultMessage: string;
|
|
7814
|
-
}>>;
|
|
7815
|
-
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7816
|
-
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7817
|
-
value: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
7818
|
-
$$field: z.ZodEffects<z.ZodString, string, string>;
|
|
7819
|
-
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
7820
|
-
}, "strip", z.ZodTypeAny, {
|
|
7821
|
-
$$field: string;
|
|
7822
|
-
$$subfield: string[];
|
|
7823
|
-
}, {
|
|
7824
|
-
$$field: string;
|
|
7825
|
-
$$subfield?: string[] | undefined;
|
|
7826
|
-
}>, z.ZodArray<z.ZodObject<{
|
|
7827
|
-
$$field: z.ZodEffects<z.ZodString, string, string>;
|
|
7828
|
-
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
7829
|
-
}, "strip", z.ZodTypeAny, {
|
|
7830
|
-
$$field: string;
|
|
7831
|
-
$$subfield: string[];
|
|
7832
|
-
}, {
|
|
7833
|
-
$$field: string;
|
|
7834
|
-
$$subfield?: string[] | undefined;
|
|
7835
|
-
}>, "many">]>>;
|
|
7836
|
-
analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
7837
|
-
}, "id" | "required" | "conditionals">, {
|
|
7838
|
-
type: z.ZodUnion<[z.ZodLiteral<"ADMINISTRATIVE_AREA">, z.ZodLiteral<"COUNTRY">]>;
|
|
7839
|
-
}>, "strip", z.ZodTypeAny, {
|
|
7840
|
-
type: "COUNTRY" | "ADMINISTRATIVE_AREA";
|
|
7841
|
-
id: string;
|
|
7842
|
-
required?: boolean | {
|
|
7843
|
-
message: TranslationConfig;
|
|
7844
|
-
} | undefined;
|
|
7845
|
-
conditionals?: ({
|
|
7846
|
-
type: "SHOW";
|
|
7847
|
-
conditional: JSONSchema;
|
|
7848
|
-
} | {
|
|
7849
|
-
type: "ENABLE";
|
|
7850
|
-
conditional: JSONSchema;
|
|
7851
|
-
} | {
|
|
7852
|
-
type: "DISPLAY_ON_REVIEW";
|
|
7853
|
-
conditional: JSONSchema;
|
|
7854
|
-
})[] | undefined;
|
|
7855
|
-
}, {
|
|
7856
|
-
type: "COUNTRY" | "ADMINISTRATIVE_AREA";
|
|
7857
|
-
id: string;
|
|
7858
|
-
required?: boolean | {
|
|
7859
|
-
message: {
|
|
7860
|
-
id: string;
|
|
7861
|
-
description: string;
|
|
7862
|
-
defaultMessage: string;
|
|
7863
|
-
};
|
|
7864
|
-
} | undefined;
|
|
7865
|
-
conditionals?: ({
|
|
7866
|
-
type: "SHOW";
|
|
7867
|
-
conditional: JSONSchema;
|
|
7868
|
-
} | {
|
|
7869
|
-
type: "ENABLE";
|
|
7870
|
-
conditional: JSONSchema;
|
|
7871
|
-
} | {
|
|
7872
|
-
type: "DISPLAY_ON_REVIEW";
|
|
7873
|
-
conditional: JSONSchema;
|
|
7874
|
-
})[] | undefined;
|
|
7875
|
-
}>]>, {
|
|
7876
|
-
type: "COUNTRY" | "ADMINISTRATIVE_AREA";
|
|
7877
|
-
id: string;
|
|
7878
|
-
required?: boolean | {
|
|
7879
|
-
message: TranslationConfig;
|
|
7880
|
-
} | undefined;
|
|
7881
|
-
conditionals?: ({
|
|
7882
|
-
type: "SHOW";
|
|
7883
|
-
conditional: JSONSchema;
|
|
7884
|
-
} | {
|
|
7885
|
-
type: "ENABLE";
|
|
7886
|
-
conditional: JSONSchema;
|
|
7887
|
-
} | {
|
|
7888
|
-
type: "DISPLAY_ON_REVIEW";
|
|
7889
|
-
conditional: JSONSchema;
|
|
7890
|
-
})[] | undefined;
|
|
7891
|
-
}, string | {
|
|
7892
|
-
type: "COUNTRY" | "ADMINISTRATIVE_AREA";
|
|
7893
|
-
id: string;
|
|
7894
|
-
required?: boolean | {
|
|
7895
|
-
message: {
|
|
7896
|
-
id: string;
|
|
7897
|
-
description: string;
|
|
7898
|
-
defaultMessage: string;
|
|
7899
|
-
};
|
|
7900
|
-
} | undefined;
|
|
7901
|
-
conditionals?: ({
|
|
7902
|
-
type: "SHOW";
|
|
7903
|
-
conditional: JSONSchema;
|
|
7904
|
-
} | {
|
|
7905
|
-
type: "ENABLE";
|
|
7906
|
-
conditional: JSONSchema;
|
|
7907
|
-
} | {
|
|
7908
|
-
type: "DISPLAY_ON_REVIEW";
|
|
7909
|
-
conditional: JSONSchema;
|
|
7910
|
-
})[] | undefined;
|
|
7911
|
-
}>, "many">>;
|
|
7875
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodEnum<["country", "administrativeArea"]>, "many">>;
|
|
7876
|
+
administrativeLevels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7912
7877
|
streetAddressForm: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7913
7878
|
id: z.ZodString;
|
|
7914
7879
|
required: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
@@ -7996,23 +7961,8 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7996
7961
|
}>, "many">>;
|
|
7997
7962
|
}, "strip", z.ZodTypeAny, {
|
|
7998
7963
|
lineSeparator?: string | undefined;
|
|
7999
|
-
fields?:
|
|
8000
|
-
|
|
8001
|
-
id: string;
|
|
8002
|
-
required?: boolean | {
|
|
8003
|
-
message: TranslationConfig;
|
|
8004
|
-
} | undefined;
|
|
8005
|
-
conditionals?: ({
|
|
8006
|
-
type: "SHOW";
|
|
8007
|
-
conditional: JSONSchema;
|
|
8008
|
-
} | {
|
|
8009
|
-
type: "ENABLE";
|
|
8010
|
-
conditional: JSONSchema;
|
|
8011
|
-
} | {
|
|
8012
|
-
type: "DISPLAY_ON_REVIEW";
|
|
8013
|
-
conditional: JSONSchema;
|
|
8014
|
-
})[] | undefined;
|
|
8015
|
-
}[] | undefined;
|
|
7964
|
+
fields?: ("country" | "administrativeArea")[] | undefined;
|
|
7965
|
+
administrativeLevels?: string[] | undefined;
|
|
8016
7966
|
streetAddressForm?: {
|
|
8017
7967
|
type: "TEXT";
|
|
8018
7968
|
id: string;
|
|
@@ -8037,27 +7987,8 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8037
7987
|
}[] | undefined;
|
|
8038
7988
|
}, {
|
|
8039
7989
|
lineSeparator?: string | undefined;
|
|
8040
|
-
fields?: (
|
|
8041
|
-
|
|
8042
|
-
id: string;
|
|
8043
|
-
required?: boolean | {
|
|
8044
|
-
message: {
|
|
8045
|
-
id: string;
|
|
8046
|
-
description: string;
|
|
8047
|
-
defaultMessage: string;
|
|
8048
|
-
};
|
|
8049
|
-
} | undefined;
|
|
8050
|
-
conditionals?: ({
|
|
8051
|
-
type: "SHOW";
|
|
8052
|
-
conditional: JSONSchema;
|
|
8053
|
-
} | {
|
|
8054
|
-
type: "ENABLE";
|
|
8055
|
-
conditional: JSONSchema;
|
|
8056
|
-
} | {
|
|
8057
|
-
type: "DISPLAY_ON_REVIEW";
|
|
8058
|
-
conditional: JSONSchema;
|
|
8059
|
-
})[] | undefined;
|
|
8060
|
-
})[] | undefined;
|
|
7990
|
+
fields?: ("country" | "administrativeArea")[] | undefined;
|
|
7991
|
+
administrativeLevels?: string[] | undefined;
|
|
8061
7992
|
streetAddressForm?: {
|
|
8062
7993
|
type: "TEXT";
|
|
8063
7994
|
id: string;
|
|
@@ -8175,23 +8106,8 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8175
8106
|
} | undefined;
|
|
8176
8107
|
configuration?: {
|
|
8177
8108
|
lineSeparator?: string | undefined;
|
|
8178
|
-
fields?:
|
|
8179
|
-
|
|
8180
|
-
id: string;
|
|
8181
|
-
required?: boolean | {
|
|
8182
|
-
message: TranslationConfig;
|
|
8183
|
-
} | undefined;
|
|
8184
|
-
conditionals?: ({
|
|
8185
|
-
type: "SHOW";
|
|
8186
|
-
conditional: JSONSchema;
|
|
8187
|
-
} | {
|
|
8188
|
-
type: "ENABLE";
|
|
8189
|
-
conditional: JSONSchema;
|
|
8190
|
-
} | {
|
|
8191
|
-
type: "DISPLAY_ON_REVIEW";
|
|
8192
|
-
conditional: JSONSchema;
|
|
8193
|
-
})[] | undefined;
|
|
8194
|
-
}[] | undefined;
|
|
8109
|
+
fields?: ("country" | "administrativeArea")[] | undefined;
|
|
8110
|
+
administrativeLevels?: string[] | undefined;
|
|
8195
8111
|
streetAddressForm?: {
|
|
8196
8112
|
type: "TEXT";
|
|
8197
8113
|
id: string;
|
|
@@ -8287,27 +8203,8 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8287
8203
|
} | undefined;
|
|
8288
8204
|
configuration?: {
|
|
8289
8205
|
lineSeparator?: string | undefined;
|
|
8290
|
-
fields?: (
|
|
8291
|
-
|
|
8292
|
-
id: string;
|
|
8293
|
-
required?: boolean | {
|
|
8294
|
-
message: {
|
|
8295
|
-
id: string;
|
|
8296
|
-
description: string;
|
|
8297
|
-
defaultMessage: string;
|
|
8298
|
-
};
|
|
8299
|
-
} | undefined;
|
|
8300
|
-
conditionals?: ({
|
|
8301
|
-
type: "SHOW";
|
|
8302
|
-
conditional: JSONSchema;
|
|
8303
|
-
} | {
|
|
8304
|
-
type: "ENABLE";
|
|
8305
|
-
conditional: JSONSchema;
|
|
8306
|
-
} | {
|
|
8307
|
-
type: "DISPLAY_ON_REVIEW";
|
|
8308
|
-
conditional: JSONSchema;
|
|
8309
|
-
})[] | undefined;
|
|
8310
|
-
})[] | undefined;
|
|
8206
|
+
fields?: ("country" | "administrativeArea")[] | undefined;
|
|
8207
|
+
administrativeLevels?: string[] | undefined;
|
|
8311
8208
|
streetAddressForm?: {
|
|
8312
8209
|
type: "TEXT";
|
|
8313
8210
|
id: string;
|
|
@@ -12978,9 +12875,17 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
12978
12875
|
description: string;
|
|
12979
12876
|
defaultMessage: string;
|
|
12980
12877
|
}>]>;
|
|
12878
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").ActionConditionalType[]>, "many">>>;
|
|
12981
12879
|
}, "strip", z.ZodTypeAny, {
|
|
12982
12880
|
value: string;
|
|
12983
12881
|
label: string | TranslationConfig;
|
|
12882
|
+
conditionals?: ({
|
|
12883
|
+
type: "SHOW";
|
|
12884
|
+
conditional: JSONSchema;
|
|
12885
|
+
} | {
|
|
12886
|
+
type: "ENABLE";
|
|
12887
|
+
conditional: JSONSchema;
|
|
12888
|
+
})[] | undefined;
|
|
12984
12889
|
}, {
|
|
12985
12890
|
value: string;
|
|
12986
12891
|
label: string | {
|
|
@@ -12988,6 +12893,13 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
12988
12893
|
description: string;
|
|
12989
12894
|
defaultMessage: string;
|
|
12990
12895
|
};
|
|
12896
|
+
conditionals?: ({
|
|
12897
|
+
type: "SHOW";
|
|
12898
|
+
conditional: JSONSchema;
|
|
12899
|
+
} | {
|
|
12900
|
+
type: "ENABLE";
|
|
12901
|
+
conditional: JSONSchema;
|
|
12902
|
+
})[] | undefined;
|
|
12991
12903
|
}>, "many">;
|
|
12992
12904
|
defaultValue: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12993
12905
|
path: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -13055,6 +12967,13 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
13055
12967
|
options: {
|
|
13056
12968
|
value: string;
|
|
13057
12969
|
label: string | TranslationConfig;
|
|
12970
|
+
conditionals?: ({
|
|
12971
|
+
type: "SHOW";
|
|
12972
|
+
conditional: JSONSchema;
|
|
12973
|
+
} | {
|
|
12974
|
+
type: "ENABLE";
|
|
12975
|
+
conditional: JSONSchema;
|
|
12976
|
+
})[] | undefined;
|
|
13058
12977
|
}[];
|
|
13059
12978
|
label: TranslationConfig;
|
|
13060
12979
|
configuration: {
|
|
@@ -13120,6 +13039,13 @@ export declare const AnyFileField: z.ZodDiscriminatedUnion<"type", [z.ZodObject<
|
|
|
13120
13039
|
description: string;
|
|
13121
13040
|
defaultMessage: string;
|
|
13122
13041
|
};
|
|
13042
|
+
conditionals?: ({
|
|
13043
|
+
type: "SHOW";
|
|
13044
|
+
conditional: JSONSchema;
|
|
13045
|
+
} | {
|
|
13046
|
+
type: "ENABLE";
|
|
13047
|
+
conditional: JSONSchema;
|
|
13048
|
+
})[] | undefined;
|
|
13123
13049
|
}[];
|
|
13124
13050
|
label: {
|
|
13125
13051
|
id: string;
|
|
@@ -176,6 +176,13 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
176
176
|
options?: {
|
|
177
177
|
value: string;
|
|
178
178
|
label: string | import("./TranslationConfig").TranslationConfig;
|
|
179
|
+
conditionals?: ({
|
|
180
|
+
type: "SHOW";
|
|
181
|
+
conditional: import(".").JSONSchema;
|
|
182
|
+
} | {
|
|
183
|
+
type: "ENABLE";
|
|
184
|
+
conditional: import(".").JSONSchema;
|
|
185
|
+
})[] | undefined;
|
|
179
186
|
}[] | undefined;
|
|
180
187
|
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
|
181
188
|
conditionals?: ({
|
|
@@ -204,6 +211,13 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
204
211
|
options?: {
|
|
205
212
|
value: string;
|
|
206
213
|
label: string | import("./TranslationConfig").TranslationConfig;
|
|
214
|
+
conditionals?: ({
|
|
215
|
+
type: "SHOW";
|
|
216
|
+
conditional: import(".").JSONSchema;
|
|
217
|
+
} | {
|
|
218
|
+
type: "ENABLE";
|
|
219
|
+
conditional: import(".").JSONSchema;
|
|
220
|
+
})[] | undefined;
|
|
207
221
|
}[] | undefined;
|
|
208
222
|
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
|
209
223
|
conditionals?: ({
|
|
@@ -554,6 +554,13 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
554
554
|
options?: {
|
|
555
555
|
value: string;
|
|
556
556
|
label: string | import("./TranslationConfig").TranslationConfig;
|
|
557
|
+
conditionals?: ({
|
|
558
|
+
type: "SHOW";
|
|
559
|
+
conditional: import(".").JSONSchema;
|
|
560
|
+
} | {
|
|
561
|
+
type: "ENABLE";
|
|
562
|
+
conditional: import(".").JSONSchema;
|
|
563
|
+
})[] | undefined;
|
|
557
564
|
}[] | undefined;
|
|
558
565
|
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
|
559
566
|
conditionals?: ({
|
|
@@ -582,6 +589,13 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
582
589
|
options?: {
|
|
583
590
|
value: string;
|
|
584
591
|
label: string | import("./TranslationConfig").TranslationConfig;
|
|
592
|
+
conditionals?: ({
|
|
593
|
+
type: "SHOW";
|
|
594
|
+
conditional: import(".").JSONSchema;
|
|
595
|
+
} | {
|
|
596
|
+
type: "ENABLE";
|
|
597
|
+
conditional: import(".").JSONSchema;
|
|
598
|
+
})[] | undefined;
|
|
585
599
|
}[] | undefined;
|
|
586
600
|
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
|
587
601
|
conditionals?: ({
|