@opencrvs/toolkit 1.9.5-rc.98beaa4 → 1.9.5-rc.a40ca96
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 +27 -25
- package/dist/commons/events/AdvancedSearchConfig.d.ts +17 -17
- package/dist/commons/events/CountryConfigQueryInput.d.ts +350 -350
- package/dist/commons/events/EventConfig.d.ts +11 -11
- package/dist/commons/events/FieldConfig.d.ts +108 -30
- package/dist/commons/events/FieldType.d.ts +1 -1
- package/dist/commons/events/TemplateConfig.d.ts +15 -3
- package/dist/commons/events/WorkqueueConfig.d.ts +525 -525
- package/dist/commons/events/defineConfig.d.ts +1 -1
- package/dist/commons/events/event.d.ts +4 -4
- package/dist/commons/events/utils.d.ts +1 -1
- package/dist/conditionals/index.js +7 -2
- package/dist/events/index.js +15 -7
- package/dist/notification/index.js +14 -6
- package/package.json +1 -1
|
@@ -258,7 +258,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
258
258
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
259
259
|
searchFields?: string[] | undefined;
|
|
260
260
|
};
|
|
261
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
261
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
262
262
|
fieldType: "event";
|
|
263
263
|
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;
|
|
264
264
|
options?: {
|
|
@@ -3620,23 +3620,24 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3620
3620
|
id: string;
|
|
3621
3621
|
name: {
|
|
3622
3622
|
use: string;
|
|
3623
|
-
given: string[];
|
|
3624
3623
|
family: string;
|
|
3624
|
+
given: string[];
|
|
3625
3625
|
}[];
|
|
3626
3626
|
role: string;
|
|
3627
3627
|
primaryOfficeId: string & import("zod").BRAND<"UUID">;
|
|
3628
3628
|
signature?: string | undefined;
|
|
3629
|
-
|
|
3629
|
+
device?: string | undefined;
|
|
3630
3630
|
fullHonorificName?: string | undefined;
|
|
3631
|
+
avatar?: string | undefined;
|
|
3631
3632
|
} | {
|
|
3632
3633
|
type: "system";
|
|
3633
3634
|
id: string;
|
|
3634
3635
|
name: string;
|
|
3635
|
-
role: "
|
|
3636
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
3636
3637
|
signature?: undefined;
|
|
3637
|
-
avatar?: undefined;
|
|
3638
|
-
primaryOfficeId?: undefined;
|
|
3639
3638
|
fullHonorificName?: string | undefined;
|
|
3639
|
+
primaryOfficeId?: undefined;
|
|
3640
|
+
avatar?: undefined;
|
|
3640
3641
|
};
|
|
3641
3642
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3642
3643
|
}>;
|
|
@@ -3647,23 +3648,24 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3647
3648
|
id: string;
|
|
3648
3649
|
name: {
|
|
3649
3650
|
use: string;
|
|
3650
|
-
given: string[];
|
|
3651
3651
|
family: string;
|
|
3652
|
+
given: string[];
|
|
3652
3653
|
}[];
|
|
3653
3654
|
role: string;
|
|
3654
3655
|
primaryOfficeId: string & import("zod").BRAND<"UUID">;
|
|
3655
3656
|
signature?: string | undefined;
|
|
3656
|
-
|
|
3657
|
+
device?: string | undefined;
|
|
3657
3658
|
fullHonorificName?: string | undefined;
|
|
3659
|
+
avatar?: string | undefined;
|
|
3658
3660
|
} | {
|
|
3659
3661
|
type: "system";
|
|
3660
3662
|
id: string;
|
|
3661
3663
|
name: string;
|
|
3662
|
-
role: "
|
|
3664
|
+
role: "NATIONAL_ID" | "HEALTH" | "RECORD_SEARCH" | "REINDEX" | "WEBHOOK" | "IMPORT_EXPORT";
|
|
3663
3665
|
signature?: undefined;
|
|
3664
|
-
avatar?: undefined;
|
|
3665
|
-
primaryOfficeId?: undefined;
|
|
3666
3666
|
fullHonorificName?: string | undefined;
|
|
3667
|
+
primaryOfficeId?: undefined;
|
|
3668
|
+
avatar?: undefined;
|
|
3667
3669
|
})[];
|
|
3668
3670
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
3669
3671
|
}>;
|
|
@@ -3837,27 +3839,27 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3837
3839
|
createdBy?: {
|
|
3838
3840
|
type: "exact";
|
|
3839
3841
|
term: string | {
|
|
3840
|
-
$userField: "
|
|
3842
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3841
3843
|
$location?: string | undefined;
|
|
3842
3844
|
};
|
|
3843
3845
|
} | undefined;
|
|
3844
3846
|
createdAtLocation?: {
|
|
3845
3847
|
type: "exact";
|
|
3846
3848
|
term: string | {
|
|
3847
|
-
$userField: "
|
|
3849
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3848
3850
|
$location?: string | undefined;
|
|
3849
3851
|
};
|
|
3850
3852
|
} | {
|
|
3851
3853
|
type: "within";
|
|
3852
3854
|
location: string | {
|
|
3853
|
-
$userField: "
|
|
3855
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3854
3856
|
$location?: string | undefined;
|
|
3855
3857
|
};
|
|
3856
3858
|
} | undefined;
|
|
3857
3859
|
assignedTo?: {
|
|
3858
3860
|
type: "exact";
|
|
3859
3861
|
term: string | {
|
|
3860
|
-
$userField: "
|
|
3862
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3861
3863
|
$location?: string | undefined;
|
|
3862
3864
|
};
|
|
3863
3865
|
} | undefined;
|
|
@@ -3879,20 +3881,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3879
3881
|
updatedAtLocation?: {
|
|
3880
3882
|
type: "exact";
|
|
3881
3883
|
term: string | {
|
|
3882
|
-
$userField: "
|
|
3884
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3883
3885
|
$location?: string | undefined;
|
|
3884
3886
|
};
|
|
3885
3887
|
} | {
|
|
3886
3888
|
type: "within";
|
|
3887
3889
|
location: string | {
|
|
3888
|
-
$userField: "
|
|
3890
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3889
3891
|
$location?: string | undefined;
|
|
3890
3892
|
};
|
|
3891
3893
|
} | undefined;
|
|
3892
3894
|
updatedBy?: {
|
|
3893
3895
|
type: "exact";
|
|
3894
3896
|
term: string | {
|
|
3895
|
-
$userField: "
|
|
3897
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3896
3898
|
$location?: string | undefined;
|
|
3897
3899
|
};
|
|
3898
3900
|
} | undefined;
|
|
@@ -3953,27 +3955,27 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3953
3955
|
createdBy?: {
|
|
3954
3956
|
type: "exact";
|
|
3955
3957
|
term: string | {
|
|
3956
|
-
$userField: "
|
|
3958
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3957
3959
|
$location?: string | undefined;
|
|
3958
3960
|
};
|
|
3959
3961
|
} | undefined;
|
|
3960
3962
|
createdAtLocation?: {
|
|
3961
3963
|
type: "exact";
|
|
3962
3964
|
term: string | {
|
|
3963
|
-
$userField: "
|
|
3965
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3964
3966
|
$location?: string | undefined;
|
|
3965
3967
|
};
|
|
3966
3968
|
} | {
|
|
3967
3969
|
type: "within";
|
|
3968
3970
|
location: string | {
|
|
3969
|
-
$userField: "
|
|
3971
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3970
3972
|
$location?: string | undefined;
|
|
3971
3973
|
};
|
|
3972
3974
|
} | undefined;
|
|
3973
3975
|
assignedTo?: {
|
|
3974
3976
|
type: "exact";
|
|
3975
3977
|
term: string | {
|
|
3976
|
-
$userField: "
|
|
3978
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3977
3979
|
$location?: string | undefined;
|
|
3978
3980
|
};
|
|
3979
3981
|
} | undefined;
|
|
@@ -3995,20 +3997,20 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3995
3997
|
updatedAtLocation?: {
|
|
3996
3998
|
type: "exact";
|
|
3997
3999
|
term: string | {
|
|
3998
|
-
$userField: "
|
|
4000
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
3999
4001
|
$location?: string | undefined;
|
|
4000
4002
|
};
|
|
4001
4003
|
} | {
|
|
4002
4004
|
type: "within";
|
|
4003
4005
|
location: string | {
|
|
4004
|
-
$userField: "
|
|
4006
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
4005
4007
|
$location?: string | undefined;
|
|
4006
4008
|
};
|
|
4007
4009
|
} | undefined;
|
|
4008
4010
|
updatedBy?: {
|
|
4009
4011
|
type: "exact";
|
|
4010
4012
|
term: string | {
|
|
4011
|
-
$userField: "
|
|
4013
|
+
$userField: "id" | "name" | "device" | "district" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "province" | "primaryOfficeId";
|
|
4012
4014
|
$location?: string | undefined;
|
|
4013
4015
|
};
|
|
4014
4016
|
} | undefined;
|
|
@@ -189,7 +189,7 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
189
189
|
* The event fields that are available for advanced search. These are the values
|
|
190
190
|
* that can be passed to the `event` function to create a field config.
|
|
191
191
|
*/
|
|
192
|
-
export declare const EventFieldIdInput: z.ZodEnum<["trackingId", "status", "legalStatuses.REGISTERED.acceptedAt", "legalStatuses.REGISTERED.createdAtLocation", "updatedAt"]>;
|
|
192
|
+
export declare const EventFieldIdInput: z.ZodEnum<["trackingId", "status", "legalStatuses.REGISTERED.acceptedAt", "legalStatuses.REGISTERED.createdAtLocation", "legalStatuses.REGISTERED.registrationNumber", "updatedAt"]>;
|
|
193
193
|
/**
|
|
194
194
|
* Represent the prefix used to differentiate event metadata fields from
|
|
195
195
|
* the declaration ones in advanced search form.
|
|
@@ -199,7 +199,7 @@ export declare const METADATA_FIELD_PREFIX = "event.";
|
|
|
199
199
|
* The field IDs that are actually used in the advanced search. The `event`
|
|
200
200
|
* function prefixes the `EventFieldIdInput` values with METADATA_FIELD_PREFIX.
|
|
201
201
|
*/
|
|
202
|
-
export declare const EventFieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.updatedAt"]>;
|
|
202
|
+
export declare const EventFieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
|
|
203
203
|
export type EventFieldIdInput = z.infer<typeof EventFieldIdInput>;
|
|
204
204
|
export type EventFieldId = z.infer<typeof EventFieldId>;
|
|
205
205
|
export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -302,14 +302,14 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
302
302
|
validator: import(".").JSONSchema;
|
|
303
303
|
}>, "many">>>;
|
|
304
304
|
}, {
|
|
305
|
-
fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.updatedAt"]>;
|
|
305
|
+
fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
|
|
306
306
|
fieldType: z.ZodLiteral<"event">;
|
|
307
307
|
}>, "strip", z.ZodTypeAny, {
|
|
308
308
|
config: {
|
|
309
309
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
310
310
|
searchFields?: string[] | undefined;
|
|
311
311
|
};
|
|
312
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
312
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
313
313
|
fieldType: "event";
|
|
314
314
|
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;
|
|
315
315
|
options?: {
|
|
@@ -337,7 +337,7 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
337
337
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
338
338
|
searchFields?: string[] | undefined;
|
|
339
339
|
};
|
|
340
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
340
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
341
341
|
fieldType: "event";
|
|
342
342
|
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;
|
|
343
343
|
options?: {
|
|
@@ -651,14 +651,14 @@ export declare const AdvancedSearchField: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
651
651
|
validator: import(".").JSONSchema;
|
|
652
652
|
}>, "many">>>;
|
|
653
653
|
}, {
|
|
654
|
-
fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.updatedAt"]>;
|
|
654
|
+
fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
|
|
655
655
|
fieldType: z.ZodLiteral<"event">;
|
|
656
656
|
}>, "strip", z.ZodTypeAny, {
|
|
657
657
|
config: {
|
|
658
658
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
659
659
|
searchFields?: string[] | undefined;
|
|
660
660
|
};
|
|
661
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
661
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
662
662
|
fieldType: "event";
|
|
663
663
|
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;
|
|
664
664
|
options?: {
|
|
@@ -686,7 +686,7 @@ export declare const AdvancedSearchField: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
686
686
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
687
687
|
searchFields?: string[] | undefined;
|
|
688
688
|
};
|
|
689
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
689
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
690
690
|
fieldType: "event";
|
|
691
691
|
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;
|
|
692
692
|
options?: {
|
|
@@ -758,7 +758,7 @@ export declare const AdvancedSearchField: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
758
758
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
759
759
|
searchFields?: string[] | undefined;
|
|
760
760
|
};
|
|
761
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
761
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
762
762
|
fieldType: "event";
|
|
763
763
|
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;
|
|
764
764
|
options?: {
|
|
@@ -830,7 +830,7 @@ export declare const AdvancedSearchField: z.ZodEffects<z.ZodDiscriminatedUnion<"
|
|
|
830
830
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
831
831
|
searchFields?: string[] | undefined;
|
|
832
832
|
};
|
|
833
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
833
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
834
834
|
fieldType: "event";
|
|
835
835
|
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;
|
|
836
836
|
options?: {
|
|
@@ -1151,14 +1151,14 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
1151
1151
|
validator: import(".").JSONSchema;
|
|
1152
1152
|
}>, "many">>>;
|
|
1153
1153
|
}, {
|
|
1154
|
-
fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.updatedAt"]>;
|
|
1154
|
+
fieldId: z.ZodEnum<["event.trackingId", "event.status", "event.legalStatuses.REGISTERED.acceptedAt", "event.legalStatuses.REGISTERED.createdAtLocation", "event.legalStatuses.REGISTERED.registrationNumber", "event.updatedAt"]>;
|
|
1155
1155
|
fieldType: z.ZodLiteral<"event">;
|
|
1156
1156
|
}>, "strip", z.ZodTypeAny, {
|
|
1157
1157
|
config: {
|
|
1158
1158
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
1159
1159
|
searchFields?: string[] | undefined;
|
|
1160
1160
|
};
|
|
1161
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
1161
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
1162
1162
|
fieldType: "event";
|
|
1163
1163
|
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;
|
|
1164
1164
|
options?: {
|
|
@@ -1186,7 +1186,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
1186
1186
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
1187
1187
|
searchFields?: string[] | undefined;
|
|
1188
1188
|
};
|
|
1189
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
1189
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
1190
1190
|
fieldType: "event";
|
|
1191
1191
|
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;
|
|
1192
1192
|
options?: {
|
|
@@ -1258,7 +1258,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
1258
1258
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
1259
1259
|
searchFields?: string[] | undefined;
|
|
1260
1260
|
};
|
|
1261
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
1261
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
1262
1262
|
fieldType: "event";
|
|
1263
1263
|
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;
|
|
1264
1264
|
options?: {
|
|
@@ -1330,7 +1330,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
1330
1330
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
1331
1331
|
searchFields?: string[] | undefined;
|
|
1332
1332
|
};
|
|
1333
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
1333
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
1334
1334
|
fieldType: "event";
|
|
1335
1335
|
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;
|
|
1336
1336
|
options?: {
|
|
@@ -1405,7 +1405,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
1405
1405
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
1406
1406
|
searchFields?: string[] | undefined;
|
|
1407
1407
|
};
|
|
1408
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
1408
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
1409
1409
|
fieldType: "event";
|
|
1410
1410
|
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;
|
|
1411
1411
|
options?: {
|
|
@@ -1484,7 +1484,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
1484
1484
|
type: "exact" | "fuzzy" | "range" | "within";
|
|
1485
1485
|
searchFields?: string[] | undefined;
|
|
1486
1486
|
};
|
|
1487
|
-
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
1487
|
+
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
|
|
1488
1488
|
fieldType: "event";
|
|
1489
1489
|
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;
|
|
1490
1490
|
options?: {
|