vellum-ai 1.3.1 → 1.3.2

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 (132) hide show
  1. package/Client.js +11 -11
  2. package/api/client/requests/ExecuteWorkflowRequest.d.ts +2 -0
  3. package/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
  4. package/api/resources/adHoc/client/Client.d.ts +2 -2
  5. package/api/resources/adHoc/client/Client.js +4 -4
  6. package/api/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +3 -3
  7. package/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +3 -3
  8. package/api/resources/containerImages/client/Client.js +4 -4
  9. package/api/resources/deployments/client/Client.js +8 -8
  10. package/api/resources/documentIndexes/client/Client.js +8 -8
  11. package/api/resources/documents/client/Client.js +5 -5
  12. package/api/resources/events/client/Client.d.ts +38 -20
  13. package/api/resources/events/client/Client.js +39 -21
  14. package/api/resources/folderEntities/client/Client.js +2 -2
  15. package/api/resources/metricDefinitions/client/Client.js +2 -2
  16. package/api/resources/mlModels/client/Client.js +1 -1
  17. package/api/resources/organizations/client/Client.js +1 -1
  18. package/api/resources/prompts/client/Client.js +2 -2
  19. package/api/resources/sandboxes/client/Client.js +3 -3
  20. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  21. package/api/resources/testSuites/client/Client.js +4 -4
  22. package/api/resources/workflowDeployments/client/Client.js +9 -9
  23. package/api/resources/workflowExecutions/client/Client.js +1 -1
  24. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  25. package/api/resources/workflows/client/Client.js +2 -2
  26. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  27. package/api/resources/workspaces/client/Client.js +1 -1
  28. package/api/types/CreateWorkflowEventRequest.d.ts +5 -0
  29. package/api/types/CreateWorkflowEventRequest.js +5 -0
  30. package/api/types/DeprecatedPromptRequestInput.d.ts +5 -0
  31. package/api/types/DeprecatedPromptRequestInput.js +5 -0
  32. package/api/types/EventCreateResponse.d.ts +2 -0
  33. package/api/types/LogicalOperator.d.ts +3 -1
  34. package/api/types/LogicalOperator.js +1 -0
  35. package/api/types/ProcessingFailureReasonEnum.d.ts +3 -1
  36. package/api/types/ProcessingFailureReasonEnum.js +1 -0
  37. package/api/types/SlimDocument.d.ts +1 -0
  38. package/api/types/WorkflowInput.d.ts +5 -0
  39. package/api/types/WorkflowInput.js +5 -0
  40. package/api/types/index.d.ts +3 -0
  41. package/api/types/index.js +3 -0
  42. package/dist/Client.js +11 -11
  43. package/dist/api/client/requests/ExecuteWorkflowRequest.d.ts +2 -0
  44. package/dist/api/client/requests/ExecuteWorkflowStreamRequest.d.ts +2 -0
  45. package/dist/api/resources/adHoc/client/Client.d.ts +2 -2
  46. package/dist/api/resources/adHoc/client/Client.js +4 -4
  47. package/dist/api/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +3 -3
  48. package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +3 -3
  49. package/dist/api/resources/containerImages/client/Client.js +4 -4
  50. package/dist/api/resources/deployments/client/Client.js +8 -8
  51. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  52. package/dist/api/resources/documents/client/Client.js +5 -5
  53. package/dist/api/resources/events/client/Client.d.ts +38 -20
  54. package/dist/api/resources/events/client/Client.js +39 -21
  55. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  56. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  57. package/dist/api/resources/mlModels/client/Client.js +1 -1
  58. package/dist/api/resources/organizations/client/Client.js +1 -1
  59. package/dist/api/resources/prompts/client/Client.js +2 -2
  60. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  61. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  62. package/dist/api/resources/testSuites/client/Client.js +4 -4
  63. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  64. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  65. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  66. package/dist/api/resources/workflows/client/Client.js +2 -2
  67. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  68. package/dist/api/resources/workspaces/client/Client.js +1 -1
  69. package/dist/api/types/CreateWorkflowEventRequest.d.ts +5 -0
  70. package/dist/api/types/CreateWorkflowEventRequest.js +5 -0
  71. package/dist/api/types/DeprecatedPromptRequestInput.d.ts +5 -0
  72. package/dist/api/types/DeprecatedPromptRequestInput.js +5 -0
  73. package/dist/api/types/EventCreateResponse.d.ts +2 -0
  74. package/dist/api/types/LogicalOperator.d.ts +3 -1
  75. package/dist/api/types/LogicalOperator.js +1 -0
  76. package/dist/api/types/ProcessingFailureReasonEnum.d.ts +3 -1
  77. package/dist/api/types/ProcessingFailureReasonEnum.js +1 -0
  78. package/dist/api/types/SlimDocument.d.ts +1 -0
  79. package/dist/api/types/WorkflowInput.d.ts +5 -0
  80. package/dist/api/types/WorkflowInput.js +5 -0
  81. package/dist/api/types/index.d.ts +3 -0
  82. package/dist/api/types/index.js +3 -0
  83. package/dist/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -0
  84. package/dist/serialization/client/requests/ExecuteWorkflowRequest.js +1 -0
  85. package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -0
  86. package/dist/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -0
  87. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +2 -2
  88. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.js +2 -2
  89. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +2 -2
  90. package/dist/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js +2 -2
  91. package/dist/serialization/types/CreateWorkflowEventRequest.d.ts +11 -0
  92. package/dist/serialization/types/CreateWorkflowEventRequest.js +42 -0
  93. package/dist/serialization/types/DeprecatedPromptRequestInput.d.ts +12 -0
  94. package/dist/serialization/types/DeprecatedPromptRequestInput.js +43 -0
  95. package/dist/serialization/types/EventCreateResponse.d.ts +1 -0
  96. package/dist/serialization/types/EventCreateResponse.js +1 -0
  97. package/dist/serialization/types/LogicalOperator.d.ts +1 -1
  98. package/dist/serialization/types/LogicalOperator.js +1 -0
  99. package/dist/serialization/types/ProcessingFailureReasonEnum.d.ts +1 -1
  100. package/dist/serialization/types/ProcessingFailureReasonEnum.js +1 -1
  101. package/dist/serialization/types/WorkflowInput.d.ts +22 -0
  102. package/dist/serialization/types/WorkflowInput.js +66 -0
  103. package/dist/serialization/types/index.d.ts +3 -0
  104. package/dist/serialization/types/index.js +3 -0
  105. package/dist/version.d.ts +1 -1
  106. package/dist/version.js +1 -1
  107. package/package.json +1 -1
  108. package/reference.md +41 -20
  109. package/serialization/client/requests/ExecuteWorkflowRequest.d.ts +1 -0
  110. package/serialization/client/requests/ExecuteWorkflowRequest.js +1 -0
  111. package/serialization/client/requests/ExecuteWorkflowStreamRequest.d.ts +1 -0
  112. package/serialization/client/requests/ExecuteWorkflowStreamRequest.js +1 -0
  113. package/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.d.ts +2 -2
  114. package/serialization/resources/adHoc/client/requests/AdHocExecutePrompt.js +2 -2
  115. package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.d.ts +2 -2
  116. package/serialization/resources/adHoc/client/requests/AdHocExecutePromptStream.js +2 -2
  117. package/serialization/types/CreateWorkflowEventRequest.d.ts +11 -0
  118. package/serialization/types/CreateWorkflowEventRequest.js +42 -0
  119. package/serialization/types/DeprecatedPromptRequestInput.d.ts +12 -0
  120. package/serialization/types/DeprecatedPromptRequestInput.js +43 -0
  121. package/serialization/types/EventCreateResponse.d.ts +1 -0
  122. package/serialization/types/EventCreateResponse.js +1 -0
  123. package/serialization/types/LogicalOperator.d.ts +1 -1
  124. package/serialization/types/LogicalOperator.js +1 -0
  125. package/serialization/types/ProcessingFailureReasonEnum.d.ts +1 -1
  126. package/serialization/types/ProcessingFailureReasonEnum.js +1 -1
  127. package/serialization/types/WorkflowInput.d.ts +22 -0
  128. package/serialization/types/WorkflowInput.js +66 -0
  129. package/serialization/types/index.d.ts +3 -0
  130. package/serialization/types/index.js +3 -0
  131. package/version.d.ts +1 -1
  132. package/version.js +1 -1
