@opencrvs/toolkit 1.8.0-rc.fd8a78f → 1.8.0-rc.fde35f6

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 (35) hide show
  1. package/dist/commons/api/router.d.ts +3117 -11206
  2. package/dist/commons/conditionals/conditionals.d.ts +0 -12
  3. package/dist/commons/events/ActionConfig.d.ts +12032 -3972
  4. package/dist/commons/events/ActionDocument.d.ts +3029 -1886
  5. package/dist/commons/events/ActionInput.d.ts +2406 -1506
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +304 -51
  7. package/dist/commons/events/CompositeFieldValue.d.ts +15 -15
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +1891 -741
  9. package/dist/commons/events/CreatedAtLocation.d.ts +1 -2
  10. package/dist/commons/events/Draft.d.ts +213 -136
  11. package/dist/commons/events/EventConfig.d.ts +4770 -755
  12. package/dist/commons/events/EventDocument.d.ts +1942 -1219
  13. package/dist/commons/events/EventIndex.d.ts +897 -263
  14. package/dist/commons/events/EventMetadata.d.ts +73 -31
  15. package/dist/commons/events/FieldConfig.d.ts +607 -30
  16. package/dist/commons/events/FieldType.d.ts +2 -1
  17. package/dist/commons/events/FieldTypeMapping.d.ts +73 -41
  18. package/dist/commons/events/FieldValue.d.ts +57 -28
  19. package/dist/commons/events/FormConfig.d.ts +4685 -1295
  20. package/dist/commons/events/PageConfig.d.ts +868 -38
  21. package/dist/commons/events/User.d.ts +6 -3
  22. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  23. package/dist/commons/events/WorkqueueConfig.d.ts +4490 -1177
  24. package/dist/commons/events/defineConfig.d.ts +759 -34
  25. package/dist/commons/events/event.d.ts +15 -10
  26. package/dist/commons/events/field.d.ts +17 -0
  27. package/dist/commons/events/scopes.d.ts +1 -2
  28. package/dist/commons/events/test.utils.d.ts +83 -36
  29. package/dist/commons/events/transactions.d.ts +1 -1
  30. package/dist/commons/events/utils.d.ts +2926 -88
  31. package/dist/conditionals/index.js +22 -51
  32. package/dist/events/index.js +1550 -1048
  33. package/dist/scopes/index.d.ts +96 -7
  34. package/dist/scopes/index.js +105 -26
  35. package/package.json +3 -3
@@ -20,10 +20,12 @@ export declare const SerializedQueryExpression: z.ZodObject<{
20
20
  type: "exact";
21
21
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
22
22
  }>]>>>;
23
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
23
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
24
24
  type: z.ZodLiteral<"exact">;
25
25
  term: z.ZodString;
26
- }, "strip", z.ZodTypeAny, {
26
+ }, {
27
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
28
+ }>, "strip", z.ZodTypeAny, {
27
29
  type: "exact";
28
30
  term: string;
29
31
  }, {
@@ -31,8 +33,8 @@ export declare const SerializedQueryExpression: z.ZodObject<{
31
33
  term: string;
32
34
  }>, z.ZodObject<{
33
35
  type: z.ZodLiteral<"range">;
34
- gte: z.ZodString;
35
- lte: z.ZodString;
36
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
37
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
36
38
  }, "strip", z.ZodTypeAny, {
37
39
  type: "range";
38
40
  gte: string;
@@ -41,11 +43,55 @@ export declare const SerializedQueryExpression: z.ZodObject<{
41
43
  type: "range";
42
44
  gte: string;
43
45
  lte: string;
46
+ }>, z.ZodObject<{
47
+ type: z.ZodLiteral<"timePeriod">;
48
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ type: "timePeriod";
51
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
52
+ }, {
53
+ type: "timePeriod";
54
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
44
55
  }>]>>>;
45
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
56
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
46
57
  type: z.ZodLiteral<"exact">;
47
58
  term: z.ZodString;
59
+ }, {
60
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
61
+ }>, "strip", z.ZodTypeAny, {
62
+ type: "exact";
63
+ term: string;
64
+ }, {
65
+ type: "exact";
66
+ term: string;
67
+ }>, z.ZodObject<{
68
+ type: z.ZodLiteral<"range">;
69
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
70
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ type: "range";
73
+ gte: string;
74
+ lte: string;
75
+ }, {
76
+ type: "range";
77
+ gte: string;
78
+ lte: string;
79
+ }>, z.ZodObject<{
80
+ type: z.ZodLiteral<"timePeriod">;
81
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
48
82
  }, "strip", z.ZodTypeAny, {
83
+ type: "timePeriod";
84
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
85
+ }, {
86
+ type: "timePeriod";
87
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
88
+ }>]>>>;
89
+ 'legalStatuses.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
90
+ type: z.ZodLiteral<"exact">;
91
+ term: z.ZodString;
92
+ }, {
93
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
94
+ }>, "strip", z.ZodTypeAny, {
49
95
  type: "exact";
50
96
  term: string;
51
97
  }, {
@@ -53,8 +99,8 @@ export declare const SerializedQueryExpression: z.ZodObject<{
53
99
  term: string;
54
100
  }>, z.ZodObject<{
55
101
  type: z.ZodLiteral<"range">;
56
- gte: z.ZodString;
57
- lte: z.ZodString;
102
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
103
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
58
104
  }, "strip", z.ZodTypeAny, {
59
105
  type: "range";
60
106
  gte: string;
@@ -63,143 +109,191 @@ export declare const SerializedQueryExpression: z.ZodObject<{
63
109
  type: "range";
64
110
  gte: string;
65
111
  lte: string;
112
+ }>, z.ZodObject<{
113
+ type: z.ZodLiteral<"timePeriod">;
114
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
115
+ }, "strip", z.ZodTypeAny, {
116
+ type: "timePeriod";
117
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
118
+ }, {
119
+ type: "timePeriod";
120
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
121
+ }>]>>>;
122
+ 'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
123
+ type: z.ZodLiteral<"within">;
124
+ location: z.ZodString;
125
+ }, "strip", z.ZodTypeAny, {
126
+ type: "within";
127
+ location: string;
128
+ }, {
129
+ type: "within";
130
+ location: string;
131
+ }>, z.ZodObject<{
132
+ type: z.ZodLiteral<"exact">;
133
+ term: z.ZodString;
134
+ }, "strip", z.ZodTypeAny, {
135
+ type: "exact";
136
+ term: string;
137
+ }, {
138
+ type: "exact";
139
+ term: string;
66
140
  }>]>>>;
141
+ 'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
142
+ type: z.ZodLiteral<"exact">;
143
+ term: z.ZodString;
144
+ }, "strip", z.ZodTypeAny, {
145
+ type: "exact";
146
+ term: string;
147
+ }, {
148
+ type: "exact";
149
+ term: string;
150
+ }>>>;
67
151
  createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
68
152
  type: z.ZodLiteral<"within">;
69
153
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
70
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
154
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
71
155
  }, "strip", z.ZodTypeAny, {
72
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
156
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
73
157
  }, {
74
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
158
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
75
159
  }>]>;
76
160
  }, "strip", z.ZodTypeAny, {
77
161
  type: "within";
78
162
  location: string | {
79
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
163
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
80
164
  };
81
165
  }, {
82
166
  type: "within";
83
167
  location: string | {
84
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
168
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
85
169
  };
86
170
  }>, z.ZodObject<{
87
171
  type: z.ZodLiteral<"exact">;
88
172
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
89
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
173
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
90
174
  }, "strip", z.ZodTypeAny, {
91
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
175
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
92
176
  }, {
93
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
177
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
94
178
  }>]>;
95
179
  }, "strip", z.ZodTypeAny, {
96
180
  type: "exact";
97
181
  term: string | {
98
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
182
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
99
183
  };
100
184
  }, {
101
185
  type: "exact";
102
186
  term: string | {
103
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
187
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
104
188
  };
105
189
  }>]>>>;
106
190
  updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
107
191
  type: z.ZodLiteral<"within">;
108
192
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
109
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
193
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
110
194
  }, "strip", z.ZodTypeAny, {
111
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
195
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
112
196
  }, {
113
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
197
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
114
198
  }>]>;
115
199
  }, "strip", z.ZodTypeAny, {
116
200
  type: "within";
117
201
  location: string | {
118
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
202
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
119
203
  };
120
204
  }, {
121
205
  type: "within";
122
206
  location: string | {
123
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
207
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
124
208
  };
125
209
  }>, z.ZodObject<{
126
210
  type: z.ZodLiteral<"exact">;
127
211
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
128
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
212
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
129
213
  }, "strip", z.ZodTypeAny, {
130
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
214
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
131
215
  }, {
132
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
216
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
133
217
  }>]>;
134
218
  }, "strip", z.ZodTypeAny, {
135
219
  type: "exact";
136
220
  term: string | {
137
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
221
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
138
222
  };
139
223
  }, {
140
224
  type: "exact";
141
225
  term: string | {
142
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
226
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
143
227
  };
144
228
  }>]>>>;
145
229
  assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
146
230
  type: z.ZodLiteral<"exact">;
147
231
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
148
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
232
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
149
233
  }, "strip", z.ZodTypeAny, {
150
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
234
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
151
235
  }, {
152
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
236
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
153
237
  }>]>;
154
238
  }, "strip", z.ZodTypeAny, {
155
239
  type: "exact";
156
240
  term: string | {
157
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
241
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
158
242
  };
159
243
  }, {
160
244
  type: "exact";
161
245
  term: string | {
162
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
246
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
163
247
  };
164
248
  }>>>;
165
249
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
166
250
  type: z.ZodLiteral<"exact">;
167
251
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
168
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
252
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
169
253
  }, "strip", z.ZodTypeAny, {
170
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
254
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
171
255
  }, {
172
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
256
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
173
257
  }>]>;
174
258
  }, "strip", z.ZodTypeAny, {
175
259
  type: "exact";
176
260
  term: string | {
177
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
261
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
178
262
  };
179
263
  }, {
180
264
  type: "exact";
181
265
  term: string | {
182
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
266
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
183
267
  };
184
268
  }>>>;
269
+ createdByUserType: z.ZodOptional<z.ZodObject<{
270
+ type: z.ZodLiteral<"exact">;
271
+ term: z.ZodEnum<["user", "system"]>;
272
+ }, "strip", z.ZodTypeAny, {
273
+ type: "exact";
274
+ term: "system" | "user";
275
+ }, {
276
+ type: "exact";
277
+ term: "system" | "user";
278
+ }>>;
185
279
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
186
280
  type: z.ZodLiteral<"exact">;
187
281
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
188
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
282
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
189
283
  }, "strip", z.ZodTypeAny, {
190
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
284
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
191
285
  }, {
192
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
286
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
193
287
  }>]>;
194
288
  }, "strip", z.ZodTypeAny, {
195
289
  type: "exact";
196
290
  term: string | {
197
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
291
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
198
292
  };
199
293
  }, {
200
294
  type: "exact";
201
295
  term: string | {
202
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
296
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
203
297
  };
204
298
  }>>>;
205
299
  trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -212,25 +306,26 @@ export declare const SerializedQueryExpression: z.ZodObject<{
212
306
  type: "exact";
213
307
  term: string;
214
308
  }>>>;
215
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
216
- type: z.ZodLiteral<"anyOf">;
217
- terms: z.ZodArray<z.ZodString, "many">;
218
- }, "strip", z.ZodTypeAny, {
219
- type: "anyOf";
220
- terms: string[];
221
- }, {
222
- type: "anyOf";
223
- terms: string[];
224
- }>, z.ZodObject<{
225
- type: z.ZodLiteral<"not">;
226
- term: z.ZodString;
309
+ flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
310
+ anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
311
+ readonly PRINTED: "printed";
312
+ readonly INCOMPLETE: "incomplete";
313
+ readonly REJECTED: "rejected";
314
+ readonly CORRECTION_REQUESTED: "correction-requested";
315
+ }>]>, "many">>;
316
+ noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
317
+ readonly PRINTED: "printed";
318
+ readonly INCOMPLETE: "incomplete";
319
+ readonly REJECTED: "rejected";
320
+ readonly CORRECTION_REQUESTED: "correction-requested";
321
+ }>]>, "many">>;
227
322
  }, "strip", z.ZodTypeAny, {
228
- type: "not";
229
- term: string;
323
+ anyOf?: string[] | undefined;
324
+ noneOf?: string[] | undefined;
230
325
  }, {
231
- type: "not";
232
- term: string;
233
- }>]>, "many">>>;
326
+ anyOf?: string[] | undefined;
327
+ noneOf?: string[] | undefined;
328
+ }>>>;
234
329
  data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
235
330
  }, "strip", z.ZodTypeAny, {
236
331
  status?: {
@@ -241,44 +336,54 @@ export declare const SerializedQueryExpression: z.ZodObject<{
241
336
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
242
337
  } | undefined;
243
338
  data?: any;
244
- createdAt?: {
339
+ createdByUserType?: {
245
340
  type: "exact";
246
- term: string;
247
- } | {
341
+ term: "system" | "user";
342
+ } | undefined;
343
+ createdAt?: {
248
344
  type: "range";
249
345
  gte: string;
250
346
  lte: string;
347
+ } | {
348
+ type: "exact";
349
+ term: string;
350
+ } | {
351
+ type: "timePeriod";
352
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
251
353
  } | undefined;
252
354
  createdBy?: {
253
355
  type: "exact";
254
356
  term: string | {
255
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
357
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
256
358
  };
257
359
  } | undefined;
258
360
  createdAtLocation?: {
259
361
  type: "exact";
260
362
  term: string | {
261
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
363
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
262
364
  };
263
365
  } | {
264
366
  type: "within";
265
367
  location: string | {
266
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
368
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
267
369
  };
268
370
  } | undefined;
269
371
  assignedTo?: {
270
372
  type: "exact";
271
373
  term: string | {
272
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
374
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
273
375
  };
274
376
  } | undefined;
275
377
  updatedAt?: {
276
- type: "exact";
277
- term: string;
278
- } | {
279
378
  type: "range";
280
379
  gte: string;
281
380
  lte: string;
381
+ } | {
382
+ type: "exact";
383
+ term: string;
384
+ } | {
385
+ type: "timePeriod";
386
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
282
387
  } | undefined;
283
388
  trackingId?: {
284
389
  type: "exact";
@@ -287,28 +392,47 @@ export declare const SerializedQueryExpression: z.ZodObject<{
287
392
  updatedAtLocation?: {
288
393
  type: "exact";
289
394
  term: string | {
290
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
395
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
291
396
  };
292
397
  } | {
293
398
  type: "within";
294
399
  location: string | {
295
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
400
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
296
401
  };
297
402
  } | undefined;
298
403
  updatedBy?: {
299
404
  type: "exact";
300
405
  term: string | {
301
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
406
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
302
407
  };
303
408
  } | undefined;
304
- flags?: ({
305
- type: "anyOf";
306
- terms: string[];
409
+ flags?: {
410
+ anyOf?: string[] | undefined;
411
+ noneOf?: string[] | undefined;
412
+ } | undefined;
413
+ eventType?: string | undefined;
414
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
415
+ type: "exact";
416
+ term: string;
307
417
  } | {
308
- type: "not";
418
+ type: "within";
419
+ location: string;
420
+ } | undefined;
421
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
422
+ type: "exact";
309
423
  term: string;
310
- })[] | undefined;
311
- eventType?: string | undefined;
424
+ } | undefined;
425
+ 'legalStatuses.REGISTERED.createdAt'?: {
426
+ type: "range";
427
+ gte: string;
428
+ lte: string;
429
+ } | {
430
+ type: "exact";
431
+ term: string;
432
+ } | {
433
+ type: "timePeriod";
434
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
435
+ } | undefined;
312
436
  }, {
313
437
  status?: {
314
438
  type: "exact";
@@ -318,44 +442,54 @@ export declare const SerializedQueryExpression: z.ZodObject<{
318
442
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
319
443
  } | undefined;
320
444
  data?: any;
321
- createdAt?: {
445
+ createdByUserType?: {
322
446
  type: "exact";
323
- term: string;
324
- } | {
447
+ term: "system" | "user";
448
+ } | undefined;
449
+ createdAt?: {
325
450
  type: "range";
326
451
  gte: string;
327
452
  lte: string;
453
+ } | {
454
+ type: "exact";
455
+ term: string;
456
+ } | {
457
+ type: "timePeriod";
458
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
328
459
  } | undefined;
329
460
  createdBy?: {
330
461
  type: "exact";
331
462
  term: string | {
332
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
463
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
333
464
  };
334
465
  } | undefined;
335
466
  createdAtLocation?: {
336
467
  type: "exact";
337
468
  term: string | {
338
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
469
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
339
470
  };
340
471
  } | {
341
472
  type: "within";
342
473
  location: string | {
343
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
474
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
344
475
  };
345
476
  } | undefined;
346
477
  assignedTo?: {
347
478
  type: "exact";
348
479
  term: string | {
349
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
480
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
350
481
  };
351
482
  } | undefined;
352
483
  updatedAt?: {
353
- type: "exact";
354
- term: string;
355
- } | {
356
484
  type: "range";
357
485
  gte: string;
358
486
  lte: string;
487
+ } | {
488
+ type: "exact";
489
+ term: string;
490
+ } | {
491
+ type: "timePeriod";
492
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
359
493
  } | undefined;
360
494
  trackingId?: {
361
495
  type: "exact";
@@ -364,28 +498,47 @@ export declare const SerializedQueryExpression: z.ZodObject<{
364
498
  updatedAtLocation?: {
365
499
  type: "exact";
366
500
  term: string | {
367
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
501
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
368
502
  };
369
503
  } | {
370
504
  type: "within";
371
505
  location: string | {
372
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
506
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
373
507
  };
374
508
  } | undefined;
375
509
  updatedBy?: {
376
510
  type: "exact";
377
511
  term: string | {
378
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
512
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
379
513
  };
380
514
  } | undefined;
381
- flags?: ({
382
- type: "anyOf";
383
- terms: string[];
515
+ flags?: {
516
+ anyOf?: string[] | undefined;
517
+ noneOf?: string[] | undefined;
518
+ } | undefined;
519
+ eventType?: string | undefined;
520
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
521
+ type: "exact";
522
+ term: string;
384
523
  } | {
385
- type: "not";
524
+ type: "within";
525
+ location: string;
526
+ } | undefined;
527
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
528
+ type: "exact";
386
529
  term: string;
387
- })[] | undefined;
388
- eventType?: string | undefined;
530
+ } | undefined;
531
+ 'legalStatuses.REGISTERED.createdAt'?: {
532
+ type: "range";
533
+ gte: string;
534
+ lte: string;
535
+ } | {
536
+ type: "exact";
537
+ term: string;
538
+ } | {
539
+ type: "timePeriod";
540
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
541
+ } | undefined;
389
542
  }>;
390
543
  export type SerializedQueryExpression = z.infer<typeof SerializedQueryExpression>;
391
544
  export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -411,10 +564,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
411
564
  type: "exact";
412
565
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
413
566
  }>]>>>;
414
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
567
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
415
568
  type: z.ZodLiteral<"exact">;
416
569
  term: z.ZodString;
417
- }, "strip", z.ZodTypeAny, {
570
+ }, {
571
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
572
+ }>, "strip", z.ZodTypeAny, {
418
573
  type: "exact";
419
574
  term: string;
420
575
  }, {
@@ -422,8 +577,8 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
422
577
  term: string;
423
578
  }>, z.ZodObject<{
424
579
  type: z.ZodLiteral<"range">;
425
- gte: z.ZodString;
426
- lte: z.ZodString;
580
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
581
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
427
582
  }, "strip", z.ZodTypeAny, {
428
583
  type: "range";
429
584
  gte: string;
@@ -432,11 +587,55 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
432
587
  type: "range";
433
588
  gte: string;
434
589
  lte: string;
590
+ }>, z.ZodObject<{
591
+ type: z.ZodLiteral<"timePeriod">;
592
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
593
+ }, "strip", z.ZodTypeAny, {
594
+ type: "timePeriod";
595
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
596
+ }, {
597
+ type: "timePeriod";
598
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
435
599
  }>]>>>;
