vellum-ai 1.5.1 → 1.5.3

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 (104) hide show
  1. package/Client.js +11 -11
  2. package/api/resources/adHoc/client/Client.js +2 -2
  3. package/api/resources/containerImages/client/Client.js +4 -4
  4. package/api/resources/deployments/client/Client.js +8 -8
  5. package/api/resources/documentIndexes/client/Client.d.ts +2 -1
  6. package/api/resources/documentIndexes/client/Client.js +21 -14
  7. package/api/resources/documentIndexes/client/requests/DocumentIndexesRetrieveRequest.d.ts +13 -0
  8. package/api/resources/documentIndexes/client/requests/DocumentIndexesRetrieveRequest.js +5 -0
  9. package/api/resources/documentIndexes/client/requests/index.d.ts +1 -0
  10. package/api/resources/documents/client/Client.js +5 -5
  11. package/api/resources/events/client/Client.js +1 -1
  12. package/api/resources/folderEntities/client/Client.js +2 -2
  13. package/api/resources/integrations/client/Client.js +2 -2
  14. package/api/resources/metricDefinitions/client/Client.js +2 -2
  15. package/api/resources/mlModels/client/Client.js +1 -1
  16. package/api/resources/organizations/client/Client.js +1 -1
  17. package/api/resources/prompts/client/Client.js +2 -2
  18. package/api/resources/sandboxes/client/Client.js +3 -3
  19. package/api/resources/testSuiteRuns/client/Client.js +3 -3
  20. package/api/resources/testSuites/client/Client.js +4 -4
  21. package/api/resources/workflowDeployments/client/Client.js +13 -10
  22. package/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentEventExecutionsRequest.d.ts +1 -0
  23. package/api/resources/workflowExecutions/client/Client.js +1 -1
  24. package/api/resources/workflowSandboxes/client/Client.js +2 -2
  25. package/api/resources/workflows/client/Client.js +3 -3
  26. package/api/resources/workspaceSecrets/client/Client.js +2 -2
  27. package/api/resources/workspaces/client/Client.js +1 -1
  28. package/api/types/IndexingConfigVectorizer.d.ts +1 -1
  29. package/api/types/IndexingConfigVectorizerRequest.d.ts +1 -1
  30. package/api/types/PrivateVectorizer.d.ts +9 -0
  31. package/api/types/PrivateVectorizer.js +5 -0
  32. package/api/types/PrivateVectorizerRequest.d.ts +9 -0
  33. package/api/types/PrivateVectorizerRequest.js +5 -0
  34. package/api/types/VellumErrorCodeEnum.d.ts +3 -3
  35. package/api/types/VellumErrorCodeEnum.js +1 -1
  36. package/api/types/index.d.ts +2 -0
  37. package/api/types/index.js +2 -0
  38. package/dist/Client.js +11 -11
  39. package/dist/api/resources/adHoc/client/Client.js +2 -2
  40. package/dist/api/resources/containerImages/client/Client.js +4 -4
  41. package/dist/api/resources/deployments/client/Client.js +8 -8
  42. package/dist/api/resources/documentIndexes/client/Client.d.ts +2 -1
  43. package/dist/api/resources/documentIndexes/client/Client.js +21 -14
  44. package/dist/api/resources/documentIndexes/client/requests/DocumentIndexesRetrieveRequest.d.ts +13 -0
  45. package/dist/api/resources/documentIndexes/client/requests/DocumentIndexesRetrieveRequest.js +5 -0
  46. package/dist/api/resources/documentIndexes/client/requests/index.d.ts +1 -0
  47. package/dist/api/resources/documents/client/Client.js +5 -5
  48. package/dist/api/resources/events/client/Client.js +1 -1
  49. package/dist/api/resources/folderEntities/client/Client.js +2 -2
  50. package/dist/api/resources/integrations/client/Client.js +2 -2
  51. package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
  52. package/dist/api/resources/mlModels/client/Client.js +1 -1
  53. package/dist/api/resources/organizations/client/Client.js +1 -1
  54. package/dist/api/resources/prompts/client/Client.js +2 -2
  55. package/dist/api/resources/sandboxes/client/Client.js +3 -3
  56. package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
  57. package/dist/api/resources/testSuites/client/Client.js +4 -4
  58. package/dist/api/resources/workflowDeployments/client/Client.js +13 -10
  59. package/dist/api/resources/workflowDeployments/client/requests/ListWorkflowDeploymentEventExecutionsRequest.d.ts +1 -0
  60. package/dist/api/resources/workflowExecutions/client/Client.js +1 -1
  61. package/dist/api/resources/workflowSandboxes/client/Client.js +2 -2
  62. package/dist/api/resources/workflows/client/Client.js +3 -3
  63. package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
  64. package/dist/api/resources/workspaces/client/Client.js +1 -1
  65. package/dist/api/types/IndexingConfigVectorizer.d.ts +1 -1
  66. package/dist/api/types/IndexingConfigVectorizerRequest.d.ts +1 -1
  67. package/dist/api/types/PrivateVectorizer.d.ts +9 -0
  68. package/dist/api/types/PrivateVectorizer.js +5 -0
  69. package/dist/api/types/PrivateVectorizerRequest.d.ts +9 -0
  70. package/dist/api/types/PrivateVectorizerRequest.js +5 -0
  71. package/dist/api/types/VellumErrorCodeEnum.d.ts +3 -3
  72. package/dist/api/types/VellumErrorCodeEnum.js +1 -1
  73. package/dist/api/types/index.d.ts +2 -0
  74. package/dist/api/types/index.js +2 -0
  75. package/dist/serialization/types/IndexingConfigVectorizer.d.ts +2 -1
  76. package/dist/serialization/types/IndexingConfigVectorizer.js +2 -0
  77. package/dist/serialization/types/IndexingConfigVectorizerRequest.d.ts +2 -1
  78. package/dist/serialization/types/IndexingConfigVectorizerRequest.js +2 -0
  79. package/dist/serialization/types/PrivateVectorizer.d.ts +12 -0
  80. package/dist/serialization/types/PrivateVectorizer.js +43 -0
  81. package/dist/serialization/types/PrivateVectorizerRequest.d.ts +12 -0
  82. package/dist/serialization/types/PrivateVectorizerRequest.js +43 -0
  83. package/dist/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
  84. package/dist/serialization/types/VellumErrorCodeEnum.js +1 -1
  85. package/dist/serialization/types/index.d.ts +2 -0
  86. package/dist/serialization/types/index.js +2 -0
  87. package/dist/version.d.ts +1 -1
  88. package/dist/version.js +1 -1
  89. package/package.json +1 -1
  90. package/reference.md +9 -1
  91. package/serialization/types/IndexingConfigVectorizer.d.ts +2 -1
  92. package/serialization/types/IndexingConfigVectorizer.js +2 -0
  93. package/serialization/types/IndexingConfigVectorizerRequest.d.ts +2 -1
  94. package/serialization/types/IndexingConfigVectorizerRequest.js +2 -0
  95. package/serialization/types/PrivateVectorizer.d.ts +12 -0
  96. package/serialization/types/PrivateVectorizer.js +43 -0
  97. package/serialization/types/PrivateVectorizerRequest.d.ts +12 -0
  98. package/serialization/types/PrivateVectorizerRequest.js +43 -0
  99. package/serialization/types/VellumErrorCodeEnum.d.ts +1 -1
  100. package/serialization/types/VellumErrorCodeEnum.js +1 -1
  101. package/serialization/types/index.d.ts +2 -0
  102. package/serialization/types/index.js +2 -0
  103. package/version.d.ts +1 -1
  104. package/version.js +1 -1
