@nira-opencrvs/toolkit 1.9.13-rc.cdfd84c → 1.9.13-rc.ce5957d
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 +8 -7
- package/dist/commons/events/ActionConfig.d.ts +36 -36
- package/dist/commons/events/AdvancedSearchConfig.d.ts +30 -24
- package/dist/commons/events/DeduplicationConfig.d.ts +2 -2
- package/dist/commons/events/EventConfig.d.ts +50 -48
- package/dist/commons/events/EventIndex.d.ts +3 -0
- package/dist/commons/events/FieldConfig.d.ts +381 -132
- package/dist/commons/events/FieldType.d.ts +2 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +87 -1
- package/dist/commons/events/FieldValue.d.ts +70 -3
- package/dist/commons/events/Icd11.d.ts +52 -0
- package/dist/commons/events/defineConfig.d.ts +7 -7
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/utils.d.ts +7 -7
- package/dist/events/index.js +873 -779
- package/dist/notification/index.js +840 -798
- package/package.json +1 -1
|
@@ -4951,11 +4951,16 @@ export declare const NameConfig: z.ZodObject<{
|
|
|
4951
4951
|
defaultMessage: string;
|
|
4952
4952
|
}>>;
|
|
4953
4953
|
}, "strip", z.ZodTypeAny, {
|
|
4954
|
+
label?: TranslationConfig | undefined;
|
|
4954
4955
|
required?: boolean | {
|
|
4955
4956
|
message: TranslationConfig;
|
|
4956
4957
|
} | undefined;
|
|
4957
|
-
label?: TranslationConfig | undefined;
|
|
4958
4958
|
}, {
|
|
4959
|
+
label?: {
|
|
4960
|
+
id: string;
|
|
4961
|
+
description: string;
|
|
4962
|
+
defaultMessage: string;
|
|
4963
|
+
} | undefined;
|
|
4959
4964
|
required?: boolean | {
|
|
4960
4965
|
message: {
|
|
4961
4966
|
id: string;
|
|
@@ -4963,11 +4968,6 @@ export declare const NameConfig: z.ZodObject<{
|
|
|
4963
4968
|
defaultMessage: string;
|
|
4964
4969
|
};
|
|
4965
4970
|
} | undefined;
|
|
4966
|
-
label?: {
|
|
4967
|
-
id: string;
|
|
4968
|
-
description: string;
|
|
4969
|
-
defaultMessage: string;
|
|
4970
|
-
} | undefined;
|
|
4971
4971
|
}>>;
|
|
4972
4972
|
middlename: z.ZodOptional<z.ZodObject<{
|
|
4973
4973
|
required: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
@@ -4991,11 +4991,16 @@ export declare const NameConfig: z.ZodObject<{
|
|
|
4991
4991
|
defaultMessage: string;
|
|
4992
4992
|
}>>;
|
|
4993
4993
|
}, "strip", z.ZodTypeAny, {
|
|
4994
|
+
label?: TranslationConfig | undefined;
|
|
4994
4995
|
required?: boolean | {
|
|
4995
4996
|
message: TranslationConfig;
|
|
4996
4997
|
} | undefined;
|
|
4997
|
-
label?: TranslationConfig | undefined;
|
|
4998
4998
|
}, {
|
|
4999
|
+
label?: {
|
|
5000
|
+
id: string;
|
|
5001
|
+
description: string;
|
|
5002
|
+
defaultMessage: string;
|
|
5003
|
+
} | undefined;
|
|
4999
5004
|
required?: boolean | {
|
|
5000
5005
|
message: {
|
|
5001
5006
|
id: string;
|
|
@@ -5003,11 +5008,6 @@ export declare const NameConfig: z.ZodObject<{
|
|
|
5003
5008
|
defaultMessage: string;
|
|
5004
5009
|
};
|
|
5005
5010
|
} | undefined;
|
|
5006
|
-
label?: {
|
|
5007
|
-
id: string;
|
|
5008
|
-
description: string;
|
|
5009
|
-
defaultMessage: string;
|
|
5010
|
-
} | undefined;
|
|
5011
5011
|
}>>;
|
|
5012
5012
|
surname: z.ZodOptional<z.ZodObject<{
|
|
5013
5013
|
required: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
@@ -5031,11 +5031,16 @@ export declare const NameConfig: z.ZodObject<{
|
|
|
5031
5031
|
defaultMessage: string;
|
|
5032
5032
|
}>>;
|
|
5033
5033
|
}, "strip", z.ZodTypeAny, {
|
|
5034
|
+
label?: TranslationConfig | undefined;
|
|
5034
5035
|
required?: boolean | {
|
|
5035
5036
|
message: TranslationConfig;
|
|
5036
5037
|
} | undefined;
|
|
5037
|
-
label?: TranslationConfig | undefined;
|
|
5038
5038
|
}, {
|
|
5039
|
+
label?: {
|
|
5040
|
+
id: string;
|
|
5041
|
+
description: string;
|
|
5042
|
+
defaultMessage: string;
|
|
5043
|
+
} | undefined;
|
|
5039
5044
|
required?: boolean | {
|
|
5040
5045
|
message: {
|
|
5041
5046
|
id: string;
|
|
@@ -5043,33 +5048,33 @@ export declare const NameConfig: z.ZodObject<{
|
|
|
5043
5048
|
defaultMessage: string;
|
|
5044
5049
|
};
|
|
5045
5050
|
} | undefined;
|
|
5046
|
-
label?: {
|
|
5047
|
-
id: string;
|
|
5048
|
-
description: string;
|
|
5049
|
-
defaultMessage: string;
|
|
5050
|
-
} | undefined;
|
|
5051
5051
|
}>>;
|
|
5052
5052
|
}, "strip", z.ZodTypeAny, {
|
|
5053
5053
|
firstname?: {
|
|
5054
|
+
label?: TranslationConfig | undefined;
|
|
5054
5055
|
required?: boolean | {
|
|
5055
5056
|
message: TranslationConfig;
|
|
5056
5057
|
} | undefined;
|
|
5057
|
-
label?: TranslationConfig | undefined;
|
|
5058
5058
|
} | undefined;
|
|
5059
5059
|
surname?: {
|
|
5060
|
+
label?: TranslationConfig | undefined;
|
|
5060
5061
|
required?: boolean | {
|
|
5061
5062
|
message: TranslationConfig;
|
|
5062
5063
|
} | undefined;
|
|
5063
|
-
label?: TranslationConfig | undefined;
|
|
5064
5064
|
} | undefined;
|
|
5065
5065
|
middlename?: {
|
|
5066
|
+
label?: TranslationConfig | undefined;
|
|
5066
5067
|
required?: boolean | {
|
|
5067
5068
|
message: TranslationConfig;
|
|
5068
5069
|
} | undefined;
|
|
5069
|
-
label?: TranslationConfig | undefined;
|
|
5070
5070
|
} | undefined;
|
|
5071
5071
|
}, {
|
|
5072
5072
|
firstname?: {
|
|
5073
|
+
label?: {
|
|
5074
|
+
id: string;
|
|
5075
|
+
description: string;
|
|
5076
|
+
defaultMessage: string;
|
|
5077
|
+
} | undefined;
|
|
5073
5078
|
required?: boolean | {
|
|
5074
5079
|
message: {
|
|
5075
5080
|
id: string;
|
|
@@ -5077,13 +5082,13 @@ export declare const NameConfig: z.ZodObject<{
|
|
|
5077
5082
|
defaultMessage: string;
|
|
5078
5083
|
};
|
|
5079
5084
|
} | undefined;
|
|
5085
|
+
} | undefined;
|
|
5086
|
+
surname?: {
|
|
5080
5087
|
label?: {
|
|
5081
5088
|
id: string;
|
|
5082
5089
|
description: string;
|
|
5083
5090
|
defaultMessage: string;
|
|
5084
5091
|
} | undefined;
|
|
5085
|
-
} | undefined;
|
|
5086
|
-
surname?: {
|
|
5087
5092
|
required?: boolean | {
|
|
5088
5093
|
message: {
|
|
5089
5094
|
id: string;
|
|
@@ -5091,13 +5096,13 @@ export declare const NameConfig: z.ZodObject<{
|
|
|
5091
5096
|
defaultMessage: string;
|
|
5092
5097
|
};
|
|
5093
5098
|
} | undefined;
|
|
5099
|
+
} | undefined;
|
|
5100
|
+
middlename?: {
|
|
5094
5101
|
label?: {
|
|
5095
5102
|
id: string;
|
|
5096
5103
|
description: string;
|
|
5097
5104
|
defaultMessage: string;
|
|
5098
5105
|
} | undefined;
|
|
5099
|
-
} | undefined;
|
|
5100
|
-
middlename?: {
|
|
5101
5106
|
required?: boolean | {
|
|
5102
5107
|
message: {
|
|
5103
5108
|
id: string;
|
|
@@ -5105,11 +5110,6 @@ export declare const NameConfig: z.ZodObject<{
|
|
|
5105
5110
|
defaultMessage: string;
|
|
5106
5111
|
};
|
|
5107
5112
|
} | undefined;
|
|
5108
|
-
label?: {
|
|
5109
|
-
id: string;
|
|
5110
|
-
description: string;
|
|
5111
|
-
defaultMessage: string;
|
|
5112
|
-
} | undefined;
|
|
5113
5113
|
} | undefined;
|
|
5114
5114
|
}>;
|
|
5115
5115
|
export type NameConfig = z.infer<typeof NameConfig>;
|
|
@@ -5291,11 +5291,16 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5291
5291
|
defaultMessage: string;
|
|
5292
5292
|
}>>;
|
|
5293
5293
|
}, "strip", z.ZodTypeAny, {
|
|
5294
|
+
label?: TranslationConfig | undefined;
|
|
5294
5295
|
required?: boolean | {
|
|
5295
5296
|
message: TranslationConfig;
|
|
5296
5297
|
} | undefined;
|
|
5297
|
-
label?: TranslationConfig | undefined;
|
|
5298
5298
|
}, {
|
|
5299
|
+
label?: {
|
|
5300
|
+
id: string;
|
|
5301
|
+
description: string;
|
|
5302
|
+
defaultMessage: string;
|
|
5303
|
+
} | undefined;
|
|
5299
5304
|
required?: boolean | {
|
|
5300
5305
|
message: {
|
|
5301
5306
|
id: string;
|
|
@@ -5303,11 +5308,6 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5303
5308
|
defaultMessage: string;
|
|
5304
5309
|
};
|
|
5305
5310
|
} | undefined;
|
|
5306
|
-
label?: {
|
|
5307
|
-
id: string;
|
|
5308
|
-
description: string;
|
|
5309
|
-
defaultMessage: string;
|
|
5310
|
-
} | undefined;
|
|
5311
5311
|
}>>;
|
|
5312
5312
|
middlename: z.ZodOptional<z.ZodObject<{
|
|
5313
5313
|
required: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
@@ -5331,11 +5331,16 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5331
5331
|
defaultMessage: string;
|
|
5332
5332
|
}>>;
|
|
5333
5333
|
}, "strip", z.ZodTypeAny, {
|
|
5334
|
+
label?: TranslationConfig | undefined;
|
|
5334
5335
|
required?: boolean | {
|
|
5335
5336
|
message: TranslationConfig;
|
|
5336
5337
|
} | undefined;
|
|
5337
|
-
label?: TranslationConfig | undefined;
|
|
5338
5338
|
}, {
|
|
5339
|
+
label?: {
|
|
5340
|
+
id: string;
|
|
5341
|
+
description: string;
|
|
5342
|
+
defaultMessage: string;
|
|
5343
|
+
} | undefined;
|
|
5339
5344
|
required?: boolean | {
|
|
5340
5345
|
message: {
|
|
5341
5346
|
id: string;
|
|
@@ -5343,11 +5348,6 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5343
5348
|
defaultMessage: string;
|
|
5344
5349
|
};
|
|
5345
5350
|
} | undefined;
|
|
5346
|
-
label?: {
|
|
5347
|
-
id: string;
|
|
5348
|
-
description: string;
|
|
5349
|
-
defaultMessage: string;
|
|
5350
|
-
} | undefined;
|
|
5351
5351
|
}>>;
|
|
5352
5352
|
surname: z.ZodOptional<z.ZodObject<{
|
|
5353
5353
|
required: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
@@ -5371,11 +5371,16 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5371
5371
|
defaultMessage: string;
|
|
5372
5372
|
}>>;
|
|
5373
5373
|
}, "strip", z.ZodTypeAny, {
|
|
5374
|
+
label?: TranslationConfig | undefined;
|
|
5374
5375
|
required?: boolean | {
|
|
5375
5376
|
message: TranslationConfig;
|
|
5376
5377
|
} | undefined;
|
|
5377
|
-
label?: TranslationConfig | undefined;
|
|
5378
5378
|
}, {
|
|
5379
|
+
label?: {
|
|
5380
|
+
id: string;
|
|
5381
|
+
description: string;
|
|
5382
|
+
defaultMessage: string;
|
|
5383
|
+
} | undefined;
|
|
5379
5384
|
required?: boolean | {
|
|
5380
5385
|
message: {
|
|
5381
5386
|
id: string;
|
|
@@ -5383,33 +5388,33 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5383
5388
|
defaultMessage: string;
|
|
5384
5389
|
};
|
|
5385
5390
|
} | undefined;
|
|
5386
|
-
label?: {
|
|
5387
|
-
id: string;
|
|
5388
|
-
description: string;
|
|
5389
|
-
defaultMessage: string;
|
|
5390
|
-
} | undefined;
|
|
5391
5391
|
}>>;
|
|
5392
5392
|
}, "strip", z.ZodTypeAny, {
|
|
5393
5393
|
firstname?: {
|
|
5394
|
+
label?: TranslationConfig | undefined;
|
|
5394
5395
|
required?: boolean | {
|
|
5395
5396
|
message: TranslationConfig;
|
|
5396
5397
|
} | undefined;
|
|
5397
|
-
label?: TranslationConfig | undefined;
|
|
5398
5398
|
} | undefined;
|
|
5399
5399
|
surname?: {
|
|
5400
|
+
label?: TranslationConfig | undefined;
|
|
5400
5401
|
required?: boolean | {
|
|
5401
5402
|
message: TranslationConfig;
|
|
5402
5403
|
} | undefined;
|
|
5403
|
-
label?: TranslationConfig | undefined;
|
|
5404
5404
|
} | undefined;
|
|
5405
5405
|
middlename?: {
|
|
5406
|
+
label?: TranslationConfig | undefined;
|
|
5406
5407
|
required?: boolean | {
|
|
5407
5408
|
message: TranslationConfig;
|
|
5408
5409
|
} | undefined;
|
|
5409
|
-
label?: TranslationConfig | undefined;
|
|
5410
5410
|
} | undefined;
|
|
5411
5411
|
}, {
|
|
5412
5412
|
firstname?: {
|
|
5413
|
+
label?: {
|
|
5414
|
+
id: string;
|
|
5415
|
+
description: string;
|
|
5416
|
+
defaultMessage: string;
|
|
5417
|
+
} | undefined;
|
|
5413
5418
|
required?: boolean | {
|
|
5414
5419
|
message: {
|
|
5415
5420
|
id: string;
|
|
@@ -5417,13 +5422,13 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5417
5422
|
defaultMessage: string;
|
|
5418
5423
|
};
|
|
5419
5424
|
} | undefined;
|
|
5425
|
+
} | undefined;
|
|
5426
|
+
surname?: {
|
|
5420
5427
|
label?: {
|
|
5421
5428
|
id: string;
|
|
5422
5429
|
description: string;
|
|
5423
5430
|
defaultMessage: string;
|
|
5424
5431
|
} | undefined;
|
|
5425
|
-
} | undefined;
|
|
5426
|
-
surname?: {
|
|
5427
5432
|
required?: boolean | {
|
|
5428
5433
|
message: {
|
|
5429
5434
|
id: string;
|
|
@@ -5431,13 +5436,13 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5431
5436
|
defaultMessage: string;
|
|
5432
5437
|
};
|
|
5433
5438
|
} | undefined;
|
|
5439
|
+
} | undefined;
|
|
5440
|
+
middlename?: {
|
|
5434
5441
|
label?: {
|
|
5435
5442
|
id: string;
|
|
5436
5443
|
description: string;
|
|
5437
5444
|
defaultMessage: string;
|
|
5438
5445
|
} | undefined;
|
|
5439
|
-
} | undefined;
|
|
5440
|
-
middlename?: {
|
|
5441
5446
|
required?: boolean | {
|
|
5442
5447
|
message: {
|
|
5443
5448
|
id: string;
|
|
@@ -5445,11 +5450,6 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5445
5450
|
defaultMessage: string;
|
|
5446
5451
|
};
|
|
5447
5452
|
} | undefined;
|
|
5448
|
-
label?: {
|
|
5449
|
-
id: string;
|
|
5450
|
-
description: string;
|
|
5451
|
-
defaultMessage: string;
|
|
5452
|
-
} | undefined;
|
|
5453
5453
|
} | undefined;
|
|
5454
5454
|
}>>>;
|
|
5455
5455
|
order: z.ZodOptional<z.ZodArray<z.ZodEnum<["firstname", "middlename", "surname"]>, "many">>;
|
|
@@ -5468,22 +5468,22 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5468
5468
|
}, "strip", z.ZodTypeAny, {
|
|
5469
5469
|
name?: {
|
|
5470
5470
|
firstname?: {
|
|
5471
|
+
label?: TranslationConfig | undefined;
|
|
5471
5472
|
required?: boolean | {
|
|
5472
5473
|
message: TranslationConfig;
|
|
5473
5474
|
} | undefined;
|
|
5474
|
-
label?: TranslationConfig | undefined;
|
|
5475
5475
|
} | undefined;
|
|
5476
5476
|
surname?: {
|
|
5477
|
+
label?: TranslationConfig | undefined;
|
|
5477
5478
|
required?: boolean | {
|
|
5478
5479
|
message: TranslationConfig;
|
|
5479
5480
|
} | undefined;
|
|
5480
|
-
label?: TranslationConfig | undefined;
|
|
5481
5481
|
} | undefined;
|
|
5482
5482
|
middlename?: {
|
|
5483
|
+
label?: TranslationConfig | undefined;
|
|
5483
5484
|
required?: boolean | {
|
|
5484
5485
|
message: TranslationConfig;
|
|
5485
5486
|
} | undefined;
|
|
5486
|
-
label?: TranslationConfig | undefined;
|
|
5487
5487
|
} | undefined;
|
|
5488
5488
|
} | undefined;
|
|
5489
5489
|
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
|
@@ -5494,6 +5494,11 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5494
5494
|
}, {
|
|
5495
5495
|
name?: {
|
|
5496
5496
|
firstname?: {
|
|
5497
|
+
label?: {
|
|
5498
|
+
id: string;
|
|
5499
|
+
description: string;
|
|
5500
|
+
defaultMessage: string;
|
|
5501
|
+
} | undefined;
|
|
5497
5502
|
required?: boolean | {
|
|
5498
5503
|
message: {
|
|
5499
5504
|
id: string;
|
|
@@ -5501,13 +5506,13 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5501
5506
|
defaultMessage: string;
|
|
5502
5507
|
};
|
|
5503
5508
|
} | undefined;
|
|
5509
|
+
} | undefined;
|
|
5510
|
+
surname?: {
|
|
5504
5511
|
label?: {
|
|
5505
5512
|
id: string;
|
|
5506
5513
|
description: string;
|
|
5507
5514
|
defaultMessage: string;
|
|
5508
5515
|
} | undefined;
|
|
5509
|
-
} | undefined;
|
|
5510
|
-
surname?: {
|
|
5511
5516
|
required?: boolean | {
|
|
5512
5517
|
message: {
|
|
5513
5518
|
id: string;
|
|
@@ -5515,13 +5520,13 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5515
5520
|
defaultMessage: string;
|
|
5516
5521
|
};
|
|
5517
5522
|
} | undefined;
|
|
5523
|
+
} | undefined;
|
|
5524
|
+
middlename?: {
|
|
5518
5525
|
label?: {
|
|
5519
5526
|
id: string;
|
|
5520
5527
|
description: string;
|
|
5521
5528
|
defaultMessage: string;
|
|
5522
5529
|
} | undefined;
|
|
5523
|
-
} | undefined;
|
|
5524
|
-
middlename?: {
|
|
5525
5530
|
required?: boolean | {
|
|
5526
5531
|
message: {
|
|
5527
5532
|
id: string;
|
|
@@ -5529,11 +5534,6 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5529
5534
|
defaultMessage: string;
|
|
5530
5535
|
};
|
|
5531
5536
|
} | undefined;
|
|
5532
|
-
label?: {
|
|
5533
|
-
id: string;
|
|
5534
|
-
description: string;
|
|
5535
|
-
defaultMessage: string;
|
|
5536
|
-
} | undefined;
|
|
5537
5537
|
} | undefined;
|
|
5538
5538
|
} | undefined;
|
|
5539
5539
|
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
|
@@ -5609,22 +5609,22 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5609
5609
|
configuration?: {
|
|
5610
5610
|
name?: {
|
|
5611
5611
|
firstname?: {
|
|
5612
|
+
label?: TranslationConfig | undefined;
|
|
5612
5613
|
required?: boolean | {
|
|
5613
5614
|
message: TranslationConfig;
|
|
5614
5615
|
} | undefined;
|
|
5615
|
-
label?: TranslationConfig | undefined;
|
|
5616
5616
|
} | undefined;
|
|
5617
5617
|
surname?: {
|
|
5618
|
+
label?: TranslationConfig | undefined;
|
|
5618
5619
|
required?: boolean | {
|
|
5619
5620
|
message: TranslationConfig;
|
|
5620
5621
|
} | undefined;
|
|
5621
|
-
label?: TranslationConfig | undefined;
|
|
5622
5622
|
} | undefined;
|
|
5623
5623
|
middlename?: {
|
|
5624
|
+
label?: TranslationConfig | undefined;
|
|
5624
5625
|
required?: boolean | {
|
|
5625
5626
|
message: TranslationConfig;
|
|
5626
5627
|
} | undefined;
|
|
5627
|
-
label?: TranslationConfig | undefined;
|
|
5628
5628
|
} | undefined;
|
|
5629
5629
|
} | undefined;
|
|
5630
5630
|
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
|
@@ -5712,6 +5712,11 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5712
5712
|
configuration?: {
|
|
5713
5713
|
name?: {
|
|
5714
5714
|
firstname?: {
|
|
5715
|
+
label?: {
|
|
5716
|
+
id: string;
|
|
5717
|
+
description: string;
|
|
5718
|
+
defaultMessage: string;
|
|
5719
|
+
} | undefined;
|
|
5715
5720
|
required?: boolean | {
|
|
5716
5721
|
message: {
|
|
5717
5722
|
id: string;
|
|
@@ -5719,13 +5724,13 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5719
5724
|
defaultMessage: string;
|
|
5720
5725
|
};
|
|
5721
5726
|
} | undefined;
|
|
5727
|
+
} | undefined;
|
|
5728
|
+
surname?: {
|
|
5722
5729
|
label?: {
|
|
5723
5730
|
id: string;
|
|
5724
5731
|
description: string;
|
|
5725
5732
|
defaultMessage: string;
|
|
5726
5733
|
} | undefined;
|
|
5727
|
-
} | undefined;
|
|
5728
|
-
surname?: {
|
|
5729
5734
|
required?: boolean | {
|
|
5730
5735
|
message: {
|
|
5731
5736
|
id: string;
|
|
@@ -5733,13 +5738,13 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5733
5738
|
defaultMessage: string;
|
|
5734
5739
|
};
|
|
5735
5740
|
} | undefined;
|
|
5741
|
+
} | undefined;
|
|
5742
|
+
middlename?: {
|
|
5736
5743
|
label?: {
|
|
5737
5744
|
id: string;
|
|
5738
5745
|
description: string;
|
|
5739
5746
|
defaultMessage: string;
|
|
5740
5747
|
} | undefined;
|
|
5741
|
-
} | undefined;
|
|
5742
|
-
middlename?: {
|
|
5743
5748
|
required?: boolean | {
|
|
5744
5749
|
message: {
|
|
5745
5750
|
id: string;
|
|
@@ -5747,11 +5752,6 @@ declare const NameField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5747
5752
|
defaultMessage: string;
|
|
5748
5753
|
};
|
|
5749
5754
|
} | undefined;
|
|
5750
|
-
label?: {
|
|
5751
|
-
id: string;
|
|
5752
|
-
description: string;
|
|
5753
|
-
defaultMessage: string;
|
|
5754
|
-
} | undefined;
|
|
5755
5755
|
} | undefined;
|
|
5756
5756
|
} | undefined;
|
|
5757
5757
|
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
|
@@ -8086,6 +8086,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8086
8086
|
fields: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
8087
8087
|
type: z.ZodLiteral<"COUNTRY">;
|
|
8088
8088
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
8089
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
8090
|
+
id: string;
|
|
8091
|
+
description: string;
|
|
8092
|
+
defaultMessage: string;
|
|
8093
|
+
}>>;
|
|
8089
8094
|
required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
8090
8095
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
8091
8096
|
id: string;
|
|
@@ -8101,11 +8106,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8101
8106
|
defaultMessage: string;
|
|
8102
8107
|
};
|
|
8103
8108
|
}>]>>>>;
|
|
8104
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
8105
|
-
id: string;
|
|
8106
|
-
description: string;
|
|
8107
|
-
defaultMessage: string;
|
|
8108
|
-
}>>;
|
|
8109
8109
|
conditionals: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>>;
|
|
8110
8110
|
optionOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
|
|
8111
8111
|
value: z.ZodString;
|
|
@@ -8137,10 +8137,10 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8137
8137
|
}, "strip", z.ZodTypeAny, {
|
|
8138
8138
|
type: "COUNTRY";
|
|
8139
8139
|
id: string;
|
|
8140
|
+
label?: TranslationConfig | undefined;
|
|
8140
8141
|
required?: boolean | {
|
|
8141
8142
|
message: TranslationConfig;
|
|
8142
8143
|
} | undefined;
|
|
8143
|
-
label?: TranslationConfig | undefined;
|
|
8144
8144
|
conditionals?: ({
|
|
8145
8145
|
type: "SHOW";
|
|
8146
8146
|
conditional: JSONSchema;
|
|
@@ -8164,6 +8164,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8164
8164
|
}, {
|
|
8165
8165
|
type: "COUNTRY";
|
|
8166
8166
|
id: string;
|
|
8167
|
+
label?: {
|
|
8168
|
+
id: string;
|
|
8169
|
+
description: string;
|
|
8170
|
+
defaultMessage: string;
|
|
8171
|
+
} | undefined;
|
|
8167
8172
|
required?: boolean | {
|
|
8168
8173
|
message: {
|
|
8169
8174
|
id: string;
|
|
@@ -8171,11 +8176,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8171
8176
|
defaultMessage: string;
|
|
8172
8177
|
};
|
|
8173
8178
|
} | undefined;
|
|
8174
|
-
label?: {
|
|
8175
|
-
id: string;
|
|
8176
|
-
description: string;
|
|
8177
|
-
defaultMessage: string;
|
|
8178
|
-
} | undefined;
|
|
8179
8179
|
conditionals?: ({
|
|
8180
8180
|
type: "SHOW";
|
|
8181
8181
|
conditional: JSONSchema;
|
|
@@ -8199,6 +8199,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8199
8199
|
}>, z.ZodObject<{
|
|
8200
8200
|
type: z.ZodLiteral<"ADMINISTRATIVE_AREA">;
|
|
8201
8201
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
8202
|
+
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
8203
|
+
id: string;
|
|
8204
|
+
description: string;
|
|
8205
|
+
defaultMessage: string;
|
|
8206
|
+
}>>;
|
|
8202
8207
|
required: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
8203
8208
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
8204
8209
|
id: string;
|
|
@@ -8214,19 +8219,14 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8214
8219
|
defaultMessage: string;
|
|
8215
8220
|
};
|
|
8216
8221
|
}>]>>>>;
|
|
8217
|
-
label: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
8218
|
-
id: string;
|
|
8219
|
-
description: string;
|
|
8220
|
-
defaultMessage: string;
|
|
8221
|
-
}>>;
|
|
8222
8222
|
conditionals: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>>;
|
|
8223
8223
|
}, "strip", z.ZodTypeAny, {
|
|
8224
8224
|
type: "ADMINISTRATIVE_AREA";
|
|
8225
8225
|
id: string;
|
|
8226
|
+
label?: TranslationConfig | undefined;
|
|
8226
8227
|
required?: boolean | {
|
|
8227
8228
|
message: TranslationConfig;
|
|
8228
8229
|
} | undefined;
|
|
8229
|
-
label?: TranslationConfig | undefined;
|
|
8230
8230
|
conditionals?: ({
|
|
8231
8231
|
type: "SHOW";
|
|
8232
8232
|
conditional: JSONSchema;
|
|
@@ -8240,6 +8240,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8240
8240
|
}, {
|
|
8241
8241
|
type: "ADMINISTRATIVE_AREA";
|
|
8242
8242
|
id: string;
|
|
8243
|
+
label?: {
|
|
8244
|
+
id: string;
|
|
8245
|
+
description: string;
|
|
8246
|
+
defaultMessage: string;
|
|
8247
|
+
} | undefined;
|
|
8243
8248
|
required?: boolean | {
|
|
8244
8249
|
message: {
|
|
8245
8250
|
id: string;
|
|
@@ -8247,11 +8252,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8247
8252
|
defaultMessage: string;
|
|
8248
8253
|
};
|
|
8249
8254
|
} | undefined;
|
|
8250
|
-
label?: {
|
|
8251
|
-
id: string;
|
|
8252
|
-
description: string;
|
|
8253
|
-
defaultMessage: string;
|
|
8254
|
-
} | undefined;
|
|
8255
8255
|
conditionals?: ({
|
|
8256
8256
|
type: "SHOW";
|
|
8257
8257
|
conditional: JSONSchema;
|
|
@@ -8353,10 +8353,10 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8353
8353
|
fields?: ({
|
|
8354
8354
|
type: "COUNTRY";
|
|
8355
8355
|
id: string;
|
|
8356
|
+
label?: TranslationConfig | undefined;
|
|
8356
8357
|
required?: boolean | {
|
|
8357
8358
|
message: TranslationConfig;
|
|
8358
8359
|
} | undefined;
|
|
8359
|
-
label?: TranslationConfig | undefined;
|
|
8360
8360
|
conditionals?: ({
|
|
8361
8361
|
type: "SHOW";
|
|
8362
8362
|
conditional: JSONSchema;
|
|
@@ -8380,10 +8380,10 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8380
8380
|
} | {
|
|
8381
8381
|
type: "ADMINISTRATIVE_AREA";
|
|
8382
8382
|
id: string;
|
|
8383
|
+
label?: TranslationConfig | undefined;
|
|
8383
8384
|
required?: boolean | {
|
|
8384
8385
|
message: TranslationConfig;
|
|
8385
8386
|
} | undefined;
|
|
8386
|
-
label?: TranslationConfig | undefined;
|
|
8387
8387
|
conditionals?: ({
|
|
8388
8388
|
type: "SHOW";
|
|
8389
8389
|
conditional: JSONSchema;
|
|
@@ -8422,6 +8422,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8422
8422
|
fields?: ({
|
|
8423
8423
|
type: "COUNTRY";
|
|
8424
8424
|
id: string;
|
|
8425
|
+
label?: {
|
|
8426
|
+
id: string;
|
|
8427
|
+
description: string;
|
|
8428
|
+
defaultMessage: string;
|
|
8429
|
+
} | undefined;
|
|
8425
8430
|
required?: boolean | {
|
|
8426
8431
|
message: {
|
|
8427
8432
|
id: string;
|
|
@@ -8429,11 +8434,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8429
8434
|
defaultMessage: string;
|
|
8430
8435
|
};
|
|
8431
8436
|
} | undefined;
|
|
8432
|
-
label?: {
|
|
8433
|
-
id: string;
|
|
8434
|
-
description: string;
|
|
8435
|
-
defaultMessage: string;
|
|
8436
|
-
} | undefined;
|
|
8437
8437
|
conditionals?: ({
|
|
8438
8438
|
type: "SHOW";
|
|
8439
8439
|
conditional: JSONSchema;
|
|
@@ -8457,6 +8457,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8457
8457
|
} | {
|
|
8458
8458
|
type: "ADMINISTRATIVE_AREA";
|
|
8459
8459
|
id: string;
|
|
8460
|
+
label?: {
|
|
8461
|
+
id: string;
|
|
8462
|
+
description: string;
|
|
8463
|
+
defaultMessage: string;
|
|
8464
|
+
} | undefined;
|
|
8460
8465
|
required?: boolean | {
|
|
8461
8466
|
message: {
|
|
8462
8467
|
id: string;
|
|
@@ -8464,11 +8469,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8464
8469
|
defaultMessage: string;
|
|
8465
8470
|
};
|
|
8466
8471
|
} | undefined;
|
|
8467
|
-
label?: {
|
|
8468
|
-
id: string;
|
|
8469
|
-
description: string;
|
|
8470
|
-
defaultMessage: string;
|
|
8471
|
-
} | undefined;
|
|
8472
8472
|
conditionals?: ({
|
|
8473
8473
|
type: "SHOW";
|
|
8474
8474
|
conditional: JSONSchema;
|
|
@@ -8601,10 +8601,10 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8601
8601
|
fields?: ({
|
|
8602
8602
|
type: "COUNTRY";
|
|
8603
8603
|
id: string;
|
|
8604
|
+
label?: TranslationConfig | undefined;
|
|
8604
8605
|
required?: boolean | {
|
|
8605
8606
|
message: TranslationConfig;
|
|
8606
8607
|
} | undefined;
|
|
8607
|
-
label?: TranslationConfig | undefined;
|
|
8608
8608
|
conditionals?: ({
|
|
8609
8609
|
type: "SHOW";
|
|
8610
8610
|
conditional: JSONSchema;
|
|
@@ -8628,10 +8628,10 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8628
8628
|
} | {
|
|
8629
8629
|
type: "ADMINISTRATIVE_AREA";
|
|
8630
8630
|
id: string;
|
|
8631
|
+
label?: TranslationConfig | undefined;
|
|
8631
8632
|
required?: boolean | {
|
|
8632
8633
|
message: TranslationConfig;
|
|
8633
8634
|
} | undefined;
|
|
8634
|
-
label?: TranslationConfig | undefined;
|
|
8635
8635
|
conditionals?: ({
|
|
8636
8636
|
type: "SHOW";
|
|
8637
8637
|
conditional: JSONSchema;
|
|
@@ -8742,6 +8742,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8742
8742
|
fields?: ({
|
|
8743
8743
|
type: "COUNTRY";
|
|
8744
8744
|
id: string;
|
|
8745
|
+
label?: {
|
|
8746
|
+
id: string;
|
|
8747
|
+
description: string;
|
|
8748
|
+
defaultMessage: string;
|
|
8749
|
+
} | undefined;
|
|
8745
8750
|
required?: boolean | {
|
|
8746
8751
|
message: {
|
|
8747
8752
|
id: string;
|
|
@@ -8749,11 +8754,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8749
8754
|
defaultMessage: string;
|
|
8750
8755
|
};
|
|
8751
8756
|
} | undefined;
|
|
8752
|
-
label?: {
|
|
8753
|
-
id: string;
|
|
8754
|
-
description: string;
|
|
8755
|
-
defaultMessage: string;
|
|
8756
|
-
} | undefined;
|
|
8757
8757
|
conditionals?: ({
|
|
8758
8758
|
type: "SHOW";
|
|
8759
8759
|
conditional: JSONSchema;
|
|
@@ -8777,6 +8777,11 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8777
8777
|
} | {
|
|
8778
8778
|
type: "ADMINISTRATIVE_AREA";
|
|
8779
8779
|
id: string;
|
|
8780
|
+
label?: {
|
|
8781
|
+
id: string;
|
|
8782
|
+
description: string;
|
|
8783
|
+
defaultMessage: string;
|
|
8784
|
+
} | undefined;
|
|
8780
8785
|
required?: boolean | {
|
|
8781
8786
|
message: {
|
|
8782
8787
|
id: string;
|
|
@@ -8784,11 +8789,6 @@ declare const Address: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8784
8789
|
defaultMessage: string;
|
|
8785
8790
|
};
|
|
8786
8791
|
} | undefined;
|
|
8787
|
-
label?: {
|
|
8788
|
-
id: string;
|
|
8789
|
-
description: string;
|
|
8790
|
-
defaultMessage: string;
|
|
8791
|
-
} | undefined;
|
|
8792
8792
|
conditionals?: ({
|
|
8793
8793
|
type: "SHOW";
|
|
8794
8794
|
conditional: JSONSchema;
|
|
@@ -10278,6 +10278,7 @@ declare const SearchField: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
10278
10278
|
field: string;
|
|
10279
10279
|
direction: "asc" | "desc";
|
|
10280
10280
|
}[], unknown>>;
|
|
10281
|
+
excludeDrafts: z.ZodOptional<z.ZodBoolean>;
|
|
10281
10282
|
}, "query" | "limit" | "offset">, {
|
|
10282
10283
|
validation: z.ZodObject<{
|
|
10283
10284
|
validator: z.ZodType<JSONSchema, z.ZodTypeDef, JSONSchema>;
|
|
@@ -10767,6 +10768,254 @@ declare const SearchField: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
10767
10768
|
} | undefined;
|
|
10768
10769
|
}>;
|
|
10769
10770
|
export type SearchField = z.infer<typeof SearchField>;
|
|
10771
|
+
declare const Icd11Field: z.ZodObject<z.objectUtil.extendShape<{
|
|
10772
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
10773
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
10774
|
+
id: string;
|
|
10775
|
+
description: string;
|
|
10776
|
+
defaultMessage: string;
|
|
10777
|
+
}>;
|
|
10778
|
+
parent: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
10779
|
+
$$field: z.ZodEffects<z.ZodString, string, string>;
|
|
10780
|
+
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
10781
|
+
}, "strip", z.ZodTypeAny, {
|
|
10782
|
+
$$field: string;
|
|
10783
|
+
$$subfield: string[];
|
|
10784
|
+
}, {
|
|
10785
|
+
$$field: string;
|
|
10786
|
+
$$subfield?: string[] | undefined;
|
|
10787
|
+
}>, z.ZodArray<z.ZodObject<{
|
|
10788
|
+
$$field: z.ZodEffects<z.ZodString, string, string>;
|
|
10789
|
+
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
10790
|
+
}, "strip", z.ZodTypeAny, {
|
|
10791
|
+
$$field: string;
|
|
10792
|
+
$$subfield: string[];
|
|
10793
|
+
}, {
|
|
10794
|
+
$$field: string;
|
|
10795
|
+
$$subfield?: string[] | undefined;
|
|
10796
|
+
}>, "many">]>>;
|
|
10797
|
+
required: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
10798
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
10799
|
+
id: string;
|
|
10800
|
+
description: string;
|
|
10801
|
+
defaultMessage: string;
|
|
10802
|
+
}>;
|
|
10803
|
+
}, "strip", z.ZodTypeAny, {
|
|
10804
|
+
message: TranslationConfig;
|
|
10805
|
+
}, {
|
|
10806
|
+
message: {
|
|
10807
|
+
id: string;
|
|
10808
|
+
description: string;
|
|
10809
|
+
defaultMessage: string;
|
|
10810
|
+
};
|
|
10811
|
+
}>]>>>;
|
|
10812
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
|
10813
|
+
secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
10814
|
+
placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
10815
|
+
id: string;
|
|
10816
|
+
description: string;
|
|
10817
|
+
defaultMessage: string;
|
|
10818
|
+
}>>;
|
|
10819
|
+
validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10820
|
+
validator: z.ZodType<JSONSchema, z.ZodTypeDef, JSONSchema>;
|
|
10821
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
10822
|
+
id: string;
|
|
10823
|
+
description: string;
|
|
10824
|
+
defaultMessage: string;
|
|
10825
|
+
}>;
|
|
10826
|
+
}, "strip", z.ZodTypeAny, {
|
|
10827
|
+
message: TranslationConfig;
|
|
10828
|
+
validator: JSONSchema;
|
|
10829
|
+
}, {
|
|
10830
|
+
message: {
|
|
10831
|
+
id: string;
|
|
10832
|
+
description: string;
|
|
10833
|
+
defaultMessage: string;
|
|
10834
|
+
};
|
|
10835
|
+
validator: JSONSchema;
|
|
10836
|
+
}>, "many">>>;
|
|
10837
|
+
helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
10838
|
+
id: string;
|
|
10839
|
+
description: string;
|
|
10840
|
+
defaultMessage: string;
|
|
10841
|
+
}>>;
|
|
10842
|
+
hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
10843
|
+
uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
10844
|
+
value: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
10845
|
+
$$field: z.ZodEffects<z.ZodString, string, string>;
|
|
10846
|
+
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
10847
|
+
}, "strip", z.ZodTypeAny, {
|
|
10848
|
+
$$field: string;
|
|
10849
|
+
$$subfield: string[];
|
|
10850
|
+
}, {
|
|
10851
|
+
$$field: string;
|
|
10852
|
+
$$subfield?: string[] | undefined;
|
|
10853
|
+
}>, z.ZodArray<z.ZodObject<{
|
|
10854
|
+
$$field: z.ZodEffects<z.ZodString, string, string>;
|
|
10855
|
+
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
10856
|
+
}, "strip", z.ZodTypeAny, {
|
|
10857
|
+
$$field: string;
|
|
10858
|
+
$$subfield: string[];
|
|
10859
|
+
}, {
|
|
10860
|
+
$$field: string;
|
|
10861
|
+
$$subfield?: string[] | undefined;
|
|
10862
|
+
}>, "many">]>>;
|
|
10863
|
+
analytics: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
10864
|
+
persistWhenHidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
10865
|
+
}, {
|
|
10866
|
+
type: z.ZodLiteral<"ICD11">;
|
|
10867
|
+
defaultValue: z.ZodOptional<z.ZodObject<{
|
|
10868
|
+
code: z.ZodString;
|
|
10869
|
+
label: z.ZodString;
|
|
10870
|
+
}, "strip", z.ZodTypeAny, {
|
|
10871
|
+
code: string;
|
|
10872
|
+
label: string;
|
|
10873
|
+
}, {
|
|
10874
|
+
code: string;
|
|
10875
|
+
label: string;
|
|
10876
|
+
}>>;
|
|
10877
|
+
configuration: z.ZodObject<{
|
|
10878
|
+
url: z.ZodString;
|
|
10879
|
+
apiVersion: z.ZodDefault<z.ZodString>;
|
|
10880
|
+
chapterFilter: z.ZodOptional<z.ZodString>;
|
|
10881
|
+
timeout: z.ZodDefault<z.ZodNumber>;
|
|
10882
|
+
}, "strip", z.ZodTypeAny, {
|
|
10883
|
+
url: string;
|
|
10884
|
+
timeout: number;
|
|
10885
|
+
apiVersion: string;
|
|
10886
|
+
chapterFilter?: string | undefined;
|
|
10887
|
+
}, {
|
|
10888
|
+
url: string;
|
|
10889
|
+
timeout?: number | undefined;
|
|
10890
|
+
apiVersion?: string | undefined;
|
|
10891
|
+
chapterFilter?: string | undefined;
|
|
10892
|
+
}>;
|
|
10893
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10894
|
+
type: "ICD11";
|
|
10895
|
+
id: string;
|
|
10896
|
+
label: TranslationConfig;
|
|
10897
|
+
configuration: {
|
|
10898
|
+
url: string;
|
|
10899
|
+
timeout: number;
|
|
10900
|
+
apiVersion: string;
|
|
10901
|
+
chapterFilter?: string | undefined;
|
|
10902
|
+
};
|
|
10903
|
+
parent?: {
|
|
10904
|
+
$$field: string;
|
|
10905
|
+
$$subfield: string[];
|
|
10906
|
+
} | {
|
|
10907
|
+
$$field: string;
|
|
10908
|
+
$$subfield: string[];
|
|
10909
|
+
}[] | undefined;
|
|
10910
|
+
value?: {
|
|
10911
|
+
$$field: string;
|
|
10912
|
+
$$subfield: string[];
|
|
10913
|
+
} | {
|
|
10914
|
+
$$field: string;
|
|
10915
|
+
$$subfield: string[];
|
|
10916
|
+
}[] | undefined;
|
|
10917
|
+
validation?: {
|
|
10918
|
+
message: TranslationConfig;
|
|
10919
|
+
validator: JSONSchema;
|
|
10920
|
+
}[] | undefined;
|
|
10921
|
+
required?: boolean | {
|
|
10922
|
+
message: TranslationConfig;
|
|
10923
|
+
} | undefined;
|
|
10924
|
+
conditionals?: ({
|
|
10925
|
+
type: "SHOW";
|
|
10926
|
+
conditional: JSONSchema;
|
|
10927
|
+
} | {
|
|
10928
|
+
type: "ENABLE";
|
|
10929
|
+
conditional: JSONSchema;
|
|
10930
|
+
} | {
|
|
10931
|
+
type: "DISPLAY_ON_REVIEW";
|
|
10932
|
+
conditional: JSONSchema;
|
|
10933
|
+
})[] | undefined;
|
|
10934
|
+
secured?: boolean | undefined;
|
|
10935
|
+
placeholder?: TranslationConfig | undefined;
|
|
10936
|
+
helperText?: TranslationConfig | undefined;
|
|
10937
|
+
hideLabel?: boolean | undefined;
|
|
10938
|
+
uncorrectable?: boolean | undefined;
|
|
10939
|
+
analytics?: boolean | undefined;
|
|
10940
|
+
persistWhenHidden?: boolean | undefined;
|
|
10941
|
+
defaultValue?: {
|
|
10942
|
+
code: string;
|
|
10943
|
+
label: string;
|
|
10944
|
+
} | undefined;
|
|
10945
|
+
}, {
|
|
10946
|
+
type: "ICD11";
|
|
10947
|
+
id: string;
|
|
10948
|
+
label: {
|
|
10949
|
+
id: string;
|
|
10950
|
+
description: string;
|
|
10951
|
+
defaultMessage: string;
|
|
10952
|
+
};
|
|
10953
|
+
configuration: {
|
|
10954
|
+
url: string;
|
|
10955
|
+
timeout?: number | undefined;
|
|
10956
|
+
apiVersion?: string | undefined;
|
|
10957
|
+
chapterFilter?: string | undefined;
|
|
10958
|
+
};
|
|
10959
|
+
parent?: {
|
|
10960
|
+
$$field: string;
|
|
10961
|
+
$$subfield?: string[] | undefined;
|
|
10962
|
+
} | {
|
|
10963
|
+
$$field: string;
|
|
10964
|
+
$$subfield?: string[] | undefined;
|
|
10965
|
+
}[] | undefined;
|
|
10966
|
+
value?: {
|
|
10967
|
+
$$field: string;
|
|
10968
|
+
$$subfield?: string[] | undefined;
|
|
10969
|
+
} | {
|
|
10970
|
+
$$field: string;
|
|
10971
|
+
$$subfield?: string[] | undefined;
|
|
10972
|
+
}[] | undefined;
|
|
10973
|
+
validation?: {
|
|
10974
|
+
message: {
|
|
10975
|
+
id: string;
|
|
10976
|
+
description: string;
|
|
10977
|
+
defaultMessage: string;
|
|
10978
|
+
};
|
|
10979
|
+
validator: JSONSchema;
|
|
10980
|
+
}[] | undefined;
|
|
10981
|
+
required?: boolean | {
|
|
10982
|
+
message: {
|
|
10983
|
+
id: string;
|
|
10984
|
+
description: string;
|
|
10985
|
+
defaultMessage: string;
|
|
10986
|
+
};
|
|
10987
|
+
} | undefined;
|
|
10988
|
+
conditionals?: ({
|
|
10989
|
+
type: "SHOW";
|
|
10990
|
+
conditional: JSONSchema;
|
|
10991
|
+
} | {
|
|
10992
|
+
type: "ENABLE";
|
|
10993
|
+
conditional: JSONSchema;
|
|
10994
|
+
} | {
|
|
10995
|
+
type: "DISPLAY_ON_REVIEW";
|
|
10996
|
+
conditional: JSONSchema;
|
|
10997
|
+
})[] | undefined;
|
|
10998
|
+
secured?: boolean | undefined;
|
|
10999
|
+
placeholder?: {
|
|
11000
|
+
id: string;
|
|
11001
|
+
description: string;
|
|
11002
|
+
defaultMessage: string;
|
|
11003
|
+
} | undefined;
|
|
11004
|
+
helperText?: {
|
|
11005
|
+
id: string;
|
|
11006
|
+
description: string;
|
|
11007
|
+
defaultMessage: string;
|
|
11008
|
+
} | undefined;
|
|
11009
|
+
hideLabel?: boolean | undefined;
|
|
11010
|
+
uncorrectable?: boolean | undefined;
|
|
11011
|
+
analytics?: boolean | undefined;
|
|
11012
|
+
persistWhenHidden?: boolean | undefined;
|
|
11013
|
+
defaultValue?: {
|
|
11014
|
+
code: string;
|
|
11015
|
+
label: string;
|
|
11016
|
+
} | undefined;
|
|
11017
|
+
}>;
|
|
11018
|
+
export type Icd11Field = z.infer<typeof Icd11Field>;
|
|
10770
11019
|
declare const LinkButtonField: z.ZodObject<z.objectUtil.extendShape<{
|
|
10771
11020
|
id: z.ZodEffects<z.ZodString, string, string>;
|
|
10772
11021
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -12835,12 +13084,12 @@ declare const LoaderField: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12835
13084
|
}>;
|
|
12836
13085
|
export type LoaderField = z.infer<typeof LoaderField>;
|
|
12837
13086
|
/** @knipignore */
|
|
12838
|
-
export type FieldConfig = FieldGroup | z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof NumberWithUnitField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof AgeField> | z.infer<typeof TimeField> | z.infer<typeof DateRangeField> | z.infer<typeof SelectDateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof NameField> | z.infer<typeof PhoneField> | z.infer<typeof IdField> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof LocationInput> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField> | z.infer<typeof ButtonField> | z.infer<typeof AlphaPrintButton> | z.infer<typeof HttpField> | z.infer<typeof SearchField> | z.infer<typeof LinkButtonField> | z.infer<typeof VerificationStatus> | z.infer<typeof QueryParamReaderField> | z.infer<typeof QrReaderField> | z.infer<typeof IdReaderField> | z.infer<typeof LoaderField>;
|
|
13087
|
+
export type FieldConfig = FieldGroup | z.infer<typeof Address> | z.infer<typeof TextField> | z.infer<typeof NumberField> | z.infer<typeof NumberWithUnitField> | z.infer<typeof TextAreaField> | z.infer<typeof DateField> | z.infer<typeof AgeField> | z.infer<typeof TimeField> | z.infer<typeof DateRangeField> | z.infer<typeof SelectDateRangeField> | z.infer<typeof Paragraph> | z.infer<typeof RadioGroup> | z.infer<typeof BulletList> | z.infer<typeof PageHeader> | z.infer<typeof Select> | z.infer<typeof NameField> | z.infer<typeof PhoneField> | z.infer<typeof IdField> | z.infer<typeof Checkbox> | z.infer<typeof File> | z.infer<typeof FileUploadWithOptions> | z.infer<typeof Country> | z.infer<typeof AdministrativeArea> | z.infer<typeof Divider> | z.infer<typeof LocationInput> | z.infer<typeof Facility> | z.infer<typeof Office> | z.infer<typeof SignatureField> | z.infer<typeof EmailField> | z.infer<typeof DataField> | z.infer<typeof ButtonField> | z.infer<typeof AlphaPrintButton> | z.infer<typeof HttpField> | z.infer<typeof SearchField> | z.infer<typeof LinkButtonField> | z.infer<typeof VerificationStatus> | z.infer<typeof QueryParamReaderField> | z.infer<typeof QrReaderField> | z.infer<typeof IdReaderField> | z.infer<typeof LoaderField> | z.infer<typeof Icd11Field>;
|
|
12839
13088
|
/** @knipignore */
|
|
12840
13089
|
/**
|
|
12841
13090
|
* This is the type that should be used for the input of the FieldConfig. Useful when config uses zod defaults.
|
|
12842
13091
|
*/
|
|
12843
|
-
export type FieldConfigInput = FieldGroupInput | z.input<typeof Address> | z.input<typeof TextField> | z.input<typeof TimeField> | z.input<typeof SelectDateRangeField> | z.input<typeof ButtonField> | z.input<typeof AlphaPrintButton> | z.input<typeof NumberField> | z.input<typeof NumberWithUnitField> | z.input<typeof TextAreaField> | z.input<typeof DateField> | z.input<typeof AgeField> | z.input<typeof DateRangeField> | z.input<typeof Paragraph> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof NameField> | z.input<typeof PhoneField> | z.input<typeof IdField> | z.input<typeof Checkbox> | z.input<typeof File> | z.input<typeof FileUploadWithOptions> | z.input<typeof Country> | z.input<typeof AdministrativeArea> | z.input<typeof Divider> | z.input<typeof LocationInput> | z.input<typeof Facility> | z.input<typeof Office> | z.input<typeof SignatureField> | z.input<typeof EmailField> | z.input<typeof DataField> | z.input<typeof HttpField> | z.input<typeof SearchField> | z.input<typeof LinkButtonField> | z.input<typeof VerificationStatus> | z.input<typeof QueryParamReaderField> | z.input<typeof QrReaderField> | z.input<typeof IdReaderField> | z.input<typeof LoaderField>;
|
|
13092
|
+
export type FieldConfigInput = FieldGroupInput | z.input<typeof Address> | z.input<typeof TextField> | z.input<typeof TimeField> | z.input<typeof SelectDateRangeField> | z.input<typeof ButtonField> | z.input<typeof AlphaPrintButton> | z.input<typeof NumberField> | z.input<typeof NumberWithUnitField> | z.input<typeof TextAreaField> | z.input<typeof DateField> | z.input<typeof AgeField> | z.input<typeof DateRangeField> | z.input<typeof Paragraph> | z.input<typeof RadioGroup> | z.input<typeof BulletList> | z.input<typeof PageHeader> | z.input<typeof Select> | z.input<typeof NameField> | z.input<typeof PhoneField> | z.input<typeof IdField> | z.input<typeof Checkbox> | z.input<typeof File> | z.input<typeof FileUploadWithOptions> | z.input<typeof Country> | z.input<typeof AdministrativeArea> | z.input<typeof Divider> | z.input<typeof LocationInput> | z.input<typeof Facility> | z.input<typeof Office> | z.input<typeof SignatureField> | z.input<typeof EmailField> | z.input<typeof DataField> | z.input<typeof HttpField> | z.input<typeof SearchField> | z.input<typeof LinkButtonField> | z.input<typeof VerificationStatus> | z.input<typeof QueryParamReaderField> | z.input<typeof QrReaderField> | z.input<typeof IdReaderField> | z.input<typeof LoaderField> | z.input<typeof Icd11Field>;
|
|
12844
13093
|
export declare const FieldConfig: z.ZodType<FieldConfig, z.ZodTypeDef, FieldConfigInput>;
|
|
12845
13094
|
export type SelectField = z.infer<typeof Select>;
|
|
12846
13095
|
export type NameField = z.infer<typeof NameField>;
|