@standards/schema 1.0.0-alpha.395 → 1.0.0-alpha.397
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/dist/api/index.d.mts +110 -14
- package/dist/api/index.d.ts +110 -14
- package/dist/api/index.js +1 -1
- package/dist/api/index.mjs +1 -1
- package/dist/{index-B-eyWqKV.d.ts → index-BaxABgqT.d.ts} +28 -1
- package/dist/{index-DCSFAjru.d.mts → index-DpDZ-UoW.d.mts} +28 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/record-operation-CYn0ql3E.mjs +2 -0
- package/dist/record-operation-DLlWYtBc.js +2 -0
- package/package.json +6 -6
- package/dist/record-operation-BFMdsHM3.js +0 -2
- package/dist/record-operation-DAUsRSxK.mjs +0 -2
package/dist/api/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-CeP0QxYo.mjs";
|
|
3
3
|
import { AgentDefinitionAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-q1d_wU_1.mjs";
|
|
4
4
|
import { Attribute } from "../attributes-ybI2RY0p.mjs";
|
|
5
|
-
import { AIAvailableModel, AIGenerationResult, AIGenerationType, Actor, ActorStatus, ActorType, AgentAsideExchange, AgentConversationOverview, AgentDefinition, AgentDefinitionActivity, AgentDefinitionDailyActivity, AgentMemoryView, AgentMessageAttachment, AgentRun, AgentSession, AgentSessionHistoryPage, AgentSessionLink, AgentSessionMessage, AgentSessionMode, AgentTodoPlanView, AgentToolCatalog, AgentTriggerDefinition, AggregateGroupByInput, ApiKey, ApiKeyWithSecret, ArchitectProjection, ArtifactQuote, ArtifactRevisionView, AuditListOptions, AuditLogEntry, AuthorizedGlobalSearchResult, AuthorizedSearchPage, AvailableBundleSummary, BinaryResponse, BrowserProfileView, BundleAddPlan, BundleAddResult, ClassifyEmailResult, CloudBrowserLiveView, CollectionResponse, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, DictationAdmission, DictationCapabilities, DictationUsageSummary, Document, DocumentFile, DocumentRecordOwnerPage, DownloadedFile, DraftAppendCommand, DraftCommandGuard, DraftPublishCommand, EffectivePermissions, EmailCategory, EmailCategoryUsage, EmailSenderRule, EmailVerdict, EnvVarEntry, Environment, EnvironmentDetail, EnvironmentHarnessId, EnvironmentList, File, FileUrlsResponse, FilterGenerationInput, FormDefinition, FormRow, FormStatus, FormSubmission, FormulaGenerationInput, GeocodingAutocompleteParams, GeocodingSuggestion, GithubTriggerSender, GlobalSearchResultItem, HarnessModelList, HttpMethod, ImageModelCatalog, InstalledBundleSummary, LastPublication, LastPublishError, LoginSecretEntry, LogoSearchCandidate, MailDraft, MailDraftAttachment, MailboxAccount, MailboxCursor, MailboxEmail, MailboxListResponse, MailboxQuery, MailboxReadState, MailboxThreadDetail, McpCatalogEntry, McpOAuthAttemptStarted, McpOAuthAttemptView, McpOAuthCompletionMode, McpServerView, Member, MentionReference, ModelDefinition, MutationReceipt, MyPreferences, NativeToolGroup, NewsBody, NewsIndex, NotificationArchiveAllResult, NotificationCounts, NotificationListParams, NotificationListResult, NotificationWithRecipient, ObjectPermissions, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PageData, PageRead, PageSummary, PathParams, Permission, PreferenceEntry, ProposalRevision, PublishBlocker, QuotaState, RecipientSuggestion, RecordAggregates, RecordDocuments, RecordDriveChild, RecordDriveChildrenPage, RecordDriveSearchResult, RecordGraphNodeRef, RecordGraphRequest, RecordGraphResponse, RecordOperationResult, RegexGenerationInput, RelationScope, ResolvedRecentActivity, Role, SchemaGroupList, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, StartConnectorAuthResult, SubmitOutcome, SyncBundleInput, SyncBundleResult, SystemPermissions, TenantInvitation, TenantSettingsResponse, TriggerEventType, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-
|
|
5
|
+
import { AIAvailableModel, AIGenerationResult, AIGenerationType, AccessCapabilities, AccessLevel, Actor, ActorStatus, ActorType, AgentAsideExchange, AgentConversationOverview, AgentDefinition, AgentDefinitionActivity, AgentDefinitionDailyActivity, AgentMemoryView, AgentMessageAttachment, AgentRun, AgentSession, AgentSessionHistoryPage, AgentSessionLink, AgentSessionMessage, AgentSessionMode, AgentTodoPlanView, AgentToolCatalog, AgentTriggerDefinition, AggregateGroupByInput, ApiKey, ApiKeyWithSecret, ArchitectProjection, ArtifactQuote, ArtifactRevisionView, AuditListOptions, AuditLogEntry, AuthorizedGlobalSearchResult, AuthorizedSearchPage, AvailableBundleSummary, BinaryResponse, BrowserProfileView, BundleAddPlan, BundleAddResult, ClassifyEmailResult, CloudBrowserLiveView, CollectionResponse, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, DictationAdmission, DictationCapabilities, DictationUsageSummary, Document, DocumentFile, DocumentRecordOwnerPage, DownloadedFile, DraftAppendCommand, DraftCommandGuard, DraftPublishCommand, EffectivePermissions, EmailCategory, EmailCategoryUsage, EmailSenderRule, EmailVerdict, EnvVarEntry, Environment, EnvironmentDetail, EnvironmentHarnessId, EnvironmentList, File, FileUrlsResponse, FilterGenerationInput, FormDefinition, FormRow, FormStatus, FormSubmission, FormulaGenerationInput, GeocodingAutocompleteParams, GeocodingSuggestion, GithubTriggerSender, GlobalSearchResultItem, HarnessModelList, HttpMethod, ImageModelCatalog, InstalledBundleSummary, LastPublication, LastPublishError, LoginSecretEntry, LogoSearchCandidate, MEETINGS_MAX_ONLY_CONNECTIONS, MailDraft, MailDraftAttachment, MailboxAccount, MailboxCursor, MailboxEmail, MailboxListResponse, MailboxQuery, MailboxReadState, MailboxThreadDetail, McpCatalogEntry, McpOAuthAttemptStarted, McpOAuthAttemptView, McpOAuthCompletionMode, McpServerView, Member, MentionReference, ModelDefinition, MutationReceipt, MyPreferences, NativeToolGroup, NewsBody, NewsIndex, NotificationArchiveAllResult, NotificationCounts, NotificationListParams, NotificationListResult, NotificationWithRecipient, ObjectPermissions, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PageData, PageRead, PageSummary, PathParams, Permission, PreferenceEntry, ProposalRevision, PublishBlocker, QuotaState, RecipientSuggestion, RecordAggregates, RecordDocuments, RecordDriveChild, RecordDriveChildrenPage, RecordDriveSearchResult, RecordGraphNodeRef, RecordGraphRequest, RecordGraphResponse, RecordOperationResult, RegexGenerationInput, RelationScope, ResolvedRecentActivity, Role, SchemaGroupList, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, StartConnectorAuthResult, SubmitOutcome, SyncBundleInput, SyncBundleResult, SystemPermissions, TenantInvitation, TenantSettingsResponse, TriggerEventType, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-DpDZ-UoW.mjs";
|
|
6
6
|
import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-BMhGZOJ4.mjs";
|
|
7
7
|
import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-bLYmzLtL.mjs";
|
|
8
8
|
import * as z$2 from "zod";
|
|
@@ -4528,8 +4528,8 @@ export declare const filesOperations: {
|
|
|
4528
4528
|
* query strings to the service unparsed.
|
|
4529
4529
|
*/
|
|
4530
4530
|
export declare const listDocumentsQuery: z$2.ZodObject<{
|
|
4531
|
-
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4532
|
-
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4531
|
+
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4532
|
+
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4533
4533
|
}, z$2.core.$strip>;
|
|
4534
4534
|
/**
|
|
4535
4535
|
* `POST /documents` — the document's own fields plus the record edge it is
|
|
@@ -4559,8 +4559,8 @@ export type CreateDocumentBody = z$2.infer<typeof createDocumentBody>;
|
|
|
4559
4559
|
* the same bounds for every other caller. Unknown keys are dropped, not refused.
|
|
4560
4560
|
*/
|
|
4561
4561
|
export declare const documentOwnersQuery: z$2.ZodObject<{
|
|
4562
|
-
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4563
|
-
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4562
|
+
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4563
|
+
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4564
4564
|
q: z$2.ZodOptional<z$2.ZodString>;
|
|
4565
4565
|
includeDrives: z$2.ZodOptional<z$2.ZodString>;
|
|
4566
4566
|
ids: z$2.ZodOptional<z$2.ZodString>;
|
|
@@ -4597,8 +4597,8 @@ export declare const documentsOperations: {
|
|
|
4597
4597
|
readonly method: "GET";
|
|
4598
4598
|
readonly path: "/documents";
|
|
4599
4599
|
readonly input: z$2.ZodObject<{
|
|
4600
|
-
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4601
|
-
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4600
|
+
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4601
|
+
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4602
4602
|
}, z$2.core.$strip>;
|
|
4603
4603
|
readonly output: OutputType<Document[]>;
|
|
4604
4604
|
readonly permission: readonly ["documents", "read"];
|
|
@@ -4612,8 +4612,8 @@ export declare const documentsOperations: {
|
|
|
4612
4612
|
readonly method: "GET";
|
|
4613
4613
|
readonly path: "/documents/record-owners";
|
|
4614
4614
|
readonly input: z$2.ZodObject<{
|
|
4615
|
-
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4616
|
-
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4615
|
+
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4616
|
+
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4617
4617
|
q: z$2.ZodOptional<z$2.ZodString>;
|
|
4618
4618
|
includeDrives: z$2.ZodOptional<z$2.ZodString>;
|
|
4619
4619
|
ids: z$2.ZodOptional<z$2.ZodString>;
|
|
@@ -4800,7 +4800,7 @@ export declare const recordDriveChildrenPageQuery: z$2.ZodObject<{
|
|
|
4800
4800
|
"date-asc": "date-asc";
|
|
4801
4801
|
}>>;
|
|
4802
4802
|
cursor: z$2.ZodOptional<z$2.ZodString>;
|
|
4803
|
-
limit: z$2.ZodPreprocess<z$2.ZodNumber>;
|
|
4803
|
+
limit: z$2.ZodPreprocess<z$2.ZodNumber, unknown>;
|
|
4804
4804
|
}, z$2.core.$strip>;
|
|
4805
4805
|
export type RecordDriveChildrenPageQuery = z$2.infer<typeof recordDriveChildrenPageQuery>;
|
|
4806
4806
|
/**
|
|
@@ -4892,7 +4892,7 @@ export declare const foldersOperations: {
|
|
|
4892
4892
|
"date-asc": "date-asc";
|
|
4893
4893
|
}>>;
|
|
4894
4894
|
cursor: z$2.ZodOptional<z$2.ZodString>;
|
|
4895
|
-
limit: z$2.ZodPreprocess<z$2.ZodNumber>;
|
|
4895
|
+
limit: z$2.ZodPreprocess<z$2.ZodNumber, unknown>;
|
|
4896
4896
|
}, z$2.core.$strip>;
|
|
4897
4897
|
readonly output: OutputType<RecordDriveChildrenPage>;
|
|
4898
4898
|
}>;
|
|
@@ -9946,7 +9946,7 @@ export declare const setSessionWorkPostureBody: z$2.ZodObject<{
|
|
|
9946
9946
|
export declare const renameSessionInput: z$2.ZodPreprocess<z$2.ZodObject<{
|
|
9947
9947
|
name: z$2.ZodString;
|
|
9948
9948
|
id: z$2.ZodString;
|
|
9949
|
-
}, z$2.core.$strict
|
|
9949
|
+
}, z$2.core.$strict>, unknown>;
|
|
9950
9950
|
/** The inference patch of one session: at least one override, `null` clears. */
|
|
9951
9951
|
export declare const sessionInferenceOverridesInput: z$2.ZodObject<{
|
|
9952
9952
|
model: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
|
|
@@ -10290,7 +10290,7 @@ export declare const agentSessionsOperations: {
|
|
|
10290
10290
|
readonly input: z$2.ZodPreprocess<z$2.ZodObject<{
|
|
10291
10291
|
name: z$2.ZodString;
|
|
10292
10292
|
id: z$2.ZodString;
|
|
10293
|
-
}, z$2.core.$strict
|
|
10293
|
+
}, z$2.core.$strict>, unknown>;
|
|
10294
10294
|
readonly output: OutputType<AgentSession>;
|
|
10295
10295
|
readonly permission: readonly ["agents", "read"];
|
|
10296
10296
|
readonly actor: "required";
|
|
@@ -12004,6 +12004,102 @@ export declare const devicesOperations: {
|
|
|
12004
12004
|
}>;
|
|
12005
12005
|
};
|
|
12006
12006
|
//#endregion
|
|
12007
|
+
//#region src/api/connected-apps.operations.d.ts
|
|
12008
|
+
/** A browser carried by an extension connection; it disconnects with its connection, through `connectedApps.revoke`. */
|
|
12009
|
+
export interface ConnectedAppBrowser {
|
|
12010
|
+
deviceId: string;
|
|
12011
|
+
name: string;
|
|
12012
|
+
lastSeenAt: string | null;
|
|
12013
|
+
}
|
|
12014
|
+
/** One OAuth connection of the caller, on one of their workspaces. */
|
|
12015
|
+
export interface ConnectedAppView {
|
|
12016
|
+
grantId: string;
|
|
12017
|
+
clientId: string;
|
|
12018
|
+
clientName: string;
|
|
12019
|
+
/** The host of an HTTPS `clientId` (a client metadata document); null otherwise. */
|
|
12020
|
+
verifiedHost: string | null;
|
|
12021
|
+
/** `extension` for the browser extension (the devices resource), `mcp` for every other client. */
|
|
12022
|
+
kind: "mcp" | "extension";
|
|
12023
|
+
tenantId: string;
|
|
12024
|
+
workspaceName: string;
|
|
12025
|
+
/**
|
|
12026
|
+
* Null for the extension, which has no level, and for a connection whose
|
|
12027
|
+
* scopes match no level (an earlier consent): it reads as custom until the
|
|
12028
|
+
* person picks one.
|
|
12029
|
+
*/
|
|
12030
|
+
level: AccessLevel | null;
|
|
12031
|
+
/** The levels the caller's role and the client's request allow; empty for the extension. */
|
|
12032
|
+
selectableLevels: AccessLevel[];
|
|
12033
|
+
/** Each level not selectable, with why: the role lacks it, or the client never requested it. Empty for the extension. */
|
|
12034
|
+
unavailableLevels: {
|
|
12035
|
+
level: AccessLevel;
|
|
12036
|
+
reason: "role" | "notRequested";
|
|
12037
|
+
}[];
|
|
12038
|
+
/** What the connection can do: what its scopes grant, as far as the caller's role allows. */
|
|
12039
|
+
granted: (keyof AccessCapabilities)[];
|
|
12040
|
+
/** Capabilities the connection's scopes grant that the caller's role lacks. */
|
|
12041
|
+
withheld: (keyof AccessCapabilities)[];
|
|
12042
|
+
createdAt: string;
|
|
12043
|
+
lastUsedAt: string | null;
|
|
12044
|
+
browsers: ConnectedAppBrowser[];
|
|
12045
|
+
}
|
|
12046
|
+
/** An oidc-provider grant id: an opaque string, not a UUID. */
|
|
12047
|
+
export declare const connectedAppGrantId: z$2.ZodString;
|
|
12048
|
+
export declare const setConnectionLevelBody: z$2.ZodObject<{
|
|
12049
|
+
level: z$2.ZodEnum<{
|
|
12050
|
+
read: "read";
|
|
12051
|
+
full: "full";
|
|
12052
|
+
write: "write";
|
|
12053
|
+
}>;
|
|
12054
|
+
}, z$2.core.$strict>;
|
|
12055
|
+
export type SetConnectionLevelBody = z$2.infer<typeof setConnectionLevelBody>;
|
|
12056
|
+
/**
|
|
12057
|
+
* The caller's OAuth connections across every workspace they belong to.
|
|
12058
|
+
* Served by the host's `ConnectedAppsController` (a person's session only:
|
|
12059
|
+
* the controller refuses API keys, and the host's session validator refuses
|
|
12060
|
+
* OAuth tokens), so these operations have no runtime handler.
|
|
12061
|
+
*/
|
|
12062
|
+
export declare const connectedAppsOperations: {
|
|
12063
|
+
list: Operation<{
|
|
12064
|
+
readonly name: "connectedApps.list";
|
|
12065
|
+
readonly method: "GET";
|
|
12066
|
+
readonly path: "/connected-apps";
|
|
12067
|
+
readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
|
|
12068
|
+
readonly output: OutputType<{
|
|
12069
|
+
data: ConnectedAppView[];
|
|
12070
|
+
}>;
|
|
12071
|
+
}>;
|
|
12072
|
+
/** Changes the level in place: the next request of the connection carries it. */
|
|
12073
|
+
setLevel: Operation<{
|
|
12074
|
+
readonly name: "connectedApps.setLevel";
|
|
12075
|
+
readonly method: "PATCH";
|
|
12076
|
+
readonly path: "/connected-apps/:grantId";
|
|
12077
|
+
readonly input: z$2.ZodObject<{
|
|
12078
|
+
level: z$2.ZodEnum<{
|
|
12079
|
+
read: "read";
|
|
12080
|
+
full: "full";
|
|
12081
|
+
write: "write";
|
|
12082
|
+
}>;
|
|
12083
|
+
grantId: z$2.ZodString;
|
|
12084
|
+
}, z$2.core.$strict>;
|
|
12085
|
+
readonly output: OutputType<{
|
|
12086
|
+
success: true;
|
|
12087
|
+
}>;
|
|
12088
|
+
}>;
|
|
12089
|
+
/** Revokes the connection, with the browsers it carries. */
|
|
12090
|
+
revoke: Operation<{
|
|
12091
|
+
readonly name: "connectedApps.revoke";
|
|
12092
|
+
readonly method: "DELETE";
|
|
12093
|
+
readonly path: "/connected-apps/:grantId";
|
|
12094
|
+
readonly input: z$2.ZodObject<{
|
|
12095
|
+
grantId: z$2.ZodString;
|
|
12096
|
+
}, z$2.core.$strip>;
|
|
12097
|
+
readonly output: OutputType<{
|
|
12098
|
+
success: true;
|
|
12099
|
+
}>;
|
|
12100
|
+
}>;
|
|
12101
|
+
};
|
|
12102
|
+
//#endregion
|
|
12007
12103
|
//#region src/api/dictation.operations.d.ts
|
|
12008
12104
|
/**
|
|
12009
12105
|
* Where an admitted dictation session streams its audio: a WebSocket the host
|
|
@@ -12041,4 +12137,4 @@ export declare const dictationOperations: {
|
|
|
12041
12137
|
}>;
|
|
12042
12138
|
};
|
|
12043
12139
|
//#endregion
|
|
12044
|
-
export { BinaryResponse, DownloadedFile, HttpMethod, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PathParams, UploadedPart, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type };
|
|
12140
|
+
export { BinaryResponse, DownloadedFile, HttpMethod, MEETINGS_MAX_ONLY_CONNECTIONS, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PathParams, UploadedPart, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type };
|
package/dist/api/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { SchemaErrorCode, ValidationError, ValidationErrorDetail } from "../exceptions-CeP0QxYo.js";
|
|
3
3
|
import { AgentDefinitionAudience, ObjectDefinition, ObjectRecord, PageAudience, RecordAudience } from "../objects-DgAAilNd.js";
|
|
4
4
|
import { Attribute } from "../attributes-DHbSq5-c.js";
|
|
5
|
-
import { AIAvailableModel, AIGenerationResult, AIGenerationType, Actor, ActorStatus, ActorType, AgentAsideExchange, AgentConversationOverview, AgentDefinition, AgentDefinitionActivity, AgentDefinitionDailyActivity, AgentMemoryView, AgentMessageAttachment, AgentRun, AgentSession, AgentSessionHistoryPage, AgentSessionLink, AgentSessionMessage, AgentSessionMode, AgentTodoPlanView, AgentToolCatalog, AgentTriggerDefinition, AggregateGroupByInput, ApiKey, ApiKeyWithSecret, ArchitectProjection, ArtifactQuote, ArtifactRevisionView, AuditListOptions, AuditLogEntry, AuthorizedGlobalSearchResult, AuthorizedSearchPage, AvailableBundleSummary, BinaryResponse, BrowserProfileView, BundleAddPlan, BundleAddResult, ClassifyEmailResult, CloudBrowserLiveView, CollectionResponse, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, DictationAdmission, DictationCapabilities, DictationUsageSummary, Document, DocumentFile, DocumentRecordOwnerPage, DownloadedFile, DraftAppendCommand, DraftCommandGuard, DraftPublishCommand, EffectivePermissions, EmailCategory, EmailCategoryUsage, EmailSenderRule, EmailVerdict, EnvVarEntry, Environment, EnvironmentDetail, EnvironmentHarnessId, EnvironmentList, File, FileUrlsResponse, FilterGenerationInput, FormDefinition, FormRow, FormStatus, FormSubmission, FormulaGenerationInput, GeocodingAutocompleteParams, GeocodingSuggestion, GithubTriggerSender, GlobalSearchResultItem, HarnessModelList, HttpMethod, ImageModelCatalog, InstalledBundleSummary, LastPublication, LastPublishError, LoginSecretEntry, LogoSearchCandidate, MailDraft, MailDraftAttachment, MailboxAccount, MailboxCursor, MailboxEmail, MailboxListResponse, MailboxQuery, MailboxReadState, MailboxThreadDetail, McpCatalogEntry, McpOAuthAttemptStarted, McpOAuthAttemptView, McpOAuthCompletionMode, McpServerView, Member, MentionReference, ModelDefinition, MutationReceipt, MyPreferences, NativeToolGroup, NewsBody, NewsIndex, NotificationArchiveAllResult, NotificationCounts, NotificationListParams, NotificationListResult, NotificationWithRecipient, ObjectPermissions, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PageData, PageRead, PageSummary, PathParams, Permission, PreferenceEntry, ProposalRevision, PublishBlocker, QuotaState, RecipientSuggestion, RecordAggregates, RecordDocuments, RecordDriveChild, RecordDriveChildrenPage, RecordDriveSearchResult, RecordGraphNodeRef, RecordGraphRequest, RecordGraphResponse, RecordOperationResult, RegexGenerationInput, RelationScope, ResolvedRecentActivity, Role, SchemaGroupList, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, StartConnectorAuthResult, SubmitOutcome, SyncBundleInput, SyncBundleResult, SystemPermissions, TenantInvitation, TenantSettingsResponse, TriggerEventType, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-
|
|
5
|
+
import { AIAvailableModel, AIGenerationResult, AIGenerationType, AccessCapabilities, AccessLevel, Actor, ActorStatus, ActorType, AgentAsideExchange, AgentConversationOverview, AgentDefinition, AgentDefinitionActivity, AgentDefinitionDailyActivity, AgentMemoryView, AgentMessageAttachment, AgentRun, AgentSession, AgentSessionHistoryPage, AgentSessionLink, AgentSessionMessage, AgentSessionMode, AgentTodoPlanView, AgentToolCatalog, AgentTriggerDefinition, AggregateGroupByInput, ApiKey, ApiKeyWithSecret, ArchitectProjection, ArtifactQuote, ArtifactRevisionView, AuditListOptions, AuditLogEntry, AuthorizedGlobalSearchResult, AuthorizedSearchPage, AvailableBundleSummary, BinaryResponse, BrowserProfileView, BundleAddPlan, BundleAddResult, ClassifyEmailResult, CloudBrowserLiveView, CollectionResponse, ConnectionView, ConnectorProvidersResult, ConnectorTriggerMatch, CreateAgentTriggerResult, CreatePermissionInput, CreateUserProfile, DictationAdmission, DictationCapabilities, DictationUsageSummary, Document, DocumentFile, DocumentRecordOwnerPage, DownloadedFile, DraftAppendCommand, DraftCommandGuard, DraftPublishCommand, EffectivePermissions, EmailCategory, EmailCategoryUsage, EmailSenderRule, EmailVerdict, EnvVarEntry, Environment, EnvironmentDetail, EnvironmentHarnessId, EnvironmentList, File, FileUrlsResponse, FilterGenerationInput, FormDefinition, FormRow, FormStatus, FormSubmission, FormulaGenerationInput, GeocodingAutocompleteParams, GeocodingSuggestion, GithubTriggerSender, GlobalSearchResultItem, HarnessModelList, HttpMethod, ImageModelCatalog, InstalledBundleSummary, LastPublication, LastPublishError, LoginSecretEntry, LogoSearchCandidate, MEETINGS_MAX_ONLY_CONNECTIONS, MailDraft, MailDraftAttachment, MailboxAccount, MailboxCursor, MailboxEmail, MailboxListResponse, MailboxQuery, MailboxReadState, MailboxThreadDetail, McpCatalogEntry, McpOAuthAttemptStarted, McpOAuthAttemptView, McpOAuthCompletionMode, McpServerView, Member, MentionReference, ModelDefinition, MutationReceipt, MyPreferences, NativeToolGroup, NewsBody, NewsIndex, NotificationArchiveAllResult, NotificationCounts, NotificationListParams, NotificationListResult, NotificationWithRecipient, ObjectPermissions, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PageData, PageRead, PageSummary, PathParams, Permission, PreferenceEntry, ProposalRevision, PublishBlocker, QuotaState, RecipientSuggestion, RecordAggregates, RecordDocuments, RecordDriveChild, RecordDriveChildrenPage, RecordDriveSearchResult, RecordGraphNodeRef, RecordGraphRequest, RecordGraphResponse, RecordOperationResult, RegexGenerationInput, RelationScope, ResolvedRecentActivity, Role, SchemaGroupList, SchemaState, SecretEntry, SessionApprovalMode, SessionImageUsage, SlackTriggerSender, StartConnectorAuthResult, SubmitOutcome, SyncBundleInput, SyncBundleResult, SystemPermissions, TenantInvitation, TenantSettingsResponse, TriggerEventType, UploadedPart, UsageReport, UserProfile, UserStatus, ViewOperation, WalletState, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type } from "../index-BaxABgqT.js";
|
|
6
6
|
import { CollectionContentSource, FilterState, RecordQueryDefinition, SortRule, ViewRead } from "../all-Cuw60VCF.js";
|
|
7
7
|
import { AddAttributeInput, CreateCustomObjectInput, RelationOption, RelationOptionsResponse, UpdateObjectInput } from "../index-CanuuQuP.js";
|
|
8
8
|
import * as z$2 from "zod";
|
|
@@ -4528,8 +4528,8 @@ export declare const filesOperations: {
|
|
|
4528
4528
|
* query strings to the service unparsed.
|
|
4529
4529
|
*/
|
|
4530
4530
|
export declare const listDocumentsQuery: z$2.ZodObject<{
|
|
4531
|
-
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4532
|
-
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4531
|
+
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4532
|
+
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4533
4533
|
}, z$2.core.$strip>;
|
|
4534
4534
|
/**
|
|
4535
4535
|
* `POST /documents` — the document's own fields plus the record edge it is
|
|
@@ -4559,8 +4559,8 @@ export type CreateDocumentBody = z$2.infer<typeof createDocumentBody>;
|
|
|
4559
4559
|
* the same bounds for every other caller. Unknown keys are dropped, not refused.
|
|
4560
4560
|
*/
|
|
4561
4561
|
export declare const documentOwnersQuery: z$2.ZodObject<{
|
|
4562
|
-
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4563
|
-
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4562
|
+
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4563
|
+
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4564
4564
|
q: z$2.ZodOptional<z$2.ZodString>;
|
|
4565
4565
|
includeDrives: z$2.ZodOptional<z$2.ZodString>;
|
|
4566
4566
|
ids: z$2.ZodOptional<z$2.ZodString>;
|
|
@@ -4597,8 +4597,8 @@ export declare const documentsOperations: {
|
|
|
4597
4597
|
readonly method: "GET";
|
|
4598
4598
|
readonly path: "/documents";
|
|
4599
4599
|
readonly input: z$2.ZodObject<{
|
|
4600
|
-
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4601
|
-
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4600
|
+
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4601
|
+
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4602
4602
|
}, z$2.core.$strip>;
|
|
4603
4603
|
readonly output: OutputType<Document[]>;
|
|
4604
4604
|
readonly permission: readonly ["documents", "read"];
|
|
@@ -4612,8 +4612,8 @@ export declare const documentsOperations: {
|
|
|
4612
4612
|
readonly method: "GET";
|
|
4613
4613
|
readonly path: "/documents/record-owners";
|
|
4614
4614
|
readonly input: z$2.ZodObject<{
|
|
4615
|
-
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4616
|
-
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber
|
|
4615
|
+
limit: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4616
|
+
offset: z$2.ZodOptional<z$2.ZodPreprocess<z$2.ZodOptional<z$2.ZodNumber>, unknown>>;
|
|
4617
4617
|
q: z$2.ZodOptional<z$2.ZodString>;
|
|
4618
4618
|
includeDrives: z$2.ZodOptional<z$2.ZodString>;
|
|
4619
4619
|
ids: z$2.ZodOptional<z$2.ZodString>;
|
|
@@ -4800,7 +4800,7 @@ export declare const recordDriveChildrenPageQuery: z$2.ZodObject<{
|
|
|
4800
4800
|
"date-asc": "date-asc";
|
|
4801
4801
|
}>>;
|
|
4802
4802
|
cursor: z$2.ZodOptional<z$2.ZodString>;
|
|
4803
|
-
limit: z$2.ZodPreprocess<z$2.ZodNumber>;
|
|
4803
|
+
limit: z$2.ZodPreprocess<z$2.ZodNumber, unknown>;
|
|
4804
4804
|
}, z$2.core.$strip>;
|
|
4805
4805
|
export type RecordDriveChildrenPageQuery = z$2.infer<typeof recordDriveChildrenPageQuery>;
|
|
4806
4806
|
/**
|
|
@@ -4892,7 +4892,7 @@ export declare const foldersOperations: {
|
|
|
4892
4892
|
"date-asc": "date-asc";
|
|
4893
4893
|
}>>;
|
|
4894
4894
|
cursor: z$2.ZodOptional<z$2.ZodString>;
|
|
4895
|
-
limit: z$2.ZodPreprocess<z$2.ZodNumber>;
|
|
4895
|
+
limit: z$2.ZodPreprocess<z$2.ZodNumber, unknown>;
|
|
4896
4896
|
}, z$2.core.$strip>;
|
|
4897
4897
|
readonly output: OutputType<RecordDriveChildrenPage>;
|
|
4898
4898
|
}>;
|
|
@@ -9946,7 +9946,7 @@ export declare const setSessionWorkPostureBody: z$2.ZodObject<{
|
|
|
9946
9946
|
export declare const renameSessionInput: z$2.ZodPreprocess<z$2.ZodObject<{
|
|
9947
9947
|
name: z$2.ZodString;
|
|
9948
9948
|
id: z$2.ZodString;
|
|
9949
|
-
}, z$2.core.$strict
|
|
9949
|
+
}, z$2.core.$strict>, unknown>;
|
|
9950
9950
|
/** The inference patch of one session: at least one override, `null` clears. */
|
|
9951
9951
|
export declare const sessionInferenceOverridesInput: z$2.ZodObject<{
|
|
9952
9952
|
model: z$2.ZodOptional<z$2.ZodNullable<z$2.ZodObject<{
|
|
@@ -10290,7 +10290,7 @@ export declare const agentSessionsOperations: {
|
|
|
10290
10290
|
readonly input: z$2.ZodPreprocess<z$2.ZodObject<{
|
|
10291
10291
|
name: z$2.ZodString;
|
|
10292
10292
|
id: z$2.ZodString;
|
|
10293
|
-
}, z$2.core.$strict
|
|
10293
|
+
}, z$2.core.$strict>, unknown>;
|
|
10294
10294
|
readonly output: OutputType<AgentSession>;
|
|
10295
10295
|
readonly permission: readonly ["agents", "read"];
|
|
10296
10296
|
readonly actor: "required";
|
|
@@ -12004,6 +12004,102 @@ export declare const devicesOperations: {
|
|
|
12004
12004
|
}>;
|
|
12005
12005
|
};
|
|
12006
12006
|
//#endregion
|
|
12007
|
+
//#region src/api/connected-apps.operations.d.ts
|
|
12008
|
+
/** A browser carried by an extension connection; it disconnects with its connection, through `connectedApps.revoke`. */
|
|
12009
|
+
export interface ConnectedAppBrowser {
|
|
12010
|
+
deviceId: string;
|
|
12011
|
+
name: string;
|
|
12012
|
+
lastSeenAt: string | null;
|
|
12013
|
+
}
|
|
12014
|
+
/** One OAuth connection of the caller, on one of their workspaces. */
|
|
12015
|
+
export interface ConnectedAppView {
|
|
12016
|
+
grantId: string;
|
|
12017
|
+
clientId: string;
|
|
12018
|
+
clientName: string;
|
|
12019
|
+
/** The host of an HTTPS `clientId` (a client metadata document); null otherwise. */
|
|
12020
|
+
verifiedHost: string | null;
|
|
12021
|
+
/** `extension` for the browser extension (the devices resource), `mcp` for every other client. */
|
|
12022
|
+
kind: "mcp" | "extension";
|
|
12023
|
+
tenantId: string;
|
|
12024
|
+
workspaceName: string;
|
|
12025
|
+
/**
|
|
12026
|
+
* Null for the extension, which has no level, and for a connection whose
|
|
12027
|
+
* scopes match no level (an earlier consent): it reads as custom until the
|
|
12028
|
+
* person picks one.
|
|
12029
|
+
*/
|
|
12030
|
+
level: AccessLevel | null;
|
|
12031
|
+
/** The levels the caller's role and the client's request allow; empty for the extension. */
|
|
12032
|
+
selectableLevels: AccessLevel[];
|
|
12033
|
+
/** Each level not selectable, with why: the role lacks it, or the client never requested it. Empty for the extension. */
|
|
12034
|
+
unavailableLevels: {
|
|
12035
|
+
level: AccessLevel;
|
|
12036
|
+
reason: "role" | "notRequested";
|
|
12037
|
+
}[];
|
|
12038
|
+
/** What the connection can do: what its scopes grant, as far as the caller's role allows. */
|
|
12039
|
+
granted: (keyof AccessCapabilities)[];
|
|
12040
|
+
/** Capabilities the connection's scopes grant that the caller's role lacks. */
|
|
12041
|
+
withheld: (keyof AccessCapabilities)[];
|
|
12042
|
+
createdAt: string;
|
|
12043
|
+
lastUsedAt: string | null;
|
|
12044
|
+
browsers: ConnectedAppBrowser[];
|
|
12045
|
+
}
|
|
12046
|
+
/** An oidc-provider grant id: an opaque string, not a UUID. */
|
|
12047
|
+
export declare const connectedAppGrantId: z$2.ZodString;
|
|
12048
|
+
export declare const setConnectionLevelBody: z$2.ZodObject<{
|
|
12049
|
+
level: z$2.ZodEnum<{
|
|
12050
|
+
read: "read";
|
|
12051
|
+
full: "full";
|
|
12052
|
+
write: "write";
|
|
12053
|
+
}>;
|
|
12054
|
+
}, z$2.core.$strict>;
|
|
12055
|
+
export type SetConnectionLevelBody = z$2.infer<typeof setConnectionLevelBody>;
|
|
12056
|
+
/**
|
|
12057
|
+
* The caller's OAuth connections across every workspace they belong to.
|
|
12058
|
+
* Served by the host's `ConnectedAppsController` (a person's session only:
|
|
12059
|
+
* the controller refuses API keys, and the host's session validator refuses
|
|
12060
|
+
* OAuth tokens), so these operations have no runtime handler.
|
|
12061
|
+
*/
|
|
12062
|
+
export declare const connectedAppsOperations: {
|
|
12063
|
+
list: Operation<{
|
|
12064
|
+
readonly name: "connectedApps.list";
|
|
12065
|
+
readonly method: "GET";
|
|
12066
|
+
readonly path: "/connected-apps";
|
|
12067
|
+
readonly input: z$2.ZodObject<{}, z$2.core.$strip>;
|
|
12068
|
+
readonly output: OutputType<{
|
|
12069
|
+
data: ConnectedAppView[];
|
|
12070
|
+
}>;
|
|
12071
|
+
}>;
|
|
12072
|
+
/** Changes the level in place: the next request of the connection carries it. */
|
|
12073
|
+
setLevel: Operation<{
|
|
12074
|
+
readonly name: "connectedApps.setLevel";
|
|
12075
|
+
readonly method: "PATCH";
|
|
12076
|
+
readonly path: "/connected-apps/:grantId";
|
|
12077
|
+
readonly input: z$2.ZodObject<{
|
|
12078
|
+
level: z$2.ZodEnum<{
|
|
12079
|
+
read: "read";
|
|
12080
|
+
full: "full";
|
|
12081
|
+
write: "write";
|
|
12082
|
+
}>;
|
|
12083
|
+
grantId: z$2.ZodString;
|
|
12084
|
+
}, z$2.core.$strict>;
|
|
12085
|
+
readonly output: OutputType<{
|
|
12086
|
+
success: true;
|
|
12087
|
+
}>;
|
|
12088
|
+
}>;
|
|
12089
|
+
/** Revokes the connection, with the browsers it carries. */
|
|
12090
|
+
revoke: Operation<{
|
|
12091
|
+
readonly name: "connectedApps.revoke";
|
|
12092
|
+
readonly method: "DELETE";
|
|
12093
|
+
readonly path: "/connected-apps/:grantId";
|
|
12094
|
+
readonly input: z$2.ZodObject<{
|
|
12095
|
+
grantId: z$2.ZodString;
|
|
12096
|
+
}, z$2.core.$strip>;
|
|
12097
|
+
readonly output: OutputType<{
|
|
12098
|
+
success: true;
|
|
12099
|
+
}>;
|
|
12100
|
+
}>;
|
|
12101
|
+
};
|
|
12102
|
+
//#endregion
|
|
12007
12103
|
//#region src/api/dictation.operations.d.ts
|
|
12008
12104
|
/**
|
|
12009
12105
|
* Where an admitted dictation session streams its audio: a WebSocket the host
|
|
@@ -12041,4 +12137,4 @@ export declare const dictationOperations: {
|
|
|
12041
12137
|
}>;
|
|
12042
12138
|
};
|
|
12043
12139
|
//#endregion
|
|
12044
|
-
export { BinaryResponse, DownloadedFile, HttpMethod, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PathParams, UploadedPart, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type };
|
|
12140
|
+
export { BinaryResponse, DownloadedFile, HttpMethod, MEETINGS_MAX_ONLY_CONNECTIONS, Operation, OperationDefinition, OperationInput, OperationObjectPermission, OperationOutput, OperationParsedInput, OperationPermission, OperationResult, OperationStatus, OperationThrottle, OperationUpload, OutputType, PathParams, UploadedPart, meetingsOperations, meetingsQuery, meetingsQueryFields, operation, operationGroup, recordMeetingsBody, type };
|