@@ -97,7 +97,7 @@ class WorkflowDeployments {
97
97
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
98
98
  unrecognizedObjectKeys: "strip",
99
99
  })
100
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
100
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
101
101
  contentType: "application/json",
102
102
  queryParameters: _queryParams,
103
103
  requestType: "json",
@@ -163,7 +163,7 @@ class WorkflowDeployments {
163
163
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
164
164
  unrecognizedObjectKeys: "strip",
165
165
  })
166
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
166
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
167
167
  contentType: "application/json",
168
168
  requestType: "json",
169
169
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -219,7 +219,7 @@ class WorkflowDeployments {
219
219
  __listWorkflowDeploymentEventExecutions(id_1) {
220
220
  return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
221
221
  var _a, _b, _c, _d;
222
- const { filters, limit, offset } = request;
222
+ const { filters, limit, offset, ordering } = request;
223
223
  const _queryParams = {};
224
224
  if (filters !== undefined) {
225
225
  _queryParams["filters"] = filters;
@@ -230,6 +230,9 @@ class WorkflowDeployments {
230
230
  if (offset !== undefined) {
231
231
  _queryParams["offset"] = (_b = offset === null || offset === void 0 ? void 0 : offset.toString()) !== null && _b !== void 0 ? _b : null;
232
232
  }
233
+ if (ordering !== undefined) {
234
+ _queryParams["ordering"] = ordering;
235
+ }
233
236
  const _response = yield core.fetcher({
234
237
  url: (0, url_join_1.default)((_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : ((_d = (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.VellumEnvironment.Production)
235
238
  .default, `v1/workflow-deployments/${encodeURIComponent(id)}/execution-events`),
@@ -238,7 +241,7 @@ class WorkflowDeployments {
238
241
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
239
242
  unrecognizedObjectKeys: "strip",
240
243
  })
241
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
244
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
242
245
  contentType: "application/json",
243
246
  queryParameters: _queryParams,
244
247
  requestType: "json",
@@ -303,7 +306,7 @@ class WorkflowDeployments {
303
306
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
304
307
  unrecognizedObjectKeys: "strip",
305
308
  })
306
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
309
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
307
310
  contentType: "application/json",
308
311
  requestType: "json",
309
312
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -370,7 +373,7 @@ class WorkflowDeployments {
370
373
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
371
374
  unrecognizedObjectKeys: "strip",
372
375
  })
373
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
374
377
  contentType: "application/json",
375
378
  requestType: "json",
376
379
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -452,7 +455,7 @@ class WorkflowDeployments {
452
455
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
453
456
  unrecognizedObjectKeys: "strip",
454
457
  })
455
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
458
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
456
459
  contentType: "application/json",
457
460
  queryParameters: _queryParams,
458
461
  requestType: "json",
@@ -519,7 +522,7 @@ class WorkflowDeployments {
519
522
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
520
523
  unrecognizedObjectKeys: "strip",
521
524
  })
522
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
525
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
523
526
  contentType: "application/json",
524
527
  requestType: "json",
525
528
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -586,7 +589,7 @@ class WorkflowDeployments {
586
589
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
587
590
  unrecognizedObjectKeys: "strip",
588
591
  })
589
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
592
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
590
593
  contentType: "application/json",
591
594
  requestType: "json",
592
595
  body: serializers.PatchedWorkflowReleaseTagUpdateRequest.jsonOrThrow(request, {
@@ -655,7 +658,7 @@ class WorkflowDeployments {
655
658
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
656
659
  unrecognizedObjectKeys: "strip",
657
660
  })
658
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
661
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
659
662
  contentType: "application/json",
660
663
  requestType: "json",
661
664
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -15,4 +15,5 @@ export interface ListWorkflowDeploymentEventExecutionsRequest {
15
15
  * The initial index from which to return the executions.
16
16
  */
17
17
  offset?: number | null;
18
+ ordering?: string | null;
18
19
  }
@@ -88,7 +88,7 @@ class WorkflowExecutions {
88
88
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
89
89
  unrecognizedObjectKeys: "strip",
90
90
  })
91
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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",
@@ -80,7 +80,7 @@ class WorkflowSandboxes {
80
80
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
81
81
  unrecognizedObjectKeys: "strip",
82
82
  })
83
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
83
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  body: serializers.DeploySandboxWorkflowRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -162,7 +162,7 @@ class WorkflowSandboxes {
162
162
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
163
163
  unrecognizedObjectKeys: "strip",
164
164
  })
165
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
165
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
166
166
  contentType: "application/json",
167
167
  queryParameters: _queryParams,
168
168
  requestType: "json",
@@ -100,7 +100,7 @@ class Workflows {
100
100
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
101
101
  unrecognizedObjectKeys: "strip",
102
102
  })
