@rossum/api-client 0.1.26 → 0.1.30
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/index.js +72 -72
- package/index.js.map +1 -1
- package/package.json +3 -2
- package/src/hooks/endpoints/runs.js.map +1 -1
- package/src/hooks/endpoints/runs.schema.js +4 -0
- package/src/hooks/endpoints/runs.schema.js.map +1 -1
- package/src/hooks/endpoints/test.schema.js +2 -2
- package/src/hooks/endpoints/test.schema.js.map +1 -1
- package/src/hooks/models/hookUtils.schema.js +2 -0
- package/src/hooks/models/hookUtils.schema.js.map +1 -1
- package/src/internal/endpoints/rules/evaluateRules.js.map +1 -1
- package/src/internal/endpoints/rules/evaluateRules.schema.js +2 -0
- package/src/internal/endpoints/rules/evaluateRules.schema.js.map +1 -1
- package/src/internal/endpoints/schemas/evaluateFormulas.schema.js +2 -2
- package/src/internal/endpoints/schemas/evaluateFormulas.schema.js.map +1 -1
- package/src/internal/endpoints/schemas/formulasInfo.schema.js +1 -1
- package/src/internal/endpoints/schemas/formulasInfo.schema.js.map +1 -1
- package/src/queues/endpoints/automationSetup.js +15 -0
- package/src/queues/endpoints/automationSetup.js.map +1 -0
- package/src/queues/endpoints/index.js +2 -0
- package/src/queues/endpoints/index.js.map +1 -1
- package/src/queues/models/automationSetup.js +3 -0
- package/src/queues/models/automationSetup.js.map +1 -0
- package/src/queues/models/automationSetup.schema.js +49 -0
- package/src/queues/models/automationSetup.schema.js.map +1 -0
- package/src/queues/models/queueSettings.schema.js +1 -0
- package/src/queues/models/queueSettings.schema.js.map +1 -1
- package/src/rules/models/schemaRule.schema.js +1 -0
- package/src/rules/models/schemaRule.schema.js.map +1 -1
- package/src/schemas/models/schemaDatapointBase.schema.js +2 -0
- package/src/schemas/models/schemaDatapointBase.schema.js.map +1 -1
- package/src/shared/models/annotationListTable.schema.js +12 -1
- package/src/shared/models/annotationListTable.schema.js.map +1 -1
- package/src/utils/requestConfig.js +5 -4
- package/src/utils/requestConfig.js.map +1 -1
- package/src/utils/requestResponse.js +2 -2
- package/src/utils/requestResponse.js.map +1 -1
- package/types/index.d.ts +851 -316
- package/types/src/annotations/endpoints/index.d.ts +36 -22
- package/types/src/annotations/endpoints/list.d.ts +18 -11
- package/types/src/annotations/endpoints/search.d.ts +18 -11
- package/types/src/annotations/models/annotationListSideload.schema.d.ts +18 -11
- package/types/src/engines/endpoints/index.d.ts +18 -11
- package/types/src/engines/endpoints/queueStats.d.ts +18 -11
- package/types/src/engines/endpoints/queueStats.schema.d.ts +18 -11
- package/types/src/hookTemplates/endpoints/get.d.ts +9 -9
- package/types/src/hookTemplates/endpoints/index.d.ts +24 -24
- package/types/src/hookTemplates/endpoints/list.d.ts +15 -15
- package/types/src/hookTemplates/models/hookTemplate.schema.d.ts +9 -9
- package/types/src/hooks/endpoints/create.d.ts +9 -9
- package/types/src/hooks/endpoints/createFromTemplate.d.ts +12 -12
- package/types/src/hooks/endpoints/createFromTemplate.schema.d.ts +3 -3
- package/types/src/hooks/endpoints/get.d.ts +9 -9
- package/types/src/hooks/endpoints/index.d.ts +97 -81
- package/types/src/hooks/endpoints/list.d.ts +18 -18
- package/types/src/hooks/endpoints/list.schema.d.ts +3 -3
- package/types/src/hooks/endpoints/patch.d.ts +18 -18
- package/types/src/hooks/endpoints/patch.schema.d.ts +9 -9
- package/types/src/hooks/endpoints/runs.d.ts +29 -9
- package/types/src/hooks/endpoints/runs.schema.d.ts +21 -9
- package/types/src/hooks/endpoints/test.d.ts +8 -8
- package/types/src/hooks/endpoints/test.schema.d.ts +6 -6
- package/types/src/hooks/models/hook.schema.d.ts +21 -21
- package/types/src/hooks/models/hookUtils.d.ts +2 -2
- package/types/src/hooks/models/hookUtils.schema.d.ts +3 -3
- package/types/src/hooks/models/run.schema.d.ts +5 -5
- package/types/src/internal/endpoints/index.d.ts +2609 -1457
- package/types/src/internal/endpoints/rules/evaluateRules.d.ts +337 -188
- package/types/src/internal/endpoints/rules/evaluateRules.schema.d.ts +335 -188
- package/types/src/internal/endpoints/rules/suggestRule.d.ts +327 -183
- package/types/src/internal/endpoints/rules/suggestRule.schema.d.ts +332 -188
- package/types/src/internal/endpoints/rules/suggestTriggerCondition.d.ts +327 -183
- package/types/src/internal/endpoints/rules/suggestTriggerCondition.schema.d.ts +327 -183
- package/types/src/internal/endpoints/rules/suggestTriggerConditionSummary.d.ts +327 -183
- package/types/src/internal/endpoints/rules/suggestTriggerConditionSummary.schema.d.ts +327 -183
- package/types/src/internal/endpoints/schemas/evaluateFormulas.d.ts +330 -189
- package/types/src/internal/endpoints/schemas/evaluateFormulas.schema.d.ts +328 -187
- package/types/src/internal/endpoints/schemas/formulaSummary.d.ts +320 -176
- package/types/src/internal/endpoints/schemas/formulaSummary.schema.d.ts +320 -176
- package/types/src/internal/endpoints/schemas/formulasInfo.d.ts +326 -182
- package/types/src/internal/endpoints/schemas/formulasInfo.schema.d.ts +325 -181
- package/types/src/internal/endpoints/schemas/suggestFormula.d.ts +320 -176
- package/types/src/internal/endpoints/schemas/suggestFormula.schema.d.ts +320 -176
- package/types/src/organization/endpoints/create.d.ts +11 -11
- package/types/src/organization/endpoints/create.schema.d.ts +11 -11
- package/types/src/organization/endpoints/get.d.ts +9 -9
- package/types/src/organization/endpoints/index.d.ts +49 -49
- package/types/src/organization/endpoints/list.d.ts +11 -11
- package/types/src/organization/endpoints/patch.d.ts +18 -18
- package/types/src/organization/models/organization.schema.d.ts +9 -9
- package/types/src/queues/endpoints/automationSetup.d.ts +462 -0
- package/types/src/queues/endpoints/create.d.ts +14 -9
- package/types/src/queues/endpoints/createFromTemplate.d.ts +14 -9
- package/types/src/queues/endpoints/duplicate.d.ts +14 -9
- package/types/src/queues/endpoints/get.d.ts +14 -9
- package/types/src/queues/endpoints/index.d.ts +563 -65
- package/types/src/queues/endpoints/list.d.ts +18 -11
- package/types/src/queues/endpoints/patch.d.ts +28 -18
- package/types/src/queues/endpoints/patch.schema.d.ts +14 -9
- package/types/src/queues/models/automationSetup.d.ts +42 -0
- package/types/src/queues/models/automationSetup.schema.d.ts +751 -0
- package/types/src/queues/models/queue.schema.d.ts +14 -9
- package/types/src/queues/models/queueSettings.d.ts +1 -0
- package/types/src/queues/models/queueSettings.schema.d.ts +10 -7
- package/types/src/rule-templates/endpoints/create.d.ts +10 -10
- package/types/src/rule-templates/endpoints/create.schema.d.ts +5 -5
- package/types/src/rule-templates/endpoints/get.d.ts +5 -5
- package/types/src/rule-templates/endpoints/index.d.ts +32 -32
- package/types/src/rule-templates/endpoints/list.d.ts +7 -7
- package/types/src/rule-templates/endpoints/patch.d.ts +10 -10
- package/types/src/rule-templates/endpoints/patch.schema.d.ts +5 -5
- package/types/src/rule-templates/models/ruleTemplate.schema.d.ts +5 -5
- package/types/src/rules/endpoints/create.d.ts +10 -10
- package/types/src/rules/endpoints/create.schema.d.ts +5 -5
- package/types/src/rules/endpoints/get.d.ts +5 -5
- package/types/src/rules/endpoints/index.d.ts +32 -32
- package/types/src/rules/endpoints/list.d.ts +7 -7
- package/types/src/rules/endpoints/patch.d.ts +10 -10
- package/types/src/rules/endpoints/patch.schema.d.ts +5 -5
- package/types/src/rules/models/schemaRule.d.ts +1 -1
- package/types/src/rules/models/schemaRule.schema.d.ts +11 -11
- package/types/src/schemas/endpoints/create.d.ts +320 -176
- package/types/src/schemas/endpoints/get.d.ts +320 -176
- package/types/src/schemas/endpoints/list.d.ts +384 -208
- package/types/src/schemas/endpoints/patch.d.ts +640 -352
- package/types/src/schemas/endpoints/patch.schema.d.ts +320 -176
- package/types/src/schemas/endpoints/validate.d.ts +672 -368
- package/types/src/schemas/models/schema.schema.d.ts +320 -176
- package/types/src/schemas/models/schemaDatapoint.schema.d.ts +32 -20
- package/types/src/schemas/models/schemaDatapointBase.d.ts +2 -1
- package/types/src/schemas/models/schemaDatapointBase.schema.d.ts +12 -9
- package/types/src/schemas/models/schemaDatapointDate.schema.d.ts +8 -5
- package/types/src/schemas/models/schemaDatapointEnum.schema.d.ts +8 -5
- package/types/src/schemas/models/schemaDatapointNumber.schema.d.ts +8 -5
- package/types/src/schemas/models/schemaDatapointString.schema.d.ts +8 -5
- package/types/src/schemas/models/schemaItem.schema.d.ts +192 -112
- package/types/src/schemas/models/schemaMultivalue.schema.d.ts +112 -64
- package/types/src/schemas/models/schemaSection.schema.d.ts +256 -144
- package/types/src/schemas/models/schemaTuple.schema.d.ts +48 -28
- package/types/src/shared/models/annotationListTable.d.ts +11 -1
- package/types/src/shared/models/annotationListTable.schema.d.ts +99 -15
|
@@ -81,13 +81,13 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
81
81
|
required?: boolean | null | undefined;
|
|
82
82
|
}>>>;
|
|
83
83
|
uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
84
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
|
|
84
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
|
|
85
85
|
edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
87
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
88
88
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
89
89
|
}, {
|
|
90
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
90
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
91
91
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
92
92
|
}>>>;
|
|
93
93
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -97,6 +97,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
97
97
|
formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
98
|
context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
99
99
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
+
dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
100
101
|
}, "strip", z.ZodTypeAny, {
|
|
101
102
|
suggest?: true | undefined;
|
|
102
103
|
canExport?: boolean | null | undefined;
|
|
@@ -115,7 +116,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
115
116
|
required?: boolean | null | undefined;
|
|
116
117
|
} | null | undefined;
|
|
117
118
|
uiConfiguration?: {
|
|
118
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
119
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
119
120
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
120
121
|
} | null | undefined;
|
|
121
122
|
width?: number | null | undefined;
|
|
@@ -125,6 +126,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
125
126
|
formula?: string | null | undefined;
|
|
126
127
|
context?: string[] | null | undefined;
|
|
127
128
|
prompt?: string | null | undefined;
|
|
129
|
+
dataset?: Record<string, unknown> | undefined;
|
|
128
130
|
}, {
|
|
129
131
|
suggest?: true | undefined;
|
|
130
132
|
canExport?: boolean | null | undefined;
|
|
@@ -143,7 +145,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
143
145
|
required?: boolean | null | undefined;
|
|
144
146
|
} | null | undefined;
|
|
145
147
|
uiConfiguration?: {
|
|
146
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
148
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
147
149
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
148
150
|
} | null | undefined;
|
|
149
151
|
width?: number | null | undefined;
|
|
@@ -153,6 +155,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
153
155
|
formula?: string | null | undefined;
|
|
154
156
|
context?: string[] | null | undefined;
|
|
155
157
|
prompt?: string | null | undefined;
|
|
158
|
+
dataset?: Record<string, unknown> | undefined;
|
|
156
159
|
}>>>, z.ZodIntersection<z.ZodObject<{
|
|
157
160
|
type: z.ZodLiteral<"date">;
|
|
158
161
|
format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -236,13 +239,13 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
236
239
|
required?: boolean | null | undefined;
|
|
237
240
|
}>>>;
|
|
238
241
|
uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
239
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
|
|
242
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
|
|
240
243
|
edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
|
|
241
244
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
245
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
243
246
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
244
247
|
}, {
|
|
245
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
248
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
246
249
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
247
250
|
}>>>;
|
|
248
251
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -252,6 +255,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
252
255
|
formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
253
256
|
context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
254
257
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
258
|
+
dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
255
259
|
}, "strip", z.ZodTypeAny, {
|
|
256
260
|
suggest?: true | undefined;
|
|
257
261
|
canExport?: boolean | null | undefined;
|
|
@@ -270,7 +274,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
270
274
|
required?: boolean | null | undefined;
|
|
271
275
|
} | null | undefined;
|
|
272
276
|
uiConfiguration?: {
|
|
273
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
277
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
274
278
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
275
279
|
} | null | undefined;
|
|
276
280
|
width?: number | null | undefined;
|
|
@@ -280,6 +284,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
280
284
|
formula?: string | null | undefined;
|
|
281
285
|
context?: string[] | null | undefined;
|
|
282
286
|
prompt?: string | null | undefined;
|
|
287
|
+
dataset?: Record<string, unknown> | undefined;
|
|
283
288
|
}, {
|
|
284
289
|
suggest?: true | undefined;
|
|
285
290
|
canExport?: boolean | null | undefined;
|
|
@@ -298,7 +303,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
298
303
|
required?: boolean | null | undefined;
|
|
299
304
|
} | null | undefined;
|
|
300
305
|
uiConfiguration?: {
|
|
301
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
306
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
302
307
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
303
308
|
} | null | undefined;
|
|
304
309
|
width?: number | null | undefined;
|
|
@@ -308,6 +313,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
308
313
|
formula?: string | null | undefined;
|
|
309
314
|
context?: string[] | null | undefined;
|
|
310
315
|
prompt?: string | null | undefined;
|
|
316
|
+
dataset?: Record<string, unknown> | undefined;
|
|
311
317
|
}>>>, z.ZodIntersection<z.ZodObject<{
|
|
312
318
|
type: z.ZodLiteral<"number">;
|
|
313
319
|
format: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -418,13 +424,13 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
418
424
|
required?: boolean | null | undefined;
|
|
419
425
|
}>>>;
|
|
420
426
|
uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
421
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
|
|
427
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
|
|
422
428
|
edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
|
|
423
429
|
}, "strip", z.ZodTypeAny, {
|
|
424
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
430
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
425
431
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
426
432
|
}, {
|
|
427
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
433
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
428
434
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
429
435
|
}>>>;
|
|
430
436
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -434,6 +440,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
434
440
|
formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
435
441
|
context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
436
442
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
443
|
+
dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
437
444
|
}, "strip", z.ZodTypeAny, {
|
|
438
445
|
suggest?: true | undefined;
|
|
439
446
|
canExport?: boolean | null | undefined;
|
|
@@ -452,7 +459,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
452
459
|
required?: boolean | null | undefined;
|
|
453
460
|
} | null | undefined;
|
|
454
461
|
uiConfiguration?: {
|
|
455
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
462
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
456
463
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
457
464
|
} | null | undefined;
|
|
458
465
|
width?: number | null | undefined;
|
|
@@ -462,6 +469,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
462
469
|
formula?: string | null | undefined;
|
|
463
470
|
context?: string[] | null | undefined;
|
|
464
471
|
prompt?: string | null | undefined;
|
|
472
|
+
dataset?: Record<string, unknown> | undefined;
|
|
465
473
|
}, {
|
|
466
474
|
suggest?: true | undefined;
|
|
467
475
|
canExport?: boolean | null | undefined;
|
|
@@ -480,7 +488,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
480
488
|
required?: boolean | null | undefined;
|
|
481
489
|
} | null | undefined;
|
|
482
490
|
uiConfiguration?: {
|
|
483
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
491
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
484
492
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
485
493
|
} | null | undefined;
|
|
486
494
|
width?: number | null | undefined;
|
|
@@ -490,6 +498,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
490
498
|
formula?: string | null | undefined;
|
|
491
499
|
context?: string[] | null | undefined;
|
|
492
500
|
prompt?: string | null | undefined;
|
|
501
|
+
dataset?: Record<string, unknown> | undefined;
|
|
493
502
|
}>>>, z.ZodIntersection<z.ZodObject<{
|
|
494
503
|
type: z.ZodLiteral<"enum">;
|
|
495
504
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -591,13 +600,13 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
591
600
|
required?: boolean | null | undefined;
|
|
592
601
|
}>>>;
|
|
593
602
|
uiConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
594
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">]>>>;
|
|
603
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"captured">, z.ZodLiteral<"data">, z.ZodLiteral<"manual">, z.ZodLiteral<"formula">, z.ZodLiteral<"reasoning">, z.ZodLiteral<"lookup">]>>>;
|
|
595
604
|
edit: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"enabled">, z.ZodLiteral<"enabled_without_warning">, z.ZodLiteral<"disabled">]>>;
|
|
596
605
|
}, "strip", z.ZodTypeAny, {
|
|
597
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
606
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
598
607
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
599
608
|
}, {
|
|
600
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
609
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
601
610
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
602
611
|
}>>>;
|
|
603
612
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -607,6 +616,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
607
616
|
formula: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
608
617
|
context: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
609
618
|
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
619
|
+
dataset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
610
620
|
}, "strip", z.ZodTypeAny, {
|
|
611
621
|
suggest?: true | undefined;
|
|
612
622
|
canExport?: boolean | null | undefined;
|
|
@@ -625,7 +635,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
625
635
|
required?: boolean | null | undefined;
|
|
626
636
|
} | null | undefined;
|
|
627
637
|
uiConfiguration?: {
|
|
628
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
638
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
629
639
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
630
640
|
} | null | undefined;
|
|
631
641
|
width?: number | null | undefined;
|
|
@@ -635,6 +645,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
635
645
|
formula?: string | null | undefined;
|
|
636
646
|
context?: string[] | null | undefined;
|
|
637
647
|
prompt?: string | null | undefined;
|
|
648
|
+
dataset?: Record<string, unknown> | undefined;
|
|
638
649
|
}, {
|
|
639
650
|
suggest?: true | undefined;
|
|
640
651
|
canExport?: boolean | null | undefined;
|
|
@@ -653,7 +664,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
653
664
|
required?: boolean | null | undefined;
|
|
654
665
|
} | null | undefined;
|
|
655
666
|
uiConfiguration?: {
|
|
656
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
667
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
657
668
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
658
669
|
} | null | undefined;
|
|
659
670
|
width?: number | null | undefined;
|
|
@@ -663,6 +674,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
663
674
|
formula?: string | null | undefined;
|
|
664
675
|
context?: string[] | null | undefined;
|
|
665
676
|
prompt?: string | null | undefined;
|
|
677
|
+
dataset?: Record<string, unknown> | undefined;
|
|
666
678
|
}>>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
667
679
|
id: z.ZodString;
|
|
668
680
|
label: z.ZodString;
|
|
@@ -736,7 +748,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
736
748
|
required?: boolean | null | undefined;
|
|
737
749
|
} | null | undefined;
|
|
738
750
|
uiConfiguration?: {
|
|
739
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
751
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
740
752
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
741
753
|
} | null | undefined;
|
|
742
754
|
width?: number | null | undefined;
|
|
@@ -746,6 +758,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
746
758
|
formula?: string | null | undefined;
|
|
747
759
|
context?: string[] | null | undefined;
|
|
748
760
|
prompt?: string | null | undefined;
|
|
761
|
+
dataset?: Record<string, unknown> | undefined;
|
|
749
762
|
}) | ({
|
|
750
763
|
type: "date";
|
|
751
764
|
format?: string | null | undefined;
|
|
@@ -775,7 +788,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
775
788
|
required?: boolean | null | undefined;
|
|
776
789
|
} | null | undefined;
|
|
777
790
|
uiConfiguration?: {
|
|
778
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
791
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
779
792
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
780
793
|
} | null | undefined;
|
|
781
794
|
width?: number | null | undefined;
|
|
@@ -785,6 +798,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
785
798
|
formula?: string | null | undefined;
|
|
786
799
|
context?: string[] | null | undefined;
|
|
787
800
|
prompt?: string | null | undefined;
|
|
801
|
+
dataset?: Record<string, unknown> | undefined;
|
|
788
802
|
}) | ({
|
|
789
803
|
type: "number";
|
|
790
804
|
format?: string | null | undefined;
|
|
@@ -819,7 +833,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
819
833
|
required?: boolean | null | undefined;
|
|
820
834
|
} | null | undefined;
|
|
821
835
|
uiConfiguration?: {
|
|
822
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
836
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
823
837
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
824
838
|
} | null | undefined;
|
|
825
839
|
width?: number | null | undefined;
|
|
@@ -829,6 +843,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
829
843
|
formula?: string | null | undefined;
|
|
830
844
|
context?: string[] | null | undefined;
|
|
831
845
|
prompt?: string | null | undefined;
|
|
846
|
+
dataset?: Record<string, unknown> | undefined;
|
|
832
847
|
}) | ({
|
|
833
848
|
options: {
|
|
834
849
|
value: string;
|
|
@@ -862,7 +877,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
862
877
|
required?: boolean | null | undefined;
|
|
863
878
|
} | null | undefined;
|
|
864
879
|
uiConfiguration?: {
|
|
865
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
880
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
866
881
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
867
882
|
} | null | undefined;
|
|
868
883
|
width?: number | null | undefined;
|
|
@@ -872,6 +887,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
872
887
|
formula?: string | null | undefined;
|
|
873
888
|
context?: string[] | null | undefined;
|
|
874
889
|
prompt?: string | null | undefined;
|
|
890
|
+
dataset?: Record<string, unknown> | undefined;
|
|
875
891
|
}) | ({
|
|
876
892
|
id: string;
|
|
877
893
|
label: string;
|
|
@@ -918,7 +934,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
918
934
|
required?: boolean | null | undefined;
|
|
919
935
|
} | null | undefined;
|
|
920
936
|
uiConfiguration?: {
|
|
921
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
937
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
922
938
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
923
939
|
} | null | undefined;
|
|
924
940
|
width?: number | null | undefined;
|
|
@@ -928,6 +944,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
928
944
|
formula?: string | null | undefined;
|
|
929
945
|
context?: string[] | null | undefined;
|
|
930
946
|
prompt?: string | null | undefined;
|
|
947
|
+
dataset?: Record<string, unknown> | undefined;
|
|
931
948
|
}) | ({
|
|
932
949
|
type: "date";
|
|
933
950
|
format?: string | null | undefined;
|
|
@@ -957,7 +974,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
957
974
|
required?: boolean | null | undefined;
|
|
958
975
|
} | null | undefined;
|
|
959
976
|
uiConfiguration?: {
|
|
960
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
977
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
961
978
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
962
979
|
} | null | undefined;
|
|
963
980
|
width?: number | null | undefined;
|
|
@@ -967,6 +984,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
967
984
|
formula?: string | null | undefined;
|
|
968
985
|
context?: string[] | null | undefined;
|
|
969
986
|
prompt?: string | null | undefined;
|
|
987
|
+
dataset?: Record<string, unknown> | undefined;
|
|
970
988
|
}) | ({
|
|
971
989
|
type: "number";
|
|
972
990
|
format?: string | null | undefined;
|
|
@@ -1001,7 +1019,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
1001
1019
|
required?: boolean | null | undefined;
|
|
1002
1020
|
} | null | undefined;
|
|
1003
1021
|
uiConfiguration?: {
|
|
1004
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
1022
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
1005
1023
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
1006
1024
|
} | null | undefined;
|
|
1007
1025
|
width?: number | null | undefined;
|
|
@@ -1011,6 +1029,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
1011
1029
|
formula?: string | null | undefined;
|
|
1012
1030
|
context?: string[] | null | undefined;
|
|
1013
1031
|
prompt?: string | null | undefined;
|
|
1032
|
+
dataset?: Record<string, unknown> | undefined;
|
|
1014
1033
|
}) | ({
|
|
1015
1034
|
options: {
|
|
1016
1035
|
value: string;
|
|
@@ -1044,7 +1063,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
1044
1063
|
required?: boolean | null | undefined;
|
|
1045
1064
|
} | null | undefined;
|
|
1046
1065
|
uiConfiguration?: {
|
|
1047
|
-
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | null | undefined;
|
|
1066
|
+
type?: "data" | "manual" | "captured" | "formula" | "reasoning" | "lookup" | null | undefined;
|
|
1048
1067
|
edit?: "enabled" | "enabled_without_warning" | "disabled" | undefined;
|
|
1049
1068
|
} | null | undefined;
|
|
1050
1069
|
width?: number | null | undefined;
|
|
@@ -1054,6 +1073,7 @@ export declare const schemaTupleSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
1054
1073
|
formula?: string | null | undefined;
|
|
1055
1074
|
context?: string[] | null | undefined;
|
|
1056
1075
|
prompt?: string | null | undefined;
|
|
1076
|
+
dataset?: Record<string, unknown> | undefined;
|
|
1057
1077
|
}) | ({
|
|
1058
1078
|
id: string;
|
|
1059
1079
|
label: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type DateField = 'created_at' | 'modified_at' | 'exported_at' | 'confirmed_at' | 'rejected_at' | 'deleted_at' | 'assigned_at' | 'export_failed_at';
|
|
2
|
-
type UserField = 'exported_by' | 'confirmed_by' | 'rejected_by' | 'deleted_by' | 'modifier' | 'assignees';
|
|
2
|
+
type UserField = 'exported_by' | 'confirmed_by' | 'rejected_by' | 'deleted_by' | 'modifier' | 'assignees' | 'creator';
|
|
3
3
|
export type MetaField = 'original_file_name' | 'queue' | 'status' | 'labels' | 'details' | DateField | UserField;
|
|
4
4
|
export type SchemaColumn = {
|
|
5
5
|
schemaId: string;
|
|
@@ -16,6 +16,15 @@ export type MetaColumn = {
|
|
|
16
16
|
width: number;
|
|
17
17
|
};
|
|
18
18
|
export type ColumnsWidth = Record<string, number>;
|
|
19
|
+
export type SavedFilter = {
|
|
20
|
+
filter_items: {
|
|
21
|
+
field: string;
|
|
22
|
+
operator: string;
|
|
23
|
+
value?: unknown;
|
|
24
|
+
}[];
|
|
25
|
+
name: string;
|
|
26
|
+
filter_id: string;
|
|
27
|
+
};
|
|
19
28
|
export type UserTableConfig = {
|
|
20
29
|
organization?: {
|
|
21
30
|
width: ColumnsWidth;
|
|
@@ -23,6 +32,7 @@ export type UserTableConfig = {
|
|
|
23
32
|
queues?: {
|
|
24
33
|
width: Record<string, ColumnsWidth>;
|
|
25
34
|
};
|
|
35
|
+
saved_filters?: SavedFilter[];
|
|
26
36
|
};
|
|
27
37
|
export type AnnotationListColumn = MetaColumn | SchemaColumn;
|
|
28
38
|
export type AnnotationListColumns = Array<AnnotationListColumn>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const metaFieldSchema: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">, z.ZodLiteral<"export_failed_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">]>]>;
|
|
2
|
+
export declare const metaFieldSchema: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">, z.ZodLiteral<"export_failed_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">, z.ZodLiteral<"creator">]>]>;
|
|
3
3
|
export declare const schemaColumnSchema: z.ZodObject<{
|
|
4
4
|
schemaId: z.ZodString;
|
|
5
5
|
dataType: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
@@ -23,7 +23,7 @@ export declare const schemaColumnSchema: z.ZodObject<{
|
|
|
23
23
|
scoreThreshold?: number | null | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
export declare const metaColumnSchema: z.ZodObject<{
|
|
26
|
-
metaName: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">, z.ZodLiteral<"export_failed_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">]>]>;
|
|
26
|
+
metaName: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">, z.ZodLiteral<"export_failed_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">, z.ZodLiteral<"creator">]>]>;
|
|
27
27
|
columnType: z.ZodLiteral<"meta">;
|
|
28
28
|
visible: z.ZodBoolean;
|
|
29
29
|
width: z.ZodNumber;
|
|
@@ -31,14 +31,47 @@ export declare const metaColumnSchema: z.ZodObject<{
|
|
|
31
31
|
width: number;
|
|
32
32
|
columnType: "meta";
|
|
33
33
|
visible: boolean;
|
|
34
|
-
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
34
|
+
metaName: "status" | "assignees" | "queue" | "creator" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
35
35
|
}, {
|
|
36
36
|
width: number;
|
|
37
37
|
columnType: "meta";
|
|
38
38
|
visible: boolean;
|
|
39
|
-
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
39
|
+
metaName: "status" | "assignees" | "queue" | "creator" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
40
40
|
}>;
|
|
41
41
|
export declare const columnsWidthSchema: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
42
|
+
export declare const savedFilterSchema: z.ZodObject<{
|
|
43
|
+
filter_items: z.ZodArray<z.ZodObject<{
|
|
44
|
+
field: z.ZodString;
|
|
45
|
+
operator: z.ZodString;
|
|
46
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
field: string;
|
|
49
|
+
operator: string;
|
|
50
|
+
value?: unknown;
|
|
51
|
+
}, {
|
|
52
|
+
field: string;
|
|
53
|
+
operator: string;
|
|
54
|
+
value?: unknown;
|
|
55
|
+
}>, "many">;
|
|
56
|
+
name: z.ZodString;
|
|
57
|
+
filter_id: z.ZodString;
|
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
name: string;
|
|
60
|
+
filter_items: {
|
|
61
|
+
field: string;
|
|
62
|
+
operator: string;
|
|
63
|
+
value?: unknown;
|
|
64
|
+
}[];
|
|
65
|
+
filter_id: string;
|
|
66
|
+
}, {
|
|
67
|
+
name: string;
|
|
68
|
+
filter_items: {
|
|
69
|
+
field: string;
|
|
70
|
+
operator: string;
|
|
71
|
+
value?: unknown;
|
|
72
|
+
}[];
|
|
73
|
+
filter_id: string;
|
|
74
|
+
}>;
|
|
42
75
|
export declare const userTableConfigSchema: z.ZodObject<{
|
|
43
76
|
organization: z.ZodOptional<z.ZodObject<{
|
|
44
77
|
width: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
@@ -54,6 +87,39 @@ export declare const userTableConfigSchema: z.ZodObject<{
|
|
|
54
87
|
}, {
|
|
55
88
|
width: Record<string, Record<string, number>>;
|
|
56
89
|
}>>;
|
|
90
|
+
saved_filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
91
|
+
filter_items: z.ZodArray<z.ZodObject<{
|
|
92
|
+
field: z.ZodString;
|
|
93
|
+
operator: z.ZodString;
|
|
94
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
field: string;
|
|
97
|
+
operator: string;
|
|
98
|
+
value?: unknown;
|
|
99
|
+
}, {
|
|
100
|
+
field: string;
|
|
101
|
+
operator: string;
|
|
102
|
+
value?: unknown;
|
|
103
|
+
}>, "many">;
|
|
104
|
+
name: z.ZodString;
|
|
105
|
+
filter_id: z.ZodString;
|
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
|
107
|
+
name: string;
|
|
108
|
+
filter_items: {
|
|
109
|
+
field: string;
|
|
110
|
+
operator: string;
|
|
111
|
+
value?: unknown;
|
|
112
|
+
}[];
|
|
113
|
+
filter_id: string;
|
|
114
|
+
}, {
|
|
115
|
+
name: string;
|
|
116
|
+
filter_items: {
|
|
117
|
+
field: string;
|
|
118
|
+
operator: string;
|
|
119
|
+
value?: unknown;
|
|
120
|
+
}[];
|
|
121
|
+
filter_id: string;
|
|
122
|
+
}>, "many">>;
|
|
57
123
|
}, "strip", z.ZodTypeAny, {
|
|
58
124
|
organization?: {
|
|
59
125
|
width: Record<string, number>;
|
|
@@ -61,6 +127,15 @@ export declare const userTableConfigSchema: z.ZodObject<{
|
|
|
61
127
|
queues?: {
|
|
62
128
|
width: Record<string, Record<string, number>>;
|
|
63
129
|
} | undefined;
|
|
130
|
+
saved_filters?: {
|
|
131
|
+
name: string;
|
|
132
|
+
filter_items: {
|
|
133
|
+
field: string;
|
|
134
|
+
operator: string;
|
|
135
|
+
value?: unknown;
|
|
136
|
+
}[];
|
|
137
|
+
filter_id: string;
|
|
138
|
+
}[] | undefined;
|
|
64
139
|
}, {
|
|
65
140
|
organization?: {
|
|
66
141
|
width: Record<string, number>;
|
|
@@ -68,9 +143,18 @@ export declare const userTableConfigSchema: z.ZodObject<{
|
|
|
68
143
|
queues?: {
|
|
69
144
|
width: Record<string, Record<string, number>>;
|
|
70
145
|
} | undefined;
|
|
146
|
+
saved_filters?: {
|
|
147
|
+
name: string;
|
|
148
|
+
filter_items: {
|
|
149
|
+
field: string;
|
|
150
|
+
operator: string;
|
|
151
|
+
value?: unknown;
|
|
152
|
+
}[];
|
|
153
|
+
filter_id: string;
|
|
154
|
+
}[] | undefined;
|
|
71
155
|
}>;
|
|
72
156
|
export declare const annotationListColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
73
|
-
metaName: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">, z.ZodLiteral<"export_failed_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">]>]>;
|
|
157
|
+
metaName: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">, z.ZodLiteral<"export_failed_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">, z.ZodLiteral<"creator">]>]>;
|
|
74
158
|
columnType: z.ZodLiteral<"meta">;
|
|
75
159
|
visible: z.ZodBoolean;
|
|
76
160
|
width: z.ZodNumber;
|
|
@@ -78,12 +162,12 @@ export declare const annotationListColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
78
162
|
width: number;
|
|
79
163
|
columnType: "meta";
|
|
80
164
|
visible: boolean;
|
|
81
|
-
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
165
|
+
metaName: "status" | "assignees" | "queue" | "creator" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
82
166
|
}, {
|
|
83
167
|
width: number;
|
|
84
168
|
columnType: "meta";
|
|
85
169
|
visible: boolean;
|
|
86
|
-
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
170
|
+
metaName: "status" | "assignees" | "queue" | "creator" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
87
171
|
}>, z.ZodObject<{
|
|
88
172
|
schemaId: z.ZodString;
|
|
89
173
|
dataType: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
@@ -107,7 +191,7 @@ export declare const annotationListColumnSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
107
191
|
scoreThreshold?: number | null | undefined;
|
|
108
192
|
}>]>;
|
|
109
193
|
export declare const annotationListColumnsSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
110
|
-
metaName: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">, z.ZodLiteral<"export_failed_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">]>]>;
|
|
194
|
+
metaName: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">, z.ZodLiteral<"export_failed_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">, z.ZodLiteral<"creator">]>]>;
|
|
111
195
|
columnType: z.ZodLiteral<"meta">;
|
|
112
196
|
visible: z.ZodBoolean;
|
|
113
197
|
width: z.ZodNumber;
|
|
@@ -115,12 +199,12 @@ export declare const annotationListColumnsSchema: z.ZodArray<z.ZodUnion<[z.ZodOb
|
|
|
115
199
|
width: number;
|
|
116
200
|
columnType: "meta";
|
|
117
201
|
visible: boolean;
|
|
118
|
-
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
202
|
+
metaName: "status" | "assignees" | "queue" | "creator" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
119
203
|
}, {
|
|
120
204
|
width: number;
|
|
121
205
|
columnType: "meta";
|
|
122
206
|
visible: boolean;
|
|
123
|
-
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
207
|
+
metaName: "status" | "assignees" | "queue" | "creator" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
124
208
|
}>, z.ZodObject<{
|
|
125
209
|
schemaId: z.ZodString;
|
|
126
210
|
dataType: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
@@ -145,7 +229,7 @@ export declare const annotationListColumnsSchema: z.ZodArray<z.ZodUnion<[z.ZodOb
|
|
|
145
229
|
}>]>, "many">;
|
|
146
230
|
export declare const annotationListTableSchema: z.ZodObject<{
|
|
147
231
|
columns: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
148
|
-
metaName: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">, z.ZodLiteral<"export_failed_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">]>]>;
|
|
232
|
+
metaName: z.ZodUnion<[z.ZodLiteral<"original_file_name">, z.ZodLiteral<"queue">, z.ZodLiteral<"status">, z.ZodLiteral<"labels">, z.ZodLiteral<"details">, z.ZodUnion<[z.ZodLiteral<"created_at">, z.ZodLiteral<"modified_at">, z.ZodLiteral<"exported_at">, z.ZodLiteral<"confirmed_at">, z.ZodLiteral<"rejected_at">, z.ZodLiteral<"deleted_at">, z.ZodLiteral<"assigned_at">, z.ZodLiteral<"export_failed_at">]>, z.ZodUnion<[z.ZodLiteral<"exported_by">, z.ZodLiteral<"confirmed_by">, z.ZodLiteral<"rejected_by">, z.ZodLiteral<"deleted_by">, z.ZodLiteral<"modifier">, z.ZodLiteral<"assignees">, z.ZodLiteral<"creator">]>]>;
|
|
149
233
|
columnType: z.ZodLiteral<"meta">;
|
|
150
234
|
visible: z.ZodBoolean;
|
|
151
235
|
width: z.ZodNumber;
|
|
@@ -153,12 +237,12 @@ export declare const annotationListTableSchema: z.ZodObject<{
|
|
|
153
237
|
width: number;
|
|
154
238
|
columnType: "meta";
|
|
155
239
|
visible: boolean;
|
|
156
|
-
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
240
|
+
metaName: "status" | "assignees" | "queue" | "creator" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
157
241
|
}, {
|
|
158
242
|
width: number;
|
|
159
243
|
columnType: "meta";
|
|
160
244
|
visible: boolean;
|
|
161
|
-
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
245
|
+
metaName: "status" | "assignees" | "queue" | "creator" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
162
246
|
}>, z.ZodObject<{
|
|
163
247
|
schemaId: z.ZodString;
|
|
164
248
|
dataType: z.ZodUnion<[z.ZodLiteral<"number">, z.ZodLiteral<"string">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
@@ -193,7 +277,7 @@ export declare const annotationListTableSchema: z.ZodObject<{
|
|
|
193
277
|
width: number;
|
|
194
278
|
columnType: "meta";
|
|
195
279
|
visible: boolean;
|
|
196
|
-
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
280
|
+
metaName: "status" | "assignees" | "queue" | "creator" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
197
281
|
})[];
|
|
198
282
|
}, {
|
|
199
283
|
columns: ({
|
|
@@ -207,6 +291,6 @@ export declare const annotationListTableSchema: z.ZodObject<{
|
|
|
207
291
|
width: number;
|
|
208
292
|
columnType: "meta";
|
|
209
293
|
visible: boolean;
|
|
210
|
-
metaName: "status" | "assignees" | "queue" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
294
|
+
metaName: "status" | "assignees" | "queue" | "creator" | "modifier" | "labels" | "created_at" | "modified_at" | "exported_at" | "confirmed_at" | "rejected_at" | "deleted_at" | "assigned_at" | "export_failed_at" | "exported_by" | "confirmed_by" | "rejected_by" | "deleted_by" | "original_file_name" | "details";
|
|
211
295
|
})[];
|
|
212
296
|
}>;
|