vellum-ai 0.8.9 → 0.8.11

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 (54) hide show
  1. package/.mock/definition/__package__.yml +5659 -0
  2. package/.mock/definition/adHoc.yml +40 -0
  3. package/.mock/definition/api.yml +17 -0
  4. package/.mock/definition/deployments.yml +261 -0
  5. package/.mock/definition/documentIndexes.yml +429 -0
  6. package/.mock/definition/documents.yml +261 -0
  7. package/.mock/definition/folderEntities.yml +41 -0
  8. package/.mock/definition/sandboxes.yml +194 -0
  9. package/.mock/definition/testSuiteRuns.yml +148 -0
  10. package/.mock/definition/testSuites.yml +153 -0
  11. package/.mock/definition/workflowDeployments.yml +181 -0
  12. package/.mock/definition/workflowSandboxes.yml +85 -0
  13. package/.mock/fern.config.json +4 -0
  14. package/.mock/openapi/openapi.yml +10103 -0
  15. package/Client.js +9 -9
  16. package/api/client/requests/GenerateStreamBodyRequest.d.ts +4 -1
  17. package/api/resources/adHoc/client/Client.js +1 -1
  18. package/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +3 -1
  19. package/api/resources/deployments/client/Client.js +5 -5
  20. package/api/resources/documentIndexes/client/Client.js +10 -10
  21. package/api/resources/documents/client/Client.js +6 -6
  22. package/api/resources/folderEntities/client/Client.js +1 -1
  23. package/api/resources/sandboxes/client/Client.js +3 -3
  24. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  25. package/api/resources/testSuites/client/Client.js +4 -4
  26. package/api/resources/workflowDeployments/client/Client.js +4 -4
  27. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  28. package/api/types/IterationStateEnum.d.ts +3 -1
  29. package/api/types/IterationStateEnum.js +1 -0
  30. package/dist/Client.js +9 -9
  31. package/dist/api/client/requests/GenerateStreamBodyRequest.d.ts +4 -1
  32. package/dist/api/resources/adHoc/client/Client.js +1 -1
  33. package/dist/api/resources/adHoc/client/requests/AdHocExecutePromptStreamRequest.d.ts +3 -1
  34. package/dist/api/resources/deployments/client/Client.js +5 -5
  35. package/dist/api/resources/documentIndexes/client/Client.js +10 -10
  36. package/dist/api/resources/documents/client/Client.js +6 -6
  37. package/dist/api/resources/folderEntities/client/Client.js +1 -1
  38. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  39. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  40. package/dist/api/resources/testSuites/client/Client.js +4 -4
  41. package/dist/api/resources/workflowDeployments/client/Client.js +4 -4
  42. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  43. package/dist/api/types/IterationStateEnum.d.ts +3 -1
  44. package/dist/api/types/IterationStateEnum.js +1 -0
  45. package/dist/environments.d.ts +2 -2
  46. package/dist/environments.js +1 -1
  47. package/dist/serialization/types/IterationStateEnum.d.ts +1 -1
  48. package/dist/serialization/types/IterationStateEnum.js +1 -1
  49. package/environments.d.ts +2 -2
  50. package/environments.js +1 -1
  51. package/package.json +1 -1
  52. package/reference.md +17 -3
  53. package/serialization/types/IterationStateEnum.d.ts +1 -1
  54. package/serialization/types/IterationStateEnum.js +1 -1
package/reference.md CHANGED
@@ -148,7 +148,9 @@ await client.adHoc.adhocExecutePromptStream({
148
148
  id: "string",
149
149
  state: Vellum.PromptBlockState.Enabled,
150
150
  cacheConfig: {
151
- type: "EPHEMERAL",
151
+ type: {
152
+ key: "value",
153
+ },
152
154
  },
153
155
  },
154
156
  ],
@@ -2149,8 +2151,20 @@ await client.testSuites.testSuiteTestCasesBulk("string", [
2149
2151
  type: "CREATE",
2150
2152
  data: {
2151
2153
  label: "string",
2152
- inputValues: [{}],
2153
- evaluationValues: [{}],
2154
+ inputValues: [
2155
+ {
2156
+ type: "STRING",
2157
+ value: "string",
2158
+ name: "string",
2159
+ },
2160
+ ],
2161
+ evaluationValues: [
2162
+ {
2163
+ type: "STRING",
2164
+ value: "string",
2165
+ name: "string",
2166
+ },
2167
+ ],
2154
2168
  externalId: "string",
2155
2169
  },
2156
2170
  },
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const IterationStateEnum: core.serialization.Schema<serializers.IterationStateEnum.Raw, Vellum.IterationStateEnum>;
8
8
  export declare namespace IterationStateEnum {
9
- type Raw = "INITIATED" | "FULFILLED";
9
+ type Raw = "INITIATED" | "FULFILLED" | "REJECTED";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.IterationStateEnum = void 0;
30
30
  const core = __importStar(require("../../core"));
31
- exports.IterationStateEnum = core.serialization.enum_(["INITIATED", "FULFILLED"]);
31
+ exports.IterationStateEnum = core.serialization.enum_(["INITIATED", "FULFILLED", "REJECTED"]);