@opencrvs/toolkit 2.0.0-rc.a8e70b1 → 2.0.0-rc.ac461be
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 +302 -136
- package/dist/commons/api/router.d.ts +27 -20
- 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/commons/events/locations.d.ts +21 -0
- package/dist/commons/events/mocks.test.utils.d.ts +19 -0
- package/dist/commons/events/scopes.d.ts +24 -1
- package/dist/conditionals/index.js +5 -3
- package/dist/events/index.js +73 -23
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -1
- package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +60 -35
- 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 +302 -136
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -1
- package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +90 -1
- 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.ac461be.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-2.0.0-rc.a8e70b1.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
|
};
|
|
@@ -4774,7 +4781,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4774
4781
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4775
4782
|
type: "within";
|
|
4776
4783
|
location: string | {
|
|
4777
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4784
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4778
4785
|
$location?: string | undefined;
|
|
4779
4786
|
};
|
|
4780
4787
|
} | undefined;
|
|
@@ -4796,7 +4803,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4796
4803
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4797
4804
|
type: "within";
|
|
4798
4805
|
location: string | {
|
|
4799
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4806
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4800
4807
|
$location?: string | undefined;
|
|
4801
4808
|
};
|
|
4802
4809
|
} | undefined;
|
|
@@ -4811,47 +4818,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4811
4818
|
createdAtLocation?: {
|
|
4812
4819
|
type: "within";
|
|
4813
4820
|
location: string | {
|
|
4814
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4821
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4815
4822
|
$location?: string | undefined;
|
|
4816
4823
|
};
|
|
4817
4824
|
} | {
|
|
4818
4825
|
type: "exact";
|
|
4819
4826
|
term: string | {
|
|
4820
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4827
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4821
4828
|
$location?: string | undefined;
|
|
4822
4829
|
};
|
|
4823
4830
|
} | undefined;
|
|
4824
4831
|
updatedAtLocation?: {
|
|
4825
4832
|
type: "within";
|
|
4826
4833
|
location: string | {
|
|
4827
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4834
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4828
4835
|
$location?: string | undefined;
|
|
4829
4836
|
};
|
|
4830
4837
|
} | {
|
|
4831
4838
|
type: "exact";
|
|
4832
4839
|
term: string | {
|
|
4833
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4840
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4834
4841
|
$location?: string | undefined;
|
|
4835
4842
|
};
|
|
4836
4843
|
} | undefined;
|
|
4837
4844
|
updatedByUserRole?: {
|
|
4838
4845
|
type: "exact";
|
|
4839
4846
|
term: string | {
|
|
4840
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4847
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4841
4848
|
$location?: string | undefined;
|
|
4842
4849
|
};
|
|
4843
4850
|
} | undefined;
|
|
4844
4851
|
assignedTo?: {
|
|
4845
4852
|
type: "exact";
|
|
4846
4853
|
term: string | {
|
|
4847
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4854
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4848
4855
|
$location?: string | undefined;
|
|
4849
4856
|
};
|
|
4850
4857
|
} | undefined;
|
|
4851
4858
|
createdBy?: {
|
|
4852
4859
|
type: "exact";
|
|
4853
4860
|
term: string | {
|
|
4854
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4861
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4855
4862
|
$location?: string | undefined;
|
|
4856
4863
|
};
|
|
4857
4864
|
} | undefined;
|
|
@@ -4862,7 +4869,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4862
4869
|
updatedBy?: {
|
|
4863
4870
|
type: "exact";
|
|
4864
4871
|
term: string | {
|
|
4865
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4872
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4866
4873
|
$location?: string | undefined;
|
|
4867
4874
|
};
|
|
4868
4875
|
} | undefined;
|
|
@@ -4912,7 +4919,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4912
4919
|
'legalStatuses.DECLARED.createdAtLocation'?: {
|
|
4913
4920
|
type: "within";
|
|
4914
4921
|
location: string | {
|
|
4915
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4922
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4916
4923
|
$location?: string | undefined;
|
|
4917
4924
|
};
|
|
4918
4925
|
} | undefined;
|
|
@@ -4934,7 +4941,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4934
4941
|
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
|
4935
4942
|
type: "within";
|
|
4936
4943
|
location: string | {
|
|
4937
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4944
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4938
4945
|
$location?: string | undefined;
|
|
4939
4946
|
};
|
|
4940
4947
|
} | undefined;
|
|
@@ -4949,47 +4956,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4949
4956
|
createdAtLocation?: {
|
|
4950
4957
|
type: "within";
|
|
4951
4958
|
location: string | {
|
|
4952
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4959
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4953
4960
|
$location?: string | undefined;
|
|
4954
4961
|
};
|
|
4955
4962
|
} | {
|
|
4956
4963
|
type: "exact";
|
|
4957
4964
|
term: string | {
|
|
4958
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4965
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4959
4966
|
$location?: string | undefined;
|
|
4960
4967
|
};
|
|
4961
4968
|
} | undefined;
|
|
4962
4969
|
updatedAtLocation?: {
|
|
4963
4970
|
type: "within";
|
|
4964
4971
|
location: string | {
|
|
4965
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4972
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4966
4973
|
$location?: string | undefined;
|
|
4967
4974
|
};
|
|
4968
4975
|
} | {
|
|
4969
4976
|
type: "exact";
|
|
4970
4977
|
term: string | {
|
|
4971
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4978
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4972
4979
|
$location?: string | undefined;
|
|
4973
4980
|
};
|
|
4974
4981
|
} | undefined;
|
|
4975
4982
|
updatedByUserRole?: {
|
|
4976
4983
|
type: "exact";
|
|
4977
4984
|
term: string | {
|
|
4978
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4985
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4979
4986
|
$location?: string | undefined;
|
|
4980
4987
|
};
|
|
4981
4988
|
} | undefined;
|
|
4982
4989
|
assignedTo?: {
|
|
4983
4990
|
type: "exact";
|
|
4984
4991
|
term: string | {
|
|
4985
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4992
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4986
4993
|
$location?: string | undefined;
|
|
4987
4994
|
};
|
|
4988
4995
|
} | undefined;
|
|
4989
4996
|
createdBy?: {
|
|
4990
4997
|
type: "exact";
|
|
4991
4998
|
term: string | {
|
|
4992
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
4999
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
4993
5000
|
$location?: string | undefined;
|
|
4994
5001
|
};
|
|
4995
5002
|
} | undefined;
|
|
@@ -5000,7 +5007,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5000
5007
|
updatedBy?: {
|
|
5001
5008
|
type: "exact";
|
|
5002
5009
|
term: string | {
|
|
5003
|
-
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "
|
|
5010
|
+
$userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
|
|
5004
5011
|
$location?: string | undefined;
|
|
5005
5012
|
};
|
|
5006
5013
|
} | 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
|
};
|
|
@@ -6,6 +6,7 @@ export declare const BaseActionInput: z.ZodObject<{
|
|
|
6
6
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
7
7
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
8
8
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
9
10
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
10
11
|
}, z.core.$strip>;
|
|
11
12
|
export declare const RegisterActionInput: z.ZodObject<{
|
|
@@ -15,6 +16,7 @@ export declare const RegisterActionInput: z.ZodObject<{
|
|
|
15
16
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
16
17
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
17
18
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
18
20
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
19
21
|
type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
|
|
20
22
|
registrationNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -27,6 +29,7 @@ export declare const NotifyActionInput: z.ZodObject<{
|
|
|
27
29
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
28
30
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
29
31
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
30
33
|
type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
|
|
31
34
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
32
35
|
}, z.core.$strip>;
|
|
@@ -38,6 +41,7 @@ export declare const DeclareActionInput: z.ZodObject<{
|
|
|
38
41
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
39
42
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
40
43
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
41
45
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
42
46
|
type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
|
|
43
47
|
}, z.core.$strip>;
|
|
@@ -48,6 +52,7 @@ export declare const EditActionInput: z.ZodObject<{
|
|
|
48
52
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
49
53
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
50
54
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
51
56
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
52
57
|
type: z.ZodDefault<z.ZodLiteral<"EDIT">>;
|
|
53
58
|
content: z.ZodObject<{
|
|
@@ -62,6 +67,7 @@ export declare const PrintCertificateActionInput: z.ZodObject<{
|
|
|
62
67
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
63
68
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
64
69
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
65
71
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
66
72
|
type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
|
|
67
73
|
content: z.ZodOptional<z.ZodObject<{
|
|
@@ -76,6 +82,7 @@ export declare const RejectDeclarationActionInput: z.ZodObject<{
|
|
|
76
82
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
77
83
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
78
84
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
79
86
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
80
87
|
type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
|
|
81
88
|
content: z.ZodObject<{
|
|
@@ -90,6 +97,7 @@ export declare const DuplicateDetectedActionInput: z.ZodObject<{
|
|
|
90
97
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
91
98
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
92
99
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
93
101
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
94
102
|
type: z.ZodDefault<z.ZodLiteral<"DUPLICATE_DETECTED">>;
|
|
95
103
|
content: z.ZodObject<{
|
|
@@ -106,6 +114,7 @@ export declare const MarkAsDuplicateActionInput: z.ZodObject<{
|
|
|
106
114
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
107
115
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
108
116
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
117
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
109
118
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
110
119
|
type: z.ZodDefault<z.ZodLiteral<"MARK_AS_DUPLICATE">>;
|
|
111
120
|
content: z.ZodOptional<z.ZodObject<{
|
|
@@ -120,6 +129,7 @@ export declare const MarkNotDuplicateActionInput: z.ZodObject<{
|
|
|
120
129
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
121
130
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
122
131
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
123
133
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
124
134
|
type: z.ZodDefault<z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">>;
|
|
125
135
|
}, z.core.$strip>;
|
|
@@ -131,6 +141,7 @@ export declare const ArchiveActionInput: z.ZodObject<{
|
|
|
131
141
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
132
142
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
133
143
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
134
145
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
135
146
|
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
|
136
147
|
content: z.ZodObject<{
|
|
@@ -145,6 +156,7 @@ export declare const AssignActionInput: z.ZodObject<{
|
|
|
145
156
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
146
157
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
147
158
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
148
160
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
149
161
|
type: z.ZodLiteral<"ASSIGN">;
|
|
150
162
|
assignedTo: z.ZodString;
|
|
@@ -157,6 +169,7 @@ export declare const UnassignActionInput: z.ZodObject<{
|
|
|
157
169
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
158
170
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
159
171
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
172
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
160
173
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
161
174
|
type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
|
|
162
175
|
assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
|
|
@@ -169,6 +182,7 @@ export declare const RequestCorrectionActionInput: z.ZodObject<{
|
|
|
169
182
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
170
183
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
171
184
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
185
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
172
186
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
173
187
|
type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
|
|
174
188
|
}, z.core.$strip>;
|
|
@@ -180,6 +194,7 @@ export declare const RejectCorrectionActionInput: z.ZodObject<{
|
|
|
180
194
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
181
195
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
182
196
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
197
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
183
198
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
184
199
|
requestId: z.ZodString;
|
|
185
200
|
type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
|
|
@@ -195,6 +210,7 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<{
|
|
|
195
210
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
196
211
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
197
212
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
213
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
198
214
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
199
215
|
requestId: z.ZodString;
|
|
200
216
|
type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
|
|
@@ -207,6 +223,7 @@ export declare const ReadActionInput: z.ZodObject<{
|
|
|
207
223
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
208
224
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
209
225
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
226
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
210
227
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
211
228
|
type: z.ZodDefault<z.ZodLiteral<"READ">>;
|
|
212
229
|
}, z.core.$strip>;
|
|
@@ -222,6 +239,7 @@ export declare const CustomActionInput: z.ZodObject<{
|
|
|
222
239
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
223
240
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
224
241
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
242
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
225
243
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
226
244
|
type: z.ZodDefault<z.ZodLiteral<"CUSTOM">>;
|
|
227
245
|
customActionType: z.ZodString;
|
|
@@ -242,6 +260,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
242
260
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
243
261
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
244
262
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
245
264
|
type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
|
|
246
265
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
247
266
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -251,6 +270,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
251
270
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
252
271
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
253
272
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
273
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
254
274
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
255
275
|
type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
|
|
256
276
|
registrationNumber: z.ZodOptional<z.ZodString>;
|
|
@@ -261,6 +281,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
261
281
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
262
282
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
263
283
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
284
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
264
285
|
type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
|
|
265
286
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
266
287
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -270,6 +291,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
270
291
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
271
292
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
272
293
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
273
295
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
274
296
|
type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
|
|
275
297
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -279,6 +301,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
279
301
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
280
302
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
281
303
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
304
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
282
305
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
283
306
|
type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
|
|
284
307
|
content: z.ZodObject<{
|
|
@@ -291,6 +314,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
291
314
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
292
315
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
293
316
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
317
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
294
318
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
295
319
|
type: z.ZodDefault<z.ZodLiteral<"DUPLICATE_DETECTED">>;
|
|
296
320
|
content: z.ZodObject<{
|
|
@@ -306,6 +330,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
306
330
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
307
331
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
308
332
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
333
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
309
334
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
310
335
|
type: z.ZodDefault<z.ZodLiteral<"MARK_AS_DUPLICATE">>;
|
|
311
336
|
content: z.ZodOptional<z.ZodObject<{
|
|
@@ -318,6 +343,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
318
343
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
319
344
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
320
345
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
346
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
321
347
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
322
348
|
type: z.ZodDefault<z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">>;
|
|
323
349
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -327,6 +353,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
327
353
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
328
354
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
329
355
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
356
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
330
357
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
331
358
|
type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
|
|
332
359
|
content: z.ZodObject<{
|
|
@@ -339,6 +366,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
339
366
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
340
367
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
341
368
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
369
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
342
370
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
343
371
|
type: z.ZodLiteral<"ASSIGN">;
|
|
344
372
|
assignedTo: z.ZodString;
|
|
@@ -349,6 +377,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
349
377
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
350
378
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
351
379
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
380
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
352
381
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
353
382
|
type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
|
|
354
383
|
assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
|
|
@@ -359,6 +388,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
359
388
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
360
389
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
361
390
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
391
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
362
392
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
363
393
|
type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
|
|
364
394
|
content: z.ZodOptional<z.ZodObject<{
|
|
@@ -371,6 +401,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
371
401
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
372
402
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
373
403
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
404
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
374
405
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
375
406
|
type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
|
|
376
407
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -380,6 +411,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
380
411
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
381
412
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
382
413
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
414
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
383
415
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
384
416
|
requestId: z.ZodString;
|
|
385
417
|
type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
|
|
@@ -393,6 +425,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
393
425
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
394
426
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
395
427
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
428
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
396
429
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
397
430
|
requestId: z.ZodString;
|
|
398
431
|
type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
|
|
@@ -403,6 +436,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
403
436
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
404
437
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
405
438
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
439
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
406
440
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
407
441
|
type: z.ZodDefault<z.ZodLiteral<"READ">>;
|
|
408
442
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -412,6 +446,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
412
446
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
413
447
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
414
448
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
449
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
415
450
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
416
451
|
type: z.ZodDefault<z.ZodLiteral<"CUSTOM">>;
|
|
417
452
|
customActionType: z.ZodString;
|
|
@@ -422,6 +457,7 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
422
457
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
423
458
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
424
459
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
460
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
425
461
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
426
462
|
type: z.ZodDefault<z.ZodLiteral<"EDIT">>;
|
|
427
463
|
content: z.ZodObject<{
|
|
@@ -51,6 +51,7 @@ export declare const DraftInput: z.ZodObject<{
|
|
|
51
51
|
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
52
52
|
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
53
53
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
+
waitFor: z.ZodOptional<z.ZodBoolean>;
|
|
54
55
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
55
56
|
type: z.ZodEnum<{
|
|
56
57
|
CUSTOM: "CUSTOM";
|
|
@@ -1723,6 +1723,7 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1723
1723
|
"user.read": "user.read";
|
|
1724
1724
|
"user.create": "user.create";
|
|
1725
1725
|
"user.edit": "user.edit";
|
|
1726
|
+
"user.search": "user.search";
|
|
1726
1727
|
workqueue: "workqueue";
|
|
1727
1728
|
"dashboard.view": "dashboard.view";
|
|
1728
1729
|
}>;
|
|
@@ -1842,6 +1843,7 @@ declare const LocationInput: z.ZodObject<{
|
|
|
1842
1843
|
"user.read": "user.read";
|
|
1843
1844
|
"user.create": "user.create";
|
|
1844
1845
|
"user.edit": "user.edit";
|
|
1846
|
+
"user.search": "user.search";
|
|
1845
1847
|
workqueue: "workqueue";
|
|
1846
1848
|
"dashboard.view": "dashboard.view";
|
|
1847
1849
|
}>;
|
|
@@ -2026,6 +2028,7 @@ declare const Facility: z.ZodObject<{
|
|
|
2026
2028
|
"user.read": "user.read";
|
|
2027
2029
|
"user.create": "user.create";
|
|
2028
2030
|
"user.edit": "user.edit";
|
|
2031
|
+
"user.search": "user.search";
|
|
2029
2032
|
workqueue: "workqueue";
|
|
2030
2033
|
"dashboard.view": "dashboard.view";
|
|
2031
2034
|
}>;
|
|
@@ -2131,6 +2134,7 @@ declare const Office: z.ZodObject<{
|
|
|
2131
2134
|
"user.read": "user.read";
|
|
2132
2135
|
"user.create": "user.create";
|
|
2133
2136
|
"user.edit": "user.edit";
|
|
2137
|
+
"user.search": "user.search";
|
|
2134
2138
|
workqueue: "workqueue";
|
|
2135
2139
|
"dashboard.view": "dashboard.view";
|
|
2136
2140
|
}>;
|
|
@@ -2323,6 +2327,7 @@ declare const Address: z.ZodObject<{
|
|
|
2323
2327
|
"user.read": "user.read";
|
|
2324
2328
|
"user.create": "user.create";
|
|
2325
2329
|
"user.edit": "user.edit";
|
|
2330
|
+
"user.search": "user.search";
|
|
2326
2331
|
workqueue: "workqueue";
|
|
2327
2332
|
"dashboard.view": "dashboard.view";
|
|
2328
2333
|
}>;
|