vellum-ai 1.7.13 → 1.7.15

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 (128) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +48 -43
  3. package/api/resources/adHoc/client/Client.js +2 -2
  4. package/api/resources/containerImages/client/Client.js +4 -4
  5. package/api/resources/deployments/client/Client.js +8 -8
  6. package/api/resources/documentIndexes/client/Client.js +8 -8
  7. package/api/resources/documents/client/Client.js +5 -5
  8. package/api/resources/environments/client/Client.d.ts +45 -0
  9. package/api/resources/environments/client/Client.js +132 -0
  10. package/api/resources/environments/client/index.d.ts +1 -0
  11. package/api/resources/environments/client/index.js +2 -0
  12. package/api/resources/environments/index.d.ts +1 -0
  13. package/api/resources/environments/index.js +17 -0
  14. package/api/resources/events/client/Client.js +1 -1
  15. package/api/resources/folderEntities/client/Client.js +2 -2
  16. package/api/resources/index.d.ts +1 -0
  17. package/api/resources/index.js +2 -1
  18. package/api/resources/integrationAuthConfigs/client/Client.js +1 -1
  19. package/api/resources/integrationProviders/client/Client.js +2 -2
  20. package/api/resources/integrations/client/Client.js +4 -4
  21. package/api/resources/metricDefinitions/client/Client.js +2 -2
  22. package/api/resources/mlModels/client/Client.js +1 -1
  23. package/api/resources/organizations/client/Client.js +1 -1
  24. package/api/resources/prompts/client/Client.js +2 -2
  25. package/api/resources/sandboxes/client/Client.js +3 -3
  26. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  27. package/api/resources/testSuites/client/Client.js +4 -4
  28. package/api/resources/workflowDeployments/client/Client.js +10 -10
  29. package/api/resources/workflowExecutions/client/Client.js +1 -1
  30. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  31. package/api/resources/workflows/client/Client.js +9 -4
  32. package/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
  33. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  34. package/api/resources/workspaces/client/Client.js +1 -1
  35. package/api/types/DatasetRowPushRequest.d.ts +7 -0
  36. package/api/types/DatasetRowPushRequest.js +5 -0
  37. package/api/types/EnvironmentDisplayConfig.d.ts +6 -0
  38. package/api/types/EnvironmentDisplayConfig.js +5 -0
  39. package/api/types/EnvironmentRead.d.ts +10 -0
  40. package/api/types/EnvironmentRead.js +5 -0
  41. package/api/types/IntegrationName.d.ts +31 -1
  42. package/api/types/IntegrationName.js +15 -0
  43. package/api/types/VellumDocument.d.ts +1 -0
  44. package/api/types/VellumDocumentRequest.d.ts +1 -0
  45. package/api/types/VellumImage.d.ts +1 -0
  46. package/api/types/VellumImageRequest.d.ts +1 -0
  47. package/api/types/WorkflowExecutionFulfilledBody.d.ts +1 -0
  48. package/api/types/index.d.ts +3 -0
  49. package/api/types/index.js +3 -0
  50. package/dist/Client.d.ts +3 -0
  51. package/dist/Client.js +48 -43
  52. package/dist/api/resources/adHoc/client/Client.js +2 -2
  53. package/dist/api/resources/containerImages/client/Client.js +4 -4
  54. package/dist/api/resources/deployments/client/Client.js +8 -8
  55. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  56. package/dist/api/resources/documents/client/Client.js +5 -5
  57. package/dist/api/resources/environments/client/Client.d.ts +45 -0
  58. package/dist/api/resources/environments/client/Client.js +132 -0
  59. package/dist/api/resources/environments/client/index.d.ts +1 -0
  60. package/dist/api/resources/environments/client/index.js +2 -0
  61. package/dist/api/resources/environments/index.d.ts +1 -0
  62. package/dist/api/resources/environments/index.js +17 -0
  63. package/dist/api/resources/events/client/Client.js +1 -1
  64. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  65. package/dist/api/resources/index.d.ts +1 -0
  66. package/dist/api/resources/index.js +2 -1
  67. package/dist/api/resources/integrationAuthConfigs/client/Client.js +1 -1
  68. package/dist/api/resources/integrationProviders/client/Client.js +2 -2
  69. package/dist/api/resources/integrations/client/Client.js +4 -4
  70. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  71. package/dist/api/resources/mlModels/client/Client.js +1 -1
  72. package/dist/api/resources/organizations/client/Client.js +1 -1
  73. package/dist/api/resources/prompts/client/Client.js +2 -2
  74. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  75. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  76. package/dist/api/resources/testSuites/client/Client.js +4 -4
  77. package/dist/api/resources/workflowDeployments/client/Client.js +10 -10
  78. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  79. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  80. package/dist/api/resources/workflows/client/Client.js +9 -4
  81. package/dist/api/resources/workflows/client/requests/WorkflowPushRequest.d.ts +2 -0
  82. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  83. package/dist/api/resources/workspaces/client/Client.js +1 -1
  84. package/dist/api/types/DatasetRowPushRequest.d.ts +7 -0
  85. package/dist/api/types/DatasetRowPushRequest.js +5 -0
  86. package/dist/api/types/EnvironmentDisplayConfig.d.ts +6 -0
  87. package/dist/api/types/EnvironmentDisplayConfig.js +5 -0
  88. package/dist/api/types/EnvironmentRead.d.ts +10 -0
  89. package/dist/api/types/EnvironmentRead.js +5 -0
  90. package/dist/api/types/IntegrationName.d.ts +31 -1
  91. package/dist/api/types/IntegrationName.js +15 -0
  92. package/dist/api/types/VellumDocument.d.ts +1 -0
  93. package/dist/api/types/VellumDocumentRequest.d.ts +1 -0
  94. package/dist/api/types/VellumImage.d.ts +1 -0
  95. package/dist/api/types/VellumImageRequest.d.ts +1 -0
  96. package/dist/api/types/WorkflowExecutionFulfilledBody.d.ts +1 -0
  97. package/dist/api/types/index.d.ts +3 -0
  98. package/dist/api/types/index.js +3 -0
  99. package/dist/serialization/types/DatasetRowPushRequest.d.ts +13 -0
  100. package/dist/serialization/types/DatasetRowPushRequest.js +44 -0
  101. package/dist/serialization/types/EnvironmentDisplayConfig.d.ts +12 -0
  102. package/dist/serialization/types/EnvironmentDisplayConfig.js +43 -0
  103. package/dist/serialization/types/EnvironmentRead.d.ts +16 -0
  104. package/dist/serialization/types/EnvironmentRead.js +47 -0
  105. package/dist/serialization/types/IntegrationName.d.ts +1 -1
  106. package/dist/serialization/types/IntegrationName.js +15 -0
  107. package/dist/serialization/types/WorkflowExecutionFulfilledBody.d.ts +1 -0
  108. package/dist/serialization/types/WorkflowExecutionFulfilledBody.js +1 -0
  109. package/dist/serialization/types/index.d.ts +3 -0
  110. package/dist/serialization/types/index.js +3 -0
  111. package/dist/version.d.ts +1 -1
  112. package/dist/version.js +1 -1
  113. package/package.json +1 -1
  114. package/reference.md +57 -0
  115. package/serialization/types/DatasetRowPushRequest.d.ts +13 -0
  116. package/serialization/types/DatasetRowPushRequest.js +44 -0
  117. package/serialization/types/EnvironmentDisplayConfig.d.ts +12 -0
  118. package/serialization/types/EnvironmentDisplayConfig.js +43 -0
  119. package/serialization/types/EnvironmentRead.d.ts +16 -0
  120. package/serialization/types/EnvironmentRead.js +47 -0
  121. package/serialization/types/IntegrationName.d.ts +1 -1
  122. package/serialization/types/IntegrationName.js +15 -0
  123. package/serialization/types/WorkflowExecutionFulfilledBody.d.ts +1 -0
  124. package/serialization/types/WorkflowExecutionFulfilledBody.js +1 -0
  125. package/serialization/types/index.d.ts +3 -0
  126. package/serialization/types/index.js +3 -0
  127. package/version.d.ts +1 -1
  128. package/version.js +1 -1