436
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
600
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
437
601
  type: z.ZodLiteral<"exact">;
438
602
  term: z.ZodString;
603
+ }, {
604
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
605
+ }>, "strip", z.ZodTypeAny, {
606
+ type: "exact";
607
+ term: string;
608
+ }, {
609
+ type: "exact";
610
+ term: string;
611
+ }>, z.ZodObject<{
612
+ type: z.ZodLiteral<"range">;
613
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
614
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
615
+ }, "strip", z.ZodTypeAny, {
616
+ type: "range";
617
+ gte: string;
618
+ lte: string;
619
+ }, {
620
+ type: "range";
621
+ gte: string;
622
+ lte: string;
623
+ }>, z.ZodObject<{
624
+ type: z.ZodLiteral<"timePeriod">;
625
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
439
626
  }, "strip", z.ZodTypeAny, {
627
+ type: "timePeriod";
628
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
629
+ }, {
630
+ type: "timePeriod";
631
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
632
+ }>]>>>;
633
+ 'legalStatuses.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
634
+ type: z.ZodLiteral<"exact">;
635
+ term: z.ZodString;
636
+ }, {
637
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
638
+ }>, "strip", z.ZodTypeAny, {
440
639
  type: "exact";
441
640
  term: string;
442
641
  }, {
@@ -444,8 +643,8 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
444
643
  term: string;
445
644
  }>, z.ZodObject<{
446
645
  type: z.ZodLiteral<"range">;
447
- gte: z.ZodString;
448
- lte: z.ZodString;
646
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
647
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
449
648
  }, "strip", z.ZodTypeAny, {
450
649
  type: "range";
451
650
  gte: string;
@@ -454,143 +653,191 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
454
653
  type: "range";
455
654
  gte: string;
456
655
  lte: string;
656
+ }>, z.ZodObject<{
657
+ type: z.ZodLiteral<"timePeriod">;
658
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
659
+ }, "strip", z.ZodTypeAny, {
660
+ type: "timePeriod";
661
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
662
+ }, {
663
+ type: "timePeriod";
664
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
665
+ }>]>>>;
666
+ 'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
667
+ type: z.ZodLiteral<"within">;
668
+ location: z.ZodString;
669
+ }, "strip", z.ZodTypeAny, {
670
+ type: "within";
671
+ location: string;
672
+ }, {
673
+ type: "within";
674
+ location: string;
675
+ }>, z.ZodObject<{
676
+ type: z.ZodLiteral<"exact">;
677
+ term: z.ZodString;
678
+ }, "strip", z.ZodTypeAny, {
679
+ type: "exact";
680
+ term: string;
681
+ }, {
682
+ type: "exact";
683
+ term: string;
457
684
  }>]>>>;
685
+ 'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
686
+ type: z.ZodLiteral<"exact">;
687
+ term: z.ZodString;
688
+ }, "strip", z.ZodTypeAny, {
689
+ type: "exact";
690
+ term: string;
691
+ }, {
692
+ type: "exact";
693
+ term: string;
694
+ }>>>;
458
695
  createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
459
696
  type: z.ZodLiteral<"within">;
460
697
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
461
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
698
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
462
699
  }, "strip", z.ZodTypeAny, {
463
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
700
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
464
701
  }, {
465
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
702
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
466
703
  }>]>;
467
704
  }, "strip", z.ZodTypeAny, {
468
705
  type: "within";
469
706
  location: string | {
470
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
707
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
471
708
  };
472
709
  }, {
473
710
  type: "within";
474
711
  location: string | {
475
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
712
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
476
713
  };
477
714
  }>, z.ZodObject<{
478
715
  type: z.ZodLiteral<"exact">;
479
716
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
480
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
717
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
481
718
  }, "strip", z.ZodTypeAny, {
482
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
719
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
483
720
  }, {
484
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
721
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
485
722
  }>]>;
486
723
  }, "strip", z.ZodTypeAny, {
487
724
  type: "exact";
488
725
  term: string | {
489
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
726
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
490
727
  };
491
728
  }, {
492
729
  type: "exact";
493
730
  term: string | {
494
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
731
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
495
732
  };
496
733
  }>]>>>;
497
734
  updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
498
735
  type: z.ZodLiteral<"within">;
499
736
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
500
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
737
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
501
738
  }, "strip", z.ZodTypeAny, {
502
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
739
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
503
740
  }, {
504
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
741
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
505
742
  }>]>;
506
743
  }, "strip", z.ZodTypeAny, {
507
744
  type: "within";
508
745
  location: string | {
509
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
746
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
510
747
  };
511
748
  }, {
512
749
  type: "within";
513
750
  location: string | {
514
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
751
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
515
752
  };
516
753
  }>, z.ZodObject<{
517
754
  type: z.ZodLiteral<"exact">;
518
755
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
519
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
756
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
520
757
  }, "strip", z.ZodTypeAny, {
521
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
758
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
522
759
  }, {
523
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
760
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
524
761
  }>]>;
525
762
  }, "strip", z.ZodTypeAny, {
526
763
  type: "exact";
527
764
  term: string | {
528
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
765
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
529
766
  };
530
767
  }, {
531
768
  type: "exact";
532
769
  term: string | {
533
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
770
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
534
771
  };
535
772
  }>]>>>;
536
773
  assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
537
774
  type: z.ZodLiteral<"exact">;
538
775
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
539
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
776
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
540
777
  }, "strip", z.ZodTypeAny, {
541
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
778
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
542
779
  }, {
543
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
780
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
544
781
  }>]>;
545
782
  }, "strip", z.ZodTypeAny, {
546
783
  type: "exact";
547
784
  term: string | {
548
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
785
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
549
786
  };
550
787
  }, {
551
788
  type: "exact";
552
789
  term: string | {
553
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
790
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
554
791
  };
555
792
  }>>>;
556
793
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
557
794
  type: z.ZodLiteral<"exact">;
558
795
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
559
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
796
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
560
797
  }, "strip", z.ZodTypeAny, {
561
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
798
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
562
799
  }, {
563
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
800
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
564
801
  }>]>;
565
802
  }, "strip", z.ZodTypeAny, {
566
803
  type: "exact";
567
804
  term: string | {
568
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
805
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
569
806
  };
570
807
  }, {
571
808
  type: "exact";
572
809
  term: string | {
573
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
810
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
574
811
  };
575
812
  }>>>;
813
+ createdByUserType: z.ZodOptional<z.ZodObject<{
814
+ type: z.ZodLiteral<"exact">;
815
+ term: z.ZodEnum<["user", "system"]>;
816
+ }, "strip", z.ZodTypeAny, {
817
+ type: "exact";
818
+ term: "system" | "user";
819
+ }, {
820
+ type: "exact";
821
+ term: "system" | "user";
822
+ }>>;
576
823
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
577
824
  type: z.ZodLiteral<"exact">;
578
825
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
579
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
826
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
580
827
  }, "strip", z.ZodTypeAny, {
581
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
828
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
582
829
  }, {
583
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
830
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
584
831
  }>]>;
585
832
  }, "strip", z.ZodTypeAny, {
586
833
  type: "exact";
587
834
  term: string | {
588
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
835
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
589
836
  };
590
837
  }, {
591
838
  type: "exact";
592
839
  term: string | {
593
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
840
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
594
841
  };
595
842
  }>>>;
596
843
  trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -603,25 +850,26 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
603
850
  type: "exact";
604
851
  term: string;
605
852
  }>>>;
606
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
607
- type: z.ZodLiteral<"anyOf">;
608
- terms: z.ZodArray<z.ZodString, "many">;
609
- }, "strip", z.ZodTypeAny, {
610
- type: "anyOf";
611
- terms: string[];
612
- }, {
613
- type: "anyOf";
614
- terms: string[];
615
- }>, z.ZodObject<{
616
- type: z.ZodLiteral<"not">;
617
- term: z.ZodString;
853
+ flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
854
+ anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
855
+ readonly PRINTED: "printed";
856
+ readonly INCOMPLETE: "incomplete";
857
+ readonly REJECTED: "rejected";
858
+ readonly CORRECTION_REQUESTED: "correction-requested";
859
+ }>]>, "many">>;
860
+ noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
861
+ readonly PRINTED: "printed";
862
+ readonly INCOMPLETE: "incomplete";
863
+ readonly REJECTED: "rejected";
864
+ readonly CORRECTION_REQUESTED: "correction-requested";
865
+ }>]>, "many">>;
618
866
  }, "strip", z.ZodTypeAny, {
619
- type: "not";
620
- term: string;
867
+ anyOf?: string[] | undefined;
868
+ noneOf?: string[] | undefined;
621
869
  }, {
622
- type: "not";
623
- term: string;
624
- }>]>, "many">>>;
870
+ anyOf?: string[] | undefined;
871
+ noneOf?: string[] | undefined;
872
+ }>>>;
625
873
  data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
626
874
  }, "strip", z.ZodTypeAny, {
627
875
  status?: {
@@ -632,44 +880,54 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
632
880
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
633
881
  } | undefined;
634
882
  data?: any;
635
- createdAt?: {
883
+ createdByUserType?: {
636
884
  type: "exact";
637
- term: string;
638
- } | {
885
+ term: "system" | "user";
886
+ } | undefined;
887
+ createdAt?: {
639
888
  type: "range";
640
889
  gte: string;
641
890
  lte: string;
891
+ } | {
892
+ type: "exact";
893
+ term: string;
894
+ } | {
895
+ type: "timePeriod";
896
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
642
897
  } | undefined;
643
898
  createdBy?: {
644
899
  type: "exact";
645
900
  term: string | {
646
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
901
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
647
902
  };
648
903
  } | undefined;
649
904
  createdAtLocation?: {
650
905
  type: "exact";
651
906
  term: string | {
652
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
907
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
653
908
  };
654
909
  } | {
655
910
  type: "within";
656
911
  location: string | {
657
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
912
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
658
913
  };
659
914
  } | undefined;
660
915
  assignedTo?: {
661
916
  type: "exact";
662
917
  term: string | {
663
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
918
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
664
919
  };
665
920
  } | undefined;
666
921
  updatedAt?: {
667
- type: "exact";
668
- term: string;
669
- } | {
670
922
  type: "range";
671
923
  gte: string;
672
924
  lte: string;
925
+ } | {
926
+ type: "exact";
927
+ term: string;
928
+ } | {
929
+ type: "timePeriod";
930
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
673
931
  } | undefined;
674
932
  trackingId?: {
675
933
  type: "exact";
@@ -678,28 +936,47 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
678
936
  updatedAtLocation?: {
679
937
  type: "exact";
680
938
  term: string | {
681
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
939
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
682
940
  };
683
941
  } | {
684
942
  type: "within";
685
943
  location: string | {
686
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
944
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
687
945
  };
688
946
  } | undefined;
689
947
  updatedBy?: {
690
948
  type: "exact";
691
949
  term: string | {
692
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
950
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
693
951
  };
694
952
  } | undefined;
695
- flags?: ({
696
- type: "anyOf";
697
- terms: string[];
953
+ flags?: {
954
+ anyOf?: string[] | undefined;
955
+ noneOf?: string[] | undefined;
956
+ } | undefined;
957
+ eventType?: string | undefined;
958
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
959
+ type: "exact";
960
+ term: string;
698
961
  } | {
699
- type: "not";
962
+ type: "within";
963
+ location: string;
964
+ } | undefined;
965
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
966
+ type: "exact";
700
967
  term: string;
701
- })[] | undefined;
702
- eventType?: string | undefined;
968
+ } | undefined;
969
+ 'legalStatuses.REGISTERED.createdAt'?: {
970
+ type: "range";
971
+ gte: string;
972
+ lte: string;
973
+ } | {
974
+ type: "exact";
975
+ term: string;
976
+ } | {
977
+ type: "timePeriod";
978
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
979
+ } | undefined;
703
980
  }, {
704
981
  status?: {
705
982
  type: "exact";
@@ -709,44 +986,54 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
709
986
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
710
987
  } | undefined;
711
988
  data?: any;
712
- createdAt?: {
989
+ createdByUserType?: {
713
990
  type: "exact";
714
- term: string;
715
- } | {
991
+ term: "system" | "user";
992
+ } | undefined;
993
+ createdAt?: {
716
994
  type: "range";
717
995
  gte: string;
718
996
  lte: string;
997
+ } | {
998
+ type: "exact";
999
+ term: string;
1000
+ } | {
1001
+ type: "timePeriod";
1002
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
719
1003
  } | undefined;
720
1004
  createdBy?: {
721
1005
  type: "exact";
722
1006
  term: string | {
723
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1007
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
724
1008
  };
725
1009
  } | undefined;
726
1010
  createdAtLocation?: {
727
1011
  type: "exact";
728
1012
  term: string | {
729
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1013
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
730
1014
  };
731
1015
  } | {
732
1016
  type: "within";
733
1017
  location: string | {
734
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1018
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
735
1019
  };
736
1020
  } | undefined;
737
1021
  assignedTo?: {
738
1022
  type: "exact";
739
1023
  term: string | {
740
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1024
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
741
1025
  };
742
1026
  } | undefined;
743
1027
  updatedAt?: {
744
- type: "exact";
745
- term: string;
746
- } | {
747
1028
  type: "range";
748
1029
  gte: string;
749
1030
  lte: string;
1031
+ } | {
1032
+ type: "exact";
1033
+ term: string;
1034
+ } | {
1035
+ type: "timePeriod";
1036
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
750
1037
  } | undefined;
751
1038
  trackingId?: {
752
1039
  type: "exact";
@@ -755,28 +1042,47 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
755
1042
  updatedAtLocation?: {
756
1043
  type: "exact";
757
1044
  term: string | {
758
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1045
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
759
1046
  };
760
1047
  } | {
761
1048
  type: "within";
762
1049
  location: string | {
763
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1050
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
764
1051
  };
765
1052
  } | undefined;
766
1053
  updatedBy?: {
767
1054
  type: "exact";
768
1055
  term: string | {
769
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1056
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
770
1057
  };
771
1058
  } | undefined;
772
- flags?: ({
773
- type: "anyOf";
774
- terms: string[];
1059
+ flags?: {
1060
+ anyOf?: string[] | undefined;
1061
+ noneOf?: string[] | undefined;
1062
+ } | undefined;
1063
+ eventType?: string | undefined;
1064
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
1065
+ type: "exact";
1066
+ term: string;
775
1067
  } | {
776
- type: "not";
1068
+ type: "within";
1069
+ location: string;
1070
+ } | undefined;
1071
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
1072
+ type: "exact";
777
1073
  term: string;
778
- })[] | undefined;
779
- eventType?: string | undefined;
1074
+ } | undefined;
1075
+ 'legalStatuses.REGISTERED.createdAt'?: {
1076
+ type: "range";
1077
+ gte: string;
1078
+ lte: string;
1079
+ } | {
1080
+ type: "exact";
1081
+ term: string;
1082
+ } | {
1083
+ type: "timePeriod";
1084
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1085
+ } | undefined;
780
1086
  }>, "many">;
