vellum-ai 0.3.4 → 0.3.5

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 (53) hide show
  1. package/Client.d.ts +5 -22
  2. package/Client.js +14 -31
  3. package/api/client/requests/GenerateBodyRequest.d.ts +3 -4
  4. package/api/client/requests/SearchRequestBodyRequest.d.ts +1 -11
  5. package/api/client/requests/SubmitCompletionActualsRequest.d.ts +1 -1
  6. package/api/resources/deployments/client/Client.d.ts +1 -1
  7. package/api/resources/deployments/client/Client.js +4 -4
  8. package/api/resources/deployments/client/requests/DeploymentsListRequest.d.ts +1 -3
  9. package/api/resources/documentIndexes/client/Client.d.ts +1 -3
  10. package/api/resources/documentIndexes/client/Client.js +3 -5
  11. package/api/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.d.ts +0 -2
  12. package/api/resources/documents/client/Client.d.ts +1 -3
  13. package/api/resources/documents/client/Client.js +5 -7
  14. package/api/resources/documents/client/requests/PatchedDocumentUpdateRequest.d.ts +1 -3
  15. package/api/resources/modelVersions/client/Client.d.ts +1 -1
  16. package/api/resources/modelVersions/client/Client.js +2 -2
  17. package/api/resources/registeredPrompts/client/Client.d.ts +11 -6
  18. package/api/resources/registeredPrompts/client/Client.js +12 -7
  19. package/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +11 -6
  20. package/api/resources/sandboxes/client/Client.d.ts +4 -2
  21. package/api/resources/sandboxes/client/Client.js +6 -4
  22. package/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +2 -0
  23. package/api/resources/testSuites/client/Client.d.ts +2 -2
  24. package/api/resources/testSuites/client/Client.js +4 -4
  25. package/api/resources/workflowDeployments/client/Client.js +1 -1
  26. package/api/resources/workflowDeployments/client/requests/WorkflowDeploymentsListRequest.d.ts +1 -3
  27. package/dist/Client.d.ts +5 -22
  28. package/dist/Client.js +14 -31
  29. package/dist/api/client/requests/GenerateBodyRequest.d.ts +3 -4
  30. package/dist/api/client/requests/SearchRequestBodyRequest.d.ts +1 -11
  31. package/dist/api/client/requests/SubmitCompletionActualsRequest.d.ts +1 -1
  32. package/dist/api/resources/deployments/client/Client.d.ts +1 -1
  33. package/dist/api/resources/deployments/client/Client.js +4 -4
  34. package/dist/api/resources/deployments/client/requests/DeploymentsListRequest.d.ts +1 -3
  35. package/dist/api/resources/documentIndexes/client/Client.d.ts +1 -3
  36. package/dist/api/resources/documentIndexes/client/Client.js +3 -5
  37. package/dist/api/resources/documentIndexes/client/requests/DocumentIndexCreateRequest.d.ts +0 -2
  38. package/dist/api/resources/documents/client/Client.d.ts +1 -3
  39. package/dist/api/resources/documents/client/Client.js +5 -7
  40. package/dist/api/resources/documents/client/requests/PatchedDocumentUpdateRequest.d.ts +1 -3
  41. package/dist/api/resources/modelVersions/client/Client.d.ts +1 -1
  42. package/dist/api/resources/modelVersions/client/Client.js +2 -2
  43. package/dist/api/resources/registeredPrompts/client/Client.d.ts +11 -6
  44. package/dist/api/resources/registeredPrompts/client/Client.js +12 -7
  45. package/dist/api/resources/registeredPrompts/client/requests/RegisterPromptRequestRequest.d.ts +11 -6
  46. package/dist/api/resources/sandboxes/client/Client.d.ts +4 -2
  47. package/dist/api/resources/sandboxes/client/Client.js +6 -4
  48. package/dist/api/resources/sandboxes/client/requests/UpsertSandboxScenarioRequestRequest.d.ts +2 -0
  49. package/dist/api/resources/testSuites/client/Client.d.ts +2 -2
  50. package/dist/api/resources/testSuites/client/Client.js +4 -4
  51. package/dist/api/resources/workflowDeployments/client/Client.js +1 -1
  52. package/dist/api/resources/workflowDeployments/client/requests/WorkflowDeploymentsListRequest.d.ts +1 -3
  53. package/package.json +1 -1
