vellum-ai 0.6.6 → 0.6.7

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 (147) hide show
  1. package/Client.js +9 -9
  2. package/api/resources/deployments/client/Client.js +5 -5
  3. package/api/resources/documentIndexes/client/Client.js +6 -6
  4. package/api/resources/documents/client/Client.js +5 -5
  5. package/api/resources/folderEntities/client/Client.js +1 -1
  6. package/api/resources/sandboxes/client/Client.js +3 -3
  7. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  8. package/api/resources/testSuites/client/Client.js +4 -4
  9. package/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +4 -1
  10. package/api/resources/workflowDeployments/client/Client.js +4 -4
  11. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  12. package/api/types/{BulkCreateTestSuiteTestCaseDataRequest.d.ts → CreateTestSuiteTestCaseRequest.d.ts} +4 -1
  13. package/api/types/DeploymentProviderPayloadResponse.d.ts +2 -1
  14. package/api/types/DeploymentProviderPayloadResponsePayload.d.ts +4 -0
  15. package/api/types/ExecutionArrayVellumValue.d.ts +4 -1
  16. package/api/types/ExecutionChatHistoryVellumValue.d.ts +3 -0
  17. package/api/types/ExecutionErrorVellumValue.d.ts +3 -0
  18. package/api/types/ExecutionFunctionCallVellumValue.d.ts +3 -0
  19. package/api/types/ExecutionJsonVellumValue.d.ts +3 -0
  20. package/api/types/ExecutionNumberVellumValue.d.ts +3 -0
  21. package/api/types/ExecutionSearchResultsVellumValue.d.ts +3 -0
  22. package/api/types/ExecutionStringVellumValue.d.ts +3 -0
  23. package/api/types/MapEnum.d.ts +4 -0
  24. package/api/types/MapNodeResult.d.ts +10 -0
  25. package/api/types/MapNodeResultData.d.ts +6 -0
  26. package/api/types/MapNodeResultData.js +5 -0
  27. package/api/types/ReplaceTestSuiteTestCaseRequest.d.ts +19 -0
  28. package/api/types/ReplaceTestSuiteTestCaseRequest.js +5 -0
  29. package/api/types/SearchResultMeta.d.ts +1 -1
  30. package/api/types/SearchResultMetaRequest.d.ts +1 -1
  31. package/api/types/TestSuiteTestCase.d.ts +1 -0
  32. package/api/types/TestSuiteTestCaseCreateBulkOperationRequest.d.ts +1 -1
  33. package/api/types/TestSuiteTestCaseReplaceBulkOperationRequest.d.ts +1 -1
  34. package/api/types/WorkflowNodeResultData.d.ts +4 -1
  35. package/api/types/index.d.ts +6 -2
  36. package/api/types/index.js +6 -2
  37. package/dist/Client.js +9 -9
  38. package/dist/api/resources/deployments/client/Client.js +5 -5
  39. package/dist/api/resources/documentIndexes/client/Client.js +6 -6
  40. package/dist/api/resources/documents/client/Client.js +5 -5
  41. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  42. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  43. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  44. package/dist/api/resources/testSuites/client/Client.js +4 -4
  45. package/dist/api/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +4 -1
  46. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  47. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  48. package/dist/api/types/{BulkCreateTestSuiteTestCaseDataRequest.d.ts → CreateTestSuiteTestCaseRequest.d.ts} +4 -1
  49. package/dist/api/types/CreateTestSuiteTestCaseRequest.js +5 -0
  50. package/dist/api/types/DeploymentProviderPayloadResponse.d.ts +2 -1
  51. package/dist/api/types/DeploymentProviderPayloadResponsePayload.d.ts +4 -0
  52. package/dist/api/types/DeploymentProviderPayloadResponsePayload.js +5 -0
  53. package/dist/api/types/ExecutionArrayVellumValue.d.ts +4 -1
  54. package/dist/api/types/ExecutionChatHistoryVellumValue.d.ts +3 -0
  55. package/dist/api/types/ExecutionErrorVellumValue.d.ts +3 -0
  56. package/dist/api/types/ExecutionFunctionCallVellumValue.d.ts +3 -0
  57. package/dist/api/types/ExecutionJsonVellumValue.d.ts +3 -0
  58. package/dist/api/types/ExecutionNumberVellumValue.d.ts +3 -0
  59. package/dist/api/types/ExecutionSearchResultsVellumValue.d.ts +3 -0
  60. package/dist/api/types/ExecutionStringVellumValue.d.ts +3 -0
  61. package/dist/api/types/MapEnum.d.ts +4 -0
  62. package/dist/api/types/MapEnum.js +5 -0
  63. package/dist/api/types/MapNodeResult.d.ts +10 -0
  64. package/dist/api/types/MapNodeResult.js +5 -0
  65. package/dist/api/types/MapNodeResultData.d.ts +6 -0
  66. package/dist/api/types/MapNodeResultData.js +5 -0
  67. package/dist/api/types/ReplaceTestSuiteTestCaseRequest.d.ts +19 -0
  68. package/dist/api/types/ReplaceTestSuiteTestCaseRequest.js +5 -0
  69. package/dist/api/types/SearchResultMeta.d.ts +1 -1
  70. package/dist/api/types/SearchResultMetaRequest.d.ts +1 -1
  71. package/dist/api/types/TestSuiteTestCase.d.ts +1 -0
  72. package/dist/api/types/TestSuiteTestCaseCreateBulkOperationRequest.d.ts +1 -1
  73. package/dist/api/types/TestSuiteTestCaseReplaceBulkOperationRequest.d.ts +1 -1
  74. package/dist/api/types/WorkflowNodeResultData.d.ts +4 -1
  75. package/dist/api/types/index.d.ts +6 -2
  76. package/dist/api/types/index.js +6 -2
  77. package/dist/serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +1 -0
  78. package/dist/serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.js +1 -0
  79. package/dist/serialization/types/{BulkCreateTestSuiteTestCaseDataRequest.d.ts → CreateTestSuiteTestCaseRequest.d.ts} +3 -2
  80. package/dist/serialization/types/{BulkCreateTestSuiteTestCaseDataRequest.js → CreateTestSuiteTestCaseRequest.js} +3 -2
  81. package/dist/serialization/types/DeploymentProviderPayloadResponse.d.ts +2 -1
  82. package/dist/serialization/types/DeploymentProviderPayloadResponse.js +2 -1
  83. package/dist/serialization/types/DeploymentProviderPayloadResponsePayload.d.ts +10 -0
  84. package/dist/serialization/types/DeploymentProviderPayloadResponsePayload.js +34 -0
  85. package/dist/serialization/types/ExecutionArrayVellumValue.d.ts +2 -2
  86. package/dist/serialization/types/ExecutionArrayVellumValue.js +2 -2
  87. package/dist/serialization/types/MapEnum.d.ts +10 -0
  88. package/dist/serialization/types/MapEnum.js +31 -0
  89. package/dist/serialization/types/MapNodeResult.d.ts +13 -0
  90. package/dist/serialization/types/MapNodeResult.js +34 -0
  91. package/dist/serialization/types/MapNodeResultData.d.ts +12 -0
  92. package/dist/serialization/types/MapNodeResultData.js +33 -0
  93. package/dist/serialization/types/{BulkReplaceTestSuiteTestCaseDataRequest.d.ts → ReplaceTestSuiteTestCaseRequest.d.ts} +4 -3
  94. package/{serialization/types/BulkCreateTestSuiteTestCaseDataRequest.js → dist/serialization/types/ReplaceTestSuiteTestCaseRequest.js} +4 -2
  95. package/dist/serialization/types/SearchResultMeta.d.ts +1 -1
  96. package/dist/serialization/types/SearchResultMeta.js +1 -1
  97. package/dist/serialization/types/SearchResultMetaRequest.d.ts +1 -1
  98. package/dist/serialization/types/SearchResultMetaRequest.js +1 -1
  99. package/dist/serialization/types/TestSuiteTestCase.d.ts +1 -0
  100. package/dist/serialization/types/TestSuiteTestCase.js +1 -0
  101. package/dist/serialization/types/TestSuiteTestCaseCreateBulkOperationRequest.d.ts +2 -2
  102. package/dist/serialization/types/TestSuiteTestCaseCreateBulkOperationRequest.js +2 -2
  103. package/dist/serialization/types/TestSuiteTestCaseReplaceBulkOperationRequest.d.ts +2 -2
  104. package/dist/serialization/types/TestSuiteTestCaseReplaceBulkOperationRequest.js +2 -2
  105. package/dist/serialization/types/WorkflowNodeResultData.d.ts +5 -1
  106. package/dist/serialization/types/WorkflowNodeResultData.js +2 -0
  107. package/dist/serialization/types/index.d.ts +6 -2
  108. package/dist/serialization/types/index.js +6 -2
  109. package/package.json +1 -1
  110. package/serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.d.ts +1 -0
  111. package/serialization/resources/testSuites/client/requests/UpsertTestSuiteTestCaseRequest.js +1 -0
  112. package/serialization/types/{BulkCreateTestSuiteTestCaseDataRequest.d.ts → CreateTestSuiteTestCaseRequest.d.ts} +3 -2
  113. package/{dist/serialization/types/BulkReplaceTestSuiteTestCaseDataRequest.js → serialization/types/CreateTestSuiteTestCaseRequest.js} +3 -3
  114. package/serialization/types/DeploymentProviderPayloadResponse.d.ts +2 -1
  115. package/serialization/types/DeploymentProviderPayloadResponse.js +2 -1
  116. package/serialization/types/DeploymentProviderPayloadResponsePayload.d.ts +10 -0
  117. package/serialization/types/DeploymentProviderPayloadResponsePayload.js +34 -0
  118. package/serialization/types/ExecutionArrayVellumValue.d.ts +2 -2
  119. package/serialization/types/ExecutionArrayVellumValue.js +2 -2
  120. package/serialization/types/MapEnum.d.ts +10 -0
  121. package/serialization/types/MapEnum.js +31 -0
  122. package/serialization/types/MapNodeResult.d.ts +13 -0
  123. package/serialization/types/MapNodeResult.js +34 -0
  124. package/serialization/types/MapNodeResultData.d.ts +12 -0
  125. package/serialization/types/MapNodeResultData.js +33 -0
  126. package/serialization/types/{BulkReplaceTestSuiteTestCaseDataRequest.d.ts → ReplaceTestSuiteTestCaseRequest.d.ts} +4 -3
  127. package/serialization/types/{BulkReplaceTestSuiteTestCaseDataRequest.js → ReplaceTestSuiteTestCaseRequest.js} +4 -3
  128. package/serialization/types/SearchResultMeta.d.ts +1 -1
  129. package/serialization/types/SearchResultMeta.js +1 -1
  130. package/serialization/types/SearchResultMetaRequest.d.ts +1 -1
  131. package/serialization/types/SearchResultMetaRequest.js +1 -1
  132. package/serialization/types/TestSuiteTestCase.d.ts +1 -0
  133. package/serialization/types/TestSuiteTestCase.js +1 -0
  134. package/serialization/types/TestSuiteTestCaseCreateBulkOperationRequest.d.ts +2 -2
  135. package/serialization/types/TestSuiteTestCaseCreateBulkOperationRequest.js +2 -2
  136. package/serialization/types/TestSuiteTestCaseReplaceBulkOperationRequest.d.ts +2 -2
  137. package/serialization/types/TestSuiteTestCaseReplaceBulkOperationRequest.js +2 -2
  138. package/serialization/types/WorkflowNodeResultData.d.ts +5 -1
  139. package/serialization/types/WorkflowNodeResultData.js +2 -0
  140. package/serialization/types/index.d.ts +6 -2
  141. package/serialization/types/index.js +6 -2
  142. package/api/types/BulkReplaceTestSuiteTestCaseDataRequest.d.ts +0 -16
  143. package/dist/api/types/BulkReplaceTestSuiteTestCaseDataRequest.d.ts +0 -16
  144. /package/api/types/{BulkCreateTestSuiteTestCaseDataRequest.js → CreateTestSuiteTestCaseRequest.js} +0 -0
  145. /package/api/types/{BulkReplaceTestSuiteTestCaseDataRequest.js → DeploymentProviderPayloadResponsePayload.js} +0 -0
  146. /package/{dist/api/types/BulkCreateTestSuiteTestCaseDataRequest.js → api/types/MapEnum.js} +0 -0
  147. /package/{dist/api/types/BulkReplaceTestSuiteTestCaseDataRequest.js → api/types/MapNodeResult.js} +0 -0
