vellum-ai 0.14.37 → 0.14.39

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 (133) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +1 -1
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +7 -7
  5. package/api/resources/documentIndexes/client/Client.js +8 -8
  6. package/api/resources/documents/client/Client.js +5 -5
  7. package/api/resources/folderEntities/client/Client.js +2 -2
  8. package/api/resources/metricDefinitions/client/Client.js +2 -2
  9. package/api/resources/mlModels/client/Client.js +1 -1
  10. package/api/resources/organizations/client/Client.js +1 -1
  11. package/api/resources/prompts/client/Client.js +1 -1
  12. package/api/resources/releaseReviews/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 +8 -8
  17. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  18. package/api/resources/workflows/client/Client.js +2 -2
  19. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  20. package/api/resources/workspaces/client/Client.js +1 -1
  21. package/api/types/AdHocFulfilledPromptExecutionMeta.d.ts +1 -0
  22. package/api/types/FulfilledPromptExecutionMeta.d.ts +1 -0
  23. package/api/types/TestSuiteRunExecConfigRequest.d.ts +1 -1
  24. package/api/types/TestSuiteRunProgress.d.ts +7 -0
  25. package/api/types/TestSuiteRunProgress.js +5 -0
  26. package/api/types/TestSuiteRunPromptSandboxExecConfigDataRequest.d.ts +9 -0
  27. package/api/types/TestSuiteRunPromptSandboxExecConfigDataRequest.js +5 -0
  28. package/api/types/TestSuiteRunPromptSandboxExecConfigRequest.d.ts +13 -0
  29. package/api/types/TestSuiteRunPromptSandboxExecConfigRequest.js +5 -0
  30. package/api/types/TestSuiteRunRead.d.ts +1 -0
  31. package/api/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.d.ts +7 -0
  32. package/api/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.js +5 -0
  33. package/api/types/TestSuiteRunWorkflowSandboxExecConfigRequest.d.ts +13 -0
  34. package/api/types/TestSuiteRunWorkflowSandboxExecConfigRequest.js +5 -0
  35. package/api/types/VellumSdkErrorCodeEnum.d.ts +3 -1
  36. package/api/types/VellumSdkErrorCodeEnum.js +1 -0
  37. package/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  38. package/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  39. package/api/types/index.d.ts +5 -0
  40. package/api/types/index.js +5 -0
  41. package/dist/Client.js +11 -11
  42. package/dist/api/resources/adHoc/client/Client.js +1 -1
  43. package/dist/api/resources/containerImages/client/Client.js +4 -4
  44. package/dist/api/resources/deployments/client/Client.js +7 -7
  45. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  46. package/dist/api/resources/documents/client/Client.js +5 -5
  47. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  48. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  49. package/dist/api/resources/mlModels/client/Client.js +1 -1
  50. package/dist/api/resources/organizations/client/Client.js +1 -1
  51. package/dist/api/resources/prompts/client/Client.js +1 -1
  52. package/dist/api/resources/releaseReviews/client/Client.js +2 -2
  53. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  54. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  55. package/dist/api/resources/testSuites/client/Client.js +4 -4
  56. package/dist/api/resources/workflowDeployments/client/Client.js +8 -8
  57. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  58. package/dist/api/resources/workflows/client/Client.js +2 -2
  59. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  60. package/dist/api/resources/workspaces/client/Client.js +1 -1
  61. package/dist/api/types/AdHocFulfilledPromptExecutionMeta.d.ts +1 -0
  62. package/dist/api/types/FulfilledPromptExecutionMeta.d.ts +1 -0
  63. package/dist/api/types/TestSuiteRunExecConfigRequest.d.ts +1 -1
  64. package/dist/api/types/TestSuiteRunProgress.d.ts +7 -0
  65. package/dist/api/types/TestSuiteRunProgress.js +5 -0
  66. package/dist/api/types/TestSuiteRunPromptSandboxExecConfigDataRequest.d.ts +9 -0
  67. package/dist/api/types/TestSuiteRunPromptSandboxExecConfigDataRequest.js +5 -0
  68. package/dist/api/types/TestSuiteRunPromptSandboxExecConfigRequest.d.ts +13 -0
  69. package/dist/api/types/TestSuiteRunPromptSandboxExecConfigRequest.js +5 -0
  70. package/dist/api/types/TestSuiteRunRead.d.ts +1 -0
  71. package/dist/api/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.d.ts +7 -0
  72. package/dist/api/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.js +5 -0
  73. package/dist/api/types/TestSuiteRunWorkflowSandboxExecConfigRequest.d.ts +13 -0
  74. package/dist/api/types/TestSuiteRunWorkflowSandboxExecConfigRequest.js +5 -0
  75. package/dist/api/types/VellumSdkErrorCodeEnum.d.ts +3 -1
  76. package/dist/api/types/VellumSdkErrorCodeEnum.js +1 -0
  77. package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +3 -1
  78. package/dist/api/types/WorkflowExecutionEventErrorCode.js +1 -0
  79. package/dist/api/types/index.d.ts +5 -0
  80. package/dist/api/types/index.js +5 -0
  81. package/dist/serialization/types/AdHocFulfilledPromptExecutionMeta.d.ts +2 -0
  82. package/dist/serialization/types/AdHocFulfilledPromptExecutionMeta.js +2 -0
  83. package/dist/serialization/types/FulfilledPromptExecutionMeta.d.ts +2 -0
  84. package/dist/serialization/types/FulfilledPromptExecutionMeta.js +2 -0
  85. package/dist/serialization/types/TestSuiteRunExecConfigRequest.d.ts +3 -1
  86. package/dist/serialization/types/TestSuiteRunExecConfigRequest.js +4 -0
  87. package/dist/serialization/types/TestSuiteRunProgress.d.ts +13 -0
  88. package/dist/serialization/types/TestSuiteRunProgress.js +44 -0
  89. package/dist/serialization/types/TestSuiteRunPromptSandboxExecConfigDataRequest.d.ts +13 -0
  90. package/dist/serialization/types/TestSuiteRunPromptSandboxExecConfigDataRequest.js +44 -0
  91. package/dist/serialization/types/TestSuiteRunPromptSandboxExecConfigRequest.d.ts +15 -0
  92. package/dist/serialization/types/TestSuiteRunPromptSandboxExecConfigRequest.js +46 -0
  93. package/dist/serialization/types/TestSuiteRunRead.d.ts +2 -0
  94. package/dist/serialization/types/TestSuiteRunRead.js +2 -0
  95. package/dist/serialization/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.d.ts +12 -0
  96. package/dist/serialization/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.js +43 -0
  97. package/dist/serialization/types/TestSuiteRunWorkflowSandboxExecConfigRequest.d.ts +15 -0
  98. package/dist/serialization/types/TestSuiteRunWorkflowSandboxExecConfigRequest.js +46 -0
  99. package/dist/serialization/types/VellumSdkErrorCodeEnum.d.ts +1 -1
  100. package/dist/serialization/types/VellumSdkErrorCodeEnum.js +1 -0
  101. package/dist/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  102. package/dist/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
  103. package/dist/serialization/types/index.d.ts +5 -0
  104. package/dist/serialization/types/index.js +5 -0
  105. package/dist/version.d.ts +1 -1
  106. package/dist/version.js +1 -1
  107. package/package.json +1 -1
  108. package/serialization/types/AdHocFulfilledPromptExecutionMeta.d.ts +2 -0
  109. package/serialization/types/AdHocFulfilledPromptExecutionMeta.js +2 -0
  110. package/serialization/types/FulfilledPromptExecutionMeta.d.ts +2 -0
  111. package/serialization/types/FulfilledPromptExecutionMeta.js +2 -0
  112. package/serialization/types/TestSuiteRunExecConfigRequest.d.ts +3 -1
  113. package/serialization/types/TestSuiteRunExecConfigRequest.js +4 -0
  114. package/serialization/types/TestSuiteRunProgress.d.ts +13 -0
  115. package/serialization/types/TestSuiteRunProgress.js +44 -0
  116. package/serialization/types/TestSuiteRunPromptSandboxExecConfigDataRequest.d.ts +13 -0
  117. package/serialization/types/TestSuiteRunPromptSandboxExecConfigDataRequest.js +44 -0
  118. package/serialization/types/TestSuiteRunPromptSandboxExecConfigRequest.d.ts +15 -0
  119. package/serialization/types/TestSuiteRunPromptSandboxExecConfigRequest.js +46 -0
  120. package/serialization/types/TestSuiteRunRead.d.ts +2 -0
  121. package/serialization/types/TestSuiteRunRead.js +2 -0
  122. package/serialization/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.d.ts +12 -0
  123. package/serialization/types/TestSuiteRunWorkflowSandboxExecConfigDataRequest.js +43 -0
  124. package/serialization/types/TestSuiteRunWorkflowSandboxExecConfigRequest.d.ts +15 -0
  125. package/serialization/types/TestSuiteRunWorkflowSandboxExecConfigRequest.js +46 -0
  126. package/serialization/types/VellumSdkErrorCodeEnum.d.ts +1 -1
  127. package/serialization/types/VellumSdkErrorCodeEnum.js +1 -0
  128. package/serialization/types/WorkflowExecutionEventErrorCode.d.ts +1 -1
  129. package/serialization/types/WorkflowExecutionEventErrorCode.js +1 -0
  130. package/serialization/types/index.d.ts +5 -0
  131. package/serialization/types/index.js +5 -0
  132. package/version.d.ts +1 -1
  133. package/version.js +1 -1
