vellum-ai 0.0.24 → 0.0.26

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 (157) hide show
  1. package/Client.js +1 -1
  2. package/api/resources/documents/client/Client.d.ts +11 -0
  3. package/api/resources/documents/client/Client.js +58 -0
  4. package/api/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts +11 -0
  5. package/api/resources/documents/client/requests/index.d.ts +1 -0
  6. package/api/types/DeploymentRead.d.ts +1 -0
  7. package/api/types/InputVariable.d.ts +9 -0
  8. package/api/types/InputVariableType.d.ts +14 -0
  9. package/api/types/InputVariableType.js +11 -0
  10. package/api/types/MetadataFilterConfigRequest.d.ts +15 -0
  11. package/api/types/MetadataFilterRuleCombinator.d.ts +12 -0
  12. package/api/types/MetadataFilterRuleCombinator.js +10 -0
  13. package/api/types/MetadataFilterRuleRequest.d.ts +15 -0
  14. package/api/types/ModelVersionExecConfig.d.ts +2 -2
  15. package/api/types/PromptTemplateBlockProperties.d.ts +1 -0
  16. package/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  17. package/api/types/RegisterPromptPromptInfoRequest.d.ts +2 -2
  18. package/api/types/RegisteredPromptInputVariableRequest.d.ts +11 -0
  19. package/api/types/RegisteredPromptInputVariableRequest.js +5 -0
  20. package/api/types/SearchFiltersRequest.d.ts +3 -0
  21. package/api/types/SetDocumentMetadataErrorResponse.d.ts +6 -0
  22. package/api/types/SetDocumentMetadataErrorResponse.js +5 -0
  23. package/api/types/SetDocumentMetadataResponse.d.ts +7 -0
  24. package/api/types/SetDocumentMetadataResponse.js +5 -0
  25. package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  26. package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  27. package/api/types/index.d.ts +8 -2
  28. package/api/types/index.js +8 -2
  29. package/dist/Client.js +1 -1
  30. package/dist/api/resources/documents/client/Client.d.ts +11 -0
  31. package/dist/api/resources/documents/client/Client.js +58 -0
  32. package/dist/api/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts +11 -0
  33. package/dist/api/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js +5 -0
  34. package/dist/api/resources/documents/client/requests/index.d.ts +1 -0
  35. package/dist/api/types/DeploymentRead.d.ts +1 -0
  36. package/dist/api/types/InputVariable.d.ts +9 -0
  37. package/dist/api/types/InputVariable.js +5 -0
  38. package/dist/api/types/InputVariableType.d.ts +14 -0
  39. package/dist/api/types/InputVariableType.js +11 -0
  40. package/dist/api/types/MetadataFilterConfigRequest.d.ts +15 -0
  41. package/dist/api/types/MetadataFilterConfigRequest.js +5 -0
  42. package/dist/api/types/MetadataFilterRuleCombinator.d.ts +12 -0
  43. package/dist/api/types/MetadataFilterRuleCombinator.js +10 -0
  44. package/dist/api/types/MetadataFilterRuleRequest.d.ts +15 -0
  45. package/dist/api/types/MetadataFilterRuleRequest.js +5 -0
  46. package/dist/api/types/ModelVersionExecConfig.d.ts +2 -2
  47. package/dist/api/types/PromptTemplateBlockProperties.d.ts +1 -0
  48. package/dist/api/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  49. package/dist/api/types/RegisterPromptPromptInfoRequest.d.ts +2 -2
  50. package/dist/api/types/RegisteredPromptInputVariableRequest.d.ts +11 -0
  51. package/dist/api/types/RegisteredPromptInputVariableRequest.js +5 -0
  52. package/dist/api/types/SearchFiltersRequest.d.ts +3 -0
  53. package/dist/api/types/SetDocumentMetadataErrorResponse.d.ts +6 -0
  54. package/dist/api/types/SetDocumentMetadataErrorResponse.js +5 -0
  55. package/dist/api/types/SetDocumentMetadataResponse.d.ts +7 -0
  56. package/dist/api/types/SetDocumentMetadataResponse.js +5 -0
  57. package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  58. package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  59. package/dist/api/types/index.d.ts +8 -2
  60. package/dist/api/types/index.js +8 -2
  61. package/dist/serialization/resources/documents/client/index.d.ts +1 -0
  62. package/dist/serialization/resources/documents/client/index.js +17 -0
  63. package/dist/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts +14 -0
  64. package/dist/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js +35 -0
  65. package/dist/serialization/resources/documents/client/requests/index.d.ts +1 -0
  66. package/dist/serialization/resources/documents/client/requests/index.js +5 -0
  67. package/dist/serialization/resources/documents/index.d.ts +1 -0
  68. package/dist/serialization/resources/documents/index.js +17 -0
  69. package/dist/serialization/resources/index.d.ts +2 -0
  70. package/dist/serialization/resources/index.js +3 -1
  71. package/dist/serialization/types/DeploymentRead.d.ts +1 -0
  72. package/dist/serialization/types/DeploymentRead.js +1 -0
  73. package/dist/serialization/types/InputVariable.d.ts +14 -0
  74. package/dist/serialization/types/InputVariable.js +35 -0
  75. package/dist/serialization/types/InputVariableType.d.ts +10 -0
  76. package/dist/serialization/types/{PromptTemplateInputVariable.js → InputVariableType.js} +2 -4
  77. package/dist/serialization/types/MetadataFilterConfigRequest.d.ts +17 -0
  78. package/dist/serialization/types/MetadataFilterConfigRequest.js +40 -0
  79. package/dist/serialization/types/MetadataFilterRuleCombinator.d.ts +10 -0
  80. package/{serialization/types/PromptTemplateInputVariable.js → dist/serialization/types/MetadataFilterRuleCombinator.js} +2 -4
  81. package/dist/serialization/types/MetadataFilterRuleRequest.d.ts +17 -0
  82. package/dist/serialization/types/MetadataFilterRuleRequest.js +40 -0
  83. package/dist/serialization/types/ModelVersionExecConfig.d.ts +1 -1
  84. package/dist/serialization/types/ModelVersionExecConfig.js +1 -1
  85. package/dist/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
  86. package/dist/serialization/types/PromptTemplateBlockProperties.js +1 -0
  87. package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  88. package/dist/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
  89. package/dist/serialization/types/RegisterPromptPromptInfoRequest.d.ts +1 -1
  90. package/dist/serialization/types/RegisterPromptPromptInfoRequest.js +1 -1
  91. package/dist/serialization/types/RegisteredPromptInputVariableRequest.d.ts +14 -0
  92. package/dist/serialization/types/RegisteredPromptInputVariableRequest.js +35 -0
  93. package/dist/serialization/types/SearchFiltersRequest.d.ts +1 -0
  94. package/dist/serialization/types/SearchFiltersRequest.js +1 -0
  95. package/dist/serialization/types/SetDocumentMetadataErrorResponse.d.ts +12 -0
  96. package/dist/serialization/types/{PromptTemplateInputVariableRequest.js → SetDocumentMetadataErrorResponse.js} +3 -3
  97. package/dist/serialization/types/SetDocumentMetadataResponse.d.ts +12 -0
  98. package/dist/serialization/types/SetDocumentMetadataResponse.js +33 -0
  99. package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  100. package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -1
  101. package/dist/serialization/types/index.d.ts +8 -2
  102. package/dist/serialization/types/index.js +8 -2
  103. package/package.json +1 -1
  104. package/serialization/resources/documents/client/index.d.ts +1 -0
  105. package/serialization/resources/documents/client/index.js +17 -0
  106. package/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.d.ts +14 -0
  107. package/serialization/resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js +35 -0
  108. package/serialization/resources/documents/client/requests/index.d.ts +1 -0
  109. package/serialization/resources/documents/client/requests/index.js +5 -0
  110. package/serialization/resources/documents/index.d.ts +1 -0
  111. package/serialization/resources/documents/index.js +17 -0
  112. package/serialization/resources/index.d.ts +2 -0
  113. package/serialization/resources/index.js +3 -1
  114. package/serialization/types/DeploymentRead.d.ts +1 -0
  115. package/serialization/types/DeploymentRead.js +1 -0
  116. package/serialization/types/InputVariable.d.ts +14 -0
  117. package/serialization/types/InputVariable.js +35 -0
  118. package/serialization/types/InputVariableType.d.ts +10 -0
  119. package/serialization/types/InputVariableType.js +31 -0
  120. package/serialization/types/MetadataFilterConfigRequest.d.ts +17 -0
  121. package/serialization/types/MetadataFilterConfigRequest.js +40 -0
  122. package/serialization/types/MetadataFilterRuleCombinator.d.ts +10 -0
  123. package/serialization/types/MetadataFilterRuleCombinator.js +31 -0
  124. package/serialization/types/MetadataFilterRuleRequest.d.ts +17 -0
  125. package/serialization/types/MetadataFilterRuleRequest.js +40 -0
  126. package/serialization/types/ModelVersionExecConfig.d.ts +1 -1
  127. package/serialization/types/ModelVersionExecConfig.js +1 -1
  128. package/serialization/types/PromptTemplateBlockProperties.d.ts +1 -0
  129. package/serialization/types/PromptTemplateBlockProperties.js +1 -0
  130. package/serialization/types/PromptTemplateBlockPropertiesRequest.d.ts +1 -0
  131. package/serialization/types/PromptTemplateBlockPropertiesRequest.js +1 -0
  132. package/serialization/types/RegisterPromptPromptInfoRequest.d.ts +1 -1
  133. package/serialization/types/RegisterPromptPromptInfoRequest.js +1 -1
  134. package/serialization/types/RegisteredPromptInputVariableRequest.d.ts +14 -0
  135. package/serialization/types/RegisteredPromptInputVariableRequest.js +35 -0
  136. package/serialization/types/SearchFiltersRequest.d.ts +1 -0
  137. package/serialization/types/SearchFiltersRequest.js +1 -0
  138. package/serialization/types/SetDocumentMetadataErrorResponse.d.ts +12 -0
  139. package/serialization/types/{PromptTemplateInputVariableRequest.js → SetDocumentMetadataErrorResponse.js} +3 -3
  140. package/serialization/types/SetDocumentMetadataResponse.d.ts +12 -0
  141. package/serialization/types/SetDocumentMetadataResponse.js +33 -0
  142. package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  143. package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -1
  144. package/serialization/types/index.d.ts +8 -2
  145. package/serialization/types/index.js +8 -2
  146. package/api/types/PromptTemplateInputVariable.d.ts +0 -7
  147. package/api/types/PromptTemplateInputVariableRequest.d.ts +0 -7
  148. package/dist/api/types/PromptTemplateInputVariable.d.ts +0 -7
  149. package/dist/api/types/PromptTemplateInputVariableRequest.d.ts +0 -7
  150. package/dist/serialization/types/PromptTemplateInputVariable.d.ts +0 -12
  151. package/dist/serialization/types/PromptTemplateInputVariableRequest.d.ts +0 -12
  152. package/serialization/types/PromptTemplateInputVariable.d.ts +0 -12
  153. package/serialization/types/PromptTemplateInputVariableRequest.d.ts +0 -12
  154. /package/api/{types/PromptTemplateInputVariable.js → resources/documents/client/requests/SetDocumentMetadataRequestBodyRequest.js} +0 -0
  155. /package/api/types/{PromptTemplateInputVariableRequest.js → InputVariable.js} +0 -0
  156. /package/{dist/api/types/PromptTemplateInputVariable.js → api/types/MetadataFilterConfigRequest.js} +0 -0
  157. /package/{dist/api/types/PromptTemplateInputVariableRequest.js → api/types/MetadataFilterRuleRequest.js} +0 -0
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const MetadataFilterRuleRequest: core.serialization.ObjectSchema<serializers.MetadataFilterRuleRequest.Raw, Vellum.MetadataFilterRuleRequest>;
8
+ export declare namespace MetadataFilterRuleRequest {
9
+ interface Raw {
10
+ combinator?: serializers.MetadataFilterRuleCombinator.Raw | null;
11
+ negated?: boolean | null;
12
+ rules?: serializers.MetadataFilterRuleRequest.Raw[] | null;
13
+ field?: string | null;
14
+ operator?: string | null;
15
+ value?: string | null;
16
+ }
17
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.MetadataFilterRuleRequest = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.MetadataFilterRuleRequest = core.serialization.object({
32
+ combinator: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).MetadataFilterRuleCombinator).optional(),
33
+ negated: core.serialization.boolean().optional(),
34
+ rules: core.serialization
35
+ .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).MetadataFilterRuleRequest))
36
+ .optional(),
37
+ field: core.serialization.string().optional(),
38
+ operator: core.serialization.string().optional(),
39
+ value: core.serialization.string().optional(),
40
+ });
@@ -8,7 +8,7 @@ export declare const ModelVersionExecConfig: core.serialization.ObjectSchema<ser
8
8
  export declare namespace ModelVersionExecConfig {
9
9
  interface Raw {
10
10
  parameters: serializers.ModelVersionExecConfigParameters.Raw;
11
- input_variables: serializers.PromptTemplateInputVariable.Raw[];
11
+ input_variables: serializers.InputVariable.Raw[];
12
12
  prompt_template?: string | null;
13
13
  prompt_block_data?: serializers.PromptTemplateBlockData.Raw | null;
14
14
  prompt_syntax_version?: number | null;
@@ -30,7 +30,7 @@ exports.ModelVersionExecConfig = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.ModelVersionExecConfig = core.serialization.object({
32
32
  parameters: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).ModelVersionExecConfigParameters),
33
- inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateInputVariable))),
33
+ inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).InputVariable))),
34
34
  promptTemplate: core.serialization.property("prompt_template", core.serialization.string().optional()),
