@opencrvs/toolkit 2.0.0-rc.fe577a4 → 2.0.0-rc.fea498b

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.
@@ -206,6 +206,11 @@ var FieldTypesToHideInReview = [
206
206
  FieldType.ALPHA_PRINT_BUTTON,
207
207
  FieldType.ALPHA_HIDDEN
208
208
  ];
209
+ var HiddenFieldTypes = [
210
+ FieldType.HTTP,
211
+ FieldType.QUERY_PARAM_READER,
212
+ FieldType.ALPHA_HIDDEN
213
+ ];
209
214
 
210
215
  // ../commons/src/events/FieldValue.ts
211
216
  var z7 = __toESM(require("zod/v4"));
@@ -324,7 +329,7 @@ var PlainDate = import_zod.z.string().date().brand("PlainDate").describe("Date i
324
329
  // ../commons/src/events/FieldValue.ts
325
330
  var TextValue = z7.string();
326
331
  var HiddenFieldValue = z7.string();
327
- var NonEmptyTextValue = TextValue.min(1);
332
+ var NonEmptyTextValue = z7.string().trim().min(1);
328
333
  var DateValue = z7.iso.date().describe("Date in the format YYYY-MM-DD");
329
334
  var AgeValue = z7.object({
330
335
  age: z7.number(),
@@ -1495,6 +1500,7 @@ var NumberField = BaseField.extend({
1495
1500
  configuration: import_v43.default.object({
1496
1501
  min: import_v43.default.number().optional().describe("Minimum value"),
1497
1502
  max: import_v43.default.number().optional().describe("Maximum value"),
1503
+ integer: import_v43.default.boolean().optional().describe("When true, only whole numbers are allowed"),
1498
1504
  prefix: TranslationConfig.optional(),
1499
1505
  postfix: TranslationConfig.optional()
1500
1506
  }).optional()
package/dist/cli.js CHANGED
@@ -2383,18 +2383,18 @@ var encodeScope = (scope) => {
2383
2383
  });
2384
2384
  };
2385
2385
  var decodedScopeCache = /* @__PURE__ */ new Map();
2386
- var decodeScope = (query) => {
2387
- if (decodedScopeCache.has(query)) {
2388
- return decodedScopeCache.get(query);
2386
+ var decodeScope = (encodedScope) => {
2387
+ if (decodedScopeCache.has(encodedScope)) {
2388
+ return decodedScopeCache.get(encodedScope);
2389
2389
  }
2390
- const scope = qs.parse(query, {
2390
+ const scope = qs.parse(encodedScope, {
2391
2391
  ignoreQueryPrefix: true,
2392
2392
  comma: true,
2393
2393
  allowDots: true
2394
2394
  });
2395
2395
  const unflattenedScope = unflattenScope(scope);
2396
2396
  const result = Scope2.safeParse(unflattenedScope)?.data;
2397
- decodedScopeCache.set(query, result);
2397
+ decodedScopeCache.set(encodedScope, result);
2398
2398
  return result;
2399
2399
  };
2400
2400
  var DEFAULT_SCOPE_OPTIONS = {
@@ -417,7 +417,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
417
417
  createdByUserType: "system" | "user";
418
418
  createdAt: string;
419
419
  createdBy: string;
420
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
420
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
421
421
  status: "Rejected";
422
422
  createdByRole?: string | undefined;
423
423
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -729,7 +729,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
729
729
  createdByUserType: "system" | "user";
730
730
  createdAt: string;
731
731
  createdBy: string;
732
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
732
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
733
733
  status: "Rejected";
734
734
  createdByRole?: string | undefined;
735
735
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -1040,7 +1040,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1040
1040
  createdByUserType: "system" | "user";
1041
1041
  createdAt: string;
1042
1042
  createdBy: string;
1043
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
1043
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
1044
1044
  status: "Rejected";
1045
1045
  createdByRole?: string | undefined;
1046
1046
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -1090,7 +1090,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1090
1090
  transactionId: string;
1091
1091
  createdAt: string;
1092
1092
  action: {
1093
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "NOTIFY" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "ASSIGN" | "UNASSIGN";
1093
+ type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1094
1094
  transactionId: string;
1095
1095
  createdByUserType: "system" | "user";
1096
1096
  createdAt: string;
@@ -1109,7 +1109,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1109
1109
  input: {
1110
1110
  transactionId: string;
1111
1111
  eventId: string;
1112
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "NOTIFY" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "ASSIGN" | "UNASSIGN";
1112
+ type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1113
1113
  status: "Requested" | "Accepted" | "Rejected";
1114
1114
  createdAtLocation?: string | null | undefined;
1115
1115
  declaration?: Record<string, unknown> | undefined;
@@ -1125,7 +1125,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1125
1125
  transactionId: string;
1126
1126
  createdAt: string;
1127
1127
  action: {
1128
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "NOTIFY" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "ASSIGN" | "UNASSIGN";
1128
+ type: "CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM";
1129
1129
  transactionId: string;
1130
1130
  createdByUserType: "system" | "user";
1131
1131
  createdAt: string;
@@ -1788,7 +1788,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1788
1788
  createdByUserType: "system" | "user";
1789
1789
  createdAt: string;
1790
1790
  createdBy: string;
1791
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
1791
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
1792
1792
  status: "Rejected";
1793
1793
  createdByRole?: string | undefined;
1794
1794
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -2131,7 +2131,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2131
2131
  createdByUserType: "system" | "user";
2132
2132
  createdAt: string;
2133
2133
  createdBy: string;
2134
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
2134
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
2135
2135
  status: "Rejected";
2136
2136
  createdByRole?: string | undefined;
2137
2137
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -4217,7 +4217,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4217
4217
  createdByUserType: "system" | "user";
4218
4218
  createdAt: string;
4219
4219
  createdBy: string;
4220
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
4220
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
4221
4221
  status: "Rejected";
4222
4222
  createdByRole?: string | undefined;
4223
4223
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -4828,7 +4828,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
4828
4828
  createdByUserType: "system" | "user";
4829
4829
  createdAt: string;
4830
4830
  createdBy: string;
4831
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
4831
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
4832
4832
  status: "Rejected";
4833
4833
  createdByRole?: string | undefined;
4834
4834
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -5149,7 +5149,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
5149
5149
  createdByUserType: "system" | "user";
5150
5150
  createdAt: string;
5151
5151
  createdBy: string;
5152
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
5152
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
5153
5153
  status: "Rejected";
5154
5154
  createdByRole?: string | undefined;
5155
5155
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -6403,7 +6403,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6403
6403
  createdByUserType: "system" | "user";
6404
6404
  createdAt: string;
6405
6405
  createdBy: string;
6406
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
6406
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
6407
6407
  status: "Rejected";
6408
6408
  createdByRole?: string | undefined;
6409
6409
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -6723,7 +6723,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
6723
6723
  createdByUserType: "system" | "user";
6724
6724
  createdAt: string;
6725
6725
  createdBy: string;
6726
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
6726
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
6727
6727
  status: "Rejected";
6728
6728
  createdByRole?: string | undefined;
6729
6729
  createdBySignature?: (string & import("zod").$brand<"DocumentPath">) | null | undefined;
@@ -7086,7 +7086,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7086
7086
  createdByUserType: "system" | "user";
7087
7087
  createdAt: string;
7088
7088
  createdBy: string;
7089
- type: "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "CUSTOM" | "NOTIFY" | "REJECT_CORRECTION" | "APPROVE_CORRECTION";
7089
+ type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
7090
7090
  status: "Rejected";
7091
7091
  createdByRole?: string | undefined;
7092
7092
  createdBySignature?: string | null | undefined;
@@ -7304,7 +7304,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7304
7304
  count?: number | undefined;
7305
7305
  timeStart?: string | undefined;
7306
7306
  timeEnd?: string | undefined;
7307
- actionTypes?: ("DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "CUSTOM" | "CREATE" | "NOTIFY" | "DUPLICATE_DETECTED" | "MARK_AS_NOT_DUPLICATE" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "ASSIGN" | "UNASSIGN")[] | undefined;
7307
+ actionTypes?: ("CREATE" | "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "DUPLICATE_DETECTED" | "REJECT" | "MARK_AS_DUPLICATE" | "MARK_AS_NOT_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "CUSTOM")[] | undefined;
7308
7308
  };
7309
7309
  output: {
7310
7310
  results: {
@@ -7374,9 +7374,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
7374
7374
  output: void;
7375
7375
  meta: import("trpc-to-openapi").OpenApiMeta;
7376
7376
  }>;
7377
- sendVerifyCode: import("@trpc/server").TRPCMutationProcedure<{
7377
+ requestEmailChange: import("@trpc/server").TRPCMutationProcedure<{
7378
7378
  input: {
7379
- notificationEvent: "change-phone-number" | "change-email-address";
7379
+ email: string;
7380
+ };
7381
+ output: {
7382
+ nonce: string;
7383
+ };
7384
+ meta: import("trpc-to-openapi").OpenApiMeta;
7385
+ }>;
7386
+ requestPhoneChange: import("@trpc/server").TRPCMutationProcedure<{
7387
+ input: {
7388
+ phoneNumber: string;
7380
7389
  };
7381
7390
  output: {
7382
7391
  nonce: string;
@@ -85,6 +85,41 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
85
85
  fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
86
86
  }, z.core.$strip>;
87
87
  conditionals: z.ZodOptional<z.ZodNever>;
88
+ }, z.core.$strip>, z.ZodObject<{
89
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
90
+ flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
91
+ id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
92
+ readonly INCOMPLETE: "incomplete";
93
+ readonly REJECTED: "rejected";
94
+ readonly CORRECTION_REQUESTED: "correction-requested";
95
+ readonly POTENTIAL_DUPLICATE: "potential-duplicate";
96
+ readonly EDIT_IN_PROGRESS: "edit-in-progress";
97
+ }>]>, z.ZodString]>;
98
+ operation: z.ZodEnum<{
99
+ add: "add";
100
+ remove: "remove";
101
+ }>;
102
+ conditional: z.ZodOptional<z.ZodAny>;
103
+ }, z.core.$strip>>>>;
104
+ supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
105
+ icon: z.ZodOptional<z.ZodString>;
106
+ conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
107
+ type: z.ZodLiteral<"SHOW">;
108
+ conditional: z.ZodAny;
109
+ }, z.core.$strip>, z.ZodObject<{
110
+ type: z.ZodLiteral<"ENABLE">;
111
+ conditional: z.ZodAny;
112
+ }, z.core.$strip>], "type">>>;
113
+ deduplication: z.ZodOptional<z.ZodObject<{
114
+ id: z.ZodString;
115
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
116
+ query: z.ZodType<import("./DeduplicationConfig").ClauseOutput, import("./DeduplicationConfig").ClauseInput, z.core.$ZodTypeInternals<import("./DeduplicationConfig").ClauseOutput, import("./DeduplicationConfig").ClauseInput>>;
117
+ }, z.core.$strip>>;
118
+ type: z.ZodLiteral<"NOTIFY">;
119
+ review: z.ZodOptional<z.ZodObject<{
120
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
121
+ fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
122
+ }, z.core.$strip>>;
88
123
  }, z.core.$strip>, z.ZodObject<{
89
124
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
90
125
  flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -388,8 +423,8 @@ export declare const actionConfigTypes: Set<ActionConfigTypes>;
388
423
  *
389
424
  * These are not the same as the broader workflow `action.type` values.
390
425
  * `ActionConfigTypes` includes only the action kinds that can be defined
391
- * in the country configuration (e.g. DECLARE, VALIDATE, CUSTOM), and
392
- * excludes workflow-only types such as CREATE or NOTIFY.
426
+ * in the country configuration (e.g. NOTIFY, DECLARE, VALIDATE, CUSTOM), and
427
+ * excludes workflow-only types such as CREATE.
393
428
  */
394
429
  export type ActionConfigTypes = ActionConfig['type'];
395
430
  export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{