781
1087
  }, "strip", z.ZodTypeAny, {
782
1088
  type: "and";
@@ -789,44 +1095,54 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
789
1095
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
790
1096
  } | undefined;
791
1097
  data?: any;
792
- createdAt?: {
1098
+ createdByUserType?: {
793
1099
  type: "exact";
794
- term: string;
795
- } | {
1100
+ term: "system" | "user";
1101
+ } | undefined;
1102
+ createdAt?: {
796
1103
  type: "range";
797
1104
  gte: string;
798
1105
  lte: string;
1106
+ } | {
1107
+ type: "exact";
1108
+ term: string;
1109
+ } | {
1110
+ type: "timePeriod";
1111
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
799
1112
  } | undefined;
800
1113
  createdBy?: {
801
1114
  type: "exact";
802
1115
  term: string | {
803
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1116
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
804
1117
  };
805
1118
  } | undefined;
806
1119
  createdAtLocation?: {
807
1120
  type: "exact";
808
1121
  term: string | {
809
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1122
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
810
1123
  };
811
1124
  } | {
812
1125
  type: "within";
813
1126
  location: string | {
814
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1127
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
815
1128
  };
816
1129
  } | undefined;
817
1130
  assignedTo?: {
818
1131
  type: "exact";
819
1132
  term: string | {
820
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1133
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
821
1134
  };
822
1135
  } | undefined;
823
1136
  updatedAt?: {
824
- type: "exact";
825
- term: string;
826
- } | {
827
1137
  type: "range";
828
1138
  gte: string;
829
1139
  lte: string;
1140
+ } | {
1141
+ type: "exact";
1142
+ term: string;
1143
+ } | {
1144
+ type: "timePeriod";
1145
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
830
1146
  } | undefined;
831
1147
  trackingId?: {
832
1148
  type: "exact";
@@ -835,28 +1151,47 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
835
1151
  updatedAtLocation?: {
836
1152
  type: "exact";
837
1153
  term: string | {
838
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1154
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
839
1155
  };
840
1156
  } | {
841
1157
  type: "within";
842
1158
  location: string | {
843
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1159
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
844
1160
  };
845
1161
  } | undefined;
846
1162
  updatedBy?: {
847
1163
  type: "exact";
848
1164
  term: string | {
849
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1165
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
850
1166
  };
851
1167
  } | undefined;
852
- flags?: ({
853
- type: "anyOf";
854
- terms: string[];
1168
+ flags?: {
1169
+ anyOf?: string[] | undefined;
1170
+ noneOf?: string[] | undefined;
1171
+ } | undefined;
1172
+ eventType?: string | undefined;
1173
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
1174
+ type: "exact";
1175
+ term: string;
855
1176
  } | {
856
- type: "not";
1177
+ type: "within";
1178
+ location: string;
1179
+ } | undefined;
1180
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
1181
+ type: "exact";
857
1182
  term: string;
858
- })[] | undefined;
859
- eventType?: string | undefined;
1183
+ } | undefined;
1184
+ 'legalStatuses.REGISTERED.createdAt'?: {
1185
+ type: "range";
1186
+ gte: string;
1187
+ lte: string;
1188
+ } | {
1189
+ type: "exact";
1190
+ term: string;
1191
+ } | {
1192
+ type: "timePeriod";
1193
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1194
+ } | undefined;
860
1195
  }[];
861
1196
  }, {
862
1197
  type: "and";
@@ -869,44 +1204,54 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
869
1204
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
870
1205
  } | undefined;
871
1206
  data?: any;
872
- createdAt?: {
1207
+ createdByUserType?: {
873
1208
  type: "exact";
874
- term: string;
875
- } | {
1209
+ term: "system" | "user";
1210
+ } | undefined;
1211
+ createdAt?: {
876
1212
  type: "range";
877
1213
  gte: string;
878
1214
  lte: string;
1215
+ } | {
1216
+ type: "exact";
1217
+ term: string;
1218
+ } | {
1219
+ type: "timePeriod";
1220
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
879
1221
  } | undefined;
880
1222
  createdBy?: {
881
1223
  type: "exact";
882
1224
  term: string | {
883
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1225
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
884
1226
  };
885
1227
  } | undefined;
886
1228
  createdAtLocation?: {
887
1229
  type: "exact";
888
1230
  term: string | {
889
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1231
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
890
1232
  };
891
1233
  } | {
892
1234
  type: "within";
893
1235
  location: string | {
894
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1236
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
895
1237
  };
896
1238
  } | undefined;
897
1239
  assignedTo?: {
898
1240
  type: "exact";
899
1241
  term: string | {
900
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1242
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
901
1243
  };
902
1244
  } | undefined;
903
1245
  updatedAt?: {
904
- type: "exact";
905
- term: string;
906
- } | {
907
1246
  type: "range";
908
1247
  gte: string;
909
1248
  lte: string;
1249
+ } | {
1250
+ type: "exact";
1251
+ term: string;
1252
+ } | {
1253
+ type: "timePeriod";
1254
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
910
1255
  } | undefined;
911
1256
  trackingId?: {
912
1257
  type: "exact";
@@ -915,28 +1260,47 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
915
1260
  updatedAtLocation?: {
916
1261
  type: "exact";
917
1262
  term: string | {
918
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1263
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
919
1264
  };
920
1265
  } | {
921
1266
  type: "within";
922
1267
  location: string | {
923
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1268
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
924
1269
  };
925
1270
  } | undefined;
926
1271
  updatedBy?: {
927
1272
  type: "exact";
928
1273
  term: string | {
929
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1274
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
930
1275
  };
931
1276
  } | undefined;
932
- flags?: ({
933
- type: "anyOf";
934
- terms: string[];
1277
+ flags?: {
1278
+ anyOf?: string[] | undefined;
1279
+ noneOf?: string[] | undefined;
1280
+ } | undefined;
1281
+ eventType?: string | undefined;
1282
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
1283
+ type: "exact";
1284
+ term: string;
935
1285
  } | {
936
- type: "not";
1286
+ type: "within";
1287
+ location: string;
1288
+ } | undefined;
1289
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
1290
+ type: "exact";
937
1291
  term: string;
938
- })[] | undefined;
939
- eventType?: string | undefined;
1292
+ } | undefined;
1293
+ 'legalStatuses.REGISTERED.createdAt'?: {
1294
+ type: "range";
1295
+ gte: string;
1296
+ lte: string;
1297
+ } | {
1298
+ type: "exact";
1299
+ term: string;
1300
+ } | {
1301
+ type: "timePeriod";
1302
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1303
+ } | undefined;
940
1304
  }[];
941
1305
  }>, z.ZodObject<{
942
1306
  type: z.ZodLiteral<"or">;
@@ -961,10 +1325,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
961
1325
  type: "exact";
962
1326
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
963
1327
  }>]>>>;
964
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1328
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
965
1329
  type: z.ZodLiteral<"exact">;
966
1330
  term: z.ZodString;
967
- }, "strip", z.ZodTypeAny, {
1331
+ }, {
1332
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1333
+ }>, "strip", z.ZodTypeAny, {
968
1334
  type: "exact";
969
1335
  term: string;
970
1336
  }, {
@@ -972,8 +1338,8 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
972
1338
  term: string;
973
1339
  }>, z.ZodObject<{
974
1340
  type: z.ZodLiteral<"range">;
975
- gte: z.ZodString;
976
- lte: z.ZodString;
1341
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1342
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
977
1343
  }, "strip", z.ZodTypeAny, {
978
1344
  type: "range";
979
1345
  gte: string;
@@ -982,11 +1348,55 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
982
1348
  type: "range";
983
1349
  gte: string;
984
1350
  lte: string;
1351
+ }>, z.ZodObject<{
1352
+ type: z.ZodLiteral<"timePeriod">;
1353
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
1354
+ }, "strip", z.ZodTypeAny, {
1355
+ type: "timePeriod";
1356
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1357
+ }, {
1358
+ type: "timePeriod";
1359
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
985
1360
  }>]>>>;
986
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1361
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
987
1362
  type: z.ZodLiteral<"exact">;
988
1363
  term: z.ZodString;
1364
+ }, {
1365
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1366
+ }>, "strip", z.ZodTypeAny, {
1367
+ type: "exact";
1368
+ term: string;
1369
+ }, {
1370
+ type: "exact";
1371
+ term: string;
1372
+ }>, z.ZodObject<{
1373
+ type: z.ZodLiteral<"range">;
1374
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1375
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
989
1376
  }, "strip", z.ZodTypeAny, {
1377
+ type: "range";
1378
+ gte: string;
1379
+ lte: string;
1380
+ }, {
1381
+ type: "range";
1382
+ gte: string;
1383
+ lte: string;
1384
+ }>, z.ZodObject<{
1385
+ type: z.ZodLiteral<"timePeriod">;
1386
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
1387
+ }, "strip", z.ZodTypeAny, {
1388
+ type: "timePeriod";
1389
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1390
+ }, {
1391
+ type: "timePeriod";
1392
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1393
+ }>]>>>;
1394
+ 'legalStatuses.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1395
+ type: z.ZodLiteral<"exact">;
1396
+ term: z.ZodString;
1397
+ }, {
1398
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1399
+ }>, "strip", z.ZodTypeAny, {
990
1400
  type: "exact";
991
1401
  term: string;
992
1402
  }, {
@@ -994,8 +1404,8 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
994
1404
  term: string;
995
1405
  }>, z.ZodObject<{
996
1406
  type: z.ZodLiteral<"range">;
997
- gte: z.ZodString;
998
- lte: z.ZodString;
1407
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1408
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
999
1409
  }, "strip", z.ZodTypeAny, {
1000
1410
  type: "range";
1001
1411
  gte: string;
@@ -1004,143 +1414,191 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1004
1414
  type: "range";
1005
1415
  gte: string;
1006
1416
  lte: string;
1417
+ }>, z.ZodObject<{
1418
+ type: z.ZodLiteral<"timePeriod">;
1419
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
1420
+ }, "strip", z.ZodTypeAny, {
1421
+ type: "timePeriod";
1422
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1423
+ }, {
1424
+ type: "timePeriod";
1425
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1007
1426
  }>]>>>;
1427
+ 'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1428
+ type: z.ZodLiteral<"within">;
1429
+ location: z.ZodString;
1430
+ }, "strip", z.ZodTypeAny, {
1431
+ type: "within";
1432
+ location: string;
1433
+ }, {
1434
+ type: "within";
1435
+ location: string;
1436
+ }>, z.ZodObject<{
1437
+ type: z.ZodLiteral<"exact">;
1438
+ term: z.ZodString;
1439
+ }, "strip", z.ZodTypeAny, {
1440
+ type: "exact";
1441
+ term: string;
1442
+ }, {
1443
+ type: "exact";
1444
+ term: string;
1445
+ }>]>>>;
1446
+ 'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
1447
+ type: z.ZodLiteral<"exact">;
1448
+ term: z.ZodString;
1449
+ }, "strip", z.ZodTypeAny, {
1450
+ type: "exact";
1451
+ term: string;
1452
+ }, {
1453
+ type: "exact";
1454
+ term: string;
1455
+ }>>>;
1008
1456
  createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1009
1457
  type: z.ZodLiteral<"within">;
1010
1458
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1011
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1459
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1012
1460
  }, "strip", z.ZodTypeAny, {
1013
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1461
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1014
1462
  }, {
1015
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1463
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1016
1464
  }>]>;
1017
1465
  }, "strip", z.ZodTypeAny, {
1018
1466
  type: "within";
1019
1467
  location: string | {
1020
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1468
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1021
1469
  };
1022
1470
  }, {
1023
1471
  type: "within";
1024
1472
  location: string | {
1025
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1473
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1026
1474
  };
1027
1475
  }>, z.ZodObject<{
1028
1476
  type: z.ZodLiteral<"exact">;
1029
1477
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1030
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1478
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1031
1479
  }, "strip", z.ZodTypeAny, {
1032
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1480
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1033
1481
  }, {
1034
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1482
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1035
1483
  }>]>;
1036
1484
  }, "strip", z.ZodTypeAny, {
1037
1485
  type: "exact";
1038
1486
  term: string | {
1039
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1487
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1040
1488
  };
1041
1489
  }, {
1042
1490
  type: "exact";
1043
1491
  term: string | {
1044
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1492
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1045
1493
  };
1046
1494
  }>]>>>;
1047
1495
  updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1048
1496
  type: z.ZodLiteral<"within">;
1049
1497
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1050
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1498
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1051
1499
  }, "strip", z.ZodTypeAny, {
1052
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1500
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1053
1501
  }, {
1054
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1502
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1055
1503
  }>]>;
1056
1504
  }, "strip", z.ZodTypeAny, {
1057
1505
  type: "within";
1058
1506
  location: string | {
1059
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1507
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1060
1508
  };
1061
1509
  }, {
1062
1510
  type: "within";
1063
1511
  location: string | {
1064
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1512
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1065
1513
  };
1066
1514
  }>, z.ZodObject<{
1067
1515
  type: z.ZodLiteral<"exact">;
1068
1516
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1069
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1517
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1070
1518
  }, "strip", z.ZodTypeAny, {
1071
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1519
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1072
1520
  }, {
1073
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1521
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1074
1522
  }>]>;
1075
1523
  }, "strip", z.ZodTypeAny, {
1076
1524
  type: "exact";
1077
1525
  term: string | {
1078
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1526
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1079
1527
  };
1080
1528
  }, {
1081
1529
  type: "exact";
1082
1530
  term: string | {
1083
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1531
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1084
1532
  };
1085
1533
  }>]>>>;
1086
1534
  assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1087
1535
  type: z.ZodLiteral<"exact">;
1088
1536
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1089
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1537
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1090
1538
  }, "strip", z.ZodTypeAny, {
1091
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1539
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1092
1540
  }, {
1093
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1541
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1094
1542
  }>]>;
1095
1543
  }, "strip", z.ZodTypeAny, {
1096
1544
  type: "exact";
1097
1545
  term: string | {
1098
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1546
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1099
1547
  };
1100
1548
  }, {
1101
1549
  type: "exact";
1102
1550
  term: string | {
1103
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1551
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1104
1552
  };
1105
1553
  }>>>;
1106
1554
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1107
1555
  type: z.ZodLiteral<"exact">;
1108
1556
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1109
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1557
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1110
1558
  }, "strip", z.ZodTypeAny, {
1111
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1559
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1112
1560
  }, {
1113
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1561
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1114
1562
  }>]>;
1115
1563
  }, "strip", z.ZodTypeAny, {
1116
1564
  type: "exact";
1117
1565
  term: string | {
1118
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1566
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1119
1567
  };
1120
1568
  }, {
1121
1569
  type: "exact";
1122
1570
  term: string | {
1123
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1571
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1124
1572
  };
1125
1573
  }>>>;
1574
+ createdByUserType: z.ZodOptional<z.ZodObject<{
1575
+ type: z.ZodLiteral<"exact">;
1576
+ term: z.ZodEnum<["user", "system"]>;
1577
+ }, "strip", z.ZodTypeAny, {
1578
+ type: "exact";
1579
+ term: "system" | "user";
1580
+ }, {
1581
+ type: "exact";
1582
+ term: "system" | "user";
1583
+ }>>;
1126
1584
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1127
1585
  type: z.ZodLiteral<"exact">;
