@camox/api-contract 0.62.0 → 0.63.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/dist/locales.d.ts +2 -0
- package/dist/locales.js +7 -1
- package/dist/router.d.ts +3273 -218
- package/dist/threads.d.ts +50 -0
- package/dist/threads.js +50 -1
- package/package.json +1 -1
- package/src/locales.ts +7 -0
- package/src/threads.ts +63 -0
package/dist/router.d.ts
CHANGED
|
@@ -7,14 +7,14 @@ import "drizzle-orm";
|
|
|
7
7
|
import "drizzle-orm/sqlite-core";
|
|
8
8
|
import "@camox/api-contract/patrol";
|
|
9
9
|
import { DurableObject, WorkerEntrypoint, WorkflowEntrypoint, WorkflowEvent, WorkflowStep } from "cloudflare:workers";
|
|
10
|
-
import { ThreadSender } from "@camox/api-contract/threads";
|
|
10
|
+
import { ConnectedAgentClient, ThreadSender, ThreadView } from "@camox/api-contract/threads";
|
|
11
11
|
import { PiHarness, PiHarnessOptions } from "agents/harness/pi";
|
|
12
12
|
import { CapabilityStartContext, Lifecycle } from "agents/lifecycle";
|
|
13
13
|
import { WebSockets } from "agents/websockets";
|
|
14
14
|
import { FileErrorCode } from "@earendil-works/pi-durable/env";
|
|
15
15
|
import "camox/_internal/sdkBundleName";
|
|
16
16
|
import "@camox/ai-tools";
|
|
17
|
-
import "@earendil-works/pi-durable";
|
|
17
|
+
import { AgentEvent } from "@earendil-works/pi-durable";
|
|
18
18
|
import { CIWorkflow, CiContext, CiParams, CloudflareArtifacts } from "@cloudflare/ci";
|
|
19
19
|
import { CiBindings } from "@cloudflare/ci/worker";
|
|
20
20
|
import { ProjectRoomMessage } from "@camox/api-contract/query-keys";
|
|
@@ -6393,21 +6393,68 @@ declare const threadIdentitySchema: z.ZodObject<{
|
|
|
6393
6393
|
}, z.core.$strip>;
|
|
6394
6394
|
type ThreadIdentity = z.infer<typeof threadIdentitySchema>;
|
|
6395
6395
|
//#endregion
|
|
6396
|
+
//#region ../../apps/api/src/domains/threads/turn-end.d.ts
|
|
6397
|
+
/**
|
|
6398
|
+
* How a turn ended, as a caller waiting on it from outside the studio learns: the agent's final
|
|
6399
|
+
* message, a failure, or an editor stopping it. A page the turn changed, if any, by its id and
|
|
6400
|
+
* the Locale it was changed in, for a link that opens it.
|
|
6401
|
+
*/
|
|
6402
|
+
type TurnEnd = ({
|
|
6403
|
+
turn: "answered";
|
|
6404
|
+
message: string;
|
|
6405
|
+
} | {
|
|
6406
|
+
turn: "failed";
|
|
6407
|
+
} | {
|
|
6408
|
+
turn: "stopped";
|
|
6409
|
+
stoppedBy: ThreadSender;
|
|
6410
|
+
}) & {
|
|
6411
|
+
page?: TurnPage;
|
|
6412
|
+
};
|
|
6413
|
+
/** The page a turn changed last, as its writes touched it. */
|
|
6414
|
+
type TurnPage = {
|
|
6415
|
+
pageId: string;
|
|
6416
|
+
locale?: string;
|
|
6417
|
+
};
|
|
6418
|
+
/**
|
|
6419
|
+
* Where waiting on a turn got: it ended; it's still going when the wait gave up; or the thread
|
|
6420
|
+
* ended with its draft, published or deleted.
|
|
6421
|
+
*/
|
|
6422
|
+
type TurnOutcome = TurnEnd | {
|
|
6423
|
+
turn: "working";
|
|
6424
|
+
} | {
|
|
6425
|
+
turn: "threadEnded";
|
|
6426
|
+
};
|
|
6427
|
+
//#endregion
|
|
6396
6428
|
//#region ../../apps/api/src/durable-objects/thread.d.ts
|
|
6429
|
+
/**
|
|
6430
|
+
* Who sent a message a draft's thread opens with, and their kind, which sets how the transcript
|
|
6431
|
+
* records it, how studios show it and how the model reads it: an editor, or a member's Connected
|
|
6432
|
+
* Agent, in its client (ADR 0030).
|
|
6433
|
+
*/
|
|
6434
|
+
type OpeningSender = {
|
|
6435
|
+
kind: "editor";
|
|
6436
|
+
editor: ThreadSender;
|
|
6437
|
+
} | {
|
|
6438
|
+
kind: "connectedAgent";
|
|
6439
|
+
member: ThreadSender;
|
|
6440
|
+
client: ConnectedAgentClient;
|
|
6441
|
+
};
|
|
6442
|
+
/** A message a draft's thread opens with: its text, the operation id it was sent with, and who sent it. */
|
|
6443
|
+
type OpeningMessage = {
|
|
6444
|
+
operationId: string;
|
|
6445
|
+
text: string;
|
|
6446
|
+
from: OpeningSender;
|
|
6447
|
+
};
|
|
6397
6448
|
/**
|
|
6398
6449
|
* How the API opens a draft's thread with no studio connected (`Thread.open`): what it belongs
|
|
6399
|
-
* to, the API's public origin, the Brief from Camox, and the messages
|
|
6400
|
-
* first,
|
|
6450
|
+
* to, the API's public origin, the Brief from Camox if any, and the opening messages, oldest
|
|
6451
|
+
* first, the last starting the agent's run.
|
|
6401
6452
|
*/
|
|
6402
6453
|
type ThreadOpening = {
|
|
6403
6454
|
identity: ThreadIdentity;
|
|
6404
6455
|
apiOrigin: string;
|
|
6405
|
-
brief
|
|
6406
|
-
|
|
6407
|
-
messages: {
|
|
6408
|
-
operationId: string;
|
|
6409
|
-
text: string;
|
|
6410
|
-
}[];
|
|
6456
|
+
brief?: string;
|
|
6457
|
+
messages: OpeningMessage[];
|
|
6411
6458
|
};
|
|
6412
6459
|
/**
|
|
6413
6460
|
* Cloudflare's `PiHarness`, leaving Pi closed when the object starts until `started` holds: Pi
|
|
@@ -6489,14 +6536,25 @@ declare class Thread extends DurableObject<Bindings> {
|
|
|
6489
6536
|
*/
|
|
6490
6537
|
showDrafts(): Promise<void>;
|
|
6491
6538
|
/**
|
|
6492
|
-
* Opens the thread from the API, with no studio connected
|
|
6493
|
-
*
|
|
6494
|
-
*
|
|
6495
|
-
*
|
|
6496
|
-
*
|
|
6497
|
-
*
|
|
6539
|
+
* Opens the thread from the API, with no studio connected: records what it belongs to and the
|
|
6540
|
+
* API's origin, adds the Brief if any, which the model reads and studios show as from Camox
|
|
6541
|
+
* (ADR 0025), then the opening messages, each recorded as its sender's kind has it, and starts
|
|
6542
|
+
* the agent's run, which acts as the last message's sender. Every message but the last goes in
|
|
6543
|
+
* before the run, the last starting it, so the model reads them all on its first call.
|
|
6544
|
+
* Repeating it changes nothing.
|
|
6498
6545
|
*/
|
|
6499
|
-
open({ identity, apiOrigin, brief,
|
|
6546
|
+
open({ identity, apiOrigin, brief, messages }: ThreadOpening): Promise<void>;
|
|
6547
|
+
/**
|
|
6548
|
+
* Sends a message into the thread from the API, with no studio connected, as an editor's
|
|
6549
|
+
* message from the studio is sent: it starts the agent's run, or steers the one going, and the
|
|
6550
|
+
* run acts as its sender. It's recorded as its sender's kind has it, as opening messages are.
|
|
6551
|
+
* Repeating it changes nothing.
|
|
6552
|
+
*/
|
|
6553
|
+
send({ identity, apiOrigin, message }: {
|
|
6554
|
+
identity: ThreadIdentity;
|
|
6555
|
+
apiOrigin: string;
|
|
6556
|
+
message: OpeningMessage;
|
|
6557
|
+
}): Promise<void>;
|
|
6500
6558
|
/**
|
|
6501
6559
|
* Adds Camox's `note` that the draft `draftId`, which this Live thread started, ended, at the
|
|
6502
6560
|
* end of the conversation: right away when the thread is idle, or else at the next break of
|
|
@@ -6508,6 +6566,18 @@ declare class Thread extends DurableObject<Bindings> {
|
|
|
6508
6566
|
draftId: string;
|
|
6509
6567
|
note: string;
|
|
6510
6568
|
}): Promise<void>;
|
|
6569
|
+
/**
|
|
6570
|
+
* The thread as studios show it now: its messages, and whether a run is going. Empty for a
|
|
6571
|
+
* thread nobody messaged yet, without opening Pi, which would store, or one that ended.
|
|
6572
|
+
*/
|
|
6573
|
+
view(): Promise<ThreadView>;
|
|
6574
|
+
/**
|
|
6575
|
+
* Waits for the turn the message sent with `operationId` started or joined to end, for up to
|
|
6576
|
+
* `waitMs`: how it ended, with the page it changed last, if any. Still working once the wait
|
|
6577
|
+
* gives up, the turn carrying on; or the thread ended with its draft. Watching the thread's own
|
|
6578
|
+
* events, as studios do, it sees the turn end as they do.
|
|
6579
|
+
*/
|
|
6580
|
+
turnOf(operationId: string, waitMs: number): Promise<TurnOutcome>;
|
|
6511
6581
|
/**
|
|
6512
6582
|
* Ends the thread with its draft, wiping everything it stored, since Pi can't delete a
|
|
6513
6583
|
* conversation yet: the run going stops, and studios still open on it see an empty thread
|
|
@@ -6878,6 +6948,17 @@ type Bindings = {
|
|
|
6878
6948
|
* (`DISPATCH_ARCHIVE_LIMIT` in domains/revisions/build.ts when unset). Set only by tests.
|
|
6879
6949
|
*/
|
|
6880
6950
|
DISPATCH_ARCHIVE_LIMIT_BYTES?: string;
|
|
6951
|
+
/**
|
|
6952
|
+
* How long, in milliseconds, a Connected Agent's call waits for the agent's turn to end
|
|
6953
|
+
* (`TURN_WAIT_MS` in domains/connected-agents/turn.ts when unset). Set only by tests.
|
|
6954
|
+
*/
|
|
6955
|
+
CONNECTED_AGENT_TURN_WAIT_MS?: string;
|
|
6956
|
+
/**
|
|
6957
|
+
* How often, in milliseconds, a Connected Agent's open subscription checks whether its member's
|
|
6958
|
+
* projects changed (`PROJECTS_POLL_MS` in domains/connected-agents/changes.ts when unset). Set
|
|
6959
|
+
* only by tests.
|
|
6960
|
+
*/
|
|
6961
|
+
CONNECTED_AGENT_PROJECTS_POLL_MS?: string;
|
|
6881
6962
|
OPEN_ROUTER_API_KEY: string;
|
|
6882
6963
|
/** Camox's Google Fonts Developer API key, which the daily fonts snapshot is taken with. */
|
|
6883
6964
|
GOOGLE_FONTS_API_KEY: string;
|
|
@@ -7034,120 +7115,2919 @@ declare function createAuth(db: Database, env: Bindings, baseURL: string, waitUn
|
|
|
7034
7115
|
studio: {
|
|
7035
7116
|
type: "boolean";
|
|
7036
7117
|
required: false;
|
|
7037
|
-
input: false;
|
|
7118
|
+
input: false;
|
|
7119
|
+
};
|
|
7120
|
+
};
|
|
7121
|
+
};
|
|
7122
|
+
};
|
|
7123
|
+
endpoints: {
|
|
7124
|
+
authorizeStudio: import("better-auth").StrictEndpoint<"/cross-domain/studio-authorize", {
|
|
7125
|
+
method: "POST";
|
|
7126
|
+
body: import("zod").ZodObject<{
|
|
7127
|
+
callback: import("zod").ZodString;
|
|
7128
|
+
}, import("zod/v4/core").$strip>;
|
|
7129
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
7130
|
+
session: {
|
|
7131
|
+
session: Record<string, any> & {
|
|
7132
|
+
id: string;
|
|
7133
|
+
createdAt: Date;
|
|
7134
|
+
updatedAt: Date;
|
|
7135
|
+
userId: string;
|
|
7136
|
+
expiresAt: Date;
|
|
7137
|
+
token: string;
|
|
7138
|
+
ipAddress?: string | null | undefined;
|
|
7139
|
+
userAgent?: string | null | undefined;
|
|
7140
|
+
};
|
|
7141
|
+
user: Record<string, any> & {
|
|
7142
|
+
id: string;
|
|
7143
|
+
createdAt: Date;
|
|
7144
|
+
updatedAt: Date;
|
|
7145
|
+
email: string;
|
|
7146
|
+
emailVerified: boolean;
|
|
7147
|
+
name: string;
|
|
7148
|
+
image?: string | null | undefined;
|
|
7149
|
+
};
|
|
7150
|
+
};
|
|
7151
|
+
}>>[];
|
|
7152
|
+
}, {
|
|
7153
|
+
url: string;
|
|
7154
|
+
}>;
|
|
7155
|
+
authorizeLocal: import("better-auth").StrictEndpoint<"/cross-domain/local-authorize", {
|
|
7156
|
+
method: "POST";
|
|
7157
|
+
body: import("zod").ZodObject<{
|
|
7158
|
+
callback: import("zod").ZodString;
|
|
7159
|
+
}, import("zod/v4/core").$strip>;
|
|
7160
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
7161
|
+
session: {
|
|
7162
|
+
session: Record<string, any> & {
|
|
7163
|
+
id: string;
|
|
7164
|
+
createdAt: Date;
|
|
7165
|
+
updatedAt: Date;
|
|
7166
|
+
userId: string;
|
|
7167
|
+
expiresAt: Date;
|
|
7168
|
+
token: string;
|
|
7169
|
+
ipAddress?: string | null | undefined;
|
|
7170
|
+
userAgent?: string | null | undefined;
|
|
7171
|
+
};
|
|
7172
|
+
user: Record<string, any> & {
|
|
7173
|
+
id: string;
|
|
7174
|
+
createdAt: Date;
|
|
7175
|
+
updatedAt: Date;
|
|
7176
|
+
email: string;
|
|
7177
|
+
emailVerified: boolean;
|
|
7178
|
+
name: string;
|
|
7179
|
+
image?: string | null | undefined;
|
|
7180
|
+
};
|
|
7181
|
+
};
|
|
7182
|
+
}>>[];
|
|
7183
|
+
}, {
|
|
7184
|
+
url: string;
|
|
7185
|
+
}>;
|
|
7186
|
+
verifyOneTimeToken: import("better-auth").StrictEndpoint<"/one-time-token/verify", {
|
|
7187
|
+
method: "POST";
|
|
7188
|
+
body: import("zod").ZodObject<{
|
|
7189
|
+
token: import("zod").ZodString;
|
|
7190
|
+
}, import("zod/v4/core").$strip>;
|
|
7191
|
+
}, {
|
|
7192
|
+
session: {
|
|
7193
|
+
id: string;
|
|
7194
|
+
createdAt: Date;
|
|
7195
|
+
updatedAt: Date;
|
|
7196
|
+
userId: string;
|
|
7197
|
+
expiresAt: Date;
|
|
7198
|
+
token: string;
|
|
7199
|
+
ipAddress?: string | null | undefined;
|
|
7200
|
+
userAgent?: string | null | undefined;
|
|
7201
|
+
};
|
|
7202
|
+
user: {
|
|
7203
|
+
id: string;
|
|
7204
|
+
createdAt: Date;
|
|
7205
|
+
updatedAt: Date;
|
|
7206
|
+
email: string;
|
|
7207
|
+
emailVerified: boolean;
|
|
7208
|
+
name: string;
|
|
7209
|
+
image?: string | null | undefined;
|
|
7210
|
+
} & Record<string, any>;
|
|
7211
|
+
}>;
|
|
7212
|
+
};
|
|
7213
|
+
}, {
|
|
7214
|
+
id: "bearer";
|
|
7215
|
+
version: string;
|
|
7216
|
+
hooks: {
|
|
7217
|
+
before: {
|
|
7218
|
+
matcher(context: import("better-auth").HookEndpointContext): boolean;
|
|
7219
|
+
handler: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
7220
|
+
context: {
|
|
7221
|
+
headers: Headers;
|
|
7222
|
+
};
|
|
7223
|
+
} | undefined>>;
|
|
7224
|
+
}[];
|
|
7225
|
+
after: {
|
|
7226
|
+
matcher(context: import("better-auth").HookEndpointContext): true;
|
|
7227
|
+
handler: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<void>>;
|
|
7228
|
+
}[];
|
|
7229
|
+
};
|
|
7230
|
+
options: import("better-auth/plugins").BearerOptions | undefined;
|
|
7231
|
+
}, ...({
|
|
7232
|
+
id: "jwt";
|
|
7233
|
+
version: string;
|
|
7234
|
+
options: NoInfer<import("better-auth/plugins").JwtOptions>;
|
|
7235
|
+
init(ctx: import("better-auth").AuthContext): {
|
|
7236
|
+
context: {
|
|
7237
|
+
sessionConfig: {
|
|
7238
|
+
cookieCacheSigner: import("better-auth").CookieCacheSigner;
|
|
7239
|
+
updateAge: number;
|
|
7240
|
+
expiresIn: number;
|
|
7241
|
+
freshAge: number;
|
|
7242
|
+
cookieRefreshCache: false | {
|
|
7243
|
+
enabled: true;
|
|
7244
|
+
updateAge: number;
|
|
7245
|
+
};
|
|
7246
|
+
};
|
|
7247
|
+
};
|
|
7248
|
+
} | undefined;
|
|
7249
|
+
endpoints: {
|
|
7250
|
+
getJwks: import("better-auth").StrictEndpoint<string, {
|
|
7251
|
+
method: "GET";
|
|
7252
|
+
metadata: {
|
|
7253
|
+
openapi: {
|
|
7254
|
+
operationId: string;
|
|
7255
|
+
description: string;
|
|
7256
|
+
responses: {
|
|
7257
|
+
"200": {
|
|
7258
|
+
description: string;
|
|
7259
|
+
content: {
|
|
7260
|
+
"application/json": {
|
|
7261
|
+
schema: {
|
|
7262
|
+
type: "object";
|
|
7263
|
+
properties: {
|
|
7264
|
+
keys: {
|
|
7265
|
+
type: string;
|
|
7266
|
+
description: string;
|
|
7267
|
+
items: {
|
|
7268
|
+
type: string;
|
|
7269
|
+
properties: {
|
|
7270
|
+
kid: {
|
|
7271
|
+
type: string;
|
|
7272
|
+
description: string;
|
|
7273
|
+
};
|
|
7274
|
+
kty: {
|
|
7275
|
+
type: string;
|
|
7276
|
+
description: string;
|
|
7277
|
+
};
|
|
7278
|
+
alg: {
|
|
7279
|
+
type: string;
|
|
7280
|
+
description: string;
|
|
7281
|
+
};
|
|
7282
|
+
use: {
|
|
7283
|
+
type: string;
|
|
7284
|
+
description: string;
|
|
7285
|
+
enum: string[];
|
|
7286
|
+
nullable: boolean;
|
|
7287
|
+
};
|
|
7288
|
+
n: {
|
|
7289
|
+
type: string;
|
|
7290
|
+
description: string;
|
|
7291
|
+
nullable: boolean;
|
|
7292
|
+
};
|
|
7293
|
+
e: {
|
|
7294
|
+
type: string;
|
|
7295
|
+
description: string;
|
|
7296
|
+
nullable: boolean;
|
|
7297
|
+
};
|
|
7298
|
+
crv: {
|
|
7299
|
+
type: string;
|
|
7300
|
+
description: string;
|
|
7301
|
+
nullable: boolean;
|
|
7302
|
+
};
|
|
7303
|
+
x: {
|
|
7304
|
+
type: string;
|
|
7305
|
+
description: string;
|
|
7306
|
+
nullable: boolean;
|
|
7307
|
+
};
|
|
7308
|
+
y: {
|
|
7309
|
+
type: string;
|
|
7310
|
+
description: string;
|
|
7311
|
+
nullable: boolean;
|
|
7312
|
+
};
|
|
7313
|
+
};
|
|
7314
|
+
required: string[];
|
|
7315
|
+
};
|
|
7316
|
+
};
|
|
7317
|
+
};
|
|
7318
|
+
required: string[];
|
|
7319
|
+
};
|
|
7320
|
+
};
|
|
7321
|
+
};
|
|
7322
|
+
};
|
|
7323
|
+
};
|
|
7324
|
+
};
|
|
7325
|
+
};
|
|
7326
|
+
}, import("better-auth").JSONWebKeySet>;
|
|
7327
|
+
getToken: import("better-auth").StrictEndpoint<"/token", {
|
|
7328
|
+
method: "GET";
|
|
7329
|
+
requireHeaders: true;
|
|
7330
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
7331
|
+
session: {
|
|
7332
|
+
session: Record<string, any> & {
|
|
7333
|
+
id: string;
|
|
7334
|
+
createdAt: Date;
|
|
7335
|
+
updatedAt: Date;
|
|
7336
|
+
userId: string;
|
|
7337
|
+
expiresAt: Date;
|
|
7338
|
+
token: string;
|
|
7339
|
+
ipAddress?: string | null | undefined;
|
|
7340
|
+
userAgent?: string | null | undefined;
|
|
7341
|
+
};
|
|
7342
|
+
user: Record<string, any> & {
|
|
7343
|
+
id: string;
|
|
7344
|
+
createdAt: Date;
|
|
7345
|
+
updatedAt: Date;
|
|
7346
|
+
email: string;
|
|
7347
|
+
emailVerified: boolean;
|
|
7348
|
+
name: string;
|
|
7349
|
+
image?: string | null | undefined;
|
|
7350
|
+
};
|
|
7351
|
+
};
|
|
7352
|
+
}>>[];
|
|
7353
|
+
metadata: {
|
|
7354
|
+
openapi: {
|
|
7355
|
+
operationId: string;
|
|
7356
|
+
description: string;
|
|
7357
|
+
responses: {
|
|
7358
|
+
200: {
|
|
7359
|
+
description: string;
|
|
7360
|
+
content: {
|
|
7361
|
+
"application/json": {
|
|
7362
|
+
schema: {
|
|
7363
|
+
type: "object";
|
|
7364
|
+
properties: {
|
|
7365
|
+
token: {
|
|
7366
|
+
type: string;
|
|
7367
|
+
};
|
|
7368
|
+
};
|
|
7369
|
+
};
|
|
7370
|
+
};
|
|
7371
|
+
};
|
|
7372
|
+
};
|
|
7373
|
+
};
|
|
7374
|
+
};
|
|
7375
|
+
};
|
|
7376
|
+
}, {
|
|
7377
|
+
token: string;
|
|
7378
|
+
}>;
|
|
7379
|
+
signJWT: import("better-auth").StrictEndpoint<string, {
|
|
7380
|
+
method: "POST";
|
|
7381
|
+
metadata: {
|
|
7382
|
+
$Infer: {
|
|
7383
|
+
body: {
|
|
7384
|
+
payload: import("better-auth").JWTPayload;
|
|
7385
|
+
overrideOptions?: import("better-auth/plugins").JwtOptions | undefined;
|
|
7386
|
+
};
|
|
7387
|
+
};
|
|
7388
|
+
};
|
|
7389
|
+
body: import("zod").ZodObject<{
|
|
7390
|
+
payload: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>;
|
|
7391
|
+
overrideOptions: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
|
|
7392
|
+
}, import("zod/v4/core").$strip>;
|
|
7393
|
+
}, {
|
|
7394
|
+
token: string;
|
|
7395
|
+
}>;
|
|
7396
|
+
verifyJWT: import("better-auth").StrictEndpoint<string, {
|
|
7397
|
+
method: "POST";
|
|
7398
|
+
metadata: {
|
|
7399
|
+
$Infer: {
|
|
7400
|
+
body: {
|
|
7401
|
+
token: string;
|
|
7402
|
+
issuer?: string;
|
|
7403
|
+
};
|
|
7404
|
+
response: {
|
|
7405
|
+
payload: {
|
|
7406
|
+
sub: string;
|
|
7407
|
+
aud: string;
|
|
7408
|
+
[key: string]: any;
|
|
7409
|
+
} | null;
|
|
7410
|
+
};
|
|
7411
|
+
};
|
|
7412
|
+
};
|
|
7413
|
+
body: import("zod").ZodObject<{
|
|
7414
|
+
token: import("zod").ZodString;
|
|
7415
|
+
issuer: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7416
|
+
}, import("zod/v4/core").$strip>;
|
|
7417
|
+
}, {
|
|
7418
|
+
payload: (import("better-auth").JWTPayload & Required<Pick<import("better-auth").JWTPayload, "sub" | "aud">>) | null;
|
|
7419
|
+
}>;
|
|
7420
|
+
};
|
|
7421
|
+
hooks: {
|
|
7422
|
+
after: {
|
|
7423
|
+
matcher(context: import("better-auth").HookEndpointContext): boolean;
|
|
7424
|
+
handler: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<void>>;
|
|
7425
|
+
}[];
|
|
7426
|
+
};
|
|
7427
|
+
schema: {
|
|
7428
|
+
jwks: {
|
|
7429
|
+
fields: {
|
|
7430
|
+
publicKey: {
|
|
7431
|
+
type: "string";
|
|
7432
|
+
required: true;
|
|
7433
|
+
};
|
|
7434
|
+
privateKey: {
|
|
7435
|
+
type: "string";
|
|
7436
|
+
required: true;
|
|
7437
|
+
};
|
|
7438
|
+
createdAt: {
|
|
7439
|
+
type: "date";
|
|
7440
|
+
required: true;
|
|
7441
|
+
};
|
|
7442
|
+
expiresAt: {
|
|
7443
|
+
type: "date";
|
|
7444
|
+
required: false;
|
|
7445
|
+
};
|
|
7446
|
+
alg: {
|
|
7447
|
+
type: "string";
|
|
7448
|
+
required: false;
|
|
7449
|
+
};
|
|
7450
|
+
crv: {
|
|
7451
|
+
type: "string";
|
|
7452
|
+
required: false;
|
|
7453
|
+
};
|
|
7454
|
+
};
|
|
7455
|
+
};
|
|
7456
|
+
};
|
|
7457
|
+
} | {
|
|
7458
|
+
id: "oauth-provider";
|
|
7459
|
+
version: string;
|
|
7460
|
+
options: NoInfer<import("@better-auth/oauth-provider").OAuthOptions<import("@better-auth/oauth-provider").Scope[]>>;
|
|
7461
|
+
onRequest: (request: Request, ctx: import("better-auth").AuthContext) => Promise<{
|
|
7462
|
+
response: Response;
|
|
7463
|
+
} | {
|
|
7464
|
+
request: Request;
|
|
7465
|
+
} | void>;
|
|
7466
|
+
init: (ctx: import("better-auth").AuthContext) => Promise<{
|
|
7467
|
+
options: {
|
|
7468
|
+
databaseHooks: {
|
|
7469
|
+
session: {
|
|
7470
|
+
delete: {
|
|
7471
|
+
before(session: {
|
|
7472
|
+
id: string;
|
|
7473
|
+
createdAt: Date;
|
|
7474
|
+
updatedAt: Date;
|
|
7475
|
+
userId: string;
|
|
7476
|
+
expiresAt: Date;
|
|
7477
|
+
token: string;
|
|
7478
|
+
ipAddress?: string | null | undefined;
|
|
7479
|
+
userAgent?: string | null | undefined;
|
|
7480
|
+
} & Record<string, unknown>, hookCtx: import("better-auth").GenericEndpointContext | null): Promise<void>;
|
|
7481
|
+
after(session: {
|
|
7482
|
+
id: string;
|
|
7483
|
+
createdAt: Date;
|
|
7484
|
+
updatedAt: Date;
|
|
7485
|
+
userId: string;
|
|
7486
|
+
expiresAt: Date;
|
|
7487
|
+
token: string;
|
|
7488
|
+
ipAddress?: string | null | undefined;
|
|
7489
|
+
userAgent?: string | null | undefined;
|
|
7490
|
+
} & Record<string, unknown>, hookCtx: import("better-auth").GenericEndpointContext | null): Promise<void>;
|
|
7491
|
+
};
|
|
7492
|
+
};
|
|
7493
|
+
};
|
|
7494
|
+
};
|
|
7495
|
+
}>;
|
|
7496
|
+
hooks: {
|
|
7497
|
+
before: {
|
|
7498
|
+
matcher(ctx: import("better-auth").HookEndpointContext): any;
|
|
7499
|
+
handler: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<void>>;
|
|
7500
|
+
}[];
|
|
7501
|
+
after: {
|
|
7502
|
+
matcher(ctx: import("better-auth").HookEndpointContext): boolean;
|
|
7503
|
+
handler: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
7504
|
+
redirect: true;
|
|
7505
|
+
url: string;
|
|
7506
|
+
} | undefined>>;
|
|
7507
|
+
}[];
|
|
7508
|
+
};
|
|
7509
|
+
endpoints: {
|
|
7510
|
+
getOAuthServerConfig: import("better-auth").StrictEndpoint<"/.well-known/oauth-authorization-server", {
|
|
7511
|
+
method: "GET";
|
|
7512
|
+
metadata: {
|
|
7513
|
+
SERVER_ONLY: true;
|
|
7514
|
+
};
|
|
7515
|
+
}, import("@better-auth/oauth-provider").AuthServerMetadata>;
|
|
7516
|
+
getOpenIdConfig: import("better-auth").StrictEndpoint<"/.well-known/openid-configuration", {
|
|
7517
|
+
method: "GET";
|
|
7518
|
+
metadata: {
|
|
7519
|
+
SERVER_ONLY: true;
|
|
7520
|
+
};
|
|
7521
|
+
}, {
|
|
7522
|
+
jwks_uri?: string | undefined;
|
|
7523
|
+
userinfo_endpoint: string;
|
|
7524
|
+
acr_values_supported?: string[] | undefined;
|
|
7525
|
+
subject_types_supported: ("public" | "pairwise")[];
|
|
7526
|
+
claims_supported: string[];
|
|
7527
|
+
claims_parameter_supported?: boolean | undefined;
|
|
7528
|
+
end_session_endpoint: string;
|
|
7529
|
+
request_parameter_supported?: boolean | undefined;
|
|
7530
|
+
request_uri_parameter_supported?: boolean | undefined;
|
|
7531
|
+
prompt_values_supported: import("@better-auth/oauth-provider").Prompt[];
|
|
7532
|
+
issuer: string;
|
|
7533
|
+
authorization_endpoint: string;
|
|
7534
|
+
token_endpoint: string;
|
|
7535
|
+
registration_endpoint?: string | undefined;
|
|
7536
|
+
scopes_supported?: string[] | undefined;
|
|
7537
|
+
response_types_supported: "code"[];
|
|
7538
|
+
response_modes_supported: "query"[];
|
|
7539
|
+
grant_types_supported: import("@better-auth/oauth-provider").GrantType[];
|
|
7540
|
+
token_endpoint_auth_methods_supported?: import("@better-auth/oauth-provider").TokenEndpointAuthMethod[] | undefined;
|
|
7541
|
+
token_endpoint_auth_signing_alg_values_supported?: import("better-auth").PrivateKeyJwtSigningAlgorithm[] | undefined;
|
|
7542
|
+
service_documentation?: string | undefined;
|
|
7543
|
+
ui_locales_supported?: string[] | undefined;
|
|
7544
|
+
op_policy_uri?: string | undefined;
|
|
7545
|
+
op_tos_uri?: string | undefined;
|
|
7546
|
+
revocation_endpoint?: string | undefined;
|
|
7547
|
+
revocation_endpoint_auth_methods_supported?: import("@better-auth/oauth-provider").TokenEndpointAuthMethod[] | undefined;
|
|
7548
|
+
revocation_endpoint_auth_signing_alg_values_supported?: import("better-auth").PrivateKeyJwtSigningAlgorithm[] | undefined;
|
|
7549
|
+
introspection_endpoint?: string | undefined;
|
|
7550
|
+
introspection_endpoint_auth_methods_supported?: import("@better-auth/oauth-provider").TokenEndpointAuthMethod[] | undefined;
|
|
7551
|
+
introspection_endpoint_auth_signing_alg_values_supported?: import("better-auth").PrivateKeyJwtSigningAlgorithm[] | undefined;
|
|
7552
|
+
code_challenge_methods_supported: "S256"[];
|
|
7553
|
+
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
7554
|
+
client_id_metadata_document_supported?: boolean | undefined;
|
|
7555
|
+
backchannel_logout_supported?: boolean | undefined;
|
|
7556
|
+
backchannel_logout_session_supported?: boolean | undefined;
|
|
7557
|
+
dpop_signing_alg_values_supported?: import("better-auth/plugins").JWSAlgorithms[] | undefined;
|
|
7558
|
+
id_token_signing_alg_values_supported: import("better-auth/plugins").JWSAlgorithms[] | ["HS256"];
|
|
7559
|
+
}>;
|
|
7560
|
+
oauth2Authorize: import("better-auth").StrictEndpoint<"/oauth2/authorize", {
|
|
7561
|
+
method: ("GET" | "POST")[];
|
|
7562
|
+
body: import("zod").ZodObject<{}, import("zod/v4/core").$loose>;
|
|
7563
|
+
redirectOnError: import("@better-auth/oauth-provider").OAuthRedirectOnError<import("better-auth").GenericEndpointContext, {
|
|
7564
|
+
redirect: true;
|
|
7565
|
+
url: string;
|
|
7566
|
+
}>;
|
|
7567
|
+
metadata: {
|
|
7568
|
+
allowedMediaTypes: string[];
|
|
7569
|
+
openapi: {
|
|
7570
|
+
description: string;
|
|
7571
|
+
parameters: ({
|
|
7572
|
+
name: string;
|
|
7573
|
+
in: "query";
|
|
7574
|
+
required: false;
|
|
7575
|
+
schema: {
|
|
7576
|
+
type: "string";
|
|
7577
|
+
format?: undefined;
|
|
7578
|
+
minimum?: undefined;
|
|
7579
|
+
items?: undefined;
|
|
7580
|
+
};
|
|
7581
|
+
description: string;
|
|
7582
|
+
} | {
|
|
7583
|
+
name: string;
|
|
7584
|
+
in: "query";
|
|
7585
|
+
required: true;
|
|
7586
|
+
schema: {
|
|
7587
|
+
type: "string";
|
|
7588
|
+
format?: undefined;
|
|
7589
|
+
minimum?: undefined;
|
|
7590
|
+
items?: undefined;
|
|
7591
|
+
};
|
|
7592
|
+
description: string;
|
|
7593
|
+
} | {
|
|
7594
|
+
name: string;
|
|
7595
|
+
in: "query";
|
|
7596
|
+
required: false;
|
|
7597
|
+
schema: {
|
|
7598
|
+
type: "string";
|
|
7599
|
+
format: string;
|
|
7600
|
+
minimum?: undefined;
|
|
7601
|
+
items?: undefined;
|
|
7602
|
+
};
|
|
7603
|
+
description: string;
|
|
7604
|
+
} | {
|
|
7605
|
+
name: string;
|
|
7606
|
+
in: "query";
|
|
7607
|
+
required: false;
|
|
7608
|
+
schema: {
|
|
7609
|
+
type: "integer";
|
|
7610
|
+
minimum: number;
|
|
7611
|
+
format?: undefined;
|
|
7612
|
+
items?: undefined;
|
|
7613
|
+
};
|
|
7614
|
+
description: string;
|
|
7615
|
+
} | {
|
|
7616
|
+
name: string;
|
|
7617
|
+
in: "query";
|
|
7618
|
+
required: false;
|
|
7619
|
+
schema: {
|
|
7620
|
+
type: "array";
|
|
7621
|
+
items: {
|
|
7622
|
+
type: "string";
|
|
7623
|
+
};
|
|
7624
|
+
format?: undefined;
|
|
7625
|
+
minimum?: undefined;
|
|
7626
|
+
};
|
|
7627
|
+
description: string;
|
|
7628
|
+
})[];
|
|
7629
|
+
responses: {
|
|
7630
|
+
"302": {
|
|
7631
|
+
description: string;
|
|
7632
|
+
headers: {
|
|
7633
|
+
Location: {
|
|
7634
|
+
description: string;
|
|
7635
|
+
schema: {
|
|
7636
|
+
type: string;
|
|
7637
|
+
format: string;
|
|
7638
|
+
};
|
|
7639
|
+
};
|
|
7640
|
+
};
|
|
7641
|
+
};
|
|
7642
|
+
"400": {
|
|
7643
|
+
description: string;
|
|
7644
|
+
content: {
|
|
7645
|
+
"application/json": {
|
|
7646
|
+
schema: {
|
|
7647
|
+
type: "object";
|
|
7648
|
+
properties: {
|
|
7649
|
+
error: {
|
|
7650
|
+
type: string;
|
|
7651
|
+
};
|
|
7652
|
+
error_description: {
|
|
7653
|
+
type: string;
|
|
7654
|
+
};
|
|
7655
|
+
state: {
|
|
7656
|
+
type: string;
|
|
7657
|
+
};
|
|
7658
|
+
};
|
|
7659
|
+
required: string[];
|
|
7660
|
+
};
|
|
7661
|
+
};
|
|
7662
|
+
};
|
|
7663
|
+
};
|
|
7664
|
+
};
|
|
7665
|
+
};
|
|
7666
|
+
};
|
|
7667
|
+
}, {
|
|
7668
|
+
redirect: true;
|
|
7669
|
+
url: string;
|
|
7670
|
+
}>;
|
|
7671
|
+
oauth2Consent: import("better-auth").StrictEndpoint<"/oauth2/consent", {
|
|
7672
|
+
method: "POST";
|
|
7673
|
+
body: import("zod").ZodObject<{
|
|
7674
|
+
accept: import("zod").ZodBoolean;
|
|
7675
|
+
scope: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7676
|
+
claims: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>]>>;
|
|
7677
|
+
oauth_query: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7678
|
+
}, import("zod/v4/core").$strip>;
|
|
7679
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
7680
|
+
session: {
|
|
7681
|
+
session: Record<string, any> & {
|
|
7682
|
+
id: string;
|
|
7683
|
+
createdAt: Date;
|
|
7684
|
+
updatedAt: Date;
|
|
7685
|
+
userId: string;
|
|
7686
|
+
expiresAt: Date;
|
|
7687
|
+
token: string;
|
|
7688
|
+
ipAddress?: string | null | undefined;
|
|
7689
|
+
userAgent?: string | null | undefined;
|
|
7690
|
+
};
|
|
7691
|
+
user: Record<string, any> & {
|
|
7692
|
+
id: string;
|
|
7693
|
+
createdAt: Date;
|
|
7694
|
+
updatedAt: Date;
|
|
7695
|
+
email: string;
|
|
7696
|
+
emailVerified: boolean;
|
|
7697
|
+
name: string;
|
|
7698
|
+
image?: string | null | undefined;
|
|
7699
|
+
};
|
|
7700
|
+
};
|
|
7701
|
+
}>>[];
|
|
7702
|
+
metadata: {
|
|
7703
|
+
openapi: {
|
|
7704
|
+
description: string;
|
|
7705
|
+
responses: {
|
|
7706
|
+
"200": {
|
|
7707
|
+
description: string;
|
|
7708
|
+
content: {
|
|
7709
|
+
"application/json": {
|
|
7710
|
+
schema: {
|
|
7711
|
+
type: "object";
|
|
7712
|
+
properties: {
|
|
7713
|
+
redirect: {
|
|
7714
|
+
type: string;
|
|
7715
|
+
description: string;
|
|
7716
|
+
enum: boolean[];
|
|
7717
|
+
};
|
|
7718
|
+
url: {
|
|
7719
|
+
type: string;
|
|
7720
|
+
format: string;
|
|
7721
|
+
description: string;
|
|
7722
|
+
};
|
|
7723
|
+
};
|
|
7724
|
+
required: string[];
|
|
7725
|
+
};
|
|
7726
|
+
};
|
|
7727
|
+
};
|
|
7728
|
+
};
|
|
7729
|
+
};
|
|
7730
|
+
};
|
|
7731
|
+
};
|
|
7732
|
+
}, {
|
|
7733
|
+
redirect: true;
|
|
7734
|
+
url: string;
|
|
7735
|
+
} | {
|
|
7736
|
+
redirect: boolean;
|
|
7737
|
+
url: string;
|
|
7738
|
+
}>;
|
|
7739
|
+
oauth2Continue: import("better-auth").StrictEndpoint<"/oauth2/continue", {
|
|
7740
|
+
method: "POST";
|
|
7741
|
+
body: import("zod").ZodObject<{
|
|
7742
|
+
selected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7743
|
+
created: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7744
|
+
postLogin: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
7745
|
+
oauth_query: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7746
|
+
}, import("zod/v4/core").$strip>;
|
|
7747
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
7748
|
+
session: {
|
|
7749
|
+
session: Record<string, any> & {
|
|
7750
|
+
id: string;
|
|
7751
|
+
createdAt: Date;
|
|
7752
|
+
updatedAt: Date;
|
|
7753
|
+
userId: string;
|
|
7754
|
+
expiresAt: Date;
|
|
7755
|
+
token: string;
|
|
7756
|
+
ipAddress?: string | null | undefined;
|
|
7757
|
+
userAgent?: string | null | undefined;
|
|
7758
|
+
};
|
|
7759
|
+
user: Record<string, any> & {
|
|
7760
|
+
id: string;
|
|
7761
|
+
createdAt: Date;
|
|
7762
|
+
updatedAt: Date;
|
|
7763
|
+
email: string;
|
|
7764
|
+
emailVerified: boolean;
|
|
7765
|
+
name: string;
|
|
7766
|
+
image?: string | null | undefined;
|
|
7767
|
+
};
|
|
7768
|
+
};
|
|
7769
|
+
}>>[];
|
|
7770
|
+
metadata: {
|
|
7771
|
+
openapi: {
|
|
7772
|
+
description: string;
|
|
7773
|
+
responses: {
|
|
7774
|
+
"200": {
|
|
7775
|
+
description: string;
|
|
7776
|
+
content: {
|
|
7777
|
+
"application/json": {
|
|
7778
|
+
schema: {
|
|
7779
|
+
type: "object";
|
|
7780
|
+
properties: {
|
|
7781
|
+
redirect: {
|
|
7782
|
+
type: string;
|
|
7783
|
+
description: string;
|
|
7784
|
+
enum: boolean[];
|
|
7785
|
+
};
|
|
7786
|
+
url: {
|
|
7787
|
+
type: string;
|
|
7788
|
+
format: string;
|
|
7789
|
+
description: string;
|
|
7790
|
+
};
|
|
7791
|
+
};
|
|
7792
|
+
required: string[];
|
|
7793
|
+
};
|
|
7794
|
+
};
|
|
7795
|
+
};
|
|
7796
|
+
};
|
|
7797
|
+
};
|
|
7798
|
+
};
|
|
7799
|
+
};
|
|
7800
|
+
}, {
|
|
7801
|
+
redirect: true;
|
|
7802
|
+
url: string;
|
|
7803
|
+
}>;
|
|
7804
|
+
oauth2Token: import("better-auth").StrictEndpoint<"/oauth2/token", {
|
|
7805
|
+
method: "POST";
|
|
7806
|
+
cloneRequest: true;
|
|
7807
|
+
body: import("zod").ZodObject<{
|
|
7808
|
+
grant_type: import("zod").ZodString;
|
|
7809
|
+
client_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7810
|
+
client_secret: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7811
|
+
client_assertion: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7812
|
+
client_assertion_type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7813
|
+
code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7814
|
+
code_verifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7815
|
+
redirect_uri: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
7816
|
+
refresh_token: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7817
|
+
resource: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>>;
|
|
7818
|
+
scope: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7819
|
+
}, import("zod/v4/core").$loose>;
|
|
7820
|
+
errorCodesByField: {
|
|
7821
|
+
grant_type: {
|
|
7822
|
+
missing: "invalid_request";
|
|
7823
|
+
invalid: "unsupported_grant_type";
|
|
7824
|
+
};
|
|
7825
|
+
resource: {
|
|
7826
|
+
invalid: "invalid_target";
|
|
7827
|
+
};
|
|
7828
|
+
};
|
|
7829
|
+
metadata: {
|
|
7830
|
+
noStore: boolean;
|
|
7831
|
+
allowedMediaTypes: string[];
|
|
7832
|
+
openapi: {
|
|
7833
|
+
description: string;
|
|
7834
|
+
parameters: {
|
|
7835
|
+
name: string;
|
|
7836
|
+
in: "header";
|
|
7837
|
+
required: false;
|
|
7838
|
+
schema: {
|
|
7839
|
+
type: "string";
|
|
7840
|
+
};
|
|
7841
|
+
description: string;
|
|
7842
|
+
}[];
|
|
7843
|
+
requestBody: {
|
|
7844
|
+
required: boolean;
|
|
7845
|
+
content: {
|
|
7846
|
+
"application/json": {
|
|
7847
|
+
schema: {
|
|
7848
|
+
type: "object";
|
|
7849
|
+
properties: {
|
|
7850
|
+
grant_type: {
|
|
7851
|
+
type: string;
|
|
7852
|
+
description: string;
|
|
7853
|
+
};
|
|
7854
|
+
client_id: {
|
|
7855
|
+
type: string;
|
|
7856
|
+
description: string;
|
|
7857
|
+
};
|
|
7858
|
+
client_secret: {
|
|
7859
|
+
type: string;
|
|
7860
|
+
description: string;
|
|
7861
|
+
};
|
|
7862
|
+
code: {
|
|
7863
|
+
type: string;
|
|
7864
|
+
description: string;
|
|
7865
|
+
};
|
|
7866
|
+
code_verifier: {
|
|
7867
|
+
type: string;
|
|
7868
|
+
description: string;
|
|
7869
|
+
};
|
|
7870
|
+
redirect_uri: {
|
|
7871
|
+
type: string;
|
|
7872
|
+
format: string;
|
|
7873
|
+
description: string;
|
|
7874
|
+
};
|
|
7875
|
+
refresh_token: {
|
|
7876
|
+
type: string;
|
|
7877
|
+
description: string;
|
|
7878
|
+
};
|
|
7879
|
+
resource: {
|
|
7880
|
+
oneOf: ({
|
|
7881
|
+
type: string;
|
|
7882
|
+
description: string;
|
|
7883
|
+
items?: undefined;
|
|
7884
|
+
} | {
|
|
7885
|
+
type: string;
|
|
7886
|
+
items: {
|
|
7887
|
+
type: string;
|
|
7888
|
+
};
|
|
7889
|
+
description: string;
|
|
7890
|
+
})[];
|
|
7891
|
+
description: string;
|
|
7892
|
+
};
|
|
7893
|
+
scope: {
|
|
7894
|
+
type: string;
|
|
7895
|
+
description: string;
|
|
7896
|
+
};
|
|
7897
|
+
};
|
|
7898
|
+
required: string[];
|
|
7899
|
+
};
|
|
7900
|
+
};
|
|
7901
|
+
};
|
|
7902
|
+
};
|
|
7903
|
+
responses: {
|
|
7904
|
+
"200": {
|
|
7905
|
+
description: string;
|
|
7906
|
+
content: {
|
|
7907
|
+
"application/json": {
|
|
7908
|
+
schema: {
|
|
7909
|
+
type: "object";
|
|
7910
|
+
properties: {
|
|
7911
|
+
access_token: {
|
|
7912
|
+
type: string;
|
|
7913
|
+
description: string;
|
|
7914
|
+
};
|
|
7915
|
+
token_type: {
|
|
7916
|
+
type: string;
|
|
7917
|
+
description: string;
|
|
7918
|
+
enum: string[];
|
|
7919
|
+
};
|
|
7920
|
+
expires_in: {
|
|
7921
|
+
type: string;
|
|
7922
|
+
description: string;
|
|
7923
|
+
};
|
|
7924
|
+
refresh_token: {
|
|
7925
|
+
type: string;
|
|
7926
|
+
description: string;
|
|
7927
|
+
};
|
|
7928
|
+
scope: {
|
|
7929
|
+
type: string;
|
|
7930
|
+
description: string;
|
|
7931
|
+
};
|
|
7932
|
+
id_token: {
|
|
7933
|
+
type: string;
|
|
7934
|
+
description: string;
|
|
7935
|
+
};
|
|
7936
|
+
};
|
|
7937
|
+
required: string[];
|
|
7938
|
+
};
|
|
7939
|
+
};
|
|
7940
|
+
};
|
|
7941
|
+
};
|
|
7942
|
+
"400": {
|
|
7943
|
+
description: string;
|
|
7944
|
+
content: {
|
|
7945
|
+
"application/json": {
|
|
7946
|
+
schema: {
|
|
7947
|
+
type: "object";
|
|
7948
|
+
properties: {
|
|
7949
|
+
error: {
|
|
7950
|
+
type: string;
|
|
7951
|
+
};
|
|
7952
|
+
error_description: {
|
|
7953
|
+
type: string;
|
|
7954
|
+
};
|
|
7955
|
+
error_uri: {
|
|
7956
|
+
type: string;
|
|
7957
|
+
};
|
|
7958
|
+
};
|
|
7959
|
+
required: string[];
|
|
7960
|
+
};
|
|
7961
|
+
};
|
|
7962
|
+
};
|
|
7963
|
+
};
|
|
7964
|
+
};
|
|
7965
|
+
};
|
|
7966
|
+
};
|
|
7967
|
+
}, {
|
|
7968
|
+
expires_in: number;
|
|
7969
|
+
access_token: string;
|
|
7970
|
+
expires_at: number;
|
|
7971
|
+
token_type: import("@better-auth/oauth-provider").TokenType;
|
|
7972
|
+
refresh_token: string | undefined;
|
|
7973
|
+
scope: string;
|
|
7974
|
+
id_token: string | undefined;
|
|
7975
|
+
}>;
|
|
7976
|
+
oauth2Introspect: import("better-auth").StrictEndpoint<"/oauth2/introspect", {
|
|
7977
|
+
method: "POST";
|
|
7978
|
+
cloneRequest: true;
|
|
7979
|
+
body: import("zod").ZodObject<{
|
|
7980
|
+
client_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7981
|
+
client_secret: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7982
|
+
client_assertion: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7983
|
+
client_assertion_type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7984
|
+
token: import("zod").ZodString;
|
|
7985
|
+
token_type_hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7986
|
+
}, import("zod/v4/core").$strip>;
|
|
7987
|
+
metadata: {
|
|
7988
|
+
noStore: boolean;
|
|
7989
|
+
allowedMediaTypes: string[];
|
|
7990
|
+
openapi: {
|
|
7991
|
+
description: string;
|
|
7992
|
+
requestBody: {
|
|
7993
|
+
required: boolean;
|
|
7994
|
+
content: {
|
|
7995
|
+
"application/json": {
|
|
7996
|
+
schema: {
|
|
7997
|
+
type: "object";
|
|
7998
|
+
properties: {
|
|
7999
|
+
client_id: {
|
|
8000
|
+
type: string;
|
|
8001
|
+
description: string;
|
|
8002
|
+
};
|
|
8003
|
+
client_secret: {
|
|
8004
|
+
type: string;
|
|
8005
|
+
description: string;
|
|
8006
|
+
};
|
|
8007
|
+
token: {
|
|
8008
|
+
type: string;
|
|
8009
|
+
description: string;
|
|
8010
|
+
};
|
|
8011
|
+
token_type_hint: {
|
|
8012
|
+
type: string;
|
|
8013
|
+
description: string;
|
|
8014
|
+
};
|
|
8015
|
+
};
|
|
8016
|
+
required: string[];
|
|
8017
|
+
};
|
|
8018
|
+
};
|
|
8019
|
+
};
|
|
8020
|
+
};
|
|
8021
|
+
responses: {
|
|
8022
|
+
"200": {
|
|
8023
|
+
description: string;
|
|
8024
|
+
content: {
|
|
8025
|
+
"application/json": {
|
|
8026
|
+
schema: {
|
|
8027
|
+
type: "object";
|
|
8028
|
+
properties: {
|
|
8029
|
+
active: {
|
|
8030
|
+
type: string;
|
|
8031
|
+
description: string;
|
|
8032
|
+
};
|
|
8033
|
+
scope: {
|
|
8034
|
+
type: string;
|
|
8035
|
+
description: string;
|
|
8036
|
+
};
|
|
8037
|
+
client_id: {
|
|
8038
|
+
type: string;
|
|
8039
|
+
description: string;
|
|
8040
|
+
};
|
|
8041
|
+
username: {
|
|
8042
|
+
type: string;
|
|
8043
|
+
description: string;
|
|
8044
|
+
};
|
|
8045
|
+
token_type: {
|
|
8046
|
+
type: string;
|
|
8047
|
+
description: string;
|
|
8048
|
+
};
|
|
8049
|
+
exp: {
|
|
8050
|
+
type: string;
|
|
8051
|
+
description: string;
|
|
8052
|
+
};
|
|
8053
|
+
iat: {
|
|
8054
|
+
type: string;
|
|
8055
|
+
description: string;
|
|
8056
|
+
};
|
|
8057
|
+
nbf: {
|
|
8058
|
+
type: string;
|
|
8059
|
+
description: string;
|
|
8060
|
+
};
|
|
8061
|
+
sub: {
|
|
8062
|
+
type: string;
|
|
8063
|
+
description: string;
|
|
8064
|
+
};
|
|
8065
|
+
aud: {
|
|
8066
|
+
type: string;
|
|
8067
|
+
description: string;
|
|
8068
|
+
};
|
|
8069
|
+
iss: {
|
|
8070
|
+
type: string;
|
|
8071
|
+
description: string;
|
|
8072
|
+
};
|
|
8073
|
+
jti: {
|
|
8074
|
+
type: string;
|
|
8075
|
+
description: string;
|
|
8076
|
+
};
|
|
8077
|
+
};
|
|
8078
|
+
required: string[];
|
|
8079
|
+
};
|
|
8080
|
+
};
|
|
8081
|
+
};
|
|
8082
|
+
};
|
|
8083
|
+
"400": {
|
|
8084
|
+
description: string;
|
|
8085
|
+
content: {
|
|
8086
|
+
"application/json": {
|
|
8087
|
+
schema: {
|
|
8088
|
+
type: "object";
|
|
8089
|
+
properties: {
|
|
8090
|
+
error: {
|
|
8091
|
+
type: string;
|
|
8092
|
+
};
|
|
8093
|
+
error_description: {
|
|
8094
|
+
type: string;
|
|
8095
|
+
};
|
|
8096
|
+
error_uri: {
|
|
8097
|
+
type: string;
|
|
8098
|
+
};
|
|
8099
|
+
};
|
|
8100
|
+
required: string[];
|
|
8101
|
+
};
|
|
8102
|
+
};
|
|
8103
|
+
};
|
|
8104
|
+
};
|
|
8105
|
+
};
|
|
8106
|
+
};
|
|
8107
|
+
};
|
|
8108
|
+
}, import("better-auth").JWTPayload>;
|
|
8109
|
+
oauth2Revoke: import("better-auth").StrictEndpoint<"/oauth2/revoke", {
|
|
8110
|
+
method: "POST";
|
|
8111
|
+
cloneRequest: true;
|
|
8112
|
+
body: import("zod").ZodObject<{
|
|
8113
|
+
client_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8114
|
+
client_secret: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8115
|
+
client_assertion: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8116
|
+
client_assertion_type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8117
|
+
token: import("zod").ZodString;
|
|
8118
|
+
token_type_hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8119
|
+
}, import("zod/v4/core").$strip>;
|
|
8120
|
+
metadata: {
|
|
8121
|
+
allowedMediaTypes: string[];
|
|
8122
|
+
openapi: {
|
|
8123
|
+
description: string;
|
|
8124
|
+
requestBody: {
|
|
8125
|
+
required: boolean;
|
|
8126
|
+
content: {
|
|
8127
|
+
"application/json": {
|
|
8128
|
+
schema: {
|
|
8129
|
+
type: "object";
|
|
8130
|
+
properties: {
|
|
8131
|
+
client_id: {
|
|
8132
|
+
type: string;
|
|
8133
|
+
description: string;
|
|
8134
|
+
};
|
|
8135
|
+
client_secret: {
|
|
8136
|
+
type: string;
|
|
8137
|
+
description: string;
|
|
8138
|
+
};
|
|
8139
|
+
token: {
|
|
8140
|
+
type: string;
|
|
8141
|
+
description: string;
|
|
8142
|
+
};
|
|
8143
|
+
token_type_hint: {
|
|
8144
|
+
type: string;
|
|
8145
|
+
description: string;
|
|
8146
|
+
};
|
|
8147
|
+
};
|
|
8148
|
+
required: string[];
|
|
8149
|
+
};
|
|
8150
|
+
};
|
|
8151
|
+
};
|
|
8152
|
+
};
|
|
8153
|
+
responses: {
|
|
8154
|
+
"200": {
|
|
8155
|
+
description: string;
|
|
8156
|
+
content: {
|
|
8157
|
+
"application/json": {
|
|
8158
|
+
schema: {
|
|
8159
|
+
type: "object";
|
|
8160
|
+
description: string;
|
|
8161
|
+
};
|
|
8162
|
+
};
|
|
8163
|
+
};
|
|
8164
|
+
};
|
|
8165
|
+
"400": {
|
|
8166
|
+
description: string;
|
|
8167
|
+
content: {
|
|
8168
|
+
"application/json": {
|
|
8169
|
+
schema: {
|
|
8170
|
+
type: "object";
|
|
8171
|
+
properties: {
|
|
8172
|
+
error: {
|
|
8173
|
+
type: string;
|
|
8174
|
+
};
|
|
8175
|
+
error_description: {
|
|
8176
|
+
type: string;
|
|
8177
|
+
};
|
|
8178
|
+
error_uri: {
|
|
8179
|
+
type: string;
|
|
8180
|
+
};
|
|
8181
|
+
};
|
|
8182
|
+
required: string[];
|
|
8183
|
+
};
|
|
8184
|
+
};
|
|
8185
|
+
};
|
|
8186
|
+
};
|
|
8187
|
+
};
|
|
8188
|
+
};
|
|
8189
|
+
};
|
|
8190
|
+
}, null | undefined>;
|
|
8191
|
+
oauth2UserInfo: import("better-auth").StrictEndpoint<"/oauth2/userinfo", {
|
|
8192
|
+
method: ("GET" | "POST")[];
|
|
8193
|
+
body: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
8194
|
+
access_token: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8195
|
+
}, import("zod/v4/core").$loose>>;
|
|
8196
|
+
metadata: {
|
|
8197
|
+
noStore: boolean;
|
|
8198
|
+
allowedMediaTypes: string[];
|
|
8199
|
+
openapi: {
|
|
8200
|
+
description: string;
|
|
8201
|
+
security: ({
|
|
8202
|
+
bearerAuth: never[];
|
|
8203
|
+
OAuth2?: undefined;
|
|
8204
|
+
} | {
|
|
8205
|
+
OAuth2: string[];
|
|
8206
|
+
bearerAuth?: undefined;
|
|
8207
|
+
})[];
|
|
8208
|
+
parameters: {
|
|
8209
|
+
name: string;
|
|
8210
|
+
in: "header";
|
|
8211
|
+
required: false;
|
|
8212
|
+
schema: {
|
|
8213
|
+
type: "string";
|
|
8214
|
+
};
|
|
8215
|
+
description: string;
|
|
8216
|
+
}[];
|
|
8217
|
+
responses: {
|
|
8218
|
+
"200": {
|
|
8219
|
+
description: string;
|
|
8220
|
+
content: {
|
|
8221
|
+
"application/json": {
|
|
8222
|
+
schema: {
|
|
8223
|
+
type: "object";
|
|
8224
|
+
properties: {
|
|
8225
|
+
sub: {
|
|
8226
|
+
type: string;
|
|
8227
|
+
description: string;
|
|
8228
|
+
};
|
|
8229
|
+
email: {
|
|
8230
|
+
type: string;
|
|
8231
|
+
format: string;
|
|
8232
|
+
nullable: boolean;
|
|
8233
|
+
description: string;
|
|
8234
|
+
};
|
|
8235
|
+
name: {
|
|
8236
|
+
type: string;
|
|
8237
|
+
nullable: boolean;
|
|
8238
|
+
description: string;
|
|
8239
|
+
};
|
|
8240
|
+
picture: {
|
|
8241
|
+
type: string;
|
|
8242
|
+
format: string;
|
|
8243
|
+
nullable: boolean;
|
|
8244
|
+
description: string;
|
|
8245
|
+
};
|
|
8246
|
+
given_name: {
|
|
8247
|
+
type: string;
|
|
8248
|
+
nullable: boolean;
|
|
8249
|
+
description: string;
|
|
8250
|
+
};
|
|
8251
|
+
family_name: {
|
|
8252
|
+
type: string;
|
|
8253
|
+
nullable: boolean;
|
|
8254
|
+
description: string;
|
|
8255
|
+
};
|
|
8256
|
+
email_verified: {
|
|
8257
|
+
type: string;
|
|
8258
|
+
nullable: boolean;
|
|
8259
|
+
description: string;
|
|
8260
|
+
};
|
|
8261
|
+
};
|
|
8262
|
+
required: string[];
|
|
8263
|
+
};
|
|
8264
|
+
};
|
|
8265
|
+
};
|
|
8266
|
+
};
|
|
8267
|
+
"401": {
|
|
8268
|
+
description: string;
|
|
8269
|
+
content: {
|
|
8270
|
+
"application/json": {
|
|
8271
|
+
schema: {
|
|
8272
|
+
type: "object";
|
|
8273
|
+
properties: {
|
|
8274
|
+
error: {
|
|
8275
|
+
type: string;
|
|
8276
|
+
};
|
|
8277
|
+
error_description: {
|
|
8278
|
+
type: string;
|
|
8279
|
+
};
|
|
8280
|
+
};
|
|
8281
|
+
required: string[];
|
|
8282
|
+
};
|
|
8283
|
+
};
|
|
8284
|
+
};
|
|
8285
|
+
};
|
|
8286
|
+
"403": {
|
|
8287
|
+
description: string;
|
|
8288
|
+
content: {
|
|
8289
|
+
"application/json": {
|
|
8290
|
+
schema: {
|
|
8291
|
+
type: "object";
|
|
8292
|
+
properties: {
|
|
8293
|
+
error: {
|
|
8294
|
+
type: string;
|
|
8295
|
+
};
|
|
8296
|
+
error_description: {
|
|
8297
|
+
type: string;
|
|
8298
|
+
};
|
|
8299
|
+
};
|
|
8300
|
+
required: string[];
|
|
8301
|
+
};
|
|
8302
|
+
};
|
|
8303
|
+
};
|
|
8304
|
+
};
|
|
8305
|
+
};
|
|
8306
|
+
};
|
|
8307
|
+
};
|
|
8308
|
+
}, {
|
|
8309
|
+
sub: unknown;
|
|
8310
|
+
}>;
|
|
8311
|
+
oauth2EndSession: import("better-auth").StrictEndpoint<"/oauth2/end-session", {
|
|
8312
|
+
method: ("GET" | "POST")[];
|
|
8313
|
+
body: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
8314
|
+
id_token_hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8315
|
+
client_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8316
|
+
post_logout_redirect_uri: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
8317
|
+
state: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8318
|
+
}, import("zod/v4/core").$strip>>;
|
|
8319
|
+
query: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
8320
|
+
id_token_hint: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8321
|
+
client_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8322
|
+
post_logout_redirect_uri: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
8323
|
+
state: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8324
|
+
}, import("zod/v4/core").$strip>>;
|
|
8325
|
+
metadata: {
|
|
8326
|
+
noStore: boolean;
|
|
8327
|
+
allowedMediaTypes: string[];
|
|
8328
|
+
$Infer: {
|
|
8329
|
+
body: {
|
|
8330
|
+
id_token_hint?: string;
|
|
8331
|
+
client_id?: string;
|
|
8332
|
+
post_logout_redirect_uri?: string;
|
|
8333
|
+
state?: string;
|
|
8334
|
+
} | {
|
|
8335
|
+
query: {
|
|
8336
|
+
id_token_hint?: string;
|
|
8337
|
+
client_id?: string;
|
|
8338
|
+
post_logout_redirect_uri?: string;
|
|
8339
|
+
state?: string;
|
|
8340
|
+
};
|
|
8341
|
+
};
|
|
8342
|
+
query: {
|
|
8343
|
+
id_token_hint?: string;
|
|
8344
|
+
client_id?: string;
|
|
8345
|
+
post_logout_redirect_uri?: string;
|
|
8346
|
+
state?: string;
|
|
8347
|
+
};
|
|
8348
|
+
};
|
|
8349
|
+
openapi: {
|
|
8350
|
+
description: string;
|
|
8351
|
+
responses: {
|
|
8352
|
+
"200": {
|
|
8353
|
+
description: string;
|
|
8354
|
+
content: {
|
|
8355
|
+
"application/json": {
|
|
8356
|
+
schema: {
|
|
8357
|
+
type: "object";
|
|
8358
|
+
properties: {
|
|
8359
|
+
redirect_uri: {
|
|
8360
|
+
type: string;
|
|
8361
|
+
format: string;
|
|
8362
|
+
description: string;
|
|
8363
|
+
};
|
|
8364
|
+
message: {
|
|
8365
|
+
type: string;
|
|
8366
|
+
description: string;
|
|
8367
|
+
};
|
|
8368
|
+
};
|
|
8369
|
+
};
|
|
8370
|
+
};
|
|
8371
|
+
"text/html": {
|
|
8372
|
+
schema: {
|
|
8373
|
+
type: "string";
|
|
8374
|
+
};
|
|
8375
|
+
};
|
|
8376
|
+
};
|
|
8377
|
+
};
|
|
8378
|
+
};
|
|
8379
|
+
};
|
|
8380
|
+
};
|
|
8381
|
+
}, Response | {
|
|
8382
|
+
redirect: true;
|
|
8383
|
+
url: string;
|
|
8384
|
+
} | null>;
|
|
8385
|
+
oauth2EndSessionConfirmation: import("better-auth").StrictEndpoint<"/oauth2/end-session/confirm", {
|
|
8386
|
+
method: "POST";
|
|
8387
|
+
body: import("zod").ZodObject<{
|
|
8388
|
+
action: import("zod").ZodLiteral<"confirm">;
|
|
8389
|
+
}, import("zod/v4/core").$strip>;
|
|
8390
|
+
metadata: {
|
|
8391
|
+
noStore: boolean;
|
|
8392
|
+
allowedMediaTypes: string[];
|
|
8393
|
+
scope: "http";
|
|
8394
|
+
};
|
|
8395
|
+
}, Response | {
|
|
8396
|
+
redirect: true;
|
|
8397
|
+
url: string;
|
|
8398
|
+
} | null>;
|
|
8399
|
+
registerOAuthClient: import("better-auth").StrictEndpoint<"/oauth2/register", {
|
|
8400
|
+
method: "POST";
|
|
8401
|
+
body: import("zod").ZodObject<{
|
|
8402
|
+
redirect_uris: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodURL>>;
|
|
8403
|
+
scope: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8404
|
+
client_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8405
|
+
client_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8406
|
+
logo_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8407
|
+
contacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
8408
|
+
tos_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8409
|
+
policy_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8410
|
+
software_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8411
|
+
software_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8412
|
+
software_statement: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8413
|
+
post_logout_redirect_uris: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodURL>>;
|
|
8414
|
+
backchannel_logout_uri: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
8415
|
+
backchannel_logout_session_required: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8416
|
+
token_endpoint_auth_method: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8417
|
+
jwks: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
8418
|
+
keys: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
8419
|
+
}, import("zod/v4/core").$strip>>;
|
|
8420
|
+
jwks_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8421
|
+
grant_types: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
8422
|
+
response_types: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
8423
|
+
code: "code";
|
|
8424
|
+
}>>>;
|
|
8425
|
+
application_type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
8426
|
+
web: "web";
|
|
8427
|
+
native: "native";
|
|
8428
|
+
}>>;
|
|
8429
|
+
subject_type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
8430
|
+
public: "public";
|
|
8431
|
+
pairwise: "pairwise";
|
|
8432
|
+
}>>;
|
|
8433
|
+
dpop_bound_access_tokens: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8434
|
+
resources: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
8435
|
+
skip_consent: import("zod").ZodOptional<import("zod").ZodNever>;
|
|
8436
|
+
}, import("zod/v4/core").$strip>;
|
|
8437
|
+
errorCodesByField: {
|
|
8438
|
+
redirect_uris: "invalid_redirect_uri";
|
|
8439
|
+
post_logout_redirect_uris: "invalid_redirect_uri";
|
|
8440
|
+
software_statement: "invalid_software_statement";
|
|
8441
|
+
resources: "invalid_target";
|
|
8442
|
+
};
|
|
8443
|
+
defaultError: "invalid_client_metadata";
|
|
8444
|
+
metadata: {
|
|
8445
|
+
noStore: boolean;
|
|
8446
|
+
openapi: {
|
|
8447
|
+
description: string;
|
|
8448
|
+
responses: {
|
|
8449
|
+
"201": {
|
|
8450
|
+
description: string;
|
|
8451
|
+
content: {
|
|
8452
|
+
"application/json": {
|
|
8453
|
+
schema: {
|
|
8454
|
+
type: "object";
|
|
8455
|
+
properties: {
|
|
8456
|
+
client_id: {
|
|
8457
|
+
type: string;
|
|
8458
|
+
description: string;
|
|
8459
|
+
};
|
|
8460
|
+
client_secret: {
|
|
8461
|
+
type: string;
|
|
8462
|
+
description: string;
|
|
8463
|
+
};
|
|
8464
|
+
client_secret_expires_at: {
|
|
8465
|
+
type: string;
|
|
8466
|
+
description: string;
|
|
8467
|
+
};
|
|
8468
|
+
scope: {
|
|
8469
|
+
type: string;
|
|
8470
|
+
description: string;
|
|
8471
|
+
};
|
|
8472
|
+
user_id: {
|
|
8473
|
+
type: string;
|
|
8474
|
+
description: string;
|
|
8475
|
+
};
|
|
8476
|
+
client_id_issued_at: {
|
|
8477
|
+
type: string;
|
|
8478
|
+
description: string;
|
|
8479
|
+
};
|
|
8480
|
+
client_name: {
|
|
8481
|
+
type: string;
|
|
8482
|
+
description: string;
|
|
8483
|
+
};
|
|
8484
|
+
client_uri: {
|
|
8485
|
+
type: string;
|
|
8486
|
+
description: string;
|
|
8487
|
+
};
|
|
8488
|
+
logo_uri: {
|
|
8489
|
+
type: string;
|
|
8490
|
+
description: string;
|
|
8491
|
+
};
|
|
8492
|
+
contacts: {
|
|
8493
|
+
type: string;
|
|
8494
|
+
items: {
|
|
8495
|
+
type: string;
|
|
8496
|
+
};
|
|
8497
|
+
description: string;
|
|
8498
|
+
};
|
|
8499
|
+
tos_uri: {
|
|
8500
|
+
type: string;
|
|
8501
|
+
description: string;
|
|
8502
|
+
};
|
|
8503
|
+
policy_uri: {
|
|
8504
|
+
type: string;
|
|
8505
|
+
description: string;
|
|
8506
|
+
};
|
|
8507
|
+
software_id: {
|
|
8508
|
+
type: string;
|
|
8509
|
+
description: string;
|
|
8510
|
+
};
|
|
8511
|
+
software_version: {
|
|
8512
|
+
type: string;
|
|
8513
|
+
description: string;
|
|
8514
|
+
};
|
|
8515
|
+
software_statement: {
|
|
8516
|
+
type: string;
|
|
8517
|
+
description: string;
|
|
8518
|
+
};
|
|
8519
|
+
redirect_uris: {
|
|
8520
|
+
type: string;
|
|
8521
|
+
items: {
|
|
8522
|
+
type: string;
|
|
8523
|
+
format: string;
|
|
8524
|
+
};
|
|
8525
|
+
description: string;
|
|
8526
|
+
};
|
|
8527
|
+
post_logout_redirect_uris: {
|
|
8528
|
+
type: string;
|
|
8529
|
+
items: {
|
|
8530
|
+
type: string;
|
|
8531
|
+
format: string;
|
|
8532
|
+
};
|
|
8533
|
+
description: string;
|
|
8534
|
+
};
|
|
8535
|
+
backchannel_logout_uri: {
|
|
8536
|
+
type: string;
|
|
8537
|
+
format: string;
|
|
8538
|
+
description: string;
|
|
8539
|
+
};
|
|
8540
|
+
backchannel_logout_session_required: {
|
|
8541
|
+
type: string;
|
|
8542
|
+
description: string;
|
|
8543
|
+
};
|
|
8544
|
+
token_endpoint_auth_method: {
|
|
8545
|
+
type: string;
|
|
8546
|
+
description: string;
|
|
8547
|
+
};
|
|
8548
|
+
grant_types: {
|
|
8549
|
+
type: string;
|
|
8550
|
+
items: {
|
|
8551
|
+
type: string;
|
|
8552
|
+
};
|
|
8553
|
+
description: string;
|
|
8554
|
+
};
|
|
8555
|
+
response_types: {
|
|
8556
|
+
type: string;
|
|
8557
|
+
items: {
|
|
8558
|
+
type: string;
|
|
8559
|
+
enum: string[];
|
|
8560
|
+
};
|
|
8561
|
+
description: string;
|
|
8562
|
+
};
|
|
8563
|
+
application_type: {
|
|
8564
|
+
type: string;
|
|
8565
|
+
description: string;
|
|
8566
|
+
enum: string[];
|
|
8567
|
+
};
|
|
8568
|
+
resources: {
|
|
8569
|
+
type: string;
|
|
8570
|
+
items: {
|
|
8571
|
+
type: string;
|
|
8572
|
+
format: string;
|
|
8573
|
+
};
|
|
8574
|
+
description: string;
|
|
8575
|
+
};
|
|
8576
|
+
disabled: {
|
|
8577
|
+
type: string;
|
|
8578
|
+
description: string;
|
|
8579
|
+
};
|
|
8580
|
+
};
|
|
8581
|
+
required: string[];
|
|
8582
|
+
};
|
|
8583
|
+
};
|
|
8584
|
+
};
|
|
8585
|
+
};
|
|
8586
|
+
};
|
|
8587
|
+
};
|
|
8588
|
+
};
|
|
8589
|
+
}, import("@better-auth/oauth-provider").OAuthClientRegistrationResponse>;
|
|
8590
|
+
adminCreateOAuthClient: import("better-auth").StrictEndpoint<"/admin/oauth2/create-client", {
|
|
8591
|
+
method: "POST";
|
|
8592
|
+
body: import("zod").ZodObject<{
|
|
8593
|
+
redirect_uris: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodURL>>;
|
|
8594
|
+
scope: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8595
|
+
client_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8596
|
+
client_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8597
|
+
logo_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8598
|
+
contacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
8599
|
+
tos_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8600
|
+
policy_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8601
|
+
software_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8602
|
+
software_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8603
|
+
software_statement: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8604
|
+
post_logout_redirect_uris: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodURL>>;
|
|
8605
|
+
backchannel_logout_uri: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
8606
|
+
backchannel_logout_session_required: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8607
|
+
token_endpoint_auth_method: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8608
|
+
application_type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
8609
|
+
web: "web";
|
|
8610
|
+
native: "native";
|
|
8611
|
+
}>>;
|
|
8612
|
+
jwks: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
8613
|
+
keys: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
8614
|
+
}, import("zod/v4/core").$strip>>;
|
|
8615
|
+
jwks_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8616
|
+
grant_types: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
8617
|
+
client_credentials_scopes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
8618
|
+
resources: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
8619
|
+
response_types: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
8620
|
+
code: "code";
|
|
8621
|
+
}>>>;
|
|
8622
|
+
client_secret_expires_at: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
8623
|
+
skip_consent: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8624
|
+
enable_end_session: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8625
|
+
require_pkce: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8626
|
+
dpop_bound_access_tokens: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8627
|
+
subject_type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
8628
|
+
public: "public";
|
|
8629
|
+
pairwise: "pairwise";
|
|
8630
|
+
}>>;
|
|
8631
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
8632
|
+
}, import("zod/v4/core").$strip>;
|
|
8633
|
+
metadata: {
|
|
8634
|
+
noStore: boolean;
|
|
8635
|
+
SERVER_ONLY: true;
|
|
8636
|
+
openapi: {
|
|
8637
|
+
description: string;
|
|
8638
|
+
responses: {
|
|
8639
|
+
"201": {
|
|
8640
|
+
description: string;
|
|
8641
|
+
content: {
|
|
8642
|
+
"application/json": {
|
|
8643
|
+
schema: {
|
|
8644
|
+
type: "object";
|
|
8645
|
+
properties: {
|
|
8646
|
+
client_id: {
|
|
8647
|
+
type: string;
|
|
8648
|
+
description: string;
|
|
8649
|
+
};
|
|
8650
|
+
client_secret: {
|
|
8651
|
+
type: string;
|
|
8652
|
+
description: string;
|
|
8653
|
+
};
|
|
8654
|
+
client_secret_expires_at: {
|
|
8655
|
+
type: string;
|
|
8656
|
+
description: string;
|
|
8657
|
+
};
|
|
8658
|
+
scope: {
|
|
8659
|
+
type: string;
|
|
8660
|
+
description: string;
|
|
8661
|
+
};
|
|
8662
|
+
client_credentials_scopes: {
|
|
8663
|
+
type: string;
|
|
8664
|
+
items: {
|
|
8665
|
+
type: string;
|
|
8666
|
+
};
|
|
8667
|
+
description: string;
|
|
8668
|
+
};
|
|
8669
|
+
user_id: {
|
|
8670
|
+
type: string;
|
|
8671
|
+
description: string;
|
|
8672
|
+
};
|
|
8673
|
+
client_id_issued_at: {
|
|
8674
|
+
type: string;
|
|
8675
|
+
description: string;
|
|
8676
|
+
};
|
|
8677
|
+
client_name: {
|
|
8678
|
+
type: string;
|
|
8679
|
+
description: string;
|
|
8680
|
+
};
|
|
8681
|
+
client_uri: {
|
|
8682
|
+
type: string;
|
|
8683
|
+
description: string;
|
|
8684
|
+
};
|
|
8685
|
+
logo_uri: {
|
|
8686
|
+
type: string;
|
|
8687
|
+
description: string;
|
|
8688
|
+
};
|
|
8689
|
+
contacts: {
|
|
8690
|
+
type: string;
|
|
8691
|
+
items: {
|
|
8692
|
+
type: string;
|
|
8693
|
+
};
|
|
8694
|
+
description: string;
|
|
8695
|
+
};
|
|
8696
|
+
tos_uri: {
|
|
8697
|
+
type: string;
|
|
8698
|
+
description: string;
|
|
8699
|
+
};
|
|
8700
|
+
policy_uri: {
|
|
8701
|
+
type: string;
|
|
8702
|
+
description: string;
|
|
8703
|
+
};
|
|
8704
|
+
software_id: {
|
|
8705
|
+
type: string;
|
|
8706
|
+
description: string;
|
|
8707
|
+
};
|
|
8708
|
+
software_version: {
|
|
8709
|
+
type: string;
|
|
8710
|
+
description: string;
|
|
8711
|
+
};
|
|
8712
|
+
software_statement: {
|
|
8713
|
+
type: string;
|
|
8714
|
+
description: string;
|
|
8715
|
+
};
|
|
8716
|
+
redirect_uris: {
|
|
8717
|
+
type: string;
|
|
8718
|
+
items: {
|
|
8719
|
+
type: string;
|
|
8720
|
+
format: string;
|
|
8721
|
+
};
|
|
8722
|
+
description: string;
|
|
8723
|
+
};
|
|
8724
|
+
token_endpoint_auth_method: {
|
|
8725
|
+
type: string;
|
|
8726
|
+
description: string;
|
|
8727
|
+
};
|
|
8728
|
+
grant_types: {
|
|
8729
|
+
type: string;
|
|
8730
|
+
items: {
|
|
8731
|
+
type: string;
|
|
8732
|
+
};
|
|
8733
|
+
description: string;
|
|
8734
|
+
};
|
|
8735
|
+
response_types: {
|
|
8736
|
+
type: string;
|
|
8737
|
+
items: {
|
|
8738
|
+
type: string;
|
|
8739
|
+
enum: string[];
|
|
8740
|
+
};
|
|
8741
|
+
description: string;
|
|
8742
|
+
};
|
|
8743
|
+
application_type: {
|
|
8744
|
+
type: string;
|
|
8745
|
+
description: string;
|
|
8746
|
+
enum: string[];
|
|
8747
|
+
};
|
|
8748
|
+
resources: {
|
|
8749
|
+
type: string;
|
|
8750
|
+
items: {
|
|
8751
|
+
type: string;
|
|
8752
|
+
format: string;
|
|
8753
|
+
};
|
|
8754
|
+
description: string;
|
|
8755
|
+
};
|
|
8756
|
+
disabled: {
|
|
8757
|
+
type: string;
|
|
8758
|
+
description: string;
|
|
8759
|
+
};
|
|
8760
|
+
require_pkce: {
|
|
8761
|
+
type: string;
|
|
8762
|
+
description: string;
|
|
8763
|
+
default: boolean;
|
|
8764
|
+
};
|
|
8765
|
+
metadata: {
|
|
8766
|
+
type: string;
|
|
8767
|
+
additionalProperties: boolean;
|
|
8768
|
+
nullable: boolean;
|
|
8769
|
+
description: string;
|
|
8770
|
+
};
|
|
8771
|
+
};
|
|
8772
|
+
required: string[];
|
|
8773
|
+
};
|
|
8774
|
+
};
|
|
8775
|
+
};
|
|
8776
|
+
};
|
|
8777
|
+
};
|
|
8778
|
+
};
|
|
8779
|
+
};
|
|
8780
|
+
}, import("@better-auth/oauth-provider").OAuthClientAdministrativeResponse>;
|
|
8781
|
+
createOAuthClient: import("better-auth").StrictEndpoint<"/oauth2/create-client", {
|
|
8782
|
+
method: "POST";
|
|
8783
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
8784
|
+
session: {
|
|
8785
|
+
session: Record<string, any> & {
|
|
8786
|
+
id: string;
|
|
8787
|
+
createdAt: Date;
|
|
8788
|
+
updatedAt: Date;
|
|
8789
|
+
userId: string;
|
|
8790
|
+
expiresAt: Date;
|
|
8791
|
+
token: string;
|
|
8792
|
+
ipAddress?: string | null | undefined;
|
|
8793
|
+
userAgent?: string | null | undefined;
|
|
8794
|
+
};
|
|
8795
|
+
user: Record<string, any> & {
|
|
8796
|
+
id: string;
|
|
8797
|
+
createdAt: Date;
|
|
8798
|
+
updatedAt: Date;
|
|
8799
|
+
email: string;
|
|
8800
|
+
emailVerified: boolean;
|
|
8801
|
+
name: string;
|
|
8802
|
+
image?: string | null | undefined;
|
|
8803
|
+
};
|
|
8804
|
+
};
|
|
8805
|
+
}>>[];
|
|
8806
|
+
body: import("zod").ZodObject<{
|
|
8807
|
+
redirect_uris: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodURL>>;
|
|
8808
|
+
scope: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8809
|
+
client_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8810
|
+
client_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8811
|
+
logo_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8812
|
+
contacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
8813
|
+
tos_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8814
|
+
policy_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8815
|
+
software_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8816
|
+
software_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8817
|
+
software_statement: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8818
|
+
post_logout_redirect_uris: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodURL>>;
|
|
8819
|
+
backchannel_logout_uri: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
8820
|
+
backchannel_logout_session_required: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8821
|
+
token_endpoint_auth_method: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8822
|
+
application_type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
8823
|
+
web: "web";
|
|
8824
|
+
native: "native";
|
|
8825
|
+
}>>;
|
|
8826
|
+
jwks: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
8827
|
+
keys: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
8828
|
+
}, import("zod/v4/core").$strip>>;
|
|
8829
|
+
jwks_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8830
|
+
grant_types: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
8831
|
+
response_types: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
8832
|
+
code: "code";
|
|
8833
|
+
}>>>;
|
|
8834
|
+
dpop_bound_access_tokens: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
8835
|
+
}, import("zod/v4/core").$strip>;
|
|
8836
|
+
metadata: {
|
|
8837
|
+
noStore: boolean;
|
|
8838
|
+
openapi: {
|
|
8839
|
+
description: string;
|
|
8840
|
+
responses: {
|
|
8841
|
+
"201": {
|
|
8842
|
+
description: string;
|
|
8843
|
+
content: {
|
|
8844
|
+
"application/json": {
|
|
8845
|
+
schema: {
|
|
8846
|
+
type: "object";
|
|
8847
|
+
properties: {
|
|
8848
|
+
client_id: {
|
|
8849
|
+
type: string;
|
|
8850
|
+
description: string;
|
|
8851
|
+
};
|
|
8852
|
+
client_secret: {
|
|
8853
|
+
type: string;
|
|
8854
|
+
description: string;
|
|
8855
|
+
};
|
|
8856
|
+
client_secret_expires_at: {
|
|
8857
|
+
type: string;
|
|
8858
|
+
description: string;
|
|
8859
|
+
};
|
|
8860
|
+
scope: {
|
|
8861
|
+
type: string;
|
|
8862
|
+
description: string;
|
|
8863
|
+
};
|
|
8864
|
+
user_id: {
|
|
8865
|
+
type: string;
|
|
8866
|
+
description: string;
|
|
8867
|
+
};
|
|
8868
|
+
client_id_issued_at: {
|
|
8869
|
+
type: string;
|
|
8870
|
+
description: string;
|
|
8871
|
+
};
|
|
8872
|
+
client_name: {
|
|
8873
|
+
type: string;
|
|
8874
|
+
description: string;
|
|
8875
|
+
};
|
|
8876
|
+
client_uri: {
|
|
8877
|
+
type: string;
|
|
8878
|
+
description: string;
|
|
8879
|
+
};
|
|
8880
|
+
logo_uri: {
|
|
8881
|
+
type: string;
|
|
8882
|
+
description: string;
|
|
8883
|
+
};
|
|
8884
|
+
contacts: {
|
|
8885
|
+
type: string;
|
|
8886
|
+
items: {
|
|
8887
|
+
type: string;
|
|
8888
|
+
};
|
|
8889
|
+
description: string;
|
|
8890
|
+
};
|
|
8891
|
+
tos_uri: {
|
|
8892
|
+
type: string;
|
|
8893
|
+
description: string;
|
|
8894
|
+
};
|
|
8895
|
+
policy_uri: {
|
|
8896
|
+
type: string;
|
|
8897
|
+
description: string;
|
|
8898
|
+
};
|
|
8899
|
+
software_id: {
|
|
8900
|
+
type: string;
|
|
8901
|
+
description: string;
|
|
8902
|
+
};
|
|
8903
|
+
software_version: {
|
|
8904
|
+
type: string;
|
|
8905
|
+
description: string;
|
|
8906
|
+
};
|
|
8907
|
+
software_statement: {
|
|
8908
|
+
type: string;
|
|
8909
|
+
description: string;
|
|
8910
|
+
};
|
|
8911
|
+
redirect_uris: {
|
|
8912
|
+
type: string;
|
|
8913
|
+
items: {
|
|
8914
|
+
type: string;
|
|
8915
|
+
format: string;
|
|
8916
|
+
};
|
|
8917
|
+
description: string;
|
|
8918
|
+
};
|
|
8919
|
+
token_endpoint_auth_method: {
|
|
8920
|
+
type: string;
|
|
8921
|
+
description: string;
|
|
8922
|
+
};
|
|
8923
|
+
grant_types: {
|
|
8924
|
+
type: string;
|
|
8925
|
+
items: {
|
|
8926
|
+
type: string;
|
|
8927
|
+
};
|
|
8928
|
+
description: string;
|
|
8929
|
+
};
|
|
8930
|
+
response_types: {
|
|
8931
|
+
type: string;
|
|
8932
|
+
items: {
|
|
8933
|
+
type: string;
|
|
8934
|
+
enum: string[];
|
|
8935
|
+
};
|
|
8936
|
+
description: string;
|
|
8937
|
+
};
|
|
8938
|
+
application_type: {
|
|
8939
|
+
type: string;
|
|
8940
|
+
description: string;
|
|
8941
|
+
enum: string[];
|
|
8942
|
+
};
|
|
8943
|
+
resources: {
|
|
8944
|
+
type: string;
|
|
8945
|
+
items: {
|
|
8946
|
+
type: string;
|
|
8947
|
+
format: string;
|
|
8948
|
+
};
|
|
8949
|
+
description: string;
|
|
8950
|
+
};
|
|
8951
|
+
disabled: {
|
|
8952
|
+
type: string;
|
|
8953
|
+
description: string;
|
|
8954
|
+
};
|
|
8955
|
+
metadata: {
|
|
8956
|
+
type: string;
|
|
8957
|
+
additionalProperties: boolean;
|
|
8958
|
+
nullable: boolean;
|
|
8959
|
+
description: string;
|
|
8960
|
+
};
|
|
8961
|
+
};
|
|
8962
|
+
required: string[];
|
|
8963
|
+
};
|
|
8964
|
+
};
|
|
8965
|
+
};
|
|
8966
|
+
};
|
|
8967
|
+
};
|
|
8968
|
+
};
|
|
8969
|
+
};
|
|
8970
|
+
}, import("@better-auth/oauth-provider").OAuthClientRegistrationResponse>;
|
|
8971
|
+
getOAuthClient: import("better-auth").StrictEndpoint<"/oauth2/get-client", {
|
|
8972
|
+
method: "GET";
|
|
8973
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
8974
|
+
session: {
|
|
8975
|
+
session: Record<string, any> & {
|
|
8976
|
+
id: string;
|
|
8977
|
+
createdAt: Date;
|
|
8978
|
+
updatedAt: Date;
|
|
8979
|
+
userId: string;
|
|
8980
|
+
expiresAt: Date;
|
|
8981
|
+
token: string;
|
|
8982
|
+
ipAddress?: string | null | undefined;
|
|
8983
|
+
userAgent?: string | null | undefined;
|
|
8984
|
+
};
|
|
8985
|
+
user: Record<string, any> & {
|
|
8986
|
+
id: string;
|
|
8987
|
+
createdAt: Date;
|
|
8988
|
+
updatedAt: Date;
|
|
8989
|
+
email: string;
|
|
8990
|
+
emailVerified: boolean;
|
|
8991
|
+
name: string;
|
|
8992
|
+
image?: string | null | undefined;
|
|
8993
|
+
};
|
|
8994
|
+
};
|
|
8995
|
+
}>>[];
|
|
8996
|
+
query: import("zod").ZodObject<{
|
|
8997
|
+
client_id: import("zod").ZodString;
|
|
8998
|
+
}, import("zod/v4/core").$strip>;
|
|
8999
|
+
metadata: {
|
|
9000
|
+
openapi: {
|
|
9001
|
+
description: string;
|
|
9002
|
+
};
|
|
9003
|
+
};
|
|
9004
|
+
}, import("@better-auth/oauth-provider").OAuthClient>;
|
|
9005
|
+
getOAuthClientPublic: import("better-auth").StrictEndpoint<"/oauth2/public-client", {
|
|
9006
|
+
method: "GET";
|
|
9007
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
9008
|
+
session: {
|
|
9009
|
+
session: Record<string, any> & {
|
|
9010
|
+
id: string;
|
|
9011
|
+
createdAt: Date;
|
|
9012
|
+
updatedAt: Date;
|
|
9013
|
+
userId: string;
|
|
9014
|
+
expiresAt: Date;
|
|
9015
|
+
token: string;
|
|
9016
|
+
ipAddress?: string | null | undefined;
|
|
9017
|
+
userAgent?: string | null | undefined;
|
|
9018
|
+
};
|
|
9019
|
+
user: Record<string, any> & {
|
|
9020
|
+
id: string;
|
|
9021
|
+
createdAt: Date;
|
|
9022
|
+
updatedAt: Date;
|
|
9023
|
+
email: string;
|
|
9024
|
+
emailVerified: boolean;
|
|
9025
|
+
name: string;
|
|
9026
|
+
image?: string | null | undefined;
|
|
9027
|
+
};
|
|
9028
|
+
};
|
|
9029
|
+
}>>[];
|
|
9030
|
+
query: import("zod").ZodObject<{
|
|
9031
|
+
client_id: import("zod").ZodString;
|
|
9032
|
+
}, import("zod/v4/core").$strip>;
|
|
9033
|
+
metadata: {
|
|
9034
|
+
openapi: {
|
|
9035
|
+
description: string;
|
|
9036
|
+
};
|
|
9037
|
+
};
|
|
9038
|
+
}, import("@better-auth/oauth-provider").OAuthClient>;
|
|
9039
|
+
getOAuthClientPublicPrelogin: import("better-auth").StrictEndpoint<"/oauth2/public-client-prelogin", {
|
|
9040
|
+
method: "POST";
|
|
9041
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<void>>[];
|
|
9042
|
+
body: import("zod").ZodObject<{
|
|
9043
|
+
client_id: import("zod").ZodString;
|
|
9044
|
+
oauth_query: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9045
|
+
}, import("zod/v4/core").$strip>;
|
|
9046
|
+
metadata: {
|
|
9047
|
+
openapi: {
|
|
9048
|
+
description: string;
|
|
9049
|
+
};
|
|
9050
|
+
};
|
|
9051
|
+
}, import("@better-auth/oauth-provider").OAuthClient>;
|
|
9052
|
+
getOAuthClients: import("better-auth").StrictEndpoint<"/oauth2/get-clients", {
|
|
9053
|
+
method: "GET";
|
|
9054
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
9055
|
+
session: {
|
|
9056
|
+
session: Record<string, any> & {
|
|
9057
|
+
id: string;
|
|
9058
|
+
createdAt: Date;
|
|
9059
|
+
updatedAt: Date;
|
|
9060
|
+
userId: string;
|
|
9061
|
+
expiresAt: Date;
|
|
9062
|
+
token: string;
|
|
9063
|
+
ipAddress?: string | null | undefined;
|
|
9064
|
+
userAgent?: string | null | undefined;
|
|
9065
|
+
};
|
|
9066
|
+
user: Record<string, any> & {
|
|
9067
|
+
id: string;
|
|
9068
|
+
createdAt: Date;
|
|
9069
|
+
updatedAt: Date;
|
|
9070
|
+
email: string;
|
|
9071
|
+
emailVerified: boolean;
|
|
9072
|
+
name: string;
|
|
9073
|
+
image?: string | null | undefined;
|
|
9074
|
+
};
|
|
9075
|
+
};
|
|
9076
|
+
}>>[];
|
|
9077
|
+
metadata: {
|
|
9078
|
+
openapi: {
|
|
9079
|
+
description: string;
|
|
9080
|
+
};
|
|
9081
|
+
};
|
|
9082
|
+
}, import("@better-auth/oauth-provider").OAuthClient[] | null>;
|
|
9083
|
+
adminUpdateOAuthClient: import("better-auth").StrictEndpoint<"/admin/oauth2/update-client", {
|
|
9084
|
+
method: "PATCH";
|
|
9085
|
+
body: import("zod").ZodObject<{
|
|
9086
|
+
client_id: import("zod").ZodString;
|
|
9087
|
+
update: import("zod").ZodObject<{
|
|
9088
|
+
redirect_uris: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodURL>>;
|
|
9089
|
+
scope: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9090
|
+
client_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9091
|
+
client_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9092
|
+
logo_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9093
|
+
contacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
9094
|
+
tos_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9095
|
+
policy_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9096
|
+
software_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9097
|
+
software_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9098
|
+
software_statement: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9099
|
+
post_logout_redirect_uris: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodURL>>;
|
|
9100
|
+
backchannel_logout_uri: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
9101
|
+
backchannel_logout_session_required: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9102
|
+
application_type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
9103
|
+
web: "web";
|
|
9104
|
+
native: "native";
|
|
9105
|
+
}>>;
|
|
9106
|
+
grant_types: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
9107
|
+
client_credentials_scopes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
9108
|
+
response_types: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
9109
|
+
code: "code";
|
|
9110
|
+
}>>>;
|
|
9111
|
+
client_secret_expires_at: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
9112
|
+
skip_consent: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9113
|
+
enable_end_session: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9114
|
+
disabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9115
|
+
dpop_bound_access_tokens: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9116
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
9117
|
+
}, import("zod/v4/core").$strip>;
|
|
9118
|
+
}, import("zod/v4/core").$strip>;
|
|
9119
|
+
metadata: {
|
|
9120
|
+
SERVER_ONLY: true;
|
|
9121
|
+
openapi: {
|
|
9122
|
+
description: string;
|
|
9123
|
+
};
|
|
9124
|
+
};
|
|
9125
|
+
}, import("@better-auth/oauth-provider").OAuthClientAdministrativeResponse>;
|
|
9126
|
+
updateOAuthClient: import("better-auth").StrictEndpoint<"/oauth2/update-client", {
|
|
9127
|
+
method: "POST";
|
|
9128
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
9129
|
+
session: {
|
|
9130
|
+
session: Record<string, any> & {
|
|
9131
|
+
id: string;
|
|
9132
|
+
createdAt: Date;
|
|
9133
|
+
updatedAt: Date;
|
|
9134
|
+
userId: string;
|
|
9135
|
+
expiresAt: Date;
|
|
9136
|
+
token: string;
|
|
9137
|
+
ipAddress?: string | null | undefined;
|
|
9138
|
+
userAgent?: string | null | undefined;
|
|
9139
|
+
};
|
|
9140
|
+
user: Record<string, any> & {
|
|
9141
|
+
id: string;
|
|
9142
|
+
createdAt: Date;
|
|
9143
|
+
updatedAt: Date;
|
|
9144
|
+
email: string;
|
|
9145
|
+
emailVerified: boolean;
|
|
9146
|
+
name: string;
|
|
9147
|
+
image?: string | null | undefined;
|
|
9148
|
+
};
|
|
9149
|
+
};
|
|
9150
|
+
}>>[];
|
|
9151
|
+
body: import("zod").ZodObject<{
|
|
9152
|
+
client_id: import("zod").ZodString;
|
|
9153
|
+
update: import("zod").ZodObject<{
|
|
9154
|
+
redirect_uris: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodURL>>;
|
|
9155
|
+
scope: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9156
|
+
client_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9157
|
+
client_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9158
|
+
logo_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9159
|
+
contacts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
9160
|
+
tos_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9161
|
+
policy_uri: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9162
|
+
software_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9163
|
+
software_version: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9164
|
+
software_statement: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9165
|
+
post_logout_redirect_uris: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodURL>>;
|
|
9166
|
+
backchannel_logout_uri: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
9167
|
+
backchannel_logout_session_required: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9168
|
+
application_type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
9169
|
+
web: "web";
|
|
9170
|
+
native: "native";
|
|
9171
|
+
}>>;
|
|
9172
|
+
grant_types: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
9173
|
+
response_types: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
9174
|
+
code: "code";
|
|
9175
|
+
}>>>;
|
|
9176
|
+
}, import("zod/v4/core").$strip>;
|
|
9177
|
+
}, import("zod/v4/core").$strip>;
|
|
9178
|
+
metadata: {
|
|
9179
|
+
openapi: {
|
|
9180
|
+
description: string;
|
|
9181
|
+
};
|
|
9182
|
+
};
|
|
9183
|
+
}, import("@better-auth/oauth-provider").OAuthClientRegistrationResponse>;
|
|
9184
|
+
rotateClientSecret: import("better-auth").StrictEndpoint<"/oauth2/client/rotate-secret", {
|
|
9185
|
+
method: "POST";
|
|
9186
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
9187
|
+
session: {
|
|
9188
|
+
session: Record<string, any> & {
|
|
9189
|
+
id: string;
|
|
9190
|
+
createdAt: Date;
|
|
9191
|
+
updatedAt: Date;
|
|
9192
|
+
userId: string;
|
|
9193
|
+
expiresAt: Date;
|
|
9194
|
+
token: string;
|
|
9195
|
+
ipAddress?: string | null | undefined;
|
|
9196
|
+
userAgent?: string | null | undefined;
|
|
9197
|
+
};
|
|
9198
|
+
user: Record<string, any> & {
|
|
9199
|
+
id: string;
|
|
9200
|
+
createdAt: Date;
|
|
9201
|
+
updatedAt: Date;
|
|
9202
|
+
email: string;
|
|
9203
|
+
emailVerified: boolean;
|
|
9204
|
+
name: string;
|
|
9205
|
+
image?: string | null | undefined;
|
|
9206
|
+
};
|
|
9207
|
+
};
|
|
9208
|
+
}>>[];
|
|
9209
|
+
body: import("zod").ZodObject<{
|
|
9210
|
+
client_id: import("zod").ZodString;
|
|
9211
|
+
}, import("zod/v4/core").$strip>;
|
|
9212
|
+
metadata: {
|
|
9213
|
+
noStore: boolean;
|
|
9214
|
+
openapi: {
|
|
9215
|
+
description: string;
|
|
9216
|
+
};
|
|
9217
|
+
};
|
|
9218
|
+
}, import("@better-auth/oauth-provider").OAuthClient>;
|
|
9219
|
+
rotateClientKeys: import("better-auth").StrictEndpoint<"/oauth2/client/rotate-keys", {
|
|
9220
|
+
method: "POST";
|
|
9221
|
+
body: import("zod").ZodObject<{
|
|
9222
|
+
client_assertion: import("zod").ZodString;
|
|
9223
|
+
client_assertion_type: import("zod").ZodString;
|
|
9224
|
+
jwks: import("zod").ZodObject<{
|
|
9225
|
+
keys: import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
9226
|
+
}, import("zod/v4/core").$strip>;
|
|
9227
|
+
}, import("zod/v4/core").$strip>;
|
|
9228
|
+
errorCodesByField: {
|
|
9229
|
+
client_assertion: "invalid_client";
|
|
9230
|
+
client_assertion_type: "invalid_client";
|
|
9231
|
+
jwks: "invalid_client_metadata";
|
|
9232
|
+
};
|
|
9233
|
+
metadata: {
|
|
9234
|
+
noStore: boolean;
|
|
9235
|
+
openapi: {
|
|
9236
|
+
description: string;
|
|
9237
|
+
};
|
|
9238
|
+
};
|
|
9239
|
+
}, {
|
|
9240
|
+
client_id: string;
|
|
9241
|
+
jwks: {
|
|
9242
|
+
keys: Record<string, unknown>[];
|
|
9243
|
+
};
|
|
9244
|
+
}>;
|
|
9245
|
+
deleteOAuthClient: import("better-auth").StrictEndpoint<"/oauth2/delete-client", {
|
|
9246
|
+
method: "POST";
|
|
9247
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
9248
|
+
session: {
|
|
9249
|
+
session: Record<string, any> & {
|
|
9250
|
+
id: string;
|
|
9251
|
+
createdAt: Date;
|
|
9252
|
+
updatedAt: Date;
|
|
9253
|
+
userId: string;
|
|
9254
|
+
expiresAt: Date;
|
|
9255
|
+
token: string;
|
|
9256
|
+
ipAddress?: string | null | undefined;
|
|
9257
|
+
userAgent?: string | null | undefined;
|
|
9258
|
+
};
|
|
9259
|
+
user: Record<string, any> & {
|
|
9260
|
+
id: string;
|
|
9261
|
+
createdAt: Date;
|
|
9262
|
+
updatedAt: Date;
|
|
9263
|
+
email: string;
|
|
9264
|
+
emailVerified: boolean;
|
|
9265
|
+
name: string;
|
|
9266
|
+
image?: string | null | undefined;
|
|
9267
|
+
};
|
|
9268
|
+
};
|
|
9269
|
+
}>>[];
|
|
9270
|
+
body: import("zod").ZodObject<{
|
|
9271
|
+
client_id: import("zod").ZodString;
|
|
9272
|
+
}, import("zod/v4/core").$strip>;
|
|
9273
|
+
metadata: {
|
|
9274
|
+
openapi: {
|
|
9275
|
+
description: string;
|
|
9276
|
+
};
|
|
9277
|
+
};
|
|
9278
|
+
}, void>;
|
|
9279
|
+
getOAuthConsent: import("better-auth").StrictEndpoint<"/oauth2/get-consent", {
|
|
9280
|
+
method: "GET";
|
|
9281
|
+
query: import("zod").ZodObject<{
|
|
9282
|
+
id: import("zod").ZodString;
|
|
9283
|
+
}, import("zod/v4/core").$strip>;
|
|
9284
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
9285
|
+
session: {
|
|
9286
|
+
session: Record<string, any> & {
|
|
9287
|
+
id: string;
|
|
9288
|
+
createdAt: Date;
|
|
9289
|
+
updatedAt: Date;
|
|
9290
|
+
userId: string;
|
|
9291
|
+
expiresAt: Date;
|
|
9292
|
+
token: string;
|
|
9293
|
+
ipAddress?: string | null | undefined;
|
|
9294
|
+
userAgent?: string | null | undefined;
|
|
9295
|
+
};
|
|
9296
|
+
user: Record<string, any> & {
|
|
9297
|
+
id: string;
|
|
9298
|
+
createdAt: Date;
|
|
9299
|
+
updatedAt: Date;
|
|
9300
|
+
email: string;
|
|
9301
|
+
emailVerified: boolean;
|
|
9302
|
+
name: string;
|
|
9303
|
+
image?: string | null | undefined;
|
|
9304
|
+
};
|
|
9305
|
+
};
|
|
9306
|
+
}>>[];
|
|
9307
|
+
metadata: {
|
|
9308
|
+
openapi: {
|
|
9309
|
+
description: string;
|
|
9310
|
+
};
|
|
9311
|
+
};
|
|
9312
|
+
}, import("@better-auth/oauth-provider").OAuthConsent<import("@better-auth/oauth-provider").Scope[]>>;
|
|
9313
|
+
getOAuthConsents: import("better-auth").StrictEndpoint<"/oauth2/get-consents", {
|
|
9314
|
+
method: "GET";
|
|
9315
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
9316
|
+
session: {
|
|
9317
|
+
session: Record<string, any> & {
|
|
9318
|
+
id: string;
|
|
9319
|
+
createdAt: Date;
|
|
9320
|
+
updatedAt: Date;
|
|
9321
|
+
userId: string;
|
|
9322
|
+
expiresAt: Date;
|
|
9323
|
+
token: string;
|
|
9324
|
+
ipAddress?: string | null | undefined;
|
|
9325
|
+
userAgent?: string | null | undefined;
|
|
9326
|
+
};
|
|
9327
|
+
user: Record<string, any> & {
|
|
9328
|
+
id: string;
|
|
9329
|
+
createdAt: Date;
|
|
9330
|
+
updatedAt: Date;
|
|
9331
|
+
email: string;
|
|
9332
|
+
emailVerified: boolean;
|
|
9333
|
+
name: string;
|
|
9334
|
+
image?: string | null | undefined;
|
|
9335
|
+
};
|
|
9336
|
+
};
|
|
9337
|
+
}>>[];
|
|
9338
|
+
metadata: {
|
|
9339
|
+
openapi: {
|
|
9340
|
+
description: string;
|
|
9341
|
+
};
|
|
9342
|
+
};
|
|
9343
|
+
}, import("@better-auth/oauth-provider").OAuthConsent<import("@better-auth/oauth-provider").Scope[]>[]>;
|
|
9344
|
+
updateOAuthConsent: import("better-auth").StrictEndpoint<"/oauth2/update-consent", {
|
|
9345
|
+
method: "POST";
|
|
9346
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
9347
|
+
session: {
|
|
9348
|
+
session: Record<string, any> & {
|
|
9349
|
+
id: string;
|
|
9350
|
+
createdAt: Date;
|
|
9351
|
+
updatedAt: Date;
|
|
9352
|
+
userId: string;
|
|
9353
|
+
expiresAt: Date;
|
|
9354
|
+
token: string;
|
|
9355
|
+
ipAddress?: string | null | undefined;
|
|
9356
|
+
userAgent?: string | null | undefined;
|
|
9357
|
+
};
|
|
9358
|
+
user: Record<string, any> & {
|
|
9359
|
+
id: string;
|
|
9360
|
+
createdAt: Date;
|
|
9361
|
+
updatedAt: Date;
|
|
9362
|
+
email: string;
|
|
9363
|
+
emailVerified: boolean;
|
|
9364
|
+
name: string;
|
|
9365
|
+
image?: string | null | undefined;
|
|
9366
|
+
};
|
|
9367
|
+
};
|
|
9368
|
+
}>>[];
|
|
9369
|
+
body: import("zod").ZodObject<{
|
|
9370
|
+
id: import("zod").ZodString;
|
|
9371
|
+
update: import("zod").ZodObject<{
|
|
9372
|
+
scopes: import("zod").ZodArray<import("zod").ZodString>;
|
|
9373
|
+
}, import("zod/v4/core").$strip>;
|
|
9374
|
+
}, import("zod/v4/core").$strip>;
|
|
9375
|
+
metadata: {
|
|
9376
|
+
openapi: {
|
|
9377
|
+
description: string;
|
|
9378
|
+
};
|
|
9379
|
+
};
|
|
9380
|
+
}, import("@better-auth/oauth-provider").OAuthConsent<import("@better-auth/oauth-provider").Scope[]> | null>;
|
|
9381
|
+
deleteOAuthConsent: import("better-auth").StrictEndpoint<"/oauth2/delete-consent", {
|
|
9382
|
+
method: "POST";
|
|
9383
|
+
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
9384
|
+
session: {
|
|
9385
|
+
session: Record<string, any> & {
|
|
9386
|
+
id: string;
|
|
9387
|
+
createdAt: Date;
|
|
9388
|
+
updatedAt: Date;
|
|
9389
|
+
userId: string;
|
|
9390
|
+
expiresAt: Date;
|
|
9391
|
+
token: string;
|
|
9392
|
+
ipAddress?: string | null | undefined;
|
|
9393
|
+
userAgent?: string | null | undefined;
|
|
9394
|
+
};
|
|
9395
|
+
user: Record<string, any> & {
|
|
9396
|
+
id: string;
|
|
9397
|
+
createdAt: Date;
|
|
9398
|
+
updatedAt: Date;
|
|
9399
|
+
email: string;
|
|
9400
|
+
emailVerified: boolean;
|
|
9401
|
+
name: string;
|
|
9402
|
+
image?: string | null | undefined;
|
|
9403
|
+
};
|
|
9404
|
+
};
|
|
9405
|
+
}>>[];
|
|
9406
|
+
body: import("zod").ZodObject<{
|
|
9407
|
+
id: import("zod").ZodString;
|
|
9408
|
+
}, import("zod/v4/core").$strip>;
|
|
9409
|
+
metadata: {
|
|
9410
|
+
openapi: {
|
|
9411
|
+
description: string;
|
|
9412
|
+
};
|
|
9413
|
+
};
|
|
9414
|
+
}, void>;
|
|
9415
|
+
adminCreateOAuthResource: import("better-auth").StrictEndpoint<"/admin/oauth2/resources", {
|
|
9416
|
+
method: "POST";
|
|
9417
|
+
body: import("zod").ZodObject<{
|
|
9418
|
+
identifier: import("zod").ZodNonOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
9419
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9420
|
+
accessTokenTtl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
9421
|
+
refreshTokenTtl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
9422
|
+
signingAlgorithm: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
9423
|
+
RS256: "RS256";
|
|
9424
|
+
PS256: "PS256";
|
|
9425
|
+
ES256: "ES256";
|
|
9426
|
+
ES512: "ES512";
|
|
9427
|
+
EdDSA: "EdDSA";
|
|
9428
|
+
}>>>;
|
|
9429
|
+
signingKeyId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
9430
|
+
allowedScopes: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
9431
|
+
customClaims: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
9432
|
+
dpopBoundAccessTokensRequired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9433
|
+
disabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9434
|
+
metadata: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
9435
|
+
}, import("zod/v4/core").$strip>;
|
|
9436
|
+
metadata: {
|
|
9437
|
+
SERVER_ONLY: true;
|
|
9438
|
+
};
|
|
9439
|
+
}, import("@better-auth/oauth-provider").OAuthResource>;
|
|
9440
|
+
adminListOAuthResources: import("better-auth").StrictEndpoint<"/admin/oauth2/resources", {
|
|
9441
|
+
method: "GET";
|
|
9442
|
+
metadata: {
|
|
9443
|
+
SERVER_ONLY: true;
|
|
9444
|
+
};
|
|
9445
|
+
}, import("@better-auth/oauth-provider").OAuthResource[]>;
|
|
9446
|
+
adminGetOAuthResource: import("better-auth").StrictEndpoint<"/admin/oauth2/resources/:identifier", {
|
|
9447
|
+
method: "GET";
|
|
9448
|
+
metadata: {
|
|
9449
|
+
SERVER_ONLY: true;
|
|
9450
|
+
};
|
|
9451
|
+
}, import("@better-auth/oauth-provider").OAuthResource>;
|
|
9452
|
+
adminUpdateOAuthResource: import("better-auth").StrictEndpoint<"/admin/oauth2/resources/:identifier", {
|
|
9453
|
+
method: "PATCH";
|
|
9454
|
+
body: import("zod").ZodObject<{
|
|
9455
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9456
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9457
|
+
accessTokenTtl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
9458
|
+
refreshTokenTtl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
9459
|
+
signingAlgorithm: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
9460
|
+
RS256: "RS256";
|
|
9461
|
+
PS256: "PS256";
|
|
9462
|
+
ES256: "ES256";
|
|
9463
|
+
ES512: "ES512";
|
|
9464
|
+
EdDSA: "EdDSA";
|
|
9465
|
+
}>>>;
|
|
9466
|
+
signingKeyId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
9467
|
+
allowedScopes: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
9468
|
+
customClaims: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
9469
|
+
dpopBoundAccessTokensRequired: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9470
|
+
disabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
9471
|
+
metadata: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
9472
|
+
}, import("zod/v4/core").$strip>;
|
|
9473
|
+
metadata: {
|
|
9474
|
+
SERVER_ONLY: true;
|
|
9475
|
+
};
|
|
9476
|
+
}, import("@better-auth/oauth-provider").OAuthResource>;
|
|
9477
|
+
adminDeleteOAuthResource: import("better-auth").StrictEndpoint<"/admin/oauth2/resources/:identifier", {
|
|
9478
|
+
method: "DELETE";
|
|
9479
|
+
metadata: {
|
|
9480
|
+
SERVER_ONLY: true;
|
|
9481
|
+
};
|
|
9482
|
+
}, {
|
|
9483
|
+
deleted: boolean;
|
|
9484
|
+
}>;
|
|
9485
|
+
adminLinkClientResource: import("better-auth").StrictEndpoint<"/admin/oauth2/resources/:identifier/clients/:client_id", {
|
|
9486
|
+
method: "POST";
|
|
9487
|
+
metadata: {
|
|
9488
|
+
SERVER_ONLY: true;
|
|
9489
|
+
};
|
|
9490
|
+
}, {
|
|
9491
|
+
linked: boolean;
|
|
9492
|
+
}>;
|
|
9493
|
+
adminUnlinkClientResource: import("better-auth").StrictEndpoint<"/admin/oauth2/resources/:identifier/clients/:client_id", {
|
|
9494
|
+
method: "DELETE";
|
|
9495
|
+
metadata: {
|
|
9496
|
+
SERVER_ONLY: true;
|
|
9497
|
+
};
|
|
9498
|
+
}, {
|
|
9499
|
+
unlinked: boolean;
|
|
9500
|
+
}>;
|
|
9501
|
+
};
|
|
9502
|
+
schema: {
|
|
9503
|
+
oauthClient: {
|
|
9504
|
+
modelName: string;
|
|
9505
|
+
fields: {
|
|
9506
|
+
clientId: {
|
|
9507
|
+
type: "string";
|
|
9508
|
+
unique: true;
|
|
9509
|
+
required: true;
|
|
9510
|
+
};
|
|
9511
|
+
clientSecret: {
|
|
9512
|
+
type: "string";
|
|
9513
|
+
required: false;
|
|
9514
|
+
};
|
|
9515
|
+
clientDiscoveryId: {
|
|
9516
|
+
type: "string";
|
|
9517
|
+
required: false;
|
|
9518
|
+
};
|
|
9519
|
+
disabled: {
|
|
9520
|
+
type: "boolean";
|
|
9521
|
+
defaultValue: false;
|
|
9522
|
+
required: false;
|
|
9523
|
+
};
|
|
9524
|
+
skipConsent: {
|
|
9525
|
+
type: "boolean";
|
|
9526
|
+
required: false;
|
|
9527
|
+
};
|
|
9528
|
+
enableEndSession: {
|
|
9529
|
+
type: "boolean";
|
|
9530
|
+
required: false;
|
|
9531
|
+
};
|
|
9532
|
+
subjectType: {
|
|
9533
|
+
type: "string";
|
|
9534
|
+
required: false;
|
|
9535
|
+
};
|
|
9536
|
+
scopes: {
|
|
9537
|
+
type: "string[]";
|
|
9538
|
+
required: false;
|
|
9539
|
+
};
|
|
9540
|
+
clientCredentialsScopes: {
|
|
9541
|
+
type: "string[]";
|
|
9542
|
+
required: false;
|
|
9543
|
+
defaultValue: never[];
|
|
9544
|
+
};
|
|
9545
|
+
userId: {
|
|
9546
|
+
type: "string";
|
|
9547
|
+
required: false;
|
|
9548
|
+
references: {
|
|
9549
|
+
model: string;
|
|
9550
|
+
field: string;
|
|
9551
|
+
};
|
|
9552
|
+
index: true;
|
|
9553
|
+
};
|
|
9554
|
+
createdAt: {
|
|
9555
|
+
type: "date";
|
|
9556
|
+
required: false;
|
|
9557
|
+
};
|
|
9558
|
+
updatedAt: {
|
|
9559
|
+
type: "date";
|
|
9560
|
+
required: false;
|
|
9561
|
+
};
|
|
9562
|
+
name: {
|
|
9563
|
+
type: "string";
|
|
9564
|
+
required: false;
|
|
9565
|
+
};
|
|
9566
|
+
uri: {
|
|
9567
|
+
type: "string";
|
|
9568
|
+
required: false;
|
|
9569
|
+
};
|
|
9570
|
+
icon: {
|
|
9571
|
+
type: "string";
|
|
9572
|
+
required: false;
|
|
9573
|
+
};
|
|
9574
|
+
contacts: {
|
|
9575
|
+
type: "string[]";
|
|
9576
|
+
required: false;
|
|
9577
|
+
};
|
|
9578
|
+
tos: {
|
|
9579
|
+
type: "string";
|
|
9580
|
+
required: false;
|
|
9581
|
+
};
|
|
9582
|
+
policy: {
|
|
9583
|
+
type: "string";
|
|
9584
|
+
required: false;
|
|
9585
|
+
};
|
|
9586
|
+
softwareId: {
|
|
9587
|
+
type: "string";
|
|
9588
|
+
required: false;
|
|
9589
|
+
};
|
|
9590
|
+
softwareVersion: {
|
|
9591
|
+
type: "string";
|
|
9592
|
+
required: false;
|
|
9593
|
+
};
|
|
9594
|
+
softwareStatement: {
|
|
9595
|
+
type: "string";
|
|
9596
|
+
required: false;
|
|
9597
|
+
};
|
|
9598
|
+
redirectUris: {
|
|
9599
|
+
type: "string[]";
|
|
9600
|
+
required: true;
|
|
9601
|
+
};
|
|
9602
|
+
postLogoutRedirectUris: {
|
|
9603
|
+
type: "string[]";
|
|
9604
|
+
required: false;
|
|
9605
|
+
};
|
|
9606
|
+
backchannelLogoutUri: {
|
|
9607
|
+
type: "string";
|
|
9608
|
+
required: false;
|
|
9609
|
+
};
|
|
9610
|
+
backchannelLogoutSessionRequired: {
|
|
9611
|
+
type: "boolean";
|
|
9612
|
+
required: false;
|
|
9613
|
+
};
|
|
9614
|
+
tokenEndpointAuthMethod: {
|
|
9615
|
+
type: "string";
|
|
9616
|
+
required: false;
|
|
9617
|
+
};
|
|
9618
|
+
applicationType: {
|
|
9619
|
+
type: "string";
|
|
9620
|
+
required: false;
|
|
9621
|
+
};
|
|
9622
|
+
jwks: {
|
|
9623
|
+
type: "string";
|
|
9624
|
+
required: false;
|
|
9625
|
+
};
|
|
9626
|
+
jwksUri: {
|
|
9627
|
+
type: "string";
|
|
9628
|
+
required: false;
|
|
9629
|
+
};
|
|
9630
|
+
grantTypes: {
|
|
9631
|
+
type: "string[]";
|
|
9632
|
+
required: false;
|
|
9633
|
+
};
|
|
9634
|
+
responseTypes: {
|
|
9635
|
+
type: "string[]";
|
|
9636
|
+
required: false;
|
|
9637
|
+
};
|
|
9638
|
+
requirePKCE: {
|
|
9639
|
+
type: "boolean";
|
|
9640
|
+
required: false;
|
|
9641
|
+
};
|
|
9642
|
+
dpopBoundAccessTokens: {
|
|
9643
|
+
type: "boolean";
|
|
9644
|
+
required: false;
|
|
9645
|
+
defaultValue: false;
|
|
9646
|
+
};
|
|
9647
|
+
referenceId: {
|
|
9648
|
+
type: "string";
|
|
9649
|
+
required: false;
|
|
9650
|
+
};
|
|
9651
|
+
metadata: {
|
|
9652
|
+
type: "json";
|
|
9653
|
+
required: false;
|
|
9654
|
+
};
|
|
9655
|
+
};
|
|
9656
|
+
};
|
|
9657
|
+
oauthResource: {
|
|
9658
|
+
modelName: string;
|
|
9659
|
+
fields: {
|
|
9660
|
+
identifier: {
|
|
9661
|
+
type: "string";
|
|
9662
|
+
required: true;
|
|
9663
|
+
unique: true;
|
|
9664
|
+
};
|
|
9665
|
+
name: {
|
|
9666
|
+
type: "string";
|
|
9667
|
+
required: true;
|
|
9668
|
+
};
|
|
9669
|
+
accessTokenTtl: {
|
|
9670
|
+
type: "number";
|
|
9671
|
+
required: false;
|
|
9672
|
+
};
|
|
9673
|
+
refreshTokenTtl: {
|
|
9674
|
+
type: "number";
|
|
9675
|
+
required: false;
|
|
9676
|
+
};
|
|
9677
|
+
signingAlgorithm: {
|
|
9678
|
+
type: "string";
|
|
9679
|
+
required: false;
|
|
9680
|
+
};
|
|
9681
|
+
signingKeyId: {
|
|
9682
|
+
type: "string";
|
|
9683
|
+
required: false;
|
|
9684
|
+
};
|
|
9685
|
+
allowedScopes: {
|
|
9686
|
+
type: "string[]";
|
|
9687
|
+
required: false;
|
|
9688
|
+
};
|
|
9689
|
+
customClaims: {
|
|
9690
|
+
type: "json";
|
|
9691
|
+
required: false;
|
|
9692
|
+
};
|
|
9693
|
+
dpopBoundAccessTokensRequired: {
|
|
9694
|
+
type: "boolean";
|
|
9695
|
+
required: false;
|
|
9696
|
+
defaultValue: false;
|
|
9697
|
+
};
|
|
9698
|
+
disabled: {
|
|
9699
|
+
type: "boolean";
|
|
9700
|
+
required: false;
|
|
9701
|
+
defaultValue: false;
|
|
9702
|
+
};
|
|
9703
|
+
createdAt: {
|
|
9704
|
+
type: "date";
|
|
9705
|
+
required: false;
|
|
9706
|
+
};
|
|
9707
|
+
updatedAt: {
|
|
9708
|
+
type: "date";
|
|
9709
|
+
required: false;
|
|
9710
|
+
};
|
|
9711
|
+
policyVersion: {
|
|
9712
|
+
type: "number";
|
|
9713
|
+
required: false;
|
|
9714
|
+
defaultValue: number;
|
|
9715
|
+
};
|
|
9716
|
+
metadata: {
|
|
9717
|
+
type: "json";
|
|
9718
|
+
required: false;
|
|
9719
|
+
};
|
|
9720
|
+
};
|
|
9721
|
+
};
|
|
9722
|
+
oauthClientResource: {
|
|
9723
|
+
modelName: string;
|
|
9724
|
+
fields: {
|
|
9725
|
+
clientId: {
|
|
9726
|
+
type: "string";
|
|
9727
|
+
required: true;
|
|
9728
|
+
references: {
|
|
9729
|
+
model: string;
|
|
9730
|
+
field: string;
|
|
9731
|
+
onDelete: "cascade";
|
|
9732
|
+
};
|
|
9733
|
+
index: true;
|
|
9734
|
+
};
|
|
9735
|
+
resourceId: {
|
|
9736
|
+
type: "string";
|
|
9737
|
+
required: true;
|
|
9738
|
+
references: {
|
|
9739
|
+
model: string;
|
|
9740
|
+
field: string;
|
|
9741
|
+
onDelete: "cascade";
|
|
9742
|
+
};
|
|
9743
|
+
index: true;
|
|
9744
|
+
};
|
|
9745
|
+
metadata: {
|
|
9746
|
+
type: "json";
|
|
9747
|
+
required: false;
|
|
9748
|
+
};
|
|
9749
|
+
createdAt: {
|
|
9750
|
+
type: "date";
|
|
9751
|
+
required: false;
|
|
9752
|
+
};
|
|
9753
|
+
};
|
|
9754
|
+
indexes: {
|
|
9755
|
+
fields: [string, string];
|
|
9756
|
+
unique: true;
|
|
9757
|
+
}[];
|
|
9758
|
+
};
|
|
9759
|
+
oauthRefreshToken: {
|
|
9760
|
+
fields: {
|
|
9761
|
+
token: {
|
|
9762
|
+
type: "string";
|
|
9763
|
+
required: true;
|
|
9764
|
+
unique: true;
|
|
9765
|
+
};
|
|
9766
|
+
clientId: {
|
|
9767
|
+
type: "string";
|
|
9768
|
+
required: true;
|
|
9769
|
+
references: {
|
|
9770
|
+
model: string;
|
|
9771
|
+
field: string;
|
|
9772
|
+
};
|
|
9773
|
+
index: true;
|
|
9774
|
+
};
|
|
9775
|
+
sessionId: {
|
|
9776
|
+
type: "string";
|
|
9777
|
+
required: false;
|
|
9778
|
+
references: {
|
|
9779
|
+
model: string;
|
|
9780
|
+
field: string;
|
|
9781
|
+
onDelete: "set null";
|
|
9782
|
+
};
|
|
9783
|
+
index: true;
|
|
9784
|
+
};
|
|
9785
|
+
userId: {
|
|
9786
|
+
type: "string";
|
|
9787
|
+
required: true;
|
|
9788
|
+
references: {
|
|
9789
|
+
model: string;
|
|
9790
|
+
field: string;
|
|
9791
|
+
};
|
|
9792
|
+
index: true;
|
|
9793
|
+
};
|
|
9794
|
+
referenceId: {
|
|
9795
|
+
type: "string";
|
|
9796
|
+
required: false;
|
|
9797
|
+
};
|
|
9798
|
+
authorizationCodeId: {
|
|
9799
|
+
type: "string";
|
|
9800
|
+
required: false;
|
|
9801
|
+
index: true;
|
|
9802
|
+
};
|
|
9803
|
+
resources: {
|
|
9804
|
+
type: "string[]";
|
|
9805
|
+
required: false;
|
|
9806
|
+
};
|
|
9807
|
+
requestedUserInfoClaims: {
|
|
9808
|
+
type: "string[]";
|
|
9809
|
+
required: false;
|
|
9810
|
+
};
|
|
9811
|
+
expiresAt: {
|
|
9812
|
+
type: "date";
|
|
9813
|
+
};
|
|
9814
|
+
createdAt: {
|
|
9815
|
+
type: "date";
|
|
9816
|
+
};
|
|
9817
|
+
revoked: {
|
|
9818
|
+
type: "date";
|
|
9819
|
+
required: false;
|
|
9820
|
+
};
|
|
9821
|
+
rotatedAt: {
|
|
9822
|
+
type: "date";
|
|
9823
|
+
required: false;
|
|
9824
|
+
};
|
|
9825
|
+
rotationReplayResponse: {
|
|
9826
|
+
type: "string";
|
|
9827
|
+
required: false;
|
|
9828
|
+
};
|
|
9829
|
+
rotationReplayExpiresAt: {
|
|
9830
|
+
type: "date";
|
|
9831
|
+
required: false;
|
|
9832
|
+
};
|
|
9833
|
+
authTime: {
|
|
9834
|
+
type: "date";
|
|
9835
|
+
required: false;
|
|
9836
|
+
};
|
|
9837
|
+
confirmation: {
|
|
9838
|
+
type: "json";
|
|
9839
|
+
required: false;
|
|
9840
|
+
};
|
|
9841
|
+
scopes: {
|
|
9842
|
+
type: "string[]";
|
|
9843
|
+
required: true;
|
|
7038
9844
|
};
|
|
7039
9845
|
};
|
|
7040
9846
|
};
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
userId: string;
|
|
7055
|
-
expiresAt: Date;
|
|
7056
|
-
token: string;
|
|
7057
|
-
ipAddress?: string | null | undefined;
|
|
7058
|
-
userAgent?: string | null | undefined;
|
|
9847
|
+
oauthAccessToken: {
|
|
9848
|
+
modelName: string;
|
|
9849
|
+
fields: {
|
|
9850
|
+
token: {
|
|
9851
|
+
type: "string";
|
|
9852
|
+
unique: true;
|
|
9853
|
+
};
|
|
9854
|
+
clientId: {
|
|
9855
|
+
type: "string";
|
|
9856
|
+
required: true;
|
|
9857
|
+
references: {
|
|
9858
|
+
model: string;
|
|
9859
|
+
field: string;
|
|
7059
9860
|
};
|
|
7060
|
-
|
|
7061
|
-
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
9861
|
+
index: true;
|
|
9862
|
+
};
|
|
9863
|
+
sessionId: {
|
|
9864
|
+
type: "string";
|
|
9865
|
+
required: false;
|
|
9866
|
+
references: {
|
|
9867
|
+
model: string;
|
|
9868
|
+
field: string;
|
|
9869
|
+
onDelete: "set null";
|
|
7068
9870
|
};
|
|
9871
|
+
index: true;
|
|
7069
9872
|
};
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
body: import("zod").ZodObject<{
|
|
7077
|
-
callback: import("zod").ZodString;
|
|
7078
|
-
}, import("zod/v4/core").$strip>;
|
|
7079
|
-
use: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
7080
|
-
session: {
|
|
7081
|
-
session: Record<string, any> & {
|
|
7082
|
-
id: string;
|
|
7083
|
-
createdAt: Date;
|
|
7084
|
-
updatedAt: Date;
|
|
7085
|
-
userId: string;
|
|
7086
|
-
expiresAt: Date;
|
|
7087
|
-
token: string;
|
|
7088
|
-
ipAddress?: string | null | undefined;
|
|
7089
|
-
userAgent?: string | null | undefined;
|
|
9873
|
+
userId: {
|
|
9874
|
+
type: "string";
|
|
9875
|
+
required: false;
|
|
9876
|
+
references: {
|
|
9877
|
+
model: string;
|
|
9878
|
+
field: string;
|
|
7090
9879
|
};
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
9880
|
+
index: true;
|
|
9881
|
+
};
|
|
9882
|
+
referenceId: {
|
|
9883
|
+
type: "string";
|
|
9884
|
+
required: false;
|
|
9885
|
+
};
|
|
9886
|
+
authorizationCodeId: {
|
|
9887
|
+
type: "string";
|
|
9888
|
+
required: false;
|
|
9889
|
+
index: true;
|
|
9890
|
+
};
|
|
9891
|
+
resources: {
|
|
9892
|
+
type: "string[]";
|
|
9893
|
+
required: false;
|
|
9894
|
+
};
|
|
9895
|
+
requestedUserInfoClaims: {
|
|
9896
|
+
type: "string[]";
|
|
9897
|
+
required: false;
|
|
9898
|
+
};
|
|
9899
|
+
refreshId: {
|
|
9900
|
+
type: "string";
|
|
9901
|
+
required: false;
|
|
9902
|
+
references: {
|
|
9903
|
+
model: string;
|
|
9904
|
+
field: string;
|
|
7099
9905
|
};
|
|
9906
|
+
index: true;
|
|
9907
|
+
};
|
|
9908
|
+
expiresAt: {
|
|
9909
|
+
type: "date";
|
|
9910
|
+
};
|
|
9911
|
+
createdAt: {
|
|
9912
|
+
type: "date";
|
|
9913
|
+
};
|
|
9914
|
+
revoked: {
|
|
9915
|
+
type: "date";
|
|
9916
|
+
required: false;
|
|
9917
|
+
};
|
|
9918
|
+
confirmation: {
|
|
9919
|
+
type: "json";
|
|
9920
|
+
required: false;
|
|
9921
|
+
};
|
|
9922
|
+
scopes: {
|
|
9923
|
+
type: "string[]";
|
|
9924
|
+
required: true;
|
|
7100
9925
|
};
|
|
7101
|
-
}>>[];
|
|
7102
|
-
}, {
|
|
7103
|
-
url: string;
|
|
7104
|
-
}>;
|
|
7105
|
-
verifyOneTimeToken: import("better-auth").StrictEndpoint<"/one-time-token/verify", {
|
|
7106
|
-
method: "POST";
|
|
7107
|
-
body: import("zod").ZodObject<{
|
|
7108
|
-
token: import("zod").ZodString;
|
|
7109
|
-
}, import("zod/v4/core").$strip>;
|
|
7110
|
-
}, {
|
|
7111
|
-
session: {
|
|
7112
|
-
id: string;
|
|
7113
|
-
createdAt: Date;
|
|
7114
|
-
updatedAt: Date;
|
|
7115
|
-
userId: string;
|
|
7116
|
-
expiresAt: Date;
|
|
7117
|
-
token: string;
|
|
7118
|
-
ipAddress?: string | null | undefined;
|
|
7119
|
-
userAgent?: string | null | undefined;
|
|
7120
9926
|
};
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
9927
|
+
};
|
|
9928
|
+
oauthConsent: {
|
|
9929
|
+
modelName: string;
|
|
9930
|
+
fields: {
|
|
9931
|
+
clientId: {
|
|
9932
|
+
type: "string";
|
|
9933
|
+
required: true;
|
|
9934
|
+
references: {
|
|
9935
|
+
model: string;
|
|
9936
|
+
field: string;
|
|
9937
|
+
};
|
|
9938
|
+
index: true;
|
|
9939
|
+
};
|
|
9940
|
+
userId: {
|
|
9941
|
+
type: "string";
|
|
9942
|
+
required: false;
|
|
9943
|
+
references: {
|
|
9944
|
+
model: string;
|
|
9945
|
+
field: string;
|
|
9946
|
+
};
|
|
9947
|
+
index: true;
|
|
9948
|
+
};
|
|
9949
|
+
referenceId: {
|
|
9950
|
+
type: "string";
|
|
9951
|
+
required: false;
|
|
9952
|
+
};
|
|
9953
|
+
resources: {
|
|
9954
|
+
type: "string[]";
|
|
9955
|
+
required: false;
|
|
9956
|
+
};
|
|
9957
|
+
requestedUserInfoClaims: {
|
|
9958
|
+
type: "string[]";
|
|
9959
|
+
required: false;
|
|
9960
|
+
};
|
|
9961
|
+
scopes: {
|
|
9962
|
+
type: "string[]";
|
|
9963
|
+
required: true;
|
|
9964
|
+
};
|
|
9965
|
+
createdAt: {
|
|
9966
|
+
type: "date";
|
|
9967
|
+
};
|
|
9968
|
+
updatedAt: {
|
|
9969
|
+
type: "date";
|
|
9970
|
+
};
|
|
9971
|
+
};
|
|
9972
|
+
};
|
|
9973
|
+
oauthClientAssertion: {
|
|
9974
|
+
modelName: string;
|
|
9975
|
+
fields: {
|
|
9976
|
+
expiresAt: {
|
|
9977
|
+
type: "date";
|
|
9978
|
+
required: true;
|
|
9979
|
+
};
|
|
9980
|
+
};
|
|
9981
|
+
};
|
|
7131
9982
|
};
|
|
7132
|
-
|
|
7133
|
-
|
|
9983
|
+
rateLimit: ({
|
|
9984
|
+
pathMatcher: (path: string) => path is "/oauth2/token";
|
|
9985
|
+
window: number;
|
|
9986
|
+
max: number;
|
|
9987
|
+
} | {
|
|
9988
|
+
pathMatcher: (path: string) => path is "/oauth2/authorize";
|
|
9989
|
+
window: number;
|
|
9990
|
+
max: number;
|
|
9991
|
+
} | {
|
|
9992
|
+
pathMatcher: (path: string) => path is "/oauth2/introspect";
|
|
9993
|
+
window: number;
|
|
9994
|
+
max: number;
|
|
9995
|
+
} | {
|
|
9996
|
+
pathMatcher: (path: string) => path is "/oauth2/revoke";
|
|
9997
|
+
window: number;
|
|
9998
|
+
max: number;
|
|
9999
|
+
} | {
|
|
10000
|
+
pathMatcher: (path: string) => path is "/oauth2/register";
|
|
10001
|
+
window: number;
|
|
10002
|
+
max: number;
|
|
10003
|
+
} | {
|
|
10004
|
+
pathMatcher: (path: string) => path is "/oauth2/client/rotate-keys";
|
|
10005
|
+
window: number;
|
|
10006
|
+
max: number;
|
|
10007
|
+
} | {
|
|
10008
|
+
pathMatcher: (path: string) => path is "/oauth2/userinfo";
|
|
10009
|
+
window: number;
|
|
10010
|
+
max: number;
|
|
10011
|
+
})[];
|
|
10012
|
+
} | {
|
|
10013
|
+
id: "cimd";
|
|
7134
10014
|
version: string;
|
|
10015
|
+
init(ctx: import("better-auth").AuthContext): void;
|
|
10016
|
+
} | {
|
|
10017
|
+
id: "connected-agent-scopes";
|
|
7135
10018
|
hooks: {
|
|
7136
10019
|
before: {
|
|
7137
|
-
matcher(
|
|
10020
|
+
matcher: (ctx: import("better-auth").HookEndpointContext) => boolean;
|
|
7138
10021
|
handler: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
|
|
7139
10022
|
context: {
|
|
7140
|
-
|
|
10023
|
+
query: {
|
|
10024
|
+
scope: string;
|
|
10025
|
+
};
|
|
7141
10026
|
};
|
|
7142
10027
|
} | undefined>>;
|
|
7143
10028
|
}[];
|
|
7144
|
-
after: {
|
|
7145
|
-
matcher(context: import("better-auth").HookEndpointContext): true;
|
|
7146
|
-
handler: import("better-auth").Middleware<import("better-auth").MiddlewareOptions, (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<void>>;
|
|
7147
|
-
}[];
|
|
7148
10029
|
};
|
|
7149
|
-
|
|
7150
|
-
}];
|
|
10030
|
+
})[]];
|
|
7151
10031
|
databaseHooks: {
|
|
7152
10032
|
user: {
|
|
7153
10033
|
create: {
|
|
@@ -7578,10 +10458,10 @@ declare const router: {
|
|
|
7578
10458
|
activeOrganizationId?: string | null | undefined;
|
|
7579
10459
|
studio?: boolean | null | undefined;
|
|
7580
10460
|
};
|
|
10461
|
+
client: string;
|
|
7581
10462
|
db: Database;
|
|
7582
10463
|
headers: Headers;
|
|
7583
10464
|
env: Bindings;
|
|
7584
|
-
client: string;
|
|
7585
10465
|
telemetryDisabled: boolean;
|
|
7586
10466
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7587
10467
|
apiOrigin?: string | undefined;
|
|
@@ -7673,10 +10553,10 @@ declare const router: {
|
|
|
7673
10553
|
activeOrganizationId?: string | null | undefined;
|
|
7674
10554
|
studio?: boolean | null | undefined;
|
|
7675
10555
|
};
|
|
10556
|
+
client: string;
|
|
7676
10557
|
db: Database;
|
|
7677
10558
|
headers: Headers;
|
|
7678
10559
|
env: Bindings;
|
|
7679
|
-
client: string;
|
|
7680
10560
|
telemetryDisabled: boolean;
|
|
7681
10561
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7682
10562
|
apiOrigin?: string | undefined;
|
|
@@ -7766,10 +10646,10 @@ declare const router: {
|
|
|
7766
10646
|
activeOrganizationId?: string | null | undefined;
|
|
7767
10647
|
studio?: boolean | null | undefined;
|
|
7768
10648
|
};
|
|
10649
|
+
client: string;
|
|
7769
10650
|
db: Database;
|
|
7770
10651
|
headers: Headers;
|
|
7771
10652
|
env: Bindings;
|
|
7772
|
-
client: string;
|
|
7773
10653
|
telemetryDisabled: boolean;
|
|
7774
10654
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7775
10655
|
apiOrigin?: string | undefined;
|
|
@@ -7781,10 +10661,10 @@ declare const router: {
|
|
|
7781
10661
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7782
10662
|
organizationSlug: string | null;
|
|
7783
10663
|
analytics: AnalyticsProviders;
|
|
7784
|
-
uuid: string;
|
|
7785
10664
|
name: string;
|
|
7786
10665
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7787
10666
|
id: number;
|
|
10667
|
+
uuid: string;
|
|
7788
10668
|
slug: string;
|
|
7789
10669
|
customDomain: string | null;
|
|
7790
10670
|
deployToken: string;
|
|
@@ -7806,10 +10686,10 @@ declare const router: {
|
|
|
7806
10686
|
}, {
|
|
7807
10687
|
organizationSlug: string | null;
|
|
7808
10688
|
analytics: AnalyticsProviders;
|
|
7809
|
-
uuid: string;
|
|
7810
10689
|
name: string;
|
|
7811
10690
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7812
10691
|
id: number;
|
|
10692
|
+
uuid: string;
|
|
7813
10693
|
slug: string;
|
|
7814
10694
|
customDomain: string | null;
|
|
7815
10695
|
deployToken: string;
|
|
@@ -7863,10 +10743,10 @@ declare const router: {
|
|
|
7863
10743
|
activeOrganizationId?: string | null | undefined;
|
|
7864
10744
|
studio?: boolean | null | undefined;
|
|
7865
10745
|
};
|
|
10746
|
+
client: string;
|
|
7866
10747
|
db: Database;
|
|
7867
10748
|
headers: Headers;
|
|
7868
10749
|
env: Bindings;
|
|
7869
|
-
client: string;
|
|
7870
10750
|
telemetryDisabled: boolean;
|
|
7871
10751
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7872
10752
|
apiOrigin?: string | undefined;
|
|
@@ -7878,10 +10758,10 @@ declare const router: {
|
|
|
7878
10758
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7879
10759
|
organizationSlug: string | null;
|
|
7880
10760
|
analytics: AnalyticsProviders;
|
|
7881
|
-
uuid: string;
|
|
7882
10761
|
name: string;
|
|
7883
10762
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7884
10763
|
id: number;
|
|
10764
|
+
uuid: string;
|
|
7885
10765
|
slug: string;
|
|
7886
10766
|
customDomain: string | null;
|
|
7887
10767
|
deployToken: string;
|
|
@@ -7903,10 +10783,10 @@ declare const router: {
|
|
|
7903
10783
|
}, {
|
|
7904
10784
|
organizationSlug: string | null;
|
|
7905
10785
|
analytics: AnalyticsProviders;
|
|
7906
|
-
uuid: string;
|
|
7907
10786
|
name: string;
|
|
7908
10787
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7909
10788
|
id: number;
|
|
10789
|
+
uuid: string;
|
|
7910
10790
|
slug: string;
|
|
7911
10791
|
customDomain: string | null;
|
|
7912
10792
|
deployToken: string;
|
|
@@ -7977,10 +10857,10 @@ declare const router: {
|
|
|
7977
10857
|
activeOrganizationId?: string | null | undefined;
|
|
7978
10858
|
studio?: boolean | null | undefined;
|
|
7979
10859
|
};
|
|
10860
|
+
client: string;
|
|
7980
10861
|
db: Database;
|
|
7981
10862
|
headers: Headers;
|
|
7982
10863
|
env: Bindings;
|
|
7983
|
-
client: string;
|
|
7984
10864
|
telemetryDisabled: boolean;
|
|
7985
10865
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
7986
10866
|
apiOrigin?: string | undefined;
|
|
@@ -7992,10 +10872,10 @@ declare const router: {
|
|
|
7992
10872
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
7993
10873
|
organizationSlug: string | null;
|
|
7994
10874
|
analytics: AnalyticsProviders;
|
|
7995
|
-
uuid: string;
|
|
7996
10875
|
name: string;
|
|
7997
10876
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
7998
10877
|
id: number;
|
|
10878
|
+
uuid: string;
|
|
7999
10879
|
slug: string;
|
|
8000
10880
|
customDomain: string | null;
|
|
8001
10881
|
deployToken: string;
|
|
@@ -8017,10 +10897,10 @@ declare const router: {
|
|
|
8017
10897
|
}, {
|
|
8018
10898
|
organizationSlug: string | null;
|
|
8019
10899
|
analytics: AnalyticsProviders;
|
|
8020
|
-
uuid: string;
|
|
8021
10900
|
name: string;
|
|
8022
10901
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
8023
10902
|
id: number;
|
|
10903
|
+
uuid: string;
|
|
8024
10904
|
slug: string;
|
|
8025
10905
|
customDomain: string | null;
|
|
8026
10906
|
deployToken: string;
|
|
@@ -8074,10 +10954,10 @@ declare const router: {
|
|
|
8074
10954
|
activeOrganizationId?: string | null | undefined;
|
|
8075
10955
|
studio?: boolean | null | undefined;
|
|
8076
10956
|
};
|
|
10957
|
+
client: string;
|
|
8077
10958
|
db: Database;
|
|
8078
10959
|
headers: Headers;
|
|
8079
10960
|
env: Bindings;
|
|
8080
|
-
client: string;
|
|
8081
10961
|
telemetryDisabled: boolean;
|
|
8082
10962
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8083
10963
|
apiOrigin?: string | undefined;
|
|
@@ -8133,10 +11013,10 @@ declare const router: {
|
|
|
8133
11013
|
activeOrganizationId?: string | null | undefined;
|
|
8134
11014
|
studio?: boolean | null | undefined;
|
|
8135
11015
|
};
|
|
11016
|
+
client: string;
|
|
8136
11017
|
db: Database;
|
|
8137
11018
|
headers: Headers;
|
|
8138
11019
|
env: Bindings;
|
|
8139
|
-
client: string;
|
|
8140
11020
|
telemetryDisabled: boolean;
|
|
8141
11021
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8142
11022
|
apiOrigin?: string | undefined;
|
|
@@ -8148,10 +11028,10 @@ declare const router: {
|
|
|
8148
11028
|
slug: import("zod").ZodString;
|
|
8149
11029
|
organizationId: import("zod").ZodString;
|
|
8150
11030
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
8151
|
-
uuid: string;
|
|
8152
11031
|
name: string;
|
|
8153
11032
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
8154
11033
|
id: number;
|
|
11034
|
+
uuid: string;
|
|
8155
11035
|
slug: string;
|
|
8156
11036
|
customDomain: string | null;
|
|
8157
11037
|
deployToken: string;
|
|
@@ -8171,10 +11051,10 @@ declare const router: {
|
|
|
8171
11051
|
experimentalFeatures: boolean;
|
|
8172
11052
|
updatedAt: number;
|
|
8173
11053
|
}, {
|
|
8174
|
-
uuid: string;
|
|
8175
11054
|
name: string;
|
|
8176
11055
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
8177
11056
|
id: number;
|
|
11057
|
+
uuid: string;
|
|
8178
11058
|
slug: string;
|
|
8179
11059
|
customDomain: string | null;
|
|
8180
11060
|
deployToken: string;
|
|
@@ -8228,10 +11108,10 @@ declare const router: {
|
|
|
8228
11108
|
activeOrganizationId?: string | null | undefined;
|
|
8229
11109
|
studio?: boolean | null | undefined;
|
|
8230
11110
|
};
|
|
11111
|
+
client: string;
|
|
8231
11112
|
db: Database;
|
|
8232
11113
|
headers: Headers;
|
|
8233
11114
|
env: Bindings;
|
|
8234
|
-
client: string;
|
|
8235
11115
|
telemetryDisabled: boolean;
|
|
8236
11116
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8237
11117
|
apiOrigin?: string | undefined;
|
|
@@ -8242,10 +11122,10 @@ declare const router: {
|
|
|
8242
11122
|
id: import("zod").ZodNumber;
|
|
8243
11123
|
name: import("zod").ZodString;
|
|
8244
11124
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
8245
|
-
uuid: string;
|
|
8246
11125
|
name: string;
|
|
8247
11126
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
8248
11127
|
id: number;
|
|
11128
|
+
uuid: string;
|
|
8249
11129
|
slug: string;
|
|
8250
11130
|
customDomain: string | null;
|
|
8251
11131
|
deployToken: string;
|
|
@@ -8265,10 +11145,10 @@ declare const router: {
|
|
|
8265
11145
|
experimentalFeatures: boolean;
|
|
8266
11146
|
updatedAt: number;
|
|
8267
11147
|
}, {
|
|
8268
|
-
uuid: string;
|
|
8269
11148
|
name: string;
|
|
8270
11149
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
8271
11150
|
id: number;
|
|
11151
|
+
uuid: string;
|
|
8272
11152
|
slug: string;
|
|
8273
11153
|
customDomain: string | null;
|
|
8274
11154
|
deployToken: string;
|
|
@@ -8322,10 +11202,10 @@ declare const router: {
|
|
|
8322
11202
|
activeOrganizationId?: string | null | undefined;
|
|
8323
11203
|
studio?: boolean | null | undefined;
|
|
8324
11204
|
};
|
|
11205
|
+
client: string;
|
|
8325
11206
|
db: Database;
|
|
8326
11207
|
headers: Headers;
|
|
8327
11208
|
env: Bindings;
|
|
8328
|
-
client: string;
|
|
8329
11209
|
telemetryDisabled: boolean;
|
|
8330
11210
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8331
11211
|
apiOrigin?: string | undefined;
|
|
@@ -8385,10 +11265,10 @@ declare const router: {
|
|
|
8385
11265
|
activeOrganizationId?: string | null | undefined;
|
|
8386
11266
|
studio?: boolean | null | undefined;
|
|
8387
11267
|
};
|
|
11268
|
+
client: string;
|
|
8388
11269
|
db: Database;
|
|
8389
11270
|
headers: Headers;
|
|
8390
11271
|
env: Bindings;
|
|
8391
|
-
client: string;
|
|
8392
11272
|
telemetryDisabled: boolean;
|
|
8393
11273
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8394
11274
|
apiOrigin?: string | undefined;
|
|
@@ -8439,10 +11319,10 @@ declare const router: {
|
|
|
8439
11319
|
activeOrganizationId?: string | null | undefined;
|
|
8440
11320
|
studio?: boolean | null | undefined;
|
|
8441
11321
|
};
|
|
11322
|
+
client: string;
|
|
8442
11323
|
db: Database;
|
|
8443
11324
|
headers: Headers;
|
|
8444
11325
|
env: Bindings;
|
|
8445
|
-
client: string;
|
|
8446
11326
|
telemetryDisabled: boolean;
|
|
8447
11327
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8448
11328
|
apiOrigin?: string | undefined;
|
|
@@ -8493,10 +11373,10 @@ declare const router: {
|
|
|
8493
11373
|
activeOrganizationId?: string | null | undefined;
|
|
8494
11374
|
studio?: boolean | null | undefined;
|
|
8495
11375
|
};
|
|
11376
|
+
client: string;
|
|
8496
11377
|
db: Database;
|
|
8497
11378
|
headers: Headers;
|
|
8498
11379
|
env: Bindings;
|
|
8499
|
-
client: string;
|
|
8500
11380
|
telemetryDisabled: boolean;
|
|
8501
11381
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8502
11382
|
apiOrigin?: string | undefined;
|
|
@@ -8550,10 +11430,10 @@ declare const router: {
|
|
|
8550
11430
|
activeOrganizationId?: string | null | undefined;
|
|
8551
11431
|
studio?: boolean | null | undefined;
|
|
8552
11432
|
};
|
|
11433
|
+
client: string;
|
|
8553
11434
|
db: Database;
|
|
8554
11435
|
headers: Headers;
|
|
8555
11436
|
env: Bindings;
|
|
8556
|
-
client: string;
|
|
8557
11437
|
telemetryDisabled: boolean;
|
|
8558
11438
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
8559
11439
|
apiOrigin?: string | undefined;
|
|
@@ -8563,10 +11443,10 @@ declare const router: {
|
|
|
8563
11443
|
}>, import("zod").ZodObject<{
|
|
8564
11444
|
id: import("zod").ZodNumber;
|
|
8565
11445
|
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
8566
|
-
uuid: string;
|
|
8567
11446
|
name: string;
|
|
8568
11447
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
8569
11448
|
id: number;
|
|
11449
|
+
uuid: string;
|
|
8570
11450
|
slug: string;
|
|
8571
11451
|
customDomain: string | null;
|
|
8572
11452
|
deployToken: string;
|
|
@@ -8586,10 +11466,10 @@ declare const router: {
|
|
|
8586
11466
|
experimentalFeatures: boolean;
|
|
8587
11467
|
updatedAt: number;
|
|
8588
11468
|
} | undefined, {
|
|
8589
|
-
uuid: string;
|
|
8590
11469
|
name: string;
|
|
8591
11470
|
status: import("@camox/api-contract/projects").ProjectStatus;
|
|
8592
11471
|
id: number;
|
|
11472
|
+
uuid: string;
|
|
8593
11473
|
slug: string;
|
|
8594
11474
|
customDomain: string | null;
|
|
8595
11475
|
deployToken: string;
|
|
@@ -9255,10 +12135,10 @@ declare const router: {
|
|
|
9255
12135
|
activeOrganizationId?: string | null | undefined;
|
|
9256
12136
|
studio?: boolean | null | undefined;
|
|
9257
12137
|
};
|
|
12138
|
+
client: string;
|
|
9258
12139
|
db: Database;
|
|
9259
12140
|
headers: Headers;
|
|
9260
12141
|
env: Bindings;
|
|
9261
|
-
client: string;
|
|
9262
12142
|
telemetryDisabled: boolean;
|
|
9263
12143
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9264
12144
|
apiOrigin?: string | undefined;
|
|
@@ -9291,10 +12171,10 @@ declare const router: {
|
|
|
9291
12171
|
activeOrganizationId?: string | null | undefined;
|
|
9292
12172
|
studio?: boolean | null | undefined;
|
|
9293
12173
|
};
|
|
12174
|
+
client: string;
|
|
9294
12175
|
db: Database;
|
|
9295
12176
|
headers: Headers;
|
|
9296
12177
|
env: Bindings;
|
|
9297
|
-
client: string;
|
|
9298
12178
|
telemetryDisabled: boolean;
|
|
9299
12179
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9300
12180
|
apiOrigin?: string | undefined;
|
|
@@ -9401,10 +12281,10 @@ declare const router: {
|
|
|
9401
12281
|
activeOrganizationId?: string | null | undefined;
|
|
9402
12282
|
studio?: boolean | null | undefined;
|
|
9403
12283
|
};
|
|
12284
|
+
client: string;
|
|
9404
12285
|
db: Database;
|
|
9405
12286
|
headers: Headers;
|
|
9406
12287
|
env: Bindings;
|
|
9407
|
-
client: string;
|
|
9408
12288
|
telemetryDisabled: boolean;
|
|
9409
12289
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9410
12290
|
apiOrigin?: string | undefined;
|
|
@@ -9437,10 +12317,10 @@ declare const router: {
|
|
|
9437
12317
|
activeOrganizationId?: string | null | undefined;
|
|
9438
12318
|
studio?: boolean | null | undefined;
|
|
9439
12319
|
};
|
|
12320
|
+
client: string;
|
|
9440
12321
|
db: Database;
|
|
9441
12322
|
headers: Headers;
|
|
9442
12323
|
env: Bindings;
|
|
9443
|
-
client: string;
|
|
9444
12324
|
telemetryDisabled: boolean;
|
|
9445
12325
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9446
12326
|
apiOrigin?: string | undefined;
|
|
@@ -9539,10 +12419,10 @@ declare const router: {
|
|
|
9539
12419
|
activeOrganizationId?: string | null | undefined;
|
|
9540
12420
|
studio?: boolean | null | undefined;
|
|
9541
12421
|
};
|
|
12422
|
+
client: string;
|
|
9542
12423
|
db: Database;
|
|
9543
12424
|
headers: Headers;
|
|
9544
12425
|
env: Bindings;
|
|
9545
|
-
client: string;
|
|
9546
12426
|
telemetryDisabled: boolean;
|
|
9547
12427
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9548
12428
|
apiOrigin?: string | undefined;
|
|
@@ -9575,10 +12455,10 @@ declare const router: {
|
|
|
9575
12455
|
activeOrganizationId?: string | null | undefined;
|
|
9576
12456
|
studio?: boolean | null | undefined;
|
|
9577
12457
|
};
|
|
12458
|
+
client: string;
|
|
9578
12459
|
db: Database;
|
|
9579
12460
|
headers: Headers;
|
|
9580
12461
|
env: Bindings;
|
|
9581
|
-
client: string;
|
|
9582
12462
|
telemetryDisabled: boolean;
|
|
9583
12463
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9584
12464
|
apiOrigin?: string | undefined;
|
|
@@ -9674,10 +12554,10 @@ declare const router: {
|
|
|
9674
12554
|
activeOrganizationId?: string | null | undefined;
|
|
9675
12555
|
studio?: boolean | null | undefined;
|
|
9676
12556
|
};
|
|
12557
|
+
client: string;
|
|
9677
12558
|
db: Database;
|
|
9678
12559
|
headers: Headers;
|
|
9679
12560
|
env: Bindings;
|
|
9680
|
-
client: string;
|
|
9681
12561
|
telemetryDisabled: boolean;
|
|
9682
12562
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9683
12563
|
apiOrigin?: string | undefined;
|
|
@@ -9710,10 +12590,10 @@ declare const router: {
|
|
|
9710
12590
|
activeOrganizationId?: string | null | undefined;
|
|
9711
12591
|
studio?: boolean | null | undefined;
|
|
9712
12592
|
};
|
|
12593
|
+
client: string;
|
|
9713
12594
|
db: Database;
|
|
9714
12595
|
headers: Headers;
|
|
9715
12596
|
env: Bindings;
|
|
9716
|
-
client: string;
|
|
9717
12597
|
telemetryDisabled: boolean;
|
|
9718
12598
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9719
12599
|
apiOrigin?: string | undefined;
|
|
@@ -9812,10 +12692,10 @@ declare const router: {
|
|
|
9812
12692
|
activeOrganizationId?: string | null | undefined;
|
|
9813
12693
|
studio?: boolean | null | undefined;
|
|
9814
12694
|
};
|
|
12695
|
+
client: string;
|
|
9815
12696
|
db: Database;
|
|
9816
12697
|
headers: Headers;
|
|
9817
12698
|
env: Bindings;
|
|
9818
|
-
client: string;
|
|
9819
12699
|
telemetryDisabled: boolean;
|
|
9820
12700
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9821
12701
|
apiOrigin?: string | undefined;
|
|
@@ -9848,10 +12728,10 @@ declare const router: {
|
|
|
9848
12728
|
activeOrganizationId?: string | null | undefined;
|
|
9849
12729
|
studio?: boolean | null | undefined;
|
|
9850
12730
|
};
|
|
12731
|
+
client: string;
|
|
9851
12732
|
db: Database;
|
|
9852
12733
|
headers: Headers;
|
|
9853
12734
|
env: Bindings;
|
|
9854
|
-
client: string;
|
|
9855
12735
|
telemetryDisabled: boolean;
|
|
9856
12736
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9857
12737
|
apiOrigin?: string | undefined;
|
|
@@ -9946,10 +12826,10 @@ declare const router: {
|
|
|
9946
12826
|
activeOrganizationId?: string | null | undefined;
|
|
9947
12827
|
studio?: boolean | null | undefined;
|
|
9948
12828
|
};
|
|
12829
|
+
client: string;
|
|
9949
12830
|
db: Database;
|
|
9950
12831
|
headers: Headers;
|
|
9951
12832
|
env: Bindings;
|
|
9952
|
-
client: string;
|
|
9953
12833
|
telemetryDisabled: boolean;
|
|
9954
12834
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
9955
12835
|
apiOrigin?: string | undefined;
|
|
@@ -10380,10 +13260,10 @@ declare const router: {
|
|
|
10380
13260
|
activeOrganizationId?: string | null | undefined;
|
|
10381
13261
|
studio?: boolean | null | undefined;
|
|
10382
13262
|
};
|
|
13263
|
+
client: string;
|
|
10383
13264
|
db: Database;
|
|
10384
13265
|
headers: Headers;
|
|
10385
13266
|
env: Bindings;
|
|
10386
|
-
client: string;
|
|
10387
13267
|
telemetryDisabled: boolean;
|
|
10388
13268
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10389
13269
|
apiOrigin?: string | undefined;
|
|
@@ -10416,10 +13296,10 @@ declare const router: {
|
|
|
10416
13296
|
activeOrganizationId?: string | null | undefined;
|
|
10417
13297
|
studio?: boolean | null | undefined;
|
|
10418
13298
|
};
|
|
13299
|
+
client: string;
|
|
10419
13300
|
db: Database;
|
|
10420
13301
|
headers: Headers;
|
|
10421
13302
|
env: Bindings;
|
|
10422
|
-
client: string;
|
|
10423
13303
|
telemetryDisabled: boolean;
|
|
10424
13304
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10425
13305
|
apiOrigin?: string | undefined;
|
|
@@ -10537,10 +13417,10 @@ declare const router: {
|
|
|
10537
13417
|
activeOrganizationId?: string | null | undefined;
|
|
10538
13418
|
studio?: boolean | null | undefined;
|
|
10539
13419
|
};
|
|
13420
|
+
client: string;
|
|
10540
13421
|
db: Database;
|
|
10541
13422
|
headers: Headers;
|
|
10542
13423
|
env: Bindings;
|
|
10543
|
-
client: string;
|
|
10544
13424
|
telemetryDisabled: boolean;
|
|
10545
13425
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10546
13426
|
apiOrigin?: string | undefined;
|
|
@@ -10573,10 +13453,10 @@ declare const router: {
|
|
|
10573
13453
|
activeOrganizationId?: string | null | undefined;
|
|
10574
13454
|
studio?: boolean | null | undefined;
|
|
10575
13455
|
};
|
|
13456
|
+
client: string;
|
|
10576
13457
|
db: Database;
|
|
10577
13458
|
headers: Headers;
|
|
10578
13459
|
env: Bindings;
|
|
10579
|
-
client: string;
|
|
10580
13460
|
telemetryDisabled: boolean;
|
|
10581
13461
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10582
13462
|
apiOrigin?: string | undefined;
|
|
@@ -10623,10 +13503,10 @@ declare const router: {
|
|
|
10623
13503
|
activeOrganizationId?: string | null | undefined;
|
|
10624
13504
|
studio?: boolean | null | undefined;
|
|
10625
13505
|
};
|
|
13506
|
+
client: string;
|
|
10626
13507
|
db: Database;
|
|
10627
13508
|
headers: Headers;
|
|
10628
13509
|
env: Bindings;
|
|
10629
|
-
client: string;
|
|
10630
13510
|
telemetryDisabled: boolean;
|
|
10631
13511
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10632
13512
|
apiOrigin?: string | undefined;
|
|
@@ -10659,10 +13539,10 @@ declare const router: {
|
|
|
10659
13539
|
activeOrganizationId?: string | null | undefined;
|
|
10660
13540
|
studio?: boolean | null | undefined;
|
|
10661
13541
|
};
|
|
13542
|
+
client: string;
|
|
10662
13543
|
db: Database;
|
|
10663
13544
|
headers: Headers;
|
|
10664
13545
|
env: Bindings;
|
|
10665
|
-
client: string;
|
|
10666
13546
|
telemetryDisabled: boolean;
|
|
10667
13547
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10668
13548
|
apiOrigin?: string | undefined;
|
|
@@ -10709,10 +13589,10 @@ declare const router: {
|
|
|
10709
13589
|
activeOrganizationId?: string | null | undefined;
|
|
10710
13590
|
studio?: boolean | null | undefined;
|
|
10711
13591
|
};
|
|
13592
|
+
client: string;
|
|
10712
13593
|
db: Database;
|
|
10713
13594
|
headers: Headers;
|
|
10714
13595
|
env: Bindings;
|
|
10715
|
-
client: string;
|
|
10716
13596
|
telemetryDisabled: boolean;
|
|
10717
13597
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10718
13598
|
apiOrigin?: string | undefined;
|
|
@@ -10745,10 +13625,10 @@ declare const router: {
|
|
|
10745
13625
|
activeOrganizationId?: string | null | undefined;
|
|
10746
13626
|
studio?: boolean | null | undefined;
|
|
10747
13627
|
};
|
|
13628
|
+
client: string;
|
|
10748
13629
|
db: Database;
|
|
10749
13630
|
headers: Headers;
|
|
10750
13631
|
env: Bindings;
|
|
10751
|
-
client: string;
|
|
10752
13632
|
telemetryDisabled: boolean;
|
|
10753
13633
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10754
13634
|
apiOrigin?: string | undefined;
|
|
@@ -10796,10 +13676,10 @@ declare const router: {
|
|
|
10796
13676
|
activeOrganizationId?: string | null | undefined;
|
|
10797
13677
|
studio?: boolean | null | undefined;
|
|
10798
13678
|
};
|
|
13679
|
+
client: string;
|
|
10799
13680
|
db: Database;
|
|
10800
13681
|
headers: Headers;
|
|
10801
13682
|
env: Bindings;
|
|
10802
|
-
client: string;
|
|
10803
13683
|
telemetryDisabled: boolean;
|
|
10804
13684
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10805
13685
|
apiOrigin?: string | undefined;
|
|
@@ -10832,10 +13712,10 @@ declare const router: {
|
|
|
10832
13712
|
activeOrganizationId?: string | null | undefined;
|
|
10833
13713
|
studio?: boolean | null | undefined;
|
|
10834
13714
|
};
|
|
13715
|
+
client: string;
|
|
10835
13716
|
db: Database;
|
|
10836
13717
|
headers: Headers;
|
|
10837
13718
|
env: Bindings;
|
|
10838
|
-
client: string;
|
|
10839
13719
|
telemetryDisabled: boolean;
|
|
10840
13720
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10841
13721
|
apiOrigin?: string | undefined;
|
|
@@ -10881,10 +13761,10 @@ declare const router: {
|
|
|
10881
13761
|
activeOrganizationId?: string | null | undefined;
|
|
10882
13762
|
studio?: boolean | null | undefined;
|
|
10883
13763
|
};
|
|
13764
|
+
client: string;
|
|
10884
13765
|
db: Database;
|
|
10885
13766
|
headers: Headers;
|
|
10886
13767
|
env: Bindings;
|
|
10887
|
-
client: string;
|
|
10888
13768
|
telemetryDisabled: boolean;
|
|
10889
13769
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10890
13770
|
apiOrigin?: string | undefined;
|
|
@@ -10917,10 +13797,10 @@ declare const router: {
|
|
|
10917
13797
|
activeOrganizationId?: string | null | undefined;
|
|
10918
13798
|
studio?: boolean | null | undefined;
|
|
10919
13799
|
};
|
|
13800
|
+
client: string;
|
|
10920
13801
|
db: Database;
|
|
10921
13802
|
headers: Headers;
|
|
10922
13803
|
env: Bindings;
|
|
10923
|
-
client: string;
|
|
10924
13804
|
telemetryDisabled: boolean;
|
|
10925
13805
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10926
13806
|
apiOrigin?: string | undefined;
|
|
@@ -10964,10 +13844,10 @@ declare const router: {
|
|
|
10964
13844
|
activeOrganizationId?: string | null | undefined;
|
|
10965
13845
|
studio?: boolean | null | undefined;
|
|
10966
13846
|
};
|
|
13847
|
+
client: string;
|
|
10967
13848
|
db: Database;
|
|
10968
13849
|
headers: Headers;
|
|
10969
13850
|
env: Bindings;
|
|
10970
|
-
client: string;
|
|
10971
13851
|
telemetryDisabled: boolean;
|
|
10972
13852
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
10973
13853
|
apiOrigin?: string | undefined;
|
|
@@ -11013,10 +13893,10 @@ declare const router: {
|
|
|
11013
13893
|
activeOrganizationId?: string | null | undefined;
|
|
11014
13894
|
studio?: boolean | null | undefined;
|
|
11015
13895
|
};
|
|
13896
|
+
client: string;
|
|
11016
13897
|
db: Database;
|
|
11017
13898
|
headers: Headers;
|
|
11018
13899
|
env: Bindings;
|
|
11019
|
-
client: string;
|
|
11020
13900
|
telemetryDisabled: boolean;
|
|
11021
13901
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11022
13902
|
apiOrigin?: string | undefined;
|
|
@@ -11049,10 +13929,10 @@ declare const router: {
|
|
|
11049
13929
|
activeOrganizationId?: string | null | undefined;
|
|
11050
13930
|
studio?: boolean | null | undefined;
|
|
11051
13931
|
};
|
|
13932
|
+
client: string;
|
|
11052
13933
|
db: Database;
|
|
11053
13934
|
headers: Headers;
|
|
11054
13935
|
env: Bindings;
|
|
11055
|
-
client: string;
|
|
11056
13936
|
telemetryDisabled: boolean;
|
|
11057
13937
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11058
13938
|
apiOrigin?: string | undefined;
|
|
@@ -11310,10 +14190,10 @@ declare const router: {
|
|
|
11310
14190
|
activeOrganizationId?: string | null | undefined;
|
|
11311
14191
|
studio?: boolean | null | undefined;
|
|
11312
14192
|
};
|
|
14193
|
+
client: string;
|
|
11313
14194
|
db: Database;
|
|
11314
14195
|
headers: Headers;
|
|
11315
14196
|
env: Bindings;
|
|
11316
|
-
client: string;
|
|
11317
14197
|
telemetryDisabled: boolean;
|
|
11318
14198
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11319
14199
|
apiOrigin?: string | undefined;
|
|
@@ -11346,10 +14226,10 @@ declare const router: {
|
|
|
11346
14226
|
activeOrganizationId?: string | null | undefined;
|
|
11347
14227
|
studio?: boolean | null | undefined;
|
|
11348
14228
|
};
|
|
14229
|
+
client: string;
|
|
11349
14230
|
db: Database;
|
|
11350
14231
|
headers: Headers;
|
|
11351
14232
|
env: Bindings;
|
|
11352
|
-
client: string;
|
|
11353
14233
|
telemetryDisabled: boolean;
|
|
11354
14234
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11355
14235
|
apiOrigin?: string | undefined;
|
|
@@ -11396,10 +14276,10 @@ declare const router: {
|
|
|
11396
14276
|
activeOrganizationId?: string | null | undefined;
|
|
11397
14277
|
studio?: boolean | null | undefined;
|
|
11398
14278
|
};
|
|
14279
|
+
client: string;
|
|
11399
14280
|
db: Database;
|
|
11400
14281
|
headers: Headers;
|
|
11401
14282
|
env: Bindings;
|
|
11402
|
-
client: string;
|
|
11403
14283
|
telemetryDisabled: boolean;
|
|
11404
14284
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11405
14285
|
apiOrigin?: string | undefined;
|
|
@@ -11432,10 +14312,10 @@ declare const router: {
|
|
|
11432
14312
|
activeOrganizationId?: string | null | undefined;
|
|
11433
14313
|
studio?: boolean | null | undefined;
|
|
11434
14314
|
};
|
|
14315
|
+
client: string;
|
|
11435
14316
|
db: Database;
|
|
11436
14317
|
headers: Headers;
|
|
11437
14318
|
env: Bindings;
|
|
11438
|
-
client: string;
|
|
11439
14319
|
telemetryDisabled: boolean;
|
|
11440
14320
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11441
14321
|
apiOrigin?: string | undefined;
|
|
@@ -11480,10 +14360,10 @@ declare const router: {
|
|
|
11480
14360
|
activeOrganizationId?: string | null | undefined;
|
|
11481
14361
|
studio?: boolean | null | undefined;
|
|
11482
14362
|
};
|
|
14363
|
+
client: string;
|
|
11483
14364
|
db: Database;
|
|
11484
14365
|
headers: Headers;
|
|
11485
14366
|
env: Bindings;
|
|
11486
|
-
client: string;
|
|
11487
14367
|
telemetryDisabled: boolean;
|
|
11488
14368
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11489
14369
|
apiOrigin?: string | undefined;
|
|
@@ -11528,10 +14408,10 @@ declare const router: {
|
|
|
11528
14408
|
activeOrganizationId?: string | null | undefined;
|
|
11529
14409
|
studio?: boolean | null | undefined;
|
|
11530
14410
|
};
|
|
14411
|
+
client: string;
|
|
11531
14412
|
db: Database;
|
|
11532
14413
|
headers: Headers;
|
|
11533
14414
|
env: Bindings;
|
|
11534
|
-
client: string;
|
|
11535
14415
|
telemetryDisabled: boolean;
|
|
11536
14416
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11537
14417
|
apiOrigin?: string | undefined;
|
|
@@ -11583,10 +14463,10 @@ declare const router: {
|
|
|
11583
14463
|
activeOrganizationId?: string | null | undefined;
|
|
11584
14464
|
studio?: boolean | null | undefined;
|
|
11585
14465
|
};
|
|
14466
|
+
client: string;
|
|
11586
14467
|
db: Database;
|
|
11587
14468
|
headers: Headers;
|
|
11588
14469
|
env: Bindings;
|
|
11589
|
-
client: string;
|
|
11590
14470
|
telemetryDisabled: boolean;
|
|
11591
14471
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11592
14472
|
apiOrigin?: string | undefined;
|
|
@@ -11619,10 +14499,10 @@ declare const router: {
|
|
|
11619
14499
|
activeOrganizationId?: string | null | undefined;
|
|
11620
14500
|
studio?: boolean | null | undefined;
|
|
11621
14501
|
};
|
|
14502
|
+
client: string;
|
|
11622
14503
|
db: Database;
|
|
11623
14504
|
headers: Headers;
|
|
11624
14505
|
env: Bindings;
|
|
11625
|
-
client: string;
|
|
11626
14506
|
telemetryDisabled: boolean;
|
|
11627
14507
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11628
14508
|
apiOrigin?: string | undefined;
|
|
@@ -11802,10 +14682,10 @@ declare const router: {
|
|
|
11802
14682
|
activeOrganizationId?: string | null | undefined;
|
|
11803
14683
|
studio?: boolean | null | undefined;
|
|
11804
14684
|
};
|
|
14685
|
+
client: string;
|
|
11805
14686
|
db: Database;
|
|
11806
14687
|
headers: Headers;
|
|
11807
14688
|
env: Bindings;
|
|
11808
|
-
client: string;
|
|
11809
14689
|
telemetryDisabled: boolean;
|
|
11810
14690
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11811
14691
|
apiOrigin?: string | undefined;
|
|
@@ -11838,10 +14718,10 @@ declare const router: {
|
|
|
11838
14718
|
activeOrganizationId?: string | null | undefined;
|
|
11839
14719
|
studio?: boolean | null | undefined;
|
|
11840
14720
|
};
|
|
14721
|
+
client: string;
|
|
11841
14722
|
db: Database;
|
|
11842
14723
|
headers: Headers;
|
|
11843
14724
|
env: Bindings;
|
|
11844
|
-
client: string;
|
|
11845
14725
|
telemetryDisabled: boolean;
|
|
11846
14726
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11847
14727
|
apiOrigin?: string | undefined;
|
|
@@ -11936,10 +14816,10 @@ declare const router: {
|
|
|
11936
14816
|
activeOrganizationId?: string | null | undefined;
|
|
11937
14817
|
studio?: boolean | null | undefined;
|
|
11938
14818
|
};
|
|
14819
|
+
client: string;
|
|
11939
14820
|
db: Database;
|
|
11940
14821
|
headers: Headers;
|
|
11941
14822
|
env: Bindings;
|
|
11942
|
-
client: string;
|
|
11943
14823
|
telemetryDisabled: boolean;
|
|
11944
14824
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11945
14825
|
apiOrigin?: string | undefined;
|
|
@@ -11972,10 +14852,10 @@ declare const router: {
|
|
|
11972
14852
|
activeOrganizationId?: string | null | undefined;
|
|
11973
14853
|
studio?: boolean | null | undefined;
|
|
11974
14854
|
};
|
|
14855
|
+
client: string;
|
|
11975
14856
|
db: Database;
|
|
11976
14857
|
headers: Headers;
|
|
11977
14858
|
env: Bindings;
|
|
11978
|
-
client: string;
|
|
11979
14859
|
telemetryDisabled: boolean;
|
|
11980
14860
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
11981
14861
|
apiOrigin?: string | undefined;
|
|
@@ -12070,10 +14950,10 @@ declare const router: {
|
|
|
12070
14950
|
activeOrganizationId?: string | null | undefined;
|
|
12071
14951
|
studio?: boolean | null | undefined;
|
|
12072
14952
|
};
|
|
14953
|
+
client: string;
|
|
12073
14954
|
db: Database;
|
|
12074
14955
|
headers: Headers;
|
|
12075
14956
|
env: Bindings;
|
|
12076
|
-
client: string;
|
|
12077
14957
|
telemetryDisabled: boolean;
|
|
12078
14958
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12079
14959
|
apiOrigin?: string | undefined;
|
|
@@ -12106,10 +14986,10 @@ declare const router: {
|
|
|
12106
14986
|
activeOrganizationId?: string | null | undefined;
|
|
12107
14987
|
studio?: boolean | null | undefined;
|
|
12108
14988
|
};
|
|
14989
|
+
client: string;
|
|
12109
14990
|
db: Database;
|
|
12110
14991
|
headers: Headers;
|
|
12111
14992
|
env: Bindings;
|
|
12112
|
-
client: string;
|
|
12113
14993
|
telemetryDisabled: boolean;
|
|
12114
14994
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12115
14995
|
apiOrigin?: string | undefined;
|
|
@@ -12203,10 +15083,10 @@ declare const router: {
|
|
|
12203
15083
|
activeOrganizationId?: string | null | undefined;
|
|
12204
15084
|
studio?: boolean | null | undefined;
|
|
12205
15085
|
};
|
|
15086
|
+
client: string;
|
|
12206
15087
|
db: Database;
|
|
12207
15088
|
headers: Headers;
|
|
12208
15089
|
env: Bindings;
|
|
12209
|
-
client: string;
|
|
12210
15090
|
telemetryDisabled: boolean;
|
|
12211
15091
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12212
15092
|
apiOrigin?: string | undefined;
|
|
@@ -12239,10 +15119,10 @@ declare const router: {
|
|
|
12239
15119
|
activeOrganizationId?: string | null | undefined;
|
|
12240
15120
|
studio?: boolean | null | undefined;
|
|
12241
15121
|
};
|
|
15122
|
+
client: string;
|
|
12242
15123
|
db: Database;
|
|
12243
15124
|
headers: Headers;
|
|
12244
15125
|
env: Bindings;
|
|
12245
|
-
client: string;
|
|
12246
15126
|
telemetryDisabled: boolean;
|
|
12247
15127
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12248
15128
|
apiOrigin?: string | undefined;
|
|
@@ -12288,10 +15168,10 @@ declare const router: {
|
|
|
12288
15168
|
activeOrganizationId?: string | null | undefined;
|
|
12289
15169
|
studio?: boolean | null | undefined;
|
|
12290
15170
|
};
|
|
15171
|
+
client: string;
|
|
12291
15172
|
db: Database;
|
|
12292
15173
|
headers: Headers;
|
|
12293
15174
|
env: Bindings;
|
|
12294
|
-
client: string;
|
|
12295
15175
|
telemetryDisabled: boolean;
|
|
12296
15176
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12297
15177
|
apiOrigin?: string | undefined;
|
|
@@ -12324,10 +15204,10 @@ declare const router: {
|
|
|
12324
15204
|
activeOrganizationId?: string | null | undefined;
|
|
12325
15205
|
studio?: boolean | null | undefined;
|
|
12326
15206
|
};
|
|
15207
|
+
client: string;
|
|
12327
15208
|
db: Database;
|
|
12328
15209
|
headers: Headers;
|
|
12329
15210
|
env: Bindings;
|
|
12330
|
-
client: string;
|
|
12331
15211
|
telemetryDisabled: boolean;
|
|
12332
15212
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12333
15213
|
apiOrigin?: string | undefined;
|
|
@@ -12420,10 +15300,10 @@ declare const router: {
|
|
|
12420
15300
|
activeOrganizationId?: string | null | undefined;
|
|
12421
15301
|
studio?: boolean | null | undefined;
|
|
12422
15302
|
};
|
|
15303
|
+
client: string;
|
|
12423
15304
|
db: Database;
|
|
12424
15305
|
headers: Headers;
|
|
12425
15306
|
env: Bindings;
|
|
12426
|
-
client: string;
|
|
12427
15307
|
telemetryDisabled: boolean;
|
|
12428
15308
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12429
15309
|
apiOrigin?: string | undefined;
|
|
@@ -12586,10 +15466,10 @@ declare const router: {
|
|
|
12586
15466
|
activeOrganizationId?: string | null | undefined;
|
|
12587
15467
|
studio?: boolean | null | undefined;
|
|
12588
15468
|
};
|
|
15469
|
+
client: string;
|
|
12589
15470
|
db: Database;
|
|
12590
15471
|
headers: Headers;
|
|
12591
15472
|
env: Bindings;
|
|
12592
|
-
client: string;
|
|
12593
15473
|
telemetryDisabled: boolean;
|
|
12594
15474
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12595
15475
|
apiOrigin?: string | undefined;
|
|
@@ -12622,10 +15502,10 @@ declare const router: {
|
|
|
12622
15502
|
activeOrganizationId?: string | null | undefined;
|
|
12623
15503
|
studio?: boolean | null | undefined;
|
|
12624
15504
|
};
|
|
15505
|
+
client: string;
|
|
12625
15506
|
db: Database;
|
|
12626
15507
|
headers: Headers;
|
|
12627
15508
|
env: Bindings;
|
|
12628
|
-
client: string;
|
|
12629
15509
|
telemetryDisabled: boolean;
|
|
12630
15510
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12631
15511
|
apiOrigin?: string | undefined;
|
|
@@ -12731,10 +15611,10 @@ declare const router: {
|
|
|
12731
15611
|
activeOrganizationId?: string | null | undefined;
|
|
12732
15612
|
studio?: boolean | null | undefined;
|
|
12733
15613
|
};
|
|
15614
|
+
client: string;
|
|
12734
15615
|
db: Database;
|
|
12735
15616
|
headers: Headers;
|
|
12736
15617
|
env: Bindings;
|
|
12737
|
-
client: string;
|
|
12738
15618
|
telemetryDisabled: boolean;
|
|
12739
15619
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12740
15620
|
apiOrigin?: string | undefined;
|
|
@@ -12767,10 +15647,10 @@ declare const router: {
|
|
|
12767
15647
|
activeOrganizationId?: string | null | undefined;
|
|
12768
15648
|
studio?: boolean | null | undefined;
|
|
12769
15649
|
};
|
|
15650
|
+
client: string;
|
|
12770
15651
|
db: Database;
|
|
12771
15652
|
headers: Headers;
|
|
12772
15653
|
env: Bindings;
|
|
12773
|
-
client: string;
|
|
12774
15654
|
telemetryDisabled: boolean;
|
|
12775
15655
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12776
15656
|
apiOrigin?: string | undefined;
|
|
@@ -12863,10 +15743,10 @@ declare const router: {
|
|
|
12863
15743
|
activeOrganizationId?: string | null | undefined;
|
|
12864
15744
|
studio?: boolean | null | undefined;
|
|
12865
15745
|
};
|
|
15746
|
+
client: string;
|
|
12866
15747
|
db: Database;
|
|
12867
15748
|
headers: Headers;
|
|
12868
15749
|
env: Bindings;
|
|
12869
|
-
client: string;
|
|
12870
15750
|
telemetryDisabled: boolean;
|
|
12871
15751
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12872
15752
|
apiOrigin?: string | undefined;
|
|
@@ -12899,10 +15779,10 @@ declare const router: {
|
|
|
12899
15779
|
activeOrganizationId?: string | null | undefined;
|
|
12900
15780
|
studio?: boolean | null | undefined;
|
|
12901
15781
|
};
|
|
15782
|
+
client: string;
|
|
12902
15783
|
db: Database;
|
|
12903
15784
|
headers: Headers;
|
|
12904
15785
|
env: Bindings;
|
|
12905
|
-
client: string;
|
|
12906
15786
|
telemetryDisabled: boolean;
|
|
12907
15787
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
12908
15788
|
apiOrigin?: string | undefined;
|
|
@@ -12995,10 +15875,10 @@ declare const router: {
|
|
|
12995
15875
|
activeOrganizationId?: string | null | undefined;
|
|
12996
15876
|
studio?: boolean | null | undefined;
|
|
12997
15877
|
};
|
|
15878
|
+
client: string;
|
|
12998
15879
|
db: Database;
|
|
12999
15880
|
headers: Headers;
|
|
13000
15881
|
env: Bindings;
|
|
13001
|
-
client: string;
|
|
13002
15882
|
telemetryDisabled: boolean;
|
|
13003
15883
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13004
15884
|
apiOrigin?: string | undefined;
|
|
@@ -13031,10 +15911,10 @@ declare const router: {
|
|
|
13031
15911
|
activeOrganizationId?: string | null | undefined;
|
|
13032
15912
|
studio?: boolean | null | undefined;
|
|
13033
15913
|
};
|
|
15914
|
+
client: string;
|
|
13034
15915
|
db: Database;
|
|
13035
15916
|
headers: Headers;
|
|
13036
15917
|
env: Bindings;
|
|
13037
|
-
client: string;
|
|
13038
15918
|
telemetryDisabled: boolean;
|
|
13039
15919
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13040
15920
|
apiOrigin?: string | undefined;
|
|
@@ -13128,10 +16008,10 @@ declare const router: {
|
|
|
13128
16008
|
activeOrganizationId?: string | null | undefined;
|
|
13129
16009
|
studio?: boolean | null | undefined;
|
|
13130
16010
|
};
|
|
16011
|
+
client: string;
|
|
13131
16012
|
db: Database;
|
|
13132
16013
|
headers: Headers;
|
|
13133
16014
|
env: Bindings;
|
|
13134
|
-
client: string;
|
|
13135
16015
|
telemetryDisabled: boolean;
|
|
13136
16016
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13137
16017
|
apiOrigin?: string | undefined;
|
|
@@ -13164,10 +16044,10 @@ declare const router: {
|
|
|
13164
16044
|
activeOrganizationId?: string | null | undefined;
|
|
13165
16045
|
studio?: boolean | null | undefined;
|
|
13166
16046
|
};
|
|
16047
|
+
client: string;
|
|
13167
16048
|
db: Database;
|
|
13168
16049
|
headers: Headers;
|
|
13169
16050
|
env: Bindings;
|
|
13170
|
-
client: string;
|
|
13171
16051
|
telemetryDisabled: boolean;
|
|
13172
16052
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13173
16053
|
apiOrigin?: string | undefined;
|
|
@@ -13257,10 +16137,10 @@ declare const router: {
|
|
|
13257
16137
|
activeOrganizationId?: string | null | undefined;
|
|
13258
16138
|
studio?: boolean | null | undefined;
|
|
13259
16139
|
};
|
|
16140
|
+
client: string;
|
|
13260
16141
|
db: Database;
|
|
13261
16142
|
headers: Headers;
|
|
13262
16143
|
env: Bindings;
|
|
13263
|
-
client: string;
|
|
13264
16144
|
telemetryDisabled: boolean;
|
|
13265
16145
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13266
16146
|
apiOrigin?: string | undefined;
|
|
@@ -13352,10 +16232,10 @@ declare const router: {
|
|
|
13352
16232
|
activeOrganizationId?: string | null | undefined;
|
|
13353
16233
|
studio?: boolean | null | undefined;
|
|
13354
16234
|
};
|
|
16235
|
+
client: string;
|
|
13355
16236
|
db: Database;
|
|
13356
16237
|
headers: Headers;
|
|
13357
16238
|
env: Bindings;
|
|
13358
|
-
client: string;
|
|
13359
16239
|
telemetryDisabled: boolean;
|
|
13360
16240
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13361
16241
|
apiOrigin?: string | undefined;
|
|
@@ -13388,10 +16268,10 @@ declare const router: {
|
|
|
13388
16268
|
activeOrganizationId?: string | null | undefined;
|
|
13389
16269
|
studio?: boolean | null | undefined;
|
|
13390
16270
|
};
|
|
16271
|
+
client: string;
|
|
13391
16272
|
db: Database;
|
|
13392
16273
|
headers: Headers;
|
|
13393
16274
|
env: Bindings;
|
|
13394
|
-
client: string;
|
|
13395
16275
|
telemetryDisabled: boolean;
|
|
13396
16276
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13397
16277
|
apiOrigin?: string | undefined;
|
|
@@ -13524,10 +16404,10 @@ declare const router: {
|
|
|
13524
16404
|
activeOrganizationId?: string | null | undefined;
|
|
13525
16405
|
studio?: boolean | null | undefined;
|
|
13526
16406
|
};
|
|
16407
|
+
client: string;
|
|
13527
16408
|
db: Database;
|
|
13528
16409
|
headers: Headers;
|
|
13529
16410
|
env: Bindings;
|
|
13530
|
-
client: string;
|
|
13531
16411
|
telemetryDisabled: boolean;
|
|
13532
16412
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13533
16413
|
apiOrigin?: string | undefined;
|
|
@@ -13583,10 +16463,10 @@ declare const router: {
|
|
|
13583
16463
|
activeOrganizationId?: string | null | undefined;
|
|
13584
16464
|
studio?: boolean | null | undefined;
|
|
13585
16465
|
};
|
|
16466
|
+
client: string;
|
|
13586
16467
|
db: Database;
|
|
13587
16468
|
headers: Headers;
|
|
13588
16469
|
env: Bindings;
|
|
13589
|
-
client: string;
|
|
13590
16470
|
telemetryDisabled: boolean;
|
|
13591
16471
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13592
16472
|
apiOrigin?: string | undefined;
|
|
@@ -13645,10 +16525,10 @@ declare const router: {
|
|
|
13645
16525
|
activeOrganizationId?: string | null | undefined;
|
|
13646
16526
|
studio?: boolean | null | undefined;
|
|
13647
16527
|
};
|
|
16528
|
+
client: string;
|
|
13648
16529
|
db: Database;
|
|
13649
16530
|
headers: Headers;
|
|
13650
16531
|
env: Bindings;
|
|
13651
|
-
client: string;
|
|
13652
16532
|
telemetryDisabled: boolean;
|
|
13653
16533
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13654
16534
|
apiOrigin?: string | undefined;
|
|
@@ -13703,10 +16583,10 @@ declare const router: {
|
|
|
13703
16583
|
activeOrganizationId?: string | null | undefined;
|
|
13704
16584
|
studio?: boolean | null | undefined;
|
|
13705
16585
|
};
|
|
16586
|
+
client: string;
|
|
13706
16587
|
db: Database;
|
|
13707
16588
|
headers: Headers;
|
|
13708
16589
|
env: Bindings;
|
|
13709
|
-
client: string;
|
|
13710
16590
|
telemetryDisabled: boolean;
|
|
13711
16591
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13712
16592
|
apiOrigin?: string | undefined;
|
|
@@ -13768,10 +16648,10 @@ declare const router: {
|
|
|
13768
16648
|
activeOrganizationId?: string | null | undefined;
|
|
13769
16649
|
studio?: boolean | null | undefined;
|
|
13770
16650
|
};
|
|
16651
|
+
client: string;
|
|
13771
16652
|
db: Database;
|
|
13772
16653
|
headers: Headers;
|
|
13773
16654
|
env: Bindings;
|
|
13774
|
-
client: string;
|
|
13775
16655
|
telemetryDisabled: boolean;
|
|
13776
16656
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13777
16657
|
apiOrigin?: string | undefined;
|
|
@@ -13888,10 +16768,10 @@ declare const router: {
|
|
|
13888
16768
|
activeOrganizationId?: string | null | undefined;
|
|
13889
16769
|
studio?: boolean | null | undefined;
|
|
13890
16770
|
};
|
|
16771
|
+
client: string;
|
|
13891
16772
|
db: Database;
|
|
13892
16773
|
headers: Headers;
|
|
13893
16774
|
env: Bindings;
|
|
13894
|
-
client: string;
|
|
13895
16775
|
telemetryDisabled: boolean;
|
|
13896
16776
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13897
16777
|
apiOrigin?: string | undefined;
|
|
@@ -13924,10 +16804,10 @@ declare const router: {
|
|
|
13924
16804
|
activeOrganizationId?: string | null | undefined;
|
|
13925
16805
|
studio?: boolean | null | undefined;
|
|
13926
16806
|
};
|
|
16807
|
+
client: string;
|
|
13927
16808
|
db: Database;
|
|
13928
16809
|
headers: Headers;
|
|
13929
16810
|
env: Bindings;
|
|
13930
|
-
client: string;
|
|
13931
16811
|
telemetryDisabled: boolean;
|
|
13932
16812
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
13933
16813
|
apiOrigin?: string | undefined;
|
|
@@ -13992,10 +16872,10 @@ declare const router: {
|
|
|
13992
16872
|
activeOrganizationId?: string | null | undefined;
|
|
13993
16873
|
studio?: boolean | null | undefined;
|
|
13994
16874
|
};
|
|
16875
|
+
client: string;
|
|
13995
16876
|
db: Database;
|
|
13996
16877
|
headers: Headers;
|
|
13997
16878
|
env: Bindings;
|
|
13998
|
-
client: string;
|
|
13999
16879
|
telemetryDisabled: boolean;
|
|
14000
16880
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14001
16881
|
apiOrigin?: string | undefined;
|
|
@@ -14028,10 +16908,10 @@ declare const router: {
|
|
|
14028
16908
|
activeOrganizationId?: string | null | undefined;
|
|
14029
16909
|
studio?: boolean | null | undefined;
|
|
14030
16910
|
};
|
|
16911
|
+
client: string;
|
|
14031
16912
|
db: Database;
|
|
14032
16913
|
headers: Headers;
|
|
14033
16914
|
env: Bindings;
|
|
14034
|
-
client: string;
|
|
14035
16915
|
telemetryDisabled: boolean;
|
|
14036
16916
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14037
16917
|
apiOrigin?: string | undefined;
|
|
@@ -14096,10 +16976,10 @@ declare const router: {
|
|
|
14096
16976
|
activeOrganizationId?: string | null | undefined;
|
|
14097
16977
|
studio?: boolean | null | undefined;
|
|
14098
16978
|
};
|
|
16979
|
+
client: string;
|
|
14099
16980
|
db: Database;
|
|
14100
16981
|
headers: Headers;
|
|
14101
16982
|
env: Bindings;
|
|
14102
|
-
client: string;
|
|
14103
16983
|
telemetryDisabled: boolean;
|
|
14104
16984
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14105
16985
|
apiOrigin?: string | undefined;
|
|
@@ -14132,10 +17012,10 @@ declare const router: {
|
|
|
14132
17012
|
activeOrganizationId?: string | null | undefined;
|
|
14133
17013
|
studio?: boolean | null | undefined;
|
|
14134
17014
|
};
|
|
17015
|
+
client: string;
|
|
14135
17016
|
db: Database;
|
|
14136
17017
|
headers: Headers;
|
|
14137
17018
|
env: Bindings;
|
|
14138
|
-
client: string;
|
|
14139
17019
|
telemetryDisabled: boolean;
|
|
14140
17020
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14141
17021
|
apiOrigin?: string | undefined;
|
|
@@ -14441,10 +17321,10 @@ declare const router: {
|
|
|
14441
17321
|
activeOrganizationId?: string | null | undefined;
|
|
14442
17322
|
studio?: boolean | null | undefined;
|
|
14443
17323
|
};
|
|
17324
|
+
client: string;
|
|
14444
17325
|
db: Database;
|
|
14445
17326
|
headers: Headers;
|
|
14446
17327
|
env: Bindings;
|
|
14447
|
-
client: string;
|
|
14448
17328
|
telemetryDisabled: boolean;
|
|
14449
17329
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14450
17330
|
apiOrigin?: string | undefined;
|
|
@@ -14502,10 +17382,10 @@ declare const router: {
|
|
|
14502
17382
|
activeOrganizationId?: string | null | undefined;
|
|
14503
17383
|
studio?: boolean | null | undefined;
|
|
14504
17384
|
};
|
|
17385
|
+
client: string;
|
|
14505
17386
|
db: Database;
|
|
14506
17387
|
headers: Headers;
|
|
14507
17388
|
env: Bindings;
|
|
14508
|
-
client: string;
|
|
14509
17389
|
telemetryDisabled: boolean;
|
|
14510
17390
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14511
17391
|
apiOrigin?: string | undefined;
|
|
@@ -14550,10 +17430,10 @@ declare const router: {
|
|
|
14550
17430
|
activeOrganizationId?: string | null | undefined;
|
|
14551
17431
|
studio?: boolean | null | undefined;
|
|
14552
17432
|
};
|
|
17433
|
+
client: string;
|
|
14553
17434
|
db: Database;
|
|
14554
17435
|
headers: Headers;
|
|
14555
17436
|
env: Bindings;
|
|
14556
|
-
client: string;
|
|
14557
17437
|
telemetryDisabled: boolean;
|
|
14558
17438
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14559
17439
|
apiOrigin?: string | undefined;
|
|
@@ -14597,10 +17477,10 @@ declare const router: {
|
|
|
14597
17477
|
activeOrganizationId?: string | null | undefined;
|
|
14598
17478
|
studio?: boolean | null | undefined;
|
|
14599
17479
|
};
|
|
17480
|
+
client: string;
|
|
14600
17481
|
db: Database;
|
|
14601
17482
|
headers: Headers;
|
|
14602
17483
|
env: Bindings;
|
|
14603
|
-
client: string;
|
|
14604
17484
|
telemetryDisabled: boolean;
|
|
14605
17485
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14606
17486
|
apiOrigin?: string | undefined;
|
|
@@ -14645,10 +17525,10 @@ declare const router: {
|
|
|
14645
17525
|
activeOrganizationId?: string | null | undefined;
|
|
14646
17526
|
studio?: boolean | null | undefined;
|
|
14647
17527
|
};
|
|
17528
|
+
client: string;
|
|
14648
17529
|
db: Database;
|
|
14649
17530
|
headers: Headers;
|
|
14650
17531
|
env: Bindings;
|
|
14651
|
-
client: string;
|
|
14652
17532
|
telemetryDisabled: boolean;
|
|
14653
17533
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14654
17534
|
apiOrigin?: string | undefined;
|
|
@@ -14736,10 +17616,10 @@ declare const router: {
|
|
|
14736
17616
|
activeOrganizationId?: string | null | undefined;
|
|
14737
17617
|
studio?: boolean | null | undefined;
|
|
14738
17618
|
};
|
|
17619
|
+
client: string;
|
|
14739
17620
|
db: Database;
|
|
14740
17621
|
headers: Headers;
|
|
14741
17622
|
env: Bindings;
|
|
14742
|
-
client: string;
|
|
14743
17623
|
telemetryDisabled: boolean;
|
|
14744
17624
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14745
17625
|
apiOrigin?: string | undefined;
|
|
@@ -14783,10 +17663,10 @@ declare const router: {
|
|
|
14783
17663
|
activeOrganizationId?: string | null | undefined;
|
|
14784
17664
|
studio?: boolean | null | undefined;
|
|
14785
17665
|
};
|
|
17666
|
+
client: string;
|
|
14786
17667
|
db: Database;
|
|
14787
17668
|
headers: Headers;
|
|
14788
17669
|
env: Bindings;
|
|
14789
|
-
client: string;
|
|
14790
17670
|
telemetryDisabled: boolean;
|
|
14791
17671
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14792
17672
|
apiOrigin?: string | undefined;
|
|
@@ -14833,10 +17713,10 @@ declare const router: {
|
|
|
14833
17713
|
activeOrganizationId?: string | null | undefined;
|
|
14834
17714
|
studio?: boolean | null | undefined;
|
|
14835
17715
|
};
|
|
17716
|
+
client: string;
|
|
14836
17717
|
db: Database;
|
|
14837
17718
|
headers: Headers;
|
|
14838
17719
|
env: Bindings;
|
|
14839
|
-
client: string;
|
|
14840
17720
|
telemetryDisabled: boolean;
|
|
14841
17721
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14842
17722
|
apiOrigin?: string | undefined;
|
|
@@ -14884,10 +17764,10 @@ declare const router: {
|
|
|
14884
17764
|
activeOrganizationId?: string | null | undefined;
|
|
14885
17765
|
studio?: boolean | null | undefined;
|
|
14886
17766
|
};
|
|
17767
|
+
client: string;
|
|
14887
17768
|
db: Database;
|
|
14888
17769
|
headers: Headers;
|
|
14889
17770
|
env: Bindings;
|
|
14890
|
-
client: string;
|
|
14891
17771
|
telemetryDisabled: boolean;
|
|
14892
17772
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14893
17773
|
apiOrigin?: string | undefined;
|
|
@@ -14944,10 +17824,10 @@ declare const router: {
|
|
|
14944
17824
|
activeOrganizationId?: string | null | undefined;
|
|
14945
17825
|
studio?: boolean | null | undefined;
|
|
14946
17826
|
};
|
|
17827
|
+
client: string;
|
|
14947
17828
|
db: Database;
|
|
14948
17829
|
headers: Headers;
|
|
14949
17830
|
env: Bindings;
|
|
14950
|
-
client: string;
|
|
14951
17831
|
telemetryDisabled: boolean;
|
|
14952
17832
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
14953
17833
|
apiOrigin?: string | undefined;
|
|
@@ -14993,10 +17873,10 @@ declare const router: {
|
|
|
14993
17873
|
activeOrganizationId?: string | null | undefined;
|
|
14994
17874
|
studio?: boolean | null | undefined;
|
|
14995
17875
|
};
|
|
17876
|
+
client: string;
|
|
14996
17877
|
db: Database;
|
|
14997
17878
|
headers: Headers;
|
|
14998
17879
|
env: Bindings;
|
|
14999
|
-
client: string;
|
|
15000
17880
|
telemetryDisabled: boolean;
|
|
15001
17881
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
15002
17882
|
apiOrigin?: string | undefined;
|
|
@@ -15042,10 +17922,10 @@ declare const router: {
|
|
|
15042
17922
|
activeOrganizationId?: string | null | undefined;
|
|
15043
17923
|
studio?: boolean | null | undefined;
|
|
15044
17924
|
};
|
|
17925
|
+
client: string;
|
|
15045
17926
|
db: Database;
|
|
15046
17927
|
headers: Headers;
|
|
15047
17928
|
env: Bindings;
|
|
15048
|
-
client: string;
|
|
15049
17929
|
telemetryDisabled: boolean;
|
|
15050
17930
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
15051
17931
|
apiOrigin?: string | undefined;
|
|
@@ -15095,10 +17975,10 @@ declare const router: {
|
|
|
15095
17975
|
activeOrganizationId?: string | null | undefined;
|
|
15096
17976
|
studio?: boolean | null | undefined;
|
|
15097
17977
|
};
|
|
17978
|
+
client: string;
|
|
15098
17979
|
db: Database;
|
|
15099
17980
|
headers: Headers;
|
|
15100
17981
|
env: Bindings;
|
|
15101
|
-
client: string;
|
|
15102
17982
|
telemetryDisabled: boolean;
|
|
15103
17983
|
waitUntil: (promise: Promise<unknown>) => void;
|
|
15104
17984
|
apiOrigin?: string | undefined;
|
|
@@ -15130,6 +18010,181 @@ declare const router: {
|
|
|
15130
18010
|
step?: undefined;
|
|
15131
18011
|
}, void, unknown>>, Record<never, never>, Record<never, never>>;
|
|
15132
18012
|
};
|
|
18013
|
+
connectedAgents: {
|
|
18014
|
+
consent: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
18015
|
+
draft: DraftRequest | null;
|
|
18016
|
+
locale: string | undefined;
|
|
18017
|
+
publishingDraft: string | undefined;
|
|
18018
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
18019
|
+
draft: DraftRequest | null;
|
|
18020
|
+
locale: string | undefined;
|
|
18021
|
+
publishingDraft: string | undefined;
|
|
18022
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
18023
|
+
draft: DraftRequest | null;
|
|
18024
|
+
locale: string | undefined;
|
|
18025
|
+
publishingDraft: string | undefined;
|
|
18026
|
+
}>, {
|
|
18027
|
+
user: {
|
|
18028
|
+
id: string;
|
|
18029
|
+
createdAt: Date;
|
|
18030
|
+
updatedAt: Date;
|
|
18031
|
+
email: string;
|
|
18032
|
+
emailVerified: boolean;
|
|
18033
|
+
name: string;
|
|
18034
|
+
image?: string | null | undefined;
|
|
18035
|
+
};
|
|
18036
|
+
session: {
|
|
18037
|
+
id: string;
|
|
18038
|
+
createdAt: Date;
|
|
18039
|
+
updatedAt: Date;
|
|
18040
|
+
userId: string;
|
|
18041
|
+
expiresAt: Date;
|
|
18042
|
+
token: string;
|
|
18043
|
+
ipAddress?: string | null | undefined;
|
|
18044
|
+
userAgent?: string | null | undefined;
|
|
18045
|
+
activeOrganizationId?: string | null | undefined;
|
|
18046
|
+
studio?: boolean | null | undefined;
|
|
18047
|
+
};
|
|
18048
|
+
client: string;
|
|
18049
|
+
db: Database;
|
|
18050
|
+
headers: Headers;
|
|
18051
|
+
env: Bindings;
|
|
18052
|
+
telemetryDisabled: boolean;
|
|
18053
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
18054
|
+
apiOrigin?: string | undefined;
|
|
18055
|
+
draft: DraftRequest | null;
|
|
18056
|
+
locale: string | undefined;
|
|
18057
|
+
publishingDraft: string | undefined;
|
|
18058
|
+
}>, import("zod").ZodObject<{
|
|
18059
|
+
oauthQuery: import("zod").ZodString;
|
|
18060
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
18061
|
+
client: {
|
|
18062
|
+
name: string;
|
|
18063
|
+
verified: boolean;
|
|
18064
|
+
};
|
|
18065
|
+
scopes: {
|
|
18066
|
+
scope: "website:read" | "drafts:write";
|
|
18067
|
+
description: string;
|
|
18068
|
+
}[];
|
|
18069
|
+
}, {
|
|
18070
|
+
client: {
|
|
18071
|
+
name: string;
|
|
18072
|
+
verified: boolean;
|
|
18073
|
+
};
|
|
18074
|
+
scopes: {
|
|
18075
|
+
scope: "website:read" | "drafts:write";
|
|
18076
|
+
description: string;
|
|
18077
|
+
}[];
|
|
18078
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
18079
|
+
list: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
18080
|
+
draft: DraftRequest | null;
|
|
18081
|
+
locale: string | undefined;
|
|
18082
|
+
publishingDraft: string | undefined;
|
|
18083
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
18084
|
+
draft: DraftRequest | null;
|
|
18085
|
+
locale: string | undefined;
|
|
18086
|
+
publishingDraft: string | undefined;
|
|
18087
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
18088
|
+
draft: DraftRequest | null;
|
|
18089
|
+
locale: string | undefined;
|
|
18090
|
+
publishingDraft: string | undefined;
|
|
18091
|
+
}>, {
|
|
18092
|
+
user: {
|
|
18093
|
+
id: string;
|
|
18094
|
+
createdAt: Date;
|
|
18095
|
+
updatedAt: Date;
|
|
18096
|
+
email: string;
|
|
18097
|
+
emailVerified: boolean;
|
|
18098
|
+
name: string;
|
|
18099
|
+
image?: string | null | undefined;
|
|
18100
|
+
};
|
|
18101
|
+
session: {
|
|
18102
|
+
id: string;
|
|
18103
|
+
createdAt: Date;
|
|
18104
|
+
updatedAt: Date;
|
|
18105
|
+
userId: string;
|
|
18106
|
+
expiresAt: Date;
|
|
18107
|
+
token: string;
|
|
18108
|
+
ipAddress?: string | null | undefined;
|
|
18109
|
+
userAgent?: string | null | undefined;
|
|
18110
|
+
activeOrganizationId?: string | null | undefined;
|
|
18111
|
+
studio?: boolean | null | undefined;
|
|
18112
|
+
};
|
|
18113
|
+
client: string;
|
|
18114
|
+
db: Database;
|
|
18115
|
+
headers: Headers;
|
|
18116
|
+
env: Bindings;
|
|
18117
|
+
telemetryDisabled: boolean;
|
|
18118
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
18119
|
+
apiOrigin?: string | undefined;
|
|
18120
|
+
draft: DraftRequest | null;
|
|
18121
|
+
locale: string | undefined;
|
|
18122
|
+
publishingDraft: string | undefined;
|
|
18123
|
+
}>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<{
|
|
18124
|
+
id: string;
|
|
18125
|
+
client: {
|
|
18126
|
+
name: string;
|
|
18127
|
+
verified: boolean;
|
|
18128
|
+
};
|
|
18129
|
+
connectedAt: Date;
|
|
18130
|
+
lastUsedAt: Date | null;
|
|
18131
|
+
}[], {
|
|
18132
|
+
id: string;
|
|
18133
|
+
client: {
|
|
18134
|
+
name: string;
|
|
18135
|
+
verified: boolean;
|
|
18136
|
+
};
|
|
18137
|
+
connectedAt: Date;
|
|
18138
|
+
lastUsedAt: Date | null;
|
|
18139
|
+
}[]>, Record<never, never>, Record<never, never>>;
|
|
18140
|
+
disconnect: import("@orpc/server").DecoratedProcedure<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<import("@orpc/server").MergedInitialContext<BaseContext & Record<never, never>, BaseContext, BaseContext>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
18141
|
+
draft: DraftRequest | null;
|
|
18142
|
+
locale: string | undefined;
|
|
18143
|
+
publishingDraft: string | undefined;
|
|
18144
|
+
}>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
18145
|
+
draft: DraftRequest | null;
|
|
18146
|
+
locale: string | undefined;
|
|
18147
|
+
publishingDraft: string | undefined;
|
|
18148
|
+
}>>, import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<import("@orpc/server").MergedCurrentContext<BaseContext, Record<never, never>>, {
|
|
18149
|
+
draft: DraftRequest | null;
|
|
18150
|
+
locale: string | undefined;
|
|
18151
|
+
publishingDraft: string | undefined;
|
|
18152
|
+
}>, {
|
|
18153
|
+
user: {
|
|
18154
|
+
id: string;
|
|
18155
|
+
createdAt: Date;
|
|
18156
|
+
updatedAt: Date;
|
|
18157
|
+
email: string;
|
|
18158
|
+
emailVerified: boolean;
|
|
18159
|
+
name: string;
|
|
18160
|
+
image?: string | null | undefined;
|
|
18161
|
+
};
|
|
18162
|
+
session: {
|
|
18163
|
+
id: string;
|
|
18164
|
+
createdAt: Date;
|
|
18165
|
+
updatedAt: Date;
|
|
18166
|
+
userId: string;
|
|
18167
|
+
expiresAt: Date;
|
|
18168
|
+
token: string;
|
|
18169
|
+
ipAddress?: string | null | undefined;
|
|
18170
|
+
userAgent?: string | null | undefined;
|
|
18171
|
+
activeOrganizationId?: string | null | undefined;
|
|
18172
|
+
studio?: boolean | null | undefined;
|
|
18173
|
+
};
|
|
18174
|
+
client: string;
|
|
18175
|
+
db: Database;
|
|
18176
|
+
headers: Headers;
|
|
18177
|
+
env: Bindings;
|
|
18178
|
+
telemetryDisabled: boolean;
|
|
18179
|
+
waitUntil: (promise: Promise<unknown>) => void;
|
|
18180
|
+
apiOrigin?: string | undefined;
|
|
18181
|
+
draft: DraftRequest | null;
|
|
18182
|
+
locale: string | undefined;
|
|
18183
|
+
publishingDraft: string | undefined;
|
|
18184
|
+
}>, import("zod").ZodObject<{
|
|
18185
|
+
id: import("zod").ZodString;
|
|
18186
|
+
}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<undefined, undefined>, Record<never, never>, Record<never, never>>;
|
|
18187
|
+
};
|
|
15133
18188
|
};
|
|
15134
18189
|
type Router = typeof router;
|
|
15135
18190
|
//#endregion
|