@omnara/sdk 0.1.0
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/README.md +37 -0
- package/dist/auth-CnOxLjlL.d.ts +6 -0
- package/dist/browser.d.ts +32 -0
- package/dist/browser.js +121 -0
- package/dist/browser.js.map +1 -0
- package/dist/chunk-CT4AUW4R.js +3657 -0
- package/dist/chunk-CT4AUW4R.js.map +1 -0
- package/dist/chunk-DGGYBF7D.js +3642 -0
- package/dist/chunk-DGGYBF7D.js.map +1 -0
- package/dist/chunk-PZ5AY32C.js +10 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/chunk-TMPF6DRL.js +35 -0
- package/dist/chunk-TMPF6DRL.js.map +1 -0
- package/dist/index.d.ts +86 -0
- package/dist/index.js +254 -0
- package/dist/index.js.map +1 -0
- package/dist/sdk.gen-j-xlf6lr.d.ts +12953 -0
- package/dist/tanstack.d.ts +2786 -0
- package/dist/tanstack.js +2954 -0
- package/dist/tanstack.js.map +1 -0
- package/dist/zod.d.ts +12526 -0
- package/dist/zod.js +1428 -0
- package/dist/zod.js.map +1 -0
- package/package.json +64 -0
|
@@ -0,0 +1,2786 @@
|
|
|
1
|
+
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
+
import { UseMutationOptions, InfiniteData } from '@tanstack/react-query';
|
|
3
|
+
import { O as Options, A as AcceptInvitationData, a as AcceptInvitationResponse, b as AcceptInvitationError, c as ArchiveAgentData, d as ArchiveAgentResponse, e as ArchiveAgentError, B as BootstrapDaemonData, f as BootstrapDaemonResponse2, g as BootstrapDaemonError, C as CancelAgentData, h as CancelAgentResponse2, i as CancelAgentError, j as CancelQueuedBacklogInputData, k as CancelQueuedBacklogInputResponse, l as CancelQueuedBacklogInputError, m as ConnectByoMachineData, n as ConnectByoMachineResponse2, o as ConnectByoMachineError, p as CreateAgentConfigData, q as CreateAgentConfigResponse, r as CreateAgentConfigError, s as CreateAgentInputData, t as CreateAgentInputResponse, u as CreateAgentInputError, v as CreateAgentData, w as CreateAgentResponse, x as CreateAgentError, y as CreateAgentProfileData, z as CreateAgentProfileResponse, D as CreateAgentProfileError, E as CreateByoMachineDaemonTokenData, F as CreateByoMachineDaemonTokenResponse, G as CreateByoMachineDaemonTokenError, H as CreateConfiguredModelData, I as CreateConfiguredModelResponse, J as CreateConfiguredModelError, K as CreateCronTriggerData, L as CreateCronTriggerResponse, M as CreateCronTriggerError, N as CreateIntegrationOAuthSetupData, P as CreateIntegrationOAuthSetupResponse, Q as CreateIntegrationOAuthSetupError, R as CreateMachineData, S as CreateMachineResponse, T as CreateMachineError, U as CreateMachinePoolData, V as CreateMachinePoolResponse, W as CreateMachinePoolError, X as CreateModelProviderConfigData, Y as CreateModelProviderConfigResponse2, Z as CreateModelProviderConfigError, _ as CreateOrgApiKeyData, $ as CreateOrgApiKeyResponse2, a0 as CreateOrgApiKeyError, a1 as CreateOrgInvitationData, a2 as CreateOrgInvitationResponse, a3 as CreateOrgInvitationError, a4 as CreateOrganizationData, a5 as CreateOrganizationResponse2, a6 as CreateOrganizationError, a7 as CreatePersonalAccessTokenData, a8 as CreatePersonalAccessTokenResponse2, a9 as CreatePersonalAccessTokenError, aa as CreateProjectMachineGrantData, ab as CreateProjectMachineGrantResponse2, ac as CreateProjectMachineGrantError, ad as CreateProjectMachinePoolGrantData, ae as CreateProjectMachinePoolGrantResponse, af as CreateProjectMachinePoolGrantError, ag as CreateProjectModelGrantData, ah as CreateProjectModelGrantResponse, ai as CreateProjectModelGrantError, aj as CreateProjectData, ak as CreateProjectResponse, al as CreateProjectError, am as CreateSecretGrantData, an as CreateSecretGrantResponse, ao as CreateSecretGrantError, ap as CreateSecretData, aq as CreateSecretResponse, ar as CreateSecretError, as as CreateSecretVersionData, at as CreateSecretVersionResponse, au as CreateSecretVersionError, av as CreateSkillGrantData, aw as CreateSkillGrantResponse, ax as CreateSkillGrantError, ay as CreateSkillData, az as CreateSkillResponse, aA as CreateSkillError, aB as CreateSlackSetupData, aC as CreateSlackSetupResponse, aD as CreateSlackSetupError, aE as DeclineInvitationData, aF as DeclineInvitationResponse, aG as DeclineInvitationError, aH as DeleteAgentProfileData, aI as DeleteAgentProfileResponse, aJ as DeleteAgentProfileError, aK as DeleteConfiguredModelData, aL as DeleteConfiguredModelResponse, aM as DeleteConfiguredModelError, aN as DeleteCronTriggerData, aO as DeleteCronTriggerResponse, aP as DeleteCronTriggerError, aQ as DeleteCurrentUserData, aR as DeleteCurrentUserResponse, aS as DeleteCurrentUserError, aT as DeleteIntegrationInstallData, aU as DeleteIntegrationInstallResponse, aV as DeleteIntegrationInstallError, aW as DeleteMachineData, aX as DeleteMachineResponse, aY as DeleteMachineError, aZ as DeleteMachinePoolData, a_ as DeleteMachinePoolResponse, a$ as DeleteMachinePoolError, b0 as DeleteModelProviderConfigData, b1 as DeleteModelProviderConfigResponse, b2 as DeleteModelProviderConfigError, b3 as DeleteOrgInvitationData, b4 as DeleteOrgInvitationResponse, b5 as DeleteOrgInvitationError, b6 as DeleteOrganizationData, b7 as DeleteOrganizationResponse, b8 as DeleteOrganizationError, b9 as DeleteProjectMachineGrantData, ba as DeleteProjectMachineGrantResponse, bb as DeleteProjectMachineGrantError, bc as DeleteProjectMachinePoolGrantData, bd as DeleteProjectMachinePoolGrantResponse, be as DeleteProjectMachinePoolGrantError, bf as DeleteProjectModelGrantData, bg as DeleteProjectModelGrantResponse, bh as DeleteProjectModelGrantError, bi as DeleteProjectData, bj as DeleteProjectResponse, bk as DeleteProjectError, bl as DeleteSecretGrantData, bm as DeleteSecretGrantResponse, bn as DeleteSecretGrantError, bo as DeleteSecretData, bp as DeleteSecretResponse, bq as DeleteSecretError, br as DeleteSkillGrantData, bs as DeleteSkillGrantResponse, bt as DeleteSkillGrantError, bu as DeleteSkillData, bv as DeleteSkillResponse, bw as DeleteSkillError, bx as DemoteSteeringInputToQueuedData, by as DemoteSteeringInputToQueuedResponse, bz as DemoteSteeringInputToQueuedError, bA as EndMachineDaemonRuntimeData, bB as EndMachineDaemonRuntimeResponse, bC as EndMachineDaemonRuntimeError, bD as GetActorData, bE as Actor, bF as GetActorError, bG as GetAgentConfigData, bH as AgentConfig, bI as GetAgentConfigError, bJ as GetAgentData, bK as GetAgentResponse, bL as GetAgentError, bM as GetAgentProfileData, bN as AgentProfile, bO as GetAgentProfileError, bP as GetArtifactContentData, bQ as GetArtifactContentError, bR as GetArtifactData, bS as Artifact, bT as GetArtifactError, bU as GetCronTriggerData, bV as CronTrigger, bW as GetCronTriggerError, bX as GetCurrentUserData, bY as CurrentUser, bZ as GetCurrentUserError, b_ as GetDaemonSkillArchiveData, b$ as GetDaemonSkillArchiveError, c0 as GetMachineData, c1 as Machine, c2 as GetMachineError, c3 as GetMachinePoolData, c4 as MachinePool, c5 as GetMachinePoolError, c6 as GetModelCatalogData, c7 as ModelCatalog, c8 as GetModelCatalogError, c9 as GetModelProviderConfigData, ca as ModelProviderConfig, cb as GetModelProviderConfigError, cc as GetOrgApiKeyData, cd as OrgApiKey, ce as GetOrgApiKeyError, cf as GetOrgOverviewData, cg as OrgOverviewResponse, ch as GetOrgOverviewError, ci as GetProjectAvailableSecretData, cj as ProjectSecretAccess, ck as GetProjectAvailableSecretError, cl as GetProjectMachinePoolGrantData, cm as ProjectMachinePoolGrant, cn as GetProjectMachinePoolGrantError, co as GetSecretData, cp as Secret, cq as GetSecretError, cr as GetSkillData, cs as Skill, ct as GetSkillError, cu as GetToolCatalogData, cv as ToolCatalog, cw as GetToolCatalogError, cx as ListActorsData, cy as ListActorsResponse, cz as ListActorsError, cA as ListAgentInteractionsData, cB as ListAgentInteractionsResponse, cC as ListAgentInteractionsError, cD as ListAgentProfilesData, cE as ListAgentProfilesResponse, cF as ListAgentProfilesError, cG as ListAgentsData, cH as ListAgentsResponse, cI as ListAgentsError, cJ as ListByoMachineDaemonTokensData, cK as ListMachineDaemonTokensResponse, cL as ListByoMachineDaemonTokensError, cM as ListConfiguredModelsData, cN as ConfiguredModelList, cO as ListConfiguredModelsError, cP as ListCronTriggersData, cQ as ListCronTriggersResponse, cR as ListCronTriggersError, cS as ListEventsData, cT as ListAgentEventsResponse, cU as ListEventsError, cV as ListIntegrationInstallsData, cW as ListIntegrationInstallsResponse, cX as ListIntegrationInstallsError, cY as ListMachinePoolsData, cZ as ListMachinePoolsResponse, c_ as ListMachinePoolsError, c$ as ListMemberProjectAccessData, d0 as ListProjectMembershipGrantsResponse, d1 as ListMemberProjectAccessError, d2 as ListModelProviderConfigsData, d3 as ModelProviderConfigList, d4 as ListModelProviderConfigsError, d5 as ListOrgApiKeyProjectAccessData, d6 as ListOrgApiKeyProjectAccessError, d7 as ListOrgApiKeysData, d8 as ListOrgApiKeysResponse, d9 as ListOrgApiKeysError, da as ListOrgInvitationsData, db as ListOrgInvitationsResponse, dc as ListOrgInvitationsError, dd as ListOrgMembersData, de as ListOrgMembersResponse, df as ListOrgMembersError, dg as ListPendingInvitationsData, dh as ListPendingInvitationsError, di as ListPersonalAccessTokensData, dj as ListPersonalAccessTokensResponse, dk as ListPersonalAccessTokensError, dl as ListProjectAvailableSecretsData, dm as ListProjectSecretAccessesResponse, dn as ListProjectAvailableSecretsError, dp as ListProjectAvailableSkillsData, dq as ListProjectSkillAccessesResponse, dr as ListProjectAvailableSkillsError, ds as ListProjectMachineGrantsData, dt as ListProjectMachineGrantsResponse, du as ListProjectMachineGrantsError, dv as ListProjectMachinePoolGrantsData, dw as ListProjectMachinePoolGrantsResponse, dx as ListProjectMachinePoolGrantsError, dy as ListProjectModelGrantsData, dz as ListProjectModelGrantsResponse, dA as ListProjectModelGrantsError, dB as ListQueuedBacklogInputsData, dC as ListAgentInputsResponse, dD as ListQueuedBacklogInputsError, dE as ListSecretGrantsData, dF as ListSecretGrantsResponse, dG as ListSecretGrantsError, dH as ListSecretsData, dI as ListSecretsResponse, dJ as ListSecretsError, dK as ListSkillGrantsData, dL as ListSkillGrantsResponse, dM as ListSkillGrantsError, dN as ListSkillsData, dO as ListSkillsResponse, dP as ListSkillsError, dQ as ListToolCallsData, dR as ListToolCallsResponse, dS as ListToolCallsError, dT as ListTurnEventsData, dU as ListTurnEventsResponse, dV as ListTurnEventsError, dW as ListTurnsData, dX as ListAgentTurnsResponse, dY as ListTurnsError, dZ as ListVisibleMachinesData, d_ as ListVisibleMachinesResponse, d$ as ListVisibleMachinesError, e0 as ListVisibleProjectMachinesData, e1 as ListVisibleProjectMachinesError, e2 as ListVisibleProjectsData, e3 as ListProjectsResponse, e4 as ListVisibleProjectsError, e5 as MoveQueuedBacklogInputData, e6 as MoveQueuedBacklogInputResponse, e7 as MoveQueuedBacklogInputError, e8 as PromoteQueuedInputToSteeringData, e9 as PromoteQueuedInputToSteeringResponse, ea as PromoteQueuedInputToSteeringError, eb as PutActorData, ec as PutActorResponse, ed as PutActorError, ee as RecordMachineFailureData, ef as RecordMachineFailureResponse, eg as RecordMachineFailureError, eh as RegisterMachineDaemonRuntimeData, ei as RegisterMachineDaemonRuntimeResponse, ej as RegisterMachineDaemonRuntimeError, ek as RemoveMemberProjectAccessData, el as RemoveMemberProjectAccessResponse, em as RemoveMemberProjectAccessError, en as RemoveOrgApiKeyProjectRoleData, eo as RemoveOrgApiKeyProjectRoleResponse, ep as RemoveOrgApiKeyProjectRoleError, eq as RemoveOrgMemberData, er as RemoveOrgMemberResponse, es as RemoveOrgMemberError, et as RenameAgentProfileData, eu as RenameAgentProfileResponse, ev as RenameAgentProfileError, ew as ResolveAgentInteractionData, ex as ResolveAgentInteractionResponse, ey as ResolveAgentInteractionError, ez as RevokeMachineDaemonTokenData, eA as RevokeMachineDaemonTokenResponse, eB as RevokeMachineDaemonTokenError, eC as RevokeOrgApiKeyData, eD as RevokeOrgApiKeyResponse, eE as RevokeOrgApiKeyError, eF as RevokePersonalAccessTokenData, eG as RevokePersonalAccessTokenResponse, eH as RevokePersonalAccessTokenError, eI as SetMemberProjectAccessData, eJ as SetMemberProjectAccessResponse, eK as SetMemberProjectAccessError, eL as SetOrgApiKeyProjectRoleData, eM as SetOrgApiKeyProjectRoleResponse, eN as SetOrgApiKeyProjectRoleError, eO as SleepMachineDaemonRuntimeData, eP as SleepMachineDaemonRuntimeResponse, eQ as SleepMachineDaemonRuntimeError, eR as SocketMachineDaemonRuntimeData, eS as SocketMachineDaemonRuntimeError, eT as StartSecretMcpoAuthData, eU as StartSecretMcpoAuthResponse, eV as StartSecretMcpoAuthError, eW as SubmitToolCallResultData, eX as SubmitToolCallResultResponse2, eY as SubmitToolCallResultError, eZ as UpdateAgentConfigData, e_ as UpdateAgentConfigResponse2, e$ as UpdateAgentConfigError, f0 as UpdateAgentProfileData, f1 as UpdateAgentProfileResponse, f2 as UpdateAgentProfileError, f3 as UpdateConfiguredModelData, f4 as UpdateConfiguredModelResponse, f5 as UpdateConfiguredModelError, f6 as UpdateCronTriggerData, f7 as UpdateCronTriggerResponse, f8 as UpdateCronTriggerError, f9 as UpdateMachineData, fa as UpdateMachineResponse, fb as UpdateMachineError, fc as UpdateMachinePoolData, fd as UpdateMachinePoolResponse, fe as UpdateMachinePoolError, ff as UpdateModelProviderConfigData, fg as UpdateModelProviderConfigResponse, fh as UpdateModelProviderConfigError, fi as UpdateOrgApiKeyData, fj as UpdateOrgApiKeyResponse, fk as UpdateOrgApiKeyError, fl as UpdateOrgMemberData, fm as UpdateOrgMemberResponse, fn as UpdateOrgMemberError, fo as UpdateProjectMachinePoolGrantData, fp as UpdateProjectMachinePoolGrantResponse, fq as UpdateProjectMachinePoolGrantError, fr as UpdateProjectModelGrantData, fs as UpdateProjectModelGrantResponse, ft as UpdateProjectModelGrantError, fu as UpdateSecretData, fv as UpdateSecretResponse, fw as UpdateSecretError } from './sdk.gen-j-xlf6lr.js';
|
|
4
|
+
|
|
5
|
+
type QueryKey<TOptions extends Options> = [
|
|
6
|
+
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
7
|
+
_id: string;
|
|
8
|
+
_infinite?: boolean;
|
|
9
|
+
tags?: ReadonlyArray<string>;
|
|
10
|
+
}
|
|
11
|
+
];
|
|
12
|
+
declare const listPersonalAccessTokensQueryKey: (options?: Options<ListPersonalAccessTokensData>) => [Pick<Options<ListPersonalAccessTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
13
|
+
_id: string;
|
|
14
|
+
_infinite?: boolean;
|
|
15
|
+
tags?: ReadonlyArray<string>;
|
|
16
|
+
}];
|
|
17
|
+
/**
|
|
18
|
+
* List the authenticated user's personal access tokens
|
|
19
|
+
*
|
|
20
|
+
* Items are ordered by created_at descending, then id descending.
|
|
21
|
+
*/
|
|
22
|
+
declare const listPersonalAccessTokensOptions: (options?: Options<ListPersonalAccessTokensData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListPersonalAccessTokensResponse, ListPersonalAccessTokensError, ListPersonalAccessTokensResponse, [Pick<Options<ListPersonalAccessTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
23
|
+
_id: string;
|
|
24
|
+
_infinite?: boolean;
|
|
25
|
+
tags?: ReadonlyArray<string>;
|
|
26
|
+
}]>, "queryFn"> & {
|
|
27
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListPersonalAccessTokensResponse, [Pick<Options<ListPersonalAccessTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
28
|
+
_id: string;
|
|
29
|
+
_infinite?: boolean;
|
|
30
|
+
tags?: ReadonlyArray<string>;
|
|
31
|
+
}], never> | undefined;
|
|
32
|
+
} & {
|
|
33
|
+
queryKey: [Pick<Options<ListPersonalAccessTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
34
|
+
_id: string;
|
|
35
|
+
_infinite?: boolean;
|
|
36
|
+
tags?: ReadonlyArray<string>;
|
|
37
|
+
}] & {
|
|
38
|
+
[dataTagSymbol]: ListPersonalAccessTokensResponse;
|
|
39
|
+
[dataTagErrorSymbol]: ListPersonalAccessTokensError;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
declare const listPersonalAccessTokensInfiniteQueryKey: (options?: Options<ListPersonalAccessTokensData>) => QueryKey<Options<ListPersonalAccessTokensData>>;
|
|
43
|
+
/**
|
|
44
|
+
* List the authenticated user's personal access tokens
|
|
45
|
+
*
|
|
46
|
+
* Items are ordered by created_at descending, then id descending.
|
|
47
|
+
*/
|
|
48
|
+
declare const listPersonalAccessTokensInfiniteOptions: (options?: Options<ListPersonalAccessTokensData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListPersonalAccessTokensResponse, ListPersonalAccessTokensError, InfiniteData<ListPersonalAccessTokensResponse, unknown>, QueryKey<Options<ListPersonalAccessTokensData>>, string | Pick<Pick<Options<ListPersonalAccessTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
49
|
+
_id: string;
|
|
50
|
+
_infinite?: boolean;
|
|
51
|
+
tags?: ReadonlyArray<string>;
|
|
52
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
53
|
+
initialData: InfiniteData<ListPersonalAccessTokensResponse, string | Pick<Pick<Options<ListPersonalAccessTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
54
|
+
_id: string;
|
|
55
|
+
_infinite?: boolean;
|
|
56
|
+
tags?: ReadonlyArray<string>;
|
|
57
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListPersonalAccessTokensResponse, string | Pick<Pick<Options<ListPersonalAccessTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
58
|
+
_id: string;
|
|
59
|
+
_infinite?: boolean;
|
|
60
|
+
tags?: ReadonlyArray<string>;
|
|
61
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
62
|
+
} & {
|
|
63
|
+
queryKey: QueryKey<Options<ListPersonalAccessTokensData>> & {
|
|
64
|
+
[dataTagSymbol]: InfiniteData<ListPersonalAccessTokensResponse, unknown>;
|
|
65
|
+
[dataTagErrorSymbol]: ListPersonalAccessTokensError;
|
|
66
|
+
};
|
|
67
|
+
}, "initialData">;
|
|
68
|
+
/**
|
|
69
|
+
* Create personal access token
|
|
70
|
+
*/
|
|
71
|
+
declare const createPersonalAccessTokenMutation: (options?: Partial<Options<CreatePersonalAccessTokenData>>) => UseMutationOptions<CreatePersonalAccessTokenResponse2, CreatePersonalAccessTokenError, Options<CreatePersonalAccessTokenData>>;
|
|
72
|
+
/**
|
|
73
|
+
* Revoke a personal access token
|
|
74
|
+
*/
|
|
75
|
+
declare const revokePersonalAccessTokenMutation: (options?: Partial<Options<RevokePersonalAccessTokenData>>) => UseMutationOptions<RevokePersonalAccessTokenResponse, RevokePersonalAccessTokenError, Options<RevokePersonalAccessTokenData>>;
|
|
76
|
+
/**
|
|
77
|
+
* Bootstrap daemon
|
|
78
|
+
*/
|
|
79
|
+
declare const bootstrapDaemonMutation: (options?: Partial<Options<BootstrapDaemonData>>) => UseMutationOptions<BootstrapDaemonResponse2, BootstrapDaemonError, Options<BootstrapDaemonData>>;
|
|
80
|
+
/**
|
|
81
|
+
* Record machine failure
|
|
82
|
+
*/
|
|
83
|
+
declare const recordMachineFailureMutation: (options?: Partial<Options<RecordMachineFailureData>>) => UseMutationOptions<RecordMachineFailureResponse, RecordMachineFailureError, Options<RecordMachineFailureData>>;
|
|
84
|
+
/**
|
|
85
|
+
* Create organization
|
|
86
|
+
*
|
|
87
|
+
* Creates the organization and its local default resources atomically.
|
|
88
|
+
* When supplied, the idempotency key determines the proposed organization
|
|
89
|
+
* ID. Reusing it after a completed request returns the existing
|
|
90
|
+
* organization without another hosted call. A failed retry uses the same
|
|
91
|
+
* proposed ID. Without a key, each request is a fresh attempt.
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<CreateOrganizationResponse2, CreateOrganizationError, Options<CreateOrganizationData>>;
|
|
95
|
+
/**
|
|
96
|
+
* Delete organization
|
|
97
|
+
*
|
|
98
|
+
* Deletes the organization and everything in it: projects, memberships, pending invitations, profiles, integrations, machine pools and machines, model provider configs and configured models, and all skills. Agents are archived and their runtimes and queued work are stopped. Secrets are permanently deleted once machine teardown no longer needs them. Deletion fails if project agent teardown cannot complete. Only organization owners can delete an organization.
|
|
99
|
+
*/
|
|
100
|
+
declare const deleteOrganizationMutation: (options?: Partial<Options<DeleteOrganizationData>>) => UseMutationOptions<DeleteOrganizationResponse, DeleteOrganizationError, Options<DeleteOrganizationData>>;
|
|
101
|
+
/**
|
|
102
|
+
* Delete the authenticated user's account
|
|
103
|
+
*
|
|
104
|
+
* Deletes the account, revokes all personal access tokens and browser sessions, removes all organization and project memberships, and releases the account's sign-in identity (emails, linked auth identities, and password credentials) so the same email can register a new account. Personal secrets and skills owned by the user are deleted with the account. Deletion is blocked while the user is the last owner of any organization (add another owner or delete the organization first), while a personal skill is referenced by an active agent's configuration, or while a personal secret is referenced by a model provider config, machine pool, or integration install. Organization and project resources are unaffected, and agents, machines, and other records the user created are kept with their attribution.
|
|
105
|
+
*/
|
|
106
|
+
declare const deleteCurrentUserMutation: (options?: Partial<Options<DeleteCurrentUserData>>) => UseMutationOptions<DeleteCurrentUserResponse, DeleteCurrentUserError, Options<DeleteCurrentUserData>>;
|
|
107
|
+
declare const getCurrentUserQueryKey: (options?: Options<GetCurrentUserData>) => [Pick<Options<GetCurrentUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
108
|
+
_id: string;
|
|
109
|
+
_infinite?: boolean;
|
|
110
|
+
tags?: ReadonlyArray<string>;
|
|
111
|
+
}];
|
|
112
|
+
/**
|
|
113
|
+
* Get the authenticated user and their organizations
|
|
114
|
+
*/
|
|
115
|
+
declare const getCurrentUserOptions: (options?: Options<GetCurrentUserData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<CurrentUser, GetCurrentUserError, CurrentUser, [Pick<Options<GetCurrentUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
116
|
+
_id: string;
|
|
117
|
+
_infinite?: boolean;
|
|
118
|
+
tags?: ReadonlyArray<string>;
|
|
119
|
+
}]>, "queryFn"> & {
|
|
120
|
+
queryFn?: _tanstack_react_query.QueryFunction<CurrentUser, [Pick<Options<GetCurrentUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
121
|
+
_id: string;
|
|
122
|
+
_infinite?: boolean;
|
|
123
|
+
tags?: ReadonlyArray<string>;
|
|
124
|
+
}], never> | undefined;
|
|
125
|
+
} & {
|
|
126
|
+
queryKey: [Pick<Options<GetCurrentUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
127
|
+
_id: string;
|
|
128
|
+
_infinite?: boolean;
|
|
129
|
+
tags?: ReadonlyArray<string>;
|
|
130
|
+
}] & {
|
|
131
|
+
[dataTagSymbol]: CurrentUser;
|
|
132
|
+
[dataTagErrorSymbol]: GetCurrentUserError;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
declare const listPendingInvitationsQueryKey: (options?: Options<ListPendingInvitationsData>) => [Pick<Options<ListPendingInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
136
|
+
_id: string;
|
|
137
|
+
_infinite?: boolean;
|
|
138
|
+
tags?: ReadonlyArray<string>;
|
|
139
|
+
}];
|
|
140
|
+
/**
|
|
141
|
+
* List pending invitations
|
|
142
|
+
*
|
|
143
|
+
* Items are ordered by created_at ascending, then id ascending.
|
|
144
|
+
*/
|
|
145
|
+
declare const listPendingInvitationsOptions: (options?: Options<ListPendingInvitationsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListOrgInvitationsResponse, ListPendingInvitationsError, ListOrgInvitationsResponse, [Pick<Options<ListPendingInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
146
|
+
_id: string;
|
|
147
|
+
_infinite?: boolean;
|
|
148
|
+
tags?: ReadonlyArray<string>;
|
|
149
|
+
}]>, "queryFn"> & {
|
|
150
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListOrgInvitationsResponse, [Pick<Options<ListPendingInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
151
|
+
_id: string;
|
|
152
|
+
_infinite?: boolean;
|
|
153
|
+
tags?: ReadonlyArray<string>;
|
|
154
|
+
}], never> | undefined;
|
|
155
|
+
} & {
|
|
156
|
+
queryKey: [Pick<Options<ListPendingInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
157
|
+
_id: string;
|
|
158
|
+
_infinite?: boolean;
|
|
159
|
+
tags?: ReadonlyArray<string>;
|
|
160
|
+
}] & {
|
|
161
|
+
[dataTagSymbol]: ListOrgInvitationsResponse;
|
|
162
|
+
[dataTagErrorSymbol]: ListPendingInvitationsError;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
declare const listPendingInvitationsInfiniteQueryKey: (options?: Options<ListPendingInvitationsData>) => QueryKey<Options<ListPendingInvitationsData>>;
|
|
166
|
+
/**
|
|
167
|
+
* List pending invitations
|
|
168
|
+
*
|
|
169
|
+
* Items are ordered by created_at ascending, then id ascending.
|
|
170
|
+
*/
|
|
171
|
+
declare const listPendingInvitationsInfiniteOptions: (options?: Options<ListPendingInvitationsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListOrgInvitationsResponse, ListPendingInvitationsError, InfiniteData<ListOrgInvitationsResponse, unknown>, QueryKey<Options<ListPendingInvitationsData>>, string | Pick<Pick<Options<ListPendingInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
172
|
+
_id: string;
|
|
173
|
+
_infinite?: boolean;
|
|
174
|
+
tags?: ReadonlyArray<string>;
|
|
175
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
176
|
+
initialData: InfiniteData<ListOrgInvitationsResponse, string | Pick<Pick<Options<ListPendingInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
177
|
+
_id: string;
|
|
178
|
+
_infinite?: boolean;
|
|
179
|
+
tags?: ReadonlyArray<string>;
|
|
180
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListOrgInvitationsResponse, string | Pick<Pick<Options<ListPendingInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
181
|
+
_id: string;
|
|
182
|
+
_infinite?: boolean;
|
|
183
|
+
tags?: ReadonlyArray<string>;
|
|
184
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
185
|
+
} & {
|
|
186
|
+
queryKey: QueryKey<Options<ListPendingInvitationsData>> & {
|
|
187
|
+
[dataTagSymbol]: InfiniteData<ListOrgInvitationsResponse, unknown>;
|
|
188
|
+
[dataTagErrorSymbol]: ListPendingInvitationsError;
|
|
189
|
+
};
|
|
190
|
+
}, "initialData">;
|
|
191
|
+
/**
|
|
192
|
+
* Accept invitation
|
|
193
|
+
*/
|
|
194
|
+
declare const acceptInvitationMutation: (options?: Partial<Options<AcceptInvitationData>>) => UseMutationOptions<AcceptInvitationResponse, AcceptInvitationError, Options<AcceptInvitationData>>;
|
|
195
|
+
/**
|
|
196
|
+
* Decline invitation
|
|
197
|
+
*/
|
|
198
|
+
declare const declineInvitationMutation: (options?: Partial<Options<DeclineInvitationData>>) => UseMutationOptions<DeclineInvitationResponse, DeclineInvitationError, Options<DeclineInvitationData>>;
|
|
199
|
+
declare const getOrgOverviewQueryKey: (options: Options<GetOrgOverviewData>) => [Pick<Options<GetOrgOverviewData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
200
|
+
_id: string;
|
|
201
|
+
_infinite?: boolean;
|
|
202
|
+
tags?: ReadonlyArray<string>;
|
|
203
|
+
}];
|
|
204
|
+
/**
|
|
205
|
+
* Get org overview
|
|
206
|
+
*
|
|
207
|
+
* Returns the data backing the web app's overview page: the caller's visible projects plus the most recently active agents and most recently updated agent profiles across every project the caller can read. Internal to the web app and subject to change without notice.
|
|
208
|
+
*/
|
|
209
|
+
declare const getOrgOverviewOptions: (options: Options<GetOrgOverviewData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<OrgOverviewResponse, GetOrgOverviewError, OrgOverviewResponse, [Pick<Options<GetOrgOverviewData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
210
|
+
_id: string;
|
|
211
|
+
_infinite?: boolean;
|
|
212
|
+
tags?: ReadonlyArray<string>;
|
|
213
|
+
}]>, "queryFn"> & {
|
|
214
|
+
queryFn?: _tanstack_react_query.QueryFunction<OrgOverviewResponse, [Pick<Options<GetOrgOverviewData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
215
|
+
_id: string;
|
|
216
|
+
_infinite?: boolean;
|
|
217
|
+
tags?: ReadonlyArray<string>;
|
|
218
|
+
}], never> | undefined;
|
|
219
|
+
} & {
|
|
220
|
+
queryKey: [Pick<Options<GetOrgOverviewData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
221
|
+
_id: string;
|
|
222
|
+
_infinite?: boolean;
|
|
223
|
+
tags?: ReadonlyArray<string>;
|
|
224
|
+
}] & {
|
|
225
|
+
[dataTagSymbol]: OrgOverviewResponse;
|
|
226
|
+
[dataTagErrorSymbol]: GetOrgOverviewError;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
declare const listVisibleProjectsQueryKey: (options: Options<ListVisibleProjectsData>) => [Pick<Options<ListVisibleProjectsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
230
|
+
_id: string;
|
|
231
|
+
_infinite?: boolean;
|
|
232
|
+
tags?: ReadonlyArray<string>;
|
|
233
|
+
}];
|
|
234
|
+
/**
|
|
235
|
+
* List visible projects
|
|
236
|
+
*
|
|
237
|
+
* Items are ordered by created_at descending, then id descending.
|
|
238
|
+
*/
|
|
239
|
+
declare const listVisibleProjectsOptions: (options: Options<ListVisibleProjectsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListProjectsResponse, ListVisibleProjectsError, ListProjectsResponse, [Pick<Options<ListVisibleProjectsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
240
|
+
_id: string;
|
|
241
|
+
_infinite?: boolean;
|
|
242
|
+
tags?: ReadonlyArray<string>;
|
|
243
|
+
}]>, "queryFn"> & {
|
|
244
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListProjectsResponse, [Pick<Options<ListVisibleProjectsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
245
|
+
_id: string;
|
|
246
|
+
_infinite?: boolean;
|
|
247
|
+
tags?: ReadonlyArray<string>;
|
|
248
|
+
}], never> | undefined;
|
|
249
|
+
} & {
|
|
250
|
+
queryKey: [Pick<Options<ListVisibleProjectsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
251
|
+
_id: string;
|
|
252
|
+
_infinite?: boolean;
|
|
253
|
+
tags?: ReadonlyArray<string>;
|
|
254
|
+
}] & {
|
|
255
|
+
[dataTagSymbol]: ListProjectsResponse;
|
|
256
|
+
[dataTagErrorSymbol]: ListVisibleProjectsError;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
declare const listVisibleProjectsInfiniteQueryKey: (options: Options<ListVisibleProjectsData>) => QueryKey<Options<ListVisibleProjectsData>>;
|
|
260
|
+
/**
|
|
261
|
+
* List visible projects
|
|
262
|
+
*
|
|
263
|
+
* Items are ordered by created_at descending, then id descending.
|
|
264
|
+
*/
|
|
265
|
+
declare const listVisibleProjectsInfiniteOptions: (options: Options<ListVisibleProjectsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListProjectsResponse, ListVisibleProjectsError, InfiniteData<ListProjectsResponse, unknown>, QueryKey<Options<ListVisibleProjectsData>>, string | Pick<Pick<Options<ListVisibleProjectsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
266
|
+
_id: string;
|
|
267
|
+
_infinite?: boolean;
|
|
268
|
+
tags?: ReadonlyArray<string>;
|
|
269
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
270
|
+
initialData: InfiniteData<ListProjectsResponse, string | Pick<Pick<Options<ListVisibleProjectsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
271
|
+
_id: string;
|
|
272
|
+
_infinite?: boolean;
|
|
273
|
+
tags?: ReadonlyArray<string>;
|
|
274
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListProjectsResponse, string | Pick<Pick<Options<ListVisibleProjectsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
275
|
+
_id: string;
|
|
276
|
+
_infinite?: boolean;
|
|
277
|
+
tags?: ReadonlyArray<string>;
|
|
278
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
279
|
+
} & {
|
|
280
|
+
queryKey: QueryKey<Options<ListVisibleProjectsData>> & {
|
|
281
|
+
[dataTagSymbol]: InfiniteData<ListProjectsResponse, unknown>;
|
|
282
|
+
[dataTagErrorSymbol]: ListVisibleProjectsError;
|
|
283
|
+
};
|
|
284
|
+
}, "initialData">;
|
|
285
|
+
/**
|
|
286
|
+
* Create project
|
|
287
|
+
*/
|
|
288
|
+
declare const createProjectMutation: (options?: Partial<Options<CreateProjectData>>) => UseMutationOptions<CreateProjectResponse, CreateProjectError, Options<CreateProjectData>>;
|
|
289
|
+
/**
|
|
290
|
+
* Delete project
|
|
291
|
+
*
|
|
292
|
+
* Deletes the project, its memberships, profiles and profile versions, integration installs and targets, project-owned skills and revisions, and grants owned by or targeting the project. Project-owned secrets are permanently deleted with their versions and grants. The project's agents are archived and their runtimes and queued work are stopped. Machine, machine-pool, and model grants are removed without deleting the shared machine, pool, or model. Deletion fails if agent teardown cannot complete.
|
|
293
|
+
*/
|
|
294
|
+
declare const deleteProjectMutation: (options?: Partial<Options<DeleteProjectData>>) => UseMutationOptions<DeleteProjectResponse, DeleteProjectError, Options<DeleteProjectData>>;
|
|
295
|
+
declare const listOrgMembersQueryKey: (options: Options<ListOrgMembersData>) => [Pick<Options<ListOrgMembersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
296
|
+
_id: string;
|
|
297
|
+
_infinite?: boolean;
|
|
298
|
+
tags?: ReadonlyArray<string>;
|
|
299
|
+
}];
|
|
300
|
+
/**
|
|
301
|
+
* List organization members
|
|
302
|
+
*
|
|
303
|
+
* List organization members with server-side display-name filtering, sorting, and cursor pagination.
|
|
304
|
+
*/
|
|
305
|
+
declare const listOrgMembersOptions: (options: Options<ListOrgMembersData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListOrgMembersResponse, ListOrgMembersError, ListOrgMembersResponse, [Pick<Options<ListOrgMembersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
306
|
+
_id: string;
|
|
307
|
+
_infinite?: boolean;
|
|
308
|
+
tags?: ReadonlyArray<string>;
|
|
309
|
+
}]>, "queryFn"> & {
|
|
310
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListOrgMembersResponse, [Pick<Options<ListOrgMembersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
311
|
+
_id: string;
|
|
312
|
+
_infinite?: boolean;
|
|
313
|
+
tags?: ReadonlyArray<string>;
|
|
314
|
+
}], never> | undefined;
|
|
315
|
+
} & {
|
|
316
|
+
queryKey: [Pick<Options<ListOrgMembersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
317
|
+
_id: string;
|
|
318
|
+
_infinite?: boolean;
|
|
319
|
+
tags?: ReadonlyArray<string>;
|
|
320
|
+
}] & {
|
|
321
|
+
[dataTagSymbol]: ListOrgMembersResponse;
|
|
322
|
+
[dataTagErrorSymbol]: ListOrgMembersError;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
declare const listOrgMembersInfiniteQueryKey: (options: Options<ListOrgMembersData>) => QueryKey<Options<ListOrgMembersData>>;
|
|
326
|
+
/**
|
|
327
|
+
* List organization members
|
|
328
|
+
*
|
|
329
|
+
* List organization members with server-side display-name filtering, sorting, and cursor pagination.
|
|
330
|
+
*/
|
|
331
|
+
declare const listOrgMembersInfiniteOptions: (options: Options<ListOrgMembersData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListOrgMembersResponse, ListOrgMembersError, InfiniteData<ListOrgMembersResponse, unknown>, QueryKey<Options<ListOrgMembersData>>, string | Pick<Pick<Options<ListOrgMembersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
332
|
+
_id: string;
|
|
333
|
+
_infinite?: boolean;
|
|
334
|
+
tags?: ReadonlyArray<string>;
|
|
335
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
336
|
+
initialData: InfiniteData<ListOrgMembersResponse, string | Pick<Pick<Options<ListOrgMembersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
337
|
+
_id: string;
|
|
338
|
+
_infinite?: boolean;
|
|
339
|
+
tags?: ReadonlyArray<string>;
|
|
340
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListOrgMembersResponse, string | Pick<Pick<Options<ListOrgMembersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
341
|
+
_id: string;
|
|
342
|
+
_infinite?: boolean;
|
|
343
|
+
tags?: ReadonlyArray<string>;
|
|
344
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
345
|
+
} & {
|
|
346
|
+
queryKey: QueryKey<Options<ListOrgMembersData>> & {
|
|
347
|
+
[dataTagSymbol]: InfiniteData<ListOrgMembersResponse, unknown>;
|
|
348
|
+
[dataTagErrorSymbol]: ListOrgMembersError;
|
|
349
|
+
};
|
|
350
|
+
}, "initialData">;
|
|
351
|
+
/**
|
|
352
|
+
* Remove org member
|
|
353
|
+
*
|
|
354
|
+
* Removes the user's organization membership and all project memberships in the organization. The member's personal secrets and skills in the organization are deleted with the membership. Removal is blocked when the user is the organization's last owner, while a personal skill is referenced by an active agent's configuration, or while a personal secret is referenced by a model provider config, machine pool, or integration install.
|
|
355
|
+
*/
|
|
356
|
+
declare const removeOrgMemberMutation: (options?: Partial<Options<RemoveOrgMemberData>>) => UseMutationOptions<RemoveOrgMemberResponse, RemoveOrgMemberError, Options<RemoveOrgMemberData>>;
|
|
357
|
+
/**
|
|
358
|
+
* Update org member role
|
|
359
|
+
*/
|
|
360
|
+
declare const updateOrgMemberMutation: (options?: Partial<Options<UpdateOrgMemberData>>) => UseMutationOptions<UpdateOrgMemberResponse, UpdateOrgMemberError, Options<UpdateOrgMemberData>>;
|
|
361
|
+
declare const listMemberProjectAccessQueryKey: (options: Options<ListMemberProjectAccessData>) => [Pick<Options<ListMemberProjectAccessData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
362
|
+
_id: string;
|
|
363
|
+
_infinite?: boolean;
|
|
364
|
+
tags?: ReadonlyArray<string>;
|
|
365
|
+
}];
|
|
366
|
+
/**
|
|
367
|
+
* List a member's explicit project role grants
|
|
368
|
+
*
|
|
369
|
+
* Lists the member's explicit per-project role grants. Org owners and admins implicitly have admin access to every project and will not appear here for those projects.
|
|
370
|
+
*/
|
|
371
|
+
declare const listMemberProjectAccessOptions: (options: Options<ListMemberProjectAccessData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListProjectMembershipGrantsResponse, ListMemberProjectAccessError, ListProjectMembershipGrantsResponse, [Pick<Options<ListMemberProjectAccessData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
372
|
+
_id: string;
|
|
373
|
+
_infinite?: boolean;
|
|
374
|
+
tags?: ReadonlyArray<string>;
|
|
375
|
+
}]>, "queryFn"> & {
|
|
376
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListProjectMembershipGrantsResponse, [Pick<Options<ListMemberProjectAccessData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
377
|
+
_id: string;
|
|
378
|
+
_infinite?: boolean;
|
|
379
|
+
tags?: ReadonlyArray<string>;
|
|
380
|
+
}], never> | undefined;
|
|
381
|
+
} & {
|
|
382
|
+
queryKey: [Pick<Options<ListMemberProjectAccessData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
383
|
+
_id: string;
|
|
384
|
+
_infinite?: boolean;
|
|
385
|
+
tags?: ReadonlyArray<string>;
|
|
386
|
+
}] & {
|
|
387
|
+
[dataTagSymbol]: ListProjectMembershipGrantsResponse;
|
|
388
|
+
[dataTagErrorSymbol]: ListMemberProjectAccessError;
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
/**
|
|
392
|
+
* Remove a member's project role grant
|
|
393
|
+
*
|
|
394
|
+
* Removes only the member's explicit role grant for this project. No other memberships, grants, or resources are deleted, and there are no dependency blockers.
|
|
395
|
+
*/
|
|
396
|
+
declare const removeMemberProjectAccessMutation: (options?: Partial<Options<RemoveMemberProjectAccessData>>) => UseMutationOptions<RemoveMemberProjectAccessResponse, RemoveMemberProjectAccessError, Options<RemoveMemberProjectAccessData>>;
|
|
397
|
+
/**
|
|
398
|
+
* Set a member's role on a project
|
|
399
|
+
*
|
|
400
|
+
* Creates or updates the member's explicit role grant on the project.
|
|
401
|
+
*/
|
|
402
|
+
declare const setMemberProjectAccessMutation: (options?: Partial<Options<SetMemberProjectAccessData>>) => UseMutationOptions<SetMemberProjectAccessResponse, SetMemberProjectAccessError, Options<SetMemberProjectAccessData>>;
|
|
403
|
+
declare const listOrgApiKeysQueryKey: (options: Options<ListOrgApiKeysData>) => [Pick<Options<ListOrgApiKeysData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
404
|
+
_id: string;
|
|
405
|
+
_infinite?: boolean;
|
|
406
|
+
tags?: ReadonlyArray<string>;
|
|
407
|
+
}];
|
|
408
|
+
/**
|
|
409
|
+
* List org API keys
|
|
410
|
+
*
|
|
411
|
+
* Items are ordered by created_at descending, then id descending. Revoked keys are included.
|
|
412
|
+
*/
|
|
413
|
+
declare const listOrgApiKeysOptions: (options: Options<ListOrgApiKeysData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListOrgApiKeysResponse, ListOrgApiKeysError, ListOrgApiKeysResponse, [Pick<Options<ListOrgApiKeysData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
414
|
+
_id: string;
|
|
415
|
+
_infinite?: boolean;
|
|
416
|
+
tags?: ReadonlyArray<string>;
|
|
417
|
+
}]>, "queryFn"> & {
|
|
418
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListOrgApiKeysResponse, [Pick<Options<ListOrgApiKeysData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
419
|
+
_id: string;
|
|
420
|
+
_infinite?: boolean;
|
|
421
|
+
tags?: ReadonlyArray<string>;
|
|
422
|
+
}], never> | undefined;
|
|
423
|
+
} & {
|
|
424
|
+
queryKey: [Pick<Options<ListOrgApiKeysData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
425
|
+
_id: string;
|
|
426
|
+
_infinite?: boolean;
|
|
427
|
+
tags?: ReadonlyArray<string>;
|
|
428
|
+
}] & {
|
|
429
|
+
[dataTagSymbol]: ListOrgApiKeysResponse;
|
|
430
|
+
[dataTagErrorSymbol]: ListOrgApiKeysError;
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
declare const listOrgApiKeysInfiniteQueryKey: (options: Options<ListOrgApiKeysData>) => QueryKey<Options<ListOrgApiKeysData>>;
|
|
434
|
+
/**
|
|
435
|
+
* List org API keys
|
|
436
|
+
*
|
|
437
|
+
* Items are ordered by created_at descending, then id descending. Revoked keys are included.
|
|
438
|
+
*/
|
|
439
|
+
declare const listOrgApiKeysInfiniteOptions: (options: Options<ListOrgApiKeysData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListOrgApiKeysResponse, ListOrgApiKeysError, InfiniteData<ListOrgApiKeysResponse, unknown>, QueryKey<Options<ListOrgApiKeysData>>, string | Pick<Pick<Options<ListOrgApiKeysData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
440
|
+
_id: string;
|
|
441
|
+
_infinite?: boolean;
|
|
442
|
+
tags?: ReadonlyArray<string>;
|
|
443
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
444
|
+
initialData: InfiniteData<ListOrgApiKeysResponse, string | Pick<Pick<Options<ListOrgApiKeysData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
445
|
+
_id: string;
|
|
446
|
+
_infinite?: boolean;
|
|
447
|
+
tags?: ReadonlyArray<string>;
|
|
448
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListOrgApiKeysResponse, string | Pick<Pick<Options<ListOrgApiKeysData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
449
|
+
_id: string;
|
|
450
|
+
_infinite?: boolean;
|
|
451
|
+
tags?: ReadonlyArray<string>;
|
|
452
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
453
|
+
} & {
|
|
454
|
+
queryKey: QueryKey<Options<ListOrgApiKeysData>> & {
|
|
455
|
+
[dataTagSymbol]: InfiniteData<ListOrgApiKeysResponse, unknown>;
|
|
456
|
+
[dataTagErrorSymbol]: ListOrgApiKeysError;
|
|
457
|
+
};
|
|
458
|
+
}, "initialData">;
|
|
459
|
+
/**
|
|
460
|
+
* Create org API key
|
|
461
|
+
*
|
|
462
|
+
* Mints an org API key. The plaintext token is returned once and never stored.
|
|
463
|
+
*/
|
|
464
|
+
declare const createOrgApiKeyMutation: (options?: Partial<Options<CreateOrgApiKeyData>>) => UseMutationOptions<CreateOrgApiKeyResponse2, CreateOrgApiKeyError, Options<CreateOrgApiKeyData>>;
|
|
465
|
+
declare const getOrgApiKeyQueryKey: (options: Options<GetOrgApiKeyData>) => [Pick<Options<GetOrgApiKeyData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
466
|
+
_id: string;
|
|
467
|
+
_infinite?: boolean;
|
|
468
|
+
tags?: ReadonlyArray<string>;
|
|
469
|
+
}];
|
|
470
|
+
/**
|
|
471
|
+
* Get an org API key
|
|
472
|
+
*/
|
|
473
|
+
declare const getOrgApiKeyOptions: (options: Options<GetOrgApiKeyData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<OrgApiKey, GetOrgApiKeyError, OrgApiKey, [Pick<Options<GetOrgApiKeyData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
474
|
+
_id: string;
|
|
475
|
+
_infinite?: boolean;
|
|
476
|
+
tags?: ReadonlyArray<string>;
|
|
477
|
+
}]>, "queryFn"> & {
|
|
478
|
+
queryFn?: _tanstack_react_query.QueryFunction<OrgApiKey, [Pick<Options<GetOrgApiKeyData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
479
|
+
_id: string;
|
|
480
|
+
_infinite?: boolean;
|
|
481
|
+
tags?: ReadonlyArray<string>;
|
|
482
|
+
}], never> | undefined;
|
|
483
|
+
} & {
|
|
484
|
+
queryKey: [Pick<Options<GetOrgApiKeyData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
485
|
+
_id: string;
|
|
486
|
+
_infinite?: boolean;
|
|
487
|
+
tags?: ReadonlyArray<string>;
|
|
488
|
+
}] & {
|
|
489
|
+
[dataTagSymbol]: OrgApiKey;
|
|
490
|
+
[dataTagErrorSymbol]: GetOrgApiKeyError;
|
|
491
|
+
};
|
|
492
|
+
};
|
|
493
|
+
/**
|
|
494
|
+
* Update an org API key
|
|
495
|
+
*
|
|
496
|
+
* Renames the key and/or changes its org role. Revoked keys cannot be updated.
|
|
497
|
+
*/
|
|
498
|
+
declare const updateOrgApiKeyMutation: (options?: Partial<Options<UpdateOrgApiKeyData>>) => UseMutationOptions<UpdateOrgApiKeyResponse, UpdateOrgApiKeyError, Options<UpdateOrgApiKeyData>>;
|
|
499
|
+
/**
|
|
500
|
+
* Revoke an org API key
|
|
501
|
+
*
|
|
502
|
+
* Terminally revokes the key and removes its org and project roles. Idempotent.
|
|
503
|
+
*/
|
|
504
|
+
declare const revokeOrgApiKeyMutation: (options?: Partial<Options<RevokeOrgApiKeyData>>) => UseMutationOptions<RevokeOrgApiKeyResponse, RevokeOrgApiKeyError, Options<RevokeOrgApiKeyData>>;
|
|
505
|
+
declare const listOrgApiKeyProjectAccessQueryKey: (options: Options<ListOrgApiKeyProjectAccessData>) => [Pick<Options<ListOrgApiKeyProjectAccessData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
506
|
+
_id: string;
|
|
507
|
+
_infinite?: boolean;
|
|
508
|
+
tags?: ReadonlyArray<string>;
|
|
509
|
+
}];
|
|
510
|
+
/**
|
|
511
|
+
* List an org API key's explicit project role grants
|
|
512
|
+
*
|
|
513
|
+
* Lists the key's explicit per-project role grants. Keys with the admin org role implicitly have admin access to every project and will not appear here for those projects.
|
|
514
|
+
*/
|
|
515
|
+
declare const listOrgApiKeyProjectAccessOptions: (options: Options<ListOrgApiKeyProjectAccessData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListProjectMembershipGrantsResponse, ListOrgApiKeyProjectAccessError, ListProjectMembershipGrantsResponse, [Pick<Options<ListOrgApiKeyProjectAccessData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
516
|
+
_id: string;
|
|
517
|
+
_infinite?: boolean;
|
|
518
|
+
tags?: ReadonlyArray<string>;
|
|
519
|
+
}]>, "queryFn"> & {
|
|
520
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListProjectMembershipGrantsResponse, [Pick<Options<ListOrgApiKeyProjectAccessData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
521
|
+
_id: string;
|
|
522
|
+
_infinite?: boolean;
|
|
523
|
+
tags?: ReadonlyArray<string>;
|
|
524
|
+
}], never> | undefined;
|
|
525
|
+
} & {
|
|
526
|
+
queryKey: [Pick<Options<ListOrgApiKeyProjectAccessData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
527
|
+
_id: string;
|
|
528
|
+
_infinite?: boolean;
|
|
529
|
+
tags?: ReadonlyArray<string>;
|
|
530
|
+
}] & {
|
|
531
|
+
[dataTagSymbol]: ListProjectMembershipGrantsResponse;
|
|
532
|
+
[dataTagErrorSymbol]: ListOrgApiKeyProjectAccessError;
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
/**
|
|
536
|
+
* Remove an org API key's project role grant
|
|
537
|
+
*/
|
|
538
|
+
declare const removeOrgApiKeyProjectRoleMutation: (options?: Partial<Options<RemoveOrgApiKeyProjectRoleData>>) => UseMutationOptions<RemoveOrgApiKeyProjectRoleResponse, RemoveOrgApiKeyProjectRoleError, Options<RemoveOrgApiKeyProjectRoleData>>;
|
|
539
|
+
/**
|
|
540
|
+
* Set an org API key's role on a project
|
|
541
|
+
*
|
|
542
|
+
* Creates or updates the key's explicit role grant on the project.
|
|
543
|
+
*/
|
|
544
|
+
declare const setOrgApiKeyProjectRoleMutation: (options?: Partial<Options<SetOrgApiKeyProjectRoleData>>) => UseMutationOptions<SetOrgApiKeyProjectRoleResponse, SetOrgApiKeyProjectRoleError, Options<SetOrgApiKeyProjectRoleData>>;
|
|
545
|
+
declare const listOrgInvitationsQueryKey: (options: Options<ListOrgInvitationsData>) => [Pick<Options<ListOrgInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
546
|
+
_id: string;
|
|
547
|
+
_infinite?: boolean;
|
|
548
|
+
tags?: ReadonlyArray<string>;
|
|
549
|
+
}];
|
|
550
|
+
/**
|
|
551
|
+
* List org invitations
|
|
552
|
+
*
|
|
553
|
+
* Every listed invitation is pending: accepting, declining, revoking, or organization deletion removes the invitation. Items are ordered by created_at descending, then id descending.
|
|
554
|
+
*/
|
|
555
|
+
declare const listOrgInvitationsOptions: (options: Options<ListOrgInvitationsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListOrgInvitationsResponse, ListOrgInvitationsError, ListOrgInvitationsResponse, [Pick<Options<ListOrgInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
556
|
+
_id: string;
|
|
557
|
+
_infinite?: boolean;
|
|
558
|
+
tags?: ReadonlyArray<string>;
|
|
559
|
+
}]>, "queryFn"> & {
|
|
560
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListOrgInvitationsResponse, [Pick<Options<ListOrgInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
561
|
+
_id: string;
|
|
562
|
+
_infinite?: boolean;
|
|
563
|
+
tags?: ReadonlyArray<string>;
|
|
564
|
+
}], never> | undefined;
|
|
565
|
+
} & {
|
|
566
|
+
queryKey: [Pick<Options<ListOrgInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
567
|
+
_id: string;
|
|
568
|
+
_infinite?: boolean;
|
|
569
|
+
tags?: ReadonlyArray<string>;
|
|
570
|
+
}] & {
|
|
571
|
+
[dataTagSymbol]: ListOrgInvitationsResponse;
|
|
572
|
+
[dataTagErrorSymbol]: ListOrgInvitationsError;
|
|
573
|
+
};
|
|
574
|
+
};
|
|
575
|
+
declare const listOrgInvitationsInfiniteQueryKey: (options: Options<ListOrgInvitationsData>) => QueryKey<Options<ListOrgInvitationsData>>;
|
|
576
|
+
/**
|
|
577
|
+
* List org invitations
|
|
578
|
+
*
|
|
579
|
+
* Every listed invitation is pending: accepting, declining, revoking, or organization deletion removes the invitation. Items are ordered by created_at descending, then id descending.
|
|
580
|
+
*/
|
|
581
|
+
declare const listOrgInvitationsInfiniteOptions: (options: Options<ListOrgInvitationsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListOrgInvitationsResponse, ListOrgInvitationsError, InfiniteData<ListOrgInvitationsResponse, unknown>, QueryKey<Options<ListOrgInvitationsData>>, string | Pick<Pick<Options<ListOrgInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
582
|
+
_id: string;
|
|
583
|
+
_infinite?: boolean;
|
|
584
|
+
tags?: ReadonlyArray<string>;
|
|
585
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
586
|
+
initialData: InfiniteData<ListOrgInvitationsResponse, string | Pick<Pick<Options<ListOrgInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
587
|
+
_id: string;
|
|
588
|
+
_infinite?: boolean;
|
|
589
|
+
tags?: ReadonlyArray<string>;
|
|
590
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListOrgInvitationsResponse, string | Pick<Pick<Options<ListOrgInvitationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
591
|
+
_id: string;
|
|
592
|
+
_infinite?: boolean;
|
|
593
|
+
tags?: ReadonlyArray<string>;
|
|
594
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
595
|
+
} & {
|
|
596
|
+
queryKey: QueryKey<Options<ListOrgInvitationsData>> & {
|
|
597
|
+
[dataTagSymbol]: InfiniteData<ListOrgInvitationsResponse, unknown>;
|
|
598
|
+
[dataTagErrorSymbol]: ListOrgInvitationsError;
|
|
599
|
+
};
|
|
600
|
+
}, "initialData">;
|
|
601
|
+
/**
|
|
602
|
+
* Create org invitation
|
|
603
|
+
*/
|
|
604
|
+
declare const createOrgInvitationMutation: (options?: Partial<Options<CreateOrgInvitationData>>) => UseMutationOptions<CreateOrgInvitationResponse, CreateOrgInvitationError, Options<CreateOrgInvitationData>>;
|
|
605
|
+
/**
|
|
606
|
+
* Delete org invitation
|
|
607
|
+
*
|
|
608
|
+
* Deletes the pending invitation so it can no longer be accepted.
|
|
609
|
+
*/
|
|
610
|
+
declare const deleteOrgInvitationMutation: (options?: Partial<Options<DeleteOrgInvitationData>>) => UseMutationOptions<DeleteOrgInvitationResponse, DeleteOrgInvitationError, Options<DeleteOrgInvitationData>>;
|
|
611
|
+
declare const listSkillsQueryKey: (options: Options<ListSkillsData>) => [Pick<Options<ListSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
612
|
+
_id: string;
|
|
613
|
+
_infinite?: boolean;
|
|
614
|
+
tags?: ReadonlyArray<string>;
|
|
615
|
+
}];
|
|
616
|
+
/**
|
|
617
|
+
* List skills visible through ownership authority
|
|
618
|
+
*
|
|
619
|
+
* Items are ordered by created_at descending, then id descending. Without an owner filter, returns the deduplicated union of organization skills the caller may list, project skills the caller may list, and the caller's own user skills. Grants are managed separately and do not change ownership.
|
|
620
|
+
*/
|
|
621
|
+
declare const listSkillsOptions: (options: Options<ListSkillsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListSkillsResponse, ListSkillsError, ListSkillsResponse, [Pick<Options<ListSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
622
|
+
_id: string;
|
|
623
|
+
_infinite?: boolean;
|
|
624
|
+
tags?: ReadonlyArray<string>;
|
|
625
|
+
}]>, "queryFn"> & {
|
|
626
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListSkillsResponse, [Pick<Options<ListSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
627
|
+
_id: string;
|
|
628
|
+
_infinite?: boolean;
|
|
629
|
+
tags?: ReadonlyArray<string>;
|
|
630
|
+
}], never> | undefined;
|
|
631
|
+
} & {
|
|
632
|
+
queryKey: [Pick<Options<ListSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
633
|
+
_id: string;
|
|
634
|
+
_infinite?: boolean;
|
|
635
|
+
tags?: ReadonlyArray<string>;
|
|
636
|
+
}] & {
|
|
637
|
+
[dataTagSymbol]: ListSkillsResponse;
|
|
638
|
+
[dataTagErrorSymbol]: ListSkillsError;
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
declare const listSkillsInfiniteQueryKey: (options: Options<ListSkillsData>) => QueryKey<Options<ListSkillsData>>;
|
|
642
|
+
/**
|
|
643
|
+
* List skills visible through ownership authority
|
|
644
|
+
*
|
|
645
|
+
* Items are ordered by created_at descending, then id descending. Without an owner filter, returns the deduplicated union of organization skills the caller may list, project skills the caller may list, and the caller's own user skills. Grants are managed separately and do not change ownership.
|
|
646
|
+
*/
|
|
647
|
+
declare const listSkillsInfiniteOptions: (options: Options<ListSkillsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListSkillsResponse, ListSkillsError, InfiniteData<ListSkillsResponse, unknown>, QueryKey<Options<ListSkillsData>>, string | Pick<Pick<Options<ListSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
648
|
+
_id: string;
|
|
649
|
+
_infinite?: boolean;
|
|
650
|
+
tags?: ReadonlyArray<string>;
|
|
651
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
652
|
+
initialData: InfiniteData<ListSkillsResponse, string | Pick<Pick<Options<ListSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
653
|
+
_id: string;
|
|
654
|
+
_infinite?: boolean;
|
|
655
|
+
tags?: ReadonlyArray<string>;
|
|
656
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListSkillsResponse, string | Pick<Pick<Options<ListSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
657
|
+
_id: string;
|
|
658
|
+
_infinite?: boolean;
|
|
659
|
+
tags?: ReadonlyArray<string>;
|
|
660
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
661
|
+
} & {
|
|
662
|
+
queryKey: QueryKey<Options<ListSkillsData>> & {
|
|
663
|
+
[dataTagSymbol]: InfiniteData<ListSkillsResponse, unknown>;
|
|
664
|
+
[dataTagErrorSymbol]: ListSkillsError;
|
|
665
|
+
};
|
|
666
|
+
}, "initialData">;
|
|
667
|
+
/**
|
|
668
|
+
* Create skill
|
|
669
|
+
*
|
|
670
|
+
* Uploads a skill archive. If a skill with the archive's name already exists for the requested owner, the upload becomes the skill's next revision. The owner is immutable after creation.
|
|
671
|
+
*/
|
|
672
|
+
declare const createSkillMutation: (options?: Partial<Options<CreateSkillData>>) => UseMutationOptions<CreateSkillResponse, CreateSkillError, Options<CreateSkillData>>;
|
|
673
|
+
/**
|
|
674
|
+
* Delete skill
|
|
675
|
+
*
|
|
676
|
+
* Deletes the skill together with all of its revisions and project grants; uploaded archive content is destroyed. No other resources are deleted. Deletion is blocked while an active agent's configuration references the skill.
|
|
677
|
+
*/
|
|
678
|
+
declare const deleteSkillMutation: (options?: Partial<Options<DeleteSkillData>>) => UseMutationOptions<DeleteSkillResponse, DeleteSkillError, Options<DeleteSkillData>>;
|
|
679
|
+
declare const getSkillQueryKey: (options: Options<GetSkillData>) => [Pick<Options<GetSkillData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
680
|
+
_id: string;
|
|
681
|
+
_infinite?: boolean;
|
|
682
|
+
tags?: ReadonlyArray<string>;
|
|
683
|
+
}];
|
|
684
|
+
/**
|
|
685
|
+
* Get skill through ownership authority
|
|
686
|
+
*/
|
|
687
|
+
declare const getSkillOptions: (options: Options<GetSkillData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Skill, GetSkillError, Skill, [Pick<Options<GetSkillData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
688
|
+
_id: string;
|
|
689
|
+
_infinite?: boolean;
|
|
690
|
+
tags?: ReadonlyArray<string>;
|
|
691
|
+
}]>, "queryFn"> & {
|
|
692
|
+
queryFn?: _tanstack_react_query.QueryFunction<Skill, [Pick<Options<GetSkillData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
693
|
+
_id: string;
|
|
694
|
+
_infinite?: boolean;
|
|
695
|
+
tags?: ReadonlyArray<string>;
|
|
696
|
+
}], never> | undefined;
|
|
697
|
+
} & {
|
|
698
|
+
queryKey: [Pick<Options<GetSkillData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
699
|
+
_id: string;
|
|
700
|
+
_infinite?: boolean;
|
|
701
|
+
tags?: ReadonlyArray<string>;
|
|
702
|
+
}] & {
|
|
703
|
+
[dataTagSymbol]: Skill;
|
|
704
|
+
[dataTagErrorSymbol]: GetSkillError;
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
declare const listSkillGrantsQueryKey: (options: Options<ListSkillGrantsData>) => [Pick<Options<ListSkillGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
708
|
+
_id: string;
|
|
709
|
+
_infinite?: boolean;
|
|
710
|
+
tags?: ReadonlyArray<string>;
|
|
711
|
+
}];
|
|
712
|
+
/**
|
|
713
|
+
* List skill grants
|
|
714
|
+
*
|
|
715
|
+
* Items are ordered by created_at descending, then id descending.
|
|
716
|
+
*/
|
|
717
|
+
declare const listSkillGrantsOptions: (options: Options<ListSkillGrantsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListSkillGrantsResponse, ListSkillGrantsError, ListSkillGrantsResponse, [Pick<Options<ListSkillGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
718
|
+
_id: string;
|
|
719
|
+
_infinite?: boolean;
|
|
720
|
+
tags?: ReadonlyArray<string>;
|
|
721
|
+
}]>, "queryFn"> & {
|
|
722
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListSkillGrantsResponse, [Pick<Options<ListSkillGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
723
|
+
_id: string;
|
|
724
|
+
_infinite?: boolean;
|
|
725
|
+
tags?: ReadonlyArray<string>;
|
|
726
|
+
}], never> | undefined;
|
|
727
|
+
} & {
|
|
728
|
+
queryKey: [Pick<Options<ListSkillGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
729
|
+
_id: string;
|
|
730
|
+
_infinite?: boolean;
|
|
731
|
+
tags?: ReadonlyArray<string>;
|
|
732
|
+
}] & {
|
|
733
|
+
[dataTagSymbol]: ListSkillGrantsResponse;
|
|
734
|
+
[dataTagErrorSymbol]: ListSkillGrantsError;
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
declare const listSkillGrantsInfiniteQueryKey: (options: Options<ListSkillGrantsData>) => QueryKey<Options<ListSkillGrantsData>>;
|
|
738
|
+
/**
|
|
739
|
+
* List skill grants
|
|
740
|
+
*
|
|
741
|
+
* Items are ordered by created_at descending, then id descending.
|
|
742
|
+
*/
|
|
743
|
+
declare const listSkillGrantsInfiniteOptions: (options: Options<ListSkillGrantsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListSkillGrantsResponse, ListSkillGrantsError, InfiniteData<ListSkillGrantsResponse, unknown>, QueryKey<Options<ListSkillGrantsData>>, string | Pick<Pick<Options<ListSkillGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
744
|
+
_id: string;
|
|
745
|
+
_infinite?: boolean;
|
|
746
|
+
tags?: ReadonlyArray<string>;
|
|
747
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
748
|
+
initialData: InfiniteData<ListSkillGrantsResponse, string | Pick<Pick<Options<ListSkillGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
749
|
+
_id: string;
|
|
750
|
+
_infinite?: boolean;
|
|
751
|
+
tags?: ReadonlyArray<string>;
|
|
752
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListSkillGrantsResponse, string | Pick<Pick<Options<ListSkillGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
753
|
+
_id: string;
|
|
754
|
+
_infinite?: boolean;
|
|
755
|
+
tags?: ReadonlyArray<string>;
|
|
756
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
757
|
+
} & {
|
|
758
|
+
queryKey: QueryKey<Options<ListSkillGrantsData>> & {
|
|
759
|
+
[dataTagSymbol]: InfiniteData<ListSkillGrantsResponse, unknown>;
|
|
760
|
+
[dataTagErrorSymbol]: ListSkillGrantsError;
|
|
761
|
+
};
|
|
762
|
+
}, "initialData">;
|
|
763
|
+
/**
|
|
764
|
+
* Create skill grant
|
|
765
|
+
*/
|
|
766
|
+
declare const createSkillGrantMutation: (options?: Partial<Options<CreateSkillGrantData>>) => UseMutationOptions<CreateSkillGrantResponse, CreateSkillGrantError, Options<CreateSkillGrantData>>;
|
|
767
|
+
/**
|
|
768
|
+
* Delete skill grant
|
|
769
|
+
*
|
|
770
|
+
* Deletes only this project grant. The skill, its revisions, the target project, and other grants are retained, and there are no dependency blockers.
|
|
771
|
+
*/
|
|
772
|
+
declare const deleteSkillGrantMutation: (options?: Partial<Options<DeleteSkillGrantData>>) => UseMutationOptions<DeleteSkillGrantResponse, DeleteSkillGrantError, Options<DeleteSkillGrantData>>;
|
|
773
|
+
declare const listProjectAvailableSkillsQueryKey: (options: Options<ListProjectAvailableSkillsData>) => [Pick<Options<ListProjectAvailableSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
774
|
+
_id: string;
|
|
775
|
+
_infinite?: boolean;
|
|
776
|
+
tags?: ReadonlyArray<string>;
|
|
777
|
+
}];
|
|
778
|
+
/**
|
|
779
|
+
* List skills available to project
|
|
780
|
+
*
|
|
781
|
+
* Includes directly owned project skills and granted skills, ordered by created_at descending, then id descending.
|
|
782
|
+
*/
|
|
783
|
+
declare const listProjectAvailableSkillsOptions: (options: Options<ListProjectAvailableSkillsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListProjectSkillAccessesResponse, ListProjectAvailableSkillsError, ListProjectSkillAccessesResponse, [Pick<Options<ListProjectAvailableSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
784
|
+
_id: string;
|
|
785
|
+
_infinite?: boolean;
|
|
786
|
+
tags?: ReadonlyArray<string>;
|
|
787
|
+
}]>, "queryFn"> & {
|
|
788
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListProjectSkillAccessesResponse, [Pick<Options<ListProjectAvailableSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
789
|
+
_id: string;
|
|
790
|
+
_infinite?: boolean;
|
|
791
|
+
tags?: ReadonlyArray<string>;
|
|
792
|
+
}], never> | undefined;
|
|
793
|
+
} & {
|
|
794
|
+
queryKey: [Pick<Options<ListProjectAvailableSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
795
|
+
_id: string;
|
|
796
|
+
_infinite?: boolean;
|
|
797
|
+
tags?: ReadonlyArray<string>;
|
|
798
|
+
}] & {
|
|
799
|
+
[dataTagSymbol]: ListProjectSkillAccessesResponse;
|
|
800
|
+
[dataTagErrorSymbol]: ListProjectAvailableSkillsError;
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
declare const listProjectAvailableSkillsInfiniteQueryKey: (options: Options<ListProjectAvailableSkillsData>) => QueryKey<Options<ListProjectAvailableSkillsData>>;
|
|
804
|
+
/**
|
|
805
|
+
* List skills available to project
|
|
806
|
+
*
|
|
807
|
+
* Includes directly owned project skills and granted skills, ordered by created_at descending, then id descending.
|
|
808
|
+
*/
|
|
809
|
+
declare const listProjectAvailableSkillsInfiniteOptions: (options: Options<ListProjectAvailableSkillsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListProjectSkillAccessesResponse, ListProjectAvailableSkillsError, InfiniteData<ListProjectSkillAccessesResponse, unknown>, QueryKey<Options<ListProjectAvailableSkillsData>>, string | Pick<Pick<Options<ListProjectAvailableSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
810
|
+
_id: string;
|
|
811
|
+
_infinite?: boolean;
|
|
812
|
+
tags?: ReadonlyArray<string>;
|
|
813
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
814
|
+
initialData: InfiniteData<ListProjectSkillAccessesResponse, string | Pick<Pick<Options<ListProjectAvailableSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
815
|
+
_id: string;
|
|
816
|
+
_infinite?: boolean;
|
|
817
|
+
tags?: ReadonlyArray<string>;
|
|
818
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListProjectSkillAccessesResponse, string | Pick<Pick<Options<ListProjectAvailableSkillsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
819
|
+
_id: string;
|
|
820
|
+
_infinite?: boolean;
|
|
821
|
+
tags?: ReadonlyArray<string>;
|
|
822
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
823
|
+
} & {
|
|
824
|
+
queryKey: QueryKey<Options<ListProjectAvailableSkillsData>> & {
|
|
825
|
+
[dataTagSymbol]: InfiniteData<ListProjectSkillAccessesResponse, unknown>;
|
|
826
|
+
[dataTagErrorSymbol]: ListProjectAvailableSkillsError;
|
|
827
|
+
};
|
|
828
|
+
}, "initialData">;
|
|
829
|
+
declare const listSecretsQueryKey: (options: Options<ListSecretsData>) => [Pick<Options<ListSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
830
|
+
_id: string;
|
|
831
|
+
_infinite?: boolean;
|
|
832
|
+
tags?: ReadonlyArray<string>;
|
|
833
|
+
}];
|
|
834
|
+
/**
|
|
835
|
+
* List secrets visible through ownership authority
|
|
836
|
+
*
|
|
837
|
+
* Items are ordered by created_at descending, then id descending. Without an owner filter, returns the deduplicated union of organization secrets the caller may list, project secrets the caller may list, and the caller's own user secrets.
|
|
838
|
+
*/
|
|
839
|
+
declare const listSecretsOptions: (options: Options<ListSecretsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListSecretsResponse, ListSecretsError, ListSecretsResponse, [Pick<Options<ListSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
840
|
+
_id: string;
|
|
841
|
+
_infinite?: boolean;
|
|
842
|
+
tags?: ReadonlyArray<string>;
|
|
843
|
+
}]>, "queryFn"> & {
|
|
844
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListSecretsResponse, [Pick<Options<ListSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
845
|
+
_id: string;
|
|
846
|
+
_infinite?: boolean;
|
|
847
|
+
tags?: ReadonlyArray<string>;
|
|
848
|
+
}], never> | undefined;
|
|
849
|
+
} & {
|
|
850
|
+
queryKey: [Pick<Options<ListSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
851
|
+
_id: string;
|
|
852
|
+
_infinite?: boolean;
|
|
853
|
+
tags?: ReadonlyArray<string>;
|
|
854
|
+
}] & {
|
|
855
|
+
[dataTagSymbol]: ListSecretsResponse;
|
|
856
|
+
[dataTagErrorSymbol]: ListSecretsError;
|
|
857
|
+
};
|
|
858
|
+
};
|
|
859
|
+
declare const listSecretsInfiniteQueryKey: (options: Options<ListSecretsData>) => QueryKey<Options<ListSecretsData>>;
|
|
860
|
+
/**
|
|
861
|
+
* List secrets visible through ownership authority
|
|
862
|
+
*
|
|
863
|
+
* Items are ordered by created_at descending, then id descending. Without an owner filter, returns the deduplicated union of organization secrets the caller may list, project secrets the caller may list, and the caller's own user secrets.
|
|
864
|
+
*/
|
|
865
|
+
declare const listSecretsInfiniteOptions: (options: Options<ListSecretsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListSecretsResponse, ListSecretsError, InfiniteData<ListSecretsResponse, unknown>, QueryKey<Options<ListSecretsData>>, string | Pick<Pick<Options<ListSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
866
|
+
_id: string;
|
|
867
|
+
_infinite?: boolean;
|
|
868
|
+
tags?: ReadonlyArray<string>;
|
|
869
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
870
|
+
initialData: InfiniteData<ListSecretsResponse, string | Pick<Pick<Options<ListSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
871
|
+
_id: string;
|
|
872
|
+
_infinite?: boolean;
|
|
873
|
+
tags?: ReadonlyArray<string>;
|
|
874
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListSecretsResponse, string | Pick<Pick<Options<ListSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
875
|
+
_id: string;
|
|
876
|
+
_infinite?: boolean;
|
|
877
|
+
tags?: ReadonlyArray<string>;
|
|
878
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
879
|
+
} & {
|
|
880
|
+
queryKey: QueryKey<Options<ListSecretsData>> & {
|
|
881
|
+
[dataTagSymbol]: InfiniteData<ListSecretsResponse, unknown>;
|
|
882
|
+
[dataTagErrorSymbol]: ListSecretsError;
|
|
883
|
+
};
|
|
884
|
+
}, "initialData">;
|
|
885
|
+
/**
|
|
886
|
+
* Create secret
|
|
887
|
+
*/
|
|
888
|
+
declare const createSecretMutation: (options?: Partial<Options<CreateSecretData>>) => UseMutationOptions<CreateSecretResponse, CreateSecretError, Options<CreateSecretData>>;
|
|
889
|
+
/**
|
|
890
|
+
* Start MCP OAuth for a new secret
|
|
891
|
+
*/
|
|
892
|
+
declare const startSecretMcpoAuthMutation: (options?: Partial<Options<StartSecretMcpoAuthData>>) => UseMutationOptions<StartSecretMcpoAuthResponse, StartSecretMcpoAuthError, Options<StartSecretMcpoAuthData>>;
|
|
893
|
+
/**
|
|
894
|
+
* Delete secret
|
|
895
|
+
*
|
|
896
|
+
* Deletes the secret and permanently destroys all of its versions and project grants; the ciphertext cannot be recovered. Deletion is blocked while the secret is referenced by a model provider config, machine pool, or integration install.
|
|
897
|
+
*/
|
|
898
|
+
declare const deleteSecretMutation: (options?: Partial<Options<DeleteSecretData>>) => UseMutationOptions<DeleteSecretResponse, DeleteSecretError, Options<DeleteSecretData>>;
|
|
899
|
+
declare const getSecretQueryKey: (options: Options<GetSecretData>) => [Pick<Options<GetSecretData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
900
|
+
_id: string;
|
|
901
|
+
_infinite?: boolean;
|
|
902
|
+
tags?: ReadonlyArray<string>;
|
|
903
|
+
}];
|
|
904
|
+
/**
|
|
905
|
+
* Get secret through ownership authority
|
|
906
|
+
*/
|
|
907
|
+
declare const getSecretOptions: (options: Options<GetSecretData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Secret, GetSecretError, Secret, [Pick<Options<GetSecretData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
908
|
+
_id: string;
|
|
909
|
+
_infinite?: boolean;
|
|
910
|
+
tags?: ReadonlyArray<string>;
|
|
911
|
+
}]>, "queryFn"> & {
|
|
912
|
+
queryFn?: _tanstack_react_query.QueryFunction<Secret, [Pick<Options<GetSecretData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
913
|
+
_id: string;
|
|
914
|
+
_infinite?: boolean;
|
|
915
|
+
tags?: ReadonlyArray<string>;
|
|
916
|
+
}], never> | undefined;
|
|
917
|
+
} & {
|
|
918
|
+
queryKey: [Pick<Options<GetSecretData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
919
|
+
_id: string;
|
|
920
|
+
_infinite?: boolean;
|
|
921
|
+
tags?: ReadonlyArray<string>;
|
|
922
|
+
}] & {
|
|
923
|
+
[dataTagSymbol]: Secret;
|
|
924
|
+
[dataTagErrorSymbol]: GetSecretError;
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
/**
|
|
928
|
+
* Update secret metadata
|
|
929
|
+
*/
|
|
930
|
+
declare const updateSecretMutation: (options?: Partial<Options<UpdateSecretData>>) => UseMutationOptions<UpdateSecretResponse, UpdateSecretError, Options<UpdateSecretData>>;
|
|
931
|
+
/**
|
|
932
|
+
* Create secret version
|
|
933
|
+
*/
|
|
934
|
+
declare const createSecretVersionMutation: (options?: Partial<Options<CreateSecretVersionData>>) => UseMutationOptions<CreateSecretVersionResponse, CreateSecretVersionError, Options<CreateSecretVersionData>>;
|
|
935
|
+
declare const listSecretGrantsQueryKey: (options: Options<ListSecretGrantsData>) => [Pick<Options<ListSecretGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
936
|
+
_id: string;
|
|
937
|
+
_infinite?: boolean;
|
|
938
|
+
tags?: ReadonlyArray<string>;
|
|
939
|
+
}];
|
|
940
|
+
/**
|
|
941
|
+
* List secret grants
|
|
942
|
+
*
|
|
943
|
+
* Items are ordered by created_at descending, then id descending.
|
|
944
|
+
*/
|
|
945
|
+
declare const listSecretGrantsOptions: (options: Options<ListSecretGrantsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListSecretGrantsResponse, ListSecretGrantsError, ListSecretGrantsResponse, [Pick<Options<ListSecretGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
946
|
+
_id: string;
|
|
947
|
+
_infinite?: boolean;
|
|
948
|
+
tags?: ReadonlyArray<string>;
|
|
949
|
+
}]>, "queryFn"> & {
|
|
950
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListSecretGrantsResponse, [Pick<Options<ListSecretGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
951
|
+
_id: string;
|
|
952
|
+
_infinite?: boolean;
|
|
953
|
+
tags?: ReadonlyArray<string>;
|
|
954
|
+
}], never> | undefined;
|
|
955
|
+
} & {
|
|
956
|
+
queryKey: [Pick<Options<ListSecretGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
957
|
+
_id: string;
|
|
958
|
+
_infinite?: boolean;
|
|
959
|
+
tags?: ReadonlyArray<string>;
|
|
960
|
+
}] & {
|
|
961
|
+
[dataTagSymbol]: ListSecretGrantsResponse;
|
|
962
|
+
[dataTagErrorSymbol]: ListSecretGrantsError;
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
declare const listSecretGrantsInfiniteQueryKey: (options: Options<ListSecretGrantsData>) => QueryKey<Options<ListSecretGrantsData>>;
|
|
966
|
+
/**
|
|
967
|
+
* List secret grants
|
|
968
|
+
*
|
|
969
|
+
* Items are ordered by created_at descending, then id descending.
|
|
970
|
+
*/
|
|
971
|
+
declare const listSecretGrantsInfiniteOptions: (options: Options<ListSecretGrantsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListSecretGrantsResponse, ListSecretGrantsError, InfiniteData<ListSecretGrantsResponse, unknown>, QueryKey<Options<ListSecretGrantsData>>, string | Pick<Pick<Options<ListSecretGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
972
|
+
_id: string;
|
|
973
|
+
_infinite?: boolean;
|
|
974
|
+
tags?: ReadonlyArray<string>;
|
|
975
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
976
|
+
initialData: InfiniteData<ListSecretGrantsResponse, string | Pick<Pick<Options<ListSecretGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
977
|
+
_id: string;
|
|
978
|
+
_infinite?: boolean;
|
|
979
|
+
tags?: ReadonlyArray<string>;
|
|
980
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListSecretGrantsResponse, string | Pick<Pick<Options<ListSecretGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
981
|
+
_id: string;
|
|
982
|
+
_infinite?: boolean;
|
|
983
|
+
tags?: ReadonlyArray<string>;
|
|
984
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
985
|
+
} & {
|
|
986
|
+
queryKey: QueryKey<Options<ListSecretGrantsData>> & {
|
|
987
|
+
[dataTagSymbol]: InfiniteData<ListSecretGrantsResponse, unknown>;
|
|
988
|
+
[dataTagErrorSymbol]: ListSecretGrantsError;
|
|
989
|
+
};
|
|
990
|
+
}, "initialData">;
|
|
991
|
+
/**
|
|
992
|
+
* Create secret grant
|
|
993
|
+
*/
|
|
994
|
+
declare const createSecretGrantMutation: (options?: Partial<Options<CreateSecretGrantData>>) => UseMutationOptions<CreateSecretGrantResponse, CreateSecretGrantError, Options<CreateSecretGrantData>>;
|
|
995
|
+
/**
|
|
996
|
+
* Delete secret grant
|
|
997
|
+
*
|
|
998
|
+
* Deletes only this project grant. The secret, its versions, the target project, and other grants are retained, and there are no dependency blockers.
|
|
999
|
+
*/
|
|
1000
|
+
declare const deleteSecretGrantMutation: (options?: Partial<Options<DeleteSecretGrantData>>) => UseMutationOptions<DeleteSecretGrantResponse, DeleteSecretGrantError, Options<DeleteSecretGrantData>>;
|
|
1001
|
+
declare const listIntegrationInstallsQueryKey: (options: Options<ListIntegrationInstallsData>) => [Pick<Options<ListIntegrationInstallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1002
|
+
_id: string;
|
|
1003
|
+
_infinite?: boolean;
|
|
1004
|
+
tags?: ReadonlyArray<string>;
|
|
1005
|
+
}];
|
|
1006
|
+
/**
|
|
1007
|
+
* List integration installs
|
|
1008
|
+
*
|
|
1009
|
+
* Items are ordered by created_at descending, then id descending. The list's logical name is provider_agent_display_name.
|
|
1010
|
+
*/
|
|
1011
|
+
declare const listIntegrationInstallsOptions: (options: Options<ListIntegrationInstallsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListIntegrationInstallsResponse, ListIntegrationInstallsError, ListIntegrationInstallsResponse, [Pick<Options<ListIntegrationInstallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1012
|
+
_id: string;
|
|
1013
|
+
_infinite?: boolean;
|
|
1014
|
+
tags?: ReadonlyArray<string>;
|
|
1015
|
+
}]>, "queryFn"> & {
|
|
1016
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListIntegrationInstallsResponse, [Pick<Options<ListIntegrationInstallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1017
|
+
_id: string;
|
|
1018
|
+
_infinite?: boolean;
|
|
1019
|
+
tags?: ReadonlyArray<string>;
|
|
1020
|
+
}], never> | undefined;
|
|
1021
|
+
} & {
|
|
1022
|
+
queryKey: [Pick<Options<ListIntegrationInstallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1023
|
+
_id: string;
|
|
1024
|
+
_infinite?: boolean;
|
|
1025
|
+
tags?: ReadonlyArray<string>;
|
|
1026
|
+
}] & {
|
|
1027
|
+
[dataTagSymbol]: ListIntegrationInstallsResponse;
|
|
1028
|
+
[dataTagErrorSymbol]: ListIntegrationInstallsError;
|
|
1029
|
+
};
|
|
1030
|
+
};
|
|
1031
|
+
declare const listIntegrationInstallsInfiniteQueryKey: (options: Options<ListIntegrationInstallsData>) => QueryKey<Options<ListIntegrationInstallsData>>;
|
|
1032
|
+
/**
|
|
1033
|
+
* List integration installs
|
|
1034
|
+
*
|
|
1035
|
+
* Items are ordered by created_at descending, then id descending. The list's logical name is provider_agent_display_name.
|
|
1036
|
+
*/
|
|
1037
|
+
declare const listIntegrationInstallsInfiniteOptions: (options: Options<ListIntegrationInstallsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListIntegrationInstallsResponse, ListIntegrationInstallsError, InfiniteData<ListIntegrationInstallsResponse, unknown>, QueryKey<Options<ListIntegrationInstallsData>>, string | Pick<Pick<Options<ListIntegrationInstallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1038
|
+
_id: string;
|
|
1039
|
+
_infinite?: boolean;
|
|
1040
|
+
tags?: ReadonlyArray<string>;
|
|
1041
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
1042
|
+
initialData: InfiniteData<ListIntegrationInstallsResponse, string | Pick<Pick<Options<ListIntegrationInstallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1043
|
+
_id: string;
|
|
1044
|
+
_infinite?: boolean;
|
|
1045
|
+
tags?: ReadonlyArray<string>;
|
|
1046
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListIntegrationInstallsResponse, string | Pick<Pick<Options<ListIntegrationInstallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1047
|
+
_id: string;
|
|
1048
|
+
_infinite?: boolean;
|
|
1049
|
+
tags?: ReadonlyArray<string>;
|
|
1050
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
1051
|
+
} & {
|
|
1052
|
+
queryKey: QueryKey<Options<ListIntegrationInstallsData>> & {
|
|
1053
|
+
[dataTagSymbol]: InfiniteData<ListIntegrationInstallsResponse, unknown>;
|
|
1054
|
+
[dataTagErrorSymbol]: ListIntegrationInstallsError;
|
|
1055
|
+
};
|
|
1056
|
+
}, "initialData">;
|
|
1057
|
+
/**
|
|
1058
|
+
* Delete integration install
|
|
1059
|
+
*
|
|
1060
|
+
* Deletes the install and all of its integration targets and clears those target associations from agents. Agents and profiles are retained. This uninstalls on the Omnara side only: credentials already issued by the provider are not revoked and provider-side webhooks are not removed.
|
|
1061
|
+
*/
|
|
1062
|
+
declare const deleteIntegrationInstallMutation: (options?: Partial<Options<DeleteIntegrationInstallData>>) => UseMutationOptions<DeleteIntegrationInstallResponse, DeleteIntegrationInstallError, Options<DeleteIntegrationInstallData>>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Create agent config
|
|
1065
|
+
*/
|
|
1066
|
+
declare const createAgentConfigMutation: (options?: Partial<Options<CreateAgentConfigData>>) => UseMutationOptions<CreateAgentConfigResponse, CreateAgentConfigError, Options<CreateAgentConfigData>>;
|
|
1067
|
+
declare const getToolCatalogQueryKey: (options?: Options<GetToolCatalogData>) => [Pick<Options<GetToolCatalogData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1068
|
+
_id: string;
|
|
1069
|
+
_infinite?: boolean;
|
|
1070
|
+
tags?: ReadonlyArray<string>;
|
|
1071
|
+
}];
|
|
1072
|
+
/**
|
|
1073
|
+
* Get tool catalog
|
|
1074
|
+
*/
|
|
1075
|
+
declare const getToolCatalogOptions: (options?: Options<GetToolCatalogData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ToolCatalog, GetToolCatalogError, ToolCatalog, [Pick<Options<GetToolCatalogData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1076
|
+
_id: string;
|
|
1077
|
+
_infinite?: boolean;
|
|
1078
|
+
tags?: ReadonlyArray<string>;
|
|
1079
|
+
}]>, "queryFn"> & {
|
|
1080
|
+
queryFn?: _tanstack_react_query.QueryFunction<ToolCatalog, [Pick<Options<GetToolCatalogData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1081
|
+
_id: string;
|
|
1082
|
+
_infinite?: boolean;
|
|
1083
|
+
tags?: ReadonlyArray<string>;
|
|
1084
|
+
}], never> | undefined;
|
|
1085
|
+
} & {
|
|
1086
|
+
queryKey: [Pick<Options<GetToolCatalogData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1087
|
+
_id: string;
|
|
1088
|
+
_infinite?: boolean;
|
|
1089
|
+
tags?: ReadonlyArray<string>;
|
|
1090
|
+
}] & {
|
|
1091
|
+
[dataTagSymbol]: ToolCatalog;
|
|
1092
|
+
[dataTagErrorSymbol]: GetToolCatalogError;
|
|
1093
|
+
};
|
|
1094
|
+
};
|
|
1095
|
+
declare const getAgentConfigQueryKey: (options: Options<GetAgentConfigData>) => [Pick<Options<GetAgentConfigData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1096
|
+
_id: string;
|
|
1097
|
+
_infinite?: boolean;
|
|
1098
|
+
tags?: ReadonlyArray<string>;
|
|
1099
|
+
}];
|
|
1100
|
+
/**
|
|
1101
|
+
* Get agent config
|
|
1102
|
+
*/
|
|
1103
|
+
declare const getAgentConfigOptions: (options: Options<GetAgentConfigData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<AgentConfig, GetAgentConfigError, AgentConfig, [Pick<Options<GetAgentConfigData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1104
|
+
_id: string;
|
|
1105
|
+
_infinite?: boolean;
|
|
1106
|
+
tags?: ReadonlyArray<string>;
|
|
1107
|
+
}]>, "queryFn"> & {
|
|
1108
|
+
queryFn?: _tanstack_react_query.QueryFunction<AgentConfig, [Pick<Options<GetAgentConfigData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1109
|
+
_id: string;
|
|
1110
|
+
_infinite?: boolean;
|
|
1111
|
+
tags?: ReadonlyArray<string>;
|
|
1112
|
+
}], never> | undefined;
|
|
1113
|
+
} & {
|
|
1114
|
+
queryKey: [Pick<Options<GetAgentConfigData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1115
|
+
_id: string;
|
|
1116
|
+
_infinite?: boolean;
|
|
1117
|
+
tags?: ReadonlyArray<string>;
|
|
1118
|
+
}] & {
|
|
1119
|
+
[dataTagSymbol]: AgentConfig;
|
|
1120
|
+
[dataTagErrorSymbol]: GetAgentConfigError;
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
declare const listAgentProfilesQueryKey: (options: Options<ListAgentProfilesData>) => [Pick<Options<ListAgentProfilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1124
|
+
_id: string;
|
|
1125
|
+
_infinite?: boolean;
|
|
1126
|
+
tags?: ReadonlyArray<string>;
|
|
1127
|
+
}];
|
|
1128
|
+
/**
|
|
1129
|
+
* List agent profiles
|
|
1130
|
+
*
|
|
1131
|
+
* Items are ordered by created_at descending, then id descending.
|
|
1132
|
+
*/
|
|
1133
|
+
declare const listAgentProfilesOptions: (options: Options<ListAgentProfilesData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListAgentProfilesResponse, ListAgentProfilesError, ListAgentProfilesResponse, [Pick<Options<ListAgentProfilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1134
|
+
_id: string;
|
|
1135
|
+
_infinite?: boolean;
|
|
1136
|
+
tags?: ReadonlyArray<string>;
|
|
1137
|
+
}]>, "queryFn"> & {
|
|
1138
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListAgentProfilesResponse, [Pick<Options<ListAgentProfilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1139
|
+
_id: string;
|
|
1140
|
+
_infinite?: boolean;
|
|
1141
|
+
tags?: ReadonlyArray<string>;
|
|
1142
|
+
}], never> | undefined;
|
|
1143
|
+
} & {
|
|
1144
|
+
queryKey: [Pick<Options<ListAgentProfilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1145
|
+
_id: string;
|
|
1146
|
+
_infinite?: boolean;
|
|
1147
|
+
tags?: ReadonlyArray<string>;
|
|
1148
|
+
}] & {
|
|
1149
|
+
[dataTagSymbol]: ListAgentProfilesResponse;
|
|
1150
|
+
[dataTagErrorSymbol]: ListAgentProfilesError;
|
|
1151
|
+
};
|
|
1152
|
+
};
|
|
1153
|
+
declare const listAgentProfilesInfiniteQueryKey: (options: Options<ListAgentProfilesData>) => QueryKey<Options<ListAgentProfilesData>>;
|
|
1154
|
+
/**
|
|
1155
|
+
* List agent profiles
|
|
1156
|
+
*
|
|
1157
|
+
* Items are ordered by created_at descending, then id descending.
|
|
1158
|
+
*/
|
|
1159
|
+
declare const listAgentProfilesInfiniteOptions: (options: Options<ListAgentProfilesData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListAgentProfilesResponse, ListAgentProfilesError, InfiniteData<ListAgentProfilesResponse, unknown>, QueryKey<Options<ListAgentProfilesData>>, string | Pick<Pick<Options<ListAgentProfilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1160
|
+
_id: string;
|
|
1161
|
+
_infinite?: boolean;
|
|
1162
|
+
tags?: ReadonlyArray<string>;
|
|
1163
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
1164
|
+
initialData: InfiniteData<ListAgentProfilesResponse, string | Pick<Pick<Options<ListAgentProfilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1165
|
+
_id: string;
|
|
1166
|
+
_infinite?: boolean;
|
|
1167
|
+
tags?: ReadonlyArray<string>;
|
|
1168
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListAgentProfilesResponse, string | Pick<Pick<Options<ListAgentProfilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1169
|
+
_id: string;
|
|
1170
|
+
_infinite?: boolean;
|
|
1171
|
+
tags?: ReadonlyArray<string>;
|
|
1172
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
1173
|
+
} & {
|
|
1174
|
+
queryKey: QueryKey<Options<ListAgentProfilesData>> & {
|
|
1175
|
+
[dataTagSymbol]: InfiniteData<ListAgentProfilesResponse, unknown>;
|
|
1176
|
+
[dataTagErrorSymbol]: ListAgentProfilesError;
|
|
1177
|
+
};
|
|
1178
|
+
}, "initialData">;
|
|
1179
|
+
/**
|
|
1180
|
+
* Create agent profile
|
|
1181
|
+
*/
|
|
1182
|
+
declare const createAgentProfileMutation: (options?: Partial<Options<CreateAgentProfileData>>) => UseMutationOptions<CreateAgentProfileResponse, CreateAgentProfileError, Options<CreateAgentProfileData>>;
|
|
1183
|
+
/**
|
|
1184
|
+
* Delete agent profile
|
|
1185
|
+
*
|
|
1186
|
+
* Deletes the profile, all of its profile versions, and any cron triggers targeting the profile. Agents launched from the profile are retained and keep running: each agent holds an immutable snapshot of the configuration it was launched with, so its reference to the profile becomes historical provenance only. Deletion is blocked while an active integration install references the profile.
|
|
1187
|
+
*/
|
|
1188
|
+
declare const deleteAgentProfileMutation: (options?: Partial<Options<DeleteAgentProfileData>>) => UseMutationOptions<DeleteAgentProfileResponse, DeleteAgentProfileError, Options<DeleteAgentProfileData>>;
|
|
1189
|
+
declare const getAgentProfileQueryKey: (options: Options<GetAgentProfileData>) => [Pick<Options<GetAgentProfileData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1190
|
+
_id: string;
|
|
1191
|
+
_infinite?: boolean;
|
|
1192
|
+
tags?: ReadonlyArray<string>;
|
|
1193
|
+
}];
|
|
1194
|
+
/**
|
|
1195
|
+
* Get agent profile
|
|
1196
|
+
*/
|
|
1197
|
+
declare const getAgentProfileOptions: (options: Options<GetAgentProfileData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<AgentProfile, GetAgentProfileError, AgentProfile, [Pick<Options<GetAgentProfileData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1198
|
+
_id: string;
|
|
1199
|
+
_infinite?: boolean;
|
|
1200
|
+
tags?: ReadonlyArray<string>;
|
|
1201
|
+
}]>, "queryFn"> & {
|
|
1202
|
+
queryFn?: _tanstack_react_query.QueryFunction<AgentProfile, [Pick<Options<GetAgentProfileData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1203
|
+
_id: string;
|
|
1204
|
+
_infinite?: boolean;
|
|
1205
|
+
tags?: ReadonlyArray<string>;
|
|
1206
|
+
}], never> | undefined;
|
|
1207
|
+
} & {
|
|
1208
|
+
queryKey: [Pick<Options<GetAgentProfileData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1209
|
+
_id: string;
|
|
1210
|
+
_infinite?: boolean;
|
|
1211
|
+
tags?: ReadonlyArray<string>;
|
|
1212
|
+
}] & {
|
|
1213
|
+
[dataTagSymbol]: AgentProfile;
|
|
1214
|
+
[dataTagErrorSymbol]: GetAgentProfileError;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
/**
|
|
1218
|
+
* Rename agent profile
|
|
1219
|
+
*/
|
|
1220
|
+
declare const renameAgentProfileMutation: (options?: Partial<Options<RenameAgentProfileData>>) => UseMutationOptions<RenameAgentProfileResponse, RenameAgentProfileError, Options<RenameAgentProfileData>>;
|
|
1221
|
+
/**
|
|
1222
|
+
* Update agent profile
|
|
1223
|
+
*/
|
|
1224
|
+
declare const updateAgentProfileMutation: (options?: Partial<Options<UpdateAgentProfileData>>) => UseMutationOptions<UpdateAgentProfileResponse, UpdateAgentProfileError, Options<UpdateAgentProfileData>>;
|
|
1225
|
+
/**
|
|
1226
|
+
* Create integration OAuth setup
|
|
1227
|
+
*/
|
|
1228
|
+
declare const createIntegrationOAuthSetupMutation: (options?: Partial<Options<CreateIntegrationOAuthSetupData>>) => UseMutationOptions<CreateIntegrationOAuthSetupResponse, CreateIntegrationOAuthSetupError, Options<CreateIntegrationOAuthSetupData>>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Create Slack app and OAuth setup
|
|
1231
|
+
*/
|
|
1232
|
+
declare const createSlackSetupMutation: (options?: Partial<Options<CreateSlackSetupData>>) => UseMutationOptions<CreateSlackSetupResponse, CreateSlackSetupError, Options<CreateSlackSetupData>>;
|
|
1233
|
+
declare const listCronTriggersQueryKey: (options: Options<ListCronTriggersData>) => [Pick<Options<ListCronTriggersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1234
|
+
_id: string;
|
|
1235
|
+
_infinite?: boolean;
|
|
1236
|
+
tags?: ReadonlyArray<string>;
|
|
1237
|
+
}];
|
|
1238
|
+
/**
|
|
1239
|
+
* List cron triggers
|
|
1240
|
+
*
|
|
1241
|
+
* Items are ordered by created_at descending, then id descending.
|
|
1242
|
+
*/
|
|
1243
|
+
declare const listCronTriggersOptions: (options: Options<ListCronTriggersData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListCronTriggersResponse, ListCronTriggersError, ListCronTriggersResponse, [Pick<Options<ListCronTriggersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1244
|
+
_id: string;
|
|
1245
|
+
_infinite?: boolean;
|
|
1246
|
+
tags?: ReadonlyArray<string>;
|
|
1247
|
+
}]>, "queryFn"> & {
|
|
1248
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListCronTriggersResponse, [Pick<Options<ListCronTriggersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1249
|
+
_id: string;
|
|
1250
|
+
_infinite?: boolean;
|
|
1251
|
+
tags?: ReadonlyArray<string>;
|
|
1252
|
+
}], never> | undefined;
|
|
1253
|
+
} & {
|
|
1254
|
+
queryKey: [Pick<Options<ListCronTriggersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1255
|
+
_id: string;
|
|
1256
|
+
_infinite?: boolean;
|
|
1257
|
+
tags?: ReadonlyArray<string>;
|
|
1258
|
+
}] & {
|
|
1259
|
+
[dataTagSymbol]: ListCronTriggersResponse;
|
|
1260
|
+
[dataTagErrorSymbol]: ListCronTriggersError;
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
declare const listCronTriggersInfiniteQueryKey: (options: Options<ListCronTriggersData>) => QueryKey<Options<ListCronTriggersData>>;
|
|
1264
|
+
/**
|
|
1265
|
+
* List cron triggers
|
|
1266
|
+
*
|
|
1267
|
+
* Items are ordered by created_at descending, then id descending.
|
|
1268
|
+
*/
|
|
1269
|
+
declare const listCronTriggersInfiniteOptions: (options: Options<ListCronTriggersData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListCronTriggersResponse, ListCronTriggersError, InfiniteData<ListCronTriggersResponse, unknown>, QueryKey<Options<ListCronTriggersData>>, string | Pick<Pick<Options<ListCronTriggersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1270
|
+
_id: string;
|
|
1271
|
+
_infinite?: boolean;
|
|
1272
|
+
tags?: ReadonlyArray<string>;
|
|
1273
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
1274
|
+
initialData: InfiniteData<ListCronTriggersResponse, string | Pick<Pick<Options<ListCronTriggersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1275
|
+
_id: string;
|
|
1276
|
+
_infinite?: boolean;
|
|
1277
|
+
tags?: ReadonlyArray<string>;
|
|
1278
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListCronTriggersResponse, string | Pick<Pick<Options<ListCronTriggersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1279
|
+
_id: string;
|
|
1280
|
+
_infinite?: boolean;
|
|
1281
|
+
tags?: ReadonlyArray<string>;
|
|
1282
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
1283
|
+
} & {
|
|
1284
|
+
queryKey: QueryKey<Options<ListCronTriggersData>> & {
|
|
1285
|
+
[dataTagSymbol]: InfiniteData<ListCronTriggersResponse, unknown>;
|
|
1286
|
+
[dataTagErrorSymbol]: ListCronTriggersError;
|
|
1287
|
+
};
|
|
1288
|
+
}, "initialData">;
|
|
1289
|
+
/**
|
|
1290
|
+
* Create cron trigger
|
|
1291
|
+
*
|
|
1292
|
+
* Creates a cron trigger that fires on a schedule. A trigger targeting an agent profile launches a new agent from the profile's current config on each firing; a trigger targeting an agent sends an input to that agent. Missed firings are coalesced, matching standard cron behavior: if one or more scheduled times pass while firing is delayed, the trigger fires once for the oldest missed time and then resumes its schedule from the current time, without retroactively firing for the other missed times.
|
|
1293
|
+
*/
|
|
1294
|
+
declare const createCronTriggerMutation: (options?: Partial<Options<CreateCronTriggerData>>) => UseMutationOptions<CreateCronTriggerResponse, CreateCronTriggerError, Options<CreateCronTriggerData>>;
|
|
1295
|
+
/**
|
|
1296
|
+
* Delete cron trigger
|
|
1297
|
+
*/
|
|
1298
|
+
declare const deleteCronTriggerMutation: (options?: Partial<Options<DeleteCronTriggerData>>) => UseMutationOptions<DeleteCronTriggerResponse, DeleteCronTriggerError, Options<DeleteCronTriggerData>>;
|
|
1299
|
+
declare const getCronTriggerQueryKey: (options: Options<GetCronTriggerData>) => [Pick<Options<GetCronTriggerData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1300
|
+
_id: string;
|
|
1301
|
+
_infinite?: boolean;
|
|
1302
|
+
tags?: ReadonlyArray<string>;
|
|
1303
|
+
}];
|
|
1304
|
+
/**
|
|
1305
|
+
* Get cron trigger
|
|
1306
|
+
*/
|
|
1307
|
+
declare const getCronTriggerOptions: (options: Options<GetCronTriggerData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<CronTrigger, GetCronTriggerError, CronTrigger, [Pick<Options<GetCronTriggerData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1308
|
+
_id: string;
|
|
1309
|
+
_infinite?: boolean;
|
|
1310
|
+
tags?: ReadonlyArray<string>;
|
|
1311
|
+
}]>, "queryFn"> & {
|
|
1312
|
+
queryFn?: _tanstack_react_query.QueryFunction<CronTrigger, [Pick<Options<GetCronTriggerData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1313
|
+
_id: string;
|
|
1314
|
+
_infinite?: boolean;
|
|
1315
|
+
tags?: ReadonlyArray<string>;
|
|
1316
|
+
}], never> | undefined;
|
|
1317
|
+
} & {
|
|
1318
|
+
queryKey: [Pick<Options<GetCronTriggerData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1319
|
+
_id: string;
|
|
1320
|
+
_infinite?: boolean;
|
|
1321
|
+
tags?: ReadonlyArray<string>;
|
|
1322
|
+
}] & {
|
|
1323
|
+
[dataTagSymbol]: CronTrigger;
|
|
1324
|
+
[dataTagErrorSymbol]: GetCronTriggerError;
|
|
1325
|
+
};
|
|
1326
|
+
};
|
|
1327
|
+
/**
|
|
1328
|
+
* Update cron trigger
|
|
1329
|
+
*
|
|
1330
|
+
* Updates the schedule, message template, or enabled state. The target is immutable; delete the trigger and create a new one to retarget.
|
|
1331
|
+
*/
|
|
1332
|
+
declare const updateCronTriggerMutation: (options?: Partial<Options<UpdateCronTriggerData>>) => UseMutationOptions<UpdateCronTriggerResponse, UpdateCronTriggerError, Options<UpdateCronTriggerData>>;
|
|
1333
|
+
declare const listAgentsQueryKey: (options: Options<ListAgentsData>) => [Pick<Options<ListAgentsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1334
|
+
_id: string;
|
|
1335
|
+
_infinite?: boolean;
|
|
1336
|
+
tags?: ReadonlyArray<string>;
|
|
1337
|
+
}];
|
|
1338
|
+
/**
|
|
1339
|
+
* List agents
|
|
1340
|
+
*
|
|
1341
|
+
* Items are ordered by created_at descending, then id descending.
|
|
1342
|
+
*/
|
|
1343
|
+
declare const listAgentsOptions: (options: Options<ListAgentsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListAgentsResponse, ListAgentsError, ListAgentsResponse, [Pick<Options<ListAgentsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1344
|
+
_id: string;
|
|
1345
|
+
_infinite?: boolean;
|
|
1346
|
+
tags?: ReadonlyArray<string>;
|
|
1347
|
+
}]>, "queryFn"> & {
|
|
1348
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListAgentsResponse, [Pick<Options<ListAgentsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1349
|
+
_id: string;
|
|
1350
|
+
_infinite?: boolean;
|
|
1351
|
+
tags?: ReadonlyArray<string>;
|
|
1352
|
+
}], never> | undefined;
|
|
1353
|
+
} & {
|
|
1354
|
+
queryKey: [Pick<Options<ListAgentsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1355
|
+
_id: string;
|
|
1356
|
+
_infinite?: boolean;
|
|
1357
|
+
tags?: ReadonlyArray<string>;
|
|
1358
|
+
}] & {
|
|
1359
|
+
[dataTagSymbol]: ListAgentsResponse;
|
|
1360
|
+
[dataTagErrorSymbol]: ListAgentsError;
|
|
1361
|
+
};
|
|
1362
|
+
};
|
|
1363
|
+
declare const listAgentsInfiniteQueryKey: (options: Options<ListAgentsData>) => QueryKey<Options<ListAgentsData>>;
|
|
1364
|
+
/**
|
|
1365
|
+
* List agents
|
|
1366
|
+
*
|
|
1367
|
+
* Items are ordered by created_at descending, then id descending.
|
|
1368
|
+
*/
|
|
1369
|
+
declare const listAgentsInfiniteOptions: (options: Options<ListAgentsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListAgentsResponse, ListAgentsError, InfiniteData<ListAgentsResponse, unknown>, QueryKey<Options<ListAgentsData>>, string | Pick<Pick<Options<ListAgentsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1370
|
+
_id: string;
|
|
1371
|
+
_infinite?: boolean;
|
|
1372
|
+
tags?: ReadonlyArray<string>;
|
|
1373
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
1374
|
+
initialData: InfiniteData<ListAgentsResponse, string | Pick<Pick<Options<ListAgentsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1375
|
+
_id: string;
|
|
1376
|
+
_infinite?: boolean;
|
|
1377
|
+
tags?: ReadonlyArray<string>;
|
|
1378
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListAgentsResponse, string | Pick<Pick<Options<ListAgentsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1379
|
+
_id: string;
|
|
1380
|
+
_infinite?: boolean;
|
|
1381
|
+
tags?: ReadonlyArray<string>;
|
|
1382
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
1383
|
+
} & {
|
|
1384
|
+
queryKey: QueryKey<Options<ListAgentsData>> & {
|
|
1385
|
+
[dataTagSymbol]: InfiniteData<ListAgentsResponse, unknown>;
|
|
1386
|
+
[dataTagErrorSymbol]: ListAgentsError;
|
|
1387
|
+
};
|
|
1388
|
+
}, "initialData">;
|
|
1389
|
+
/**
|
|
1390
|
+
* Create agent
|
|
1391
|
+
*
|
|
1392
|
+
* Reusing an idempotency key returns the current agent even if the retry body differs. The retry body is not applied.
|
|
1393
|
+
*/
|
|
1394
|
+
declare const createAgentMutation: (options?: Partial<Options<CreateAgentData>>) => UseMutationOptions<CreateAgentResponse, CreateAgentError, Options<CreateAgentData>>;
|
|
1395
|
+
declare const getAgentQueryKey: (options: Options<GetAgentData>) => [Pick<Options<GetAgentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1396
|
+
_id: string;
|
|
1397
|
+
_infinite?: boolean;
|
|
1398
|
+
tags?: ReadonlyArray<string>;
|
|
1399
|
+
}];
|
|
1400
|
+
/**
|
|
1401
|
+
* Get agent
|
|
1402
|
+
*/
|
|
1403
|
+
declare const getAgentOptions: (options: Options<GetAgentData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<GetAgentResponse, GetAgentError, GetAgentResponse, [Pick<Options<GetAgentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1404
|
+
_id: string;
|
|
1405
|
+
_infinite?: boolean;
|
|
1406
|
+
tags?: ReadonlyArray<string>;
|
|
1407
|
+
}]>, "queryFn"> & {
|
|
1408
|
+
queryFn?: _tanstack_react_query.QueryFunction<GetAgentResponse, [Pick<Options<GetAgentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1409
|
+
_id: string;
|
|
1410
|
+
_infinite?: boolean;
|
|
1411
|
+
tags?: ReadonlyArray<string>;
|
|
1412
|
+
}], never> | undefined;
|
|
1413
|
+
} & {
|
|
1414
|
+
queryKey: [Pick<Options<GetAgentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1415
|
+
_id: string;
|
|
1416
|
+
_infinite?: boolean;
|
|
1417
|
+
tags?: ReadonlyArray<string>;
|
|
1418
|
+
}] & {
|
|
1419
|
+
[dataTagSymbol]: GetAgentResponse;
|
|
1420
|
+
[dataTagErrorSymbol]: GetAgentError;
|
|
1421
|
+
};
|
|
1422
|
+
};
|
|
1423
|
+
/**
|
|
1424
|
+
* Archive agent
|
|
1425
|
+
*
|
|
1426
|
+
* Archives the agent: requests cancellation of its active runtime, cancels queued inputs and affected processes, removes its pending wakeup, releases explicit machine bindings, deletes pooled machines created for the agent, and deletes cron triggers targeting the agent. The agent and its full event history stay readable by id; archived agents leave listings. The agent's profile and configuration are retained, as are explicitly attached BYO machines. Archiving an already-archived agent is a no-op that returns the agent unchanged.
|
|
1427
|
+
*/
|
|
1428
|
+
declare const archiveAgentMutation: (options?: Partial<Options<ArchiveAgentData>>) => UseMutationOptions<ArchiveAgentResponse, ArchiveAgentError, Options<ArchiveAgentData>>;
|
|
1429
|
+
/**
|
|
1430
|
+
* Update agent config
|
|
1431
|
+
*/
|
|
1432
|
+
declare const updateAgentConfigMutation: (options?: Partial<Options<UpdateAgentConfigData>>) => UseMutationOptions<UpdateAgentConfigResponse2, UpdateAgentConfigError, Options<UpdateAgentConfigData>>;
|
|
1433
|
+
/**
|
|
1434
|
+
* Create agent input
|
|
1435
|
+
*/
|
|
1436
|
+
declare const createAgentInputMutation: (options?: Partial<Options<CreateAgentInputData>>) => UseMutationOptions<CreateAgentInputResponse, CreateAgentInputError, Options<CreateAgentInputData>>;
|
|
1437
|
+
declare const listToolCallsQueryKey: (options: Options<ListToolCallsData>) => [Pick<Options<ListToolCallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1438
|
+
_id: string;
|
|
1439
|
+
_infinite?: boolean;
|
|
1440
|
+
tags?: ReadonlyArray<string>;
|
|
1441
|
+
}];
|
|
1442
|
+
/**
|
|
1443
|
+
* List tool calls
|
|
1444
|
+
*
|
|
1445
|
+
* Items are ordered by created_at ascending, then id ascending.
|
|
1446
|
+
*/
|
|
1447
|
+
declare const listToolCallsOptions: (options: Options<ListToolCallsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListToolCallsResponse, ListToolCallsError, ListToolCallsResponse, [Pick<Options<ListToolCallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1448
|
+
_id: string;
|
|
1449
|
+
_infinite?: boolean;
|
|
1450
|
+
tags?: ReadonlyArray<string>;
|
|
1451
|
+
}]>, "queryFn"> & {
|
|
1452
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListToolCallsResponse, [Pick<Options<ListToolCallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1453
|
+
_id: string;
|
|
1454
|
+
_infinite?: boolean;
|
|
1455
|
+
tags?: ReadonlyArray<string>;
|
|
1456
|
+
}], never> | undefined;
|
|
1457
|
+
} & {
|
|
1458
|
+
queryKey: [Pick<Options<ListToolCallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1459
|
+
_id: string;
|
|
1460
|
+
_infinite?: boolean;
|
|
1461
|
+
tags?: ReadonlyArray<string>;
|
|
1462
|
+
}] & {
|
|
1463
|
+
[dataTagSymbol]: ListToolCallsResponse;
|
|
1464
|
+
[dataTagErrorSymbol]: ListToolCallsError;
|
|
1465
|
+
};
|
|
1466
|
+
};
|
|
1467
|
+
declare const listToolCallsInfiniteQueryKey: (options: Options<ListToolCallsData>) => QueryKey<Options<ListToolCallsData>>;
|
|
1468
|
+
/**
|
|
1469
|
+
* List tool calls
|
|
1470
|
+
*
|
|
1471
|
+
* Items are ordered by created_at ascending, then id ascending.
|
|
1472
|
+
*/
|
|
1473
|
+
declare const listToolCallsInfiniteOptions: (options: Options<ListToolCallsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListToolCallsResponse, ListToolCallsError, InfiniteData<ListToolCallsResponse, unknown>, QueryKey<Options<ListToolCallsData>>, string | Pick<Pick<Options<ListToolCallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1474
|
+
_id: string;
|
|
1475
|
+
_infinite?: boolean;
|
|
1476
|
+
tags?: ReadonlyArray<string>;
|
|
1477
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
1478
|
+
initialData: InfiniteData<ListToolCallsResponse, string | Pick<Pick<Options<ListToolCallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1479
|
+
_id: string;
|
|
1480
|
+
_infinite?: boolean;
|
|
1481
|
+
tags?: ReadonlyArray<string>;
|
|
1482
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListToolCallsResponse, string | Pick<Pick<Options<ListToolCallsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1483
|
+
_id: string;
|
|
1484
|
+
_infinite?: boolean;
|
|
1485
|
+
tags?: ReadonlyArray<string>;
|
|
1486
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
1487
|
+
} & {
|
|
1488
|
+
queryKey: QueryKey<Options<ListToolCallsData>> & {
|
|
1489
|
+
[dataTagSymbol]: InfiniteData<ListToolCallsResponse, unknown>;
|
|
1490
|
+
[dataTagErrorSymbol]: ListToolCallsError;
|
|
1491
|
+
};
|
|
1492
|
+
}, "initialData">;
|
|
1493
|
+
/**
|
|
1494
|
+
* Submit a result for a ready custom tool call
|
|
1495
|
+
*
|
|
1496
|
+
* Only ready custom tool calls accept externally supplied results. The first accepted result completes the call. Any later submission, or a result for a non-custom tool call, returns 409.
|
|
1497
|
+
*/
|
|
1498
|
+
declare const submitToolCallResultMutation: (options?: Partial<Options<SubmitToolCallResultData>>) => UseMutationOptions<SubmitToolCallResultResponse2, SubmitToolCallResultError, Options<SubmitToolCallResultData>>;
|
|
1499
|
+
declare const listTurnsQueryKey: (options: Options<ListTurnsData>) => [Pick<Options<ListTurnsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1500
|
+
_id: string;
|
|
1501
|
+
_infinite?: boolean;
|
|
1502
|
+
tags?: ReadonlyArray<string>;
|
|
1503
|
+
}];
|
|
1504
|
+
/**
|
|
1505
|
+
* List turns
|
|
1506
|
+
*
|
|
1507
|
+
* Returns turns newest first. Use the returned next_before_turn_sequence as before_turn_sequence to fetch older turns.
|
|
1508
|
+
*/
|
|
1509
|
+
declare const listTurnsOptions: (options: Options<ListTurnsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListAgentTurnsResponse, ListTurnsError, ListAgentTurnsResponse, [Pick<Options<ListTurnsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1510
|
+
_id: string;
|
|
1511
|
+
_infinite?: boolean;
|
|
1512
|
+
tags?: ReadonlyArray<string>;
|
|
1513
|
+
}]>, "queryFn"> & {
|
|
1514
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListAgentTurnsResponse, [Pick<Options<ListTurnsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1515
|
+
_id: string;
|
|
1516
|
+
_infinite?: boolean;
|
|
1517
|
+
tags?: ReadonlyArray<string>;
|
|
1518
|
+
}], never> | undefined;
|
|
1519
|
+
} & {
|
|
1520
|
+
queryKey: [Pick<Options<ListTurnsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1521
|
+
_id: string;
|
|
1522
|
+
_infinite?: boolean;
|
|
1523
|
+
tags?: ReadonlyArray<string>;
|
|
1524
|
+
}] & {
|
|
1525
|
+
[dataTagSymbol]: ListAgentTurnsResponse;
|
|
1526
|
+
[dataTagErrorSymbol]: ListTurnsError;
|
|
1527
|
+
};
|
|
1528
|
+
};
|
|
1529
|
+
declare const listTurnEventsQueryKey: (options: Options<ListTurnEventsData>) => [Pick<Options<ListTurnEventsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1530
|
+
_id: string;
|
|
1531
|
+
_infinite?: boolean;
|
|
1532
|
+
tags?: ReadonlyArray<string>;
|
|
1533
|
+
}];
|
|
1534
|
+
/**
|
|
1535
|
+
* List turn events
|
|
1536
|
+
*
|
|
1537
|
+
* Returns one older event page for a turn, ordered chronologically within the page. Use the returned next_before_sequence as before_sequence to fetch older events.
|
|
1538
|
+
*/
|
|
1539
|
+
declare const listTurnEventsOptions: (options: Options<ListTurnEventsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListTurnEventsResponse, ListTurnEventsError, ListTurnEventsResponse, [Pick<Options<ListTurnEventsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1540
|
+
_id: string;
|
|
1541
|
+
_infinite?: boolean;
|
|
1542
|
+
tags?: ReadonlyArray<string>;
|
|
1543
|
+
}]>, "queryFn"> & {
|
|
1544
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListTurnEventsResponse, [Pick<Options<ListTurnEventsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1545
|
+
_id: string;
|
|
1546
|
+
_infinite?: boolean;
|
|
1547
|
+
tags?: ReadonlyArray<string>;
|
|
1548
|
+
}], never> | undefined;
|
|
1549
|
+
} & {
|
|
1550
|
+
queryKey: [Pick<Options<ListTurnEventsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1551
|
+
_id: string;
|
|
1552
|
+
_infinite?: boolean;
|
|
1553
|
+
tags?: ReadonlyArray<string>;
|
|
1554
|
+
}] & {
|
|
1555
|
+
[dataTagSymbol]: ListTurnEventsResponse;
|
|
1556
|
+
[dataTagErrorSymbol]: ListTurnEventsError;
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
declare const listEventsQueryKey: (options: Options<ListEventsData>) => [Pick<Options<ListEventsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1560
|
+
_id: string;
|
|
1561
|
+
_infinite?: boolean;
|
|
1562
|
+
tags?: ReadonlyArray<string>;
|
|
1563
|
+
}];
|
|
1564
|
+
/**
|
|
1565
|
+
* List events
|
|
1566
|
+
*
|
|
1567
|
+
* Returns one page of agent events, chronological within the page. Forward pagination (after_sequence) walks from a known boundary toward the present using next_after_sequence. Backward pagination (before_sequence) starts at the latest events and walks toward the beginning using next_before_sequence; passing before_sequence takes precedence over after_sequence.
|
|
1568
|
+
*/
|
|
1569
|
+
declare const listEventsOptions: (options: Options<ListEventsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListAgentEventsResponse, ListEventsError, ListAgentEventsResponse, [Pick<Options<ListEventsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1570
|
+
_id: string;
|
|
1571
|
+
_infinite?: boolean;
|
|
1572
|
+
tags?: ReadonlyArray<string>;
|
|
1573
|
+
}]>, "queryFn"> & {
|
|
1574
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListAgentEventsResponse, [Pick<Options<ListEventsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1575
|
+
_id: string;
|
|
1576
|
+
_infinite?: boolean;
|
|
1577
|
+
tags?: ReadonlyArray<string>;
|
|
1578
|
+
}], never> | undefined;
|
|
1579
|
+
} & {
|
|
1580
|
+
queryKey: [Pick<Options<ListEventsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1581
|
+
_id: string;
|
|
1582
|
+
_infinite?: boolean;
|
|
1583
|
+
tags?: ReadonlyArray<string>;
|
|
1584
|
+
}] & {
|
|
1585
|
+
[dataTagSymbol]: ListAgentEventsResponse;
|
|
1586
|
+
[dataTagErrorSymbol]: ListEventsError;
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1589
|
+
/**
|
|
1590
|
+
* Cancel agent
|
|
1591
|
+
*/
|
|
1592
|
+
declare const cancelAgentMutation: (options?: Partial<Options<CancelAgentData>>) => UseMutationOptions<CancelAgentResponse2, CancelAgentError, Options<CancelAgentData>>;
|
|
1593
|
+
declare const listAgentInteractionsQueryKey: (options: Options<ListAgentInteractionsData>) => [Pick<Options<ListAgentInteractionsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1594
|
+
_id: string;
|
|
1595
|
+
_infinite?: boolean;
|
|
1596
|
+
tags?: ReadonlyArray<string>;
|
|
1597
|
+
}];
|
|
1598
|
+
/**
|
|
1599
|
+
* List agent interactions
|
|
1600
|
+
*
|
|
1601
|
+
* Items are ordered by created_at ascending, then id ascending.
|
|
1602
|
+
*/
|
|
1603
|
+
declare const listAgentInteractionsOptions: (options: Options<ListAgentInteractionsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListAgentInteractionsResponse, ListAgentInteractionsError, ListAgentInteractionsResponse, [Pick<Options<ListAgentInteractionsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1604
|
+
_id: string;
|
|
1605
|
+
_infinite?: boolean;
|
|
1606
|
+
tags?: ReadonlyArray<string>;
|
|
1607
|
+
}]>, "queryFn"> & {
|
|
1608
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListAgentInteractionsResponse, [Pick<Options<ListAgentInteractionsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1609
|
+
_id: string;
|
|
1610
|
+
_infinite?: boolean;
|
|
1611
|
+
tags?: ReadonlyArray<string>;
|
|
1612
|
+
}], never> | undefined;
|
|
1613
|
+
} & {
|
|
1614
|
+
queryKey: [Pick<Options<ListAgentInteractionsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1615
|
+
_id: string;
|
|
1616
|
+
_infinite?: boolean;
|
|
1617
|
+
tags?: ReadonlyArray<string>;
|
|
1618
|
+
}] & {
|
|
1619
|
+
[dataTagSymbol]: ListAgentInteractionsResponse;
|
|
1620
|
+
[dataTagErrorSymbol]: ListAgentInteractionsError;
|
|
1621
|
+
};
|
|
1622
|
+
};
|
|
1623
|
+
declare const listAgentInteractionsInfiniteQueryKey: (options: Options<ListAgentInteractionsData>) => QueryKey<Options<ListAgentInteractionsData>>;
|
|
1624
|
+
/**
|
|
1625
|
+
* List agent interactions
|
|
1626
|
+
*
|
|
1627
|
+
* Items are ordered by created_at ascending, then id ascending.
|
|
1628
|
+
*/
|
|
1629
|
+
declare const listAgentInteractionsInfiniteOptions: (options: Options<ListAgentInteractionsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListAgentInteractionsResponse, ListAgentInteractionsError, InfiniteData<ListAgentInteractionsResponse, unknown>, QueryKey<Options<ListAgentInteractionsData>>, string | Pick<Pick<Options<ListAgentInteractionsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1630
|
+
_id: string;
|
|
1631
|
+
_infinite?: boolean;
|
|
1632
|
+
tags?: ReadonlyArray<string>;
|
|
1633
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
1634
|
+
initialData: InfiniteData<ListAgentInteractionsResponse, string | Pick<Pick<Options<ListAgentInteractionsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1635
|
+
_id: string;
|
|
1636
|
+
_infinite?: boolean;
|
|
1637
|
+
tags?: ReadonlyArray<string>;
|
|
1638
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListAgentInteractionsResponse, string | Pick<Pick<Options<ListAgentInteractionsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1639
|
+
_id: string;
|
|
1640
|
+
_infinite?: boolean;
|
|
1641
|
+
tags?: ReadonlyArray<string>;
|
|
1642
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
1643
|
+
} & {
|
|
1644
|
+
queryKey: QueryKey<Options<ListAgentInteractionsData>> & {
|
|
1645
|
+
[dataTagSymbol]: InfiniteData<ListAgentInteractionsResponse, unknown>;
|
|
1646
|
+
[dataTagErrorSymbol]: ListAgentInteractionsError;
|
|
1647
|
+
};
|
|
1648
|
+
}, "initialData">;
|
|
1649
|
+
/**
|
|
1650
|
+
* Resolve agent interaction
|
|
1651
|
+
*/
|
|
1652
|
+
declare const resolveAgentInteractionMutation: (options?: Partial<Options<ResolveAgentInteractionData>>) => UseMutationOptions<ResolveAgentInteractionResponse, ResolveAgentInteractionError, Options<ResolveAgentInteractionData>>;
|
|
1653
|
+
declare const listQueuedBacklogInputsQueryKey: (options: Options<ListQueuedBacklogInputsData>) => [Pick<Options<ListQueuedBacklogInputsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1654
|
+
_id: string;
|
|
1655
|
+
_infinite?: boolean;
|
|
1656
|
+
tags?: ReadonlyArray<string>;
|
|
1657
|
+
}];
|
|
1658
|
+
/**
|
|
1659
|
+
* List queued backlog inputs
|
|
1660
|
+
*
|
|
1661
|
+
* Items are ordered by queue position, then queued_at ascending, then id ascending.
|
|
1662
|
+
*/
|
|
1663
|
+
declare const listQueuedBacklogInputsOptions: (options: Options<ListQueuedBacklogInputsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListAgentInputsResponse, ListQueuedBacklogInputsError, ListAgentInputsResponse, [Pick<Options<ListQueuedBacklogInputsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1664
|
+
_id: string;
|
|
1665
|
+
_infinite?: boolean;
|
|
1666
|
+
tags?: ReadonlyArray<string>;
|
|
1667
|
+
}]>, "queryFn"> & {
|
|
1668
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListAgentInputsResponse, [Pick<Options<ListQueuedBacklogInputsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1669
|
+
_id: string;
|
|
1670
|
+
_infinite?: boolean;
|
|
1671
|
+
tags?: ReadonlyArray<string>;
|
|
1672
|
+
}], never> | undefined;
|
|
1673
|
+
} & {
|
|
1674
|
+
queryKey: [Pick<Options<ListQueuedBacklogInputsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1675
|
+
_id: string;
|
|
1676
|
+
_infinite?: boolean;
|
|
1677
|
+
tags?: ReadonlyArray<string>;
|
|
1678
|
+
}] & {
|
|
1679
|
+
[dataTagSymbol]: ListAgentInputsResponse;
|
|
1680
|
+
[dataTagErrorSymbol]: ListQueuedBacklogInputsError;
|
|
1681
|
+
};
|
|
1682
|
+
};
|
|
1683
|
+
declare const listQueuedBacklogInputsInfiniteQueryKey: (options: Options<ListQueuedBacklogInputsData>) => QueryKey<Options<ListQueuedBacklogInputsData>>;
|
|
1684
|
+
/**
|
|
1685
|
+
* List queued backlog inputs
|
|
1686
|
+
*
|
|
1687
|
+
* Items are ordered by queue position, then queued_at ascending, then id ascending.
|
|
1688
|
+
*/
|
|
1689
|
+
declare const listQueuedBacklogInputsInfiniteOptions: (options: Options<ListQueuedBacklogInputsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListAgentInputsResponse, ListQueuedBacklogInputsError, InfiniteData<ListAgentInputsResponse, unknown>, QueryKey<Options<ListQueuedBacklogInputsData>>, string | Pick<Pick<Options<ListQueuedBacklogInputsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1690
|
+
_id: string;
|
|
1691
|
+
_infinite?: boolean;
|
|
1692
|
+
tags?: ReadonlyArray<string>;
|
|
1693
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
1694
|
+
initialData: InfiniteData<ListAgentInputsResponse, string | Pick<Pick<Options<ListQueuedBacklogInputsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1695
|
+
_id: string;
|
|
1696
|
+
_infinite?: boolean;
|
|
1697
|
+
tags?: ReadonlyArray<string>;
|
|
1698
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListAgentInputsResponse, string | Pick<Pick<Options<ListQueuedBacklogInputsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1699
|
+
_id: string;
|
|
1700
|
+
_infinite?: boolean;
|
|
1701
|
+
tags?: ReadonlyArray<string>;
|
|
1702
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
1703
|
+
} & {
|
|
1704
|
+
queryKey: QueryKey<Options<ListQueuedBacklogInputsData>> & {
|
|
1705
|
+
[dataTagSymbol]: InfiniteData<ListAgentInputsResponse, unknown>;
|
|
1706
|
+
[dataTagErrorSymbol]: ListQueuedBacklogInputsError;
|
|
1707
|
+
};
|
|
1708
|
+
}, "initialData">;
|
|
1709
|
+
/**
|
|
1710
|
+
* Cancel queued backlog input
|
|
1711
|
+
*/
|
|
1712
|
+
declare const cancelQueuedBacklogInputMutation: (options?: Partial<Options<CancelQueuedBacklogInputData>>) => UseMutationOptions<CancelQueuedBacklogInputResponse, CancelQueuedBacklogInputError, Options<CancelQueuedBacklogInputData>>;
|
|
1713
|
+
/**
|
|
1714
|
+
* Move queued backlog input
|
|
1715
|
+
*/
|
|
1716
|
+
declare const moveQueuedBacklogInputMutation: (options?: Partial<Options<MoveQueuedBacklogInputData>>) => UseMutationOptions<MoveQueuedBacklogInputResponse, MoveQueuedBacklogInputError, Options<MoveQueuedBacklogInputData>>;
|
|
1717
|
+
/**
|
|
1718
|
+
* Promote queued input to steering
|
|
1719
|
+
*/
|
|
1720
|
+
declare const promoteQueuedInputToSteeringMutation: (options?: Partial<Options<PromoteQueuedInputToSteeringData>>) => UseMutationOptions<PromoteQueuedInputToSteeringResponse, PromoteQueuedInputToSteeringError, Options<PromoteQueuedInputToSteeringData>>;
|
|
1721
|
+
/**
|
|
1722
|
+
* Demote steering input to queued
|
|
1723
|
+
*/
|
|
1724
|
+
declare const demoteSteeringInputToQueuedMutation: (options?: Partial<Options<DemoteSteeringInputToQueuedData>>) => UseMutationOptions<DemoteSteeringInputToQueuedResponse, DemoteSteeringInputToQueuedError, Options<DemoteSteeringInputToQueuedData>>;
|
|
1725
|
+
declare const getArtifactQueryKey: (options: Options<GetArtifactData>) => [Pick<Options<GetArtifactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1726
|
+
_id: string;
|
|
1727
|
+
_infinite?: boolean;
|
|
1728
|
+
tags?: ReadonlyArray<string>;
|
|
1729
|
+
}];
|
|
1730
|
+
/**
|
|
1731
|
+
* Get artifact
|
|
1732
|
+
*/
|
|
1733
|
+
declare const getArtifactOptions: (options: Options<GetArtifactData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Artifact, GetArtifactError, Artifact, [Pick<Options<GetArtifactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1734
|
+
_id: string;
|
|
1735
|
+
_infinite?: boolean;
|
|
1736
|
+
tags?: ReadonlyArray<string>;
|
|
1737
|
+
}]>, "queryFn"> & {
|
|
1738
|
+
queryFn?: _tanstack_react_query.QueryFunction<Artifact, [Pick<Options<GetArtifactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1739
|
+
_id: string;
|
|
1740
|
+
_infinite?: boolean;
|
|
1741
|
+
tags?: ReadonlyArray<string>;
|
|
1742
|
+
}], never> | undefined;
|
|
1743
|
+
} & {
|
|
1744
|
+
queryKey: [Pick<Options<GetArtifactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1745
|
+
_id: string;
|
|
1746
|
+
_infinite?: boolean;
|
|
1747
|
+
tags?: ReadonlyArray<string>;
|
|
1748
|
+
}] & {
|
|
1749
|
+
[dataTagSymbol]: Artifact;
|
|
1750
|
+
[dataTagErrorSymbol]: GetArtifactError;
|
|
1751
|
+
};
|
|
1752
|
+
};
|
|
1753
|
+
declare const getArtifactContentQueryKey: (options: Options<GetArtifactContentData>) => [Pick<Options<GetArtifactContentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1754
|
+
_id: string;
|
|
1755
|
+
_infinite?: boolean;
|
|
1756
|
+
tags?: ReadonlyArray<string>;
|
|
1757
|
+
}];
|
|
1758
|
+
/**
|
|
1759
|
+
* Get artifact content
|
|
1760
|
+
*/
|
|
1761
|
+
declare const getArtifactContentOptions: (options: Options<GetArtifactContentData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Blob | File, GetArtifactContentError, Blob | File, [Pick<Options<GetArtifactContentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1762
|
+
_id: string;
|
|
1763
|
+
_infinite?: boolean;
|
|
1764
|
+
tags?: ReadonlyArray<string>;
|
|
1765
|
+
}]>, "queryFn"> & {
|
|
1766
|
+
queryFn?: _tanstack_react_query.QueryFunction<Blob | File, [Pick<Options<GetArtifactContentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1767
|
+
_id: string;
|
|
1768
|
+
_infinite?: boolean;
|
|
1769
|
+
tags?: ReadonlyArray<string>;
|
|
1770
|
+
}], never> | undefined;
|
|
1771
|
+
} & {
|
|
1772
|
+
queryKey: [Pick<Options<GetArtifactContentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1773
|
+
_id: string;
|
|
1774
|
+
_infinite?: boolean;
|
|
1775
|
+
tags?: ReadonlyArray<string>;
|
|
1776
|
+
}] & {
|
|
1777
|
+
[dataTagSymbol]: Blob | File;
|
|
1778
|
+
[dataTagErrorSymbol]: GetArtifactContentError;
|
|
1779
|
+
};
|
|
1780
|
+
};
|
|
1781
|
+
declare const listVisibleProjectMachinesQueryKey: (options: Options<ListVisibleProjectMachinesData>) => [Pick<Options<ListVisibleProjectMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1782
|
+
_id: string;
|
|
1783
|
+
_infinite?: boolean;
|
|
1784
|
+
tags?: ReadonlyArray<string>;
|
|
1785
|
+
}];
|
|
1786
|
+
/**
|
|
1787
|
+
* List visible project machines
|
|
1788
|
+
*
|
|
1789
|
+
* Items are ordered by machine created_at descending, then machine id descending.
|
|
1790
|
+
*/
|
|
1791
|
+
declare const listVisibleProjectMachinesOptions: (options: Options<ListVisibleProjectMachinesData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListVisibleMachinesResponse, ListVisibleProjectMachinesError, ListVisibleMachinesResponse, [Pick<Options<ListVisibleProjectMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1792
|
+
_id: string;
|
|
1793
|
+
_infinite?: boolean;
|
|
1794
|
+
tags?: ReadonlyArray<string>;
|
|
1795
|
+
}]>, "queryFn"> & {
|
|
1796
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListVisibleMachinesResponse, [Pick<Options<ListVisibleProjectMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1797
|
+
_id: string;
|
|
1798
|
+
_infinite?: boolean;
|
|
1799
|
+
tags?: ReadonlyArray<string>;
|
|
1800
|
+
}], never> | undefined;
|
|
1801
|
+
} & {
|
|
1802
|
+
queryKey: [Pick<Options<ListVisibleProjectMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1803
|
+
_id: string;
|
|
1804
|
+
_infinite?: boolean;
|
|
1805
|
+
tags?: ReadonlyArray<string>;
|
|
1806
|
+
}] & {
|
|
1807
|
+
[dataTagSymbol]: ListVisibleMachinesResponse;
|
|
1808
|
+
[dataTagErrorSymbol]: ListVisibleProjectMachinesError;
|
|
1809
|
+
};
|
|
1810
|
+
};
|
|
1811
|
+
declare const listVisibleProjectMachinesInfiniteQueryKey: (options: Options<ListVisibleProjectMachinesData>) => QueryKey<Options<ListVisibleProjectMachinesData>>;
|
|
1812
|
+
/**
|
|
1813
|
+
* List visible project machines
|
|
1814
|
+
*
|
|
1815
|
+
* Items are ordered by machine created_at descending, then machine id descending.
|
|
1816
|
+
*/
|
|
1817
|
+
declare const listVisibleProjectMachinesInfiniteOptions: (options: Options<ListVisibleProjectMachinesData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListVisibleMachinesResponse, ListVisibleProjectMachinesError, InfiniteData<ListVisibleMachinesResponse, unknown>, QueryKey<Options<ListVisibleProjectMachinesData>>, string | Pick<Pick<Options<ListVisibleProjectMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1818
|
+
_id: string;
|
|
1819
|
+
_infinite?: boolean;
|
|
1820
|
+
tags?: ReadonlyArray<string>;
|
|
1821
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
1822
|
+
initialData: InfiniteData<ListVisibleMachinesResponse, string | Pick<Pick<Options<ListVisibleProjectMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1823
|
+
_id: string;
|
|
1824
|
+
_infinite?: boolean;
|
|
1825
|
+
tags?: ReadonlyArray<string>;
|
|
1826
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListVisibleMachinesResponse, string | Pick<Pick<Options<ListVisibleProjectMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1827
|
+
_id: string;
|
|
1828
|
+
_infinite?: boolean;
|
|
1829
|
+
tags?: ReadonlyArray<string>;
|
|
1830
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
1831
|
+
} & {
|
|
1832
|
+
queryKey: QueryKey<Options<ListVisibleProjectMachinesData>> & {
|
|
1833
|
+
[dataTagSymbol]: InfiniteData<ListVisibleMachinesResponse, unknown>;
|
|
1834
|
+
[dataTagErrorSymbol]: ListVisibleProjectMachinesError;
|
|
1835
|
+
};
|
|
1836
|
+
}, "initialData">;
|
|
1837
|
+
declare const listProjectMachineGrantsQueryKey: (options: Options<ListProjectMachineGrantsData>) => [Pick<Options<ListProjectMachineGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1838
|
+
_id: string;
|
|
1839
|
+
_infinite?: boolean;
|
|
1840
|
+
tags?: ReadonlyArray<string>;
|
|
1841
|
+
}];
|
|
1842
|
+
/**
|
|
1843
|
+
* List project machine grants
|
|
1844
|
+
*
|
|
1845
|
+
* Lists explicit machine grants that can be deleted directly. Pool-derived machine access is managed through project machine pool grants.
|
|
1846
|
+
*/
|
|
1847
|
+
declare const listProjectMachineGrantsOptions: (options: Options<ListProjectMachineGrantsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListProjectMachineGrantsResponse, ListProjectMachineGrantsError, ListProjectMachineGrantsResponse, [Pick<Options<ListProjectMachineGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1848
|
+
_id: string;
|
|
1849
|
+
_infinite?: boolean;
|
|
1850
|
+
tags?: ReadonlyArray<string>;
|
|
1851
|
+
}]>, "queryFn"> & {
|
|
1852
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListProjectMachineGrantsResponse, [Pick<Options<ListProjectMachineGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1853
|
+
_id: string;
|
|
1854
|
+
_infinite?: boolean;
|
|
1855
|
+
tags?: ReadonlyArray<string>;
|
|
1856
|
+
}], never> | undefined;
|
|
1857
|
+
} & {
|
|
1858
|
+
queryKey: [Pick<Options<ListProjectMachineGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1859
|
+
_id: string;
|
|
1860
|
+
_infinite?: boolean;
|
|
1861
|
+
tags?: ReadonlyArray<string>;
|
|
1862
|
+
}] & {
|
|
1863
|
+
[dataTagSymbol]: ListProjectMachineGrantsResponse;
|
|
1864
|
+
[dataTagErrorSymbol]: ListProjectMachineGrantsError;
|
|
1865
|
+
};
|
|
1866
|
+
};
|
|
1867
|
+
declare const listProjectMachineGrantsInfiniteQueryKey: (options: Options<ListProjectMachineGrantsData>) => QueryKey<Options<ListProjectMachineGrantsData>>;
|
|
1868
|
+
/**
|
|
1869
|
+
* List project machine grants
|
|
1870
|
+
*
|
|
1871
|
+
* Lists explicit machine grants that can be deleted directly. Pool-derived machine access is managed through project machine pool grants.
|
|
1872
|
+
*/
|
|
1873
|
+
declare const listProjectMachineGrantsInfiniteOptions: (options: Options<ListProjectMachineGrantsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListProjectMachineGrantsResponse, ListProjectMachineGrantsError, InfiniteData<ListProjectMachineGrantsResponse, unknown>, QueryKey<Options<ListProjectMachineGrantsData>>, string | Pick<Pick<Options<ListProjectMachineGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1874
|
+
_id: string;
|
|
1875
|
+
_infinite?: boolean;
|
|
1876
|
+
tags?: ReadonlyArray<string>;
|
|
1877
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
1878
|
+
initialData: InfiniteData<ListProjectMachineGrantsResponse, string | Pick<Pick<Options<ListProjectMachineGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1879
|
+
_id: string;
|
|
1880
|
+
_infinite?: boolean;
|
|
1881
|
+
tags?: ReadonlyArray<string>;
|
|
1882
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListProjectMachineGrantsResponse, string | Pick<Pick<Options<ListProjectMachineGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1883
|
+
_id: string;
|
|
1884
|
+
_infinite?: boolean;
|
|
1885
|
+
tags?: ReadonlyArray<string>;
|
|
1886
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
1887
|
+
} & {
|
|
1888
|
+
queryKey: QueryKey<Options<ListProjectMachineGrantsData>> & {
|
|
1889
|
+
[dataTagSymbol]: InfiniteData<ListProjectMachineGrantsResponse, unknown>;
|
|
1890
|
+
[dataTagErrorSymbol]: ListProjectMachineGrantsError;
|
|
1891
|
+
};
|
|
1892
|
+
}, "initialData">;
|
|
1893
|
+
/**
|
|
1894
|
+
* Create project machine grant
|
|
1895
|
+
*/
|
|
1896
|
+
declare const createProjectMachineGrantMutation: (options?: Partial<Options<CreateProjectMachineGrantData>>) => UseMutationOptions<CreateProjectMachineGrantResponse2, CreateProjectMachineGrantError, Options<CreateProjectMachineGrantData>>;
|
|
1897
|
+
/**
|
|
1898
|
+
* Delete project machine grant
|
|
1899
|
+
*
|
|
1900
|
+
* Removes the project's access to the machine. Processes that depended on the grant are stopped. The machine itself is retained, and there are no dependency blockers.
|
|
1901
|
+
*/
|
|
1902
|
+
declare const deleteProjectMachineGrantMutation: (options?: Partial<Options<DeleteProjectMachineGrantData>>) => UseMutationOptions<DeleteProjectMachineGrantResponse, DeleteProjectMachineGrantError, Options<DeleteProjectMachineGrantData>>;
|
|
1903
|
+
declare const listProjectAvailableSecretsQueryKey: (options: Options<ListProjectAvailableSecretsData>) => [Pick<Options<ListProjectAvailableSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1904
|
+
_id: string;
|
|
1905
|
+
_infinite?: boolean;
|
|
1906
|
+
tags?: ReadonlyArray<string>;
|
|
1907
|
+
}];
|
|
1908
|
+
/**
|
|
1909
|
+
* List secrets available to project
|
|
1910
|
+
*
|
|
1911
|
+
* Includes directly owned and granted secrets, ordered by created_at descending, then id descending.
|
|
1912
|
+
*/
|
|
1913
|
+
declare const listProjectAvailableSecretsOptions: (options: Options<ListProjectAvailableSecretsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListProjectSecretAccessesResponse, ListProjectAvailableSecretsError, ListProjectSecretAccessesResponse, [Pick<Options<ListProjectAvailableSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1914
|
+
_id: string;
|
|
1915
|
+
_infinite?: boolean;
|
|
1916
|
+
tags?: ReadonlyArray<string>;
|
|
1917
|
+
}]>, "queryFn"> & {
|
|
1918
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListProjectSecretAccessesResponse, [Pick<Options<ListProjectAvailableSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1919
|
+
_id: string;
|
|
1920
|
+
_infinite?: boolean;
|
|
1921
|
+
tags?: ReadonlyArray<string>;
|
|
1922
|
+
}], never> | undefined;
|
|
1923
|
+
} & {
|
|
1924
|
+
queryKey: [Pick<Options<ListProjectAvailableSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1925
|
+
_id: string;
|
|
1926
|
+
_infinite?: boolean;
|
|
1927
|
+
tags?: ReadonlyArray<string>;
|
|
1928
|
+
}] & {
|
|
1929
|
+
[dataTagSymbol]: ListProjectSecretAccessesResponse;
|
|
1930
|
+
[dataTagErrorSymbol]: ListProjectAvailableSecretsError;
|
|
1931
|
+
};
|
|
1932
|
+
};
|
|
1933
|
+
declare const listProjectAvailableSecretsInfiniteQueryKey: (options: Options<ListProjectAvailableSecretsData>) => QueryKey<Options<ListProjectAvailableSecretsData>>;
|
|
1934
|
+
/**
|
|
1935
|
+
* List secrets available to project
|
|
1936
|
+
*
|
|
1937
|
+
* Includes directly owned and granted secrets, ordered by created_at descending, then id descending.
|
|
1938
|
+
*/
|
|
1939
|
+
declare const listProjectAvailableSecretsInfiniteOptions: (options: Options<ListProjectAvailableSecretsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListProjectSecretAccessesResponse, ListProjectAvailableSecretsError, InfiniteData<ListProjectSecretAccessesResponse, unknown>, QueryKey<Options<ListProjectAvailableSecretsData>>, string | Pick<Pick<Options<ListProjectAvailableSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1940
|
+
_id: string;
|
|
1941
|
+
_infinite?: boolean;
|
|
1942
|
+
tags?: ReadonlyArray<string>;
|
|
1943
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
1944
|
+
initialData: InfiniteData<ListProjectSecretAccessesResponse, string | Pick<Pick<Options<ListProjectAvailableSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1945
|
+
_id: string;
|
|
1946
|
+
_infinite?: boolean;
|
|
1947
|
+
tags?: ReadonlyArray<string>;
|
|
1948
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListProjectSecretAccessesResponse, string | Pick<Pick<Options<ListProjectAvailableSecretsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1949
|
+
_id: string;
|
|
1950
|
+
_infinite?: boolean;
|
|
1951
|
+
tags?: ReadonlyArray<string>;
|
|
1952
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
1953
|
+
} & {
|
|
1954
|
+
queryKey: QueryKey<Options<ListProjectAvailableSecretsData>> & {
|
|
1955
|
+
[dataTagSymbol]: InfiniteData<ListProjectSecretAccessesResponse, unknown>;
|
|
1956
|
+
[dataTagErrorSymbol]: ListProjectAvailableSecretsError;
|
|
1957
|
+
};
|
|
1958
|
+
}, "initialData">;
|
|
1959
|
+
declare const getProjectAvailableSecretQueryKey: (options: Options<GetProjectAvailableSecretData>) => [Pick<Options<GetProjectAvailableSecretData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1960
|
+
_id: string;
|
|
1961
|
+
_infinite?: boolean;
|
|
1962
|
+
tags?: ReadonlyArray<string>;
|
|
1963
|
+
}];
|
|
1964
|
+
/**
|
|
1965
|
+
* Get secret available to project
|
|
1966
|
+
*/
|
|
1967
|
+
declare const getProjectAvailableSecretOptions: (options: Options<GetProjectAvailableSecretData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ProjectSecretAccess, GetProjectAvailableSecretError, ProjectSecretAccess, [Pick<Options<GetProjectAvailableSecretData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1968
|
+
_id: string;
|
|
1969
|
+
_infinite?: boolean;
|
|
1970
|
+
tags?: ReadonlyArray<string>;
|
|
1971
|
+
}]>, "queryFn"> & {
|
|
1972
|
+
queryFn?: _tanstack_react_query.QueryFunction<ProjectSecretAccess, [Pick<Options<GetProjectAvailableSecretData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1973
|
+
_id: string;
|
|
1974
|
+
_infinite?: boolean;
|
|
1975
|
+
tags?: ReadonlyArray<string>;
|
|
1976
|
+
}], never> | undefined;
|
|
1977
|
+
} & {
|
|
1978
|
+
queryKey: [Pick<Options<GetProjectAvailableSecretData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1979
|
+
_id: string;
|
|
1980
|
+
_infinite?: boolean;
|
|
1981
|
+
tags?: ReadonlyArray<string>;
|
|
1982
|
+
}] & {
|
|
1983
|
+
[dataTagSymbol]: ProjectSecretAccess;
|
|
1984
|
+
[dataTagErrorSymbol]: GetProjectAvailableSecretError;
|
|
1985
|
+
};
|
|
1986
|
+
};
|
|
1987
|
+
declare const listActorsQueryKey: (options: Options<ListActorsData>) => [Pick<Options<ListActorsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1988
|
+
_id: string;
|
|
1989
|
+
_infinite?: boolean;
|
|
1990
|
+
tags?: ReadonlyArray<string>;
|
|
1991
|
+
}];
|
|
1992
|
+
/**
|
|
1993
|
+
* List project actors
|
|
1994
|
+
*
|
|
1995
|
+
* Items are ordered by created_at ascending, then id ascending.
|
|
1996
|
+
*/
|
|
1997
|
+
declare const listActorsOptions: (options: Options<ListActorsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListActorsResponse, ListActorsError, ListActorsResponse, [Pick<Options<ListActorsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1998
|
+
_id: string;
|
|
1999
|
+
_infinite?: boolean;
|
|
2000
|
+
tags?: ReadonlyArray<string>;
|
|
2001
|
+
}]>, "queryFn"> & {
|
|
2002
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListActorsResponse, [Pick<Options<ListActorsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2003
|
+
_id: string;
|
|
2004
|
+
_infinite?: boolean;
|
|
2005
|
+
tags?: ReadonlyArray<string>;
|
|
2006
|
+
}], never> | undefined;
|
|
2007
|
+
} & {
|
|
2008
|
+
queryKey: [Pick<Options<ListActorsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2009
|
+
_id: string;
|
|
2010
|
+
_infinite?: boolean;
|
|
2011
|
+
tags?: ReadonlyArray<string>;
|
|
2012
|
+
}] & {
|
|
2013
|
+
[dataTagSymbol]: ListActorsResponse;
|
|
2014
|
+
[dataTagErrorSymbol]: ListActorsError;
|
|
2015
|
+
};
|
|
2016
|
+
};
|
|
2017
|
+
declare const listActorsInfiniteQueryKey: (options: Options<ListActorsData>) => QueryKey<Options<ListActorsData>>;
|
|
2018
|
+
/**
|
|
2019
|
+
* List project actors
|
|
2020
|
+
*
|
|
2021
|
+
* Items are ordered by created_at ascending, then id ascending.
|
|
2022
|
+
*/
|
|
2023
|
+
declare const listActorsInfiniteOptions: (options: Options<ListActorsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListActorsResponse, ListActorsError, InfiniteData<ListActorsResponse, unknown>, QueryKey<Options<ListActorsData>>, string | Pick<Pick<Options<ListActorsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2024
|
+
_id: string;
|
|
2025
|
+
_infinite?: boolean;
|
|
2026
|
+
tags?: ReadonlyArray<string>;
|
|
2027
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
2028
|
+
initialData: InfiniteData<ListActorsResponse, string | Pick<Pick<Options<ListActorsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2029
|
+
_id: string;
|
|
2030
|
+
_infinite?: boolean;
|
|
2031
|
+
tags?: ReadonlyArray<string>;
|
|
2032
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListActorsResponse, string | Pick<Pick<Options<ListActorsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2033
|
+
_id: string;
|
|
2034
|
+
_infinite?: boolean;
|
|
2035
|
+
tags?: ReadonlyArray<string>;
|
|
2036
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
2037
|
+
} & {
|
|
2038
|
+
queryKey: QueryKey<Options<ListActorsData>> & {
|
|
2039
|
+
[dataTagSymbol]: InfiniteData<ListActorsResponse, unknown>;
|
|
2040
|
+
[dataTagErrorSymbol]: ListActorsError;
|
|
2041
|
+
};
|
|
2042
|
+
}, "initialData">;
|
|
2043
|
+
/**
|
|
2044
|
+
* Upsert an external actor
|
|
2045
|
+
*
|
|
2046
|
+
* Upserts by (provider_tenant_id, provider_user_id). Omitted attributes keep their stored values; provided attributes are overwritten, including empty values. An unchanged actor is not rewritten. Actors written through this endpoint always have the external provider.
|
|
2047
|
+
*/
|
|
2048
|
+
declare const putActorMutation: (options?: Partial<Options<PutActorData>>) => UseMutationOptions<PutActorResponse, PutActorError, Options<PutActorData>>;
|
|
2049
|
+
declare const getActorQueryKey: (options: Options<GetActorData>) => [Pick<Options<GetActorData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2050
|
+
_id: string;
|
|
2051
|
+
_infinite?: boolean;
|
|
2052
|
+
tags?: ReadonlyArray<string>;
|
|
2053
|
+
}];
|
|
2054
|
+
/**
|
|
2055
|
+
* Get a project actor
|
|
2056
|
+
*/
|
|
2057
|
+
declare const getActorOptions: (options: Options<GetActorData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Actor, GetActorError, Actor, [Pick<Options<GetActorData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2058
|
+
_id: string;
|
|
2059
|
+
_infinite?: boolean;
|
|
2060
|
+
tags?: ReadonlyArray<string>;
|
|
2061
|
+
}]>, "queryFn"> & {
|
|
2062
|
+
queryFn?: _tanstack_react_query.QueryFunction<Actor, [Pick<Options<GetActorData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2063
|
+
_id: string;
|
|
2064
|
+
_infinite?: boolean;
|
|
2065
|
+
tags?: ReadonlyArray<string>;
|
|
2066
|
+
}], never> | undefined;
|
|
2067
|
+
} & {
|
|
2068
|
+
queryKey: [Pick<Options<GetActorData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2069
|
+
_id: string;
|
|
2070
|
+
_infinite?: boolean;
|
|
2071
|
+
tags?: ReadonlyArray<string>;
|
|
2072
|
+
}] & {
|
|
2073
|
+
[dataTagSymbol]: Actor;
|
|
2074
|
+
[dataTagErrorSymbol]: GetActorError;
|
|
2075
|
+
};
|
|
2076
|
+
};
|
|
2077
|
+
declare const listVisibleMachinesQueryKey: (options: Options<ListVisibleMachinesData>) => [Pick<Options<ListVisibleMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2078
|
+
_id: string;
|
|
2079
|
+
_infinite?: boolean;
|
|
2080
|
+
tags?: ReadonlyArray<string>;
|
|
2081
|
+
}];
|
|
2082
|
+
/**
|
|
2083
|
+
* List visible machines
|
|
2084
|
+
*
|
|
2085
|
+
* Items are ordered by machine created_at descending, then machine id descending.
|
|
2086
|
+
*/
|
|
2087
|
+
declare const listVisibleMachinesOptions: (options: Options<ListVisibleMachinesData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListVisibleMachinesResponse, ListVisibleMachinesError, ListVisibleMachinesResponse, [Pick<Options<ListVisibleMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2088
|
+
_id: string;
|
|
2089
|
+
_infinite?: boolean;
|
|
2090
|
+
tags?: ReadonlyArray<string>;
|
|
2091
|
+
}]>, "queryFn"> & {
|
|
2092
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListVisibleMachinesResponse, [Pick<Options<ListVisibleMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2093
|
+
_id: string;
|
|
2094
|
+
_infinite?: boolean;
|
|
2095
|
+
tags?: ReadonlyArray<string>;
|
|
2096
|
+
}], never> | undefined;
|
|
2097
|
+
} & {
|
|
2098
|
+
queryKey: [Pick<Options<ListVisibleMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2099
|
+
_id: string;
|
|
2100
|
+
_infinite?: boolean;
|
|
2101
|
+
tags?: ReadonlyArray<string>;
|
|
2102
|
+
}] & {
|
|
2103
|
+
[dataTagSymbol]: ListVisibleMachinesResponse;
|
|
2104
|
+
[dataTagErrorSymbol]: ListVisibleMachinesError;
|
|
2105
|
+
};
|
|
2106
|
+
};
|
|
2107
|
+
declare const listVisibleMachinesInfiniteQueryKey: (options: Options<ListVisibleMachinesData>) => QueryKey<Options<ListVisibleMachinesData>>;
|
|
2108
|
+
/**
|
|
2109
|
+
* List visible machines
|
|
2110
|
+
*
|
|
2111
|
+
* Items are ordered by machine created_at descending, then machine id descending.
|
|
2112
|
+
*/
|
|
2113
|
+
declare const listVisibleMachinesInfiniteOptions: (options: Options<ListVisibleMachinesData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListVisibleMachinesResponse, ListVisibleMachinesError, InfiniteData<ListVisibleMachinesResponse, unknown>, QueryKey<Options<ListVisibleMachinesData>>, string | Pick<Pick<Options<ListVisibleMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2114
|
+
_id: string;
|
|
2115
|
+
_infinite?: boolean;
|
|
2116
|
+
tags?: ReadonlyArray<string>;
|
|
2117
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
2118
|
+
initialData: InfiniteData<ListVisibleMachinesResponse, string | Pick<Pick<Options<ListVisibleMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2119
|
+
_id: string;
|
|
2120
|
+
_infinite?: boolean;
|
|
2121
|
+
tags?: ReadonlyArray<string>;
|
|
2122
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListVisibleMachinesResponse, string | Pick<Pick<Options<ListVisibleMachinesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2123
|
+
_id: string;
|
|
2124
|
+
_infinite?: boolean;
|
|
2125
|
+
tags?: ReadonlyArray<string>;
|
|
2126
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
2127
|
+
} & {
|
|
2128
|
+
queryKey: QueryKey<Options<ListVisibleMachinesData>> & {
|
|
2129
|
+
[dataTagSymbol]: InfiniteData<ListVisibleMachinesResponse, unknown>;
|
|
2130
|
+
[dataTagErrorSymbol]: ListVisibleMachinesError;
|
|
2131
|
+
};
|
|
2132
|
+
}, "initialData">;
|
|
2133
|
+
/**
|
|
2134
|
+
* Create machine
|
|
2135
|
+
*/
|
|
2136
|
+
declare const createMachineMutation: (options?: Partial<Options<CreateMachineData>>) => UseMutationOptions<CreateMachineResponse, CreateMachineError, Options<CreateMachineData>>;
|
|
2137
|
+
/**
|
|
2138
|
+
* Connect a BYO machine
|
|
2139
|
+
*/
|
|
2140
|
+
declare const connectByoMachineMutation: (options?: Partial<Options<ConnectByoMachineData>>) => UseMutationOptions<ConnectByoMachineResponse2, ConnectByoMachineError, Options<ConnectByoMachineData>>;
|
|
2141
|
+
/**
|
|
2142
|
+
* Delete machine
|
|
2143
|
+
*
|
|
2144
|
+
* Deletes a BYO machine, ends its active daemon runtimes and work, revokes its daemon tokens and project grants, and releases agent bindings. Pooled machines are managed through their machine pool and cannot be deleted through this route. There are no dependency blockers for a BYO machine.
|
|
2145
|
+
*/
|
|
2146
|
+
declare const deleteMachineMutation: (options?: Partial<Options<DeleteMachineData>>) => UseMutationOptions<DeleteMachineResponse, DeleteMachineError, Options<DeleteMachineData>>;
|
|
2147
|
+
declare const getMachineQueryKey: (options: Options<GetMachineData>) => [Pick<Options<GetMachineData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2148
|
+
_id: string;
|
|
2149
|
+
_infinite?: boolean;
|
|
2150
|
+
tags?: ReadonlyArray<string>;
|
|
2151
|
+
}];
|
|
2152
|
+
/**
|
|
2153
|
+
* Get machine
|
|
2154
|
+
*/
|
|
2155
|
+
declare const getMachineOptions: (options: Options<GetMachineData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Machine, GetMachineError, Machine, [Pick<Options<GetMachineData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2156
|
+
_id: string;
|
|
2157
|
+
_infinite?: boolean;
|
|
2158
|
+
tags?: ReadonlyArray<string>;
|
|
2159
|
+
}]>, "queryFn"> & {
|
|
2160
|
+
queryFn?: _tanstack_react_query.QueryFunction<Machine, [Pick<Options<GetMachineData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2161
|
+
_id: string;
|
|
2162
|
+
_infinite?: boolean;
|
|
2163
|
+
tags?: ReadonlyArray<string>;
|
|
2164
|
+
}], never> | undefined;
|
|
2165
|
+
} & {
|
|
2166
|
+
queryKey: [Pick<Options<GetMachineData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2167
|
+
_id: string;
|
|
2168
|
+
_infinite?: boolean;
|
|
2169
|
+
tags?: ReadonlyArray<string>;
|
|
2170
|
+
}] & {
|
|
2171
|
+
[dataTagSymbol]: Machine;
|
|
2172
|
+
[dataTagErrorSymbol]: GetMachineError;
|
|
2173
|
+
};
|
|
2174
|
+
};
|
|
2175
|
+
/**
|
|
2176
|
+
* Update machine execution defaults
|
|
2177
|
+
*/
|
|
2178
|
+
declare const updateMachineMutation: (options?: Partial<Options<UpdateMachineData>>) => UseMutationOptions<UpdateMachineResponse, UpdateMachineError, Options<UpdateMachineData>>;
|
|
2179
|
+
declare const listModelProviderConfigsQueryKey: (options: Options<ListModelProviderConfigsData>) => [Pick<Options<ListModelProviderConfigsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2180
|
+
_id: string;
|
|
2181
|
+
_infinite?: boolean;
|
|
2182
|
+
tags?: ReadonlyArray<string>;
|
|
2183
|
+
}];
|
|
2184
|
+
/**
|
|
2185
|
+
* List model provider configs
|
|
2186
|
+
*
|
|
2187
|
+
* List model provider configs with server-side filtering, sorting, and cursor pagination.
|
|
2188
|
+
*/
|
|
2189
|
+
declare const listModelProviderConfigsOptions: (options: Options<ListModelProviderConfigsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ModelProviderConfigList, ListModelProviderConfigsError, ModelProviderConfigList, [Pick<Options<ListModelProviderConfigsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2190
|
+
_id: string;
|
|
2191
|
+
_infinite?: boolean;
|
|
2192
|
+
tags?: ReadonlyArray<string>;
|
|
2193
|
+
}]>, "queryFn"> & {
|
|
2194
|
+
queryFn?: _tanstack_react_query.QueryFunction<ModelProviderConfigList, [Pick<Options<ListModelProviderConfigsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2195
|
+
_id: string;
|
|
2196
|
+
_infinite?: boolean;
|
|
2197
|
+
tags?: ReadonlyArray<string>;
|
|
2198
|
+
}], never> | undefined;
|
|
2199
|
+
} & {
|
|
2200
|
+
queryKey: [Pick<Options<ListModelProviderConfigsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2201
|
+
_id: string;
|
|
2202
|
+
_infinite?: boolean;
|
|
2203
|
+
tags?: ReadonlyArray<string>;
|
|
2204
|
+
}] & {
|
|
2205
|
+
[dataTagSymbol]: ModelProviderConfigList;
|
|
2206
|
+
[dataTagErrorSymbol]: ListModelProviderConfigsError;
|
|
2207
|
+
};
|
|
2208
|
+
};
|
|
2209
|
+
declare const listModelProviderConfigsInfiniteQueryKey: (options: Options<ListModelProviderConfigsData>) => QueryKey<Options<ListModelProviderConfigsData>>;
|
|
2210
|
+
/**
|
|
2211
|
+
* List model provider configs
|
|
2212
|
+
*
|
|
2213
|
+
* List model provider configs with server-side filtering, sorting, and cursor pagination.
|
|
2214
|
+
*/
|
|
2215
|
+
declare const listModelProviderConfigsInfiniteOptions: (options: Options<ListModelProviderConfigsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ModelProviderConfigList, ListModelProviderConfigsError, InfiniteData<ModelProviderConfigList, unknown>, QueryKey<Options<ListModelProviderConfigsData>>, string | Pick<Pick<Options<ListModelProviderConfigsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2216
|
+
_id: string;
|
|
2217
|
+
_infinite?: boolean;
|
|
2218
|
+
tags?: ReadonlyArray<string>;
|
|
2219
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
2220
|
+
initialData: InfiniteData<ModelProviderConfigList, string | Pick<Pick<Options<ListModelProviderConfigsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2221
|
+
_id: string;
|
|
2222
|
+
_infinite?: boolean;
|
|
2223
|
+
tags?: ReadonlyArray<string>;
|
|
2224
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ModelProviderConfigList, string | Pick<Pick<Options<ListModelProviderConfigsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2225
|
+
_id: string;
|
|
2226
|
+
_infinite?: boolean;
|
|
2227
|
+
tags?: ReadonlyArray<string>;
|
|
2228
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
2229
|
+
} & {
|
|
2230
|
+
queryKey: QueryKey<Options<ListModelProviderConfigsData>> & {
|
|
2231
|
+
[dataTagSymbol]: InfiniteData<ModelProviderConfigList, unknown>;
|
|
2232
|
+
[dataTagErrorSymbol]: ListModelProviderConfigsError;
|
|
2233
|
+
};
|
|
2234
|
+
}, "initialData">;
|
|
2235
|
+
/**
|
|
2236
|
+
* Create model provider config
|
|
2237
|
+
*
|
|
2238
|
+
* Create a model provider config, validate the configured credential where the provider exposes a validation endpoint, then probe the provider's /models endpoint. The result is returned as model_catalog; a failed probe does not fail creation.
|
|
2239
|
+
*/
|
|
2240
|
+
declare const createModelProviderConfigMutation: (options?: Partial<Options<CreateModelProviderConfigData>>) => UseMutationOptions<CreateModelProviderConfigResponse2, CreateModelProviderConfigError, Options<CreateModelProviderConfigData>>;
|
|
2241
|
+
/**
|
|
2242
|
+
* Delete model provider config
|
|
2243
|
+
*
|
|
2244
|
+
* Deletes only the model provider config. Deletion is blocked while it has configured models. Cluster-managed provider configs cannot be deleted through this route.
|
|
2245
|
+
*/
|
|
2246
|
+
declare const deleteModelProviderConfigMutation: (options?: Partial<Options<DeleteModelProviderConfigData>>) => UseMutationOptions<DeleteModelProviderConfigResponse, DeleteModelProviderConfigError, Options<DeleteModelProviderConfigData>>;
|
|
2247
|
+
declare const getModelProviderConfigQueryKey: (options: Options<GetModelProviderConfigData>) => [Pick<Options<GetModelProviderConfigData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2248
|
+
_id: string;
|
|
2249
|
+
_infinite?: boolean;
|
|
2250
|
+
tags?: ReadonlyArray<string>;
|
|
2251
|
+
}];
|
|
2252
|
+
/**
|
|
2253
|
+
* Get model provider config
|
|
2254
|
+
*/
|
|
2255
|
+
declare const getModelProviderConfigOptions: (options: Options<GetModelProviderConfigData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ModelProviderConfig, GetModelProviderConfigError, ModelProviderConfig, [Pick<Options<GetModelProviderConfigData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2256
|
+
_id: string;
|
|
2257
|
+
_infinite?: boolean;
|
|
2258
|
+
tags?: ReadonlyArray<string>;
|
|
2259
|
+
}]>, "queryFn"> & {
|
|
2260
|
+
queryFn?: _tanstack_react_query.QueryFunction<ModelProviderConfig, [Pick<Options<GetModelProviderConfigData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2261
|
+
_id: string;
|
|
2262
|
+
_infinite?: boolean;
|
|
2263
|
+
tags?: ReadonlyArray<string>;
|
|
2264
|
+
}], never> | undefined;
|
|
2265
|
+
} & {
|
|
2266
|
+
queryKey: [Pick<Options<GetModelProviderConfigData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2267
|
+
_id: string;
|
|
2268
|
+
_infinite?: boolean;
|
|
2269
|
+
tags?: ReadonlyArray<string>;
|
|
2270
|
+
}] & {
|
|
2271
|
+
[dataTagSymbol]: ModelProviderConfig;
|
|
2272
|
+
[dataTagErrorSymbol]: GetModelProviderConfigError;
|
|
2273
|
+
};
|
|
2274
|
+
};
|
|
2275
|
+
/**
|
|
2276
|
+
* Update model provider config
|
|
2277
|
+
*/
|
|
2278
|
+
declare const updateModelProviderConfigMutation: (options?: Partial<Options<UpdateModelProviderConfigData>>) => UseMutationOptions<UpdateModelProviderConfigResponse, UpdateModelProviderConfigError, Options<UpdateModelProviderConfigData>>;
|
|
2279
|
+
declare const getModelCatalogQueryKey: (options: Options<GetModelCatalogData>) => [Pick<Options<GetModelCatalogData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2280
|
+
_id: string;
|
|
2281
|
+
_infinite?: boolean;
|
|
2282
|
+
tags?: ReadonlyArray<string>;
|
|
2283
|
+
}];
|
|
2284
|
+
/**
|
|
2285
|
+
* Get model catalog
|
|
2286
|
+
*
|
|
2287
|
+
* Fetches the provider's live model catalog by validating the configured credential and probing the provider's /models endpoint. The call waits on the upstream provider, so it is slower than the other model provider config routes and can report failure as data.
|
|
2288
|
+
*/
|
|
2289
|
+
declare const getModelCatalogOptions: (options: Options<GetModelCatalogData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ModelCatalog, GetModelCatalogError, ModelCatalog, [Pick<Options<GetModelCatalogData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2290
|
+
_id: string;
|
|
2291
|
+
_infinite?: boolean;
|
|
2292
|
+
tags?: ReadonlyArray<string>;
|
|
2293
|
+
}]>, "queryFn"> & {
|
|
2294
|
+
queryFn?: _tanstack_react_query.QueryFunction<ModelCatalog, [Pick<Options<GetModelCatalogData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2295
|
+
_id: string;
|
|
2296
|
+
_infinite?: boolean;
|
|
2297
|
+
tags?: ReadonlyArray<string>;
|
|
2298
|
+
}], never> | undefined;
|
|
2299
|
+
} & {
|
|
2300
|
+
queryKey: [Pick<Options<GetModelCatalogData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2301
|
+
_id: string;
|
|
2302
|
+
_infinite?: boolean;
|
|
2303
|
+
tags?: ReadonlyArray<string>;
|
|
2304
|
+
}] & {
|
|
2305
|
+
[dataTagSymbol]: ModelCatalog;
|
|
2306
|
+
[dataTagErrorSymbol]: GetModelCatalogError;
|
|
2307
|
+
};
|
|
2308
|
+
};
|
|
2309
|
+
declare const listConfiguredModelsQueryKey: (options: Options<ListConfiguredModelsData>) => [Pick<Options<ListConfiguredModelsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2310
|
+
_id: string;
|
|
2311
|
+
_infinite?: boolean;
|
|
2312
|
+
tags?: ReadonlyArray<string>;
|
|
2313
|
+
}];
|
|
2314
|
+
/**
|
|
2315
|
+
* List configured models
|
|
2316
|
+
*
|
|
2317
|
+
* Items are ordered by created_at descending, then id descending.
|
|
2318
|
+
*/
|
|
2319
|
+
declare const listConfiguredModelsOptions: (options: Options<ListConfiguredModelsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ConfiguredModelList, ListConfiguredModelsError, ConfiguredModelList, [Pick<Options<ListConfiguredModelsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2320
|
+
_id: string;
|
|
2321
|
+
_infinite?: boolean;
|
|
2322
|
+
tags?: ReadonlyArray<string>;
|
|
2323
|
+
}]>, "queryFn"> & {
|
|
2324
|
+
queryFn?: _tanstack_react_query.QueryFunction<ConfiguredModelList, [Pick<Options<ListConfiguredModelsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2325
|
+
_id: string;
|
|
2326
|
+
_infinite?: boolean;
|
|
2327
|
+
tags?: ReadonlyArray<string>;
|
|
2328
|
+
}], never> | undefined;
|
|
2329
|
+
} & {
|
|
2330
|
+
queryKey: [Pick<Options<ListConfiguredModelsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2331
|
+
_id: string;
|
|
2332
|
+
_infinite?: boolean;
|
|
2333
|
+
tags?: ReadonlyArray<string>;
|
|
2334
|
+
}] & {
|
|
2335
|
+
[dataTagSymbol]: ConfiguredModelList;
|
|
2336
|
+
[dataTagErrorSymbol]: ListConfiguredModelsError;
|
|
2337
|
+
};
|
|
2338
|
+
};
|
|
2339
|
+
declare const listConfiguredModelsInfiniteQueryKey: (options: Options<ListConfiguredModelsData>) => QueryKey<Options<ListConfiguredModelsData>>;
|
|
2340
|
+
/**
|
|
2341
|
+
* List configured models
|
|
2342
|
+
*
|
|
2343
|
+
* Items are ordered by created_at descending, then id descending.
|
|
2344
|
+
*/
|
|
2345
|
+
declare const listConfiguredModelsInfiniteOptions: (options: Options<ListConfiguredModelsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ConfiguredModelList, ListConfiguredModelsError, InfiniteData<ConfiguredModelList, unknown>, QueryKey<Options<ListConfiguredModelsData>>, string | Pick<Pick<Options<ListConfiguredModelsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2346
|
+
_id: string;
|
|
2347
|
+
_infinite?: boolean;
|
|
2348
|
+
tags?: ReadonlyArray<string>;
|
|
2349
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
2350
|
+
initialData: InfiniteData<ConfiguredModelList, string | Pick<Pick<Options<ListConfiguredModelsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2351
|
+
_id: string;
|
|
2352
|
+
_infinite?: boolean;
|
|
2353
|
+
tags?: ReadonlyArray<string>;
|
|
2354
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ConfiguredModelList, string | Pick<Pick<Options<ListConfiguredModelsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2355
|
+
_id: string;
|
|
2356
|
+
_infinite?: boolean;
|
|
2357
|
+
tags?: ReadonlyArray<string>;
|
|
2358
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
2359
|
+
} & {
|
|
2360
|
+
queryKey: QueryKey<Options<ListConfiguredModelsData>> & {
|
|
2361
|
+
[dataTagSymbol]: InfiniteData<ConfiguredModelList, unknown>;
|
|
2362
|
+
[dataTagErrorSymbol]: ListConfiguredModelsError;
|
|
2363
|
+
};
|
|
2364
|
+
}, "initialData">;
|
|
2365
|
+
/**
|
|
2366
|
+
* Create configured model
|
|
2367
|
+
*/
|
|
2368
|
+
declare const createConfiguredModelMutation: (options?: Partial<Options<CreateConfiguredModelData>>) => UseMutationOptions<CreateConfiguredModelResponse, CreateConfiguredModelError, Options<CreateConfiguredModelData>>;
|
|
2369
|
+
/**
|
|
2370
|
+
* Delete configured model
|
|
2371
|
+
*
|
|
2372
|
+
* Deletes only the configured model. Deletion is blocked while it has active project grants. Cluster-managed configured models cannot be deleted through this route.
|
|
2373
|
+
*/
|
|
2374
|
+
declare const deleteConfiguredModelMutation: (options?: Partial<Options<DeleteConfiguredModelData>>) => UseMutationOptions<DeleteConfiguredModelResponse, DeleteConfiguredModelError, Options<DeleteConfiguredModelData>>;
|
|
2375
|
+
/**
|
|
2376
|
+
* Update configured model
|
|
2377
|
+
*/
|
|
2378
|
+
declare const updateConfiguredModelMutation: (options?: Partial<Options<UpdateConfiguredModelData>>) => UseMutationOptions<UpdateConfiguredModelResponse, UpdateConfiguredModelError, Options<UpdateConfiguredModelData>>;
|
|
2379
|
+
declare const listProjectModelGrantsQueryKey: (options: Options<ListProjectModelGrantsData>) => [Pick<Options<ListProjectModelGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2380
|
+
_id: string;
|
|
2381
|
+
_infinite?: boolean;
|
|
2382
|
+
tags?: ReadonlyArray<string>;
|
|
2383
|
+
}];
|
|
2384
|
+
/**
|
|
2385
|
+
* List project model grants
|
|
2386
|
+
*
|
|
2387
|
+
* Items are ordered by created_at descending, then id descending.
|
|
2388
|
+
*/
|
|
2389
|
+
declare const listProjectModelGrantsOptions: (options: Options<ListProjectModelGrantsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListProjectModelGrantsResponse, ListProjectModelGrantsError, ListProjectModelGrantsResponse, [Pick<Options<ListProjectModelGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2390
|
+
_id: string;
|
|
2391
|
+
_infinite?: boolean;
|
|
2392
|
+
tags?: ReadonlyArray<string>;
|
|
2393
|
+
}]>, "queryFn"> & {
|
|
2394
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListProjectModelGrantsResponse, [Pick<Options<ListProjectModelGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2395
|
+
_id: string;
|
|
2396
|
+
_infinite?: boolean;
|
|
2397
|
+
tags?: ReadonlyArray<string>;
|
|
2398
|
+
}], never> | undefined;
|
|
2399
|
+
} & {
|
|
2400
|
+
queryKey: [Pick<Options<ListProjectModelGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2401
|
+
_id: string;
|
|
2402
|
+
_infinite?: boolean;
|
|
2403
|
+
tags?: ReadonlyArray<string>;
|
|
2404
|
+
}] & {
|
|
2405
|
+
[dataTagSymbol]: ListProjectModelGrantsResponse;
|
|
2406
|
+
[dataTagErrorSymbol]: ListProjectModelGrantsError;
|
|
2407
|
+
};
|
|
2408
|
+
};
|
|
2409
|
+
declare const listProjectModelGrantsInfiniteQueryKey: (options: Options<ListProjectModelGrantsData>) => QueryKey<Options<ListProjectModelGrantsData>>;
|
|
2410
|
+
/**
|
|
2411
|
+
* List project model grants
|
|
2412
|
+
*
|
|
2413
|
+
* Items are ordered by created_at descending, then id descending.
|
|
2414
|
+
*/
|
|
2415
|
+
declare const listProjectModelGrantsInfiniteOptions: (options: Options<ListProjectModelGrantsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListProjectModelGrantsResponse, ListProjectModelGrantsError, InfiniteData<ListProjectModelGrantsResponse, unknown>, QueryKey<Options<ListProjectModelGrantsData>>, string | Pick<Pick<Options<ListProjectModelGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2416
|
+
_id: string;
|
|
2417
|
+
_infinite?: boolean;
|
|
2418
|
+
tags?: ReadonlyArray<string>;
|
|
2419
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
2420
|
+
initialData: InfiniteData<ListProjectModelGrantsResponse, string | Pick<Pick<Options<ListProjectModelGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2421
|
+
_id: string;
|
|
2422
|
+
_infinite?: boolean;
|
|
2423
|
+
tags?: ReadonlyArray<string>;
|
|
2424
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListProjectModelGrantsResponse, string | Pick<Pick<Options<ListProjectModelGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2425
|
+
_id: string;
|
|
2426
|
+
_infinite?: boolean;
|
|
2427
|
+
tags?: ReadonlyArray<string>;
|
|
2428
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
2429
|
+
} & {
|
|
2430
|
+
queryKey: QueryKey<Options<ListProjectModelGrantsData>> & {
|
|
2431
|
+
[dataTagSymbol]: InfiniteData<ListProjectModelGrantsResponse, unknown>;
|
|
2432
|
+
[dataTagErrorSymbol]: ListProjectModelGrantsError;
|
|
2433
|
+
};
|
|
2434
|
+
}, "initialData">;
|
|
2435
|
+
/**
|
|
2436
|
+
* Create project model grant
|
|
2437
|
+
*/
|
|
2438
|
+
declare const createProjectModelGrantMutation: (options?: Partial<Options<CreateProjectModelGrantData>>) => UseMutationOptions<CreateProjectModelGrantResponse, CreateProjectModelGrantError, Options<CreateProjectModelGrantData>>;
|
|
2439
|
+
/**
|
|
2440
|
+
* Delete project model grant
|
|
2441
|
+
*
|
|
2442
|
+
* Removes the project's access to the configured model. The grant is live policy: new launches can no longer select the model, and agents already using it lose access on their next model call. The model itself is retained, and there are no dependency blockers.
|
|
2443
|
+
*/
|
|
2444
|
+
declare const deleteProjectModelGrantMutation: (options?: Partial<Options<DeleteProjectModelGrantData>>) => UseMutationOptions<DeleteProjectModelGrantResponse, DeleteProjectModelGrantError, Options<DeleteProjectModelGrantData>>;
|
|
2445
|
+
/**
|
|
2446
|
+
* Update project model grant
|
|
2447
|
+
*
|
|
2448
|
+
* Updates the project's overrides for the configured model. Omitted fields keep their current values; null clears an override so the project inherits from the configured model. The grant is live policy: agents already using the model re-apply the updated overrides on their next model call, against the configured-model revision each agent pinned at launch. Updates are validated against the configured model's current revision only, so an update can make an agent pinned to an older, incompatible revision fail its next model call.
|
|
2449
|
+
*/
|
|
2450
|
+
declare const updateProjectModelGrantMutation: (options?: Partial<Options<UpdateProjectModelGrantData>>) => UseMutationOptions<UpdateProjectModelGrantResponse, UpdateProjectModelGrantError, Options<UpdateProjectModelGrantData>>;
|
|
2451
|
+
declare const listMachinePoolsQueryKey: (options: Options<ListMachinePoolsData>) => [Pick<Options<ListMachinePoolsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2452
|
+
_id: string;
|
|
2453
|
+
_infinite?: boolean;
|
|
2454
|
+
tags?: ReadonlyArray<string>;
|
|
2455
|
+
}];
|
|
2456
|
+
/**
|
|
2457
|
+
* List machine pools
|
|
2458
|
+
*
|
|
2459
|
+
* List machine pools with server-side filtering, sorting, and cursor pagination.
|
|
2460
|
+
*/
|
|
2461
|
+
declare const listMachinePoolsOptions: (options: Options<ListMachinePoolsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListMachinePoolsResponse, ListMachinePoolsError, ListMachinePoolsResponse, [Pick<Options<ListMachinePoolsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2462
|
+
_id: string;
|
|
2463
|
+
_infinite?: boolean;
|
|
2464
|
+
tags?: ReadonlyArray<string>;
|
|
2465
|
+
}]>, "queryFn"> & {
|
|
2466
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListMachinePoolsResponse, [Pick<Options<ListMachinePoolsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2467
|
+
_id: string;
|
|
2468
|
+
_infinite?: boolean;
|
|
2469
|
+
tags?: ReadonlyArray<string>;
|
|
2470
|
+
}], never> | undefined;
|
|
2471
|
+
} & {
|
|
2472
|
+
queryKey: [Pick<Options<ListMachinePoolsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2473
|
+
_id: string;
|
|
2474
|
+
_infinite?: boolean;
|
|
2475
|
+
tags?: ReadonlyArray<string>;
|
|
2476
|
+
}] & {
|
|
2477
|
+
[dataTagSymbol]: ListMachinePoolsResponse;
|
|
2478
|
+
[dataTagErrorSymbol]: ListMachinePoolsError;
|
|
2479
|
+
};
|
|
2480
|
+
};
|
|
2481
|
+
declare const listMachinePoolsInfiniteQueryKey: (options: Options<ListMachinePoolsData>) => QueryKey<Options<ListMachinePoolsData>>;
|
|
2482
|
+
/**
|
|
2483
|
+
* List machine pools
|
|
2484
|
+
*
|
|
2485
|
+
* List machine pools with server-side filtering, sorting, and cursor pagination.
|
|
2486
|
+
*/
|
|
2487
|
+
declare const listMachinePoolsInfiniteOptions: (options: Options<ListMachinePoolsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListMachinePoolsResponse, ListMachinePoolsError, InfiniteData<ListMachinePoolsResponse, unknown>, QueryKey<Options<ListMachinePoolsData>>, string | Pick<Pick<Options<ListMachinePoolsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2488
|
+
_id: string;
|
|
2489
|
+
_infinite?: boolean;
|
|
2490
|
+
tags?: ReadonlyArray<string>;
|
|
2491
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
2492
|
+
initialData: InfiniteData<ListMachinePoolsResponse, string | Pick<Pick<Options<ListMachinePoolsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2493
|
+
_id: string;
|
|
2494
|
+
_infinite?: boolean;
|
|
2495
|
+
tags?: ReadonlyArray<string>;
|
|
2496
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListMachinePoolsResponse, string | Pick<Pick<Options<ListMachinePoolsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2497
|
+
_id: string;
|
|
2498
|
+
_infinite?: boolean;
|
|
2499
|
+
tags?: ReadonlyArray<string>;
|
|
2500
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
2501
|
+
} & {
|
|
2502
|
+
queryKey: QueryKey<Options<ListMachinePoolsData>> & {
|
|
2503
|
+
[dataTagSymbol]: InfiniteData<ListMachinePoolsResponse, unknown>;
|
|
2504
|
+
[dataTagErrorSymbol]: ListMachinePoolsError;
|
|
2505
|
+
};
|
|
2506
|
+
}, "initialData">;
|
|
2507
|
+
/**
|
|
2508
|
+
* Create machine pool
|
|
2509
|
+
*/
|
|
2510
|
+
declare const createMachinePoolMutation: (options?: Partial<Options<CreateMachinePoolData>>) => UseMutationOptions<CreateMachinePoolResponse, CreateMachinePoolError, Options<CreateMachinePoolData>>;
|
|
2511
|
+
/**
|
|
2512
|
+
* Delete machine pool
|
|
2513
|
+
*
|
|
2514
|
+
* Deletes the machine pool and its pooled machines, revokes generated machine grants and project machine-pool grants, and stops processes that depended on those grants. Deleting a cluster-managed machine pool is rejected with 409 Conflict; there are no other dependency blockers.
|
|
2515
|
+
*/
|
|
2516
|
+
declare const deleteMachinePoolMutation: (options?: Partial<Options<DeleteMachinePoolData>>) => UseMutationOptions<DeleteMachinePoolResponse, DeleteMachinePoolError, Options<DeleteMachinePoolData>>;
|
|
2517
|
+
declare const getMachinePoolQueryKey: (options: Options<GetMachinePoolData>) => [Pick<Options<GetMachinePoolData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2518
|
+
_id: string;
|
|
2519
|
+
_infinite?: boolean;
|
|
2520
|
+
tags?: ReadonlyArray<string>;
|
|
2521
|
+
}];
|
|
2522
|
+
/**
|
|
2523
|
+
* Get machine pool
|
|
2524
|
+
*/
|
|
2525
|
+
declare const getMachinePoolOptions: (options: Options<GetMachinePoolData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<MachinePool, GetMachinePoolError, MachinePool, [Pick<Options<GetMachinePoolData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2526
|
+
_id: string;
|
|
2527
|
+
_infinite?: boolean;
|
|
2528
|
+
tags?: ReadonlyArray<string>;
|
|
2529
|
+
}]>, "queryFn"> & {
|
|
2530
|
+
queryFn?: _tanstack_react_query.QueryFunction<MachinePool, [Pick<Options<GetMachinePoolData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2531
|
+
_id: string;
|
|
2532
|
+
_infinite?: boolean;
|
|
2533
|
+
tags?: ReadonlyArray<string>;
|
|
2534
|
+
}], never> | undefined;
|
|
2535
|
+
} & {
|
|
2536
|
+
queryKey: [Pick<Options<GetMachinePoolData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2537
|
+
_id: string;
|
|
2538
|
+
_infinite?: boolean;
|
|
2539
|
+
tags?: ReadonlyArray<string>;
|
|
2540
|
+
}] & {
|
|
2541
|
+
[dataTagSymbol]: MachinePool;
|
|
2542
|
+
[dataTagErrorSymbol]: GetMachinePoolError;
|
|
2543
|
+
};
|
|
2544
|
+
};
|
|
2545
|
+
/**
|
|
2546
|
+
* Update machine pool
|
|
2547
|
+
*/
|
|
2548
|
+
declare const updateMachinePoolMutation: (options?: Partial<Options<UpdateMachinePoolData>>) => UseMutationOptions<UpdateMachinePoolResponse, UpdateMachinePoolError, Options<UpdateMachinePoolData>>;
|
|
2549
|
+
declare const listProjectMachinePoolGrantsQueryKey: (options: Options<ListProjectMachinePoolGrantsData>) => [Pick<Options<ListProjectMachinePoolGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2550
|
+
_id: string;
|
|
2551
|
+
_infinite?: boolean;
|
|
2552
|
+
tags?: ReadonlyArray<string>;
|
|
2553
|
+
}];
|
|
2554
|
+
/**
|
|
2555
|
+
* List project machine pool grants
|
|
2556
|
+
*
|
|
2557
|
+
* Items are ordered by created_at descending, then id descending.
|
|
2558
|
+
*/
|
|
2559
|
+
declare const listProjectMachinePoolGrantsOptions: (options: Options<ListProjectMachinePoolGrantsData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListProjectMachinePoolGrantsResponse, ListProjectMachinePoolGrantsError, ListProjectMachinePoolGrantsResponse, [Pick<Options<ListProjectMachinePoolGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2560
|
+
_id: string;
|
|
2561
|
+
_infinite?: boolean;
|
|
2562
|
+
tags?: ReadonlyArray<string>;
|
|
2563
|
+
}]>, "queryFn"> & {
|
|
2564
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListProjectMachinePoolGrantsResponse, [Pick<Options<ListProjectMachinePoolGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2565
|
+
_id: string;
|
|
2566
|
+
_infinite?: boolean;
|
|
2567
|
+
tags?: ReadonlyArray<string>;
|
|
2568
|
+
}], never> | undefined;
|
|
2569
|
+
} & {
|
|
2570
|
+
queryKey: [Pick<Options<ListProjectMachinePoolGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2571
|
+
_id: string;
|
|
2572
|
+
_infinite?: boolean;
|
|
2573
|
+
tags?: ReadonlyArray<string>;
|
|
2574
|
+
}] & {
|
|
2575
|
+
[dataTagSymbol]: ListProjectMachinePoolGrantsResponse;
|
|
2576
|
+
[dataTagErrorSymbol]: ListProjectMachinePoolGrantsError;
|
|
2577
|
+
};
|
|
2578
|
+
};
|
|
2579
|
+
declare const listProjectMachinePoolGrantsInfiniteQueryKey: (options: Options<ListProjectMachinePoolGrantsData>) => QueryKey<Options<ListProjectMachinePoolGrantsData>>;
|
|
2580
|
+
/**
|
|
2581
|
+
* List project machine pool grants
|
|
2582
|
+
*
|
|
2583
|
+
* Items are ordered by created_at descending, then id descending.
|
|
2584
|
+
*/
|
|
2585
|
+
declare const listProjectMachinePoolGrantsInfiniteOptions: (options: Options<ListProjectMachinePoolGrantsData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListProjectMachinePoolGrantsResponse, ListProjectMachinePoolGrantsError, InfiniteData<ListProjectMachinePoolGrantsResponse, unknown>, QueryKey<Options<ListProjectMachinePoolGrantsData>>, string | Pick<Pick<Options<ListProjectMachinePoolGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2586
|
+
_id: string;
|
|
2587
|
+
_infinite?: boolean;
|
|
2588
|
+
tags?: ReadonlyArray<string>;
|
|
2589
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
2590
|
+
initialData: InfiniteData<ListProjectMachinePoolGrantsResponse, string | Pick<Pick<Options<ListProjectMachinePoolGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2591
|
+
_id: string;
|
|
2592
|
+
_infinite?: boolean;
|
|
2593
|
+
tags?: ReadonlyArray<string>;
|
|
2594
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListProjectMachinePoolGrantsResponse, string | Pick<Pick<Options<ListProjectMachinePoolGrantsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2595
|
+
_id: string;
|
|
2596
|
+
_infinite?: boolean;
|
|
2597
|
+
tags?: ReadonlyArray<string>;
|
|
2598
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
2599
|
+
} & {
|
|
2600
|
+
queryKey: QueryKey<Options<ListProjectMachinePoolGrantsData>> & {
|
|
2601
|
+
[dataTagSymbol]: InfiniteData<ListProjectMachinePoolGrantsResponse, unknown>;
|
|
2602
|
+
[dataTagErrorSymbol]: ListProjectMachinePoolGrantsError;
|
|
2603
|
+
};
|
|
2604
|
+
}, "initialData">;
|
|
2605
|
+
/**
|
|
2606
|
+
* Create project machine pool grant
|
|
2607
|
+
*/
|
|
2608
|
+
declare const createProjectMachinePoolGrantMutation: (options?: Partial<Options<CreateProjectMachinePoolGrantData>>) => UseMutationOptions<CreateProjectMachinePoolGrantResponse, CreateProjectMachinePoolGrantError, Options<CreateProjectMachinePoolGrantData>>;
|
|
2609
|
+
/**
|
|
2610
|
+
* Delete project machine pool grant
|
|
2611
|
+
*
|
|
2612
|
+
* Removes the project's access to the machine pool, revokes machine grants generated through it, and stops processes that depended on those grants. The pool itself is retained, and there are no dependency blockers.
|
|
2613
|
+
*/
|
|
2614
|
+
declare const deleteProjectMachinePoolGrantMutation: (options?: Partial<Options<DeleteProjectMachinePoolGrantData>>) => UseMutationOptions<DeleteProjectMachinePoolGrantResponse, DeleteProjectMachinePoolGrantError, Options<DeleteProjectMachinePoolGrantData>>;
|
|
2615
|
+
declare const getProjectMachinePoolGrantQueryKey: (options: Options<GetProjectMachinePoolGrantData>) => [Pick<Options<GetProjectMachinePoolGrantData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2616
|
+
_id: string;
|
|
2617
|
+
_infinite?: boolean;
|
|
2618
|
+
tags?: ReadonlyArray<string>;
|
|
2619
|
+
}];
|
|
2620
|
+
/**
|
|
2621
|
+
* Get project machine pool grant
|
|
2622
|
+
*/
|
|
2623
|
+
declare const getProjectMachinePoolGrantOptions: (options: Options<GetProjectMachinePoolGrantData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ProjectMachinePoolGrant, GetProjectMachinePoolGrantError, ProjectMachinePoolGrant, [Pick<Options<GetProjectMachinePoolGrantData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2624
|
+
_id: string;
|
|
2625
|
+
_infinite?: boolean;
|
|
2626
|
+
tags?: ReadonlyArray<string>;
|
|
2627
|
+
}]>, "queryFn"> & {
|
|
2628
|
+
queryFn?: _tanstack_react_query.QueryFunction<ProjectMachinePoolGrant, [Pick<Options<GetProjectMachinePoolGrantData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2629
|
+
_id: string;
|
|
2630
|
+
_infinite?: boolean;
|
|
2631
|
+
tags?: ReadonlyArray<string>;
|
|
2632
|
+
}], never> | undefined;
|
|
2633
|
+
} & {
|
|
2634
|
+
queryKey: [Pick<Options<GetProjectMachinePoolGrantData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2635
|
+
_id: string;
|
|
2636
|
+
_infinite?: boolean;
|
|
2637
|
+
tags?: ReadonlyArray<string>;
|
|
2638
|
+
}] & {
|
|
2639
|
+
[dataTagSymbol]: ProjectMachinePoolGrant;
|
|
2640
|
+
[dataTagErrorSymbol]: GetProjectMachinePoolGrantError;
|
|
2641
|
+
};
|
|
2642
|
+
};
|
|
2643
|
+
/**
|
|
2644
|
+
* Update project machine pool grant
|
|
2645
|
+
*
|
|
2646
|
+
* Updates the grant's overrides and limits. Omitted fields keep their current values; null clears an override so the grant follows the machine pool again. Overlay objects and metadata are replaced whole when present. Existing machines keep their configuration; the updated defaults and limits apply to new launches.
|
|
2647
|
+
*/
|
|
2648
|
+
declare const updateProjectMachinePoolGrantMutation: (options?: Partial<Options<UpdateProjectMachinePoolGrantData>>) => UseMutationOptions<UpdateProjectMachinePoolGrantResponse, UpdateProjectMachinePoolGrantError, Options<UpdateProjectMachinePoolGrantData>>;
|
|
2649
|
+
declare const listByoMachineDaemonTokensQueryKey: (options: Options<ListByoMachineDaemonTokensData>) => [Pick<Options<ListByoMachineDaemonTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2650
|
+
_id: string;
|
|
2651
|
+
_infinite?: boolean;
|
|
2652
|
+
tags?: ReadonlyArray<string>;
|
|
2653
|
+
}];
|
|
2654
|
+
/**
|
|
2655
|
+
* List byo machine daemon tokens
|
|
2656
|
+
*
|
|
2657
|
+
* Items are ordered by created_at descending, then id descending.
|
|
2658
|
+
*/
|
|
2659
|
+
declare const listByoMachineDaemonTokensOptions: (options: Options<ListByoMachineDaemonTokensData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ListMachineDaemonTokensResponse, ListByoMachineDaemonTokensError, ListMachineDaemonTokensResponse, [Pick<Options<ListByoMachineDaemonTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2660
|
+
_id: string;
|
|
2661
|
+
_infinite?: boolean;
|
|
2662
|
+
tags?: ReadonlyArray<string>;
|
|
2663
|
+
}]>, "queryFn"> & {
|
|
2664
|
+
queryFn?: _tanstack_react_query.QueryFunction<ListMachineDaemonTokensResponse, [Pick<Options<ListByoMachineDaemonTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2665
|
+
_id: string;
|
|
2666
|
+
_infinite?: boolean;
|
|
2667
|
+
tags?: ReadonlyArray<string>;
|
|
2668
|
+
}], never> | undefined;
|
|
2669
|
+
} & {
|
|
2670
|
+
queryKey: [Pick<Options<ListByoMachineDaemonTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2671
|
+
_id: string;
|
|
2672
|
+
_infinite?: boolean;
|
|
2673
|
+
tags?: ReadonlyArray<string>;
|
|
2674
|
+
}] & {
|
|
2675
|
+
[dataTagSymbol]: ListMachineDaemonTokensResponse;
|
|
2676
|
+
[dataTagErrorSymbol]: ListByoMachineDaemonTokensError;
|
|
2677
|
+
};
|
|
2678
|
+
};
|
|
2679
|
+
declare const listByoMachineDaemonTokensInfiniteQueryKey: (options: Options<ListByoMachineDaemonTokensData>) => QueryKey<Options<ListByoMachineDaemonTokensData>>;
|
|
2680
|
+
/**
|
|
2681
|
+
* List byo machine daemon tokens
|
|
2682
|
+
*
|
|
2683
|
+
* Items are ordered by created_at descending, then id descending.
|
|
2684
|
+
*/
|
|
2685
|
+
declare const listByoMachineDaemonTokensInfiniteOptions: (options: Options<ListByoMachineDaemonTokensData>) => Omit<_tanstack_react_query.UseInfiniteQueryOptions<ListMachineDaemonTokensResponse, ListByoMachineDaemonTokensError, InfiniteData<ListMachineDaemonTokensResponse, unknown>, QueryKey<Options<ListByoMachineDaemonTokensData>>, string | Pick<Pick<Options<ListByoMachineDaemonTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2686
|
+
_id: string;
|
|
2687
|
+
_infinite?: boolean;
|
|
2688
|
+
tags?: ReadonlyArray<string>;
|
|
2689
|
+
}, "body" | "path" | "query" | "headers">> & {
|
|
2690
|
+
initialData: InfiniteData<ListMachineDaemonTokensResponse, string | Pick<Pick<Options<ListByoMachineDaemonTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2691
|
+
_id: string;
|
|
2692
|
+
_infinite?: boolean;
|
|
2693
|
+
tags?: ReadonlyArray<string>;
|
|
2694
|
+
}, "body" | "path" | "query" | "headers">> | (() => InfiniteData<ListMachineDaemonTokensResponse, string | Pick<Pick<Options<ListByoMachineDaemonTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2695
|
+
_id: string;
|
|
2696
|
+
_infinite?: boolean;
|
|
2697
|
+
tags?: ReadonlyArray<string>;
|
|
2698
|
+
}, "body" | "path" | "query" | "headers">>) | undefined;
|
|
2699
|
+
} & {
|
|
2700
|
+
queryKey: QueryKey<Options<ListByoMachineDaemonTokensData>> & {
|
|
2701
|
+
[dataTagSymbol]: InfiniteData<ListMachineDaemonTokensResponse, unknown>;
|
|
2702
|
+
[dataTagErrorSymbol]: ListByoMachineDaemonTokensError;
|
|
2703
|
+
};
|
|
2704
|
+
}, "initialData">;
|
|
2705
|
+
/**
|
|
2706
|
+
* Create byo machine daemon token
|
|
2707
|
+
*/
|
|
2708
|
+
declare const createByoMachineDaemonTokenMutation: (options?: Partial<Options<CreateByoMachineDaemonTokenData>>) => UseMutationOptions<CreateByoMachineDaemonTokenResponse, CreateByoMachineDaemonTokenError, Options<CreateByoMachineDaemonTokenData>>;
|
|
2709
|
+
/**
|
|
2710
|
+
* Revoke machine daemon token
|
|
2711
|
+
*/
|
|
2712
|
+
declare const revokeMachineDaemonTokenMutation: (options?: Partial<Options<RevokeMachineDaemonTokenData>>) => UseMutationOptions<RevokeMachineDaemonTokenResponse, RevokeMachineDaemonTokenError, Options<RevokeMachineDaemonTokenData>>;
|
|
2713
|
+
/**
|
|
2714
|
+
* Register machine daemon runtime
|
|
2715
|
+
*/
|
|
2716
|
+
declare const registerMachineDaemonRuntimeMutation: (options?: Partial<Options<RegisterMachineDaemonRuntimeData>>) => UseMutationOptions<RegisterMachineDaemonRuntimeResponse, RegisterMachineDaemonRuntimeError, Options<RegisterMachineDaemonRuntimeData>>;
|
|
2717
|
+
declare const socketMachineDaemonRuntimeQueryKey: (options: Options<SocketMachineDaemonRuntimeData>) => [Pick<Options<SocketMachineDaemonRuntimeData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2718
|
+
_id: string;
|
|
2719
|
+
_infinite?: boolean;
|
|
2720
|
+
tags?: ReadonlyArray<string>;
|
|
2721
|
+
}];
|
|
2722
|
+
/**
|
|
2723
|
+
* Socket machine daemon runtime
|
|
2724
|
+
*/
|
|
2725
|
+
declare const socketMachineDaemonRuntimeOptions: (options: Options<SocketMachineDaemonRuntimeData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<unknown, SocketMachineDaemonRuntimeError, unknown, [Pick<Options<SocketMachineDaemonRuntimeData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2726
|
+
_id: string;
|
|
2727
|
+
_infinite?: boolean;
|
|
2728
|
+
tags?: ReadonlyArray<string>;
|
|
2729
|
+
}]>, "queryFn"> & {
|
|
2730
|
+
queryFn?: _tanstack_react_query.QueryFunction<unknown, [Pick<Options<SocketMachineDaemonRuntimeData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2731
|
+
_id: string;
|
|
2732
|
+
_infinite?: boolean;
|
|
2733
|
+
tags?: ReadonlyArray<string>;
|
|
2734
|
+
}], never> | undefined;
|
|
2735
|
+
} & {
|
|
2736
|
+
queryKey: [Pick<Options<SocketMachineDaemonRuntimeData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2737
|
+
_id: string;
|
|
2738
|
+
_infinite?: boolean;
|
|
2739
|
+
tags?: ReadonlyArray<string>;
|
|
2740
|
+
}] & {
|
|
2741
|
+
[dataTagSymbol]: unknown;
|
|
2742
|
+
[dataTagErrorSymbol]: SocketMachineDaemonRuntimeError;
|
|
2743
|
+
};
|
|
2744
|
+
};
|
|
2745
|
+
/**
|
|
2746
|
+
* End machine daemon runtime
|
|
2747
|
+
*/
|
|
2748
|
+
declare const endMachineDaemonRuntimeMutation: (options?: Partial<Options<EndMachineDaemonRuntimeData>>) => UseMutationOptions<EndMachineDaemonRuntimeResponse, EndMachineDaemonRuntimeError, Options<EndMachineDaemonRuntimeData>>;
|
|
2749
|
+
/**
|
|
2750
|
+
* Sleep machine daemon runtime
|
|
2751
|
+
*
|
|
2752
|
+
* Gracefully ends the daemon runtime and marks the machine asleep so new work queues and triggers an automatic wake. Rejected with 409 code pending_work when the machine has queued or live daemon work, and 409 code not_wake_capable when the machine has no sandbox URL.
|
|
2753
|
+
*/
|
|
2754
|
+
declare const sleepMachineDaemonRuntimeMutation: (options?: Partial<Options<SleepMachineDaemonRuntimeData>>) => UseMutationOptions<SleepMachineDaemonRuntimeResponse, SleepMachineDaemonRuntimeError, Options<SleepMachineDaemonRuntimeData>>;
|
|
2755
|
+
declare const getDaemonSkillArchiveQueryKey: (options: Options<GetDaemonSkillArchiveData>) => [Pick<Options<GetDaemonSkillArchiveData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2756
|
+
_id: string;
|
|
2757
|
+
_infinite?: boolean;
|
|
2758
|
+
tags?: ReadonlyArray<string>;
|
|
2759
|
+
}];
|
|
2760
|
+
/**
|
|
2761
|
+
* Get daemon skill archive
|
|
2762
|
+
*
|
|
2763
|
+
* Requires daemon authentication plus a short-lived capability bound to the authenticated machine, skill, and revision.
|
|
2764
|
+
*/
|
|
2765
|
+
declare const getDaemonSkillArchiveOptions: (options: Options<GetDaemonSkillArchiveData>) => _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Blob | File, GetDaemonSkillArchiveError, Blob | File, [Pick<Options<GetDaemonSkillArchiveData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2766
|
+
_id: string;
|
|
2767
|
+
_infinite?: boolean;
|
|
2768
|
+
tags?: ReadonlyArray<string>;
|
|
2769
|
+
}]>, "queryFn"> & {
|
|
2770
|
+
queryFn?: _tanstack_react_query.QueryFunction<Blob | File, [Pick<Options<GetDaemonSkillArchiveData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2771
|
+
_id: string;
|
|
2772
|
+
_infinite?: boolean;
|
|
2773
|
+
tags?: ReadonlyArray<string>;
|
|
2774
|
+
}], never> | undefined;
|
|
2775
|
+
} & {
|
|
2776
|
+
queryKey: [Pick<Options<GetDaemonSkillArchiveData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
2777
|
+
_id: string;
|
|
2778
|
+
_infinite?: boolean;
|
|
2779
|
+
tags?: ReadonlyArray<string>;
|
|
2780
|
+
}] & {
|
|
2781
|
+
[dataTagSymbol]: Blob | File;
|
|
2782
|
+
[dataTagErrorSymbol]: GetDaemonSkillArchiveError;
|
|
2783
|
+
};
|
|
2784
|
+
};
|
|
2785
|
+
|
|
2786
|
+
export { type QueryKey, acceptInvitationMutation, archiveAgentMutation, bootstrapDaemonMutation, cancelAgentMutation, cancelQueuedBacklogInputMutation, connectByoMachineMutation, createAgentConfigMutation, createAgentInputMutation, createAgentMutation, createAgentProfileMutation, createByoMachineDaemonTokenMutation, createConfiguredModelMutation, createCronTriggerMutation, createIntegrationOAuthSetupMutation, createMachineMutation, createMachinePoolMutation, createModelProviderConfigMutation, createOrgApiKeyMutation, createOrgInvitationMutation, createOrganizationMutation, createPersonalAccessTokenMutation, createProjectMachineGrantMutation, createProjectMachinePoolGrantMutation, createProjectModelGrantMutation, createProjectMutation, createSecretGrantMutation, createSecretMutation, createSecretVersionMutation, createSkillGrantMutation, createSkillMutation, createSlackSetupMutation, declineInvitationMutation, deleteAgentProfileMutation, deleteConfiguredModelMutation, deleteCronTriggerMutation, deleteCurrentUserMutation, deleteIntegrationInstallMutation, deleteMachineMutation, deleteMachinePoolMutation, deleteModelProviderConfigMutation, deleteOrgInvitationMutation, deleteOrganizationMutation, deleteProjectMachineGrantMutation, deleteProjectMachinePoolGrantMutation, deleteProjectModelGrantMutation, deleteProjectMutation, deleteSecretGrantMutation, deleteSecretMutation, deleteSkillGrantMutation, deleteSkillMutation, demoteSteeringInputToQueuedMutation, endMachineDaemonRuntimeMutation, getActorOptions, getActorQueryKey, getAgentConfigOptions, getAgentConfigQueryKey, getAgentOptions, getAgentProfileOptions, getAgentProfileQueryKey, getAgentQueryKey, getArtifactContentOptions, getArtifactContentQueryKey, getArtifactOptions, getArtifactQueryKey, getCronTriggerOptions, getCronTriggerQueryKey, getCurrentUserOptions, getCurrentUserQueryKey, getDaemonSkillArchiveOptions, getDaemonSkillArchiveQueryKey, getMachineOptions, getMachinePoolOptions, getMachinePoolQueryKey, getMachineQueryKey, getModelCatalogOptions, getModelCatalogQueryKey, getModelProviderConfigOptions, getModelProviderConfigQueryKey, getOrgApiKeyOptions, getOrgApiKeyQueryKey, getOrgOverviewOptions, getOrgOverviewQueryKey, getProjectAvailableSecretOptions, getProjectAvailableSecretQueryKey, getProjectMachinePoolGrantOptions, getProjectMachinePoolGrantQueryKey, getSecretOptions, getSecretQueryKey, getSkillOptions, getSkillQueryKey, getToolCatalogOptions, getToolCatalogQueryKey, listActorsInfiniteOptions, listActorsInfiniteQueryKey, listActorsOptions, listActorsQueryKey, listAgentInteractionsInfiniteOptions, listAgentInteractionsInfiniteQueryKey, listAgentInteractionsOptions, listAgentInteractionsQueryKey, listAgentProfilesInfiniteOptions, listAgentProfilesInfiniteQueryKey, listAgentProfilesOptions, listAgentProfilesQueryKey, listAgentsInfiniteOptions, listAgentsInfiniteQueryKey, listAgentsOptions, listAgentsQueryKey, listByoMachineDaemonTokensInfiniteOptions, listByoMachineDaemonTokensInfiniteQueryKey, listByoMachineDaemonTokensOptions, listByoMachineDaemonTokensQueryKey, listConfiguredModelsInfiniteOptions, listConfiguredModelsInfiniteQueryKey, listConfiguredModelsOptions, listConfiguredModelsQueryKey, listCronTriggersInfiniteOptions, listCronTriggersInfiniteQueryKey, listCronTriggersOptions, listCronTriggersQueryKey, listEventsOptions, listEventsQueryKey, listIntegrationInstallsInfiniteOptions, listIntegrationInstallsInfiniteQueryKey, listIntegrationInstallsOptions, listIntegrationInstallsQueryKey, listMachinePoolsInfiniteOptions, listMachinePoolsInfiniteQueryKey, listMachinePoolsOptions, listMachinePoolsQueryKey, listMemberProjectAccessOptions, listMemberProjectAccessQueryKey, listModelProviderConfigsInfiniteOptions, listModelProviderConfigsInfiniteQueryKey, listModelProviderConfigsOptions, listModelProviderConfigsQueryKey, listOrgApiKeyProjectAccessOptions, listOrgApiKeyProjectAccessQueryKey, listOrgApiKeysInfiniteOptions, listOrgApiKeysInfiniteQueryKey, listOrgApiKeysOptions, listOrgApiKeysQueryKey, listOrgInvitationsInfiniteOptions, listOrgInvitationsInfiniteQueryKey, listOrgInvitationsOptions, listOrgInvitationsQueryKey, listOrgMembersInfiniteOptions, listOrgMembersInfiniteQueryKey, listOrgMembersOptions, listOrgMembersQueryKey, listPendingInvitationsInfiniteOptions, listPendingInvitationsInfiniteQueryKey, listPendingInvitationsOptions, listPendingInvitationsQueryKey, listPersonalAccessTokensInfiniteOptions, listPersonalAccessTokensInfiniteQueryKey, listPersonalAccessTokensOptions, listPersonalAccessTokensQueryKey, listProjectAvailableSecretsInfiniteOptions, listProjectAvailableSecretsInfiniteQueryKey, listProjectAvailableSecretsOptions, listProjectAvailableSecretsQueryKey, listProjectAvailableSkillsInfiniteOptions, listProjectAvailableSkillsInfiniteQueryKey, listProjectAvailableSkillsOptions, listProjectAvailableSkillsQueryKey, listProjectMachineGrantsInfiniteOptions, listProjectMachineGrantsInfiniteQueryKey, listProjectMachineGrantsOptions, listProjectMachineGrantsQueryKey, listProjectMachinePoolGrantsInfiniteOptions, listProjectMachinePoolGrantsInfiniteQueryKey, listProjectMachinePoolGrantsOptions, listProjectMachinePoolGrantsQueryKey, listProjectModelGrantsInfiniteOptions, listProjectModelGrantsInfiniteQueryKey, listProjectModelGrantsOptions, listProjectModelGrantsQueryKey, listQueuedBacklogInputsInfiniteOptions, listQueuedBacklogInputsInfiniteQueryKey, listQueuedBacklogInputsOptions, listQueuedBacklogInputsQueryKey, listSecretGrantsInfiniteOptions, listSecretGrantsInfiniteQueryKey, listSecretGrantsOptions, listSecretGrantsQueryKey, listSecretsInfiniteOptions, listSecretsInfiniteQueryKey, listSecretsOptions, listSecretsQueryKey, listSkillGrantsInfiniteOptions, listSkillGrantsInfiniteQueryKey, listSkillGrantsOptions, listSkillGrantsQueryKey, listSkillsInfiniteOptions, listSkillsInfiniteQueryKey, listSkillsOptions, listSkillsQueryKey, listToolCallsInfiniteOptions, listToolCallsInfiniteQueryKey, listToolCallsOptions, listToolCallsQueryKey, listTurnEventsOptions, listTurnEventsQueryKey, listTurnsOptions, listTurnsQueryKey, listVisibleMachinesInfiniteOptions, listVisibleMachinesInfiniteQueryKey, listVisibleMachinesOptions, listVisibleMachinesQueryKey, listVisibleProjectMachinesInfiniteOptions, listVisibleProjectMachinesInfiniteQueryKey, listVisibleProjectMachinesOptions, listVisibleProjectMachinesQueryKey, listVisibleProjectsInfiniteOptions, listVisibleProjectsInfiniteQueryKey, listVisibleProjectsOptions, listVisibleProjectsQueryKey, moveQueuedBacklogInputMutation, promoteQueuedInputToSteeringMutation, putActorMutation, recordMachineFailureMutation, registerMachineDaemonRuntimeMutation, removeMemberProjectAccessMutation, removeOrgApiKeyProjectRoleMutation, removeOrgMemberMutation, renameAgentProfileMutation, resolveAgentInteractionMutation, revokeMachineDaemonTokenMutation, revokeOrgApiKeyMutation, revokePersonalAccessTokenMutation, setMemberProjectAccessMutation, setOrgApiKeyProjectRoleMutation, sleepMachineDaemonRuntimeMutation, socketMachineDaemonRuntimeOptions, socketMachineDaemonRuntimeQueryKey, startSecretMcpoAuthMutation, submitToolCallResultMutation, updateAgentConfigMutation, updateAgentProfileMutation, updateConfiguredModelMutation, updateCronTriggerMutation, updateMachineMutation, updateMachinePoolMutation, updateModelProviderConfigMutation, updateOrgApiKeyMutation, updateOrgMemberMutation, updateProjectMachinePoolGrantMutation, updateProjectModelGrantMutation, updateSecretMutation };
|