1128
1586
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1129
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1587
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1130
1588
  }, "strip", z.ZodTypeAny, {
1131
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1589
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1132
1590
  }, {
1133
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1591
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1134
1592
  }>]>;
1135
1593
  }, "strip", z.ZodTypeAny, {
1136
1594
  type: "exact";
1137
1595
  term: string | {
1138
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1596
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1139
1597
  };
1140
1598
  }, {
1141
1599
  type: "exact";
1142
1600
  term: string | {
1143
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1601
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1144
1602
  };
1145
1603
  }>>>;
1146
1604
  trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -1153,25 +1611,26 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1153
1611
  type: "exact";
1154
1612
  term: string;
1155
1613
  }>>>;
1156
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1157
- type: z.ZodLiteral<"anyOf">;
1158
- terms: z.ZodArray<z.ZodString, "many">;
1159
- }, "strip", z.ZodTypeAny, {
1160
- type: "anyOf";
1161
- terms: string[];
1162
- }, {
1163
- type: "anyOf";
1164
- terms: string[];
1165
- }>, z.ZodObject<{
1166
- type: z.ZodLiteral<"not">;
1167
- term: z.ZodString;
1614
+ flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1615
+ anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
1616
+ readonly PRINTED: "printed";
1617
+ readonly INCOMPLETE: "incomplete";
1618
+ readonly REJECTED: "rejected";
1619
+ readonly CORRECTION_REQUESTED: "correction-requested";
1620
+ }>]>, "many">>;
1621
+ noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
1622
+ readonly PRINTED: "printed";
1623
+ readonly INCOMPLETE: "incomplete";
1624
+ readonly REJECTED: "rejected";
1625
+ readonly CORRECTION_REQUESTED: "correction-requested";
1626
+ }>]>, "many">>;
1168
1627
  }, "strip", z.ZodTypeAny, {
1169
- type: "not";
1170
- term: string;
1628
+ anyOf?: string[] | undefined;
1629
+ noneOf?: string[] | undefined;
1171
1630
  }, {
1172
- type: "not";
1173
- term: string;
1174
- }>]>, "many">>>;
1631
+ anyOf?: string[] | undefined;
1632
+ noneOf?: string[] | undefined;
1633
+ }>>>;
1175
1634
  data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
1176
1635
  }, "strip", z.ZodTypeAny, {
1177
1636
  status?: {
@@ -1182,44 +1641,54 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1182
1641
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1183
1642
  } | undefined;
1184
1643
  data?: any;
1185
- createdAt?: {
1644
+ createdByUserType?: {
1186
1645
  type: "exact";
1187
- term: string;
1188
- } | {
1646
+ term: "system" | "user";
1647
+ } | undefined;
1648
+ createdAt?: {
1189
1649
  type: "range";
1190
1650
  gte: string;
1191
1651
  lte: string;
1652
+ } | {
1653
+ type: "exact";
1654
+ term: string;
1655
+ } | {
1656
+ type: "timePeriod";
1657
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1192
1658
  } | undefined;
1193
1659
  createdBy?: {
1194
1660
  type: "exact";
1195
1661
  term: string | {
1196
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1662
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1197
1663
  };
1198
1664
  } | undefined;
1199
1665
  createdAtLocation?: {
1200
1666
  type: "exact";
1201
1667
  term: string | {
1202
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1668
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1203
1669
  };
1204
1670
  } | {
1205
1671
  type: "within";
1206
1672
  location: string | {
1207
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1673
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1208
1674
  };
1209
1675
  } | undefined;
1210
1676
  assignedTo?: {
1211
1677
  type: "exact";
1212
1678
  term: string | {
1213
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1679
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1214
1680
  };
1215
1681
  } | undefined;
1216
1682
  updatedAt?: {
1217
- type: "exact";
1218
- term: string;
1219
- } | {
1220
1683
  type: "range";
1221
1684
  gte: string;
1222
1685
  lte: string;
1686
+ } | {
1687
+ type: "exact";
1688
+ term: string;
1689
+ } | {
1690
+ type: "timePeriod";
1691
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1223
1692
  } | undefined;
1224
1693
  trackingId?: {
1225
1694
  type: "exact";
@@ -1228,28 +1697,47 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1228
1697
  updatedAtLocation?: {
1229
1698
  type: "exact";
1230
1699
  term: string | {
1231
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1700
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1232
1701
  };
1233
1702
  } | {
1234
1703
  type: "within";
1235
1704
  location: string | {
1236
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1705
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1237
1706
  };
1238
1707
  } | undefined;
1239
1708
  updatedBy?: {
1240
1709
  type: "exact";
1241
1710
  term: string | {
1242
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1711
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1243
1712
  };
1244
1713
  } | undefined;
1245
- flags?: ({
1246
- type: "anyOf";
1247
- terms: string[];
1714
+ flags?: {
1715
+ anyOf?: string[] | undefined;
1716
+ noneOf?: string[] | undefined;
1717
+ } | undefined;
1718
+ eventType?: string | undefined;
1719
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
1720
+ type: "exact";
1721
+ term: string;
1248
1722
  } | {
1249
- type: "not";
1723
+ type: "within";
1724
+ location: string;
1725
+ } | undefined;
1726
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
1727
+ type: "exact";
1250
1728
  term: string;
1251
- })[] | undefined;
1252
- eventType?: string | undefined;
1729
+ } | undefined;
1730
+ 'legalStatuses.REGISTERED.createdAt'?: {
1731
+ type: "range";
1732
+ gte: string;
1733
+ lte: string;
1734
+ } | {
1735
+ type: "exact";
1736
+ term: string;
1737
+ } | {
1738
+ type: "timePeriod";
1739
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1740
+ } | undefined;
1253
1741
  }, {
1254
1742
  status?: {
1255
1743
  type: "exact";
@@ -1259,44 +1747,54 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1259
1747
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1260
1748
  } | undefined;
1261
1749
  data?: any;
1262
- createdAt?: {
1750
+ createdByUserType?: {
1263
1751
  type: "exact";
1264
- term: string;
1265
- } | {
1752
+ term: "system" | "user";
1753
+ } | undefined;
1754
+ createdAt?: {
1266
1755
  type: "range";
1267
1756
  gte: string;
1268
1757
  lte: string;
1758
+ } | {
1759
+ type: "exact";
1760
+ term: string;
1761
+ } | {
1762
+ type: "timePeriod";
1763
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1269
1764
  } | undefined;
1270
1765
  createdBy?: {
1271
1766
  type: "exact";
1272
1767
  term: string | {
1273
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1768
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1274
1769
  };
1275
1770
  } | undefined;
1276
1771
  createdAtLocation?: {
1277
1772
  type: "exact";
1278
1773
  term: string | {
1279
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1774
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1280
1775
  };
1281
1776
  } | {
1282
1777
  type: "within";
1283
1778
  location: string | {
1284
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1779
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1285
1780
  };
1286
1781
  } | undefined;
1287
1782
  assignedTo?: {
1288
1783
  type: "exact";
1289
1784
  term: string | {
1290
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1785
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1291
1786
  };
1292
1787
  } | undefined;
1293
1788
  updatedAt?: {
1294
- type: "exact";
1295
- term: string;
1296
- } | {
1297
1789
  type: "range";
1298
1790
  gte: string;
1299
1791
  lte: string;
1792
+ } | {
1793
+ type: "exact";
1794
+ term: string;
1795
+ } | {
1796
+ type: "timePeriod";
1797
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1300
1798
  } | undefined;
1301
1799
  trackingId?: {
1302
1800
  type: "exact";
@@ -1305,28 +1803,47 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1305
1803
  updatedAtLocation?: {
1306
1804
  type: "exact";
1307
1805
  term: string | {
1308
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1806
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1309
1807
  };
1310
1808
  } | {
1311
1809
  type: "within";
1312
1810
  location: string | {
1313
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1811
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1314
1812
  };
1315
1813
  } | undefined;
1316
1814
  updatedBy?: {
1317
1815
  type: "exact";
1318
1816
  term: string | {
1319
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1817
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1320
1818
  };
1321
1819
  } | undefined;
1322
- flags?: ({
1323
- type: "anyOf";
1324
- terms: string[];
1820
+ flags?: {
1821
+ anyOf?: string[] | undefined;
1822
+ noneOf?: string[] | undefined;
1823
+ } | undefined;
1824
+ eventType?: string | undefined;
1825
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
1826
+ type: "exact";
1827
+ term: string;
1325
1828
  } | {
1326
- type: "not";
1829
+ type: "within";
1830
+ location: string;
1831
+ } | undefined;
1832
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
1833
+ type: "exact";
1327
1834
  term: string;
1328
- })[] | undefined;
1329
- eventType?: string | undefined;
1835
+ } | undefined;
1836
+ 'legalStatuses.REGISTERED.createdAt'?: {
1837
+ type: "range";
1838
+ gte: string;
1839
+ lte: string;
1840
+ } | {
1841
+ type: "exact";
1842
+ term: string;
1843
+ } | {
1844
+ type: "timePeriod";
1845
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1846
+ } | undefined;
1330
1847
  }>, "many">;
1331
1848
  }, "strip", z.ZodTypeAny, {
1332
1849
  type: "or";
@@ -1339,44 +1856,54 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1339
1856
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1340
1857
  } | undefined;
1341
1858
  data?: any;
1342
- createdAt?: {
1859
+ createdByUserType?: {
1343
1860
  type: "exact";
1344
- term: string;
1345
- } | {
1861
+ term: "system" | "user";
1862
+ } | undefined;
1863
+ createdAt?: {
1346
1864
  type: "range";
1347
1865
  gte: string;
1348
1866
  lte: string;
1867
+ } | {
1868
+ type: "exact";
1869
+ term: string;
1870
+ } | {
1871
+ type: "timePeriod";
1872
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1349
1873
  } | undefined;
1350
1874
  createdBy?: {
1351
1875
  type: "exact";
1352
1876
  term: string | {
1353
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1877
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1354
1878
  };
1355
1879
  } | undefined;
1356
1880
  createdAtLocation?: {
1357
1881
  type: "exact";
1358
1882
  term: string | {
1359
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1883
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1360
1884
  };
1361
1885
  } | {
1362
1886
  type: "within";
1363
1887
  location: string | {
1364
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1888
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1365
1889
  };
1366
1890
  } | undefined;
1367
1891
  assignedTo?: {
1368
1892
  type: "exact";
1369
1893
  term: string | {
1370
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1894
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1371
1895
  };
1372
1896
  } | undefined;
1373
1897
  updatedAt?: {
1374
- type: "exact";
1375
- term: string;
1376
- } | {
1377
1898
  type: "range";
1378
1899
  gte: string;
1379
1900
  lte: string;
1901
+ } | {
1902
+ type: "exact";
1903
+ term: string;
1904
+ } | {
1905
+ type: "timePeriod";
1906
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1380
1907
  } | undefined;
1381
1908
  trackingId?: {
1382
1909
  type: "exact";
@@ -1385,28 +1912,47 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1385
1912
  updatedAtLocation?: {
1386
1913
  type: "exact";
1387
1914
  term: string | {
1388
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1915
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1389
1916
  };
1390
1917
  } | {
1391
1918
  type: "within";
1392
1919
  location: string | {
1393
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1920
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1394
1921
  };
1395
1922
  } | undefined;
1396
1923
  updatedBy?: {
1397
1924
  type: "exact";
1398
1925
  term: string | {
1399
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1926
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1400
1927
  };
1401
1928
  } | undefined;
1402
- flags?: ({
1403
- type: "anyOf";
1404
- terms: string[];
1929
+ flags?: {
1930
+ anyOf?: string[] | undefined;
1931
+ noneOf?: string[] | undefined;
1932
+ } | undefined;
1933
+ eventType?: string | undefined;
1934
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
1935
+ type: "exact";
1936
+ term: string;
1405
1937
  } | {
1406
- type: "not";
1938
+ type: "within";
1939
+ location: string;
1940
+ } | undefined;
1941
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
1942
+ type: "exact";
1407
1943
  term: string;
1408
- })[] | undefined;
1409
- eventType?: string | undefined;
1944
+ } | undefined;
1945
+ 'legalStatuses.REGISTERED.createdAt'?: {
1946
+ type: "range";
1947
+ gte: string;
1948
+ lte: string;
1949
+ } | {
1950
+ type: "exact";
1951
+ term: string;
1952
+ } | {
1953
+ type: "timePeriod";
1954
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1955
+ } | undefined;
1410
1956
  }[];
1411
1957
  }, {
1412
1958
  type: "or";
@@ -1419,44 +1965,54 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1419
1965
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1420
1966
  } | undefined;
1421
1967
  data?: any;
1422
- createdAt?: {
1968
+ createdByUserType?: {
1423
1969
  type: "exact";
1424
- term: string;
1425
- } | {
1970
+ term: "system" | "user";
1971
+ } | undefined;
1972
+ createdAt?: {
1426
1973
  type: "range";
1427
1974
  gte: string;
1428
1975
  lte: string;
1976
+ } | {
1977
+ type: "exact";
1978
+ term: string;
1979
+ } | {
1980
+ type: "timePeriod";
1981
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1429
1982
  } | undefined;
1430
1983
  createdBy?: {
1431
1984
  type: "exact";
1432
1985
  term: string | {
1433
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1986
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1434
1987
  };
1435
1988
  } | undefined;
1436
1989
  createdAtLocation?: {
1437
1990
  type: "exact";
1438
1991
  term: string | {
1439
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1992
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1440
1993
  };
1441
1994
  } | {
1442
1995
  type: "within";
1443
1996
  location: string | {
1444
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1997
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1445
1998
  };
1446
1999
  } | undefined;
1447
2000
  assignedTo?: {
1448
2001
  type: "exact";
1449
2002
  term: string | {
1450
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2003
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1451
2004
  };
1452
2005
  } | undefined;
1453
2006
  updatedAt?: {
1454
- type: "exact";
1455
- term: string;
1456
- } | {
1457
2007
  type: "range";
1458
2008
  gte: string;
1459
2009
  lte: string;
2010
+ } | {
2011
+ type: "exact";
2012
+ term: string;
2013
+ } | {
2014
+ type: "timePeriod";
2015
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1460
2016
  } | undefined;
1461
2017
  trackingId?: {
1462
2018
  type: "exact";
@@ -1465,28 +2021,47 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1465
2021
  updatedAtLocation?: {
1466
2022
  type: "exact";
1467
2023
  term: string | {
1468
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2024
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1469
2025
  };
1470
2026
  } | {
1471
2027
  type: "within";
1472
2028
  location: string | {
1473
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2029
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1474
2030
  };
1475
2031
  } | undefined;
1476
2032
  updatedBy?: {
1477
2033
  type: "exact";
1478
2034
  term: string | {
1479
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2035
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1480
2036
  };
1481
2037
  } | undefined;
1482
- flags?: ({
1483
- type: "anyOf";
1484
- terms: string[];
2038
+ flags?: {
2039
+ anyOf?: string[] | undefined;
2040
+ noneOf?: string[] | undefined;
2041
+ } | undefined;
2042
+ eventType?: string | undefined;
2043
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
2044
+ type: "exact";
2045
+ term: string;
1485
2046
  } | {
1486
- type: "not";
2047
+ type: "within";
2048
+ location: string;
2049
+ } | undefined;
2050
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
2051
+ type: "exact";
1487
2052
  term: string;
1488
- })[] | undefined;
1489
- eventType?: string | undefined;
2053
+ } | undefined;
2054
+ 'legalStatuses.REGISTERED.createdAt'?: {
2055
+ type: "range";
2056
+ gte: string;
2057
+ lte: string;
2058
+ } | {
2059
+ type: "exact";
2060
+ term: string;
2061
+ } | {
2062
+ type: "timePeriod";
2063
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2064
+ } | undefined;
1490
2065
  }[];
1491
2066
  }>]>;
1492
2067
  export type CountryConfigQueryType = z.infer<typeof CountryConfigQueryType>;
@@ -1511,10 +2086,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1511
2086
  type: "exact";
1512
2087
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1513
2088
  }>]>>>;
1514
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2089
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1515
2090
  type: z.ZodLiteral<"exact">;
1516
2091
  term: z.ZodString;
