vellum-ai 0.14.89 → 1.0.3

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 (159) hide show
  1. package/Client.d.ts +3 -0
  2. package/Client.js +24 -19
  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/folderEntities/client/Client.js +2 -2
  9. package/api/resources/index.d.ts +1 -0
  10. package/api/resources/index.js +2 -1
  11. package/api/resources/metricDefinitions/client/Client.js +2 -2
  12. package/api/resources/mlModels/client/Client.js +1 -1
  13. package/api/resources/organizations/client/Client.js +1 -1
  14. package/api/resources/prompts/client/Client.js +2 -2
  15. package/api/resources/releaseReviews/client/Client.js +1 -1
  16. package/api/resources/sandboxes/client/Client.js +3 -3
  17. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  18. package/api/resources/testSuites/client/Client.js +4 -4
  19. package/api/resources/workflowDeployments/client/Client.js +8 -8
  20. package/api/resources/workflowExecutions/client/Client.d.ts +44 -0
  21. package/api/resources/workflowExecutions/client/Client.js +131 -0
  22. package/api/resources/workflowExecutions/client/index.d.ts +1 -0
  23. package/api/resources/workflowExecutions/client/index.js +2 -0
  24. package/api/resources/workflowExecutions/index.d.ts +1 -0
  25. package/api/resources/workflowExecutions/index.js +17 -0
  26. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  27. package/api/resources/workflows/client/Client.js +2 -2
  28. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  29. package/api/resources/workspaces/client/Client.js +1 -1
  30. package/api/types/DeploymentRead.d.ts +1 -1
  31. package/api/types/NodeOutputCompiledThinkingValue.d.ts +13 -0
  32. package/api/types/NodeOutputCompiledThinkingValue.js +5 -0
  33. package/api/types/NodeOutputCompiledValue.d.ts +1 -1
  34. package/api/types/OrganizationLimitConfig.d.ts +10 -0
  35. package/api/types/OrganizationLimitConfig.js +5 -0
  36. package/api/types/OrganizationRead.d.ts +1 -0
  37. package/api/types/Quota.d.ts +8 -0
  38. package/api/types/Quota.js +5 -0
  39. package/api/types/SlimDeploymentRead.d.ts +1 -1
  40. package/api/types/SlimWorkflowDeployment.d.ts +1 -1
  41. package/api/types/VembdaServiceTierEnum.d.ts +12 -0
  42. package/api/types/VembdaServiceTierEnum.js +10 -0
  43. package/api/types/WorkflowDeploymentRead.d.ts +1 -1
  44. package/api/types/WorkflowExecutionActual.d.ts +1 -1
  45. package/api/types/WorkflowExecutionDetail.d.ts +16 -0
  46. package/api/types/WorkflowExecutionDetail.js +5 -0
  47. package/api/types/index.d.ts +5 -0
  48. package/api/types/index.js +5 -0
  49. package/dist/Client.d.ts +3 -0
  50. package/dist/Client.js +24 -19
  51. package/dist/api/resources/adHoc/client/Client.js +2 -2
  52. package/dist/api/resources/containerImages/client/Client.js +4 -4
  53. package/dist/api/resources/deployments/client/Client.js +8 -8
  54. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  55. package/dist/api/resources/documents/client/Client.js +5 -5
  56. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  57. package/dist/api/resources/index.d.ts +1 -0
  58. package/dist/api/resources/index.js +2 -1
  59. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  60. package/dist/api/resources/mlModels/client/Client.js +1 -1
  61. package/dist/api/resources/organizations/client/Client.js +1 -1
  62. package/dist/api/resources/prompts/client/Client.js +2 -2
  63. package/dist/api/resources/releaseReviews/client/Client.js +1 -1
  64. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  65. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  66. package/dist/api/resources/testSuites/client/Client.js +4 -4
  67. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  68. package/dist/api/resources/workflowExecutions/client/Client.d.ts +44 -0
  69. package/dist/api/resources/workflowExecutions/client/Client.js +131 -0
  70. package/dist/api/resources/workflowExecutions/client/index.d.ts +1 -0
  71. package/dist/api/resources/workflowExecutions/client/index.js +2 -0
  72. package/dist/api/resources/workflowExecutions/index.d.ts +1 -0
  73. package/dist/api/resources/workflowExecutions/index.js +17 -0
  74. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  75. package/dist/api/resources/workflows/client/Client.js +2 -2
  76. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  77. package/dist/api/resources/workspaces/client/Client.js +1 -1
  78. package/dist/api/types/DeploymentRead.d.ts +1 -1
  79. package/dist/api/types/NodeOutputCompiledThinkingValue.d.ts +13 -0
  80. package/dist/api/types/NodeOutputCompiledThinkingValue.js +5 -0
  81. package/dist/api/types/NodeOutputCompiledValue.d.ts +1 -1
  82. package/dist/api/types/OrganizationLimitConfig.d.ts +10 -0
  83. package/dist/api/types/OrganizationLimitConfig.js +5 -0
  84. package/dist/api/types/OrganizationRead.d.ts +1 -0
  85. package/dist/api/types/Quota.d.ts +8 -0
  86. package/dist/api/types/Quota.js +5 -0
  87. package/dist/api/types/SlimDeploymentRead.d.ts +1 -1
  88. package/dist/api/types/SlimWorkflowDeployment.d.ts +1 -1
  89. package/dist/api/types/VembdaServiceTierEnum.d.ts +12 -0
  90. package/dist/api/types/VembdaServiceTierEnum.js +10 -0
  91. package/dist/api/types/WorkflowDeploymentRead.d.ts +1 -1
  92. package/dist/api/types/WorkflowExecutionActual.d.ts +1 -1
  93. package/dist/api/types/WorkflowExecutionDetail.d.ts +16 -0
  94. package/dist/api/types/WorkflowExecutionDetail.js +5 -0
  95. package/dist/api/types/index.d.ts +5 -0
  96. package/dist/api/types/index.js +5 -0
  97. package/dist/serialization/types/DeploymentRead.d.ts +1 -1
  98. package/dist/serialization/types/DeploymentRead.js +1 -1
  99. package/dist/serialization/types/NodeOutputCompiledThinkingValue.d.ts +17 -0
  100. package/dist/serialization/types/NodeOutputCompiledThinkingValue.js +48 -0
  101. package/dist/serialization/types/NodeOutputCompiledValue.d.ts +2 -1
  102. package/dist/serialization/types/NodeOutputCompiledValue.js +2 -0
  103. package/dist/serialization/types/OrganizationLimitConfig.d.ts +17 -0
  104. package/dist/serialization/types/OrganizationLimitConfig.js +48 -0
  105. package/dist/serialization/types/OrganizationRead.d.ts +2 -0
  106. package/dist/serialization/types/OrganizationRead.js +2 -0
  107. package/dist/serialization/types/Quota.d.ts +14 -0
  108. package/dist/serialization/types/Quota.js +45 -0
  109. package/dist/serialization/types/SlimDeploymentRead.d.ts +1 -1
  110. package/dist/serialization/types/SlimDeploymentRead.js +1 -1
  111. package/dist/serialization/types/SlimWorkflowDeployment.d.ts +1 -1
  112. package/dist/serialization/types/SlimWorkflowDeployment.js +1 -1
  113. package/dist/serialization/types/VembdaServiceTierEnum.d.ts +10 -0
  114. package/dist/serialization/types/VembdaServiceTierEnum.js +41 -0
  115. package/dist/serialization/types/WorkflowDeploymentRead.d.ts +1 -1
  116. package/dist/serialization/types/WorkflowDeploymentRead.js +1 -1
  117. package/dist/serialization/types/WorkflowExecutionActual.d.ts +1 -1
  118. package/dist/serialization/types/WorkflowExecutionActual.js +1 -1
  119. package/dist/serialization/types/WorkflowExecutionDetail.d.ts +25 -0
  120. package/dist/serialization/types/WorkflowExecutionDetail.js +57 -0
  121. package/dist/serialization/types/index.d.ts +5 -0
  122. package/dist/serialization/types/index.js +5 -0
  123. package/dist/version.d.ts +1 -1
  124. package/dist/version.js +1 -1
  125. package/ee/automation/.nvmrc +1 -0
  126. package/ee/automation/README.md +11 -0
  127. package/ee/automation/ci-workflow-server.yaml +46 -0
  128. package/ee/automation/package-lock.json +517 -0
  129. package/ee/automation/package.json +17 -0
  130. package/package.json +1 -1
  131. package/reference.md +50 -0
  132. package/serialization/types/DeploymentRead.d.ts +1 -1
  133. package/serialization/types/DeploymentRead.js +1 -1
  134. package/serialization/types/NodeOutputCompiledThinkingValue.d.ts +17 -0
  135. package/serialization/types/NodeOutputCompiledThinkingValue.js +48 -0
  136. package/serialization/types/NodeOutputCompiledValue.d.ts +2 -1
  137. package/serialization/types/NodeOutputCompiledValue.js +2 -0
  138. package/serialization/types/OrganizationLimitConfig.d.ts +17 -0
  139. package/serialization/types/OrganizationLimitConfig.js +48 -0
  140. package/serialization/types/OrganizationRead.d.ts +2 -0
  141. package/serialization/types/OrganizationRead.js +2 -0
  142. package/serialization/types/Quota.d.ts +14 -0
  143. package/serialization/types/Quota.js +45 -0
  144. package/serialization/types/SlimDeploymentRead.d.ts +1 -1
  145. package/serialization/types/SlimDeploymentRead.js +1 -1
  146. package/serialization/types/SlimWorkflowDeployment.d.ts +1 -1
  147. package/serialization/types/SlimWorkflowDeployment.js +1 -1
  148. package/serialization/types/VembdaServiceTierEnum.d.ts +10 -0
  149. package/serialization/types/VembdaServiceTierEnum.js +41 -0
  150. package/serialization/types/WorkflowDeploymentRead.d.ts +1 -1
  151. package/serialization/types/WorkflowDeploymentRead.js +1 -1
  152. package/serialization/types/WorkflowExecutionActual.d.ts +1 -1
  153. package/serialization/types/WorkflowExecutionActual.js +1 -1
  154. package/serialization/types/WorkflowExecutionDetail.d.ts +25 -0
  155. package/serialization/types/WorkflowExecutionDetail.js +57 -0
  156. package/serialization/types/index.d.ts +5 -0
  157. package/serialization/types/index.js +5 -0
  158. package/version.d.ts +1 -1
  159. package/version.js +1 -1
