@lessly/sdk-app 15.0.1 → 15.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-ClvT4E7P.d.cts → client.gen-BeFnNb6g.d.cts} +2688 -1
- package/dist/{client.gen-ClvT4E7P.d.ts → client.gen-BeFnNb6g.d.ts} +2688 -1
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +742 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +742 -0
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.d.cts +1 -1
- package/dist/playground/index.d.ts +1 -1
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.cjs +216 -0
- package/dist/users/index.cjs.map +1 -0
- package/dist/users/index.d.cts +172 -0
- package/dist/users/index.d.ts +172 -0
- package/dist/users/index.js +173 -0
- package/dist/users/index.js.map +1 -0
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +7 -2
- package/src/gen/bindings.gen.ts +742 -0
- package/src/gen/client.gen.ts +158 -0
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/types.gen.ts +2699 -0
- package/src/gen/users/index.ts +3 -0
- package/src/gen/users/queryOptions.gen.ts +268 -0
|
@@ -15225,6 +15225,2619 @@ interface TrackingSnippetsGetOutput {
|
|
|
15225
15225
|
scriptUrl: string;
|
|
15226
15226
|
minimalSnippet: string;
|
|
15227
15227
|
}
|
|
15228
|
+
interface UsersApikeysCreateInput {
|
|
15229
|
+
/**
|
|
15230
|
+
* A label only humans read — which backend or environment holds this key.
|
|
15231
|
+
*/
|
|
15232
|
+
name: string;
|
|
15233
|
+
/**
|
|
15234
|
+
* 'server' mints a SECRET key (usk_…) for the Product's backend — returned exactly once and stored hashed. 'publishable' mints a non-secret key (upk_…) that identifies this product in browser flows and stays readable.
|
|
15235
|
+
*/
|
|
15236
|
+
type: ("server" | "publishable");
|
|
15237
|
+
}
|
|
15238
|
+
interface UsersApikeysCreateOutput {
|
|
15239
|
+
id: string;
|
|
15240
|
+
key: string;
|
|
15241
|
+
name: string;
|
|
15242
|
+
type: ("server" | "publishable");
|
|
15243
|
+
value: (string | null);
|
|
15244
|
+
prefix: string;
|
|
15245
|
+
createdAt: string;
|
|
15246
|
+
revokedAt: (string | null);
|
|
15247
|
+
}
|
|
15248
|
+
interface UsersApikeysListInput {
|
|
15249
|
+
}
|
|
15250
|
+
interface UsersApikeysListOutput {
|
|
15251
|
+
keys: {
|
|
15252
|
+
id: string;
|
|
15253
|
+
name: string;
|
|
15254
|
+
type: ("server" | "publishable");
|
|
15255
|
+
value: (string | null);
|
|
15256
|
+
prefix: string;
|
|
15257
|
+
createdAt: string;
|
|
15258
|
+
revokedAt: (string | null);
|
|
15259
|
+
}[];
|
|
15260
|
+
}
|
|
15261
|
+
interface UsersApikeysRevokeInput {
|
|
15262
|
+
/**
|
|
15263
|
+
* Id of the key to revoke. Revocation is immediate and final.
|
|
15264
|
+
*/
|
|
15265
|
+
id: string;
|
|
15266
|
+
}
|
|
15267
|
+
interface UsersApikeysRevokeOutput {
|
|
15268
|
+
id: string;
|
|
15269
|
+
revoked: true;
|
|
15270
|
+
}
|
|
15271
|
+
interface UsersAuditListInput {
|
|
15272
|
+
/**
|
|
15273
|
+
* Page size, 1-100. Default 25.
|
|
15274
|
+
*/
|
|
15275
|
+
limit?: number;
|
|
15276
|
+
/**
|
|
15277
|
+
* ISO-8601 lower bound (inclusive) on the event timestamp.
|
|
15278
|
+
*/
|
|
15279
|
+
since?: string;
|
|
15280
|
+
/**
|
|
15281
|
+
* ISO-8601 upper bound (exclusive) on the event timestamp.
|
|
15282
|
+
*/
|
|
15283
|
+
until?: string;
|
|
15284
|
+
/**
|
|
15285
|
+
* Exact action to filter by, e.g. 'user.banned'. Omit for all actions.
|
|
15286
|
+
*/
|
|
15287
|
+
action?: string;
|
|
15288
|
+
/**
|
|
15289
|
+
* Opaque cursor from a previous response's `nextCursor`. Omit for the first page.
|
|
15290
|
+
*/
|
|
15291
|
+
cursor?: string;
|
|
15292
|
+
/**
|
|
15293
|
+
* Exact id of the audited target, e.g. a user id.
|
|
15294
|
+
*/
|
|
15295
|
+
targetId?: string;
|
|
15296
|
+
/**
|
|
15297
|
+
* Target kind to filter by, e.g. 'user'.
|
|
15298
|
+
*/
|
|
15299
|
+
targetType?: string;
|
|
15300
|
+
}
|
|
15301
|
+
interface UsersAuditListOutput {
|
|
15302
|
+
events: {
|
|
15303
|
+
id: string;
|
|
15304
|
+
ip: (string | null);
|
|
15305
|
+
action: string;
|
|
15306
|
+
actorId: (string | null);
|
|
15307
|
+
metadata: {
|
|
15308
|
+
[k: string]: unknown;
|
|
15309
|
+
};
|
|
15310
|
+
targetId: (string | null);
|
|
15311
|
+
actorType: ("operator" | "system" | "end_user");
|
|
15312
|
+
createdAt: string;
|
|
15313
|
+
productId: string;
|
|
15314
|
+
userAgent: (string | null);
|
|
15315
|
+
targetType: (string | null);
|
|
15316
|
+
}[];
|
|
15317
|
+
nextCursor: (string | null);
|
|
15318
|
+
}
|
|
15319
|
+
interface UsersConfigGetInput {
|
|
15320
|
+
}
|
|
15321
|
+
interface UsersConfigGetOutput {
|
|
15322
|
+
mfa: {
|
|
15323
|
+
/**
|
|
15324
|
+
* Whether a second factor is MANDATORY for this product. When true, a user may not unenroll their last verified factor. Default false.
|
|
15325
|
+
*/
|
|
15326
|
+
required: boolean;
|
|
15327
|
+
/**
|
|
15328
|
+
* How many single-use backup codes a batch contains. Default 10.
|
|
15329
|
+
*/
|
|
15330
|
+
backupCodeCount: number;
|
|
15331
|
+
/**
|
|
15332
|
+
* Mandatory delay on an operator-initiated factor reset, in hours — the abort window the user is emailed. Default 72.
|
|
15333
|
+
*/
|
|
15334
|
+
resetDelayHours: number;
|
|
15335
|
+
/**
|
|
15336
|
+
* How long a passed step-up challenge stays spendable, in minutes. The grant is SINGLE-USE regardless. Default 5.
|
|
15337
|
+
*/
|
|
15338
|
+
stepUpGrantMinutes: number;
|
|
15339
|
+
/**
|
|
15340
|
+
* Wrong BACKUP codes before the account is locked, counted separately from TOTP. Default 5.
|
|
15341
|
+
*/
|
|
15342
|
+
maxBackupCodeAttempts: number;
|
|
15343
|
+
/**
|
|
15344
|
+
* Wrong second-factor codes before the account is locked. Default 5.
|
|
15345
|
+
*/
|
|
15346
|
+
maxSecondFactorAttempts: number;
|
|
15347
|
+
/**
|
|
15348
|
+
* How recently the caller must have authenticated to enroll or regenerate a factor, in minutes. Default 10.
|
|
15349
|
+
*/
|
|
15350
|
+
sensitiveAuthAgeMinutes: number;
|
|
15351
|
+
};
|
|
15352
|
+
email: {
|
|
15353
|
+
/**
|
|
15354
|
+
* Sender for auth email, e.g. "Acme <auth@acme.com>". MUST be on a domain verified in this product's mail toolkit. While it is null, email_code/email_link are not offered as strategies.
|
|
15355
|
+
*/
|
|
15356
|
+
from: (string | null);
|
|
15357
|
+
/**
|
|
15358
|
+
* Offer the 6-digit code strategy (email_code). Default true.
|
|
15359
|
+
*/
|
|
15360
|
+
codeEnabled: boolean;
|
|
15361
|
+
/**
|
|
15362
|
+
* Base URL magic links point at, e.g. "https://public.lessly.com/{productId}/users". Null uses the deployment default.
|
|
15363
|
+
*/
|
|
15364
|
+
linkBaseUrl: (string | null);
|
|
15365
|
+
/**
|
|
15366
|
+
* Offer the magic-link strategy (email_link). Default true.
|
|
15367
|
+
*/
|
|
15368
|
+
linkEnabled: boolean;
|
|
15369
|
+
/**
|
|
15370
|
+
* How long an emailed code or link stays usable, in minutes. Default 15.
|
|
15371
|
+
*/
|
|
15372
|
+
codeTtlMinutes: number;
|
|
15373
|
+
/**
|
|
15374
|
+
* Auth emails one address may receive per day. Default 10.
|
|
15375
|
+
*/
|
|
15376
|
+
resendDailyCap: number;
|
|
15377
|
+
/**
|
|
15378
|
+
* Wrong-code entries allowed per token before it is spent. Default 5.
|
|
15379
|
+
*/
|
|
15380
|
+
maxCodeAttempts: number;
|
|
15381
|
+
/**
|
|
15382
|
+
* Minimum seconds between two auth emails to one address. Floor of 60 is enforced regardless. Default 60.
|
|
15383
|
+
*/
|
|
15384
|
+
resendCooldownSeconds: number;
|
|
15385
|
+
};
|
|
15386
|
+
oauth: {
|
|
15387
|
+
providers: {
|
|
15388
|
+
github: UsersConfigGetOutputGoogle;
|
|
15389
|
+
google: UsersConfigGetOutputGoogle;
|
|
15390
|
+
};
|
|
15391
|
+
};
|
|
15392
|
+
hosted: {
|
|
15393
|
+
/**
|
|
15394
|
+
* Serve the hosted sign-in, sign-up and recovery pages for this product. Default true. False answers those routes with a refusal page instead — for a product that ships its own frontend and wants no second front door.
|
|
15395
|
+
*/
|
|
15396
|
+
enabled: boolean;
|
|
15397
|
+
/**
|
|
15398
|
+
* Absolute https URL of a logo rendered above the form. Null renders no logo.
|
|
15399
|
+
*/
|
|
15400
|
+
logoUrl: (string | null);
|
|
15401
|
+
/**
|
|
15402
|
+
* Terms link rendered in the footer. Null renders no link.
|
|
15403
|
+
*/
|
|
15404
|
+
termsUrl: (string | null);
|
|
15405
|
+
/**
|
|
15406
|
+
* CSS colour of the body text.
|
|
15407
|
+
*/
|
|
15408
|
+
textColor: string;
|
|
15409
|
+
/**
|
|
15410
|
+
* One line under the card. Null renders no footer.
|
|
15411
|
+
*/
|
|
15412
|
+
footerText: (string | null);
|
|
15413
|
+
/**
|
|
15414
|
+
* Privacy-policy link rendered in the footer. Null renders no link.
|
|
15415
|
+
*/
|
|
15416
|
+
privacyUrl: (string | null);
|
|
15417
|
+
/**
|
|
15418
|
+
* CSS colour for the submit button, the links and the focus ring.
|
|
15419
|
+
*/
|
|
15420
|
+
accentColor: string;
|
|
15421
|
+
/**
|
|
15422
|
+
* Shown in the heading and the page title. Default "This product".
|
|
15423
|
+
*/
|
|
15424
|
+
productName: string;
|
|
15425
|
+
/**
|
|
15426
|
+
* CSS length for the card and its controls, e.g. "12px".
|
|
15427
|
+
*/
|
|
15428
|
+
borderRadius: string;
|
|
15429
|
+
/**
|
|
15430
|
+
* CSS colour of the card itself.
|
|
15431
|
+
*/
|
|
15432
|
+
surfaceColor: string;
|
|
15433
|
+
/**
|
|
15434
|
+
* CSS colour of secondary text and hints.
|
|
15435
|
+
*/
|
|
15436
|
+
mutedTextColor: string;
|
|
15437
|
+
/**
|
|
15438
|
+
* CSS colour of the page behind the card.
|
|
15439
|
+
*/
|
|
15440
|
+
backgroundColor: string;
|
|
15441
|
+
};
|
|
15442
|
+
invite: {
|
|
15443
|
+
/**
|
|
15444
|
+
* How long an invite link stays usable, in days. Default 14.
|
|
15445
|
+
*/
|
|
15446
|
+
ttlDays: number;
|
|
15447
|
+
/**
|
|
15448
|
+
* Minimum minutes between two invite emails to one address. Default 60.
|
|
15449
|
+
*/
|
|
15450
|
+
resendCooldownMinutes: number;
|
|
15451
|
+
};
|
|
15452
|
+
status: ("active" | "paused");
|
|
15453
|
+
captcha: {
|
|
15454
|
+
enabled: boolean;
|
|
15455
|
+
siteKey: (string | null);
|
|
15456
|
+
provider: "turnstile";
|
|
15457
|
+
riskElevated: boolean;
|
|
15458
|
+
};
|
|
15459
|
+
recovery: {
|
|
15460
|
+
/**
|
|
15461
|
+
* Offer the password-recovery flow at all. Default true.
|
|
15462
|
+
*/
|
|
15463
|
+
enabled: boolean;
|
|
15464
|
+
/**
|
|
15465
|
+
* How long a reset link stays usable, in minutes. Default 60.
|
|
15466
|
+
*/
|
|
15467
|
+
ttlMinutes: number;
|
|
15468
|
+
};
|
|
15469
|
+
testMode: {
|
|
15470
|
+
/**
|
|
15471
|
+
* Opt this product into test mode. Refused outright on a production deployment — the environment gate is checked first and cannot be configured away. Turning it on is audited and raises an alert. Default false.
|
|
15472
|
+
*/
|
|
15473
|
+
enabled: boolean;
|
|
15474
|
+
};
|
|
15475
|
+
waitlist: {
|
|
15476
|
+
/**
|
|
15477
|
+
* The embeddable widget’s copy and colours.
|
|
15478
|
+
*/
|
|
15479
|
+
widget: {
|
|
15480
|
+
/**
|
|
15481
|
+
* Heading above the widget form.
|
|
15482
|
+
*/
|
|
15483
|
+
title: string;
|
|
15484
|
+
/**
|
|
15485
|
+
* Link rendered beside the consent text. Null renders no link.
|
|
15486
|
+
*/
|
|
15487
|
+
policyUrl: (string | null);
|
|
15488
|
+
/**
|
|
15489
|
+
* CSS colour for the button and the focus ring.
|
|
15490
|
+
*/
|
|
15491
|
+
accentColor: string;
|
|
15492
|
+
/**
|
|
15493
|
+
* Submit button copy.
|
|
15494
|
+
*/
|
|
15495
|
+
buttonLabel: string;
|
|
15496
|
+
/**
|
|
15497
|
+
* Consent checkbox copy. Null renders no checkbox, and the signup records the consent proof as `unspecified`.
|
|
15498
|
+
*/
|
|
15499
|
+
consentText: (string | null);
|
|
15500
|
+
/**
|
|
15501
|
+
* One line under the heading.
|
|
15502
|
+
*/
|
|
15503
|
+
description: string;
|
|
15504
|
+
/**
|
|
15505
|
+
* The privacy-policy version the widget records in each consent proof.
|
|
15506
|
+
*/
|
|
15507
|
+
policyVersion: string;
|
|
15508
|
+
/**
|
|
15509
|
+
* Shown after a submission. ONE message for every outcome: the signup route answers identically whether or not the address was already on the list.
|
|
15510
|
+
*/
|
|
15511
|
+
successMessage: string;
|
|
15512
|
+
};
|
|
15513
|
+
/**
|
|
15514
|
+
* Require a confirmation email before a waitlist signup counts. Default false — the entry is created either way, but an unconfirmed one is reported separately and is never invited.
|
|
15515
|
+
*/
|
|
15516
|
+
doubleOptIn: boolean;
|
|
15517
|
+
/**
|
|
15518
|
+
* How long a still-pending waitlist entry is kept before the sweep erases it. Default 365.
|
|
15519
|
+
*/
|
|
15520
|
+
retentionDays: number;
|
|
15521
|
+
/**
|
|
15522
|
+
* How long a double-opt-in confirmation link stays usable, in hours. Default 48.
|
|
15523
|
+
*/
|
|
15524
|
+
confirmTtlHours: number;
|
|
15525
|
+
};
|
|
15526
|
+
productId: string;
|
|
15527
|
+
retention: {
|
|
15528
|
+
/**
|
|
15529
|
+
* How long an EXPIRED flow attempt is kept after its own expiry. Default 0 — swept as soon as it dies, which is what the reaper did before this window existed.
|
|
15530
|
+
*/
|
|
15531
|
+
flowAttemptDays: number;
|
|
15532
|
+
/**
|
|
15533
|
+
* How long a SPENT or EXPIRED one-time token row (an OTP, a magic link, a recovery or abort token) is kept after it stops being usable, for forensics. The secret is a hash and the row is already dead — this only decides how long the trail lives. Default 30.
|
|
15534
|
+
*/
|
|
15535
|
+
oneTimeTokenDays: number;
|
|
15536
|
+
/**
|
|
15537
|
+
* How long an EXPIRED session and its refresh tokens are kept after expiry. Zero does not shorten any lifetime: a session past either window can never be refreshed again, so the row is already inert. Default 0.
|
|
15538
|
+
*/
|
|
15539
|
+
expiredSessionDays: number;
|
|
15540
|
+
};
|
|
15541
|
+
protection: {
|
|
15542
|
+
/**
|
|
15543
|
+
* Check passwords against the HaveIBeenPwned breach corpus (k-anonymity). Blocking at sign-up, advisory at sign-in. Default true.
|
|
15544
|
+
*/
|
|
15545
|
+
hibpEnabled: boolean;
|
|
15546
|
+
/**
|
|
15547
|
+
* How long an account stays locked. Self-healing — the lock expires on its own. Default 15.
|
|
15548
|
+
*/
|
|
15549
|
+
lockoutMinutes: number;
|
|
15550
|
+
/**
|
|
15551
|
+
* Failed sign-ins for one identifier before the account is locked. Default 10.
|
|
15552
|
+
*/
|
|
15553
|
+
maxFailedAttempts: number;
|
|
15554
|
+
/**
|
|
15555
|
+
* Flow calls allowed per IP per product per window before HTTP 429. Default 120.
|
|
15556
|
+
*/
|
|
15557
|
+
ipAttemptsPerWindow: number;
|
|
15558
|
+
/**
|
|
15559
|
+
* Sliding window the failed sign-ins are counted over, in minutes. Default 15.
|
|
15560
|
+
*/
|
|
15561
|
+
failedAttemptWindowMinutes: number;
|
|
15562
|
+
/**
|
|
15563
|
+
* Flow calls allowed per identifier per window before HTTP 429. Default 30.
|
|
15564
|
+
*/
|
|
15565
|
+
identifierAttemptsPerWindow: number;
|
|
15566
|
+
};
|
|
15567
|
+
signupMode: ("public" | "invite-only" | "waitlist");
|
|
15568
|
+
emailChange: {
|
|
15569
|
+
/**
|
|
15570
|
+
* Allow end users to change their email address. Default true.
|
|
15571
|
+
*/
|
|
15572
|
+
enabled: boolean;
|
|
15573
|
+
/**
|
|
15574
|
+
* How long after a REVERT further email changes are refused, in days. Default 7.
|
|
15575
|
+
*/
|
|
15576
|
+
cooldownDays: number;
|
|
15577
|
+
/**
|
|
15578
|
+
* How long the old address may undo the change, in days. Default 30.
|
|
15579
|
+
*/
|
|
15580
|
+
revertTtlDays: number;
|
|
15581
|
+
/**
|
|
15582
|
+
* How long the two confirmation links stay usable, in hours. Default 24.
|
|
15583
|
+
*/
|
|
15584
|
+
requestTtlHours: number;
|
|
15585
|
+
/**
|
|
15586
|
+
* Mandatory delay on an operator-assisted override, in hours — the abort window the old address is notified with. Default 72.
|
|
15587
|
+
*/
|
|
15588
|
+
overrideDelayHours: number;
|
|
15589
|
+
};
|
|
15590
|
+
notifications: {
|
|
15591
|
+
/**
|
|
15592
|
+
* Email the user the first time a session appears from an unseen device. Default true.
|
|
15593
|
+
*/
|
|
15594
|
+
newDevice: boolean;
|
|
15595
|
+
/**
|
|
15596
|
+
* Email the old address when an email change is requested, completed, reverted or overridden. Default true.
|
|
15597
|
+
*/
|
|
15598
|
+
emailChange: boolean;
|
|
15599
|
+
/**
|
|
15600
|
+
* Email the user when an operator impersonates their account. Default true.
|
|
15601
|
+
*/
|
|
15602
|
+
impersonation: boolean;
|
|
15603
|
+
/**
|
|
15604
|
+
* Email the user when their password is set or changed. Default true.
|
|
15605
|
+
*/
|
|
15606
|
+
passwordChanged: boolean;
|
|
15607
|
+
};
|
|
15608
|
+
allowedOrigins: string[];
|
|
15609
|
+
passwordPolicy: {
|
|
15610
|
+
/**
|
|
15611
|
+
* Minimum password length. Default 8.
|
|
15612
|
+
*/
|
|
15613
|
+
minLength: number;
|
|
15614
|
+
/**
|
|
15615
|
+
* Require at least one digit.
|
|
15616
|
+
*/
|
|
15617
|
+
requireNumber: boolean;
|
|
15618
|
+
/**
|
|
15619
|
+
* Require at least one non-alphanumeric character.
|
|
15620
|
+
*/
|
|
15621
|
+
requireSymbol: boolean;
|
|
15622
|
+
/**
|
|
15623
|
+
* Require at least one uppercase letter.
|
|
15624
|
+
*/
|
|
15625
|
+
requireUppercase: boolean;
|
|
15626
|
+
};
|
|
15627
|
+
sessionTtlHours: number;
|
|
15628
|
+
lifecycleBlocked: boolean;
|
|
15629
|
+
lifecycleArchived: boolean;
|
|
15630
|
+
refreshSlidingDays: number;
|
|
15631
|
+
refreshAbsoluteDays: number;
|
|
15632
|
+
redirectUriAllowlist: string[];
|
|
15633
|
+
accessTokenTtlMinutes: number;
|
|
15634
|
+
captchaSecretConfigured: boolean;
|
|
15635
|
+
}
|
|
15636
|
+
interface UsersConfigGetOutputGoogle {
|
|
15637
|
+
enabled: boolean;
|
|
15638
|
+
clientId: (string | null);
|
|
15639
|
+
secretConfigured: boolean;
|
|
15640
|
+
}
|
|
15641
|
+
interface UsersConfigUpsertInput {
|
|
15642
|
+
/**
|
|
15643
|
+
* MFA settings: backup-code batch size, the operator-reset delay, how fresh authentication must be to enroll, and the second-factor lockout ceilings. Merged field-by-field.
|
|
15644
|
+
*/
|
|
15645
|
+
mfa?: {
|
|
15646
|
+
/**
|
|
15647
|
+
* Whether a second factor is MANDATORY for this product. When true, a user may not unenroll their last verified factor. Default false.
|
|
15648
|
+
*/
|
|
15649
|
+
required?: boolean;
|
|
15650
|
+
/**
|
|
15651
|
+
* How many single-use backup codes a batch contains. Default 10.
|
|
15652
|
+
*/
|
|
15653
|
+
backupCodeCount?: number;
|
|
15654
|
+
/**
|
|
15655
|
+
* Mandatory delay on an operator-initiated factor reset, in hours — the abort window the user is emailed. Default 72.
|
|
15656
|
+
*/
|
|
15657
|
+
resetDelayHours?: number;
|
|
15658
|
+
/**
|
|
15659
|
+
* How long a passed step-up challenge stays spendable, in minutes. The grant is SINGLE-USE regardless. Default 5.
|
|
15660
|
+
*/
|
|
15661
|
+
stepUpGrantMinutes?: number;
|
|
15662
|
+
/**
|
|
15663
|
+
* Wrong BACKUP codes before the account is locked, counted separately from TOTP. Default 5.
|
|
15664
|
+
*/
|
|
15665
|
+
maxBackupCodeAttempts?: number;
|
|
15666
|
+
/**
|
|
15667
|
+
* Wrong second-factor codes before the account is locked. Default 5.
|
|
15668
|
+
*/
|
|
15669
|
+
maxSecondFactorAttempts?: number;
|
|
15670
|
+
/**
|
|
15671
|
+
* How recently the caller must have authenticated to enroll or regenerate a factor, in minutes. Default 10.
|
|
15672
|
+
*/
|
|
15673
|
+
sensitiveAuthAgeMinutes?: number;
|
|
15674
|
+
};
|
|
15675
|
+
/**
|
|
15676
|
+
* Email OTP / magic-link settings. Merged field-by-field. Set `email.from` to a sender on a domain verified in this product's mail toolkit — until then the email strategies are not offered.
|
|
15677
|
+
*/
|
|
15678
|
+
email?: {
|
|
15679
|
+
/**
|
|
15680
|
+
* Sender for auth email, e.g. "Acme <auth@acme.com>". MUST be on a domain verified in this product's mail toolkit. While it is null, email_code/email_link are not offered as strategies.
|
|
15681
|
+
*/
|
|
15682
|
+
from?: (string | null);
|
|
15683
|
+
/**
|
|
15684
|
+
* Offer the 6-digit code strategy (email_code). Default true.
|
|
15685
|
+
*/
|
|
15686
|
+
codeEnabled?: boolean;
|
|
15687
|
+
/**
|
|
15688
|
+
* Base URL magic links point at, e.g. "https://public.lessly.com/{productId}/users". Null uses the deployment default.
|
|
15689
|
+
*/
|
|
15690
|
+
linkBaseUrl?: (string | null);
|
|
15691
|
+
/**
|
|
15692
|
+
* Offer the magic-link strategy (email_link). Default true.
|
|
15693
|
+
*/
|
|
15694
|
+
linkEnabled?: boolean;
|
|
15695
|
+
/**
|
|
15696
|
+
* How long an emailed code or link stays usable, in minutes. Default 15.
|
|
15697
|
+
*/
|
|
15698
|
+
codeTtlMinutes?: number;
|
|
15699
|
+
/**
|
|
15700
|
+
* Auth emails one address may receive per day. Default 10.
|
|
15701
|
+
*/
|
|
15702
|
+
resendDailyCap?: number;
|
|
15703
|
+
/**
|
|
15704
|
+
* Wrong-code entries allowed per token before it is spent. Default 5.
|
|
15705
|
+
*/
|
|
15706
|
+
maxCodeAttempts?: number;
|
|
15707
|
+
/**
|
|
15708
|
+
* Minimum seconds between two auth emails to one address. Floor of 60 is enforced regardless. Default 60.
|
|
15709
|
+
*/
|
|
15710
|
+
resendCooldownSeconds?: number;
|
|
15711
|
+
};
|
|
15712
|
+
/**
|
|
15713
|
+
* OAuth provider credentials and switches, per provider. Merged field-by-field. A provider is offered as a sign-in strategy only when it is enabled AND a full client id + secret pair resolves — from here, or from the deployment's shared development credentials.
|
|
15714
|
+
*/
|
|
15715
|
+
oauth?: {
|
|
15716
|
+
github?: UsersConfigUpsertInputGoogle;
|
|
15717
|
+
/**
|
|
15718
|
+
* Google sign-in credentials and switch.
|
|
15719
|
+
*/
|
|
15720
|
+
google?: {
|
|
15721
|
+
/**
|
|
15722
|
+
* Offer this provider as a sign-in strategy.
|
|
15723
|
+
*/
|
|
15724
|
+
enabled?: boolean;
|
|
15725
|
+
/**
|
|
15726
|
+
* The OAuth client id from the provider console. Pass null to clear it and fall back to the deployment's shared development credentials, if it has any.
|
|
15727
|
+
*/
|
|
15728
|
+
clientId?: (string | null);
|
|
15729
|
+
/**
|
|
15730
|
+
* WRITE-ONLY. The OAuth client secret; stored encrypted and never returned. Omit to leave the stored secret untouched, pass null to clear it.
|
|
15731
|
+
*/
|
|
15732
|
+
clientSecret?: (string | null);
|
|
15733
|
+
};
|
|
15734
|
+
};
|
|
15735
|
+
/**
|
|
15736
|
+
* The hosted sign-in / sign-up / recovery pages: whether they are served, and the product name, logo, colours and footer links they render with. Merged field-by-field, so setting one colour leaves the rest alone.
|
|
15737
|
+
*/
|
|
15738
|
+
hosted?: {
|
|
15739
|
+
/**
|
|
15740
|
+
* Serve the hosted sign-in, sign-up and recovery pages for this product. Default true. False answers those routes with a refusal page instead — for a product that ships its own frontend and wants no second front door.
|
|
15741
|
+
*/
|
|
15742
|
+
enabled?: boolean;
|
|
15743
|
+
/**
|
|
15744
|
+
* Absolute https URL of a logo rendered above the form. Null renders no logo.
|
|
15745
|
+
*/
|
|
15746
|
+
logoUrl?: (string | null);
|
|
15747
|
+
/**
|
|
15748
|
+
* Terms link rendered in the footer. Null renders no link.
|
|
15749
|
+
*/
|
|
15750
|
+
termsUrl?: (string | null);
|
|
15751
|
+
/**
|
|
15752
|
+
* CSS colour of the body text.
|
|
15753
|
+
*/
|
|
15754
|
+
textColor?: string;
|
|
15755
|
+
/**
|
|
15756
|
+
* One line under the card. Null renders no footer.
|
|
15757
|
+
*/
|
|
15758
|
+
footerText?: (string | null);
|
|
15759
|
+
/**
|
|
15760
|
+
* Privacy-policy link rendered in the footer. Null renders no link.
|
|
15761
|
+
*/
|
|
15762
|
+
privacyUrl?: (string | null);
|
|
15763
|
+
/**
|
|
15764
|
+
* CSS colour for the submit button, the links and the focus ring.
|
|
15765
|
+
*/
|
|
15766
|
+
accentColor?: string;
|
|
15767
|
+
/**
|
|
15768
|
+
* Shown in the heading and the page title. Default "This product".
|
|
15769
|
+
*/
|
|
15770
|
+
productName?: string;
|
|
15771
|
+
/**
|
|
15772
|
+
* CSS length for the card and its controls, e.g. "12px".
|
|
15773
|
+
*/
|
|
15774
|
+
borderRadius?: string;
|
|
15775
|
+
/**
|
|
15776
|
+
* CSS colour of the card itself.
|
|
15777
|
+
*/
|
|
15778
|
+
surfaceColor?: string;
|
|
15779
|
+
/**
|
|
15780
|
+
* CSS colour of secondary text and hints.
|
|
15781
|
+
*/
|
|
15782
|
+
mutedTextColor?: string;
|
|
15783
|
+
/**
|
|
15784
|
+
* CSS colour of the page behind the card.
|
|
15785
|
+
*/
|
|
15786
|
+
backgroundColor?: string;
|
|
15787
|
+
};
|
|
15788
|
+
/**
|
|
15789
|
+
* Invite lifetime and re-invite cooldown. Merged field-by-field.
|
|
15790
|
+
*/
|
|
15791
|
+
invite?: {
|
|
15792
|
+
/**
|
|
15793
|
+
* How long an invite link stays usable, in days. Default 14.
|
|
15794
|
+
*/
|
|
15795
|
+
ttlDays?: number;
|
|
15796
|
+
/**
|
|
15797
|
+
* Minimum minutes between two invite emails to one address. Default 60.
|
|
15798
|
+
*/
|
|
15799
|
+
resendCooldownMinutes?: number;
|
|
15800
|
+
};
|
|
15801
|
+
/**
|
|
15802
|
+
* Captcha (Cloudflare Turnstile) settings for flow creation. Merged field-by-field.
|
|
15803
|
+
*/
|
|
15804
|
+
captcha?: {
|
|
15805
|
+
/**
|
|
15806
|
+
* Require a captcha token when a flow attempt is created.
|
|
15807
|
+
*/
|
|
15808
|
+
enabled?: boolean;
|
|
15809
|
+
/**
|
|
15810
|
+
* The public site key the Product renders the widget with.
|
|
15811
|
+
*/
|
|
15812
|
+
siteKey?: (string | null);
|
|
15813
|
+
/**
|
|
15814
|
+
* WRITE-ONLY. The provider secret used server-side to verify tokens; stored encrypted and never returned. Omit to leave the stored secret untouched, pass null to clear it.
|
|
15815
|
+
*/
|
|
15816
|
+
secretKey?: (string | null);
|
|
15817
|
+
/**
|
|
15818
|
+
* Demand a captcha from an identifier that is currently accumulating failed attempts, even when `enabled` is false. Default true.
|
|
15819
|
+
*/
|
|
15820
|
+
riskElevated?: boolean;
|
|
15821
|
+
};
|
|
15822
|
+
/**
|
|
15823
|
+
* Password-recovery settings (whether it is offered, how long a reset link lives). Merged field-by-field.
|
|
15824
|
+
*/
|
|
15825
|
+
recovery?: {
|
|
15826
|
+
/**
|
|
15827
|
+
* Offer the password-recovery flow at all. Default true.
|
|
15828
|
+
*/
|
|
15829
|
+
enabled?: boolean;
|
|
15830
|
+
/**
|
|
15831
|
+
* How long a reset link stays usable, in minutes. Default 60.
|
|
15832
|
+
*/
|
|
15833
|
+
ttlMinutes?: number;
|
|
15834
|
+
};
|
|
15835
|
+
/**
|
|
15836
|
+
* Test mode: whether this product may have TEST USERS — accounts that are excluded from metering, kept out of the default directory listing, never really emailed, and (when the deployment sets one) able to sign in with the fixed magic OTP. REFUSED on a production deployment. Merged field-by-field.
|
|
15837
|
+
*/
|
|
15838
|
+
testMode?: {
|
|
15839
|
+
/**
|
|
15840
|
+
* Opt this product into test mode. Refused outright on a production deployment — the environment gate is checked first and cannot be configured away. Turning it on is audited and raises an alert. Default false.
|
|
15841
|
+
*/
|
|
15842
|
+
enabled?: boolean;
|
|
15843
|
+
};
|
|
15844
|
+
/**
|
|
15845
|
+
* Waitlist settings: the double-opt-in toggle, how long a pending entry is retained before the sweep erases it, the confirmation link lifetime, and the embeddable widget’s copy and colours. Merged field-by-field, including inside `widget`.
|
|
15846
|
+
*/
|
|
15847
|
+
waitlist?: {
|
|
15848
|
+
/**
|
|
15849
|
+
* The embeddable widget’s copy and colours. Merged field-by-field, so setting one line leaves the rest alone.
|
|
15850
|
+
*/
|
|
15851
|
+
widget?: {
|
|
15852
|
+
/**
|
|
15853
|
+
* Heading above the widget form.
|
|
15854
|
+
*/
|
|
15855
|
+
title?: string;
|
|
15856
|
+
/**
|
|
15857
|
+
* Link rendered beside the consent text. Null renders no link.
|
|
15858
|
+
*/
|
|
15859
|
+
policyUrl?: (string | null);
|
|
15860
|
+
/**
|
|
15861
|
+
* CSS colour for the button and the focus ring.
|
|
15862
|
+
*/
|
|
15863
|
+
accentColor?: string;
|
|
15864
|
+
/**
|
|
15865
|
+
* Submit button copy.
|
|
15866
|
+
*/
|
|
15867
|
+
buttonLabel?: string;
|
|
15868
|
+
/**
|
|
15869
|
+
* Consent checkbox copy. Null renders no checkbox, and the signup records the consent proof as `unspecified`.
|
|
15870
|
+
*/
|
|
15871
|
+
consentText?: (string | null);
|
|
15872
|
+
/**
|
|
15873
|
+
* One line under the heading.
|
|
15874
|
+
*/
|
|
15875
|
+
description?: string;
|
|
15876
|
+
/**
|
|
15877
|
+
* The privacy-policy version the widget records in each consent proof.
|
|
15878
|
+
*/
|
|
15879
|
+
policyVersion?: string;
|
|
15880
|
+
/**
|
|
15881
|
+
* Shown after a submission. ONE message for every outcome: the signup route answers identically whether or not the address was already on the list.
|
|
15882
|
+
*/
|
|
15883
|
+
successMessage?: string;
|
|
15884
|
+
};
|
|
15885
|
+
/**
|
|
15886
|
+
* Require a confirmation email before a waitlist signup counts. Default false — the entry is created either way, but an unconfirmed one is reported separately and is never invited.
|
|
15887
|
+
*/
|
|
15888
|
+
doubleOptIn?: boolean;
|
|
15889
|
+
/**
|
|
15890
|
+
* How long a still-pending waitlist entry is kept before the sweep erases it. Default 365.
|
|
15891
|
+
*/
|
|
15892
|
+
retentionDays?: number;
|
|
15893
|
+
/**
|
|
15894
|
+
* How long a double-opt-in confirmation link stays usable, in hours. Default 48.
|
|
15895
|
+
*/
|
|
15896
|
+
confirmTtlHours?: number;
|
|
15897
|
+
};
|
|
15898
|
+
/**
|
|
15899
|
+
* How long DEAD rows are kept before the retention sweep removes them: spent one-time tokens, expired flow attempts, expired sessions and their refresh tokens. These are grace periods on top of expiry, never lifetimes — an unswept expired row is inert. Merged field-by-field.
|
|
15900
|
+
*/
|
|
15901
|
+
retention?: {
|
|
15902
|
+
/**
|
|
15903
|
+
* How long an EXPIRED flow attempt is kept after its own expiry. Default 0 — swept as soon as it dies, which is what the reaper did before this window existed.
|
|
15904
|
+
*/
|
|
15905
|
+
flowAttemptDays?: number;
|
|
15906
|
+
/**
|
|
15907
|
+
* How long a SPENT or EXPIRED one-time token row (an OTP, a magic link, a recovery or abort token) is kept after it stops being usable, for forensics. The secret is a hash and the row is already dead — this only decides how long the trail lives. Default 30.
|
|
15908
|
+
*/
|
|
15909
|
+
oneTimeTokenDays?: number;
|
|
15910
|
+
/**
|
|
15911
|
+
* How long an EXPIRED session and its refresh tokens are kept after expiry. Zero does not shorten any lifetime: a session past either window can never be refreshed again, so the row is already inert. Default 0.
|
|
15912
|
+
*/
|
|
15913
|
+
expiredSessionDays?: number;
|
|
15914
|
+
};
|
|
15915
|
+
/**
|
|
15916
|
+
* Rate limits, lockout and breached-password settings. Merged field-by-field.
|
|
15917
|
+
*/
|
|
15918
|
+
protection?: {
|
|
15919
|
+
/**
|
|
15920
|
+
* Check passwords against the HaveIBeenPwned breach corpus (k-anonymity). Blocking at sign-up, advisory at sign-in. Default true.
|
|
15921
|
+
*/
|
|
15922
|
+
hibpEnabled?: boolean;
|
|
15923
|
+
/**
|
|
15924
|
+
* How long an account stays locked. Self-healing — the lock expires on its own. Default 15.
|
|
15925
|
+
*/
|
|
15926
|
+
lockoutMinutes?: number;
|
|
15927
|
+
/**
|
|
15928
|
+
* Failed sign-ins for one identifier before the account is locked. Default 10.
|
|
15929
|
+
*/
|
|
15930
|
+
maxFailedAttempts?: number;
|
|
15931
|
+
/**
|
|
15932
|
+
* Flow calls allowed per IP per product per window before HTTP 429. Default 120.
|
|
15933
|
+
*/
|
|
15934
|
+
ipAttemptsPerWindow?: number;
|
|
15935
|
+
/**
|
|
15936
|
+
* Sliding window the failed sign-ins are counted over, in minutes. Default 15.
|
|
15937
|
+
*/
|
|
15938
|
+
failedAttemptWindowMinutes?: number;
|
|
15939
|
+
/**
|
|
15940
|
+
* Flow calls allowed per identifier per window before HTTP 429. Default 30.
|
|
15941
|
+
*/
|
|
15942
|
+
identifierAttemptsPerWindow?: number;
|
|
15943
|
+
};
|
|
15944
|
+
/**
|
|
15945
|
+
* How end users may join this product: 'public' (anyone), 'invite-only', or 'waitlist'. Default 'public'.
|
|
15946
|
+
*/
|
|
15947
|
+
signupMode?: ("public" | "invite-only" | "waitlist");
|
|
15948
|
+
/**
|
|
15949
|
+
* Email-change settings: confirmation lifetime, the old address's revert window, the post-revert cooldown and the operator-override delay. Merged field-by-field.
|
|
15950
|
+
*/
|
|
15951
|
+
emailChange?: {
|
|
15952
|
+
/**
|
|
15953
|
+
* Allow end users to change their email address. Default true.
|
|
15954
|
+
*/
|
|
15955
|
+
enabled?: boolean;
|
|
15956
|
+
/**
|
|
15957
|
+
* How long after a REVERT further email changes are refused, in days. Default 7.
|
|
15958
|
+
*/
|
|
15959
|
+
cooldownDays?: number;
|
|
15960
|
+
/**
|
|
15961
|
+
* How long the old address may undo the change, in days. Default 30.
|
|
15962
|
+
*/
|
|
15963
|
+
revertTtlDays?: number;
|
|
15964
|
+
/**
|
|
15965
|
+
* How long the two confirmation links stay usable, in hours. Default 24.
|
|
15966
|
+
*/
|
|
15967
|
+
requestTtlHours?: number;
|
|
15968
|
+
/**
|
|
15969
|
+
* Mandatory delay on an operator-assisted override, in hours — the abort window the old address is notified with. Default 72.
|
|
15970
|
+
*/
|
|
15971
|
+
overrideDelayHours?: number;
|
|
15972
|
+
};
|
|
15973
|
+
/**
|
|
15974
|
+
* Which security notification emails this product sends. All on by default. Merged field-by-field.
|
|
15975
|
+
*/
|
|
15976
|
+
notifications?: {
|
|
15977
|
+
/**
|
|
15978
|
+
* Email the user the first time a session appears from an unseen device. Default true.
|
|
15979
|
+
*/
|
|
15980
|
+
newDevice?: boolean;
|
|
15981
|
+
/**
|
|
15982
|
+
* Email the old address when an email change is requested, completed, reverted or overridden. Default true.
|
|
15983
|
+
*/
|
|
15984
|
+
emailChange?: boolean;
|
|
15985
|
+
/**
|
|
15986
|
+
* Email the user when an operator impersonates their account. Default true.
|
|
15987
|
+
*/
|
|
15988
|
+
impersonation?: boolean;
|
|
15989
|
+
/**
|
|
15990
|
+
* Email the user when their password is set or changed. Default true.
|
|
15991
|
+
*/
|
|
15992
|
+
passwordChanged?: boolean;
|
|
15993
|
+
};
|
|
15994
|
+
/**
|
|
15995
|
+
* Browser origins allowed to drive this product's end-user flows, up to 20. Scheme + host + port only, matched exactly. Replaces the whole list. Empty means "no browser origin" once this product has a publishable key.
|
|
15996
|
+
*
|
|
15997
|
+
* @maxItems 20
|
|
15998
|
+
*/
|
|
15999
|
+
allowedOrigins?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
16000
|
+
/**
|
|
16001
|
+
* Password rules for this product. Merged field-by-field into the current policy.
|
|
16002
|
+
*/
|
|
16003
|
+
passwordPolicy?: {
|
|
16004
|
+
/**
|
|
16005
|
+
* Minimum password length. Default 8.
|
|
16006
|
+
*/
|
|
16007
|
+
minLength?: number;
|
|
16008
|
+
/**
|
|
16009
|
+
* Require at least one digit.
|
|
16010
|
+
*/
|
|
16011
|
+
requireNumber?: boolean;
|
|
16012
|
+
/**
|
|
16013
|
+
* Require at least one non-alphanumeric character.
|
|
16014
|
+
*/
|
|
16015
|
+
requireSymbol?: boolean;
|
|
16016
|
+
/**
|
|
16017
|
+
* Require at least one uppercase letter.
|
|
16018
|
+
*/
|
|
16019
|
+
requireUppercase?: boolean;
|
|
16020
|
+
};
|
|
16021
|
+
/**
|
|
16022
|
+
* End-user session lifetime in hours. Default 720 (30 days).
|
|
16023
|
+
*/
|
|
16024
|
+
sessionTtlHours?: number;
|
|
16025
|
+
/**
|
|
16026
|
+
* Inactivity window of a session in days — every refresh slides it forward. Default 30.
|
|
16027
|
+
*/
|
|
16028
|
+
refreshSlidingDays?: number;
|
|
16029
|
+
/**
|
|
16030
|
+
* Hard time-box of a session in days, counted from sign-in and never extended. Default 365.
|
|
16031
|
+
*/
|
|
16032
|
+
refreshAbsoluteDays?: number;
|
|
16033
|
+
/**
|
|
16034
|
+
* Callback URIs the browser code handoff may deliver a one-time authorization code to, up to 20. Matched EXACTLY — no wildcards, no prefixes, no fragments — so list every callback in full. Replaces the whole list.
|
|
16035
|
+
*
|
|
16036
|
+
* @maxItems 20
|
|
16037
|
+
*/
|
|
16038
|
+
redirectUriAllowlist?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
|
|
16039
|
+
/**
|
|
16040
|
+
* Access JWT lifetime in minutes, 5-60. Default 10. Short on purpose: a revoked session dies within one TTL.
|
|
16041
|
+
*/
|
|
16042
|
+
accessTokenTtlMinutes?: number;
|
|
16043
|
+
}
|
|
16044
|
+
/**
|
|
16045
|
+
* GitHub sign-in credentials and switch.
|
|
16046
|
+
*/
|
|
16047
|
+
interface UsersConfigUpsertInputGoogle {
|
|
16048
|
+
/**
|
|
16049
|
+
* Offer this provider as a sign-in strategy.
|
|
16050
|
+
*/
|
|
16051
|
+
enabled?: boolean;
|
|
16052
|
+
/**
|
|
16053
|
+
* The OAuth client id from the provider console. Pass null to clear it and fall back to the deployment's shared development credentials, if it has any.
|
|
16054
|
+
*/
|
|
16055
|
+
clientId?: (string | null);
|
|
16056
|
+
/**
|
|
16057
|
+
* WRITE-ONLY. The OAuth client secret; stored encrypted and never returned. Omit to leave the stored secret untouched, pass null to clear it.
|
|
16058
|
+
*/
|
|
16059
|
+
clientSecret?: (string | null);
|
|
16060
|
+
}
|
|
16061
|
+
interface UsersConfigUpsertOutput {
|
|
16062
|
+
mfa: {
|
|
16063
|
+
/**
|
|
16064
|
+
* Whether a second factor is MANDATORY for this product. When true, a user may not unenroll their last verified factor. Default false.
|
|
16065
|
+
*/
|
|
16066
|
+
required: boolean;
|
|
16067
|
+
/**
|
|
16068
|
+
* How many single-use backup codes a batch contains. Default 10.
|
|
16069
|
+
*/
|
|
16070
|
+
backupCodeCount: number;
|
|
16071
|
+
/**
|
|
16072
|
+
* Mandatory delay on an operator-initiated factor reset, in hours — the abort window the user is emailed. Default 72.
|
|
16073
|
+
*/
|
|
16074
|
+
resetDelayHours: number;
|
|
16075
|
+
/**
|
|
16076
|
+
* How long a passed step-up challenge stays spendable, in minutes. The grant is SINGLE-USE regardless. Default 5.
|
|
16077
|
+
*/
|
|
16078
|
+
stepUpGrantMinutes: number;
|
|
16079
|
+
/**
|
|
16080
|
+
* Wrong BACKUP codes before the account is locked, counted separately from TOTP. Default 5.
|
|
16081
|
+
*/
|
|
16082
|
+
maxBackupCodeAttempts: number;
|
|
16083
|
+
/**
|
|
16084
|
+
* Wrong second-factor codes before the account is locked. Default 5.
|
|
16085
|
+
*/
|
|
16086
|
+
maxSecondFactorAttempts: number;
|
|
16087
|
+
/**
|
|
16088
|
+
* How recently the caller must have authenticated to enroll or regenerate a factor, in minutes. Default 10.
|
|
16089
|
+
*/
|
|
16090
|
+
sensitiveAuthAgeMinutes: number;
|
|
16091
|
+
};
|
|
16092
|
+
email: {
|
|
16093
|
+
/**
|
|
16094
|
+
* Sender for auth email, e.g. "Acme <auth@acme.com>". MUST be on a domain verified in this product's mail toolkit. While it is null, email_code/email_link are not offered as strategies.
|
|
16095
|
+
*/
|
|
16096
|
+
from: (string | null);
|
|
16097
|
+
/**
|
|
16098
|
+
* Offer the 6-digit code strategy (email_code). Default true.
|
|
16099
|
+
*/
|
|
16100
|
+
codeEnabled: boolean;
|
|
16101
|
+
/**
|
|
16102
|
+
* Base URL magic links point at, e.g. "https://public.lessly.com/{productId}/users". Null uses the deployment default.
|
|
16103
|
+
*/
|
|
16104
|
+
linkBaseUrl: (string | null);
|
|
16105
|
+
/**
|
|
16106
|
+
* Offer the magic-link strategy (email_link). Default true.
|
|
16107
|
+
*/
|
|
16108
|
+
linkEnabled: boolean;
|
|
16109
|
+
/**
|
|
16110
|
+
* How long an emailed code or link stays usable, in minutes. Default 15.
|
|
16111
|
+
*/
|
|
16112
|
+
codeTtlMinutes: number;
|
|
16113
|
+
/**
|
|
16114
|
+
* Auth emails one address may receive per day. Default 10.
|
|
16115
|
+
*/
|
|
16116
|
+
resendDailyCap: number;
|
|
16117
|
+
/**
|
|
16118
|
+
* Wrong-code entries allowed per token before it is spent. Default 5.
|
|
16119
|
+
*/
|
|
16120
|
+
maxCodeAttempts: number;
|
|
16121
|
+
/**
|
|
16122
|
+
* Minimum seconds between two auth emails to one address. Floor of 60 is enforced regardless. Default 60.
|
|
16123
|
+
*/
|
|
16124
|
+
resendCooldownSeconds: number;
|
|
16125
|
+
};
|
|
16126
|
+
oauth: {
|
|
16127
|
+
providers: {
|
|
16128
|
+
github: UsersConfigUpsertOutputGoogle;
|
|
16129
|
+
google: UsersConfigUpsertOutputGoogle;
|
|
16130
|
+
};
|
|
16131
|
+
};
|
|
16132
|
+
hosted: {
|
|
16133
|
+
/**
|
|
16134
|
+
* Serve the hosted sign-in, sign-up and recovery pages for this product. Default true. False answers those routes with a refusal page instead — for a product that ships its own frontend and wants no second front door.
|
|
16135
|
+
*/
|
|
16136
|
+
enabled: boolean;
|
|
16137
|
+
/**
|
|
16138
|
+
* Absolute https URL of a logo rendered above the form. Null renders no logo.
|
|
16139
|
+
*/
|
|
16140
|
+
logoUrl: (string | null);
|
|
16141
|
+
/**
|
|
16142
|
+
* Terms link rendered in the footer. Null renders no link.
|
|
16143
|
+
*/
|
|
16144
|
+
termsUrl: (string | null);
|
|
16145
|
+
/**
|
|
16146
|
+
* CSS colour of the body text.
|
|
16147
|
+
*/
|
|
16148
|
+
textColor: string;
|
|
16149
|
+
/**
|
|
16150
|
+
* One line under the card. Null renders no footer.
|
|
16151
|
+
*/
|
|
16152
|
+
footerText: (string | null);
|
|
16153
|
+
/**
|
|
16154
|
+
* Privacy-policy link rendered in the footer. Null renders no link.
|
|
16155
|
+
*/
|
|
16156
|
+
privacyUrl: (string | null);
|
|
16157
|
+
/**
|
|
16158
|
+
* CSS colour for the submit button, the links and the focus ring.
|
|
16159
|
+
*/
|
|
16160
|
+
accentColor: string;
|
|
16161
|
+
/**
|
|
16162
|
+
* Shown in the heading and the page title. Default "This product".
|
|
16163
|
+
*/
|
|
16164
|
+
productName: string;
|
|
16165
|
+
/**
|
|
16166
|
+
* CSS length for the card and its controls, e.g. "12px".
|
|
16167
|
+
*/
|
|
16168
|
+
borderRadius: string;
|
|
16169
|
+
/**
|
|
16170
|
+
* CSS colour of the card itself.
|
|
16171
|
+
*/
|
|
16172
|
+
surfaceColor: string;
|
|
16173
|
+
/**
|
|
16174
|
+
* CSS colour of secondary text and hints.
|
|
16175
|
+
*/
|
|
16176
|
+
mutedTextColor: string;
|
|
16177
|
+
/**
|
|
16178
|
+
* CSS colour of the page behind the card.
|
|
16179
|
+
*/
|
|
16180
|
+
backgroundColor: string;
|
|
16181
|
+
};
|
|
16182
|
+
invite: {
|
|
16183
|
+
/**
|
|
16184
|
+
* How long an invite link stays usable, in days. Default 14.
|
|
16185
|
+
*/
|
|
16186
|
+
ttlDays: number;
|
|
16187
|
+
/**
|
|
16188
|
+
* Minimum minutes between two invite emails to one address. Default 60.
|
|
16189
|
+
*/
|
|
16190
|
+
resendCooldownMinutes: number;
|
|
16191
|
+
};
|
|
16192
|
+
status: ("active" | "paused");
|
|
16193
|
+
captcha: {
|
|
16194
|
+
enabled: boolean;
|
|
16195
|
+
siteKey: (string | null);
|
|
16196
|
+
provider: "turnstile";
|
|
16197
|
+
riskElevated: boolean;
|
|
16198
|
+
};
|
|
16199
|
+
recovery: {
|
|
16200
|
+
/**
|
|
16201
|
+
* Offer the password-recovery flow at all. Default true.
|
|
16202
|
+
*/
|
|
16203
|
+
enabled: boolean;
|
|
16204
|
+
/**
|
|
16205
|
+
* How long a reset link stays usable, in minutes. Default 60.
|
|
16206
|
+
*/
|
|
16207
|
+
ttlMinutes: number;
|
|
16208
|
+
};
|
|
16209
|
+
testMode: {
|
|
16210
|
+
/**
|
|
16211
|
+
* Opt this product into test mode. Refused outright on a production deployment — the environment gate is checked first and cannot be configured away. Turning it on is audited and raises an alert. Default false.
|
|
16212
|
+
*/
|
|
16213
|
+
enabled: boolean;
|
|
16214
|
+
};
|
|
16215
|
+
waitlist: {
|
|
16216
|
+
/**
|
|
16217
|
+
* The embeddable widget’s copy and colours.
|
|
16218
|
+
*/
|
|
16219
|
+
widget: {
|
|
16220
|
+
/**
|
|
16221
|
+
* Heading above the widget form.
|
|
16222
|
+
*/
|
|
16223
|
+
title: string;
|
|
16224
|
+
/**
|
|
16225
|
+
* Link rendered beside the consent text. Null renders no link.
|
|
16226
|
+
*/
|
|
16227
|
+
policyUrl: (string | null);
|
|
16228
|
+
/**
|
|
16229
|
+
* CSS colour for the button and the focus ring.
|
|
16230
|
+
*/
|
|
16231
|
+
accentColor: string;
|
|
16232
|
+
/**
|
|
16233
|
+
* Submit button copy.
|
|
16234
|
+
*/
|
|
16235
|
+
buttonLabel: string;
|
|
16236
|
+
/**
|
|
16237
|
+
* Consent checkbox copy. Null renders no checkbox, and the signup records the consent proof as `unspecified`.
|
|
16238
|
+
*/
|
|
16239
|
+
consentText: (string | null);
|
|
16240
|
+
/**
|
|
16241
|
+
* One line under the heading.
|
|
16242
|
+
*/
|
|
16243
|
+
description: string;
|
|
16244
|
+
/**
|
|
16245
|
+
* The privacy-policy version the widget records in each consent proof.
|
|
16246
|
+
*/
|
|
16247
|
+
policyVersion: string;
|
|
16248
|
+
/**
|
|
16249
|
+
* Shown after a submission. ONE message for every outcome: the signup route answers identically whether or not the address was already on the list.
|
|
16250
|
+
*/
|
|
16251
|
+
successMessage: string;
|
|
16252
|
+
};
|
|
16253
|
+
/**
|
|
16254
|
+
* Require a confirmation email before a waitlist signup counts. Default false — the entry is created either way, but an unconfirmed one is reported separately and is never invited.
|
|
16255
|
+
*/
|
|
16256
|
+
doubleOptIn: boolean;
|
|
16257
|
+
/**
|
|
16258
|
+
* How long a still-pending waitlist entry is kept before the sweep erases it. Default 365.
|
|
16259
|
+
*/
|
|
16260
|
+
retentionDays: number;
|
|
16261
|
+
/**
|
|
16262
|
+
* How long a double-opt-in confirmation link stays usable, in hours. Default 48.
|
|
16263
|
+
*/
|
|
16264
|
+
confirmTtlHours: number;
|
|
16265
|
+
};
|
|
16266
|
+
productId: string;
|
|
16267
|
+
retention: {
|
|
16268
|
+
/**
|
|
16269
|
+
* How long an EXPIRED flow attempt is kept after its own expiry. Default 0 — swept as soon as it dies, which is what the reaper did before this window existed.
|
|
16270
|
+
*/
|
|
16271
|
+
flowAttemptDays: number;
|
|
16272
|
+
/**
|
|
16273
|
+
* How long a SPENT or EXPIRED one-time token row (an OTP, a magic link, a recovery or abort token) is kept after it stops being usable, for forensics. The secret is a hash and the row is already dead — this only decides how long the trail lives. Default 30.
|
|
16274
|
+
*/
|
|
16275
|
+
oneTimeTokenDays: number;
|
|
16276
|
+
/**
|
|
16277
|
+
* How long an EXPIRED session and its refresh tokens are kept after expiry. Zero does not shorten any lifetime: a session past either window can never be refreshed again, so the row is already inert. Default 0.
|
|
16278
|
+
*/
|
|
16279
|
+
expiredSessionDays: number;
|
|
16280
|
+
};
|
|
16281
|
+
protection: {
|
|
16282
|
+
/**
|
|
16283
|
+
* Check passwords against the HaveIBeenPwned breach corpus (k-anonymity). Blocking at sign-up, advisory at sign-in. Default true.
|
|
16284
|
+
*/
|
|
16285
|
+
hibpEnabled: boolean;
|
|
16286
|
+
/**
|
|
16287
|
+
* How long an account stays locked. Self-healing — the lock expires on its own. Default 15.
|
|
16288
|
+
*/
|
|
16289
|
+
lockoutMinutes: number;
|
|
16290
|
+
/**
|
|
16291
|
+
* Failed sign-ins for one identifier before the account is locked. Default 10.
|
|
16292
|
+
*/
|
|
16293
|
+
maxFailedAttempts: number;
|
|
16294
|
+
/**
|
|
16295
|
+
* Flow calls allowed per IP per product per window before HTTP 429. Default 120.
|
|
16296
|
+
*/
|
|
16297
|
+
ipAttemptsPerWindow: number;
|
|
16298
|
+
/**
|
|
16299
|
+
* Sliding window the failed sign-ins are counted over, in minutes. Default 15.
|
|
16300
|
+
*/
|
|
16301
|
+
failedAttemptWindowMinutes: number;
|
|
16302
|
+
/**
|
|
16303
|
+
* Flow calls allowed per identifier per window before HTTP 429. Default 30.
|
|
16304
|
+
*/
|
|
16305
|
+
identifierAttemptsPerWindow: number;
|
|
16306
|
+
};
|
|
16307
|
+
signupMode: ("public" | "invite-only" | "waitlist");
|
|
16308
|
+
emailChange: {
|
|
16309
|
+
/**
|
|
16310
|
+
* Allow end users to change their email address. Default true.
|
|
16311
|
+
*/
|
|
16312
|
+
enabled: boolean;
|
|
16313
|
+
/**
|
|
16314
|
+
* How long after a REVERT further email changes are refused, in days. Default 7.
|
|
16315
|
+
*/
|
|
16316
|
+
cooldownDays: number;
|
|
16317
|
+
/**
|
|
16318
|
+
* How long the old address may undo the change, in days. Default 30.
|
|
16319
|
+
*/
|
|
16320
|
+
revertTtlDays: number;
|
|
16321
|
+
/**
|
|
16322
|
+
* How long the two confirmation links stay usable, in hours. Default 24.
|
|
16323
|
+
*/
|
|
16324
|
+
requestTtlHours: number;
|
|
16325
|
+
/**
|
|
16326
|
+
* Mandatory delay on an operator-assisted override, in hours — the abort window the old address is notified with. Default 72.
|
|
16327
|
+
*/
|
|
16328
|
+
overrideDelayHours: number;
|
|
16329
|
+
};
|
|
16330
|
+
notifications: {
|
|
16331
|
+
/**
|
|
16332
|
+
* Email the user the first time a session appears from an unseen device. Default true.
|
|
16333
|
+
*/
|
|
16334
|
+
newDevice: boolean;
|
|
16335
|
+
/**
|
|
16336
|
+
* Email the old address when an email change is requested, completed, reverted or overridden. Default true.
|
|
16337
|
+
*/
|
|
16338
|
+
emailChange: boolean;
|
|
16339
|
+
/**
|
|
16340
|
+
* Email the user when an operator impersonates their account. Default true.
|
|
16341
|
+
*/
|
|
16342
|
+
impersonation: boolean;
|
|
16343
|
+
/**
|
|
16344
|
+
* Email the user when their password is set or changed. Default true.
|
|
16345
|
+
*/
|
|
16346
|
+
passwordChanged: boolean;
|
|
16347
|
+
};
|
|
16348
|
+
allowedOrigins: string[];
|
|
16349
|
+
passwordPolicy: {
|
|
16350
|
+
/**
|
|
16351
|
+
* Minimum password length. Default 8.
|
|
16352
|
+
*/
|
|
16353
|
+
minLength: number;
|
|
16354
|
+
/**
|
|
16355
|
+
* Require at least one digit.
|
|
16356
|
+
*/
|
|
16357
|
+
requireNumber: boolean;
|
|
16358
|
+
/**
|
|
16359
|
+
* Require at least one non-alphanumeric character.
|
|
16360
|
+
*/
|
|
16361
|
+
requireSymbol: boolean;
|
|
16362
|
+
/**
|
|
16363
|
+
* Require at least one uppercase letter.
|
|
16364
|
+
*/
|
|
16365
|
+
requireUppercase: boolean;
|
|
16366
|
+
};
|
|
16367
|
+
sessionTtlHours: number;
|
|
16368
|
+
lifecycleBlocked: boolean;
|
|
16369
|
+
lifecycleArchived: boolean;
|
|
16370
|
+
refreshSlidingDays: number;
|
|
16371
|
+
refreshAbsoluteDays: number;
|
|
16372
|
+
redirectUriAllowlist: string[];
|
|
16373
|
+
accessTokenTtlMinutes: number;
|
|
16374
|
+
captchaSecretConfigured: boolean;
|
|
16375
|
+
}
|
|
16376
|
+
interface UsersConfigUpsertOutputGoogle {
|
|
16377
|
+
enabled: boolean;
|
|
16378
|
+
clientId: (string | null);
|
|
16379
|
+
secretConfigured: boolean;
|
|
16380
|
+
}
|
|
16381
|
+
interface UsersFactorsListInput {
|
|
16382
|
+
/**
|
|
16383
|
+
* The end user whose enrolled factors to list.
|
|
16384
|
+
*/
|
|
16385
|
+
userId: string;
|
|
16386
|
+
}
|
|
16387
|
+
interface UsersFactorsListOutput {
|
|
16388
|
+
factors: {
|
|
16389
|
+
type: ("totp" | "backup_codes");
|
|
16390
|
+
status: ("unverified" | "verified");
|
|
16391
|
+
createdAt: string;
|
|
16392
|
+
remaining: (number | null);
|
|
16393
|
+
lastUsedAt: (string | null);
|
|
16394
|
+
verifiedAt: (string | null);
|
|
16395
|
+
}[];
|
|
16396
|
+
}
|
|
16397
|
+
interface UsersFactorsResetInput {
|
|
16398
|
+
/**
|
|
16399
|
+
* What identity proofing was done and under which ticket. Recorded verbatim in the audit row — this is the whole point of the tool being audited.
|
|
16400
|
+
*/
|
|
16401
|
+
reason: string;
|
|
16402
|
+
/**
|
|
16403
|
+
* The end user whose second factor is being reset.
|
|
16404
|
+
*/
|
|
16405
|
+
userId: string;
|
|
16406
|
+
}
|
|
16407
|
+
interface UsersFactorsResetOutput {
|
|
16408
|
+
requestId: string;
|
|
16409
|
+
scheduledFor: string;
|
|
16410
|
+
}
|
|
16411
|
+
interface UsersKeysListInput {
|
|
16412
|
+
}
|
|
16413
|
+
interface UsersKeysListOutput {
|
|
16414
|
+
keys: {
|
|
16415
|
+
/**
|
|
16416
|
+
* The RFC 7638 JWK thumbprint — what a token header carries.
|
|
16417
|
+
*/
|
|
16418
|
+
kid: string;
|
|
16419
|
+
/**
|
|
16420
|
+
* `standby` is pre-generated and not published; `current` signs; `retired` is still in JWKS for the overlap; `revoked` was evicted.
|
|
16421
|
+
*/
|
|
16422
|
+
state: ("standby" | "current" | "retired" | "revoked");
|
|
16423
|
+
createdAt: string;
|
|
16424
|
+
retiredAt: (string | null);
|
|
16425
|
+
revokedAt: (string | null);
|
|
16426
|
+
/**
|
|
16427
|
+
* When a retired key leaves JWKS. Null unless the key is retired.
|
|
16428
|
+
*/
|
|
16429
|
+
overlapExpiresAt: (string | null);
|
|
16430
|
+
}[];
|
|
16431
|
+
}
|
|
16432
|
+
interface UsersKeysRevokeInput {
|
|
16433
|
+
/**
|
|
16434
|
+
* The key to evict, as listed by users_keys_list.
|
|
16435
|
+
*/
|
|
16436
|
+
kid: string;
|
|
16437
|
+
/**
|
|
16438
|
+
* Why. Goes into the audit row and is the only account of the incident it keeps.
|
|
16439
|
+
*/
|
|
16440
|
+
reason?: string;
|
|
16441
|
+
/**
|
|
16442
|
+
* Sign every end user of this product out as well. Defaults to TRUE: a compromised signing key could have minted any of those sessions. Pass false ONLY when you know no forged token was ever issued.
|
|
16443
|
+
*/
|
|
16444
|
+
revokeSessions?: boolean;
|
|
16445
|
+
}
|
|
16446
|
+
interface UsersKeysRevokeOutput {
|
|
16447
|
+
/**
|
|
16448
|
+
* The fresh key minted or promoted in its place.
|
|
16449
|
+
*/
|
|
16450
|
+
currentKid: string;
|
|
16451
|
+
revokedKid: string;
|
|
16452
|
+
sessionsRevoked: number;
|
|
16453
|
+
}
|
|
16454
|
+
interface UsersKeysRotateInput {
|
|
16455
|
+
}
|
|
16456
|
+
interface UsersKeysRotateOutput {
|
|
16457
|
+
/**
|
|
16458
|
+
* The key signing from now on.
|
|
16459
|
+
*/
|
|
16460
|
+
currentKid: string;
|
|
16461
|
+
/**
|
|
16462
|
+
* The key just retired. Null if there was none.
|
|
16463
|
+
*/
|
|
16464
|
+
previousKid: (string | null);
|
|
16465
|
+
/**
|
|
16466
|
+
* When the retired key stops verifying. Both kids are in JWKS until then.
|
|
16467
|
+
*/
|
|
16468
|
+
overlapExpiresAt: (string | null);
|
|
16469
|
+
}
|
|
16470
|
+
interface UsersOpsRetentionGetInput {
|
|
16471
|
+
}
|
|
16472
|
+
interface UsersOpsRetentionGetOutput {
|
|
16473
|
+
/**
|
|
16474
|
+
* The single retention job. There is exactly one — it replaced the sessions reaper and the waitlist sweep.
|
|
16475
|
+
*/
|
|
16476
|
+
sweep: {
|
|
16477
|
+
/**
|
|
16478
|
+
* Its schedule, in cron syntax.
|
|
16479
|
+
*/
|
|
16480
|
+
cron: string;
|
|
16481
|
+
/**
|
|
16482
|
+
* What one pass removes, in the order it removes it.
|
|
16483
|
+
*/
|
|
16484
|
+
removes: string[];
|
|
16485
|
+
/**
|
|
16486
|
+
* The Synapse cron function that performs every sweep below.
|
|
16487
|
+
*/
|
|
16488
|
+
functionId: string;
|
|
16489
|
+
};
|
|
16490
|
+
/**
|
|
16491
|
+
* This product’s EFFECTIVE windows — what it configured, with the documented default filling anything it did not.
|
|
16492
|
+
*/
|
|
16493
|
+
windows: {
|
|
16494
|
+
/**
|
|
16495
|
+
* How long an EXPIRED flow attempt is kept after its own expiry. Default 0 — swept as soon as it dies, which is what the reaper did before this window existed.
|
|
16496
|
+
*/
|
|
16497
|
+
flowAttemptDays: number;
|
|
16498
|
+
/**
|
|
16499
|
+
* How long a SPENT or EXPIRED one-time token row (an OTP, a magic link, a recovery or abort token) is kept after it stops being usable, for forensics. The secret is a hash and the row is already dead — this only decides how long the trail lives. Default 30.
|
|
16500
|
+
*/
|
|
16501
|
+
oneTimeTokenDays: number;
|
|
16502
|
+
/**
|
|
16503
|
+
* How long an EXPIRED session and its refresh tokens are kept after expiry. Zero does not shorten any lifetime: a session past either window can never be refreshed again, so the row is already inert. Default 0.
|
|
16504
|
+
*/
|
|
16505
|
+
expiredSessionDays: number;
|
|
16506
|
+
};
|
|
16507
|
+
/**
|
|
16508
|
+
* The documented defaults, so a reader can tell a deliberate window from an inherited one without a second call.
|
|
16509
|
+
*/
|
|
16510
|
+
defaults: {
|
|
16511
|
+
/**
|
|
16512
|
+
* How long an EXPIRED flow attempt is kept after its own expiry. Default 0 — swept as soon as it dies, which is what the reaper did before this window existed.
|
|
16513
|
+
*/
|
|
16514
|
+
flowAttemptDays: number;
|
|
16515
|
+
/**
|
|
16516
|
+
* How long a SPENT or EXPIRED one-time token row (an OTP, a magic link, a recovery or abort token) is kept after it stops being usable, for forensics. The secret is a hash and the row is already dead — this only decides how long the trail lives. Default 30.
|
|
16517
|
+
*/
|
|
16518
|
+
oneTimeTokenDays: number;
|
|
16519
|
+
/**
|
|
16520
|
+
* How long an EXPIRED session and its refresh tokens are kept after expiry. Zero does not shorten any lifetime: a session past either window can never be refreshed again, so the row is already inert. Default 0.
|
|
16521
|
+
*/
|
|
16522
|
+
expiredSessionDays: number;
|
|
16523
|
+
};
|
|
16524
|
+
/**
|
|
16525
|
+
* What this service deliberately keeps forever, and why. Reading a retention surface that lists only what IS deleted is how an operator concludes the audit log ages out — it does not.
|
|
16526
|
+
*/
|
|
16527
|
+
notSwept: {
|
|
16528
|
+
why: string;
|
|
16529
|
+
what: string;
|
|
16530
|
+
}[];
|
|
16531
|
+
/**
|
|
16532
|
+
* How long a still-PENDING waitlist entry is kept. It lives in the `waitlist` config block rather than in `retention`, because it is not a grace period on a dead row: a pending entry never expires on its own, so this window is the whole of what makes it go away — and the sweep ERASES it (audit row, `users/waitlist-entry.erased`) rather than deleting it.
|
|
16533
|
+
*/
|
|
16534
|
+
waitlistRetentionDays: number;
|
|
16535
|
+
}
|
|
16536
|
+
interface UsersOpsSloGetInput {
|
|
16537
|
+
}
|
|
16538
|
+
interface UsersOpsSloGetOutput {
|
|
16539
|
+
/**
|
|
16540
|
+
* Every published objective and its verdict for this window.
|
|
16541
|
+
*/
|
|
16542
|
+
slos: {
|
|
16543
|
+
/**
|
|
16544
|
+
* Stable id of the objective — the key to quote in a runbook.
|
|
16545
|
+
*/
|
|
16546
|
+
id: string;
|
|
16547
|
+
/**
|
|
16548
|
+
* Short human name.
|
|
16549
|
+
*/
|
|
16550
|
+
title: string;
|
|
16551
|
+
/**
|
|
16552
|
+
* `insufficient_data` is NOT `ok`: it means the window is too quiet to judge, which an operator reading a dashboard must be able to tell apart from health.
|
|
16553
|
+
*/
|
|
16554
|
+
status: ("ok" | "breached" | "insufficient_data");
|
|
16555
|
+
/**
|
|
16556
|
+
* How many events went into `observed`.
|
|
16557
|
+
*/
|
|
16558
|
+
samples: number;
|
|
16559
|
+
/**
|
|
16560
|
+
* What this replica sees in the CURRENT window, in the same unit as `objective`. NULL when nothing was observed.
|
|
16561
|
+
*/
|
|
16562
|
+
observed: (number | null);
|
|
16563
|
+
/**
|
|
16564
|
+
* The `users/alert.raised` kind a breach of this objective fires, for wiring an alert route.
|
|
16565
|
+
*/
|
|
16566
|
+
alertKind: string;
|
|
16567
|
+
/**
|
|
16568
|
+
* The published objective, as a ratio in 0..1.
|
|
16569
|
+
*/
|
|
16570
|
+
objective: number;
|
|
16571
|
+
/**
|
|
16572
|
+
* Which side of `objective` is healthy: a success rate is at-least, an error rate at-most.
|
|
16573
|
+
*/
|
|
16574
|
+
comparator: ("at-least" | "at-most");
|
|
16575
|
+
/**
|
|
16576
|
+
* Below this many samples the ratio is not judged at all — a quiet window is not an outage.
|
|
16577
|
+
*/
|
|
16578
|
+
minSamples: number;
|
|
16579
|
+
/**
|
|
16580
|
+
* What is counted, and what is deliberately NOT counted.
|
|
16581
|
+
*/
|
|
16582
|
+
description: string;
|
|
16583
|
+
/**
|
|
16584
|
+
* The window the observation is computed over.
|
|
16585
|
+
*/
|
|
16586
|
+
windowSeconds: number;
|
|
16587
|
+
}[];
|
|
16588
|
+
/**
|
|
16589
|
+
* These numbers come from ONE replica’s in-process window, not from the whole deployment. Treat them as a spot check, not as the fleet’s error budget.
|
|
16590
|
+
*/
|
|
16591
|
+
scope: "replica";
|
|
16592
|
+
/**
|
|
16593
|
+
* The current window, exactly as the alert hook sees it.
|
|
16594
|
+
*/
|
|
16595
|
+
window: {
|
|
16596
|
+
mail: {
|
|
16597
|
+
/**
|
|
16598
|
+
* Auth emails handed to mail (a cooldown or daily cap never reaches this).
|
|
16599
|
+
*/
|
|
16600
|
+
total: number;
|
|
16601
|
+
/**
|
|
16602
|
+
* Of those, the ones mail would not take.
|
|
16603
|
+
*/
|
|
16604
|
+
failures: number;
|
|
16605
|
+
/**
|
|
16606
|
+
* failures / total. NULL when nothing was sent.
|
|
16607
|
+
*/
|
|
16608
|
+
failureRate: (number | null);
|
|
16609
|
+
};
|
|
16610
|
+
signIn: {
|
|
16611
|
+
/**
|
|
16612
|
+
* SETTLED flow attempts — completed or failed. A pending one is neither.
|
|
16613
|
+
*/
|
|
16614
|
+
total: number;
|
|
16615
|
+
/**
|
|
16616
|
+
* Of those, the ones that failed.
|
|
16617
|
+
*/
|
|
16618
|
+
failures: number;
|
|
16619
|
+
/**
|
|
16620
|
+
* completed / settled. NULL, never 0, when nothing settled.
|
|
16621
|
+
*/
|
|
16622
|
+
successRate: (number | null);
|
|
16623
|
+
};
|
|
16624
|
+
refresh: {
|
|
16625
|
+
/**
|
|
16626
|
+
* Refresh attempts.
|
|
16627
|
+
*/
|
|
16628
|
+
total: number;
|
|
16629
|
+
/**
|
|
16630
|
+
* Failed refreshes, detected reuse included.
|
|
16631
|
+
*/
|
|
16632
|
+
errors: number;
|
|
16633
|
+
/**
|
|
16634
|
+
* Detected token REUSE — theft, counted rather than rated.
|
|
16635
|
+
*/
|
|
16636
|
+
reuses: number;
|
|
16637
|
+
/**
|
|
16638
|
+
* errors / total. NULL when nothing was refreshed.
|
|
16639
|
+
*/
|
|
16640
|
+
errorRate: (number | null);
|
|
16641
|
+
};
|
|
16642
|
+
/**
|
|
16643
|
+
* Length of the evaluation window.
|
|
16644
|
+
*/
|
|
16645
|
+
windowSeconds: number;
|
|
16646
|
+
/**
|
|
16647
|
+
* ISO start of the window these numbers belong to.
|
|
16648
|
+
*/
|
|
16649
|
+
windowStartedAt: string;
|
|
16650
|
+
/**
|
|
16651
|
+
* This product’s OWN trailing sign-in failure rate, over CLOSED windows. What the anomaly signal compares the live window against — NULL until at least one window has closed.
|
|
16652
|
+
*/
|
|
16653
|
+
signInFailureBaseline: (number | null);
|
|
16654
|
+
};
|
|
16655
|
+
}
|
|
16656
|
+
interface UsersSessionsGetInput {
|
|
16657
|
+
/**
|
|
16658
|
+
* The session to read.
|
|
16659
|
+
*/
|
|
16660
|
+
sessionId: string;
|
|
16661
|
+
}
|
|
16662
|
+
interface UsersSessionsGetOutput {
|
|
16663
|
+
id: string;
|
|
16664
|
+
ip: (string | null);
|
|
16665
|
+
/**
|
|
16666
|
+
* `aal2` only if a verified second factor completed.
|
|
16667
|
+
*/
|
|
16668
|
+
aal: ("aal1" | "aal2");
|
|
16669
|
+
/**
|
|
16670
|
+
* The factors this session was established with.
|
|
16671
|
+
*/
|
|
16672
|
+
amr: string[];
|
|
16673
|
+
status: ("active" | "revoked");
|
|
16674
|
+
userId: string;
|
|
16675
|
+
createdAt: string;
|
|
16676
|
+
expiresAt: string;
|
|
16677
|
+
revokedAt: (string | null);
|
|
16678
|
+
userAgent: (string | null);
|
|
16679
|
+
revokedReason: (string | null);
|
|
16680
|
+
/**
|
|
16681
|
+
* The operator behind an impersonated session, or null for an ordinary one.
|
|
16682
|
+
*/
|
|
16683
|
+
impersonatedBy: (string | null);
|
|
16684
|
+
lastRefreshedAt: (string | null);
|
|
16685
|
+
absoluteExpiresAt: string;
|
|
16686
|
+
}
|
|
16687
|
+
interface UsersSessionsImpersonateInput {
|
|
16688
|
+
/**
|
|
16689
|
+
* Why. Recorded in the audit trail and shown to the user in the notification email — write what you would want to read in an incident review (a ticket number and one sentence).
|
|
16690
|
+
*/
|
|
16691
|
+
reason: string;
|
|
16692
|
+
/**
|
|
16693
|
+
* The end user to sign in as.
|
|
16694
|
+
*/
|
|
16695
|
+
userId: string;
|
|
16696
|
+
}
|
|
16697
|
+
interface UsersSessionsImpersonateOutput {
|
|
16698
|
+
userId: string;
|
|
16699
|
+
/**
|
|
16700
|
+
* When the session dies. It cannot be extended or refreshed.
|
|
16701
|
+
*/
|
|
16702
|
+
expiresAt: string;
|
|
16703
|
+
/**
|
|
16704
|
+
* Seconds until the access token expires.
|
|
16705
|
+
*/
|
|
16706
|
+
expiresIn: number;
|
|
16707
|
+
sessionId: string;
|
|
16708
|
+
/**
|
|
16709
|
+
* The access JWT of the impersonated session. There is NO refresh token.
|
|
16710
|
+
*/
|
|
16711
|
+
accessToken: string;
|
|
16712
|
+
}
|
|
16713
|
+
interface UsersSessionsListInput {
|
|
16714
|
+
/**
|
|
16715
|
+
* The end user whose sessions to list.
|
|
16716
|
+
*/
|
|
16717
|
+
userId: string;
|
|
16718
|
+
}
|
|
16719
|
+
interface UsersSessionsListOutput {
|
|
16720
|
+
sessions: {
|
|
16721
|
+
id: string;
|
|
16722
|
+
ip: (string | null);
|
|
16723
|
+
status: ("active" | "revoked");
|
|
16724
|
+
userId: string;
|
|
16725
|
+
createdAt: string;
|
|
16726
|
+
expiresAt: string;
|
|
16727
|
+
revokedAt: (string | null);
|
|
16728
|
+
userAgent: (string | null);
|
|
16729
|
+
lastRefreshedAt: (string | null);
|
|
16730
|
+
absoluteExpiresAt: string;
|
|
16731
|
+
}[];
|
|
16732
|
+
}
|
|
16733
|
+
interface UsersSessionsRevokeInput {
|
|
16734
|
+
/**
|
|
16735
|
+
* Revoke every session of this user.
|
|
16736
|
+
*/
|
|
16737
|
+
userId?: string;
|
|
16738
|
+
/**
|
|
16739
|
+
* Revoke exactly this session.
|
|
16740
|
+
*/
|
|
16741
|
+
sessionId?: string;
|
|
16742
|
+
}
|
|
16743
|
+
interface UsersSessionsRevokeOutput {
|
|
16744
|
+
revoked: number;
|
|
16745
|
+
}
|
|
16746
|
+
interface UsersStatsGetInput {
|
|
16747
|
+
/**
|
|
16748
|
+
* Look-back window for the TIME-BOUNDED numbers — the sign-in counters, the abuse block and `sessions.createdInWindow`: '24h', '7d', '30d' or '90d'. Default '7d'. The user, live-session and factor populations are point-in-time and ignore it.
|
|
16749
|
+
*/
|
|
16750
|
+
window?: ("24h" | "7d" | "30d" | "90d");
|
|
16751
|
+
}
|
|
16752
|
+
interface UsersStatsGetOutput {
|
|
16753
|
+
/**
|
|
16754
|
+
* Abuse signals over the window. Denied origins are deliberately absent: that check fires on unauthenticated traffic and is served by logs and metrics, not by per-product audit rows.
|
|
16755
|
+
*/
|
|
16756
|
+
abuse: {
|
|
16757
|
+
/**
|
|
16758
|
+
* Accounts locked by a failed-attempt ceiling — password and second factor both.
|
|
16759
|
+
*/
|
|
16760
|
+
lockouts: number;
|
|
16761
|
+
/**
|
|
16762
|
+
* The subset of `lockouts` caused by the SECOND-factor ceiling.
|
|
16763
|
+
*/
|
|
16764
|
+
mfaLockouts: number;
|
|
16765
|
+
/**
|
|
16766
|
+
* Mirrors `signIns.failed`, so the abuse block reads on its own.
|
|
16767
|
+
*/
|
|
16768
|
+
failedSignIns: number;
|
|
16769
|
+
/**
|
|
16770
|
+
* Breach-corpus matches against a user's password.
|
|
16771
|
+
*/
|
|
16772
|
+
pwnedPasswordsSeen: number;
|
|
16773
|
+
/**
|
|
16774
|
+
* Refresh tokens spent twice outside the grace window — theft, not staleness. Each one revoked a whole session family.
|
|
16775
|
+
*/
|
|
16776
|
+
refreshReuseDetected: number;
|
|
16777
|
+
};
|
|
16778
|
+
/**
|
|
16779
|
+
* ISO start of that window — the `created_at` floor every counter used.
|
|
16780
|
+
*/
|
|
16781
|
+
since: string;
|
|
16782
|
+
/**
|
|
16783
|
+
* Point-in-time directory populations by DERIVED status — `user` has no status column, these are computed from `waitlisted` and the ban/delete/erase timestamps.
|
|
16784
|
+
*/
|
|
16785
|
+
users: {
|
|
16786
|
+
/**
|
|
16787
|
+
* Every directory row, GDPR tombstones included.
|
|
16788
|
+
*/
|
|
16789
|
+
total: number;
|
|
16790
|
+
/**
|
|
16791
|
+
* Full accounts: not waitlisted, not banned, not deleted, not erased.
|
|
16792
|
+
*/
|
|
16793
|
+
active: number;
|
|
16794
|
+
/**
|
|
16795
|
+
* Banned accounts that are still present.
|
|
16796
|
+
*/
|
|
16797
|
+
banned: number;
|
|
16798
|
+
/**
|
|
16799
|
+
* GDPR-erased tombstones: the id survives, the PII does not.
|
|
16800
|
+
*/
|
|
16801
|
+
erased: number;
|
|
16802
|
+
/**
|
|
16803
|
+
* SOFT-deleted and still recoverable — not erased.
|
|
16804
|
+
*/
|
|
16805
|
+
deleted: number;
|
|
16806
|
+
/**
|
|
16807
|
+
* Waitlist signups with no credential yet.
|
|
16808
|
+
*/
|
|
16809
|
+
waitlisted: number;
|
|
16810
|
+
};
|
|
16811
|
+
/**
|
|
16812
|
+
* The window the time-bounded numbers were computed over.
|
|
16813
|
+
*/
|
|
16814
|
+
window: ("24h" | "7d" | "30d" | "90d");
|
|
16815
|
+
/**
|
|
16816
|
+
* Enrolled second factors (TOTP and backup-code batches).
|
|
16817
|
+
*/
|
|
16818
|
+
factors: {
|
|
16819
|
+
/**
|
|
16820
|
+
* VERIFIED second factors; an unverified enrollment gates nothing.
|
|
16821
|
+
*/
|
|
16822
|
+
verified: number;
|
|
16823
|
+
/**
|
|
16824
|
+
* Distinct users holding at least one verified factor.
|
|
16825
|
+
*/
|
|
16826
|
+
usersWithFactor: number;
|
|
16827
|
+
};
|
|
16828
|
+
/**
|
|
16829
|
+
* Sign-in outcomes over the window, from the audit log.
|
|
16830
|
+
*/
|
|
16831
|
+
signIns: {
|
|
16832
|
+
/**
|
|
16833
|
+
* Failed sign-in attempts in the window.
|
|
16834
|
+
*/
|
|
16835
|
+
failed: number;
|
|
16836
|
+
/**
|
|
16837
|
+
* Successful sign-ins in the window.
|
|
16838
|
+
*/
|
|
16839
|
+
succeeded: number;
|
|
16840
|
+
/**
|
|
16841
|
+
* succeeded / (succeeded + failed), 4 decimals. NULL — never 0 — when nothing was attempted: an idle window and a totally broken one are opposite facts.
|
|
16842
|
+
*/
|
|
16843
|
+
successRate: (number | null);
|
|
16844
|
+
};
|
|
16845
|
+
/**
|
|
16846
|
+
* Device sessions.
|
|
16847
|
+
*/
|
|
16848
|
+
sessions: {
|
|
16849
|
+
/**
|
|
16850
|
+
* Live right now: active, unrevoked and inside BOTH the sliding and absolute expiry.
|
|
16851
|
+
*/
|
|
16852
|
+
active: number;
|
|
16853
|
+
/**
|
|
16854
|
+
* Sessions established since `since`.
|
|
16855
|
+
*/
|
|
16856
|
+
createdInWindow: number;
|
|
16857
|
+
};
|
|
16858
|
+
}
|
|
16859
|
+
interface UsersUsersBanInput {
|
|
16860
|
+
/**
|
|
16861
|
+
* The opaque user id returned by users_users_create or _list.
|
|
16862
|
+
*/
|
|
16863
|
+
userId: string;
|
|
16864
|
+
}
|
|
16865
|
+
interface UsersUsersBanOutput {
|
|
16866
|
+
id: string;
|
|
16867
|
+
name: (string | null);
|
|
16868
|
+
bannedAt: (string | null);
|
|
16869
|
+
erasedAt: (string | null);
|
|
16870
|
+
imageUrl: (string | null);
|
|
16871
|
+
testUser: boolean;
|
|
16872
|
+
createdAt: string;
|
|
16873
|
+
deletedAt: (string | null);
|
|
16874
|
+
productId: string;
|
|
16875
|
+
updatedAt: string;
|
|
16876
|
+
waitlisted: boolean;
|
|
16877
|
+
identifiers: {
|
|
16878
|
+
id: string;
|
|
16879
|
+
type: "email";
|
|
16880
|
+
value: string;
|
|
16881
|
+
isPrimary: boolean;
|
|
16882
|
+
verifiedAt: (string | null);
|
|
16883
|
+
valueCanonical: string;
|
|
16884
|
+
verificationStatus: ("unverified" | "verified" | "expired");
|
|
16885
|
+
}[];
|
|
16886
|
+
lockedUntil: (string | null);
|
|
16887
|
+
lastSignInAt: (string | null);
|
|
16888
|
+
requiresReset: boolean;
|
|
16889
|
+
publicMetadata: UsersUsersBanOutputPublicMetadata;
|
|
16890
|
+
unsafeMetadata: UsersUsersBanOutputPublicMetadata;
|
|
16891
|
+
privateMetadata: UsersUsersBanOutputPublicMetadata;
|
|
16892
|
+
emailChangeLockedUntil: (string | null);
|
|
16893
|
+
}
|
|
16894
|
+
interface UsersUsersBanOutputPublicMetadata {
|
|
16895
|
+
[k: string]: unknown;
|
|
16896
|
+
}
|
|
16897
|
+
interface UsersUsersCreateInput {
|
|
16898
|
+
/**
|
|
16899
|
+
* The user's display name.
|
|
16900
|
+
*/
|
|
16901
|
+
name?: string;
|
|
16902
|
+
/**
|
|
16903
|
+
* URL of the user's avatar image.
|
|
16904
|
+
*/
|
|
16905
|
+
imageUrl?: string;
|
|
16906
|
+
/**
|
|
16907
|
+
* Optional credential to store for this user. Hashes only — this toolkit never accepts a plaintext password. Nothing verifies it until Phase 2.
|
|
16908
|
+
*/
|
|
16909
|
+
password?: {
|
|
16910
|
+
/**
|
|
16911
|
+
* A PHC-format password hash (e.g. an argon2id string) to store as-is. Never send a plaintext password.
|
|
16912
|
+
*/
|
|
16913
|
+
phcHash?: string;
|
|
16914
|
+
/**
|
|
16915
|
+
* An imported hash from another system, to be lazily rehashed on the first successful sign-in (Phase 2).
|
|
16916
|
+
*/
|
|
16917
|
+
foreignHash?: string;
|
|
16918
|
+
/**
|
|
16919
|
+
* Algorithm of `foreignHash`. Required when `foreignHash` is set.
|
|
16920
|
+
*/
|
|
16921
|
+
foreignHashAlgo?: ("bcrypt" | "argon2" | "pbkdf2" | "scrypt");
|
|
16922
|
+
};
|
|
16923
|
+
/**
|
|
16924
|
+
* Create this user as a TEST FIXTURE: excluded from metering (it never counts toward retained-users), hidden from the default users_users_list view, never really emailed, and — when the deployment configures one — able to sign in with the fixed magic OTP. REFUSED unless this product has test mode enabled, which a production deployment cannot do. There is no way to set or clear this later. Default false.
|
|
16925
|
+
*/
|
|
16926
|
+
testUser?: boolean;
|
|
16927
|
+
/**
|
|
16928
|
+
* Create the user as a waitlist signup: no way in until promoted. Default false.
|
|
16929
|
+
*/
|
|
16930
|
+
waitlisted?: boolean;
|
|
16931
|
+
/**
|
|
16932
|
+
* The email addresses that reach this user. At least one is required.
|
|
16933
|
+
*
|
|
16934
|
+
* @minItems 1
|
|
16935
|
+
*/
|
|
16936
|
+
identifiers: [
|
|
16937
|
+
{
|
|
16938
|
+
/**
|
|
16939
|
+
* Identifier kind. Only 'email' exists in this phase.
|
|
16940
|
+
*/
|
|
16941
|
+
type: "email";
|
|
16942
|
+
/**
|
|
16943
|
+
* The email address. Stored canonicalised (lowercase, NFC) plus raw for display.
|
|
16944
|
+
*/
|
|
16945
|
+
value: string;
|
|
16946
|
+
/**
|
|
16947
|
+
* Record the identifier as already verified (use for trusted imports). Only ONE verified copy of a value may exist per product; unverified duplicates are allowed. Default false.
|
|
16948
|
+
*/
|
|
16949
|
+
verified?: boolean;
|
|
16950
|
+
/**
|
|
16951
|
+
* Mark as the primary identifier of its type. The first identifier of a type defaults to primary.
|
|
16952
|
+
*/
|
|
16953
|
+
isPrimary?: boolean;
|
|
16954
|
+
},
|
|
16955
|
+
...({
|
|
16956
|
+
/**
|
|
16957
|
+
* Identifier kind. Only 'email' exists in this phase.
|
|
16958
|
+
*/
|
|
16959
|
+
type: "email";
|
|
16960
|
+
/**
|
|
16961
|
+
* The email address. Stored canonicalised (lowercase, NFC) plus raw for display.
|
|
16962
|
+
*/
|
|
16963
|
+
value: string;
|
|
16964
|
+
/**
|
|
16965
|
+
* Record the identifier as already verified (use for trusted imports). Only ONE verified copy of a value may exist per product; unverified duplicates are allowed. Default false.
|
|
16966
|
+
*/
|
|
16967
|
+
verified?: boolean;
|
|
16968
|
+
/**
|
|
16969
|
+
* Mark as the primary identifier of its type. The first identifier of a type defaults to primary.
|
|
16970
|
+
*/
|
|
16971
|
+
isPrimary?: boolean;
|
|
16972
|
+
})[]
|
|
16973
|
+
];
|
|
16974
|
+
/**
|
|
16975
|
+
* Force a password reset before the user can sign in (use for unverifiable imported hashes). Default false.
|
|
16976
|
+
*/
|
|
16977
|
+
requiresReset?: boolean;
|
|
16978
|
+
/**
|
|
16979
|
+
* Metadata the end user may READ and that may flow into the JWT. Management-plane write only.
|
|
16980
|
+
*/
|
|
16981
|
+
publicMetadata?: {
|
|
16982
|
+
[k: string]: unknown;
|
|
16983
|
+
};
|
|
16984
|
+
unsafeMetadata?: UsersUsersCreateInputPublicMetadata;
|
|
16985
|
+
privateMetadata?: UsersUsersCreateInputPublicMetadata1;
|
|
16986
|
+
}
|
|
16987
|
+
/**
|
|
16988
|
+
* Metadata the end user may WRITE in a later phase. Never trust it for authorization.
|
|
16989
|
+
*/
|
|
16990
|
+
interface UsersUsersCreateInputPublicMetadata {
|
|
16991
|
+
[k: string]: unknown;
|
|
16992
|
+
}
|
|
16993
|
+
/**
|
|
16994
|
+
* Metadata visible to the management plane only. Never exposed to the end user.
|
|
16995
|
+
*/
|
|
16996
|
+
interface UsersUsersCreateInputPublicMetadata1 {
|
|
16997
|
+
[k: string]: unknown;
|
|
16998
|
+
}
|
|
16999
|
+
interface UsersUsersCreateOutput {
|
|
17000
|
+
id: string;
|
|
17001
|
+
name: (string | null);
|
|
17002
|
+
bannedAt: (string | null);
|
|
17003
|
+
erasedAt: (string | null);
|
|
17004
|
+
imageUrl: (string | null);
|
|
17005
|
+
testUser: boolean;
|
|
17006
|
+
createdAt: string;
|
|
17007
|
+
deletedAt: (string | null);
|
|
17008
|
+
productId: string;
|
|
17009
|
+
updatedAt: string;
|
|
17010
|
+
waitlisted: boolean;
|
|
17011
|
+
identifiers: {
|
|
17012
|
+
id: string;
|
|
17013
|
+
type: "email";
|
|
17014
|
+
value: string;
|
|
17015
|
+
isPrimary: boolean;
|
|
17016
|
+
verifiedAt: (string | null);
|
|
17017
|
+
valueCanonical: string;
|
|
17018
|
+
verificationStatus: ("unverified" | "verified" | "expired");
|
|
17019
|
+
}[];
|
|
17020
|
+
lockedUntil: (string | null);
|
|
17021
|
+
lastSignInAt: (string | null);
|
|
17022
|
+
requiresReset: boolean;
|
|
17023
|
+
publicMetadata: UsersUsersCreateOutputPublicMetadata;
|
|
17024
|
+
unsafeMetadata: UsersUsersCreateOutputPublicMetadata;
|
|
17025
|
+
privateMetadata: UsersUsersCreateOutputPublicMetadata;
|
|
17026
|
+
emailChangeLockedUntil: (string | null);
|
|
17027
|
+
}
|
|
17028
|
+
interface UsersUsersCreateOutputPublicMetadata {
|
|
17029
|
+
[k: string]: unknown;
|
|
17030
|
+
}
|
|
17031
|
+
interface UsersUsersDeleteInput {
|
|
17032
|
+
/**
|
|
17033
|
+
* The opaque user id returned by users_users_create or _list.
|
|
17034
|
+
*/
|
|
17035
|
+
userId: string;
|
|
17036
|
+
}
|
|
17037
|
+
interface UsersUsersDeleteOutput {
|
|
17038
|
+
id: string;
|
|
17039
|
+
name: (string | null);
|
|
17040
|
+
bannedAt: (string | null);
|
|
17041
|
+
erasedAt: (string | null);
|
|
17042
|
+
imageUrl: (string | null);
|
|
17043
|
+
testUser: boolean;
|
|
17044
|
+
createdAt: string;
|
|
17045
|
+
deletedAt: (string | null);
|
|
17046
|
+
productId: string;
|
|
17047
|
+
updatedAt: string;
|
|
17048
|
+
waitlisted: boolean;
|
|
17049
|
+
identifiers: {
|
|
17050
|
+
id: string;
|
|
17051
|
+
type: "email";
|
|
17052
|
+
value: string;
|
|
17053
|
+
isPrimary: boolean;
|
|
17054
|
+
verifiedAt: (string | null);
|
|
17055
|
+
valueCanonical: string;
|
|
17056
|
+
verificationStatus: ("unverified" | "verified" | "expired");
|
|
17057
|
+
}[];
|
|
17058
|
+
lockedUntil: (string | null);
|
|
17059
|
+
lastSignInAt: (string | null);
|
|
17060
|
+
requiresReset: boolean;
|
|
17061
|
+
publicMetadata: UsersUsersDeleteOutputPublicMetadata;
|
|
17062
|
+
unsafeMetadata: UsersUsersDeleteOutputPublicMetadata;
|
|
17063
|
+
privateMetadata: UsersUsersDeleteOutputPublicMetadata;
|
|
17064
|
+
emailChangeLockedUntil: (string | null);
|
|
17065
|
+
}
|
|
17066
|
+
interface UsersUsersDeleteOutputPublicMetadata {
|
|
17067
|
+
[k: string]: unknown;
|
|
17068
|
+
}
|
|
17069
|
+
interface UsersUsersEraseInput {
|
|
17070
|
+
/**
|
|
17071
|
+
* The opaque user id returned by users_users_create or _list.
|
|
17072
|
+
*/
|
|
17073
|
+
userId: string;
|
|
17074
|
+
}
|
|
17075
|
+
interface UsersUsersEraseOutput {
|
|
17076
|
+
id: string;
|
|
17077
|
+
name: (string | null);
|
|
17078
|
+
bannedAt: (string | null);
|
|
17079
|
+
erasedAt: (string | null);
|
|
17080
|
+
imageUrl: (string | null);
|
|
17081
|
+
testUser: boolean;
|
|
17082
|
+
createdAt: string;
|
|
17083
|
+
deletedAt: (string | null);
|
|
17084
|
+
productId: string;
|
|
17085
|
+
updatedAt: string;
|
|
17086
|
+
waitlisted: boolean;
|
|
17087
|
+
identifiers: {
|
|
17088
|
+
id: string;
|
|
17089
|
+
type: "email";
|
|
17090
|
+
value: string;
|
|
17091
|
+
isPrimary: boolean;
|
|
17092
|
+
verifiedAt: (string | null);
|
|
17093
|
+
valueCanonical: string;
|
|
17094
|
+
verificationStatus: ("unverified" | "verified" | "expired");
|
|
17095
|
+
}[];
|
|
17096
|
+
lockedUntil: (string | null);
|
|
17097
|
+
lastSignInAt: (string | null);
|
|
17098
|
+
requiresReset: boolean;
|
|
17099
|
+
publicMetadata: UsersUsersEraseOutputPublicMetadata;
|
|
17100
|
+
unsafeMetadata: UsersUsersEraseOutputPublicMetadata;
|
|
17101
|
+
privateMetadata: UsersUsersEraseOutputPublicMetadata;
|
|
17102
|
+
emailChangeLockedUntil: (string | null);
|
|
17103
|
+
}
|
|
17104
|
+
interface UsersUsersEraseOutputPublicMetadata {
|
|
17105
|
+
[k: string]: unknown;
|
|
17106
|
+
}
|
|
17107
|
+
interface UsersUsersExportInput {
|
|
17108
|
+
/**
|
|
17109
|
+
* Rows per page, 1-500. Default 100.
|
|
17110
|
+
*/
|
|
17111
|
+
limit?: number;
|
|
17112
|
+
/**
|
|
17113
|
+
* Case-insensitive substring match against the user's identifiers (email) and name.
|
|
17114
|
+
*/
|
|
17115
|
+
query?: string;
|
|
17116
|
+
/**
|
|
17117
|
+
* Opaque cursor from the previous page's `nextCursor`. Omit for the first page.
|
|
17118
|
+
*/
|
|
17119
|
+
cursor?: string;
|
|
17120
|
+
/**
|
|
17121
|
+
* Filter by status: 'active', 'banned' or 'waitlisted'. Omit for all.
|
|
17122
|
+
*/
|
|
17123
|
+
status?: ("active" | "banned" | "waitlisted");
|
|
17124
|
+
/**
|
|
17125
|
+
* Include soft-deleted users. Default false.
|
|
17126
|
+
*/
|
|
17127
|
+
includeDeleted?: boolean;
|
|
17128
|
+
}
|
|
17129
|
+
interface UsersUsersExportOutput {
|
|
17130
|
+
count: number;
|
|
17131
|
+
users: {
|
|
17132
|
+
id: string;
|
|
17133
|
+
name: (string | null);
|
|
17134
|
+
bannedAt: (string | null);
|
|
17135
|
+
erasedAt: (string | null);
|
|
17136
|
+
imageUrl: (string | null);
|
|
17137
|
+
testUser: boolean;
|
|
17138
|
+
createdAt: string;
|
|
17139
|
+
deletedAt: (string | null);
|
|
17140
|
+
productId: string;
|
|
17141
|
+
updatedAt: string;
|
|
17142
|
+
waitlisted: boolean;
|
|
17143
|
+
identifiers: {
|
|
17144
|
+
id: string;
|
|
17145
|
+
type: "email";
|
|
17146
|
+
value: string;
|
|
17147
|
+
isPrimary: boolean;
|
|
17148
|
+
verifiedAt: (string | null);
|
|
17149
|
+
valueCanonical: string;
|
|
17150
|
+
verificationStatus: ("unverified" | "verified" | "expired");
|
|
17151
|
+
}[];
|
|
17152
|
+
lockedUntil: (string | null);
|
|
17153
|
+
lastSignInAt: (string | null);
|
|
17154
|
+
requiresReset: boolean;
|
|
17155
|
+
publicMetadata: UsersUsersExportOutputPublicMetadata;
|
|
17156
|
+
unsafeMetadata: UsersUsersExportOutputPublicMetadata;
|
|
17157
|
+
privateMetadata: UsersUsersExportOutputPublicMetadata;
|
|
17158
|
+
emailChangeLockedUntil: (string | null);
|
|
17159
|
+
}[];
|
|
17160
|
+
exportedAt: string;
|
|
17161
|
+
nextCursor: (string | null);
|
|
17162
|
+
}
|
|
17163
|
+
interface UsersUsersExportOutputPublicMetadata {
|
|
17164
|
+
[k: string]: unknown;
|
|
17165
|
+
}
|
|
17166
|
+
interface UsersUsersGetInput {
|
|
17167
|
+
/**
|
|
17168
|
+
* The opaque user id returned by users_users_create or _list.
|
|
17169
|
+
*/
|
|
17170
|
+
userId: string;
|
|
17171
|
+
}
|
|
17172
|
+
interface UsersUsersGetOutput {
|
|
17173
|
+
id: string;
|
|
17174
|
+
name: (string | null);
|
|
17175
|
+
bannedAt: (string | null);
|
|
17176
|
+
erasedAt: (string | null);
|
|
17177
|
+
imageUrl: (string | null);
|
|
17178
|
+
testUser: boolean;
|
|
17179
|
+
createdAt: string;
|
|
17180
|
+
deletedAt: (string | null);
|
|
17181
|
+
productId: string;
|
|
17182
|
+
updatedAt: string;
|
|
17183
|
+
waitlisted: boolean;
|
|
17184
|
+
identifiers: {
|
|
17185
|
+
id: string;
|
|
17186
|
+
type: "email";
|
|
17187
|
+
value: string;
|
|
17188
|
+
isPrimary: boolean;
|
|
17189
|
+
verifiedAt: (string | null);
|
|
17190
|
+
valueCanonical: string;
|
|
17191
|
+
verificationStatus: ("unverified" | "verified" | "expired");
|
|
17192
|
+
}[];
|
|
17193
|
+
lockedUntil: (string | null);
|
|
17194
|
+
lastSignInAt: (string | null);
|
|
17195
|
+
requiresReset: boolean;
|
|
17196
|
+
publicMetadata: UsersUsersGetOutputPublicMetadata;
|
|
17197
|
+
unsafeMetadata: UsersUsersGetOutputPublicMetadata;
|
|
17198
|
+
privateMetadata: UsersUsersGetOutputPublicMetadata;
|
|
17199
|
+
emailChangeLockedUntil: (string | null);
|
|
17200
|
+
}
|
|
17201
|
+
interface UsersUsersGetOutputPublicMetadata {
|
|
17202
|
+
[k: string]: unknown;
|
|
17203
|
+
}
|
|
17204
|
+
interface UsersUsersImportInput {
|
|
17205
|
+
/**
|
|
17206
|
+
* The users to import, at most 500 per call — batch client-side beyond that. Each row: identifiers (email), optional profile, optional password HASH, optional flags.
|
|
17207
|
+
*
|
|
17208
|
+
* @minItems 1
|
|
17209
|
+
* @maxItems 500
|
|
17210
|
+
*/
|
|
17211
|
+
users: [unknown, ...(unknown)[]];
|
|
17212
|
+
}
|
|
17213
|
+
interface UsersUsersImportOutput {
|
|
17214
|
+
failed: number;
|
|
17215
|
+
created: number;
|
|
17216
|
+
results: {
|
|
17217
|
+
row: number;
|
|
17218
|
+
reason: (string | null);
|
|
17219
|
+
status: ("created" | "skipped" | "failed");
|
|
17220
|
+
userId: (string | null);
|
|
17221
|
+
}[];
|
|
17222
|
+
skipped: number;
|
|
17223
|
+
requested: number;
|
|
17224
|
+
}
|
|
17225
|
+
interface UsersUsersInviteInput {
|
|
17226
|
+
/**
|
|
17227
|
+
* The invitee's display name.
|
|
17228
|
+
*/
|
|
17229
|
+
name?: string;
|
|
17230
|
+
/**
|
|
17231
|
+
* The address to invite. Stored canonicalised (lowercase, NFC) plus raw for display.
|
|
17232
|
+
*/
|
|
17233
|
+
email: string;
|
|
17234
|
+
/**
|
|
17235
|
+
* Metadata the end user may READ and that may flow into the JWT.
|
|
17236
|
+
*/
|
|
17237
|
+
publicMetadata?: {
|
|
17238
|
+
[k: string]: unknown;
|
|
17239
|
+
};
|
|
17240
|
+
/**
|
|
17241
|
+
* Metadata visible to the management plane only. Never exposed to the end user.
|
|
17242
|
+
*/
|
|
17243
|
+
privateMetadata?: {
|
|
17244
|
+
[k: string]: unknown;
|
|
17245
|
+
};
|
|
17246
|
+
}
|
|
17247
|
+
interface UsersUsersInviteOutput {
|
|
17248
|
+
mailed: boolean;
|
|
17249
|
+
userId: string;
|
|
17250
|
+
created: boolean;
|
|
17251
|
+
expiresAt: string;
|
|
17252
|
+
}
|
|
17253
|
+
interface UsersUsersListInput {
|
|
17254
|
+
/**
|
|
17255
|
+
* Page size, 1-100. Default 25.
|
|
17256
|
+
*/
|
|
17257
|
+
limit?: number;
|
|
17258
|
+
/**
|
|
17259
|
+
* Case-insensitive substring match against the user's identifiers (email) and name.
|
|
17260
|
+
*/
|
|
17261
|
+
query?: string;
|
|
17262
|
+
/**
|
|
17263
|
+
* Opaque cursor from a previous response's `nextCursor`. Omit for the first page.
|
|
17264
|
+
*/
|
|
17265
|
+
cursor?: string;
|
|
17266
|
+
/**
|
|
17267
|
+
* Filter by status: 'active' (not banned, not waitlisted), 'banned', or 'waitlisted'. Omit for all.
|
|
17268
|
+
*/
|
|
17269
|
+
status?: ("active" | "banned" | "waitlisted");
|
|
17270
|
+
/**
|
|
17271
|
+
* Include soft-deleted users. Default false — deleted users are hidden.
|
|
17272
|
+
*/
|
|
17273
|
+
includeDeleted?: boolean;
|
|
17274
|
+
/**
|
|
17275
|
+
* Include TEST USERS. Default false: a test user is a fixture, not a customer — it is excluded from metering and from this listing for the same reason. Ask for it explicitly when you are debugging the fixtures themselves.
|
|
17276
|
+
*/
|
|
17277
|
+
includeTestUsers?: boolean;
|
|
17278
|
+
/**
|
|
17279
|
+
* Include waitlist signups. Default false: a waitlisted row is somebody who ASKED to join and cannot sign in, so it is not part of the directory an operator browses. Use `status: "waitlisted"` to see only them, or `users_waitlist_list` for the funnel.
|
|
17280
|
+
*/
|
|
17281
|
+
includeWaitlisted?: boolean;
|
|
17282
|
+
}
|
|
17283
|
+
interface UsersUsersListOutput {
|
|
17284
|
+
users: {
|
|
17285
|
+
id: string;
|
|
17286
|
+
name: (string | null);
|
|
17287
|
+
bannedAt: (string | null);
|
|
17288
|
+
erasedAt: (string | null);
|
|
17289
|
+
imageUrl: (string | null);
|
|
17290
|
+
testUser: boolean;
|
|
17291
|
+
createdAt: string;
|
|
17292
|
+
deletedAt: (string | null);
|
|
17293
|
+
productId: string;
|
|
17294
|
+
updatedAt: string;
|
|
17295
|
+
waitlisted: boolean;
|
|
17296
|
+
identifiers: {
|
|
17297
|
+
id: string;
|
|
17298
|
+
type: "email";
|
|
17299
|
+
value: string;
|
|
17300
|
+
isPrimary: boolean;
|
|
17301
|
+
verifiedAt: (string | null);
|
|
17302
|
+
valueCanonical: string;
|
|
17303
|
+
verificationStatus: ("unverified" | "verified" | "expired");
|
|
17304
|
+
}[];
|
|
17305
|
+
lockedUntil: (string | null);
|
|
17306
|
+
lastSignInAt: (string | null);
|
|
17307
|
+
requiresReset: boolean;
|
|
17308
|
+
publicMetadata: UsersUsersListOutputPublicMetadata;
|
|
17309
|
+
unsafeMetadata: UsersUsersListOutputPublicMetadata;
|
|
17310
|
+
privateMetadata: UsersUsersListOutputPublicMetadata;
|
|
17311
|
+
emailChangeLockedUntil: (string | null);
|
|
17312
|
+
}[];
|
|
17313
|
+
nextCursor: (string | null);
|
|
17314
|
+
}
|
|
17315
|
+
interface UsersUsersListOutputPublicMetadata {
|
|
17316
|
+
[k: string]: unknown;
|
|
17317
|
+
}
|
|
17318
|
+
interface UsersUsersSetPrimaryIdentifierInput {
|
|
17319
|
+
/**
|
|
17320
|
+
* The address to make primary. Must not already belong, verified, to another user of this product.
|
|
17321
|
+
*/
|
|
17322
|
+
email: string;
|
|
17323
|
+
/**
|
|
17324
|
+
* What identity proofing was done and under which ticket. Recorded verbatim in the audit row — this is the whole point of the tool being audited.
|
|
17325
|
+
*/
|
|
17326
|
+
reason: string;
|
|
17327
|
+
/**
|
|
17328
|
+
* The user whose primary email address is being replaced.
|
|
17329
|
+
*/
|
|
17330
|
+
userId: string;
|
|
17331
|
+
}
|
|
17332
|
+
interface UsersUsersSetPrimaryIdentifierOutput {
|
|
17333
|
+
requestId: string;
|
|
17334
|
+
scheduledFor: string;
|
|
17335
|
+
}
|
|
17336
|
+
interface UsersUsersUnbanInput {
|
|
17337
|
+
/**
|
|
17338
|
+
* The opaque user id returned by users_users_create or _list.
|
|
17339
|
+
*/
|
|
17340
|
+
userId: string;
|
|
17341
|
+
}
|
|
17342
|
+
interface UsersUsersUnbanOutput {
|
|
17343
|
+
id: string;
|
|
17344
|
+
name: (string | null);
|
|
17345
|
+
bannedAt: (string | null);
|
|
17346
|
+
erasedAt: (string | null);
|
|
17347
|
+
imageUrl: (string | null);
|
|
17348
|
+
testUser: boolean;
|
|
17349
|
+
createdAt: string;
|
|
17350
|
+
deletedAt: (string | null);
|
|
17351
|
+
productId: string;
|
|
17352
|
+
updatedAt: string;
|
|
17353
|
+
waitlisted: boolean;
|
|
17354
|
+
identifiers: {
|
|
17355
|
+
id: string;
|
|
17356
|
+
type: "email";
|
|
17357
|
+
value: string;
|
|
17358
|
+
isPrimary: boolean;
|
|
17359
|
+
verifiedAt: (string | null);
|
|
17360
|
+
valueCanonical: string;
|
|
17361
|
+
verificationStatus: ("unverified" | "verified" | "expired");
|
|
17362
|
+
}[];
|
|
17363
|
+
lockedUntil: (string | null);
|
|
17364
|
+
lastSignInAt: (string | null);
|
|
17365
|
+
requiresReset: boolean;
|
|
17366
|
+
publicMetadata: UsersUsersUnbanOutputPublicMetadata;
|
|
17367
|
+
unsafeMetadata: UsersUsersUnbanOutputPublicMetadata;
|
|
17368
|
+
privateMetadata: UsersUsersUnbanOutputPublicMetadata;
|
|
17369
|
+
emailChangeLockedUntil: (string | null);
|
|
17370
|
+
}
|
|
17371
|
+
interface UsersUsersUnbanOutputPublicMetadata {
|
|
17372
|
+
[k: string]: unknown;
|
|
17373
|
+
}
|
|
17374
|
+
interface UsersUsersUpdateInput {
|
|
17375
|
+
/**
|
|
17376
|
+
* The user's display name. Pass null to clear.
|
|
17377
|
+
*/
|
|
17378
|
+
name?: (string | null);
|
|
17379
|
+
/**
|
|
17380
|
+
* The user to update.
|
|
17381
|
+
*/
|
|
17382
|
+
userId: string;
|
|
17383
|
+
/**
|
|
17384
|
+
* URL of the user's avatar image. Pass null to clear.
|
|
17385
|
+
*/
|
|
17386
|
+
imageUrl?: (string | null);
|
|
17387
|
+
/**
|
|
17388
|
+
* Whether the user is still a waitlist signup.
|
|
17389
|
+
*/
|
|
17390
|
+
waitlisted?: boolean;
|
|
17391
|
+
/**
|
|
17392
|
+
* ISO-8601 timestamp of a temporary, self-healing lockout — the failed-attempt ceiling sets it and it expires on its own. Pass null to unlock the account immediately (audited as `user.unlocked`).
|
|
17393
|
+
*/
|
|
17394
|
+
lockedUntil?: (string | null);
|
|
17395
|
+
/**
|
|
17396
|
+
* Whether the user must reset their password before signing in.
|
|
17397
|
+
*/
|
|
17398
|
+
requiresReset?: boolean;
|
|
17399
|
+
/**
|
|
17400
|
+
* REPLACES the whole public metadata bag. Management-plane write, end-user read.
|
|
17401
|
+
*/
|
|
17402
|
+
publicMetadata?: {
|
|
17403
|
+
[k: string]: unknown;
|
|
17404
|
+
};
|
|
17405
|
+
unsafeMetadata?: UsersUsersUpdateInputPublicMetadata;
|
|
17406
|
+
privateMetadata?: UsersUsersUpdateInputPublicMetadata1;
|
|
17407
|
+
}
|
|
17408
|
+
/**
|
|
17409
|
+
* REPLACES the whole unsafe metadata bag. End-user writable in a later phase; never authoritative.
|
|
17410
|
+
*/
|
|
17411
|
+
interface UsersUsersUpdateInputPublicMetadata {
|
|
17412
|
+
[k: string]: unknown;
|
|
17413
|
+
}
|
|
17414
|
+
/**
|
|
17415
|
+
* REPLACES the whole private metadata bag. Management plane only.
|
|
17416
|
+
*/
|
|
17417
|
+
interface UsersUsersUpdateInputPublicMetadata1 {
|
|
17418
|
+
[k: string]: unknown;
|
|
17419
|
+
}
|
|
17420
|
+
interface UsersUsersUpdateOutput {
|
|
17421
|
+
id: string;
|
|
17422
|
+
name: (string | null);
|
|
17423
|
+
bannedAt: (string | null);
|
|
17424
|
+
erasedAt: (string | null);
|
|
17425
|
+
imageUrl: (string | null);
|
|
17426
|
+
testUser: boolean;
|
|
17427
|
+
createdAt: string;
|
|
17428
|
+
deletedAt: (string | null);
|
|
17429
|
+
productId: string;
|
|
17430
|
+
updatedAt: string;
|
|
17431
|
+
waitlisted: boolean;
|
|
17432
|
+
identifiers: {
|
|
17433
|
+
id: string;
|
|
17434
|
+
type: "email";
|
|
17435
|
+
value: string;
|
|
17436
|
+
isPrimary: boolean;
|
|
17437
|
+
verifiedAt: (string | null);
|
|
17438
|
+
valueCanonical: string;
|
|
17439
|
+
verificationStatus: ("unverified" | "verified" | "expired");
|
|
17440
|
+
}[];
|
|
17441
|
+
lockedUntil: (string | null);
|
|
17442
|
+
lastSignInAt: (string | null);
|
|
17443
|
+
requiresReset: boolean;
|
|
17444
|
+
publicMetadata: UsersUsersUpdateOutputPublicMetadata;
|
|
17445
|
+
unsafeMetadata: UsersUsersUpdateOutputPublicMetadata;
|
|
17446
|
+
privateMetadata: UsersUsersUpdateOutputPublicMetadata;
|
|
17447
|
+
emailChangeLockedUntil: (string | null);
|
|
17448
|
+
}
|
|
17449
|
+
interface UsersUsersUpdateOutputPublicMetadata {
|
|
17450
|
+
[k: string]: unknown;
|
|
17451
|
+
}
|
|
17452
|
+
interface UsersWaitlistEraseInput {
|
|
17453
|
+
/**
|
|
17454
|
+
* The waitlisted user whose entry and directory row to erase.
|
|
17455
|
+
*/
|
|
17456
|
+
userId: string;
|
|
17457
|
+
}
|
|
17458
|
+
interface UsersWaitlistEraseOutput {
|
|
17459
|
+
erased: boolean;
|
|
17460
|
+
}
|
|
17461
|
+
interface UsersWaitlistFunnelInput {
|
|
17462
|
+
}
|
|
17463
|
+
interface UsersWaitlistFunnelOutput {
|
|
17464
|
+
total: number;
|
|
17465
|
+
invited: number;
|
|
17466
|
+
pending: number;
|
|
17467
|
+
withdrawn: number;
|
|
17468
|
+
registered: number;
|
|
17469
|
+
unconfirmed: number;
|
|
17470
|
+
}
|
|
17471
|
+
interface UsersWaitlistImportInput {
|
|
17472
|
+
/**
|
|
17473
|
+
* The legacy signups to import, at most 500 per call — batch client-side beyond that.
|
|
17474
|
+
*
|
|
17475
|
+
* @minItems 1
|
|
17476
|
+
* @maxItems 500
|
|
17477
|
+
*/
|
|
17478
|
+
entries: [
|
|
17479
|
+
{
|
|
17480
|
+
/**
|
|
17481
|
+
* The signup's display name.
|
|
17482
|
+
*/
|
|
17483
|
+
name?: string;
|
|
17484
|
+
/**
|
|
17485
|
+
* The consent proof from the source system. REQUIRED: a waitlist entry with no evidence of consent is exactly what this import exists to avoid creating.
|
|
17486
|
+
*/
|
|
17487
|
+
consent: {
|
|
17488
|
+
/**
|
|
17489
|
+
* The IP the source system recorded, when it recorded one.
|
|
17490
|
+
*/
|
|
17491
|
+
ip?: (string | null);
|
|
17492
|
+
/**
|
|
17493
|
+
* Where the acceptance happened in the source system, e.g. `legacy-widget`.
|
|
17494
|
+
*/
|
|
17495
|
+
source: string;
|
|
17496
|
+
/**
|
|
17497
|
+
* The user agent the source system recorded, when it recorded one.
|
|
17498
|
+
*/
|
|
17499
|
+
userAgent?: (string | null);
|
|
17500
|
+
/**
|
|
17501
|
+
* When they accepted it, as recorded by the source system. Carried over verbatim — this is the evidence, and stamping it with the import time would destroy it.
|
|
17502
|
+
*/
|
|
17503
|
+
acceptedAt: string;
|
|
17504
|
+
/**
|
|
17505
|
+
* The privacy-policy version the signer accepted in the SOURCE system.
|
|
17506
|
+
*/
|
|
17507
|
+
policyVersion: string;
|
|
17508
|
+
};
|
|
17509
|
+
/**
|
|
17510
|
+
* Whether the address had proven itself reachable in the source system. Default true — a legacy list has already been mailed. Pass false to land the row as unconfirmed, where it is reported separately and is never invited.
|
|
17511
|
+
*/
|
|
17512
|
+
confirmed?: boolean;
|
|
17513
|
+
/**
|
|
17514
|
+
* The email address on the legacy list. Stored canonicalised plus raw for display.
|
|
17515
|
+
*/
|
|
17516
|
+
identifier: string;
|
|
17517
|
+
/**
|
|
17518
|
+
* Referrer / UTM attribution the source system recorded.
|
|
17519
|
+
*/
|
|
17520
|
+
attribution?: {
|
|
17521
|
+
/**
|
|
17522
|
+
* utm_term of the visit.
|
|
17523
|
+
*/
|
|
17524
|
+
utmTerm?: string;
|
|
17525
|
+
/**
|
|
17526
|
+
* The document referrer of the signup page.
|
|
17527
|
+
*/
|
|
17528
|
+
referrer?: string;
|
|
17529
|
+
/**
|
|
17530
|
+
* utm_medium of the visit.
|
|
17531
|
+
*/
|
|
17532
|
+
utmMedium?: string;
|
|
17533
|
+
/**
|
|
17534
|
+
* utm_source of the visit.
|
|
17535
|
+
*/
|
|
17536
|
+
utmSource?: string;
|
|
17537
|
+
/**
|
|
17538
|
+
* utm_content of the visit.
|
|
17539
|
+
*/
|
|
17540
|
+
utmContent?: string;
|
|
17541
|
+
/**
|
|
17542
|
+
* The URL the signup was submitted from.
|
|
17543
|
+
*/
|
|
17544
|
+
landingPage?: string;
|
|
17545
|
+
/**
|
|
17546
|
+
* utm_campaign of the visit.
|
|
17547
|
+
*/
|
|
17548
|
+
utmCampaign?: string;
|
|
17549
|
+
};
|
|
17550
|
+
/**
|
|
17551
|
+
* End-user-writable metadata to carry onto the created user.
|
|
17552
|
+
*/
|
|
17553
|
+
unsafeMetadata?: {
|
|
17554
|
+
[k: string]: unknown;
|
|
17555
|
+
};
|
|
17556
|
+
},
|
|
17557
|
+
...({
|
|
17558
|
+
/**
|
|
17559
|
+
* The signup's display name.
|
|
17560
|
+
*/
|
|
17561
|
+
name?: string;
|
|
17562
|
+
/**
|
|
17563
|
+
* The consent proof from the source system. REQUIRED: a waitlist entry with no evidence of consent is exactly what this import exists to avoid creating.
|
|
17564
|
+
*/
|
|
17565
|
+
consent: {
|
|
17566
|
+
/**
|
|
17567
|
+
* The IP the source system recorded, when it recorded one.
|
|
17568
|
+
*/
|
|
17569
|
+
ip?: (string | null);
|
|
17570
|
+
/**
|
|
17571
|
+
* Where the acceptance happened in the source system, e.g. `legacy-widget`.
|
|
17572
|
+
*/
|
|
17573
|
+
source: string;
|
|
17574
|
+
/**
|
|
17575
|
+
* The user agent the source system recorded, when it recorded one.
|
|
17576
|
+
*/
|
|
17577
|
+
userAgent?: (string | null);
|
|
17578
|
+
/**
|
|
17579
|
+
* When they accepted it, as recorded by the source system. Carried over verbatim — this is the evidence, and stamping it with the import time would destroy it.
|
|
17580
|
+
*/
|
|
17581
|
+
acceptedAt: string;
|
|
17582
|
+
/**
|
|
17583
|
+
* The privacy-policy version the signer accepted in the SOURCE system.
|
|
17584
|
+
*/
|
|
17585
|
+
policyVersion: string;
|
|
17586
|
+
};
|
|
17587
|
+
/**
|
|
17588
|
+
* Whether the address had proven itself reachable in the source system. Default true — a legacy list has already been mailed. Pass false to land the row as unconfirmed, where it is reported separately and is never invited.
|
|
17589
|
+
*/
|
|
17590
|
+
confirmed?: boolean;
|
|
17591
|
+
/**
|
|
17592
|
+
* The email address on the legacy list. Stored canonicalised plus raw for display.
|
|
17593
|
+
*/
|
|
17594
|
+
identifier: string;
|
|
17595
|
+
/**
|
|
17596
|
+
* Referrer / UTM attribution the source system recorded.
|
|
17597
|
+
*/
|
|
17598
|
+
attribution?: {
|
|
17599
|
+
/**
|
|
17600
|
+
* utm_term of the visit.
|
|
17601
|
+
*/
|
|
17602
|
+
utmTerm?: string;
|
|
17603
|
+
/**
|
|
17604
|
+
* The document referrer of the signup page.
|
|
17605
|
+
*/
|
|
17606
|
+
referrer?: string;
|
|
17607
|
+
/**
|
|
17608
|
+
* utm_medium of the visit.
|
|
17609
|
+
*/
|
|
17610
|
+
utmMedium?: string;
|
|
17611
|
+
/**
|
|
17612
|
+
* utm_source of the visit.
|
|
17613
|
+
*/
|
|
17614
|
+
utmSource?: string;
|
|
17615
|
+
/**
|
|
17616
|
+
* utm_content of the visit.
|
|
17617
|
+
*/
|
|
17618
|
+
utmContent?: string;
|
|
17619
|
+
/**
|
|
17620
|
+
* The URL the signup was submitted from.
|
|
17621
|
+
*/
|
|
17622
|
+
landingPage?: string;
|
|
17623
|
+
/**
|
|
17624
|
+
* utm_campaign of the visit.
|
|
17625
|
+
*/
|
|
17626
|
+
utmCampaign?: string;
|
|
17627
|
+
};
|
|
17628
|
+
/**
|
|
17629
|
+
* End-user-writable metadata to carry onto the created user.
|
|
17630
|
+
*/
|
|
17631
|
+
unsafeMetadata?: {
|
|
17632
|
+
[k: string]: unknown;
|
|
17633
|
+
};
|
|
17634
|
+
})[]
|
|
17635
|
+
];
|
|
17636
|
+
}
|
|
17637
|
+
interface UsersWaitlistImportOutput {
|
|
17638
|
+
failed: number;
|
|
17639
|
+
results: {
|
|
17640
|
+
row: number;
|
|
17641
|
+
reason: (string | null);
|
|
17642
|
+
status: ("imported" | "skipped" | "failed");
|
|
17643
|
+
userId: (string | null);
|
|
17644
|
+
}[];
|
|
17645
|
+
skipped: number;
|
|
17646
|
+
imported: number;
|
|
17647
|
+
requested: number;
|
|
17648
|
+
}
|
|
17649
|
+
interface UsersWaitlistInviteInput {
|
|
17650
|
+
/**
|
|
17651
|
+
* The waitlisted users to promote, up to 100 per call. Each gets the STANDARD invite email; accepting it is what creates their credential.
|
|
17652
|
+
*
|
|
17653
|
+
* @minItems 1
|
|
17654
|
+
* @maxItems 100
|
|
17655
|
+
*/
|
|
17656
|
+
userIds: [string, ...(string)[]];
|
|
17657
|
+
}
|
|
17658
|
+
interface UsersWaitlistInviteOutput {
|
|
17659
|
+
invited: number;
|
|
17660
|
+
results: {
|
|
17661
|
+
reason: (("suppressed" | "not_found" | "already_registered") | null);
|
|
17662
|
+
status: ("invited" | "skipped");
|
|
17663
|
+
userId: string;
|
|
17664
|
+
}[];
|
|
17665
|
+
skipped: number;
|
|
17666
|
+
}
|
|
17667
|
+
interface UsersWaitlistListInput {
|
|
17668
|
+
/**
|
|
17669
|
+
* Entries per page, 1-100. Default 25.
|
|
17670
|
+
*/
|
|
17671
|
+
limit?: number;
|
|
17672
|
+
/**
|
|
17673
|
+
* Opaque cursor from the previous page's `nextCursor`. Omit for the first page.
|
|
17674
|
+
*/
|
|
17675
|
+
cursor?: string;
|
|
17676
|
+
/**
|
|
17677
|
+
* Filter by funnel status: 'pending', 'invited', 'registered' or 'withdrawn'. Omit for all.
|
|
17678
|
+
*/
|
|
17679
|
+
status?: ("pending" | "invited" | "registered" | "withdrawn");
|
|
17680
|
+
/**
|
|
17681
|
+
* Double opt-in only: false returns entries whose address never confirmed. Omit for both.
|
|
17682
|
+
*/
|
|
17683
|
+
confirmed?: boolean;
|
|
17684
|
+
}
|
|
17685
|
+
interface UsersWaitlistListOutput {
|
|
17686
|
+
entries: {
|
|
17687
|
+
status: ("pending" | "invited" | "registered" | "withdrawn");
|
|
17688
|
+
userId: string;
|
|
17689
|
+
createdAt: string;
|
|
17690
|
+
invitedAt: (string | null);
|
|
17691
|
+
identifier: string;
|
|
17692
|
+
attribution: {
|
|
17693
|
+
[k: string]: unknown;
|
|
17694
|
+
};
|
|
17695
|
+
confirmedAt: (string | null);
|
|
17696
|
+
withdrawnAt: (string | null);
|
|
17697
|
+
consentProof: {
|
|
17698
|
+
[k: string]: unknown;
|
|
17699
|
+
};
|
|
17700
|
+
registeredAt: (string | null);
|
|
17701
|
+
inviteTokenId: (string | null);
|
|
17702
|
+
}[];
|
|
17703
|
+
nextCursor: (string | null);
|
|
17704
|
+
}
|
|
17705
|
+
interface UsersWebhooksCreateInput {
|
|
17706
|
+
/**
|
|
17707
|
+
* Where deliveries are POSTed. HTTPS only, no embedded credentials.
|
|
17708
|
+
*/
|
|
17709
|
+
url: string;
|
|
17710
|
+
/**
|
|
17711
|
+
* Which events to deliver. `user.created`, `user.updated` and `user.deleted` mirror the directory; `session.revoked` fires on sign-out, ban, erase and refresh-token reuse.
|
|
17712
|
+
*
|
|
17713
|
+
* @minItems 1
|
|
17714
|
+
*/
|
|
17715
|
+
events: [("user.created" | "user.updated" | "user.deleted" | "session.revoked"), ...(("user.created" | "user.updated" | "user.deleted" | "session.revoked"))[]];
|
|
17716
|
+
/**
|
|
17717
|
+
* A label only humans read — which system this endpoint feeds.
|
|
17718
|
+
*/
|
|
17719
|
+
description?: string;
|
|
17720
|
+
}
|
|
17721
|
+
interface UsersWebhooksCreateOutput {
|
|
17722
|
+
id: string;
|
|
17723
|
+
url: string;
|
|
17724
|
+
active: boolean;
|
|
17725
|
+
events: ("user.created" | "user.updated" | "user.deleted" | "session.revoked")[];
|
|
17726
|
+
secret: string;
|
|
17727
|
+
createdAt: string;
|
|
17728
|
+
updatedAt: string;
|
|
17729
|
+
description: (string | null);
|
|
17730
|
+
secretPrefix: string;
|
|
17731
|
+
}
|
|
17732
|
+
interface UsersWebhooksDeleteInput {
|
|
17733
|
+
/**
|
|
17734
|
+
* Id of the webhook endpoint.
|
|
17735
|
+
*/
|
|
17736
|
+
id: string;
|
|
17737
|
+
}
|
|
17738
|
+
interface UsersWebhooksDeleteOutput {
|
|
17739
|
+
id: string;
|
|
17740
|
+
deleted: true;
|
|
17741
|
+
}
|
|
17742
|
+
interface UsersWebhooksDeliveriesListInput {
|
|
17743
|
+
/**
|
|
17744
|
+
* Id of the webhook endpoint whose deliveries to list.
|
|
17745
|
+
*/
|
|
17746
|
+
id: string;
|
|
17747
|
+
limit?: number;
|
|
17748
|
+
}
|
|
17749
|
+
interface UsersWebhooksDeliveriesListOutput {
|
|
17750
|
+
deliveries: {
|
|
17751
|
+
id: string;
|
|
17752
|
+
status: ("pending" | "succeeded" | "failed");
|
|
17753
|
+
eventId: string;
|
|
17754
|
+
attempts: number;
|
|
17755
|
+
createdAt: string;
|
|
17756
|
+
eventType: ("user.created" | "user.updated" | "user.deleted" | "session.revoked");
|
|
17757
|
+
lastError: (string | null);
|
|
17758
|
+
webhookId: string;
|
|
17759
|
+
lastAttemptAt: (string | null);
|
|
17760
|
+
responseStatus: (number | null);
|
|
17761
|
+
}[];
|
|
17762
|
+
}
|
|
17763
|
+
interface UsersWebhooksGetInput {
|
|
17764
|
+
/**
|
|
17765
|
+
* Id of the webhook endpoint.
|
|
17766
|
+
*/
|
|
17767
|
+
id: string;
|
|
17768
|
+
}
|
|
17769
|
+
interface UsersWebhooksGetOutput {
|
|
17770
|
+
id: string;
|
|
17771
|
+
url: string;
|
|
17772
|
+
active: boolean;
|
|
17773
|
+
events: ("user.created" | "user.updated" | "user.deleted" | "session.revoked")[];
|
|
17774
|
+
createdAt: string;
|
|
17775
|
+
updatedAt: string;
|
|
17776
|
+
description: (string | null);
|
|
17777
|
+
secretPrefix: string;
|
|
17778
|
+
}
|
|
17779
|
+
interface UsersWebhooksListInput {
|
|
17780
|
+
}
|
|
17781
|
+
interface UsersWebhooksListOutput {
|
|
17782
|
+
webhooks: {
|
|
17783
|
+
id: string;
|
|
17784
|
+
url: string;
|
|
17785
|
+
active: boolean;
|
|
17786
|
+
events: ("user.created" | "user.updated" | "user.deleted" | "session.revoked")[];
|
|
17787
|
+
createdAt: string;
|
|
17788
|
+
updatedAt: string;
|
|
17789
|
+
description: (string | null);
|
|
17790
|
+
secretPrefix: string;
|
|
17791
|
+
}[];
|
|
17792
|
+
}
|
|
17793
|
+
interface UsersWebhooksRotateSecretInput {
|
|
17794
|
+
/**
|
|
17795
|
+
* Id of the webhook endpoint.
|
|
17796
|
+
*/
|
|
17797
|
+
id: string;
|
|
17798
|
+
}
|
|
17799
|
+
interface UsersWebhooksRotateSecretOutput {
|
|
17800
|
+
id: string;
|
|
17801
|
+
url: string;
|
|
17802
|
+
active: boolean;
|
|
17803
|
+
events: ("user.created" | "user.updated" | "user.deleted" | "session.revoked")[];
|
|
17804
|
+
secret: string;
|
|
17805
|
+
createdAt: string;
|
|
17806
|
+
updatedAt: string;
|
|
17807
|
+
description: (string | null);
|
|
17808
|
+
secretPrefix: string;
|
|
17809
|
+
}
|
|
17810
|
+
interface UsersWebhooksUpdateInput {
|
|
17811
|
+
/**
|
|
17812
|
+
* Id of the webhook endpoint.
|
|
17813
|
+
*/
|
|
17814
|
+
id: string;
|
|
17815
|
+
/**
|
|
17816
|
+
* Where deliveries are POSTed. HTTPS only, no embedded credentials.
|
|
17817
|
+
*/
|
|
17818
|
+
url?: string;
|
|
17819
|
+
/**
|
|
17820
|
+
* false pauses delivery without losing the endpoint or its secret.
|
|
17821
|
+
*/
|
|
17822
|
+
active?: boolean;
|
|
17823
|
+
/**
|
|
17824
|
+
* Which events to deliver. `user.created`, `user.updated` and `user.deleted` mirror the directory; `session.revoked` fires on sign-out, ban, erase and refresh-token reuse.
|
|
17825
|
+
*
|
|
17826
|
+
* @minItems 1
|
|
17827
|
+
*/
|
|
17828
|
+
events?: [("user.created" | "user.updated" | "user.deleted" | "session.revoked"), ...(("user.created" | "user.updated" | "user.deleted" | "session.revoked"))[]];
|
|
17829
|
+
description?: (string | null);
|
|
17830
|
+
}
|
|
17831
|
+
interface UsersWebhooksUpdateOutput {
|
|
17832
|
+
id: string;
|
|
17833
|
+
url: string;
|
|
17834
|
+
active: boolean;
|
|
17835
|
+
events: ("user.created" | "user.updated" | "user.deleted" | "session.revoked")[];
|
|
17836
|
+
createdAt: string;
|
|
17837
|
+
updatedAt: string;
|
|
17838
|
+
description: (string | null);
|
|
17839
|
+
secretPrefix: string;
|
|
17840
|
+
}
|
|
15228
17841
|
interface WaitlistConfigGetInput {
|
|
15229
17842
|
}
|
|
15230
17843
|
type WaitlistConfigGetOutput = ({
|
|
@@ -16052,6 +18665,80 @@ interface GeneratedClient {
|
|
|
16052
18665
|
get(input: TrackingSnippetsGetInput): Promise<TrackingSnippetsGetOutput>;
|
|
16053
18666
|
};
|
|
16054
18667
|
};
|
|
18668
|
+
users: {
|
|
18669
|
+
apikeys: {
|
|
18670
|
+
create(input: UsersApikeysCreateInput): Promise<UsersApikeysCreateOutput>;
|
|
18671
|
+
list(input: UsersApikeysListInput): Promise<UsersApikeysListOutput>;
|
|
18672
|
+
revoke(input: UsersApikeysRevokeInput): Promise<UsersApikeysRevokeOutput>;
|
|
18673
|
+
};
|
|
18674
|
+
audit: {
|
|
18675
|
+
list(input: UsersAuditListInput): Promise<UsersAuditListOutput>;
|
|
18676
|
+
};
|
|
18677
|
+
config: {
|
|
18678
|
+
get(input: UsersConfigGetInput): Promise<UsersConfigGetOutput>;
|
|
18679
|
+
upsert(input: UsersConfigUpsertInput): Promise<UsersConfigUpsertOutput>;
|
|
18680
|
+
};
|
|
18681
|
+
factors: {
|
|
18682
|
+
list(input: UsersFactorsListInput): Promise<UsersFactorsListOutput>;
|
|
18683
|
+
reset(input: UsersFactorsResetInput): Promise<UsersFactorsResetOutput>;
|
|
18684
|
+
};
|
|
18685
|
+
keys: {
|
|
18686
|
+
list(input: UsersKeysListInput): Promise<UsersKeysListOutput>;
|
|
18687
|
+
revoke(input: UsersKeysRevokeInput): Promise<UsersKeysRevokeOutput>;
|
|
18688
|
+
rotate(input: UsersKeysRotateInput): Promise<UsersKeysRotateOutput>;
|
|
18689
|
+
};
|
|
18690
|
+
'ops-retention': {
|
|
18691
|
+
get(input: UsersOpsRetentionGetInput): Promise<UsersOpsRetentionGetOutput>;
|
|
18692
|
+
};
|
|
18693
|
+
'ops-slo': {
|
|
18694
|
+
get(input: UsersOpsSloGetInput): Promise<UsersOpsSloGetOutput>;
|
|
18695
|
+
};
|
|
18696
|
+
sessions: {
|
|
18697
|
+
get(input: UsersSessionsGetInput): Promise<UsersSessionsGetOutput>;
|
|
18698
|
+
impersonate(input: UsersSessionsImpersonateInput): Promise<UsersSessionsImpersonateOutput>;
|
|
18699
|
+
list(input: UsersSessionsListInput): Promise<UsersSessionsListOutput>;
|
|
18700
|
+
revoke(input: UsersSessionsRevokeInput): Promise<UsersSessionsRevokeOutput>;
|
|
18701
|
+
};
|
|
18702
|
+
stats: {
|
|
18703
|
+
get(input: UsersStatsGetInput): Promise<UsersStatsGetOutput>;
|
|
18704
|
+
};
|
|
18705
|
+
users: {
|
|
18706
|
+
ban(input: UsersUsersBanInput): Promise<UsersUsersBanOutput>;
|
|
18707
|
+
create(input: UsersUsersCreateInput): Promise<UsersUsersCreateOutput>;
|
|
18708
|
+
delete(input: UsersUsersDeleteInput): Promise<UsersUsersDeleteOutput>;
|
|
18709
|
+
erase(input: UsersUsersEraseInput): Promise<UsersUsersEraseOutput>;
|
|
18710
|
+
export(input: UsersUsersExportInput): Promise<UsersUsersExportOutput>;
|
|
18711
|
+
get(input: UsersUsersGetInput): Promise<UsersUsersGetOutput>;
|
|
18712
|
+
import(input: UsersUsersImportInput): Promise<UsersUsersImportOutput>;
|
|
18713
|
+
invite(input: UsersUsersInviteInput): Promise<UsersUsersInviteOutput>;
|
|
18714
|
+
list(input: UsersUsersListInput): Promise<UsersUsersListOutput>;
|
|
18715
|
+
unban(input: UsersUsersUnbanInput): Promise<UsersUsersUnbanOutput>;
|
|
18716
|
+
update(input: UsersUsersUpdateInput): Promise<UsersUsersUpdateOutput>;
|
|
18717
|
+
};
|
|
18718
|
+
'users-set-primary': {
|
|
18719
|
+
identifier(input: UsersUsersSetPrimaryIdentifierInput): Promise<UsersUsersSetPrimaryIdentifierOutput>;
|
|
18720
|
+
};
|
|
18721
|
+
waitlist: {
|
|
18722
|
+
erase(input: UsersWaitlistEraseInput): Promise<UsersWaitlistEraseOutput>;
|
|
18723
|
+
funnel(input: UsersWaitlistFunnelInput): Promise<UsersWaitlistFunnelOutput>;
|
|
18724
|
+
import(input: UsersWaitlistImportInput): Promise<UsersWaitlistImportOutput>;
|
|
18725
|
+
invite(input: UsersWaitlistInviteInput): Promise<UsersWaitlistInviteOutput>;
|
|
18726
|
+
list(input: UsersWaitlistListInput): Promise<UsersWaitlistListOutput>;
|
|
18727
|
+
};
|
|
18728
|
+
webhooks: {
|
|
18729
|
+
create(input: UsersWebhooksCreateInput): Promise<UsersWebhooksCreateOutput>;
|
|
18730
|
+
delete(input: UsersWebhooksDeleteInput): Promise<UsersWebhooksDeleteOutput>;
|
|
18731
|
+
get(input: UsersWebhooksGetInput): Promise<UsersWebhooksGetOutput>;
|
|
18732
|
+
list(input: UsersWebhooksListInput): Promise<UsersWebhooksListOutput>;
|
|
18733
|
+
update(input: UsersWebhooksUpdateInput): Promise<UsersWebhooksUpdateOutput>;
|
|
18734
|
+
};
|
|
18735
|
+
'webhooks-deliveries': {
|
|
18736
|
+
list(input: UsersWebhooksDeliveriesListInput): Promise<UsersWebhooksDeliveriesListOutput>;
|
|
18737
|
+
};
|
|
18738
|
+
'webhooks-rotate': {
|
|
18739
|
+
secret(input: UsersWebhooksRotateSecretInput): Promise<UsersWebhooksRotateSecretOutput>;
|
|
18740
|
+
};
|
|
18741
|
+
};
|
|
16055
18742
|
waitlist: {
|
|
16056
18743
|
config: {
|
|
16057
18744
|
get(input: WaitlistConfigGetInput): Promise<WaitlistConfigGetOutput>;
|
|
@@ -16071,4 +18758,4 @@ interface GeneratedClient {
|
|
|
16071
18758
|
};
|
|
16072
18759
|
}
|
|
16073
18760
|
|
|
16074
|
-
export type { BrainGdriveConnectionsListInput as $, AnalyticsQueryRunInput as A, BrainBackupCreateInput as B, BrainConnectorReposListInput as C, BrainConnectorReposListOutput as D, BrainDaemonBatchStatusInput as E, BrainDaemonBatchStatusOutput as F, GeneratedClient as G, BrainDaemonCreateInput as H, BrainDaemonCreateOutput as I, BrainDaemonGetInput as J, BrainDaemonGetOutput as K, BrainDaemonReingestInput as L, BrainDaemonReingestOutput as M, BrainDaemonRemoveInput as N, BrainDaemonRemoveOutput as O, BrainDaemonRunItemsInput as P, BrainDaemonRunItemsOutput as Q, BrainDaemonRunInput as R, BrainDaemonRunOutput as S, BrainDaemonRunsInput as T, BrainDaemonRunsOutput as U, BrainDaemonStatusInput as V, BrainDaemonStatusOutput as W, BrainDaemonUpdateInput as X, BrainDaemonUpdateOutput as Y, BrainDaemonsListInput as Z, BrainDaemonsListOutput as _, AnalyticsQueryRunOutput as a, DeploymentAlertEventsListInput as a$, BrainGdriveConnectionsListOutput as a0, BrainKnowledgeEntityMemoriesInput as a1, BrainKnowledgeEntityMemoriesOutput as a2, BrainKnowledgeGraphInput as a3, BrainKnowledgeGraphOutput as a4, BrainKnowledgeNeighborhoodInput as a5, BrainKnowledgeNeighborhoodOutput as a6, BrainKnowledgeRelationsInput as a7, BrainKnowledgeRelationsOutput as a8, BrainKnowledgeSearchInput as a9, ConsentConfigThemeUpsertOutput as aA, ConsentDashboardConfigGetInput as aB, ConsentDashboardConfigGetOutput as aC, ConsentDashboardDecisionsListInput as aD, ConsentDashboardDecisionsListOutput as aE, ConsentDashboardEmbedSnippetGetInput as aF, ConsentDashboardEmbedSnippetGetOutput as aG, ConsentDashboardStatsGetInput as aH, ConsentDashboardStatsGetOutput as aI, ConsentEmbedGetInput as aJ, ConsentEmbedGetOutput as aK, ConsentProvidersCreateInput as aL, ConsentProvidersCreateOutput as aM, ConsentProvidersDeleteInput as aN, ConsentProvidersDeleteOutput as aO, ConsentProvidersListInput as aP, ConsentProvidersListOutput as aQ, ConsentProvidersUpdateInput as aR, ConsentProvidersUpdateOutput as aS, ConsentRecordsExportInput as aT, ConsentRecordsExportOutput as aU, ConsentStatsGetInput as aV, ConsentStatsGetOutput as aW, DeploymentAlertCreateInput as aX, DeploymentAlertCreateOutput as aY, DeploymentAlertDeleteInput as aZ, DeploymentAlertDeleteOutput as a_, BrainKnowledgeSearchOutput as aa, BrainMemoryAddInput as ab, BrainMemoryAddOutput as ac, BrainMemoryDeleteInput as ad, BrainMemoryDeleteOutput as ae, BrainMemoryGetInput as af, BrainMemoryGetOutput as ag, BrainMemoryListInput as ah, BrainMemoryListOutput as ai, BrainMemorySearchInput as aj, BrainMemorySearchOutput as ak, BrainMemoryStatsInput as al, BrainMemoryStatsOutput as am, BrainMemoryUpdateInput as an, BrainMemoryUpdateOutput as ao, BrainProductSharedMemoryResetInput as ap, BrainProductSharedMemoryResetOutput as aq, BrainRestoreStatusInput as ar, BrainRestoreStatusOutput as as, ConsentConfigCookieDomainUpsertInput as at, ConsentConfigCookieDomainUpsertOutput as au, ConsentConfigCustomizationUpsertInput as av, ConsentConfigCustomizationUpsertOutput as aw, ConsentConfigFloatingIconUpsertInput as ax, ConsentConfigFloatingIconUpsertOutput as ay, ConsentConfigThemeUpsertInput as az, BrainBackupCreateOutput as b, DeploymentDomainListByServiceInput as b$, DeploymentAlertEventsListOutput as b0, DeploymentAlertListInput as b1, DeploymentAlertListOutput as b2, DeploymentAlertUpdateInput as b3, DeploymentAlertUpdateOutput as b4, DeploymentAnalyticsQueryInput as b5, DeploymentAnalyticsQueryOutput as b6, DeploymentAuditListInput as b7, DeploymentAuditListOutput as b8, DeploymentBuildGetInput as b9, DeploymentCloudSqlInstanceBackupOutput as bA, DeploymentCloudSqlInstanceCreateInput as bB, DeploymentCloudSqlInstanceCreateOutput as bC, DeploymentCloudSqlInstanceDeleteInput as bD, DeploymentCloudSqlInstanceDeleteOutput as bE, DeploymentCloudSqlInstanceGetInput as bF, DeploymentCloudSqlInstanceGetOutput as bG, DeploymentCloudSqlInstanceListInput as bH, DeploymentCloudSqlInstanceListOutput as bI, DeploymentCloudSqlInstanceResizeInput as bJ, DeploymentCloudSqlInstanceResizeOutput as bK, DeploymentCloudSqlInstanceRestoreInput as bL, DeploymentCloudSqlInstanceRestoreOutput as bM, DeploymentCloudSqlLogsInput as bN, DeploymentCloudSqlLogsOutput as bO, DeploymentDeploymentCancelInput as bP, DeploymentDeploymentCancelOutput as bQ, DeploymentDeploymentGetInput as bR, DeploymentDeploymentGetOutput as bS, DeploymentDeploymentListInput as bT, DeploymentDeploymentListOutput as bU, DeploymentDomainAddInput as bV, DeploymentDomainAddOutput as bW, DeploymentDomainAllowedListInput as bX, DeploymentDomainAllowedListOutput as bY, DeploymentDomainGetInput as bZ, DeploymentDomainGetOutput as b_, DeploymentBuildGetOutput as ba, DeploymentBuildListInput as bb, DeploymentBuildListOutput as bc, DeploymentBuildLogsInput as bd, DeploymentBuildLogsOutput as be, DeploymentCanvasGetInput as bf, DeploymentCanvasGetOutput as bg, DeploymentCanvasMoveNodeInput as bh, DeploymentCanvasMoveNodeOutput as bi, DeploymentCloudSqlBackfillLogFlagsInput as bj, DeploymentCloudSqlBackfillLogFlagsOutput as bk, DeploymentCloudSqlDatabaseAttachInput as bl, DeploymentCloudSqlDatabaseAttachOutput as bm, DeploymentCloudSqlDatabaseCreateInput as bn, DeploymentCloudSqlDatabaseCreateOutput as bo, DeploymentCloudSqlDatabaseDeleteInput as bp, DeploymentCloudSqlDatabaseDeleteOutput as bq, DeploymentCloudSqlDatabaseDetachInput as br, DeploymentCloudSqlDatabaseDetachOutput as bs, DeploymentCloudSqlDatabaseGetInput as bt, DeploymentCloudSqlDatabaseGetOutput as bu, DeploymentCloudSqlDatabaseListInput as bv, DeploymentCloudSqlDatabaseListOutput as bw, DeploymentCloudSqlInstanceBackupListInput as bx, DeploymentCloudSqlInstanceBackupListOutput as by, DeploymentCloudSqlInstanceBackupInput as bz, BrainBackupRestoreInput as c, DeploymentMetricsGetInput as c$, DeploymentDomainListByServiceOutput as c0, DeploymentDomainListInput as c1, DeploymentDomainListOutput as c2, DeploymentDomainRedirectWwwInput as c3, DeploymentDomainRedirectWwwOutput as c4, DeploymentDomainRemoveInput as c5, DeploymentDomainRemoveOutput as c6, DeploymentDomainRoutesAddInput as c7, DeploymentDomainRoutesAddOutput as c8, DeploymentDomainRoutesListInput as c9, DeploymentManagedServiceBackupListOutput as cA, DeploymentManagedServiceBackupInput as cB, DeploymentManagedServiceBackupOutput as cC, DeploymentManagedServiceConnectInfoInput as cD, DeploymentManagedServiceConnectInfoOutput as cE, DeploymentManagedServiceDeleteInput as cF, DeploymentManagedServiceDeleteOutput as cG, DeploymentManagedServiceGetInput as cH, DeploymentManagedServiceGetOutput as cI, DeploymentManagedServiceListInput as cJ, DeploymentManagedServiceListOutput as cK, DeploymentManagedServiceLogsInput as cL, DeploymentManagedServiceLogsOutput as cM, DeploymentManagedServiceProvisionInput as cN, DeploymentManagedServiceProvisionOutput as cO, DeploymentManagedServiceReconcileInput as cP, DeploymentManagedServiceReconcileOutput as cQ, DeploymentManagedServiceResizeInput as cR, DeploymentManagedServiceResizeOutput as cS, DeploymentManagedServiceRestoreInput as cT, DeploymentManagedServiceRestoreOutput as cU, DeploymentManagedServiceStartInput as cV, DeploymentManagedServiceStartOutput as cW, DeploymentManagedServiceStopInput as cX, DeploymentManagedServiceStopOutput as cY, DeploymentManagedServiceTypesInput as cZ, DeploymentManagedServiceTypesOutput as c_, DeploymentDomainRoutesListOutput as ca, DeploymentDomainRoutesRemoveInput as cb, DeploymentDomainRoutesRemoveOutput as cc, DeploymentDomainRoutesUpdateInput as cd, DeploymentDomainRoutesUpdateOutput as ce, DeploymentDomainVerifyInput as cf, DeploymentDomainVerifyOutput as cg, DeploymentEnvironmentCreateInput as ch, DeploymentEnvironmentCreateOutput as ci, DeploymentEnvironmentDeleteInput as cj, DeploymentEnvironmentDeleteOutput as ck, DeploymentEnvironmentForkInput as cl, DeploymentEnvironmentForkOutput as cm, DeploymentEnvironmentGetInput as cn, DeploymentEnvironmentGetOutput as co, DeploymentEnvironmentListInput as cp, DeploymentEnvironmentListOutput as cq, DeploymentEnvironmentReconcileInput as cr, DeploymentEnvironmentReconcileOutput as cs, DeploymentEnvironmentUpdateInput as ct, DeploymentEnvironmentUpdateOutput as cu, DeploymentEventsListByEnvironmentInput as cv, DeploymentEventsListByEnvironmentOutput as cw, DeploymentEventsListByServiceInput as cx, DeploymentEventsListByServiceOutput as cy, DeploymentManagedServiceBackupListInput as cz, BrainBackupRestoreOutput as d, DeploymentVcsBranchListOutput as d$, DeploymentMetricsGetOutput as d0, DeploymentPreviewEnvironmentCreateInput as d1, DeploymentPreviewEnvironmentCreateOutput as d2, DeploymentPreviewEnvironmentDeleteInput as d3, DeploymentPreviewEnvironmentDeleteOutput as d4, DeploymentPreviewEnvironmentListInput as d5, DeploymentPreviewEnvironmentListOutput as d6, DeploymentPreviewPolicyGetInput as d7, DeploymentPreviewPolicyGetOutput as d8, DeploymentPreviewPolicySetInput as d9, DeploymentSshCommandInput as dA, DeploymentSshCommandOutput as dB, DeploymentSshKeyDeleteInput as dC, DeploymentSshKeyDeleteOutput as dD, DeploymentSshKeyListInput as dE, DeploymentSshKeyListOutput as dF, DeploymentSshKeyRegisterInput as dG, DeploymentSshKeyRegisterOutput as dH, DeploymentVariableListEnvInput as dI, DeploymentVariableListEnvOutput as dJ, DeploymentVariableListProductInput as dK, DeploymentVariableListProductOutput as dL, DeploymentVariableListInput as dM, DeploymentVariableListOutput as dN, DeploymentVariableSetEnvInput as dO, DeploymentVariableSetEnvOutput as dP, DeploymentVariableSetInput as dQ, DeploymentVariableSetOutput as dR, DeploymentVariableSetProductInput as dS, DeploymentVariableSetProductOutput as dT, DeploymentVariableUnsetEnvInput as dU, DeploymentVariableUnsetEnvOutput as dV, DeploymentVariableUnsetInput as dW, DeploymentVariableUnsetOutput as dX, DeploymentVariableUnsetProductInput as dY, DeploymentVariableUnsetProductOutput as dZ, DeploymentVcsBranchListInput as d_, DeploymentPreviewPolicySetOutput as da, DeploymentServiceCreateInput as db, DeploymentServiceCreateOutput as dc, DeploymentServiceDeleteInput as dd, DeploymentServiceDeleteOutput as de, DeploymentServiceExecInput as df, DeploymentServiceExecOutput as dg, DeploymentServiceGetInput as dh, DeploymentServiceGetOutput as di, DeploymentServiceListInput as dj, DeploymentServiceListOutput as dk, DeploymentServiceLogsInput as dl, DeploymentServiceLogsOutput as dm, DeploymentServiceRedeployInput as dn, DeploymentServiceRedeployOutput as dp, DeploymentServiceRestartInput as dq, DeploymentServiceRestartOutput as dr, DeploymentServiceRollbackInput as ds, DeploymentServiceRollbackOutput as dt, DeploymentServiceScaleInput as du, DeploymentServiceScaleOutput as dv, DeploymentServiceUpdateInput as dw, DeploymentServiceUpdateOutput as dx, DeploymentServiceWakeInput as dy, DeploymentServiceWakeOutput as dz, BrainBackupStatusInput as e, MailDomainDeleteOutput as e$, DeploymentVcsConnectionListInput as e0, DeploymentVcsConnectionListOutput as e1, DeploymentVcsRepoListInput as e2, DeploymentVcsRepoListOutput as e3, DeploymentVolumeCreateInput as e4, DeploymentVolumeCreateOutput as e5, DeploymentVolumeDeleteInput as e6, DeploymentVolumeDeleteOutput as e7, DeploymentVolumeDetachInput as e8, DeploymentVolumeDetachOutput as e9, MailBroadcastDeleteInput as eA, MailBroadcastDeleteOutput as eB, MailBroadcastGetInput as eC, MailBroadcastGetOutput as eD, MailBroadcastListInput as eE, MailBroadcastListOutput as eF, MailBroadcastQueueInput as eG, MailBroadcastQueueOutput as eH, MailBroadcastStatsInput as eI, MailBroadcastStatsOutput as eJ, MailBroadcastUpdateInput as eK, MailBroadcastUpdateOutput as eL, MailContactCreateInput as eM, MailContactCreateOutput as eN, MailContactDeleteInput as eO, MailContactDeleteOutput as eP, MailContactGetInput as eQ, MailContactGetOutput as eR, MailContactListInput as eS, MailContactListOutput as eT, MailContactUpdateInput as eU, MailContactUpdateOutput as eV, MailDomainAllowedListInput as eW, MailDomainAllowedListOutput as eX, MailDomainCreateInput as eY, MailDomainCreateOutput as eZ, MailDomainDeleteInput as e_, DeploymentVolumeGetInput as ea, DeploymentVolumeGetOutput as eb, DeploymentVolumeListInput as ec, DeploymentVolumeListOutput as ed, DeploymentVolumeResizeInput as ee, DeploymentVolumeResizeOutput as ef, MailApikeyCreateInput as eg, MailApikeyCreateOutput as eh, MailApikeyDeleteInput as ei, MailApikeyDeleteOutput as ej, MailApikeyListInput as ek, MailApikeyListOutput as el, MailAudienceCreateInput as em, MailAudienceCreateOutput as en, MailAudienceDeleteInput as eo, MailAudienceDeleteOutput as ep, MailAudienceGetInput as eq, MailAudienceGetOutput as er, MailAudienceListInput as es, MailAudienceListOutput as et, MailAudienceUpdateInput as eu, MailAudienceUpdateOutput as ev, MailBroadcastCancelInput as ew, MailBroadcastCancelOutput as ex, MailBroadcastCreateInput as ey, MailBroadcastCreateOutput as ez, BrainBackupStatusOutput as f, OrganizationCloudflareInstallOutput as f$, MailDomainGetInput as f0, MailDomainGetOutput as f1, MailDomainListInput as f2, MailDomainListOutput as f3, MailDomainUpdateInput as f4, MailDomainUpdateOutput as f5, MailDomainVerifyInput as f6, MailDomainVerifyOutput as f7, MailEmailCancelInput as f8, MailEmailCancelOutput as f9, MailTemplatePublishOutput as fA, MailTemplateUpdateInput as fB, MailTemplateUpdateOutput as fC, MailUsageGetInput as fD, MailUsageGetOutput as fE, MailWebhookCreateInput as fF, MailWebhookCreateOutput as fG, MailWebhookDeleteInput as fH, MailWebhookDeleteOutput as fI, MailWebhookDeliveriesListInput as fJ, MailWebhookDeliveriesListOutput as fK, MailWebhookGetInput as fL, MailWebhookGetOutput as fM, MailWebhookListInput as fN, MailWebhookListOutput as fO, MailWebhookUpdateInput as fP, MailWebhookUpdateOutput as fQ, MailEmailGetOutput as fR, OrganizationAuthMeInput as fS, OrganizationAuthMeOutput as fT, OrganizationBindingsListInput as fU, OrganizationBindingsListOutput as fV, OrganizationClickupInstallInput as fW, OrganizationClickupInstallOutput as fX, OrganizationClickupListInstallationsInput as fY, OrganizationClickupListInstallationsOutput as fZ, OrganizationCloudflareInstallInput as f_, MailEmailGetInput as fa, MailEmailSendBatchInput as fb, MailEmailSendBatchOutput as fc, MailEmailSendInput as fd, MailEmailSendOutput as fe, MailEmailUpdateInput as ff, MailEmailUpdateOutput as fg, MailReputationGetInput as fh, MailReputationGetOutput as fi, MailStatsGetInput as fj, MailStatsGetOutput as fk, MailSuppressionAddInput as fl, MailSuppressionAddOutput as fm, MailSuppressionListInput as fn, MailSuppressionListOutput as fo, MailSuppressionRemoveInput as fp, MailSuppressionRemoveOutput as fq, MailTemplateCreateInput as fr, MailTemplateCreateOutput as fs, MailTemplateDeleteInput as ft, MailTemplateDeleteOutput as fu, MailTemplateGetInput as fv, MailTemplateGetOutput as fw, MailTemplateListInput as fx, MailTemplateListOutput as fy, MailTemplatePublishInput as fz, BrainBackupsListInput as g, OrganizationMemberListOutput as g$, OrganizationConnectorsApproveRequestInput as g0, OrganizationConnectorsApproveRequestOutput as g1, OrganizationConnectorsAttachInput as g2, OrganizationConnectorsAttachOutput as g3, OrganizationConnectorsDeleteInput as g4, OrganizationConnectorsDeleteOutput as g5, OrganizationConnectorsDenyRequestInput as g6, OrganizationConnectorsDenyRequestOutput as g7, OrganizationConnectorsDetachInput as g8, OrganizationConnectorsDetachOutput as g9, OrganizationExtensionsListInstalledInput as gA, OrganizationExtensionsListInstalledOutput as gB, OrganizationExtensionsListInput as gC, OrganizationExtensionsListOutput as gD, OrganizationExtensionsUninstallInput as gE, OrganizationExtensionsUninstallOutput as gF, OrganizationFeedbackSubmitInput as gG, OrganizationFeedbackSubmitOutput as gH, OrganizationGdriveInstallInput as gI, OrganizationGdriveInstallOutput as gJ, OrganizationGithubInstallInput as gK, OrganizationGithubInstallOutput as gL, OrganizationGithubListInstallationsInput as gM, OrganizationGithubListInstallationsOutput as gN, OrganizationGoogleadsInstallInput as gO, OrganizationGoogleadsInstallOutput as gP, OrganizationListInput as gQ, OrganizationListOutput as gR, OrganizationMemberAcceptInviteInput as gS, OrganizationMemberAcceptInviteOutput as gT, OrganizationMemberInviteInput as gU, OrganizationMemberInviteOutput as gV, OrganizationMemberListInvitationsInput as gW, OrganizationMemberListInvitationsOutput as gX, OrganizationMemberListProductAccessInput as gY, OrganizationMemberListProductAccessOutput as gZ, OrganizationMemberListInput as g_, OrganizationConnectorsListAttachmentsInput as ga, OrganizationConnectorsListAttachmentsOutput as gb, OrganizationConnectorsListAvailableInput as gc, OrganizationConnectorsListAvailableOutput as gd, OrganizationConnectorsListOrgInput as ge, OrganizationConnectorsListOrgOutput as gf, OrganizationConnectorsListInput as gg, OrganizationConnectorsListOutput as gh, OrganizationConnectorsListRequestsInput as gi, OrganizationConnectorsListRequestsOutput as gj, OrganizationConnectorsRemoveInput as gk, OrganizationConnectorsRemoveOutput as gl, OrganizationConnectorsRequestInput as gm, OrganizationConnectorsRequestOutput as gn, OrganizationCreateInput as go, OrganizationCreateOutput as gp, OrganizationDomainsAddInput as gq, OrganizationDomainsAddOutput as gr, OrganizationDomainsGetInput as gs, OrganizationDomainsGetOutput as gt, OrganizationDomainsListInput as gu, OrganizationDomainsListOutput as gv, OrganizationDomainsRemoveInput as gw, OrganizationDomainsRemoveOutput as gx, OrganizationExtensionsInstallInput as gy, OrganizationExtensionsInstallOutput as gz, BrainBackupsListOutput as h, PlaygroundLifecycleGetStateOutput as h$, OrganizationMemberRemoveInput as h0, OrganizationMemberRemoveOutput as h1, OrganizationMemberRevokeInvitationInput as h2, OrganizationMemberRevokeInvitationOutput as h3, OrganizationMemberSetRoleInput as h4, OrganizationMemberSetRoleOutput as h5, OrganizationMemberShareProductInput as h6, OrganizationMemberShareProductOutput as h7, OrganizationMemberUnshareProductInput as h8, OrganizationMemberUnshareProductOutput as h9, OrganizationRolesGetInput as hA, OrganizationRolesGetOutput as hB, OrganizationRolesListInput as hC, OrganizationRolesListOutput as hD, OrganizationRolesUpdateInput as hE, OrganizationRolesUpdateOutput as hF, OrganizationSelectInput as hG, OrganizationSelectOutput as hH, PlaygroundAnalyticsOverviewInput as hI, PlaygroundAnalyticsOverviewOutput as hJ, PlaygroundBillingEntitlementsInput as hK, PlaygroundBillingEntitlementsOutput as hL, PlaygroundBillingRecordUsageInput as hM, PlaygroundBillingRecordUsageOutput as hN, PlaygroundClickupCreateTaskInput as hO, PlaygroundClickupCreateTaskOutput as hP, PlaygroundClickupGetLastWebhookInput as hQ, PlaygroundClickupGetLastWebhookOutput as hR, PlaygroundClickupGetOverviewInput as hS, PlaygroundClickupGetOverviewOutput as hT, PlaygroundGdriveGetLastChangeInput as hU, PlaygroundGdriveGetLastChangeOutput as hV, PlaygroundGdriveReadFileInput as hW, PlaygroundGdriveReadFileOutput as hX, PlaygroundGoogleadsReadCustomerInput as hY, PlaygroundGoogleadsReadCustomerOutput as hZ, PlaygroundLifecycleGetStateInput as h_, OrganizationMembersAssignRoleInput as ha, OrganizationMembersAssignRoleOutput as hb, OrganizationPermissionCatalogInput as hc, OrganizationPermissionCatalogOutput as hd, OrganizationProductAcceptInvitationInput as he, OrganizationProductAcceptInvitationOutput as hf, OrganizationProductCreateInput as hg, OrganizationProductCreateOutput as hh, OrganizationProductInviteInput as hi, OrganizationProductInviteOutput as hj, OrganizationProductListInvitationsInput as hk, OrganizationProductListInvitationsOutput as hl, OrganizationProductListMembersInput as hm, OrganizationProductListMembersOutput as hn, OrganizationProductListInput as ho, OrganizationProductListOutput as hp, OrganizationProductListRolesInput as hq, OrganizationProductListRolesOutput as hr, OrganizationProductRevokeInvitationInput as hs, OrganizationProductRevokeInvitationOutput as ht, OrganizationProductSelectInput as hu, OrganizationProductSelectOutput as hv, OrganizationRolesCreateInput as hw, OrganizationRolesCreateOutput as hx, OrganizationRolesDeleteInput as hy, OrganizationRolesDeleteOutput as hz, BrainClickupChannelsListInput as i, RealtimeWebhookSecretRotateOutput as i$, PlaygroundLifecycleListEventsInput as i0, PlaygroundLifecycleListEventsOutput as i1, PlaygroundWebhookGetLastInput as i2, PlaygroundWebhookGetLastOutput as i3, RealtimeApikeyCreateInput as i4, RealtimeApikeyCreateOutput as i5, RealtimeApikeyListInput as i6, RealtimeApikeyListOutput as i7, RealtimeApikeyRevokeInput as i8, RealtimeApikeyRevokeOutput as i9, RealtimeNamespaceUpdateInput as iA, RealtimeNamespaceUpdateOutput as iB, RealtimePresenceEnterInput as iC, RealtimePresenceEnterOutput as iD, RealtimePresenceGetInput as iE, RealtimePresenceGetOutput as iF, RealtimePresenceLeaveInput as iG, RealtimePresenceLeaveOutput as iH, RealtimePresenceStatsInput as iI, RealtimePresenceStatsOutput as iJ, RealtimePresenceUpdateInput as iK, RealtimePresenceUpdateOutput as iL, RealtimeStatusGetInput as iM, RealtimeStatusGetOutput as iN, RealtimeTokensCreateInput as iO, RealtimeTokensCreateOutput as iP, RealtimeWebhookCreateInput as iQ, RealtimeWebhookCreateOutput as iR, RealtimeWebhookDeleteInput as iS, RealtimeWebhookDeleteOutput as iT, RealtimeWebhookDeliveriesListInput as iU, RealtimeWebhookDeliveriesListOutput as iV, RealtimeWebhookGetInput as iW, RealtimeWebhookGetOutput as iX, RealtimeWebhookListInput as iY, RealtimeWebhookListOutput as iZ, RealtimeWebhookSecretRotateInput as i_, RealtimeArchiveExportInput as ia, RealtimeArchiveExportOutput as ib, RealtimeArchiveExportStatusInput as ic, RealtimeArchiveExportStatusOutput as id, RealtimeArchiveGetInput as ie, RealtimeArchiveGetOutput as ig, RealtimeGrantCreateInput as ih, RealtimeGrantCreateOutput as ii, RealtimeGrantListInput as ij, RealtimeGrantListOutput as ik, RealtimeGrantRevokeInput as il, RealtimeGrantRevokeOutput as im, RealtimeHistoryGetInput as io, RealtimeHistoryGetOutput as ip, RealtimeMessagesPublishInput as iq, RealtimeMessagesPublishOutput as ir, RealtimeNamespaceCreateInput as is, RealtimeNamespaceCreateOutput as it, RealtimeNamespaceDeleteInput as iu, RealtimeNamespaceDeleteOutput as iv, RealtimeNamespaceGetInput as iw, RealtimeNamespaceGetOutput as ix, RealtimeNamespaceListInput as iy, RealtimeNamespaceListOutput as iz, BrainClickupChannelsListOutput as j, TrackingLiveEventsListOutput as j$, RealtimeWebhookUpdateInput as j0, RealtimeWebhookUpdateOutput as j1, TrackingApiKeysCreateInput as j2, TrackingApiKeysCreateOutput as j3, TrackingApiKeysListInput as j4, TrackingApiKeysListOutput as j5, TrackingApiKeysRevokeInput as j6, TrackingApiKeysRevokeOutput as j7, TrackingApiKeysRotateInput as j8, TrackingApiKeysRotateOutput as j9, TrackingGoogleadsFeedbackStatusInput as jA, TrackingGoogleadsFeedbackStatusOutput as jB, TrackingGoogleadsFeedbackUploadsInput as jC, TrackingGoogleadsFeedbackUploadsOutput as jD, TrackingGoogleadsRoasReportInput as jE, TrackingGoogleadsRoasReportOutput as jF, TrackingGoogleadsSyncNowInput as jG, TrackingGoogleadsSyncNowOutput as jH, TrackingGoogleadsTrackingHealthInput as jI, TrackingGoogleadsTrackingHealthOutput as jJ, TrackingGoogleadsUsVsPlatformInput as jK, TrackingGoogleadsUsVsPlatformOutput as jL, TrackingIdentityHealthInput as jM, TrackingIdentityHealthOutput as jN, TrackingInstallDomainsCreateInput as jO, TrackingInstallDomainsCreateOutput as jP, TrackingInstallDomainsDeleteInput as jQ, TrackingInstallDomainsDeleteOutput as jR, TrackingInstallDomainsListInput as jS, TrackingInstallDomainsListOutput as jT, TrackingLinkDomainsCreateInput as jU, TrackingLinkDomainsCreateOutput as jV, TrackingLinkDomainsDeleteInput as jW, TrackingLinkDomainsDeleteOutput as jX, TrackingLinkDomainsListInput as jY, TrackingLinkDomainsListOutput as jZ, TrackingLiveEventsListInput as j_, TrackingDomainsCreateInput as ja, TrackingDomainsCreateOutput as jb, TrackingDomainsDeleteInput as jc, TrackingDomainsDeleteOutput as jd, TrackingDomainsGetInput as je, TrackingDomainsGetOutput as jf, TrackingDomainsListInput as jg, TrackingDomainsListOutput as jh, TrackingDomainsVerifyInput as ji, TrackingDomainsVerifyOutput as jj, TrackingEventNamesArchiveInput as jk, TrackingEventNamesArchiveOutput as jl, TrackingEventNamesListInput as jm, TrackingEventNamesListOutput as jn, TrackingEventNamesUnarchiveInput as jo, TrackingEventNamesUnarchiveOutput as jp, TrackingGoogleadsConnectionStatusInput as jq, TrackingGoogleadsConnectionStatusOutput as jr, TrackingGoogleadsConversionActionsInput as js, TrackingGoogleadsConversionActionsOutput as jt, TrackingGoogleadsFeedbackConfigGetInput as ju, TrackingGoogleadsFeedbackConfigGetOutput as jv, TrackingGoogleadsFeedbackConfigSetInput as jw, TrackingGoogleadsFeedbackConfigSetOutput as jx, TrackingGoogleadsFeedbackRunInput as jy, TrackingGoogleadsFeedbackRunOutput as jz, BrainClickupConnectionsListInput as k, TrackingProfilesDeleteInput as k0, TrackingProfilesDeleteOutput as k1, TrackingProfilesExportInput as k2, TrackingProfilesExportOutput as k3, TrackingProfilesGetInput as k4, TrackingProfilesGetOutput as k5, TrackingProfilesListInput as k6, TrackingProfilesListOutput as k7, TrackingReportsAttributedJourneyInput as k8, TrackingReportsAttributedJourneyOutput as k9, TrackingReportsRevenueBySourceInput as ka, TrackingReportsRevenueBySourceOutput as kb, TrackingReportsSourcePeopleInput as kc, TrackingReportsSourcePeopleOutput as kd, TrackingSnippetsGetInput as ke, TrackingSnippetsGetOutput as kf, WaitlistConfigGetInput as kg, WaitlistConfigGetOutput as kh, WaitlistConfigUpsertInput as ki, WaitlistConfigUpsertOutput as kj, WaitlistEmbedGetInput as kk, WaitlistEmbedGetOutput as kl, WaitlistInvitesSendInput as km, WaitlistInvitesSendOutput as kn, WaitlistSignupsEraseInput as ko, WaitlistSignupsEraseOutput as kp, WaitlistSignupsFunnelInput as kq, WaitlistSignupsFunnelOutput as kr, WaitlistSignupsListInput as ks, WaitlistSignupsListOutput as kt, BrainClickupConnectionsListOutput as l, BrainClickupListsListInput as m, BrainClickupListsListOutput as n, BrainClickupSpacesListInput as o, BrainClickupSpacesListOutput as p, BrainCognitionDigestInput as q, BrainCognitionDigestOutput as r, BrainCognitionStatusInput as s, BrainCognitionStatusOutput as t, BrainCognitionSweepInput as u, BrainCognitionSweepOutput as v, BrainConnectorBranchesListInput as w, BrainConnectorBranchesListOutput as x, BrainConnectorConnectionsListInput as y, BrainConnectorConnectionsListOutput as z };
|
|
18761
|
+
export type { BrainGdriveConnectionsListInput as $, AnalyticsQueryRunInput as A, BrainBackupCreateInput as B, BrainConnectorReposListInput as C, BrainConnectorReposListOutput as D, BrainDaemonBatchStatusInput as E, BrainDaemonBatchStatusOutput as F, GeneratedClient as G, BrainDaemonCreateInput as H, BrainDaemonCreateOutput as I, BrainDaemonGetInput as J, BrainDaemonGetOutput as K, BrainDaemonReingestInput as L, BrainDaemonReingestOutput as M, BrainDaemonRemoveInput as N, BrainDaemonRemoveOutput as O, BrainDaemonRunItemsInput as P, BrainDaemonRunItemsOutput as Q, BrainDaemonRunInput as R, BrainDaemonRunOutput as S, BrainDaemonRunsInput as T, BrainDaemonRunsOutput as U, BrainDaemonStatusInput as V, BrainDaemonStatusOutput as W, BrainDaemonUpdateInput as X, BrainDaemonUpdateOutput as Y, BrainDaemonsListInput as Z, BrainDaemonsListOutput as _, AnalyticsQueryRunOutput as a, DeploymentAlertEventsListInput as a$, BrainGdriveConnectionsListOutput as a0, BrainKnowledgeEntityMemoriesInput as a1, BrainKnowledgeEntityMemoriesOutput as a2, BrainKnowledgeGraphInput as a3, BrainKnowledgeGraphOutput as a4, BrainKnowledgeNeighborhoodInput as a5, BrainKnowledgeNeighborhoodOutput as a6, BrainKnowledgeRelationsInput as a7, BrainKnowledgeRelationsOutput as a8, BrainKnowledgeSearchInput as a9, ConsentConfigThemeUpsertOutput as aA, ConsentDashboardConfigGetInput as aB, ConsentDashboardConfigGetOutput as aC, ConsentDashboardDecisionsListInput as aD, ConsentDashboardDecisionsListOutput as aE, ConsentDashboardEmbedSnippetGetInput as aF, ConsentDashboardEmbedSnippetGetOutput as aG, ConsentDashboardStatsGetInput as aH, ConsentDashboardStatsGetOutput as aI, ConsentEmbedGetInput as aJ, ConsentEmbedGetOutput as aK, ConsentProvidersCreateInput as aL, ConsentProvidersCreateOutput as aM, ConsentProvidersDeleteInput as aN, ConsentProvidersDeleteOutput as aO, ConsentProvidersListInput as aP, ConsentProvidersListOutput as aQ, ConsentProvidersUpdateInput as aR, ConsentProvidersUpdateOutput as aS, ConsentRecordsExportInput as aT, ConsentRecordsExportOutput as aU, ConsentStatsGetInput as aV, ConsentStatsGetOutput as aW, DeploymentAlertCreateInput as aX, DeploymentAlertCreateOutput as aY, DeploymentAlertDeleteInput as aZ, DeploymentAlertDeleteOutput as a_, BrainKnowledgeSearchOutput as aa, BrainMemoryAddInput as ab, BrainMemoryAddOutput as ac, BrainMemoryDeleteInput as ad, BrainMemoryDeleteOutput as ae, BrainMemoryGetInput as af, BrainMemoryGetOutput as ag, BrainMemoryListInput as ah, BrainMemoryListOutput as ai, BrainMemorySearchInput as aj, BrainMemorySearchOutput as ak, BrainMemoryStatsInput as al, BrainMemoryStatsOutput as am, BrainMemoryUpdateInput as an, BrainMemoryUpdateOutput as ao, BrainProductSharedMemoryResetInput as ap, BrainProductSharedMemoryResetOutput as aq, BrainRestoreStatusInput as ar, BrainRestoreStatusOutput as as, ConsentConfigCookieDomainUpsertInput as at, ConsentConfigCookieDomainUpsertOutput as au, ConsentConfigCustomizationUpsertInput as av, ConsentConfigCustomizationUpsertOutput as aw, ConsentConfigFloatingIconUpsertInput as ax, ConsentConfigFloatingIconUpsertOutput as ay, ConsentConfigThemeUpsertInput as az, BrainBackupCreateOutput as b, DeploymentDomainListByServiceInput as b$, DeploymentAlertEventsListOutput as b0, DeploymentAlertListInput as b1, DeploymentAlertListOutput as b2, DeploymentAlertUpdateInput as b3, DeploymentAlertUpdateOutput as b4, DeploymentAnalyticsQueryInput as b5, DeploymentAnalyticsQueryOutput as b6, DeploymentAuditListInput as b7, DeploymentAuditListOutput as b8, DeploymentBuildGetInput as b9, DeploymentCloudSqlInstanceBackupOutput as bA, DeploymentCloudSqlInstanceCreateInput as bB, DeploymentCloudSqlInstanceCreateOutput as bC, DeploymentCloudSqlInstanceDeleteInput as bD, DeploymentCloudSqlInstanceDeleteOutput as bE, DeploymentCloudSqlInstanceGetInput as bF, DeploymentCloudSqlInstanceGetOutput as bG, DeploymentCloudSqlInstanceListInput as bH, DeploymentCloudSqlInstanceListOutput as bI, DeploymentCloudSqlInstanceResizeInput as bJ, DeploymentCloudSqlInstanceResizeOutput as bK, DeploymentCloudSqlInstanceRestoreInput as bL, DeploymentCloudSqlInstanceRestoreOutput as bM, DeploymentCloudSqlLogsInput as bN, DeploymentCloudSqlLogsOutput as bO, DeploymentDeploymentCancelInput as bP, DeploymentDeploymentCancelOutput as bQ, DeploymentDeploymentGetInput as bR, DeploymentDeploymentGetOutput as bS, DeploymentDeploymentListInput as bT, DeploymentDeploymentListOutput as bU, DeploymentDomainAddInput as bV, DeploymentDomainAddOutput as bW, DeploymentDomainAllowedListInput as bX, DeploymentDomainAllowedListOutput as bY, DeploymentDomainGetInput as bZ, DeploymentDomainGetOutput as b_, DeploymentBuildGetOutput as ba, DeploymentBuildListInput as bb, DeploymentBuildListOutput as bc, DeploymentBuildLogsInput as bd, DeploymentBuildLogsOutput as be, DeploymentCanvasGetInput as bf, DeploymentCanvasGetOutput as bg, DeploymentCanvasMoveNodeInput as bh, DeploymentCanvasMoveNodeOutput as bi, DeploymentCloudSqlBackfillLogFlagsInput as bj, DeploymentCloudSqlBackfillLogFlagsOutput as bk, DeploymentCloudSqlDatabaseAttachInput as bl, DeploymentCloudSqlDatabaseAttachOutput as bm, DeploymentCloudSqlDatabaseCreateInput as bn, DeploymentCloudSqlDatabaseCreateOutput as bo, DeploymentCloudSqlDatabaseDeleteInput as bp, DeploymentCloudSqlDatabaseDeleteOutput as bq, DeploymentCloudSqlDatabaseDetachInput as br, DeploymentCloudSqlDatabaseDetachOutput as bs, DeploymentCloudSqlDatabaseGetInput as bt, DeploymentCloudSqlDatabaseGetOutput as bu, DeploymentCloudSqlDatabaseListInput as bv, DeploymentCloudSqlDatabaseListOutput as bw, DeploymentCloudSqlInstanceBackupListInput as bx, DeploymentCloudSqlInstanceBackupListOutput as by, DeploymentCloudSqlInstanceBackupInput as bz, BrainBackupRestoreInput as c, DeploymentMetricsGetInput as c$, DeploymentDomainListByServiceOutput as c0, DeploymentDomainListInput as c1, DeploymentDomainListOutput as c2, DeploymentDomainRedirectWwwInput as c3, DeploymentDomainRedirectWwwOutput as c4, DeploymentDomainRemoveInput as c5, DeploymentDomainRemoveOutput as c6, DeploymentDomainRoutesAddInput as c7, DeploymentDomainRoutesAddOutput as c8, DeploymentDomainRoutesListInput as c9, DeploymentManagedServiceBackupListOutput as cA, DeploymentManagedServiceBackupInput as cB, DeploymentManagedServiceBackupOutput as cC, DeploymentManagedServiceConnectInfoInput as cD, DeploymentManagedServiceConnectInfoOutput as cE, DeploymentManagedServiceDeleteInput as cF, DeploymentManagedServiceDeleteOutput as cG, DeploymentManagedServiceGetInput as cH, DeploymentManagedServiceGetOutput as cI, DeploymentManagedServiceListInput as cJ, DeploymentManagedServiceListOutput as cK, DeploymentManagedServiceLogsInput as cL, DeploymentManagedServiceLogsOutput as cM, DeploymentManagedServiceProvisionInput as cN, DeploymentManagedServiceProvisionOutput as cO, DeploymentManagedServiceReconcileInput as cP, DeploymentManagedServiceReconcileOutput as cQ, DeploymentManagedServiceResizeInput as cR, DeploymentManagedServiceResizeOutput as cS, DeploymentManagedServiceRestoreInput as cT, DeploymentManagedServiceRestoreOutput as cU, DeploymentManagedServiceStartInput as cV, DeploymentManagedServiceStartOutput as cW, DeploymentManagedServiceStopInput as cX, DeploymentManagedServiceStopOutput as cY, DeploymentManagedServiceTypesInput as cZ, DeploymentManagedServiceTypesOutput as c_, DeploymentDomainRoutesListOutput as ca, DeploymentDomainRoutesRemoveInput as cb, DeploymentDomainRoutesRemoveOutput as cc, DeploymentDomainRoutesUpdateInput as cd, DeploymentDomainRoutesUpdateOutput as ce, DeploymentDomainVerifyInput as cf, DeploymentDomainVerifyOutput as cg, DeploymentEnvironmentCreateInput as ch, DeploymentEnvironmentCreateOutput as ci, DeploymentEnvironmentDeleteInput as cj, DeploymentEnvironmentDeleteOutput as ck, DeploymentEnvironmentForkInput as cl, DeploymentEnvironmentForkOutput as cm, DeploymentEnvironmentGetInput as cn, DeploymentEnvironmentGetOutput as co, DeploymentEnvironmentListInput as cp, DeploymentEnvironmentListOutput as cq, DeploymentEnvironmentReconcileInput as cr, DeploymentEnvironmentReconcileOutput as cs, DeploymentEnvironmentUpdateInput as ct, DeploymentEnvironmentUpdateOutput as cu, DeploymentEventsListByEnvironmentInput as cv, DeploymentEventsListByEnvironmentOutput as cw, DeploymentEventsListByServiceInput as cx, DeploymentEventsListByServiceOutput as cy, DeploymentManagedServiceBackupListInput as cz, BrainBackupRestoreOutput as d, DeploymentVcsBranchListOutput as d$, DeploymentMetricsGetOutput as d0, DeploymentPreviewEnvironmentCreateInput as d1, DeploymentPreviewEnvironmentCreateOutput as d2, DeploymentPreviewEnvironmentDeleteInput as d3, DeploymentPreviewEnvironmentDeleteOutput as d4, DeploymentPreviewEnvironmentListInput as d5, DeploymentPreviewEnvironmentListOutput as d6, DeploymentPreviewPolicyGetInput as d7, DeploymentPreviewPolicyGetOutput as d8, DeploymentPreviewPolicySetInput as d9, DeploymentSshCommandInput as dA, DeploymentSshCommandOutput as dB, DeploymentSshKeyDeleteInput as dC, DeploymentSshKeyDeleteOutput as dD, DeploymentSshKeyListInput as dE, DeploymentSshKeyListOutput as dF, DeploymentSshKeyRegisterInput as dG, DeploymentSshKeyRegisterOutput as dH, DeploymentVariableListEnvInput as dI, DeploymentVariableListEnvOutput as dJ, DeploymentVariableListProductInput as dK, DeploymentVariableListProductOutput as dL, DeploymentVariableListInput as dM, DeploymentVariableListOutput as dN, DeploymentVariableSetEnvInput as dO, DeploymentVariableSetEnvOutput as dP, DeploymentVariableSetInput as dQ, DeploymentVariableSetOutput as dR, DeploymentVariableSetProductInput as dS, DeploymentVariableSetProductOutput as dT, DeploymentVariableUnsetEnvInput as dU, DeploymentVariableUnsetEnvOutput as dV, DeploymentVariableUnsetInput as dW, DeploymentVariableUnsetOutput as dX, DeploymentVariableUnsetProductInput as dY, DeploymentVariableUnsetProductOutput as dZ, DeploymentVcsBranchListInput as d_, DeploymentPreviewPolicySetOutput as da, DeploymentServiceCreateInput as db, DeploymentServiceCreateOutput as dc, DeploymentServiceDeleteInput as dd, DeploymentServiceDeleteOutput as de, DeploymentServiceExecInput as df, DeploymentServiceExecOutput as dg, DeploymentServiceGetInput as dh, DeploymentServiceGetOutput as di, DeploymentServiceListInput as dj, DeploymentServiceListOutput as dk, DeploymentServiceLogsInput as dl, DeploymentServiceLogsOutput as dm, DeploymentServiceRedeployInput as dn, DeploymentServiceRedeployOutput as dp, DeploymentServiceRestartInput as dq, DeploymentServiceRestartOutput as dr, DeploymentServiceRollbackInput as ds, DeploymentServiceRollbackOutput as dt, DeploymentServiceScaleInput as du, DeploymentServiceScaleOutput as dv, DeploymentServiceUpdateInput as dw, DeploymentServiceUpdateOutput as dx, DeploymentServiceWakeInput as dy, DeploymentServiceWakeOutput as dz, BrainBackupStatusInput as e, MailDomainDeleteOutput as e$, DeploymentVcsConnectionListInput as e0, DeploymentVcsConnectionListOutput as e1, DeploymentVcsRepoListInput as e2, DeploymentVcsRepoListOutput as e3, DeploymentVolumeCreateInput as e4, DeploymentVolumeCreateOutput as e5, DeploymentVolumeDeleteInput as e6, DeploymentVolumeDeleteOutput as e7, DeploymentVolumeDetachInput as e8, DeploymentVolumeDetachOutput as e9, MailBroadcastDeleteInput as eA, MailBroadcastDeleteOutput as eB, MailBroadcastGetInput as eC, MailBroadcastGetOutput as eD, MailBroadcastListInput as eE, MailBroadcastListOutput as eF, MailBroadcastQueueInput as eG, MailBroadcastQueueOutput as eH, MailBroadcastStatsInput as eI, MailBroadcastStatsOutput as eJ, MailBroadcastUpdateInput as eK, MailBroadcastUpdateOutput as eL, MailContactCreateInput as eM, MailContactCreateOutput as eN, MailContactDeleteInput as eO, MailContactDeleteOutput as eP, MailContactGetInput as eQ, MailContactGetOutput as eR, MailContactListInput as eS, MailContactListOutput as eT, MailContactUpdateInput as eU, MailContactUpdateOutput as eV, MailDomainAllowedListInput as eW, MailDomainAllowedListOutput as eX, MailDomainCreateInput as eY, MailDomainCreateOutput as eZ, MailDomainDeleteInput as e_, DeploymentVolumeGetInput as ea, DeploymentVolumeGetOutput as eb, DeploymentVolumeListInput as ec, DeploymentVolumeListOutput as ed, DeploymentVolumeResizeInput as ee, DeploymentVolumeResizeOutput as ef, MailApikeyCreateInput as eg, MailApikeyCreateOutput as eh, MailApikeyDeleteInput as ei, MailApikeyDeleteOutput as ej, MailApikeyListInput as ek, MailApikeyListOutput as el, MailAudienceCreateInput as em, MailAudienceCreateOutput as en, MailAudienceDeleteInput as eo, MailAudienceDeleteOutput as ep, MailAudienceGetInput as eq, MailAudienceGetOutput as er, MailAudienceListInput as es, MailAudienceListOutput as et, MailAudienceUpdateInput as eu, MailAudienceUpdateOutput as ev, MailBroadcastCancelInput as ew, MailBroadcastCancelOutput as ex, MailBroadcastCreateInput as ey, MailBroadcastCreateOutput as ez, BrainBackupStatusOutput as f, OrganizationCloudflareInstallOutput as f$, MailDomainGetInput as f0, MailDomainGetOutput as f1, MailDomainListInput as f2, MailDomainListOutput as f3, MailDomainUpdateInput as f4, MailDomainUpdateOutput as f5, MailDomainVerifyInput as f6, MailDomainVerifyOutput as f7, MailEmailCancelInput as f8, MailEmailCancelOutput as f9, MailTemplatePublishOutput as fA, MailTemplateUpdateInput as fB, MailTemplateUpdateOutput as fC, MailUsageGetInput as fD, MailUsageGetOutput as fE, MailWebhookCreateInput as fF, MailWebhookCreateOutput as fG, MailWebhookDeleteInput as fH, MailWebhookDeleteOutput as fI, MailWebhookDeliveriesListInput as fJ, MailWebhookDeliveriesListOutput as fK, MailWebhookGetInput as fL, MailWebhookGetOutput as fM, MailWebhookListInput as fN, MailWebhookListOutput as fO, MailWebhookUpdateInput as fP, MailWebhookUpdateOutput as fQ, MailEmailGetOutput as fR, OrganizationAuthMeInput as fS, OrganizationAuthMeOutput as fT, OrganizationBindingsListInput as fU, OrganizationBindingsListOutput as fV, OrganizationClickupInstallInput as fW, OrganizationClickupInstallOutput as fX, OrganizationClickupListInstallationsInput as fY, OrganizationClickupListInstallationsOutput as fZ, OrganizationCloudflareInstallInput as f_, MailEmailGetInput as fa, MailEmailSendBatchInput as fb, MailEmailSendBatchOutput as fc, MailEmailSendInput as fd, MailEmailSendOutput as fe, MailEmailUpdateInput as ff, MailEmailUpdateOutput as fg, MailReputationGetInput as fh, MailReputationGetOutput as fi, MailStatsGetInput as fj, MailStatsGetOutput as fk, MailSuppressionAddInput as fl, MailSuppressionAddOutput as fm, MailSuppressionListInput as fn, MailSuppressionListOutput as fo, MailSuppressionRemoveInput as fp, MailSuppressionRemoveOutput as fq, MailTemplateCreateInput as fr, MailTemplateCreateOutput as fs, MailTemplateDeleteInput as ft, MailTemplateDeleteOutput as fu, MailTemplateGetInput as fv, MailTemplateGetOutput as fw, MailTemplateListInput as fx, MailTemplateListOutput as fy, MailTemplatePublishInput as fz, BrainBackupsListInput as g, OrganizationMemberListOutput as g$, OrganizationConnectorsApproveRequestInput as g0, OrganizationConnectorsApproveRequestOutput as g1, OrganizationConnectorsAttachInput as g2, OrganizationConnectorsAttachOutput as g3, OrganizationConnectorsDeleteInput as g4, OrganizationConnectorsDeleteOutput as g5, OrganizationConnectorsDenyRequestInput as g6, OrganizationConnectorsDenyRequestOutput as g7, OrganizationConnectorsDetachInput as g8, OrganizationConnectorsDetachOutput as g9, OrganizationExtensionsListInstalledInput as gA, OrganizationExtensionsListInstalledOutput as gB, OrganizationExtensionsListInput as gC, OrganizationExtensionsListOutput as gD, OrganizationExtensionsUninstallInput as gE, OrganizationExtensionsUninstallOutput as gF, OrganizationFeedbackSubmitInput as gG, OrganizationFeedbackSubmitOutput as gH, OrganizationGdriveInstallInput as gI, OrganizationGdriveInstallOutput as gJ, OrganizationGithubInstallInput as gK, OrganizationGithubInstallOutput as gL, OrganizationGithubListInstallationsInput as gM, OrganizationGithubListInstallationsOutput as gN, OrganizationGoogleadsInstallInput as gO, OrganizationGoogleadsInstallOutput as gP, OrganizationListInput as gQ, OrganizationListOutput as gR, OrganizationMemberAcceptInviteInput as gS, OrganizationMemberAcceptInviteOutput as gT, OrganizationMemberInviteInput as gU, OrganizationMemberInviteOutput as gV, OrganizationMemberListInvitationsInput as gW, OrganizationMemberListInvitationsOutput as gX, OrganizationMemberListProductAccessInput as gY, OrganizationMemberListProductAccessOutput as gZ, OrganizationMemberListInput as g_, OrganizationConnectorsListAttachmentsInput as ga, OrganizationConnectorsListAttachmentsOutput as gb, OrganizationConnectorsListAvailableInput as gc, OrganizationConnectorsListAvailableOutput as gd, OrganizationConnectorsListOrgInput as ge, OrganizationConnectorsListOrgOutput as gf, OrganizationConnectorsListInput as gg, OrganizationConnectorsListOutput as gh, OrganizationConnectorsListRequestsInput as gi, OrganizationConnectorsListRequestsOutput as gj, OrganizationConnectorsRemoveInput as gk, OrganizationConnectorsRemoveOutput as gl, OrganizationConnectorsRequestInput as gm, OrganizationConnectorsRequestOutput as gn, OrganizationCreateInput as go, OrganizationCreateOutput as gp, OrganizationDomainsAddInput as gq, OrganizationDomainsAddOutput as gr, OrganizationDomainsGetInput as gs, OrganizationDomainsGetOutput as gt, OrganizationDomainsListInput as gu, OrganizationDomainsListOutput as gv, OrganizationDomainsRemoveInput as gw, OrganizationDomainsRemoveOutput as gx, OrganizationExtensionsInstallInput as gy, OrganizationExtensionsInstallOutput as gz, BrainBackupsListOutput as h, PlaygroundLifecycleGetStateOutput as h$, OrganizationMemberRemoveInput as h0, OrganizationMemberRemoveOutput as h1, OrganizationMemberRevokeInvitationInput as h2, OrganizationMemberRevokeInvitationOutput as h3, OrganizationMemberSetRoleInput as h4, OrganizationMemberSetRoleOutput as h5, OrganizationMemberShareProductInput as h6, OrganizationMemberShareProductOutput as h7, OrganizationMemberUnshareProductInput as h8, OrganizationMemberUnshareProductOutput as h9, OrganizationRolesGetInput as hA, OrganizationRolesGetOutput as hB, OrganizationRolesListInput as hC, OrganizationRolesListOutput as hD, OrganizationRolesUpdateInput as hE, OrganizationRolesUpdateOutput as hF, OrganizationSelectInput as hG, OrganizationSelectOutput as hH, PlaygroundAnalyticsOverviewInput as hI, PlaygroundAnalyticsOverviewOutput as hJ, PlaygroundBillingEntitlementsInput as hK, PlaygroundBillingEntitlementsOutput as hL, PlaygroundBillingRecordUsageInput as hM, PlaygroundBillingRecordUsageOutput as hN, PlaygroundClickupCreateTaskInput as hO, PlaygroundClickupCreateTaskOutput as hP, PlaygroundClickupGetLastWebhookInput as hQ, PlaygroundClickupGetLastWebhookOutput as hR, PlaygroundClickupGetOverviewInput as hS, PlaygroundClickupGetOverviewOutput as hT, PlaygroundGdriveGetLastChangeInput as hU, PlaygroundGdriveGetLastChangeOutput as hV, PlaygroundGdriveReadFileInput as hW, PlaygroundGdriveReadFileOutput as hX, PlaygroundGoogleadsReadCustomerInput as hY, PlaygroundGoogleadsReadCustomerOutput as hZ, PlaygroundLifecycleGetStateInput as h_, OrganizationMembersAssignRoleInput as ha, OrganizationMembersAssignRoleOutput as hb, OrganizationPermissionCatalogInput as hc, OrganizationPermissionCatalogOutput as hd, OrganizationProductAcceptInvitationInput as he, OrganizationProductAcceptInvitationOutput as hf, OrganizationProductCreateInput as hg, OrganizationProductCreateOutput as hh, OrganizationProductInviteInput as hi, OrganizationProductInviteOutput as hj, OrganizationProductListInvitationsInput as hk, OrganizationProductListInvitationsOutput as hl, OrganizationProductListMembersInput as hm, OrganizationProductListMembersOutput as hn, OrganizationProductListInput as ho, OrganizationProductListOutput as hp, OrganizationProductListRolesInput as hq, OrganizationProductListRolesOutput as hr, OrganizationProductRevokeInvitationInput as hs, OrganizationProductRevokeInvitationOutput as ht, OrganizationProductSelectInput as hu, OrganizationProductSelectOutput as hv, OrganizationRolesCreateInput as hw, OrganizationRolesCreateOutput as hx, OrganizationRolesDeleteInput as hy, OrganizationRolesDeleteOutput as hz, BrainClickupChannelsListInput as i, RealtimeWebhookSecretRotateOutput as i$, PlaygroundLifecycleListEventsInput as i0, PlaygroundLifecycleListEventsOutput as i1, PlaygroundWebhookGetLastInput as i2, PlaygroundWebhookGetLastOutput as i3, RealtimeApikeyCreateInput as i4, RealtimeApikeyCreateOutput as i5, RealtimeApikeyListInput as i6, RealtimeApikeyListOutput as i7, RealtimeApikeyRevokeInput as i8, RealtimeApikeyRevokeOutput as i9, RealtimeNamespaceUpdateInput as iA, RealtimeNamespaceUpdateOutput as iB, RealtimePresenceEnterInput as iC, RealtimePresenceEnterOutput as iD, RealtimePresenceGetInput as iE, RealtimePresenceGetOutput as iF, RealtimePresenceLeaveInput as iG, RealtimePresenceLeaveOutput as iH, RealtimePresenceStatsInput as iI, RealtimePresenceStatsOutput as iJ, RealtimePresenceUpdateInput as iK, RealtimePresenceUpdateOutput as iL, RealtimeStatusGetInput as iM, RealtimeStatusGetOutput as iN, RealtimeTokensCreateInput as iO, RealtimeTokensCreateOutput as iP, RealtimeWebhookCreateInput as iQ, RealtimeWebhookCreateOutput as iR, RealtimeWebhookDeleteInput as iS, RealtimeWebhookDeleteOutput as iT, RealtimeWebhookDeliveriesListInput as iU, RealtimeWebhookDeliveriesListOutput as iV, RealtimeWebhookGetInput as iW, RealtimeWebhookGetOutput as iX, RealtimeWebhookListInput as iY, RealtimeWebhookListOutput as iZ, RealtimeWebhookSecretRotateInput as i_, RealtimeArchiveExportInput as ia, RealtimeArchiveExportOutput as ib, RealtimeArchiveExportStatusInput as ic, RealtimeArchiveExportStatusOutput as id, RealtimeArchiveGetInput as ie, RealtimeArchiveGetOutput as ig, RealtimeGrantCreateInput as ih, RealtimeGrantCreateOutput as ii, RealtimeGrantListInput as ij, RealtimeGrantListOutput as ik, RealtimeGrantRevokeInput as il, RealtimeGrantRevokeOutput as im, RealtimeHistoryGetInput as io, RealtimeHistoryGetOutput as ip, RealtimeMessagesPublishInput as iq, RealtimeMessagesPublishOutput as ir, RealtimeNamespaceCreateInput as is, RealtimeNamespaceCreateOutput as it, RealtimeNamespaceDeleteInput as iu, RealtimeNamespaceDeleteOutput as iv, RealtimeNamespaceGetInput as iw, RealtimeNamespaceGetOutput as ix, RealtimeNamespaceListInput as iy, RealtimeNamespaceListOutput as iz, BrainClickupChannelsListOutput as j, TrackingLiveEventsListOutput as j$, RealtimeWebhookUpdateInput as j0, RealtimeWebhookUpdateOutput as j1, TrackingApiKeysCreateInput as j2, TrackingApiKeysCreateOutput as j3, TrackingApiKeysListInput as j4, TrackingApiKeysListOutput as j5, TrackingApiKeysRevokeInput as j6, TrackingApiKeysRevokeOutput as j7, TrackingApiKeysRotateInput as j8, TrackingApiKeysRotateOutput as j9, TrackingGoogleadsFeedbackStatusInput as jA, TrackingGoogleadsFeedbackStatusOutput as jB, TrackingGoogleadsFeedbackUploadsInput as jC, TrackingGoogleadsFeedbackUploadsOutput as jD, TrackingGoogleadsRoasReportInput as jE, TrackingGoogleadsRoasReportOutput as jF, TrackingGoogleadsSyncNowInput as jG, TrackingGoogleadsSyncNowOutput as jH, TrackingGoogleadsTrackingHealthInput as jI, TrackingGoogleadsTrackingHealthOutput as jJ, TrackingGoogleadsUsVsPlatformInput as jK, TrackingGoogleadsUsVsPlatformOutput as jL, TrackingIdentityHealthInput as jM, TrackingIdentityHealthOutput as jN, TrackingInstallDomainsCreateInput as jO, TrackingInstallDomainsCreateOutput as jP, TrackingInstallDomainsDeleteInput as jQ, TrackingInstallDomainsDeleteOutput as jR, TrackingInstallDomainsListInput as jS, TrackingInstallDomainsListOutput as jT, TrackingLinkDomainsCreateInput as jU, TrackingLinkDomainsCreateOutput as jV, TrackingLinkDomainsDeleteInput as jW, TrackingLinkDomainsDeleteOutput as jX, TrackingLinkDomainsListInput as jY, TrackingLinkDomainsListOutput as jZ, TrackingLiveEventsListInput as j_, TrackingDomainsCreateInput as ja, TrackingDomainsCreateOutput as jb, TrackingDomainsDeleteInput as jc, TrackingDomainsDeleteOutput as jd, TrackingDomainsGetInput as je, TrackingDomainsGetOutput as jf, TrackingDomainsListInput as jg, TrackingDomainsListOutput as jh, TrackingDomainsVerifyInput as ji, TrackingDomainsVerifyOutput as jj, TrackingEventNamesArchiveInput as jk, TrackingEventNamesArchiveOutput as jl, TrackingEventNamesListInput as jm, TrackingEventNamesListOutput as jn, TrackingEventNamesUnarchiveInput as jo, TrackingEventNamesUnarchiveOutput as jp, TrackingGoogleadsConnectionStatusInput as jq, TrackingGoogleadsConnectionStatusOutput as jr, TrackingGoogleadsConversionActionsInput as js, TrackingGoogleadsConversionActionsOutput as jt, TrackingGoogleadsFeedbackConfigGetInput as ju, TrackingGoogleadsFeedbackConfigGetOutput as jv, TrackingGoogleadsFeedbackConfigSetInput as jw, TrackingGoogleadsFeedbackConfigSetOutput as jx, TrackingGoogleadsFeedbackRunInput as jy, TrackingGoogleadsFeedbackRunOutput as jz, BrainClickupConnectionsListInput as k, UsersUsersGetOutput as k$, TrackingProfilesDeleteInput as k0, TrackingProfilesDeleteOutput as k1, TrackingProfilesExportInput as k2, TrackingProfilesExportOutput as k3, TrackingProfilesGetInput as k4, TrackingProfilesGetOutput as k5, TrackingProfilesListInput as k6, TrackingProfilesListOutput as k7, TrackingReportsAttributedJourneyInput as k8, TrackingReportsAttributedJourneyOutput as k9, UsersKeysRotateInput as kA, UsersKeysRotateOutput as kB, UsersOpsRetentionGetInput as kC, UsersOpsRetentionGetOutput as kD, UsersOpsSloGetInput as kE, UsersOpsSloGetOutput as kF, UsersSessionsGetInput as kG, UsersSessionsGetOutput as kH, UsersSessionsImpersonateInput as kI, UsersSessionsImpersonateOutput as kJ, UsersSessionsListInput as kK, UsersSessionsListOutput as kL, UsersSessionsRevokeInput as kM, UsersSessionsRevokeOutput as kN, UsersStatsGetInput as kO, UsersStatsGetOutput as kP, UsersUsersBanInput as kQ, UsersUsersBanOutput as kR, UsersUsersCreateInput as kS, UsersUsersCreateOutput as kT, UsersUsersDeleteInput as kU, UsersUsersDeleteOutput as kV, UsersUsersEraseInput as kW, UsersUsersEraseOutput as kX, UsersUsersExportInput as kY, UsersUsersExportOutput as kZ, UsersUsersGetInput as k_, TrackingReportsRevenueBySourceInput as ka, TrackingReportsRevenueBySourceOutput as kb, TrackingReportsSourcePeopleInput as kc, TrackingReportsSourcePeopleOutput as kd, TrackingSnippetsGetInput as ke, TrackingSnippetsGetOutput as kf, UsersApikeysCreateInput as kg, UsersApikeysCreateOutput as kh, UsersApikeysListInput as ki, UsersApikeysListOutput as kj, UsersApikeysRevokeInput as kk, UsersApikeysRevokeOutput as kl, UsersAuditListInput as km, UsersAuditListOutput as kn, UsersConfigGetInput as ko, UsersConfigGetOutput as kp, UsersConfigUpsertInput as kq, UsersConfigUpsertOutput as kr, UsersFactorsListInput as ks, UsersFactorsListOutput as kt, UsersFactorsResetInput as ku, UsersFactorsResetOutput as kv, UsersKeysListInput as kw, UsersKeysListOutput as kx, UsersKeysRevokeInput as ky, UsersKeysRevokeOutput as kz, BrainClickupConnectionsListOutput as l, UsersUsersImportInput as l0, UsersUsersImportOutput as l1, UsersUsersInviteInput as l2, UsersUsersInviteOutput as l3, UsersUsersListInput as l4, UsersUsersListOutput as l5, UsersUsersSetPrimaryIdentifierInput as l6, UsersUsersSetPrimaryIdentifierOutput as l7, UsersUsersUnbanInput as l8, UsersUsersUnbanOutput as l9, WaitlistConfigGetInput as lA, WaitlistConfigGetOutput as lB, WaitlistConfigUpsertInput as lC, WaitlistConfigUpsertOutput as lD, WaitlistEmbedGetInput as lE, WaitlistEmbedGetOutput as lF, WaitlistInvitesSendInput as lG, WaitlistInvitesSendOutput as lH, WaitlistSignupsEraseInput as lI, WaitlistSignupsEraseOutput as lJ, WaitlistSignupsFunnelInput as lK, WaitlistSignupsFunnelOutput as lL, WaitlistSignupsListInput as lM, WaitlistSignupsListOutput as lN, UsersUsersUpdateInput as la, UsersUsersUpdateOutput as lb, UsersWaitlistEraseInput as lc, UsersWaitlistEraseOutput as ld, UsersWaitlistFunnelInput as le, UsersWaitlistFunnelOutput as lf, UsersWaitlistImportInput as lg, UsersWaitlistImportOutput as lh, UsersWaitlistInviteInput as li, UsersWaitlistInviteOutput as lj, UsersWaitlistListInput as lk, UsersWaitlistListOutput as ll, UsersWebhooksCreateInput as lm, UsersWebhooksCreateOutput as ln, UsersWebhooksDeleteInput as lo, UsersWebhooksDeleteOutput as lp, UsersWebhooksDeliveriesListInput as lq, UsersWebhooksDeliveriesListOutput as lr, UsersWebhooksGetInput as ls, UsersWebhooksGetOutput as lt, UsersWebhooksListInput as lu, UsersWebhooksListOutput as lv, UsersWebhooksRotateSecretInput as lw, UsersWebhooksRotateSecretOutput as lx, UsersWebhooksUpdateInput as ly, UsersWebhooksUpdateOutput as lz, BrainClickupListsListInput as m, BrainClickupListsListOutput as n, BrainClickupSpacesListInput as o, BrainClickupSpacesListOutput as p, BrainCognitionDigestInput as q, BrainCognitionDigestOutput as r, BrainCognitionStatusInput as s, BrainCognitionStatusOutput as t, BrainCognitionSweepInput as u, BrainCognitionSweepOutput as v, BrainConnectorBranchesListInput as w, BrainConnectorBranchesListOutput as x, BrainConnectorConnectionsListInput as y, BrainConnectorConnectionsListOutput as z };
|