@opencrvs/toolkit 2.0.0-rc.da37d4e → 2.0.0-rc.db5d96b

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.
Files changed (37) hide show
  1. package/create-countryconfig/index.js +73 -0
  2. package/create-countryconfig/package.json +11 -0
  3. package/dist/application-config/index.js +19 -24
  4. package/dist/cli.js +297 -133
  5. package/dist/commons/api/router.d.ts +37 -34
  6. package/dist/commons/application-config/index.d.ts +16 -4
  7. package/dist/commons/events/ActionInput.d.ts +36 -0
  8. package/dist/commons/events/Draft.d.ts +1 -0
  9. package/dist/commons/events/EventIndex.d.ts +1 -0
  10. package/dist/commons/events/EventMetadata.d.ts +1 -0
  11. package/dist/commons/events/locations.d.ts +21 -0
  12. package/dist/commons/events/mocks.test.utils.d.ts +19 -0
  13. package/dist/commons/events/scopes.d.ts +24 -1
  14. package/dist/commons/events/state/index.d.ts +2 -1
  15. package/dist/events/index.js +71 -20
  16. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -1
  17. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +60 -35
  18. package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
  19. package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
  20. package/dist/migrations/v2.0/checkout-upstream-files.js +1 -2
  21. package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts +9 -1
  22. package/dist/migrations/v2.0/delete-infrastructure-directory.d.ts.map +1 -1
  23. package/dist/migrations/v2.0/delete-infrastructure-directory.js +66 -20
  24. package/dist/migrations/v2.0/index.d.ts +5 -3
  25. package/dist/migrations/v2.0/index.d.ts.map +1 -1
  26. package/dist/migrations/v2.0/index.js +297 -133
  27. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -1
  28. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +90 -1
  29. package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts +11 -1
  30. package/dist/migrations/v2.0/merge-infrastructure-directory.d.ts.map +1 -1
  31. package/dist/migrations/v2.0/merge-infrastructure-directory.js +17 -16
  32. package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -1
  33. package/dist/migrations/v2.0/migrate-workqueue-configs.js +140 -59
  34. package/dist/notification/index.js +16 -20
  35. package/opencrvs-toolkit-2.0.0-rc.db5d96b.tgz +0 -0
  36. package/package.json +1 -1
  37. package/opencrvs-toolkit-2.0.0-rc.da37d4e.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
  };
@@ -3636,6 +3643,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3636
3643
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3637
3644
  updatedAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
3638
3645
  assignedTo?: string | null | undefined;
3646
+ assignedToSignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
3639
3647
  updatedBy?: string | null | undefined;
3640
3648
  }[];
3641
3649
  total: number;
@@ -4098,12 +4106,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4098
4106
  surname: string;
4099
4107
  };
4100
4108
  role: string;
4109
+ primaryOfficeId: string & import("zod").$brand<"UUID">;
4101
4110
  fullHonorificName?: string | undefined;
4102
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4111
+ avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4112
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4103
4113
  } | {
4104
4114
  id: string & import("zod").$brand<"UUID">;
4105
4115
  type: "system";
4106
4116
  name: string;
4117
+ primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4118
+ administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4107
4119
  })[];
4108
4120
  meta: import("trpc-to-openapi").OpenApiMeta;
4109
4121
  }>;
@@ -4121,33 +4133,24 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4121
4133
  };
