vellum-ai 0.14.3 → 0.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +11 -11
- package/api/resources/adHoc/client/Client.js +1 -1
- package/api/resources/containerImages/client/Client.js +4 -4
- package/api/resources/deployments/client/Client.js +7 -7
- package/api/resources/documentIndexes/client/Client.js +8 -8
- package/api/resources/documentIndexes/client/requests/DocumentIndexesListRequest.d.ts +2 -2
- package/api/resources/documents/client/Client.d.ts +0 -1
- package/api/resources/documents/client/Client.js +5 -6
- package/api/resources/folderEntities/client/Client.d.ts +0 -1
- package/api/resources/folderEntities/client/Client.js +2 -3
- package/api/resources/folderEntities/client/requests/FolderEntitiesListRequest.d.ts +2 -3
- package/api/resources/metricDefinitions/client/Client.js +2 -2
- package/api/resources/mlModels/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/sandboxes/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/api/resources/testSuiteRuns/client/requests/TestSuiteRunsListExecutionsRequest.d.ts +0 -1
- package/api/resources/testSuites/client/Client.js +4 -4
- package/api/resources/workflowDeployments/client/Client.js +6 -6
- package/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/api/resources/workflows/client/Client.js +4 -3
- package/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/types/AddOpenaiApiKeyEnum.d.ts +1 -1
- package/api/types/ChatMessageRole.d.ts +4 -4
- package/api/types/CodeExecutionRuntime.d.ts +2 -2
- package/api/types/ConditionCombinator.d.ts +2 -2
- package/api/types/DeploymentRead.d.ts +5 -5
- package/api/types/DeploymentReleaseTagRead.d.ts +2 -2
- package/api/types/DocumentDocumentToDocumentIndex.d.ts +5 -5
- package/api/types/DocumentIndexRead.d.ts +5 -5
- package/api/types/DocumentProcessingState.d.ts +5 -5
- package/api/types/DocumentRead.d.ts +1 -1
- package/api/types/DocumentStatus.d.ts +1 -1
- package/api/types/EnrichedNormalizedCompletion.d.ts +3 -3
- package/api/types/EntityStatus.d.ts +2 -2
- package/api/types/EntityVisibility.d.ts +4 -4
- package/api/types/EnvironmentEnum.d.ts +3 -3
- package/api/types/EphemeralPromptCacheConfigTypeEnum.d.ts +1 -1
- package/api/types/FinishReasonEnum.d.ts +3 -3
- package/api/types/GenerateOptionsRequest.d.ts +2 -2
- package/api/types/IndexingStateEnum.d.ts +5 -5
- package/api/types/IterationStateEnum.d.ts +3 -3
- package/api/types/LogicalOperator.d.ts +24 -24
- package/api/types/LogprobsEnum.d.ts +2 -2
- package/api/types/MetadataFilterRuleCombinator.d.ts +2 -2
- package/api/types/MethodEnum.d.ts +5 -5
- package/api/types/NewMemberJoinBehaviorEnum.d.ts +3 -3
- package/api/types/ProcessingFailureReasonEnum.d.ts +2 -2
- package/api/types/PromptBlockState.d.ts +2 -2
- package/api/types/ReleaseTagSource.d.ts +2 -2
- package/api/types/SecretTypeEnum.d.ts +3 -3
- package/api/types/SlimDeploymentRead.d.ts +5 -5
- package/api/types/SlimDocument.d.ts +3 -3
- package/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +5 -5
- package/api/types/SlimWorkflowDeployment.d.ts +5 -5
- package/api/types/TestSuiteRunRead.d.ts +5 -5
- package/api/types/TestSuiteRunState.d.ts +5 -5
- package/api/types/UnitEnum.d.ts +1 -1
- package/api/types/VellumErrorCodeEnum.d.ts +6 -6
- package/api/types/VellumVariableType.d.ts +11 -11
- package/api/types/WorkflowDeploymentRead.d.ts +5 -5
- package/api/types/WorkflowExecutionEventErrorCode.d.ts +8 -8
- package/api/types/WorkflowExecutionEventType.d.ts +2 -2
- package/api/types/WorkflowNodeResultEventState.d.ts +4 -4
- package/api/types/WorkflowReleaseTagRead.d.ts +2 -2
- package/core/fetcher/Fetcher.js +4 -3
- package/core/fetcher/getRequestBody.js +2 -1
- package/core/fetcher/requestWithRetries.js +1 -1
- package/core/form-data-utils/FormDataWrapper.js +6 -2
- package/core/json.d.ts +15 -0
- package/core/json.js +24 -0
- package/core/schemas/Schema.d.ts +1 -0
- package/core/schemas/Schema.js +1 -0
- package/core/schemas/builders/bigint/bigint.d.ts +1 -1
- package/core/schemas/builders/bigint/bigint.js +21 -17
- package/core/schemas/builders/object/object.js +1 -0
- package/core/schemas/builders/record/record.js +1 -2
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -0
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +38 -0
- package/dist/Client.js +11 -11
- package/dist/api/resources/adHoc/client/Client.js +1 -1
- package/dist/api/resources/containerImages/client/Client.js +4 -4
- package/dist/api/resources/deployments/client/Client.js +7 -7
- package/dist/api/resources/documentIndexes/client/Client.js +8 -8
- package/dist/api/resources/documentIndexes/client/requests/DocumentIndexesListRequest.d.ts +2 -2
- package/dist/api/resources/documents/client/Client.d.ts +0 -1
- package/dist/api/resources/documents/client/Client.js +5 -6
- package/dist/api/resources/folderEntities/client/Client.d.ts +0 -1
- package/dist/api/resources/folderEntities/client/Client.js +2 -3
- package/dist/api/resources/folderEntities/client/requests/FolderEntitiesListRequest.d.ts +2 -3
- package/dist/api/resources/metricDefinitions/client/Client.js +2 -2
- package/dist/api/resources/mlModels/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/sandboxes/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/Client.js +3 -3
- package/dist/api/resources/testSuiteRuns/client/requests/TestSuiteRunsListExecutionsRequest.d.ts +0 -1
- package/dist/api/resources/testSuites/client/Client.js +4 -4
- package/dist/api/resources/workflowDeployments/client/Client.js +6 -6
- package/dist/api/resources/workflowSandboxes/client/Client.js +1 -1
- package/dist/api/resources/workflows/client/Client.js +4 -3
- package/dist/api/resources/workspaceSecrets/client/Client.js +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/types/AddOpenaiApiKeyEnum.d.ts +1 -1
- package/dist/api/types/ChatMessageRole.d.ts +4 -4
- package/dist/api/types/CodeExecutionRuntime.d.ts +2 -2
- package/dist/api/types/ConditionCombinator.d.ts +2 -2
- package/dist/api/types/DeploymentRead.d.ts +5 -5
- package/dist/api/types/DeploymentReleaseTagRead.d.ts +2 -2
- package/dist/api/types/DocumentDocumentToDocumentIndex.d.ts +5 -5
- package/dist/api/types/DocumentIndexRead.d.ts +5 -5
- package/dist/api/types/DocumentProcessingState.d.ts +5 -5
- package/dist/api/types/DocumentRead.d.ts +1 -1
- package/dist/api/types/DocumentStatus.d.ts +1 -1
- package/dist/api/types/EnrichedNormalizedCompletion.d.ts +3 -3
- package/dist/api/types/EntityStatus.d.ts +2 -2
- package/dist/api/types/EntityVisibility.d.ts +4 -4
- package/dist/api/types/EnvironmentEnum.d.ts +3 -3
- package/dist/api/types/EphemeralPromptCacheConfigTypeEnum.d.ts +1 -1
- package/dist/api/types/FinishReasonEnum.d.ts +3 -3
- package/dist/api/types/GenerateOptionsRequest.d.ts +2 -2
- package/dist/api/types/IndexingStateEnum.d.ts +5 -5
- package/dist/api/types/IterationStateEnum.d.ts +3 -3
- package/dist/api/types/LogicalOperator.d.ts +24 -24
- package/dist/api/types/LogprobsEnum.d.ts +2 -2
- package/dist/api/types/MetadataFilterRuleCombinator.d.ts +2 -2
- package/dist/api/types/MethodEnum.d.ts +5 -5
- package/dist/api/types/NewMemberJoinBehaviorEnum.d.ts +3 -3
- package/dist/api/types/ProcessingFailureReasonEnum.d.ts +2 -2
- package/dist/api/types/PromptBlockState.d.ts +2 -2
- package/dist/api/types/ReleaseTagSource.d.ts +2 -2
- package/dist/api/types/SecretTypeEnum.d.ts +3 -3
- package/dist/api/types/SlimDeploymentRead.d.ts +5 -5
- package/dist/api/types/SlimDocument.d.ts +3 -3
- package/dist/api/types/SlimDocumentDocumentToDocumentIndex.d.ts +5 -5
- package/dist/api/types/SlimWorkflowDeployment.d.ts +5 -5
- package/dist/api/types/TestSuiteRunRead.d.ts +5 -5
- package/dist/api/types/TestSuiteRunState.d.ts +5 -5
- package/dist/api/types/UnitEnum.d.ts +1 -1
- package/dist/api/types/VellumErrorCodeEnum.d.ts +6 -6
- package/dist/api/types/VellumVariableType.d.ts +11 -11
- package/dist/api/types/WorkflowDeploymentRead.d.ts +5 -5
- package/dist/api/types/WorkflowExecutionEventErrorCode.d.ts +8 -8
- package/dist/api/types/WorkflowExecutionEventType.d.ts +2 -2
- package/dist/api/types/WorkflowNodeResultEventState.d.ts +4 -4
- package/dist/api/types/WorkflowReleaseTagRead.d.ts +2 -2
- package/dist/core/fetcher/Fetcher.js +4 -3
- package/dist/core/fetcher/getRequestBody.js +2 -1
- package/dist/core/fetcher/requestWithRetries.js +1 -1
- package/dist/core/form-data-utils/FormDataWrapper.js +6 -2
- package/dist/core/json.d.ts +15 -0
- package/dist/core/json.js +24 -0
- package/dist/core/schemas/Schema.d.ts +1 -0
- package/dist/core/schemas/Schema.js +1 -0
- package/dist/core/schemas/builders/bigint/bigint.d.ts +1 -1
- package/dist/core/schemas/builders/bigint/bigint.js +21 -17
- package/dist/core/schemas/builders/object/object.js +1 -0
- package/dist/core/schemas/builders/record/record.js +1 -2
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -0
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +38 -0
- package/dist/errors/VellumError.js +2 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/errors/VellumError.js +2 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
export interface TestSuiteRunsListExecutionsRequest {
|
|
9
9
|
/**
|
|
10
10
|
* The response fields to expand for more information.
|
|
11
|
-
*
|
|
12
11
|
* - 'results.metric_results.metric_label' expands the metric label for each metric result.
|
|
13
12
|
* - 'results.metric_results.metric_definition' expands the metric definition for each metric result.
|
|
14
13
|
* - 'results.metric_results.metric_definition.name' expands the metric definition name for each metric result.
|
|
@@ -83,7 +83,7 @@ class TestSuites {
|
|
|
83
83
|
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)
|
|
84
84
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
85
85
|
method: "GET",
|
|
86
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
86
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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),
|
|
87
87
|
contentType: "application/json",
|
|
88
88
|
queryParameters: _queryParams,
|
|
89
89
|
requestType: "json",
|
|
@@ -164,7 +164,7 @@ class TestSuites {
|
|
|
164
164
|
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)
|
|
165
165
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases`),
|
|
166
166
|
method: "POST",
|
|
167
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
167
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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),
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
requestType: "json",
|
|
170
170
|
body: serializers.UpsertTestSuiteTestCaseRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -211,7 +211,7 @@ class TestSuites {
|
|
|
211
211
|
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)
|
|
212
212
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases-bulk`),
|
|
213
213
|
method: "POST",
|
|
214
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
214
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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),
|
|
215
215
|
contentType: "application/x-ndjson",
|
|
216
216
|
requestType: "json",
|
|
217
217
|
body: serializers.testSuites.testSuiteTestCasesBulk.Request.jsonOrThrow(request, {
|
|
@@ -278,7 +278,7 @@ class TestSuites {
|
|
|
278
278
|
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)
|
|
279
279
|
.default, `v1/test-suites/${encodeURIComponent(id)}/test-cases/${encodeURIComponent(testCaseId)}`),
|
|
280
280
|
method: "DELETE",
|
|
281
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
281
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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),
|
|
282
282
|
contentType: "application/json",
|
|
283
283
|
requestType: "json",
|
|
284
284
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : undefined,
|
|
@@ -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.14.
|
|
93
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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.14.
|
|
146
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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.14.
|
|
199
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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.14.
|
|
268
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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.14.
|
|
322
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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.14.
|
|
376
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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, {
|
|
@@ -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.14.
|
|
77
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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" }),
|
|
@@ -55,6 +55,7 @@ const Vellum = __importStar(require("../../../index"));
|
|
|
55
55
|
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
|
+
const json_1 = require("../../../../core/json");
|
|
58
59
|
class Workflows {
|
|
59
60
|
constructor(_options) {
|
|
60
61
|
this._options = _options;
|
|
@@ -88,7 +89,7 @@ class Workflows {
|
|
|
88
89
|
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
90
|
.default, `v1/workflows/${encodeURIComponent(id)}/pull`),
|
|
90
91
|
method: "GET",
|
|
91
|
-
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
92
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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
93
|
contentType: "application/json",
|
|
93
94
|
queryParameters: _queryParams,
|
|
94
95
|
requestType: "json",
|
|
@@ -145,7 +146,7 @@ class Workflows {
|
|
|
145
146
|
_request.append("workflow_sandbox_id", request.workflowSandboxId);
|
|
146
147
|
}
|
|
147
148
|
if (request.deploymentConfig != null) {
|
|
148
|
-
_request.append("deployment_config",
|
|
149
|
+
_request.append("deployment_config", (0, json_1.toJson)(serializers.WorkflowPushDeploymentConfigRequest.jsonOrThrow(request.deploymentConfig, {
|
|
149
150
|
unrecognizedObjectKeys: "strip",
|
|
150
151
|
})));
|
|
151
152
|
}
|
|
@@ -163,7 +164,7 @@ class Workflows {
|
|
|
163
164
|
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)
|
|
164
165
|
.default, "v1/workflows/push"),
|
|
165
166
|
method: "POST",
|
|
166
|
-
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.
|
|
167
|
+
headers: Object.assign(Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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),
|
|
167
168
|
requestType: "file",
|
|
168
169
|
duplex: _maybeEncodedRequest.duplex,
|
|
169
170
|
body: _maybeEncodedRequest.body,
|
|
@@ -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.14.
|
|
77
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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.14.
|
|
130
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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, {
|
|
@@ -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.14.
|
|
76
|
+
headers: Object.assign(Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "vellum-ai", "X-Fern-SDK-Version": "0.14.5", "User-Agent": "vellum-ai/0.14.5", "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,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* * `SYSTEM` - System
|
|
6
|
+
* * `ASSISTANT` - Assistant
|
|
7
|
+
* * `USER` - User
|
|
8
|
+
* * `FUNCTION` - Function
|
|
9
9
|
*/
|
|
10
10
|
export type ChatMessageRole = "SYSTEM" | "ASSISTANT" | "USER" | "FUNCTION";
|
|
11
11
|
export declare const ChatMessageRole: {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* * `PYTHON_3_11_6` - PYTHON_3_11_6
|
|
6
|
+
* * `TYPESCRIPT_5_3_3` - TYPESCRIPT_5_3_3
|
|
7
7
|
*/
|
|
8
8
|
export type CodeExecutionRuntime = "PYTHON_3_11_6" | "TYPESCRIPT_5_3_3";
|
|
9
9
|
export declare const CodeExecutionRuntime: {
|
|
@@ -12,16 +12,16 @@ export interface DeploymentRead {
|
|
|
12
12
|
/**
|
|
13
13
|
* The current status of the deployment
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* * `ACTIVE` - Active
|
|
16
|
+
* * `ARCHIVED` - Archived
|
|
17
17
|
*/
|
|
18
18
|
status?: Vellum.EntityStatus;
|
|
19
19
|
/**
|
|
20
20
|
* The environment this deployment is used in
|
|
21
21
|
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
22
|
+
* * `DEVELOPMENT` - Development
|
|
23
|
+
* * `STAGING` - Staging
|
|
24
|
+
* * `PRODUCTION` - Production
|
|
25
25
|
*/
|
|
26
26
|
environment?: Vellum.EnvironmentEnum;
|
|
27
27
|
lastDeployedOn: Date;
|
|
@@ -8,8 +8,8 @@ export interface DeploymentReleaseTagRead {
|
|
|
8
8
|
/**
|
|
9
9
|
* The source of how the Release Tag was originally created
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* * `SYSTEM` - System
|
|
12
|
+
* * `USER` - User
|
|
13
13
|
*/
|
|
14
14
|
source: Vellum.ReleaseTagSource;
|
|
15
15
|
/** The Deployment History Item that this Release Tag is associated with */
|
|
@@ -13,11 +13,11 @@ export interface DocumentDocumentToDocumentIndex {
|
|
|
13
13
|
/**
|
|
14
14
|
* An enum value representing where this document is along its indexing lifecycle for this index.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
16
|
+
* * `AWAITING_PROCESSING` - Awaiting Processing
|
|
17
|
+
* * `QUEUED` - Queued
|
|
18
|
+
* * `INDEXING` - Indexing
|
|
19
|
+
* * `INDEXED` - Indexed
|
|
20
|
+
* * `FAILED` - Failed
|
|
21
21
|
*/
|
|
22
22
|
indexingState?: Vellum.IndexingStateEnum;
|
|
23
23
|
extractedTextFileUrl?: string;
|
|
@@ -12,16 +12,16 @@ export interface DocumentIndexRead {
|
|
|
12
12
|
/**
|
|
13
13
|
* The current status of the document index
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* * `ACTIVE` - Active
|
|
16
|
+
* * `ARCHIVED` - Archived
|
|
17
17
|
*/
|
|
18
18
|
status?: Vellum.EntityStatus;
|
|
19
19
|
/**
|
|
20
20
|
* The environment this document index is used in
|
|
21
21
|
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
22
|
+
* * `DEVELOPMENT` - Development
|
|
23
|
+
* * `STAGING` - Staging
|
|
24
|
+
* * `PRODUCTION` - Production
|
|
25
25
|
*/
|
|
26
26
|
environment?: Vellum.EnvironmentEnum;
|
|
27
27
|
indexingConfig: Vellum.DocumentIndexIndexingConfig;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
5
|
+
* * `QUEUED` - Queued
|
|
6
|
+
* * `PROCESSING` - Processing
|
|
7
|
+
* * `PROCESSED` - Processed
|
|
8
|
+
* * `FAILED` - Failed
|
|
9
|
+
* * `UNKNOWN` - Unknown
|
|
10
10
|
*/
|
|
11
11
|
export type DocumentProcessingState = "QUEUED" | "PROCESSING" | "PROCESSED" | "FAILED" | "UNKNOWN";
|
|
12
12
|
export declare const DocumentProcessingState: {
|
|
@@ -12,9 +12,9 @@ export interface EnrichedNormalizedCompletion {
|
|
|
12
12
|
/**
|
|
13
13
|
* The reason the generation finished.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* * `LENGTH` - LENGTH
|
|
16
|
+
* * `STOP` - STOP
|
|
17
|
+
* * `UNKNOWN` - UNKNOWN
|
|
18
18
|
*/
|
|
19
19
|
finishReason?: Vellum.FinishReasonEnum;
|
|
20
20
|
/** The logprobs of the completion. Only present if specified in the original request options. */
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* * `ACTIVE` - Active
|
|
6
|
+
* * `ARCHIVED` - Archived
|
|
7
7
|
*/
|
|
8
8
|
export type EntityStatus = "ACTIVE" | "ARCHIVED";
|
|
9
9
|
export declare const EntityStatus: {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* * `DEFAULT` - Default
|
|
6
|
+
* * `PUBLIC` - Public
|
|
7
|
+
* * `PRIVATE` - Private
|
|
8
|
+
* * `DISABLED` - Disabled
|
|
9
9
|
*/
|
|
10
10
|
export type EntityVisibility = "DEFAULT" | "PUBLIC" | "PRIVATE" | "DISABLED";
|
|
11
11
|
export declare const EntityVisibility: {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* * `DEVELOPMENT` - Development
|
|
6
|
+
* * `STAGING` - Staging
|
|
7
|
+
* * `PRODUCTION` - Production
|
|
8
8
|
*/
|
|
9
9
|
export type EnvironmentEnum = "DEVELOPMENT" | "STAGING" | "PRODUCTION";
|
|
10
10
|
export declare const EnvironmentEnum: {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* * `LENGTH` - LENGTH
|
|
6
|
+
* * `STOP` - STOP
|
|
7
|
+
* * `UNKNOWN` - UNKNOWN
|
|
8
8
|
*/
|
|
9
9
|
export type FinishReasonEnum = "LENGTH" | "STOP" | "UNKNOWN";
|
|
10
10
|
export declare const FinishReasonEnum: {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
5
|
+
* * `AWAITING_PROCESSING` - Awaiting Processing
|
|
6
|
+
* * `QUEUED` - Queued
|
|
7
|
+
* * `INDEXING` - Indexing
|
|
8
|
+
* * `INDEXED` - Indexed
|
|
9
|
+
* * `FAILED` - Failed
|
|
10
10
|
*/
|
|
11
11
|
export type IndexingStateEnum = "AWAITING_PROCESSING" | "QUEUED" | "INDEXING" | "INDEXED" | "FAILED";
|
|
12
12
|
export declare const IndexingStateEnum: {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* * `INITIATED` - INITIATED
|
|
6
|
+
* * `FULFILLED` - FULFILLED
|
|
7
|
+
* * `REJECTED` - REJECTED
|
|
8
8
|
*/
|
|
9
9
|
export type IterationStateEnum = "INITIATED" | "FULFILLED" | "REJECTED";
|
|
10
10
|
export declare const IterationStateEnum: {
|
|
@@ -2,30 +2,30 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
5
|
+
* * `=` - EQUALS
|
|
6
|
+
* * `!=` - DOES_NOT_EQUAL
|
|
7
|
+
* * `<` - LESS_THAN
|
|
8
|
+
* * `>` - GREATER_THAN
|
|
9
|
+
* * `<=` - LESS_THAN_OR_EQUAL_TO
|
|
10
|
+
* * `>=` - GREATER_THAN_OR_EQUAL_TO
|
|
11
|
+
* * `contains` - CONTAINS
|
|
12
|
+
* * `beginsWith` - BEGINS_WITH
|
|
13
|
+
* * `endsWith` - ENDS_WITH
|
|
14
|
+
* * `doesNotContain` - DOES_NOT_CONTAIN
|
|
15
|
+
* * `doesNotBeginWith` - DOES_NOT_BEGIN_WITH
|
|
16
|
+
* * `doesNotEndWith` - DOES_NOT_END_WITH
|
|
17
|
+
* * `null` - NULL
|
|
18
|
+
* * `notNull` - NOT_NULL
|
|
19
|
+
* * `in` - IN
|
|
20
|
+
* * `notIn` - NOT_IN
|
|
21
|
+
* * `between` - BETWEEN
|
|
22
|
+
* * `notBetween` - NOT_BETWEEN
|
|
23
|
+
* * `blank` - BLANK
|
|
24
|
+
* * `notBlank` - NOT_BLANK
|
|
25
|
+
* * `coalesce` - COALESCE
|
|
26
|
+
* * `accessField` - ACCESS_FIELD
|
|
27
|
+
* * `and` - AND
|
|
28
|
+
* * `or` - OR
|
|
29
29
|
*/
|
|
30
30
|
export type LogicalOperator =
|
|
31
31
|
/**
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
5
|
+
* * `POST` - POST
|
|
6
|
+
* * `GET` - GET
|
|
7
|
+
* * `PATCH` - PATCH
|
|
8
|
+
* * `PUT` - PUT
|
|
9
|
+
* * `DELETE` - DELETE
|
|
10
10
|
*/
|
|
11
11
|
export type MethodEnum = "POST" | "GET" | "PATCH" | "PUT" | "DELETE";
|
|
12
12
|
export declare const MethodEnum: {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* * `AUTO_ACCEPT_FROM_SHARED_DOMAIN` - Auto-Accept from Shared Domain
|
|
6
|
+
* * `ALLOW_REQUESTS_FROM_SHARED_DOMAIN` - Allows Requests from Shared Domains
|
|
7
|
+
* * `REQUIRE_EXPLICIT_INVITE` - Require Explicit Invite
|
|
8
8
|
*/
|
|
9
9
|
export type NewMemberJoinBehaviorEnum = "AUTO_ACCEPT_FROM_SHARED_DOMAIN" | "ALLOW_REQUESTS_FROM_SHARED_DOMAIN" | "REQUIRE_EXPLICIT_INVITE";
|
|
10
10
|
export declare const NewMemberJoinBehaviorEnum: {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* * `EXCEEDED_CHARACTER_LIMIT` - Exceeded Character Limit
|
|
6
|
+
* * `INVALID_FILE` - Invalid File
|
|
7
7
|
*/
|
|
8
8
|
export type ProcessingFailureReasonEnum = "EXCEEDED_CHARACTER_LIMIT" | "INVALID_FILE";
|
|
9
9
|
export declare const ProcessingFailureReasonEnum: {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* * `ENABLED` - Enabled
|
|
6
|
+
* * `DISABLED` - Disabled
|
|
7
7
|
*/
|
|
8
8
|
export type PromptBlockState = "ENABLED" | "DISABLED";
|
|
9
9
|
export declare const PromptBlockState: {
|