@opencrvs/toolkit 1.8.0-rc.fc4c805 → 1.8.0-rc.fcd89ec
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.
- package/dist/commons/api/router.d.ts +2961 -195
- package/dist/commons/events/ActionConfig.d.ts +8022 -1007
- package/dist/commons/events/ActionDocument.d.ts +105 -105
- package/dist/commons/events/ActionInput.d.ts +3 -3
- package/dist/commons/events/AdvancedSearchConfig.d.ts +603 -12
- package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
- package/dist/commons/events/Draft.d.ts +5 -5
- package/dist/commons/events/EventConfig.d.ts +3622 -113
- package/dist/commons/events/EventDocument.d.ts +80 -80
- package/dist/commons/events/EventIndex.d.ts +202 -312
- package/dist/commons/events/EventMetadata.d.ts +34 -33
- package/dist/commons/events/FieldConfig.d.ts +517 -0
- package/dist/commons/events/FormConfig.d.ts +3641 -467
- package/dist/commons/events/PageConfig.d.ts +782 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +169 -559
- package/dist/commons/events/defineConfig.d.ts +253 -1
- package/dist/commons/events/event.d.ts +35 -8
- package/dist/commons/events/field.d.ts +21 -7
- package/dist/commons/events/scopes.d.ts +20 -1
- package/dist/commons/events/test.utils.d.ts +3 -3
- package/dist/commons/events/utils.d.ts +116 -1
- package/dist/events/index.js +813 -341
- package/dist/scopes/index.d.ts +158 -1
- package/dist/scopes/index.js +152 -1
- package/package.json +1 -1
@@ -10,295 +10,30 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
10
10
|
description: string;
|
11
11
|
defaultMessage: string;
|
12
12
|
}>;
|
13
|
-
query: z.
|
14
|
-
type: z.
|
15
|
-
|
16
|
-
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
17
|
-
type: z.ZodLiteral<"anyOf">;
|
18
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
20
|
-
type: "anyOf";
|
21
|
-
terms: string[];
|
22
|
-
}, {
|
23
|
-
type: "anyOf";
|
24
|
-
terms: string[];
|
25
|
-
}>, z.ZodObject<{
|
26
|
-
type: z.ZodLiteral<"exact">;
|
27
|
-
term: z.ZodString;
|
28
|
-
}, "strip", z.ZodTypeAny, {
|
29
|
-
type: "exact";
|
30
|
-
term: string;
|
31
|
-
}, {
|
32
|
-
type: "exact";
|
33
|
-
term: string;
|
34
|
-
}>]>>>;
|
35
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
36
|
-
type: z.ZodLiteral<"exact">;
|
37
|
-
term: z.ZodString;
|
38
|
-
}, "strip", z.ZodTypeAny, {
|
39
|
-
type: "exact";
|
40
|
-
term: string;
|
41
|
-
}, {
|
42
|
-
type: "exact";
|
43
|
-
term: string;
|
44
|
-
}>, z.ZodObject<{
|
45
|
-
type: z.ZodLiteral<"range">;
|
46
|
-
gte: z.ZodString;
|
47
|
-
lte: z.ZodString;
|
48
|
-
}, "strip", z.ZodTypeAny, {
|
49
|
-
type: "range";
|
50
|
-
gte: string;
|
51
|
-
lte: string;
|
52
|
-
}, {
|
53
|
-
type: "range";
|
54
|
-
gte: string;
|
55
|
-
lte: string;
|
56
|
-
}>]>>>;
|
57
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
58
|
-
type: z.ZodLiteral<"exact">;
|
59
|
-
term: z.ZodString;
|
60
|
-
}, "strip", z.ZodTypeAny, {
|
61
|
-
type: "exact";
|
62
|
-
term: string;
|
63
|
-
}, {
|
64
|
-
type: "exact";
|
65
|
-
term: string;
|
66
|
-
}>, z.ZodObject<{
|
67
|
-
type: z.ZodLiteral<"range">;
|
68
|
-
gte: z.ZodString;
|
69
|
-
lte: z.ZodString;
|
70
|
-
}, "strip", z.ZodTypeAny, {
|
71
|
-
type: "range";
|
72
|
-
gte: string;
|
73
|
-
lte: string;
|
74
|
-
}, {
|
75
|
-
type: "range";
|
76
|
-
gte: string;
|
77
|
-
lte: string;
|
78
|
-
}>]>>>;
|
79
|
-
createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
80
|
-
type: z.ZodLiteral<"within">;
|
81
|
-
location: z.ZodString;
|
82
|
-
}, "strip", z.ZodTypeAny, {
|
83
|
-
type: "within";
|
84
|
-
location: string;
|
85
|
-
}, {
|
86
|
-
type: "within";
|
87
|
-
location: string;
|
88
|
-
}>, z.ZodObject<{
|
89
|
-
type: z.ZodLiteral<"exact">;
|
90
|
-
term: z.ZodString;
|
91
|
-
}, "strip", z.ZodTypeAny, {
|
92
|
-
type: "exact";
|
93
|
-
term: string;
|
94
|
-
}, {
|
95
|
-
type: "exact";
|
96
|
-
term: string;
|
97
|
-
}>]>>>;
|
98
|
-
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
99
|
-
type: z.ZodLiteral<"within">;
|
100
|
-
location: z.ZodString;
|
101
|
-
}, "strip", z.ZodTypeAny, {
|
102
|
-
type: "within";
|
103
|
-
location: string;
|
104
|
-
}, {
|
105
|
-
type: "within";
|
106
|
-
location: string;
|
107
|
-
}>, z.ZodObject<{
|
108
|
-
type: z.ZodLiteral<"exact">;
|
109
|
-
term: z.ZodString;
|
110
|
-
}, "strip", z.ZodTypeAny, {
|
111
|
-
type: "exact";
|
112
|
-
term: string;
|
113
|
-
}, {
|
114
|
-
type: "exact";
|
115
|
-
term: string;
|
116
|
-
}>]>>>;
|
117
|
-
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
118
|
-
type: z.ZodLiteral<"exact">;
|
119
|
-
term: z.ZodString;
|
120
|
-
}, "strip", z.ZodTypeAny, {
|
121
|
-
type: "exact";
|
122
|
-
term: string;
|
123
|
-
}, {
|
124
|
-
type: "exact";
|
125
|
-
term: string;
|
126
|
-
}>>>;
|
127
|
-
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
128
|
-
type: z.ZodLiteral<"exact">;
|
129
|
-
term: z.ZodString;
|
130
|
-
}, "strip", z.ZodTypeAny, {
|
131
|
-
type: "exact";
|
132
|
-
term: string;
|
133
|
-
}, {
|
134
|
-
type: "exact";
|
135
|
-
term: string;
|
136
|
-
}>>>;
|
137
|
-
trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
138
|
-
type: z.ZodLiteral<"exact">;
|
139
|
-
term: z.ZodString;
|
140
|
-
}, "strip", z.ZodTypeAny, {
|
141
|
-
type: "exact";
|
142
|
-
term: string;
|
143
|
-
}, {
|
144
|
-
type: "exact";
|
145
|
-
term: string;
|
146
|
-
}>>>;
|
147
|
-
flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
148
|
-
type: z.ZodLiteral<"anyOf">;
|
149
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
150
|
-
}, "strip", z.ZodTypeAny, {
|
151
|
-
type: "anyOf";
|
152
|
-
terms: string[];
|
153
|
-
}, {
|
154
|
-
type: "anyOf";
|
155
|
-
terms: string[];
|
156
|
-
}>, z.ZodObject<{
|
157
|
-
type: z.ZodLiteral<"not">;
|
158
|
-
term: z.ZodString;
|
159
|
-
}, "strip", z.ZodTypeAny, {
|
160
|
-
type: "not";
|
161
|
-
term: string;
|
162
|
-
}, {
|
163
|
-
type: "not";
|
164
|
-
term: string;
|
165
|
-
}>]>, "many">>>;
|
166
|
-
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
167
|
-
}, "strip", z.ZodTypeAny, {
|
168
|
-
type?: "and" | undefined;
|
169
|
-
status?: {
|
170
|
-
type: "exact";
|
171
|
-
term: string;
|
172
|
-
} | {
|
173
|
-
type: "anyOf";
|
174
|
-
terms: string[];
|
175
|
-
} | undefined;
|
176
|
-
data?: any;
|
177
|
-
createdAt?: {
|
178
|
-
type: "exact";
|
179
|
-
term: string;
|
180
|
-
} | {
|
181
|
-
type: "range";
|
182
|
-
gte: string;
|
183
|
-
lte: string;
|
184
|
-
} | undefined;
|
185
|
-
createdBy?: {
|
186
|
-
type: "exact";
|
187
|
-
term: string;
|
188
|
-
} | undefined;
|
189
|
-
updatedAt?: {
|
190
|
-
type: "exact";
|
191
|
-
term: string;
|
192
|
-
} | {
|
193
|
-
type: "range";
|
194
|
-
gte: string;
|
195
|
-
lte: string;
|
196
|
-
} | undefined;
|
197
|
-
trackingId?: {
|
198
|
-
type: "exact";
|
199
|
-
term: string;
|
200
|
-
} | undefined;
|
201
|
-
updatedAtLocation?: {
|
202
|
-
type: "exact";
|
203
|
-
term: string;
|
204
|
-
} | {
|
205
|
-
type: "within";
|
206
|
-
location: string;
|
207
|
-
} | undefined;
|
208
|
-
updatedBy?: {
|
209
|
-
type: "exact";
|
210
|
-
term: string;
|
211
|
-
} | undefined;
|
212
|
-
flags?: ({
|
213
|
-
type: "anyOf";
|
214
|
-
terms: string[];
|
215
|
-
} | {
|
216
|
-
type: "not";
|
217
|
-
term: string;
|
218
|
-
})[] | undefined;
|
219
|
-
eventType?: string | undefined;
|
220
|
-
createAtLocation?: {
|
221
|
-
type: "exact";
|
222
|
-
term: string;
|
223
|
-
} | {
|
224
|
-
type: "within";
|
225
|
-
location: string;
|
226
|
-
} | undefined;
|
227
|
-
}, {
|
228
|
-
type?: "and" | undefined;
|
229
|
-
status?: {
|
230
|
-
type: "exact";
|
231
|
-
term: string;
|
232
|
-
} | {
|
233
|
-
type: "anyOf";
|
234
|
-
terms: string[];
|
235
|
-
} | undefined;
|
236
|
-
data?: any;
|
237
|
-
createdAt?: {
|
238
|
-
type: "exact";
|
239
|
-
term: string;
|
240
|
-
} | {
|
241
|
-
type: "range";
|
242
|
-
gte: string;
|
243
|
-
lte: string;
|
244
|
-
} | undefined;
|
245
|
-
createdBy?: {
|
246
|
-
type: "exact";
|
247
|
-
term: string;
|
248
|
-
} | undefined;
|
249
|
-
updatedAt?: {
|
250
|
-
type: "exact";
|
251
|
-
term: string;
|
252
|
-
} | {
|
253
|
-
type: "range";
|
254
|
-
gte: string;
|
255
|
-
lte: string;
|
256
|
-
} | undefined;
|
257
|
-
trackingId?: {
|
258
|
-
type: "exact";
|
259
|
-
term: string;
|
260
|
-
} | undefined;
|
261
|
-
updatedAtLocation?: {
|
262
|
-
type: "exact";
|
263
|
-
term: string;
|
264
|
-
} | {
|
265
|
-
type: "within";
|
266
|
-
location: string;
|
267
|
-
} | undefined;
|
268
|
-
updatedBy?: {
|
269
|
-
type: "exact";
|
270
|
-
term: string;
|
271
|
-
} | undefined;
|
272
|
-
flags?: ({
|
273
|
-
type: "anyOf";
|
274
|
-
terms: string[];
|
275
|
-
} | {
|
276
|
-
type: "not";
|
277
|
-
term: string;
|
278
|
-
})[] | undefined;
|
279
|
-
eventType?: string | undefined;
|
280
|
-
createAtLocation?: {
|
281
|
-
type: "exact";
|
282
|
-
term: string;
|
283
|
-
} | {
|
284
|
-
type: "within";
|
285
|
-
location: string;
|
286
|
-
} | undefined;
|
287
|
-
}>, z.ZodObject<{
|
288
|
-
type: z.ZodLiteral<"or">;
|
289
|
-
clauses: z.ZodArray<z.ZodObject<{
|
290
|
-
type: z.ZodOptional<z.ZodLiteral<"and">>;
|
13
|
+
query: z.ZodObject<{
|
14
|
+
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
15
|
+
clauses: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
291
16
|
eventType: z.ZodOptional<z.ZodString>;
|
292
17
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
293
18
|
type: z.ZodLiteral<"anyOf">;
|
294
|
-
terms: z.ZodArray<z.
|
19
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
295
20
|
}, "strip", z.ZodTypeAny, {
|
296
21
|
type: "anyOf";
|
297
|
-
terms:
|
22
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
298
23
|
}, {
|
299
24
|
type: "anyOf";
|
300
|
-
terms:
|
25
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
301
26
|
}>, z.ZodObject<{
|
27
|
+
type: z.ZodLiteral<"exact">;
|
28
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
30
|
+
type: "exact";
|
31
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
32
|
+
}, {
|
33
|
+
type: "exact";
|
34
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
35
|
+
}>]>>>;
|
36
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
302
37
|
type: z.ZodLiteral<"exact">;
|
303
38
|
term: z.ZodString;
|
304
39
|
}, "strip", z.ZodTypeAny, {
|
@@ -307,8 +42,20 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
307
42
|
}, {
|
308
43
|
type: "exact";
|
309
44
|
term: string;
|
45
|
+
}>, z.ZodObject<{
|
46
|
+
type: z.ZodLiteral<"range">;
|
47
|
+
gte: z.ZodString;
|
48
|
+
lte: z.ZodString;
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
50
|
+
type: "range";
|
51
|
+
gte: string;
|
52
|
+
lte: string;
|
53
|
+
}, {
|
54
|
+
type: "range";
|
55
|
+
gte: string;
|
56
|
+
lte: string;
|
310
57
|
}>]>>>;
|
311
|
-
|
58
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
312
59
|
type: z.ZodLiteral<"exact">;
|
313
60
|
term: z.ZodString;
|
314
61
|
}, "strip", z.ZodTypeAny, {
|
@@ -330,7 +77,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
330
77
|
gte: string;
|
331
78
|
lte: string;
|
332
79
|
}>]>>>;
|
333
|
-
|
80
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
334
81
|
type: z.ZodLiteral<"exact">;
|
335
82
|
term: z.ZodString;
|
336
83
|
}, "strip", z.ZodTypeAny, {
|
@@ -352,6 +99,25 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
352
99
|
gte: string;
|
353
100
|
lte: string;
|
354
101
|
}>]>>>;
|
102
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
103
|
+
type: z.ZodLiteral<"within">;
|
104
|
+
location: z.ZodString;
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
106
|
+
type: "within";
|
107
|
+
location: string;
|
108
|
+
}, {
|
109
|
+
type: "within";
|
110
|
+
location: string;
|
111
|
+
}>, z.ZodObject<{
|
112
|
+
type: z.ZodLiteral<"exact">;
|
113
|
+
term: z.ZodString;
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
115
|
+
type: "exact";
|
116
|
+
term: string;
|
117
|
+
}, {
|
118
|
+
type: "exact";
|
119
|
+
term: string;
|
120
|
+
}>]>>>;
|
355
121
|
createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
356
122
|
type: z.ZodLiteral<"within">;
|
357
123
|
location: z.ZodString;
|
@@ -441,13 +207,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
441
207
|
}>]>, "many">>>;
|
442
208
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
443
209
|
}, "strip", z.ZodTypeAny, {
|
444
|
-
type?: "and" | undefined;
|
445
210
|
status?: {
|
446
211
|
type: "exact";
|
447
|
-
term:
|
212
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
448
213
|
} | {
|
449
214
|
type: "anyOf";
|
450
|
-
terms:
|
215
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
451
216
|
} | undefined;
|
452
217
|
data?: any;
|
453
218
|
createdAt?: {
|
@@ -474,6 +239,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
474
239
|
type: "exact";
|
475
240
|
term: string;
|
476
241
|
} | undefined;
|
242
|
+
eventType?: string | undefined;
|
243
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
244
|
+
type: "exact";
|
245
|
+
term: string;
|
246
|
+
} | {
|
247
|
+
type: "range";
|
248
|
+
gte: string;
|
249
|
+
lte: string;
|
250
|
+
} | undefined;
|
251
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
252
|
+
type: "exact";
|
253
|
+
term: string;
|
254
|
+
} | {
|
255
|
+
type: "within";
|
256
|
+
location: string;
|
257
|
+
} | undefined;
|
477
258
|
updatedAtLocation?: {
|
478
259
|
type: "exact";
|
479
260
|
term: string;
|
@@ -492,7 +273,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
492
273
|
type: "not";
|
493
274
|
term: string;
|
494
275
|
})[] | undefined;
|
495
|
-
eventType?: string | undefined;
|
496
276
|
createAtLocation?: {
|
497
277
|
type: "exact";
|
498
278
|
term: string;
|
@@ -501,13 +281,12 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
501
281
|
location: string;
|
502
282
|
} | undefined;
|
503
283
|
}, {
|
504
|
-
type?: "and" | undefined;
|
505
284
|
status?: {
|
506
285
|
type: "exact";
|
507
|
-
term:
|
286
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
508
287
|
} | {
|
509
288
|
type: "anyOf";
|
510
|
-
terms:
|
289
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
511
290
|
} | undefined;
|
512
291
|
data?: any;
|
513
292
|
createdAt?: {
|
@@ -534,6 +313,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
534
313
|
type: "exact";
|
535
314
|
term: string;
|
536
315
|
} | undefined;
|
316
|
+
eventType?: string | undefined;
|
317
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
318
|
+
type: "exact";
|
319
|
+
term: string;
|
320
|
+
} | {
|
321
|
+
type: "range";
|
322
|
+
gte: string;
|
323
|
+
lte: string;
|
324
|
+
} | undefined;
|
325
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
326
|
+
type: "exact";
|
327
|
+
term: string;
|
328
|
+
} | {
|
329
|
+
type: "within";
|
330
|
+
location: string;
|
331
|
+
} | undefined;
|
537
332
|
updatedAtLocation?: {
|
538
333
|
type: "exact";
|
539
334
|
term: string;
|
@@ -552,7 +347,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
552
347
|
type: "not";
|
553
348
|
term: string;
|
554
349
|
})[] | undefined;
|
555
|
-
eventType?: string | undefined;
|
556
350
|
createAtLocation?: {
|
557
351
|
type: "exact";
|
558
352
|
term: string;
|
@@ -560,17 +354,13 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
560
354
|
type: "within";
|
561
355
|
location: string;
|
562
356
|
} | undefined;
|
563
|
-
}>, "many"
|
564
|
-
}, "strip", z.ZodTypeAny, {
|
565
|
-
type: "or";
|
566
|
-
clauses: {
|
567
|
-
type?: "and" | undefined;
|
357
|
+
}>, "many">, {
|
568
358
|
status?: {
|
569
359
|
type: "exact";
|
570
|
-
term:
|
360
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
571
361
|
} | {
|
572
362
|
type: "anyOf";
|
573
|
-
terms:
|
363
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
574
364
|
} | undefined;
|
575
365
|
data?: any;
|
576
366
|
createdAt?: {
|
@@ -597,6 +387,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
597
387
|
type: "exact";
|
598
388
|
term: string;
|
599
389
|
} | undefined;
|
390
|
+
eventType?: string | undefined;
|
391
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
392
|
+
type: "exact";
|
393
|
+
term: string;
|
394
|
+
} | {
|
395
|
+
type: "range";
|
396
|
+
gte: string;
|
397
|
+
lte: string;
|
398
|
+
} | undefined;
|
399
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
400
|
+
type: "exact";
|
401
|
+
term: string;
|
402
|
+
} | {
|
403
|
+
type: "within";
|
404
|
+
location: string;
|
405
|
+
} | undefined;
|
600
406
|
updatedAtLocation?: {
|
601
407
|
type: "exact";
|
602
408
|
term: string;
|
@@ -615,7 +421,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
615
421
|
type: "not";
|
616
422
|
term: string;
|
617
423
|
})[] | undefined;
|
618
|
-
eventType?: string | undefined;
|
619
424
|
createAtLocation?: {
|
620
425
|
type: "exact";
|
621
426
|
term: string;
|
@@ -623,17 +428,16 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
623
428
|
type: "within";
|
624
429
|
location: string;
|
625
430
|
} | undefined;
|
626
|
-
}[]
|
627
|
-
}, {
|
628
|
-
type: "or";
|
431
|
+
}[], unknown>;
|
432
|
+
}, "strip", z.ZodTypeAny, {
|
433
|
+
type: "and" | "or";
|
629
434
|
clauses: {
|
630
|
-
type?: "and" | undefined;
|
631
435
|
status?: {
|
632
436
|
type: "exact";
|
633
|
-
term:
|
437
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
634
438
|
} | {
|
635
439
|
type: "anyOf";
|
636
|
-
terms:
|
440
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
637
441
|
} | undefined;
|
638
442
|
data?: any;
|
639
443
|
createdAt?: {
|
@@ -660,6 +464,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
660
464
|
type: "exact";
|
661
465
|
term: string;
|
662
466
|
} | undefined;
|
467
|
+
eventType?: string | undefined;
|
468
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
469
|
+
type: "exact";
|
470
|
+
term: string;
|
471
|
+
} | {
|
472
|
+
type: "range";
|
473
|
+
gte: string;
|
474
|
+
lte: string;
|
475
|
+
} | undefined;
|
476
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
477
|
+
type: "exact";
|
478
|
+
term: string;
|
479
|
+
} | {
|
480
|
+
type: "within";
|
481
|
+
location: string;
|
482
|
+
} | undefined;
|
663
483
|
updatedAtLocation?: {
|
664
484
|
type: "exact";
|
665
485
|
term: string;
|
@@ -678,7 +498,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
678
498
|
type: "not";
|
679
499
|
term: string;
|
680
500
|
})[] | undefined;
|
681
|
-
eventType?: string | undefined;
|
682
501
|
createAtLocation?: {
|
683
502
|
type: "exact";
|
684
503
|
term: string;
|
@@ -687,7 +506,10 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
687
506
|
location: string;
|
688
507
|
} | undefined;
|
689
508
|
}[];
|
690
|
-
}
|
509
|
+
}, {
|
510
|
+
type: "and" | "or";
|
511
|
+
clauses?: unknown;
|
512
|
+
}>;
|
691
513
|
actions: z.ZodArray<z.ZodObject<{
|
692
514
|
type: z.ZodString;
|
693
515
|
conditionals: z.ZodOptional<z.ZodArray<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>, "many">>;
|
@@ -733,75 +555,14 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
733
555
|
conditionals?: import(".").JSONSchema[] | undefined;
|
734
556
|
}[];
|
735
557
|
query: {
|
736
|
-
type
|
737
|
-
status?: {
|
738
|
-
type: "exact";
|
739
|
-
term: string;
|
740
|
-
} | {
|
741
|
-
type: "anyOf";
|
742
|
-
terms: string[];
|
743
|
-
} | undefined;
|
744
|
-
data?: any;
|
745
|
-
createdAt?: {
|
746
|
-
type: "exact";
|
747
|
-
term: string;
|
748
|
-
} | {
|
749
|
-
type: "range";
|
750
|
-
gte: string;
|
751
|
-
lte: string;
|
752
|
-
} | undefined;
|
753
|
-
createdBy?: {
|
754
|
-
type: "exact";
|
755
|
-
term: string;
|
756
|
-
} | undefined;
|
757
|
-
updatedAt?: {
|
758
|
-
type: "exact";
|
759
|
-
term: string;
|
760
|
-
} | {
|
761
|
-
type: "range";
|
762
|
-
gte: string;
|
763
|
-
lte: string;
|
764
|
-
} | undefined;
|
765
|
-
trackingId?: {
|
766
|
-
type: "exact";
|
767
|
-
term: string;
|
768
|
-
} | undefined;
|
769
|
-
updatedAtLocation?: {
|
770
|
-
type: "exact";
|
771
|
-
term: string;
|
772
|
-
} | {
|
773
|
-
type: "within";
|
774
|
-
location: string;
|
775
|
-
} | undefined;
|
776
|
-
updatedBy?: {
|
777
|
-
type: "exact";
|
778
|
-
term: string;
|
779
|
-
} | undefined;
|
780
|
-
flags?: ({
|
781
|
-
type: "anyOf";
|
782
|
-
terms: string[];
|
783
|
-
} | {
|
784
|
-
type: "not";
|
785
|
-
term: string;
|
786
|
-
})[] | undefined;
|
787
|
-
eventType?: string | undefined;
|
788
|
-
createAtLocation?: {
|
789
|
-
type: "exact";
|
790
|
-
term: string;
|
791
|
-
} | {
|
792
|
-
type: "within";
|
793
|
-
location: string;
|
794
|
-
} | undefined;
|
795
|
-
} | {
|
796
|
-
type: "or";
|
558
|
+
type: "and" | "or";
|
797
559
|
clauses: {
|
798
|
-
type?: "and" | undefined;
|
799
560
|
status?: {
|
800
561
|
type: "exact";
|
801
|
-
term:
|
562
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
802
563
|
} | {
|
803
564
|
type: "anyOf";
|
804
|
-
terms:
|
565
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
805
566
|
} | undefined;
|
806
567
|
data?: any;
|
807
568
|
createdAt?: {
|
@@ -828,6 +589,22 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
828
589
|
type: "exact";
|
829
590
|
term: string;
|
830
591
|
} | undefined;
|
592
|
+
eventType?: string | undefined;
|
593
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
594
|
+
type: "exact";
|
595
|
+
term: string;
|
596
|
+
} | {
|
597
|
+
type: "range";
|
598
|
+
gte: string;
|
599
|
+
lte: string;
|
600
|
+
} | undefined;
|
601
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
602
|
+
type: "exact";
|
603
|
+
term: string;
|
604
|
+
} | {
|
605
|
+
type: "within";
|
606
|
+
location: string;
|
607
|
+
} | undefined;
|
831
608
|
updatedAtLocation?: {
|
832
609
|
type: "exact";
|
833
610
|
term: string;
|
@@ -846,7 +623,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
846
623
|
type: "not";
|
847
624
|
term: string;
|
848
625
|
})[] | undefined;
|
849
|
-
eventType?: string | undefined;
|
850
626
|
createAtLocation?: {
|
851
627
|
type: "exact";
|
852
628
|
term: string;
|
@@ -874,128 +650,8 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
874
650
|
conditionals?: import(".").JSONSchema[] | undefined;
|
875
651
|
}[];
|
876
652
|
query: {
|
877
|
-
type
|
878
|
-
|
879
|
-
type: "exact";
|
880
|
-
term: string;
|
881
|
-
} | {
|
882
|
-
type: "anyOf";
|
883
|
-
terms: string[];
|
884
|
-
} | undefined;
|
885
|
-
data?: any;
|
886
|
-
createdAt?: {
|
887
|
-
type: "exact";
|
888
|
-
term: string;
|
889
|
-
} | {
|
890
|
-
type: "range";
|
891
|
-
gte: string;
|
892
|
-
lte: string;
|
893
|
-
} | undefined;
|
894
|
-
createdBy?: {
|
895
|
-
type: "exact";
|
896
|
-
term: string;
|
897
|
-
} | undefined;
|
898
|
-
updatedAt?: {
|
899
|
-
type: "exact";
|
900
|
-
term: string;
|
901
|
-
} | {
|
902
|
-
type: "range";
|
903
|
-
gte: string;
|
904
|
-
lte: string;
|
905
|
-
} | undefined;
|
906
|
-
trackingId?: {
|
907
|
-
type: "exact";
|
908
|
-
term: string;
|
909
|
-
} | undefined;
|
910
|
-
updatedAtLocation?: {
|
911
|
-
type: "exact";
|
912
|
-
term: string;
|
913
|
-
} | {
|
914
|
-
type: "within";
|
915
|
-
location: string;
|
916
|
-
} | undefined;
|
917
|
-
updatedBy?: {
|
918
|
-
type: "exact";
|
919
|
-
term: string;
|
920
|
-
} | undefined;
|
921
|
-
flags?: ({
|
922
|
-
type: "anyOf";
|
923
|
-
terms: string[];
|
924
|
-
} | {
|
925
|
-
type: "not";
|
926
|
-
term: string;
|
927
|
-
})[] | undefined;
|
928
|
-
eventType?: string | undefined;
|
929
|
-
createAtLocation?: {
|
930
|
-
type: "exact";
|
931
|
-
term: string;
|
932
|
-
} | {
|
933
|
-
type: "within";
|
934
|
-
location: string;
|
935
|
-
} | undefined;
|
936
|
-
} | {
|
937
|
-
type: "or";
|
938
|
-
clauses: {
|
939
|
-
type?: "and" | undefined;
|
940
|
-
status?: {
|
941
|
-
type: "exact";
|
942
|
-
term: string;
|
943
|
-
} | {
|
944
|
-
type: "anyOf";
|
945
|
-
terms: string[];
|
946
|
-
} | undefined;
|
947
|
-
data?: any;
|
948
|
-
createdAt?: {
|
949
|
-
type: "exact";
|
950
|
-
term: string;
|
951
|
-
} | {
|
952
|
-
type: "range";
|
953
|
-
gte: string;
|
954
|
-
lte: string;
|
955
|
-
} | undefined;
|
956
|
-
createdBy?: {
|
957
|
-
type: "exact";
|
958
|
-
term: string;
|
959
|
-
} | undefined;
|
960
|
-
updatedAt?: {
|
961
|
-
type: "exact";
|
962
|
-
term: string;
|
963
|
-
} | {
|
964
|
-
type: "range";
|
965
|
-
gte: string;
|
966
|
-
lte: string;
|
967
|
-
} | undefined;
|
968
|
-
trackingId?: {
|
969
|
-
type: "exact";
|
970
|
-
term: string;
|
971
|
-
} | undefined;
|
972
|
-
updatedAtLocation?: {
|
973
|
-
type: "exact";
|
974
|
-
term: string;
|
975
|
-
} | {
|
976
|
-
type: "within";
|
977
|
-
location: string;
|
978
|
-
} | undefined;
|
979
|
-
updatedBy?: {
|
980
|
-
type: "exact";
|
981
|
-
term: string;
|
982
|
-
} | undefined;
|
983
|
-
flags?: ({
|
984
|
-
type: "anyOf";
|
985
|
-
terms: string[];
|
986
|
-
} | {
|
987
|
-
type: "not";
|
988
|
-
term: string;
|
989
|
-
})[] | undefined;
|
990
|
-
eventType?: string | undefined;
|
991
|
-
createAtLocation?: {
|
992
|
-
type: "exact";
|
993
|
-
term: string;
|
994
|
-
} | {
|
995
|
-
type: "within";
|
996
|
-
location: string;
|
997
|
-
} | undefined;
|
998
|
-
}[];
|
653
|
+
type: "and" | "or";
|
654
|
+
clauses?: unknown;
|
999
655
|
};
|
1000
656
|
slug: string;
|
1001
657
|
columns?: {
|
@@ -1018,75 +674,14 @@ export declare function defineWorkqueue(workqueues: WorkqueueConfigInput[]): {
|
|
1018
674
|
conditionals?: import(".").JSONSchema[] | undefined;
|
1019
675
|
}[];
|
1020
676
|
query: {
|
1021
|
-
type
|
1022
|
-
status?: {
|
1023
|
-
type: "exact";
|
1024
|
-
term: string;
|
1025
|
-
} | {
|
1026
|
-
type: "anyOf";
|
1027
|
-
terms: string[];
|
1028
|
-
} | undefined;
|
1029
|
-
data?: any;
|
1030
|
-
createdAt?: {
|
1031
|
-
type: "exact";
|
1032
|
-
term: string;
|
1033
|
-
} | {
|
1034
|
-
type: "range";
|
1035
|
-
gte: string;
|
1036
|
-
lte: string;
|
1037
|
-
} | undefined;
|
1038
|
-
createdBy?: {
|
1039
|
-
type: "exact";
|
1040
|
-
term: string;
|
1041
|
-
} | undefined;
|
1042
|
-
updatedAt?: {
|
1043
|
-
type: "exact";
|
1044
|
-
term: string;
|
1045
|
-
} | {
|
1046
|
-
type: "range";
|
1047
|
-
gte: string;
|
1048
|
-
lte: string;
|
1049
|
-
} | undefined;
|
1050
|
-
trackingId?: {
|
1051
|
-
type: "exact";
|
1052
|
-
term: string;
|
1053
|
-
} | undefined;
|
1054
|
-
updatedAtLocation?: {
|
1055
|
-
type: "exact";
|
1056
|
-
term: string;
|
1057
|
-
} | {
|
1058
|
-
type: "within";
|
1059
|
-
location: string;
|
1060
|
-
} | undefined;
|
1061
|
-
updatedBy?: {
|
1062
|
-
type: "exact";
|
1063
|
-
term: string;
|
1064
|
-
} | undefined;
|
1065
|
-
flags?: ({
|
1066
|
-
type: "anyOf";
|
1067
|
-
terms: string[];
|
1068
|
-
} | {
|
1069
|
-
type: "not";
|
1070
|
-
term: string;
|
1071
|
-
})[] | undefined;
|
1072
|
-
eventType?: string | undefined;
|
1073
|
-
createAtLocation?: {
|
1074
|
-
type: "exact";
|
1075
|
-
term: string;
|
1076
|
-
} | {
|
1077
|
-
type: "within";
|
1078
|
-
location: string;
|
1079
|
-
} | undefined;
|
1080
|
-
} | {
|
1081
|
-
type: "or";
|
677
|
+
type: "and" | "or";
|
1082
678
|
clauses: {
|
1083
|
-
type?: "and" | undefined;
|
1084
679
|
status?: {
|
1085
680
|
type: "exact";
|
1086
|
-
term:
|
681
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1087
682
|
} | {
|
1088
683
|
type: "anyOf";
|
1089
|
-
terms:
|
684
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1090
685
|
} | undefined;
|
1091
686
|
data?: any;
|
1092
687
|
createdAt?: {
|
@@ -1113,6 +708,22 @@ export declare function defineWorkqueue(workqueues: WorkqueueConfigInput[]): {
|
|
1113
708
|
type: "exact";
|
1114
709
|
term: string;
|
1115
710
|
} | undefined;
|
711
|
+
eventType?: string | undefined;
|
712
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
713
|
+
type: "exact";
|
714
|
+
term: string;
|
715
|
+
} | {
|
716
|
+
type: "range";
|
717
|
+
gte: string;
|
718
|
+
lte: string;
|
719
|
+
} | undefined;
|
720
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
721
|
+
type: "exact";
|
722
|
+
term: string;
|
723
|
+
} | {
|
724
|
+
type: "within";
|
725
|
+
location: string;
|
726
|
+
} | undefined;
|
1116
727
|
updatedAtLocation?: {
|
1117
728
|
type: "exact";
|
1118
729
|
term: string;
|
@@ -1131,7 +742,6 @@ export declare function defineWorkqueue(workqueues: WorkqueueConfigInput[]): {
|
|
1131
742
|
type: "not";
|
1132
743
|
term: string;
|
1133
744
|
})[] | undefined;
|
1134
|
-
eventType?: string | undefined;
|
1135
745
|
createAtLocation?: {
|
1136
746
|
type: "exact";
|
1137
747
|
term: string;
|