@rossum/api-client 0.1.19 → 0.1.21
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 +2 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/src/deleteRecommendations/endpoints/list.js.map +1 -1
- package/src/deleteRecommendations/endpoints/list.schema.js +3 -1
- package/src/deleteRecommendations/endpoints/list.schema.js.map +1 -1
- package/src/documents/endpoints/downloads.js.map +1 -1
- package/src/documents/endpoints/downloads.schema.js +17 -5
- package/src/documents/endpoints/downloads.schema.js.map +1 -1
- package/src/hooks/models/hookUtils.schema.js +5 -1
- package/src/hooks/models/hookUtils.schema.js.map +1 -1
- package/src/hooks/models/log.schema.js +6 -0
- package/src/hooks/models/log.schema.js.map +1 -1
- package/src/inboxes/endpoints/index.js +2 -0
- package/src/inboxes/endpoints/index.js.map +1 -1
- package/src/inboxes/endpoints/list.js +17 -0
- package/src/inboxes/endpoints/list.js.map +1 -0
- package/src/inboxes/endpoints/list.schema.js +8 -0
- package/src/inboxes/endpoints/list.schema.js.map +1 -0
- package/src/internal/endpoints/generateRejectionEmail.js +15 -0
- package/src/internal/endpoints/generateRejectionEmail.js.map +1 -0
- package/src/internal/endpoints/generateRejectionEmail.schema.js +23 -0
- package/src/internal/endpoints/generateRejectionEmail.schema.js.map +1 -0
- package/src/internal/endpoints/index.js +2 -0
- package/src/internal/endpoints/index.js.map +1 -1
- package/src/models/annotationStatus.schema.js +1 -0
- package/src/models/annotationStatus.schema.js.map +1 -1
- package/src/queues/endpoints/upload.js +2 -1
- package/src/queues/endpoints/upload.js.map +1 -1
- package/src/tasks/endpoints/get.js +2 -1
- package/src/tasks/endpoints/get.js.map +1 -1
- package/src/tasks/models/asyncTask.schema.js +5 -1
- package/src/tasks/models/asyncTask.schema.js.map +1 -1
- package/src/uploads/endpoints/get.js +13 -0
- package/src/uploads/endpoints/get.js.map +1 -0
- package/src/uploads/endpoints/index.js +10 -0
- package/src/uploads/endpoints/index.js.map +1 -0
- package/src/uploads/endpoints/post.js +20 -0
- package/src/uploads/endpoints/post.js.map +1 -0
- package/src/uploads/endpoints/post.schema.js +12 -0
- package/src/uploads/endpoints/post.schema.js.map +1 -0
- package/src/uploads/models/index.js +18 -0
- package/src/uploads/models/index.js.map +1 -0
- package/src/uploads/models/upload.js +3 -0
- package/src/uploads/models/upload.js.map +1 -0
- package/src/uploads/models/upload.schema.js +18 -0
- package/src/uploads/models/upload.schema.js.map +1 -0
- package/src/utils/requestConfig.js +2 -1
- package/src/utils/requestConfig.js.map +1 -1
- package/types/index.d.ts +8 -2
- package/types/src/annotations/endpoints/list.schema.d.ts +3 -3
- package/types/src/annotations/endpoints/patch.schema.d.ts +3 -3
- package/types/src/annotations/models/annotation.schema.d.ts +3 -3
- package/types/src/annotations/models/annotationListResponse.d.ts +5 -5
- package/types/src/annotations/models/editPages.schema.d.ts +11 -11
- package/types/src/deleteRecommendations/endpoints/list.d.ts +3 -1
- package/types/src/deleteRecommendations/endpoints/list.schema.d.ts +7 -1
- package/types/src/documents/endpoints/downloads.d.ts +6 -0
- package/types/src/documents/endpoints/downloads.schema.d.ts +18 -2
- package/types/src/hookTemplates/models/hookTemplate.schema.d.ts +6 -6
- package/types/src/hooks/endpoints/logs.schema.d.ts +70 -0
- package/types/src/hooks/endpoints/patch.schema.d.ts +6 -6
- package/types/src/hooks/models/hook.schema.d.ts +9 -9
- package/types/src/hooks/models/hookUtils.d.ts +3 -2
- package/types/src/hooks/models/hookUtils.schema.d.ts +3 -2
- package/types/src/hooks/models/log.d.ts +7 -2
- package/types/src/hooks/models/log.schema.d.ts +42 -0
- package/types/src/inboxes/endpoints/index.d.ts +1 -0
- package/types/src/inboxes/endpoints/list.d.ts +7 -0
- package/types/src/inboxes/endpoints/list.schema.d.ts +8 -0
- package/types/src/internal/endpoints/generateRejectionEmail.d.ts +21 -0
- package/types/src/internal/endpoints/generateRejectionEmail.schema.d.ts +56 -0
- package/types/src/internal/endpoints/index.d.ts +1 -0
- package/types/src/models/annotationStatus.d.ts +1 -1
- package/types/src/models/annotationStatus.schema.d.ts +1 -1
- package/types/src/queues/endpoints/index.d.ts +1 -1
- package/types/src/queues/endpoints/patch.schema.d.ts +3 -3
- package/types/src/queues/endpoints/upload.d.ts +1 -1
- package/types/src/queues/models/queue.schema.d.ts +3 -3
- package/types/src/queues/models/queueCounts.schema.d.ts +1 -1
- package/types/src/tasks/endpoints/get.d.ts +1 -1
- package/types/src/tasks/endpoints/index.d.ts +1 -1
- package/types/src/tasks/models/asyncTask.d.ts +2 -1
- package/types/src/tasks/models/asyncTask.schema.d.ts +9 -4
- package/types/src/uploads/endpoints/get.d.ts +3 -0
- package/types/src/uploads/endpoints/index.d.ts +4 -0
- package/types/src/uploads/endpoints/post.d.ts +9 -0
- package/types/src/uploads/endpoints/post.schema.d.ts +15 -0
- package/types/src/uploads/models/index.d.ts +1 -0
- package/types/src/uploads/models/upload.d.ts +13 -0
- package/types/src/uploads/models/upload.schema.d.ts +35 -0
- package/types/src/utils/requestConfig.d.ts +1 -0
package/types/index.d.ts
CHANGED
|
@@ -217,11 +217,13 @@ export declare const endpoints: {
|
|
|
217
217
|
create: (payload: import("./src/inboxes/endpoints/create").CreateInboxPayload) => ElisRequestConfig<import("./src/inboxes/models").Inbox, never, import("./src/inboxes/endpoints/create").CreateInboxPayload>;
|
|
218
218
|
get: (inboxId: number) => ElisRequestConfig<import("./src/inboxes/models").Inbox, never, never>;
|
|
219
219
|
patch: (inboxId: number, payload?: import("./src/inboxes/endpoints/patch").InboxPatchPayload) => ElisRequestConfig<import("./src/inboxes/models").Inbox, never, import("./src/inboxes/endpoints/patch").InboxPatchPayload>;
|
|
220
|
+
list: (query: import("./src/inboxes/endpoints/list").ListInboxesQuery) => ElisRequestConfig<ListResponse<import("./src/inboxes/models").Inbox>, import("./src/inboxes/endpoints/list").ListInboxesQuery, never>;
|
|
220
221
|
};
|
|
221
222
|
internal: {
|
|
222
223
|
requestDemo: (payload: import("./src/internal/endpoints/requestDemo").RequestDemoPayload) => ElisRequestConfig<unknown, never, import("./src/internal/endpoints/requestDemo").RequestDemoPayload>;
|
|
223
224
|
requestExtension: (payload: import("./src/internal/endpoints/requestExtension").RequestExtensionPayload) => ElisRequestConfig<unknown, never, import("./src/internal/endpoints/requestExtension").RequestExtensionPayload>;
|
|
224
225
|
domainSettings: (query: import("./src/internal/endpoints/domainSettings").DomainSettingsQuery) => ElisRequestConfig<import("./src/internal/endpoints/domainSettings").DomainSettingsResponse, import("./src/internal/endpoints/domainSettings").DomainSettingsQuery, never>;
|
|
226
|
+
generateRejectionEmail: (payload: import("./src/internal/endpoints/generateRejectionEmail").GenerateRejectionPayload) => ElisRequestConfig<import("./src/internal/endpoints/generateRejectionEmail").GenerateResponse, never, import("./src/internal/endpoints/generateRejectionEmail").GenerateRejectionPayload>;
|
|
225
227
|
};
|
|
226
228
|
labels: {
|
|
227
229
|
apply: (payload: import("./src/labels/endpoints/apply").ApplyLabelPayload) => ElisRequestConfig<unknown, never, import("./src/labels/endpoints/apply").ApplyLabelPayload>;
|
|
@@ -386,7 +388,7 @@ export declare const endpoints: {
|
|
|
386
388
|
columns: string;
|
|
387
389
|
id: string;
|
|
388
390
|
}>, never>;
|
|
389
|
-
upload: (queueId: number, fileName: string, payload: unknown) => ElisRequestConfig<import("./src/queues/endpoints/upload").UploadResponse, never, unknown>;
|
|
391
|
+
upload: (queueId: number, fileName: string, payload: unknown, signal?: AbortSignal | undefined) => ElisRequestConfig<import("./src/queues/endpoints/upload").UploadResponse, never, unknown>;
|
|
390
392
|
suggestedRecipients: (queueId: number, payload?: import("./src/queues/endpoints/suggestedRecipients").SuggestedRecipientsPayload) => ElisRequestConfig<import("./src/queues/endpoints/suggestedRecipients").SuggestedRecipientsResponse, never, import("./src/queues/endpoints/suggestedRecipients").SuggestedRecipientsPayload>;
|
|
391
393
|
duplicate: (queueId: number, payload: import("./src/queues/endpoints/duplicate").QueueDuplicatePayload) => ElisRequestConfig<import("./src/queues/models").Queue, never, import("./src/queues/endpoints/duplicate").QueueDuplicatePayload>;
|
|
392
394
|
};
|
|
@@ -413,7 +415,7 @@ export declare const endpoints: {
|
|
|
413
415
|
list: (query: import("./src/surveys/endpoints/list").SurveysListQuery) => ElisRequestConfig<ListResponse<import("./src/surveys/models").Survey>, import("./src/surveys/endpoints/list").SurveysListQuery, never>;
|
|
414
416
|
};
|
|
415
417
|
tasks: {
|
|
416
|
-
get: (taskId: number, query: import("./src/tasks/endpoints/get").GetAsyncTaskQuery) => ElisRequestConfig<import("./src/tasks/models/asyncTask").AsyncTask, import("./src/tasks/endpoints/get").GetAsyncTaskQuery, never>;
|
|
418
|
+
get: (taskId: number, query: import("./src/tasks/endpoints/get").GetAsyncTaskQuery, signal?: AbortSignal | undefined) => ElisRequestConfig<import("./src/tasks/models/asyncTask").AsyncTask, import("./src/tasks/endpoints/get").GetAsyncTaskQuery, never>;
|
|
417
419
|
};
|
|
418
420
|
triggers: {
|
|
419
421
|
create: (payload: import("./src/triggers/endpoints/create").CreateTriggerPayload) => ElisRequestConfig<import("./src/triggers/models").Trigger, never, import("./src/triggers/endpoints/create").CreateTriggerPayload>;
|
|
@@ -441,6 +443,10 @@ export declare const endpoints: {
|
|
|
441
443
|
resetPassword: (payload: import("./src/users/endpoints/resetPassword").ResetPayload) => ElisRequestConfig<import("./src/users/models/resetPassword").ResetPassword, never, import("./src/users/endpoints/resetPassword").ResetPayload>;
|
|
442
444
|
get: (userId: string) => ElisRequestConfig<import("./src/users/models").User, never, never>;
|
|
443
445
|
};
|
|
446
|
+
uploads: {
|
|
447
|
+
get: (uploadId: number) => ElisRequestConfig<import("./src/uploads/models").Upload, never, never>;
|
|
448
|
+
post: (queueId: number, data: unknown, name?: string, signal?: AbortSignal | undefined) => ElisRequestConfig<import("./src/uploads/endpoints/post").UploadsPostResponse, import("./src/uploads/endpoints/post").UploadsPostQuery, unknown>;
|
|
449
|
+
};
|
|
444
450
|
workflowActivities: {
|
|
445
451
|
get: (workflowActivityUrl: string) => ElisRequestConfig<import("./src/workflowActivities/models").WorkflowActivity, never, never>;
|
|
446
452
|
list: (query?: import("./src/workflowActivities/endpoints/list").WorkflowActivitiesListQuery) => ElisRequestConfig<ListResponse<import("./src/workflowActivities/models").WorkflowActivity>, import("./src/workflowActivities/endpoints/list").WorkflowActivitiesListQuery, never>;
|
|
@@ -4,7 +4,7 @@ export declare const annotationListQuerySchema: z.ZodIntersection<z.ZodObject<{
|
|
|
4
4
|
queue: z.ZodOptional<z.ZodNumber>;
|
|
5
5
|
search: z.ZodOptional<z.ZodString>;
|
|
6
6
|
sideload: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"documents">, z.ZodLiteral<"modifiers">, z.ZodLiteral<"content">, z.ZodLiteral<"assignees">, z.ZodLiteral<"relations">, z.ZodLiteral<"labels">]>, "many">>;
|
|
7
|
-
status: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>, "many">>;
|
|
7
|
+
status: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>, "many">>;
|
|
8
8
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9
9
|
ordering: z.ZodOptional<z.ZodString>;
|
|
10
10
|
assignees: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -14,7 +14,7 @@ export declare const annotationListQuerySchema: z.ZodIntersection<z.ZodObject<{
|
|
|
14
14
|
queue?: number | undefined;
|
|
15
15
|
search?: string | undefined;
|
|
16
16
|
sideload?: ("assignees" | "content" | "relations" | "labels" | "documents" | "modifiers")[] | undefined;
|
|
17
|
-
status?: ("importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow")[] | undefined;
|
|
17
|
+
status?: ("created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow")[] | undefined;
|
|
18
18
|
labels?: string[] | undefined;
|
|
19
19
|
ordering?: string | undefined;
|
|
20
20
|
assignees?: number[] | undefined;
|
|
@@ -24,7 +24,7 @@ export declare const annotationListQuerySchema: z.ZodIntersection<z.ZodObject<{
|
|
|
24
24
|
queue?: number | undefined;
|
|
25
25
|
search?: string | undefined;
|
|
26
26
|
sideload?: ("assignees" | "content" | "relations" | "labels" | "documents" | "modifiers")[] | undefined;
|
|
27
|
-
status?: ("importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow")[] | undefined;
|
|
27
|
+
status?: ("created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow")[] | undefined;
|
|
28
28
|
labels?: string[] | undefined;
|
|
29
29
|
ordering?: string | undefined;
|
|
30
30
|
assignees?: number[] | undefined;
|
|
@@ -13,7 +13,7 @@ export declare const annotationPayloadSchema: z.ZodObject<{
|
|
|
13
13
|
confirmedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
exportedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
assignedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>>;
|
|
16
|
+
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>>;
|
|
17
17
|
rirPollId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
messages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
type: z.ZodUnion<[z.ZodLiteral<"error">, z.ZodLiteral<"warning">, z.ZodLiteral<"info">]>;
|
|
@@ -101,7 +101,7 @@ export declare const annotationPayloadSchema: z.ZodObject<{
|
|
|
101
101
|
confirmedAt?: string | null | undefined;
|
|
102
102
|
exportedAt?: string | null | undefined;
|
|
103
103
|
assignedAt?: string | null | undefined;
|
|
104
|
-
status?: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow" | undefined;
|
|
104
|
+
status?: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow" | undefined;
|
|
105
105
|
rirPollId?: string | null | undefined;
|
|
106
106
|
messages?: {
|
|
107
107
|
type: "error" | "warning" | "info";
|
|
@@ -149,7 +149,7 @@ export declare const annotationPayloadSchema: z.ZodObject<{
|
|
|
149
149
|
confirmedAt?: string | null | undefined;
|
|
150
150
|
exportedAt?: string | null | undefined;
|
|
151
151
|
assignedAt?: string | null | undefined;
|
|
152
|
-
status?: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow" | undefined;
|
|
152
|
+
status?: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow" | undefined;
|
|
153
153
|
rirPollId?: string | null | undefined;
|
|
154
154
|
messages?: {
|
|
155
155
|
type: "error" | "warning" | "info";
|
|
@@ -13,7 +13,7 @@ export declare const annotationSchema: z.ZodObject<{
|
|
|
13
13
|
confirmedAt: z.ZodNullable<z.ZodString>;
|
|
14
14
|
exportedAt: z.ZodNullable<z.ZodString>;
|
|
15
15
|
assignedAt: z.ZodNullable<z.ZodString>;
|
|
16
|
-
status: z.ZodUnion<[z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>;
|
|
16
|
+
status: z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>;
|
|
17
17
|
rirPollId: z.ZodNullable<z.ZodString>;
|
|
18
18
|
messages: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
type: z.ZodUnion<[z.ZodLiteral<"error">, z.ZodLiteral<"warning">, z.ZodLiteral<"info">]>;
|
|
@@ -88,7 +88,7 @@ export declare const annotationSchema: z.ZodObject<{
|
|
|
88
88
|
assignees: z.ZodArray<z.ZodString, "many">;
|
|
89
89
|
labels: z.ZodArray<z.ZodString, "many">;
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
91
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
92
92
|
document: string;
|
|
93
93
|
assignees: string[];
|
|
94
94
|
url: string;
|
|
@@ -136,7 +136,7 @@ export declare const annotationSchema: z.ZodObject<{
|
|
|
136
136
|
hasEmailThreadWithReplies?: boolean | undefined;
|
|
137
137
|
hasEmailThreadWithNewReplies?: boolean | undefined;
|
|
138
138
|
}, {
|
|
139
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
139
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
140
140
|
document: string;
|
|
141
141
|
assignees: string[];
|
|
142
142
|
url: string;
|
|
@@ -29,7 +29,7 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
|
|
|
29
29
|
confirmedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
30
30
|
exportedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
31
31
|
assignedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
32
|
-
status: import("zod").ZodUnion<[import("zod").ZodLiteral<"importing">, import("zod").ZodLiteral<"failed_import">, import("zod").ZodLiteral<"split">, import("zod").ZodLiteral<"to_review">, import("zod").ZodLiteral<"reviewing">, import("zod").ZodLiteral<"confirmed">, import("zod").ZodLiteral<"rejected">, import("zod").ZodLiteral<"exporting">, import("zod").ZodLiteral<"exported">, import("zod").ZodLiteral<"failed_export">, import("zod").ZodLiteral<"postponed">, import("zod").ZodLiteral<"deleted">, import("zod").ZodLiteral<"purged">, import("zod").ZodLiteral<"in_workflow">]>;
|
|
32
|
+
status: import("zod").ZodUnion<[import("zod").ZodLiteral<"created">, import("zod").ZodLiteral<"importing">, import("zod").ZodLiteral<"failed_import">, import("zod").ZodLiteral<"split">, import("zod").ZodLiteral<"to_review">, import("zod").ZodLiteral<"reviewing">, import("zod").ZodLiteral<"confirmed">, import("zod").ZodLiteral<"rejected">, import("zod").ZodLiteral<"exporting">, import("zod").ZodLiteral<"exported">, import("zod").ZodLiteral<"failed_export">, import("zod").ZodLiteral<"postponed">, import("zod").ZodLiteral<"deleted">, import("zod").ZodLiteral<"purged">, import("zod").ZodLiteral<"in_workflow">]>;
|
|
33
33
|
rirPollId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
34
34
|
messages: import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodObject<{
|
|
35
35
|
type: import("zod").ZodUnion<[import("zod").ZodLiteral<"error">, import("zod").ZodLiteral<"warning">, import("zod").ZodLiteral<"info">]>;
|
|
@@ -104,7 +104,7 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
|
|
|
104
104
|
assignees: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
105
105
|
labels: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
106
106
|
}, "strip", import("zod").ZodTypeAny, {
|
|
107
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
107
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
108
108
|
document: string;
|
|
109
109
|
assignees: string[];
|
|
110
110
|
url: string;
|
|
@@ -152,7 +152,7 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
|
|
|
152
152
|
hasEmailThreadWithReplies?: boolean | undefined;
|
|
153
153
|
hasEmailThreadWithNewReplies?: boolean | undefined;
|
|
154
154
|
}, {
|
|
155
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
155
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
156
156
|
document: string;
|
|
157
157
|
assignees: string[];
|
|
158
158
|
url: string;
|
|
@@ -596,7 +596,7 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
|
|
|
596
596
|
oidcId?: string | null | undefined;
|
|
597
597
|
}[];
|
|
598
598
|
results: {
|
|
599
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
599
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
600
600
|
document: string;
|
|
601
601
|
assignees: string[];
|
|
602
602
|
url: string;
|
|
@@ -765,7 +765,7 @@ export declare const annotationListResponse: (sideload: SideloadOptions[]) => im
|
|
|
765
765
|
oidcId?: string | null | undefined;
|
|
766
766
|
}[];
|
|
767
767
|
results: {
|
|
768
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
768
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
769
769
|
document: string;
|
|
770
770
|
assignees: string[];
|
|
771
771
|
url: string;
|
|
@@ -13,7 +13,7 @@ export declare const editDataSourceSchema: z.ZodUnion<[z.ZodLiteral<"automation"
|
|
|
13
13
|
export declare const accessibleChildAnnotationSchema: z.ZodObject<{
|
|
14
14
|
url: z.ZodString;
|
|
15
15
|
queue: z.ZodString;
|
|
16
|
-
status: z.ZodUnion<[z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>;
|
|
16
|
+
status: z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>;
|
|
17
17
|
started: z.ZodBoolean;
|
|
18
18
|
originalFileName: z.ZodString;
|
|
19
19
|
parentPages: z.ZodArray<z.ZodObject<{
|
|
@@ -27,7 +27,7 @@ export declare const accessibleChildAnnotationSchema: z.ZodObject<{
|
|
|
27
27
|
rotationDeg: number;
|
|
28
28
|
}>, "many">;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
30
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
31
31
|
url: string;
|
|
32
32
|
queue: string;
|
|
33
33
|
started: boolean;
|
|
@@ -37,7 +37,7 @@ export declare const accessibleChildAnnotationSchema: z.ZodObject<{
|
|
|
37
37
|
rotationDeg: number;
|
|
38
38
|
}[];
|
|
39
39
|
}, {
|
|
40
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
40
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
41
41
|
url: string;
|
|
42
42
|
queue: string;
|
|
43
43
|
started: boolean;
|
|
@@ -78,7 +78,7 @@ export declare const inaccessibleChildAnnotationSchema: z.ZodObject<{
|
|
|
78
78
|
export declare const childAnnotationSchema: z.ZodUnion<[z.ZodObject<{
|
|
79
79
|
url: z.ZodString;
|
|
80
80
|
queue: z.ZodString;
|
|
81
|
-
status: z.ZodUnion<[z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>;
|
|
81
|
+
status: z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>;
|
|
82
82
|
started: z.ZodBoolean;
|
|
83
83
|
originalFileName: z.ZodString;
|
|
84
84
|
parentPages: z.ZodArray<z.ZodObject<{
|
|
@@ -92,7 +92,7 @@ export declare const childAnnotationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
92
92
|
rotationDeg: number;
|
|
93
93
|
}>, "many">;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
95
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
96
96
|
url: string;
|
|
97
97
|
queue: string;
|
|
98
98
|
started: boolean;
|
|
@@ -102,7 +102,7 @@ export declare const childAnnotationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
102
102
|
rotationDeg: number;
|
|
103
103
|
}[];
|
|
104
104
|
}, {
|
|
105
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
105
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
106
106
|
url: string;
|
|
107
107
|
queue: string;
|
|
108
108
|
started: boolean;
|
|
@@ -145,7 +145,7 @@ export declare const startEditPagesResponseSchema: z.ZodObject<{
|
|
|
145
145
|
children: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
146
146
|
url: z.ZodString;
|
|
147
147
|
queue: z.ZodString;
|
|
148
|
-
status: z.ZodUnion<[z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>;
|
|
148
|
+
status: z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"importing">, z.ZodLiteral<"failed_import">, z.ZodLiteral<"split">, z.ZodLiteral<"to_review">, z.ZodLiteral<"reviewing">, z.ZodLiteral<"confirmed">, z.ZodLiteral<"rejected">, z.ZodLiteral<"exporting">, z.ZodLiteral<"exported">, z.ZodLiteral<"failed_export">, z.ZodLiteral<"postponed">, z.ZodLiteral<"deleted">, z.ZodLiteral<"purged">, z.ZodLiteral<"in_workflow">]>;
|
|
149
149
|
started: z.ZodBoolean;
|
|
150
150
|
originalFileName: z.ZodString;
|
|
151
151
|
parentPages: z.ZodArray<z.ZodObject<{
|
|
@@ -159,7 +159,7 @@ export declare const startEditPagesResponseSchema: z.ZodObject<{
|
|
|
159
159
|
rotationDeg: number;
|
|
160
160
|
}>, "many">;
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
162
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
163
163
|
url: string;
|
|
164
164
|
queue: string;
|
|
165
165
|
started: boolean;
|
|
@@ -169,7 +169,7 @@ export declare const startEditPagesResponseSchema: z.ZodObject<{
|
|
|
169
169
|
rotationDeg: number;
|
|
170
170
|
}[];
|
|
171
171
|
}, {
|
|
172
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
172
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
173
173
|
url: string;
|
|
174
174
|
queue: string;
|
|
175
175
|
started: boolean;
|
|
@@ -210,7 +210,7 @@ export declare const startEditPagesResponseSchema: z.ZodObject<{
|
|
|
210
210
|
parentAnnotation: string;
|
|
211
211
|
sessionTimeout: string;
|
|
212
212
|
children: ({
|
|
213
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
213
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
214
214
|
url: string;
|
|
215
215
|
queue: string;
|
|
216
216
|
started: boolean;
|
|
@@ -231,7 +231,7 @@ export declare const startEditPagesResponseSchema: z.ZodObject<{
|
|
|
231
231
|
parentAnnotation: string;
|
|
232
232
|
sessionTimeout: string;
|
|
233
233
|
children: ({
|
|
234
|
-
status: "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
234
|
+
status: "created" | "importing" | "failed_import" | "split" | "to_review" | "reviewing" | "confirmed" | "rejected" | "exporting" | "exported" | "failed_export" | "postponed" | "deleted" | "purged" | "in_workflow";
|
|
235
235
|
url: string;
|
|
236
236
|
queue: string;
|
|
237
237
|
started: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ListResponse } from '../../utils/listResponse';
|
|
2
2
|
import { ElisRequestConfig } from '../../utils/requestConfig';
|
|
3
3
|
import { DeleteRecommendation } from '../models';
|
|
4
|
-
export type DeleteRecommendationListQueryEncoder = {
|
|
4
|
+
export type DeleteRecommendationListQueryEncoder = {
|
|
5
|
+
queue?: number;
|
|
6
|
+
};
|
|
5
7
|
export declare const list: (query?: DeleteRecommendationListQueryEncoder) => ElisRequestConfig<ListResponse<DeleteRecommendation>, DeleteRecommendationListQueryEncoder, never>;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const deleteRecommendationListQueryEncoderSchema: z.ZodObject<{
|
|
2
|
+
export declare const deleteRecommendationListQueryEncoderSchema: z.ZodObject<{
|
|
3
|
+
queue: z.ZodOptional<z.ZodNumber>;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
queue?: number | undefined;
|
|
6
|
+
}, {
|
|
7
|
+
queue?: number | undefined;
|
|
8
|
+
}>;
|
|
@@ -7,8 +7,14 @@ export type DocumentsDownloadsQuery = {
|
|
|
7
7
|
id: number[];
|
|
8
8
|
fileName?: string | null;
|
|
9
9
|
};
|
|
10
|
+
export type DocumentsDownloadsType = 'source_document' | 'document';
|
|
10
11
|
export type DocumentsDownloadsPayload = {
|
|
11
12
|
fileName: string;
|
|
12
13
|
documents: Url[];
|
|
14
|
+
type?: DocumentsDownloadsType;
|
|
15
|
+
} | {
|
|
16
|
+
documents: [Url];
|
|
17
|
+
zip: false;
|
|
18
|
+
type?: DocumentsDownloadsType;
|
|
13
19
|
};
|
|
14
20
|
export declare const downloads: (payload: DocumentsDownloadsPayload) => ElisRequestConfig<DocumentsDownloadsResponse, never, DocumentsDownloadsPayload>;
|
|
@@ -16,13 +16,29 @@ export declare const documentsDownloadsQuerySchema: z.ZodObject<{
|
|
|
16
16
|
id: number[];
|
|
17
17
|
fileName?: string | null | undefined;
|
|
18
18
|
}>;
|
|
19
|
-
export declare const
|
|
19
|
+
export declare const documentsDownloadsTypeSchema: z.ZodUnion<[z.ZodLiteral<"source_document">, z.ZodLiteral<"document">]>;
|
|
20
|
+
export declare const documentsDownloadsPayloadSchema: z.ZodUnion<[z.ZodObject<{
|
|
20
21
|
fileName: z.ZodString;
|
|
21
22
|
documents: z.ZodArray<z.ZodString, "many">;
|
|
23
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"source_document">, z.ZodLiteral<"document">]>>;
|
|
22
24
|
}, "strip", z.ZodTypeAny, {
|
|
23
25
|
documents: string[];
|
|
24
26
|
fileName: string;
|
|
27
|
+
type?: "document" | "source_document" | undefined;
|
|
25
28
|
}, {
|
|
26
29
|
documents: string[];
|
|
27
30
|
fileName: string;
|
|
28
|
-
|
|
31
|
+
type?: "document" | "source_document" | undefined;
|
|
32
|
+
}>, z.ZodObject<{
|
|
33
|
+
documents: z.ZodTuple<[z.ZodString], null>;
|
|
34
|
+
zip: z.ZodLiteral<false>;
|
|
35
|
+
type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"source_document">, z.ZodLiteral<"document">]>>;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
documents: [string];
|
|
38
|
+
zip: false;
|
|
39
|
+
type?: "document" | "source_document" | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
documents: [string];
|
|
42
|
+
zip: false;
|
|
43
|
+
type?: "document" | "source_document" | undefined;
|
|
44
|
+
}>]>;
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const hookTemplateSchema: z.ZodUnion<[z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
3
3
|
name: z.ZodString;
|
|
4
4
|
url: z.ZodString;
|
|
5
|
-
events: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation">]>, "many">;
|
|
5
|
+
events: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"upload.created">, z.ZodLiteral<"upload">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation">]>, "many">;
|
|
6
6
|
sideload: z.ZodArray<z.ZodString, "many">;
|
|
7
7
|
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
8
8
|
test: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -34,7 +34,7 @@ export declare const hookTemplateSchema: z.ZodUnion<[z.ZodIntersection<z.ZodInte
|
|
|
34
34
|
name: string;
|
|
35
35
|
sideload: string[];
|
|
36
36
|
description: string;
|
|
37
|
-
events: ("email" | "annotation_content" | "annotation_status" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "email.received" | "invocation.manual" | "invocation.scheduled")[];
|
|
37
|
+
events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[];
|
|
38
38
|
extensionSource: "custom" | "rossum_store";
|
|
39
39
|
guide: string;
|
|
40
40
|
readMoreUrl: string | null;
|
|
@@ -56,7 +56,7 @@ export declare const hookTemplateSchema: z.ZodUnion<[z.ZodIntersection<z.ZodInte
|
|
|
56
56
|
name: string;
|
|
57
57
|
sideload: string[];
|
|
58
58
|
description: string;
|
|
59
|
-
events: ("email" | "annotation_content" | "annotation_status" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "email.received" | "invocation.manual" | "invocation.scheduled")[];
|
|
59
|
+
events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[];
|
|
60
60
|
extensionSource: "custom" | "rossum_store";
|
|
61
61
|
guide: string;
|
|
62
62
|
readMoreUrl: string | null;
|
|
@@ -186,7 +186,7 @@ export declare const hookTemplateSchema: z.ZodUnion<[z.ZodIntersection<z.ZodInte
|
|
|
186
186
|
}>>, z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
187
187
|
name: z.ZodString;
|
|
188
188
|
url: z.ZodString;
|
|
189
|
-
events: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation">]>, "many">;
|
|
189
|
+
events: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"upload.created">, z.ZodLiteral<"upload">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation">]>, "many">;
|
|
190
190
|
sideload: z.ZodArray<z.ZodString, "many">;
|
|
191
191
|
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
192
192
|
test: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -218,7 +218,7 @@ export declare const hookTemplateSchema: z.ZodUnion<[z.ZodIntersection<z.ZodInte
|
|
|
218
218
|
name: string;
|
|
219
219
|
sideload: string[];
|
|
220
220
|
description: string;
|
|
221
|
-
events: ("email" | "annotation_content" | "annotation_status" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "email.received" | "invocation.manual" | "invocation.scheduled")[];
|
|
221
|
+
events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[];
|
|
222
222
|
extensionSource: "custom" | "rossum_store";
|
|
223
223
|
guide: string;
|
|
224
224
|
readMoreUrl: string | null;
|
|
@@ -240,7 +240,7 @@ export declare const hookTemplateSchema: z.ZodUnion<[z.ZodIntersection<z.ZodInte
|
|
|
240
240
|
name: string;
|
|
241
241
|
sideload: string[];
|
|
242
242
|
description: string;
|
|
243
|
-
events: ("email" | "annotation_content" | "annotation_status" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "email.received" | "invocation.manual" | "invocation.scheduled")[];
|
|
243
|
+
events: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[];
|
|
244
244
|
extensionSource: "custom" | "rossum_store";
|
|
245
245
|
guide: string;
|
|
246
246
|
readMoreUrl: string | null;
|
|
@@ -148,6 +148,48 @@ export declare const logsSchema: z.ZodObject<{
|
|
|
148
148
|
request: string | null;
|
|
149
149
|
response: string | null;
|
|
150
150
|
queueId?: number | null | undefined;
|
|
151
|
+
}>, z.ZodObject<{
|
|
152
|
+
emailId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
153
|
+
event: z.ZodLiteral<"upload">;
|
|
154
|
+
action: z.ZodLiteral<"created">;
|
|
155
|
+
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
event: "upload";
|
|
157
|
+
action: "created";
|
|
158
|
+
emailId?: number | null | undefined;
|
|
159
|
+
}, {
|
|
160
|
+
event: "upload";
|
|
161
|
+
action: "created";
|
|
162
|
+
emailId?: number | null | undefined;
|
|
163
|
+
}>>, z.ZodIntersection<z.ZodObject<{
|
|
164
|
+
hookId: z.ZodNumber;
|
|
165
|
+
hookType: z.ZodUnion<[z.ZodLiteral<"webhook">, z.ZodLiteral<"function">]>;
|
|
166
|
+
logLevel: z.ZodUnion<[z.ZodLiteral<"INFO">, z.ZodLiteral<"WARNING">, z.ZodLiteral<"ERROR">]>;
|
|
167
|
+
message: z.ZodString;
|
|
168
|
+
queueId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
169
|
+
request: z.ZodNullable<z.ZodString>;
|
|
170
|
+
requestId: z.ZodString;
|
|
171
|
+
response: z.ZodNullable<z.ZodString>;
|
|
172
|
+
timestamp: z.ZodString;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
message: string;
|
|
175
|
+
hookId: number;
|
|
176
|
+
requestId: string;
|
|
177
|
+
timestamp: string;
|
|
178
|
+
hookType: "function" | "webhook";
|
|
179
|
+
logLevel: "INFO" | "WARNING" | "ERROR";
|
|
180
|
+
request: string | null;
|
|
181
|
+
response: string | null;
|
|
182
|
+
queueId?: number | null | undefined;
|
|
183
|
+
}, {
|
|
184
|
+
message: string;
|
|
185
|
+
hookId: number;
|
|
186
|
+
requestId: string;
|
|
187
|
+
timestamp: string;
|
|
188
|
+
hookType: "function" | "webhook";
|
|
189
|
+
logLevel: "INFO" | "WARNING" | "ERROR";
|
|
190
|
+
request: string | null;
|
|
191
|
+
response: string | null;
|
|
192
|
+
queueId?: number | null | undefined;
|
|
151
193
|
}>, z.ZodObject<{
|
|
152
194
|
emailId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
153
195
|
event: z.ZodLiteral<"email">;
|
|
@@ -239,6 +281,20 @@ export declare const logsSchema: z.ZodObject<{
|
|
|
239
281
|
request: string | null;
|
|
240
282
|
response: string | null;
|
|
241
283
|
queueId?: number | null | undefined;
|
|
284
|
+
} & {
|
|
285
|
+
event: "upload";
|
|
286
|
+
action: "created";
|
|
287
|
+
emailId?: number | null | undefined;
|
|
288
|
+
}) | ({
|
|
289
|
+
message: string;
|
|
290
|
+
hookId: number;
|
|
291
|
+
requestId: string;
|
|
292
|
+
timestamp: string;
|
|
293
|
+
hookType: "function" | "webhook";
|
|
294
|
+
logLevel: "INFO" | "WARNING" | "ERROR";
|
|
295
|
+
request: string | null;
|
|
296
|
+
response: string | null;
|
|
297
|
+
queueId?: number | null | undefined;
|
|
242
298
|
} & {
|
|
243
299
|
event: "email";
|
|
244
300
|
action: "received";
|
|
@@ -296,6 +352,20 @@ export declare const logsSchema: z.ZodObject<{
|
|
|
296
352
|
request: string | null;
|
|
297
353
|
response: string | null;
|
|
298
354
|
queueId?: number | null | undefined;
|
|
355
|
+
} & {
|
|
356
|
+
event: "upload";
|
|
357
|
+
action: "created";
|
|
358
|
+
emailId?: number | null | undefined;
|
|
359
|
+
}) | ({
|
|
360
|
+
message: string;
|
|
361
|
+
hookId: number;
|
|
362
|
+
requestId: string;
|
|
363
|
+
timestamp: string;
|
|
364
|
+
hookType: "function" | "webhook";
|
|
365
|
+
logLevel: "INFO" | "WARNING" | "ERROR";
|
|
366
|
+
request: string | null;
|
|
367
|
+
response: string | null;
|
|
368
|
+
queueId?: number | null | undefined;
|
|
299
369
|
} & {
|
|
300
370
|
event: "email";
|
|
301
371
|
action: "received";
|
|
@@ -108,7 +108,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
|
|
|
108
108
|
queues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
109
109
|
runAfter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
110
110
|
active: z.ZodOptional<z.ZodBoolean>;
|
|
111
|
-
events: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation">]>, "many">>;
|
|
111
|
+
events: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"upload.created">, z.ZodLiteral<"upload">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation">]>, "many">>;
|
|
112
112
|
sideload: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
113
113
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
114
114
|
tokenOwner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -129,7 +129,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
|
|
|
129
129
|
queues?: string[] | undefined;
|
|
130
130
|
runAfter?: string[] | undefined;
|
|
131
131
|
active?: boolean | undefined;
|
|
132
|
-
events?: ("email" | "annotation_content" | "annotation_status" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "email.received" | "invocation.manual" | "invocation.scheduled")[] | undefined;
|
|
132
|
+
events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[] | undefined;
|
|
133
133
|
sideload?: string[] | undefined;
|
|
134
134
|
metadata?: unknown;
|
|
135
135
|
tokenOwner?: string | null | undefined;
|
|
@@ -150,7 +150,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
|
|
|
150
150
|
queues?: string[] | undefined;
|
|
151
151
|
runAfter?: string[] | undefined;
|
|
152
152
|
active?: boolean | undefined;
|
|
153
|
-
events?: ("email" | "annotation_content" | "annotation_status" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "email.received" | "invocation.manual" | "invocation.scheduled")[] | undefined;
|
|
153
|
+
events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[] | undefined;
|
|
154
154
|
sideload?: string[] | undefined;
|
|
155
155
|
metadata?: unknown;
|
|
156
156
|
tokenOwner?: string | null | undefined;
|
|
@@ -272,7 +272,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
|
|
|
272
272
|
queues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
273
273
|
runAfter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
274
274
|
active: z.ZodOptional<z.ZodBoolean>;
|
|
275
|
-
events: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation">]>, "many">>;
|
|
275
|
+
events: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"annotation_content.confirm">, z.ZodLiteral<"annotation_content.export">, z.ZodLiteral<"annotation_content.initialize">, z.ZodLiteral<"annotation_content.started">, z.ZodLiteral<"annotation_content.updated">, z.ZodLiteral<"annotation_content.user_update">, z.ZodLiteral<"annotation_content">, z.ZodLiteral<"annotation_status.changed">, z.ZodLiteral<"annotation_status">, z.ZodLiteral<"upload.created">, z.ZodLiteral<"upload">, z.ZodLiteral<"email.received">, z.ZodLiteral<"email">, z.ZodLiteral<"invocation.manual">, z.ZodLiteral<"invocation.scheduled">, z.ZodLiteral<"invocation">]>, "many">>;
|
|
276
276
|
sideload: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
277
277
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
278
278
|
tokenOwner: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -293,7 +293,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
|
|
|
293
293
|
queues?: string[] | undefined;
|
|
294
294
|
runAfter?: string[] | undefined;
|
|
295
295
|
active?: boolean | undefined;
|
|
296
|
-
events?: ("email" | "annotation_content" | "annotation_status" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "email.received" | "invocation.manual" | "invocation.scheduled")[] | undefined;
|
|
296
|
+
events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[] | undefined;
|
|
297
297
|
sideload?: string[] | undefined;
|
|
298
298
|
metadata?: unknown;
|
|
299
299
|
tokenOwner?: string | null | undefined;
|
|
@@ -314,7 +314,7 @@ export declare const hookPatchPayloadSchema: z.ZodUnion<[z.ZodIntersection<z.Zod
|
|
|
314
314
|
queues?: string[] | undefined;
|
|
315
315
|
runAfter?: string[] | undefined;
|
|
316
316
|
active?: boolean | undefined;
|
|
317
|
-
events?: ("email" | "annotation_content" | "annotation_status" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "email.received" | "invocation.manual" | "invocation.scheduled")[] | undefined;
|
|
317
|
+
events?: ("email" | "annotation_content" | "annotation_status" | "upload" | "invocation" | "annotation_content.confirm" | "annotation_content.export" | "annotation_content.initialize" | "annotation_content.started" | "annotation_content.updated" | "annotation_content.user_update" | "annotation_status.changed" | "upload.created" | "email.received" | "invocation.manual" | "invocation.scheduled")[] | undefined;
|
|
318
318
|
sideload?: string[] | undefined;
|
|
319
319
|
metadata?: unknown;
|
|
320
320
|
tokenOwner?: string | null | undefined;
|