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