@@ -5,10 +5,13 @@ import * as Vellum from "../index";
5
5
  /**
6
6
  * Information about the Test Case to create
7
7
  */
8
- export interface BulkCreateTestSuiteTestCaseDataRequest {
8
+ export interface CreateTestSuiteTestCaseRequest {
9
+ /** A human-readable label used to convey the intention of this Test Case */
9
10
  label?: string;
10
11
  /** Values for each of the Test Case's input variables */
11
12
  inputValues: Vellum.NamedTestCaseVariableValueRequest[];
12
13
  /** Values for each of the Test Case's evaluation variables */
13
14
  evaluationValues: Vellum.NamedTestCaseVariableValueRequest[];
15
+ /** Optionally provide an ID that uniquely identifies this Test Case in your system. Useful for updating this Test Cases data after initial creation. Cannot be changed later. */
16
+ externalId?: string;
14
17
  }
@@ -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 });
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Vellum from "../index";
4
5
  export interface DeploymentProviderPayloadResponse {
5
- payload: Record<string, unknown>;
6
+ payload: Vellum.DeploymentProviderPayloadResponsePayload;
6
7
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type DeploymentProviderPayloadResponsePayload = Record<string, unknown> | string;
@@ -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 });
@@ -2,9 +2,12 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
+ /**
6
+ * A value representing an array of Vellum variable values.
7
+ */
5
8
  export interface ExecutionArrayVellumValue {
6
9
  /** The variable's uniquely identifying internal id. */
7
10
  id: string;
8
11
  name: string;
9
- value?: Vellum.ArrayVariableValueItem[];
12
+ value?: Vellum.ArrayVellumValueItem[];
10
13
  }