4122
4134
  output: ({
4123
4135
  id: string & import("zod").$brand<"UUID">;
4136
+ type: "user";
4124
4137
  name: {
4125
4138
  firstname: string;
4126
4139
  surname: string;
4127
4140
  };
4128
4141
  role: string;
4129
4142
  primaryOfficeId: string & import("zod").$brand<"UUID">;
4130
- type: "user";
4131
4143
  status: "active" | "pending" | "deactivated";
4144
+ fullHonorificName?: string | undefined;
4132
4145
  avatar?: (string & import("zod").$brand<"DocumentPath">) | undefined;
4133
- signature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
4134
4146
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | null | undefined;
4135
- device?: string | undefined;
4136
- fullHonorificName?: string | undefined;
4137
- mobile?: string | undefined;
4138
- email?: string | undefined;
4139
- data?: Record<string, import("../commons").FieldValue> | undefined;
4140
4147
  } | {
4141
4148
  id: string & import("zod").$brand<"UUID">;
4142
- name: string;
4143
4149
  type: "system";
4150
+ name: string;
4144
4151
  primaryOfficeId?: (string & import("zod").$brand<"UUID">) | undefined;
4145
4152
  administrativeAreaId?: (string & import("zod").$brand<"UUID">) | undefined;
4146
- signature?: undefined;
4147
- avatar?: undefined;
4148
- fullHonorificName?: string | undefined;
4149
- legacyId?: string | undefined;
4150
- status?: undefined;
4153
+ status?: "active" | "pending" | "deactivated" | undefined;
4151
4154
  })[];
4152
4155
  meta: object;
4153
4156
  }>;
@@ -4759,7 +4762,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4759
4762
  'legalStatuses.DECLARED.createdAtLocation'?: {
4760
4763
  type: "within";
4761
4764
  location: string | {
4762
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4765
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4763
4766
  $location?: string | undefined;
4764
4767
  };
4765
4768
  } | undefined;
@@ -4781,7 +4784,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4781
4784
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4782
4785
  type: "within";
4783
4786
  location: string | {
4784
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4787
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4785
4788
  $location?: string | undefined;
4786
4789
  };
4787
4790
  } | undefined;
@@ -4796,47 +4799,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4796
4799
  createdAtLocation?: {
4797
4800
  type: "within";
4798
4801
  location: string | {
4799
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4802
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4800
4803
  $location?: string | undefined;
4801
4804
  };
4802
4805
  } | {
4803
4806
  type: "exact";
4804
4807
  term: string | {
4805
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4808
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4806
4809
  $location?: string | undefined;
4807
4810
  };
4808
4811
  } | undefined;
4809
4812
  updatedAtLocation?: {
4810
4813
  type: "within";
4811
4814
  location: string | {
4812
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4815
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4813
4816
  $location?: string | undefined;
4814
4817
  };
4815
4818
  } | {
4816
4819
  type: "exact";
4817
4820
  term: string | {
4818
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4821
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4819
4822
  $location?: string | undefined;
4820
4823
  };
4821
4824
  } | undefined;
4822
4825
  updatedByUserRole?: {
4823
4826
  type: "exact";
4824
4827
  term: string | {
4825
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4828
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4826
4829
  $location?: string | undefined;
4827
4830
  };
4828
4831
  } | undefined;
4829
4832
  assignedTo?: {
4830
4833
  type: "exact";
4831
4834
  term: string | {
4832
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4835
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4833
4836
  $location?: string | undefined;
4834
4837
  };
4835
4838
  } | undefined;
4836
4839
  createdBy?: {
4837
4840
  type: "exact";
4838
4841
  term: string | {
4839
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4842
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4840
4843
  $location?: string | undefined;
4841
4844
  };
4842
4845
  } | undefined;
@@ -4847,7 +4850,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4847
4850
  updatedBy?: {
4848
4851
  type: "exact";
4849
4852
  term: string | {
4850
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4853
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4851
4854
  $location?: string | undefined;
4852
4855
  };
4853
4856
  } | undefined;
@@ -4897,7 +4900,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4897
4900
  'legalStatuses.DECLARED.createdAtLocation'?: {
4898
4901
  type: "within";
4899
4902
  location: string | {
4900
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4903
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4901
4904
  $location?: string | undefined;
4902
4905
  };
4903
4906
  } | undefined;
@@ -4919,7 +4922,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4919
4922
  'legalStatuses.REGISTERED.createdAtLocation'?: {
4920
4923
  type: "within";
4921
4924
  location: string | {
4922
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4925
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4923
4926
  $location?: string | undefined;
4924
4927
  };
4925
4928
  } | undefined;
