@opencrvs/toolkit 2.0.0-rc.a26ae04 → 2.0.0-rc.a2e3f0a
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/create-countryconfig/index.js +73 -0
- package/create-countryconfig/package.json +11 -0
- package/dist/application-config/index.js +17 -23
- package/dist/cli.js +192 -96
- package/dist/commons/api/router.d.ts +34 -47
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/events/ActionInput.d.ts +36 -0
- package/dist/commons/events/Draft.d.ts +1 -0
- package/dist/commons/events/FieldConfig.d.ts +5 -0
- package/dist/conditionals/index.js +5 -3
- package/dist/events/index.js +18 -23
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +1 -2
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts +9 -1
- package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts.map +1 -1
- package/dist/migrations/v2.0/delete-infrastructure-directory.js +66 -20
- package/dist/migrations/v2.0/index.d.ts +5 -3
- package/dist/migrations/v2.0/index.d.ts.map +1 -1
- package/dist/migrations/v2.0/index.js +192 -96
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts +11 -1
- package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts.map +1 -1
- package/dist/migrations/v2.0/merge-infrastructure-directory.js +17 -16
- package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -1
- package/dist/migrations/v2.0/migrate-workqueue-configs.js +140 -59
- package/dist/notification/index.js +18 -23
- package/dist/scopes/index.d.ts +6 -1
- package/dist/scopes/index.js +5 -3
- package/opencrvs-toolkit-2.0.0-rc.a2e3f0a.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-2.0.0-rc.a26ae04.tgz +0 -0
|
@@ -1105,6 +1105,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1105
1105
|
annotation?: Record<string, unknown> | undefined;
|
|
1106
1106
|
originalActionId?: string | undefined;
|
|
1107
1107
|
keepAssignment?: boolean | undefined;
|
|
1108
|
+
waitFor?: boolean | undefined;
|
|
1108
1109
|
createdAtLocation?: string | null | undefined;
|
|
1109
1110
|
};
|
|
1110
1111
|
output: {
|
|
@@ -1225,6 +1226,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1225
1226
|
annotation?: Record<string, unknown> | undefined;
|
|
1226
1227
|
originalActionId?: string | undefined;
|
|
1227
1228
|
keepAssignment?: boolean | undefined;
|
|
1229
|
+
waitFor?: boolean | undefined;
|
|
1228
1230
|
createdAtLocation?: string | null | undefined;
|
|
1229
1231
|
type?: "DECLARE" | undefined;
|
|
1230
1232
|
};
|
|
@@ -1799,6 +1801,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1799
1801
|
annotation?: Record<string, unknown> | undefined;
|
|
1800
1802
|
originalActionId?: string | undefined;
|
|
1801
1803
|
keepAssignment?: boolean | undefined;
|
|
1804
|
+
waitFor?: boolean | undefined;
|
|
1802
1805
|
createdAtLocation?: string | null | undefined;
|
|
1803
1806
|
type?: "CUSTOM" | undefined;
|
|
1804
1807
|
};
|
|
@@ -2154,6 +2157,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2154
2157
|
annotation?: Record<string, unknown> | undefined;
|
|
2155
2158
|
originalActionId?: string | undefined;
|
|
2156
2159
|
keepAssignment?: boolean | undefined;
|
|
2160
|
+
waitFor?: boolean | undefined;
|
|
2157
2161
|
createdAtLocation?: string | null | undefined;
|
|
2158
2162
|
};
|
|
2159
2163
|
output: {
|
|
@@ -2467,6 +2471,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2467
2471
|
annotation?: Record<string, unknown> | undefined;
|
|
2468
2472
|
originalActionId?: string | undefined;
|
|
2469
2473
|
keepAssignment?: boolean | undefined;
|
|
2474
|
+
waitFor?: boolean | undefined;
|
|
2470
2475
|
createdAtLocation?: string | null | undefined;
|
|
2471
2476
|
type?: "UNASSIGN" | undefined;
|
|
2472
2477
|
assignedTo?: null | undefined;
|
|
@@ -2960,6 +2965,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2960
2965
|
annotation?: Record<string, unknown> | undefined;
|
|
2961
2966
|
originalActionId?: string | undefined;
|
|
2962
2967
|
keepAssignment?: boolean | undefined;
|
|
2968
|
+
waitFor?: boolean | undefined;
|
|
2963
2969
|
createdAtLocation?: string | null | undefined;
|
|
2964
2970
|
type?: "MARK_AS_DUPLICATE" | undefined;
|
|
2965
2971
|
content?: {
|
|
@@ -3277,6 +3283,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3277
3283
|
annotation?: Record<string, unknown> | undefined;
|
|
3278
3284
|
originalActionId?: string | undefined;
|
|
3279
3285
|
keepAssignment?: boolean | undefined;
|
|
3286
|
+
waitFor?: boolean | undefined;
|
|
3280
3287
|
createdAtLocation?: string | null | undefined;
|
|
3281
3288
|
type?: "MARK_AS_NOT_DUPLICATE" | undefined;
|
|
3282
3289
|
};
|
|
@@ -4092,33 +4099,22 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4092
4099
|
input: string[];
|
|
4093
4100
|
output: ({
|
|
4094
4101
|
id: string & import("zod").$brand<"UUID">;
|
|
4102
|
+
type: "user";
|
|
4095
4103
|
name: {
|
|
4096
4104
|
firstname: string;
|
|
4097
4105
|
surname: string;
|
|
4098
4106
|
};
|
|
4099
4107
|
role: string;
|
|
4100
4108
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4101
|
-
|
|
4102
|
-
status: "active" | "pending" | "deactivated";
|
|
4109
|
+
fullHonorificName?: string | undefined;
|
|
4103
4110
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4104
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4105
4111
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4106
|
-
device?: string | undefined;
|
|
4107
|
-
fullHonorificName?: string | undefined;
|
|
4108
|
-
mobile?: string | undefined;
|
|
4109
|
-
email?: string | undefined;
|
|
4110
|
-
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4111
4112
|
} | {
|
|
4112
4113
|
id: string & import("zod").$brand<"UUID">;
|
|
4113
|
-
name: string;
|
|
4114
4114
|
type: "system";
|
|
4115
|
+
name: string;
|
|
4115
4116
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4116
4117
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4117
|
-
signature?: undefined;
|
|
4118
|
-
avatar?: undefined;
|
|
4119
|
-
fullHonorificName?: string | undefined;
|
|
4120
|
-
legacyId?: string | undefined;
|
|
4121
|
-
status?: undefined;
|
|
4122
4118
|
})[];
|
|
4123
4119
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
4124
4120
|
}>;
|
|
@@ -4136,33 +4132,24 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4136
4132
|
};
|
|
4137
4133
|
output: ({
|
|
4138
4134
|
id: string & import("zod").$brand<"UUID">;
|
|
4135
|
+
type: "user";
|
|
4139
4136
|
name: {
|
|
4140
4137
|
firstname: string;
|
|
4141
4138
|
surname: string;
|
|
4142
4139
|
};
|
|
4143
4140
|
role: string;
|
|
4144
4141
|
primaryOfficeId: string & import("zod").$brand<"UUID">;
|
|
4145
|
-
type: "user";
|
|
4146
4142
|
status: "active" | "pending" | "deactivated";
|
|
4143
|
+
fullHonorificName?: string | undefined;
|
|
4147
4144
|
avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
|
|
4148
|
-
signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
|
|
4149
4145
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
4150
|
-
device?: string | undefined;
|
|
4151
|
-
fullHonorificName?: string | undefined;
|
|
4152
|
-
mobile?: string | undefined;
|
|
4153
|
-
email?: string | undefined;
|
|
4154
|
-
data?: Record<string, import("../commons").FieldValue> | undefined;
|
|
4155
4146
|
} | {
|
|
4156
4147
|
id: string & import("zod").$brand<"UUID">;
|
|
4157
|
-
name: string;
|
|
4158
4148
|
type: "system";
|
|
4149
|
+
name: string;
|
|
4159
4150
|
primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4160
4151
|
administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
|
|
4161
|
-
|
|
4162
|
-
avatar?: undefined;
|
|
4163
|
-
fullHonorificName?: string | undefined;
|
|
4164
|
-
legacyId?: string | undefined;
|
|
4165
|
-
status?: undefined;
|
|
4152
|
+
status?: "active" | "pending" | "deactivated" | undefined;
|
|
4166
4153
|
})[];
|
|
4167
4154
|
meta: object;
|
|
4168
4155
|
}>;
|
|
@@ -4774,7 +4761,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4774
4761
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4775
4762
|
type: "within";
|
|
4776
4763
|
location: string | {
|
|
4777
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4764
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4778
4765
|
$location?: string | undefined;
|
|
4779
4766
|
};
|
|
4780
4767
|
} | undefined;
|
|
@@ -4796,7 +4783,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4796
4783
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4797
4784
|
type: "within";
|
|
4798
4785
|
location: string | {
|
|
4799
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4786
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4800
4787
|
$location?: string | undefined;
|
|
4801
4788
|
};
|
|
4802
4789
|
} | undefined;
|
|
@@ -4811,47 +4798,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4811
4798
|
createdAtLocation?: {
|
|
4812
4799
|
type: "within";
|
|
4813
4800
|
location: string | {
|
|
4814
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4801
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4815
4802
|
$location?: string | undefined;
|
|
4816
4803
|
};
|
|
4817
4804
|
} | {
|
|
4818
4805
|
type: "exact";
|
|
4819
4806
|
term: string | {
|
|
4820
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4807
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4821
4808
|
$location?: string | undefined;
|
|
4822
4809
|
};
|
|
4823
4810
|
} | undefined;
|
|
4824
4811
|
updatedAtLocation?: {
|
|
4825
4812
|
type: "within";
|
|
4826
4813
|
location: string | {
|
|
4827
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4814
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4828
4815
|
$location?: string | undefined;
|
|
4829
4816
|
};
|
|
4830
4817
|
} | {
|
|
4831
4818
|
type: "exact";
|
|
4832
4819
|
term: string | {
|
|
4833
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4820
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4834
4821
|
$location?: string | undefined;
|
|
4835
4822
|
};
|
|
4836
4823
|
} | undefined;
|
|
4837
4824
|
updatedByUserRole?: {
|
|
4838
4825
|
type: "exact";
|
|
4839
4826
|
term: string | {
|
|
4840
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4827
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4841
4828
|
$location?: string | undefined;
|
|
4842
4829
|
};
|
|
4843
4830
|
} | undefined;
|
|
4844
4831
|
assignedTo?: {
|
|
4845
4832
|
type: "exact";
|
|
4846
4833
|
term: string | {
|
|
4847
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4834
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4848
4835
|
$location?: string | undefined;
|
|
4849
4836
|
};
|
|
4850
4837
|
} | undefined;
|
|
4851
4838
|
createdBy?: {
|
|
4852
4839
|
type: "exact";
|
|
4853
4840
|
term: string | {
|
|
4854
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4841
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4855
4842
|
$location?: string | undefined;
|
|
4856
4843
|
};
|
|
4857
4844
|
} | undefined;
|
|
@@ -4862,7 +4849,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4862
4849
|
updatedBy?: {
|
|
4863
4850
|
type: "exact";
|
|
4864
4851
|
term: string | {
|
|
4865
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4852
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4866
4853
|
$location?: string | undefined;
|
|
4867
4854
|
};
|
|
4868
4855
|
} | undefined;
|
|
@@ -4912,7 +4899,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4912
4899
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4913
4900
|
type: "within";
|
|
4914
4901
|
location: string | {
|
|
4915
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4902
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4916
4903
|
$location?: string | undefined;
|
|
4917
4904
|
};
|
|
4918
4905
|
} | undefined;
|
|
@@ -4934,7 +4921,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4934
4921
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4935
4922
|
type: "within";
|
|
4936
4923
|
location: string | {
|
|
4937
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4924
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4938
4925
|
$location?: string | undefined;
|
|
4939
4926
|
};
|
|
4940
4927
|
} | undefined;
|
|
@@ -4949,47 +4936,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4949
4936
|
createdAtLocation?: {
|
|
4950
4937
|
type: "within";
|
|
4951
4938
|
location: string | {
|
|
4952
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4939
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4953
4940
|
$location?: string | undefined;
|
|
4954
4941
|
};
|
|
4955
4942
|
} | {
|
|
4956
4943
|
type: "exact";
|
|
4957
4944
|
term: string | {
|
|
4958
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4945
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4959
4946
|
$location?: string | undefined;
|
|
4960
4947
|
};
|
|
4961
4948
|
} | undefined;
|
|
4962
4949
|
updatedAtLocation?: {
|
|
4963
4950
|
type: "within";
|
|
4964
4951
|
location: string | {
|
|
4965
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4952
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4966
4953
|
$location?: string | undefined;
|
|
4967
4954
|
};
|
|
4968
4955
|
} | {
|
|
4969
4956
|
type: "exact";
|
|
4970
4957
|
term: string | {
|
|
4971
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4958
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4972
4959
|
$location?: string | undefined;
|
|
4973
4960
|
};
|
|
4974
4961
|
} | undefined;
|
|
4975
4962
|
updatedByUserRole?: {
|
|
4976
4963
|
type: "exact";
|
|
4977
4964
|
term: string | {
|
|
4978
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4965
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4979
4966
|
$location?: string | undefined;
|
|
4980
4967
|
};
|
|
4981
4968
|
} | undefined;
|
|
4982
4969
|
assignedTo?: {
|
|
4983
4970
|
type: "exact";
|
|
4984
4971
|
term: string | {
|
|
4985
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4972
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4986
4973
|
$location?: string | undefined;
|
|
4987
4974
|
};
|
|
4988
4975
|
} | undefined;
|
|
4989
4976
|
createdBy?: {
|
|
4990
4977
|
type: "exact";
|
|
4991
4978
|
term: string | {
|
|
4992
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4979
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4993
4980
|
$location?: string | undefined;
|
|
4994
4981
|
};
|
|
4995
4982
|
} | undefined;
|
|
@@ -5000,7 +4987,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5000
4987
|
updatedBy?: {
|
|
5001
4988
|
type: "exact";
|
|
5002
4989
|
term: string | {
|
|
5003
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4990
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
5004
4991
|
$location?: string | undefined;
|
|
5005
4992
|
};
|
|
5006
4993
|
} | undefined;
|
|
@@ -86,16 +86,16 @@ export declare const user: typeof userSerializer & {
|
|
|
86
86
|
};
|
|
87
87
|
scope: (scope: import("../scopes").ScopeType) => {
|
|
88
88
|
attribute: (option: import("../scopes").ScopeOptionKey) => {
|
|
89
|
-
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "workqueue" | "dashboard.view";
|
|
89
|
+
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
90
90
|
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
jurisdiction: (jurisdiction: import("../scopes").JurisdictionFilter | {
|
|
94
|
-
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "workqueue" | "dashboard.view";
|
|
94
|
+
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
95
95
|
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
96
96
|
}) => {
|
|
97
97
|
$jurisdiction: "administrativeArea" | "location" | "all" | {
|
|
98
|
-
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "workqueue" | "dashboard.view";
|
|
98
|
+
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
99
99
|
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
100
100
|
};
|
|
101
101
|
};
|