1517
- }, "strip", z.ZodTypeAny, {
2092
+ }, {
2093
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2094
+ }>, "strip", z.ZodTypeAny, {
1518
2095
  type: "exact";
1519
2096
  term: string;
1520
2097
  }, {
@@ -1522,8 +2099,8 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1522
2099
  term: string;
1523
2100
  }>, z.ZodObject<{
1524
2101
  type: z.ZodLiteral<"range">;
1525
- gte: z.ZodString;
1526
- lte: z.ZodString;
2102
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2103
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1527
2104
  }, "strip", z.ZodTypeAny, {
1528
2105
  type: "range";
1529
2106
  gte: string;
@@ -1532,11 +2109,55 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1532
2109
  type: "range";
1533
2110
  gte: string;
1534
2111
  lte: string;
2112
+ }>, z.ZodObject<{
2113
+ type: z.ZodLiteral<"timePeriod">;
2114
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2115
+ }, "strip", z.ZodTypeAny, {
2116
+ type: "timePeriod";
2117
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2118
+ }, {
2119
+ type: "timePeriod";
2120
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1535
2121
  }>]>>>;
1536
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2122
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1537
2123
  type: z.ZodLiteral<"exact">;
1538
2124
  term: z.ZodString;
2125
+ }, {
2126
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2127
+ }>, "strip", z.ZodTypeAny, {
2128
+ type: "exact";
2129
+ term: string;
2130
+ }, {
2131
+ type: "exact";
2132
+ term: string;
2133
+ }>, z.ZodObject<{
2134
+ type: z.ZodLiteral<"range">;
2135
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2136
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1539
2137
  }, "strip", z.ZodTypeAny, {
2138
+ type: "range";
2139
+ gte: string;
2140
+ lte: string;
2141
+ }, {
2142
+ type: "range";
2143
+ gte: string;
2144
+ lte: string;
2145
+ }>, z.ZodObject<{
2146
+ type: z.ZodLiteral<"timePeriod">;
2147
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2148
+ }, "strip", z.ZodTypeAny, {
2149
+ type: "timePeriod";
2150
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2151
+ }, {
2152
+ type: "timePeriod";
2153
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2154
+ }>]>>>;
2155
+ 'legalStatuses.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2156
+ type: z.ZodLiteral<"exact">;
2157
+ term: z.ZodString;
2158
+ }, {
2159
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2160
+ }>, "strip", z.ZodTypeAny, {
1540
2161
  type: "exact";
1541
2162
  term: string;
1542
2163
  }, {
@@ -1544,8 +2165,8 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1544
2165
  term: string;
1545
2166
  }>, z.ZodObject<{
1546
2167
  type: z.ZodLiteral<"range">;
1547
- gte: z.ZodString;
1548
- lte: z.ZodString;
2168
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2169
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1549
2170
  }, "strip", z.ZodTypeAny, {
1550
2171
  type: "range";
1551
2172
  gte: string;
@@ -1554,143 +2175,191 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1554
2175
  type: "range";
1555
2176
  gte: string;
1556
2177
  lte: string;
2178
+ }>, z.ZodObject<{
2179
+ type: z.ZodLiteral<"timePeriod">;
2180
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2181
+ }, "strip", z.ZodTypeAny, {
2182
+ type: "timePeriod";
2183
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2184
+ }, {
2185
+ type: "timePeriod";
2186
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1557
2187
  }>]>>>;
2188
+ 'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2189
+ type: z.ZodLiteral<"within">;
2190
+ location: z.ZodString;
2191
+ }, "strip", z.ZodTypeAny, {
2192
+ type: "within";
2193
+ location: string;
2194
+ }, {
2195
+ type: "within";
2196
+ location: string;
2197
+ }>, z.ZodObject<{
2198
+ type: z.ZodLiteral<"exact">;
2199
+ term: z.ZodString;
2200
+ }, "strip", z.ZodTypeAny, {
2201
+ type: "exact";
2202
+ term: string;
2203
+ }, {
2204
+ type: "exact";
2205
+ term: string;
2206
+ }>]>>>;
2207
+ 'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
2208
+ type: z.ZodLiteral<"exact">;
2209
+ term: z.ZodString;
2210
+ }, "strip", z.ZodTypeAny, {
2211
+ type: "exact";
2212
+ term: string;
2213
+ }, {
2214
+ type: "exact";
2215
+ term: string;
2216
+ }>>>;
1558
2217
  createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1559
2218
  type: z.ZodLiteral<"within">;
1560
2219
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1561
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2220
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1562
2221
  }, "strip", z.ZodTypeAny, {
1563
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2222
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1564
2223
  }, {
1565
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2224
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1566
2225
  }>]>;
1567
2226
  }, "strip", z.ZodTypeAny, {
1568
2227
  type: "within";
1569
2228
  location: string | {
1570
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2229
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1571
2230
  };
1572
2231
  }, {
1573
2232
  type: "within";
1574
2233
  location: string | {
1575
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2234
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1576
2235
  };
1577
2236
  }>, z.ZodObject<{
1578
2237
  type: z.ZodLiteral<"exact">;
1579
2238
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1580
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2239
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1581
2240
  }, "strip", z.ZodTypeAny, {
1582
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2241
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1583
2242
  }, {
1584
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2243
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1585
2244
  }>]>;
1586
2245
  }, "strip", z.ZodTypeAny, {
1587
2246
  type: "exact";
1588
2247
  term: string | {
1589
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2248
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1590
2249
  };
1591
2250
  }, {
1592
2251
  type: "exact";
1593
2252
  term: string | {
1594
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2253
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1595
2254
  };
1596
2255
  }>]>>>;
1597
2256
  updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1598
2257
  type: z.ZodLiteral<"within">;
1599
2258
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1600
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2259
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1601
2260
  }, "strip", z.ZodTypeAny, {
1602
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2261
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1603
2262
  }, {
1604
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2263
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1605
2264
  }>]>;
1606
2265
  }, "strip", z.ZodTypeAny, {
1607
2266
  type: "within";
1608
2267
  location: string | {
1609
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2268
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1610
2269
  };
1611
2270
  }, {
1612
2271
  type: "within";
1613
2272
  location: string | {
1614
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2273
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1615
2274
  };
1616
2275
  }>, z.ZodObject<{
1617
2276
  type: z.ZodLiteral<"exact">;
1618
2277
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1619
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2278
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1620
2279
  }, "strip", z.ZodTypeAny, {
1621
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2280
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1622
2281
  }, {
1623
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2282
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1624
2283
  }>]>;
1625
2284
  }, "strip", z.ZodTypeAny, {
1626
2285
  type: "exact";
1627
2286
  term: string | {
1628
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2287
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1629
2288
  };
1630
2289
  }, {
1631
2290
  type: "exact";
1632
2291
  term: string | {
1633
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2292
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1634
2293
  };
1635
2294
  }>]>>>;
1636
2295
  assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1637
2296
  type: z.ZodLiteral<"exact">;
1638
2297
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1639
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2298
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1640
2299
  }, "strip", z.ZodTypeAny, {
1641
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2300
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1642
2301
  }, {
1643
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2302
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1644
2303
  }>]>;
1645
2304
  }, "strip", z.ZodTypeAny, {
1646
2305
  type: "exact";
1647
2306
  term: string | {
1648
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2307
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1649
2308
  };
1650
2309
  }, {
1651
2310
  type: "exact";
1652
2311
  term: string | {
1653
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2312
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1654
2313
  };
1655
2314
  }>>>;
1656
2315
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1657
2316
  type: z.ZodLiteral<"exact">;
1658
2317
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1659
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2318
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1660
2319
  }, "strip", z.ZodTypeAny, {
1661
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2320
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1662
2321
  }, {
1663
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2322
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1664
2323
  }>]>;
1665
2324
  }, "strip", z.ZodTypeAny, {
1666
2325
  type: "exact";
1667
2326
  term: string | {
1668
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2327
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1669
2328
  };
1670
2329
  }, {
1671
2330
  type: "exact";
1672
2331
  term: string | {
1673
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2332
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1674
2333
  };
1675
2334
  }>>>;
2335
+ createdByUserType: z.ZodOptional<z.ZodObject<{
2336
+ type: z.ZodLiteral<"exact">;
2337
+ term: z.ZodEnum<["user", "system"]>;
2338
+ }, "strip", z.ZodTypeAny, {
2339
+ type: "exact";
2340
+ term: "system" | "user";
2341
+ }, {
2342
+ type: "exact";
2343
+ term: "system" | "user";
2344
+ }>>;
1676
2345
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1677
2346
  type: z.ZodLiteral<"exact">;
1678
2347
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1679
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2348
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1680
2349
  }, "strip", z.ZodTypeAny, {
1681
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2350
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1682
2351
  }, {
1683
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2352
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1684
2353
  }>]>;
1685
2354
  }, "strip", z.ZodTypeAny, {
1686
2355
  type: "exact";
1687
2356
  term: string | {
1688
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2357
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1689
2358
  };
1690
2359
  }, {
1691
2360
  type: "exact";
1692
2361
  term: string | {
1693
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2362
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1694
2363
  };
1695
2364
  }>>>;
1696
2365
  trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -1703,25 +2372,26 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1703
2372
  type: "exact";
1704
2373
  term: string;
1705
2374
  }>>>;
1706
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1707
- type: z.ZodLiteral<"anyOf">;
1708
- terms: z.ZodArray<z.ZodString, "many">;
1709
- }, "strip", z.ZodTypeAny, {
1710
- type: "anyOf";
1711
- terms: string[];
1712
- }, {
1713
- type: "anyOf";
1714
- terms: string[];
1715
- }>, z.ZodObject<{
1716
- type: z.ZodLiteral<"not">;
1717
- term: z.ZodString;
2375
+ flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2376
+ anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
2377
+ readonly PRINTED: "printed";
2378
+ readonly INCOMPLETE: "incomplete";
2379
+ readonly REJECTED: "rejected";
2380
+ readonly CORRECTION_REQUESTED: "correction-requested";
2381
+ }>]>, "many">>;
2382
+ noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
2383
+ readonly PRINTED: "printed";
2384
+ readonly INCOMPLETE: "incomplete";
2385
+ readonly REJECTED: "rejected";
2386
+ readonly CORRECTION_REQUESTED: "correction-requested";
2387
+ }>]>, "many">>;
1718
2388
  }, "strip", z.ZodTypeAny, {
1719
- type: "not";
1720
- term: string;
2389
+ anyOf?: string[] | undefined;
2390
+ noneOf?: string[] | undefined;
1721
2391
  }, {
1722
- type: "not";
1723
- term: string;
1724
- }>]>, "many">>>;
2392
+ anyOf?: string[] | undefined;
2393
+ noneOf?: string[] | undefined;
2394
+ }>>>;
1725
2395
  data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
1726
2396
  }, "strip", z.ZodTypeAny, {
1727
2397
  status?: {
@@ -1732,44 +2402,54 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1732
2402
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1733
2403
  } | undefined;
1734
2404
  data?: any;
1735
- createdAt?: {
2405
+ createdByUserType?: {
1736
2406
  type: "exact";
1737
- term: string;
1738
- } | {
2407
+ term: "system" | "user";
2408
+ } | undefined;
2409
+ createdAt?: {
1739
2410
  type: "range";
1740
2411
  gte: string;
1741
2412
  lte: string;
2413
+ } | {
2414
+ type: "exact";
2415
+ term: string;
2416
+ } | {
2417
+ type: "timePeriod";
2418
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1742
2419
  } | undefined;
1743
2420
  createdBy?: {
1744
2421
  type: "exact";
1745
2422
  term: string | {
1746
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2423
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1747
2424
  };
1748
2425
  } | undefined;
1749
2426
  createdAtLocation?: {
1750
2427
  type: "exact";
1751
2428
  term: string | {
1752
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2429
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1753
2430
  };
1754
2431
  } | {
1755
2432
  type: "within";
1756
2433
  location: string | {
1757
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2434
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1758
2435
  };
1759
2436
  } | undefined;
1760
2437
  assignedTo?: {
1761
2438
  type: "exact";
1762
2439
  term: string | {
1763
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2440
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1764
2441
  };
1765
2442
  } | undefined;
1766
2443
  updatedAt?: {
1767
- type: "exact";
1768
- term: string;
1769
- } | {
1770
2444
  type: "range";
1771
2445
  gte: string;
1772
2446
  lte: string;
2447
+ } | {
2448
+ type: "exact";
2449
+ term: string;
2450
+ } | {
2451
+ type: "timePeriod";
2452
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1773
2453
  } | undefined;
1774
2454
  trackingId?: {
1775
2455
  type: "exact";
@@ -1778,28 +2458,47 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1778
2458
  updatedAtLocation?: {
1779
2459
  type: "exact";
1780
2460
  term: string | {
1781
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2461
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1782
2462
  };
1783
2463
  } | {
1784
2464
  type: "within";
1785
2465
  location: string | {
1786
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2466
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1787
2467
  };
1788
2468
  } | undefined;
1789
2469
  updatedBy?: {
1790
2470
  type: "exact";
1791
2471
  term: string | {
1792
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2472
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1793
2473
  };
1794
2474
  } | undefined;
1795
- flags?: ({
1796
- type: "anyOf";
1797
- terms: string[];
2475
+ flags?: {
2476
+ anyOf?: string[] | undefined;
2477
+ noneOf?: string[] | undefined;
2478
+ } | undefined;
2479
+ eventType?: string | undefined;
2480
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
2481
+ type: "exact";
2482
+ term: string;
1798
2483
  } | {
1799
- type: "not";
2484
+ type: "within";
2485
+ location: string;
2486
+ } | undefined;
2487
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
2488
+ type: "exact";
1800
2489
  term: string;
1801
- })[] | undefined;
1802
- eventType?: string | undefined;
2490
+ } | undefined;
2491
+ 'legalStatuses.REGISTERED.createdAt'?: {
2492
+ type: "range";
2493
+ gte: string;
2494
+ lte: string;
2495
+ } | {
2496
+ type: "exact";
2497
+ term: string;
2498
+ } | {
2499
+ type: "timePeriod";
2500
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2501
+ } | undefined;
1803
2502
  }, {
1804
2503
  status?: {
1805
2504
  type: "exact";
@@ -1809,44 +2508,54 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1809
2508
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1810
2509
  } | undefined;
1811
2510
  data?: any;
1812
- createdAt?: {
2511
+ createdByUserType?: {
1813
2512
  type: "exact";
1814
- term: string;
1815
- } | {
2513
+ term: "system" | "user";
2514
+ } | undefined;
2515
+ createdAt?: {
1816
2516
  type: "range";
1817
2517
  gte: string;
1818
2518
  lte: string;
2519
+ } | {
2520
+ type: "exact";
2521
+ term: string;
2522
+ } | {
2523
+ type: "timePeriod";
2524
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1819
2525
  } | undefined;
1820
2526
  createdBy?: {
1821
2527
  type: "exact";
1822
2528
  term: string | {
1823
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2529
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1824
2530
  };
1825
2531
  } | undefined;
1826
2532
  createdAtLocation?: {
1827
2533
  type: "exact";
1828
2534
  term: string | {
1829
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2535
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1830
2536
  };
1831
2537
  } | {
1832
2538
  type: "within";
1833
2539
  location: string | {
1834
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2540
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1835
2541
  };
1836
2542
  } | undefined;
1837
2543
  assignedTo?: {
1838
2544
  type: "exact";
1839
2545
  term: string | {
1840
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2546
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1841
2547
  };
1842
2548
  } | undefined;
1843
2549
  updatedAt?: {
1844
- type: "exact";
1845
- term: string;
1846
- } | {
1847
2550
  type: "range";
1848
2551
  gte: string;
1849
2552
  lte: string;
2553
+ } | {
2554
+ type: "exact";
2555
+ term: string;
2556
+ } | {
2557
+ type: "timePeriod";
2558
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1850
2559
  } | undefined;
1851
2560
  trackingId?: {
1852
2561
  type: "exact";
@@ -1855,28 +2564,47 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1855
2564
  updatedAtLocation?: {
1856
2565
  type: "exact";
1857
2566
  term: string | {
1858
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2567
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1859
2568
  };
1860
2569
  } | {
1861
2570
  type: "within";
1862
2571
  location: string | {
1863
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2572
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1864
2573
  };
1865
2574
  } | undefined;
1866
2575
  updatedBy?: {
1867
2576
  type: "exact";
1868
2577
  term: string | {
1869
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2578
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1870
2579
  };
1871
2580
  } | undefined;
1872
- flags?: ({
1873
- type: "anyOf";
1874
- terms: string[];
2581
+ flags?: {
2582
+ anyOf?: string[] | undefined;
2583
+ noneOf?: string[] | undefined;
2584
+ } | undefined;
2585
+ eventType?: string | undefined;
2586
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
2587
+ type: "exact";
2588
+ term: string;
1875
2589
  } | {
1876
- type: "not";
2590
+ type: "within";
2591
+ location: string;
2592
+ } | undefined;
2593
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
2594
+ type: "exact";
1877
2595
  term: string;
1878
- })[] | undefined;
1879
- eventType?: string | undefined;
2596
+ } | undefined;
2597
+ 'legalStatuses.REGISTERED.createdAt'?: {
2598
+ type: "range";
2599
+ gte: string;
2600
+ lte: string;
2601
+ } | {
2602
+ type: "exact";
2603
+ term: string;
2604
+ } | {
2605
+ type: "timePeriod";
2606
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2607
+ } | undefined;
1880
2608
  }>, z.ZodObject<{
1881
2609
  type: z.ZodLiteral<"and">;
1882
2610
  clauses: z.ZodArray<z.ZodObject<{
@@ -1900,10 +2628,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1900
2628
  type: "exact";
1901
2629
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1902
2630
  }>]>>>;
