@opencrvs/toolkit 1.8.0-rc.f7e4aad → 1.8.0-rc.f807e0d

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