@@ -4934,47 +4937,47 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4934
4937
  createdAtLocation?: {
4935
4938
  type: "within";
4936
4939
  location: string | {
4937
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4940
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4938
4941
  $location?: string | undefined;
4939
4942
  };
4940
4943
  } | {
4941
4944
  type: "exact";
4942
4945
  term: string | {
4943
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4946
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4944
4947
  $location?: string | undefined;
4945
4948
  };
4946
4949
  } | undefined;
4947
4950
  updatedAtLocation?: {
4948
4951
  type: "within";
4949
4952
  location: string | {
4950
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4953
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4951
4954
  $location?: string | undefined;
4952
4955
  };
4953
4956
  } | {
4954
4957
  type: "exact";
4955
4958
  term: string | {
4956
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4959
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4957
4960
  $location?: string | undefined;
4958
4961
  };
4959
4962
  } | undefined;
4960
4963
  updatedByUserRole?: {
4961
4964
  type: "exact";
4962
4965
  term: string | {
4963
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4966
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4964
4967
  $location?: string | undefined;
4965
4968
  };
4966
4969
  } | undefined;
4967
4970
  assignedTo?: {
4968
4971
  type: "exact";
4969
4972
  term: string | {
4970
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4973
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4971
4974
  $location?: string | undefined;
4972
4975
  };
4973
4976
  } | undefined;
4974
4977
  createdBy?: {
4975
4978
  type: "exact";
4976
4979
  term: string | {
4977
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4980
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4978
4981
  $location?: string | undefined;
4979
4982
  };
4980
4983
  } | undefined;
@@ -4985,7 +4988,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4985
4988
  updatedBy?: {
4986
4989
  type: "exact";
4987
4990
  term: string | {
4988
- $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "avatar" | "signature" | "middlename";
4991
+ $userField: "id" | "name" | "administrativeAreaId" | "firstname" | "surname" | "fullHonorificName" | "role" | "device" | "primaryOfficeId" | "middlename" | "signature" | "avatar";
4989
4992
  $location?: string | undefined;
4990
4993
  };
4991
4994
  } | undefined;
@@ -24,8 +24,14 @@ export declare const ApplicationConfig: z.ZodObject<{
24
24
  label: z.ZodObject<import("./events/TranslationConfig").MessageDescriptorZod, z.core.$strip>;
25
25
  }, z.core.$strip>>;
26
26
  PHONE_NUMBER_PATTERN: z.ZodUnion<[z.ZodString, z.ZodCustom<RegExp, RegExp>]>;
27
- USER_NOTIFICATION_DELIVERY_METHOD: z.ZodString;
28
- INFORMANT_NOTIFICATION_DELIVERY_METHOD: z.ZodString;
27
+ USER_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
28
+ email: "email";
29
+ sms: "sms";
30
+ }>;
31
+ INFORMANT_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
32
+ email: "email";
33
+ sms: "sms";
34
+ }>;
29
35
  SEARCH_DEFAULT_CRITERIA: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
30
36
  NAME: "NAME";
31
37
  EMAIL: "EMAIL";
@@ -46,8 +52,14 @@ export declare const BackgroundConfig: z.ZodObject<{
46
52
  export declare const LoginConfig: z.ZodObject<{
47
53
  COUNTRY: z.ZodString;
48
54
  LANGUAGES: z.ZodArray<z.ZodString>;
49
- USER_NOTIFICATION_DELIVERY_METHOD: z.ZodString;
50
- INFORMANT_NOTIFICATION_DELIVERY_METHOD: z.ZodString;
55
+ USER_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
56
+ email: "email";
57
+ sms: "sms";
58
+ }>;
59
+ INFORMANT_NOTIFICATION_DELIVERY_METHOD: z.ZodEnum<{
60
+ email: "email";
61
+ sms: "sms";
62
+ }>;
51
63
  PHONE_NUMBER_PATTERN: z.ZodUnion<[z.ZodString, z.ZodCustom<RegExp, RegExp>]>;
52
64
  LOGIN_BACKGROUND: z.ZodObject<{
53
65
  backgroundColor: z.ZodOptional<z.ZodString>;
@@ -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";