vellum-ai 0.14.73 → 0.14.74

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 (239) 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/DocumentDocumentToDocumentIndex.d.ts +3 -3
  22. package/api/types/DocumentIndexRead.d.ts +2 -2
  23. package/api/types/DocumentRead.d.ts +1 -1
  24. package/api/types/MetricDefinitionHistoryItem.d.ts +2 -2
  25. package/api/types/MlModelRead.d.ts +1 -1
  26. package/api/types/PromptDeploymentRelease.d.ts +2 -2
  27. package/api/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
  28. package/api/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
  29. package/api/types/ReleaseCreatedBy.d.ts +1 -1
  30. package/api/types/ReleaseEnvironment.d.ts +1 -1
  31. package/api/types/ReleaseReviewReviewer.d.ts +1 -1
  32. package/api/types/SecretTypeEnum.d.ts +3 -1
  33. package/api/types/SecretTypeEnum.js +1 -0
  34. package/api/types/SlimDocument.d.ts +1 -1
  35. package/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
  36. package/api/types/SlimReleaseReview.d.ts +2 -2
  37. package/api/types/SlimWorkflowDeployment.d.ts +2 -2
  38. package/api/types/TestCaseArrayVariableValue.d.ts +1 -1
  39. package/api/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
  40. package/api/types/TestCaseErrorVariableValue.d.ts +1 -1
  41. package/api/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
  42. package/api/types/TestCaseJsonVariableValue.d.ts +1 -1
  43. package/api/types/TestCaseNumberVariableValue.d.ts +1 -1
  44. package/api/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
  45. package/api/types/TestCaseStringVariableValue.d.ts +1 -1
  46. package/api/types/TestSuiteRunRead.d.ts +2 -2
  47. package/api/types/WorkflowDeploymentRead.d.ts +2 -2
  48. package/api/types/WorkflowDeploymentRelease.d.ts +2 -2
  49. package/api/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
  50. package/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
  51. package/api/types/WorkflowSandboxExample.d.ts +1 -1
  52. package/api/types/WorkspaceRead.d.ts +3 -3
  53. package/api/types/WorkspaceSecretRead.d.ts +2 -2
  54. package/dist/Client.js +11 -11
  55. package/dist/api/resources/adHoc/client/Client.js +2 -2
  56. package/dist/api/resources/containerImages/client/Client.js +4 -4
  57. package/dist/api/resources/deployments/client/Client.js +8 -8
  58. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  59. package/dist/api/resources/documents/client/Client.js +5 -5
  60. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  61. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  62. package/dist/api/resources/mlModels/client/Client.js +1 -1
  63. package/dist/api/resources/organizations/client/Client.js +1 -1
  64. package/dist/api/resources/prompts/client/Client.js +2 -2
  65. package/dist/api/resources/releaseReviews/client/Client.js +1 -1
  66. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  67. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  68. package/dist/api/resources/testSuites/client/Client.js +4 -4
  69. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  70. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  71. package/dist/api/resources/workflows/client/Client.js +2 -2
  72. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  73. package/dist/api/resources/workspaces/client/Client.js +1 -1
  74. package/dist/api/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
  75. package/dist/api/types/DocumentIndexRead.d.ts +2 -2
  76. package/dist/api/types/DocumentRead.d.ts +1 -1
  77. package/dist/api/types/MetricDefinitionHistoryItem.d.ts +2 -2
  78. package/dist/api/types/MlModelRead.d.ts +1 -1
  79. package/dist/api/types/PromptDeploymentRelease.d.ts +2 -2
  80. package/dist/api/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
  81. package/dist/api/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
  82. package/dist/api/types/ReleaseCreatedBy.d.ts +1 -1
  83. package/dist/api/types/ReleaseEnvironment.d.ts +1 -1
  84. package/dist/api/types/ReleaseReviewReviewer.d.ts +1 -1
  85. package/dist/api/types/SecretTypeEnum.d.ts +3 -1
  86. package/dist/api/types/SecretTypeEnum.js +1 -0
  87. package/dist/api/types/SlimDocument.d.ts +1 -1
  88. package/dist/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
  89. package/dist/api/types/SlimReleaseReview.d.ts +2 -2
  90. package/dist/api/types/SlimWorkflowDeployment.d.ts +2 -2
  91. package/dist/api/types/TestCaseArrayVariableValue.d.ts +1 -1
  92. package/dist/api/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
  93. package/dist/api/types/TestCaseErrorVariableValue.d.ts +1 -1
  94. package/dist/api/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
  95. package/dist/api/types/TestCaseJsonVariableValue.d.ts +1 -1
  96. package/dist/api/types/TestCaseNumberVariableValue.d.ts +1 -1
  97. package/dist/api/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
  98. package/dist/api/types/TestCaseStringVariableValue.d.ts +1 -1
  99. package/dist/api/types/TestSuiteRunRead.d.ts +2 -2
  100. package/dist/api/types/WorkflowDeploymentRead.d.ts +2 -2
  101. package/dist/api/types/WorkflowDeploymentRelease.d.ts +2 -2
  102. package/dist/api/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
  103. package/dist/api/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
  104. package/dist/api/types/WorkflowSandboxExample.d.ts +1 -1
  105. package/dist/api/types/WorkspaceRead.d.ts +3 -3
  106. package/dist/api/types/WorkspaceSecretRead.d.ts +2 -2
  107. package/dist/serialization/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
  108. package/dist/serialization/types/DocumentDocumentToDocumentIndex.js +3 -3
  109. package/dist/serialization/types/DocumentIndexRead.d.ts +2 -2
  110. package/dist/serialization/types/DocumentIndexRead.js +2 -2
  111. package/dist/serialization/types/DocumentRead.d.ts +1 -1
  112. package/dist/serialization/types/DocumentRead.js +1 -1
  113. package/dist/serialization/types/MetricDefinitionHistoryItem.d.ts +2 -2
  114. package/dist/serialization/types/MetricDefinitionHistoryItem.js +2 -2
  115. package/dist/serialization/types/MlModelRead.d.ts +1 -1
  116. package/dist/serialization/types/MlModelRead.js +1 -1
  117. package/dist/serialization/types/PromptDeploymentRelease.d.ts +2 -2
  118. package/dist/serialization/types/PromptDeploymentRelease.js +2 -2
  119. package/dist/serialization/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
  120. package/dist/serialization/types/PromptDeploymentReleasePromptDeployment.js +1 -1
  121. package/dist/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
  122. package/dist/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -2
  123. package/dist/serialization/types/ReleaseCreatedBy.d.ts +1 -1
  124. package/dist/serialization/types/ReleaseCreatedBy.js +1 -1
  125. package/dist/serialization/types/ReleaseEnvironment.d.ts +1 -1
  126. package/dist/serialization/types/ReleaseEnvironment.js +1 -1
  127. package/dist/serialization/types/ReleaseReviewReviewer.d.ts +1 -1
  128. package/dist/serialization/types/ReleaseReviewReviewer.js +1 -1
  129. package/dist/serialization/types/SecretTypeEnum.d.ts +1 -1
  130. package/dist/serialization/types/SecretTypeEnum.js +1 -1
  131. package/dist/serialization/types/SlimDocument.d.ts +1 -1
  132. package/dist/serialization/types/SlimDocument.js +1 -1
  133. package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
  134. package/dist/serialization/types/SlimDocumentDocumentToDocumentIndex.js +3 -3
  135. package/dist/serialization/types/SlimReleaseReview.d.ts +2 -2
  136. package/dist/serialization/types/SlimReleaseReview.js +2 -2
  137. package/dist/serialization/types/SlimWorkflowDeployment.d.ts +2 -2
  138. package/dist/serialization/types/SlimWorkflowDeployment.js +2 -2
  139. package/dist/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
  140. package/dist/serialization/types/TestCaseArrayVariableValue.js +1 -1
  141. package/dist/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
  142. package/dist/serialization/types/TestCaseChatHistoryVariableValue.js +1 -1
  143. package/dist/serialization/types/TestCaseErrorVariableValue.d.ts +1 -1
  144. package/dist/serialization/types/TestCaseErrorVariableValue.js +1 -1
  145. package/dist/serialization/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
  146. package/dist/serialization/types/TestCaseFunctionCallVariableValue.js +1 -1
  147. package/dist/serialization/types/TestCaseJsonVariableValue.d.ts +1 -1
  148. package/dist/serialization/types/TestCaseJsonVariableValue.js +1 -1
  149. package/dist/serialization/types/TestCaseNumberVariableValue.d.ts +1 -1
  150. package/dist/serialization/types/TestCaseNumberVariableValue.js +1 -1
  151. package/dist/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
  152. package/dist/serialization/types/TestCaseSearchResultsVariableValue.js +1 -1
  153. package/dist/serialization/types/TestCaseStringVariableValue.d.ts +1 -1
  154. package/dist/serialization/types/TestCaseStringVariableValue.js +1 -1
  155. package/dist/serialization/types/TestSuiteRunRead.d.ts +2 -2
  156. package/dist/serialization/types/TestSuiteRunRead.js +2 -2
  157. package/dist/serialization/types/WorkflowDeploymentRead.d.ts +2 -2
  158. package/dist/serialization/types/WorkflowDeploymentRead.js +2 -2
  159. package/dist/serialization/types/WorkflowDeploymentRelease.d.ts +2 -2
  160. package/dist/serialization/types/WorkflowDeploymentRelease.js +2 -2
  161. package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
  162. package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.js +1 -1
  163. package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
  164. package/dist/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +3 -3
  165. package/dist/serialization/types/WorkflowSandboxExample.d.ts +1 -1
  166. package/dist/serialization/types/WorkflowSandboxExample.js +1 -1
  167. package/dist/serialization/types/WorkspaceRead.d.ts +3 -3
  168. package/dist/serialization/types/WorkspaceRead.js +3 -3
  169. package/dist/serialization/types/WorkspaceSecretRead.d.ts +2 -2
  170. package/dist/serialization/types/WorkspaceSecretRead.js +2 -2
  171. package/dist/version.d.ts +1 -1
  172. package/dist/version.js +1 -1
  173. package/package.json +1 -1
  174. package/serialization/types/DocumentDocumentToDocumentIndex.d.ts +3 -3
  175. package/serialization/types/DocumentDocumentToDocumentIndex.js +3 -3
  176. package/serialization/types/DocumentIndexRead.d.ts +2 -2
  177. package/serialization/types/DocumentIndexRead.js +2 -2
  178. package/serialization/types/DocumentRead.d.ts +1 -1
  179. package/serialization/types/DocumentRead.js +1 -1
  180. package/serialization/types/MetricDefinitionHistoryItem.d.ts +2 -2
  181. package/serialization/types/MetricDefinitionHistoryItem.js +2 -2
  182. package/serialization/types/MlModelRead.d.ts +1 -1
  183. package/serialization/types/MlModelRead.js +1 -1
  184. package/serialization/types/PromptDeploymentRelease.d.ts +2 -2
  185. package/serialization/types/PromptDeploymentRelease.js +2 -2
  186. package/serialization/types/PromptDeploymentReleasePromptDeployment.d.ts +1 -1
  187. package/serialization/types/PromptDeploymentReleasePromptDeployment.js +1 -1
  188. package/serialization/types/PromptDeploymentReleasePromptVersion.d.ts +2 -2
  189. package/serialization/types/PromptDeploymentReleasePromptVersion.js +2 -2
  190. package/serialization/types/ReleaseCreatedBy.d.ts +1 -1
  191. package/serialization/types/ReleaseCreatedBy.js +1 -1
  192. package/serialization/types/ReleaseEnvironment.d.ts +1 -1
  193. package/serialization/types/ReleaseEnvironment.js +1 -1
  194. package/serialization/types/ReleaseReviewReviewer.d.ts +1 -1
  195. package/serialization/types/ReleaseReviewReviewer.js +1 -1
  196. package/serialization/types/SecretTypeEnum.d.ts +1 -1
  197. package/serialization/types/SecretTypeEnum.js +1 -1
  198. package/serialization/types/SlimDocument.d.ts +1 -1
  199. package/serialization/types/SlimDocument.js +1 -1
  200. package/serialization/types/SlimDocumentDocumentToDocumentIndex.d.ts +3 -3
  201. package/serialization/types/SlimDocumentDocumentToDocumentIndex.js +3 -3
  202. package/serialization/types/SlimReleaseReview.d.ts +2 -2
  203. package/serialization/types/SlimReleaseReview.js +2 -2
  204. package/serialization/types/SlimWorkflowDeployment.d.ts +2 -2
  205. package/serialization/types/SlimWorkflowDeployment.js +2 -2
  206. package/serialization/types/TestCaseArrayVariableValue.d.ts +1 -1
  207. package/serialization/types/TestCaseArrayVariableValue.js +1 -1
  208. package/serialization/types/TestCaseChatHistoryVariableValue.d.ts +1 -1
  209. package/serialization/types/TestCaseChatHistoryVariableValue.js +1 -1
  210. package/serialization/types/TestCaseErrorVariableValue.d.ts +1 -1
  211. package/serialization/types/TestCaseErrorVariableValue.js +1 -1
  212. package/serialization/types/TestCaseFunctionCallVariableValue.d.ts +1 -1
  213. package/serialization/types/TestCaseFunctionCallVariableValue.js +1 -1
  214. package/serialization/types/TestCaseJsonVariableValue.d.ts +1 -1
  215. package/serialization/types/TestCaseJsonVariableValue.js +1 -1
  216. package/serialization/types/TestCaseNumberVariableValue.d.ts +1 -1
  217. package/serialization/types/TestCaseNumberVariableValue.js +1 -1
  218. package/serialization/types/TestCaseSearchResultsVariableValue.d.ts +1 -1
  219. package/serialization/types/TestCaseSearchResultsVariableValue.js +1 -1
  220. package/serialization/types/TestCaseStringVariableValue.d.ts +1 -1
  221. package/serialization/types/TestCaseStringVariableValue.js +1 -1
  222. package/serialization/types/TestSuiteRunRead.d.ts +2 -2
  223. package/serialization/types/TestSuiteRunRead.js +2 -2
  224. package/serialization/types/WorkflowDeploymentRead.d.ts +2 -2
  225. package/serialization/types/WorkflowDeploymentRead.js +2 -2
  226. package/serialization/types/WorkflowDeploymentRelease.d.ts +2 -2
  227. package/serialization/types/WorkflowDeploymentRelease.js +2 -2
  228. package/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.d.ts +1 -1
  229. package/serialization/types/WorkflowDeploymentReleaseWorkflowDeployment.js +1 -1
  230. package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.d.ts +3 -3
  231. package/serialization/types/WorkflowDeploymentReleaseWorkflowVersion.js +3 -3
  232. package/serialization/types/WorkflowSandboxExample.d.ts +1 -1
  233. package/serialization/types/WorkflowSandboxExample.js +1 -1
  234. package/serialization/types/WorkspaceRead.d.ts +3 -3
  235. package/serialization/types/WorkspaceRead.js +3 -3
  236. package/serialization/types/WorkspaceSecretRead.d.ts +2 -2
  237. package/serialization/types/WorkspaceSecretRead.js +2 -2
  238. package/version.d.ts +1 -1
  239. package/version.js +1 -1