1903
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2631
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1904
2632
  type: z.ZodLiteral<"exact">;
1905
2633
  term: z.ZodString;
1906
- }, "strip", z.ZodTypeAny, {
2634
+ }, {
2635
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2636
+ }>, "strip", z.ZodTypeAny, {
1907
2637
  type: "exact";
1908
2638
  term: string;
1909
2639
  }, {
@@ -1911,8 +2641,8 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1911
2641
  term: string;
1912
2642
  }>, z.ZodObject<{
1913
2643
  type: z.ZodLiteral<"range">;
1914
- gte: z.ZodString;
1915
- lte: z.ZodString;
2644
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2645
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1916
2646
  }, "strip", z.ZodTypeAny, {
1917
2647
  type: "range";
1918
2648
  gte: string;
@@ -1921,11 +2651,55 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1921
2651
  type: "range";
1922
2652
  gte: string;
1923
2653
  lte: string;
2654
+ }>, z.ZodObject<{
2655
+ type: z.ZodLiteral<"timePeriod">;
2656
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2657
+ }, "strip", z.ZodTypeAny, {
2658
+ type: "timePeriod";
2659
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2660
+ }, {
2661
+ type: "timePeriod";
2662
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1924
2663
  }>]>>>;
1925
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2664
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1926
2665
  type: z.ZodLiteral<"exact">;
1927
2666
  term: z.ZodString;
2667
+ }, {
2668
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2669
+ }>, "strip", z.ZodTypeAny, {
2670
+ type: "exact";
2671
+ term: string;
2672
+ }, {
2673
+ type: "exact";
2674
+ term: string;
2675
+ }>, z.ZodObject<{
2676
+ type: z.ZodLiteral<"range">;
2677
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2678
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2679
+ }, "strip", z.ZodTypeAny, {
2680
+ type: "range";
2681
+ gte: string;
2682
+ lte: string;
2683
+ }, {
2684
+ type: "range";
2685
+ gte: string;
2686
+ lte: string;
2687
+ }>, z.ZodObject<{
2688
+ type: z.ZodLiteral<"timePeriod">;
2689
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
1928
2690
  }, "strip", z.ZodTypeAny, {
2691
+ type: "timePeriod";
2692
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2693
+ }, {
2694
+ type: "timePeriod";
2695
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2696
+ }>]>>>;
2697
+ 'legalStatuses.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2698
+ type: z.ZodLiteral<"exact">;
2699
+ term: z.ZodString;
2700
+ }, {
2701
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2702
+ }>, "strip", z.ZodTypeAny, {
1929
2703
  type: "exact";
1930
2704
  term: string;
1931
2705
  }, {
@@ -1933,8 +2707,8 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1933
2707
  term: string;
1934
2708
  }>, z.ZodObject<{
1935
2709
  type: z.ZodLiteral<"range">;
1936
- gte: z.ZodString;
1937
- lte: z.ZodString;
2710
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2711
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1938
2712
  }, "strip", z.ZodTypeAny, {
1939
2713
  type: "range";
1940
2714
  gte: string;
@@ -1943,143 +2717,191 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1943
2717
  type: "range";
1944
2718
  gte: string;
1945
2719
  lte: string;
2720
+ }>, z.ZodObject<{
2721
+ type: z.ZodLiteral<"timePeriod">;
2722
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2723
+ }, "strip", z.ZodTypeAny, {
2724
+ type: "timePeriod";
2725
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2726
+ }, {
2727
+ type: "timePeriod";
2728
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2729
+ }>]>>>;
2730
+ 'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2731
+ type: z.ZodLiteral<"within">;
2732
+ location: z.ZodString;
2733
+ }, "strip", z.ZodTypeAny, {
2734
+ type: "within";
2735
+ location: string;
2736
+ }, {
2737
+ type: "within";
2738
+ location: string;
2739
+ }>, z.ZodObject<{
2740
+ type: z.ZodLiteral<"exact">;
2741
+ term: z.ZodString;
2742
+ }, "strip", z.ZodTypeAny, {
2743
+ type: "exact";
2744
+ term: string;
2745
+ }, {
2746
+ type: "exact";
2747
+ term: string;
1946
2748
  }>]>>>;
2749
+ 'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
2750
+ type: z.ZodLiteral<"exact">;
2751
+ term: z.ZodString;
2752
+ }, "strip", z.ZodTypeAny, {
2753
+ type: "exact";
2754
+ term: string;
2755
+ }, {
2756
+ type: "exact";
2757
+ term: string;
2758
+ }>>>;
1947
2759
  createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1948
2760
  type: z.ZodLiteral<"within">;
1949
2761
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1950
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2762
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1951
2763
  }, "strip", z.ZodTypeAny, {
1952
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2764
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1953
2765
  }, {
1954
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2766
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1955
2767
  }>]>;
1956
2768
  }, "strip", z.ZodTypeAny, {
1957
2769
  type: "within";
1958
2770
  location: string | {
1959
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2771
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1960
2772
  };
1961
2773
  }, {
1962
2774
  type: "within";
1963
2775
  location: string | {
1964
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2776
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1965
2777
  };
1966
2778
  }>, z.ZodObject<{
1967
2779
  type: z.ZodLiteral<"exact">;
1968
2780
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1969
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2781
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1970
2782
  }, "strip", z.ZodTypeAny, {
1971
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2783
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1972
2784
  }, {
1973
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2785
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1974
2786
  }>]>;
1975
2787
  }, "strip", z.ZodTypeAny, {
1976
2788
  type: "exact";
1977
2789
  term: string | {
1978
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2790
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1979
2791
  };
1980
2792
  }, {
1981
2793
  type: "exact";
1982
2794
  term: string | {
1983
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2795
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1984
2796
  };
1985
2797
  }>]>>>;
1986
2798
  updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1987
2799
  type: z.ZodLiteral<"within">;
1988
2800
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1989
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2801
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1990
2802
  }, "strip", z.ZodTypeAny, {
1991
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2803
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1992
2804
  }, {
1993
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2805
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1994
2806
  }>]>;
1995
2807
  }, "strip", z.ZodTypeAny, {
1996
2808
  type: "within";
1997
2809
  location: string | {
1998
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2810
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1999
2811
  };
2000
2812
  }, {
2001
2813
  type: "within";
2002
2814
  location: string | {
2003
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2815
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2004
2816
  };
2005
2817
  }>, z.ZodObject<{
2006
2818
  type: z.ZodLiteral<"exact">;
2007
2819
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2008
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2820
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2009
2821
  }, "strip", z.ZodTypeAny, {
2010
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2822
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2011
2823
  }, {
2012
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2824
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2013
2825
  }>]>;
2014
2826
  }, "strip", z.ZodTypeAny, {
2015
2827
  type: "exact";
2016
2828
  term: string | {
2017
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2829
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2018
2830
  };
2019
2831
  }, {
2020
2832
  type: "exact";
2021
2833
  term: string | {
2022
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2834
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2023
2835
  };
2024
2836
  }>]>>>;
2025
2837
  assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2026
2838
  type: z.ZodLiteral<"exact">;
2027
2839
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2028
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2840
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2029
2841
  }, "strip", z.ZodTypeAny, {
2030
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2842
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2031
2843
  }, {
2032
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2844
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2033
2845
  }>]>;
2034
2846
  }, "strip", z.ZodTypeAny, {
2035
2847
  type: "exact";
2036
2848
  term: string | {
2037
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2849
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2038
2850
  };
2039
2851
  }, {
2040
2852
  type: "exact";
2041
2853
  term: string | {
2042
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2854
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2043
2855
  };
2044
2856
  }>>>;
2045
2857
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2046
2858
  type: z.ZodLiteral<"exact">;
2047
2859
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2048
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2860
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2049
2861
  }, "strip", z.ZodTypeAny, {
2050
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2862
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2051
2863
  }, {
2052
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2864
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2053
2865
  }>]>;
2054
2866
  }, "strip", z.ZodTypeAny, {
2055
2867
  type: "exact";
2056
2868
  term: string | {
2057
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2869
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2058
2870
  };
2059
2871
  }, {
2060
2872
  type: "exact";
2061
2873
  term: string | {
2062
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2874
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2063
2875
  };
2064
2876
  }>>>;
2877
+ createdByUserType: z.ZodOptional<z.ZodObject<{
2878
+ type: z.ZodLiteral<"exact">;
2879
+ term: z.ZodEnum<["user", "system"]>;
2880
+ }, "strip", z.ZodTypeAny, {
2881
+ type: "exact";
2882
+ term: "system" | "user";
2883
+ }, {
2884
+ type: "exact";
2885
+ term: "system" | "user";
2886
+ }>>;
2065
2887
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2066
2888
  type: z.ZodLiteral<"exact">;
2067
2889
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2068
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2890
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2069
2891
  }, "strip", z.ZodTypeAny, {
2070
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2892
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2071
2893
  }, {
2072
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2894
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2073
2895
  }>]>;
2074
2896
  }, "strip", z.ZodTypeAny, {
2075
2897
  type: "exact";
2076
2898
  term: string | {
2077
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2899
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2078
2900
  };
2079
2901
  }, {
2080
2902
  type: "exact";
2081
2903
  term: string | {
2082
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2904
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2083
2905
  };
2084
2906
  }>>>;
2085
2907
  trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -2092,25 +2914,26 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2092
2914
  type: "exact";
2093
2915
  term: string;
2094
2916
  }>>>;
2095
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2096
- type: z.ZodLiteral<"anyOf">;
2097
- terms: z.ZodArray<z.ZodString, "many">;
2098
- }, "strip", z.ZodTypeAny, {
2099
- type: "anyOf";
2100
- terms: string[];
2101
- }, {
2102
- type: "anyOf";
2103
- terms: string[];
2104
- }>, z.ZodObject<{
2105
- type: z.ZodLiteral<"not">;
2106
- term: z.ZodString;
2917
+ flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2918
+ anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
2919
+ readonly PRINTED: "printed";
2920
+ readonly INCOMPLETE: "incomplete";
2921
+ readonly REJECTED: "rejected";
2922
+ readonly CORRECTION_REQUESTED: "correction-requested";
2923
+ }>]>, "many">>;
2924
+ noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
2925
+ readonly PRINTED: "printed";
2926
+ readonly INCOMPLETE: "incomplete";
2927
+ readonly REJECTED: "rejected";
2928
+ readonly CORRECTION_REQUESTED: "correction-requested";
2929
+ }>]>, "many">>;
2107
2930
  }, "strip", z.ZodTypeAny, {
2108
- type: "not";
2109
- term: string;
2931
+ anyOf?: string[] | undefined;
2932
+ noneOf?: string[] | undefined;
2110
2933
  }, {
2111
- type: "not";
2112
- term: string;
2113
- }>]>, "many">>>;
2934
+ anyOf?: string[] | undefined;
2935
+ noneOf?: string[] | undefined;
2936
+ }>>>;
2114
2937
  data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
2115
2938
  }, "strip", z.ZodTypeAny, {
2116
2939
  status?: {
@@ -2121,44 +2944,54 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2121
2944
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2122
2945
  } | undefined;
2123
2946
  data?: any;
2124
- createdAt?: {
2947
+ createdByUserType?: {
2125
2948
  type: "exact";
2126
- term: string;
2127
- } | {
2949
+ term: "system" | "user";
2950
+ } | undefined;
2951
+ createdAt?: {
2128
2952
  type: "range";
2129
2953
  gte: string;
2130
2954
  lte: string;
2955
+ } | {
2956
+ type: "exact";
2957
+ term: string;
2958
+ } | {
2959
+ type: "timePeriod";
2960
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2131
2961
  } | undefined;
2132
2962
  createdBy?: {
2133
2963
  type: "exact";
2134
2964
  term: string | {
2135
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2965
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2136
2966
  };
2137
2967
  } | undefined;
2138
2968
  createdAtLocation?: {
2139
2969
  type: "exact";
2140
2970
  term: string | {
2141
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2971
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2142
2972
  };
2143
2973
  } | {
2144
2974
  type: "within";
2145
2975
  location: string | {
2146
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2976
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2147
2977
  };
2148
2978
  } | undefined;
2149
2979
  assignedTo?: {
2150
2980
  type: "exact";
2151
2981
  term: string | {
2152
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2982
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2153
2983
  };
2154
2984
  } | undefined;
2155
2985
  updatedAt?: {
2156
- type: "exact";
2157
- term: string;
2158
- } | {
2159
2986
  type: "range";
2160
2987
  gte: string;
2161
2988
  lte: string;
2989
+ } | {
2990
+ type: "exact";
2991
+ term: string;
2992
+ } | {
2993
+ type: "timePeriod";
2994
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2162
2995
  } | undefined;
2163
2996
  trackingId?: {
2164
2997
  type: "exact";
@@ -2167,28 +3000,47 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2167
3000
  updatedAtLocation?: {
2168
3001
  type: "exact";
2169
3002
  term: string | {
2170
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3003
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2171
3004
  };
2172
3005
  } | {
2173
3006
  type: "within";
2174
3007
  location: string | {
2175
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3008
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2176
3009
  };
2177
3010
  } | undefined;
2178
3011
  updatedBy?: {
2179
3012
  type: "exact";
2180
3013
  term: string | {
2181
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3014
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2182
3015
  };
2183
3016
  } | undefined;
2184
- flags?: ({
2185
- type: "anyOf";
2186
- terms: string[];
3017
+ flags?: {
3018
+ anyOf?: string[] | undefined;
3019
+ noneOf?: string[] | undefined;
3020
+ } | undefined;
3021
+ eventType?: string | undefined;
3022
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
3023
+ type: "exact";
3024
+ term: string;
2187
3025
  } | {
2188
- type: "not";
3026
+ type: "within";
3027
+ location: string;
3028
+ } | undefined;
3029
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
3030
+ type: "exact";
2189
3031
  term: string;
2190
- })[] | undefined;
2191
- eventType?: string | undefined;
3032
+ } | undefined;
3033
+ 'legalStatuses.REGISTERED.createdAt'?: {
3034
+ type: "range";
3035
+ gte: string;
3036
+ lte: string;
3037
+ } | {
3038
+ type: "exact";
3039
+ term: string;
3040
+ } | {
3041
+ type: "timePeriod";
3042
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3043
+ } | undefined;
2192
3044
  }, {
2193
3045
  status?: {
2194
3046
  type: "exact";
@@ -2198,44 +3050,54 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2198
3050
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2199
3051
  } | undefined;
2200
3052
  data?: any;
2201
- createdAt?: {
3053
+ createdByUserType?: {
2202
3054
  type: "exact";
2203
- term: string;
2204
- } | {
3055
+ term: "system" | "user";
3056
+ } | undefined;
3057
+ createdAt?: {
2205
3058
  type: "range";
2206
3059
  gte: string;
2207
3060
  lte: string;
3061
+ } | {
3062
+ type: "exact";
3063
+ term: string;
3064
+ } | {
3065
+ type: "timePeriod";
3066
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2208
3067
  } | undefined;
2209
3068
  createdBy?: {
2210
3069
  type: "exact";
2211
3070
  term: string | {
2212
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3071
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2213
3072
  };
2214
3073
  } | undefined;
2215
3074
  createdAtLocation?: {
2216
3075
  type: "exact";
2217
3076
  term: string | {
2218
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3077
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2219
3078
  };
2220
3079
  } | {
2221
3080
  type: "within";
2222
3081
  location: string | {
2223
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3082
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2224
3083
  };
2225
3084
  } | undefined;
2226
3085
  assignedTo?: {
2227
3086
  type: "exact";
2228
3087
  term: string | {
2229
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3088
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2230
3089
  };
2231
3090
  } | undefined;
2232
3091
  updatedAt?: {
2233
- type: "exact";
2234
- term: string;
2235
- } | {
2236
3092
  type: "range";
2237
3093
  gte: string;
2238
3094
  lte: string;
3095
+ } | {
3096
+ type: "exact";
3097
+ term: string;
3098
+ } | {
3099
+ type: "timePeriod";
3100
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2239
3101
  } | undefined;
2240
3102
  trackingId?: {
2241
3103
  type: "exact";
@@ -2244,28 +3106,47 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2244
3106
  updatedAtLocation?: {
2245
3107
  type: "exact";
2246
3108
  term: string | {
2247
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3109
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2248
3110
  };
2249
3111
  } | {
2250
3112
  type: "within";
2251
3113
  location: string | {
2252
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3114
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2253
3115
  };
2254
3116
  } | undefined;
2255
3117
  updatedBy?: {
2256
3118
  type: "exact";
2257
3119
  term: string | {
2258
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3120
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2259
3121
  };
2260
3122
  } | undefined;
2261
- flags?: ({
2262
- type: "anyOf";
2263
- terms: string[];
3123
+ flags?: {
3124
+ anyOf?: string[] | undefined;
3125
+ noneOf?: string[] | undefined;
3126
+ } | undefined;
3127
+ eventType?: string | undefined;
3128
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
3129
+ type: "exact";
3130
+ term: string;
2264
3131
  } | {
2265
- type: "not";
3132
+ type: "within";
3133
+ location: string;
3134
+ } | undefined;
3135
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
3136
+ type: "exact";
2266
3137
  term: string;
2267
- })[] | undefined;
2268
- eventType?: string | undefined;
3138
+ } | undefined;
3139
+ 'legalStatuses.REGISTERED.createdAt'?: {
3140
+ type: "range";
3141
+ gte: string;
3142
+ lte: string;
3143
+ } | {
3144
+ type: "exact";
3145
+ term: string;
3146
+ } | {
3147
+ type: "timePeriod";
3148
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3149
+ } | undefined;
2269
3150
  }>, "many">;
