vellum-ai 0.14.31 → 0.14.33
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.d.ts +3 -0
- package/Client.js +24 -19
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +7 -7
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documents/client/Client.js +5 -5
- package/api/resources/folderEntities/client/Client.js +2 -2
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/prompts/client/Client.js +1 -1
- package/api/resources/releaseReviews/client/Client.d.ts +42 -0
- package/api/resources/releaseReviews/client/Client.js +121 -0
- package/api/resources/releaseReviews/client/index.d.ts +1 -0
- package/api/resources/releaseReviews/client/index.js +2 -0
- package/api/resources/releaseReviews/index.d.ts +1 -0
- package/api/resources/releaseReviews/index.js +17 -0
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +8 -8
- package/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/api/resources/workflows/client/Client.js +2 -2
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/ReleaseCreatedBy.d.ts +8 -0
- package/api/types/ReleaseCreatedBy.js +5 -0
- package/api/types/ReleaseEnvironment.d.ts +8 -0
- package/api/types/ReleaseEnvironment.js +5 -0
- package/api/types/ReleaseReleaseTag.d.ts +15 -0
- package/api/types/ReleaseReleaseTag.js +5 -0
- package/api/types/ReleaseReviewReviewer.d.ts +7 -0
- package/api/types/ReleaseReviewReviewer.js +5 -0
- package/api/types/ReleaseReviewState.d.ts +14 -0
- package/api/types/ReleaseReviewState.js +11 -0
- package/api/types/SlimReleaseReview.d.ts +10 -0
- package/api/types/SlimReleaseReview.js +5 -0
- package/api/types/WorkflowDeploymentRelease.d.ts +14 -0
- package/api/types/WorkflowDeploymentRelease.js +5 -0
- package/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +6 -0
- package/api/types/WorkflowDeploymentReleaseWorkflowVersion.js +5 -0
- package/api/types/index.d.ts +8 -0
- package/api/types/index.js +8 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +24 -19
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +7 -7
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documents/client/Client.js +5 -5
- package/dist/api/resources/folderEntities/client/Client.js +2 -2
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/prompts/client/Client.js +1 -1
- package/dist/api/resources/releaseReviews/client/Client.d.ts +42 -0
- package/dist/api/resources/releaseReviews/client/Client.js +121 -0
- package/dist/api/resources/releaseReviews/client/index.d.ts +1 -0
- package/dist/api/resources/releaseReviews/client/index.js +2 -0
- package/dist/api/resources/releaseReviews/index.d.ts +1 -0
- package/dist/api/resources/releaseReviews/index.js +17 -0
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
- package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
- package/dist/api/resources/workflows/client/Client.js +2 -2
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/ReleaseCreatedBy.d.ts +8 -0
- package/dist/api/types/ReleaseCreatedBy.js +5 -0
- package/dist/api/types/ReleaseEnvironment.d.ts +8 -0
- package/dist/api/types/ReleaseEnvironment.js +5 -0
- package/dist/api/types/ReleaseReleaseTag.d.ts +15 -0
- package/dist/api/types/ReleaseReleaseTag.js +5 -0
- package/dist/api/types/ReleaseReviewReviewer.d.ts +7 -0
- package/dist/api/types/ReleaseReviewReviewer.js +5 -0
- package/dist/api/types/ReleaseReviewState.d.ts +14 -0
- package/dist/api/types/ReleaseReviewState.js +11 -0
- package/dist/api/types/SlimReleaseReview.d.ts +10 -0
- package/dist/api/types/SlimReleaseReview.js +5 -0
- package/dist/api/types/WorkflowDeploymentRelease.d.ts +14 -0
- package/dist/api/types/WorkflowDeploymentRelease.js +5 -0
- package/dist/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +6 -0
- package/dist/api/types/WorkflowDeploymentReleaseWorkflowVersion.js +5 -0
- package/dist/api/types/index.d.ts +8 -0
- package/dist/api/types/index.js +8 -0
- package/dist/serialization/types/ReleaseCreatedBy.d.ts +14 -0
- package/dist/serialization/types/ReleaseCreatedBy.js +45 -0
- package/dist/serialization/types/ReleaseEnvironment.d.ts +14 -0
- package/dist/serialization/types/ReleaseEnvironment.js +45 -0
- package/dist/serialization/types/ReleaseReleaseTag.d.ts +14 -0
- package/dist/serialization/types/ReleaseReleaseTag.js +45 -0
- package/dist/serialization/types/ReleaseReviewReviewer.d.ts +13 -0
- package/dist/serialization/types/ReleaseReviewReviewer.js +44 -0
- package/dist/serialization/types/ReleaseReviewState.d.ts +10 -0
- package/dist/serialization/types/ReleaseReviewState.js +41 -0
- package/dist/serialization/types/SlimReleaseReview.d.ts +17 -0
- package/dist/serialization/types/SlimReleaseReview.js +48 -0
- package/dist/serialization/types/WorkflowDeploymentRelease.d.ts +24 -0
- package/dist/serialization/types/WorkflowDeploymentRelease.js +55 -0
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +12 -0
- package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +43 -0
- package/dist/serialization/types/index.d.ts +8 -0
- package/dist/serialization/types/index.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +73 -0
- package/serialization/types/ReleaseCreatedBy.d.ts +14 -0
- package/serialization/types/ReleaseCreatedBy.js +45 -0
- package/serialization/types/ReleaseEnvironment.d.ts +14 -0
- package/serialization/types/ReleaseEnvironment.js +45 -0
- package/serialization/types/ReleaseReleaseTag.d.ts +14 -0
- package/serialization/types/ReleaseReleaseTag.js +45 -0
- package/serialization/types/ReleaseReviewReviewer.d.ts +13 -0
- package/serialization/types/ReleaseReviewReviewer.js +44 -0
- package/serialization/types/ReleaseReviewState.d.ts +10 -0
- package/serialization/types/ReleaseReviewState.js +41 -0
- package/serialization/types/SlimReleaseReview.d.ts +17 -0
- package/serialization/types/SlimReleaseReview.js +48 -0
- package/serialization/types/WorkflowDeploymentRelease.d.ts +24 -0
- package/serialization/types/WorkflowDeploymentRelease.js +55 -0
- package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +12 -0
- package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +43 -0
- package/serialization/types/index.d.ts +8 -0
- package/serialization/types/index.js +8 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* * `APPROVED` - Approved
|
|
6
|
+
* * `CHANGES_REQUESTED` - Changes Requested
|
|
7
|
+
* * `COMMENTED` - Commented
|
|
8
|
+
*/
|
|
9
|
+
export type ReleaseReviewState = "APPROVED" | "CHANGES_REQUESTED" | "COMMENTED";
|
|
10
|
+
export declare const ReleaseReviewState: {
|
|
11
|
+
readonly Approved: "APPROVED";
|
|
12
|
+
readonly ChangesRequested: "CHANGES_REQUESTED";
|
|
13
|
+
readonly Commented: "COMMENTED";
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ReleaseReviewState = void 0;
|
|
7
|
+
exports.ReleaseReviewState = {
|
|
8
|
+
Approved: "APPROVED",
|
|
9
|
+
ChangesRequested: "CHANGES_REQUESTED",
|
|
10
|
+
Commented: "COMMENTED",
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface SlimReleaseReview {
|
|
6
|
+
id: string;
|
|
7
|
+
created: Date;
|
|
8
|
+
reviewer: Vellum.ReleaseReviewReviewer;
|
|
9
|
+
state: Vellum.ReleaseReviewState;
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Vellum from "../index";
|
|
5
|
+
export interface WorkflowDeploymentRelease {
|
|
6
|
+
id: string;
|
|
7
|
+
created: Date;
|
|
8
|
+
environment: Vellum.ReleaseEnvironment;
|
|
9
|
+
createdBy?: Vellum.ReleaseCreatedBy;
|
|
10
|
+
workflowVersion: Vellum.WorkflowDeploymentReleaseWorkflowVersion;
|
|
11
|
+
description?: string;
|
|
12
|
+
releaseTags: Vellum.ReleaseReleaseTag[];
|
|
13
|
+
reviews: Vellum.SlimReleaseReview[];
|
|
14
|
+
}
|
|
@@ -315,6 +315,11 @@ export * from "./RejectedExecutePromptResponse";
|
|
|
315
315
|
export * from "./RejectedExecuteWorkflowWorkflowResultEvent";
|
|
316
316
|
export * from "./RejectedPromptExecutionMeta";
|
|
317
317
|
export * from "./RejectedWorkflowNodeResultEvent";
|
|
318
|
+
export * from "./ReleaseCreatedBy";
|
|
319
|
+
export * from "./ReleaseEnvironment";
|
|
320
|
+
export * from "./ReleaseReleaseTag";
|
|
321
|
+
export * from "./ReleaseReviewReviewer";
|
|
322
|
+
export * from "./ReleaseReviewState";
|
|
318
323
|
export * from "./ReleaseTagRelease";
|
|
319
324
|
export * from "./ReleaseTagSource";
|
|
320
325
|
export * from "./ReplaceTestSuiteTestCaseRequest";
|
|
@@ -351,6 +356,7 @@ export * from "./SentenceChunkingRequest";
|
|
|
351
356
|
export * from "./SlimDeploymentRead";
|
|
352
357
|
export * from "./SlimDocument";
|
|
353
358
|
export * from "./SlimDocumentDocumentToDocumentIndex";
|
|
359
|
+
export * from "./SlimReleaseReview";
|
|
354
360
|
export * from "./SlimWorkflowDeployment";
|
|
355
361
|
export * from "./SlimWorkflowExecutionRead";
|
|
356
362
|
export * from "./SpanLink";
|
|
@@ -494,6 +500,8 @@ export * from "./WorkflowDeploymentEventExecutionsResponse";
|
|
|
494
500
|
export * from "./WorkflowDeploymentHistoryItem";
|
|
495
501
|
export * from "./WorkflowDeploymentParentContext";
|
|
496
502
|
export * from "./WorkflowDeploymentRead";
|
|
503
|
+
export * from "./WorkflowDeploymentRelease";
|
|
504
|
+
export * from "./WorkflowDeploymentReleaseWorkflowVersion";
|
|
497
505
|
export * from "./WorkflowError";
|
|
498
506
|
export * from "./WorkflowEventDisplayContext";
|
|
499
507
|
export * from "./WorkflowEventError";
|
package/dist/api/types/index.js
CHANGED
|
@@ -331,6 +331,11 @@ __exportStar(require("./RejectedExecutePromptResponse"), exports);
|
|
|
331
331
|
__exportStar(require("./RejectedExecuteWorkflowWorkflowResultEvent"), exports);
|
|
332
332
|
__exportStar(require("./RejectedPromptExecutionMeta"), exports);
|
|
333
333
|
__exportStar(require("./RejectedWorkflowNodeResultEvent"), exports);
|
|
334
|
+
__exportStar(require("./ReleaseCreatedBy"), exports);
|
|
335
|
+
__exportStar(require("./ReleaseEnvironment"), exports);
|
|
336
|
+
__exportStar(require("./ReleaseReleaseTag"), exports);
|
|
337
|
+
__exportStar(require("./ReleaseReviewReviewer"), exports);
|
|
338
|
+
__exportStar(require("./ReleaseReviewState"), exports);
|
|
334
339
|
__exportStar(require("./ReleaseTagRelease"), exports);
|
|
335
340
|
__exportStar(require("./ReleaseTagSource"), exports);
|
|
336
341
|
__exportStar(require("./ReplaceTestSuiteTestCaseRequest"), exports);
|
|
@@ -367,6 +372,7 @@ __exportStar(require("./SentenceChunkingRequest"), exports);
|
|
|
367
372
|
__exportStar(require("./SlimDeploymentRead"), exports);
|
|
368
373
|
__exportStar(require("./SlimDocument"), exports);
|
|
369
374
|
__exportStar(require("./SlimDocumentDocumentToDocumentIndex"), exports);
|
|
375
|
+
__exportStar(require("./SlimReleaseReview"), exports);
|
|
370
376
|
__exportStar(require("./SlimWorkflowDeployment"), exports);
|
|
371
377
|
__exportStar(require("./SlimWorkflowExecutionRead"), exports);
|
|
372
378
|
__exportStar(require("./SpanLink"), exports);
|
|
@@ -510,6 +516,8 @@ __exportStar(require("./WorkflowDeploymentEventExecutionsResponse"), exports);
|
|
|
510
516
|
__exportStar(require("./WorkflowDeploymentHistoryItem"), exports);
|
|
511
517
|
__exportStar(require("./WorkflowDeploymentParentContext"), exports);
|
|
512
518
|
__exportStar(require("./WorkflowDeploymentRead"), exports);
|
|
519
|
+
__exportStar(require("./WorkflowDeploymentRelease"), exports);
|
|
520
|
+
__exportStar(require("./WorkflowDeploymentReleaseWorkflowVersion"), exports);
|
|
513
521
|
__exportStar(require("./WorkflowError"), exports);
|
|
514
522
|
__exportStar(require("./WorkflowEventDisplayContext"), exports);
|
|
515
523
|
__exportStar(require("./WorkflowEventError"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ReleaseCreatedBy: core.serialization.ObjectSchema<serializers.ReleaseCreatedBy.Raw, Vellum.ReleaseCreatedBy>;
|
|
8
|
+
export declare namespace ReleaseCreatedBy {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
full_name?: string | null;
|
|
12
|
+
email: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ReleaseCreatedBy = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ReleaseCreatedBy = core.serialization.object({
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
fullName: core.serialization.property("full_name", core.serialization.string().optional()),
|
|
44
|
+
email: core.serialization.string(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ReleaseEnvironment: core.serialization.ObjectSchema<serializers.ReleaseEnvironment.Raw, Vellum.ReleaseEnvironment>;
|
|
8
|
+
export declare namespace ReleaseEnvironment {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ReleaseEnvironment = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ReleaseEnvironment = core.serialization.object({
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
name: core.serialization.string(),
|
|
44
|
+
label: core.serialization.string(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ReleaseTagSource } from "./ReleaseTagSource";
|
|
8
|
+
export declare const ReleaseReleaseTag: core.serialization.ObjectSchema<serializers.ReleaseReleaseTag.Raw, Vellum.ReleaseReleaseTag>;
|
|
9
|
+
export declare namespace ReleaseReleaseTag {
|
|
10
|
+
interface Raw {
|
|
11
|
+
name: string;
|
|
12
|
+
source: ReleaseTagSource.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ReleaseReleaseTag = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ReleaseTagSource_1 = require("./ReleaseTagSource");
|
|
42
|
+
exports.ReleaseReleaseTag = core.serialization.object({
|
|
43
|
+
name: core.serialization.string(),
|
|
44
|
+
source: ReleaseTagSource_1.ReleaseTagSource,
|
|
45
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ReleaseReviewReviewer: core.serialization.ObjectSchema<serializers.ReleaseReviewReviewer.Raw, Vellum.ReleaseReviewReviewer>;
|
|
8
|
+
export declare namespace ReleaseReviewReviewer {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
full_name?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ReleaseReviewReviewer = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ReleaseReviewReviewer = core.serialization.object({
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
fullName: core.serialization.property("full_name", core.serialization.string().optional()),
|
|
44
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ReleaseReviewState: core.serialization.Schema<serializers.ReleaseReviewState.Raw, Vellum.ReleaseReviewState>;
|
|
8
|
+
export declare namespace ReleaseReviewState {
|
|
9
|
+
type Raw = "APPROVED" | "CHANGES_REQUESTED" | "COMMENTED";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ReleaseReviewState = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ReleaseReviewState = core.serialization.enum_(["APPROVED", "CHANGES_REQUESTED", "COMMENTED"]);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ReleaseReviewReviewer } from "./ReleaseReviewReviewer";
|
|
8
|
+
import { ReleaseReviewState } from "./ReleaseReviewState";
|
|
9
|
+
export declare const SlimReleaseReview: core.serialization.ObjectSchema<serializers.SlimReleaseReview.Raw, Vellum.SlimReleaseReview>;
|
|
10
|
+
export declare namespace SlimReleaseReview {
|
|
11
|
+
interface Raw {
|
|
12
|
+
id: string;
|
|
13
|
+
created: string;
|
|
14
|
+
reviewer: ReleaseReviewReviewer.Raw;
|
|
15
|
+
state: ReleaseReviewState.Raw;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SlimReleaseReview = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ReleaseReviewReviewer_1 = require("./ReleaseReviewReviewer");
|
|
42
|
+
const ReleaseReviewState_1 = require("./ReleaseReviewState");
|
|
43
|
+
exports.SlimReleaseReview = core.serialization.object({
|
|
44
|
+
id: core.serialization.string(),
|
|
45
|
+
created: core.serialization.date(),
|
|
46
|
+
reviewer: ReleaseReviewReviewer_1.ReleaseReviewReviewer,
|
|
47
|
+
state: ReleaseReviewState_1.ReleaseReviewState,
|
|
48
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { ReleaseEnvironment } from "./ReleaseEnvironment";
|
|
8
|
+
import { ReleaseCreatedBy } from "./ReleaseCreatedBy";
|
|
9
|
+
import { WorkflowDeploymentReleaseWorkflowVersion } from "./WorkflowDeploymentReleaseWorkflowVersion";
|
|
10
|
+
import { ReleaseReleaseTag } from "./ReleaseReleaseTag";
|
|
11
|
+
import { SlimReleaseReview } from "./SlimReleaseReview";
|
|
12
|
+
export declare const WorkflowDeploymentRelease: core.serialization.ObjectSchema<serializers.WorkflowDeploymentRelease.Raw, Vellum.WorkflowDeploymentRelease>;
|
|
13
|
+
export declare namespace WorkflowDeploymentRelease {
|
|
14
|
+
interface Raw {
|
|
15
|
+
id: string;
|
|
16
|
+
created: string;
|
|
17
|
+
environment: ReleaseEnvironment.Raw;
|
|
18
|
+
created_by?: ReleaseCreatedBy.Raw | null;
|
|
19
|
+
workflow_version: WorkflowDeploymentReleaseWorkflowVersion.Raw;
|
|
20
|
+
description?: string | null;
|
|
21
|
+
release_tags: ReleaseReleaseTag.Raw[];
|
|
22
|
+
reviews: SlimReleaseReview.Raw[];
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkflowDeploymentRelease = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ReleaseEnvironment_1 = require("./ReleaseEnvironment");
|
|
42
|
+
const ReleaseCreatedBy_1 = require("./ReleaseCreatedBy");
|
|
43
|
+
const WorkflowDeploymentReleaseWorkflowVersion_1 = require("./WorkflowDeploymentReleaseWorkflowVersion");
|
|
44
|
+
const ReleaseReleaseTag_1 = require("./ReleaseReleaseTag");
|
|
45
|
+
const SlimReleaseReview_1 = require("./SlimReleaseReview");
|
|
46
|
+
exports.WorkflowDeploymentRelease = core.serialization.object({
|
|
47
|
+
id: core.serialization.string(),
|
|
48
|
+
created: core.serialization.date(),
|
|
49
|
+
environment: ReleaseEnvironment_1.ReleaseEnvironment,
|
|
50
|
+
createdBy: core.serialization.property("created_by", ReleaseCreatedBy_1.ReleaseCreatedBy.optional()),
|
|
51
|
+
workflowVersion: core.serialization.property("workflow_version", WorkflowDeploymentReleaseWorkflowVersion_1.WorkflowDeploymentReleaseWorkflowVersion),
|
|
52
|
+
description: core.serialization.string().optional(),
|
|
53
|
+
releaseTags: core.serialization.property("release_tags", core.serialization.list(ReleaseReleaseTag_1.ReleaseReleaseTag)),
|
|
54
|
+
reviews: core.serialization.list(SlimReleaseReview_1.SlimReleaseReview),
|
|
55
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Vellum from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const WorkflowDeploymentReleaseWorkflowVersion: core.serialization.ObjectSchema<serializers.WorkflowDeploymentReleaseWorkflowVersion.Raw, Vellum.WorkflowDeploymentReleaseWorkflowVersion>;
|
|
8
|
+
export declare namespace WorkflowDeploymentReleaseWorkflowVersion {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.WorkflowDeploymentReleaseWorkflowVersion = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.WorkflowDeploymentReleaseWorkflowVersion = core.serialization.object({
|
|
42
|
+
id: core.serialization.string(),
|
|
43
|
+
});
|