103
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
103
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
104
104
  contentType: "application/json",
105
105
  queryParameters: _queryParams,
106
106
  requestType: "json",
@@ -180,7 +180,7 @@ class Workflows {
180
180
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
181
181
  unrecognizedObjectKeys: "strip",
182
182
  })
183
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
183
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
184
184
  requestType: "file",
185
185
  duplex: _maybeEncodedRequest.duplex,
186
186
  body: _maybeEncodedRequest.body,
@@ -252,7 +252,7 @@ class Workflows {
252
252
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
253
253
  unrecognizedObjectKeys: "strip",
254
254
  })
255
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
255
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
256
256
  contentType: "application/json",
257
257
  requestType: "json",
258
258
  body: serializers.SerializeWorkflowFilesRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -81,7 +81,7 @@ class WorkspaceSecrets {
81
81
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
82
82
  unrecognizedObjectKeys: "strip",
83
83
  })
84
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
84
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
85
85
  contentType: "application/json",
86
86
  requestType: "json",
87
87
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -147,7 +147,7 @@ class WorkspaceSecrets {
147
147
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
148
148
  unrecognizedObjectKeys: "strip",
149
149
  })
150
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
150
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
151
151
  contentType: "application/json",
152
152
  requestType: "json",
153
153
  body: serializers.PatchedWorkspaceSecretUpdateRequest.jsonOrThrow(request, {
@@ -80,7 +80,7 @@ class Workspaces {
80
80
  ? serializers.ApiVersionEnum.jsonOrThrow(yield core.Supplier.get(this._options.apiVersion), {
81
81
  unrecognizedObjectKeys: "strip",
82
82
  })
83
- : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.1", "User-Agent": "vellum-ai/1.5.1", "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),
83
+ : "2025-07-30", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "1.5.3", "User-Agent": "vellum-ai/1.5.3", "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),
84
84
  contentType: "application/json",
85
85
  requestType: "json",
86
86
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type IndexingConfigVectorizer = Vellum.OpenAiVectorizerTextEmbedding3Small | Vellum.OpenAiVectorizerTextEmbedding3Large | Vellum.OpenAiVectorizerTextEmbeddingAda002 | Vellum.BasicVectorizerIntfloatMultilingualE5Large | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1 | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1 | Vellum.HkunlpInstructorXlVectorizer | Vellum.GoogleVertexAiVectorizerTextEmbedding004 | Vellum.GoogleVertexAiVectorizerTextMultilingualEmbedding002 | Vellum.GoogleVertexAiVectorizerGeminiEmbedding001 | Vellum.FastEmbedVectorizerBaaiBgeSmallEnV15;
5
+ export type IndexingConfigVectorizer = Vellum.OpenAiVectorizerTextEmbedding3Small | Vellum.OpenAiVectorizerTextEmbedding3Large | Vellum.OpenAiVectorizerTextEmbeddingAda002 | Vellum.BasicVectorizerIntfloatMultilingualE5Large | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1 | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1 | Vellum.HkunlpInstructorXlVectorizer | Vellum.GoogleVertexAiVectorizerTextEmbedding004 | Vellum.GoogleVertexAiVectorizerTextMultilingualEmbedding002 | Vellum.GoogleVertexAiVectorizerGeminiEmbedding001 | Vellum.FastEmbedVectorizerBaaiBgeSmallEnV15 | Vellum.PrivateVectorizer;
@@ -2,4 +2,4 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Vellum from "../index";
5
- export type IndexingConfigVectorizerRequest = Vellum.OpenAiVectorizerTextEmbedding3SmallRequest | Vellum.OpenAiVectorizerTextEmbedding3LargeRequest | Vellum.OpenAiVectorizerTextEmbeddingAda002Request | Vellum.BasicVectorizerIntfloatMultilingualE5LargeRequest | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request | Vellum.HkunlpInstructorXlVectorizerRequest | Vellum.GoogleVertexAiVectorizerTextEmbedding004Request | Vellum.GoogleVertexAiVectorizerTextMultilingualEmbedding002Request | Vellum.GoogleVertexAiVectorizerGeminiEmbedding001Request | Vellum.FastEmbedVectorizerBaaiBgeSmallEnV15Request;
5
+ export type IndexingConfigVectorizerRequest = Vellum.OpenAiVectorizerTextEmbedding3SmallRequest | Vellum.OpenAiVectorizerTextEmbedding3LargeRequest | Vellum.OpenAiVectorizerTextEmbeddingAda002Request | Vellum.BasicVectorizerIntfloatMultilingualE5LargeRequest | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request | Vellum.BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request | Vellum.HkunlpInstructorXlVectorizerRequest | Vellum.GoogleVertexAiVectorizerTextEmbedding004Request | Vellum.GoogleVertexAiVectorizerTextMultilingualEmbedding002Request | Vellum.GoogleVertexAiVectorizerGeminiEmbedding001Request | Vellum.FastEmbedVectorizerBaaiBgeSmallEnV15Request | Vellum.PrivateVectorizerRequest;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Serializer for private vectorizer.
6
+ */
7
+ export interface PrivateVectorizer {
8
+ modelName: "private-vectorizer";
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Serializer for private vectorizer.
6
+ */
7
+ export interface PrivateVectorizerRequest {
8
+ modelName: "private-vectorizer";
9
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,18 +5,18 @@
5
5
  * * `INVALID_REQUEST` - INVALID_REQUEST
6
6
  * * `INVALID_INPUTS` - INVALID_INPUTS
7
7
  * * `PROVIDER_ERROR` - PROVIDER_ERROR
8
- * * `PROVIDER_CREDENTIALS_AVAILABLE` - PROVIDER_CREDENTIALS_UNAVAILABLE
8
+ * * `PROVIDER_CREDENTIALS_UNAVAILABLE` - PROVIDER_CREDENTIALS_UNAVAILABLE
9
9
  * * `REQUEST_TIMEOUT` - REQUEST_TIMEOUT
10
10
  * * `INTERNAL_SERVER_ERROR` - INTERNAL_SERVER_ERROR
11
11
  * * `USER_DEFINED_ERROR` - USER_DEFINED_ERROR
12
12
  * * `WORKFLOW_CANCELLED` - WORKFLOW_CANCELLED
13
13
  */
14
- export type VellumErrorCodeEnum = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_AVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED";
14
+ export type VellumErrorCodeEnum = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED";
15
15
  export declare const VellumErrorCodeEnum: {
16
16
  readonly InvalidRequest: "INVALID_REQUEST";
17
17
  readonly InvalidInputs: "INVALID_INPUTS";
18
18
  readonly ProviderError: "PROVIDER_ERROR";
19
- readonly ProviderCredentialsAvailable: "PROVIDER_CREDENTIALS_AVAILABLE";
19
+ readonly ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE";
20
20
  readonly RequestTimeout: "REQUEST_TIMEOUT";
21
21
  readonly InternalServerError: "INTERNAL_SERVER_ERROR";
22
22
  readonly UserDefinedError: "USER_DEFINED_ERROR";
@@ -8,7 +8,7 @@ exports.VellumErrorCodeEnum = {
8
8
  InvalidRequest: "INVALID_REQUEST",
9
9
  InvalidInputs: "INVALID_INPUTS",
10
10
  ProviderError: "PROVIDER_ERROR",
11
- ProviderCredentialsAvailable: "PROVIDER_CREDENTIALS_AVAILABLE",
11
+ ProviderCredentialsUnavailable: "PROVIDER_CREDENTIALS_UNAVAILABLE",
12
12
  RequestTimeout: "REQUEST_TIMEOUT",
13
13
  InternalServerError: "INTERNAL_SERVER_ERROR",
14
14
  UserDefinedError: "USER_DEFINED_ERROR",
@@ -336,6 +336,8 @@ export * from "./PdfSearchResultMetaSource";
336
336
  export * from "./PdfSearchResultMetaSourceRequest";
337
337
  export * from "./PlainTextPromptBlock";
338
338
  export * from "./Price";
339
+ export * from "./PrivateVectorizer";
340
+ export * from "./PrivateVectorizerRequest";
339
341
  export * from "./ProcessingFailureReasonEnum";
340
342
  export * from "./PromptBlock";
341
343
  export * from "./PromptBlockState";
@@ -352,6 +352,8 @@ __exportStar(require("./PdfSearchResultMetaSource"), exports);
352
352
  __exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
353
353
  __exportStar(require("./PlainTextPromptBlock"), exports);
354
354
  __exportStar(require("./Price"), exports);
355
+ __exportStar(require("./PrivateVectorizer"), exports);
356
+ __exportStar(require("./PrivateVectorizerRequest"), exports);
355
357
  __exportStar(require("./ProcessingFailureReasonEnum"), exports);
356
358
  __exportStar(require("./PromptBlock"), exports);
357
359
  __exportStar(require("./PromptBlockState"), exports);
@@ -15,7 +15,8 @@ import { GoogleVertexAiVectorizerTextEmbedding004 } from "./GoogleVertexAiVector
15
15
  import { GoogleVertexAiVectorizerTextMultilingualEmbedding002 } from "./GoogleVertexAiVectorizerTextMultilingualEmbedding002";
16
16
  import { GoogleVertexAiVectorizerGeminiEmbedding001 } from "./GoogleVertexAiVectorizerGeminiEmbedding001";
17
17
  import { FastEmbedVectorizerBaaiBgeSmallEnV15 } from "./FastEmbedVectorizerBaaiBgeSmallEnV15";
18
+ import { PrivateVectorizer } from "./PrivateVectorizer";
18
19
  export declare const IndexingConfigVectorizer: core.serialization.Schema<serializers.IndexingConfigVectorizer.Raw, Vellum.IndexingConfigVectorizer>;
19
20
  export declare namespace IndexingConfigVectorizer {
20
- type Raw = OpenAiVectorizerTextEmbedding3Small.Raw | OpenAiVectorizerTextEmbedding3Large.Raw | OpenAiVectorizerTextEmbeddingAda002.Raw | BasicVectorizerIntfloatMultilingualE5Large.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1.Raw | HkunlpInstructorXlVectorizer.Raw | GoogleVertexAiVectorizerTextEmbedding004.Raw | GoogleVertexAiVectorizerTextMultilingualEmbedding002.Raw | GoogleVertexAiVectorizerGeminiEmbedding001.Raw | FastEmbedVectorizerBaaiBgeSmallEnV15.Raw;
21
+ type Raw = OpenAiVectorizerTextEmbedding3Small.Raw | OpenAiVectorizerTextEmbedding3Large.Raw | OpenAiVectorizerTextEmbeddingAda002.Raw | BasicVectorizerIntfloatMultilingualE5Large.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1.Raw | HkunlpInstructorXlVectorizer.Raw | GoogleVertexAiVectorizerTextEmbedding004.Raw | GoogleVertexAiVectorizerTextMultilingualEmbedding002.Raw | GoogleVertexAiVectorizerGeminiEmbedding001.Raw | FastEmbedVectorizerBaaiBgeSmallEnV15.Raw | PrivateVectorizer.Raw;
21
22
  }
@@ -49,6 +49,7 @@ const GoogleVertexAiVectorizerTextEmbedding004_1 = require("./GoogleVertexAiVect
49
49
  const GoogleVertexAiVectorizerTextMultilingualEmbedding002_1 = require("./GoogleVertexAiVectorizerTextMultilingualEmbedding002");
50
50
  const GoogleVertexAiVectorizerGeminiEmbedding001_1 = require("./GoogleVertexAiVectorizerGeminiEmbedding001");
51
51
  const FastEmbedVectorizerBaaiBgeSmallEnV15_1 = require("./FastEmbedVectorizerBaaiBgeSmallEnV15");
52
+ const PrivateVectorizer_1 = require("./PrivateVectorizer");
52
53
  exports.IndexingConfigVectorizer = core.serialization.undiscriminatedUnion([
53
54
  OpenAiVectorizerTextEmbedding3Small_1.OpenAiVectorizerTextEmbedding3Small,
54
55
  OpenAiVectorizerTextEmbedding3Large_1.OpenAiVectorizerTextEmbedding3Large,
@@ -61,4 +62,5 @@ exports.IndexingConfigVectorizer = core.serialization.undiscriminatedUnion([
61
62
  GoogleVertexAiVectorizerTextMultilingualEmbedding002_1.GoogleVertexAiVectorizerTextMultilingualEmbedding002,
62
63
  GoogleVertexAiVectorizerGeminiEmbedding001_1.GoogleVertexAiVectorizerGeminiEmbedding001,
63
64
  FastEmbedVectorizerBaaiBgeSmallEnV15_1.FastEmbedVectorizerBaaiBgeSmallEnV15,
65
+ PrivateVectorizer_1.PrivateVectorizer,
64
66
  ]);
@@ -15,7 +15,8 @@ import { GoogleVertexAiVectorizerTextEmbedding004Request } from "./GoogleVertexA
15
15
  import { GoogleVertexAiVectorizerTextMultilingualEmbedding002Request } from "./GoogleVertexAiVectorizerTextMultilingualEmbedding002Request";
16
16
  import { GoogleVertexAiVectorizerGeminiEmbedding001Request } from "./GoogleVertexAiVectorizerGeminiEmbedding001Request";
17
17
  import { FastEmbedVectorizerBaaiBgeSmallEnV15Request } from "./FastEmbedVectorizerBaaiBgeSmallEnV15Request";
18
+ import { PrivateVectorizerRequest } from "./PrivateVectorizerRequest";
18
19
  export declare const IndexingConfigVectorizerRequest: core.serialization.Schema<serializers.IndexingConfigVectorizerRequest.Raw, Vellum.IndexingConfigVectorizerRequest>;
19
20
  export declare namespace IndexingConfigVectorizerRequest {
20
- type Raw = OpenAiVectorizerTextEmbedding3SmallRequest.Raw | OpenAiVectorizerTextEmbedding3LargeRequest.Raw | OpenAiVectorizerTextEmbeddingAda002Request.Raw | BasicVectorizerIntfloatMultilingualE5LargeRequest.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request.Raw | HkunlpInstructorXlVectorizerRequest.Raw | GoogleVertexAiVectorizerTextEmbedding004Request.Raw | GoogleVertexAiVectorizerTextMultilingualEmbedding002Request.Raw | GoogleVertexAiVectorizerGeminiEmbedding001Request.Raw | FastEmbedVectorizerBaaiBgeSmallEnV15Request.Raw;
21
+ type Raw = OpenAiVectorizerTextEmbedding3SmallRequest.Raw | OpenAiVectorizerTextEmbedding3LargeRequest.Raw | OpenAiVectorizerTextEmbeddingAda002Request.Raw | BasicVectorizerIntfloatMultilingualE5LargeRequest.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request.Raw | HkunlpInstructorXlVectorizerRequest.Raw | GoogleVertexAiVectorizerTextEmbedding004Request.Raw | GoogleVertexAiVectorizerTextMultilingualEmbedding002Request.Raw | GoogleVertexAiVectorizerGeminiEmbedding001Request.Raw | FastEmbedVectorizerBaaiBgeSmallEnV15Request.Raw | PrivateVectorizerRequest.Raw;
21
22
  }
@@ -49,6 +49,7 @@ const GoogleVertexAiVectorizerTextEmbedding004Request_1 = require("./GoogleVerte
49
49
  const GoogleVertexAiVectorizerTextMultilingualEmbedding002Request_1 = require("./GoogleVertexAiVectorizerTextMultilingualEmbedding002Request");
50
50
  const GoogleVertexAiVectorizerGeminiEmbedding001Request_1 = require("./GoogleVertexAiVectorizerGeminiEmbedding001Request");
51
51
  const FastEmbedVectorizerBaaiBgeSmallEnV15Request_1 = require("./FastEmbedVectorizerBaaiBgeSmallEnV15Request");
52
+ const PrivateVectorizerRequest_1 = require("./PrivateVectorizerRequest");
52
53
  exports.IndexingConfigVectorizerRequest = core.serialization.undiscriminatedUnion([
53
54
  OpenAiVectorizerTextEmbedding3SmallRequest_1.OpenAiVectorizerTextEmbedding3SmallRequest,
54
55
  OpenAiVectorizerTextEmbedding3LargeRequest_1.OpenAiVectorizerTextEmbedding3LargeRequest,
@@ -61,4 +62,5 @@ exports.IndexingConfigVectorizerRequest = core.serialization.undiscriminatedUnio
61
62
  GoogleVertexAiVectorizerTextMultilingualEmbedding002Request_1.GoogleVertexAiVectorizerTextMultilingualEmbedding002Request,
62
63
  GoogleVertexAiVectorizerGeminiEmbedding001Request_1.GoogleVertexAiVectorizerGeminiEmbedding001Request,
63
64
  FastEmbedVectorizerBaaiBgeSmallEnV15Request_1.FastEmbedVectorizerBaaiBgeSmallEnV15Request,
65
+ PrivateVectorizerRequest_1.PrivateVectorizerRequest,
64
66
  ]);
@@ -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 PrivateVectorizer: core.serialization.ObjectSchema<serializers.PrivateVectorizer.Raw, Vellum.PrivateVectorizer>;
8
+ export declare namespace PrivateVectorizer {
9
+ interface Raw {
10
+ model_name: "private-vectorizer";
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.PrivateVectorizer = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.PrivateVectorizer = core.serialization.object({
42
+ modelName: core.serialization.property("model_name", core.serialization.stringLiteral("private-vectorizer")),
43
+ });
@@ -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 PrivateVectorizerRequest: core.serialization.ObjectSchema<serializers.PrivateVectorizerRequest.Raw, Vellum.PrivateVectorizerRequest>;
8
+ export declare namespace PrivateVectorizerRequest {
9
+ interface Raw {
10
+ model_name: "private-vectorizer";
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.PrivateVectorizerRequest = void 0;
40
+ const core = __importStar(require("../../core"));
41
+ exports.PrivateVectorizerRequest = core.serialization.object({
42
+ modelName: core.serialization.property("model_name", core.serialization.stringLiteral("private-vectorizer")),
43
+ });
@@ -6,5 +6,5 @@ import * as Vellum from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const VellumErrorCodeEnum: core.serialization.Schema<serializers.VellumErrorCodeEnum.Raw, Vellum.VellumErrorCodeEnum>;
8
8
  export declare namespace VellumErrorCodeEnum {
9
- type Raw = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_AVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED";
9
+ type Raw = "INVALID_REQUEST" | "INVALID_INPUTS" | "PROVIDER_ERROR" | "PROVIDER_CREDENTIALS_UNAVAILABLE" | "REQUEST_TIMEOUT" | "INTERNAL_SERVER_ERROR" | "USER_DEFINED_ERROR" | "WORKFLOW_CANCELLED";
10
10
  }
@@ -42,7 +42,7 @@ exports.VellumErrorCodeEnum = core.serialization.enum_([
42
42
  "INVALID_REQUEST",
43
43
  "INVALID_INPUTS",
44
44
  "PROVIDER_ERROR",
45
- "PROVIDER_CREDENTIALS_AVAILABLE",
45
+ "PROVIDER_CREDENTIALS_UNAVAILABLE",
46
46
  "REQUEST_TIMEOUT",
47
47
  "INTERNAL_SERVER_ERROR",
48
48
  "USER_DEFINED_ERROR",
@@ -336,6 +336,8 @@ export * from "./PdfSearchResultMetaSource";
336
336
  export * from "./PdfSearchResultMetaSourceRequest";
337
337
  export * from "./PlainTextPromptBlock";
338
338
  export * from "./Price";
339
+ export * from "./PrivateVectorizer";
340
+ export * from "./PrivateVectorizerRequest";
339
341
  export * from "./ProcessingFailureReasonEnum";
340
342
  export * from "./PromptBlock";
341
343
  export * from "./PromptBlockState";
@@ -352,6 +352,8 @@ __exportStar(require("./PdfSearchResultMetaSource"), exports);
352
352
  __exportStar(require("./PdfSearchResultMetaSourceRequest"), exports);
353
353
  __exportStar(require("./PlainTextPromptBlock"), exports);
354
354
  __exportStar(require("./Price"), exports);
355
+ __exportStar(require("./PrivateVectorizer"), exports);
356
+ __exportStar(require("./PrivateVectorizerRequest"), exports);
355
357
  __exportStar(require("./ProcessingFailureReasonEnum"), exports);
356
358
  __exportStar(require("./PromptBlock"), exports);
357
359
  __exportStar(require("./PromptBlockState"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.5.1";
1
+ export declare const SDK_VERSION = "1.5.3";
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 = "1.5.1";
4
+ exports.SDK_VERSION = "1.5.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vellum-ai",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "private": false,
5
5
  "repository": "https://github.com/vellum-ai/vellum-client-node",
6
6
  "license": "MIT",
package/reference.md CHANGED
@@ -1434,7 +1434,7 @@ await client.documentIndexes.create({
1434
1434
  </dl>
1435
1435
  </details>
1436
1436
 
1437
- <details><summary><code>client.documentIndexes.<a href="/src/api/resources/documentIndexes/client/Client.ts">retrieve</a>(id) -> Vellum.DocumentIndexRead</code></summary>
1437
+ <details><summary><code>client.documentIndexes.<a href="/src/api/resources/documentIndexes/client/Client.ts">retrieve</a>(id, { ...params }) -> Vellum.DocumentIndexRead</code></summary>
1438
1438
  <dl>
1439
1439
  <dd>
1440
1440
 
@@ -1486,6 +1486,14 @@ await client.documentIndexes.retrieve("id");
1486
1486
  <dl>
1487
1487
  <dd>
1488
1488
 
1489
+ **request:** `Vellum.DocumentIndexesRetrieveRequest`
1490
+
1491
+ </dd>
1492
+ </dl>
1493
+
1494
+ <dl>
1495
+ <dd>
1496
+
1489
1497
  **requestOptions:** `DocumentIndexes.RequestOptions`
1490
1498
 
1491
1499
  </dd>
@@ -15,7 +15,8 @@ import { GoogleVertexAiVectorizerTextEmbedding004 } from "./GoogleVertexAiVector
15
15
  import { GoogleVertexAiVectorizerTextMultilingualEmbedding002 } from "./GoogleVertexAiVectorizerTextMultilingualEmbedding002";
16
16
  import { GoogleVertexAiVectorizerGeminiEmbedding001 } from "./GoogleVertexAiVectorizerGeminiEmbedding001";
17
17
  import { FastEmbedVectorizerBaaiBgeSmallEnV15 } from "./FastEmbedVectorizerBaaiBgeSmallEnV15";
18
+ import { PrivateVectorizer } from "./PrivateVectorizer";
18
19
  export declare const IndexingConfigVectorizer: core.serialization.Schema<serializers.IndexingConfigVectorizer.Raw, Vellum.IndexingConfigVectorizer>;
19
20
  export declare namespace IndexingConfigVectorizer {
20
- type Raw = OpenAiVectorizerTextEmbedding3Small.Raw | OpenAiVectorizerTextEmbedding3Large.Raw | OpenAiVectorizerTextEmbeddingAda002.Raw | BasicVectorizerIntfloatMultilingualE5Large.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1.Raw | HkunlpInstructorXlVectorizer.Raw | GoogleVertexAiVectorizerTextEmbedding004.Raw | GoogleVertexAiVectorizerTextMultilingualEmbedding002.Raw | GoogleVertexAiVectorizerGeminiEmbedding001.Raw | FastEmbedVectorizerBaaiBgeSmallEnV15.Raw;
21
+ type Raw = OpenAiVectorizerTextEmbedding3Small.Raw | OpenAiVectorizerTextEmbedding3Large.Raw | OpenAiVectorizerTextEmbeddingAda002.Raw | BasicVectorizerIntfloatMultilingualE5Large.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1.Raw | BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1.Raw | HkunlpInstructorXlVectorizer.Raw | GoogleVertexAiVectorizerTextEmbedding004.Raw | GoogleVertexAiVectorizerTextMultilingualEmbedding002.Raw | GoogleVertexAiVectorizerGeminiEmbedding001.Raw | FastEmbedVectorizerBaaiBgeSmallEnV15.Raw | PrivateVectorizer.Raw;
21
22
  }
@@ -49,6 +49,7 @@ const GoogleVertexAiVectorizerTextEmbedding004_1 = require("./GoogleVertexAiVect
49
49
  const GoogleVertexAiVectorizerTextMultilingualEmbedding002_1 = require("./GoogleVertexAiVectorizerTextMultilingualEmbedding002");
50
50
  const GoogleVertexAiVectorizerGeminiEmbedding001_1 = require("./GoogleVertexAiVectorizerGeminiEmbedding001");
51
51
  const FastEmbedVectorizerBaaiBgeSmallEnV15_1 = require("./FastEmbedVectorizerBaaiBgeSmallEnV15");
52
+ const PrivateVectorizer_1 = require("./PrivateVectorizer");
52
53
  exports.IndexingConfigVectorizer = core.serialization.undiscriminatedUnion([
53
54
  OpenAiVectorizerTextEmbedding3Small_1.OpenAiVectorizerTextEmbedding3Small,
54
55
  OpenAiVectorizerTextEmbedding3Large_1.OpenAiVectorizerTextEmbedding3Large,
@@ -61,4 +62,5 @@ exports.IndexingConfigVectorizer = core.serialization.undiscriminatedUnion([
61
62
  GoogleVertexAiVectorizerTextMultilingualEmbedding002_1.GoogleVertexAiVectorizerTextMultilingualEmbedding002,
62
63
  GoogleVertexAiVectorizerGeminiEmbedding001_1.GoogleVertexAiVectorizerGeminiEmbedding001,
63
64
  FastEmbedVectorizerBaaiBgeSmallEnV15_1.FastEmbedVectorizerBaaiBgeSmallEnV15,
65
+ PrivateVectorizer_1.PrivateVectorizer,
64
66
  ]);