2270
3151
  }, "strip", z.ZodTypeAny, {
2271
3152
  type: "and";
@@ -2278,44 +3159,54 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2278
3159
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2279
3160
  } | undefined;
2280
3161
  data?: any;
2281
- createdAt?: {
3162
+ createdByUserType?: {
2282
3163
  type: "exact";
2283
- term: string;
2284
- } | {
3164
+ term: "system" | "user";
3165
+ } | undefined;
3166
+ createdAt?: {
2285
3167
  type: "range";
2286
3168
  gte: string;
2287
3169
  lte: string;
3170
+ } | {
3171
+ type: "exact";
3172
+ term: string;
3173
+ } | {
3174
+ type: "timePeriod";
3175
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2288
3176
  } | undefined;
2289
3177
  createdBy?: {
2290
3178
  type: "exact";
2291
3179
  term: string | {
2292
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3180
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2293
3181
  };
2294
3182
  } | undefined;
2295
3183
  createdAtLocation?: {
2296
3184
  type: "exact";
2297
3185
  term: string | {
2298
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3186
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2299
3187
  };
2300
3188
  } | {
2301
3189
  type: "within";
2302
3190
  location: string | {
2303
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3191
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2304
3192
  };
2305
3193
  } | undefined;
2306
3194
  assignedTo?: {
2307
3195
  type: "exact";
2308
3196
  term: string | {
2309
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3197
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2310
3198
  };
2311
3199
  } | undefined;
2312
3200
  updatedAt?: {
2313
- type: "exact";
2314
- term: string;
2315
- } | {
2316
3201
  type: "range";
2317
3202
  gte: string;
2318
3203
  lte: string;
3204
+ } | {
3205
+ type: "exact";
3206
+ term: string;
3207
+ } | {
3208
+ type: "timePeriod";
3209
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2319
3210
  } | undefined;
2320
3211
  trackingId?: {
2321
3212
  type: "exact";
@@ -2323,29 +3214,48 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2323
3214
  } | undefined;
2324
3215
  updatedAtLocation?: {
2325
3216
  type: "exact";
2326
- term: string | {
2327
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2328
- };
3217
+ term: string | {
3218
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3219
+ };
3220
+ } | {
3221
+ type: "within";
3222
+ location: string | {
3223
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3224
+ };
3225
+ } | undefined;
3226
+ updatedBy?: {
3227
+ type: "exact";
3228
+ term: string | {
3229
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3230
+ };
3231
+ } | undefined;
3232
+ flags?: {
3233
+ anyOf?: string[] | undefined;
3234
+ noneOf?: string[] | undefined;
3235
+ } | undefined;
3236
+ eventType?: string | undefined;
3237
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
3238
+ type: "exact";
3239
+ term: string;
2329
3240
  } | {
2330
3241
  type: "within";
2331
- location: string | {
2332
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2333
- };
3242
+ location: string;
2334
3243
  } | undefined;
2335
- updatedBy?: {
3244
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
2336
3245
  type: "exact";
2337
- term: string | {
2338
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2339
- };
3246
+ term: string;
2340
3247
  } | undefined;
2341
- flags?: ({
2342
- type: "anyOf";
2343
- terms: string[];
3248
+ 'legalStatuses.REGISTERED.createdAt'?: {
3249
+ type: "range";
3250
+ gte: string;
3251
+ lte: string;
2344
3252
  } | {
2345
- type: "not";
3253
+ type: "exact";
2346
3254
  term: string;
2347
- })[] | undefined;
2348
- eventType?: string | undefined;
3255
+ } | {
3256
+ type: "timePeriod";
3257
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3258
+ } | undefined;
2349
3259
  }[];
2350
3260
  }, {
2351
3261
  type: "and";
@@ -2358,44 +3268,54 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2358
3268
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2359
3269
  } | undefined;
2360
3270
  data?: any;
2361
- createdAt?: {
3271
+ createdByUserType?: {
2362
3272
  type: "exact";
2363
- term: string;
2364
- } | {
3273
+ term: "system" | "user";
3274
+ } | undefined;
3275
+ createdAt?: {
2365
3276
  type: "range";
2366
3277
  gte: string;
2367
3278
  lte: string;
3279
+ } | {
3280
+ type: "exact";
3281
+ term: string;
3282
+ } | {
3283
+ type: "timePeriod";
3284
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2368
3285
  } | undefined;
2369
3286
  createdBy?: {
2370
3287
  type: "exact";
2371
3288
  term: string | {
2372
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3289
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2373
3290
  };
2374
3291
  } | undefined;
2375
3292
  createdAtLocation?: {
2376
3293
  type: "exact";
2377
3294
  term: string | {
2378
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3295
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2379
3296
  };
2380
3297
  } | {
2381
3298
  type: "within";
2382
3299
  location: string | {
2383
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3300
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2384
3301
  };
2385
3302
  } | undefined;
2386
3303
  assignedTo?: {
2387
3304
  type: "exact";
2388
3305
  term: string | {
2389
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3306
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2390
3307
  };
2391
3308
  } | undefined;
2392
3309
  updatedAt?: {
2393
- type: "exact";
2394
- term: string;
2395
- } | {
2396
3310
  type: "range";
2397
3311
  gte: string;
2398
3312
  lte: string;
3313
+ } | {
3314
+ type: "exact";
3315
+ term: string;
3316
+ } | {
3317
+ type: "timePeriod";
3318
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2399
3319
  } | undefined;
2400
3320
  trackingId?: {
2401
3321
  type: "exact";
@@ -2404,28 +3324,47 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2404
3324
  updatedAtLocation?: {
2405
3325
  type: "exact";
2406
3326
  term: string | {
2407
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3327
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2408
3328
  };
2409
3329
  } | {
2410
3330
  type: "within";
2411
3331
  location: string | {
2412
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3332
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2413
3333
  };
2414
3334
  } | undefined;
2415
3335
  updatedBy?: {
2416
3336
  type: "exact";
2417
3337
  term: string | {
2418
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3338
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2419
3339
  };
2420
3340
  } | undefined;
2421
- flags?: ({
2422
- type: "anyOf";
2423
- terms: string[];
3341
+ flags?: {
3342
+ anyOf?: string[] | undefined;
3343
+ noneOf?: string[] | undefined;
3344
+ } | undefined;
3345
+ eventType?: string | undefined;
3346
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
3347
+ type: "exact";
3348
+ term: string;
2424
3349
  } | {
2425
- type: "not";
3350
+ type: "within";
3351
+ location: string;
3352
+ } | undefined;
3353
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
3354
+ type: "exact";
2426
3355
  term: string;
2427
- })[] | undefined;
2428
- eventType?: string | undefined;
3356
+ } | undefined;
3357
+ 'legalStatuses.REGISTERED.createdAt'?: {
3358
+ type: "range";
3359
+ gte: string;
3360
+ lte: string;
3361
+ } | {
3362
+ type: "exact";
3363
+ term: string;
3364
+ } | {
3365
+ type: "timePeriod";
3366
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3367
+ } | undefined;
2429
3368
  }[];
2430
3369
  }>, z.ZodObject<{
2431
3370
  type: z.ZodLiteral<"or">;
@@ -2450,10 +3389,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2450
3389
  type: "exact";
2451
3390
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2452
3391
  }>]>>>;
2453
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3392
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2454
3393
  type: z.ZodLiteral<"exact">;
2455
3394
  term: z.ZodString;
2456
- }, "strip", z.ZodTypeAny, {
3395
+ }, {
3396
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3397
+ }>, "strip", z.ZodTypeAny, {
2457
3398
  type: "exact";
2458
3399
  term: string;
2459
3400
  }, {
@@ -2461,8 +3402,8 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2461
3402
  term: string;
2462
3403
  }>, z.ZodObject<{
2463
3404
  type: z.ZodLiteral<"range">;
2464
- gte: z.ZodString;
2465
- lte: z.ZodString;
3405
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3406
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2466
3407
  }, "strip", z.ZodTypeAny, {
2467
3408
  type: "range";
2468
3409
  gte: string;
@@ -2471,11 +3412,55 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2471
3412
  type: "range";
2472
3413
  gte: string;
2473
3414
  lte: string;
3415
+ }>, z.ZodObject<{
3416
+ type: z.ZodLiteral<"timePeriod">;
3417
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
3418
+ }, "strip", z.ZodTypeAny, {
3419
+ type: "timePeriod";
3420
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3421
+ }, {
3422
+ type: "timePeriod";
3423
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2474
3424
  }>]>>>;
2475
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3425
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2476
3426
  type: z.ZodLiteral<"exact">;
2477
3427
  term: z.ZodString;
3428
+ }, {
3429
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3430
+ }>, "strip", z.ZodTypeAny, {
3431
+ type: "exact";
3432
+ term: string;
3433
+ }, {
3434
+ type: "exact";
3435
+ term: string;
3436
+ }>, z.ZodObject<{
3437
+ type: z.ZodLiteral<"range">;
3438
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3439
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2478
3440
  }, "strip", z.ZodTypeAny, {
3441
+ type: "range";
3442
+ gte: string;
3443
+ lte: string;
3444
+ }, {
3445
+ type: "range";
3446
+ gte: string;
3447
+ lte: string;
3448
+ }>, z.ZodObject<{
3449
+ type: z.ZodLiteral<"timePeriod">;
3450
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
3451
+ }, "strip", z.ZodTypeAny, {
3452
+ type: "timePeriod";
3453
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3454
+ }, {
3455
+ type: "timePeriod";
3456
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3457
+ }>]>>>;
3458
+ 'legalStatuses.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3459
+ type: z.ZodLiteral<"exact">;
3460
+ term: z.ZodString;
3461
+ }, {
3462
+ term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3463
+ }>, "strip", z.ZodTypeAny, {
2479
3464
  type: "exact";
2480
3465
  term: string;
2481
3466
  }, {
@@ -2483,8 +3468,8 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2483
3468
  term: string;
2484
3469
  }>, z.ZodObject<{
2485
3470
  type: z.ZodLiteral<"range">;
2486
- gte: z.ZodString;
2487
- lte: z.ZodString;
3471
+ gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3472
+ lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2488
3473
  }, "strip", z.ZodTypeAny, {
2489
3474
  type: "range";
2490
3475
  gte: string;
@@ -2493,143 +3478,191 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2493
3478
  type: "range";
2494
3479
  gte: string;
2495
3480
  lte: string;
3481
+ }>, z.ZodObject<{
3482
+ type: z.ZodLiteral<"timePeriod">;
3483
+ term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
3484
+ }, "strip", z.ZodTypeAny, {
3485
+ type: "timePeriod";
3486
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3487
+ }, {
3488
+ type: "timePeriod";
3489
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3490
+ }>]>>>;
3491
+ 'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3492
+ type: z.ZodLiteral<"within">;
3493
+ location: z.ZodString;
3494
+ }, "strip", z.ZodTypeAny, {
3495
+ type: "within";
3496
+ location: string;
3497
+ }, {
3498
+ type: "within";
3499
+ location: string;
3500
+ }>, z.ZodObject<{
3501
+ type: z.ZodLiteral<"exact">;
3502
+ term: z.ZodString;
3503
+ }, "strip", z.ZodTypeAny, {
3504
+ type: "exact";
3505
+ term: string;
3506
+ }, {
3507
+ type: "exact";
3508
+ term: string;
2496
3509
  }>]>>>;
3510
+ 'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
3511
+ type: z.ZodLiteral<"exact">;
3512
+ term: z.ZodString;
3513
+ }, "strip", z.ZodTypeAny, {
3514
+ type: "exact";
3515
+ term: string;
3516
+ }, {
3517
+ type: "exact";
3518
+ term: string;
3519
+ }>>>;
2497
3520
  createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2498
3521
  type: z.ZodLiteral<"within">;
2499
3522
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2500
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
3523
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2501
3524
  }, "strip", z.ZodTypeAny, {
2502
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3525
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2503
3526
  }, {
2504
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3527
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2505
3528
  }>]>;
2506
3529
  }, "strip", z.ZodTypeAny, {
2507
3530
  type: "within";
2508
3531
  location: string | {
2509
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3532
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2510
3533
  };
2511
3534
  }, {
2512
3535
  type: "within";
2513
3536
  location: string | {
2514
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3537
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2515
3538
  };
2516
3539
  }>, z.ZodObject<{
2517
3540
  type: z.ZodLiteral<"exact">;
2518
3541
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2519
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
3542
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2520
3543
  }, "strip", z.ZodTypeAny, {
2521
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3544
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2522
3545
  }, {
2523
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3546
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2524
3547
  }>]>;
2525
3548
  }, "strip", z.ZodTypeAny, {
2526
3549
  type: "exact";
2527
3550
  term: string | {
2528
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3551
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2529
3552
  };
2530
3553
  }, {
2531
3554
  type: "exact";
2532
3555
  term: string | {
2533
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3556
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2534
3557
  };
2535
3558
  }>]>>>;
2536
3559
  updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2537
3560
  type: z.ZodLiteral<"within">;
2538
3561
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2539
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
3562
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2540
3563
  }, "strip", z.ZodTypeAny, {
2541
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3564
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2542
3565
  }, {
2543
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3566
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2544
3567
  }>]>;
2545
3568
  }, "strip", z.ZodTypeAny, {
2546
3569
  type: "within";
2547
3570
  location: string | {
2548
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3571
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2549
3572
  };
2550
3573
  }, {
2551
3574
  type: "within";
2552
3575
  location: string | {
2553
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3576
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2554
3577
  };
2555
3578
  }>, z.ZodObject<{
2556
3579
  type: z.ZodLiteral<"exact">;
2557
3580
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2558
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
3581
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2559
3582
  }, "strip", z.ZodTypeAny, {
2560
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3583
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2561
3584
  }, {
2562
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3585
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2563
3586
  }>]>;
2564
3587
  }, "strip", z.ZodTypeAny, {
2565
3588
  type: "exact";
2566
3589
  term: string | {
2567
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3590
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2568
3591
  };
2569
3592
  }, {
2570
3593
  type: "exact";
2571
3594
  term: string | {
2572
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3595
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2573
3596
  };
2574
3597
  }>]>>>;
2575
3598
  assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2576
3599
  type: z.ZodLiteral<"exact">;
2577
3600
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2578
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
3601
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2579
3602
  }, "strip", z.ZodTypeAny, {
2580
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3603
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2581
3604
  }, {
2582
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3605
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2583
3606
  }>]>;
2584
3607
  }, "strip", z.ZodTypeAny, {
2585
3608
  type: "exact";
2586
3609
  term: string | {
2587
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3610
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2588
3611
  };
2589
3612
  }, {
2590
3613
  type: "exact";
2591
3614
  term: string | {
2592
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3615
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2593
3616
  };
2594
3617
  }>>>;
2595
3618
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2596
3619
  type: z.ZodLiteral<"exact">;
2597
3620
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2598
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
3621
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2599
3622
  }, "strip", z.ZodTypeAny, {
2600
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3623
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2601
3624
  }, {
2602
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3625
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2603
3626
  }>]>;
2604
3627
  }, "strip", z.ZodTypeAny, {
2605
3628
  type: "exact";
2606
3629
  term: string | {
2607
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3630
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2608
3631
  };
2609
3632
  }, {
2610
3633
  type: "exact";
2611
3634
  term: string | {
2612
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3635
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2613
3636
  };
2614
3637
  }>>>;
