vellum-ai 0.0.27 → 0.0.29
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/Client.js +1 -1
- package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
- package/api/resources/documents/client/Client.d.ts +0 -11
- package/api/resources/documents/client/Client.js +0 -58
- package/api/resources/documents/client/requests/index.d.ts +0 -1
- package/api/types/ProcessingFailureReasonEnum.d.ts +9 -1
- package/api/types/ProcessingFailureReasonEnum.js +5 -0
- package/api/types/SlimDocument.d.ts +1 -0
- package/api/types/WorkflowExecutionEventType.d.ts +12 -0
- package/api/types/{SetDocumentMetadataResponse.js → WorkflowExecutionEventType.js} +5 -0
- package/api/types/WorkflowExecutionNodeResultEvent.d.ts +2 -1
- package/api/types/WorkflowExecutionWorkflowResultEvent.d.ts +2 -1
- package/api/types/index.d.ts +1 -2
- package/api/types/index.js +1 -2
- package/dist/Client.js +1 -1
- package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
- package/dist/api/resources/documents/client/Client.d.ts +0 -11
- package/dist/api/resources/documents/client/Client.js +0 -58
- package/dist/api/resources/documents/client/requests/index.d.ts +0 -1
- package/dist/api/types/ProcessingFailureReasonEnum.d.ts +9 -1
- package/dist/api/types/ProcessingFailureReasonEnum.js +5 -0
- package/dist/api/types/SlimDocument.d.ts +1 -0
- package/dist/api/types/WorkflowExecutionEventType.d.ts +12 -0
- package/{api/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js → dist/api/types/WorkflowExecutionEventType.js} +5 -0
- package/dist/api/types/WorkflowExecutionNodeResultEvent.d.ts +2 -1
- package/dist/api/types/WorkflowExecutionWorkflowResultEvent.d.ts +2 -1
- package/dist/api/types/index.d.ts +1 -2
- package/dist/api/types/index.js +1 -2
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -0
- package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +3 -0
- package/dist/serialization/resources/index.d.ts +0 -2
- package/dist/serialization/resources/index.js +1 -3
- package/dist/serialization/types/ProcessingFailureReasonEnum.d.ts +1 -1
- package/dist/serialization/types/ProcessingFailureReasonEnum.js +1 -1
- package/dist/serialization/types/WorkflowExecutionEventType.d.ts +10 -0
- package/{serialization/types/SetDocumentMetadataErrorResponse.js → dist/serialization/types/WorkflowExecutionEventType.js} +2 -4
- package/dist/serialization/types/WorkflowExecutionNodeResultEvent.d.ts +2 -1
- package/dist/serialization/types/WorkflowExecutionNodeResultEvent.js +2 -1
- package/dist/serialization/types/WorkflowExecutionWorkflowResultEvent.d.ts +2 -1
- package/dist/serialization/types/WorkflowExecutionWorkflowResultEvent.js +2 -1
- package/dist/serialization/types/index.d.ts +1 -2
- package/dist/serialization/types/index.js +1 -2
- package/package.json +1 -1
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -0
- package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +3 -0
- package/serialization/resources/index.d.ts +0 -2
- package/serialization/resources/index.js +1 -3
- package/serialization/types/ProcessingFailureReasonEnum.d.ts +1 -1
- package/serialization/types/ProcessingFailureReasonEnum.js +1 -1
- package/serialization/types/WorkflowExecutionEventType.d.ts +10 -0
- package/{dist/serialization/types/SetDocumentMetadataErrorResponse.js → serialization/types/WorkflowExecutionEventType.js} +2 -4
- package/serialization/types/WorkflowExecutionNodeResultEvent.d.ts +2 -1
- package/serialization/types/WorkflowExecutionNodeResultEvent.js +2 -1
- package/serialization/types/WorkflowExecutionWorkflowResultEvent.d.ts +2 -1
- package/serialization/types/WorkflowExecutionWorkflowResultEvent.js +2 -1
- package/serialization/types/index.d.ts +1 -2
- package/serialization/types/index.js +1 -2
- package/api/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts +0 -11
- package/api/types/SetDocumentMetadataErrorResponse.d.ts +0 -6
- package/api/types/SetDocumentMetadataErrorResponse.js +0 -5
- package/api/types/SetDocumentMetadataResponse.d.ts +0 -7
- package/dist/api/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts +0 -11
- package/dist/api/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js +0 -5
- package/dist/api/types/SetDocumentMetadataErrorResponse.d.ts +0 -6
- package/dist/api/types/SetDocumentMetadataErrorResponse.js +0 -5
- package/dist/api/types/SetDocumentMetadataResponse.d.ts +0 -7
- package/dist/api/types/SetDocumentMetadataResponse.js +0 -5
- package/dist/serialization/resources/documents/client/index.d.ts +0 -1
- package/dist/serialization/resources/documents/client/index.js +0 -17
- package/dist/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts +0 -14
- package/dist/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js +0 -35
- package/dist/serialization/resources/documents/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/documents/client/requests/index.js +0 -5
- package/dist/serialization/resources/documents/index.d.ts +0 -1
- package/dist/serialization/resources/documents/index.js +0 -17
- package/dist/serialization/types/SetDocumentMetadataErrorResponse.d.ts +0 -12
- package/dist/serialization/types/SetDocumentMetadataResponse.d.ts +0 -12
- package/dist/serialization/types/SetDocumentMetadataResponse.js +0 -33
- package/serialization/resources/documents/client/index.d.ts +0 -1
- package/serialization/resources/documents/client/index.js +0 -17
- package/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts +0 -14
- package/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js +0 -35
- package/serialization/resources/documents/client/requests/index.d.ts +0 -1
- package/serialization/resources/documents/client/requests/index.js +0 -5
- package/serialization/resources/documents/index.d.ts +0 -1
- package/serialization/resources/documents/index.js +0 -17
- package/serialization/types/SetDocumentMetadataErrorResponse.d.ts +0 -12
- package/serialization/types/SetDocumentMetadataResponse.d.ts +0 -12
- package/serialization/types/SetDocumentMetadataResponse.js +0 -33
|
@@ -34,4 +34,7 @@ exports.ExecuteWorkflowStreamRequest = core.serialization.object({
|
|
|
34
34
|
releaseTag: core.serialization.property("release_tag", core.serialization.string().optional()),
|
|
35
35
|
inputs: core.serialization.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../..")))).WorkflowRequestInputRequest)),
|
|
36
36
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
37
|
+
eventTypes: core.serialization.property("event_types", core.serialization
|
|
38
|
+
.list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../..")))).WorkflowExecutionEventType))
|
|
39
|
+
.optional()),
|
|
37
40
|
});
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export * as documentIndexes from "./documentIndexes";
|
|
2
2
|
export * from "./documentIndexes/client/requests";
|
|
3
|
-
export * as documents from "./documents";
|
|
4
|
-
export * from "./documents/client/requests";
|
|
5
3
|
export * as modelVersions from "./modelVersions";
|
|
6
4
|
export * from "./modelVersions/client/requests";
|
|
7
5
|
export * as registeredPrompts from "./registeredPrompts";
|
|
@@ -26,11 +26,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.testSuites = exports.sandboxes = exports.registeredPrompts = exports.modelVersions = exports.
|
|
29
|
+
exports.testSuites = exports.sandboxes = exports.registeredPrompts = exports.modelVersions = exports.documentIndexes = void 0;
|
|
30
30
|
exports.documentIndexes = __importStar(require("./documentIndexes"));
|
|
31
31
|
__exportStar(require("./documentIndexes/client/requests"), exports);
|
|
32
|
-
exports.documents = __importStar(require("./documents"));
|
|
33
|
-
__exportStar(require("./documents/client/requests"), exports);
|
|
34
32
|
exports.modelVersions = __importStar(require("./modelVersions"));
|
|
35
33
|
__exportStar(require("./modelVersions/client/requests"), exports);
|
|
36
34
|
exports.registeredPrompts = __importStar(require("./registeredPrompts"));
|
|
@@ -6,5 +6,5 @@ import * as Vellum from "../../api";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ProcessingFailureReasonEnum: core.serialization.Schema<serializers.ProcessingFailureReasonEnum.Raw, Vellum.ProcessingFailureReasonEnum>;
|
|
8
8
|
export declare namespace ProcessingFailureReasonEnum {
|
|
9
|
-
type Raw = "EXCEEDED_CHARACTER_LIMIT";
|
|
9
|
+
type Raw = "EXCEEDED_CHARACTER_LIMIT" | "INVALID_FILE";
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ProcessingFailureReasonEnum = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.ProcessingFailureReasonEnum = core.serialization.
|
|
31
|
+
exports.ProcessingFailureReasonEnum = core.serialization.enum_(["EXCEEDED_CHARACTER_LIMIT", "INVALID_FILE"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "..";
|
|
5
|
+
import * as Vellum from "../../api";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WorkflowExecutionEventType: core.serialization.Schema<serializers.WorkflowExecutionEventType.Raw, Vellum.WorkflowExecutionEventType>;
|
|
8
|
+
export declare namespace WorkflowExecutionEventType {
|
|
9
|
+
type Raw = "NODE" | "WORKFLOW";
|
|
10
|
+
}
|
|
@@ -26,8 +26,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.WorkflowExecutionEventType = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
detail: core.serialization.string(),
|
|
33
|
-
});
|
|
31
|
+
exports.WorkflowExecutionEventType = core.serialization.enum_(["NODE", "WORKFLOW"]);
|
|
@@ -7,7 +7,8 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const WorkflowExecutionNodeResultEvent: core.serialization.ObjectSchema<serializers.WorkflowExecutionNodeResultEvent.Raw, Vellum.WorkflowExecutionNodeResultEvent>;
|
|
8
8
|
export declare namespace WorkflowExecutionNodeResultEvent {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
execution_id: string;
|
|
11
|
+
run_id?: string | null;
|
|
11
12
|
external_id?: string | null;
|
|
12
13
|
data: serializers.WorkflowNodeResultEvent.Raw;
|
|
13
14
|
}
|
|
@@ -29,7 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.WorkflowExecutionNodeResultEvent = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.WorkflowExecutionNodeResultEvent = core.serialization.object({
|
|
32
|
-
|
|
32
|
+
executionId: core.serialization.property("execution_id", core.serialization.string()),
|
|
33
|
+
runId: core.serialization.property("run_id", core.serialization.string().optional()),
|
|
33
34
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
34
35
|
data: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).WorkflowNodeResultEvent),
|
|
35
36
|
});
|
|
@@ -7,7 +7,8 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const WorkflowExecutionWorkflowResultEvent: core.serialization.ObjectSchema<serializers.WorkflowExecutionWorkflowResultEvent.Raw, Vellum.WorkflowExecutionWorkflowResultEvent>;
|
|
8
8
|
export declare namespace WorkflowExecutionWorkflowResultEvent {
|
|
9
9
|
interface Raw {
|
|
10
|
-
|
|
10
|
+
execution_id: string;
|
|
11
|
+
run_id?: string | null;
|
|
11
12
|
external_id?: string | null;
|
|
12
13
|
data: serializers.WorkflowResultEvent.Raw;
|
|
13
14
|
}
|
|
@@ -29,7 +29,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.WorkflowExecutionWorkflowResultEvent = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.WorkflowExecutionWorkflowResultEvent = core.serialization.object({
|
|
32
|
-
|
|
32
|
+
executionId: core.serialization.property("execution_id", core.serialization.string()),
|
|
33
|
+
runId: core.serialization.property("run_id", core.serialization.string().optional()),
|
|
33
34
|
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
34
35
|
data: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).WorkflowResultEvent),
|
|
35
36
|
});
|
|
@@ -86,8 +86,6 @@ export * from "./SearchResponse";
|
|
|
86
86
|
export * from "./SearchResult";
|
|
87
87
|
export * from "./SearchResultMergingRequest";
|
|
88
88
|
export * from "./SearchWeightsRequest";
|
|
89
|
-
export * from "./SetDocumentMetadataErrorResponse";
|
|
90
|
-
export * from "./SetDocumentMetadataResponse";
|
|
91
89
|
export * from "./SlimDocument";
|
|
92
90
|
export * from "./SlimDocumentStatusEnum";
|
|
93
91
|
export * from "./SubmitCompletionActualRequest";
|
|
@@ -103,6 +101,7 @@ export * from "./UploadDocumentErrorResponse";
|
|
|
103
101
|
export * from "./UploadDocumentResponse";
|
|
104
102
|
export * from "./WorkflowEventError";
|
|
105
103
|
export * from "./WorkflowExecutionEventErrorCode";
|
|
104
|
+
export * from "./WorkflowExecutionEventType";
|
|
106
105
|
export * from "./WorkflowExecutionNodeResultEvent";
|
|
107
106
|
export * from "./WorkflowExecutionWorkflowResultEvent";
|
|
108
107
|
export * from "./WorkflowNodeResultData";
|
|
@@ -102,8 +102,6 @@ __exportStar(require("./SearchResponse"), exports);
|
|
|
102
102
|
__exportStar(require("./SearchResult"), exports);
|
|
103
103
|
__exportStar(require("./SearchResultMergingRequest"), exports);
|
|
104
104
|
__exportStar(require("./SearchWeightsRequest"), exports);
|
|
105
|
-
__exportStar(require("./SetDocumentMetadataErrorResponse"), exports);
|
|
106
|
-
__exportStar(require("./SetDocumentMetadataResponse"), exports);
|
|
107
105
|
__exportStar(require("./SlimDocument"), exports);
|
|
108
106
|
__exportStar(require("./SlimDocumentStatusEnum"), exports);
|
|
109
107
|
__exportStar(require("./SubmitCompletionActualRequest"), exports);
|
|
@@ -119,6 +117,7 @@ __exportStar(require("./UploadDocumentErrorResponse"), exports);
|
|
|
119
117
|
__exportStar(require("./UploadDocumentResponse"), exports);
|
|
120
118
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
121
119
|
__exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
|
|
120
|
+
__exportStar(require("./WorkflowExecutionEventType"), exports);
|
|
122
121
|
__exportStar(require("./WorkflowExecutionNodeResultEvent"), exports);
|
|
123
122
|
__exportStar(require("./WorkflowExecutionWorkflowResultEvent"), exports);
|
|
124
123
|
__exportStar(require("./WorkflowNodeResultData"), exports);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface SetDocumentMetadataRequestBodyRequest {
|
|
5
|
-
/** The ID of the document to update. Must provide either this or `external_id` */
|
|
6
|
-
documentId?: string;
|
|
7
|
-
/** The external ID of the document to update. Must provide either this or `document_id` */
|
|
8
|
-
externalId?: string;
|
|
9
|
-
/** The metadata to set on the document. This will overwrite any existing metadata. */
|
|
10
|
-
metadata: Record<string, unknown>;
|
|
11
|
-
}
|
package/dist/api/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface SetDocumentMetadataRequestBodyRequest {
|
|
5
|
-
/** The ID of the document to update. Must provide either this or `external_id` */
|
|
6
|
-
documentId?: string;
|
|
7
|
-
/** The external ID of the document to update. Must provide either this or `document_id` */
|
|
8
|
-
externalId?: string;
|
|
9
|
-
/** The metadata to set on the document. This will overwrite any existing metadata. */
|
|
10
|
-
metadata: Record<string, unknown>;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./requests";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./requests"), exports);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../..";
|
|
5
|
-
import * as Vellum from "../../../../../api";
|
|
6
|
-
import * as core from "../../../../../core";
|
|
7
|
-
export declare const SetDocumentMetadataRequestBodyRequest: core.serialization.Schema<serializers.SetDocumentMetadataRequestBodyRequest.Raw, Vellum.SetDocumentMetadataRequestBodyRequest>;
|
|
8
|
-
export declare namespace SetDocumentMetadataRequestBodyRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
document_id?: string | null;
|
|
11
|
-
external_id?: string | null;
|
|
12
|
-
metadata: Record<string, unknown>;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.SetDocumentMetadataRequestBodyRequest = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../core"));
|
|
31
|
-
exports.SetDocumentMetadataRequestBodyRequest = core.serialization.object({
|
|
32
|
-
documentId: core.serialization.property("document_id", core.serialization.string().optional()),
|
|
33
|
-
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
34
|
-
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
35
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SetDocumentMetadataRequestBodyRequest } from "./SetDocumentMetadataRequestBodyRequest";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SetDocumentMetadataRequestBodyRequest = void 0;
|
|
4
|
-
var SetDocumentMetadataRequestBodyRequest_1 = require("./SetDocumentMetadataRequestBodyRequest");
|
|
5
|
-
Object.defineProperty(exports, "SetDocumentMetadataRequestBodyRequest", { enumerable: true, get: function () { return SetDocumentMetadataRequestBodyRequest_1.SetDocumentMetadataRequestBodyRequest; } });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./client"), exports);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const SetDocumentMetadataErrorResponse: core.serialization.ObjectSchema<serializers.SetDocumentMetadataErrorResponse.Raw, Vellum.SetDocumentMetadataErrorResponse>;
|
|
8
|
-
export declare namespace SetDocumentMetadataErrorResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
detail: string;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const SetDocumentMetadataResponse: core.serialization.ObjectSchema<serializers.SetDocumentMetadataResponse.Raw, Vellum.SetDocumentMetadataResponse>;
|
|
8
|
-
export declare namespace SetDocumentMetadataResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
document_id: string;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.SetDocumentMetadataResponse = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.SetDocumentMetadataResponse = core.serialization.object({
|
|
32
|
-
documentId: core.serialization.property("document_id", core.serialization.string()),
|
|
33
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./requests";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./requests"), exports);
|
package/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../..";
|
|
5
|
-
import * as Vellum from "../../../../../api";
|
|
6
|
-
import * as core from "../../../../../core";
|
|
7
|
-
export declare const SetDocumentMetadataRequestBodyRequest: core.serialization.Schema<serializers.SetDocumentMetadataRequestBodyRequest.Raw, Vellum.SetDocumentMetadataRequestBodyRequest>;
|
|
8
|
-
export declare namespace SetDocumentMetadataRequestBodyRequest {
|
|
9
|
-
interface Raw {
|
|
10
|
-
document_id?: string | null;
|
|
11
|
-
external_id?: string | null;
|
|
12
|
-
metadata: Record<string, unknown>;
|
|
13
|
-
}
|
|
14
|
-
}
|
package/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.SetDocumentMetadataRequestBodyRequest = void 0;
|
|
30
|
-
const core = __importStar(require("../../../../../core"));
|
|
31
|
-
exports.SetDocumentMetadataRequestBodyRequest = core.serialization.object({
|
|
32
|
-
documentId: core.serialization.property("document_id", core.serialization.string().optional()),
|
|
33
|
-
externalId: core.serialization.property("external_id", core.serialization.string().optional()),
|
|
34
|
-
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
35
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SetDocumentMetadataRequestBodyRequest } from "./SetDocumentMetadataRequestBodyRequest";
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SetDocumentMetadataRequestBodyRequest = void 0;
|
|
4
|
-
var SetDocumentMetadataRequestBodyRequest_1 = require("./SetDocumentMetadataRequestBodyRequest");
|
|
5
|
-
Object.defineProperty(exports, "SetDocumentMetadataRequestBodyRequest", { enumerable: true, get: function () { return SetDocumentMetadataRequestBodyRequest_1.SetDocumentMetadataRequestBodyRequest; } });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./client"), exports);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const SetDocumentMetadataErrorResponse: core.serialization.ObjectSchema<serializers.SetDocumentMetadataErrorResponse.Raw, Vellum.SetDocumentMetadataErrorResponse>;
|
|
8
|
-
export declare namespace SetDocumentMetadataErrorResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
detail: string;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "..";
|
|
5
|
-
import * as Vellum from "../../api";
|
|
6
|
-
import * as core from "../../core";
|
|
7
|
-
export declare const SetDocumentMetadataResponse: core.serialization.ObjectSchema<serializers.SetDocumentMetadataResponse.Raw, Vellum.SetDocumentMetadataResponse>;
|
|
8
|
-
export declare namespace SetDocumentMetadataResponse {
|
|
9
|
-
interface Raw {
|
|
10
|
-
document_id: string;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.SetDocumentMetadataResponse = void 0;
|
|
30
|
-
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.SetDocumentMetadataResponse = core.serialization.object({
|
|
32
|
-
documentId: core.serialization.property("document_id", core.serialization.string()),
|
|
33
|
-
});
|