@opencrvs/toolkit 2.0.0-rc.1232518 → 2.0.0-rc.1239696
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/README.md +15 -0
- package/build.sh +5 -4
- package/dist/application-config/index.js +23 -6
- package/dist/cli.js +3186 -4921
- package/dist/commons/api/router.d.ts +19 -4
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- package/dist/commons/events/ActionConfig.d.ts +211 -2
- package/dist/commons/events/AdvancedSearchConfig.d.ts +12 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +42 -0
- package/dist/commons/events/EventConfig.d.ts +2 -0
- package/dist/commons/events/EventIndex.d.ts +25 -0
- package/dist/commons/events/EventMetadata.d.ts +26 -0
- package/dist/commons/events/FieldConfig.d.ts +11 -0
- package/dist/commons/events/FieldType.d.ts +1 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +1 -1
- package/dist/commons/events/WorkqueueConfig.d.ts +39 -0
- package/dist/commons/events/locations.d.ts +1 -0
- package/dist/commons/events/state/index.d.ts +8 -0
- package/dist/commons/events/state/utils.d.ts +9 -0
- package/dist/commons/events/utils.d.ts +8 -0
- package/dist/conditionals/index.js +10 -5
- package/dist/environment/custom-types.d.ts +33 -0
- package/dist/environment/custom-types.d.ts.map +1 -0
- package/dist/environment/custom-types.js +12 -0
- package/dist/environment/derived-variables.d.ts +134 -0
- package/dist/environment/derived-variables.d.ts.map +1 -0
- package/dist/environment/derived-variables.js +169 -0
- package/dist/environment/editor-questions.d.ts +4 -0
- package/dist/environment/editor-questions.d.ts.map +1 -0
- package/dist/environment/editor-questions.js +67 -0
- package/dist/environment/git.d.ts +5 -0
- package/dist/environment/git.d.ts.map +1 -0
- package/dist/environment/git.js +38 -0
- package/dist/environment/github.d.ts +26 -0
- package/dist/environment/github.d.ts.map +1 -0
- package/dist/environment/github.js +247 -0
- package/dist/environment/index.d.ts +5 -0
- package/dist/environment/index.d.ts.map +1 -0
- package/dist/environment/index.js +71 -0
- package/dist/environment/logger.d.ts +15 -0
- package/dist/environment/logger.d.ts.map +1 -0
- package/dist/environment/logger.js +25 -0
- package/dist/environment/manage-users.d.ts +11 -0
- package/dist/environment/manage-users.d.ts.map +1 -0
- package/dist/environment/manage-users.js +497 -0
- package/dist/environment/questions-helper.d.ts +15 -0
- package/dist/environment/questions-helper.d.ts.map +1 -0
- package/dist/environment/questions-helper.js +70 -0
- package/dist/environment/questions.d.ts +199 -0
- package/dist/environment/questions.d.ts.map +1 -0
- package/dist/environment/questions.js +412 -0
- package/dist/environment/setup-environment.d.ts +2 -0
- package/dist/environment/setup-environment.d.ts.map +1 -0
- package/dist/environment/setup-environment.js +794 -0
- package/dist/environment/ssh-keygen.d.ts +5 -0
- package/dist/environment/ssh-keygen.d.ts.map +1 -0
- package/dist/environment/ssh-keygen.js +21 -0
- package/dist/environment/swarm-to-k8s.d.ts +2 -0
- package/dist/environment/swarm-to-k8s.d.ts.map +1 -0
- package/dist/environment/swarm-to-k8s.js +173 -0
- package/dist/environment/templates.d.ts +27 -0
- package/dist/environment/templates.d.ts.map +1 -0
- package/dist/environment/templates.js +163 -0
- package/dist/environment/update-workflows.d.ts +2 -0
- package/dist/environment/update-workflows.d.ts.map +1 -0
- package/dist/environment/update-workflows.js +169 -0
- package/dist/environment/users.d.ts +2 -0
- package/dist/environment/users.d.ts.map +1 -0
- package/dist/environment/users.js +112 -0
- package/dist/environment/utils.d.ts +18 -0
- package/dist/environment/utils.d.ts.map +1 -0
- package/dist/environment/utils.js +100 -0
- package/dist/events/index.js +302 -76
- 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 -1
- package/dist/migrations/v2.0/index.js +88 -5139
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +3 -0
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-explicit-correction-flags.js +234 -0
- package/dist/migrations/v2.1/index.d.ts +6 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -0
- package/dist/migrations/v2.1/index.js +218 -0
- package/dist/notification/index.js +209 -20
- package/dist/scopes/index.d.ts +89 -1
- package/dist/scopes/index.js +10 -5
- package/dist/templates/charts-values/dependencies/values.override.yaml +4 -0
- package/dist/templates/charts-values/dependencies/values.yaml +83 -0
- package/dist/templates/charts-values/opencrvs-services/values.override.yaml +4 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +81 -0
- package/dist/templates/charts-values/traefik/values.override.yaml +4 -0
- package/dist/templates/charts-values/traefik/values.yaml +115 -0
- package/dist/templates/inventory/inventory.template.yml +100 -0
- package/dist/templates/inventory/production.example.yml +77 -0
- package/dist/templates/inventory/qa.example.yml +48 -0
- package/opencrvs-toolkit-2.0.0-rc.1239696.tgz +0 -0
- package/package.json +15 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.1232518.tgz +0 -0
|
@@ -6749,6 +6749,14 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6749
6749
|
type: string;
|
|
6750
6750
|
status: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
|
|
6751
6751
|
legalStatuses: {
|
|
6752
|
+
NOTIFIED?: {
|
|
6753
|
+
createdAt: string;
|
|
6754
|
+
createdBy: string;
|
|
6755
|
+
acceptedAt: string;
|
|
6756
|
+
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
6757
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
|
6758
|
+
createdByRole?: string | undefined;
|
|
6759
|
+
} | null | undefined;
|
|
6752
6760
|
DECLARED?: {
|
|
6753
6761
|
createdAt: string;
|
|
6754
6762
|
createdBy: string;
|
|
@@ -7374,12 +7382,17 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7374
7382
|
output: void;
|
|
7375
7383
|
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7376
7384
|
}>;
|
|
7377
|
-
|
|
7385
|
+
requestEmailChange: import("@trpc/server").TRPCMutationProcedure<{
|
|
7378
7386
|
input: {
|
|
7379
|
-
notificationEvent: "change-email-address";
|
|
7380
7387
|
email: string;
|
|
7381
|
-
}
|
|
7382
|
-
|
|
7388
|
+
};
|
|
7389
|
+
output: {
|
|
7390
|
+
nonce: string;
|
|
7391
|
+
};
|
|
7392
|
+
meta: import("trpc-to-openapi").OpenApiMeta;
|
|
7393
|
+
}>;
|
|
7394
|
+
requestPhoneChange: import("@trpc/server").TRPCMutationProcedure<{
|
|
7395
|
+
input: {
|
|
7383
7396
|
phoneNumber: string;
|
|
7384
7397
|
};
|
|
7385
7398
|
output: {
|
|
@@ -8008,6 +8021,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8008
8021
|
flags?: {
|
|
8009
8022
|
anyOf?: string[] | undefined;
|
|
8010
8023
|
noneOf?: string[] | undefined;
|
|
8024
|
+
allOf?: string[] | undefined;
|
|
8011
8025
|
} | undefined;
|
|
8012
8026
|
data?: unknown;
|
|
8013
8027
|
}[];
|
|
@@ -8146,6 +8160,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
8146
8160
|
flags?: {
|
|
8147
8161
|
anyOf?: string[] | undefined;
|
|
8148
8162
|
noneOf?: string[] | undefined;
|
|
8163
|
+
allOf?: string[] | undefined;
|
|
8149
8164
|
} | undefined;
|
|
8150
8165
|
data?: unknown;
|
|
8151
8166
|
}[];
|
|
@@ -94,16 +94,16 @@ export declare const user: typeof userSerializer & {
|
|
|
94
94
|
scope: (scope: import("../scopes").ScopeType) => {
|
|
95
95
|
attribute: (option: import("../scopes").ScopeOptionKey) => {
|
|
96
96
|
$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";
|
|
97
|
-
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
97
|
+
$option: "role" | "event" | "placeOfEvent" | "notifiedIn" | "notifiedBy" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
jurisdiction: (jurisdiction: import("../scopes").JurisdictionFilter | {
|
|
101
101
|
$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";
|
|
102
|
-
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
102
|
+
$option: "role" | "event" | "placeOfEvent" | "notifiedIn" | "notifiedBy" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
103
103
|
}) => {
|
|
104
104
|
$jurisdiction: "administrativeArea" | "location" | "all" | {
|
|
105
105
|
$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";
|
|
106
|
-
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
106
|
+
$option: "role" | "event" | "placeOfEvent" | "notifiedIn" | "notifiedBy" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
109
|
};
|
|
@@ -85,6 +85,85 @@ 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
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
91
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
92
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
93
|
+
type: z.ZodLiteral<"SHOW">;
|
|
94
|
+
conditional: z.ZodAny;
|
|
95
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
96
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
97
|
+
conditional: z.ZodAny;
|
|
98
|
+
}, z.core.$strip>], "type">>>;
|
|
99
|
+
type: z.ZodLiteral<"ASSIGN">;
|
|
100
|
+
flags: z.ZodOptional<z.ZodNever>;
|
|
101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
103
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
104
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
105
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
106
|
+
type: z.ZodLiteral<"SHOW">;
|
|
107
|
+
conditional: z.ZodAny;
|
|
108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
110
|
+
conditional: z.ZodAny;
|
|
111
|
+
}, z.core.$strip>], "type">>>;
|
|
112
|
+
type: z.ZodLiteral<"UNASSIGN">;
|
|
113
|
+
flags: z.ZodOptional<z.ZodNever>;
|
|
114
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
115
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
116
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
117
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
118
|
+
readonly INCOMPLETE: "incomplete";
|
|
119
|
+
readonly REJECTED: "rejected";
|
|
120
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
121
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
122
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
123
|
+
}>]>, z.ZodString]>;
|
|
124
|
+
operation: z.ZodEnum<{
|
|
125
|
+
add: "add";
|
|
126
|
+
remove: "remove";
|
|
127
|
+
}>;
|
|
128
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
129
|
+
}, z.core.$strip>>>>;
|
|
130
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
131
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
132
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
133
|
+
type: z.ZodLiteral<"SHOW">;
|
|
134
|
+
conditional: z.ZodAny;
|
|
135
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
136
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
137
|
+
conditional: z.ZodAny;
|
|
138
|
+
}, z.core.$strip>], "type">>>;
|
|
139
|
+
type: z.ZodLiteral<"DELETE">;
|
|
140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
141
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
142
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
143
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
144
|
+
readonly INCOMPLETE: "incomplete";
|
|
145
|
+
readonly REJECTED: "rejected";
|
|
146
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
147
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
148
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
149
|
+
}>]>, z.ZodString]>;
|
|
150
|
+
operation: z.ZodEnum<{
|
|
151
|
+
add: "add";
|
|
152
|
+
remove: "remove";
|
|
153
|
+
}>;
|
|
154
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
155
|
+
}, z.core.$strip>>>>;
|
|
156
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
157
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
158
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
159
|
+
type: z.ZodLiteral<"SHOW">;
|
|
160
|
+
conditional: z.ZodAny;
|
|
161
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
162
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
163
|
+
conditional: z.ZodAny;
|
|
164
|
+
}, z.core.$strip>], "type">>>;
|
|
165
|
+
type: z.ZodLiteral<"NOTIFY">;
|
|
166
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
88
167
|
}, z.core.$strip>, z.ZodObject<{
|
|
89
168
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
90
169
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -120,11 +199,84 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
120
199
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
121
200
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
122
201
|
}, z.core.$strip>;
|
|
202
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
123
203
|
dialogCopy: z.ZodOptional<z.ZodObject<{
|
|
124
204
|
notify: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
125
205
|
declare: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
126
206
|
register: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
127
207
|
}, z.core.$strip>>;
|
|
208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
209
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
210
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
211
|
+
readonly INCOMPLETE: "incomplete";
|
|
212
|
+
readonly REJECTED: "rejected";
|
|
213
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
214
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
215
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
216
|
+
}>]>, z.ZodString]>;
|
|
217
|
+
operation: z.ZodEnum<{
|
|
218
|
+
add: "add";
|
|
219
|
+
remove: "remove";
|
|
220
|
+
}>;
|
|
221
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
222
|
+
}, z.core.$strip>>>>;
|
|
223
|
+
type: z.ZodLiteral<"DUPLICATE_DETECTED">;
|
|
224
|
+
label: z.ZodOptional<z.ZodNever>;
|
|
225
|
+
supportingCopy: z.ZodOptional<z.ZodNever>;
|
|
226
|
+
icon: z.ZodOptional<z.ZodNever>;
|
|
227
|
+
conditionals: z.ZodOptional<z.ZodNever>;
|
|
228
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
229
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
230
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
231
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
232
|
+
readonly INCOMPLETE: "incomplete";
|
|
233
|
+
readonly REJECTED: "rejected";
|
|
234
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
235
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
236
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
237
|
+
}>]>, z.ZodString]>;
|
|
238
|
+
operation: z.ZodEnum<{
|
|
239
|
+
add: "add";
|
|
240
|
+
remove: "remove";
|
|
241
|
+
}>;
|
|
242
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
243
|
+
}, z.core.$strip>>>>;
|
|
244
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
245
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
246
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
247
|
+
type: z.ZodLiteral<"SHOW">;
|
|
248
|
+
conditional: z.ZodAny;
|
|
249
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
250
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
251
|
+
conditional: z.ZodAny;
|
|
252
|
+
}, z.core.$strip>], "type">>>;
|
|
253
|
+
type: z.ZodLiteral<"MARK_AS_DUPLICATE">;
|
|
254
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
255
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
256
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
257
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
258
|
+
readonly INCOMPLETE: "incomplete";
|
|
259
|
+
readonly REJECTED: "rejected";
|
|
260
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
261
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
262
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
263
|
+
}>]>, z.ZodString]>;
|
|
264
|
+
operation: z.ZodEnum<{
|
|
265
|
+
add: "add";
|
|
266
|
+
remove: "remove";
|
|
267
|
+
}>;
|
|
268
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
269
|
+
}, z.core.$strip>>>>;
|
|
270
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
271
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
272
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
273
|
+
type: z.ZodLiteral<"SHOW">;
|
|
274
|
+
conditional: z.ZodAny;
|
|
275
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
276
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
277
|
+
conditional: z.ZodAny;
|
|
278
|
+
}, z.core.$strip>], "type">>>;
|
|
279
|
+
type: z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">;
|
|
128
280
|
}, z.core.$strip>, z.ZodObject<{
|
|
129
281
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
130
282
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -151,6 +303,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
151
303
|
conditional: z.ZodAny;
|
|
152
304
|
}, z.core.$strip>], "type">>>;
|
|
153
305
|
type: z.ZodLiteral<"REJECT">;
|
|
306
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
154
307
|
}, z.core.$strip>, z.ZodObject<{
|
|
155
308
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
156
309
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -182,6 +335,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
182
335
|
query: z.ZodType<import("./DeduplicationConfig").ClauseOutput, import("./DeduplicationConfig").ClauseInput, z.core.$ZodTypeInternals<import("./DeduplicationConfig").ClauseOutput, import("./DeduplicationConfig").ClauseInput>>;
|
|
183
336
|
}, z.core.$strip>>;
|
|
184
337
|
type: z.ZodLiteral<"REGISTER">;
|
|
338
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
185
339
|
}, z.core.$strip>, z.ZodObject<{
|
|
186
340
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
187
341
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -294,6 +448,58 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
294
448
|
}, z.core.$strip>;
|
|
295
449
|
}, z.core.$strip>], "type">>;
|
|
296
450
|
}, z.core.$strip>;
|
|
451
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
452
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
453
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
454
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
455
|
+
readonly INCOMPLETE: "incomplete";
|
|
456
|
+
readonly REJECTED: "rejected";
|
|
457
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
458
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
459
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
460
|
+
}>]>, z.ZodString]>;
|
|
461
|
+
operation: z.ZodEnum<{
|
|
462
|
+
add: "add";
|
|
463
|
+
remove: "remove";
|
|
464
|
+
}>;
|
|
465
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
466
|
+
}, z.core.$strip>>>>;
|
|
467
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
468
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
469
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
470
|
+
type: z.ZodLiteral<"SHOW">;
|
|
471
|
+
conditional: z.ZodAny;
|
|
472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
473
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
474
|
+
conditional: z.ZodAny;
|
|
475
|
+
}, z.core.$strip>], "type">>>;
|
|
476
|
+
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
|
477
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
478
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
479
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
480
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
481
|
+
readonly INCOMPLETE: "incomplete";
|
|
482
|
+
readonly REJECTED: "rejected";
|
|
483
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
484
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
485
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
486
|
+
}>]>, z.ZodString]>;
|
|
487
|
+
operation: z.ZodEnum<{
|
|
488
|
+
add: "add";
|
|
489
|
+
remove: "remove";
|
|
490
|
+
}>;
|
|
491
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
492
|
+
}, z.core.$strip>>>>;
|
|
493
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
494
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
495
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
496
|
+
type: z.ZodLiteral<"SHOW">;
|
|
497
|
+
conditional: z.ZodAny;
|
|
498
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
499
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
500
|
+
conditional: z.ZodAny;
|
|
501
|
+
}, z.core.$strip>], "type">>>;
|
|
502
|
+
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
|
297
503
|
}, z.core.$strip>, z.ZodObject<{
|
|
298
504
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
299
505
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -351,6 +557,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
351
557
|
conditional: z.ZodAny;
|
|
352
558
|
}, z.core.$strip>], "type">>>;
|
|
353
559
|
type: z.ZodLiteral<"ARCHIVE">;
|
|
560
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
354
561
|
}, z.core.$strip>, z.ZodObject<{
|
|
355
562
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
356
563
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -388,8 +595,8 @@ export declare const actionConfigTypes: Set<ActionConfigTypes>;
|
|
|
388
595
|
*
|
|
389
596
|
* These are not the same as the broader workflow `action.type` values.
|
|
390
597
|
* `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
|
|
598
|
+
* in the country configuration (e.g. NOTIFY, DECLARE, VALIDATE, CUSTOM), and
|
|
599
|
+
* excludes workflow-only types such as CREATE.
|
|
393
600
|
*/
|
|
394
601
|
export type ActionConfigTypes = ActionConfig['type'];
|
|
395
602
|
export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -427,6 +634,7 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
427
634
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
428
635
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
429
636
|
}, z.core.$strip>;
|
|
637
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
430
638
|
dialogCopy: z.ZodOptional<z.ZodObject<{
|
|
431
639
|
notify: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
432
640
|
declare: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
@@ -463,6 +671,7 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
463
671
|
query: z.ZodType<import("./DeduplicationConfig").ClauseOutput, import("./DeduplicationConfig").ClauseInput, z.core.$ZodTypeInternals<import("./DeduplicationConfig").ClauseOutput, import("./DeduplicationConfig").ClauseInput>>;
|
|
464
672
|
}, z.core.$strip>>;
|
|
465
673
|
type: z.ZodLiteral<"REGISTER">;
|
|
674
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
466
675
|
}, z.core.$strip>], "type">;
|
|
467
676
|
export type DeclarationActionConfig = z.infer<typeof DeclarationActionConfig>;
|
|
468
677
|
export {};
|
|
@@ -139,6 +139,8 @@ export declare const FieldConfigSchema: z.ZodObject<{
|
|
|
139
139
|
role: "role";
|
|
140
140
|
event: "event";
|
|
141
141
|
placeOfEvent: "placeOfEvent";
|
|
142
|
+
notifiedIn: "notifiedIn";
|
|
143
|
+
notifiedBy: "notifiedBy";
|
|
142
144
|
declaredIn: "declaredIn";
|
|
143
145
|
declaredBy: "declaredBy";
|
|
144
146
|
registeredIn: "registeredIn";
|
|
@@ -316,6 +318,8 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
316
318
|
role: "role";
|
|
317
319
|
event: "event";
|
|
318
320
|
placeOfEvent: "placeOfEvent";
|
|
321
|
+
notifiedIn: "notifiedIn";
|
|
322
|
+
notifiedBy: "notifiedBy";
|
|
319
323
|
declaredIn: "declaredIn";
|
|
320
324
|
declaredBy: "declaredBy";
|
|
321
325
|
registeredIn: "registeredIn";
|
|
@@ -469,6 +473,8 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
469
473
|
role: "role";
|
|
470
474
|
event: "event";
|
|
471
475
|
placeOfEvent: "placeOfEvent";
|
|
476
|
+
notifiedIn: "notifiedIn";
|
|
477
|
+
notifiedBy: "notifiedBy";
|
|
472
478
|
declaredIn: "declaredIn";
|
|
473
479
|
declaredBy: "declaredBy";
|
|
474
480
|
registeredIn: "registeredIn";
|
|
@@ -614,6 +620,8 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
614
620
|
role: "role";
|
|
615
621
|
event: "event";
|
|
616
622
|
placeOfEvent: "placeOfEvent";
|
|
623
|
+
notifiedIn: "notifiedIn";
|
|
624
|
+
notifiedBy: "notifiedBy";
|
|
617
625
|
declaredIn: "declaredIn";
|
|
618
626
|
declaredBy: "declaredBy";
|
|
619
627
|
registeredIn: "registeredIn";
|
|
@@ -770,6 +778,8 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
770
778
|
role: "role";
|
|
771
779
|
event: "event";
|
|
772
780
|
placeOfEvent: "placeOfEvent";
|
|
781
|
+
notifiedIn: "notifiedIn";
|
|
782
|
+
notifiedBy: "notifiedBy";
|
|
773
783
|
declaredIn: "declaredIn";
|
|
774
784
|
declaredBy: "declaredBy";
|
|
775
785
|
registeredIn: "registeredIn";
|
|
@@ -915,6 +925,8 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
915
925
|
role: "role";
|
|
916
926
|
event: "event";
|
|
917
927
|
placeOfEvent: "placeOfEvent";
|
|
928
|
+
notifiedIn: "notifiedIn";
|
|
929
|
+
notifiedBy: "notifiedBy";
|
|
918
930
|
declaredIn: "declaredIn";
|
|
919
931
|
declaredBy: "declaredBy";
|
|
920
932
|
registeredIn: "registeredIn";
|
|
@@ -346,6 +346,13 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
346
346
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
347
347
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
348
348
|
}>]>, z.ZodString]>>>;
|
|
349
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
350
|
+
readonly INCOMPLETE: "incomplete";
|
|
351
|
+
readonly REJECTED: "rejected";
|
|
352
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
353
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
354
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
355
|
+
}>]>, z.ZodString]>>>;
|
|
349
356
|
}, z.core.$strip>>>;
|
|
350
357
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
351
358
|
}, z.core.$strip>;
|
|
@@ -657,6 +664,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
657
664
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
658
665
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
659
666
|
}>]>, z.ZodString]>>>;
|
|
667
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
668
|
+
readonly INCOMPLETE: "incomplete";
|
|
669
|
+
readonly REJECTED: "rejected";
|
|
670
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
671
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
672
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
673
|
+
}>]>, z.ZodString]>>>;
|
|
660
674
|
}, z.core.$strip>>>;
|
|
661
675
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
662
676
|
}, z.core.$strip>>;
|
|
@@ -967,6 +981,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
967
981
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
968
982
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
969
983
|
}>]>, z.ZodString]>>>;
|
|
984
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
985
|
+
readonly INCOMPLETE: "incomplete";
|
|
986
|
+
readonly REJECTED: "rejected";
|
|
987
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
988
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
989
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
990
|
+
}>]>, z.ZodString]>>>;
|
|
970
991
|
}, z.core.$strip>>>;
|
|
971
992
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
972
993
|
}, z.core.$strip>>;
|
|
@@ -1277,6 +1298,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1277
1298
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1278
1299
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1279
1300
|
}>]>, z.ZodString]>>>;
|
|
1301
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1302
|
+
readonly INCOMPLETE: "incomplete";
|
|
1303
|
+
readonly REJECTED: "rejected";
|
|
1304
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1305
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1306
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1307
|
+
}>]>, z.ZodString]>>>;
|
|
1280
1308
|
}, z.core.$strip>>>;
|
|
1281
1309
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1282
1310
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1586,6 +1614,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1586
1614
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1587
1615
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1588
1616
|
}>]>, z.ZodString]>>>;
|
|
1617
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1618
|
+
readonly INCOMPLETE: "incomplete";
|
|
1619
|
+
readonly REJECTED: "rejected";
|
|
1620
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1621
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1622
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1623
|
+
}>]>, z.ZodString]>>>;
|
|
1589
1624
|
}, z.core.$strip>>>;
|
|
1590
1625
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1591
1626
|
}, z.core.$strip>>;
|
|
@@ -1896,6 +1931,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1896
1931
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1897
1932
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1898
1933
|
}>]>, z.ZodString]>>>;
|
|
1934
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1935
|
+
readonly INCOMPLETE: "incomplete";
|
|
1936
|
+
readonly REJECTED: "rejected";
|
|
1937
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1938
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1939
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1940
|
+
}>]>, z.ZodString]>>>;
|
|
1899
1941
|
}, z.core.$strip>>>;
|
|
1900
1942
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1901
1943
|
}, z.core.$strip>>;
|
|
@@ -10,6 +10,8 @@ export declare const EventFieldReference: z.ZodObject<{
|
|
|
10
10
|
$$event: z.ZodEnum<{
|
|
11
11
|
updatedAt: "updatedAt";
|
|
12
12
|
createdAt: "createdAt";
|
|
13
|
+
"legalStatuses.NOTIFIED.createdAt": "legalStatuses.NOTIFIED.createdAt";
|
|
14
|
+
"legalStatuses.NOTIFIED.acceptedAt": "legalStatuses.NOTIFIED.acceptedAt";
|
|
13
15
|
"legalStatuses.DECLARED.createdAt": "legalStatuses.DECLARED.createdAt";
|
|
14
16
|
"legalStatuses.DECLARED.acceptedAt": "legalStatuses.DECLARED.acceptedAt";
|
|
15
17
|
"legalStatuses.REGISTERED.createdAt": "legalStatuses.REGISTERED.createdAt";
|
|
@@ -10,6 +10,17 @@ export declare const EventIndex: z.ZodObject<{
|
|
|
10
10
|
ARCHIVED: "ARCHIVED";
|
|
11
11
|
}>;
|
|
12
12
|
legalStatuses: z.ZodObject<{
|
|
13
|
+
NOTIFIED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
+
createdAt: z.ZodISODateTime;
|
|
15
|
+
createdBy: z.ZodString;
|
|
16
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
17
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
18
|
+
user: "user";
|
|
19
|
+
system: "system";
|
|
20
|
+
}>>>;
|
|
21
|
+
acceptedAt: z.ZodISODateTime;
|
|
22
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>>>;
|
|
13
24
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
25
|
createdAt: z.ZodISODateTime;
|
|
15
26
|
createdBy: z.ZodString;
|
|
@@ -127,6 +138,13 @@ export declare const ContainsFlags: z.ZodObject<{
|
|
|
127
138
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
128
139
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
129
140
|
}>]>, z.ZodString]>>>;
|
|
141
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
142
|
+
readonly INCOMPLETE: "incomplete";
|
|
143
|
+
readonly REJECTED: "rejected";
|
|
144
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
145
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
146
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
147
|
+
}>]>, z.ZodString]>>>;
|
|
130
148
|
}, z.core.$strip>;
|
|
131
149
|
export declare const Within: z.ZodObject<{
|
|
132
150
|
type: z.ZodLiteral<"within">;
|
|
@@ -306,6 +324,13 @@ export declare const QueryExpression: z.ZodObject<{
|
|
|
306
324
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
307
325
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
308
326
|
}>]>, z.ZodString]>>>;
|
|
327
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
328
|
+
readonly INCOMPLETE: "incomplete";
|
|
329
|
+
readonly REJECTED: "rejected";
|
|
330
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
331
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
332
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
333
|
+
}>]>, z.ZodString]>>>;
|
|
309
334
|
}, z.core.$strip>>>;
|
|
310
335
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
311
336
|
}, z.core.$strip>;
|
|
@@ -39,6 +39,17 @@ export declare const RegistrationCreationMetadata: z.ZodObject<{
|
|
|
39
39
|
}, z.core.$strip>;
|
|
40
40
|
export type RegistrationCreationMetadata = z.infer<typeof RegistrationCreationMetadata>;
|
|
41
41
|
export declare const LegalStatuses: z.ZodObject<{
|
|
42
|
+
NOTIFIED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
|
+
createdAt: z.ZodISODateTime;
|
|
44
|
+
createdBy: z.ZodString;
|
|
45
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
46
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
47
|
+
user: "user";
|
|
48
|
+
system: "system";
|
|
49
|
+
}>>>;
|
|
50
|
+
acceptedAt: z.ZodISODateTime;
|
|
51
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, z.core.$strip>>>;
|
|
42
53
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
54
|
createdAt: z.ZodISODateTime;
|
|
44
55
|
createdBy: z.ZodString;
|
|
@@ -79,6 +90,17 @@ export declare const EventMetadata: z.ZodObject<{
|
|
|
79
90
|
ARCHIVED: "ARCHIVED";
|
|
80
91
|
}>;
|
|
81
92
|
legalStatuses: z.ZodObject<{
|
|
93
|
+
NOTIFIED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
94
|
+
createdAt: z.ZodISODateTime;
|
|
95
|
+
createdBy: z.ZodString;
|
|
96
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
97
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
98
|
+
user: "user";
|
|
99
|
+
system: "system";
|
|
100
|
+
}>>>;
|
|
101
|
+
acceptedAt: z.ZodISODateTime;
|
|
102
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
103
|
+
}, z.core.$strip>>>;
|
|
82
104
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
83
105
|
createdAt: z.ZodISODateTime;
|
|
84
106
|
createdBy: z.ZodString;
|
|
@@ -161,6 +183,8 @@ export declare const eventMetadataLabelMap: Record<Exclude<`event.${EventMetadat
|
|
|
161
183
|
export declare const EventMetadataDateFieldIdInput: z.ZodEnum<{
|
|
162
184
|
updatedAt: "updatedAt";
|
|
163
185
|
createdAt: "createdAt";
|
|
186
|
+
"legalStatuses.NOTIFIED.createdAt": "legalStatuses.NOTIFIED.createdAt";
|
|
187
|
+
"legalStatuses.NOTIFIED.acceptedAt": "legalStatuses.NOTIFIED.acceptedAt";
|
|
164
188
|
"legalStatuses.DECLARED.createdAt": "legalStatuses.DECLARED.createdAt";
|
|
165
189
|
"legalStatuses.DECLARED.acceptedAt": "legalStatuses.DECLARED.acceptedAt";
|
|
166
190
|
"legalStatuses.REGISTERED.createdAt": "legalStatuses.REGISTERED.createdAt";
|
|
@@ -170,6 +194,8 @@ export type EventMetadataDateFieldIdInput = z.infer<typeof EventMetadataDateFiel
|
|
|
170
194
|
export declare const EventMetadataDateFieldId: z.ZodEnum<{
|
|
171
195
|
"event.updatedAt": "event.updatedAt";
|
|
172
196
|
"event.createdAt": "event.createdAt";
|
|
197
|
+
"event.legalStatuses.NOTIFIED.createdAt": "event.legalStatuses.NOTIFIED.createdAt";
|
|
198
|
+
"event.legalStatuses.NOTIFIED.acceptedAt": "event.legalStatuses.NOTIFIED.acceptedAt";
|
|
173
199
|
"event.legalStatuses.DECLARED.createdAt": "event.legalStatuses.DECLARED.createdAt";
|
|
174
200
|
"event.legalStatuses.DECLARED.acceptedAt": "event.legalStatuses.DECLARED.acceptedAt";
|
|
175
201
|
"event.legalStatuses.REGISTERED.createdAt": "event.legalStatuses.REGISTERED.createdAt";
|