@@ -2,6 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface VellumDocument {
5
+ /** A valid data URL containing the document data. */
5
6
  src: string;
6
7
  metadata?: Record<string, unknown> | null;
7
8
  }
@@ -2,6 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface VellumDocumentRequest {
5
+ /** A valid data URL containing the document data. */
5
6
  src: string;
6
7
  metadata?: Record<string, unknown> | null;
7
8
  }
@@ -2,6 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface VellumImage {
5
+ /** A valid data URL containing the image data. */
5
6
  src: string;
6
7
  metadata?: Record<string, unknown> | null;
7
8
  }
@@ -2,6 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface VellumImageRequest {
5
+ /** A valid data URL containing the image data. */
5
6
  src: string;
6
7
  metadata?: Record<string, unknown> | null;
7
8
  }
@@ -6,4 +6,5 @@ export interface WorkflowExecutionFulfilledBody {
6
6
  workflowDefinition: Vellum.VellumCodeResourceDefinition;
7
7
  outputs: Record<string, unknown>;
8
8
  finalState?: Record<string, unknown> | null;
9
+ serverMetadata?: Record<string, unknown> | null;
9
10
  }
@@ -76,6 +76,7 @@ export * from "./ContainerImageContainerImageTag";
76
76
  export * from "./ContainerImageRead";
