@opencrvs/toolkit 1.8.0-rc.f7aaf07 → 1.8.0-rc.f7e1622

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