@@ -23,7 +23,7 @@ export interface DeploymentRead {
23
23
  * * `STAGING` - Staging
24
24
  * * `PRODUCTION` - Production
25
25
  */
26
- environment?: Vellum.EnvironmentEnum;
26
+ environment?: Vellum.EnvironmentEnum | null;
27
27
  lastDeployedOn: Date;
28
28
  inputVariables: Vellum.VellumVariable[];
29
29
  /** A human-readable description of the deployment */
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ /**
6
+ * An output returned by a node that is of type THINKING.
7
+ */
8
+ export interface NodeOutputCompiledThinkingValue {
9
+ type: "THINKING";
10
+ value?: Vellum.StringVellumValue | null;
11
+ nodeOutputId: string;
12
+ state?: Vellum.WorkflowNodeResultEventState;
13
+ }
@@ -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,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type NodeOutputCompiledValue = Vellum.NodeOutputCompiledStringValue | Vellum.NodeOutputCompiledNumberValue | Vellum.NodeOutputCompiledJsonValue | Vellum.NodeOutputCompiledChatHistoryValue | Vellum.NodeOutputCompiledSearchResultsValue | Vellum.NodeOutputCompiledErrorValue | Vellum.NodeOutputCompiledArrayValue | Vellum.NodeOutputCompiledFunctionCallValue;
5
+ export type NodeOutputCompiledValue = Vellum.NodeOutputCompiledStringValue | Vellum.NodeOutputCompiledNumberValue | Vellum.NodeOutputCompiledJsonValue | Vellum.NodeOutputCompiledChatHistoryValue | Vellum.NodeOutputCompiledSearchResultsValue | Vellum.NodeOutputCompiledErrorValue | Vellum.NodeOutputCompiledArrayValue | Vellum.NodeOutputCompiledFunctionCallValue | Vellum.NodeOutputCompiledThinkingValue;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export interface OrganizationLimitConfig {
6
+ vembdaServiceTier?: Vellum.VembdaServiceTierEnum;
7
+ promptExecutionsQuota?: Vellum.Quota | null;
8
+ workflowExecutionsQuota?: Vellum.Quota | null;
9
+ workflowRuntimeSecondsQuota?: Vellum.Quota | null;
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 });
@@ -7,4 +7,5 @@ export interface OrganizationRead {
7
7
  name: string;
8
8
  allowStaffAccess?: boolean;
9
9
  newMemberJoinBehavior: Vellum.NewMemberJoinBehaviorEnum;
10
+ limitConfig: Vellum.OrganizationLimitConfig;
10
11
  }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface Quota {
5
+ name: string;
6
+ value?: number | null;
7
+ periodSeconds?: number | null;
8
+ }
@@ -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 });
@@ -23,7 +23,7 @@ export interface SlimDeploymentRead {
23
23
  * * `STAGING` - Staging
24
24
  * * `PRODUCTION` - Production
25
25
  */
26
- environment?: Vellum.EnvironmentEnum;
26
+ environment?: Vellum.EnvironmentEnum | null;
27
27
  lastDeployedOn: Date;
28
28
  inputVariables: Vellum.VellumVariable[];
29
29
  /** A human-readable description of the deployment */
@@ -22,7 +22,7 @@ export interface SlimWorkflowDeployment {
22
22
  * * `STAGING` - Staging
23
23
  * * `PRODUCTION` - Production
24
24
  */
25
- environment?: Vellum.EnvironmentEnum;
25
+ environment?: Vellum.EnvironmentEnum | null;
26
26
  created: Date;
27
27
  lastDeployedOn: Date;
28
28
  /** The input variables this Workflow Deployment expects to receive values for when it is executed. */
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * * `FREE` - FREE
6
+ * * `PAID` - PAID
7
+ */
8
+ export type VembdaServiceTierEnum = "FREE" | "PAID";
9
+ export declare const VembdaServiceTierEnum: {
10
+ readonly Free: "FREE";
11
+ readonly Paid: "PAID";
12
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.VembdaServiceTierEnum = void 0;
7
+ exports.VembdaServiceTierEnum = {
8
+ Free: "FREE",
9
+ Paid: "PAID",
10
+ };
@@ -22,7 +22,7 @@ export interface WorkflowDeploymentRead {
22
22
  * * `STAGING` - Staging
23
23
  * * `PRODUCTION` - Production
24
24
  */
25
- environment?: Vellum.EnvironmentEnum;
25
+ environment?: Vellum.EnvironmentEnum | null;
26
26
  created: Date;
27
27
  lastDeployedOn: Date;
28
28
  /** The ID of the history item associated with this Workflow Deployment's LATEST Release Tag */
@@ -5,6 +5,6 @@ import * as Vellum from "../index";
5
5
  export interface WorkflowExecutionActual {
6
6
  output: Vellum.ExecutionVellumValue;
7
7
  timestamp: Date;
8
- quality: number;
8
+ quality?: number | null;
9
9
  metadata?: Record<string, unknown> | null;
10
10
  }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Vellum from "../index";
5
+ export interface WorkflowExecutionDetail {
6
+ spanId: string;
7
+ parentContext?: Vellum.ParentContext | null;
8
+ start: Date;
9
+ end?: Date | null;
10
+ inputs: Vellum.ExecutionVellumValue[];
11
+ outputs: Vellum.ExecutionVellumValue[];
12
+ error?: Vellum.WorkflowError | null;
13
+ usageResults?: Vellum.WorkflowExecutionUsageResult[] | null;
14
+ spans: Vellum.VellumSpan[];
15
+ state?: Record<string, unknown> | null;
16
+ }
@@ -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 });
@@ -263,6 +263,7 @@ export * from "./NodeOutputCompiledJsonValue";
263
263
  export * from "./NodeOutputCompiledNumberValue";
264
264
  export * from "./NodeOutputCompiledSearchResultsValue";
265
265
  export * from "./NodeOutputCompiledStringValue";
266
+ export * from "./NodeOutputCompiledThinkingValue";
266
267
  export * from "./NodeOutputCompiledValue";
267
268
  export * from "./NodeParentContext";
268
269
  export * from "./NormalizedLogProbs";
@@ -278,6 +279,7 @@ export * from "./OpenAiVectorizerTextEmbedding3Small";
278
279
  export * from "./OpenAiVectorizerTextEmbedding3SmallRequest";
279
280
  export * from "./OpenAiVectorizerTextEmbeddingAda002";
280
281
  export * from "./OpenAiVectorizerTextEmbeddingAda002Request";
282
+ export * from "./OrganizationLimitConfig";
281
283
  export * from "./OrganizationRead";
282
284
  export * from "./PaginatedContainerImageReadList";
283
285
  export * from "./PaginatedDeploymentReleaseTagReadList";
@@ -319,6 +321,7 @@ export * from "./PromptRequestStringInput";
319
321
  export * from "./PromptSettings";
320
322
  export * from "./ComponentsSchemasPromptVersionBuildConfigSandbox";
321
323
  export * from "./PromptVersionBuildConfigSandbox";
324
+ export * from "./Quota";
322
325
  export * from "./RawPromptExecutionOverridesRequest";
323
326
  export * from "./ReductoChunkerConfig";
324
327
  export * from "./ReductoChunkerConfigRequest";
@@ -518,6 +521,7 @@ export * from "./VellumVariable";
518
521
  export * from "./VellumVariableExtensions";
519
522
  export * from "./VellumVariableType";
520
523
  export * from "./VellumWorkflowExecutionEvent";
524
+ export * from "./VembdaServiceTierEnum";
521
525
  export * from "./WorkflowDeploymentEventExecutionsResponse";
522
526
  export * from "./WorkflowDeploymentHistoryItem";
523
527
  export * from "./WorkflowDeploymentParentContext";
@@ -532,6 +536,7 @@ export * from "./WorkflowExecutionActual";
532
536
  export * from "./WorkflowExecutionActualChatHistoryRequest";
533
537
  export * from "./WorkflowExecutionActualJsonRequest";
534
538
  export * from "./WorkflowExecutionActualStringRequest";
539
+ export * from "./WorkflowExecutionDetail";
535
540
  export * from "./WorkflowExecutionEventErrorCode";
536
541
  export * from "./WorkflowExecutionEventType";
537
542
  export * from "./WorkflowExecutionFulfilledBody";
@@ -279,6 +279,7 @@ __exportStar(require("./NodeOutputCompiledJsonValue"), exports);
279
279
  __exportStar(require("./NodeOutputCompiledNumberValue"), exports);
280
280
  __exportStar(require("./NodeOutputCompiledSearchResultsValue"), exports);
281
281
  __exportStar(require("./NodeOutputCompiledStringValue"), exports);
282
+ __exportStar(require("./NodeOutputCompiledThinkingValue"), exports);
282
283
  __exportStar(require("./NodeOutputCompiledValue"), exports);
283
284
  __exportStar(require("./NodeParentContext"), exports);
284
285
  __exportStar(require("./NormalizedLogProbs"), exports);
@@ -294,6 +295,7 @@ __exportStar(require("./OpenAiVectorizerTextEmbedding3Small"), exports);
294
295
  __exportStar(require("./OpenAiVectorizerTextEmbedding3SmallRequest"), exports);
295
296
  __exportStar(require("./OpenAiVectorizerTextEmbeddingAda002"), exports);
296
297
  __exportStar(require("./OpenAiVectorizerTextEmbeddingAda002Request"), exports);
298
+ __exportStar(require("./OrganizationLimitConfig"), exports);
297
299
  __exportStar(require("./OrganizationRead"), exports);
298
300
  __exportStar(require("./PaginatedContainerImageReadList"), exports);
299
301
  __exportStar(require("./PaginatedDeploymentReleaseTagReadList"), exports);
@@ -335,6 +337,7 @@ __exportStar(require("./PromptRequestStringInput"), exports);
335
337
  __exportStar(require("./PromptSettings"), exports);
336
338
  __exportStar(require("./ComponentsSchemasPromptVersionBuildConfigSandbox"), exports);
337
339
  __exportStar(require("./PromptVersionBuildConfigSandbox"), exports);
340
+ __exportStar(require("./Quota"), exports);
338
341
  __exportStar(require("./RawPromptExecutionOverridesRequest"), exports);
339
342
  __exportStar(require("./ReductoChunkerConfig"), exports);
340
343
  __exportStar(require("./ReductoChunkerConfigRequest"), exports);
@@ -534,6 +537,7 @@ __exportStar(require("./VellumVariable"), exports);
534
537
  __exportStar(require("./VellumVariableExtensions"), exports);
535
538
  __exportStar(require("./VellumVariableType"), exports);
536
539
  __exportStar(require("./VellumWorkflowExecutionEvent"), exports);
540
+ __exportStar(require("./VembdaServiceTierEnum"), exports);
537
541
  __exportStar(require("./WorkflowDeploymentEventExecutionsResponse"), exports);
538
542
  __exportStar(require("./WorkflowDeploymentHistoryItem"), exports);
539
543
  __exportStar(require("./WorkflowDeploymentParentContext"), exports);
@@ -548,6 +552,7 @@ __exportStar(require("./WorkflowExecutionActual"), exports);
548
552
  __exportStar(require("./WorkflowExecutionActualChatHistoryRequest"), exports);
549
553
  __exportStar(require("./WorkflowExecutionActualJsonRequest"), exports);
550
554
  __exportStar(require("./WorkflowExecutionActualStringRequest"), exports);
555
+ __exportStar(require("./WorkflowExecutionDetail"), exports);
551
556
  __exportStar(require("./WorkflowExecutionEventErrorCode"), exports);
552
557
  __exportStar(require("./WorkflowExecutionEventType"), exports);
553
558
  __exportStar(require("./WorkflowExecutionFulfilledBody"), exports);
@@ -15,7 +15,7 @@ export declare namespace DeploymentRead {
15
15
  label: string;
16
16
  name: string;
17
17
  status?: EntityStatus.Raw | null;
18
- environment?: EnvironmentEnum.Raw | null;
18
+ environment?: (EnvironmentEnum.Raw | null) | null;
19
19
  last_deployed_on: string;
20
20
  input_variables: VellumVariable.Raw[];
21
21
  description?: (string | null) | null;
@@ -47,7 +47,7 @@ exports.DeploymentRead = core.serialization.object({
47
47
  label: core.serialization.string(),
48
48
  name: core.serialization.string(),
49
49
  status: EntityStatus_1.EntityStatus.optional(),
50
- environment: EnvironmentEnum_1.EnvironmentEnum.optional(),
50
+ environment: EnvironmentEnum_1.EnvironmentEnum.optionalNullable(),
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
  description: core.serialization.string().optionalNullable(),
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { StringVellumValue } from "./StringVellumValue";
8
+ import { WorkflowNodeResultEventState } from "./WorkflowNodeResultEventState";
9
+ export declare const NodeOutputCompiledThinkingValue: core.serialization.ObjectSchema<serializers.NodeOutputCompiledThinkingValue.Raw, Vellum.NodeOutputCompiledThinkingValue>;
10
+ export declare namespace NodeOutputCompiledThinkingValue {
11
+ interface Raw {
12
+ type: "THINKING";
13
+ value?: (StringVellumValue.Raw | null) | null;
14
+ node_output_id: string;
15
+ state?: WorkflowNodeResultEventState.Raw | null;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.NodeOutputCompiledThinkingValue = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const StringVellumValue_1 = require("./StringVellumValue");
42
+ const WorkflowNodeResultEventState_1 = require("./WorkflowNodeResultEventState");
43
+ exports.NodeOutputCompiledThinkingValue = core.serialization.object({
44
+ type: core.serialization.stringLiteral("THINKING"),
45
+ value: StringVellumValue_1.StringVellumValue.optionalNullable(),
46
+ nodeOutputId: core.serialization.property("node_output_id", core.serialization.string()),
47
+ state: WorkflowNodeResultEventState_1.WorkflowNodeResultEventState.optional(),
48
+ });
@@ -12,7 +12,8 @@ import { NodeOutputCompiledSearchResultsValue } from "./NodeOutputCompiledSearch
12
12
  import { NodeOutputCompiledErrorValue } from "./NodeOutputCompiledErrorValue";
13
13
  import { NodeOutputCompiledArrayValue } from "./NodeOutputCompiledArrayValue";
14
14
  import { NodeOutputCompiledFunctionCallValue } from "./NodeOutputCompiledFunctionCallValue";
15
+ import { NodeOutputCompiledThinkingValue } from "./NodeOutputCompiledThinkingValue";
15
16
  export declare const NodeOutputCompiledValue: core.serialization.Schema<serializers.NodeOutputCompiledValue.Raw, Vellum.NodeOutputCompiledValue>;
16
17
  export declare namespace NodeOutputCompiledValue {
17
- type Raw = NodeOutputCompiledStringValue.Raw | NodeOutputCompiledNumberValue.Raw | NodeOutputCompiledJsonValue.Raw | NodeOutputCompiledChatHistoryValue.Raw | NodeOutputCompiledSearchResultsValue.Raw | NodeOutputCompiledErrorValue.Raw | NodeOutputCompiledArrayValue.Raw | NodeOutputCompiledFunctionCallValue.Raw;
18
+ type Raw = NodeOutputCompiledStringValue.Raw | NodeOutputCompiledNumberValue.Raw | NodeOutputCompiledJsonValue.Raw | NodeOutputCompiledChatHistoryValue.Raw | NodeOutputCompiledSearchResultsValue.Raw | NodeOutputCompiledErrorValue.Raw | NodeOutputCompiledArrayValue.Raw | NodeOutputCompiledFunctionCallValue.Raw | NodeOutputCompiledThinkingValue.Raw;
18
19
  }
@@ -46,6 +46,7 @@ const NodeOutputCompiledSearchResultsValue_1 = require("./NodeOutputCompiledSear
46
46
  const NodeOutputCompiledErrorValue_1 = require("./NodeOutputCompiledErrorValue");
47
47
  const NodeOutputCompiledArrayValue_1 = require("./NodeOutputCompiledArrayValue");
48
48
  const NodeOutputCompiledFunctionCallValue_1 = require("./NodeOutputCompiledFunctionCallValue");
49
+ const NodeOutputCompiledThinkingValue_1 = require("./NodeOutputCompiledThinkingValue");
49
50
  exports.NodeOutputCompiledValue = core.serialization.undiscriminatedUnion([
50
51
  NodeOutputCompiledStringValue_1.NodeOutputCompiledStringValue,
51
52
  NodeOutputCompiledNumberValue_1.NodeOutputCompiledNumberValue,
@@ -55,4 +56,5 @@ exports.NodeOutputCompiledValue = core.serialization.undiscriminatedUnion([
55
56
  NodeOutputCompiledErrorValue_1.NodeOutputCompiledErrorValue,
56
57
  NodeOutputCompiledArrayValue_1.NodeOutputCompiledArrayValue,
57
58
  NodeOutputCompiledFunctionCallValue_1.NodeOutputCompiledFunctionCallValue,
59
+ NodeOutputCompiledThinkingValue_1.NodeOutputCompiledThinkingValue,
58
60
  ]);
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ import { VembdaServiceTierEnum } from "./VembdaServiceTierEnum";
8
+ import { Quota } from "./Quota";
9
+ export declare const OrganizationLimitConfig: core.serialization.ObjectSchema<serializers.OrganizationLimitConfig.Raw, Vellum.OrganizationLimitConfig>;
10
+ export declare namespace OrganizationLimitConfig {
11
+ interface Raw {
12
+ vembda_service_tier?: VembdaServiceTierEnum.Raw | null;
13
+ prompt_executions_quota?: (Quota.Raw | null) | null;
14
+ workflow_executions_quota?: (Quota.Raw | null) | null;
15
+ workflow_runtime_seconds_quota?: (Quota.Raw | null) | null;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.OrganizationLimitConfig = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const VembdaServiceTierEnum_1 = require("./VembdaServiceTierEnum");
42
+ const Quota_1 = require("./Quota");
43
+ exports.OrganizationLimitConfig = core.serialization.object({
44
+ vembdaServiceTier: core.serialization.property("vembda_service_tier", VembdaServiceTierEnum_1.VembdaServiceTierEnum.optional()),
45
+ promptExecutionsQuota: core.serialization.property("prompt_executions_quota", Quota_1.Quota.optionalNullable()),
46
+ workflowExecutionsQuota: core.serialization.property("workflow_executions_quota", Quota_1.Quota.optionalNullable()),
47
+ workflowRuntimeSecondsQuota: core.serialization.property("workflow_runtime_seconds_quota", Quota_1.Quota.optionalNullable()),
48
+ });
@@ -5,6 +5,7 @@ import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { NewMemberJoinBehaviorEnum } from "./NewMemberJoinBehaviorEnum";
8
+ import { OrganizationLimitConfig } from "./OrganizationLimitConfig";
8
9
  export declare const OrganizationRead: core.serialization.ObjectSchema<serializers.OrganizationRead.Raw, Vellum.OrganizationRead>;
9
10
  export declare namespace OrganizationRead {
10
11
  interface Raw {
@@ -12,5 +13,6 @@ export declare namespace OrganizationRead {
12
13
  name: string;
13
14
  allow_staff_access?: boolean | null;
14
15
  new_member_join_behavior: NewMemberJoinBehaviorEnum.Raw;
16
+ limit_config: OrganizationLimitConfig.Raw;
15
17
  }
16
18
  }
@@ -39,9 +39,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.OrganizationRead = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const NewMemberJoinBehaviorEnum_1 = require("./NewMemberJoinBehaviorEnum");
42
+ const OrganizationLimitConfig_1 = require("./OrganizationLimitConfig");
42
43
  exports.OrganizationRead = core.serialization.object({
43
44
  id: core.serialization.string(),
44
45
  name: core.serialization.string(),
45
46
  allowStaffAccess: core.serialization.property("allow_staff_access", core.serialization.boolean().optional()),
46
47
  newMemberJoinBehavior: core.serialization.property("new_member_join_behavior", NewMemberJoinBehaviorEnum_1.NewMemberJoinBehaviorEnum),
48
+ limitConfig: core.serialization.property("limit_config", OrganizationLimitConfig_1.OrganizationLimitConfig),
47
49
  });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../index";
5
+ import * as Vellum from "../../api/index";
6
+ import * as core from "../../core";
7
+ export declare const Quota: core.serialization.ObjectSchema<serializers.Quota.Raw, Vellum.Quota>;
8
+ export declare namespace Quota {
9
+ interface Raw {
10
+ name: string;
11
+ value?: (number | null) | null;
12
+ period_seconds?: (number | null) | null;
13
+ }
14
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Quota = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.Quota = core.serialization.object({
42
+ name: core.serialization.string(),
43
+ value: core.serialization.number().optionalNullable(),
44
+ periodSeconds: core.serialization.property("period_seconds", core.serialization.number().optionalNullable()),
45
+ });
@@ -15,7 +15,7 @@ export declare namespace SlimDeploymentRead {
15
15
  label: string;
16
16
  name: string;
17
17
  status?: EntityStatus.Raw | null;
18
- environment?: EnvironmentEnum.Raw | null;
18
+ environment?: (EnvironmentEnum.Raw | null) | null;
19
19
  last_deployed_on: string;
20
20
  input_variables: VellumVariable.Raw[];
21
21
  description?: (string | null) | null;
@@ -47,7 +47,7 @@ exports.SlimDeploymentRead = core.serialization.object({
47
47
  label: core.serialization.string(),
48
48
  name: core.serialization.string(),
49
49
  status: EntityStatus_1.EntityStatus.optional(),
50
- environment: EnvironmentEnum_1.EnvironmentEnum.optional(),
50
+ environment: EnvironmentEnum_1.EnvironmentEnum.optionalNullable(),
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
  description: core.serialization.string().optionalNullable(),
@@ -14,7 +14,7 @@ export declare namespace SlimWorkflowDeployment {
14
14
  name: string;
15
15
  label: string;
16
16
  status?: EntityStatus.Raw | null;
17
- environment?: EnvironmentEnum.Raw | null;
17
+ environment?: (EnvironmentEnum.Raw | null) | null;
18
18
  created: string;
19
19
  last_deployed_on: string;
20
20
  input_variables: VellumVariable.Raw[];
@@ -46,7 +46,7 @@ exports.SlimWorkflowDeployment = core.serialization.object({
46
46
  name: core.serialization.string(),
47
47
  label: core.serialization.string(),
48
48
  status: EntityStatus_1.EntityStatus.optional(),
49
- environment: EnvironmentEnum_1.EnvironmentEnum.optional(),
49
+ environment: EnvironmentEnum_1.EnvironmentEnum.optionalNullable(),
50
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)),
@@ -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 VembdaServiceTierEnum: core.serialization.Schema<serializers.VembdaServiceTierEnum.Raw, Vellum.VembdaServiceTierEnum>;
8
+ export declare namespace VembdaServiceTierEnum {
9
+ type Raw = "FREE" | "PAID";
10
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.VembdaServiceTierEnum = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.VembdaServiceTierEnum = core.serialization.enum_(["FREE", "PAID"]);
@@ -14,7 +14,7 @@ export declare namespace WorkflowDeploymentRead {
14
14
  name: string;
15
15
  label: string;
16
16
  status?: EntityStatus.Raw | null;
17
- environment?: EnvironmentEnum.Raw | null;
17
+ environment?: (EnvironmentEnum.Raw | null) | null;
18
18
  created: string;
19
19
  last_deployed_on: string;
20
20
  last_deployed_history_item_id: string;