vellum-ai 0.9.9 → 0.9.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 (43) hide show
  1. package/.mock/definition/__package__.yml +2 -0
  2. package/.mock/openapi/openapi.yml +6 -0
  3. package/Client.js +10 -10
  4. package/api/resources/adHoc/client/Client.js +1 -1
  5. package/api/resources/containerImages/client/Client.js +4 -4
  6. package/api/resources/deployments/client/Client.js +6 -6
  7. package/api/resources/documentIndexes/client/Client.js +8 -8
  8. package/api/resources/documents/client/Client.js +5 -5
  9. package/api/resources/folderEntities/client/Client.js +2 -2
  10. package/api/resources/metricDefinitions/client/Client.js +1 -1
  11. package/api/resources/sandboxes/client/Client.js +3 -3
  12. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  13. package/api/resources/testSuites/client/Client.js +4 -4
  14. package/api/resources/workflowDeployments/client/Client.js +5 -5
  15. package/api/resources/workflowSandboxes/client/Client.js +1 -1
  16. package/api/resources/workflows/client/Client.js +2 -2
  17. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  18. package/api/types/FunctionDefinitionPromptBlock.d.ts +2 -0
  19. package/dist/Client.js +10 -10
  20. package/dist/api/resources/adHoc/client/Client.js +1 -1
  21. package/dist/api/resources/containerImages/client/Client.js +4 -4
  22. package/dist/api/resources/deployments/client/Client.js +6 -6
  23. package/dist/api/resources/documentIndexes/client/Client.js +8 -8
  24. package/dist/api/resources/documents/client/Client.js +5 -5
  25. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  26. package/dist/api/resources/metricDefinitions/client/Client.js +1 -1
  27. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  28. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  29. package/dist/api/resources/testSuites/client/Client.js +4 -4
  30. package/dist/api/resources/workflowDeployments/client/Client.js +5 -5
  31. package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
  32. package/dist/api/resources/workflows/client/Client.js +2 -2
  33. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  34. package/dist/api/types/FunctionDefinitionPromptBlock.d.ts +2 -0
  35. package/dist/serialization/types/FunctionDefinitionPromptBlock.d.ts +2 -0
  36. package/dist/serialization/types/FunctionDefinitionPromptBlock.js +2 -0
  37. package/dist/version.d.ts +1 -1
  38. package/dist/version.js +1 -1
  39. package/package.json +1 -1
  40. package/serialization/types/FunctionDefinitionPromptBlock.d.ts +2 -0
  41. package/serialization/types/FunctionDefinitionPromptBlock.js +2 -0
  42. package/version.d.ts +1 -1
  43. package/version.js +1 -1
@@ -65,7 +65,7 @@ class Workflows {
65
65
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
66
66
  .default, `v1/workflows/${encodeURIComponent(id)}/pull`),
67
67
  method: "GET",
68
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.9", "User-Agent": "vellum-ai/0.9.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "vellum-ai/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
69
69
  contentType: "application/json",
70
70
  queryParameters: _queryParams,
71
71
  requestType: "json",
@@ -124,7 +124,7 @@ class Workflows {
124
124
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
125
125
  .default, "v1/workflows/push"),
126
126
  method: "POST",
127
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.9", "User-Agent": "vellum-ai/0.9.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
127
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "vellum-ai/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
128
128
  contentType: "application/json",
129
129
  requestType: "json",
130
130
  body: serializers.WorkflowPushRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -64,7 +64,7 @@ class WorkspaceSecrets {
64
64
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
65
65
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
66
66
  method: "GET",
67
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.9", "User-Agent": "vellum-ai/0.9.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
67
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "vellum-ai/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
68
68
  contentType: "application/json",
69
69
  requestType: "json",
70
70
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -117,7 +117,7 @@ class WorkspaceSecrets {
117
117
  url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VellumEnvironment.Production)
118
118
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
119
119
  method: "PATCH",
120
- headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.9", "User-Agent": "vellum-ai/0.9.9", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
120
+ headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.9.10", "User-Agent": "vellum-ai/0.9.10", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
121
121
  contentType: "application/json",
122
122
  requestType: "json",
123
123
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -12,4 +12,6 @@ export interface FunctionDefinitionPromptBlock {
12
12
  functionName?: string;
13
13
  functionDescription?: string;
14
14
  functionParameters?: Record<string, unknown>;
15
+ functionForced?: boolean;
16
+ functionStrict?: boolean;
15
17
  }
@@ -15,5 +15,7 @@ export declare namespace FunctionDefinitionPromptBlock {
15
15
  function_name?: string | null;
16
16
  function_description?: string | null;
17
17
  function_parameters?: Record<string, unknown> | null;
18
+ function_forced?: boolean | null;
19
+ function_strict?: boolean | null;
18
20
  }
19
21
  }
@@ -37,4 +37,6 @@ exports.FunctionDefinitionPromptBlock = core.serialization.object({
37
37
  functionName: core.serialization.property("function_name", core.serialization.string().optional()),
38
38
  functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
39
39
  functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
40
+ functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
41
+ functionStrict: core.serialization.property("function_strict", core.serialization.boolean().optional()),
40
42
  });
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.9.9";
1
+ export declare const SDK_VERSION = "0.9.10";
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.9.9";
4
+ exports.SDK_VERSION = "0.9.10";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "0.9.9",
3
+ "version": "0.9.10",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
@@ -15,5 +15,7 @@ export declare namespace FunctionDefinitionPromptBlock {
15
15
  function_name?: string | null;
16
16
  function_description?: string | null;
17
17
  function_parameters?: Record<string, unknown> | null;
18
+ function_forced?: boolean | null;
19
+ function_strict?: boolean | null;
18
20
  }
19
21
  }
@@ -37,4 +37,6 @@ exports.FunctionDefinitionPromptBlock = core.serialization.object({
37
37
  functionName: core.serialization.property("function_name", core.serialization.string().optional()),
38
38
  functionDescription: core.serialization.property("function_description", core.serialization.string().optional()),
39
39
  functionParameters: core.serialization.property("function_parameters", core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional()),
40
+ functionForced: core.serialization.property("function_forced", core.serialization.boolean().optional()),
41
+ functionStrict: core.serialization.property("function_strict", core.serialization.boolean().optional()),
40
42
  });
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.9.9";
1
+ export declare const SDK_VERSION = "0.9.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 = "0.9.9";
4
+ exports.SDK_VERSION = "0.9.10";