77
77
  export * from "./CreateTestSuiteTestCaseRequest";
78
78
  export * from "./CreateWorkflowEventRequest";
79
+ export * from "./DatasetRowPushRequest";
79
80
  export * from "./DelimiterChunkerConfig";
80
81
  export * from "./DelimiterChunkerConfigRequest";
81
82
  export * from "./DelimiterChunking";
@@ -107,7 +108,9 @@ export * from "./DocumentVellumValueRequest";
107
108
  export * from "./EnrichedNormalizedCompletion";
108
109
  export * from "./EntityStatus";
109
110
  export * from "./EntityVisibility";
111
+ export * from "./EnvironmentDisplayConfig";
110
112
  export * from "./EnvironmentEnum";
113
+ export * from "./EnvironmentRead";
111
114
  export * from "./EphemeralPromptCacheConfig";
112
115
  export * from "./EphemeralPromptCacheConfigTypeEnum";
113
116
  export * from "./ErrorDetailResponse";
@@ -92,6 +92,7 @@ __exportStar(require("./ContainerImageContainerImageTag"), exports);
92
92
  __exportStar(require("./ContainerImageRead"), exports);
93
93
  __exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
94
94
  __exportStar(require("./CreateWorkflowEventRequest"), exports);
95
+ __exportStar(require("./DatasetRowPushRequest"), exports);
95
96
  __exportStar(require("./DelimiterChunkerConfig"), exports);
96
97
  __exportStar(require("./DelimiterChunkerConfigRequest"), exports);
97
98
  __exportStar(require("./DelimiterChunking"), exports);
@@ -123,7 +124,9 @@ __exportStar(require("./DocumentVellumValueRequest"), exports);
123
124
  __exportStar(require("./EnrichedNormalizedCompletion"), exports);
124
125
  __exportStar(require("./EntityStatus"), exports);
125
126
  __exportStar(require("./EntityVisibility"), exports);
127
+ __exportStar(require("./EnvironmentDisplayConfig"), exports);
126
128
  __exportStar(require("./EnvironmentEnum"), exports);
129
+ __exportStar(require("./EnvironmentRead"), exports);
127
130
  __exportStar(require("./EphemeralPromptCacheConfig"), exports);
128
131
  __exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
129
132
  __exportStar(require("./ErrorDetailResponse"), exports);
