@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
|
@@ -52,15 +52,15 @@ export declare const list: (query: RuleListQuery) => {
|
|
|
52
52
|
description?: string | undefined;
|
|
53
53
|
}>, import("zod").ZodObject<{
|
|
54
54
|
type: import("zod").ZodString;
|
|
55
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
55
|
+
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">]>>;
|
|
56
56
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
57
57
|
}, "strip", import("zod").ZodTypeAny, {
|
|
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
|
}, {
|
|
62
62
|
type: string;
|
|
63
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
63
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
64
64
|
payload?: unknown;
|
|
65
65
|
}>>, "many">;
|
|
66
66
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -76,7 +76,7 @@ export declare const list: (query: RuleListQuery) => {
|
|
|
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;
|
|
@@ -97,7 +97,7 @@ export declare const list: (query: RuleListQuery) => {
|
|
|
97
97
|
description?: string | undefined;
|
|
98
98
|
} & {
|
|
99
99
|
type: string;
|
|
100
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
100
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
101
101
|
payload?: unknown;
|
|
102
102
|
})[];
|
|
103
103
|
description: string;
|
|
@@ -120,7 +120,7 @@ export declare const list: (query: RuleListQuery) => {
|
|
|
120
120
|
description?: string | undefined;
|
|
121
121
|
} & {
|
|
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
|
description: string;
|
|
@@ -149,7 +149,7 @@ export declare const list: (query: RuleListQuery) => {
|
|
|
149
149
|
description?: string | undefined;
|
|
150
150
|
} & {
|
|
151
151
|
type: string;
|
|
152
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
152
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
153
153
|
payload?: unknown;
|
|
154
154
|
})[];
|
|
155
155
|
description: string;
|
|
@@ -32,15 +32,15 @@ export declare const patch: (ruleId: ID, payload: RulePatchPayload) => {
|
|
|
32
32
|
description?: string | undefined;
|
|
33
33
|
}>, import("zod").ZodObject<{
|
|
34
34
|
type: import("zod").ZodString;
|
|
35
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
35
|
+
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">]>>;
|
|
36
36
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
37
37
|
}, "strip", import("zod").ZodTypeAny, {
|
|
38
38
|
type: string;
|
|
39
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
39
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
40
40
|
payload?: unknown;
|
|
41
41
|
}, {
|
|
42
42
|
type: string;
|
|
43
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
43
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
44
44
|
payload?: unknown;
|
|
45
45
|
}>>, "many">;
|
|
46
46
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -56,7 +56,7 @@ export declare const patch: (ruleId: ID, payload: RulePatchPayload) => {
|
|
|
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
|
})[];
|
|
62
62
|
description: string;
|
|
@@ -77,7 +77,7 @@ export declare const patch: (ruleId: ID, payload: RulePatchPayload) => {
|
|
|
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
|
})[];
|
|
83
83
|
description: string;
|
|
@@ -114,15 +114,15 @@ export declare const patch: (ruleId: ID, payload: RulePatchPayload) => {
|
|
|
114
114
|
description?: string | undefined;
|
|
115
115
|
}>, import("zod").ZodObject<{
|
|
116
116
|
type: import("zod").ZodString;
|
|
117
|
-
event: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"annotation_imported">, import("zod").ZodLiteral<"annotation_confirmed">, import("zod").ZodLiteral<"annotation_exported">]>>;
|
|
117
|
+
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">]>>;
|
|
118
118
|
payload: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
119
119
|
}, "strip", import("zod").ZodTypeAny, {
|
|
120
120
|
type: string;
|
|
121
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
121
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
122
122
|
payload?: unknown;
|
|
123
123
|
}, {
|
|
124
124
|
type: string;
|
|
125
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
125
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
126
126
|
payload?: unknown;
|
|
127
127
|
}>>, "many">>;
|
|
128
128
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -143,7 +143,7 @@ export declare const patch: (ruleId: ID, payload: RulePatchPayload) => {
|
|
|
143
143
|
description?: string | undefined;
|
|
144
144
|
} & {
|
|
145
145
|
type: string;
|
|
146
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
146
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
147
147
|
payload?: unknown;
|
|
148
148
|
})[] | undefined;
|
|
149
149
|
}, {
|
|
@@ -164,7 +164,7 @@ export declare const patch: (ruleId: ID, payload: RulePatchPayload) => {
|
|
|
164
164
|
description?: string | undefined;
|
|
165
165
|
} & {
|
|
166
166
|
type: string;
|
|
167
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
167
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
168
168
|
payload?: unknown;
|
|
169
169
|
})[] | undefined;
|
|
170
170
|
}>;
|
|
@@ -27,15 +27,15 @@ export declare const rulePatchPayloadSchema: 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 rulePatchPayloadSchema: 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 rulePatchPayloadSchema: 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
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ID, Url } from '../../utils/codecUtils';
|
|
2
2
|
export type SchemaAction = {
|
|
3
3
|
type: string;
|
|
4
|
-
event?: 'annotation_imported' | 'annotation_confirmed' | 'annotation_exported';
|
|
4
|
+
event?: 'annotation_imported' | 'annotation_confirmed' | 'annotation_exported' | 'validation';
|
|
5
5
|
payload?: unknown;
|
|
6
6
|
};
|
|
7
7
|
export type SchemaRuleAction = {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const schemaActionSchema: z.ZodObject<{
|
|
3
3
|
type: z.ZodString;
|
|
4
|
-
event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">]>>;
|
|
4
|
+
event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">, z.ZodLiteral<"validation">]>>;
|
|
5
5
|
payload: z.ZodOptional<z.ZodUnknown>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
type: string;
|
|
8
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
8
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
9
9
|
payload?: unknown;
|
|
10
10
|
}, {
|
|
11
11
|
type: string;
|
|
12
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
12
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
13
13
|
payload?: unknown;
|
|
14
14
|
}>;
|
|
15
15
|
export declare const schemaRuleActionSchema: z.ZodIntersection<z.ZodObject<{
|
|
@@ -29,15 +29,15 @@ export declare const schemaRuleActionSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
29
29
|
description?: string | undefined;
|
|
30
30
|
}>, z.ZodObject<{
|
|
31
31
|
type: z.ZodString;
|
|
32
|
-
event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">]>>;
|
|
32
|
+
event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">, z.ZodLiteral<"validation">]>>;
|
|
33
33
|
payload: z.ZodOptional<z.ZodUnknown>;
|
|
34
34
|
}, "strip", z.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
|
}>>;
|
|
43
43
|
export declare const schemaRuleSchema: z.ZodObject<{
|
|
@@ -68,15 +68,15 @@ export declare const schemaRuleSchema: z.ZodObject<{
|
|
|
68
68
|
description?: string | undefined;
|
|
69
69
|
}>, z.ZodObject<{
|
|
70
70
|
type: z.ZodString;
|
|
71
|
-
event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">]>>;
|
|
71
|
+
event: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"annotation_imported">, z.ZodLiteral<"annotation_confirmed">, z.ZodLiteral<"annotation_exported">, z.ZodLiteral<"validation">]>>;
|
|
72
72
|
payload: z.ZodOptional<z.ZodUnknown>;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
74
|
type: string;
|
|
75
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
75
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
76
76
|
payload?: unknown;
|
|
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
|
}>>, "many">;
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -92,7 +92,7 @@ export declare const schemaRuleSchema: z.ZodObject<{
|
|
|
92
92
|
description?: string | undefined;
|
|
93
93
|
} & {
|
|
94
94
|
type: string;
|
|
95
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
95
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
96
96
|
payload?: unknown;
|
|
97
97
|
})[];
|
|
98
98
|
description: string;
|
|
@@ -113,7 +113,7 @@ export declare const schemaRuleSchema: z.ZodObject<{
|
|
|
113
113
|
description?: string | undefined;
|
|
114
114
|
} & {
|
|
115
115
|
type: string;
|
|
116
|
-
event?: "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
116
|
+
event?: "validation" | "annotation_imported" | "annotation_confirmed" | "annotation_exported" | undefined;
|
|
117
117
|
payload?: unknown;
|
|
118
118
|
})[];
|
|
119
119
|
description: string;
|