35
35
  promptBlockData: core.serialization.property("prompt_block_data", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockData).optional()),
36
36
  promptSyntaxVersion: core.serialization.property("prompt_syntax_version", core.serialization.number().optional()),
@@ -14,6 +14,7 @@ export declare namespace PromptTemplateBlockProperties {
14
14
  function_name?: string | null;
15
15
  function_description?: string | null;
16
16
  function_parameters?: Record<string, unknown> | null;
17
+ function_forced?: boolean | null;
17
18
  blocks?: serializers.PromptTemplateBlock.Raw[] | null;
18
19
  }
19
20
  }
@@ -36,6 +36,7 @@ exports.PromptTemplateBlockProperties = core.serialization.object({
36
36
  functionName: core.serialization.property("function_name", core.serialization.string().optional()),
37
37
  functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
38
38
  functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
39
+ functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
39
40
  blocks: core.serialization
40
41
  .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlock))
41
42
  .optional(),
@@ -14,6 +14,7 @@ export declare namespace PromptTemplateBlockPropertiesRequest {
14
14
  function_name?: string | null;
15
15
  function_description?: string | null;
16
16
  function_parameters?: Record<string, unknown> | null;
17
+ function_forced?: boolean | null;
17
18
  blocks?: serializers.PromptTemplateBlockRequest.Raw[] | null;
18
19
  }