3638
+ createdByUserType: z.ZodOptional<z.ZodObject<{
3639
+ type: z.ZodLiteral<"exact">;
3640
+ term: z.ZodEnum<["user", "system"]>;
3641
+ }, "strip", z.ZodTypeAny, {
3642
+ type: "exact";
3643
+ term: "system" | "user";
3644
+ }, {
3645
+ type: "exact";
3646
+ term: "system" | "user";
3647
+ }>>;
2615
3648
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2616
3649
  type: z.ZodLiteral<"exact">;
2617
3650
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2618
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
3651
+ $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2619
3652
  }, "strip", z.ZodTypeAny, {
2620
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3653
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2621
3654
  }, {
2622
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3655
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2623
3656
  }>]>;
2624
3657
  }, "strip", z.ZodTypeAny, {
2625
3658
  type: "exact";
2626
3659
  term: string | {
2627
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3660
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2628
3661
  };
2629
3662
  }, {
2630
3663
  type: "exact";
2631
3664
  term: string | {
2632
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3665
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2633
3666
  };
2634
3667
  }>>>;
2635
3668
  trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -2642,25 +3675,26 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2642
3675
  type: "exact";
2643
3676
  term: string;
2644
3677
  }>>>;
2645
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2646
- type: z.ZodLiteral<"anyOf">;
2647
- terms: z.ZodArray<z.ZodString, "many">;
2648
- }, "strip", z.ZodTypeAny, {
2649
- type: "anyOf";
2650
- terms: string[];
2651
- }, {
2652
- type: "anyOf";
2653
- terms: string[];
2654
- }>, z.ZodObject<{
2655
- type: z.ZodLiteral<"not">;
2656
- term: z.ZodString;
3678
+ flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3679
+ anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
3680
+ readonly PRINTED: "printed";
3681
+ readonly INCOMPLETE: "incomplete";
3682
+ readonly REJECTED: "rejected";
3683
+ readonly CORRECTION_REQUESTED: "correction-requested";
3684
+ }>]>, "many">>;
3685
+ noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
3686
+ readonly PRINTED: "printed";
3687
+ readonly INCOMPLETE: "incomplete";
3688
+ readonly REJECTED: "rejected";
3689
+ readonly CORRECTION_REQUESTED: "correction-requested";
3690
+ }>]>, "many">>;
2657
3691
  }, "strip", z.ZodTypeAny, {
2658
- type: "not";
2659
- term: string;
3692
+ anyOf?: string[] | undefined;
3693
+ noneOf?: string[] | undefined;
2660
3694
  }, {
2661
- type: "not";
2662
- term: string;
2663
- }>]>, "many">>>;
3695
+ anyOf?: string[] | undefined;
3696
+ noneOf?: string[] | undefined;
3697
+ }>>>;
2664
3698
  data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
2665
3699
  }, "strip", z.ZodTypeAny, {
2666
3700
  status?: {
@@ -2671,44 +3705,54 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2671
3705
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2672
3706
  } | undefined;
2673
3707
  data?: any;
2674
- createdAt?: {
3708
+ createdByUserType?: {
2675
3709
  type: "exact";
2676
- term: string;
2677
- } | {
3710
+ term: "system" | "user";
3711
+ } | undefined;
3712
+ createdAt?: {
2678
3713
  type: "range";
2679
3714
  gte: string;
2680
3715
  lte: string;
3716
+ } | {
3717
+ type: "exact";
3718
+ term: string;
3719
+ } | {
3720
+ type: "timePeriod";
3721
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2681
3722
  } | undefined;
2682
3723
  createdBy?: {
2683
3724
  type: "exact";
2684
3725
  term: string | {
2685
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3726
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2686
3727
  };
2687
3728
  } | undefined;
2688
3729
  createdAtLocation?: {
2689
3730
  type: "exact";
2690
3731
  term: string | {
2691
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3732
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2692
3733
  };
2693
3734
  } | {
2694
3735
  type: "within";
2695
3736
  location: string | {
2696
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3737
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2697
3738
  };
2698
3739
  } | undefined;
2699
3740
  assignedTo?: {
2700
3741
  type: "exact";
2701
3742
  term: string | {
2702
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3743
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2703
3744
  };
2704
3745
  } | undefined;
2705
3746
  updatedAt?: {
2706
- type: "exact";
2707
- term: string;
2708
- } | {
2709
3747
  type: "range";
2710
3748
  gte: string;
2711
3749
  lte: string;
3750
+ } | {
3751
+ type: "exact";
3752
+ term: string;
3753
+ } | {
3754
+ type: "timePeriod";
3755
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2712
3756
  } | undefined;
2713
3757
  trackingId?: {
2714
3758
  type: "exact";
@@ -2717,28 +3761,47 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2717
3761
  updatedAtLocation?: {
2718
3762
  type: "exact";
2719
3763
  term: string | {
2720
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3764
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2721
3765
  };
2722
3766
  } | {
2723
3767
  type: "within";
2724
3768
  location: string | {
2725
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3769
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2726
3770
  };
2727
3771
  } | undefined;
2728
3772
  updatedBy?: {
2729
3773
  type: "exact";
2730
3774
  term: string | {
2731
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3775
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2732
3776
  };
2733
3777
  } | undefined;
2734
- flags?: ({
2735
- type: "anyOf";
2736
- terms: string[];
3778
+ flags?: {
3779
+ anyOf?: string[] | undefined;
3780
+ noneOf?: string[] | undefined;
3781
+ } | undefined;
3782
+ eventType?: string | undefined;
3783
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
3784
+ type: "exact";
3785
+ term: string;
3786
+ } | {
3787
+ type: "within";
3788
+ location: string;
3789
+ } | undefined;
3790
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
3791
+ type: "exact";
3792
+ term: string;
3793
+ } | undefined;
3794
+ 'legalStatuses.REGISTERED.createdAt'?: {
3795
+ type: "range";
3796
+ gte: string;
3797
+ lte: string;
2737
3798
  } | {
2738
- type: "not";
3799
+ type: "exact";
2739
3800
  term: string;
2740
- })[] | undefined;
2741
- eventType?: string | undefined;
3801
+ } | {
3802
+ type: "timePeriod";
3803
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3804
+ } | undefined;
2742
3805
  }, {
2743
3806
  status?: {
2744
3807
  type: "exact";
@@ -2748,44 +3811,54 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2748
3811
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2749
3812
  } | undefined;
2750
3813
  data?: any;
2751
- createdAt?: {
3814
+ createdByUserType?: {
2752
3815
  type: "exact";
2753
- term: string;
2754
- } | {
3816
+ term: "system" | "user";
3817
+ } | undefined;
3818
+ createdAt?: {
2755
3819
  type: "range";
2756
3820
  gte: string;
2757
3821
  lte: string;
3822
+ } | {
3823
+ type: "exact";
3824
+ term: string;
3825
+ } | {
3826
+ type: "timePeriod";
3827
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2758
3828
  } | undefined;
2759
3829
  createdBy?: {
2760
3830
  type: "exact";
2761
3831
  term: string | {
2762
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3832
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2763
3833
  };
2764
3834
  } | undefined;
2765
3835
  createdAtLocation?: {
2766
3836
  type: "exact";
2767
3837
  term: string | {
2768
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3838
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2769
3839
  };
2770
3840
  } | {
2771
3841
  type: "within";
2772
3842
  location: string | {
2773
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3843
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2774
3844
  };
2775
3845
  } | undefined;
2776
3846
  assignedTo?: {
2777
3847
  type: "exact";
2778
3848
  term: string | {
2779
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3849
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2780
3850
  };
2781
3851
  } | undefined;
2782
3852
  updatedAt?: {
2783
- type: "exact";
2784
- term: string;
2785
- } | {
2786
3853
  type: "range";
2787
3854
  gte: string;
2788
3855
  lte: string;
3856
+ } | {
3857
+ type: "exact";
3858
+ term: string;
3859
+ } | {
3860
+ type: "timePeriod";
3861
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2789
3862
  } | undefined;
2790
3863
  trackingId?: {
2791
3864
  type: "exact";
@@ -2794,28 +3867,47 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2794
3867
  updatedAtLocation?: {
2795
3868
  type: "exact";
2796
3869
  term: string | {
2797
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3870
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2798
3871
  };
2799
3872
  } | {
2800
3873
  type: "within";
2801
3874
  location: string | {
2802
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3875
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2803
3876
  };
2804
3877
  } | undefined;
2805
3878
  updatedBy?: {
2806
3879
  type: "exact";
2807
3880
  term: string | {
2808
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3881
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2809
3882
  };
2810
3883
  } | undefined;
2811
- flags?: ({
2812
- type: "anyOf";
2813
- terms: string[];
3884
+ flags?: {
3885
+ anyOf?: string[] | undefined;
3886
+ noneOf?: string[] | undefined;
3887
+ } | undefined;
3888
+ eventType?: string | undefined;
3889
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
3890
+ type: "exact";
3891
+ term: string;
3892
+ } | {
3893
+ type: "within";
3894
+ location: string;
3895
+ } | undefined;
3896
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
3897
+ type: "exact";
3898
+ term: string;
3899
+ } | undefined;
3900
+ 'legalStatuses.REGISTERED.createdAt'?: {
3901
+ type: "range";
3902
+ gte: string;
3903
+ lte: string;
2814
3904
  } | {
2815
- type: "not";
3905
+ type: "exact";
2816
3906
  term: string;
2817
- })[] | undefined;
2818
- eventType?: string | undefined;
3907
+ } | {
3908
+ type: "timePeriod";
3909
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3910
+ } | undefined;
2819
3911
  }>, "many">;
2820
3912
  }, "strip", z.ZodTypeAny, {
2821
3913
  type: "or";
@@ -2828,44 +3920,54 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2828
3920
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2829
3921
  } | undefined;
2830
3922
  data?: any;
2831
- createdAt?: {
3923
+ createdByUserType?: {
2832
3924
  type: "exact";
2833
- term: string;
2834
- } | {
3925
+ term: "system" | "user";
3926
+ } | undefined;
3927
+ createdAt?: {
2835
3928
  type: "range";
2836
3929
  gte: string;
2837
3930
  lte: string;
3931
+ } | {
3932
+ type: "exact";
3933
+ term: string;
3934
+ } | {
3935
+ type: "timePeriod";
3936
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2838
3937
  } | undefined;
2839
3938
  createdBy?: {
2840
3939
  type: "exact";
2841
3940
  term: string | {
2842
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3941
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2843
3942
  };
2844
3943
  } | undefined;
2845
3944
  createdAtLocation?: {
2846
3945
  type: "exact";
2847
3946
  term: string | {
2848
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3947
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2849
3948
  };
2850
3949
  } | {
2851
3950
  type: "within";
2852
3951
  location: string | {
2853
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3952
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2854
3953
  };
2855
3954
  } | undefined;
2856
3955
  assignedTo?: {
2857
3956
  type: "exact";
2858
3957
  term: string | {
2859
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3958
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2860
3959
  };
2861
3960
  } | undefined;
2862
3961
  updatedAt?: {
2863
- type: "exact";
2864
- term: string;
2865
- } | {
2866
3962
  type: "range";
2867
3963
  gte: string;
2868
3964
  lte: string;
3965
+ } | {
3966
+ type: "exact";
3967
+ term: string;
3968
+ } | {
3969
+ type: "timePeriod";
3970
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2869
3971
  } | undefined;
2870
3972
  trackingId?: {
2871
3973
  type: "exact";
@@ -2874,28 +3976,47 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2874
3976
  updatedAtLocation?: {
2875
3977
  type: "exact";
2876
3978
  term: string | {
2877
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3979
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2878
3980
  };
2879
3981
  } | {
2880
3982
  type: "within";
2881
3983
  location: string | {
2882
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3984
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2883
3985
  };
2884
3986
  } | undefined;
2885
3987
  updatedBy?: {
2886
3988
  type: "exact";
2887
3989
  term: string | {
2888
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3990
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2889
3991
  };
2890
3992
  } | undefined;
2891
- flags?: ({
2892
- type: "anyOf";
2893
- terms: string[];
3993
+ flags?: {
3994
+ anyOf?: string[] | undefined;
3995
+ noneOf?: string[] | undefined;
3996
+ } | undefined;
3997
+ eventType?: string | undefined;
3998
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
3999
+ type: "exact";
4000
+ term: string;
2894
4001
  } | {
2895
- type: "not";
4002
+ type: "within";
4003
+ location: string;
4004
+ } | undefined;
4005
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
4006
+ type: "exact";
2896
4007
  term: string;
2897
- })[] | undefined;
2898
- eventType?: string | undefined;
4008
+ } | undefined;
4009
+ 'legalStatuses.REGISTERED.createdAt'?: {
4010
+ type: "range";
4011
+ gte: string;
4012
+ lte: string;
4013
+ } | {
4014
+ type: "exact";
4015
+ term: string;
4016
+ } | {
4017
+ type: "timePeriod";
4018
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
4019
+ } | undefined;
2899
4020
  }[];
2900
4021
  }, {
2901
4022
  type: "or";
@@ -2908,44 +4029,54 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2908
4029
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2909
4030
  } | undefined;
2910
4031
  data?: any;
2911
- createdAt?: {
4032
+ createdByUserType?: {
2912
4033
  type: "exact";
2913
- term: string;
2914
- } | {
4034
+ term: "system" | "user";
4035
+ } | undefined;
4036
+ createdAt?: {
2915
4037
  type: "range";
2916
4038
  gte: string;
2917
4039
  lte: string;
4040
+ } | {
4041
+ type: "exact";
4042
+ term: string;
4043
+ } | {
4044
+ type: "timePeriod";
4045
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2918
4046
  } | undefined;
2919
4047
  createdBy?: {
2920
4048
  type: "exact";
2921
4049
  term: string | {
2922
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
4050
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2923
4051
  };
2924
4052
  } | undefined;
2925
4053
  createdAtLocation?: {
2926
4054
  type: "exact";
2927
4055
  term: string | {
2928
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
4056
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2929
4057
  };
2930
4058
  } | {
2931
4059
  type: "within";
2932
4060
  location: string | {
2933
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
4061
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2934
4062
  };
2935
4063
  } | undefined;
2936
4064
  assignedTo?: {
2937
4065
  type: "exact";
2938
4066
  term: string | {
2939
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
4067
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2940
4068
  };
2941
4069
  } | undefined;
2942
4070
  updatedAt?: {
2943
- type: "exact";
2944
- term: string;
2945
- } | {
2946
4071
  type: "range";
2947
4072
  gte: string;
2948
4073
  lte: string;
4074
+ } | {
4075
+ type: "exact";
4076
+ term: string;
4077
+ } | {
4078
+ type: "timePeriod";
4079
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2949
4080
  } | undefined;
2950
4081
  trackingId?: {
2951
4082
  type: "exact";
@@ -2954,28 +4085,47 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2954
4085
  updatedAtLocation?: {
2955
4086
  type: "exact";
2956
4087
  term: string | {
2957
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
4088
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2958
4089
  };
2959
4090
  } | {
2960
4091
  type: "within";
2961
4092
  location: string | {
2962
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
4093
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2963
4094
  };
2964
4095
  } | undefined;
2965
4096
  updatedBy?: {
2966
4097
  type: "exact";
2967
4098
  term: string | {
2968
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
4099
+ $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2969
4100
  };
2970
4101
  } | undefined;
2971
- flags?: ({
2972
- type: "anyOf";
2973
- terms: string[];
4102
+ flags?: {
4103
+ anyOf?: string[] | undefined;
4104
+ noneOf?: string[] | undefined;
4105
+ } | undefined;
4106
+ eventType?: string | undefined;
4107
+ 'legalStatuses.REGISTERED.createdAtLocation'?: {
4108
+ type: "exact";
4109
+ term: string;
2974
4110
  } | {
2975
- type: "not";
4111
+ type: "within";
4112
+ location: string;
4113
+ } | undefined;
4114
+ 'legalStatuses.REGISTERED.registrationNumber'?: {
4115
+ type: "exact";
2976
4116
  term: string;
2977
- })[] | undefined;
2978
- eventType?: string | undefined;
4117
+ } | undefined;
4118
+ 'legalStatuses.REGISTERED.createdAt'?: {
4119
+ type: "range";
4120
+ gte: string;
4121
+ lte: string;
4122
+ } | {
4123
+ type: "exact";
4124
+ term: string;
4125
+ } | {
4126
+ type: "timePeriod";
4127
+ term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
4128
+ } | undefined;
2979
4129
  }[];
2980
4130
  }>]>;
2981
4131
  export type CountryConfigQueryInputType = z.infer<typeof CountryConfigQueryInputType>;