vellum-ai 0.13.6 → 0.13.7

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 (80) hide show
  1. package/.mock/definition/organizations.yml +1 -1
  2. package/.mock/definition/workspaces.yml +1 -1
  3. package/.mock/openapi/openapi.yml +4 -0
  4. package/Client.d.ts +3 -3
  5. package/Client.js +11 -11
  6. package/api/resources/adHoc/client/Client.d.ts +3 -3
  7. package/api/resources/adHoc/client/Client.js +2 -2
  8. package/api/resources/containerImages/client/Client.d.ts +3 -3
  9. package/api/resources/containerImages/client/Client.js +5 -5
  10. package/api/resources/deployments/client/Client.d.ts +3 -3
  11. package/api/resources/deployments/client/Client.js +8 -8
  12. package/api/resources/documentIndexes/client/Client.d.ts +3 -3
  13. package/api/resources/documentIndexes/client/Client.js +9 -9
  14. package/api/resources/documents/client/Client.d.ts +3 -3
  15. package/api/resources/documents/client/Client.js +6 -6
  16. package/api/resources/folderEntities/client/Client.d.ts +3 -3
  17. package/api/resources/folderEntities/client/Client.js +3 -3
  18. package/api/resources/metricDefinitions/client/Client.d.ts +3 -3
  19. package/api/resources/metricDefinitions/client/Client.js +3 -3
  20. package/api/resources/mlModels/client/Client.d.ts +3 -3
  21. package/api/resources/mlModels/client/Client.js +2 -2
  22. package/api/resources/organizations/client/Client.d.ts +3 -3
  23. package/api/resources/organizations/client/Client.js +2 -2
  24. package/api/resources/sandboxes/client/Client.d.ts +3 -3
  25. package/api/resources/sandboxes/client/Client.js +4 -4
  26. package/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
  27. package/api/resources/testSuiteRuns/client/Client.js +4 -4
  28. package/api/resources/testSuites/client/Client.d.ts +3 -3
  29. package/api/resources/testSuites/client/Client.js +5 -5
  30. package/api/resources/workflowDeployments/client/Client.d.ts +3 -3
  31. package/api/resources/workflowDeployments/client/Client.js +7 -7
  32. package/api/resources/workflowSandboxes/client/Client.d.ts +3 -3
  33. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  34. package/api/resources/workflows/client/Client.d.ts +3 -3
  35. package/api/resources/workflows/client/Client.js +3 -3
  36. package/api/resources/workspaceSecrets/client/Client.d.ts +3 -3
  37. package/api/resources/workspaceSecrets/client/Client.js +3 -3
  38. package/api/resources/workspaces/client/Client.d.ts +3 -3
  39. package/api/resources/workspaces/client/Client.js +2 -2
  40. package/dist/Client.d.ts +3 -3
  41. package/dist/Client.js +11 -11
  42. package/dist/api/resources/adHoc/client/Client.d.ts +3 -3
  43. package/dist/api/resources/adHoc/client/Client.js +2 -2
  44. package/dist/api/resources/containerImages/client/Client.d.ts +3 -3
  45. package/dist/api/resources/containerImages/client/Client.js +5 -5
  46. package/dist/api/resources/deployments/client/Client.d.ts +3 -3
  47. package/dist/api/resources/deployments/client/Client.js +8 -8
  48. package/dist/api/resources/documentIndexes/client/Client.d.ts +3 -3
  49. package/dist/api/resources/documentIndexes/client/Client.js +9 -9
  50. package/dist/api/resources/documents/client/Client.d.ts +3 -3
  51. package/dist/api/resources/documents/client/Client.js +6 -6
  52. package/dist/api/resources/folderEntities/client/Client.d.ts +3 -3
  53. package/dist/api/resources/folderEntities/client/Client.js +3 -3
  54. package/dist/api/resources/metricDefinitions/client/Client.d.ts +3 -3
  55. package/dist/api/resources/metricDefinitions/client/Client.js +3 -3
  56. package/dist/api/resources/mlModels/client/Client.d.ts +3 -3
  57. package/dist/api/resources/mlModels/client/Client.js +2 -2
  58. package/dist/api/resources/organizations/client/Client.d.ts +3 -3
  59. package/dist/api/resources/organizations/client/Client.js +2 -2
  60. package/dist/api/resources/sandboxes/client/Client.d.ts +3 -3
  61. package/dist/api/resources/sandboxes/client/Client.js +4 -4
  62. package/dist/api/resources/testSuiteRuns/client/Client.d.ts +3 -3
  63. package/dist/api/resources/testSuiteRuns/client/Client.js +4 -4
  64. package/dist/api/resources/testSuites/client/Client.d.ts +3 -3
  65. package/dist/api/resources/testSuites/client/Client.js +5 -5
  66. package/dist/api/resources/workflowDeployments/client/Client.d.ts +3 -3
  67. package/dist/api/resources/workflowDeployments/client/Client.js +7 -7
  68. package/dist/api/resources/workflowSandboxes/client/Client.d.ts +3 -3
  69. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  70. package/dist/api/resources/workflows/client/Client.d.ts +3 -3
  71. package/dist/api/resources/workflows/client/Client.js +3 -3
  72. package/dist/api/resources/workspaceSecrets/client/Client.d.ts +3 -3
  73. package/dist/api/resources/workspaceSecrets/client/Client.js +3 -3
  74. package/dist/api/resources/workspaces/client/Client.d.ts +3 -3
  75. package/dist/api/resources/workspaces/client/Client.js +2 -2
  76. package/dist/version.d.ts +1 -1
  77. package/dist/version.js +1 -1
  78. package/package.json +1 -1
  79. package/version.d.ts +1 -1
  80. package/version.js +1 -1
