vellum-ai 0.14.71 → 0.14.73

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.
Files changed (121) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +2 -2
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +8 -8
  5. package/api/resources/documentIndexes/client/Client.js +8 -8
  6. package/api/resources/documents/client/Client.js +5 -5
  7. package/api/resources/folderEntities/client/Client.js +2 -2
  8. package/api/resources/metricDefinitions/client/Client.js +2 -2
  9. package/api/resources/mlModels/client/Client.js +1 -1
  10. package/api/resources/organizations/client/Client.js +1 -1
  11. package/api/resources/prompts/client/Client.js +2 -2
  12. package/api/resources/releaseReviews/client/Client.js +1 -1
  13. package/api/resources/sandboxes/client/Client.js +3 -3
  14. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  15. package/api/resources/testSuites/client/Client.js +4 -4
  16. package/api/resources/workflowDeployments/client/Client.js +8 -8
  17. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  18. package/api/resources/workflows/client/Client.js +2 -2
  19. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  20. package/api/resources/workspaces/client/Client.js +1 -1
  21. package/api/types/BuildStatusEnum.d.ts +18 -0
  22. package/api/types/BuildStatusEnum.js +13 -0
  23. package/api/types/ContainerImageBuildConfig.d.ts +7 -0
  24. package/api/types/ContainerImageBuildConfig.js +5 -0
  25. package/api/types/ContainerImageRead.d.ts +3 -1
  26. package/api/types/DeploymentRead.d.ts +2 -2
  27. package/api/types/ExecuteApiResponse.d.ts +1 -1
  28. package/api/types/FolderEntity.d.ts +1 -1
  29. package/api/types/FolderEntityDataset.d.ts +12 -0
  30. package/api/types/FolderEntityDataset.js +5 -0
  31. package/api/types/FolderEntityDatasetData.d.ts +11 -0
  32. package/api/types/FolderEntityDatasetData.js +5 -0
  33. package/api/types/OrganizationRead.d.ts +1 -1
  34. package/api/types/SlimDeploymentRead.d.ts +2 -2
  35. package/api/types/index.d.ts +4 -0
  36. package/api/types/index.js +4 -0
  37. package/dist/Client.js +11 -11
  38. package/dist/api/resources/adHoc/client/Client.js +2 -2
  39. package/dist/api/resources/containerImages/client/Client.js +4 -4
  40. package/dist/api/resources/deployments/client/Client.js +8 -8
  41. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  42. package/dist/api/resources/documents/client/Client.js +5 -5
  43. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  44. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  45. package/dist/api/resources/mlModels/client/Client.js +1 -1
  46. package/dist/api/resources/organizations/client/Client.js +1 -1
  47. package/dist/api/resources/prompts/client/Client.js +2 -2
  48. package/dist/api/resources/releaseReviews/client/Client.js +1 -1
  49. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  50. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  51. package/dist/api/resources/testSuites/client/Client.js +4 -4
  52. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  53. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  54. package/dist/api/resources/workflows/client/Client.js +2 -2
  55. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  56. package/dist/api/resources/workspaces/client/Client.js +1 -1
  57. package/dist/api/types/BuildStatusEnum.d.ts +18 -0
  58. package/dist/api/types/BuildStatusEnum.js +13 -0
  59. package/dist/api/types/ContainerImageBuildConfig.d.ts +7 -0
  60. package/dist/api/types/ContainerImageBuildConfig.js +5 -0
  61. package/dist/api/types/ContainerImageRead.d.ts +3 -1
  62. package/dist/api/types/DeploymentRead.d.ts +2 -2
  63. package/dist/api/types/ExecuteApiResponse.d.ts +1 -1
  64. package/dist/api/types/FolderEntity.d.ts +1 -1
  65. package/dist/api/types/FolderEntityDataset.d.ts +12 -0
  66. package/dist/api/types/FolderEntityDataset.js +5 -0
  67. package/dist/api/types/FolderEntityDatasetData.d.ts +11 -0
  68. package/dist/api/types/FolderEntityDatasetData.js +5 -0
  69. package/dist/api/types/OrganizationRead.d.ts +1 -1
  70. package/dist/api/types/SlimDeploymentRead.d.ts +2 -2
  71. package/dist/api/types/index.d.ts +4 -0
  72. package/dist/api/types/index.js +4 -0
  73. package/dist/serialization/types/BuildStatusEnum.d.ts +10 -0
  74. package/dist/serialization/types/BuildStatusEnum.js +41 -0
  75. package/dist/serialization/types/ContainerImageBuildConfig.d.ts +13 -0
  76. package/dist/serialization/types/ContainerImageBuildConfig.js +44 -0
  77. package/dist/serialization/types/ContainerImageRead.d.ts +5 -1
  78. package/dist/serialization/types/ContainerImageRead.js +5 -1
  79. package/dist/serialization/types/DeploymentRead.d.ts +2 -2
  80. package/dist/serialization/types/DeploymentRead.js +2 -2
  81. package/dist/serialization/types/ExecuteApiResponse.d.ts +1 -1
  82. package/dist/serialization/types/ExecuteApiResponse.js +1 -1
  83. package/dist/serialization/types/FolderEntity.d.ts +2 -1
  84. package/dist/serialization/types/FolderEntity.js +2 -0
  85. package/dist/serialization/types/FolderEntityDataset.d.ts +15 -0
  86. package/dist/serialization/types/FolderEntityDataset.js +46 -0
  87. package/dist/serialization/types/FolderEntityDatasetData.d.ts +17 -0
  88. package/dist/serialization/types/FolderEntityDatasetData.js +48 -0
  89. package/dist/serialization/types/OrganizationRead.d.ts +1 -1
  90. package/dist/serialization/types/OrganizationRead.js +1 -1
  91. package/dist/serialization/types/SlimDeploymentRead.d.ts +2 -2
  92. package/dist/serialization/types/SlimDeploymentRead.js +2 -2
  93. package/dist/serialization/types/index.d.ts +4 -0
  94. package/dist/serialization/types/index.js +4 -0
  95. package/dist/version.d.ts +1 -1
  96. package/dist/version.js +1 -1
  97. package/package.json +1 -1
  98. package/serialization/types/BuildStatusEnum.d.ts +10 -0
  99. package/serialization/types/BuildStatusEnum.js +41 -0
  100. package/serialization/types/ContainerImageBuildConfig.d.ts +13 -0
  101. package/serialization/types/ContainerImageBuildConfig.js +44 -0
  102. package/serialization/types/ContainerImageRead.d.ts +5 -1
  103. package/serialization/types/ContainerImageRead.js +5 -1
  104. package/serialization/types/DeploymentRead.d.ts +2 -2
  105. package/serialization/types/DeploymentRead.js +2 -2
  106. package/serialization/types/ExecuteApiResponse.d.ts +1 -1
  107. package/serialization/types/ExecuteApiResponse.js +1 -1
  108. package/serialization/types/FolderEntity.d.ts +2 -1
  109. package/serialization/types/FolderEntity.js +2 -0
  110. package/serialization/types/FolderEntityDataset.d.ts +15 -0
  111. package/serialization/types/FolderEntityDataset.js +46 -0
  112. package/serialization/types/FolderEntityDatasetData.d.ts +17 -0
  113. package/serialization/types/FolderEntityDatasetData.js +48 -0
  114. package/serialization/types/OrganizationRead.d.ts +1 -1
  115. package/serialization/types/OrganizationRead.js +1 -1
  116. package/serialization/types/SlimDeploymentRead.d.ts +2 -2
  117. package/serialization/types/SlimDeploymentRead.js +2 -2
  118. package/serialization/types/index.d.ts +4 -0
  119. package/serialization/types/index.js +4 -0
  120. package/version.d.ts +1 -1
  121. package/version.js +1 -1
