@opencrvs/toolkit 1.9.12-rc.cb552bd → 1.9.12-rc.cbd84ff

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 (99) hide show
  1. package/build.sh +4 -0
  2. package/dist/application-config/index.js +2045 -41
  3. package/dist/cli.js +3573 -4
  4. package/dist/commons/api/router.d.ts +242 -204
  5. package/dist/commons/application-config/index.d.ts +13 -16
  6. package/dist/commons/conditionals/conditionals.d.ts +3 -3
  7. package/dist/commons/events/ActionDocument.d.ts +198 -198
  8. package/dist/commons/events/ActionInput.d.ts +113 -113
  9. package/dist/commons/events/ActionType.d.ts +3 -3
  10. package/dist/commons/events/AdvancedSearchConfig.d.ts +16 -10
  11. package/dist/commons/events/CompositeFieldValue.d.ts +4 -4
  12. package/dist/commons/events/CountryConfigQueryInput.d.ts +443 -172
  13. package/dist/commons/events/Draft.d.ts +15 -15
  14. package/dist/commons/events/DynamicFieldValue.d.ts +37 -19
  15. package/dist/commons/events/EventConfig.d.ts +4 -2
  16. package/dist/commons/events/EventDocument.d.ts +81 -81
  17. package/dist/commons/events/EventIndex.d.ts +35 -27
  18. package/dist/commons/events/EventInput.d.ts +1 -1
  19. package/dist/commons/events/EventMetadata.d.ts +24 -24
  20. package/dist/commons/events/FieldConfig.d.ts +157 -46
  21. package/dist/commons/events/FieldType.d.ts +2 -1
  22. package/dist/commons/events/FieldTypeMapping.d.ts +98 -72
  23. package/dist/commons/events/FieldValue.d.ts +54 -26
  24. package/dist/commons/events/PlainDate.d.ts +1 -1
  25. package/dist/commons/events/WorkqueueColumnConfig.d.ts +16 -16
  26. package/dist/commons/events/WorkqueueConfig.d.ts +438 -194
  27. package/dist/commons/events/defineConfig.d.ts +0 -4
  28. package/dist/commons/events/locations.d.ts +4 -4
  29. package/dist/commons/events/scopes.d.ts +1 -1
  30. package/dist/commons/events/state/index.d.ts +2 -2
  31. package/dist/commons/events/state/utils.d.ts +3 -3
  32. package/dist/commons/events/utils.d.ts +5 -177
  33. package/dist/conditionals/index.js +13 -5
  34. package/dist/events/index.js +159 -37
  35. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts +3 -0
  36. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.d.ts.map +1 -0
  37. package/dist/migrations/v2.0/add-birth-certificate-issuance-flag.js +405 -0
  38. package/dist/migrations/v2.0/checkout-upstream-files.d.ts +3 -0
  39. package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -0
  40. package/dist/migrations/v2.0/checkout-upstream-files.js +143 -0
  41. package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts +2 -0
  42. package/dist/migrations/v2.0/convert-config-files-to-ts.d.ts.map +1 -0
  43. package/dist/migrations/v2.0/convert-config-files-to-ts.js +829 -0
  44. package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts +3 -0
  45. package/dist/migrations/v2.0/convert-paragraph-to-heading.d.ts.map +1 -0
  46. package/dist/migrations/v2.0/convert-paragraph-to-heading.js +159 -0
  47. package/dist/migrations/v2.0/create-events-index.d.ts +3 -0
  48. package/dist/migrations/v2.0/create-events-index.d.ts.map +1 -0
  49. package/dist/migrations/v2.0/create-events-index.js +326 -0
  50. package/dist/migrations/v2.0/index.d.ts +7 -0
  51. package/dist/migrations/v2.0/index.d.ts.map +1 -0
  52. package/dist/migrations/v2.0/index.js +3572 -0
  53. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts +3 -0
  54. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.d.ts.map +1 -0
  55. package/dist/migrations/v2.0/make-built-in-validate-actions-custom.js +344 -0
  56. package/dist/migrations/v2.0/migrate-scopes.d.ts +3 -0
  57. package/dist/migrations/v2.0/migrate-scopes.d.ts.map +1 -0
  58. package/dist/migrations/v2.0/migrate-scopes.js +282 -0
  59. package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts +3 -0
  60. package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.d.ts.map +1 -0
  61. package/dist/migrations/v2.0/migrate-validated-workqueue-status-to-flag.js +268 -0
  62. package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts +3 -0
  63. package/dist/migrations/v2.0/migrate-workqueue-configs.d.ts.map +1 -0
  64. package/dist/migrations/v2.0/migrate-workqueue-configs.js +237 -0
  65. package/dist/migrations/v2.0/remove-delete-actions.d.ts +3 -0
  66. package/dist/migrations/v2.0/remove-delete-actions.d.ts.map +1 -0
  67. package/dist/migrations/v2.0/remove-delete-actions.js +157 -0
  68. package/dist/migrations/v2.0/remove-demo-scope.d.ts +3 -0
  69. package/dist/migrations/v2.0/remove-demo-scope.d.ts.map +1 -0
  70. package/dist/migrations/v2.0/remove-demo-scope.js +75 -0
  71. package/dist/migrations/v2.0/remove-deprecated-imports.d.ts +3 -0
  72. package/dist/migrations/v2.0/remove-deprecated-imports.d.ts.map +1 -0
  73. package/dist/migrations/v2.0/remove-deprecated-imports.js +97 -0
  74. package/dist/migrations/v2.0/remove-hearth-migrations.d.ts +3 -0
  75. package/dist/migrations/v2.0/remove-hearth-migrations.d.ts.map +1 -0
  76. package/dist/migrations/v2.0/remove-hearth-migrations.js +78 -0
  77. package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts +3 -0
  78. package/dist/migrations/v2.0/remove-pending-certification-flag.d.ts.map +1 -0
  79. package/dist/migrations/v2.0/remove-pending-certification-flag.js +110 -0
  80. package/dist/migrations/v2.0/remove-review-from-register-action.d.ts +3 -0
  81. package/dist/migrations/v2.0/remove-review-from-register-action.d.ts.map +1 -0
  82. package/dist/migrations/v2.0/remove-review-from-register-action.js +164 -0
  83. package/dist/migrations/v2.0/rename-api-paths.d.ts +3 -0
  84. package/dist/migrations/v2.0/rename-api-paths.d.ts.map +1 -0
  85. package/dist/migrations/v2.0/rename-api-paths.js +188 -0
  86. package/dist/migrations/v2.0/rename-location-parent-id.d.ts +3 -0
  87. package/dist/migrations/v2.0/rename-location-parent-id.d.ts.map +1 -0
  88. package/dist/migrations/v2.0/rename-location-parent-id.js +181 -0
  89. package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts +3 -0
  90. package/dist/migrations/v2.0/simplify-analytics-precalculations.d.ts.map +1 -0
  91. package/dist/migrations/v2.0/simplify-analytics-precalculations.js +196 -0
  92. package/dist/notification/index.js +78 -25
  93. package/dist/scopes/index.d.ts +31 -10
  94. package/dist/scopes/index.js +17 -5
  95. package/opencrvs-toolkit-1.9.12-rc.cbd84ff.tgz +0 -0
  96. package/package.json +8 -7
  97. package/tsconfig.json +3 -0
  98. package/tsconfig.tsbuildinfo +1 -1
  99. package/opencrvs-toolkit-1.9.12-rc.cb552bd.tgz +0 -0
@@ -6,7 +6,7 @@ export declare const mandatoryColumns: {
6
6
  description: string;
7
7
  };
8
8
  value: {
9
- $event: "id" | "type" | "title" | "placeOfEvent" | "createdAt" | "createdAtLocation" | "trackingId" | "status" | "updatedAt" | "createdByUserType" | "createdBy" | "assignedTo" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
9
+ $event: "id" | "title" | "type" | "updatedAt" | "placeOfEvent" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "status" | "assignedTo" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
10
10
  };
11
11
  }[];