19
20
  }
@@ -36,6 +36,7 @@ exports.PromptTemplateBlockPropertiesRequest = core.serialization.object({
36
36
  functionName: core.serialization.property("function_name", core.serialization.string().optional()),
37
37
  functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
38
38
  functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
39
+ functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
39
40
  blocks: core.serialization
40
41
  .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockRequest))
41
42
  .optional(),
@@ -9,6 +9,6 @@ export declare namespace RegisterPromptPromptInfoRequest {
9
9
  interface Raw {
10
10
  prompt_syntax_version?: number | null;
11
11
  prompt_block_data: serializers.PromptTemplateBlockDataRequest.Raw;
12
- input_variables: serializers.PromptTemplateInputVariableRequest.Raw[];
12
+ input_variables: serializers.RegisteredPromptInputVariableRequest.Raw[];
13
13
  }
14
14
  }
@@ -31,5 +31,5 @@ const core = __importStar(require("../../core"));
31
31
  exports.RegisterPromptPromptInfoRequest = core.serialization.object({
32
32
  promptSyntaxVersion: core.serialization.property("prompt_syntax_version", core.serialization.number().optional()),
33
33
  promptBlockData: core.serialization.property("prompt_block_data", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateBlockDataRequest)),
34
- inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).PromptTemplateInputVariableRequest))),
34
+ inputVariables: core.serialization.property("input_variables", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).RegisteredPromptInputVariableRequest))),
35
35
  });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const RegisteredPromptInputVariableRequest: core.serialization.ObjectSchema<serializers.RegisteredPromptInputVariableRequest.Raw, Vellum.RegisteredPromptInputVariableRequest>;
