@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
|
@@ -45,15 +45,15 @@ export declare const list: (query: RuleTemplateListQuery) => {
|
|
|
45
45
|
description?: string | undefined;
|
|
46
46
|
}>, import("zod").ZodObject<{
|
|
47
47
|
type: import("zod").ZodString;
|
|
48
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
48
|
+
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">, import("zod").ZodLiteral<"validation">]>>;
|
|
49
49
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
50
50
|
}, "strip", import("zod").ZodTypeAny, {
|
|
51
51
|
type: string;
|
|
52
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
52
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
53
53
|
payload?: unknown;
|
|
54
54
|
}, {
|
|
55
55
|
type: string;
|
|
56
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
56
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
57
57
|
payload?: unknown;
|
|
58
58
|
}>>, "many">;
|
|
59
59
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -68,7 +68,7 @@ export declare const list: (query: RuleTemplateListQuery) => {
|
|
|
68
68
|
description?: string | undefined;
|
|
69
69
|
} & {
|
|
70
70
|
type: string;
|
|
71
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
71
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
72
72
|
payload?: unknown;
|
|
73
73
|
})[];
|
|
74
74
|
description: string;
|
|
@@ -86,7 +86,7 @@ export declare const list: (query: RuleTemplateListQuery) => {
|
|
|
86
86
|
description?: string | undefined;
|
|
87
87
|
} & {
|
|
88
88
|
type: string;
|
|
89
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
89
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
90
90
|
payload?: unknown;
|
|
91
91
|
})[];
|
|
92
92
|
description: string;
|
|
@@ -106,7 +106,7 @@ export declare const list: (query: RuleTemplateListQuery) => {
|
|
|
106
106
|
description?: string | undefined;
|
|
107
107
|
} & {
|
|
108
108
|
type: string;
|
|
109
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
109
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
110
110
|
payload?: unknown;
|
|
111
111
|
})[];
|
|
112
112
|
description: string;
|
|
@@ -132,7 +132,7 @@ export declare const list: (query: RuleTemplateListQuery) => {
|
|
|
132
132
|
description?: string | undefined;
|
|
133
133
|
} & {
|
|
134
134
|
type: string;
|
|
135
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
135
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
136
136
|
payload?: unknown;
|
|
137
137
|
})[];
|
|
138
138
|
description: string;
|
|
@@ -29,15 +29,15 @@ export declare const patch: (ruleTemplateId: ID, payload: RuleTemplatePatchPaylo
|
|
|
29
29
|
description?: string | undefined;
|
|
30
30
|
}>, import("zod").ZodObject<{
|
|
31
31
|
type: import("zod").ZodString;
|
|
32
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
32
|
+
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">, import("zod").ZodLiteral<"validation">]>>;
|
|
33
33
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
34
34
|
}, "strip", import("zod").ZodTypeAny, {
|
|
35
35
|
type: string;
|
|
36
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
36
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
37
37
|
payload?: unknown;
|
|
38
38
|
}, {
|
|
39
39
|
type: string;
|
|
40
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
40
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
41
41
|
payload?: unknown;
|
|
42
42
|
}>>, "many">;
|
|
43
43
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -52,7 +52,7 @@ export declare const patch: (ruleTemplateId: ID, payload: RuleTemplatePatchPaylo
|
|
|
52
52
|
description?: string | undefined;
|
|
53
53
|
} & {
|
|
54
54
|
type: string;
|
|
55
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
55
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
56
56
|
payload?: unknown;
|
|
57
57
|
})[];
|
|
58
58
|
description: string;
|
|
@@ -70,7 +70,7 @@ export declare const patch: (ruleTemplateId: ID, payload: RuleTemplatePatchPaylo
|
|
|
70
70
|
description?: string | undefined;
|
|
71
71
|
} & {
|
|
72
72
|
type: string;
|
|
73
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
73
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
74
74
|
payload?: unknown;
|
|
75
75
|
})[];
|
|
76
76
|
description: string;
|
|
@@ -102,15 +102,15 @@ export declare const patch: (ruleTemplateId: ID, payload: RuleTemplatePatchPaylo
|
|
|
102
102
|
description?: string | undefined;
|
|
103
103
|
}>, import("zod").ZodObject<{
|
|
104
104
|
type: import("zod").ZodString;
|
|
105
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
105
|
+
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">, import("zod").ZodLiteral<"validation">]>>;
|
|
106
106
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
107
107
|
}, "strip", import("zod").ZodTypeAny, {
|
|
108
108
|
type: string;
|
|
109
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
109
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
110
110
|
payload?: unknown;
|
|
111
111
|
}, {
|
|
112
112
|
type: string;
|
|
113
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
113
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
114
114
|
payload?: unknown;
|
|
115
115
|
}>>, "many">>;
|
|
116
116
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -128,7 +128,7 @@ export declare const patch: (ruleTemplateId: ID, payload: RuleTemplatePatchPaylo
|
|
|
128
128
|
description?: string | undefined;
|
|
129
129
|
} & {
|
|
130
130
|
type: string;
|
|
131
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
131
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
132
132
|
payload?: unknown;
|
|
133
133
|
})[] | undefined;
|
|
134
134
|
}, {
|
|
@@ -146,7 +146,7 @@ export declare const patch: (ruleTemplateId: ID, payload: RuleTemplatePatchPaylo
|
|
|
146
146
|
description?: string | undefined;
|
|
147
147
|
} & {
|
|
148
148
|
type: string;
|
|
149
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
149
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
150
150
|
payload?: unknown;
|
|
151
151
|
})[] | undefined;
|
|
152
152
|
}>;
|
|
@@ -24,15 +24,15 @@ export declare const ruleTemplatePatchPayloadSchema: z.ZodObject<{
|
|
|
24
24
|
description?: string | undefined;
|
|
25
25
|
}>, z.ZodObject<{
|
|
26
26
|
type: z.ZodString;
|
|
27
|
-
event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">]>>;
|
|
27
|
+
event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">, z.ZodLiteral<"validation">]>>;
|
|
28
28
|
payload: z.ZodOptional<z.ZodUnknown>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
30
|
type: string;
|
|
31
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
31
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
32
32
|
payload?: unknown;
|
|
33
33
|
}, {
|
|
34
34
|
type: string;
|
|
35
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
35
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
36
36
|
payload?: unknown;
|
|
37
37
|
}>>, "many">>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -50,7 +50,7 @@ export declare const ruleTemplatePatchPayloadSchema: z.ZodObject<{
|
|
|
50
50
|
description?: string | undefined;
|
|
51
51
|
} & {
|
|
52
52
|
type: string;
|
|
53
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
53
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
54
54
|
payload?: unknown;
|
|
55
55
|
})[] | undefined;
|
|
56
56
|
}, {
|
|
@@ -68,7 +68,7 @@ export declare const ruleTemplatePatchPayloadSchema: z.ZodObject<{
|
|
|
68
68
|
description?: string | undefined;
|
|
69
69
|
} & {
|
|
70
70
|
type: string;
|
|
71
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
71
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
72
72
|
payload?: unknown;
|
|
73
73
|
})[] | undefined;
|
|
74
74
|
}>;
|
|
@@ -24,15 +24,15 @@ export declare const ruleTemplateSchema: z.ZodObject<{
|
|
|
24
24
|
description?: string | undefined;
|
|
25
25
|
}>, z.ZodObject<{
|
|
26
26
|
type: z.ZodString;
|
|
27
|
-
event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">]>>;
|
|
27
|
+
event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">, z.ZodLiteral<"validation">]>>;
|
|
28
28
|
payload: z.ZodOptional<z.ZodUnknown>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
30
|
type: string;
|
|
31
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
31
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
32
32
|
payload?: unknown;
|
|
33
33
|
}, {
|
|
34
34
|
type: string;
|
|
35
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
35
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
36
36
|
payload?: unknown;
|
|
37
37
|
}>>, "many">;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -47,7 +47,7 @@ export declare const ruleTemplateSchema: z.ZodObject<{
|
|
|
47
47
|
description?: string | undefined;
|
|
48
48
|
} & {
|
|
49
49
|
type: string;
|
|
50
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
50
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
51
51
|
payload?: unknown;
|
|
52
52
|
})[];
|
|
53
53
|
description: string;
|
|
@@ -65,7 +65,7 @@ export declare const ruleTemplateSchema: z.ZodObject<{
|
|
|
65
65
|
description?: string | undefined;
|
|
66
66
|
} & {
|
|
67
67
|
type: string;
|
|
68
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
68
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
69
69
|
payload?: unknown;
|
|
70
70
|
})[];
|
|
71
71
|
description: string;
|
|
@@ -31,15 +31,15 @@ export declare const create: (payload: RuleCreatePayload) => {
|
|
|
31
31
|
description?: string | undefined;
|
|
32
32
|
}>, import("zod").ZodObject<{
|
|
33
33
|
type: import("zod").ZodString;
|
|
34
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
34
|
+
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">, import("zod").ZodLiteral<"validation">]>>;
|
|
35
35
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
36
36
|
}, "strip", import("zod").ZodTypeAny, {
|
|
37
37
|
type: string;
|
|
38
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
38
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
39
39
|
payload?: unknown;
|
|
40
40
|
}, {
|
|
41
41
|
type: string;
|
|
42
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
42
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
43
43
|
payload?: unknown;
|
|
44
44
|
}>>, "many">;
|
|
45
45
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -55,7 +55,7 @@ export declare const create: (payload: RuleCreatePayload) => {
|
|
|
55
55
|
description?: string | undefined;
|
|
56
56
|
} & {
|
|
57
57
|
type: string;
|
|
58
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
58
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
59
59
|
payload?: unknown;
|
|
60
60
|
})[];
|
|
61
61
|
description: string;
|
|
@@ -76,7 +76,7 @@ export declare const create: (payload: RuleCreatePayload) => {
|
|
|
76
76
|
description?: string | undefined;
|
|
77
77
|
} & {
|
|
78
78
|
type: string;
|
|
79
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
79
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
80
80
|
payload?: unknown;
|
|
81
81
|
})[];
|
|
82
82
|
description: string;
|
|
@@ -113,15 +113,15 @@ export declare const create: (payload: RuleCreatePayload) => {
|
|
|
113
113
|
description?: string | undefined;
|
|
114
114
|
}>, import("zod").ZodObject<{
|
|
115
115
|
type: import("zod").ZodString;
|
|
116
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
116
|
+
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">, import("zod").ZodLiteral<"validation">]>>;
|
|
117
117
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
118
118
|
}, "strip", import("zod").ZodTypeAny, {
|
|
119
119
|
type: string;
|
|
120
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
120
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
121
121
|
payload?: unknown;
|
|
122
122
|
}, {
|
|
123
123
|
type: string;
|
|
124
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
124
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
125
125
|
payload?: unknown;
|
|
126
126
|
}>>, "many">>;
|
|
127
127
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -142,7 +142,7 @@ export declare const create: (payload: RuleCreatePayload) => {
|
|
|
142
142
|
description?: string | undefined;
|
|
143
143
|
} & {
|
|
144
144
|
type: string;
|
|
145
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
145
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
146
146
|
payload?: unknown;
|
|
147
147
|
})[] | undefined;
|
|
148
148
|
}, {
|
|
@@ -163,7 +163,7 @@ export declare const create: (payload: RuleCreatePayload) => {
|
|
|
163
163
|
description?: string | undefined;
|
|
164
164
|
} & {
|
|
165
165
|
type: string;
|
|
166
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
166
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
167
167
|
payload?: unknown;
|
|
168
168
|
})[] | undefined;
|
|
169
169
|
}>;
|
|
@@ -27,15 +27,15 @@ export declare const ruleCreatePayloadSchema: z.ZodObject<{
|
|
|
27
27
|
description?: string | undefined;
|
|
28
28
|
}>, z.ZodObject<{
|
|
29
29
|
type: z.ZodString;
|
|
30
|
-
event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">]>>;
|
|
30
|
+
event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">, z.ZodLiteral<"validation">]>>;
|
|
31
31
|
payload: z.ZodOptional<z.ZodUnknown>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
33
|
type: string;
|
|
34
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
34
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
35
35
|
payload?: unknown;
|
|
36
36
|
}, {
|
|
37
37
|
type: string;
|
|
38
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
38
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
39
39
|
payload?: unknown;
|
|
40
40
|
}>>, "many">>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -56,7 +56,7 @@ export declare const ruleCreatePayloadSchema: z.ZodObject<{
|
|
|
56
56
|
description?: string | undefined;
|
|
57
57
|
} & {
|
|
58
58
|
type: string;
|
|
59
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
59
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
60
60
|
payload?: unknown;
|
|
61
61
|
})[] | undefined;
|
|
62
62
|
}, {
|
|
@@ -77,7 +77,7 @@ export declare const ruleCreatePayloadSchema: z.ZodObject<{
|
|
|
77
77
|
description?: string | undefined;
|
|
78
78
|
} & {
|
|
79
79
|
type: string;
|
|
80
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
80
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
81
81
|
payload?: unknown;
|
|
82
82
|
})[] | undefined;
|
|
83
83
|
}>;
|
|
@@ -30,15 +30,15 @@ export declare const get: (ruleId: ID) => {
|
|
|
30
30
|
description?: string | undefined;
|
|
31
31
|
}>, import("zod").ZodObject<{
|
|
32
32
|
type: import("zod").ZodString;
|
|
33
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
33
|
+
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">, import("zod").ZodLiteral<"validation">]>>;
|
|
34
34
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
35
35
|
}, "strip", import("zod").ZodTypeAny, {
|
|
36
36
|
type: string;
|
|
37
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
37
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
38
38
|
payload?: unknown;
|
|
39
39
|
}, {
|
|
40
40
|
type: string;
|
|
41
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
41
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
42
42
|
payload?: unknown;
|
|
43
43
|
}>>, "many">;
|
|
44
44
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -54,7 +54,7 @@ export declare const get: (ruleId: ID) => {
|
|
|
54
54
|
description?: string | undefined;
|
|
55
55
|
} & {
|
|
56
56
|
type: string;
|
|
57
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
57
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
58
58
|
payload?: unknown;
|
|
59
59
|
})[];
|
|
60
60
|
description: string;
|
|
@@ -75,7 +75,7 @@ export declare const get: (ruleId: ID) => {
|
|
|
75
75
|
description?: string | undefined;
|
|
76
76
|
} & {
|
|
77
77
|
type: string;
|
|
78
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
78
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
79
79
|
payload?: unknown;
|
|
80
80
|
})[];
|
|
81
81
|
description: string;
|
|
@@ -30,15 +30,15 @@ export declare const rules: {
|
|
|
30
30
|
description?: string | undefined;
|
|
31
31
|
}>, import("zod").ZodObject<{
|
|
32
32
|
type: import("zod").ZodString;
|
|
33
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
33
|
+
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">, import("zod").ZodLiteral<"validation">]>>;
|
|
34
34
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
35
35
|
}, "strip", import("zod").ZodTypeAny, {
|
|
36
36
|
type: string;
|
|
37
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
37
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
38
38
|
payload?: unknown;
|
|
39
39
|
}, {
|
|
40
40
|
type: string;
|
|
41
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
41
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
42
42
|
payload?: unknown;
|
|
43
43
|
}>>, "many">;
|
|
44
44
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -54,7 +54,7 @@ export declare const rules: {
|
|
|
54
54
|
description?: string | undefined;
|
|
55
55
|
} & {
|
|
56
56
|
type: string;
|
|
57
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
57
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
58
58
|
payload?: unknown;
|
|
59
59
|
})[];
|
|
60
60
|
description: string;
|
|
@@ -75,7 +75,7 @@ export declare const rules: {
|
|
|
75
75
|
description?: string | undefined;
|
|
76
76
|
} & {
|
|
77
77
|
type: string;
|
|
78
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
78
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
79
79
|
payload?: unknown;
|
|
80
80
|
})[];
|
|
81
81
|
description: string;
|
|
@@ -116,15 +116,15 @@ export declare const rules: {
|
|
|
116
116
|
description?: string | undefined;
|
|
117
117
|
}>, import("zod").ZodObject<{
|
|
118
118
|
type: import("zod").ZodString;
|
|
119
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
119
|
+
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">, import("zod").ZodLiteral<"validation">]>>;
|
|
120
120
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
121
121
|
}, "strip", import("zod").ZodTypeAny, {
|
|
122
122
|
type: string;
|
|
123
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
123
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
124
124
|
payload?: unknown;
|
|
125
125
|
}, {
|
|
126
126
|
type: string;
|
|
127
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
127
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
128
128
|
payload?: unknown;
|
|
129
129
|
}>>, "many">;
|
|
130
130
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -140,7 +140,7 @@ export declare const rules: {
|
|
|
140
140
|
description?: string | undefined;
|
|
141
141
|
} & {
|
|
142
142
|
type: string;
|
|
143
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
143
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
144
144
|
payload?: unknown;
|
|
145
145
|
})[];
|
|
146
146
|
description: string;
|
|
@@ -161,7 +161,7 @@ export declare const rules: {
|
|
|
161
161
|
description?: string | undefined;
|
|
162
162
|
} & {
|
|
163
163
|
type: string;
|
|
164
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
164
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
165
165
|
payload?: unknown;
|
|
166
166
|
})[];
|
|
167
167
|
description: string;
|
|
@@ -198,15 +198,15 @@ export declare const rules: {
|
|
|
198
198
|
description?: string | undefined;
|
|
199
199
|
}>, import("zod").ZodObject<{
|
|
200
200
|
type: import("zod").ZodString;
|
|
201
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
201
|
+
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">, import("zod").ZodLiteral<"validation">]>>;
|
|
202
202
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
203
203
|
}, "strip", import("zod").ZodTypeAny, {
|
|
204
204
|
type: string;
|
|
205
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
205
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
206
206
|
payload?: unknown;
|
|
207
207
|
}, {
|
|
208
208
|
type: string;
|
|
209
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
209
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
210
210
|
payload?: unknown;
|
|
211
211
|
}>>, "many">>;
|
|
212
212
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -227,7 +227,7 @@ export declare const rules: {
|
|
|
227
227
|
description?: string | undefined;
|
|
228
228
|
} & {
|
|
229
229
|
type: string;
|
|
230
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
230
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
231
231
|
payload?: unknown;
|
|
232
232
|
})[] | undefined;
|
|
233
233
|
}, {
|
|
@@ -248,7 +248,7 @@ export declare const rules: {
|
|
|
248
248
|
description?: string | undefined;
|
|
249
249
|
} & {
|
|
250
250
|
type: string;
|
|
251
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
251
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
252
252
|
payload?: unknown;
|
|
253
253
|
})[] | undefined;
|
|
254
254
|
}>;
|
|
@@ -302,15 +302,15 @@ export declare const rules: {
|
|
|
302
302
|
description?: string | undefined;
|
|
303
303
|
}>, import("zod").ZodObject<{
|
|
304
304
|
type: import("zod").ZodString;
|
|
305
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
305
|
+
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">, import("zod").ZodLiteral<"validation">]>>;
|
|
306
306
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
307
307
|
}, "strip", import("zod").ZodTypeAny, {
|
|
308
308
|
type: string;
|
|
309
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
309
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
310
310
|
payload?: unknown;
|
|
311
311
|
}, {
|
|
312
312
|
type: string;
|
|
313
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
313
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
314
314
|
payload?: unknown;
|
|
315
315
|
}>>, "many">;
|
|
316
316
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -326,7 +326,7 @@ export declare const rules: {
|
|
|
326
326
|
description?: string | undefined;
|
|
327
327
|
} & {
|
|
328
328
|
type: string;
|
|
329
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
329
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
330
330
|
payload?: unknown;
|
|
331
331
|
})[];
|
|
332
332
|
description: string;
|
|
@@ -347,7 +347,7 @@ export declare const rules: {
|
|
|
347
347
|
description?: string | undefined;
|
|
348
348
|
} & {
|
|
349
349
|
type: string;
|
|
350
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
350
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
351
351
|
payload?: unknown;
|
|
352
352
|
})[];
|
|
353
353
|
description: string;
|
|
@@ -370,7 +370,7 @@ export declare const rules: {
|
|
|
370
370
|
description?: string | undefined;
|
|
371
371
|
} & {
|
|
372
372
|
type: string;
|
|
373
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
373
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
374
374
|
payload?: unknown;
|
|
375
375
|
})[];
|
|
376
376
|
description: string;
|
|
@@ -399,7 +399,7 @@ export declare const rules: {
|
|
|
399
399
|
description?: string | undefined;
|
|
400
400
|
} & {
|
|
401
401
|
type: string;
|
|
402
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
402
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
403
403
|
payload?: unknown;
|
|
404
404
|
})[];
|
|
405
405
|
description: string;
|
|
@@ -467,15 +467,15 @@ export declare const rules: {
|
|
|
467
467
|
description?: string | undefined;
|
|
468
468
|
}>, import("zod").ZodObject<{
|
|
469
469
|
type: import("zod").ZodString;
|
|
470
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
470
|
+
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">, import("zod").ZodLiteral<"validation">]>>;
|
|
471
471
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
472
472
|
}, "strip", import("zod").ZodTypeAny, {
|
|
473
473
|
type: string;
|
|
474
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
474
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
475
475
|
payload?: unknown;
|
|
476
476
|
}, {
|
|
477
477
|
type: string;
|
|
478
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
478
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
479
479
|
payload?: unknown;
|
|
480
480
|
}>>, "many">;
|
|
481
481
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -491,7 +491,7 @@ export declare const rules: {
|
|
|
491
491
|
description?: string | undefined;
|
|
492
492
|
} & {
|
|
493
493
|
type: string;
|
|
494
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
494
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
495
495
|
payload?: unknown;
|
|
496
496
|
})[];
|
|
497
497
|
description: string;
|
|
@@ -512,7 +512,7 @@ export declare const rules: {
|
|
|
512
512
|
description?: string | undefined;
|
|
513
513
|
} & {
|
|
514
514
|
type: string;
|
|
515
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
515
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
516
516
|
payload?: unknown;
|
|
517
517
|
})[];
|
|
518
518
|
description: string;
|
|
@@ -549,15 +549,15 @@ export declare const rules: {
|
|
|
549
549
|
description?: string | undefined;
|
|
550
550
|
}>, import("zod").ZodObject<{
|
|
551
551
|
type: import("zod").ZodString;
|
|
552
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
552
|
+
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">, import("zod").ZodLiteral<"validation">]>>;
|
|
553
553
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
554
554
|
}, "strip", import("zod").ZodTypeAny, {
|
|
555
555
|
type: string;
|
|
556
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
556
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
557
557
|
payload?: unknown;
|
|
558
558
|
}, {
|
|
559
559
|
type: string;
|
|
560
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
560
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
561
561
|
payload?: unknown;
|
|
562
562
|
}>>, "many">>;
|
|
563
563
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -578,7 +578,7 @@ export declare const rules: {
|
|
|
578
578
|
description?: string | undefined;
|
|
579
579
|
} & {
|
|
580
580
|
type: string;
|
|
581
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
581
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
582
582
|
payload?: unknown;
|
|
583
583
|
})[] | undefined;
|
|
584
584
|
}, {
|
|
@@ -599,7 +599,7 @@ export declare const rules: {
|
|
|
599
599
|
description?: string | undefined;
|
|
600
600
|
} & {
|
|
601
601
|
type: string;
|
|
602
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
602
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
603
603
|
payload?: unknown;
|
|
604
604
|
})[] | undefined;
|
|
605
605
|
}>;
|