@@ -77,7 +77,7 @@ class WorkspaceSecrets {
77
77
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
78
78
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
79
79
  method: "GET",
80
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.73", "User-Agent": "vellum-ai/0.14.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
81
  contentType: "application/json",
82
82
  requestType: "json",
83
83
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -139,7 +139,7 @@ class WorkspaceSecrets {
139
139
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
140
140
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
141
141
  method: "PATCH",
142
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
142
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.73", "User-Agent": "vellum-ai/0.14.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
143
143
  contentType: "application/json",
144
144
  requestType: "json",
145
145
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -76,7 +76,7 @@ class Workspaces {
76
76
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
77
77
  .default, "v1/workspaces/identity"),
78
78
  method: "GET",
79
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.71", "User-Agent": "vellum-ai/0.14.71", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.73", "User-Agent": "vellum-ai/0.14.73", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
80
  contentType: "application/json",
81
81
  requestType: "json",
82
82
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * * `QUEUED` - Queued
6
+ * * `BUILDING` - Building
7
+ * * `AVAILABLE` - Available
8
+ * * `FAILED` - Failed
9
+ * * `UNKNOWN` - Unknown
10
+ */
11
+ export type BuildStatusEnum = "QUEUED" | "BUILDING" | "AVAILABLE" | "FAILED" | "UNKNOWN";
12
+ export declare const BuildStatusEnum: {
13
+ readonly Queued: "QUEUED";
14
+ readonly Building: "BUILDING";
15
+ readonly Available: "AVAILABLE";
16
+ readonly Failed: "FAILED";
17
+ readonly Unknown: "UNKNOWN";
18
+ };
@@ -0,0 +1,13 @@
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.BuildStatusEnum = void 0;
7
+ exports.BuildStatusEnum = {
8
+ Queued: "QUEUED",
9
+ Building: "BUILDING",
10
+ Available: "AVAILABLE",
11
+ Failed: "FAILED",
12
+ Unknown: "UNKNOWN",
13
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export interface ContainerImageBuildConfig {
6
+ packages: Vellum.CodeExecutionPackage[];
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface ContainerImageRead {
6
- id?: string;
6
+ id: string;
7
7
  name: string;
8
8
  visibility: Vellum.EntityVisibility;
9
9
  created: Date;
@@ -11,4 +11,6 @@ export interface ContainerImageRead {
11
11
  repository: string;
12
12
  sha: string;
13
13
  tags: Vellum.ContainerImageContainerImageTag[];
14
+ buildStatus?: Vellum.BuildStatusEnum | null;
15
+ buildConfig?: Vellum.ContainerImageBuildConfig | null;
14
16
  }
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface DeploymentRead {
6
- id?: string;
7
- created?: Date;
6
+ id: string;
7
+ created: Date;
8
8
  /** A human-readable label for the deployment */
9
9
  label: string;
10
10
  /** A name that uniquely identifies this deployment within its workspace */
@@ -5,6 +5,6 @@ import * as Vellum from "../index";
5
5
  export interface ExecuteApiResponse {
6
6
  statusCode: number;
7
7
  text: string;
8
- json: Vellum.ExecuteApiResponseJson;
8
+ json?: Vellum.ExecuteApiResponseJson | null;
9
9
  headers: Record<string, string>;
10
10
  }
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type FolderEntity = Vellum.FolderEntityFolder | Vellum.FolderEntityPromptSandbox | Vellum.FolderEntityWorkflowSandbox | Vellum.FolderEntityDocumentIndex | Vellum.FolderEntityTestSuite;
5
+ export type FolderEntity = Vellum.FolderEntityFolder | Vellum.FolderEntityPromptSandbox | Vellum.FolderEntityWorkflowSandbox | Vellum.FolderEntityDocumentIndex | Vellum.FolderEntityTestSuite | Vellum.FolderEntityDataset;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A slim representation of a Dataset, as it exists within a Folder.
7
+ */
8
+ export interface FolderEntityDataset {
9
+ id: string;
10
+ type: "DATASET";
11
+ data: Vellum.FolderEntityDatasetData;
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface FolderEntityDatasetData {
5
+ id: string;
6
+ label: string;
7
+ name: string;
8
+ description?: string | null;
9
+ created: Date;
10
+ modified: Date;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface OrganizationRead {
6
- id?: string;
6
+ id: string;
7
7
  name: string;
8
8
  allowStaffAccess?: boolean;
9
9
  newMemberJoinBehavior: Vellum.NewMemberJoinBehaviorEnum;
@@ -3,8 +3,8 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface SlimDeploymentRead {
6
- id?: string;
7
- created?: Date;
6
+ id: string;
7
+ created: Date;
8
8
  /** A human-readable label for the deployment */
9
9
  label: string;
10
10
  /** A name that uniquely identifies this deployment within its workspace */
@@ -31,6 +31,7 @@ export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
31
31
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request";
32
32
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1";
33
33
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request";
34
+ export * from "./BuildStatusEnum";
34
35
  export * from "./ChatHistoryInput";
35
36
  export * from "./ChatHistoryInputRequest";
36
37
  export * from "./ChatHistoryVellumValue";
@@ -63,6 +64,7 @@ export * from "./CompilePromptMeta";
63
64
  export * from "./ConditionCombinator";
64
65
  export * from "./ConditionalNodeResult";
65
66
  export * from "./ConditionalNodeResultData";
67
+ export * from "./ContainerImageBuildConfig";
66
68
  export * from "./ContainerImageContainerImageTag";
67
69
  export * from "./ContainerImageRead";
68
70
  export * from "./CreateTestSuiteTestCaseRequest";
@@ -118,6 +120,8 @@ export * from "./FastEmbedVectorizerBaaiBgeSmallEnV15";
118
120
  export * from "./FastEmbedVectorizerBaaiBgeSmallEnV15Request";
119
121
  export * from "./FinishReasonEnum";
120
122
  export * from "./FolderEntity";
123
+ export * from "./FolderEntityDataset";
124
+ export * from "./FolderEntityDatasetData";
121
125
  export * from "./FolderEntityDocumentIndex";
122
126
  export * from "./FolderEntityDocumentIndexData";
123
127
  export * from "./FolderEntityFolder";
@@ -47,6 +47,7 @@ __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1
47
47
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request"), exports);
48
48
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1"), exports);
49
49
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request"), exports);
50
+ __exportStar(require("./BuildStatusEnum"), exports);
50
51
  __exportStar(require("./ChatHistoryInput"), exports);
51
52
  __exportStar(require("./ChatHistoryInputRequest"), exports);
52
53
  __exportStar(require("./ChatHistoryVellumValue"), exports);
@@ -79,6 +80,7 @@ __exportStar(require("./CompilePromptMeta"), exports);
79
80
  __exportStar(require("./ConditionCombinator"), exports);
80
81
  __exportStar(require("./ConditionalNodeResult"), exports);
81
82
  __exportStar(require("./ConditionalNodeResultData"), exports);
83
+ __exportStar(require("./ContainerImageBuildConfig"), exports);
82
84
  __exportStar(require("./ContainerImageContainerImageTag"), exports);
83
85
  __exportStar(require("./ContainerImageRead"), exports);
84
86
  __exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
@@ -134,6 +136,8 @@ __exportStar(require("./FastEmbedVectorizerBaaiBgeSmallEnV15"), exports);
134
136
  __exportStar(require("./FastEmbedVectorizerBaaiBgeSmallEnV15Request"), exports);
135
137
  __exportStar(require("./FinishReasonEnum"), exports);
136
138
  __exportStar(require("./FolderEntity"), exports);
139
+ __exportStar(require("./FolderEntityDataset"), exports);
140
+ __exportStar(require("./FolderEntityDatasetData"), exports);
137
141
  __exportStar(require("./FolderEntityDocumentIndex"), exports);
138
142
  __exportStar(require("./FolderEntityDocumentIndexData"), exports);
139
143
  __exportStar(require("./FolderEntityFolder"), exports);
@@ -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 BuildStatusEnum: core.serialization.Schema<serializers.BuildStatusEnum.Raw, Vellum.BuildStatusEnum>;
8
+ export declare namespace BuildStatusEnum {
9
+ type Raw = "QUEUED" | "BUILDING" | "AVAILABLE" | "FAILED" | "UNKNOWN";
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.BuildStatusEnum = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.BuildStatusEnum = core.serialization.enum_(["QUEUED", "BUILDING", "AVAILABLE", "FAILED", "UNKNOWN"]);
@@ -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
+ import { CodeExecutionPackage } from "./CodeExecutionPackage";
8
+ export declare const ContainerImageBuildConfig: core.serialization.ObjectSchema<serializers.ContainerImageBuildConfig.Raw, Vellum.ContainerImageBuildConfig>;
9
+ export declare namespace ContainerImageBuildConfig {
10
+ interface Raw {
11
+ packages: CodeExecutionPackage.Raw[];
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.ContainerImageBuildConfig = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const CodeExecutionPackage_1 = require("./CodeExecutionPackage");
42
+ exports.ContainerImageBuildConfig = core.serialization.object({
43
+ packages: core.serialization.list(CodeExecutionPackage_1.CodeExecutionPackage),
44
+ });
@@ -6,10 +6,12 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { EntityVisibility } from "./EntityVisibility";
8
8
  import { ContainerImageContainerImageTag } from "./ContainerImageContainerImageTag";
9
+ import { BuildStatusEnum } from "./BuildStatusEnum";
10
+ import { ContainerImageBuildConfig } from "./ContainerImageBuildConfig";
9
11
  export declare const ContainerImageRead: core.serialization.ObjectSchema<serializers.ContainerImageRead.Raw, Vellum.ContainerImageRead>;
10
12
  export declare namespace ContainerImageRead {
11
13
  interface Raw {
12
- id?: string | null;
14
+ id: string;
13
15
  name: string;
14
16
  visibility: EntityVisibility.Raw;
15
17
  created: string;
@@ -17,5 +19,7 @@ export declare namespace ContainerImageRead {
17
19
  repository: string;
18
20
  sha: string;
19
21
  tags: ContainerImageContainerImageTag.Raw[];
22
+ build_status?: (BuildStatusEnum.Raw | null) | null;
23
+ build_config?: (ContainerImageBuildConfig.Raw | null) | null;
20
24
  }
21
25
  }
@@ -40,8 +40,10 @@ exports.ContainerImageRead = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const EntityVisibility_1 = require("./EntityVisibility");
42
42
  const ContainerImageContainerImageTag_1 = require("./ContainerImageContainerImageTag");
43
+ const BuildStatusEnum_1 = require("./BuildStatusEnum");
44
+ const ContainerImageBuildConfig_1 = require("./ContainerImageBuildConfig");
43
45
  exports.ContainerImageRead = core.serialization.object({
44
- id: core.serialization.string().optional(),
46
+ id: core.serialization.string(),
45
47
  name: core.serialization.string(),
46
48
  visibility: EntityVisibility_1.EntityVisibility,
47
49
  created: core.serialization.date(),
@@ -49,4 +51,6 @@ exports.ContainerImageRead = core.serialization.object({
49
51
  repository: core.serialization.string(),
50
52
  sha: core.serialization.string(),
51
53
  tags: core.serialization.list(ContainerImageContainerImageTag_1.ContainerImageContainerImageTag),
54
+ buildStatus: core.serialization.property("build_status", BuildStatusEnum_1.BuildStatusEnum.optionalNullable()),
55
+ buildConfig: core.serialization.property("build_config", ContainerImageBuildConfig_1.ContainerImageBuildConfig.optionalNullable()),
52
56
  });
@@ -10,8 +10,8 @@ import { VellumVariable } from "./VellumVariable";
10
10
  export declare const DeploymentRead: core.serialization.ObjectSchema<serializers.DeploymentRead.Raw, Vellum.DeploymentRead>;
11
11
  export declare namespace DeploymentRead {
12
12
  interface Raw {
13
- id?: string | null;
14
- created?: string | null;
13
+ id: string;
14
+ created: string;
15
15
  label: string;
16
16
  name: string;
17
17
  status?: EntityStatus.Raw | null;
@@ -42,8 +42,8 @@ const EntityStatus_1 = require("./EntityStatus");
42
42
  const EnvironmentEnum_1 = require("./EnvironmentEnum");
43
43
  const VellumVariable_1 = require("./VellumVariable");
44
44
  exports.DeploymentRead = core.serialization.object({
45
- id: core.serialization.string().optional(),
46
- created: core.serialization.date().optional(),
45
+ id: core.serialization.string(),
46
+ created: core.serialization.date(),
47
47
  label: core.serialization.string(),
48
48
  name: core.serialization.string(),
49
49
  status: EntityStatus_1.EntityStatus.optional(),
@@ -10,7 +10,7 @@ export declare namespace ExecuteApiResponse {
10
10
  interface Raw {
11
11
  status_code: number;
12
12
  text: string;
13
- json: ExecuteApiResponseJson.Raw;
13
+ json?: (ExecuteApiResponseJson.Raw | null) | null;
14
14
  headers: Record<string, string>;
15
15
  }
16
16
  }
@@ -42,6 +42,6 @@ const ExecuteApiResponseJson_1 = require("./ExecuteApiResponseJson");
42
42
  exports.ExecuteApiResponse = core.serialization.object({
43
43
  statusCode: core.serialization.property("status_code", core.serialization.number()),
44
44
  text: core.serialization.string(),
45
- json: ExecuteApiResponseJson_1.ExecuteApiResponseJson,
45
+ json: ExecuteApiResponseJson_1.ExecuteApiResponseJson.optionalNullable(),
46
46
  headers: core.serialization.record(core.serialization.string(), core.serialization.string()),
47
47
  });
@@ -9,7 +9,8 @@ import { FolderEntityPromptSandbox } from "./FolderEntityPromptSandbox";
9
9
  import { FolderEntityWorkflowSandbox } from "./FolderEntityWorkflowSandbox";
10
10
  import { FolderEntityDocumentIndex } from "./FolderEntityDocumentIndex";
11
11
  import { FolderEntityTestSuite } from "./FolderEntityTestSuite";
12
+ import { FolderEntityDataset } from "./FolderEntityDataset";
12
13
  export declare const FolderEntity: core.serialization.Schema<serializers.FolderEntity.Raw, Vellum.FolderEntity>;
13
14
  export declare namespace FolderEntity {
14
- type Raw = FolderEntityFolder.Raw | FolderEntityPromptSandbox.Raw | FolderEntityWorkflowSandbox.Raw | FolderEntityDocumentIndex.Raw | FolderEntityTestSuite.Raw;
15
+ type Raw = FolderEntityFolder.Raw | FolderEntityPromptSandbox.Raw | FolderEntityWorkflowSandbox.Raw | FolderEntityDocumentIndex.Raw | FolderEntityTestSuite.Raw | FolderEntityDataset.Raw;
15
16
  }
@@ -43,10 +43,12 @@ const FolderEntityPromptSandbox_1 = require("./FolderEntityPromptSandbox");
43
43
  const FolderEntityWorkflowSandbox_1 = require("./FolderEntityWorkflowSandbox");
44
44
  const FolderEntityDocumentIndex_1 = require("./FolderEntityDocumentIndex");
45
45
  const FolderEntityTestSuite_1 = require("./FolderEntityTestSuite");
46
+ const FolderEntityDataset_1 = require("./FolderEntityDataset");
46
47
  exports.FolderEntity = core.serialization.undiscriminatedUnion([
47
48
  FolderEntityFolder_1.FolderEntityFolder,
48
49
  FolderEntityPromptSandbox_1.FolderEntityPromptSandbox,
49
50
  FolderEntityWorkflowSandbox_1.FolderEntityWorkflowSandbox,
50
51
  FolderEntityDocumentIndex_1.FolderEntityDocumentIndex,
51
52
  FolderEntityTestSuite_1.FolderEntityTestSuite,
53
+ FolderEntityDataset_1.FolderEntityDataset,
52
54
  ]);
@@ -0,0 +1,15 @@
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 { FolderEntityDatasetData } from "./FolderEntityDatasetData";
8
+ export declare const FolderEntityDataset: core.serialization.ObjectSchema<serializers.FolderEntityDataset.Raw, Vellum.FolderEntityDataset>;
9
+ export declare namespace FolderEntityDataset {
10
+ interface Raw {
11
+ id: string;
12
+ type: "DATASET";
13
+ data: FolderEntityDatasetData.Raw;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.FolderEntityDataset = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const FolderEntityDatasetData_1 = require("./FolderEntityDatasetData");
42
+ exports.FolderEntityDataset = core.serialization.object({
43
+ id: core.serialization.string(),
44
+ type: core.serialization.stringLiteral("DATASET"),
45
+ data: FolderEntityDatasetData_1.FolderEntityDatasetData,
46
+ });
@@ -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
+ export declare const FolderEntityDatasetData: core.serialization.ObjectSchema<serializers.FolderEntityDatasetData.Raw, Vellum.FolderEntityDatasetData>;
8
+ export declare namespace FolderEntityDatasetData {
9
+ interface Raw {
10
+ id: string;
11
+ label: string;
12
+ name: string;
13
+ description?: (string | null) | null;
14
+ created: string;
15
+ modified: string;
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.FolderEntityDatasetData = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.FolderEntityDatasetData = core.serialization.object({
42
+ id: core.serialization.string(),
43
+ label: core.serialization.string(),
44
+ name: core.serialization.string(),
45
+ description: core.serialization.string().optionalNullable(),
46
+ created: core.serialization.date(),
47
+ modified: core.serialization.date(),
48
+ });
@@ -8,7 +8,7 @@ import { NewMemberJoinBehaviorEnum } from "./NewMemberJoinBehaviorEnum";
8
8
  export declare const OrganizationRead: core.serialization.ObjectSchema<serializers.OrganizationRead.Raw, Vellum.OrganizationRead>;
9
9
  export declare namespace OrganizationRead {
10
10
  interface Raw {
11
- id?: string | null;
11
+ id: string;
12
12
  name: string;
13
13
  allow_staff_access?: boolean | null;
14
14
  new_member_join_behavior: NewMemberJoinBehaviorEnum.Raw;
@@ -40,7 +40,7 @@ exports.OrganizationRead = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const NewMemberJoinBehaviorEnum_1 = require("./NewMemberJoinBehaviorEnum");
42
42
  exports.OrganizationRead = core.serialization.object({
43
- id: core.serialization.string().optional(),
43
+ id: core.serialization.string(),
44
44
  name: core.serialization.string(),
45
45
  allowStaffAccess: core.serialization.property("allow_staff_access", core.serialization.boolean().optional()),
46
46
  newMemberJoinBehavior: core.serialization.property("new_member_join_behavior", NewMemberJoinBehaviorEnum_1.NewMemberJoinBehaviorEnum),
@@ -10,8 +10,8 @@ import { VellumVariable } from "./VellumVariable";
10
10
  export declare const SlimDeploymentRead: core.serialization.ObjectSchema<serializers.SlimDeploymentRead.Raw, Vellum.SlimDeploymentRead>;
11
11
  export declare namespace SlimDeploymentRead {
12
12
  interface Raw {
13
- id?: string | null;
14
- created?: string | null;
13
+ id: string;
14
+ created: string;
15
15
  label: string;
16
16
  name: string;
17
17
  status?: EntityStatus.Raw | null;