vellum-ai 1.3.8 → 1.3.10

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 (92) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +2 -2
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +8 -8
  5. package/api/resources/documentIndexes/client/Client.js +8 -8
  6. package/api/resources/documents/client/Client.js +5 -5
  7. package/api/resources/events/client/Client.js +1 -1
  8. package/api/resources/folderEntities/client/Client.js +2 -2
  9. package/api/resources/metricDefinitions/client/Client.js +2 -2
  10. package/api/resources/mlModels/client/Client.js +1 -1
  11. package/api/resources/organizations/client/Client.js +1 -1
  12. package/api/resources/prompts/client/Client.js +2 -2
  13. package/api/resources/sandboxes/client/Client.js +3 -3
  14. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  15. package/api/resources/testSuites/client/Client.js +4 -4
  16. package/api/resources/workflowDeployments/client/Client.js +9 -9
  17. package/api/resources/workflowExecutions/client/Client.js +1 -1
  18. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  19. package/api/resources/workflows/client/Client.d.ts +17 -0
  20. package/api/resources/workflows/client/Client.js +74 -2
  21. package/api/resources/workflows/client/requests/SerializeWorkflowFilesRequest.d.ts +16 -0
  22. package/api/resources/workflows/client/requests/SerializeWorkflowFilesRequest.js +5 -0
  23. package/api/resources/workflows/client/requests/index.d.ts +1 -0
  24. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  25. package/api/resources/workspaces/client/Client.js +1 -1
  26. package/api/types/VellumError.d.ts +2 -1
  27. package/api/types/VellumErrorRequest.d.ts +2 -1
  28. package/dist/Client.js +11 -11
  29. package/dist/api/resources/adHoc/client/Client.js +2 -2
  30. package/dist/api/resources/containerImages/client/Client.js +4 -4
  31. package/dist/api/resources/deployments/client/Client.js +8 -8
  32. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  33. package/dist/api/resources/documents/client/Client.js +5 -5
  34. package/dist/api/resources/events/client/Client.js +1 -1
  35. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  36. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  37. package/dist/api/resources/mlModels/client/Client.js +1 -1
  38. package/dist/api/resources/organizations/client/Client.js +1 -1
  39. package/dist/api/resources/prompts/client/Client.js +2 -2
  40. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  41. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  42. package/dist/api/resources/testSuites/client/Client.js +4 -4
  43. package/dist/api/resources/workflowDeployments/client/Client.js +9 -9
  44. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  45. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  46. package/dist/api/resources/workflows/client/Client.d.ts +17 -0
  47. package/dist/api/resources/workflows/client/Client.js +74 -2
  48. package/dist/api/resources/workflows/client/requests/SerializeWorkflowFilesRequest.d.ts +16 -0
  49. package/dist/api/resources/workflows/client/requests/SerializeWorkflowFilesRequest.js +5 -0
  50. package/dist/api/resources/workflows/client/requests/index.d.ts +1 -0
  51. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  52. package/dist/api/resources/workspaces/client/Client.js +1 -1
  53. package/dist/api/types/VellumError.d.ts +2 -1
  54. package/dist/api/types/VellumErrorRequest.d.ts +2 -1
  55. package/dist/serialization/resources/index.d.ts +2 -0
  56. package/dist/serialization/resources/index.js +3 -1
  57. package/dist/serialization/resources/workflows/client/index.d.ts +2 -0
  58. package/dist/serialization/resources/workflows/client/index.js +41 -0
  59. package/dist/serialization/resources/workflows/client/requests/SerializeWorkflowFilesRequest.d.ts +12 -0
  60. package/dist/serialization/resources/workflows/client/requests/SerializeWorkflowFilesRequest.js +43 -0
  61. package/dist/serialization/resources/workflows/client/requests/index.d.ts +1 -0
  62. package/dist/serialization/resources/workflows/client/requests/index.js +5 -0
  63. package/dist/serialization/resources/workflows/client/serializeWorkflowFiles.d.ts +9 -0
  64. package/dist/serialization/resources/workflows/client/serializeWorkflowFiles.js +41 -0
  65. package/dist/serialization/resources/workflows/index.d.ts +1 -0
  66. package/dist/serialization/resources/workflows/index.js +17 -0
  67. package/dist/serialization/types/VellumError.d.ts +2 -1
  68. package/dist/serialization/types/VellumError.js +2 -1
  69. package/dist/serialization/types/VellumErrorRequest.d.ts +2 -1
  70. package/dist/serialization/types/VellumErrorRequest.js +2 -1
  71. package/dist/version.d.ts +1 -1
  72. package/dist/version.js +1 -1
  73. package/package.json +1 -1
  74. package/reference.md +69 -0
  75. package/serialization/resources/index.d.ts +2 -0
  76. package/serialization/resources/index.js +3 -1
  77. package/serialization/resources/workflows/client/index.d.ts +2 -0
  78. package/serialization/resources/workflows/client/index.js +41 -0
  79. package/serialization/resources/workflows/client/requests/SerializeWorkflowFilesRequest.d.ts +12 -0
  80. package/serialization/resources/workflows/client/requests/SerializeWorkflowFilesRequest.js +43 -0
  81. package/serialization/resources/workflows/client/requests/index.d.ts +1 -0
  82. package/serialization/resources/workflows/client/requests/index.js +5 -0
  83. package/serialization/resources/workflows/client/serializeWorkflowFiles.d.ts +9 -0
  84. package/serialization/resources/workflows/client/serializeWorkflowFiles.js +41 -0
  85. package/serialization/resources/workflows/index.d.ts +1 -0
  86. package/serialization/resources/workflows/index.js +17 -0
  87. package/serialization/types/VellumError.d.ts +2 -1
  88. package/serialization/types/VellumError.js +2 -1
  89. package/serialization/types/VellumErrorRequest.d.ts +2 -1
  90. package/serialization/types/VellumErrorRequest.js +2 -1
  91. package/version.d.ts +1 -1
  92. package/version.js +1 -1
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../index";
5
+ import * as Vellum from "../../../../../api/index";
6
+ import * as core from "../../../../../core";
7
+ export declare const SerializeWorkflowFilesRequest: core.serialization.Schema<serializers.SerializeWorkflowFilesRequest.Raw, Vellum.SerializeWorkflowFilesRequest>;
8
+ export declare namespace SerializeWorkflowFilesRequest {
9
+ interface Raw {
10
+ files: Record<string, unknown>;
11
+ }
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.SerializeWorkflowFilesRequest = void 0;
40
+ const core = __importStar(require("../../../../../core"));
41
+ exports.SerializeWorkflowFilesRequest = core.serialization.object({
42
+ files: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
43
+ });
@@ -0,0 +1 @@
1
+ export { SerializeWorkflowFilesRequest } from "./SerializeWorkflowFilesRequest";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SerializeWorkflowFilesRequest = void 0;
4
+ var SerializeWorkflowFilesRequest_1 = require("./SerializeWorkflowFilesRequest");
5
+ Object.defineProperty(exports, "SerializeWorkflowFilesRequest", { enumerable: true, get: function () { return SerializeWorkflowFilesRequest_1.SerializeWorkflowFilesRequest; } });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../index";
5
+ import * as core from "../../../../core";
6
+ export declare const Response: core.serialization.Schema<serializers.workflows.serializeWorkflowFiles.Response.Raw, Record<string, unknown>>;
7
+ export declare namespace Response {
8
+ type Raw = Record<string, unknown>;
9
+ }
@@ -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.Response = void 0;
40
+ const core = __importStar(require("../../../../core"));
41
+ exports.Response = core.serialization.record(core.serialization.string(), core.serialization.unknown());
@@ -0,0 +1 @@
1
+ export * from "./client";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client"), exports);
@@ -8,7 +8,8 @@ import { VellumErrorCodeEnum } from "./VellumErrorCodeEnum";
8
8
  export declare const VellumError: core.serialization.ObjectSchema<serializers.VellumError.Raw, Vellum.VellumError>;
9
9
  export declare namespace VellumError {
10
10
  interface Raw {
11
- message: string;
12
11
  code: VellumErrorCodeEnum.Raw;
12
+ message: string;
13
+ raw_data?: (Record<string, unknown> | null) | null;
13
14
  }
14
15
  }
@@ -40,6 +40,7 @@ exports.VellumError = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const VellumErrorCodeEnum_1 = require("./VellumErrorCodeEnum");
42
42
  exports.VellumError = core.serialization.object({
43
- message: core.serialization.string(),
44
43
  code: VellumErrorCodeEnum_1.VellumErrorCodeEnum,
44
+ message: core.serialization.string(),
45
+ rawData: core.serialization.property("raw_data", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable()),
45
46
  });
@@ -8,7 +8,8 @@ import { VellumErrorCodeEnum } from "./VellumErrorCodeEnum";
8
8
  export declare const VellumErrorRequest: core.serialization.ObjectSchema<serializers.VellumErrorRequest.Raw, Vellum.VellumErrorRequest>;
9
9
  export declare namespace VellumErrorRequest {
10
10
  interface Raw {
11
- message: string;
12
11
  code: VellumErrorCodeEnum.Raw;
12
+ message: string;
13
+ raw_data?: (Record<string, unknown> | null) | null;
13
14
  }
14
15
  }
@@ -40,6 +40,7 @@ exports.VellumErrorRequest = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const VellumErrorCodeEnum_1 = require("./VellumErrorCodeEnum");
42
42
  exports.VellumErrorRequest = core.serialization.object({
43
- message: core.serialization.string(),
44
43
  code: VellumErrorCodeEnum_1.VellumErrorCodeEnum,
44
+ message: core.serialization.string(),
45
+ rawData: core.serialization.property("raw_data", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optionalNullable()),
45
46
  });
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.3.8";
1
+ export declare const SDK_VERSION = "1.3.10";
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.8";
4
+ exports.SDK_VERSION = "1.3.10";