@opencrvs/toolkit 1.9.2-rc.cb144d0 → 1.9.2-rc.f1d7235

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.
@@ -2589,6 +2589,61 @@ export declare const defineConfig: (config: EventConfigInput) => {
2589
2589
  $$subfield?: string[] | undefined;
2590
2590
  }[] | undefined;
2591
2591
  analytics?: boolean | undefined;
2592
+ } | {
2593
+ id: string;
2594
+ label: {
2595
+ id: string;
2596
+ defaultMessage: string;
2597
+ description: string;
2598
+ };
2599
+ type: "HIDDEN";
2600
+ parent?: {
2601
+ $$field: string;
2602
+ $$subfield?: string[] | undefined;
2603
+ } | {
2604
+ $$field: string;
2605
+ $$subfield?: string[] | undefined;
2606
+ }[] | undefined;
2607
+ conditionals?: ({
2608
+ type: "SHOW";
2609
+ conditional: any;
2610
+ } | {
2611
+ type: "ENABLE";
2612
+ conditional: any;
2613
+ } | {
2614
+ type: "DISPLAY_ON_REVIEW";
2615
+ conditional: any;
2616
+ })[] | undefined;
2617
+ secured?: boolean | undefined;
2618
+ placeholder?: {
2619
+ id: string;
2620
+ defaultMessage: string;
2621
+ description: string;
2622
+ } | undefined;
2623
+ validation?: {
2624
+ validator: any;
2625
+ message: {
2626
+ id: string;
2627
+ defaultMessage: string;
2628
+ description: string;
2629
+ };
2630
+ }[] | undefined;
2631
+ helperText?: {
2632
+ id: string;
2633
+ defaultMessage: string;
2634
+ description: string;
2635
+ } | undefined;
2636
+ hideLabel?: boolean | undefined;
2637
+ uncorrectable?: boolean | undefined;
2638
+ value?: {
2639
+ $$field: string;
2640
+ $$subfield?: string[] | undefined;
2641
+ } | {
2642
+ $$field: string;
2643
+ $$subfield?: string[] | undefined;
2644
+ }[] | undefined;
2645
+ analytics?: boolean | undefined;
2646
+ required?: false | undefined;
2592
2647
  } | {
2593
2648
  id: string;
2594
2649
  label: {
@@ -5651,6 +5706,61 @@ export declare const defineConfig: (config: EventConfigInput) => {
5651
5706
  $$subfield?: string[] | undefined;
5652
5707
  }[] | undefined;
5653
5708
  analytics?: boolean | undefined;
5709
+ } | {
5710
+ id: string;
5711
+ label: {
5712
+ id: string;
5713
+ defaultMessage: string;
5714
+ description: string;
5715
+ };
5716
+ type: "HIDDEN";
5717
+ parent?: {
5718
+ $$field: string;
5719
+ $$subfield?: string[] | undefined;
5720
+ } | {
5721
+ $$field: string;
5722
+ $$subfield?: string[] | undefined;
5723
+ }[] | undefined;
5724
+ conditionals?: ({
5725
+ type: "SHOW";
5726
+ conditional: any;
5727
+ } | {
5728
+ type: "ENABLE";
5729
+ conditional: any;
5730
+ } | {
5731
+ type: "DISPLAY_ON_REVIEW";
5732
+ conditional: any;
5733
+ })[] | undefined;
5734
+ secured?: boolean | undefined;
5735
+ placeholder?: {
5736
+ id: string;
5737
+ defaultMessage: string;
5738
+ description: string;
5739
+ } | undefined;
5740
+ validation?: {
5741
+ validator: any;
5742
+ message: {
5743
+ id: string;
5744
+ defaultMessage: string;
5745
+ description: string;
5746
+ };
5747
+ }[] | undefined;
5748
+ helperText?: {
5749
+ id: string;
5750
+ defaultMessage: string;
5751
+ description: string;
5752
+ } | undefined;
5753
+ hideLabel?: boolean | undefined;
5754
+ uncorrectable?: boolean | undefined;
5755
+ value?: {
5756
+ $$field: string;
5757
+ $$subfield?: string[] | undefined;
5758
+ } | {
5759
+ $$field: string;
5760
+ $$subfield?: string[] | undefined;
5761
+ }[] | undefined;
5762
+ analytics?: boolean | undefined;
5763
+ required?: false | undefined;
5654
5764
  } | {
5655
5765
  id: string;
5656
5766
  label: {
@@ -8708,6 +8818,61 @@ export declare const defineConfig: (config: EventConfigInput) => {
8708
8818
  $$subfield?: string[] | undefined;
8709
8819
  }[] | undefined;
8710
8820
  analytics?: boolean | undefined;
8821
+ } | {
8822
+ id: string;
8823
+ label: {
8824
+ id: string;
8825
+ defaultMessage: string;
8826
+ description: string;
8827
+ };
8828
+ type: "HIDDEN";
8829
+ parent?: {
8830
+ $$field: string;
8831
+ $$subfield?: string[] | undefined;
8832
+ } | {
8833
+ $$field: string;
8834
+ $$subfield?: string[] | undefined;
8835
+ }[] | undefined;
8836
+ conditionals?: ({
8837
+ type: "SHOW";
8838
+ conditional: any;
8839
+ } | {
8840
+ type: "ENABLE";
8841
+ conditional: any;
8842
+ } | {
8843
+ type: "DISPLAY_ON_REVIEW";
8844
+ conditional: any;
8845
+ })[] | undefined;
8846
+ secured?: boolean | undefined;
8847
+ placeholder?: {
8848
+ id: string;
8849
+ defaultMessage: string;
8850
+ description: string;
8851
+ } | undefined;
8852
+ validation?: {
8853
+ validator: any;
8854
+ message: {
8855
+ id: string;
8856
+ defaultMessage: string;
8857
+ description: string;
8858
+ };
8859
+ }[] | undefined;
8860
+ helperText?: {
8861
+ id: string;
8862
+ defaultMessage: string;
8863
+ description: string;
8864
+ } | undefined;
8865
+ hideLabel?: boolean | undefined;
8866
+ uncorrectable?: boolean | undefined;
8867
+ value?: {
8868
+ $$field: string;
8869
+ $$subfield?: string[] | undefined;
8870
+ } | {
8871
+ $$field: string;
8872
+ $$subfield?: string[] | undefined;
8873
+ }[] | undefined;
8874
+ analytics?: boolean | undefined;
8875
+ required?: false | undefined;
8711
8876
  } | {
8712
8877
  id: string;
8713
8878
  label: {
@@ -11895,6 +12060,61 @@ export declare const defineConfig: (config: EventConfigInput) => {
11895
12060
  $$subfield?: string[] | undefined;
11896
12061
  }[] | undefined;
11897
12062
  analytics?: boolean | undefined;
12063
+ } | {
12064
+ id: string;
12065
+ label: {
12066
+ id: string;
12067
+ defaultMessage: string;
12068
+ description: string;
12069
+ };
12070
+ type: "HIDDEN";
12071
+ parent?: {
12072
+ $$field: string;
12073
+ $$subfield?: string[] | undefined;
12074
+ } | {
12075
+ $$field: string;
12076
+ $$subfield?: string[] | undefined;
12077
+ }[] | undefined;
12078
+ conditionals?: ({
12079
+ type: "SHOW";
12080
+ conditional: any;
12081
+ } | {
12082
+ type: "ENABLE";
12083
+ conditional: any;
12084
+ } | {
12085
+ type: "DISPLAY_ON_REVIEW";
12086
+ conditional: any;
12087
+ })[] | undefined;
12088
+ secured?: boolean | undefined;
12089
+ placeholder?: {
12090
+ id: string;
12091
+ defaultMessage: string;
12092
+ description: string;
12093
+ } | undefined;
12094
+ validation?: {
12095
+ validator: any;
12096
+ message: {
12097
+ id: string;
12098
+ defaultMessage: string;
12099
+ description: string;
12100
+ };
12101
+ }[] | undefined;
12102
+ helperText?: {
12103
+ id: string;
12104
+ defaultMessage: string;
12105
+ description: string;
12106
+ } | undefined;
12107
+ hideLabel?: boolean | undefined;
12108
+ uncorrectable?: boolean | undefined;
12109
+ value?: {
12110
+ $$field: string;
12111
+ $$subfield?: string[] | undefined;
12112
+ } | {
12113
+ $$field: string;
12114
+ $$subfield?: string[] | undefined;
12115
+ }[] | undefined;
12116
+ analytics?: boolean | undefined;
12117
+ required?: false | undefined;
11898
12118
  } | {
11899
12119
  id: string;
11900
12120
  label: {
@@ -14930,6 +15150,61 @@ export declare const defineConfig: (config: EventConfigInput) => {
14930
15150
  $$subfield?: string[] | undefined;
14931
15151
  }[] | undefined;
14932
15152
  analytics?: boolean | undefined;
15153
+ } | {
15154
+ id: string;
15155
+ label: {
15156
+ id: string;
15157
+ defaultMessage: string;
15158
+ description: string;
15159
+ };
15160
+ type: "HIDDEN";
15161
+ parent?: {
15162
+ $$field: string;
15163
+ $$subfield?: string[] | undefined;
15164
+ } | {
15165
+ $$field: string;
15166
+ $$subfield?: string[] | undefined;
15167
+ }[] | undefined;
15168
+ conditionals?: ({
15169
+ type: "SHOW";
15170
+ conditional: any;
15171
+ } | {
15172
+ type: "ENABLE";
15173
+ conditional: any;
15174
+ } | {
15175
+ type: "DISPLAY_ON_REVIEW";
15176
+ conditional: any;
15177
+ })[] | undefined;
15178
+ secured?: boolean | undefined;
15179
+ placeholder?: {
15180
+ id: string;
15181
+ defaultMessage: string;
15182
+ description: string;
15183
+ } | undefined;
15184
+ validation?: {
15185
+ validator: any;
15186
+ message: {
15187
+ id: string;
15188
+ defaultMessage: string;
15189
+ description: string;
15190
+ };
15191
+ }[] | undefined;
15192
+ helperText?: {
15193
+ id: string;
15194
+ defaultMessage: string;
15195
+ description: string;
15196
+ } | undefined;
15197
+ hideLabel?: boolean | undefined;
15198
+ uncorrectable?: boolean | undefined;
15199
+ value?: {
15200
+ $$field: string;
15201
+ $$subfield?: string[] | undefined;
15202
+ } | {
15203
+ $$field: string;
15204
+ $$subfield?: string[] | undefined;
15205
+ }[] | undefined;
15206
+ analytics?: boolean | undefined;
15207
+ required?: false | undefined;
14933
15208
  } | {
14934
15209
  id: string;
14935
15210
  label: {
@@ -18031,6 +18306,61 @@ export declare const defineConfig: (config: EventConfigInput) => {
18031
18306
  $$subfield?: string[] | undefined;
18032
18307
  }[] | undefined;
18033
18308
  analytics?: boolean | undefined;
18309
+ } | {
18310
+ id: string;
18311
+ label: {
18312
+ id: string;
18313
+ defaultMessage: string;
18314
+ description: string;
18315
+ };
18316
+ type: "HIDDEN";
18317
+ parent?: {
18318
+ $$field: string;
18319
+ $$subfield?: string[] | undefined;
18320
+ } | {
18321
+ $$field: string;
18322
+ $$subfield?: string[] | undefined;
18323
+ }[] | undefined;
18324
+ conditionals?: ({
18325
+ type: "SHOW";
18326
+ conditional: any;
18327
+ } | {
18328
+ type: "ENABLE";
18329
+ conditional: any;
18330
+ } | {
18331
+ type: "DISPLAY_ON_REVIEW";
18332
+ conditional: any;
18333
+ })[] | undefined;
18334
+ secured?: boolean | undefined;
18335
+ placeholder?: {
18336
+ id: string;
18337
+ defaultMessage: string;
18338
+ description: string;
18339
+ } | undefined;
18340
+ validation?: {
18341
+ validator: any;
18342
+ message: {
18343
+ id: string;
18344
+ defaultMessage: string;
18345
+ description: string;
18346
+ };
18347
+ }[] | undefined;
18348
+ helperText?: {
18349
+ id: string;
18350
+ defaultMessage: string;
18351
+ description: string;
18352
+ } | undefined;
18353
+ hideLabel?: boolean | undefined;
18354
+ uncorrectable?: boolean | undefined;
18355
+ value?: {
18356
+ $$field: string;
18357
+ $$subfield?: string[] | undefined;
18358
+ } | {
18359
+ $$field: string;
18360
+ $$subfield?: string[] | undefined;
18361
+ }[] | undefined;
18362
+ analytics?: boolean | undefined;
18363
+ required?: false | undefined;
18034
18364
  } | {
18035
18365
  id: string;
18036
18366
  label: {
@@ -21066,6 +21396,61 @@ export declare const defineConfig: (config: EventConfigInput) => {
21066
21396
  $$subfield?: string[] | undefined;
21067
21397
  }[] | undefined;
21068
21398
  analytics?: boolean | undefined;
21399
+ } | {
21400
+ id: string;
21401
+ label: {
21402
+ id: string;
21403
+ defaultMessage: string;
21404
+ description: string;
21405
+ };
21406
+ type: "HIDDEN";
21407
+ parent?: {
21408
+ $$field: string;
21409
+ $$subfield?: string[] | undefined;
21410
+ } | {
21411
+ $$field: string;
21412
+ $$subfield?: string[] | undefined;
21413
+ }[] | undefined;
21414
+ conditionals?: ({
21415
+ type: "SHOW";
21416
+ conditional: any;
21417
+ } | {
21418
+ type: "ENABLE";
21419
+ conditional: any;
21420
+ } | {
21421
+ type: "DISPLAY_ON_REVIEW";
21422
+ conditional: any;
21423
+ })[] | undefined;
21424
+ secured?: boolean | undefined;
21425
+ placeholder?: {
21426
+ id: string;
21427
+ defaultMessage: string;
21428
+ description: string;
21429
+ } | undefined;
21430
+ validation?: {
21431
+ validator: any;
21432
+ message: {
21433
+ id: string;
21434
+ defaultMessage: string;
21435
+ description: string;
21436
+ };
21437
+ }[] | undefined;
21438
+ helperText?: {
21439
+ id: string;
21440
+ defaultMessage: string;
21441
+ description: string;
21442
+ } | undefined;
21443
+ hideLabel?: boolean | undefined;
21444
+ uncorrectable?: boolean | undefined;
21445
+ value?: {
21446
+ $$field: string;
21447
+ $$subfield?: string[] | undefined;
21448
+ } | {
21449
+ $$field: string;
21450
+ $$subfield?: string[] | undefined;
21451
+ }[] | undefined;
21452
+ analytics?: boolean | undefined;
21453
+ required?: false | undefined;
21069
21454
  } | {
21070
21455
  id: string;
21071
21456
  label: {
@@ -24156,6 +24541,61 @@ export declare const defineConfig: (config: EventConfigInput) => {
24156
24541
  $$subfield?: string[] | undefined;
24157
24542
  }[] | undefined;
24158
24543
  analytics?: boolean | undefined;
24544
+ } | {
24545
+ id: string;
24546
+ label: {
24547
+ id: string;
24548
+ defaultMessage: string;
24549
+ description: string;
24550
+ };
24551
+ type: "HIDDEN";
24552
+ parent?: {
24553
+ $$field: string;
24554
+ $$subfield?: string[] | undefined;
24555
+ } | {
24556
+ $$field: string;
24557
+ $$subfield?: string[] | undefined;
24558
+ }[] | undefined;
24559
+ conditionals?: ({
24560
+ type: "SHOW";
24561
+ conditional: any;
24562
+ } | {
24563
+ type: "ENABLE";
24564
+ conditional: any;
24565
+ } | {
24566
+ type: "DISPLAY_ON_REVIEW";
24567
+ conditional: any;
24568
+ })[] | undefined;
24569
+ secured?: boolean | undefined;
24570
+ placeholder?: {
24571
+ id: string;
24572
+ defaultMessage: string;
24573
+ description: string;
24574
+ } | undefined;
24575
+ validation?: {
24576
+ validator: any;
24577
+ message: {
24578
+ id: string;
24579
+ defaultMessage: string;
24580
+ description: string;
24581
+ };
24582
+ }[] | undefined;
24583
+ helperText?: {
24584
+ id: string;
24585
+ defaultMessage: string;
24586
+ description: string;
24587
+ } | undefined;
24588
+ hideLabel?: boolean | undefined;
24589
+ uncorrectable?: boolean | undefined;
24590
+ value?: {
24591
+ $$field: string;
24592
+ $$subfield?: string[] | undefined;
24593
+ } | {
24594
+ $$field: string;
24595
+ $$subfield?: string[] | undefined;
24596
+ }[] | undefined;
24597
+ analytics?: boolean | undefined;
24598
+ required?: false | undefined;
24159
24599
  } | {
24160
24600
  id: string;
24161
24601
  label: {
@@ -24678,7 +25118,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
24678
25118
  };
24679
25119
  fieldId: string;
24680
25120
  fieldType: "field";
24681
- type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
25121
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | "HIDDEN" | undefined;
24682
25122
  label?: {
24683
25123
  id: string;
24684
25124
  defaultMessage: string;
@@ -24720,9 +25160,9 @@ export declare const defineConfig: (config: EventConfigInput) => {
24720
25160
  type: "exact" | "fuzzy" | "range" | "within";
24721
25161
  searchFields?: string[] | undefined;
24722
25162
  };
24723
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
25163
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
24724
25164
  fieldType: "event";
24725
- type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
25165
+ type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | "HIDDEN" | undefined;
24726
25166
  label?: {
24727
25167
  id: string;
24728
25168
  defaultMessage: string;
@@ -24774,6 +25214,10 @@ export declare const defineConfig: (config: EventConfigInput) => {
24774
25214
  $$field: string;
24775
25215
  $$subfield?: string[] | undefined;
24776
25216
  } | undefined;
25217
+ placeOfEvent?: {
25218
+ $$field: string;
25219
+ $$subfield?: string[] | undefined;
25220
+ } | undefined;
24777
25221
  fallbackTitle?: {
24778
25222
  id: string;
24779
25223
  defaultMessage: string;
@@ -10,7 +10,7 @@ import { WorkqueueColumnKeys, WorkqueueColumnValue } from './WorkqueueColumnConf
10
10
  */
11
11
  declare function eventFn(fieldId: EventFieldIdInput): {
12
12
  range: () => {
13
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
13
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
14
14
  fieldType: "event";
15
15
  } & {
16
16
  config: {
@@ -18,7 +18,7 @@ declare function eventFn(fieldId: EventFieldIdInput): {
18
18
  };
19
19
  };
20
20
  exact: () => {
21
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
21
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
22
22
  fieldType: "event";
23
23
  } & {
24
24
  config: {
@@ -26,7 +26,7 @@ declare function eventFn(fieldId: EventFieldIdInput): {
26
26
  };
27
27
  };
28
28
  fuzzy: () => {
29
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
29
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
30
30
  fieldType: "event";
31
31
  } & {
32
32
  config: {
@@ -34,7 +34,7 @@ declare function eventFn(fieldId: EventFieldIdInput): {
34
34
  };
35
35
  };
36
36
  within: () => {
37
- fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
37
+ fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
38
38
  fieldType: "event";
39
39
  } & {
40
40
  config: {
@@ -28,9 +28,14 @@ export declare const DEFAULT_DATE_OF_EVENT_PROPERTY = "createdAt";
28
28
  export declare function resolveDateOfEvent(eventMetadata: {
29
29
  createdAt: string;
30
30
  }, declaration: EventState, config: EventConfig): string | undefined;
31
+ export declare const DEFAULT_PLACE_OF_EVENT_PROPERTY = "createdAtLocation";
32
+ export declare function resolvePlaceOfEvent(eventMetadata: {
33
+ createdAtLocation?: UUID | undefined | null;
34
+ }, declaration: EventState, config: EventConfig): UUID | undefined | null;
31
35
  export declare function extractPotentialDuplicatesFromActions(actions: Action[]): PotentialDuplicate[];
32
36
  /**
33
37
  * NOTE: This function should not run field validations. It should return the state based on the actions, without considering context (users, roles, permissions, etc).
38
+ createdAtLocation: CreatedAtLocation
34
39
  *
35
40
  * If you update this function, please ensure @EventIndex type is updated accordingly.
36
41
  * In most cases, you won't need to add new parameters to this function. Discuss with the team before doing so.
@@ -96,6 +101,7 @@ export declare function applyDraftToEventIndex(eventIndex: EventIndex, draft: Dr
96
101
  flags: string[];
97
102
  declaration: Record<string, import("..").FieldValue>;
98
103
  dateOfEvent?: string | null | undefined;
104
+ placeOfEvent?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
99
105
  createdByUserType?: "system" | "user" | null | undefined;
100
106
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
101
107
  createdBySignature?: string | null | undefined;