12
12
  /**
@@ -22,20 +22,20 @@ export declare const WorkqueueConfig: z.ZodObject<{
22
22
  status: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
23
23
  type: z.ZodLiteral<"anyOf">;
24
24
  terms: z.ZodArray<z.ZodEnum<{
25
- ARCHIVED: "ARCHIVED";
26
- DECLARED: "DECLARED";
27
- REGISTERED: "REGISTERED";
28
25
  CREATED: "CREATED";
29
26
  NOTIFIED: "NOTIFIED";
27
+ DECLARED: "DECLARED";
28
+ REGISTERED: "REGISTERED";
29
+ ARCHIVED: "ARCHIVED";
30
30
  }>>;
31
31
  }, z.core.$strip>, z.ZodObject<{
32
32
  type: z.ZodLiteral<"exact">;
33
33
  term: z.ZodEnum<{
34
- ARCHIVED: "ARCHIVED";
35
- DECLARED: "DECLARED";
36
- REGISTERED: "REGISTERED";
37
34
  CREATED: "CREATED";
38
35
  NOTIFIED: "NOTIFIED";
36
+ DECLARED: "DECLARED";
37
+ REGISTERED: "REGISTERED";
38
+ ARCHIVED: "ARCHIVED";
39
39
  }>;
40
40
  }, z.core.$strip>]>>>;
41
41
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -75,16 +75,16 @@ export declare const WorkqueueConfig: z.ZodObject<{
75
75
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
76
76
  $userField: z.ZodEnum<{
77
77
  id: "id";
78
- name: "name";
79
- role: "role";
80
- primaryOfficeId: "primaryOfficeId";
81
78
  firstname: "firstname";
82
79
  surname: "surname";
83
80
  middlename: "middlename";
81
+ name: "name";
82
+ role: "role";
84
83
  fullHonorificName: "fullHonorificName";
85
84
  device: "device";
86
85
  signature: "signature";
87
86
  avatar: "avatar";
87
+ primaryOfficeId: "primaryOfficeId";
88
88
  administrativeAreaId: "administrativeAreaId";
89
89
  }>;
90
90
  $location: z.ZodOptional<z.ZodString>;
@@ -115,16 +115,16 @@ export declare const WorkqueueConfig: z.ZodObject<{
115
115
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
116
116
  $userField: z.ZodEnum<{
117
117
  id: "id";
118
- name: "name";
119
- role: "role";
120
- primaryOfficeId: "primaryOfficeId";
121
118
  firstname: "firstname";
122
119
  surname: "surname";
123
120
  middlename: "middlename";
121
+ name: "name";
122
+ role: "role";
124
123
  fullHonorificName: "fullHonorificName";
125
124
  device: "device";
126
125
  signature: "signature";
127
126
  avatar: "avatar";
127
+ primaryOfficeId: "primaryOfficeId";
128
128
  administrativeAreaId: "administrativeAreaId";
129
129
  }>;
130
130
  $location: z.ZodOptional<z.ZodString>;
@@ -138,61 +138,99 @@ export declare const WorkqueueConfig: z.ZodObject<{
138
138
  type: z.ZodLiteral<"exact">;
139
139
  term: z.ZodString;
140
140
  }, z.core.$strip>>>;
141
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
141
+ createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
142
142
  type: z.ZodLiteral<"within">;
143
143
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
144
144
  $userField: z.ZodEnum<{
145
145
  id: "id";
146
+ firstname: "firstname";
147
+ surname: "surname";
148
+ middlename: "middlename";
146
149
  name: "name";
147
150
  role: "role";
151
+ fullHonorificName: "fullHonorificName";
152
+ device: "device";
153
+ signature: "signature";
154
+ avatar: "avatar";
148
155
  primaryOfficeId: "primaryOfficeId";
156
+ administrativeAreaId: "administrativeAreaId";
157
+ }>;
158
+ $location: z.ZodOptional<z.ZodString>;
159
+ }, z.core.$strip>]>;
160
+ }, z.core.$strip>, z.ZodObject<{
161
+ type: z.ZodLiteral<"exact">;
162
+ term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
163
+ $userField: z.ZodEnum<{
164
+ id: "id";
149
165
  firstname: "firstname";
150
166
  surname: "surname";
151
167
  middlename: "middlename";
168
+ name: "name";
169
+ role: "role";
152
170
  fullHonorificName: "fullHonorificName";
153
171
  device: "device";
154
172
  signature: "signature";
155
173
  avatar: "avatar";
174
+ primaryOfficeId: "primaryOfficeId";
156
175
  administrativeAreaId: "administrativeAreaId";
157
176
  }>;
158
177
  $location: z.ZodOptional<z.ZodString>;
159
178
  }, z.core.$strip>]>;
160
- }, z.core.$strip>>>;
161
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
179
+ }, z.core.$strip>]>>>;
180
+ updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
162
181
  type: z.ZodLiteral<"within">;
163
182
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
164
183
  $userField: z.ZodEnum<{
165
184
  id: "id";
185
+ firstname: "firstname";
186
+ surname: "surname";
187
+ middlename: "middlename";
166
188
  name: "name";
167
189
  role: "role";
190
+ fullHonorificName: "fullHonorificName";
191
+ device: "device";
192
+ signature: "signature";
193
+ avatar: "avatar";
168
194
  primaryOfficeId: "primaryOfficeId";
195
+ administrativeAreaId: "administrativeAreaId";
196
+ }>;
197
+ $location: z.ZodOptional<z.ZodString>;
198
+ }, z.core.$strip>]>;
199
+ }, z.core.$strip>, z.ZodObject<{
200
+ type: z.ZodLiteral<"exact">;
201
+ term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
202
+ $userField: z.ZodEnum<{
203
+ id: "id";
169
204
  firstname: "firstname";
170
205
  surname: "surname";
171
206
  middlename: "middlename";
207
+ name: "name";
208
+ role: "role";
172
209
  fullHonorificName: "fullHonorificName";
173
210
  device: "device";
174
211
  signature: "signature";
175
212
  avatar: "avatar";
213
+ primaryOfficeId: "primaryOfficeId";
176
214
  administrativeAreaId: "administrativeAreaId";
177
215
  }>;
178
216
  $location: z.ZodOptional<z.ZodString>;
179
217
  }, z.core.$strip>]>;
180
- }, z.core.$strip>>>;
218
+ }, z.core.$strip>]>>>;
181
219
  updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
182
220
  type: z.ZodLiteral<"exact">;
183
221
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
184
222
  $userField: z.ZodEnum<{
185
223
  id: "id";
186
- name: "name";
187
- role: "role";
188
- primaryOfficeId: "primaryOfficeId";
189
224
  firstname: "firstname";
190
225
  surname: "surname";
191
226
  middlename: "middlename";
227
+ name: "name";
228
+ role: "role";
192
229
  fullHonorificName: "fullHonorificName";
193
230
  device: "device";
194
231
  signature: "signature";
195
232
  avatar: "avatar";
233
+ primaryOfficeId: "primaryOfficeId";
196
234
  administrativeAreaId: "administrativeAreaId";
197
235
  }>;
198
236
  $location: z.ZodOptional<z.ZodString>;
@@ -203,16 +241,16 @@ export declare const WorkqueueConfig: z.ZodObject<{
203
241
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
204
242
  $userField: z.ZodEnum<{
205
243
  id: "id";
206
- name: "name";
207
- role: "role";
208
- primaryOfficeId: "primaryOfficeId";
209
244
  firstname: "firstname";
210
245
  surname: "surname";
211
246
  middlename: "middlename";
247
+ name: "name";
248
+ role: "role";
212
249
  fullHonorificName: "fullHonorificName";
213
250
  device: "device";
214
251
  signature: "signature";
215
252
  avatar: "avatar";
253
+ primaryOfficeId: "primaryOfficeId";
216
254
  administrativeAreaId: "administrativeAreaId";
217
255
  }>;
218
256
  $location: z.ZodOptional<z.ZodString>;
@@ -223,16 +261,16 @@ export declare const WorkqueueConfig: z.ZodObject<{
223
261
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
224
262
  $userField: z.ZodEnum<{
225
263
  id: "id";
226
- name: "name";
227
- role: "role";
228
- primaryOfficeId: "primaryOfficeId";
229
264
  firstname: "firstname";
230
265
  surname: "surname";
231
266
  middlename: "middlename";
267
+ name: "name";
268
+ role: "role";
232
269
  fullHonorificName: "fullHonorificName";
233
270
  device: "device";
234
271
  signature: "signature";
235
272
  avatar: "avatar";
273
+ primaryOfficeId: "primaryOfficeId";
236
274
  administrativeAreaId: "administrativeAreaId";
237
275
  }>;
238
276
  $location: z.ZodOptional<z.ZodString>;
@@ -250,16 +288,16 @@ export declare const WorkqueueConfig: z.ZodObject<{
250
288
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
251
289
  $userField: z.ZodEnum<{
252
290
  id: "id";
253
- name: "name";
254
- role: "role";
255
- primaryOfficeId: "primaryOfficeId";
256
291
  firstname: "firstname";
257
292
  surname: "surname";
258
293
  middlename: "middlename";
294
+ name: "name";
295
+ role: "role";
259
296
  fullHonorificName: "fullHonorificName";
260
297
  device: "device";
261
298
  signature: "signature";
262
299
  avatar: "avatar";
300
+ primaryOfficeId: "primaryOfficeId";
263
301
  administrativeAreaId: "administrativeAreaId";
264
302
  }>;
265
303
  $location: z.ZodOptional<z.ZodString>;
@@ -294,20 +332,20 @@ export declare const WorkqueueConfig: z.ZodObject<{
294
332
  status: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
295
333
  type: z.ZodLiteral<"anyOf">;
296
334
  terms: z.ZodArray<z.ZodEnum<{
297
- ARCHIVED: "ARCHIVED";
298
- DECLARED: "DECLARED";
299
- REGISTERED: "REGISTERED";
300
335
  CREATED: "CREATED";
301
336
  NOTIFIED: "NOTIFIED";
337
+ DECLARED: "DECLARED";
338
+ REGISTERED: "REGISTERED";
339
+ ARCHIVED: "ARCHIVED";
302
340
  }>>;
303
341
  }, z.core.$strip>, z.ZodObject<{
304
342
  type: z.ZodLiteral<"exact">;
305
343
  term: z.ZodEnum<{
306
- ARCHIVED: "ARCHIVED";
307
- DECLARED: "DECLARED";
308
- REGISTERED: "REGISTERED";
309
344
  CREATED: "CREATED";
310
345
  NOTIFIED: "NOTIFIED";
346
+ DECLARED: "DECLARED";
347
+ REGISTERED: "REGISTERED";
348
+ ARCHIVED: "ARCHIVED";
311
349
  }>;
312
350
  }, z.core.$strip>]>>>;
313
351
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -347,16 +385,16 @@ export declare const WorkqueueConfig: z.ZodObject<{
347
385
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
348
386
  $userField: z.ZodEnum<{
349
387
  id: "id";
350
- name: "name";
351
- role: "role";
352
- primaryOfficeId: "primaryOfficeId";
353
388
  firstname: "firstname";
354
389
  surname: "surname";
355
390
  middlename: "middlename";
391
+ name: "name";
392
+ role: "role";
356
393
  fullHonorificName: "fullHonorificName";
357
394
  device: "device";
358
395
  signature: "signature";
359
396
  avatar: "avatar";
397
+ primaryOfficeId: "primaryOfficeId";
360
398
  administrativeAreaId: "administrativeAreaId";
361
399
  }>;
362
400
  $location: z.ZodOptional<z.ZodString>;
@@ -387,16 +425,16 @@ export declare const WorkqueueConfig: z.ZodObject<{
387
425
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
388
426
  $userField: z.ZodEnum<{
389
427
  id: "id";
390
- name: "name";
391
- role: "role";
392
- primaryOfficeId: "primaryOfficeId";
393
428
  firstname: "firstname";
394
429
  surname: "surname";
395
430
  middlename: "middlename";
431
+ name: "name";
432
+ role: "role";
396
433
  fullHonorificName: "fullHonorificName";
397
434
  device: "device";
398
435
  signature: "signature";
399
436
  avatar: "avatar";
437
+ primaryOfficeId: "primaryOfficeId";
400
438
  administrativeAreaId: "administrativeAreaId";
401
439
  }>;
402
440
  $location: z.ZodOptional<z.ZodString>;
@@ -410,61 +448,99 @@ export declare const WorkqueueConfig: z.ZodObject<{
410
448
  type: z.ZodLiteral<"exact">;
411
449
  term: z.ZodString;
412
450
  }, z.core.$strip>>>;
413
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
451
+ createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
414
452
  type: z.ZodLiteral<"within">;
415
453
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
416
454
  $userField: z.ZodEnum<{
417
455
  id: "id";
456
+ firstname: "firstname";
457
+ surname: "surname";
458
+ middlename: "middlename";
418
459
  name: "name";
419
460
  role: "role";
461
+ fullHonorificName: "fullHonorificName";
462
+ device: "device";
463
+ signature: "signature";
464
+ avatar: "avatar";
420
465
  primaryOfficeId: "primaryOfficeId";
466
+ administrativeAreaId: "administrativeAreaId";
467
+ }>;
468
+ $location: z.ZodOptional<z.ZodString>;
469
+ }, z.core.$strip>]>;
470
+ }, z.core.$strip>, z.ZodObject<{
471
+ type: z.ZodLiteral<"exact">;
472
+ term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
473
+ $userField: z.ZodEnum<{
474
+ id: "id";
421
475
  firstname: "firstname";
422
476
  surname: "surname";
423
477
  middlename: "middlename";
478
+ name: "name";
479
+ role: "role";
424
480
  fullHonorificName: "fullHonorificName";
425
481
  device: "device";
426
482
  signature: "signature";
427
483
  avatar: "avatar";
484
+ primaryOfficeId: "primaryOfficeId";
428
485
  administrativeAreaId: "administrativeAreaId";
429
486
  }>;
430
487
  $location: z.ZodOptional<z.ZodString>;
431
488
  }, z.core.$strip>]>;
432
- }, z.core.$strip>>>;
433
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
489
+ }, z.core.$strip>]>>>;
490
+ updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
434
491
  type: z.ZodLiteral<"within">;
435
492
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
436
493
  $userField: z.ZodEnum<{
437
494
  id: "id";
495
+ firstname: "firstname";
496
+ surname: "surname";
497
+ middlename: "middlename";
438
498
  name: "name";
439
499
  role: "role";
500
+ fullHonorificName: "fullHonorificName";
501
+ device: "device";
502
+ signature: "signature";
503
+ avatar: "avatar";
440
504
  primaryOfficeId: "primaryOfficeId";
505
+ administrativeAreaId: "administrativeAreaId";
506
+ }>;
507
+ $location: z.ZodOptional<z.ZodString>;
508
+ }, z.core.$strip>]>;
509
+ }, z.core.$strip>, z.ZodObject<{
510
+ type: z.ZodLiteral<"exact">;
511
+ term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
512
+ $userField: z.ZodEnum<{
513
+ id: "id";
441
514
  firstname: "firstname";
442
515
  surname: "surname";
443
516
  middlename: "middlename";
517
+ name: "name";
518
+ role: "role";
444
519
  fullHonorificName: "fullHonorificName";
445
520
  device: "device";
446
521
  signature: "signature";
447
522
  avatar: "avatar";
523
+ primaryOfficeId: "primaryOfficeId";
448
524
  administrativeAreaId: "administrativeAreaId";
449
525
  }>;
450
526
  $location: z.ZodOptional<z.ZodString>;
451
527
  }, z.core.$strip>]>;
452
- }, z.core.$strip>>>;
528
+ }, z.core.$strip>]>>>;
453
529
  updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
454
530
  type: z.ZodLiteral<"exact">;
455
531
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
456
532
  $userField: z.ZodEnum<{
457
533
  id: "id";
458
- name: "name";
459
- role: "role";
460
- primaryOfficeId: "primaryOfficeId";
461
534
  firstname: "firstname";
462
535
  surname: "surname";
463
536
  middlename: "middlename";
537
+ name: "name";
538
+ role: "role";
464
539
  fullHonorificName: "fullHonorificName";
465
540
  device: "device";
466
541
  signature: "signature";
467
542
  avatar: "avatar";
543
+ primaryOfficeId: "primaryOfficeId";
468
544
  administrativeAreaId: "administrativeAreaId";
469
545
  }>;
470
546
  $location: z.ZodOptional<z.ZodString>;
@@ -475,16 +551,16 @@ export declare const WorkqueueConfig: z.ZodObject<{
475
551
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
476
552
  $userField: z.ZodEnum<{
477
553
  id: "id";
478
- name: "name";
479
- role: "role";
480
- primaryOfficeId: "primaryOfficeId";
481
554
  firstname: "firstname";
482
555
  surname: "surname";
483
556
  middlename: "middlename";
557
+ name: "name";
558
+ role: "role";
484
559
  fullHonorificName: "fullHonorificName";
485
560
  device: "device";
486
561
  signature: "signature";
487
562
  avatar: "avatar";
563
+ primaryOfficeId: "primaryOfficeId";
488
564
  administrativeAreaId: "administrativeAreaId";
489
565
  }>;
490
566
  $location: z.ZodOptional<z.ZodString>;
@@ -495,16 +571,16 @@ export declare const WorkqueueConfig: z.ZodObject<{
495
571
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
496
572
  $userField: z.ZodEnum<{
497
573
  id: "id";
498
- name: "name";
499
- role: "role";
500
- primaryOfficeId: "primaryOfficeId";
501
574
  firstname: "firstname";
502
575
  surname: "surname";
503
576
  middlename: "middlename";
577
+ name: "name";
578
+ role: "role";
504
579
  fullHonorificName: "fullHonorificName";
505
580
  device: "device";
506
581
  signature: "signature";
507
582
  avatar: "avatar";
583
+ primaryOfficeId: "primaryOfficeId";
508
584
  administrativeAreaId: "administrativeAreaId";
509
585
  }>;
510
586
  $location: z.ZodOptional<z.ZodString>;
@@ -522,16 +598,16 @@ export declare const WorkqueueConfig: z.ZodObject<{
522
598
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
523
599
  $userField: z.ZodEnum<{
524
600
  id: "id";
525
- name: "name";
526
- role: "role";
527
- primaryOfficeId: "primaryOfficeId";
528
601
  firstname: "firstname";
529
602
  surname: "surname";
530
603
  middlename: "middlename";
604
+ name: "name";
605
+ role: "role";
531
606
  fullHonorificName: "fullHonorificName";
532
607
  device: "device";
533
608
  signature: "signature";
534
609
  avatar: "avatar";
610
+ primaryOfficeId: "primaryOfficeId";
535
611
  administrativeAreaId: "administrativeAreaId";
536
612
  }>;
537
613
  $location: z.ZodOptional<z.ZodString>;
@@ -579,17 +655,17 @@ export declare const WorkqueueConfig: z.ZodObject<{
579
655
  value: z.ZodObject<{
580
656
  $event: z.ZodEnum<{
581
657
  id: "id";
582
- type: "type";
583
658
  title: "title";
659
+ type: "type";
660
+ updatedAt: "updatedAt";
584
661
  placeOfEvent: "placeOfEvent";
662
+ createdByUserType: "createdByUserType";
585
663
  createdAt: "createdAt";
664
+ createdBy: "createdBy";
586
665
  createdAtLocation: "createdAtLocation";
587
- trackingId: "trackingId";
588
666
  status: "status";
589
- updatedAt: "updatedAt";
590
- createdByUserType: "createdByUserType";
591
- createdBy: "createdBy";
592
667
  assignedTo: "assignedTo";
668
+ trackingId: "trackingId";
593
669
  legalStatuses: "legalStatuses";
594
670
  dateOfEvent: "dateOfEvent";
595
671
  updatedByUserRole: "updatedByUserRole";
@@ -839,20 +915,20 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
839
915
  status: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
840
916
  type: z.ZodLiteral<"anyOf">;
841
917
  terms: z.ZodArray<z.ZodEnum<{
842
- ARCHIVED: "ARCHIVED";
843
- DECLARED: "DECLARED";
844
- REGISTERED: "REGISTERED";
845
918
  CREATED: "CREATED";
846
919
  NOTIFIED: "NOTIFIED";
920
+ DECLARED: "DECLARED";
921
+ REGISTERED: "REGISTERED";
922
+ ARCHIVED: "ARCHIVED";
847
923
  }>>;
848
924
  }, z.core.$strip>, z.ZodObject<{
849
925
  type: z.ZodLiteral<"exact">;
850
926
  term: z.ZodEnum<{
851
- ARCHIVED: "ARCHIVED";
852
- DECLARED: "DECLARED";
853
- REGISTERED: "REGISTERED";
854
927
  CREATED: "CREATED";
855
928
  NOTIFIED: "NOTIFIED";
929
+ DECLARED: "DECLARED";
930
+ REGISTERED: "REGISTERED";
931
+ ARCHIVED: "ARCHIVED";
856
932
  }>;
857
933
  }, z.core.$strip>]>>>;
858
934
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -892,16 +968,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
892
968
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
893
969
  $userField: z.ZodEnum<{
894
970
  id: "id";
895
- name: "name";
896
- role: "role";
897
- primaryOfficeId: "primaryOfficeId";
898
971
  firstname: "firstname";
899
972
  surname: "surname";
900
973
  middlename: "middlename";
974
+ name: "name";
975
+ role: "role";
901
976
  fullHonorificName: "fullHonorificName";
902
977
  device: "device";
903
978
  signature: "signature";
904
979
  avatar: "avatar";
980
+ primaryOfficeId: "primaryOfficeId";
905
981
  administrativeAreaId: "administrativeAreaId";
906
982
  }>;
907
983
  $location: z.ZodOptional<z.ZodString>;
@@ -932,16 +1008,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
932
1008
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
933
1009
  $userField: z.ZodEnum<{
934
1010
  id: "id";
935
- name: "name";
936
- role: "role";
937
- primaryOfficeId: "primaryOfficeId";
938
1011
  firstname: "firstname";
939
1012
  surname: "surname";
940
1013
  middlename: "middlename";
1014
+ name: "name";
1015
+ role: "role";
941
1016
  fullHonorificName: "fullHonorificName";
942
1017
  device: "device";
943
1018
  signature: "signature";
944
1019
  avatar: "avatar";
1020
+ primaryOfficeId: "primaryOfficeId";
945
1021
  administrativeAreaId: "administrativeAreaId";
946
1022
  }>;
947
1023
  $location: z.ZodOptional<z.ZodString>;
@@ -955,61 +1031,99 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
955
1031
  type: z.ZodLiteral<"exact">;
956
1032
  term: z.ZodString;
957
1033
  }, z.core.$strip>>>;
958
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1034
+ createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
959
1035
  type: z.ZodLiteral<"within">;
960
1036
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
961
1037
  $userField: z.ZodEnum<{
962
1038
  id: "id";
1039
+ firstname: "firstname";
1040
+ surname: "surname";
1041
+ middlename: "middlename";
963
1042
  name: "name";
964
1043
  role: "role";
1044
+ fullHonorificName: "fullHonorificName";
1045
+ device: "device";
1046
+ signature: "signature";
1047
+ avatar: "avatar";
965
1048
  primaryOfficeId: "primaryOfficeId";
1049
+ administrativeAreaId: "administrativeAreaId";
1050
+ }>;
1051
+ $location: z.ZodOptional<z.ZodString>;
1052
+ }, z.core.$strip>]>;
1053
+ }, z.core.$strip>, z.ZodObject<{
1054
+ type: z.ZodLiteral<"exact">;
1055
+ term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1056
+ $userField: z.ZodEnum<{
1057
+ id: "id";
966
1058
  firstname: "firstname";
967
1059
  surname: "surname";
968
1060
  middlename: "middlename";
1061
+ name: "name";
1062
+ role: "role";
969
1063
  fullHonorificName: "fullHonorificName";
970
1064
  device: "device";
971
1065
  signature: "signature";
972
1066
  avatar: "avatar";
1067
+ primaryOfficeId: "primaryOfficeId";
973
1068
  administrativeAreaId: "administrativeAreaId";
974
1069
  }>;
975
1070
  $location: z.ZodOptional<z.ZodString>;
976
1071
  }, z.core.$strip>]>;
977
- }, z.core.$strip>>>;
978
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1072
+ }, z.core.$strip>]>>>;
1073
+ updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
979
1074
  type: z.ZodLiteral<"within">;
980
1075
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
981
1076
  $userField: z.ZodEnum<{
982
1077
  id: "id";
1078
+ firstname: "firstname";
1079
+ surname: "surname";
1080
+ middlename: "middlename";
983
1081
  name: "name";
984
1082
  role: "role";
1083
+ fullHonorificName: "fullHonorificName";
1084
+ device: "device";
1085
+ signature: "signature";
1086
+ avatar: "avatar";
985
1087
  primaryOfficeId: "primaryOfficeId";
1088
+ administrativeAreaId: "administrativeAreaId";
1089
+ }>;
1090
+ $location: z.ZodOptional<z.ZodString>;
1091
+ }, z.core.$strip>]>;
1092
+ }, z.core.$strip>, z.ZodObject<{
1093
+ type: z.ZodLiteral<"exact">;
1094
+ term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1095
+ $userField: z.ZodEnum<{
1096
+ id: "id";
986
1097
  firstname: "firstname";
987
1098
  surname: "surname";
988
1099
  middlename: "middlename";
1100
+ name: "name";
1101
+ role: "role";
989
1102
  fullHonorificName: "fullHonorificName";
990
1103
  device: "device";
991
1104
  signature: "signature";
992
1105
  avatar: "avatar";
1106
+ primaryOfficeId: "primaryOfficeId";
993
1107
  administrativeAreaId: "administrativeAreaId";
994
1108
  }>;
995
1109
  $location: z.ZodOptional<z.ZodString>;
996
1110
  }, z.core.$strip>]>;
997
- }, z.core.$strip>>>;
1111
+ }, z.core.$strip>]>>>;
998
1112
  updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
999
1113
  type: z.ZodLiteral<"exact">;
1000
1114
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1001
1115
  $userField: z.ZodEnum<{
1002
1116
  id: "id";
1003
- name: "name";
1004
- role: "role";
1005
- primaryOfficeId: "primaryOfficeId";
1006
1117
  firstname: "firstname";
1007
1118
  surname: "surname";
1008
1119
  middlename: "middlename";
1120
+ name: "name";
1121
+ role: "role";
1009
1122
  fullHonorificName: "fullHonorificName";
1010
1123
  device: "device";
1011
1124
  signature: "signature";
1012
1125
  avatar: "avatar";
1126
+ primaryOfficeId: "primaryOfficeId";
1013
1127
  administrativeAreaId: "administrativeAreaId";
1014
1128
  }>;
1015
1129
  $location: z.ZodOptional<z.ZodString>;
@@ -1020,16 +1134,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1020
1134
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1021
1135
  $userField: z.ZodEnum<{
1022
1136
  id: "id";
1023
- name: "name";
1024
- role: "role";
1025
- primaryOfficeId: "primaryOfficeId";
1026
1137
  firstname: "firstname";
1027
1138
  surname: "surname";
1028
1139
  middlename: "middlename";
1140
+ name: "name";
1141
+ role: "role";
1029
1142
  fullHonorificName: "fullHonorificName";
1030
1143
  device: "device";
1031
1144
  signature: "signature";
1032
1145
  avatar: "avatar";
1146
+ primaryOfficeId: "primaryOfficeId";
1033
1147
  administrativeAreaId: "administrativeAreaId";
1034
1148
  }>;
1035
1149
  $location: z.ZodOptional<z.ZodString>;
@@ -1040,16 +1154,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1040
1154
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1041
1155
  $userField: z.ZodEnum<{
1042
1156
  id: "id";
1043
- name: "name";
1044
- role: "role";
1045
- primaryOfficeId: "primaryOfficeId";
1046
1157
  firstname: "firstname";
1047
1158
  surname: "surname";
1048
1159
  middlename: "middlename";
1160
+ name: "name";
1161
+ role: "role";
1049
1162
  fullHonorificName: "fullHonorificName";
1050
1163
  device: "device";
1051
1164
  signature: "signature";
1052
1165
  avatar: "avatar";
1166
+ primaryOfficeId: "primaryOfficeId";
1053
1167
  administrativeAreaId: "administrativeAreaId";
1054
1168
  }>;
1055
1169
  $location: z.ZodOptional<z.ZodString>;
@@ -1067,16 +1181,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1067
1181
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1068
1182
  $userField: z.ZodEnum<{
1069
1183
  id: "id";
1070
- name: "name";
1071
- role: "role";
1072
- primaryOfficeId: "primaryOfficeId";
1073
1184
  firstname: "firstname";
1074
1185
  surname: "surname";
1075
1186
  middlename: "middlename";
1187
+ name: "name";
1188
+ role: "role";
1076
1189
  fullHonorificName: "fullHonorificName";
1077
1190
  device: "device";
1078
1191
  signature: "signature";
1079
1192
  avatar: "avatar";
1193
+ primaryOfficeId: "primaryOfficeId";
1080
1194
  administrativeAreaId: "administrativeAreaId";
1081
1195
  }>;
1082
1196
  $location: z.ZodOptional<z.ZodString>;
@@ -1110,20 +1224,20 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1110
1224
  status: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1111
1225
  type: z.ZodLiteral<"anyOf">;
1112
1226
  terms: z.ZodArray<z.ZodEnum<{
1113
- ARCHIVED: "ARCHIVED";
1114
- DECLARED: "DECLARED";
1115
- REGISTERED: "REGISTERED";
1116
1227
  CREATED: "CREATED";
1117
1228
  NOTIFIED: "NOTIFIED";
1229
+ DECLARED: "DECLARED";
1230
+ REGISTERED: "REGISTERED";
1231
+ ARCHIVED: "ARCHIVED";
1118
1232
  }>>;
1119
1233
  }, z.core.$strip>, z.ZodObject<{
1120
1234
  type: z.ZodLiteral<"exact">;
1121
1235
  term: z.ZodEnum<{
1122
- ARCHIVED: "ARCHIVED";
1123
- DECLARED: "DECLARED";
1124
- REGISTERED: "REGISTERED";
1125
1236
  CREATED: "CREATED";
1126
1237
  NOTIFIED: "NOTIFIED";
1238
+ DECLARED: "DECLARED";
1239
+ REGISTERED: "REGISTERED";
1240
+ ARCHIVED: "ARCHIVED";
1127
1241
  }>;
1128
1242
  }, z.core.$strip>]>>>;
1129
1243
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -1163,16 +1277,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1163
1277
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1164
1278
  $userField: z.ZodEnum<{
1165
1279
  id: "id";
1166
- name: "name";
1167
- role: "role";
1168
- primaryOfficeId: "primaryOfficeId";
1169
1280
  firstname: "firstname";
1170
1281
  surname: "surname";
1171
1282
  middlename: "middlename";
1283
+ name: "name";
1284
+ role: "role";
1172
1285
  fullHonorificName: "fullHonorificName";
1173
1286
  device: "device";
1174
1287
  signature: "signature";
1175
1288
  avatar: "avatar";
1289
+ primaryOfficeId: "primaryOfficeId";
1176
1290
  administrativeAreaId: "administrativeAreaId";
1177
1291
  }>;
1178
1292
  $location: z.ZodOptional<z.ZodString>;
@@ -1203,16 +1317,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1203
1317
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1204
1318
  $userField: z.ZodEnum<{
1205
1319
  id: "id";
1206
- name: "name";
1207
- role: "role";
1208
- primaryOfficeId: "primaryOfficeId";
1209
1320
  firstname: "firstname";
1210
1321
  surname: "surname";
1211
1322
  middlename: "middlename";
1323
+ name: "name";
1324
+ role: "role";
1212
1325
  fullHonorificName: "fullHonorificName";
1213
1326
  device: "device";
1214
1327
  signature: "signature";
1215
1328
  avatar: "avatar";
1329
+ primaryOfficeId: "primaryOfficeId";
1216
1330
  administrativeAreaId: "administrativeAreaId";
1217
1331
  }>;
1218
1332
  $location: z.ZodOptional<z.ZodString>;
@@ -1226,61 +1340,99 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1226
1340
  type: z.ZodLiteral<"exact">;
1227
1341
  term: z.ZodString;
1228
1342
  }, z.core.$strip>>>;
1229
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1343
+ createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1230
1344
  type: z.ZodLiteral<"within">;
1231
1345
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1232
1346
  $userField: z.ZodEnum<{
1233
1347
  id: "id";
1348
+ firstname: "firstname";
1349
+ surname: "surname";
1350
+ middlename: "middlename";
1234
1351
  name: "name";
1235
1352
  role: "role";
1353
+ fullHonorificName: "fullHonorificName";
1354
+ device: "device";
1355
+ signature: "signature";
1356
+ avatar: "avatar";
1236
1357
  primaryOfficeId: "primaryOfficeId";
1358
+ administrativeAreaId: "administrativeAreaId";
1359
+ }>;
1360
+ $location: z.ZodOptional<z.ZodString>;
1361
+ }, z.core.$strip>]>;
1362
+ }, z.core.$strip>, z.ZodObject<{
1363
+ type: z.ZodLiteral<"exact">;
1364
+ term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1365
+ $userField: z.ZodEnum<{
1366
+ id: "id";
1237
1367
  firstname: "firstname";
1238
1368
  surname: "surname";
1239
1369
  middlename: "middlename";
1370
+ name: "name";
1371
+ role: "role";
1240
1372
  fullHonorificName: "fullHonorificName";
1241
1373
  device: "device";
1242
1374
  signature: "signature";
1243
1375
  avatar: "avatar";
1376
+ primaryOfficeId: "primaryOfficeId";
1244
1377
  administrativeAreaId: "administrativeAreaId";
1245
1378
  }>;
1246
1379
  $location: z.ZodOptional<z.ZodString>;
1247
1380
  }, z.core.$strip>]>;
1248
- }, z.core.$strip>>>;
1249
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1381
+ }, z.core.$strip>]>>>;
1382
+ updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1250
1383
  type: z.ZodLiteral<"within">;
1251
1384
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1252
1385
  $userField: z.ZodEnum<{
1253
1386
  id: "id";
1387
+ firstname: "firstname";
1388
+ surname: "surname";
1389
+ middlename: "middlename";
1254
1390
  name: "name";
1255
1391
  role: "role";
1392
+ fullHonorificName: "fullHonorificName";
1393
+ device: "device";
1394
+ signature: "signature";
1395
+ avatar: "avatar";
1256
1396
  primaryOfficeId: "primaryOfficeId";
1397
+ administrativeAreaId: "administrativeAreaId";
1398
+ }>;
1399
+ $location: z.ZodOptional<z.ZodString>;
1400
+ }, z.core.$strip>]>;
1401
+ }, z.core.$strip>, z.ZodObject<{
1402
+ type: z.ZodLiteral<"exact">;
1403
+ term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1404
+ $userField: z.ZodEnum<{
1405
+ id: "id";
1257
1406
  firstname: "firstname";
1258
1407
  surname: "surname";
1259
1408
  middlename: "middlename";
1409
+ name: "name";
1410
+ role: "role";
1260
1411
  fullHonorificName: "fullHonorificName";
1261
1412
  device: "device";
1262
1413
  signature: "signature";
1263
1414
  avatar: "avatar";
1415
+ primaryOfficeId: "primaryOfficeId";
1264
1416
  administrativeAreaId: "administrativeAreaId";
1265
1417
  }>;
1266
1418
  $location: z.ZodOptional<z.ZodString>;
1267
1419
  }, z.core.$strip>]>;
1268
- }, z.core.$strip>>>;
1420
+ }, z.core.$strip>]>>>;
1269
1421
  updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1270
1422
  type: z.ZodLiteral<"exact">;
1271
1423
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1272
1424
  $userField: z.ZodEnum<{
1273
1425
  id: "id";
1274
- name: "name";
1275
- role: "role";
1276
- primaryOfficeId: "primaryOfficeId";
1277
1426
  firstname: "firstname";
1278
1427
  surname: "surname";
1279
1428
  middlename: "middlename";
1429
+ name: "name";
1430
+ role: "role";
1280
1431
  fullHonorificName: "fullHonorificName";
1281
1432
  device: "device";
1282
1433
  signature: "signature";
1283
1434
  avatar: "avatar";
1435
+ primaryOfficeId: "primaryOfficeId";
1284
1436
  administrativeAreaId: "administrativeAreaId";
1285
1437
  }>;
1286
1438
  $location: z.ZodOptional<z.ZodString>;
@@ -1291,16 +1443,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1291
1443
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1292
1444
  $userField: z.ZodEnum<{
1293
1445
  id: "id";
1294
- name: "name";
1295
- role: "role";
1296
- primaryOfficeId: "primaryOfficeId";
1297
1446
  firstname: "firstname";
1298
1447
  surname: "surname";
1299
1448
  middlename: "middlename";
1449
+ name: "name";
1450
+ role: "role";
1300
1451
  fullHonorificName: "fullHonorificName";
1301
1452
  device: "device";
1302
1453
  signature: "signature";
1303
1454
  avatar: "avatar";
1455
+ primaryOfficeId: "primaryOfficeId";
1304
1456
  administrativeAreaId: "administrativeAreaId";
1305
1457
  }>;
1306
1458
  $location: z.ZodOptional<z.ZodString>;
@@ -1311,16 +1463,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1311
1463
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1312
1464
  $userField: z.ZodEnum<{
1313
1465
  id: "id";
1314
- name: "name";
1315
- role: "role";
1316
- primaryOfficeId: "primaryOfficeId";
1317
1466
  firstname: "firstname";
1318
1467
  surname: "surname";
1319
1468
  middlename: "middlename";
1469
+ name: "name";
1470
+ role: "role";
1320
1471
  fullHonorificName: "fullHonorificName";
1321
1472
  device: "device";
1322
1473
  signature: "signature";
1323
1474
  avatar: "avatar";
1475
+ primaryOfficeId: "primaryOfficeId";
1324
1476
  administrativeAreaId: "administrativeAreaId";
1325
1477
  }>;
1326
1478
  $location: z.ZodOptional<z.ZodString>;
@@ -1338,16 +1490,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1338
1490
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1339
1491
  $userField: z.ZodEnum<{
1340
1492
  id: "id";
1341
- name: "name";
1342
- role: "role";
1343
- primaryOfficeId: "primaryOfficeId";
1344
1493
  firstname: "firstname";
1345
1494
  surname: "surname";
1346
1495
  middlename: "middlename";
1496
+ name: "name";
1497
+ role: "role";
1347
1498
  fullHonorificName: "fullHonorificName";
1348
1499
  device: "device";
1349
1500
  signature: "signature";
1350
1501
  avatar: "avatar";
1502
+ primaryOfficeId: "primaryOfficeId";
1351
1503
  administrativeAreaId: "administrativeAreaId";
1352
1504
  }>;
1353
1505
  $location: z.ZodOptional<z.ZodString>;
@@ -1382,20 +1534,20 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1382
1534
  status: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1383
1535
  type: z.ZodLiteral<"anyOf">;
1384
1536
  terms: z.ZodArray<z.ZodEnum<{
1385
- ARCHIVED: "ARCHIVED";
1386
- DECLARED: "DECLARED";
1387
- REGISTERED: "REGISTERED";
1388
1537
  CREATED: "CREATED";
1389
1538
  NOTIFIED: "NOTIFIED";
1539
+ DECLARED: "DECLARED";
1540
+ REGISTERED: "REGISTERED";
1541
+ ARCHIVED: "ARCHIVED";
1390
1542
  }>>;
1391
1543
  }, z.core.$strip>, z.ZodObject<{
1392
1544
  type: z.ZodLiteral<"exact">;
1393
1545
  term: z.ZodEnum<{
1394
- ARCHIVED: "ARCHIVED";
1395
- DECLARED: "DECLARED";
1396
- REGISTERED: "REGISTERED";
1397
1546
  CREATED: "CREATED";
1398
1547
  NOTIFIED: "NOTIFIED";
1548
+ DECLARED: "DECLARED";
1549
+ REGISTERED: "REGISTERED";
1550
+ ARCHIVED: "ARCHIVED";
1399
1551
  }>;
1400
1552
  }, z.core.$strip>]>>>;
1401
1553
  createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
@@ -1435,16 +1587,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1435
1587
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1436
1588
  $userField: z.ZodEnum<{
1437
1589
  id: "id";
1438
- name: "name";
1439
- role: "role";
1440
- primaryOfficeId: "primaryOfficeId";
1441
1590
  firstname: "firstname";
1442
1591
  surname: "surname";
1443
1592
  middlename: "middlename";
1593
+ name: "name";
1594
+ role: "role";
1444
1595
  fullHonorificName: "fullHonorificName";
1445
1596
  device: "device";
1446
1597
  signature: "signature";
1447
1598
  avatar: "avatar";
1599
+ primaryOfficeId: "primaryOfficeId";
1448
1600
  administrativeAreaId: "administrativeAreaId";
1449
1601
  }>;
1450
1602
  $location: z.ZodOptional<z.ZodString>;
@@ -1475,16 +1627,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1475
1627
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1476
1628
  $userField: z.ZodEnum<{
1477
1629
  id: "id";
1478
- name: "name";
1479
- role: "role";
1480
- primaryOfficeId: "primaryOfficeId";
1481
1630
  firstname: "firstname";
1482
1631
  surname: "surname";
1483
1632
  middlename: "middlename";
1633
+ name: "name";
1634
+ role: "role";
1484
1635
  fullHonorificName: "fullHonorificName";
1485
1636
  device: "device";
1486
1637
  signature: "signature";
1487
1638
  avatar: "avatar";
1639
+ primaryOfficeId: "primaryOfficeId";
1488
1640
  administrativeAreaId: "administrativeAreaId";
1489
1641
  }>;
1490
1642
  $location: z.ZodOptional<z.ZodString>;
@@ -1498,61 +1650,99 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1498
1650
  type: z.ZodLiteral<"exact">;
1499
1651
  term: z.ZodString;
1500
1652
  }, z.core.$strip>>>;
1501
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1653
+ createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1502
1654
  type: z.ZodLiteral<"within">;
1503
1655
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1504
1656
  $userField: z.ZodEnum<{
1505
1657
  id: "id";
1658
+ firstname: "firstname";
1659
+ surname: "surname";
1660
+ middlename: "middlename";
1506
1661
  name: "name";
1507
1662
  role: "role";
1663
+ fullHonorificName: "fullHonorificName";
1664
+ device: "device";
1665
+ signature: "signature";
1666
+ avatar: "avatar";
1508
1667
  primaryOfficeId: "primaryOfficeId";
1668
+ administrativeAreaId: "administrativeAreaId";
1669
+ }>;
1670
+ $location: z.ZodOptional<z.ZodString>;
1671
+ }, z.core.$strip>]>;
1672
+ }, z.core.$strip>, z.ZodObject<{
1673
+ type: z.ZodLiteral<"exact">;
1674
+ term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1675
+ $userField: z.ZodEnum<{
1676
+ id: "id";
1509
1677
  firstname: "firstname";
1510
1678
  surname: "surname";
1511
1679
  middlename: "middlename";
1680
+ name: "name";
1681
+ role: "role";
1512
1682
  fullHonorificName: "fullHonorificName";
1513
1683
  device: "device";
1514
1684
  signature: "signature";
1515
1685
  avatar: "avatar";
1686
+ primaryOfficeId: "primaryOfficeId";
1516
1687
  administrativeAreaId: "administrativeAreaId";
1517
1688
  }>;
1518
1689
  $location: z.ZodOptional<z.ZodString>;
1519
1690
  }, z.core.$strip>]>;
1520
- }, z.core.$strip>>>;
1521
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1691
+ }, z.core.$strip>]>>>;
1692
+ updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1522
1693
  type: z.ZodLiteral<"within">;
1523
1694
  location: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1524
1695
  $userField: z.ZodEnum<{
1525
1696
  id: "id";
1697
+ firstname: "firstname";
1698
+ surname: "surname";
1699
+ middlename: "middlename";
1526
1700
  name: "name";
1527
1701
  role: "role";
1702
+ fullHonorificName: "fullHonorificName";
1703
+ device: "device";
1704
+ signature: "signature";
1705
+ avatar: "avatar";
1528
1706
  primaryOfficeId: "primaryOfficeId";
1707
+ administrativeAreaId: "administrativeAreaId";
1708
+ }>;
1709
+ $location: z.ZodOptional<z.ZodString>;
1710
+ }, z.core.$strip>]>;
1711
+ }, z.core.$strip>, z.ZodObject<{
1712
+ type: z.ZodLiteral<"exact">;
1713
+ term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1714
+ $userField: z.ZodEnum<{
1715
+ id: "id";
1529
1716
  firstname: "firstname";
1530
1717
  surname: "surname";
1531
1718
  middlename: "middlename";
1719
+ name: "name";
1720
+ role: "role";
1532
1721
  fullHonorificName: "fullHonorificName";
1533
1722
  device: "device";
1534
1723
  signature: "signature";
1535
1724
  avatar: "avatar";
1725
+ primaryOfficeId: "primaryOfficeId";
1536
1726
  administrativeAreaId: "administrativeAreaId";
1537
1727
  }>;
1538
1728
  $location: z.ZodOptional<z.ZodString>;
1539
1729
  }, z.core.$strip>]>;
1540
- }, z.core.$strip>>>;
1730
+ }, z.core.$strip>]>>>;
1541
1731
  updatedByUserRole: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1542
1732
  type: z.ZodLiteral<"exact">;
1543
1733
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1544
1734
  $userField: z.ZodEnum<{
1545
1735
  id: "id";
1546
- name: "name";
1547
- role: "role";
1548
- primaryOfficeId: "primaryOfficeId";
1549
1736
  firstname: "firstname";
1550
1737
  surname: "surname";
1551
1738
  middlename: "middlename";
1739
+ name: "name";
1740
+ role: "role";
1552
1741
  fullHonorificName: "fullHonorificName";
1553
1742
  device: "device";
1554
1743
  signature: "signature";
1555
1744
  avatar: "avatar";
1745
+ primaryOfficeId: "primaryOfficeId";
1556
1746
  administrativeAreaId: "administrativeAreaId";
1557
1747
  }>;
1558
1748
  $location: z.ZodOptional<z.ZodString>;
@@ -1563,16 +1753,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1563
1753
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1564
1754
  $userField: z.ZodEnum<{
1565
1755
  id: "id";
1566
- name: "name";
1567
- role: "role";
1568
- primaryOfficeId: "primaryOfficeId";
1569
1756
  firstname: "firstname";
1570
1757
  surname: "surname";
1571
1758
  middlename: "middlename";
1759
+ name: "name";
1760
+ role: "role";
1572
1761
  fullHonorificName: "fullHonorificName";
1573
1762
  device: "device";
1574
1763
  signature: "signature";
1575
1764
  avatar: "avatar";
1765
+ primaryOfficeId: "primaryOfficeId";
1576
1766
  administrativeAreaId: "administrativeAreaId";
1577
1767
  }>;
1578
1768
  $location: z.ZodOptional<z.ZodString>;
@@ -1583,16 +1773,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1583
1773
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1584
1774
  $userField: z.ZodEnum<{
1585
1775
  id: "id";
1586
- name: "name";
1587
- role: "role";
1588
- primaryOfficeId: "primaryOfficeId";
1589
1776
  firstname: "firstname";
1590
1777
  surname: "surname";
1591
1778
  middlename: "middlename";
1779
+ name: "name";
1780
+ role: "role";
1592
1781
  fullHonorificName: "fullHonorificName";
1593
1782
  device: "device";
1594
1783
  signature: "signature";
1595
1784
  avatar: "avatar";
1785
+ primaryOfficeId: "primaryOfficeId";
1596
1786
  administrativeAreaId: "administrativeAreaId";
1597
1787
  }>;
1598
1788
  $location: z.ZodOptional<z.ZodString>;
@@ -1610,16 +1800,16 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1610
1800
  term: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1611
1801
  $userField: z.ZodEnum<{
1612
1802
  id: "id";
1613
- name: "name";
1614
- role: "role";
1615
- primaryOfficeId: "primaryOfficeId";
1616
1803
  firstname: "firstname";
1617
1804
  surname: "surname";
1618
1805
  middlename: "middlename";
1806
+ name: "name";
1807
+ role: "role";
1619
1808
  fullHonorificName: "fullHonorificName";
1620
1809
  device: "device";
1621
1810
  signature: "signature";
1622
1811
  avatar: "avatar";
1812
+ primaryOfficeId: "primaryOfficeId";
1623
1813
  administrativeAreaId: "administrativeAreaId";
1624
1814
  }>;
1625
1815
  $location: z.ZodOptional<z.ZodString>;
@@ -1667,17 +1857,17 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
1667
1857
  value: z.ZodObject<{
1668
1858
  $event: z.ZodEnum<{
1669
1859
  id: "id";
1670
- type: "type";
1671
1860
  title: "title";
1861
+ type: "type";
1862
+ updatedAt: "updatedAt";
1672
1863
  placeOfEvent: "placeOfEvent";
1864
+ createdByUserType: "createdByUserType";
1673
1865
  createdAt: "createdAt";
1866
+ createdBy: "createdBy";
1674
1867
  createdAtLocation: "createdAtLocation";
1675
- trackingId: "trackingId";
1676
1868
  status: "status";
1677
- updatedAt: "updatedAt";
1678
- createdByUserType: "createdByUserType";
1679
- createdBy: "createdBy";
1680
1869
  assignedTo: "assignedTo";
1870
+ trackingId: "trackingId";
1681
1871
  legalStatuses: "legalStatuses";
1682
1872
  dateOfEvent: "dateOfEvent";
1683
1873
  updatedByUserRole: "updatedByUserRole";
@@ -1811,10 +2001,10 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
1811
2001
  eventType?: string | undefined;
1812
2002
  status?: {
1813
2003
  type: "exact";
1814
- term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED";
2004
+ term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
1815
2005
  } | {
1816
2006
  type: "anyOf";
1817
- terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED")[];
2007
+ terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
1818
2008
  } | undefined;
1819
2009
  createdAt?: {
1820
2010
  type: "range";
@@ -1841,7 +2031,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
1841
2031
  'legalStatuses.DECLARED.createdAtLocation'?: {
1842
2032
  type: "within";
1843
2033
  location: string | {
1844
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2034
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
1845
2035
  $location?: string | undefined;
1846
2036
  };
1847
2037
  } | undefined;
@@ -1863,7 +2053,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
1863
2053
  'legalStatuses.REGISTERED.createdAtLocation'?: {
1864
2054
  type: "within";
1865
2055
  location: string | {
1866
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2056
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
1867
2057
  $location?: string | undefined;
1868
2058
  };
1869
2059
  } | undefined;
@@ -1876,37 +2066,49 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
1876
2066
  term: string;
1877
2067
  } | undefined;
1878
2068
  createdAtLocation?: {
2069
+ type: "exact";
2070
+ term: string | {
2071
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2072
+ $location?: string | undefined;
2073
+ };
2074
+ } | {
1879
2075
  type: "within";
1880
2076
  location: string | {
1881
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2077
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
1882
2078
  $location?: string | undefined;
1883
2079
  };
1884
2080
  } | undefined;
1885
2081
  updatedAtLocation?: {
2082
+ type: "exact";
2083
+ term: string | {
2084
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2085
+ $location?: string | undefined;
2086
+ };
2087
+ } | {
1886
2088
  type: "within";
1887
2089
  location: string | {
1888
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2090
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
1889
2091
  $location?: string | undefined;
1890
2092
  };
1891
2093
  } | undefined;
1892
2094
  updatedByUserRole?: {
1893
2095
  type: "exact";
1894
2096
  term: string | {
1895
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2097
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
1896
2098
  $location?: string | undefined;
1897
2099
  };
1898
2100
  } | undefined;
1899
2101
  assignedTo?: {
1900
2102
  type: "exact";
1901
2103
  term: string | {
1902
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2104
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
1903
2105
  $location?: string | undefined;
1904
2106
  };
1905
2107
  } | undefined;
1906
2108
  createdBy?: {
1907
2109
  type: "exact";
1908
2110
  term: string | {
1909
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2111
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
1910
2112
  $location?: string | undefined;
1911
2113
  };
1912
2114
  } | undefined;
@@ -1917,7 +2119,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
1917
2119
  updatedBy?: {
1918
2120
  type: "exact";
1919
2121
  term: string | {
1920
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2122
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
1921
2123
  $location?: string | undefined;
1922
2124
  };
1923
2125
  } | undefined;
@@ -1937,10 +2139,10 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
1937
2139
  eventType?: string | undefined;
1938
2140
  status?: {
1939
2141
  type: "exact";
1940
- term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED";
2142
+ term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
1941
2143
  } | {
1942
2144
  type: "anyOf";
1943
- terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED")[];
2145
+ terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
1944
2146
  } | undefined;
1945
2147
  createdAt?: {
1946
2148
  type: "range";
@@ -1967,7 +2169,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
1967
2169
  'legalStatuses.DECLARED.createdAtLocation'?: {
1968
2170
  type: "within";
1969
2171
  location: string | {
1970
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2172
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
1971
2173
  $location?: string | undefined;
1972
2174
  };
1973
2175
  } | undefined;
@@ -1989,7 +2191,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
1989
2191
  'legalStatuses.REGISTERED.createdAtLocation'?: {
1990
2192
  type: "within";
1991
2193
  location: string | {
1992
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2194
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
1993
2195
  $location?: string | undefined;
1994
2196
  };
1995
2197
  } | undefined;
@@ -2002,37 +2204,49 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
2002
2204
  term: string;
2003
2205
  } | undefined;
2004
2206
  createdAtLocation?: {
2207
+ type: "exact";
2208
+ term: string | {
2209
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2210
+ $location?: string | undefined;
2211
+ };
2212
+ } | {
2005
2213
  type: "within";
2006
2214
  location: string | {
2007
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2215
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2008
2216
  $location?: string | undefined;
2009
2217
  };
2010
2218
  } | undefined;
2011
2219
  updatedAtLocation?: {
2220
+ type: "exact";
2221
+ term: string | {
2222
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2223
+ $location?: string | undefined;
2224
+ };
2225
+ } | {
2012
2226
  type: "within";
2013
2227
  location: string | {
2014
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2228
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2015
2229
  $location?: string | undefined;
2016
2230
  };
2017
2231
  } | undefined;
2018
2232
  updatedByUserRole?: {
2019
2233
  type: "exact";
2020
2234
  term: string | {
2021
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2235
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2022
2236
  $location?: string | undefined;
2023
2237
  };
2024
2238
  } | undefined;
2025
2239
  assignedTo?: {
2026
2240
  type: "exact";
2027
2241
  term: string | {
2028
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2242
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2029
2243
  $location?: string | undefined;
2030
2244
  };
2031
2245
  } | undefined;
2032
2246
  createdBy?: {
2033
2247
  type: "exact";
2034
2248
  term: string | {
2035
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2249
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2036
2250
  $location?: string | undefined;
2037
2251
  };
2038
2252
  } | undefined;
@@ -2043,7 +2257,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
2043
2257
  updatedBy?: {
2044
2258
  type: "exact";
2045
2259
  term: string | {
2046
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2260
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2047
2261
  $location?: string | undefined;
2048
2262
  };
2049
2263
  } | undefined;
@@ -2065,7 +2279,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
2065
2279
  description: string;
2066
2280
  };
2067
2281
  value: {
2068
- $event: "id" | "type" | "title" | "placeOfEvent" | "createdAt" | "createdAtLocation" | "trackingId" | "status" | "updatedAt" | "createdByUserType" | "createdBy" | "assignedTo" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
2282
+ $event: "id" | "title" | "type" | "updatedAt" | "placeOfEvent" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "status" | "assignedTo" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
2069
2283
  };
2070
2284
  }[];
2071
2285
  icon: "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
@@ -2078,7 +2292,12 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
2078
2292
  description: string;
2079
2293
  } | undefined;
2080
2294
  };
2081
- export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
2295
+ /** This is used for v1.9 to v2.0 migration to show specific migration errors. */
2296
+ type WorkqueueConfigInputWithV19Compat = WorkqueueConfigInput & {
2297
+ /** @deprecated use 'action' property instead */
2298
+ actions?: unknown;
2299
+ };
2300
+ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19Compat[]): {
2082
2301
  slug: string;
2083
2302
  name: {
2084
2303
  id: string;
@@ -2091,10 +2310,10 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
2091
2310
  eventType?: string | undefined;
2092
2311
  status?: {
2093
2312
  type: "exact";
2094
- term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED";
2313
+ term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
2095
2314
  } | {
2096
2315
  type: "anyOf";
2097
- terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED")[];
2316
+ terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
2098
2317
  } | undefined;
2099
2318
  createdAt?: {
2100
2319
  type: "range";
@@ -2121,7 +2340,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
2121
2340
  'legalStatuses.DECLARED.createdAtLocation'?: {
2122
2341
  type: "within";
2123
2342
  location: string | {
2124
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2343
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2125
2344
  $location?: string | undefined;
2126
2345
  };
2127
2346
  } | undefined;
@@ -2143,7 +2362,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
2143
2362
  'legalStatuses.REGISTERED.createdAtLocation'?: {
2144
2363
  type: "within";
2145
2364
  location: string | {
2146
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2365
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2147
2366
  $location?: string | undefined;
2148
2367
  };
2149
2368
  } | undefined;
@@ -2156,37 +2375,49 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
2156
2375
  term: string;
2157
2376
  } | undefined;
2158
2377
  createdAtLocation?: {
2378
+ type: "exact";
2379
+ term: string | {
2380
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2381
+ $location?: string | undefined;
2382
+ };
2383
+ } | {
2159
2384
  type: "within";
2160
2385
  location: string | {
2161
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2386
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2162
2387
  $location?: string | undefined;
2163
2388
  };
2164
2389
  } | undefined;
2165
2390
  updatedAtLocation?: {
2391
+ type: "exact";
2392
+ term: string | {
2393
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2394
+ $location?: string | undefined;
2395
+ };
2396
+ } | {
2166
2397
  type: "within";
2167
2398
  location: string | {
2168
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2399
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2169
2400
  $location?: string | undefined;
2170
2401
  };
2171
2402
  } | undefined;
2172
2403
  updatedByUserRole?: {
2173
2404
  type: "exact";
2174
2405
  term: string | {
2175
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2406
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2176
2407
  $location?: string | undefined;
2177
2408
  };
2178
2409
  } | undefined;
2179
2410
  assignedTo?: {
2180
2411
  type: "exact";
2181
2412
  term: string | {
2182
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2413
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2183
2414
  $location?: string | undefined;
2184
2415
  };
2185
2416
  } | undefined;
2186
2417
  createdBy?: {
2187
2418
  type: "exact";
2188
2419
  term: string | {
2189
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2420
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2190
2421
  $location?: string | undefined;
2191
2422
  };
2192
2423
  } | undefined;
@@ -2197,7 +2428,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
2197
2428
  updatedBy?: {
2198
2429
  type: "exact";
2199
2430
  term: string | {
2200
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2431
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2201
2432
  $location?: string | undefined;
2202
2433
  };
2203
2434
  } | undefined;
@@ -2217,10 +2448,10 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
2217
2448
  eventType?: string | undefined;
2218
2449
  status?: {
2219
2450
  type: "exact";
2220
- term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED";
2451
+ term: "CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED";
2221
2452
  } | {
2222
2453
  type: "anyOf";
2223
- terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "CREATED" | "NOTIFIED")[];
2454
+ terms: ("CREATED" | "NOTIFIED" | "DECLARED" | "REGISTERED" | "ARCHIVED")[];
2224
2455
  } | undefined;
2225
2456
  createdAt?: {
2226
2457
  type: "range";
@@ -2247,7 +2478,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
2247
2478
  'legalStatuses.DECLARED.createdAtLocation'?: {
2248
2479
  type: "within";
2249
2480
  location: string | {
2250
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2481
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2251
2482
  $location?: string | undefined;
2252
2483
  };
2253
2484
  } | undefined;
@@ -2269,7 +2500,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
2269
2500
  'legalStatuses.REGISTERED.createdAtLocation'?: {
2270
2501
  type: "within";
2271
2502
  location: string | {
2272
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2503
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2273
2504
  $location?: string | undefined;
2274
2505
  };
2275
2506
  } | undefined;
@@ -2282,37 +2513,49 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
2282
2513
  term: string;
2283
2514
  } | undefined;
2284
2515
  createdAtLocation?: {
2516
+ type: "exact";
2517
+ term: string | {
2518
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2519
+ $location?: string | undefined;
2520
+ };
2521
+ } | {
2285
2522
  type: "within";
2286
2523
  location: string | {
2287
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2524
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2288
2525
  $location?: string | undefined;
2289
2526
  };
2290
2527
  } | undefined;
2291
2528
  updatedAtLocation?: {
2529
+ type: "exact";
2530
+ term: string | {
2531
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2532
+ $location?: string | undefined;
2533
+ };
2534
+ } | {
2292
2535
  type: "within";
2293
2536
  location: string | {
2294
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2537
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2295
2538
  $location?: string | undefined;
2296
2539
  };
2297
2540
  } | undefined;
2298
2541
  updatedByUserRole?: {
2299
2542
  type: "exact";
2300
2543
  term: string | {
2301
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2544
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2302
2545
  $location?: string | undefined;
2303
2546
  };
2304
2547
  } | undefined;
2305
2548
  assignedTo?: {
2306
2549
  type: "exact";
2307
2550
  term: string | {
2308
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2551
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2309
2552
  $location?: string | undefined;
2310
2553
  };
2311
2554
  } | undefined;
2312
2555
  createdBy?: {
2313
2556
  type: "exact";
2314
2557
  term: string | {
2315
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2558
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2316
2559
  $location?: string | undefined;
2317
2560
  };
2318
2561
  } | undefined;
@@ -2323,7 +2566,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
2323
2566
  updatedBy?: {
2324
2567
  type: "exact";
2325
2568
  term: string | {
2326
- $userField: "id" | "name" | "role" | "primaryOfficeId" | "firstname" | "surname" | "middlename" | "fullHonorificName" | "device" | "signature" | "avatar" | "administrativeAreaId";
2569
+ $userField: "id" | "firstname" | "surname" | "middlename" | "name" | "role" | "fullHonorificName" | "device" | "signature" | "avatar" | "primaryOfficeId" | "administrativeAreaId";
2327
2570
  $location?: string | undefined;
2328
2571
  };
2329
2572
  } | undefined;
@@ -2345,7 +2588,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
2345
2588
  description: string;
2346
2589
  };
2347
2590
  value: {
2348
- $event: "id" | "type" | "title" | "placeOfEvent" | "createdAt" | "createdAtLocation" | "trackingId" | "status" | "updatedAt" | "createdByUserType" | "createdBy" | "assignedTo" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
2591
+ $event: "id" | "title" | "type" | "updatedAt" | "placeOfEvent" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "status" | "assignedTo" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
2349
2592
  };
2350
2593
  }[];
2351
2594
  icon: "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
@@ -2365,4 +2608,5 @@ export declare const WorkqueueCountInput: z.ZodArray<z.ZodObject<{
2365
2608
  export type WorkqueueCountInput = z.infer<typeof WorkqueueCountInput>;
2366
2609
  export declare const WorkqueueCountOutput: z.ZodRecord<z.ZodString, z.ZodNumber>;
2367
2610
  export type WorkqueueCountOutput = z.infer<typeof WorkqueueCountOutput>;
2611
+ export {};
2368
2612
  //# sourceMappingURL=WorkqueueConfig.d.ts.map