@@ -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.TestSuiteRunWorkflowSandboxExecConfigDataRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.TestSuiteRunWorkflowSandboxExecConfigDataRequest = core.serialization.object({
42
+ workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string()),
43
+ });
@@ -0,0 +1,15 @@
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 { TestSuiteRunWorkflowSandboxExecConfigDataRequest } from "./TestSuiteRunWorkflowSandboxExecConfigDataRequest";
8
+ export declare const TestSuiteRunWorkflowSandboxExecConfigRequest: core.serialization.ObjectSchema<serializers.TestSuiteRunWorkflowSandboxExecConfigRequest.Raw, Vellum.TestSuiteRunWorkflowSandboxExecConfigRequest>;
9
+ export declare namespace TestSuiteRunWorkflowSandboxExecConfigRequest {
10
+ interface Raw {
11
+ type: "WORKFLOW_SANDBOX";
12
+ data: TestSuiteRunWorkflowSandboxExecConfigDataRequest.Raw;
13
+ test_case_ids?: string[] | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.TestSuiteRunWorkflowSandboxExecConfigRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const TestSuiteRunWorkflowSandboxExecConfigDataRequest_1 = require("./TestSuiteRunWorkflowSandboxExecConfigDataRequest");
42
+ exports.TestSuiteRunWorkflowSandboxExecConfigRequest = core.serialization.object({
43
+ type: core.serialization.stringLiteral("WORKFLOW_SANDBOX"),
44
+ data: TestSuiteRunWorkflowSandboxExecConfigDataRequest_1.TestSuiteRunWorkflowSandboxExecConfigDataRequest,
45
+ testCaseIds: core.serialization.property("test_case_ids", core.serialization.list(core.serialization.string()).optional()),
46
+ });
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const VellumSdkErrorCodeEnum: core.serialization.Schema<serializers.VellumSdkErrorCodeEnum.Raw, Vellum.VellumSdkErrorCodeEnum>;
8
8
  export declare namespace VellumSdkErrorCodeEnum {
9
- type Raw = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_EXECUTION";
9
+ type Raw = "INVALID_WORKFLOW" | "INVALID_INPUTS" | "INVALID_OUTPUTS" | "INVALID_STATE" | "INVALID_CODE" | "INVALID_TEMPLATE" | "INTERNAL_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "PROVIDER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED" | "NODE_EXECUTION";
10
10
  }
@@ -46,6 +46,7 @@ exports.VellumSdkErrorCodeEnum = core.serialization.enum_([
46
46
  "INVALID_CODE",
47
47
  "INVALID_TEMPLATE",
48
48
  "INTERNAL_ERROR",
49
+ "PROVIDER_CREDENTIALS_UNAVAILABLE",
49
50
  "PROVIDER_ERROR",
50
51
  "USER_DEFINED_ERROR",
51
52
  "WORKFLOW_CANCELLED",
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
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" | "WORKFLOW_CANCELLED" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "INVALID_INPUTS" | "USER_DEFINED_ERROR";
9
+ type Raw = "WORKFLOW_INITIALIZATION" | "WORKFLOW_CANCELLED" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "NODE_EXECUTION_COUNT_LIMIT_REACHED" | "INTERNAL_SERVER_ERROR" | "NODE_EXECUTION" | "LLM_PROVIDER" | "INVALID_TEMPLATE" | "INVALID_INPUTS" | "USER_DEFINED_ERROR";
10
10
  }
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
41
41
  exports.WorkflowExecutionEventErrorCode = core.serialization.enum_([
42
42
  "WORKFLOW_INITIALIZATION",
43
43
  "WORKFLOW_CANCELLED",
44
+ "PROVIDER_CREDENTIALS_UNAVAILABLE",
44
45
  "NODE_EXECUTION_COUNT_LIMIT_REACHED",
45
46
  "INTERNAL_SERVER_ERROR",
46
47
  "NODE_EXECUTION",
@@ -437,6 +437,9 @@ export * from "./TestSuiteRunMetricJsonOutput";
437
437
  export * from "./TestSuiteRunMetricNumberOutput";
438
438
  export * from "./TestSuiteRunMetricOutput";
439
439
  export * from "./TestSuiteRunMetricStringOutput";
440
+ export * from "./TestSuiteRunProgress";
441
+ export * from "./TestSuiteRunPromptSandboxExecConfigDataRequest";
442
+ export * from "./TestSuiteRunPromptSandboxExecConfigRequest";
440
443
  export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfig";
441
444
  export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfigData";
442
445
  export * from "./TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest";
@@ -448,6 +451,8 @@ export * from "./TestSuiteRunWorkflowReleaseTagExecConfig";
448
451
  export * from "./TestSuiteRunWorkflowReleaseTagExecConfigData";
449
452
  export * from "./TestSuiteRunWorkflowReleaseTagExecConfigDataRequest";
450
453
  export * from "./TestSuiteRunWorkflowReleaseTagExecConfigRequest";
454
+ export * from "./TestSuiteRunWorkflowSandboxExecConfigDataRequest";
455
+ export * from "./TestSuiteRunWorkflowSandboxExecConfigRequest";
451
456
  export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfig";
452
457
  export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigData";
453
458
  export * from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest";
@@ -453,6 +453,9 @@ __exportStar(require("./TestSuiteRunMetricJsonOutput"), exports);
453
453
  __exportStar(require("./TestSuiteRunMetricNumberOutput"), exports);
454
454
  __exportStar(require("./TestSuiteRunMetricOutput"), exports);
455
455
  __exportStar(require("./TestSuiteRunMetricStringOutput"), exports);
456
+ __exportStar(require("./TestSuiteRunProgress"), exports);
457
+ __exportStar(require("./TestSuiteRunPromptSandboxExecConfigDataRequest"), exports);
458
+ __exportStar(require("./TestSuiteRunPromptSandboxExecConfigRequest"), exports);
456
459
  __exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfig"), exports);
457
460
  __exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfigData"), exports);
458
461
  __exportStar(require("./TestSuiteRunPromptSandboxHistoryItemExecConfigDataRequest"), exports);
@@ -464,6 +467,8 @@ __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfig"), exports);
464
467
  __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigData"), exports);
465
468
  __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigDataRequest"), exports);
466
469
  __exportStar(require("./TestSuiteRunWorkflowReleaseTagExecConfigRequest"), exports);
470
+ __exportStar(require("./TestSuiteRunWorkflowSandboxExecConfigDataRequest"), exports);
471
+ __exportStar(require("./TestSuiteRunWorkflowSandboxExecConfigRequest"), exports);
467
472
  __exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfig"), exports);
468
473
  __exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigData"), exports);
469
474
  __exportStar(require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigDataRequest"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.14.37";
1
+ export declare const SDK_VERSION = "0.14.39";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.14.37";
4
+ exports.SDK_VERSION = "0.14.39";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "0.14.37",
3
+ "version": "0.14.39",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
@@ -6,11 +6,13 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { FinishReasonEnum } from "./FinishReasonEnum";
8
8
  import { MlModelUsage } from "./MlModelUsage";
9
+ import { Price } from "./Price";
9
10
  export declare const AdHocFulfilledPromptExecutionMeta: core.serialization.ObjectSchema<serializers.AdHocFulfilledPromptExecutionMeta.Raw, Vellum.AdHocFulfilledPromptExecutionMeta>;
10
11
  export declare namespace AdHocFulfilledPromptExecutionMeta {
11
12
  interface Raw {
12
13
  latency?: number | null;
13
14
  finish_reason?: FinishReasonEnum.Raw | null;
14
15
  usage?: MlModelUsage.Raw | null;
16
+ cost?: Price.Raw | null;
15
17
  }
16
18
  }
@@ -40,8 +40,10 @@ exports.AdHocFulfilledPromptExecutionMeta = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const FinishReasonEnum_1 = require("./FinishReasonEnum");
42
42
  const MlModelUsage_1 = require("./MlModelUsage");
43
+ const Price_1 = require("./Price");
43
44
  exports.AdHocFulfilledPromptExecutionMeta = core.serialization.object({
44
45
  latency: core.serialization.number().optional(),
45
46
  finishReason: core.serialization.property("finish_reason", FinishReasonEnum_1.FinishReasonEnum.optional()),
46
47
  usage: MlModelUsage_1.MlModelUsage.optional(),
48
+ cost: Price_1.Price.optional(),
47
49
  });
@@ -6,11 +6,13 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { FinishReasonEnum } from "./FinishReasonEnum";
8
8
  import { MlModelUsage } from "./MlModelUsage";
9
+ import { Price } from "./Price";
9
10
  export declare const FulfilledPromptExecutionMeta: core.serialization.ObjectSchema<serializers.FulfilledPromptExecutionMeta.Raw, Vellum.FulfilledPromptExecutionMeta>;
10
11
  export declare namespace FulfilledPromptExecutionMeta {
11
12
  interface Raw {
12
13
  latency?: number | null;
13
14
  finish_reason?: FinishReasonEnum.Raw | null;
14
15
  usage?: MlModelUsage.Raw | null;
16
+ cost?: Price.Raw | null;
15
17
  }
16
18
  }
@@ -40,8 +40,10 @@ exports.FulfilledPromptExecutionMeta = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const FinishReasonEnum_1 = require("./FinishReasonEnum");
42
42
  const MlModelUsage_1 = require("./MlModelUsage");
43
+ const Price_1 = require("./Price");
43
44
  exports.FulfilledPromptExecutionMeta = core.serialization.object({
44
45
  latency: core.serialization.number().optional(),
45
46
  finishReason: core.serialization.property("finish_reason", FinishReasonEnum_1.FinishReasonEnum.optional()),
46
47
  usage: MlModelUsage_1.MlModelUsage.optional(),
48
+ cost: Price_1.Price.optional(),
47
49
  });
@@ -5,11 +5,13 @@ import * as serializers from "../index";
5
5
  import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  import { TestSuiteRunDeploymentReleaseTagExecConfigRequest } from "./TestSuiteRunDeploymentReleaseTagExecConfigRequest";
8
+ import { TestSuiteRunPromptSandboxExecConfigRequest } from "./TestSuiteRunPromptSandboxExecConfigRequest";
8
9
  import { TestSuiteRunPromptSandboxHistoryItemExecConfigRequest } from "./TestSuiteRunPromptSandboxHistoryItemExecConfigRequest";
9
10
  import { TestSuiteRunWorkflowReleaseTagExecConfigRequest } from "./TestSuiteRunWorkflowReleaseTagExecConfigRequest";
11
+ import { TestSuiteRunWorkflowSandboxExecConfigRequest } from "./TestSuiteRunWorkflowSandboxExecConfigRequest";
10
12
  import { TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest } from "./TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest";
11
13
  import { TestSuiteRunExternalExecConfigRequest } from "./TestSuiteRunExternalExecConfigRequest";
12
14
  export declare const TestSuiteRunExecConfigRequest: core.serialization.Schema<serializers.TestSuiteRunExecConfigRequest.Raw, Vellum.TestSuiteRunExecConfigRequest>;
13
15
  export declare namespace TestSuiteRunExecConfigRequest {
14
- type Raw = TestSuiteRunDeploymentReleaseTagExecConfigRequest.Raw | TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.Raw | TestSuiteRunWorkflowReleaseTagExecConfigRequest.Raw | TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.Raw | TestSuiteRunExternalExecConfigRequest.Raw;
16
+ type Raw = TestSuiteRunDeploymentReleaseTagExecConfigRequest.Raw | TestSuiteRunPromptSandboxExecConfigRequest.Raw | TestSuiteRunPromptSandboxHistoryItemExecConfigRequest.Raw | TestSuiteRunWorkflowReleaseTagExecConfigRequest.Raw | TestSuiteRunWorkflowSandboxExecConfigRequest.Raw | TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest.Raw | TestSuiteRunExternalExecConfigRequest.Raw;
15
17
  }
@@ -39,14 +39,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.TestSuiteRunExecConfigRequest = void 0;
40
40
  const core = __importStar(require("../../core"));
41
41
  const TestSuiteRunDeploymentReleaseTagExecConfigRequest_1 = require("./TestSuiteRunDeploymentReleaseTagExecConfigRequest");
42
+ const TestSuiteRunPromptSandboxExecConfigRequest_1 = require("./TestSuiteRunPromptSandboxExecConfigRequest");
42
43
  const TestSuiteRunPromptSandboxHistoryItemExecConfigRequest_1 = require("./TestSuiteRunPromptSandboxHistoryItemExecConfigRequest");
43
44
  const TestSuiteRunWorkflowReleaseTagExecConfigRequest_1 = require("./TestSuiteRunWorkflowReleaseTagExecConfigRequest");
45
+ const TestSuiteRunWorkflowSandboxExecConfigRequest_1 = require("./TestSuiteRunWorkflowSandboxExecConfigRequest");
44
46
  const TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest_1 = require("./TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest");
45
47
  const TestSuiteRunExternalExecConfigRequest_1 = require("./TestSuiteRunExternalExecConfigRequest");
46
48
  exports.TestSuiteRunExecConfigRequest = core.serialization.undiscriminatedUnion([
47
49
  TestSuiteRunDeploymentReleaseTagExecConfigRequest_1.TestSuiteRunDeploymentReleaseTagExecConfigRequest,
50
+ TestSuiteRunPromptSandboxExecConfigRequest_1.TestSuiteRunPromptSandboxExecConfigRequest,
48
51
  TestSuiteRunPromptSandboxHistoryItemExecConfigRequest_1.TestSuiteRunPromptSandboxHistoryItemExecConfigRequest,
49
52
  TestSuiteRunWorkflowReleaseTagExecConfigRequest_1.TestSuiteRunWorkflowReleaseTagExecConfigRequest,
53
+ TestSuiteRunWorkflowSandboxExecConfigRequest_1.TestSuiteRunWorkflowSandboxExecConfigRequest,
50
54
  TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest_1.TestSuiteRunWorkflowSandboxHistoryItemExecConfigRequest,
51
55
  TestSuiteRunExternalExecConfigRequest_1.TestSuiteRunExternalExecConfigRequest,
52
56
  ]);
@@ -0,0 +1,13 @@
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 TestSuiteRunProgress: core.serialization.ObjectSchema<serializers.TestSuiteRunProgress.Raw, Vellum.TestSuiteRunProgress>;
8
+ export declare namespace TestSuiteRunProgress {
9
+ interface Raw {
10
+ number_of_requested_test_cases: number;
11
+ number_of_completed_test_cases: number;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
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.TestSuiteRunProgress = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.TestSuiteRunProgress = core.serialization.object({
42
+ numberOfRequestedTestCases: core.serialization.property("number_of_requested_test_cases", core.serialization.number()),
43
+ numberOfCompletedTestCases: core.serialization.property("number_of_completed_test_cases", core.serialization.number()),
44
+ });
@@ -0,0 +1,13 @@
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 TestSuiteRunPromptSandboxExecConfigDataRequest: core.serialization.ObjectSchema<serializers.TestSuiteRunPromptSandboxExecConfigDataRequest.Raw, Vellum.TestSuiteRunPromptSandboxExecConfigDataRequest>;
8
+ export declare namespace TestSuiteRunPromptSandboxExecConfigDataRequest {
9
+ interface Raw {
10
+ prompt_sandbox_id: string;
11
+ prompt_variant_id: string;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
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.TestSuiteRunPromptSandboxExecConfigDataRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.TestSuiteRunPromptSandboxExecConfigDataRequest = core.serialization.object({
42
+ promptSandboxId: core.serialization.property("prompt_sandbox_id", core.serialization.string()),
43
+ promptVariantId: core.serialization.property("prompt_variant_id", core.serialization.string()),
44
+ });
@@ -0,0 +1,15 @@
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 { TestSuiteRunPromptSandboxExecConfigDataRequest } from "./TestSuiteRunPromptSandboxExecConfigDataRequest";
8
+ export declare const TestSuiteRunPromptSandboxExecConfigRequest: core.serialization.ObjectSchema<serializers.TestSuiteRunPromptSandboxExecConfigRequest.Raw, Vellum.TestSuiteRunPromptSandboxExecConfigRequest>;
9
+ export declare namespace TestSuiteRunPromptSandboxExecConfigRequest {
10
+ interface Raw {
11
+ type: "PROMPT_SANDBOX";
12
+ data: TestSuiteRunPromptSandboxExecConfigDataRequest.Raw;
13
+ test_case_ids?: string[] | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.TestSuiteRunPromptSandboxExecConfigRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const TestSuiteRunPromptSandboxExecConfigDataRequest_1 = require("./TestSuiteRunPromptSandboxExecConfigDataRequest");
42
+ exports.TestSuiteRunPromptSandboxExecConfigRequest = core.serialization.object({
43
+ type: core.serialization.stringLiteral("PROMPT_SANDBOX"),
44
+ data: TestSuiteRunPromptSandboxExecConfigDataRequest_1.TestSuiteRunPromptSandboxExecConfigDataRequest,
45
+ testCaseIds: core.serialization.property("test_case_ids", core.serialization.list(core.serialization.string()).optional()),
46
+ });
@@ -7,6 +7,7 @@ import * as core from "../../core";
7
7
  import { TestSuiteRunTestSuite } from "./TestSuiteRunTestSuite";
8
8
  import { TestSuiteRunState } from "./TestSuiteRunState";
9
9
  import { TestSuiteRunExecConfig } from "./TestSuiteRunExecConfig";
10
+ import { TestSuiteRunProgress } from "./TestSuiteRunProgress";
10
11
  export declare const TestSuiteRunRead: core.serialization.ObjectSchema<serializers.TestSuiteRunRead.Raw, Vellum.TestSuiteRunRead>;
11
12
  export declare namespace TestSuiteRunRead {
12
13
  interface Raw {
@@ -15,5 +16,6 @@ export declare namespace TestSuiteRunRead {
15
16
  test_suite: TestSuiteRunTestSuite.Raw;
16
17
  state: TestSuiteRunState.Raw;
17
18
  exec_config?: TestSuiteRunExecConfig.Raw | null;
19
+ progress?: TestSuiteRunProgress.Raw | null;
18
20
  }
19
21
  }
@@ -41,10 +41,12 @@ const core = __importStar(require("../../core"));
41
41
  const TestSuiteRunTestSuite_1 = require("./TestSuiteRunTestSuite");
42
42
  const TestSuiteRunState_1 = require("./TestSuiteRunState");
43
43
  const TestSuiteRunExecConfig_1 = require("./TestSuiteRunExecConfig");
44
+ const TestSuiteRunProgress_1 = require("./TestSuiteRunProgress");
44
45
  exports.TestSuiteRunRead = core.serialization.object({
45
46
  id: core.serialization.string(),
46
47
  created: core.serialization.date(),
47
48
  testSuite: core.serialization.property("test_suite", TestSuiteRunTestSuite_1.TestSuiteRunTestSuite),
48
49
  state: TestSuiteRunState_1.TestSuiteRunState,
49
50
  execConfig: core.serialization.property("exec_config", TestSuiteRunExecConfig_1.TestSuiteRunExecConfig.optional()),
51
+ progress: TestSuiteRunProgress_1.TestSuiteRunProgress.optional(),
50
52
  });
@@ -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 TestSuiteRunWorkflowSandboxExecConfigDataRequest: core.serialization.ObjectSchema<serializers.TestSuiteRunWorkflowSandboxExecConfigDataRequest.Raw, Vellum.TestSuiteRunWorkflowSandboxExecConfigDataRequest>;
8
+ export declare namespace TestSuiteRunWorkflowSandboxExecConfigDataRequest {
9
+ interface Raw {
10
+ workflow_sandbox_id: string;
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.TestSuiteRunWorkflowSandboxExecConfigDataRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.TestSuiteRunWorkflowSandboxExecConfigDataRequest = core.serialization.object({
42
+ workflowSandboxId: core.serialization.property("workflow_sandbox_id", core.serialization.string()),
43
+ });
@@ -0,0 +1,15 @@
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 { TestSuiteRunWorkflowSandboxExecConfigDataRequest } from "./TestSuiteRunWorkflowSandboxExecConfigDataRequest";
8
+ export declare const TestSuiteRunWorkflowSandboxExecConfigRequest: core.serialization.ObjectSchema<serializers.TestSuiteRunWorkflowSandboxExecConfigRequest.Raw, Vellum.TestSuiteRunWorkflowSandboxExecConfigRequest>;
9
+ export declare namespace TestSuiteRunWorkflowSandboxExecConfigRequest {
10
+ interface Raw {
11
+ type: "WORKFLOW_SANDBOX";
12
+ data: TestSuiteRunWorkflowSandboxExecConfigDataRequest.Raw;
13
+ test_case_ids?: string[] | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.TestSuiteRunWorkflowSandboxExecConfigRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ const TestSuiteRunWorkflowSandboxExecConfigDataRequest_1 = require("./TestSuiteRunWorkflowSandboxExecConfigDataRequest");
42
+ exports.TestSuiteRunWorkflowSandboxExecConfigRequest = core.serialization.object({
43
+ type: core.serialization.stringLiteral("WORKFLOW_SANDBOX"),
44
+ data: TestSuiteRunWorkflowSandboxExecConfigDataRequest_1.TestSuiteRunWorkflowSandboxExecConfigDataRequest,
45
+ testCaseIds: core.serialization.property("test_case_ids", core.serialization.list(core.serialization.string()).optional()),
46
+ });