@@ -2,6 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
+ /**
6
+ * A value representing Chat History.
7
+ */
5
8
  export interface ExecutionChatHistoryVellumValue {
6
9
  /** The variable's uniquely identifying internal id. */
7
10
  id: string;
@@ -2,6 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
+ /**
6
+ * A value representing an Error.
7
+ */
5
8
  export interface ExecutionErrorVellumValue {
6
9
  /** The variable's uniquely identifying internal id. */
7
10
  id: string;
@@ -2,6 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
+ /**
6
+ * A value representing a Function Call.
7
+ */
5
8
  export interface ExecutionFunctionCallVellumValue {
6
9
  /** The variable's uniquely identifying internal id. */
7
10
  id: string;
@@ -1,6 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ /**
5
+ * A value representing a JSON object.
6
+ */
4
7
  export interface ExecutionJsonVellumValue {
5
8
  /** The variable's uniquely identifying internal id. */
6
9
  id: string;
@@ -1,6 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ /**
5
+ * A value representing a number.
6
+ */
4
7
  export interface ExecutionNumberVellumValue {
5
8
  /** The variable's uniquely identifying internal id. */
6
9
  id: string;
@@ -2,6 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
+ /**
6
+ * A value representing Search Results.
7
+ */
5
8
  export interface ExecutionSearchResultsVellumValue {
6
9
  /** The variable's uniquely identifying internal id. */
7
10
  id: string;
@@ -1,6 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ /**
5
+ * A value representing a string.
6
+ */
4
7
  export interface ExecutionStringVellumValue {
5
8
  /** The variable's uniquely identifying internal id. */
6
9
  id: string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type MapEnum = "MAP";
@@ -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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * A Node Result Event emitted from a Map Node.
7
+ */
8
+ export interface MapNodeResult {
9
+ data?: Vellum.MapNodeResultData;
10
+ }
@@ -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,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface MapNodeResultData {
5
+ executionIds: string[];
6
+ }
@@ -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,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * Information about the Test Case to replace
7
+ */
8
+ export interface ReplaceTestSuiteTestCaseRequest {
9
+ /** The Vellum-generated ID of the Test Case whose data you'd like to replace. Must specify either this or external_id. */
10
+ id?: string;
11
+ /** The ID that was originally provided upon Test Case creation that uniquely identifies the Test Case whose data you'd like to replace. Must specify either this of id. */
12
+ externalId?: string;
13
+ /** A human-readable label used to convey the intention of this Test Case */
14
+ label?: string;
15
+ /** Values for each of the Test Case's input variables */
16
+ inputValues: Vellum.NamedTestCaseVariableValueRequest[];
17
+ /** Values for each of the Test Case's evaluation variables */
18
+ evaluationValues: Vellum.NamedTestCaseVariableValueRequest[];
19
+ }
@@ -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,5 +3,5 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface SearchResultMeta {
6
- source: Vellum.SearchResultMetaSource;
6
+ source?: Vellum.SearchResultMetaSource;
7
7
  }
@@ -3,5 +3,5 @@
3
3
  */
4
4
  import * as Vellum from "../index";
5
5
  export interface SearchResultMetaRequest {
6
- source: Vellum.SearchResultMetaSourceRequest;
6
+ source?: Vellum.SearchResultMetaSourceRequest;
7
7
  }
@@ -4,6 +4,7 @@
4
4
  import * as Vellum from "../index";
5
5
  export interface TestSuiteTestCase {
6
6
  id?: string;
7
+ externalId?: string;
7
8
  label?: string;
8
9
  inputValues: Vellum.TestCaseVariableValue[];
9
10
  evaluationValues: Vellum.TestCaseVariableValue[];
@@ -8,5 +8,5 @@ import * as Vellum from "../index";
8
8
  export interface TestSuiteTestCaseCreateBulkOperationRequest {
9
9
  /** An ID representing this specific operation. Can later be used to look up information about the operation's success in the response. */
10
10
  id: string;
11
- data: Vellum.BulkCreateTestSuiteTestCaseDataRequest;
11
+ data: Vellum.CreateTestSuiteTestCaseRequest;
12
12
  }
@@ -8,5 +8,5 @@ import * as Vellum from "../index";
8
8
  export interface TestSuiteTestCaseReplaceBulkOperationRequest {
9
9
  /** An ID representing this specific operation. Can later be used to look up information about the operation's success in the response. */
10
10
  id: string;
11
- data: Vellum.BulkReplaceTestSuiteTestCaseDataRequest;
11
+ data: Vellum.ReplaceTestSuiteTestCaseRequest;
12
12
  }
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export declare type WorkflowNodeResultData = Vellum.WorkflowNodeResultData.Prompt | Vellum.WorkflowNodeResultData.Search | Vellum.WorkflowNodeResultData.Templating | Vellum.WorkflowNodeResultData.CodeExecution | Vellum.WorkflowNodeResultData.Conditional | Vellum.WorkflowNodeResultData.Api | Vellum.WorkflowNodeResultData.Terminal | Vellum.WorkflowNodeResultData.Merge | Vellum.WorkflowNodeResultData.Subworkflow | Vellum.WorkflowNodeResultData.Metric;
5
+ export declare type WorkflowNodeResultData = Vellum.WorkflowNodeResultData.Prompt | Vellum.WorkflowNodeResultData.Search | Vellum.WorkflowNodeResultData.Templating | Vellum.WorkflowNodeResultData.CodeExecution | Vellum.WorkflowNodeResultData.Conditional | Vellum.WorkflowNodeResultData.Api | Vellum.WorkflowNodeResultData.Terminal | Vellum.WorkflowNodeResultData.Merge | Vellum.WorkflowNodeResultData.Subworkflow | Vellum.WorkflowNodeResultData.Metric | Vellum.WorkflowNodeResultData.Map;
6
6
  export declare namespace WorkflowNodeResultData {
7
7
  interface Prompt extends Vellum.PromptNodeResult {
8
8
  type: "PROMPT";
@@ -34,4 +34,7 @@ export declare namespace WorkflowNodeResultData {
34
34
  interface Metric extends Vellum.MetricNodeResult {
35
35
  type: "METRIC";
36
36
  }
37
+ interface Map extends Vellum.MapNodeResult {
38
+ type: "MAP";
39
+ }
37
40
  }
@@ -14,8 +14,6 @@ export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1";
14
14
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request";
15
15
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1";
16
16
  export * from "./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request";
17
- export * from "./BulkCreateTestSuiteTestCaseDataRequest";
18
- export * from "./BulkReplaceTestSuiteTestCaseDataRequest";
19
17
  export * from "./ChatHistoryEnum";
20
18
  export * from "./ChatHistoryInputRequest";
21
19
  export * from "./ChatMessage";
@@ -37,9 +35,11 @@ export * from "./CodeExecutionNodeStringResult";
37
35
  export * from "./ConditionalNodeResult";
38
36
  export * from "./ConditionalNodeResultData";
39
37
  export * from "./CreateEnum";
38
+ export * from "./CreateTestSuiteTestCaseRequest";
40
39
  export * from "./CreatedEnum";
41
40
  export * from "./DeleteEnum";
42
41
  export * from "./DeletedEnum";
42
+ export * from "./DeploymentProviderPayloadResponsePayload";
43
43
  export * from "./DeploymentProviderPayloadResponse";
44
44
  export * from "./DeploymentRead";
45
45
  export * from "./DeploymentReleaseTagDeploymentHistoryItem";
@@ -125,6 +125,9 @@ export * from "./JsonVellumValue";
125
125
  export * from "./LogicalOperator";
126
126
  export * from "./LogprobsEnum";
127
127
  export * from "./MlModelUsage";
128
+ export * from "./MapEnum";
129
+ export * from "./MapNodeResult";
130
+ export * from "./MapNodeResultData";
128
131
  export * from "./MergeEnum";
129
132
  export * from "./MergeNodeResult";
130
133
  export * from "./MetadataFilterConfigRequest";
@@ -212,6 +215,7 @@ export * from "./RejectedPromptExecutionMeta";
212
215
  export * from "./RejectedWorkflowNodeResultEvent";
213
216
  export * from "./ReleaseTagSource";
214
217
  export * from "./ReplaceEnum";
218
+ export * from "./ReplaceTestSuiteTestCaseRequest";
215
219
  export * from "./ReplacedEnum";
216
220
  export * from "./SandboxScenario";
217
221
  export * from "./ScenarioInput";
@@ -30,8 +30,6 @@ __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1
30
30
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request"), exports);
31
31
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1"), exports);
32
32
  __exportStar(require("./BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request"), exports);
33
- __exportStar(require("./BulkCreateTestSuiteTestCaseDataRequest"), exports);
34
- __exportStar(require("./BulkReplaceTestSuiteTestCaseDataRequest"), exports);
35
33
  __exportStar(require("./ChatHistoryEnum"), exports);
36
34
  __exportStar(require("./ChatHistoryInputRequest"), exports);
37
35
  __exportStar(require("./ChatMessage"), exports);
@@ -53,9 +51,11 @@ __exportStar(require("./CodeExecutionNodeStringResult"), exports);
53
51
  __exportStar(require("./ConditionalNodeResult"), exports);
54
52
  __exportStar(require("./ConditionalNodeResultData"), exports);
55
53
  __exportStar(require("./CreateEnum"), exports);
54
+ __exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
56
55
  __exportStar(require("./CreatedEnum"), exports);
57
56
  __exportStar(require("./DeleteEnum"), exports);
58
57
  __exportStar(require("./DeletedEnum"), exports);
58
+ __exportStar(require("./DeploymentProviderPayloadResponsePayload"), exports);
59
59
  __exportStar(require("./DeploymentProviderPayloadResponse"), exports);
60
60
  __exportStar(require("./DeploymentRead"), exports);
61
61
  __exportStar(require("./DeploymentReleaseTagDeploymentHistoryItem"), exports);
@@ -141,6 +141,9 @@ __exportStar(require("./JsonVellumValue"), exports);
141
141
  __exportStar(require("./LogicalOperator"), exports);
142
142
  __exportStar(require("./LogprobsEnum"), exports);
143
143
  __exportStar(require("./MlModelUsage"), exports);
144
+ __exportStar(require("./MapEnum"), exports);
145
+ __exportStar(require("./MapNodeResult"), exports);
146
+ __exportStar(require("./MapNodeResultData"), exports);
144
147
  __exportStar(require("./MergeEnum"), exports);
145
148
  __exportStar(require("./MergeNodeResult"), exports);
146
149
  __exportStar(require("./MetadataFilterConfigRequest"), exports);
@@ -228,6 +231,7 @@ __exportStar(require("./RejectedPromptExecutionMeta"), exports);
228
231
  __exportStar(require("./RejectedWorkflowNodeResultEvent"), exports);
229
232
  __exportStar(require("./ReleaseTagSource"), exports);
230
233
  __exportStar(require("./ReplaceEnum"), exports);
234
+ __exportStar(require("./ReplaceTestSuiteTestCaseRequest"), exports);
231
235
  __exportStar(require("./ReplacedEnum"), exports);
232
236
  __exportStar(require("./SandboxScenario"), exports);
233
237
  __exportStar(require("./ScenarioInput"), exports);
@@ -9,6 +9,7 @@ export declare const UpsertTestSuiteTestCaseRequest: core.serialization.Schema<s
9
9
  export declare namespace UpsertTestSuiteTestCaseRequest {
10
10
  interface Raw {
11
11
  id?: string | null;
12
+ external_id?: string | null;
12
13
  label?: string | null;
13
14
  input_values: NamedTestCaseVariableValueRequest.Raw[];
14
15
  evaluation_values: NamedTestCaseVariableValueRequest.Raw[];
@@ -31,6 +31,7 @@ const core = __importStar(require("../../../../../core"));
31
31
  const NamedTestCaseVariableValueRequest_1 = require("../../../../types/NamedTestCaseVariableValueRequest");
32
32
  exports.UpsertTestSuiteTestCaseRequest = core.serialization.object({
33
33
  upsertTestSuiteTestCaseRequestId: core.serialization.property("id", core.serialization.string().optional()),
34
+ externalId: core.serialization.property("external_id", core.serialization.string().optional()),
34
35
  label: core.serialization.string().optional(),
35
36
  inputValues: core.serialization.property("input_values", core.serialization.list(NamedTestCaseVariableValueRequest_1.NamedTestCaseVariableValueRequest)),
36
37
  evaluationValues: core.serialization.property("evaluation_values", core.serialization.list(NamedTestCaseVariableValueRequest_1.NamedTestCaseVariableValueRequest)),
@@ -5,11 +5,12 @@ import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { NamedTestCaseVariableValueRequest } from "./NamedTestCaseVariableValueRequest";
8
- export declare const BulkCreateTestSuiteTestCaseDataRequest: core.serialization.ObjectSchema<serializers.BulkCreateTestSuiteTestCaseDataRequest.Raw, Vellum.BulkCreateTestSuiteTestCaseDataRequest>;
9
- export declare namespace BulkCreateTestSuiteTestCaseDataRequest {
8
+ export declare const CreateTestSuiteTestCaseRequest: core.serialization.ObjectSchema<serializers.CreateTestSuiteTestCaseRequest.Raw, Vellum.CreateTestSuiteTestCaseRequest>;
9
+ export declare namespace CreateTestSuiteTestCaseRequest {
10
10
  interface Raw {
11
11
  label?: string | null;
12
12
  input_values: NamedTestCaseVariableValueRequest.Raw[];
13
13
  evaluation_values: NamedTestCaseVariableValueRequest.Raw[];
14
+ external_id?: string | null;
14
15
  }
15
16
  }
@@ -26,11 +26,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.BulkCreateTestSuiteTestCaseDataRequest = void 0;
29
+ exports.CreateTestSuiteTestCaseRequest = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  const NamedTestCaseVariableValueRequest_1 = require("./NamedTestCaseVariableValueRequest");
32
- exports.BulkCreateTestSuiteTestCaseDataRequest = core.serialization.object({
32
+ exports.CreateTestSuiteTestCaseRequest = core.serialization.object({
33
33
  label: core.serialization.string().optional(),
34
34
  inputValues: core.serialization.property("input_values", core.serialization.list(NamedTestCaseVariableValueRequest_1.NamedTestCaseVariableValueRequest)),
35
35
  evaluationValues: core.serialization.property("evaluation_values", core.serialization.list(NamedTestCaseVariableValueRequest_1.NamedTestCaseVariableValueRequest)),
36
+ externalId: core.serialization.property("external_id", core.serialization.string().optional()),
36
37
  });
@@ -4,9 +4,10 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { DeploymentProviderPayloadResponsePayload } from "./DeploymentProviderPayloadResponsePayload";
7
8
  export declare const DeploymentProviderPayloadResponse: core.serialization.ObjectSchema<serializers.DeploymentProviderPayloadResponse.Raw, Vellum.DeploymentProviderPayloadResponse>;
8
9
  export declare namespace DeploymentProviderPayloadResponse {
9
10
  interface Raw {
10
- payload: Record<string, unknown>;
11
+ payload: DeploymentProviderPayloadResponsePayload.Raw;
11
12
  }
12
13
  }
@@ -28,6 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.DeploymentProviderPayloadResponse = void 0;
30
30
  const core = __importStar(require("../../core"));
31
+ const DeploymentProviderPayloadResponsePayload_1 = require("./DeploymentProviderPayloadResponsePayload");
31
32
  exports.DeploymentProviderPayloadResponse = core.serialization.object({
32
- payload: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
33
+ payload: DeploymentProviderPayloadResponsePayload_1.DeploymentProviderPayloadResponsePayload,
33
34
  });
@@ -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 DeploymentProviderPayloadResponsePayload: core.serialization.Schema<serializers.DeploymentProviderPayloadResponsePayload.Raw, Vellum.DeploymentProviderPayloadResponsePayload>;
8
+ export declare namespace DeploymentProviderPayloadResponsePayload {
9
+ type Raw = Record<string, unknown> | string;
10
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.DeploymentProviderPayloadResponsePayload = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.DeploymentProviderPayloadResponsePayload = core.serialization.undiscriminatedUnion([
32
+ core.serialization.record(core.serialization.string(), core.serialization.unknown()),
33
+ core.serialization.string(),
34
+ ]);
@@ -4,12 +4,12 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
- import { ArrayVariableValueItem } from "./ArrayVariableValueItem";
7
+ import { ArrayVellumValueItem } from "./ArrayVellumValueItem";
8
8
  export declare const ExecutionArrayVellumValue: core.serialization.ObjectSchema<serializers.ExecutionArrayVellumValue.Raw, Vellum.ExecutionArrayVellumValue>;
9
9
  export declare namespace ExecutionArrayVellumValue {
10
10
  interface Raw {
11
11
  id: string;
12
12
  name: string;
13
- value?: ArrayVariableValueItem.Raw[] | null;
13
+ value?: ArrayVellumValueItem.Raw[] | null;
14
14
  }
15
15
  }
@@ -28,9 +28,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ExecutionArrayVellumValue = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- const ArrayVariableValueItem_1 = require("./ArrayVariableValueItem");
31
+ const ArrayVellumValueItem_1 = require("./ArrayVellumValueItem");
32
32
  exports.ExecutionArrayVellumValue = core.serialization.object({
33
33
  id: core.serialization.string(),
34
34
  name: core.serialization.string(),
35
- value: core.serialization.list(ArrayVariableValueItem_1.ArrayVariableValueItem).optional(),
35
+ value: core.serialization.list(ArrayVellumValueItem_1.ArrayVellumValueItem).optional(),
36
36
  });
@@ -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 MapEnum: core.serialization.Schema<serializers.MapEnum.Raw, Vellum.MapEnum>;
8
+ export declare namespace MapEnum {
9
+ type Raw = "MAP";
10
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.MapEnum = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.MapEnum = core.serialization.stringLiteral("MAP");
@@ -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 { MapNodeResultData } from "./MapNodeResultData";
8
+ export declare const MapNodeResult: core.serialization.ObjectSchema<serializers.MapNodeResult.Raw, Vellum.MapNodeResult>;
9
+ export declare namespace MapNodeResult {
10
+ interface Raw {
11
+ data?: MapNodeResultData.Raw | null;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.MapNodeResult = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ const MapNodeResultData_1 = require("./MapNodeResultData");
32
+ exports.MapNodeResult = core.serialization.object({
33
+ data: MapNodeResultData_1.MapNodeResultData.optional(),
34
+ });
@@ -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 MapNodeResultData: core.serialization.ObjectSchema<serializers.MapNodeResultData.Raw, Vellum.MapNodeResultData>;
8
+ export declare namespace MapNodeResultData {
9
+ interface Raw {
10
+ execution_ids: string[];
11
+ }
12
+ }