@@ -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 DatasetRowPushRequest: core.serialization.ObjectSchema<serializers.DatasetRowPushRequest.Raw, Vellum.DatasetRowPushRequest>;
8
+ export declare namespace DatasetRowPushRequest {
9
+ interface Raw {
10
+ label: string;
11
+ inputs: Record<string, unknown>;
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.DatasetRowPushRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.DatasetRowPushRequest = core.serialization.object({
42
+ label: core.serialization.string(),
43
+ inputs: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
44
+ });
@@ -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 EnvironmentDisplayConfig: core.serialization.ObjectSchema<serializers.EnvironmentDisplayConfig.Raw, Vellum.EnvironmentDisplayConfig>;
8
+ export declare namespace EnvironmentDisplayConfig {
9
+ interface Raw {
10
+ color?: (string | null) | null;
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.EnvironmentDisplayConfig = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.EnvironmentDisplayConfig = core.serialization.object({
42
+ color: core.serialization.string().optionalNullable(),
43
+ });
@@ -0,0 +1,16 @@
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 { EnvironmentDisplayConfig } from "./EnvironmentDisplayConfig";
8
+ export declare const EnvironmentRead: core.serialization.ObjectSchema<serializers.EnvironmentRead.Raw, Vellum.EnvironmentRead>;
9
+ export declare namespace EnvironmentRead {
10
+ interface Raw {
11
+ id?: string | null;
12
+ name: string;
13
+ label: string;
14
+ display_config?: (EnvironmentDisplayConfig.Raw | null) | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
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.EnvironmentRead = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const EnvironmentDisplayConfig_1 = require("./EnvironmentDisplayConfig");
42
+ exports.EnvironmentRead = core.serialization.object({
43
+ id: core.serialization.string().optional(),
44
+ name: core.serialization.string(),
45
+ label: core.serialization.string(),
46
+ displayConfig: core.serialization.property("display_config", EnvironmentDisplayConfig_1.EnvironmentDisplayConfig.optionalNullable()),
47
+ });
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const IntegrationName: core.serialization.Schema<serializers.IntegrationName.Raw, Vellum.IntegrationName>;
8
8
  export declare namespace IntegrationName {
9
- type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "HUBSPOT" | "LINEAR" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "GAMMA" | "FIRECRAWL" | "PERPLEXITY" | "SERPAPI";
9
+ type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "CANVA" | "HUBSPOT" | "LINEAR" | "LINKEDIN" | "MAILCHIMP" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "ATLASSIAN" | "GAMMA" | "GITLAB" | "FIRECRAWL" | "FIGMA" | "PAGERDUTY" | "PERPLEXITY" | "REDDIT" | "SERPAPI" | "SUPABASE" | "WEBFLOW" | "ZENDESK" | "DROPBOX" | "EVENTBRITE" | "CONFLUENCE" | "DOCUSIGN";
10
10
  }
@@ -43,16 +43,31 @@ exports.IntegrationName = core.serialization.enum_([
43
43
  "NOTION",
44
44
  "GOOGLE",
45
45
  "CALENDLY",
46
+ "CANVA",
46
47
  "HUBSPOT",
47
48
  "LINEAR",
49
+ "LINKEDIN",
50
+ "MAILCHIMP",
48
51
  "GITHUB",
49
52
  "GOOGLE_SHEETS",
50
53
  "GOOGLE_CALENDAR",
51
54
  "GOOGLE_DRIVE",
52
55
  "GMAIL",
53
56
  "AIRTABLE",
57
+ "ATLASSIAN",
54
58
  "GAMMA",
59
+ "GITLAB",
55
60
  "FIRECRAWL",
61
+ "FIGMA",
62
+ "PAGERDUTY",
56
63
  "PERPLEXITY",
64
+ "REDDIT",
57
65
  "SERPAPI",
66
+ "SUPABASE",
67
+ "WEBFLOW",
68
+ "ZENDESK",
69
+ "DROPBOX",
70
+ "EVENTBRITE",
71
+ "CONFLUENCE",
72
+ "DOCUSIGN",
58
73
  ]);
@@ -11,5 +11,6 @@ export declare namespace WorkflowExecutionFulfilledBody {
11
11
  workflow_definition: VellumCodeResourceDefinition.Raw;
12
12
  outputs: Record<string, unknown>;
13
13
  final_state?: (Record<string, unknown> | null) | null;
14
+ server_metadata?: (Record<string, unknown> | null) | null;
14
15
  }
15
16
  }
@@ -43,4 +43,5 @@ exports.WorkflowExecutionFulfilledBody = core.serialization.object({
43
43
  workflowDefinition: core.serialization.property("workflow_definition", VellumCodeResourceDefinition_1.VellumCodeResourceDefinition),
44
44
  outputs: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
45
45
  finalState: core.serialization.property("final_state", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable()),
46
+ serverMetadata: core.serialization.property("server_metadata", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable()),
46
47
  });
@@ -76,6 +76,7 @@ export * from "./ContainerImageContainerImageTag";
76
76
  export * from "./ContainerImageRead";
77
77
  export * from "./CreateTestSuiteTestCaseRequest";
78
78
  export * from "./CreateWorkflowEventRequest";
79
+ export * from "./DatasetRowPushRequest";
79
80
  export * from "./DelimiterChunkerConfig";
80
81
  export * from "./DelimiterChunkerConfigRequest";
81
82
  export * from "./DelimiterChunking";
@@ -107,7 +108,9 @@ export * from "./DocumentVellumValueRequest";
107
108
  export * from "./EnrichedNormalizedCompletion";
108
109
  export * from "./EntityStatus";
109
110
  export * from "./EntityVisibility";
111
+ export * from "./EnvironmentDisplayConfig";
110
112
  export * from "./EnvironmentEnum";
113
+ export * from "./EnvironmentRead";
111
114
  export * from "./EphemeralPromptCacheConfig";
112
115
  export * from "./EphemeralPromptCacheConfigTypeEnum";
113
116
  export * from "./ErrorDetailResponse";
@@ -92,6 +92,7 @@ __exportStar(require("./ContainerImageContainerImageTag"), exports);
92
92
  __exportStar(require("./ContainerImageRead"), exports);
93
93
  __exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
94
94
  __exportStar(require("./CreateWorkflowEventRequest"), exports);
95
+ __exportStar(require("./DatasetRowPushRequest"), exports);
95
96
  __exportStar(require("./DelimiterChunkerConfig"), exports);
96
97
  __exportStar(require("./DelimiterChunkerConfigRequest"), exports);
97
98
  __exportStar(require("./DelimiterChunking"), exports);
@@ -123,7 +124,9 @@ __exportStar(require("./DocumentVellumValueRequest"), exports);
123
124
  __exportStar(require("./EnrichedNormalizedCompletion"), exports);
124
125
  __exportStar(require("./EntityStatus"), exports);
125
126
  __exportStar(require("./EntityVisibility"), exports);
127
+ __exportStar(require("./EnvironmentDisplayConfig"), exports);
126
128
  __exportStar(require("./EnvironmentEnum"), exports);
129
+ __exportStar(require("./EnvironmentRead"), exports);
127
130
  __exportStar(require("./EphemeralPromptCacheConfig"), exports);
128
131
  __exportStar(require("./EphemeralPromptCacheConfigTypeEnum"), exports);
129
132
  __exportStar(require("./ErrorDetailResponse"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.7.13";
1
+ export declare const SDK_VERSION = "1.7.15";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.7.13";
4
+ exports.SDK_VERSION = "1.7.15";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "1.7.13",
3
+ "version": "1.7.15",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
package/reference.md CHANGED
@@ -2242,6 +2242,63 @@ await client.documents.partialUpdate("id");
2242
2242
  </dl>
2243
2243
  </details>
2244
2244
 
2245
+ ## Environments
2246
+
2247
+ <details><summary><code>client.environments.<a href="/src/api/resources/environments/client/Client.ts">environmentIdentity</a>() -> Vellum.EnvironmentRead</code></summary>
2248
+ <dl>
2249
+ <dd>
2250
+
2251
+ #### 📝 Description
2252
+
2253
+ <dl>
2254
+ <dd>
2255
+
2256
+ <dl>
2257
+ <dd>
2258
+
2259
+ Retrieves information about the active Environment
2260
+
2261
+ </dd>
2262
+ </dl>
2263
+ </dd>
2264
+ </dl>
2265
+
2266
+ #### 🔌 Usage
2267
+
2268
+ <dl>
2269
+ <dd>
2270
+
2271
+ <dl>
2272
+ <dd>
2273
+
2274
+ ```typescript
2275
+ await client.environments.environmentIdentity();
2276
+ ```
2277
+
2278
+ </dd>
2279
+ </dl>
2280
+ </dd>
2281
+ </dl>
2282
+
2283
+ #### ⚙️ Parameters
2284
+
2285
+ <dl>
2286
+ <dd>
2287
+
2288
+ <dl>
2289
+ <dd>
2290
+
2291
+ **requestOptions:** `Environments.RequestOptions`
2292
+
2293
+ </dd>
2294
+ </dl>
2295
+ </dd>
2296
+ </dl>
2297
+
2298
+ </dd>
2299
+ </dl>
2300
+ </details>
2301
+
2245
2302
  ## FolderEntities
2246
2303
 
2247
2304
  <details><summary><code>client.folderEntities.<a href="/src/api/resources/folderEntities/client/Client.ts">list</a>({ ...params }) -> Vellum.PaginatedFolderEntityList</code></summary>
@@ -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 DatasetRowPushRequest: core.serialization.ObjectSchema<serializers.DatasetRowPushRequest.Raw, Vellum.DatasetRowPushRequest>;
8
+ export declare namespace DatasetRowPushRequest {
9
+ interface Raw {
10
+ label: string;
11
+ inputs: Record<string, unknown>;
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.DatasetRowPushRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.DatasetRowPushRequest = core.serialization.object({
42
+ label: core.serialization.string(),
43
+ inputs: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
44
+ });
@@ -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 EnvironmentDisplayConfig: core.serialization.ObjectSchema<serializers.EnvironmentDisplayConfig.Raw, Vellum.EnvironmentDisplayConfig>;
8
+ export declare namespace EnvironmentDisplayConfig {
9
+ interface Raw {
10
+ color?: (string | null) | null;
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.EnvironmentDisplayConfig = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.EnvironmentDisplayConfig = core.serialization.object({
42
+ color: core.serialization.string().optionalNullable(),
43
+ });
@@ -0,0 +1,16 @@
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 { EnvironmentDisplayConfig } from "./EnvironmentDisplayConfig";
8
+ export declare const EnvironmentRead: core.serialization.ObjectSchema<serializers.EnvironmentRead.Raw, Vellum.EnvironmentRead>;
9
+ export declare namespace EnvironmentRead {
10
+ interface Raw {
11
+ id?: string | null;
12
+ name: string;
13
+ label: string;
14
+ display_config?: (EnvironmentDisplayConfig.Raw | null) | null;
15
+ }
16
+ }
@@ -0,0 +1,47 @@
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.EnvironmentRead = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const EnvironmentDisplayConfig_1 = require("./EnvironmentDisplayConfig");
42
+ exports.EnvironmentRead = core.serialization.object({
43
+ id: core.serialization.string().optional(),
44
+ name: core.serialization.string(),
45
+ label: core.serialization.string(),
46
+ displayConfig: core.serialization.property("display_config", EnvironmentDisplayConfig_1.EnvironmentDisplayConfig.optionalNullable()),
47
+ });
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const IntegrationName: core.serialization.Schema<serializers.IntegrationName.Raw, Vellum.IntegrationName>;
8
8
  export declare namespace IntegrationName {
9
- type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "HUBSPOT" | "LINEAR" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "GAMMA" | "FIRECRAWL" | "PERPLEXITY" | "SERPAPI";
9
+ type Raw = "SLACK" | "NOTION" | "GOOGLE" | "CALENDLY" | "CANVA" | "HUBSPOT" | "LINEAR" | "LINKEDIN" | "MAILCHIMP" | "GITHUB" | "GOOGLE_SHEETS" | "GOOGLE_CALENDAR" | "GOOGLE_DRIVE" | "GMAIL" | "AIRTABLE" | "ATLASSIAN" | "GAMMA" | "GITLAB" | "FIRECRAWL" | "FIGMA" | "PAGERDUTY" | "PERPLEXITY" | "REDDIT" | "SERPAPI" | "SUPABASE" | "WEBFLOW" | "ZENDESK" | "DROPBOX" | "EVENTBRITE" | "CONFLUENCE" | "DOCUSIGN";
10
10
  }