@retab/node 1.0.57 → 1.0.59
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/dist/api/documents/client.d.ts +6 -6
- package/dist/api/documents/client.d.ts.map +1 -1
- package/dist/api/documents/client.js +20 -10
- package/dist/api/models/client.d.ts +2 -2
- package/dist/api/models/client.d.ts.map +1 -1
- package/dist/api/models/client.js +3 -2
- package/dist/api/projects/client.d.ts +8 -8
- package/dist/api/projects/client.d.ts.map +1 -1
- package/dist/api/projects/client.js +23 -11
- package/dist/api/projects/documents/client.d.ts +6 -6
- package/dist/api/projects/documents/client.d.ts.map +1 -1
- package/dist/api/projects/documents/client.js +17 -7
- package/dist/api/projects/iterations/client.d.ts +9 -9
- package/dist/api/projects/iterations/client.d.ts.map +1 -1
- package/dist/api/projects/iterations/client.js +28 -13
- package/dist/api/schemas/client.d.ts +2 -2
- package/dist/api/schemas/client.d.ts.map +1 -1
- package/dist/api/schemas/client.js +4 -2
- package/dist/client.d.ts +5 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/generated_types.d.ts +2945 -2783
- package/dist/generated_types.d.ts.map +1 -1
- package/dist/generated_types.js +73 -102
- package/dist/types.d.ts +11 -76
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +5 -0
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { CompositionClient } from "../../client.js";
|
|
1
|
+
import { CompositionClient, RequestOptions } from "../../client.js";
|
|
2
2
|
import { DocumentExtractRequest, RetabParsedChatCompletion, ParseRequest, ParseResult, DocumentCreateMessageRequest, DocumentMessage, DocumentCreateInputRequest, RetabParsedChatCompletionChunk } from "../../types.js";
|
|
3
3
|
export default class APIDocuments extends CompositionClient {
|
|
4
4
|
constructor(client: CompositionClient);
|
|
5
|
-
extract(params: DocumentExtractRequest): Promise<RetabParsedChatCompletion>;
|
|
6
|
-
extract_stream(params: DocumentExtractRequest): Promise<AsyncGenerator<RetabParsedChatCompletionChunk>>;
|
|
7
|
-
parse(params: ParseRequest): Promise<ParseResult>;
|
|
8
|
-
create_messages(params: DocumentCreateMessageRequest): Promise<DocumentMessage>;
|
|
9
|
-
create_inputs(params: DocumentCreateInputRequest): Promise<DocumentMessage>;
|
|
5
|
+
extract(params: DocumentExtractRequest, options?: RequestOptions): Promise<RetabParsedChatCompletion>;
|
|
6
|
+
extract_stream(params: DocumentExtractRequest, options?: RequestOptions): Promise<AsyncGenerator<RetabParsedChatCompletionChunk>>;
|
|
7
|
+
parse(params: ParseRequest, options?: RequestOptions): Promise<ParseResult>;
|
|
8
|
+
create_messages(params: DocumentCreateMessageRequest, options?: RequestOptions): Promise<DocumentMessage>;
|
|
9
|
+
create_inputs(params: DocumentCreateInputRequest, options?: RequestOptions): Promise<DocumentMessage>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/api/documents/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/api/documents/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAA2B,sBAAsB,EAAE,yBAAyB,EAA8B,YAAY,EAAE,WAAW,EAA+B,4BAA4B,EAAE,eAAe,EAAmD,0BAA0B,EAA+B,8BAA8B,EAAmC,MAAM,gBAAgB,CAAC;AAG1Z,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,iBAAiB;gBAC3C,MAAM,EAAE,iBAAiB;IAG/B,OAAO,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,yBAAyB,CAAC;IAUrG,cAAc,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC,8BAA8B,CAAC,CAAC;IAUjI,KAAK,CAAC,MAAM,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,WAAW,CAAC;IAS3E,eAAe,CAAC,MAAM,EAAE,4BAA4B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC;IASzG,aAAa,CAAC,MAAM,EAAE,0BAA0B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC;CAS9G"}
|
|
@@ -4,41 +4,51 @@ export default class APIDocuments extends CompositionClient {
|
|
|
4
4
|
constructor(client) {
|
|
5
5
|
super(client);
|
|
6
6
|
}
|
|
7
|
-
async extract(params) {
|
|
7
|
+
async extract(params, options) {
|
|
8
8
|
let request = await ZDocumentExtractRequest.parseAsync(params);
|
|
9
9
|
return this._fetchJson(ZRetabParsedChatCompletion, {
|
|
10
10
|
url: "/v1/documents/extract",
|
|
11
11
|
method: "POST",
|
|
12
|
-
body: request,
|
|
12
|
+
body: { ...request, ...(options?.body || {}) },
|
|
13
|
+
params: options?.params,
|
|
14
|
+
headers: options?.headers,
|
|
13
15
|
});
|
|
14
16
|
}
|
|
15
|
-
async extract_stream(params) {
|
|
17
|
+
async extract_stream(params, options) {
|
|
16
18
|
let request = await ZDocumentExtractRequest.parseAsync(params);
|
|
17
19
|
return this._fetchStream(ZRetabParsedChatCompletionChunk, {
|
|
18
20
|
url: "/v1/documents/extract",
|
|
19
21
|
method: "POST",
|
|
20
|
-
body: { ...request, stream: true },
|
|
22
|
+
body: { ...request, stream: true, ...(options?.body || {}) },
|
|
23
|
+
params: options?.params,
|
|
24
|
+
headers: options?.headers,
|
|
21
25
|
});
|
|
22
26
|
}
|
|
23
|
-
async parse(params) {
|
|
27
|
+
async parse(params, options) {
|
|
24
28
|
return this._fetchJson(ZParseResult, {
|
|
25
29
|
url: "/v1/documents/parse",
|
|
26
30
|
method: "POST",
|
|
27
|
-
body: await ZParseRequest.parseAsync(params),
|
|
31
|
+
body: { ...(await ZParseRequest.parseAsync(params)), ...(options?.body || {}) },
|
|
32
|
+
params: options?.params,
|
|
33
|
+
headers: options?.headers,
|
|
28
34
|
});
|
|
29
35
|
}
|
|
30
|
-
async create_messages(params) {
|
|
36
|
+
async create_messages(params, options) {
|
|
31
37
|
return this._fetchJson(ZDocumentMessage, {
|
|
32
38
|
url: "/v1/documents/create_messages",
|
|
33
39
|
method: "POST",
|
|
34
|
-
body: await ZDocumentCreateMessageRequest.parseAsync(params),
|
|
40
|
+
body: { ...(await ZDocumentCreateMessageRequest.parseAsync(params)), ...(options?.body || {}) },
|
|
41
|
+
params: options?.params,
|
|
42
|
+
headers: options?.headers,
|
|
35
43
|
});
|
|
36
44
|
}
|
|
37
|
-
async create_inputs(params) {
|
|
45
|
+
async create_inputs(params, options) {
|
|
38
46
|
return this._fetchJson(ZDocumentMessage, {
|
|
39
47
|
url: "/v1/documents/create_inputs",
|
|
40
48
|
method: "POST",
|
|
41
|
-
body: await ZDocumentCreateInputRequest.parseAsync(params),
|
|
49
|
+
body: { ...(await ZDocumentCreateInputRequest.parseAsync(params)), ...(options?.body || {}) },
|
|
50
|
+
params: options?.params,
|
|
51
|
+
headers: options?.headers,
|
|
42
52
|
});
|
|
43
53
|
}
|
|
44
54
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { CompositionClient } from "../../client.js";
|
|
1
|
+
import { CompositionClient, RequestOptions } from "../../client.js";
|
|
2
2
|
export default class APIModels extends CompositionClient {
|
|
3
3
|
constructor(client: CompositionClient);
|
|
4
4
|
list(params?: {
|
|
5
5
|
supports_finetuning?: boolean;
|
|
6
6
|
supports_image?: boolean;
|
|
7
7
|
include_finetuned_models?: boolean;
|
|
8
|
-
}): Promise<{
|
|
8
|
+
}, options?: RequestOptions): Promise<{
|
|
9
9
|
data: {
|
|
10
10
|
object: "model";
|
|
11
11
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/api/models/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/api/models/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGpE,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,iBAAiB;gBACxC,MAAM,EAAE,iBAAiB;IAI/B,IAAI,CAAC,MAAM,CAAC,EAAE;QAChB,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB,wBAAwB,CAAC,EAAE,OAAO,CAAC;KACtC,EAAE,OAAO,CAAC,EAAE,cAAc;;;;;;;;CAQ9B"}
|
|
@@ -5,11 +5,12 @@ export default class APIModels extends CompositionClient {
|
|
|
5
5
|
constructor(client) {
|
|
6
6
|
super(client);
|
|
7
7
|
}
|
|
8
|
-
async list(params) {
|
|
8
|
+
async list(params, options) {
|
|
9
9
|
return this._fetchJson(z.object({ data: z.array(ZModel) }), {
|
|
10
10
|
url: "/v1/models",
|
|
11
11
|
method: "GET",
|
|
12
|
-
params: params,
|
|
12
|
+
params: { ...(params || {}), ...(options?.params || {}) },
|
|
13
|
+
headers: options?.headers,
|
|
13
14
|
});
|
|
14
15
|
}
|
|
15
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompositionClient } from "../../client.js";
|
|
1
|
+
import { CompositionClient, RequestOptions } from "../../client.js";
|
|
2
2
|
import { BaseProjectInput, Project, CreateProjectRequest, MIMEDataInput, RetabParsedChatCompletion } from "../../types.js";
|
|
3
3
|
import APIProjectsDocuments from "./documents/client";
|
|
4
4
|
import APIProjectsIterations from "./iterations/client";
|
|
@@ -6,19 +6,19 @@ export default class APIProjects extends CompositionClient {
|
|
|
6
6
|
constructor(client: CompositionClient);
|
|
7
7
|
documents: APIProjectsDocuments;
|
|
8
8
|
iterations: APIProjectsIterations;
|
|
9
|
-
create(body: CreateProjectRequest): Promise<Project>;
|
|
10
|
-
update(projectId: string, body: Partial<BaseProjectInput
|
|
11
|
-
list(): Promise<Project[]>;
|
|
12
|
-
get(projectId: string): Promise<Project>;
|
|
13
|
-
delete(projectId: string): Promise<void>;
|
|
9
|
+
create(body: CreateProjectRequest, options?: RequestOptions): Promise<Project>;
|
|
10
|
+
update(projectId: string, body: Partial<BaseProjectInput>, options?: RequestOptions): Promise<Project>;
|
|
11
|
+
list(options?: RequestOptions): Promise<Project[]>;
|
|
12
|
+
get(projectId: string, options?: RequestOptions): Promise<Project>;
|
|
13
|
+
delete(projectId: string, options?: RequestOptions): Promise<void>;
|
|
14
14
|
extract({ project_id, iteration_id, document, documents, temperature, seed, store }: {
|
|
15
15
|
project_id: string;
|
|
16
|
-
iteration_id
|
|
16
|
+
iteration_id?: string;
|
|
17
17
|
document?: MIMEDataInput;
|
|
18
18
|
documents?: MIMEDataInput[];
|
|
19
19
|
temperature?: number;
|
|
20
20
|
seed?: number;
|
|
21
21
|
store?: boolean;
|
|
22
|
-
}): Promise<RetabParsedChatCompletion>;
|
|
22
|
+
}, options?: RequestOptions): Promise<RetabParsedChatCompletion>;
|
|
23
23
|
}
|
|
24
24
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/api/projects/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/api/projects/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEpE,OAAO,EAAE,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B,CAAC;CAwBnE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CompositionClient } from "../../client.js";
|
|
2
2
|
import { mimeToBlob } from "../../mime.js";
|
|
3
|
-
import { dataArray, ZBaseProject, ZProject, ZCreateProjectRequest, ZMIMEData, ZRetabParsedChatCompletion } from "../../types.js";
|
|
3
|
+
import { dataArray, ZBaseProject, ZProjectLoose as ZProject, ZCreateProjectRequest, ZMIMEData, ZRetabParsedChatCompletion } from "../../types.js";
|
|
4
4
|
import APIProjectsDocuments from "./documents/client";
|
|
5
5
|
import APIProjectsIterations from "./iterations/client";
|
|
6
6
|
export default class APIProjects extends CompositionClient {
|
|
@@ -9,43 +9,53 @@ export default class APIProjects extends CompositionClient {
|
|
|
9
9
|
this.documents = new APIProjectsDocuments(this);
|
|
10
10
|
this.iterations = new APIProjectsIterations(this);
|
|
11
11
|
}
|
|
12
|
-
async create(body) {
|
|
12
|
+
async create(body, options) {
|
|
13
13
|
return this._fetchJson(ZProject, {
|
|
14
14
|
url: "/v1/projects",
|
|
15
15
|
method: "POST",
|
|
16
|
-
body: await ZCreateProjectRequest.parseAsync(body),
|
|
16
|
+
body: { ...(await ZCreateProjectRequest.parseAsync(body)), ...(options?.body || {}) },
|
|
17
|
+
params: options?.params,
|
|
18
|
+
headers: options?.headers,
|
|
17
19
|
});
|
|
18
20
|
}
|
|
19
|
-
async update(projectId, body) {
|
|
21
|
+
async update(projectId, body, options) {
|
|
20
22
|
return this._fetchJson(ZProject, {
|
|
21
23
|
url: `/v1/projects/${projectId}`,
|
|
22
24
|
method: "PATCH",
|
|
23
|
-
body: await ZBaseProject.partial().parseAsync(body),
|
|
25
|
+
body: { ...(await ZBaseProject.partial().parseAsync(body)), ...(options?.body || {}) },
|
|
26
|
+
params: options?.params,
|
|
27
|
+
headers: options?.headers,
|
|
24
28
|
});
|
|
25
29
|
}
|
|
26
|
-
async list() {
|
|
30
|
+
async list(options) {
|
|
27
31
|
return this._fetchJson(dataArray(ZProject), {
|
|
28
32
|
url: "/v1/projects",
|
|
29
33
|
method: "GET",
|
|
34
|
+
params: options?.params,
|
|
35
|
+
headers: options?.headers,
|
|
30
36
|
});
|
|
31
37
|
}
|
|
32
|
-
async get(projectId) {
|
|
38
|
+
async get(projectId, options) {
|
|
33
39
|
return this._fetchJson(ZProject, {
|
|
34
40
|
url: `/v1/projects/${projectId}`,
|
|
35
41
|
method: "GET",
|
|
42
|
+
params: options?.params,
|
|
43
|
+
headers: options?.headers,
|
|
36
44
|
});
|
|
37
45
|
}
|
|
38
|
-
async delete(projectId) {
|
|
46
|
+
async delete(projectId, options) {
|
|
39
47
|
return this._fetchJson({
|
|
40
48
|
url: `/v1/projects/${projectId}`,
|
|
41
49
|
method: "DELETE",
|
|
50
|
+
params: options?.params,
|
|
51
|
+
headers: options?.headers,
|
|
42
52
|
});
|
|
43
53
|
}
|
|
44
|
-
async extract({ project_id, iteration_id, document, documents, temperature, seed, store }) {
|
|
54
|
+
async extract({ project_id, iteration_id, document, documents, temperature, seed, store }, options) {
|
|
45
55
|
if (!document && (!documents || documents.length === 0)) {
|
|
46
56
|
throw new Error("Either 'document' or 'documents' must be provided.");
|
|
47
57
|
}
|
|
48
|
-
|
|
58
|
+
const url = iteration_id ? `/v1/projects/extract/${project_id}/${iteration_id}` : `/v1/projects/extract/${project_id}`;
|
|
49
59
|
// Only include optional parameters if they are provided
|
|
50
60
|
const bodyParams = {
|
|
51
61
|
documents: (await ZMIMEData.array().parseAsync([...document ? [document] : [], ...(documents || [])])).map(mimeToBlob)
|
|
@@ -59,8 +69,10 @@ export default class APIProjects extends CompositionClient {
|
|
|
59
69
|
return this._fetchJson(ZRetabParsedChatCompletion, {
|
|
60
70
|
url,
|
|
61
71
|
method: "POST",
|
|
62
|
-
body: bodyParams,
|
|
72
|
+
body: { ...bodyParams, ...(options?.body || {}) },
|
|
63
73
|
bodyMime: "multipart/form-data",
|
|
74
|
+
params: options?.params,
|
|
75
|
+
headers: options?.headers,
|
|
64
76
|
});
|
|
65
77
|
}
|
|
66
78
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { CompositionClient } from "../../../client.js";
|
|
1
|
+
import { CompositionClient, RequestOptions } from "../../../client.js";
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
import { DocumentItemInput, ProjectDocument, ZPatchProjectDocumentRequest } from "../../../types.js";
|
|
4
4
|
export default class APIProjectsDocuments extends CompositionClient {
|
|
5
5
|
constructor(client: CompositionClient);
|
|
6
|
-
create(projectId: string, body: DocumentItemInput): Promise<ProjectDocument>;
|
|
7
|
-
update(projectId: string, documentId: string, body: z.input<typeof ZPatchProjectDocumentRequest
|
|
8
|
-
list(projectId: string): Promise<ProjectDocument[]>;
|
|
9
|
-
get(projectId: string, documentId: string): Promise<ProjectDocument>;
|
|
10
|
-
delete(projectId: string, documentId: string): Promise<void>;
|
|
6
|
+
create(projectId: string, body: DocumentItemInput, options?: RequestOptions): Promise<ProjectDocument>;
|
|
7
|
+
update(projectId: string, documentId: string, body: z.input<typeof ZPatchProjectDocumentRequest>, options?: RequestOptions): Promise<ProjectDocument>;
|
|
8
|
+
list(projectId: string, options?: RequestOptions): Promise<ProjectDocument[]>;
|
|
9
|
+
get(projectId: string, documentId: string, options?: RequestOptions): Promise<ProjectDocument>;
|
|
10
|
+
delete(projectId: string, documentId: string, options?: RequestOptions): Promise<void>;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/api/projects/documents/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/api/projects/documents/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAmC,eAAe,EAAE,4BAA4B,EAAa,MAAM,mBAAmB,CAAC;AAEjJ,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,iBAAiB;gBACnD,MAAM,EAAE,iBAAiB;IAG/B,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC;IAUtG,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC;IAUrJ,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAS7E,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC;IAS9F,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAQ/F"}
|
|
@@ -4,36 +4,46 @@ export default class APIProjectsDocuments extends CompositionClient {
|
|
|
4
4
|
constructor(client) {
|
|
5
5
|
super(client);
|
|
6
6
|
}
|
|
7
|
-
async create(projectId, body) {
|
|
7
|
+
async create(projectId, body, options) {
|
|
8
8
|
return this._fetchJson(ZProjectDocument, {
|
|
9
9
|
url: `/v1/projects/${projectId}/documents`,
|
|
10
10
|
method: "POST",
|
|
11
|
-
body: await ZDocumentItem.parseAsync(body),
|
|
11
|
+
body: { ...(await ZDocumentItem.parseAsync(body)), ...(options?.body || {}) },
|
|
12
|
+
params: options?.params,
|
|
13
|
+
headers: options?.headers,
|
|
12
14
|
});
|
|
13
15
|
}
|
|
14
|
-
async update(projectId, documentId, body) {
|
|
16
|
+
async update(projectId, documentId, body, options) {
|
|
15
17
|
return this._fetchJson(ZProjectDocument, {
|
|
16
18
|
url: `/v1/projects/${projectId}/documents/${documentId}`,
|
|
17
19
|
method: "PATCH",
|
|
18
|
-
body: await ZPatchProjectDocumentRequest.parseAsync(body),
|
|
20
|
+
body: { ...(await ZPatchProjectDocumentRequest.parseAsync(body)), ...(options?.body || {}) },
|
|
21
|
+
params: options?.params,
|
|
22
|
+
headers: options?.headers,
|
|
19
23
|
});
|
|
20
24
|
}
|
|
21
|
-
async list(projectId) {
|
|
25
|
+
async list(projectId, options) {
|
|
22
26
|
return this._fetchJson(dataArray(ZProjectDocument), {
|
|
23
27
|
url: `/v1/projects/${projectId}/documents`,
|
|
24
28
|
method: "GET",
|
|
29
|
+
params: options?.params,
|
|
30
|
+
headers: options?.headers,
|
|
25
31
|
});
|
|
26
32
|
}
|
|
27
|
-
async get(projectId, documentId) {
|
|
33
|
+
async get(projectId, documentId, options) {
|
|
28
34
|
return this._fetchJson(ZProjectDocument, {
|
|
29
35
|
url: `/v1/projects/${projectId}/documents/${documentId}`,
|
|
30
36
|
method: "GET",
|
|
37
|
+
params: options?.params,
|
|
38
|
+
headers: options?.headers,
|
|
31
39
|
});
|
|
32
40
|
}
|
|
33
|
-
async delete(projectId, documentId) {
|
|
41
|
+
async delete(projectId, documentId, options) {
|
|
34
42
|
return this._fetchJson({
|
|
35
43
|
url: `/v1/projects/${projectId}/documents/${documentId}`,
|
|
36
44
|
method: "DELETE",
|
|
45
|
+
params: options?.params,
|
|
46
|
+
headers: options?.headers,
|
|
37
47
|
});
|
|
38
48
|
}
|
|
39
49
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { CompositionClient } from "../../../client.js";
|
|
1
|
+
import { CompositionClient, RequestOptions } from "../../../client.js";
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
import { ZInferenceSettings, ZPatchIterationRequest, ZIterationDocumentStatusResponse, ZProcessIterationRequest, Iteration, RetabParsedChatCompletion } from "../../../types.js";
|
|
4
4
|
export default class APIProjectsIterations extends CompositionClient {
|
|
5
5
|
constructor(client: CompositionClient);
|
|
6
|
-
create(projectId: string, body: z.input<typeof ZInferenceSettings
|
|
7
|
-
update(projectId: string, iterationId: string, body: z.input<typeof ZPatchIterationRequest
|
|
6
|
+
create(projectId: string, body: z.input<typeof ZInferenceSettings>, options?: RequestOptions): Promise<Iteration>;
|
|
7
|
+
update(projectId: string, iterationId: string, body: z.input<typeof ZPatchIterationRequest>, options?: RequestOptions): Promise<Iteration>;
|
|
8
8
|
list(projectId: string, params?: {
|
|
9
9
|
model?: string;
|
|
10
|
-
}): Promise<Iteration[]>;
|
|
11
|
-
get(projectId: string, iterationId: string): Promise<Iteration>;
|
|
12
|
-
delete(projectId: string, iterationId: string): Promise<void>;
|
|
13
|
-
status(projectId: string, iterationId: string): Promise<z.infer<typeof ZIterationDocumentStatusResponse>>;
|
|
14
|
-
process(projectId: string, iterationId: string, body?: z.input<typeof ZProcessIterationRequest
|
|
15
|
-
process_document(projectId: string, iterationId: string, documentId: string): Promise<RetabParsedChatCompletion>;
|
|
10
|
+
}, options?: RequestOptions): Promise<Iteration[]>;
|
|
11
|
+
get(projectId: string, iterationId: string, options?: RequestOptions): Promise<Iteration>;
|
|
12
|
+
delete(projectId: string, iterationId: string, options?: RequestOptions): Promise<void>;
|
|
13
|
+
status(projectId: string, iterationId: string, options?: RequestOptions): Promise<z.infer<typeof ZIterationDocumentStatusResponse>>;
|
|
14
|
+
process(projectId: string, iterationId: string, body?: z.input<typeof ZProcessIterationRequest>, options?: RequestOptions): Promise<Iteration>;
|
|
15
|
+
process_document(projectId: string, iterationId: string, documentId: string, options?: RequestOptions): Promise<RetabParsedChatCompletion>;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/api/projects/iterations/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/api/projects/iterations/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,kBAAkB,EAA2B,sBAAsB,EAAE,gCAAgC,EAAE,wBAAwB,EAAa,SAAS,EAAc,yBAAyB,EAA8B,MAAM,mBAAmB,CAAC;AAE7P,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,iBAAiB;gBACpD,MAAM,EAAE,iBAAiB;IAG/B,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;IAcjH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;IAU1I,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IASpG,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;IASzF,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IASvF,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;IASnI,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;IAU9I,gBAAgB,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,yBAAyB,CAAC;CASnJ"}
|
|
@@ -4,7 +4,7 @@ export default class APIProjectsIterations extends CompositionClient {
|
|
|
4
4
|
constructor(client) {
|
|
5
5
|
super(client);
|
|
6
6
|
}
|
|
7
|
-
async create(projectId, body) {
|
|
7
|
+
async create(projectId, body, options) {
|
|
8
8
|
// Wrap the inference settings in the expected structure
|
|
9
9
|
const createRequest = {
|
|
10
10
|
inference_settings: body
|
|
@@ -12,53 +12,68 @@ export default class APIProjectsIterations extends CompositionClient {
|
|
|
12
12
|
return this._fetchJson(ZIteration, {
|
|
13
13
|
url: `/v1/projects/${projectId}/iterations`,
|
|
14
14
|
method: "POST",
|
|
15
|
-
body: await ZCreateIterationRequest.parseAsync(createRequest),
|
|
15
|
+
body: { ...(await ZCreateIterationRequest.parseAsync(createRequest)), ...(options?.body || {}) },
|
|
16
|
+
params: options?.params,
|
|
17
|
+
headers: options?.headers,
|
|
16
18
|
});
|
|
17
19
|
}
|
|
18
|
-
async update(projectId, iterationId, body) {
|
|
20
|
+
async update(projectId, iterationId, body, options) {
|
|
19
21
|
return this._fetchJson(ZIteration, {
|
|
20
22
|
url: `/v1/projects/${projectId}/iterations/${iterationId}`,
|
|
21
23
|
method: "PATCH",
|
|
22
|
-
body: await ZPatchIterationRequest.parseAsync(body),
|
|
24
|
+
body: { ...(await ZPatchIterationRequest.parseAsync(body)), ...(options?.body || {}) },
|
|
25
|
+
params: options?.params,
|
|
26
|
+
headers: options?.headers,
|
|
23
27
|
});
|
|
24
28
|
}
|
|
25
|
-
async list(projectId, params) {
|
|
29
|
+
async list(projectId, params, options) {
|
|
26
30
|
return this._fetchJson(dataArray(ZIteration), {
|
|
27
31
|
url: `/v1/projects/${projectId}/iterations`,
|
|
28
32
|
method: "GET",
|
|
29
|
-
params: params,
|
|
33
|
+
params: { ...(params || {}), ...(options?.params || {}) },
|
|
34
|
+
headers: options?.headers,
|
|
30
35
|
});
|
|
31
36
|
}
|
|
32
|
-
async get(projectId, iterationId) {
|
|
37
|
+
async get(projectId, iterationId, options) {
|
|
33
38
|
return this._fetchJson(ZIteration, {
|
|
34
39
|
url: `/v1/projects/${projectId}/iterations/${iterationId}`,
|
|
35
40
|
method: "GET",
|
|
41
|
+
params: options?.params,
|
|
42
|
+
headers: options?.headers,
|
|
36
43
|
});
|
|
37
44
|
}
|
|
38
|
-
async delete(projectId, iterationId) {
|
|
45
|
+
async delete(projectId, iterationId, options) {
|
|
39
46
|
return this._fetchJson({
|
|
40
47
|
url: `/v1/projects/${projectId}/iterations/${iterationId}`,
|
|
41
48
|
method: "DELETE",
|
|
49
|
+
params: options?.params,
|
|
50
|
+
headers: options?.headers,
|
|
42
51
|
});
|
|
43
52
|
}
|
|
44
|
-
async status(projectId, iterationId) {
|
|
53
|
+
async status(projectId, iterationId, options) {
|
|
45
54
|
return this._fetchJson(ZIterationDocumentStatusResponse, {
|
|
46
55
|
url: `/v1/projects/${projectId}/iterations/${iterationId}/status`,
|
|
47
56
|
method: "GET",
|
|
57
|
+
params: options?.params,
|
|
58
|
+
headers: options?.headers,
|
|
48
59
|
});
|
|
49
60
|
}
|
|
50
|
-
async process(projectId, iterationId, body) {
|
|
61
|
+
async process(projectId, iterationId, body, options) {
|
|
51
62
|
return this._fetchJson(ZIteration, {
|
|
52
63
|
url: `/v1/projects/${projectId}/iterations/${iterationId}/process`,
|
|
53
64
|
method: "POST",
|
|
54
|
-
body: body ? await ZProcessIterationRequest.parseAsync(body) : {},
|
|
65
|
+
body: { ...(body ? await ZProcessIterationRequest.parseAsync(body) : {}), ...(options?.body || {}) },
|
|
66
|
+
params: options?.params,
|
|
67
|
+
headers: options?.headers,
|
|
55
68
|
});
|
|
56
69
|
}
|
|
57
|
-
async process_document(projectId, iterationId, documentId) {
|
|
70
|
+
async process_document(projectId, iterationId, documentId, options) {
|
|
58
71
|
return this._fetchJson(ZRetabParsedChatCompletion, {
|
|
59
72
|
url: `/v1/projects/${projectId}/iterations/${iterationId}/documents/${documentId}/process`,
|
|
60
73
|
method: "POST",
|
|
61
|
-
body: { stream: false },
|
|
74
|
+
body: { stream: false, ...(options?.body || {}) },
|
|
75
|
+
params: options?.params,
|
|
76
|
+
headers: options?.headers,
|
|
62
77
|
});
|
|
63
78
|
}
|
|
64
79
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CompositionClient } from "../../client.js";
|
|
1
|
+
import { CompositionClient, RequestOptions } from "../../client.js";
|
|
2
2
|
import { GenerateSchemaRequest } from "../../types.js";
|
|
3
3
|
export default class APISchemas extends CompositionClient {
|
|
4
4
|
constructor(client: CompositionClient);
|
|
5
|
-
generate(params: GenerateSchemaRequest): Promise<{
|
|
5
|
+
generate(params: GenerateSchemaRequest, options?: RequestOptions): Promise<{
|
|
6
6
|
object: "schema";
|
|
7
7
|
strict: boolean;
|
|
8
8
|
json_schema: Record<string, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/api/schemas/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/api/schemas/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAmC,MAAM,gBAAgB,CAAC;AAExF,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,iBAAiB;gBACzC,MAAM,EAAE,iBAAiB;IAI/B,QAAQ,CAAC,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc;;;;;;CASzE"}
|
|
@@ -4,11 +4,13 @@ export default class APISchemas extends CompositionClient {
|
|
|
4
4
|
constructor(client) {
|
|
5
5
|
super(client);
|
|
6
6
|
}
|
|
7
|
-
async generate(params) {
|
|
7
|
+
async generate(params, options) {
|
|
8
8
|
return this._fetchJson(ZSchema, {
|
|
9
9
|
url: "/v1/schemas/generate",
|
|
10
10
|
method: "POST",
|
|
11
|
-
body: await ZGenerateSchemaRequest.parseAsync(params),
|
|
11
|
+
body: { ...(await ZGenerateSchemaRequest.parseAsync(params)), ...(options?.body || {}) },
|
|
12
|
+
params: options?.params,
|
|
13
|
+
headers: options?.headers,
|
|
12
14
|
});
|
|
13
15
|
}
|
|
14
16
|
}
|
package/dist/client.d.ts
CHANGED
|
@@ -31,6 +31,11 @@ type AuthTypes = {
|
|
|
31
31
|
export type ClientOptions = {
|
|
32
32
|
baseUrl?: string;
|
|
33
33
|
} & AuthTypes;
|
|
34
|
+
export type RequestOptions = {
|
|
35
|
+
params?: Record<string, any>;
|
|
36
|
+
headers?: Record<string, any>;
|
|
37
|
+
body?: Record<string, any>;
|
|
38
|
+
};
|
|
34
39
|
export declare class FetcherClient extends AbstractClient {
|
|
35
40
|
options: ClientOptions;
|
|
36
41
|
constructor(options?: ClientOptions);
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],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