@opencrvs/toolkit 1.9.4 → 1.9.5-rc.4eb57cc
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 +26 -24
- package/dist/commons/events/CountryConfigQueryInput.d.ts +350 -350
- 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 +13 -1
- package/dist/commons/events/WorkqueueConfig.d.ts +525 -525
- package/dist/conditionals/index.js +5 -2
- package/dist/events/index.js +11 -7
- package/dist/notification/index.js +10 -6
- package/package.json +1 -1
|
@@ -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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "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" | "firstname" | "surname" | "middlename" | "role" | "fullHonorificName" | "primaryOfficeId";
|
|
4012
4014
|
$location?: string | undefined;
|
|
4013
4015
|
};
|
|
4014
4016
|
} | undefined;
|