@@ -4,7 +4,7 @@
4
4
  import * as serializers from "../../../../index";
5
5
  import * as Vellum from "../../../../../api/index";
6
6
  import * as core from "../../../../../core";
7
- import { PromptRequestInput } from "../../../../types/PromptRequestInput";
7
+ import { DeprecatedPromptRequestInput } from "../../../../types/DeprecatedPromptRequestInput";
8
8
  import { VellumVariable } from "../../../../types/VellumVariable";
9
9
  import { PromptParameters } from "../../../../types/PromptParameters";
10
10
  import { PromptSettings } from "../../../../types/PromptSettings";
@@ -14,7 +14,7 @@ export declare const AdHocExecutePromptStream: core.serialization.Schema<seriali
14
14
  export declare namespace AdHocExecutePromptStream {
15
15
  interface Raw {
16
16
  ml_model: string;
17
- input_values: PromptRequestInput.Raw[];
17
+ input_values: DeprecatedPromptRequestInput.Raw[];
18
18
  input_variables: VellumVariable.Raw[];
19
19
  parameters: PromptParameters.Raw;
20
20
  settings?: (PromptSettings.Raw | null) | null;
@@ -39,7 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.AdHocExecutePromptStream = void 0;
40
40
  const serializers = __importStar(require("../../../../index"));
41
41
  const core = __importStar(require("../../../../../core"));
42
- const PromptRequestInput_1 = require("../../../../types/PromptRequestInput");
42
+ const DeprecatedPromptRequestInput_1 = require("../../../../types/DeprecatedPromptRequestInput");
43
43
  const VellumVariable_1 = require("../../../../types/VellumVariable");
44
44
  const PromptParameters_1 = require("../../../../types/PromptParameters");
45
45
  const PromptSettings_1 = require("../../../../types/PromptSettings");
@@ -47,7 +47,7 @@ const FunctionDefinition_1 = require("../../../../types/FunctionDefinition");
47
47
  const AdHocExpandMeta_1 = require("../../../../types/AdHocExpandMeta");
48
48
  exports.AdHocExecutePromptStream = core.serialization.object({
49
49
  mlModel: core.serialization.property("ml_model", core.serialization.string()),
50
- inputValues: core.serialization.property("input_values", core.serialization.list(PromptRequestInput_1.PromptRequestInput)),
50
+ inputValues: core.serialization.property("input_values", core.serialization.list(DeprecatedPromptRequestInput_1.DeprecatedPromptRequestInput)),
51
51
  inputVariables: core.serialization.property("input_variables", core.serialization.list(VellumVariable_1.VellumVariable)),
52
52
  parameters: PromptParameters_1.PromptParameters,
53
53
  settings: PromptSettings_1.PromptSettings.optionalNullable(),
@@ -0,0 +1,11 @@
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 { WorkflowEvent } from "./WorkflowEvent";
8
+ export declare const CreateWorkflowEventRequest: core.serialization.Schema<serializers.CreateWorkflowEventRequest.Raw, Vellum.CreateWorkflowEventRequest>;
9
+ export declare namespace CreateWorkflowEventRequest {
10
+ type Raw = WorkflowEvent.Raw[] | WorkflowEvent.Raw;
11
+ }
@@ -0,0 +1,42 @@
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.CreateWorkflowEventRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const WorkflowEvent_1 = require("./WorkflowEvent");
42
+ exports.CreateWorkflowEventRequest = core.serialization.undiscriminatedUnion([core.serialization.list(WorkflowEvent_1.WorkflowEvent), WorkflowEvent_1.WorkflowEvent]);
@@ -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
+ import { WorkflowInput } from "./WorkflowInput";
8
+ import { PromptRequestInput } from "./PromptRequestInput";
9
+ export declare const DeprecatedPromptRequestInput: core.serialization.Schema<serializers.DeprecatedPromptRequestInput.Raw, Vellum.DeprecatedPromptRequestInput>;
10
+ export declare namespace DeprecatedPromptRequestInput {
11
+ type Raw = WorkflowInput.Raw | PromptRequestInput.Raw;
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.DeprecatedPromptRequestInput = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const WorkflowInput_1 = require("./WorkflowInput");
42
+ const PromptRequestInput_1 = require("./PromptRequestInput");
43
+ exports.DeprecatedPromptRequestInput = core.serialization.undiscriminatedUnion([WorkflowInput_1.WorkflowInput, PromptRequestInput_1.PromptRequestInput]);
@@ -8,5 +8,6 @@ export declare const EventCreateResponse: core.serialization.ObjectSchema<serial
8
8
  export declare namespace EventCreateResponse {
9
9
  interface Raw {
10
10
  success?: boolean | null;
11
+ count: number;
11
12
  }
12
13
  }
@@ -40,4 +40,5 @@ exports.EventCreateResponse = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  exports.EventCreateResponse = core.serialization.object({
42
42
  success: core.serialization.boolean().optional(),
43
+ count: core.serialization.number(),
43
44
  });
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const LogicalOperator: core.serialization.Schema<serializers.LogicalOperator.Raw, Vellum.LogicalOperator>;
8
8
  export declare namespace LogicalOperator {
9
- type Raw = "=" | "!=" | "<" | ">" | "<=" | ">=" | "contains" | "beginsWith" | "endsWith" | "doesNotContain" | "doesNotBeginWith" | "doesNotEndWith" | "null" | "notNull" | "in" | "notIn" | "between" | "notBetween" | "blank" | "notBlank" | "coalesce" | "accessField" | "parseJson" | "and" | "or" | "isError" | "length";
9
+ type Raw = "=" | "!=" | "<" | ">" | "<=" | ">=" | "contains" | "beginsWith" | "endsWith" | "doesNotContain" | "doesNotBeginWith" | "doesNotEndWith" | "null" | "notNull" | "in" | "notIn" | "between" | "notBetween" | "concat" | "blank" | "notBlank" | "coalesce" | "accessField" | "parseJson" | "and" | "or" | "isError" | "length";
10
10
  }
@@ -57,6 +57,7 @@ exports.LogicalOperator = core.serialization.enum_([
57
57
  "notIn",
58
58
  "between",
59
59
  "notBetween",
60
+ "concat",
60
61
  "blank",
61
62
  "notBlank",
62
63
  "coalesce",
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const ProcessingFailureReasonEnum: core.serialization.Schema<serializers.ProcessingFailureReasonEnum.Raw, Vellum.ProcessingFailureReasonEnum>;
8
8
  export declare namespace ProcessingFailureReasonEnum {
9
- type Raw = "EXCEEDED_CHARACTER_LIMIT" | "INVALID_FILE";
9
+ type Raw = "EXCEEDED_CHARACTER_LIMIT" | "INVALID_FILE" | "INVALID_CREDENTIALS";
10
10
  }
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.ProcessingFailureReasonEnum = void 0;
40
40
  const core = __importStar(require("../../core"));
41
- exports.ProcessingFailureReasonEnum = core.serialization.enum_(["EXCEEDED_CHARACTER_LIMIT", "INVALID_FILE"]);
41
+ exports.ProcessingFailureReasonEnum = core.serialization.enum_(["EXCEEDED_CHARACTER_LIMIT", "INVALID_FILE", "INVALID_CREDENTIALS"]);
@@ -0,0 +1,22 @@
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 { StringInput } from "./StringInput";
8
+ import { JsonInput } from "./JsonInput";
9
+ import { ChatHistoryInput } from "./ChatHistoryInput";
10
+ import { NumberInput } from "./NumberInput";
11
+ import { SearchResultsInput } from "./SearchResultsInput";
12
+ import { ErrorInput } from "./ErrorInput";
13
+ import { ArrayInput } from "./ArrayInput";
14
+ import { FunctionCallInput } from "./FunctionCallInput";
15
+ import { AudioInput } from "./AudioInput";
16
+ import { VideoInput } from "./VideoInput";
17
+ import { ImageInput } from "./ImageInput";
18
+ import { DocumentInput } from "./DocumentInput";
19
+ export declare const WorkflowInput: core.serialization.Schema<serializers.WorkflowInput.Raw, Vellum.WorkflowInput>;
20
+ export declare namespace WorkflowInput {
21
+ type Raw = StringInput.Raw | JsonInput.Raw | ChatHistoryInput.Raw | NumberInput.Raw | SearchResultsInput.Raw | ErrorInput.Raw | ArrayInput.Raw | FunctionCallInput.Raw | AudioInput.Raw | VideoInput.Raw | ImageInput.Raw | DocumentInput.Raw;
22
+ }
@@ -0,0 +1,66 @@
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.WorkflowInput = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const StringInput_1 = require("./StringInput");
42
+ const JsonInput_1 = require("./JsonInput");
43
+ const ChatHistoryInput_1 = require("./ChatHistoryInput");
44
+ const NumberInput_1 = require("./NumberInput");
45
+ const SearchResultsInput_1 = require("./SearchResultsInput");
46
+ const ErrorInput_1 = require("./ErrorInput");
47
+ const ArrayInput_1 = require("./ArrayInput");
48
+ const FunctionCallInput_1 = require("./FunctionCallInput");
49
+ const AudioInput_1 = require("./AudioInput");
50
+ const VideoInput_1 = require("./VideoInput");
51
+ const ImageInput_1 = require("./ImageInput");
52
+ const DocumentInput_1 = require("./DocumentInput");
53
+ exports.WorkflowInput = core.serialization.undiscriminatedUnion([
54
+ StringInput_1.StringInput,
55
+ JsonInput_1.JsonInput,
56
+ ChatHistoryInput_1.ChatHistoryInput,
57
+ NumberInput_1.NumberInput,
58
+ SearchResultsInput_1.SearchResultsInput,
59
+ ErrorInput_1.ErrorInput,
60
+ ArrayInput_1.ArrayInput,
61
+ FunctionCallInput_1.FunctionCallInput,
62
+ AudioInput_1.AudioInput,
63
+ VideoInput_1.VideoInput,
64
+ ImageInput_1.ImageInput,
65
+ DocumentInput_1.DocumentInput,
66
+ ]);
@@ -70,6 +70,7 @@ export * from "./ContainerImageBuildConfig";
70
70
  export * from "./ContainerImageContainerImageTag";
71
71
  export * from "./ContainerImageRead";
72
72
  export * from "./CreateTestSuiteTestCaseRequest";
73
+ export * from "./CreateWorkflowEventRequest";
73
74
  export * from "./DelimiterChunkerConfig";
74
75
  export * from "./DelimiterChunkerConfigRequest";
75
76
  export * from "./DelimiterChunking";
@@ -80,6 +81,7 @@ export * from "./DeploymentProviderPayloadResponse";
80
81
  export * from "./DeploymentRead";
81
82
  export * from "./DeploymentReleaseTagDeploymentHistoryItem";
82
83
  export * from "./DeploymentReleaseTagRead";
84
+ export * from "./DeprecatedPromptRequestInput";
83
85
  export * from "./DockerServiceToken";
84
86
  export * from "./DocumentChatMessageContent";
85
87
  export * from "./DocumentChatMessageContentRequest";
@@ -616,6 +618,7 @@ export * from "./WorkflowExecutionViewOnlineEvalMetricResult";
616
618
  export * from "./WorkflowExecutionWorkflowResultEvent";
617
619
  export * from "./WorkflowExpandMetaRequest";
618
620
  export * from "./WorkflowInitializationError";
621
+ export * from "./WorkflowInput";
619
622
  export * from "./WorkflowNodeResultData";
620
623
  export * from "./WorkflowNodeResultEvent";
621
624
  export * from "./WorkflowNodeResultEventState";
@@ -86,6 +86,7 @@ __exportStar(require("./ContainerImageBuildConfig"), exports);
86
86
  __exportStar(require("./ContainerImageContainerImageTag"), exports);
87
87
  __exportStar(require("./ContainerImageRead"), exports);
88
88
  __exportStar(require("./CreateTestSuiteTestCaseRequest"), exports);
89
+ __exportStar(require("./CreateWorkflowEventRequest"), exports);
89
90
  __exportStar(require("./DelimiterChunkerConfig"), exports);
90
91
  __exportStar(require("./DelimiterChunkerConfigRequest"), exports);
91
92
  __exportStar(require("./DelimiterChunking"), exports);
@@ -96,6 +97,7 @@ __exportStar(require("./DeploymentProviderPayloadResponse"), exports);
96
97
  __exportStar(require("./DeploymentRead"), exports);
97
98
  __exportStar(require("./DeploymentReleaseTagDeploymentHistoryItem"), exports);
98
99
  __exportStar(require("./DeploymentReleaseTagRead"), exports);
100
+ __exportStar(require("./DeprecatedPromptRequestInput"), exports);
99
101
  __exportStar(require("./DockerServiceToken"), exports);
100
102
  __exportStar(require("./DocumentChatMessageContent"), exports);
101
103
  __exportStar(require("./DocumentChatMessageContentRequest"), exports);
@@ -632,6 +634,7 @@ __exportStar(require("./WorkflowExecutionViewOnlineEvalMetricResult"), exports);
632
634
  __exportStar(require("./WorkflowExecutionWorkflowResultEvent"), exports);
633
635
  __exportStar(require("./WorkflowExpandMetaRequest"), exports);
634
636
  __exportStar(require("./WorkflowInitializationError"), exports);
637
+ __exportStar(require("./WorkflowInput"), exports);
635
638
  __exportStar(require("./WorkflowNodeResultData"), exports);
636
639
  __exportStar(require("./WorkflowNodeResultEvent"), exports);
637
640
  __exportStar(require("./WorkflowNodeResultEventState"), exports);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.3.1";
1
+ export declare const SDK_VERSION = "1.3.2";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.3.1";
4
+ exports.SDK_VERSION = "1.3.2";