@opencrvs/toolkit 1.8.0-rc.f97f8f2 → 1.8.0-rc.f988670

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