@@ -9,7 +9,7 @@ export declare namespace WorkflowDeployments {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
- apiKey?: core.Supplier<string | undefined>;
12
+ apiKey: core.Supplier<string>;
13
13
  }
14
14
  interface RequestOptions {
15
15
  /** The maximum time to wait for a response in seconds. */
@@ -24,7 +24,7 @@ export declare namespace WorkflowDeployments {
24
24
  }
25
25
  export declare class WorkflowDeployments {
26
26
  protected readonly _options: WorkflowDeployments.Options;
27
- constructor(_options?: WorkflowDeployments.Options);
27
+ constructor(_options: WorkflowDeployments.Options);
28
28
  /**
29
29
  * Used to list all Workflow Deployments.
30
30
  *
@@ -91,6 +91,6 @@ export declare class WorkflowDeployments {
91
91
  */
92
92
  updateWorkflowReleaseTag(id: string, name: string, request?: Vellum.PatchedWorkflowReleaseTagUpdateRequest, requestOptions?: WorkflowDeployments.RequestOptions): Promise<Vellum.WorkflowReleaseTagRead>;
93
93
  protected _getCustomAuthorizationHeaders(): Promise<{
94
- X_API_KEY: string | undefined;
94
+ X_API_KEY: string;
95
95
  }>;
96
96
  }
@@ -55,7 +55,7 @@ const serializers = __importStar(require("../../../../serialization/index"));
55
55
  const url_join_1 = __importDefault(require("url-join"));
56
56
  const errors = __importStar(require("../../../../errors/index"));
57
57
  class WorkflowDeployments {
58
- constructor(_options = {}) {
58
+ constructor(_options) {
59
59
  this._options = _options;
60
60
  }
61
61
  /**
@@ -90,7 +90,7 @@ class WorkflowDeployments {
90
90
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
91
91
  .default, "v1/workflow-deployments"),
92
92
  method: "GET",
93
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.6", "User-Agent": "vellum-ai/0.13.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
93
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.7", "User-Agent": "vellum-ai/0.13.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
94
94
  contentType: "application/json",
95
95
  queryParameters: _queryParams,
96
96
  requestType: "json",
@@ -143,7 +143,7 @@ class WorkflowDeployments {
143
143
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
144
144
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}`),
145
145
  method: "GET",
146
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.6", "User-Agent": "vellum-ai/0.13.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
146
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.7", "User-Agent": "vellum-ai/0.13.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
147
147
  contentType: "application/json",
148
148
  requestType: "json",
149
149
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -196,7 +196,7 @@ class WorkflowDeployments {
196
196
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
197
197
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/history/${encodeURIComponent(historyIdOrReleaseTag)}`),
198
198
  method: "GET",
199
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.6", "User-Agent": "vellum-ai/0.13.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
199
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.7", "User-Agent": "vellum-ai/0.13.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
200
200
  contentType: "application/json",
201
201
  requestType: "json",
202
202
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -265,7 +265,7 @@ class WorkflowDeployments {
265
265
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
266
266
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags`),
267
267
  method: "GET",
268
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.6", "User-Agent": "vellum-ai/0.13.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
268
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.7", "User-Agent": "vellum-ai/0.13.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
269
269
  contentType: "application/json",
270
270
  queryParameters: _queryParams,
271
271
  requestType: "json",
@@ -319,7 +319,7 @@ class WorkflowDeployments {
319
319
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
320
320
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
321
321
  method: "GET",
322
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.6", "User-Agent": "vellum-ai/0.13.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
322
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.7", "User-Agent": "vellum-ai/0.13.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
323
323
  contentType: "application/json",
324
324
  requestType: "json",
325
325
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -373,7 +373,7 @@ class WorkflowDeployments {
373
373
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
374
374
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/release-tags/${encodeURIComponent(name)}`),
375
375
  method: "PATCH",
376
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.6", "User-Agent": "vellum-ai/0.13.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
376
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.7", "User-Agent": "vellum-ai/0.13.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
377
377
  contentType: "application/json",
378
378
  requestType: "json",
379
379
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -9,7 +9,7 @@ export declare namespace WorkflowSandboxes {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
- apiKey?: core.Supplier<string | undefined>;
12
+ apiKey: core.Supplier<string>;
13
13
  }
14
14
  interface RequestOptions {
15
15
  /** The maximum time to wait for a response in seconds. */
@@ -24,7 +24,7 @@ export declare namespace WorkflowSandboxes {
24
24
  }
25
25
  export declare class WorkflowSandboxes {
26
26
  protected readonly _options: WorkflowSandboxes.Options;
27
- constructor(_options?: WorkflowSandboxes.Options);
27
+ constructor(_options: WorkflowSandboxes.Options);
28
28
  /**
29
29
  * @param {string} id - A UUID string identifying this workflow sandbox.
30
30
  * @param {string} workflowId - An ID identifying the Workflow you'd like to deploy.
@@ -36,6 +36,6 @@ export declare class WorkflowSandboxes {
36
36
  */
37
37
  deployWorkflow(id: string, workflowId: string, request?: Vellum.DeploySandboxWorkflowRequest, requestOptions?: WorkflowSandboxes.RequestOptions): Promise<Vellum.WorkflowDeploymentRead>;
38
38
  protected _getCustomAuthorizationHeaders(): Promise<{
39
- X_API_KEY: string | undefined;
39
+ X_API_KEY: string;
40
40
  }>;
41
41
  }
@@ -55,7 +55,7 @@ const serializers = __importStar(require("../../../../serialization/index"));
55
55
  const url_join_1 = __importDefault(require("url-join"));
56
56
  const errors = __importStar(require("../../../../errors/index"));
57
57
  class WorkflowSandboxes {
58
- constructor(_options = {}) {
58
+ constructor(_options) {
59
59
  this._options = _options;
60
60
  }
61
61
  /**
@@ -74,7 +74,7 @@ class WorkflowSandboxes {
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
75
75
  .default, `v1/workflow-sandboxes/${encodeURIComponent(id)}/workflows/${encodeURIComponent(workflowId)}/deploy`),
76
76
  method: "POST",
77
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.6", "User-Agent": "vellum-ai/0.13.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.7", "User-Agent": "vellum-ai/0.13.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -12,7 +12,7 @@ export declare namespace Workflows {
12
12
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
13
13
  /** Specify a custom URL to connect the client to. */
14
14
  baseUrl?: core.Supplier<string>;
15
- apiKey?: core.Supplier<string | undefined>;
15
+ apiKey: core.Supplier<string>;
16
16
  }
17
17
  interface RequestOptions {
18
18
  /** The maximum time to wait for a response in seconds. */
@@ -27,7 +27,7 @@ export declare namespace Workflows {
27
27
  }
28
28
  export declare class Workflows {
29
29
  protected readonly _options: Workflows.Options;
30
- constructor(_options?: Workflows.Options);
30
+ constructor(_options: Workflows.Options);
31
31
  /**
32
32
  * @throws {@link Vellum.BadRequestError}
33
33
  */
@@ -45,6 +45,6 @@ export declare class Workflows {
45
45
  */
46
46
  push(artifact: File | fs.ReadStream | Blob | undefined, request: Vellum.WorkflowPushRequest, requestOptions?: Workflows.RequestOptions): Promise<Vellum.WorkflowPushResponse>;
47
47
  protected _getCustomAuthorizationHeaders(): Promise<{
48
- X_API_KEY: string | undefined;
48
+ X_API_KEY: string;
49
49
  }>;
50
50
  }
@@ -56,7 +56,7 @@ const serializers = __importStar(require("../../../../serialization/index"));
56
56
  const url_join_1 = __importDefault(require("url-join"));
57
57
  const errors = __importStar(require("../../../../errors/index"));
58
58
  class Workflows {
59
- constructor(_options = {}) {
59
+ constructor(_options) {
60
60
  this._options = _options;
61
61
  }
62
62
  /**
@@ -88,7 +88,7 @@ class Workflows {
88
88
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
89
89
  .default, `v1/workflows/${encodeURIComponent(id)}/pull`),
90
90
  method: "GET",
91
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.6", "User-Agent": "vellum-ai/0.13.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.7", "User-Agent": "vellum-ai/0.13.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
92
92
  contentType: "application/json",
93
93
  queryParameters: _queryParams,
94
94
  requestType: "json",
@@ -165,7 +165,7 @@ class Workflows {
165
165
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
166
166
  .default, "v1/workflows/push"),
167
167
  method: "POST",
168
- headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.6", "User-Agent": "vellum-ai/0.13.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
168
+ headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.7", "User-Agent": "vellum-ai/0.13.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), _maybeEncodedRequest.headers), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
169
169
  requestType: "file",
170
170
  duplex: _maybeEncodedRequest.duplex,
171
171
  body: _maybeEncodedRequest.body,
@@ -9,7 +9,7 @@ export declare namespace WorkspaceSecrets {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
- apiKey?: core.Supplier<string | undefined>;
12
+ apiKey: core.Supplier<string>;
13
13
  }
14
14
  interface RequestOptions {
15
15
  /** The maximum time to wait for a response in seconds. */
@@ -24,7 +24,7 @@ export declare namespace WorkspaceSecrets {
24
24
  }
25
25
  export declare class WorkspaceSecrets {
26
26
  protected readonly _options: WorkspaceSecrets.Options;
27
- constructor(_options?: WorkspaceSecrets.Options);
27
+ constructor(_options: WorkspaceSecrets.Options);
28
28
  /**
29
29
  * Used to retrieve a Workspace Secret given its ID or name.
30
30
  *
@@ -47,6 +47,6 @@ export declare class WorkspaceSecrets {
47
47
  */
48
48
  partialUpdate(id: string, request?: Vellum.PatchedWorkspaceSecretUpdateRequest, requestOptions?: WorkspaceSecrets.RequestOptions): Promise<Vellum.WorkspaceSecretRead>;
49
49
  protected _getCustomAuthorizationHeaders(): Promise<{
50
- X_API_KEY: string | undefined;
50
+ X_API_KEY: string;
51
51
  }>;
52
52
  }
@@ -55,7 +55,7 @@ const url_join_1 = __importDefault(require("url-join"));
55
55
  const serializers = __importStar(require("../../../../serialization/index"));
56
56
  const errors = __importStar(require("../../../../errors/index"));
57
57
  class WorkspaceSecrets {
58
- constructor(_options = {}) {
58
+ constructor(_options) {
59
59
  this._options = _options;
60
60
  }
61
61
  /**
@@ -74,7 +74,7 @@ class WorkspaceSecrets {
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
75
75
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
76
76
  method: "GET",
77
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.6", "User-Agent": "vellum-ai/0.13.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.7", "User-Agent": "vellum-ai/0.13.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -127,7 +127,7 @@ class WorkspaceSecrets {
127
127
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
128
128
  .default, `v1/workspace-secrets/${encodeURIComponent(id)}`),
129
129
  method: "PATCH",
130
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.6", "User-Agent": "vellum-ai/0.13.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
130
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.7", "User-Agent": "vellum-ai/0.13.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
131
131
  contentType: "application/json",
132
132
  requestType: "json",
133
133
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -9,7 +9,7 @@ export declare namespace Workspaces {
9
9
  environment?: core.Supplier<environments.VellumEnvironment | environments.VellumEnvironmentUrls>;
10
10
  /** Specify a custom URL to connect the client to. */
11
11
  baseUrl?: core.Supplier<string>;
12
- apiKey?: core.Supplier<string | undefined>;
12
+ apiKey: core.Supplier<string>;
13
13
  }
14
14
  interface RequestOptions {
15
15
  /** The maximum time to wait for a response in seconds. */
@@ -24,7 +24,7 @@ export declare namespace Workspaces {
24
24
  }
25
25
  export declare class Workspaces {
26
26
  protected readonly _options: Workspaces.Options;
27
- constructor(_options?: Workspaces.Options);
27
+ constructor(_options: Workspaces.Options);
28
28
  /**
29
29
  * Retrieves information about the active Workspace
30
30
  *
@@ -35,6 +35,6 @@ export declare class Workspaces {
35
35
  */
36
36
  workspaceIdentity(requestOptions?: Workspaces.RequestOptions): Promise<Vellum.WorkspaceRead>;
37
37
  protected _getCustomAuthorizationHeaders(): Promise<{
38
- X_API_KEY: string | undefined;
38
+ X_API_KEY: string;
39
39
  }>;
40
40
  }
@@ -55,7 +55,7 @@ const url_join_1 = __importDefault(require("url-join"));
55
55
  const serializers = __importStar(require("../../../../serialization/index"));
56
56
  const errors = __importStar(require("../../../../errors/index"));
57
57
  class Workspaces {
58
- constructor(_options = {}) {
58
+ constructor(_options) {
59
59
  this._options = _options;
60
60
  }
61
61
  /**
@@ -73,7 +73,7 @@ class Workspaces {
73
73
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.VellumEnvironment.Production)
74
74
  .default, "v1/workspaces/identity"),
75
75
  method: "GET",
76
- headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.6", "User-Agent": "vellum-ai/0.13.6", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.13.7", "User-Agent": "vellum-ai/0.13.7", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.13.6";
1
+ export declare const SDK_VERSION = "0.13.7";
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.13.6";
4
+ exports.SDK_VERSION = "0.13.7";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "0.13.6",
3
+ "version": "0.13.7",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.13.6";
1
+ export declare const SDK_VERSION = "0.13.7";
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.13.6";
4
+ exports.SDK_VERSION = "0.13.7";