@narrative.io/data-collaboration-sdk-ts 1.0.1 → 1.1.0
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/build/index.d.ts +2 -2
- package/build/index.js +1 -1
- package/build/jobs/index.d.ts +2 -2
- package/build/jobs/index.js +1 -1
- package/build/jobs/types.d.ts +29 -2
- package/build/nql/types.d.ts +298 -298
- package/package.json +5 -5
- package/build/nql/SubstraitParser.d.ts +0 -770
- package/build/nql/SubstraitParser.js +0 -785
package/build/nql/types.d.ts
CHANGED
|
@@ -62,11 +62,11 @@ export declare const NqlTableObject: z.ZodObject<{
|
|
|
62
62
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
63
63
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
table: string;
|
|
66
65
|
database: string;
|
|
67
|
-
}, {
|
|
68
66
|
table: string;
|
|
67
|
+
}, {
|
|
69
68
|
database: string;
|
|
69
|
+
table: string;
|
|
70
70
|
}>;
|
|
71
71
|
export type NqlTable = z.infer<typeof NqlTableObject>;
|
|
72
72
|
export declare const NqlFieldObj: z.ZodObject<{
|
|
@@ -75,24 +75,24 @@ export declare const NqlFieldObj: z.ZodObject<{
|
|
|
75
75
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
76
76
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
table: string;
|
|
79
78
|
database: string;
|
|
80
|
-
}, {
|
|
81
79
|
table: string;
|
|
80
|
+
}, {
|
|
82
81
|
database: string;
|
|
82
|
+
table: string;
|
|
83
83
|
}>;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
+
field: string;
|
|
85
86
|
table: {
|
|
86
|
-
table: string;
|
|
87
87
|
database: string;
|
|
88
|
+
table: string;
|
|
88
89
|
};
|
|
89
|
-
field: string;
|
|
90
90
|
}, {
|
|
91
|
+
field: string;
|
|
91
92
|
table: {
|
|
92
|
-
table: string;
|
|
93
93
|
database: string;
|
|
94
|
+
table: string;
|
|
94
95
|
};
|
|
95
|
-
field: string;
|
|
96
96
|
}>;
|
|
97
97
|
export declare const NqlFilterUnaryExpressionObj: z.ZodObject<{
|
|
98
98
|
field: z.ZodObject<{
|
|
@@ -101,44 +101,44 @@ export declare const NqlFilterUnaryExpressionObj: z.ZodObject<{
|
|
|
101
101
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
102
102
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
table: string;
|
|
105
104
|
database: string;
|
|
106
|
-
}, {
|
|
107
105
|
table: string;
|
|
106
|
+
}, {
|
|
108
107
|
database: string;
|
|
108
|
+
table: string;
|
|
109
109
|
}>;
|
|
110
110
|
}, "strip", z.ZodTypeAny, {
|
|
111
|
+
field: string;
|
|
111
112
|
table: {
|
|
112
|
-
table: string;
|
|
113
113
|
database: string;
|
|
114
|
+
table: string;
|
|
114
115
|
};
|
|
115
|
-
field: string;
|
|
116
116
|
}, {
|
|
117
|
+
field: string;
|
|
117
118
|
table: {
|
|
118
|
-
table: string;
|
|
119
119
|
database: string;
|
|
120
|
+
table: string;
|
|
120
121
|
};
|
|
121
|
-
field: string;
|
|
122
122
|
}>;
|
|
123
123
|
operator: z.ZodEnum<["IS NULL", "IS NOT NULL"]>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
126
125
|
field: {
|
|
126
|
+
field: string;
|
|
127
127
|
table: {
|
|
128
|
-
table: string;
|
|
129
128
|
database: string;
|
|
129
|
+
table: string;
|
|
130
130
|
};
|
|
131
|
-
field: string;
|
|
132
131
|
};
|
|
133
|
-
}, {
|
|
134
132
|
operator: "IS NULL" | "IS NOT NULL";
|
|
133
|
+
}, {
|
|
135
134
|
field: {
|
|
135
|
+
field: string;
|
|
136
136
|
table: {
|
|
137
|
-
table: string;
|
|
138
137
|
database: string;
|
|
138
|
+
table: string;
|
|
139
139
|
};
|
|
140
|
-
field: string;
|
|
141
140
|
};
|
|
141
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
142
142
|
}>;
|
|
143
143
|
export type NqlFilterUnaryExpression = z.infer<typeof NqlFilterUnaryExpressionObj>;
|
|
144
144
|
declare const NqlExpressionObj: z.ZodUnion<[z.ZodObject<{
|
|
@@ -147,24 +147,24 @@ declare const NqlExpressionObj: z.ZodUnion<[z.ZodObject<{
|
|
|
147
147
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
148
148
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
149
149
|
}, "strip", z.ZodTypeAny, {
|
|
150
|
-
table: string;
|
|
151
150
|
database: string;
|
|
152
|
-
}, {
|
|
153
151
|
table: string;
|
|
152
|
+
}, {
|
|
154
153
|
database: string;
|
|
154
|
+
table: string;
|
|
155
155
|
}>;
|
|
156
156
|
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
field: string;
|
|
157
158
|
table: {
|
|
158
|
-
table: string;
|
|
159
159
|
database: string;
|
|
160
|
+
table: string;
|
|
160
161
|
};
|
|
161
|
-
field: string;
|
|
162
162
|
}, {
|
|
163
|
+
field: string;
|
|
163
164
|
table: {
|
|
164
|
-
table: string;
|
|
165
165
|
database: string;
|
|
166
|
+
table: string;
|
|
166
167
|
};
|
|
167
|
-
field: string;
|
|
168
168
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
169
169
|
export type NqlExpression = z.infer<typeof NqlExpressionObj>;
|
|
170
170
|
export declare const NqlFilterBinaryExpressionObj: z.ZodObject<{
|
|
@@ -174,24 +174,24 @@ export declare const NqlFilterBinaryExpressionObj: z.ZodObject<{
|
|
|
174
174
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
175
175
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
176
176
|
}, "strip", z.ZodTypeAny, {
|
|
177
|
-
table: string;
|
|
178
177
|
database: string;
|
|
179
|
-
}, {
|
|
180
178
|
table: string;
|
|
179
|
+
}, {
|
|
181
180
|
database: string;
|
|
181
|
+
table: string;
|
|
182
182
|
}>;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
+
field: string;
|
|
184
185
|
table: {
|
|
185
|
-
table: string;
|
|
186
186
|
database: string;
|
|
187
|
+
table: string;
|
|
187
188
|
};
|
|
188
|
-
field: string;
|
|
189
189
|
}, {
|
|
190
|
+
field: string;
|
|
190
191
|
table: {
|
|
191
|
-
table: string;
|
|
192
192
|
database: string;
|
|
193
|
+
table: string;
|
|
193
194
|
};
|
|
194
|
-
field: string;
|
|
195
195
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
196
196
|
operator: z.ZodEnum<["=", "!=", ">", "<", ">=", "<=", "IN", "NOT IN", "LIKE", "NOT LIKE"]>;
|
|
197
197
|
right: z.ZodUnion<[z.ZodObject<{
|
|
@@ -200,79 +200,79 @@ export declare const NqlFilterBinaryExpressionObj: z.ZodObject<{
|
|
|
200
200
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
201
201
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
-
table: string;
|
|
204
203
|
database: string;
|
|
205
|
-
}, {
|
|
206
204
|
table: string;
|
|
205
|
+
}, {
|
|
207
206
|
database: string;
|
|
207
|
+
table: string;
|
|
208
208
|
}>;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
field: string;
|
|
210
211
|
table: {
|
|
211
|
-
table: string;
|
|
212
212
|
database: string;
|
|
213
|
+
table: string;
|
|
213
214
|
};
|
|
214
|
-
field: string;
|
|
215
215
|
}, {
|
|
216
|
+
field: string;
|
|
216
217
|
table: {
|
|
217
|
-
table: string;
|
|
218
218
|
database: string;
|
|
219
|
+
table: string;
|
|
219
220
|
};
|
|
220
|
-
field: string;
|
|
221
221
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
222
222
|
}, "strip", z.ZodTypeAny, {
|
|
223
223
|
left: (string | number | boolean | {
|
|
224
|
+
field: string;
|
|
224
225
|
table: {
|
|
225
|
-
table: string;
|
|
226
226
|
database: string;
|
|
227
|
+
table: string;
|
|
227
228
|
};
|
|
228
|
-
field: string;
|
|
229
229
|
}) & (string | number | boolean | {
|
|
230
|
+
field: string;
|
|
230
231
|
table: {
|
|
231
|
-
table: string;
|
|
232
232
|
database: string;
|
|
233
|
+
table: string;
|
|
233
234
|
};
|
|
234
|
-
field: string;
|
|
235
235
|
} | undefined);
|
|
236
236
|
right: (string | number | boolean | {
|
|
237
|
+
field: string;
|
|
237
238
|
table: {
|
|
238
|
-
table: string;
|
|
239
239
|
database: string;
|
|
240
|
+
table: string;
|
|
240
241
|
};
|
|
241
|
-
field: string;
|
|
242
242
|
}) & (string | number | boolean | {
|
|
243
|
+
field: string;
|
|
243
244
|
table: {
|
|
244
|
-
table: string;
|
|
245
245
|
database: string;
|
|
246
|
+
table: string;
|
|
246
247
|
};
|
|
247
|
-
field: string;
|
|
248
248
|
} | undefined);
|
|
249
249
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
250
250
|
}, {
|
|
251
251
|
left: (string | number | boolean | {
|
|
252
|
+
field: string;
|
|
252
253
|
table: {
|
|
253
|
-
table: string;
|
|
254
254
|
database: string;
|
|
255
|
+
table: string;
|
|
255
256
|
};
|
|
256
|
-
field: string;
|
|
257
257
|
}) & (string | number | boolean | {
|
|
258
|
+
field: string;
|
|
258
259
|
table: {
|
|
259
|
-
table: string;
|
|
260
260
|
database: string;
|
|
261
|
+
table: string;
|
|
261
262
|
};
|
|
262
|
-
field: string;
|
|
263
263
|
} | undefined);
|
|
264
264
|
right: (string | number | boolean | {
|
|
265
|
+
field: string;
|
|
265
266
|
table: {
|
|
266
|
-
table: string;
|
|
267
267
|
database: string;
|
|
268
|
+
table: string;
|
|
268
269
|
};
|
|
269
|
-
field: string;
|
|
270
270
|
}) & (string | number | boolean | {
|
|
271
|
+
field: string;
|
|
271
272
|
table: {
|
|
272
|
-
table: string;
|
|
273
273
|
database: string;
|
|
274
|
+
table: string;
|
|
274
275
|
};
|
|
275
|
-
field: string;
|
|
276
276
|
} | undefined);
|
|
277
277
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
278
278
|
}>;
|
|
@@ -283,44 +283,44 @@ export declare const NqlFilterExpressionObj: z.ZodUnion<[z.ZodObject<{
|
|
|
283
283
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
284
284
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
285
285
|
}, "strip", z.ZodTypeAny, {
|
|
286
|
-
table: string;
|
|
287
286
|
database: string;
|
|
288
|
-
}, {
|
|
289
287
|
table: string;
|
|
288
|
+
}, {
|
|
290
289
|
database: string;
|
|
290
|
+
table: string;
|
|
291
291
|
}>;
|
|
292
292
|
}, "strip", z.ZodTypeAny, {
|
|
293
|
+
field: string;
|
|
293
294
|
table: {
|
|
294
|
-
table: string;
|
|
295
295
|
database: string;
|
|
296
|
+
table: string;
|
|
296
297
|
};
|
|
297
|
-
field: string;
|
|
298
298
|
}, {
|
|
299
|
+
field: string;
|
|
299
300
|
table: {
|
|
300
|
-
table: string;
|
|
301
301
|
database: string;
|
|
302
|
+
table: string;
|
|
302
303
|
};
|
|
303
|
-
field: string;
|
|
304
304
|
}>;
|
|
305
305
|
operator: z.ZodEnum<["IS NULL", "IS NOT NULL"]>;
|
|
306
306
|
}, "strip", z.ZodTypeAny, {
|
|
307
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
308
307
|
field: {
|
|
308
|
+
field: string;
|
|
309
309
|
table: {
|
|
310
|
-
table: string;
|
|
311
310
|
database: string;
|
|
311
|
+
table: string;
|
|
312
312
|
};
|
|
313
|
-
field: string;
|
|
314
313
|
};
|
|
315
|
-
}, {
|
|
316
314
|
operator: "IS NULL" | "IS NOT NULL";
|
|
315
|
+
}, {
|
|
317
316
|
field: {
|
|
317
|
+
field: string;
|
|
318
318
|
table: {
|
|
319
|
-
table: string;
|
|
320
319
|
database: string;
|
|
320
|
+
table: string;
|
|
321
321
|
};
|
|
322
|
-
field: string;
|
|
323
322
|
};
|
|
323
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
324
324
|
}>, z.ZodObject<{
|
|
325
325
|
left: z.ZodUnion<[z.ZodObject<{
|
|
326
326
|
field: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -328,24 +328,24 @@ export declare const NqlFilterExpressionObj: z.ZodUnion<[z.ZodObject<{
|
|
|
328
328
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
329
329
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
330
330
|
}, "strip", z.ZodTypeAny, {
|
|
331
|
-
table: string;
|
|
332
331
|
database: string;
|
|
333
|
-
}, {
|
|
334
332
|
table: string;
|
|
333
|
+
}, {
|
|
335
334
|
database: string;
|
|
335
|
+
table: string;
|
|
336
336
|
}>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
+
field: string;
|
|
338
339
|
table: {
|
|
339
|
-
table: string;
|
|
340
340
|
database: string;
|
|
341
|
+
table: string;
|
|
341
342
|
};
|
|
342
|
-
field: string;
|
|
343
343
|
}, {
|
|
344
|
+
field: string;
|
|
344
345
|
table: {
|
|
345
|
-
table: string;
|
|
346
346
|
database: string;
|
|
347
|
+
table: string;
|
|
347
348
|
};
|
|
348
|
-
field: string;
|
|
349
349
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
350
350
|
operator: z.ZodEnum<["=", "!=", ">", "<", ">=", "<=", "IN", "NOT IN", "LIKE", "NOT LIKE"]>;
|
|
351
351
|
right: z.ZodUnion<[z.ZodObject<{
|
|
@@ -354,79 +354,79 @@ export declare const NqlFilterExpressionObj: z.ZodUnion<[z.ZodObject<{
|
|
|
354
354
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
355
355
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
356
356
|
}, "strip", z.ZodTypeAny, {
|
|
357
|
-
table: string;
|
|
358
357
|
database: string;
|
|
359
|
-
}, {
|
|
360
358
|
table: string;
|
|
359
|
+
}, {
|
|
361
360
|
database: string;
|
|
361
|
+
table: string;
|
|
362
362
|
}>;
|
|
363
363
|
}, "strip", z.ZodTypeAny, {
|
|
364
|
+
field: string;
|
|
364
365
|
table: {
|
|
365
|
-
table: string;
|
|
366
366
|
database: string;
|
|
367
|
+
table: string;
|
|
367
368
|
};
|
|
368
|
-
field: string;
|
|
369
369
|
}, {
|
|
370
|
+
field: string;
|
|
370
371
|
table: {
|
|
371
|
-
table: string;
|
|
372
372
|
database: string;
|
|
373
|
+
table: string;
|
|
373
374
|
};
|
|
374
|
-
field: string;
|
|
375
375
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
376
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
377
|
left: (string | number | boolean | {
|
|
378
|
+
field: string;
|
|
378
379
|
table: {
|
|
379
|
-
table: string;
|
|
380
380
|
database: string;
|
|
381
|
+
table: string;
|
|
381
382
|
};
|
|
382
|
-
field: string;
|
|
383
383
|
}) & (string | number | boolean | {
|
|
384
|
+
field: string;
|
|
384
385
|
table: {
|
|
385
|
-
table: string;
|
|
386
386
|
database: string;
|
|
387
|
+
table: string;
|
|
387
388
|
};
|
|
388
|
-
field: string;
|
|
389
389
|
} | undefined);
|
|
390
390
|
right: (string | number | boolean | {
|
|
391
|
+
field: string;
|
|
391
392
|
table: {
|
|
392
|
-
table: string;
|
|
393
393
|
database: string;
|
|
394
|
+
table: string;
|
|
394
395
|
};
|
|
395
|
-
field: string;
|
|
396
396
|
}) & (string | number | boolean | {
|
|
397
|
+
field: string;
|
|
397
398
|
table: {
|
|
398
|
-
table: string;
|
|
399
399
|
database: string;
|
|
400
|
+
table: string;
|
|
400
401
|
};
|
|
401
|
-
field: string;
|
|
402
402
|
} | undefined);
|
|
403
403
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
404
404
|
}, {
|
|
405
405
|
left: (string | number | boolean | {
|
|
406
|
+
field: string;
|
|
406
407
|
table: {
|
|
407
|
-
table: string;
|
|
408
408
|
database: string;
|
|
409
|
+
table: string;
|
|
409
410
|
};
|
|
410
|
-
field: string;
|
|
411
411
|
}) & (string | number | boolean | {
|
|
412
|
+
field: string;
|
|
412
413
|
table: {
|
|
413
|
-
table: string;
|
|
414
414
|
database: string;
|
|
415
|
+
table: string;
|
|
415
416
|
};
|
|
416
|
-
field: string;
|
|
417
417
|
} | undefined);
|
|
418
418
|
right: (string | number | boolean | {
|
|
419
|
+
field: string;
|
|
419
420
|
table: {
|
|
420
|
-
table: string;
|
|
421
421
|
database: string;
|
|
422
|
+
table: string;
|
|
422
423
|
};
|
|
423
|
-
field: string;
|
|
424
424
|
}) & (string | number | boolean | {
|
|
425
|
+
field: string;
|
|
425
426
|
table: {
|
|
426
|
-
table: string;
|
|
427
427
|
database: string;
|
|
428
|
+
table: string;
|
|
428
429
|
};
|
|
429
|
-
field: string;
|
|
430
430
|
} | undefined);
|
|
431
431
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
432
432
|
}>]>;
|
|
@@ -442,44 +442,44 @@ export declare const NqlWhereObj: z.ZodEffects<z.ZodObject<{
|
|
|
442
442
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
443
443
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
444
444
|
}, "strip", z.ZodTypeAny, {
|
|
445
|
-
table: string;
|
|
446
445
|
database: string;
|
|
447
|
-
}, {
|
|
448
446
|
table: string;
|
|
447
|
+
}, {
|
|
449
448
|
database: string;
|
|
449
|
+
table: string;
|
|
450
450
|
}>;
|
|
451
451
|
}, "strip", z.ZodTypeAny, {
|
|
452
|
+
field: string;
|
|
452
453
|
table: {
|
|
453
|
-
table: string;
|
|
454
454
|
database: string;
|
|
455
|
+
table: string;
|
|
455
456
|
};
|
|
456
|
-
field: string;
|
|
457
457
|
}, {
|
|
458
|
+
field: string;
|
|
458
459
|
table: {
|
|
459
|
-
table: string;
|
|
460
460
|
database: string;
|
|
461
|
+
table: string;
|
|
461
462
|
};
|
|
462
|
-
field: string;
|
|
463
463
|
}>;
|
|
464
464
|
operator: z.ZodEnum<["IS NULL", "IS NOT NULL"]>;
|
|
465
465
|
}, "strip", z.ZodTypeAny, {
|
|
466
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
467
466
|
field: {
|
|
467
|
+
field: string;
|
|
468
468
|
table: {
|
|
469
|
-
table: string;
|
|
470
469
|
database: string;
|
|
470
|
+
table: string;
|
|
471
471
|
};
|
|
472
|
-
field: string;
|
|
473
472
|
};
|
|
474
|
-
}, {
|
|
475
473
|
operator: "IS NULL" | "IS NOT NULL";
|
|
474
|
+
}, {
|
|
476
475
|
field: {
|
|
476
|
+
field: string;
|
|
477
477
|
table: {
|
|
478
|
-
table: string;
|
|
479
478
|
database: string;
|
|
479
|
+
table: string;
|
|
480
480
|
};
|
|
481
|
-
field: string;
|
|
482
481
|
};
|
|
482
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
483
483
|
}>, z.ZodObject<{
|
|
484
484
|
left: z.ZodUnion<[z.ZodObject<{
|
|
485
485
|
field: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -487,24 +487,24 @@ export declare const NqlWhereObj: z.ZodEffects<z.ZodObject<{
|
|
|
487
487
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
488
488
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
489
489
|
}, "strip", z.ZodTypeAny, {
|
|
490
|
-
table: string;
|
|
491
490
|
database: string;
|
|
492
|
-
}, {
|
|
493
491
|
table: string;
|
|
492
|
+
}, {
|
|
494
493
|
database: string;
|
|
494
|
+
table: string;
|
|
495
495
|
}>;
|
|
496
496
|
}, "strip", z.ZodTypeAny, {
|
|
497
|
+
field: string;
|
|
497
498
|
table: {
|
|
498
|
-
table: string;
|
|
499
499
|
database: string;
|
|
500
|
+
table: string;
|
|
500
501
|
};
|
|
501
|
-
field: string;
|
|
502
502
|
}, {
|
|
503
|
+
field: string;
|
|
503
504
|
table: {
|
|
504
|
-
table: string;
|
|
505
505
|
database: string;
|
|
506
|
+
table: string;
|
|
506
507
|
};
|
|
507
|
-
field: string;
|
|
508
508
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
509
509
|
operator: z.ZodEnum<["=", "!=", ">", "<", ">=", "<=", "IN", "NOT IN", "LIKE", "NOT LIKE"]>;
|
|
510
510
|
right: z.ZodUnion<[z.ZodObject<{
|
|
@@ -513,239 +513,239 @@ export declare const NqlWhereObj: z.ZodEffects<z.ZodObject<{
|
|
|
513
513
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
514
514
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
515
515
|
}, "strip", z.ZodTypeAny, {
|
|
516
|
-
table: string;
|
|
517
516
|
database: string;
|
|
518
|
-
}, {
|
|
519
517
|
table: string;
|
|
518
|
+
}, {
|
|
520
519
|
database: string;
|
|
520
|
+
table: string;
|
|
521
521
|
}>;
|
|
522
522
|
}, "strip", z.ZodTypeAny, {
|
|
523
|
+
field: string;
|
|
523
524
|
table: {
|
|
524
|
-
table: string;
|
|
525
525
|
database: string;
|
|
526
|
+
table: string;
|
|
526
527
|
};
|
|
527
|
-
field: string;
|
|
528
528
|
}, {
|
|
529
|
+
field: string;
|
|
529
530
|
table: {
|
|
530
|
-
table: string;
|
|
531
531
|
database: string;
|
|
532
|
+
table: string;
|
|
532
533
|
};
|
|
533
|
-
field: string;
|
|
534
534
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
535
535
|
}, "strip", z.ZodTypeAny, {
|
|
536
536
|
left: (string | number | boolean | {
|
|
537
|
+
field: string;
|
|
537
538
|
table: {
|
|
538
|
-
table: string;
|
|
539
539
|
database: string;
|
|
540
|
+
table: string;
|
|
540
541
|
};
|
|
541
|
-
field: string;
|
|
542
542
|
}) & (string | number | boolean | {
|
|
543
|
+
field: string;
|
|
543
544
|
table: {
|
|
544
|
-
table: string;
|
|
545
545
|
database: string;
|
|
546
|
+
table: string;
|
|
546
547
|
};
|
|
547
|
-
field: string;
|
|
548
548
|
} | undefined);
|
|
549
549
|
right: (string | number | boolean | {
|
|
550
|
+
field: string;
|
|
550
551
|
table: {
|
|
551
|
-
table: string;
|
|
552
552
|
database: string;
|
|
553
|
+
table: string;
|
|
553
554
|
};
|
|
554
|
-
field: string;
|
|
555
555
|
}) & (string | number | boolean | {
|
|
556
|
+
field: string;
|
|
556
557
|
table: {
|
|
557
|
-
table: string;
|
|
558
558
|
database: string;
|
|
559
|
+
table: string;
|
|
559
560
|
};
|
|
560
|
-
field: string;
|
|
561
561
|
} | undefined);
|
|
562
562
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
563
563
|
}, {
|
|
564
564
|
left: (string | number | boolean | {
|
|
565
|
+
field: string;
|
|
565
566
|
table: {
|
|
566
|
-
table: string;
|
|
567
567
|
database: string;
|
|
568
|
+
table: string;
|
|
568
569
|
};
|
|
569
|
-
field: string;
|
|
570
570
|
}) & (string | number | boolean | {
|
|
571
|
+
field: string;
|
|
571
572
|
table: {
|
|
572
|
-
table: string;
|
|
573
573
|
database: string;
|
|
574
|
+
table: string;
|
|
574
575
|
};
|
|
575
|
-
field: string;
|
|
576
576
|
} | undefined);
|
|
577
577
|
right: (string | number | boolean | {
|
|
578
|
+
field: string;
|
|
578
579
|
table: {
|
|
579
|
-
table: string;
|
|
580
580
|
database: string;
|
|
581
|
+
table: string;
|
|
581
582
|
};
|
|
582
|
-
field: string;
|
|
583
583
|
}) & (string | number | boolean | {
|
|
584
|
+
field: string;
|
|
584
585
|
table: {
|
|
585
|
-
table: string;
|
|
586
586
|
database: string;
|
|
587
|
+
table: string;
|
|
587
588
|
};
|
|
588
|
-
field: string;
|
|
589
589
|
} | undefined);
|
|
590
590
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
591
591
|
}>]>, "many">;
|
|
592
592
|
}, "strip", z.ZodTypeAny, {
|
|
593
593
|
booleanExpressions: ("AND" | "OR")[];
|
|
594
594
|
filterExpressions: ({
|
|
595
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
596
595
|
field: {
|
|
596
|
+
field: string;
|
|
597
597
|
table: {
|
|
598
|
-
table: string;
|
|
599
598
|
database: string;
|
|
599
|
+
table: string;
|
|
600
600
|
};
|
|
601
|
-
field: string;
|
|
602
601
|
};
|
|
602
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
603
603
|
} | {
|
|
604
604
|
left: (string | number | boolean | {
|
|
605
|
+
field: string;
|
|
605
606
|
table: {
|
|
606
|
-
table: string;
|
|
607
607
|
database: string;
|
|
608
|
+
table: string;
|
|
608
609
|
};
|
|
609
|
-
field: string;
|
|
610
610
|
}) & (string | number | boolean | {
|
|
611
|
+
field: string;
|
|
611
612
|
table: {
|
|
612
|
-
table: string;
|
|
613
613
|
database: string;
|
|
614
|
+
table: string;
|
|
614
615
|
};
|
|
615
|
-
field: string;
|
|
616
616
|
} | undefined);
|
|
617
617
|
right: (string | number | boolean | {
|
|
618
|
+
field: string;
|
|
618
619
|
table: {
|
|
619
|
-
table: string;
|
|
620
620
|
database: string;
|
|
621
|
+
table: string;
|
|
621
622
|
};
|
|
622
|
-
field: string;
|
|
623
623
|
}) & (string | number | boolean | {
|
|
624
|
+
field: string;
|
|
624
625
|
table: {
|
|
625
|
-
table: string;
|
|
626
626
|
database: string;
|
|
627
|
+
table: string;
|
|
627
628
|
};
|
|
628
|
-
field: string;
|
|
629
629
|
} | undefined);
|
|
630
630
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
631
631
|
})[];
|
|
632
632
|
}, {
|
|
633
633
|
booleanExpressions: ("AND" | "OR")[];
|
|
634
634
|
filterExpressions: ({
|
|
635
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
636
635
|
field: {
|
|
636
|
+
field: string;
|
|
637
637
|
table: {
|
|
638
|
-
table: string;
|
|
639
638
|
database: string;
|
|
639
|
+
table: string;
|
|
640
640
|
};
|
|
641
|
-
field: string;
|
|
642
641
|
};
|
|
642
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
643
643
|
} | {
|
|
644
644
|
left: (string | number | boolean | {
|
|
645
|
+
field: string;
|
|
645
646
|
table: {
|
|
646
|
-
table: string;
|
|
647
647
|
database: string;
|
|
648
|
+
table: string;
|
|
648
649
|
};
|
|
649
|
-
field: string;
|
|
650
650
|
}) & (string | number | boolean | {
|
|
651
|
+
field: string;
|
|
651
652
|
table: {
|
|
652
|
-
table: string;
|
|
653
653
|
database: string;
|
|
654
|
+
table: string;
|
|
654
655
|
};
|
|
655
|
-
field: string;
|
|
656
656
|
} | undefined);
|
|
657
657
|
right: (string | number | boolean | {
|
|
658
|
+
field: string;
|
|
658
659
|
table: {
|
|
659
|
-
table: string;
|
|
660
660
|
database: string;
|
|
661
|
+
table: string;
|
|
661
662
|
};
|
|
662
|
-
field: string;
|
|
663
663
|
}) & (string | number | boolean | {
|
|
664
|
+
field: string;
|
|
664
665
|
table: {
|
|
665
|
-
table: string;
|
|
666
666
|
database: string;
|
|
667
|
+
table: string;
|
|
667
668
|
};
|
|
668
|
-
field: string;
|
|
669
669
|
} | undefined);
|
|
670
670
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
671
671
|
})[];
|
|
672
672
|
}>, {
|
|
673
673
|
booleanExpressions: ("AND" | "OR")[];
|
|
674
674
|
filterExpressions: ({
|
|
675
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
676
675
|
field: {
|
|
676
|
+
field: string;
|
|
677
677
|
table: {
|
|
678
|
-
table: string;
|
|
679
678
|
database: string;
|
|
679
|
+
table: string;
|
|
680
680
|
};
|
|
681
|
-
field: string;
|
|
682
681
|
};
|
|
682
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
683
683
|
} | {
|
|
684
684
|
left: (string | number | boolean | {
|
|
685
|
+
field: string;
|
|
685
686
|
table: {
|
|
686
|
-
table: string;
|
|
687
687
|
database: string;
|
|
688
|
+
table: string;
|
|
688
689
|
};
|
|
689
|
-
field: string;
|
|
690
690
|
}) & (string | number | boolean | {
|
|
691
|
+
field: string;
|
|
691
692
|
table: {
|
|
692
|
-
table: string;
|
|
693
693
|
database: string;
|
|
694
|
+
table: string;
|
|
694
695
|
};
|
|
695
|
-
field: string;
|
|
696
696
|
} | undefined);
|
|
697
697
|
right: (string | number | boolean | {
|
|
698
|
+
field: string;
|
|
698
699
|
table: {
|
|
699
|
-
table: string;
|
|
700
700
|
database: string;
|
|
701
|
+
table: string;
|
|
701
702
|
};
|
|
702
|
-
field: string;
|
|
703
703
|
}) & (string | number | boolean | {
|
|
704
|
+
field: string;
|
|
704
705
|
table: {
|
|
705
|
-
table: string;
|
|
706
706
|
database: string;
|
|
707
|
+
table: string;
|
|
707
708
|
};
|
|
708
|
-
field: string;
|
|
709
709
|
} | undefined);
|
|
710
710
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
711
711
|
})[];
|
|
712
712
|
}, {
|
|
713
713
|
booleanExpressions: ("AND" | "OR")[];
|
|
714
714
|
filterExpressions: ({
|
|
715
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
716
715
|
field: {
|
|
716
|
+
field: string;
|
|
717
717
|
table: {
|
|
718
|
-
table: string;
|
|
719
718
|
database: string;
|
|
719
|
+
table: string;
|
|
720
720
|
};
|
|
721
|
-
field: string;
|
|
722
721
|
};
|
|
722
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
723
723
|
} | {
|
|
724
724
|
left: (string | number | boolean | {
|
|
725
|
+
field: string;
|
|
725
726
|
table: {
|
|
726
|
-
table: string;
|
|
727
727
|
database: string;
|
|
728
|
+
table: string;
|
|
728
729
|
};
|
|
729
|
-
field: string;
|
|
730
730
|
}) & (string | number | boolean | {
|
|
731
|
+
field: string;
|
|
731
732
|
table: {
|
|
732
|
-
table: string;
|
|
733
733
|
database: string;
|
|
734
|
+
table: string;
|
|
734
735
|
};
|
|
735
|
-
field: string;
|
|
736
736
|
} | undefined);
|
|
737
737
|
right: (string | number | boolean | {
|
|
738
|
+
field: string;
|
|
738
739
|
table: {
|
|
739
|
-
table: string;
|
|
740
740
|
database: string;
|
|
741
|
+
table: string;
|
|
741
742
|
};
|
|
742
|
-
field: string;
|
|
743
743
|
}) & (string | number | boolean | {
|
|
744
|
+
field: string;
|
|
744
745
|
table: {
|
|
745
|
-
table: string;
|
|
746
746
|
database: string;
|
|
747
|
+
table: string;
|
|
747
748
|
};
|
|
748
|
-
field: string;
|
|
749
749
|
} | undefined);
|
|
750
750
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
751
751
|
})[];
|
|
@@ -760,34 +760,34 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
760
760
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
761
761
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
762
762
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
-
table: string;
|
|
764
763
|
database: string;
|
|
765
|
-
}, {
|
|
766
764
|
table: string;
|
|
765
|
+
}, {
|
|
767
766
|
database: string;
|
|
767
|
+
table: string;
|
|
768
768
|
}>;
|
|
769
769
|
}, "strip", z.ZodTypeAny, {
|
|
770
|
+
field: string;
|
|
770
771
|
table: {
|
|
771
|
-
table: string;
|
|
772
772
|
database: string;
|
|
773
|
+
table: string;
|
|
773
774
|
};
|
|
774
|
-
field: string;
|
|
775
775
|
}, {
|
|
776
|
+
field: string;
|
|
776
777
|
table: {
|
|
777
|
-
table: string;
|
|
778
778
|
database: string;
|
|
779
|
+
table: string;
|
|
779
780
|
};
|
|
780
|
-
field: string;
|
|
781
781
|
}>, "many">;
|
|
782
782
|
from: z.ZodArray<z.ZodObject<{
|
|
783
783
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
784
784
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
785
785
|
}, "strip", z.ZodTypeAny, {
|
|
786
|
-
table: string;
|
|
787
786
|
database: string;
|
|
788
|
-
}, {
|
|
789
787
|
table: string;
|
|
788
|
+
}, {
|
|
790
789
|
database: string;
|
|
790
|
+
table: string;
|
|
791
791
|
}>, "many">;
|
|
792
792
|
where: z.ZodEffects<z.ZodObject<{
|
|
793
793
|
booleanExpressions: z.ZodArray<z.ZodEnum<["AND", "OR"]>, "many">;
|
|
@@ -798,44 +798,44 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
798
798
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
799
799
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
800
800
|
}, "strip", z.ZodTypeAny, {
|
|
801
|
-
table: string;
|
|
802
801
|
database: string;
|
|
803
|
-
}, {
|
|
804
802
|
table: string;
|
|
803
|
+
}, {
|
|
805
804
|
database: string;
|
|
805
|
+
table: string;
|
|
806
806
|
}>;
|
|
807
807
|
}, "strip", z.ZodTypeAny, {
|
|
808
|
+
field: string;
|
|
808
809
|
table: {
|
|
809
|
-
table: string;
|
|
810
810
|
database: string;
|
|
811
|
+
table: string;
|
|
811
812
|
};
|
|
812
|
-
field: string;
|
|
813
813
|
}, {
|
|
814
|
+
field: string;
|
|
814
815
|
table: {
|
|
815
|
-
table: string;
|
|
816
816
|
database: string;
|
|
817
|
+
table: string;
|
|
817
818
|
};
|
|
818
|
-
field: string;
|
|
819
819
|
}>;
|
|
820
820
|
operator: z.ZodEnum<["IS NULL", "IS NOT NULL"]>;
|
|
821
821
|
}, "strip", z.ZodTypeAny, {
|
|
822
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
823
822
|
field: {
|
|
823
|
+
field: string;
|
|
824
824
|
table: {
|
|
825
|
-
table: string;
|
|
826
825
|
database: string;
|
|
826
|
+
table: string;
|
|
827
827
|
};
|
|
828
|
-
field: string;
|
|
829
828
|
};
|
|
830
|
-
}, {
|
|
831
829
|
operator: "IS NULL" | "IS NOT NULL";
|
|
830
|
+
}, {
|
|
832
831
|
field: {
|
|
832
|
+
field: string;
|
|
833
833
|
table: {
|
|
834
|
-
table: string;
|
|
835
834
|
database: string;
|
|
835
|
+
table: string;
|
|
836
836
|
};
|
|
837
|
-
field: string;
|
|
838
837
|
};
|
|
838
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
839
839
|
}>, z.ZodObject<{
|
|
840
840
|
left: z.ZodUnion<[z.ZodObject<{
|
|
841
841
|
field: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -843,24 +843,24 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
843
843
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
844
844
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
845
845
|
}, "strip", z.ZodTypeAny, {
|
|
846
|
-
table: string;
|
|
847
846
|
database: string;
|
|
848
|
-
}, {
|
|
849
847
|
table: string;
|
|
848
|
+
}, {
|
|
850
849
|
database: string;
|
|
850
|
+
table: string;
|
|
851
851
|
}>;
|
|
852
852
|
}, "strip", z.ZodTypeAny, {
|
|
853
|
+
field: string;
|
|
853
854
|
table: {
|
|
854
|
-
table: string;
|
|
855
855
|
database: string;
|
|
856
|
+
table: string;
|
|
856
857
|
};
|
|
857
|
-
field: string;
|
|
858
858
|
}, {
|
|
859
|
+
field: string;
|
|
859
860
|
table: {
|
|
860
|
-
table: string;
|
|
861
861
|
database: string;
|
|
862
|
+
table: string;
|
|
862
863
|
};
|
|
863
|
-
field: string;
|
|
864
864
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
865
865
|
operator: z.ZodEnum<["=", "!=", ">", "<", ">=", "<=", "IN", "NOT IN", "LIKE", "NOT LIKE"]>;
|
|
866
866
|
right: z.ZodUnion<[z.ZodObject<{
|
|
@@ -869,239 +869,239 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
869
869
|
database: z.ZodEffects<z.ZodString, string, string>;
|
|
870
870
|
table: z.ZodEffects<z.ZodString, string, string>;
|
|
871
871
|
}, "strip", z.ZodTypeAny, {
|
|
872
|
-
table: string;
|
|
873
872
|
database: string;
|
|
874
|
-
}, {
|
|
875
873
|
table: string;
|
|
874
|
+
}, {
|
|
876
875
|
database: string;
|
|
876
|
+
table: string;
|
|
877
877
|
}>;
|
|
878
878
|
}, "strip", z.ZodTypeAny, {
|
|
879
|
+
field: string;
|
|
879
880
|
table: {
|
|
880
|
-
table: string;
|
|
881
881
|
database: string;
|
|
882
|
+
table: string;
|
|
882
883
|
};
|
|
883
|
-
field: string;
|
|
884
884
|
}, {
|
|
885
|
+
field: string;
|
|
885
886
|
table: {
|
|
886
|
-
table: string;
|
|
887
887
|
database: string;
|
|
888
|
+
table: string;
|
|
888
889
|
};
|
|
889
|
-
field: string;
|
|
890
890
|
}>, z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
891
891
|
}, "strip", z.ZodTypeAny, {
|
|
892
892
|
left: (string | number | boolean | {
|
|
893
|
+
field: string;
|
|
893
894
|
table: {
|
|
894
|
-
table: string;
|
|
895
895
|
database: string;
|
|
896
|
+
table: string;
|
|
896
897
|
};
|
|
897
|
-
field: string;
|
|
898
898
|
}) & (string | number | boolean | {
|
|
899
|
+
field: string;
|
|
899
900
|
table: {
|
|
900
|
-
table: string;
|
|
901
901
|
database: string;
|
|
902
|
+
table: string;
|
|
902
903
|
};
|
|
903
|
-
field: string;
|
|
904
904
|
} | undefined);
|
|
905
905
|
right: (string | number | boolean | {
|
|
906
|
+
field: string;
|
|
906
907
|
table: {
|
|
907
|
-
table: string;
|
|
908
908
|
database: string;
|
|
909
|
+
table: string;
|
|
909
910
|
};
|
|
910
|
-
field: string;
|
|
911
911
|
}) & (string | number | boolean | {
|
|
912
|
+
field: string;
|
|
912
913
|
table: {
|
|
913
|
-
table: string;
|
|
914
914
|
database: string;
|
|
915
|
+
table: string;
|
|
915
916
|
};
|
|
916
|
-
field: string;
|
|
917
917
|
} | undefined);
|
|
918
918
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
919
919
|
}, {
|
|
920
920
|
left: (string | number | boolean | {
|
|
921
|
+
field: string;
|
|
921
922
|
table: {
|
|
922
|
-
table: string;
|
|
923
923
|
database: string;
|
|
924
|
+
table: string;
|
|
924
925
|
};
|
|
925
|
-
field: string;
|
|
926
926
|
}) & (string | number | boolean | {
|
|
927
|
+
field: string;
|
|
927
928
|
table: {
|
|
928
|
-
table: string;
|
|
929
929
|
database: string;
|
|
930
|
+
table: string;
|
|
930
931
|
};
|
|
931
|
-
field: string;
|
|
932
932
|
} | undefined);
|
|
933
933
|
right: (string | number | boolean | {
|
|
934
|
+
field: string;
|
|
934
935
|
table: {
|
|
935
|
-
table: string;
|
|
936
936
|
database: string;
|
|
937
|
+
table: string;
|
|
937
938
|
};
|
|
938
|
-
field: string;
|
|
939
939
|
}) & (string | number | boolean | {
|
|
940
|
+
field: string;
|
|
940
941
|
table: {
|
|
941
|
-
table: string;
|
|
942
942
|
database: string;
|
|
943
|
+
table: string;
|
|
943
944
|
};
|
|
944
|
-
field: string;
|
|
945
945
|
} | undefined);
|
|
946
946
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
947
947
|
}>]>, "many">;
|
|
948
948
|
}, "strip", z.ZodTypeAny, {
|
|
949
949
|
booleanExpressions: ("AND" | "OR")[];
|
|
950
950
|
filterExpressions: ({
|
|
951
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
952
951
|
field: {
|
|
952
|
+
field: string;
|
|
953
953
|
table: {
|
|
954
|
-
table: string;
|
|
955
954
|
database: string;
|
|
955
|
+
table: string;
|
|
956
956
|
};
|
|
957
|
-
field: string;
|
|
958
957
|
};
|
|
958
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
959
959
|
} | {
|
|
960
960
|
left: (string | number | boolean | {
|
|
961
|
+
field: string;
|
|
961
962
|
table: {
|
|
962
|
-
table: string;
|
|
963
963
|
database: string;
|
|
964
|
+
table: string;
|
|
964
965
|
};
|
|
965
|
-
field: string;
|
|
966
966
|
}) & (string | number | boolean | {
|
|
967
|
+
field: string;
|
|
967
968
|
table: {
|
|
968
|
-
table: string;
|
|
969
969
|
database: string;
|
|
970
|
+
table: string;
|
|
970
971
|
};
|
|
971
|
-
field: string;
|
|
972
972
|
} | undefined);
|
|
973
973
|
right: (string | number | boolean | {
|
|
974
|
+
field: string;
|
|
974
975
|
table: {
|
|
975
|
-
table: string;
|
|
976
976
|
database: string;
|
|
977
|
+
table: string;
|
|
977
978
|
};
|
|
978
|
-
field: string;
|
|
979
979
|
}) & (string | number | boolean | {
|
|
980
|
+
field: string;
|
|
980
981
|
table: {
|
|
981
|
-
table: string;
|
|
982
982
|
database: string;
|
|
983
|
+
table: string;
|
|
983
984
|
};
|
|
984
|
-
field: string;
|
|
985
985
|
} | undefined);
|
|
986
986
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
987
987
|
})[];
|
|
988
988
|
}, {
|
|
989
989
|
booleanExpressions: ("AND" | "OR")[];
|
|
990
990
|
filterExpressions: ({
|
|
991
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
992
991
|
field: {
|
|
992
|
+
field: string;
|
|
993
993
|
table: {
|
|
994
|
-
table: string;
|
|
995
994
|
database: string;
|
|
995
|
+
table: string;
|
|
996
996
|
};
|
|
997
|
-
field: string;
|
|
998
997
|
};
|
|
998
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
999
999
|
} | {
|
|
1000
1000
|
left: (string | number | boolean | {
|
|
1001
|
+
field: string;
|
|
1001
1002
|
table: {
|
|
1002
|
-
table: string;
|
|
1003
1003
|
database: string;
|
|
1004
|
+
table: string;
|
|
1004
1005
|
};
|
|
1005
|
-
field: string;
|
|
1006
1006
|
}) & (string | number | boolean | {
|
|
1007
|
+
field: string;
|
|
1007
1008
|
table: {
|
|
1008
|
-
table: string;
|
|
1009
1009
|
database: string;
|
|
1010
|
+
table: string;
|
|
1010
1011
|
};
|
|
1011
|
-
field: string;
|
|
1012
1012
|
} | undefined);
|
|
1013
1013
|
right: (string | number | boolean | {
|
|
1014
|
+
field: string;
|
|
1014
1015
|
table: {
|
|
1015
|
-
table: string;
|
|
1016
1016
|
database: string;
|
|
1017
|
+
table: string;
|
|
1017
1018
|
};
|
|
1018
|
-
field: string;
|
|
1019
1019
|
}) & (string | number | boolean | {
|
|
1020
|
+
field: string;
|
|
1020
1021
|
table: {
|
|
1021
|
-
table: string;
|
|
1022
1022
|
database: string;
|
|
1023
|
+
table: string;
|
|
1023
1024
|
};
|
|
1024
|
-
field: string;
|
|
1025
1025
|
} | undefined);
|
|
1026
1026
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
1027
1027
|
})[];
|
|
1028
1028
|
}>, {
|
|
1029
1029
|
booleanExpressions: ("AND" | "OR")[];
|
|
1030
1030
|
filterExpressions: ({
|
|
1031
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
1032
1031
|
field: {
|
|
1032
|
+
field: string;
|
|
1033
1033
|
table: {
|
|
1034
|
-
table: string;
|
|
1035
1034
|
database: string;
|
|
1035
|
+
table: string;
|
|
1036
1036
|
};
|
|
1037
|
-
field: string;
|
|
1038
1037
|
};
|
|
1038
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
1039
1039
|
} | {
|
|
1040
1040
|
left: (string | number | boolean | {
|
|
1041
|
+
field: string;
|
|
1041
1042
|
table: {
|
|
1042
|
-
table: string;
|
|
1043
1043
|
database: string;
|
|
1044
|
+
table: string;
|
|
1044
1045
|
};
|
|
1045
|
-
field: string;
|
|
1046
1046
|
}) & (string | number | boolean | {
|
|
1047
|
+
field: string;
|
|
1047
1048
|
table: {
|
|
1048
|
-
table: string;
|
|
1049
1049
|
database: string;
|
|
1050
|
+
table: string;
|
|
1050
1051
|
};
|
|
1051
|
-
field: string;
|
|
1052
1052
|
} | undefined);
|
|
1053
1053
|
right: (string | number | boolean | {
|
|
1054
|
+
field: string;
|
|
1054
1055
|
table: {
|
|
1055
|
-
table: string;
|
|
1056
1056
|
database: string;
|
|
1057
|
+
table: string;
|
|
1057
1058
|
};
|
|
1058
|
-
field: string;
|
|
1059
1059
|
}) & (string | number | boolean | {
|
|
1060
|
+
field: string;
|
|
1060
1061
|
table: {
|
|
1061
|
-
table: string;
|
|
1062
1062
|
database: string;
|
|
1063
|
+
table: string;
|
|
1063
1064
|
};
|
|
1064
|
-
field: string;
|
|
1065
1065
|
} | undefined);
|
|
1066
1066
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
1067
1067
|
})[];
|
|
1068
1068
|
}, {
|
|
1069
1069
|
booleanExpressions: ("AND" | "OR")[];
|
|
1070
1070
|
filterExpressions: ({
|
|
1071
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
1072
1071
|
field: {
|
|
1072
|
+
field: string;
|
|
1073
1073
|
table: {
|
|
1074
|
-
table: string;
|
|
1075
1074
|
database: string;
|
|
1075
|
+
table: string;
|
|
1076
1076
|
};
|
|
1077
|
-
field: string;
|
|
1078
1077
|
};
|
|
1078
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
1079
1079
|
} | {
|
|
1080
1080
|
left: (string | number | boolean | {
|
|
1081
|
+
field: string;
|
|
1081
1082
|
table: {
|
|
1082
|
-
table: string;
|
|
1083
1083
|
database: string;
|
|
1084
|
+
table: string;
|
|
1084
1085
|
};
|
|
1085
|
-
field: string;
|
|
1086
1086
|
}) & (string | number | boolean | {
|
|
1087
|
+
field: string;
|
|
1087
1088
|
table: {
|
|
1088
|
-
table: string;
|
|
1089
1089
|
database: string;
|
|
1090
|
+
table: string;
|
|
1090
1091
|
};
|
|
1091
|
-
field: string;
|
|
1092
1092
|
} | undefined);
|
|
1093
1093
|
right: (string | number | boolean | {
|
|
1094
|
+
field: string;
|
|
1094
1095
|
table: {
|
|
1095
|
-
table: string;
|
|
1096
1096
|
database: string;
|
|
1097
|
+
table: string;
|
|
1097
1098
|
};
|
|
1098
|
-
field: string;
|
|
1099
1099
|
}) & (string | number | boolean | {
|
|
1100
|
+
field: string;
|
|
1100
1101
|
table: {
|
|
1101
|
-
table: string;
|
|
1102
1102
|
database: string;
|
|
1103
|
+
table: string;
|
|
1103
1104
|
};
|
|
1104
|
-
field: string;
|
|
1105
1105
|
} | undefined);
|
|
1106
1106
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
1107
1107
|
})[];
|
|
@@ -1126,53 +1126,53 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
1126
1126
|
join: z.ZodUndefined;
|
|
1127
1127
|
}, "strip", z.ZodTypeAny, {
|
|
1128
1128
|
select: {
|
|
1129
|
+
field: string;
|
|
1129
1130
|
table: {
|
|
1130
|
-
table: string;
|
|
1131
1131
|
database: string;
|
|
1132
|
+
table: string;
|
|
1132
1133
|
};
|
|
1133
|
-
field: string;
|
|
1134
1134
|
}[];
|
|
1135
1135
|
from: {
|
|
1136
|
-
table: string;
|
|
1137
1136
|
database: string;
|
|
1137
|
+
table: string;
|
|
1138
1138
|
}[];
|
|
1139
1139
|
where: {
|
|
1140
1140
|
booleanExpressions: ("AND" | "OR")[];
|
|
1141
1141
|
filterExpressions: ({
|
|
1142
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
1143
1142
|
field: {
|
|
1143
|
+
field: string;
|
|
1144
1144
|
table: {
|
|
1145
|
-
table: string;
|
|
1146
1145
|
database: string;
|
|
1146
|
+
table: string;
|
|
1147
1147
|
};
|
|
1148
|
-
field: string;
|
|
1149
1148
|
};
|
|
1149
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
1150
1150
|
} | {
|
|
1151
1151
|
left: (string | number | boolean | {
|
|
1152
|
+
field: string;
|
|
1152
1153
|
table: {
|
|
1153
|
-
table: string;
|
|
1154
1154
|
database: string;
|
|
1155
|
+
table: string;
|
|
1155
1156
|
};
|
|
1156
|
-
field: string;
|
|
1157
1157
|
}) & (string | number | boolean | {
|
|
1158
|
+
field: string;
|
|
1158
1159
|
table: {
|
|
1159
|
-
table: string;
|
|
1160
1160
|
database: string;
|
|
1161
|
+
table: string;
|
|
1161
1162
|
};
|
|
1162
|
-
field: string;
|
|
1163
1163
|
} | undefined);
|
|
1164
1164
|
right: (string | number | boolean | {
|
|
1165
|
+
field: string;
|
|
1165
1166
|
table: {
|
|
1166
|
-
table: string;
|
|
1167
1167
|
database: string;
|
|
1168
|
+
table: string;
|
|
1168
1169
|
};
|
|
1169
|
-
field: string;
|
|
1170
1170
|
}) & (string | number | boolean | {
|
|
1171
|
+
field: string;
|
|
1171
1172
|
table: {
|
|
1172
|
-
table: string;
|
|
1173
1173
|
database: string;
|
|
1174
|
+
table: string;
|
|
1174
1175
|
};
|
|
1175
|
-
field: string;
|
|
1176
1176
|
} | undefined);
|
|
1177
1177
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
1178
1178
|
})[];
|
|
@@ -1190,53 +1190,53 @@ export declare const NqlObj: z.ZodObject<{
|
|
|
1190
1190
|
join?: undefined;
|
|
1191
1191
|
}, {
|
|
1192
1192
|
select: {
|
|
1193
|
+
field: string;
|
|
1193
1194
|
table: {
|
|
1194
|
-
table: string;
|
|
1195
1195
|
database: string;
|
|
1196
|
+
table: string;
|
|
1196
1197
|
};
|
|
1197
|
-
field: string;
|
|
1198
1198
|
}[];
|
|
1199
1199
|
from: {
|
|
1200
|
-
table: string;
|
|
1201
1200
|
database: string;
|
|
1201
|
+
table: string;
|
|
1202
1202
|
}[];
|
|
1203
1203
|
where: {
|
|
1204
1204
|
booleanExpressions: ("AND" | "OR")[];
|
|
1205
1205
|
filterExpressions: ({
|
|
1206
|
-
operator: "IS NULL" | "IS NOT NULL";
|
|
1207
1206
|
field: {
|
|
1207
|
+
field: string;
|
|
1208
1208
|
table: {
|
|
1209
|
-
table: string;
|
|
1210
1209
|
database: string;
|
|
1210
|
+
table: string;
|
|
1211
1211
|
};
|
|
1212
|
-
field: string;
|
|
1213
1212
|
};
|
|
1213
|
+
operator: "IS NULL" | "IS NOT NULL";
|
|
1214
1214
|
} | {
|
|
1215
1215
|
left: (string | number | boolean | {
|
|
1216
|
+
field: string;
|
|
1216
1217
|
table: {
|
|
1217
|
-
table: string;
|
|
1218
1218
|
database: string;
|
|
1219
|
+
table: string;
|
|
1219
1220
|
};
|
|
1220
|
-
field: string;
|
|
1221
1221
|
}) & (string | number | boolean | {
|
|
1222
|
+
field: string;
|
|
1222
1223
|
table: {
|
|
1223
|
-
table: string;
|
|
1224
1224
|
database: string;
|
|
1225
|
+
table: string;
|
|
1225
1226
|
};
|
|
1226
|
-
field: string;
|
|
1227
1227
|
} | undefined);
|
|
1228
1228
|
right: (string | number | boolean | {
|
|
1229
|
+
field: string;
|
|
1229
1230
|
table: {
|
|
1230
|
-
table: string;
|
|
1231
1231
|
database: string;
|
|
1232
|
+
table: string;
|
|
1232
1233
|
};
|
|
1233
|
-
field: string;
|
|
1234
1234
|
}) & (string | number | boolean | {
|
|
1235
|
+
field: string;
|
|
1235
1236
|
table: {
|
|
1236
|
-
table: string;
|
|
1237
1237
|
database: string;
|
|
1238
|
+
table: string;
|
|
1238
1239
|
};
|
|
1239
|
-
field: string;
|
|
1240
1240
|
} | undefined);
|
|
1241
1241
|
operator: ">" | "<" | ">=" | "<=" | "=" | "!=" | "IN" | "NOT IN" | "LIKE" | "NOT LIKE";
|
|
1242
1242
|
})[];
|