@@ -40,7 +40,7 @@ exports.WorkflowDeploymentReleaseWorkflowVersion = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const VellumVariable_1 = require("./VellumVariable");
42
42
  exports.WorkflowDeploymentReleaseWorkflowVersion = core.serialization.object({
43
- id: core.serialization.string().optional(),
44
- inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable).optional()),
45
- outputVariables: core.serialization.property("output_variables", core.serialization.list(VellumVariable_1.VellumVariable).optional()),
43
+ id: core.serialization.string(),
44
+ inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
45
+ outputVariables: core.serialization.property("output_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
46
46
  });
@@ -8,7 +8,7 @@ export declare const WorkflowSandboxExample: core.serialization.ObjectSchema<ser
8
8
  export declare namespace WorkflowSandboxExample {
9
9
  interface Raw {
10
10
  id: string;
11
- label?: string | null;
11
+ label: string;
12
12
  description?: (string | null) | null;
13
13
  icon_name?: (string | null) | null;
14
14
  }
@@ -40,7 +40,7 @@ exports.WorkflowSandboxExample = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.WorkflowSandboxExample = core.serialization.object({
42
42
  id: core.serialization.string(),
43
- label: core.serialization.string().optional(),
43
+ label: core.serialization.string(),
44
44
  description: core.serialization.string().optionalNullable(),
45
45
  iconName: core.serialization.property("icon_name", core.serialization.string().optionalNullable()),
46
46
  });
@@ -7,9 +7,9 @@ import * as core from "../../core";
7
7
  export declare const WorkspaceRead: core.serialization.ObjectSchema<serializers.WorkspaceRead.Raw, Vellum.WorkspaceRead>;
8
8
  export declare namespace WorkspaceRead {
9
9
  interface Raw {
10
- id?: string | null;
10
+ id: string;
11
11
  name: string;
12
- label?: string | null;
13
- created?: string | null;
12
+ label: string;
13
+ created: string;
14
14
  }
15
15
  }
@@ -39,8 +39,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.WorkspaceRead = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.WorkspaceRead = core.serialization.object({
42
- id: core.serialization.string().optional(),
42
+ id: core.serialization.string(),
43
43
  name: core.serialization.string(),
44
- label: core.serialization.string().optional(),
45
- created: core.serialization.date().optional(),
44
+ label: core.serialization.string(),
45
+ created: core.serialization.date(),
46
46
  });
@@ -8,8 +8,8 @@ import { SecretTypeEnum } from "./SecretTypeEnum";
8
8
  export declare const WorkspaceSecretRead: core.serialization.ObjectSchema<serializers.WorkspaceSecretRead.Raw, Vellum.WorkspaceSecretRead>;
9
9
  export declare namespace WorkspaceSecretRead {
10
10
  interface Raw {
11
- id?: string | null;
12
- modified?: string | null;
11
+ id: string;
12
+ modified: string;
13
13
  name: string;
14
14
  label: string;
15
15
  secret_type: SecretTypeEnum.Raw;
@@ -40,8 +40,8 @@ exports.WorkspaceSecretRead = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const SecretTypeEnum_1 = require("./SecretTypeEnum");
42
42
  exports.WorkspaceSecretRead = core.serialization.object({
43
- id: core.serialization.string().optional(),
44
- modified: core.serialization.date().optional(),
43
+ id: core.serialization.string(),
44
+ modified: core.serialization.date(),
45
45
  name: core.serialization.string(),
46
46
  label: core.serialization.string(),
47
47
  secretType: core.serialization.property("secret_type", SecretTypeEnum_1.SecretTypeEnum),
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.14.73";
1
+ export declare const SDK_VERSION = "0.14.74";
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 = "0.14.73";
4
+ exports.SDK_VERSION = "0.14.74";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "0.14.73",
3
+ "version": "0.14.74",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
@@ -8,9 +8,9 @@ import { IndexingStateEnum } from "./IndexingStateEnum";
8
8
  export declare const DocumentDocumentToDocumentIndex: core.serialization.ObjectSchema<serializers.DocumentDocumentToDocumentIndex.Raw, Vellum.DocumentDocumentToDocumentIndex>;
9
9
  export declare namespace DocumentDocumentToDocumentIndex {
10
10
  interface Raw {
11
- id?: string | null;
12
- environment_document_index_id?: string | null;
13
- document_index_id?: string | null;
11
+ id: string;
12
+ environment_document_index_id: string;
13
+ document_index_id: string;
14
14
  indexing_state?: IndexingStateEnum.Raw | null;
15
15
  extracted_text_file_url?: (string | null) | null;
16
16
  }
@@ -40,9 +40,9 @@ exports.DocumentDocumentToDocumentIndex = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const IndexingStateEnum_1 = require("./IndexingStateEnum");
42
42
  exports.DocumentDocumentToDocumentIndex = core.serialization.object({
43
- id: core.serialization.string().optional(),
44
- environmentDocumentIndexId: core.serialization.property("environment_document_index_id", core.serialization.string().optional()),
45
- documentIndexId: core.serialization.property("document_index_id", core.serialization.string().optional()),
43
+ id: core.serialization.string(),
44
+ environmentDocumentIndexId: core.serialization.property("environment_document_index_id", core.serialization.string()),
45
+ documentIndexId: core.serialization.property("document_index_id", core.serialization.string()),
46
46
  indexingState: core.serialization.property("indexing_state", IndexingStateEnum_1.IndexingStateEnum.optional()),
47
47
  extractedTextFileUrl: core.serialization.property("extracted_text_file_url", core.serialization.string().optionalNullable()),
48
48
  });
@@ -9,8 +9,8 @@ import { DocumentIndexIndexingConfig } from "./DocumentIndexIndexingConfig";
9
9
  export declare const DocumentIndexRead: core.serialization.ObjectSchema<serializers.DocumentIndexRead.Raw, Vellum.DocumentIndexRead>;
10
10
  export declare namespace DocumentIndexRead {
11
11
  interface Raw {
12
- id?: string | null;
13
- created?: string | null;
12
+ id: string;
13
+ created: string;
14
14
  label: string;
15
15
  name: string;
16
16
  status?: EntityStatus.Raw | null;
@@ -41,8 +41,8 @@ const core = __importStar(require("../../core"));
41
41
  const EntityStatus_1 = require("./EntityStatus");
42
42
  const DocumentIndexIndexingConfig_1 = require("./DocumentIndexIndexingConfig");
43
43
  exports.DocumentIndexRead = core.serialization.object({
44
- id: core.serialization.string().optional(),
45
- created: core.serialization.date().optional(),
44
+ id: core.serialization.string(),
45
+ created: core.serialization.date(),
46
46
  label: core.serialization.string(),
47
47
  name: core.serialization.string(),
48
48
  status: EntityStatus_1.EntityStatus.optional(),
@@ -10,7 +10,7 @@ import { DocumentDocumentToDocumentIndex } from "./DocumentDocumentToDocumentInd
10
10
  export declare const DocumentRead: core.serialization.ObjectSchema<serializers.DocumentRead.Raw, Vellum.DocumentRead>;
11
11
  export declare namespace DocumentRead {
12
12
  interface Raw {
13
- id?: string | null;
13
+ id: string;
14
14
  external_id?: (string | null) | null;
15
15
  last_uploaded_at: string;
16
16
  label: string;
@@ -42,7 +42,7 @@ const DocumentProcessingState_1 = require("./DocumentProcessingState");
42
42
  const DocumentStatus_1 = require("./DocumentStatus");
43
43
  const DocumentDocumentToDocumentIndex_1 = require("./DocumentDocumentToDocumentIndex");
44
44
  exports.DocumentRead = core.serialization.object({
45
- id: core.serialization.string().optional(),
45
+ id: core.serialization.string(),
46
46
  externalId: core.serialization.property("external_id", core.serialization.string().optionalNullable()),
47
47
  lastUploadedAt: core.serialization.property("last_uploaded_at", core.serialization.date()),
48
48
  label: core.serialization.string(),
@@ -12,7 +12,7 @@ export declare namespace MetricDefinitionHistoryItem {
12
12
  label: string;
13
13
  name: string;
14
14
  description: string;
15
- input_variables?: VellumVariable.Raw[] | null;
16
- output_variables?: VellumVariable.Raw[] | null;
15
+ input_variables: VellumVariable.Raw[];
16
+ output_variables: VellumVariable.Raw[];
17
17
  }
18
18
  }
@@ -44,6 +44,6 @@ exports.MetricDefinitionHistoryItem = core.serialization.object({
44
44
  label: core.serialization.string(),
45
45
  name: core.serialization.string(),
46
46
  description: core.serialization.string(),
47
- inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable).optional()),
48
- outputVariables: core.serialization.property("output_variables", core.serialization.list(VellumVariable_1.VellumVariable).optional()),
47
+ inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
48
+ outputVariables: core.serialization.property("output_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
49
49
  });
@@ -7,7 +7,7 @@ import * as core from "../../core";
7
7
  export declare const MlModelRead: core.serialization.ObjectSchema<serializers.MlModelRead.Raw, Vellum.MlModelRead>;
8
8
  export declare namespace MlModelRead {
9
9
  interface Raw {
10
- id?: string | null;
10
+ id: string;
11
11
  name: string;
12
12
  }
13
13
  }
@@ -39,6 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.MlModelRead = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.MlModelRead = core.serialization.object({
42
- id: core.serialization.string().optional(),
42
+ id: core.serialization.string(),
43
43
  name: core.serialization.string(),
44
44
  });
@@ -13,8 +13,8 @@ import { SlimReleaseReview } from "./SlimReleaseReview";
13
13
  export declare const PromptDeploymentRelease: core.serialization.ObjectSchema<serializers.PromptDeploymentRelease.Raw, Vellum.PromptDeploymentRelease>;
14
14
  export declare namespace PromptDeploymentRelease {
15
15
  interface Raw {
16
- id?: string | null;
17
- created?: string | null;
16
+ id: string;
17
+ created: string;
18
18
  environment: ReleaseEnvironment.Raw;
19
19
  created_by?: (ReleaseCreatedBy.Raw | null) | null;
20
20
  prompt_version: PromptDeploymentReleasePromptVersion.Raw;
@@ -45,8 +45,8 @@ const PromptDeploymentReleasePromptDeployment_1 = require("./PromptDeploymentRel
45
45
  const ReleaseReleaseTag_1 = require("./ReleaseReleaseTag");
46
46
  const SlimReleaseReview_1 = require("./SlimReleaseReview");
47
47
  exports.PromptDeploymentRelease = core.serialization.object({
48
- id: core.serialization.string().optional(),
49
- created: core.serialization.date().optional(),
48
+ id: core.serialization.string(),
49
+ created: core.serialization.date(),
50
50
  environment: ReleaseEnvironment_1.ReleaseEnvironment,
51
51
  createdBy: core.serialization.property("created_by", ReleaseCreatedBy_1.ReleaseCreatedBy.optionalNullable()),
52
52
  promptVersion: core.serialization.property("prompt_version", PromptDeploymentReleasePromptVersion_1.PromptDeploymentReleasePromptVersion),
@@ -7,6 +7,6 @@ import * as core from "../../core";
7
7
  export declare const PromptDeploymentReleasePromptDeployment: core.serialization.ObjectSchema<serializers.PromptDeploymentReleasePromptDeployment.Raw, Vellum.PromptDeploymentReleasePromptDeployment>;
8
8
  export declare namespace PromptDeploymentReleasePromptDeployment {
9
9
  interface Raw {
10
- name?: string | null;
10
+ name: string;
11
11
  }
12
12
  }
@@ -39,5 +39,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.PromptDeploymentReleasePromptDeployment = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.PromptDeploymentReleasePromptDeployment = core.serialization.object({
42
- name: core.serialization.string().optional(),
42
+ name: core.serialization.string(),
43
43
  });
@@ -8,7 +8,7 @@ import { ComponentsSchemasPromptVersionBuildConfigSandbox } from "./ComponentsSc
8
8
  export declare const PromptDeploymentReleasePromptVersion: core.serialization.ObjectSchema<serializers.PromptDeploymentReleasePromptVersion.Raw, Vellum.PromptDeploymentReleasePromptVersion>;
9
9
  export declare namespace PromptDeploymentReleasePromptVersion {
10
10
  interface Raw {
11
- id?: string | null;
12
- build_config?: ComponentsSchemasPromptVersionBuildConfigSandbox.Raw | null;
11
+ id: string;
12
+ build_config: ComponentsSchemasPromptVersionBuildConfigSandbox.Raw;
13
13
  }
14
14
  }
@@ -40,6 +40,6 @@ exports.PromptDeploymentReleasePromptVersion = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const ComponentsSchemasPromptVersionBuildConfigSandbox_1 = require("./ComponentsSchemasPromptVersionBuildConfigSandbox");
42
42
  exports.PromptDeploymentReleasePromptVersion = core.serialization.object({
43
- id: core.serialization.string().optional(),
44
- buildConfig: core.serialization.property("build_config", ComponentsSchemasPromptVersionBuildConfigSandbox_1.ComponentsSchemasPromptVersionBuildConfigSandbox.optional()),
43
+ id: core.serialization.string(),
44
+ buildConfig: core.serialization.property("build_config", ComponentsSchemasPromptVersionBuildConfigSandbox_1.ComponentsSchemasPromptVersionBuildConfigSandbox),
45
45
  });
@@ -7,7 +7,7 @@ import * as core from "../../core";
7
7
  export declare const ReleaseCreatedBy: core.serialization.ObjectSchema<serializers.ReleaseCreatedBy.Raw, Vellum.ReleaseCreatedBy>;
8
8
  export declare namespace ReleaseCreatedBy {
9
9
  interface Raw {
10
- id?: string | null;
10
+ id: string;
11
11
  full_name?: string | null;
12
12
  email: string;
13
13
  }
@@ -39,7 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ReleaseCreatedBy = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.ReleaseCreatedBy = core.serialization.object({
42
- id: core.serialization.string().optional(),
42
+ id: core.serialization.string(),
43
43
  fullName: core.serialization.property("full_name", core.serialization.string().optional()),
44
44
  email: core.serialization.string(),
45
45
  });
@@ -7,7 +7,7 @@ import * as core from "../../core";
7
7
  export declare const ReleaseEnvironment: core.serialization.ObjectSchema<serializers.ReleaseEnvironment.Raw, Vellum.ReleaseEnvironment>;
8
8
  export declare namespace ReleaseEnvironment {
9
9
  interface Raw {
10
- id?: string | null;
10
+ id: string;
11
11
  name: string;
12
12
  label: string;
13
13
  }
@@ -39,7 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ReleaseEnvironment = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.ReleaseEnvironment = core.serialization.object({
42
- id: core.serialization.string().optional(),
42
+ id: core.serialization.string(),
43
43
  name: core.serialization.string(),
44
44
  label: core.serialization.string(),
45
45
  });
@@ -7,7 +7,7 @@ import * as core from "../../core";
7
7
  export declare const ReleaseReviewReviewer: core.serialization.ObjectSchema<serializers.ReleaseReviewReviewer.Raw, Vellum.ReleaseReviewReviewer>;
8
8
  export declare namespace ReleaseReviewReviewer {
9
9
  interface Raw {
10
- id?: string | null;
10
+ id: string;
11
11
  full_name?: string | null;
12
12
  }
13
13
  }
@@ -39,6 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ReleaseReviewReviewer = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.ReleaseReviewReviewer = core.serialization.object({
42
- id: core.serialization.string().optional(),
42
+ id: core.serialization.string(),
43
43
  fullName: core.serialization.property("full_name", core.serialization.string().optional()),
44
44
  });
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const SecretTypeEnum: core.serialization.Schema<serializers.SecretTypeEnum.Raw, Vellum.SecretTypeEnum>;
8
8
  export declare namespace SecretTypeEnum {
9
- type Raw = "USER_DEFINED" | "HMAC" | "INTERNAL_API_KEY";
9
+ type Raw = "USER_DEFINED" | "HMAC" | "INTERNAL_API_KEY" | "EXTERNALLY_PROVISIONED";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.SecretTypeEnum = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- exports.SecretTypeEnum = core.serialization.enum_(["USER_DEFINED", "HMAC", "INTERNAL_API_KEY"]);
41
+ exports.SecretTypeEnum = core.serialization.enum_(["USER_DEFINED", "HMAC", "INTERNAL_API_KEY", "EXTERNALLY_PROVISIONED"]);
@@ -11,7 +11,7 @@ import { SlimDocumentDocumentToDocumentIndex } from "./SlimDocumentDocumentToDoc
11
11
  export declare const SlimDocument: core.serialization.ObjectSchema<serializers.SlimDocument.Raw, Vellum.SlimDocument>;
12
12
  export declare namespace SlimDocument {
13
13
  interface Raw {
14
- id?: string | null;
14
+ id: string;
15
15
  external_id?: (string | null) | null;
16
16
  last_uploaded_at: string;
17
17
  label: string;
@@ -43,7 +43,7 @@ const ProcessingFailureReasonEnum_1 = require("./ProcessingFailureReasonEnum");
43
43
  const DocumentStatus_1 = require("./DocumentStatus");
44
44
  const SlimDocumentDocumentToDocumentIndex_1 = require("./SlimDocumentDocumentToDocumentIndex");
45
45
  exports.SlimDocument = core.serialization.object({
46
- id: core.serialization.string().optional(),
46
+ id: core.serialization.string(),
47
47
  externalId: core.serialization.property("external_id", core.serialization.string().optionalNullable()),
48
48
  lastUploadedAt: core.serialization.property("last_uploaded_at", core.serialization.date()),
49
49
  label: core.serialization.string(),
@@ -8,9 +8,9 @@ import { IndexingStateEnum } from "./IndexingStateEnum";
8
8
  export declare const SlimDocumentDocumentToDocumentIndex: core.serialization.ObjectSchema<serializers.SlimDocumentDocumentToDocumentIndex.Raw, Vellum.SlimDocumentDocumentToDocumentIndex>;
9
9
  export declare namespace SlimDocumentDocumentToDocumentIndex {
10
10
  interface Raw {
11
- id?: string | null;
12
- environment_document_index_id?: string | null;
13
- document_index_id?: string | null;
11
+ id: string;
12
+ environment_document_index_id: string;
13
+ document_index_id: string;
14
14
  indexing_state?: IndexingStateEnum.Raw | null;
15
15
  }
16
16
  }
@@ -40,8 +40,8 @@ exports.SlimDocumentDocumentToDocumentIndex = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const IndexingStateEnum_1 = require("./IndexingStateEnum");
42
42
  exports.SlimDocumentDocumentToDocumentIndex = core.serialization.object({
43
- id: core.serialization.string().optional(),
44
- environmentDocumentIndexId: core.serialization.property("environment_document_index_id", core.serialization.string().optional()),
45
- documentIndexId: core.serialization.property("document_index_id", core.serialization.string().optional()),
43
+ id: core.serialization.string(),
44
+ environmentDocumentIndexId: core.serialization.property("environment_document_index_id", core.serialization.string()),
45
+ documentIndexId: core.serialization.property("document_index_id", core.serialization.string()),
46
46
  indexingState: core.serialization.property("indexing_state", IndexingStateEnum_1.IndexingStateEnum.optional()),
47
47
  });
@@ -9,8 +9,8 @@ import { ReleaseReviewState } from "./ReleaseReviewState";
9
9
  export declare const SlimReleaseReview: core.serialization.ObjectSchema<serializers.SlimReleaseReview.Raw, Vellum.SlimReleaseReview>;
10
10
  export declare namespace SlimReleaseReview {
11
11
  interface Raw {
12
- id?: string | null;
13
- created?: string | null;
12
+ id: string;
13
+ created: string;
14
14
  reviewer: ReleaseReviewReviewer.Raw;
15
15
  state: ReleaseReviewState.Raw;
16
16
  }
@@ -41,8 +41,8 @@ const core = __importStar(require("../../core"));
41
41
  const ReleaseReviewReviewer_1 = require("./ReleaseReviewReviewer");
42
42
  const ReleaseReviewState_1 = require("./ReleaseReviewState");
43
43
  exports.SlimReleaseReview = core.serialization.object({
44
- id: core.serialization.string().optional(),
45
- created: core.serialization.date().optional(),
44
+ id: core.serialization.string(),
45
+ created: core.serialization.date(),
46
46
  reviewer: ReleaseReviewReviewer_1.ReleaseReviewReviewer,
47
47
  state: ReleaseReviewState_1.ReleaseReviewState,
48
48
  });
@@ -10,12 +10,12 @@ import { VellumVariable } from "./VellumVariable";
10
10
  export declare const SlimWorkflowDeployment: core.serialization.ObjectSchema<serializers.SlimWorkflowDeployment.Raw, Vellum.SlimWorkflowDeployment>;
11
11
  export declare namespace SlimWorkflowDeployment {
12
12
  interface Raw {
13
- id?: string | null;
13
+ id: string;
14
14
  name: string;
15
15
  label: string;
16
16
  status?: EntityStatus.Raw | null;
17
17
  environment?: EnvironmentEnum.Raw | null;
18
- created?: string | null;
18
+ created: string;
19
19
  last_deployed_on: string;
20
20
  input_variables: VellumVariable.Raw[];
21
21
  output_variables: VellumVariable.Raw[];
@@ -42,12 +42,12 @@ const EntityStatus_1 = require("./EntityStatus");
42
42
  const EnvironmentEnum_1 = require("./EnvironmentEnum");
43
43
  const VellumVariable_1 = require("./VellumVariable");
44
44
  exports.SlimWorkflowDeployment = core.serialization.object({
45
- id: core.serialization.string().optional(),
45
+ id: core.serialization.string(),
46
46
  name: core.serialization.string(),
47
47
  label: core.serialization.string(),
48
48
  status: EntityStatus_1.EntityStatus.optional(),
49
49
  environment: EnvironmentEnum_1.EnvironmentEnum.optional(),
50
- created: core.serialization.date().optional(),
50
+ created: core.serialization.date(),
51
51
  lastDeployedOn: core.serialization.property("last_deployed_on", core.serialization.date()),
52
52
  inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
53
53
  outputVariables: core.serialization.property("output_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
@@ -8,7 +8,7 @@ export declare const TestCaseArrayVariableValue: core.serialization.ObjectSchema
8
8
  export declare namespace TestCaseArrayVariableValue {
9
9
  interface Raw {
10
10
  variable_id: string;
11
- name?: string | null;
11
+ name: string;
12
12
  type: "ARRAY";
13
13
  value?: (serializers.VellumValue.Raw[] | null) | null;
14
14
  }
@@ -41,7 +41,7 @@ const serializers = __importStar(require("../index"));
41
41
  const core = __importStar(require("../../core"));
42
42
  exports.TestCaseArrayVariableValue = core.serialization.object({
43
43
  variableId: core.serialization.property("variable_id", core.serialization.string()),
44
- name: core.serialization.string().optional(),
44
+ name: core.serialization.string(),
45
45
  type: core.serialization.stringLiteral("ARRAY"),
46
46
  value: core.serialization.list(core.serialization.lazy(() => serializers.VellumValue)).optionalNullable(),
47
47
  });
@@ -9,7 +9,7 @@ export declare const TestCaseChatHistoryVariableValue: core.serialization.Object
9
9
  export declare namespace TestCaseChatHistoryVariableValue {
10
10
  interface Raw {
11
11
  variable_id: string;
12
- name?: string | null;
12
+ name: string;
13
13
  type: "CHAT_HISTORY";
14
14
  value?: (ChatMessage.Raw[] | null) | null;
15
15
  }
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
41
41
  const ChatMessage_1 = require("./ChatMessage");
42
42
  exports.TestCaseChatHistoryVariableValue = core.serialization.object({
43
43
  variableId: core.serialization.property("variable_id", core.serialization.string()),
44
- name: core.serialization.string().optional(),
44
+ name: core.serialization.string(),
45
45
  type: core.serialization.stringLiteral("CHAT_HISTORY"),
46
46
  value: core.serialization.list(ChatMessage_1.ChatMessage).optionalNullable(),
47
47
  });
@@ -9,7 +9,7 @@ export declare const TestCaseErrorVariableValue: core.serialization.ObjectSchema
9
9
  export declare namespace TestCaseErrorVariableValue {
10
10
  interface Raw {
11
11
  variable_id: string;
12
- name?: string | null;
12
+ name: string;
13
13
  type: "ERROR";
14
14
  value?: (VellumError.Raw | null) | null;
15
15
  }
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
41
41
  const VellumError_1 = require("./VellumError");
42
42
  exports.TestCaseErrorVariableValue = core.serialization.object({
43
43
  variableId: core.serialization.property("variable_id", core.serialization.string()),
44
- name: core.serialization.string().optional(),
44
+ name: core.serialization.string(),
45
45
  type: core.serialization.stringLiteral("ERROR"),
46
46
  value: VellumError_1.VellumError.optionalNullable(),
47
47
  });
@@ -9,7 +9,7 @@ export declare const TestCaseFunctionCallVariableValue: core.serialization.Objec
9
9
  export declare namespace TestCaseFunctionCallVariableValue {
10
10
  interface Raw {
11
11
  variable_id: string;
12
- name?: string | null;
12
+ name: string;
13
13
  type: "FUNCTION_CALL";
14
14
  value?: (FunctionCall.Raw | null) | null;
15
15
  }
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
41
41
  const FunctionCall_1 = require("./FunctionCall");
42
42
  exports.TestCaseFunctionCallVariableValue = core.serialization.object({
43
43
  variableId: core.serialization.property("variable_id", core.serialization.string()),
44
- name: core.serialization.string().optional(),
44
+ name: core.serialization.string(),
45
45
  type: core.serialization.stringLiteral("FUNCTION_CALL"),
46
46
  value: FunctionCall_1.FunctionCall.optionalNullable(),
47
47
  });
@@ -8,7 +8,7 @@ export declare const TestCaseJsonVariableValue: core.serialization.ObjectSchema<
8
8
  export declare namespace TestCaseJsonVariableValue {
9
9
  interface Raw {
10
10
  variable_id: string;
11
- name?: string | null;
11
+ name: string;
12
12
  type: "JSON";
13
13
  value?: unknown;
14
14
  }
@@ -40,7 +40,7 @@ exports.TestCaseJsonVariableValue = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.TestCaseJsonVariableValue = core.serialization.object({
42
42
  variableId: core.serialization.property("variable_id", core.serialization.string()),
43
- name: core.serialization.string().optional(),
43
+ name: core.serialization.string(),
44
44
  type: core.serialization.stringLiteral("JSON"),
45
45
  value: core.serialization.unknown(),
46
46
  });
@@ -8,7 +8,7 @@ export declare const TestCaseNumberVariableValue: core.serialization.ObjectSchem
8
8
  export declare namespace TestCaseNumberVariableValue {
9
9
  interface Raw {
10
10
  variable_id: string;
11
- name?: string | null;
11
+ name: string;
12
12
  type: "NUMBER";
13
13
  value?: (number | null) | null;
14
14
  }
@@ -40,7 +40,7 @@ exports.TestCaseNumberVariableValue = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.TestCaseNumberVariableValue = core.serialization.object({
42
42
  variableId: core.serialization.property("variable_id", core.serialization.string()),
43
- name: core.serialization.string().optional(),
43
+ name: core.serialization.string(),
44
44
  type: core.serialization.stringLiteral("NUMBER"),
45
45
  value: core.serialization.number().optionalNullable(),
46
46
  });
@@ -9,7 +9,7 @@ export declare const TestCaseSearchResultsVariableValue: core.serialization.Obje
9
9
  export declare namespace TestCaseSearchResultsVariableValue {
10
10
  interface Raw {
11
11
  variable_id: string;
12
- name?: string | null;
12
+ name: string;
13
13
  type: "SEARCH_RESULTS";
14
14
  value?: (SearchResult.Raw[] | null) | null;
15
15
  }
@@ -41,7 +41,7 @@ const core = __importStar(require("../../core"));
41
41
  const SearchResult_1 = require("./SearchResult");
42
42
  exports.TestCaseSearchResultsVariableValue = core.serialization.object({
43
43
  variableId: core.serialization.property("variable_id", core.serialization.string()),
44
- name: core.serialization.string().optional(),
44
+ name: core.serialization.string(),
45
45
  type: core.serialization.stringLiteral("SEARCH_RESULTS"),
46
46
  value: core.serialization.list(SearchResult_1.SearchResult).optionalNullable(),
47
47
  });