@@ -27,7 +27,7 @@ export declare class Sandboxes {
27
27
  * or overwritten with default values.
28
28
  *
29
29
  * @example
30
- * await vellum.sandboxes.upsertSandboxScenario("string", {
30
+ * await vellum.sandboxes.upsertSandboxScenario("id", {
31
31
  * label: "Scenario 1",
32
32
  * inputs: [{
33
33
  * key: "var_1",
@@ -37,6 +37,8 @@ export declare class Sandboxes {
37
37
  * key: "var_2",
38
38
  * type: Vellum.ScenarioInputTypeEnum.Text,
39
39
  * value: "Why hello, there!"
40
+ * }, {
41
+ * key: "key"
40
42
  * }]
41
43
  * })
42
44
  */
@@ -45,7 +47,7 @@ export declare class Sandboxes {
45
47
  * Deletes an existing scenario from a sandbox, keying off of the provided scenario id.
46
48
  *
47
49
  * @example
48
- * await vellum.sandboxes.deleteSandboxScenario("string", "string")
50
+ * await vellum.sandboxes.deleteSandboxScenario("id", "scenario_id")
49
51
  */
50
52
  deleteSandboxScenario(id: string, scenarioId: string, requestOptions?: Sandboxes.RequestOptions): Promise<void>;
51
53
  }
@@ -58,7 +58,7 @@ class Sandboxes {
58
58
  * or overwritten with default values.
59
59
  *
60
60
  * @example
61
- * await vellum.sandboxes.upsertSandboxScenario("string", {
61
+ * await vellum.sandboxes.upsertSandboxScenario("id", {
62
62
  * label: "Scenario 1",
63
63
  * inputs: [{
64
64
  * key: "var_1",
@@ -68,6 +68,8 @@ class Sandboxes {
68
68
  * key: "var_2",
69
69
  * type: Vellum.ScenarioInputTypeEnum.Text,
70
70
  * value: "Why hello, there!"
71
+ * }, {
72
+ * key: "key"
71
73
  * }]
72
74
  * })
73
75
  */
@@ -82,7 +84,7 @@ class Sandboxes {
82
84
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
83
85
  "X-Fern-Language": "JavaScript",
84
86
  "X-Fern-SDK-Name": "vellum-ai",
85
- "X-Fern-SDK-Version": "0.3.4",
87
+ "X-Fern-SDK-Version": "0.3.5",
86
88
  },
87
89
  contentType: "application/json",
88
90
  body: yield serializers.UpsertSandboxScenarioRequestRequest.jsonOrThrow(request, {
@@ -124,7 +126,7 @@ class Sandboxes {
124
126
  * Deletes an existing scenario from a sandbox, keying off of the provided scenario id.
125
127
  *
126
128
  * @example
127
- * await vellum.sandboxes.deleteSandboxScenario("string", "string")
129
+ * await vellum.sandboxes.deleteSandboxScenario("id", "scenario_id")
128
130
  */
129
131
  deleteSandboxScenario(id, scenarioId, requestOptions) {
130
132
  var _a;
@@ -137,7 +139,7 @@ class Sandboxes {
137
139
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
138
140
  "X-Fern-Language": "JavaScript",
139
141
  "X-Fern-SDK-Name": "vellum-ai",
140
- "X-Fern-SDK-Version": "0.3.4",
142
+ "X-Fern-SDK-Version": "0.3.5",
141
143
  },
142
144
  contentType: "application/json",
143
145
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -14,6 +14,8 @@ import * as Vellum from "../../../..";
14
14
  * key: "var_2",
15
15
  * type: Vellum.ScenarioInputTypeEnum.Text,
16
16
  * value: "Why hello, there!"
17
+ * }, {
18
+ * key: "key"
17
19
  * }]
18
20
  * }
19
21
  */
@@ -27,7 +27,7 @@ export declare class TestSuites {
27
27
  * or overwritten with default values.
28
28
  *
29
29
  * @example
30
- * await vellum.testSuites.upsertTestSuiteTestCase("string", {
30
+ * await vellum.testSuites.upsertTestSuiteTestCase("id", {
31
31
  * inputValues: [],
32
32
  * evaluationValues: []
33
33
  * })
@@ -37,7 +37,7 @@ export declare class TestSuites {
37
37
  * Deletes an existing test case for a test suite, keying off of the test case id.
38
38
  *
39
39
  * @example
40
- * await vellum.testSuites.deleteTestSuiteTestCase("string", "string")
40
+ * await vellum.testSuites.deleteTestSuiteTestCase("id", "test_case_id")
41
41
  */
42
42
  deleteTestSuiteTestCase(id: string, testCaseId: string, requestOptions?: TestSuites.RequestOptions): Promise<void>;
43
43
  }
@@ -58,7 +58,7 @@ class TestSuites {
58
58
  * or overwritten with default values.
59
59
  *
60
60
  * @example
61
- * await vellum.testSuites.upsertTestSuiteTestCase("string", {
61
+ * await vellum.testSuites.upsertTestSuiteTestCase("id", {
62
62
  * inputValues: [],
63
63
  * evaluationValues: []
64
64
  * })
@@ -74,7 +74,7 @@ class TestSuites {
74
74
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
75
75
  "X-Fern-Language": "JavaScript",
76
76
  "X-Fern-SDK-Name": "vellum-ai",
77
- "X-Fern-SDK-Version": "0.3.4",
77
+ "X-Fern-SDK-Version": "0.3.5",
78
78
  },
79
79
  contentType: "application/json",
80
80
  body: yield serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, {
@@ -116,7 +116,7 @@ class TestSuites {
116
116
  * Deletes an existing test case for a test suite, keying off of the test case id.
117
117
  *
118
118
  * @example
119
- * await vellum.testSuites.deleteTestSuiteTestCase("string", "string")
119
+ * await vellum.testSuites.deleteTestSuiteTestCase("id", "test_case_id")
120
120
  */
121
121
  deleteTestSuiteTestCase(id, testCaseId, requestOptions) {
122
122
  var _a;
@@ -129,7 +129,7 @@ class TestSuites {
129
129
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
130
130
  "X-Fern-Language": "JavaScript",
131
131
  "X-Fern-SDK-Name": "vellum-ai",
132
- "X-Fern-SDK-Version": "0.3.4",
132
+ "X-Fern-SDK-Version": "0.3.5",
133
133
  },
134
134
  contentType: "application/json",
135
135
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -73,7 +73,7 @@ class WorkflowDeployments {
73
73
  X_API_KEY: yield core.Supplier.get(this._options.apiKey),
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "vellum-ai",
76
- "X-Fern-SDK-Version": "0.3.4",
76
+ "X-Fern-SDK-Version": "0.3.5",
77
77
  },
78
78
  contentType: "application/json",
79
79
  queryParameters: _queryParams,
@@ -4,9 +4,7 @@
4
4
  import * as Vellum from "../../../..";
5
5
  /**
6
6
  * @example
7
- * {
8
- * status: Vellum.WorkflowDeploymentsListRequestStatus.Active
9
- * }
7
+ * {}
10
8
  */
11
9
  export interface WorkflowDeploymentsListRequest {
12
10
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",