8
+ export declare namespace RegisteredPromptInputVariableRequest {
9
+ interface Raw {
10
+ key: string;
11
+ id?: string | null;
12
+ type?: serializers.InputVariableType.Raw | null;
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.RegisteredPromptInputVariableRequest = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.RegisteredPromptInputVariableRequest = core.serialization.object({
32
+ key: core.serialization.string(),
33
+ id: core.serialization.string().optional(),
34
+ type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("..")))).InputVariableType).optional(),
35
+ });
@@ -8,5 +8,6 @@ export declare const SearchFiltersRequest: core.serialization.ObjectSchema<seria
8
8
  export declare namespace SearchFiltersRequest {
9
9
  interface Raw {
10
10
  external_ids?: string[] | null;
11
+ metadata?: serializers.MetadataFilterConfigRequest.Raw | null;
11
12
  }
12
13
  }
@@ -30,4 +30,5 @@ exports.SearchFiltersRequest = void 0;
30
30
  const core = __importStar(require("../../core"));
31
31
  exports.SearchFiltersRequest = core.serialization.object({
32
32
  externalIds: core.serialization.property("external_ids", core.serialization.list(core.serialization.string()).optional()),
33
+ metadata: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("..")))).MetadataFilterConfigRequest).optional(),
33
34
  });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const SetDocumentMetadataErrorResponse: core.serialization.ObjectSchema<serializers.SetDocumentMetadataErrorResponse.Raw, Vellum.SetDocumentMetadataErrorResponse>;
8
+ export declare namespace SetDocumentMetadataErrorResponse {
9
+ interface Raw {
10
+ detail: string;
11
+ }
12
+ }
@@ -26,8 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PromptTemplateInputVariableRequest = void 0;
29
+ exports.SetDocumentMetadataErrorResponse = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.PromptTemplateInputVariableRequest = core.serialization.object({
32
- key: core.serialization.string(),
31
+ exports.SetDocumentMetadataErrorResponse = core.serialization.object({
32
+ detail: core.serialization.string(),
33
33
  });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "..";
5
+ import * as Vellum from "../../api";
6
+ import * as core from "../../core";
7
+ export declare const SetDocumentMetadataResponse: core.serialization.ObjectSchema<serializers.SetDocumentMetadataResponse.Raw, Vellum.SetDocumentMetadataResponse>;
8
+ export declare namespace SetDocumentMetadataResponse {
9
+ interface Raw {
10
+ document_id: string;
11
+ }
12
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.SetDocumentMetadataResponse = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.SetDocumentMetadataResponse = core.serialization.object({
32
+ documentId: core.serialization.property("document_id", core.serialization.string()),
33
+ });
@@ -6,5 +6,5 @@ import * as Vellum from "../../api";
6
6
  import * as core from "../../core";
7
7
  export declare const WorkflowExecutionEventErrorCode: core.serialization.Schema<serializers.WorkflowExecutionEventErrorCode.Raw, Vellum.WorkflowExecutionEventErrorCode>;
8
8
  export declare namespace WorkflowExecutionEventErrorCode {
9
- type Raw = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION";
9
+ type Raw = "WORKFLOW_INITIALIZATION" | "NODE_EXECUTION" | "NODE_EXECUTION_COUNT_LIMIT_REACHED";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.WorkflowExecutionEventErrorCode = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.WorkflowExecutionEventErrorCode = core.serialization.enum_(["WORKFLOW_INITIALIZATION", "NODE_EXECUTION"]);
31
+ exports.WorkflowExecutionEventErrorCode = core.serialization.enum_(["WORKFLOW_INITIALIZATION", "NODE_EXECUTION", "NODE_EXECUTION_COUNT_LIMIT_REACHED"]);
@@ -30,7 +30,12 @@ export * from "./GenerateStreamResponse";
30
30
  export * from "./GenerateStreamResult";
31
31
  export * from "./GenerateStreamResultData";
32
32
  export * from "./IndexingStateEnum";
33
+ export * from "./InputVariable";
34
+ export * from "./InputVariableType";
33
35
  export * from "./LogprobsEnum";
36
+ export * from "./MetadataFilterConfigRequest";
37
+ export * from "./MetadataFilterRuleCombinator";
38
+ export * from "./MetadataFilterRuleRequest";
34
39
  export * from "./ModelTypeEnum";
35
40
  export * from "./ModelVersionBuildConfig";
36
41
  export * from "./ModelVersionCompilePromptResponse";
@@ -53,8 +58,6 @@ export * from "./PromptTemplateBlockDataRequest";
53
58
  export * from "./PromptTemplateBlockProperties";
54
59
  export * from "./PromptTemplateBlockPropertiesRequest";
55
60
  export * from "./PromptTemplateBlockRequest";
56
- export * from "./PromptTemplateInputVariable";
57
- export * from "./PromptTemplateInputVariableRequest";
58
61
  export * from "./ProviderEnum";
59
62
  export * from "./RegisterPromptErrorResponse";
60
63
  export * from "./RegisterPromptModelParametersRequest";
@@ -62,6 +65,7 @@ export * from "./RegisterPromptPrompt";
62
65
  export * from "./RegisterPromptPromptInfoRequest";
63
66
  export * from "./RegisterPromptResponse";
64
67
  export * from "./RegisteredPromptDeployment";
68
+ export * from "./RegisteredPromptInputVariableRequest";
65
69
  export * from "./RegisteredPromptModelVersion";
66
70
  export * from "./RegisteredPromptSandbox";
67
71
  export * from "./RegisteredPromptSandboxSnapshot";
@@ -82,6 +86,8 @@ export * from "./SearchResponse";
82
86
  export * from "./SearchResult";
83
87
  export * from "./SearchResultMergingRequest";
84
88
  export * from "./SearchWeightsRequest";
89
+ export * from "./SetDocumentMetadataErrorResponse";
90
+ export * from "./SetDocumentMetadataResponse";
85
91
  export * from "./SlimDocument";
86
92
  export * from "./SlimDocumentStatusEnum";
87
93
  export * from "./SubmitCompletionActualRequest";
@@ -46,7 +46,12 @@ __exportStar(require("./GenerateStreamResponse"), exports);
46
46
  __exportStar(require("./GenerateStreamResult"), exports);
47
47
  __exportStar(require("./GenerateStreamResultData"), exports);
48
48
  __exportStar(require("./IndexingStateEnum"), exports);
49
+ __exportStar(require("./InputVariable"), exports);
50
+ __exportStar(require("./InputVariableType"), exports);
49
51
  __exportStar(require("./LogprobsEnum"), exports);
52
+ __exportStar(require("./MetadataFilterConfigRequest"), exports);
53
+ __exportStar(require("./MetadataFilterRuleCombinator"), exports);
54
+ __exportStar(require("./MetadataFilterRuleRequest"), exports);
50
55
  __exportStar(require("./ModelTypeEnum"), exports);
51
56
  __exportStar(require("./ModelVersionBuildConfig"), exports);
52
57
  __exportStar(require("./ModelVersionCompilePromptResponse"), exports);
@@ -69,8 +74,6 @@ __exportStar(require("./PromptTemplateBlockDataRequest"), exports);
69
74
  __exportStar(require("./PromptTemplateBlockProperties"), exports);
70
75
  __exportStar(require("./PromptTemplateBlockPropertiesRequest"), exports);
71
76
  __exportStar(require("./PromptTemplateBlockRequest"), exports);
72
- __exportStar(require("./PromptTemplateInputVariable"), exports);
73
- __exportStar(require("./PromptTemplateInputVariableRequest"), exports);
74
77
  __exportStar(require("./ProviderEnum"), exports);
75
78
  __exportStar(require("./RegisterPromptErrorResponse"), exports);
76
79
  __exportStar(require("./RegisterPromptModelParametersRequest"), exports);
@@ -78,6 +81,7 @@ __exportStar(require("./RegisterPromptPrompt"), exports);
78
81
  __exportStar(require("./RegisterPromptPromptInfoRequest"), exports);
79
82
  __exportStar(require("./RegisterPromptResponse"), exports);
80
83
  __exportStar(require("./RegisteredPromptDeployment"), exports);
84
+ __exportStar(require("./RegisteredPromptInputVariableRequest"), exports);
81
85
  __exportStar(require("./RegisteredPromptModelVersion"), exports);
82
86
  __exportStar(require("./RegisteredPromptSandbox"), exports);
83
87
  __exportStar(require("./RegisteredPromptSandboxSnapshot"), exports);
@@ -98,6 +102,8 @@ __exportStar(require("./SearchResponse"), exports);
98
102
  __exportStar(require("./SearchResult"), exports);
99
103
  __exportStar(require("./SearchResultMergingRequest"), exports);
100
104
  __exportStar(require("./SearchWeightsRequest"), exports);
105
+ __exportStar(require("./SetDocumentMetadataErrorResponse"), exports);
106
+ __exportStar(require("./SetDocumentMetadataResponse"), exports);
101
107
  __exportStar(require("./SlimDocument"), exports);
102
108
  __exportStar(require("./SlimDocumentStatusEnum"), exports);
103
109
  __exportStar(require("./SubmitCompletionActualRequest"), exports);
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PromptTemplateInputVariable {
5
- /** The name of the input variable. */
6
- key: string;
7
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PromptTemplateInputVariableRequest {
5
- /** The name of the input variable. <span style="white-space: nowrap">`non-empty`</span> */
6
- key: string;
7
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PromptTemplateInputVariable {
5
- /** The name of the input variable. */
6
- key: string;
7
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface PromptTemplateInputVariableRequest {
5
- /** The name of the input variable. <span style="white-space: nowrap">`non-empty`</span> */
6
- key: string;
7
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- export declare const PromptTemplateInputVariable: core.serialization.ObjectSchema<serializers.PromptTemplateInputVariable.Raw, Vellum.PromptTemplateInputVariable>;
8
- export declare namespace PromptTemplateInputVariable {
9
- interface Raw {
10
- key: string;
11
- }
12
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- export declare const PromptTemplateInputVariableRequest: core.serialization.ObjectSchema<serializers.PromptTemplateInputVariableRequest.Raw, Vellum.PromptTemplateInputVariableRequest>;
8
- export declare namespace PromptTemplateInputVariableRequest {
9
- interface Raw {
10
- key: string;
11
- }
12
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- export declare const PromptTemplateInputVariable: core.serialization.ObjectSchema<serializers.PromptTemplateInputVariable.Raw, Vellum.PromptTemplateInputVariable>;
8
- export declare namespace PromptTemplateInputVariable {
9
- interface Raw {
10
- key: string;
11
- }
12
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "..";
5
- import * as Vellum from "../../api";
6
- import * as core from "../../core";
7
- export declare const PromptTemplateInputVariableRequest: core.serialization.ObjectSchema<serializers.PromptTemplateInputVariableRequest.Raw, Vellum.PromptTemplateInputVariableRequest>;
8
- export declare namespace PromptTemplateInputVariableRequest {
9
- interface Raw {
10
- key: string;
11
- }
12
- }