@lepsto/sdk-app 90.1.0 → 91.0.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/CHANGELOG.md +11 -15
- package/dist/_types/gen/client.gen.d.ts +7 -1
- package/dist/_types/gen/types.gen.d.ts +317 -8
- package/dist/_types/gen/users/index.d.ts +1 -1
- package/dist/_types/gen/users/queryOptions.gen.d.ts +17 -1
- package/dist/{chunk-T3O56NBF.js → chunk-LMCZVZKI.js} +116 -2
- package/dist/{chunk-T3O56NBF.js.map → chunk-LMCZVZKI.js.map} +1 -1
- package/dist/index.cjs +122 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +1 -1
- package/dist/users/index.cjs +20 -0
- package/dist/users/index.cjs.map +1 -1
- package/dist/users/index.js +17 -1
- package/dist/users/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +114 -0
- package/src/gen/client.gen.ts +14 -0
- package/src/gen/manifest.gen.ts +8 -0
- package/src/gen/types.gen.ts +325 -8
- package/src/gen/users/index.ts +1 -1
- package/src/gen/users/queryOptions.gen.ts +25 -0
|
@@ -124345,6 +124345,243 @@ export interface UsersStatsGetOutput {
|
|
|
124345
124345
|
createdInWindow: number;
|
|
124346
124346
|
};
|
|
124347
124347
|
}
|
|
124348
|
+
export interface UsersTouchesCreateInput {
|
|
124349
|
+
/**
|
|
124350
|
+
* What was said or done, free text, 1-8192 characters. Personal data: it is whatever an operator typed about this person.
|
|
124351
|
+
*/
|
|
124352
|
+
body: string;
|
|
124353
|
+
/**
|
|
124354
|
+
* The end user this interaction was with.
|
|
124355
|
+
*/
|
|
124356
|
+
userId: string;
|
|
124357
|
+
/**
|
|
124358
|
+
* How the person was touched: 'message', 'call', 'meeting', 'note' (an internal observation nobody sent) or 'email' sent OUTSIDE the platform. Email this toolkit sent is not logged here — read those from the mail toolkit.
|
|
124359
|
+
*/
|
|
124360
|
+
channel: ("message" | "call" | "meeting" | "note" | "email");
|
|
124361
|
+
/**
|
|
124362
|
+
* Which way it went: 'outbound' (you reached them), 'inbound' (they reached you) or 'none'. A 'note' or a 'meeting' must be 'none'.
|
|
124363
|
+
*/
|
|
124364
|
+
direction: ("outbound" | "inbound" | "none");
|
|
124365
|
+
/**
|
|
124366
|
+
* When it happened (ISO 8601). Omit to mean now — pass it when logging after the fact, which may be any time in the past.
|
|
124367
|
+
*/
|
|
124368
|
+
occurredAt?: string;
|
|
124369
|
+
}
|
|
124370
|
+
export interface UsersTouchesCreateOutput {
|
|
124371
|
+
/**
|
|
124372
|
+
* Id of this touch. Pass it to users_touches_update or _delete.
|
|
124373
|
+
*/
|
|
124374
|
+
id: string;
|
|
124375
|
+
/**
|
|
124376
|
+
* What was said or done, free text, 1-8192 characters. Personal data: it is whatever an operator typed about this person.
|
|
124377
|
+
*/
|
|
124378
|
+
body: string;
|
|
124379
|
+
/**
|
|
124380
|
+
* The end user this interaction was with.
|
|
124381
|
+
*/
|
|
124382
|
+
userId: string;
|
|
124383
|
+
/**
|
|
124384
|
+
* Id of the operator or agent that logged it, verbatim.
|
|
124385
|
+
*/
|
|
124386
|
+
actorId: string;
|
|
124387
|
+
/**
|
|
124388
|
+
* How the person was touched: 'message', 'call', 'meeting', 'note' (an internal observation nobody sent) or 'email' sent OUTSIDE the platform. Email this toolkit sent is not logged here — read those from the mail toolkit.
|
|
124389
|
+
*/
|
|
124390
|
+
channel: ("message" | "call" | "meeting" | "note" | "email");
|
|
124391
|
+
/**
|
|
124392
|
+
* Who logged it: 'operator' (a human) or 'agent' (a workflow or agent principal).
|
|
124393
|
+
*/
|
|
124394
|
+
actorType: ("operator" | "agent");
|
|
124395
|
+
/**
|
|
124396
|
+
* When the touch was logged (ISO 8601).
|
|
124397
|
+
*/
|
|
124398
|
+
createdAt: string;
|
|
124399
|
+
/**
|
|
124400
|
+
* Which way it went: 'outbound' (you reached them), 'inbound' (they reached you) or 'none'. A 'note' or a 'meeting' must be 'none'.
|
|
124401
|
+
*/
|
|
124402
|
+
direction: ("outbound" | "inbound" | "none");
|
|
124403
|
+
/**
|
|
124404
|
+
* Product this touch belongs to. Never an input — it comes from the calling identity.
|
|
124405
|
+
*/
|
|
124406
|
+
productId: string;
|
|
124407
|
+
/**
|
|
124408
|
+
* When the touch was last edited (ISO 8601).
|
|
124409
|
+
*/
|
|
124410
|
+
updatedAt: string;
|
|
124411
|
+
/**
|
|
124412
|
+
* When the interaction happened (ISO 8601) — not when it was logged.
|
|
124413
|
+
*/
|
|
124414
|
+
occurredAt: string;
|
|
124415
|
+
}
|
|
124416
|
+
export interface UsersTouchesDiscardInput {
|
|
124417
|
+
/**
|
|
124418
|
+
* Act on a touch somebody else logged. Without it a touch you did not author answers 404, exactly as a touch that does not exist does — the refusal must not tell you the row is there. Every forced call is recorded in the audit trail.
|
|
124419
|
+
*/
|
|
124420
|
+
force?: boolean;
|
|
124421
|
+
/**
|
|
124422
|
+
* The end user the touch belongs to.
|
|
124423
|
+
*/
|
|
124424
|
+
userId: string;
|
|
124425
|
+
/**
|
|
124426
|
+
* The touch to delete, from users_touches_list.
|
|
124427
|
+
*/
|
|
124428
|
+
touchId: string;
|
|
124429
|
+
}
|
|
124430
|
+
export interface UsersTouchesDiscardOutput {
|
|
124431
|
+
/**
|
|
124432
|
+
* Id of the touch that was deleted.
|
|
124433
|
+
*/
|
|
124434
|
+
id: string;
|
|
124435
|
+
/**
|
|
124436
|
+
* The end user it belonged to.
|
|
124437
|
+
*/
|
|
124438
|
+
userId: string;
|
|
124439
|
+
/**
|
|
124440
|
+
* Always true — a failure answers 404 instead.
|
|
124441
|
+
*/
|
|
124442
|
+
deleted: true;
|
|
124443
|
+
}
|
|
124444
|
+
export interface UsersTouchesListInput {
|
|
124445
|
+
/**
|
|
124446
|
+
* Page size, 1-100. Default 50.
|
|
124447
|
+
*/
|
|
124448
|
+
limit?: number;
|
|
124449
|
+
/**
|
|
124450
|
+
* Opaque cursor from a previous response's `nextCursor`. Omit for the first page.
|
|
124451
|
+
*/
|
|
124452
|
+
cursor?: string;
|
|
124453
|
+
/**
|
|
124454
|
+
* The end user whose touches to list.
|
|
124455
|
+
*/
|
|
124456
|
+
userId: string;
|
|
124457
|
+
/**
|
|
124458
|
+
* Only touches on this channel. Omit for all of them.
|
|
124459
|
+
*/
|
|
124460
|
+
channel?: ("message" | "call" | "meeting" | "note" | "email");
|
|
124461
|
+
}
|
|
124462
|
+
export interface UsersTouchesListOutput {
|
|
124463
|
+
/**
|
|
124464
|
+
* The page of touches, newest first.
|
|
124465
|
+
*/
|
|
124466
|
+
items: {
|
|
124467
|
+
/**
|
|
124468
|
+
* Id of this touch. Pass it to users_touches_update or _delete.
|
|
124469
|
+
*/
|
|
124470
|
+
id: string;
|
|
124471
|
+
/**
|
|
124472
|
+
* What was said or done, free text, 1-8192 characters. Personal data: it is whatever an operator typed about this person.
|
|
124473
|
+
*/
|
|
124474
|
+
body: string;
|
|
124475
|
+
/**
|
|
124476
|
+
* The end user this interaction was with.
|
|
124477
|
+
*/
|
|
124478
|
+
userId: string;
|
|
124479
|
+
/**
|
|
124480
|
+
* Id of the operator or agent that logged it, verbatim.
|
|
124481
|
+
*/
|
|
124482
|
+
actorId: string;
|
|
124483
|
+
/**
|
|
124484
|
+
* How the person was touched: 'message', 'call', 'meeting', 'note' (an internal observation nobody sent) or 'email' sent OUTSIDE the platform. Email this toolkit sent is not logged here — read those from the mail toolkit.
|
|
124485
|
+
*/
|
|
124486
|
+
channel: ("message" | "call" | "meeting" | "note" | "email");
|
|
124487
|
+
/**
|
|
124488
|
+
* Who logged it: 'operator' (a human) or 'agent' (a workflow or agent principal).
|
|
124489
|
+
*/
|
|
124490
|
+
actorType: ("operator" | "agent");
|
|
124491
|
+
/**
|
|
124492
|
+
* When the touch was logged (ISO 8601).
|
|
124493
|
+
*/
|
|
124494
|
+
createdAt: string;
|
|
124495
|
+
/**
|
|
124496
|
+
* Which way it went: 'outbound' (you reached them), 'inbound' (they reached you) or 'none'. A 'note' or a 'meeting' must be 'none'.
|
|
124497
|
+
*/
|
|
124498
|
+
direction: ("outbound" | "inbound" | "none");
|
|
124499
|
+
/**
|
|
124500
|
+
* Product this touch belongs to. Never an input — it comes from the calling identity.
|
|
124501
|
+
*/
|
|
124502
|
+
productId: string;
|
|
124503
|
+
/**
|
|
124504
|
+
* When the touch was last edited (ISO 8601).
|
|
124505
|
+
*/
|
|
124506
|
+
updatedAt: string;
|
|
124507
|
+
/**
|
|
124508
|
+
* When the interaction happened (ISO 8601) — not when it was logged.
|
|
124509
|
+
*/
|
|
124510
|
+
occurredAt: string;
|
|
124511
|
+
}[];
|
|
124512
|
+
/**
|
|
124513
|
+
* Pass as `cursor` for the next page. Null when this was the last one.
|
|
124514
|
+
*/
|
|
124515
|
+
nextCursor: (string | null);
|
|
124516
|
+
}
|
|
124517
|
+
export interface UsersTouchesUpdateInput {
|
|
124518
|
+
/**
|
|
124519
|
+
* Replacement text, 1-8192 characters. Omit to leave it unchanged.
|
|
124520
|
+
*/
|
|
124521
|
+
body?: string;
|
|
124522
|
+
/**
|
|
124523
|
+
* Act on a touch somebody else logged. Without it a touch you did not author answers 404, exactly as a touch that does not exist does — the refusal must not tell you the row is there. Every forced call is recorded in the audit trail.
|
|
124524
|
+
*/
|
|
124525
|
+
force?: boolean;
|
|
124526
|
+
/**
|
|
124527
|
+
* The end user the touch belongs to.
|
|
124528
|
+
*/
|
|
124529
|
+
userId: string;
|
|
124530
|
+
/**
|
|
124531
|
+
* The touch to edit, from users_touches_list.
|
|
124532
|
+
*/
|
|
124533
|
+
touchId: string;
|
|
124534
|
+
/**
|
|
124535
|
+
* Correct when it happened (ISO 8601). Omit to leave it unchanged.
|
|
124536
|
+
*/
|
|
124537
|
+
occurredAt?: string;
|
|
124538
|
+
}
|
|
124539
|
+
export interface UsersTouchesUpdateOutput {
|
|
124540
|
+
/**
|
|
124541
|
+
* Id of this touch. Pass it to users_touches_update or _delete.
|
|
124542
|
+
*/
|
|
124543
|
+
id: string;
|
|
124544
|
+
/**
|
|
124545
|
+
* What was said or done, free text, 1-8192 characters. Personal data: it is whatever an operator typed about this person.
|
|
124546
|
+
*/
|
|
124547
|
+
body: string;
|
|
124548
|
+
/**
|
|
124549
|
+
* The end user this interaction was with.
|
|
124550
|
+
*/
|
|
124551
|
+
userId: string;
|
|
124552
|
+
/**
|
|
124553
|
+
* Id of the operator or agent that logged it, verbatim.
|
|
124554
|
+
*/
|
|
124555
|
+
actorId: string;
|
|
124556
|
+
/**
|
|
124557
|
+
* How the person was touched: 'message', 'call', 'meeting', 'note' (an internal observation nobody sent) or 'email' sent OUTSIDE the platform. Email this toolkit sent is not logged here — read those from the mail toolkit.
|
|
124558
|
+
*/
|
|
124559
|
+
channel: ("message" | "call" | "meeting" | "note" | "email");
|
|
124560
|
+
/**
|
|
124561
|
+
* Who logged it: 'operator' (a human) or 'agent' (a workflow or agent principal).
|
|
124562
|
+
*/
|
|
124563
|
+
actorType: ("operator" | "agent");
|
|
124564
|
+
/**
|
|
124565
|
+
* When the touch was logged (ISO 8601).
|
|
124566
|
+
*/
|
|
124567
|
+
createdAt: string;
|
|
124568
|
+
/**
|
|
124569
|
+
* Which way it went: 'outbound' (you reached them), 'inbound' (they reached you) or 'none'. A 'note' or a 'meeting' must be 'none'.
|
|
124570
|
+
*/
|
|
124571
|
+
direction: ("outbound" | "inbound" | "none");
|
|
124572
|
+
/**
|
|
124573
|
+
* Product this touch belongs to. Never an input — it comes from the calling identity.
|
|
124574
|
+
*/
|
|
124575
|
+
productId: string;
|
|
124576
|
+
/**
|
|
124577
|
+
* When the touch was last edited (ISO 8601).
|
|
124578
|
+
*/
|
|
124579
|
+
updatedAt: string;
|
|
124580
|
+
/**
|
|
124581
|
+
* When the interaction happened (ISO 8601) — not when it was logged.
|
|
124582
|
+
*/
|
|
124583
|
+
occurredAt: string;
|
|
124584
|
+
}
|
|
124348
124585
|
export interface UsersUsersBanInput {
|
|
124349
124586
|
/**
|
|
124350
124587
|
* The opaque user id returned by users_users_create or _list.
|
|
@@ -124404,6 +124641,10 @@ export interface UsersUsersBanOutput {
|
|
|
124404
124641
|
* When the user was last changed (ISO 8601).
|
|
124405
124642
|
*/
|
|
124406
124643
|
updatedAt: string;
|
|
124644
|
+
/**
|
|
124645
|
+
* Set when you asked for an id that was merged into this account — it is the id you asked for, and this is the row it now lives in. Null on every ordinary read.
|
|
124646
|
+
*/
|
|
124647
|
+
mergedFrom: (string | null);
|
|
124407
124648
|
/**
|
|
124408
124649
|
* Whether this user is still on the waitlist and cannot sign in yet.
|
|
124409
124650
|
*/
|
|
@@ -124417,7 +124658,7 @@ export interface UsersUsersBanOutput {
|
|
|
124417
124658
|
*/
|
|
124418
124659
|
id: string;
|
|
124419
124660
|
/**
|
|
124420
|
-
* What kind of identifier this is
|
|
124661
|
+
* What kind of identifier this is: `email`, `phone`, `telegram`, `linkedin` or `x`. Only `email` can be signed in with — the other four are contact channels, reachable but never part of the auth plane.
|
|
124421
124662
|
*/
|
|
124422
124663
|
type: ("email" | "phone" | "telegram" | "linkedin" | "x");
|
|
124423
124664
|
/**
|
|
@@ -124441,6 +124682,10 @@ export interface UsersUsersBanOutput {
|
|
|
124441
124682
|
*/
|
|
124442
124683
|
verificationStatus: ("unverified" | "verified" | "expired");
|
|
124443
124684
|
}[];
|
|
124685
|
+
/**
|
|
124686
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
124687
|
+
*/
|
|
124688
|
+
lastTouchAt: (string | null);
|
|
124444
124689
|
/**
|
|
124445
124690
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
124446
124691
|
*/
|
|
@@ -124655,6 +124900,10 @@ export interface UsersUsersCreateOutput {
|
|
|
124655
124900
|
* When the user was last changed (ISO 8601).
|
|
124656
124901
|
*/
|
|
124657
124902
|
updatedAt: string;
|
|
124903
|
+
/**
|
|
124904
|
+
* Set when you asked for an id that was merged into this account — it is the id you asked for, and this is the row it now lives in. Null on every ordinary read.
|
|
124905
|
+
*/
|
|
124906
|
+
mergedFrom: (string | null);
|
|
124658
124907
|
/**
|
|
124659
124908
|
* Whether this user is still on the waitlist and cannot sign in yet.
|
|
124660
124909
|
*/
|
|
@@ -124668,7 +124917,7 @@ export interface UsersUsersCreateOutput {
|
|
|
124668
124917
|
*/
|
|
124669
124918
|
id: string;
|
|
124670
124919
|
/**
|
|
124671
|
-
* What kind of identifier this is
|
|
124920
|
+
* What kind of identifier this is: `email`, `phone`, `telegram`, `linkedin` or `x`. Only `email` can be signed in with — the other four are contact channels, reachable but never part of the auth plane.
|
|
124672
124921
|
*/
|
|
124673
124922
|
type: ("email" | "phone" | "telegram" | "linkedin" | "x");
|
|
124674
124923
|
/**
|
|
@@ -124692,6 +124941,10 @@ export interface UsersUsersCreateOutput {
|
|
|
124692
124941
|
*/
|
|
124693
124942
|
verificationStatus: ("unverified" | "verified" | "expired");
|
|
124694
124943
|
}[];
|
|
124944
|
+
/**
|
|
124945
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
124946
|
+
*/
|
|
124947
|
+
lastTouchAt: (string | null);
|
|
124695
124948
|
/**
|
|
124696
124949
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
124697
124950
|
*/
|
|
@@ -124798,6 +125051,10 @@ export interface UsersUsersDeleteOutput {
|
|
|
124798
125051
|
* When the user was last changed (ISO 8601).
|
|
124799
125052
|
*/
|
|
124800
125053
|
updatedAt: string;
|
|
125054
|
+
/**
|
|
125055
|
+
* Set when you asked for an id that was merged into this account — it is the id you asked for, and this is the row it now lives in. Null on every ordinary read.
|
|
125056
|
+
*/
|
|
125057
|
+
mergedFrom: (string | null);
|
|
124801
125058
|
/**
|
|
124802
125059
|
* Whether this user is still on the waitlist and cannot sign in yet.
|
|
124803
125060
|
*/
|
|
@@ -124811,7 +125068,7 @@ export interface UsersUsersDeleteOutput {
|
|
|
124811
125068
|
*/
|
|
124812
125069
|
id: string;
|
|
124813
125070
|
/**
|
|
124814
|
-
* What kind of identifier this is
|
|
125071
|
+
* What kind of identifier this is: `email`, `phone`, `telegram`, `linkedin` or `x`. Only `email` can be signed in with — the other four are contact channels, reachable but never part of the auth plane.
|
|
124815
125072
|
*/
|
|
124816
125073
|
type: ("email" | "phone" | "telegram" | "linkedin" | "x");
|
|
124817
125074
|
/**
|
|
@@ -124835,6 +125092,10 @@ export interface UsersUsersDeleteOutput {
|
|
|
124835
125092
|
*/
|
|
124836
125093
|
verificationStatus: ("unverified" | "verified" | "expired");
|
|
124837
125094
|
}[];
|
|
125095
|
+
/**
|
|
125096
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
125097
|
+
*/
|
|
125098
|
+
lastTouchAt: (string | null);
|
|
124838
125099
|
/**
|
|
124839
125100
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
124840
125101
|
*/
|
|
@@ -124967,6 +125228,10 @@ export interface UsersUsersExportOutput {
|
|
|
124967
125228
|
* When the user was last changed (ISO 8601).
|
|
124968
125229
|
*/
|
|
124969
125230
|
updatedAt: string;
|
|
125231
|
+
/**
|
|
125232
|
+
* Set when you asked for an id that was merged into this account — it is the id you asked for, and this is the row it now lives in. Null on every ordinary read.
|
|
125233
|
+
*/
|
|
125234
|
+
mergedFrom: (string | null);
|
|
124970
125235
|
/**
|
|
124971
125236
|
* Whether this user is still on the waitlist and cannot sign in yet.
|
|
124972
125237
|
*/
|
|
@@ -124980,7 +125245,7 @@ export interface UsersUsersExportOutput {
|
|
|
124980
125245
|
*/
|
|
124981
125246
|
id: string;
|
|
124982
125247
|
/**
|
|
124983
|
-
* What kind of identifier this is
|
|
125248
|
+
* What kind of identifier this is: `email`, `phone`, `telegram`, `linkedin` or `x`. Only `email` can be signed in with — the other four are contact channels, reachable but never part of the auth plane.
|
|
124984
125249
|
*/
|
|
124985
125250
|
type: ("email" | "phone" | "telegram" | "linkedin" | "x");
|
|
124986
125251
|
/**
|
|
@@ -125004,6 +125269,10 @@ export interface UsersUsersExportOutput {
|
|
|
125004
125269
|
*/
|
|
125005
125270
|
verificationStatus: ("unverified" | "verified" | "expired");
|
|
125006
125271
|
}[];
|
|
125272
|
+
/**
|
|
125273
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
125274
|
+
*/
|
|
125275
|
+
lastTouchAt: (string | null);
|
|
125007
125276
|
/**
|
|
125008
125277
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
125009
125278
|
*/
|
|
@@ -125113,6 +125382,10 @@ export interface UsersUsersGetOutput {
|
|
|
125113
125382
|
* When the user was last changed (ISO 8601).
|
|
125114
125383
|
*/
|
|
125115
125384
|
updatedAt: string;
|
|
125385
|
+
/**
|
|
125386
|
+
* Set when you asked for an id that was merged into this account — it is the id you asked for, and this is the row it now lives in. Null on every ordinary read.
|
|
125387
|
+
*/
|
|
125388
|
+
mergedFrom: (string | null);
|
|
125116
125389
|
/**
|
|
125117
125390
|
* Whether this user is still on the waitlist and cannot sign in yet.
|
|
125118
125391
|
*/
|
|
@@ -125126,7 +125399,7 @@ export interface UsersUsersGetOutput {
|
|
|
125126
125399
|
*/
|
|
125127
125400
|
id: string;
|
|
125128
125401
|
/**
|
|
125129
|
-
* What kind of identifier this is
|
|
125402
|
+
* What kind of identifier this is: `email`, `phone`, `telegram`, `linkedin` or `x`. Only `email` can be signed in with — the other four are contact channels, reachable but never part of the auth plane.
|
|
125130
125403
|
*/
|
|
125131
125404
|
type: ("email" | "phone" | "telegram" | "linkedin" | "x");
|
|
125132
125405
|
/**
|
|
@@ -125150,6 +125423,10 @@ export interface UsersUsersGetOutput {
|
|
|
125150
125423
|
*/
|
|
125151
125424
|
verificationStatus: ("unverified" | "verified" | "expired");
|
|
125152
125425
|
}[];
|
|
125426
|
+
/**
|
|
125427
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
125428
|
+
*/
|
|
125429
|
+
lastTouchAt: (string | null);
|
|
125153
125430
|
/**
|
|
125154
125431
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
125155
125432
|
*/
|
|
@@ -125322,10 +125599,18 @@ export interface UsersUsersListInput {
|
|
|
125322
125599
|
* Include soft-deleted users. Default false — deleted users are hidden.
|
|
125323
125600
|
*/
|
|
125324
125601
|
includeDeleted?: boolean;
|
|
125602
|
+
/**
|
|
125603
|
+
* Only people whose most recent logged interaction happened at or after this instant (ISO 8601). People never touched are EXCLUDED by this filter — list without it to see everyone.
|
|
125604
|
+
*/
|
|
125605
|
+
lastTouchAfter?: string;
|
|
125325
125606
|
/**
|
|
125326
125607
|
* Include CONTACTS. Default false: a contact has no credential and has never signed in, so it is not part of the directory an operator browses — the same rule waitlist signups and test users follow. Use `kind: "contact"` to see only them.
|
|
125327
125608
|
*/
|
|
125328
125609
|
includeContacts?: boolean;
|
|
125610
|
+
/**
|
|
125611
|
+
* Only people whose most recent logged interaction happened before this instant (ISO 8601) — the "gone quiet" list. People never touched are EXCLUDED rather than treated as infinitely stale; list without this filter to see everyone.
|
|
125612
|
+
*/
|
|
125613
|
+
lastTouchBefore?: string;
|
|
125329
125614
|
/**
|
|
125330
125615
|
* 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.
|
|
125331
125616
|
*/
|
|
@@ -125392,6 +125677,10 @@ export interface UsersUsersListOutput {
|
|
|
125392
125677
|
* When the user was last changed (ISO 8601).
|
|
125393
125678
|
*/
|
|
125394
125679
|
updatedAt: string;
|
|
125680
|
+
/**
|
|
125681
|
+
* Set when you asked for an id that was merged into this account — it is the id you asked for, and this is the row it now lives in. Null on every ordinary read.
|
|
125682
|
+
*/
|
|
125683
|
+
mergedFrom: (string | null);
|
|
125395
125684
|
/**
|
|
125396
125685
|
* Whether this user is still on the waitlist and cannot sign in yet.
|
|
125397
125686
|
*/
|
|
@@ -125405,7 +125694,7 @@ export interface UsersUsersListOutput {
|
|
|
125405
125694
|
*/
|
|
125406
125695
|
id: string;
|
|
125407
125696
|
/**
|
|
125408
|
-
* What kind of identifier this is
|
|
125697
|
+
* What kind of identifier this is: `email`, `phone`, `telegram`, `linkedin` or `x`. Only `email` can be signed in with — the other four are contact channels, reachable but never part of the auth plane.
|
|
125409
125698
|
*/
|
|
125410
125699
|
type: ("email" | "phone" | "telegram" | "linkedin" | "x");
|
|
125411
125700
|
/**
|
|
@@ -125429,6 +125718,10 @@ export interface UsersUsersListOutput {
|
|
|
125429
125718
|
*/
|
|
125430
125719
|
verificationStatus: ("unverified" | "verified" | "expired");
|
|
125431
125720
|
}[];
|
|
125721
|
+
/**
|
|
125722
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
125723
|
+
*/
|
|
125724
|
+
lastTouchAt: (string | null);
|
|
125432
125725
|
/**
|
|
125433
125726
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
125434
125727
|
*/
|
|
@@ -125564,6 +125857,10 @@ export interface UsersUsersUnbanOutput {
|
|
|
125564
125857
|
* When the user was last changed (ISO 8601).
|
|
125565
125858
|
*/
|
|
125566
125859
|
updatedAt: string;
|
|
125860
|
+
/**
|
|
125861
|
+
* Set when you asked for an id that was merged into this account — it is the id you asked for, and this is the row it now lives in. Null on every ordinary read.
|
|
125862
|
+
*/
|
|
125863
|
+
mergedFrom: (string | null);
|
|
125567
125864
|
/**
|
|
125568
125865
|
* Whether this user is still on the waitlist and cannot sign in yet.
|
|
125569
125866
|
*/
|
|
@@ -125577,7 +125874,7 @@ export interface UsersUsersUnbanOutput {
|
|
|
125577
125874
|
*/
|
|
125578
125875
|
id: string;
|
|
125579
125876
|
/**
|
|
125580
|
-
* What kind of identifier this is
|
|
125877
|
+
* What kind of identifier this is: `email`, `phone`, `telegram`, `linkedin` or `x`. Only `email` can be signed in with — the other four are contact channels, reachable but never part of the auth plane.
|
|
125581
125878
|
*/
|
|
125582
125879
|
type: ("email" | "phone" | "telegram" | "linkedin" | "x");
|
|
125583
125880
|
/**
|
|
@@ -125601,6 +125898,10 @@ export interface UsersUsersUnbanOutput {
|
|
|
125601
125898
|
*/
|
|
125602
125899
|
verificationStatus: ("unverified" | "verified" | "expired");
|
|
125603
125900
|
}[];
|
|
125901
|
+
/**
|
|
125902
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
125903
|
+
*/
|
|
125904
|
+
lastTouchAt: (string | null);
|
|
125604
125905
|
/**
|
|
125605
125906
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
125606
125907
|
*/
|
|
@@ -125755,6 +126056,10 @@ export interface UsersUsersUpdateOutput {
|
|
|
125755
126056
|
* When the user was last changed (ISO 8601).
|
|
125756
126057
|
*/
|
|
125757
126058
|
updatedAt: string;
|
|
126059
|
+
/**
|
|
126060
|
+
* Set when you asked for an id that was merged into this account — it is the id you asked for, and this is the row it now lives in. Null on every ordinary read.
|
|
126061
|
+
*/
|
|
126062
|
+
mergedFrom: (string | null);
|
|
125758
126063
|
/**
|
|
125759
126064
|
* Whether this user is still on the waitlist and cannot sign in yet.
|
|
125760
126065
|
*/
|
|
@@ -125768,7 +126073,7 @@ export interface UsersUsersUpdateOutput {
|
|
|
125768
126073
|
*/
|
|
125769
126074
|
id: string;
|
|
125770
126075
|
/**
|
|
125771
|
-
* What kind of identifier this is
|
|
126076
|
+
* What kind of identifier this is: `email`, `phone`, `telegram`, `linkedin` or `x`. Only `email` can be signed in with — the other four are contact channels, reachable but never part of the auth plane.
|
|
125772
126077
|
*/
|
|
125773
126078
|
type: ("email" | "phone" | "telegram" | "linkedin" | "x");
|
|
125774
126079
|
/**
|
|
@@ -125792,6 +126097,10 @@ export interface UsersUsersUpdateOutput {
|
|
|
125792
126097
|
*/
|
|
125793
126098
|
verificationStatus: ("unverified" | "verified" | "expired");
|
|
125794
126099
|
}[];
|
|
126100
|
+
/**
|
|
126101
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
126102
|
+
*/
|
|
126103
|
+
lastTouchAt: (string | null);
|
|
125795
126104
|
/**
|
|
125796
126105
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
125797
126106
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './queryOptions.gen.js';
|
|
2
|
-
export type { UsersApikeysCreateInput, UsersApikeysCreateOutput, UsersApikeysGetInput, UsersApikeysGetOutput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersApikeysRevokeOutput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersConfigUpsertOutput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersFactorsResetOutput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRevokeOutput, UsersKeysRotateInput, UsersKeysRotateOutput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, UsersPasskeysGetInput, UsersPasskeysGetOutput, UsersPasskeysListInput, UsersPasskeysListOutput, UsersPasskeysRevokeInput, UsersPasskeysRevokeOutput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsImpersonateOutput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersSessionsRevokeOutput, UsersStatsGetInput, UsersStatsGetOutput, UsersUsersBanInput, UsersUsersBanOutput, UsersUsersCreateInput, UsersUsersCreateOutput, UsersUsersDeleteInput, UsersUsersDeleteOutput, UsersUsersExportInput, UsersUsersExportOutput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersImportOutput, UsersUsersInviteInput, UsersUsersInviteOutput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersSetPrimaryIdentifierOutput, UsersUsersUnbanInput, UsersUsersUnbanOutput, UsersUsersUpdateInput, UsersUsersUpdateOutput, UsersWaitlistFunnelInput, UsersWaitlistFunnelOutput, UsersWaitlistGetInput, UsersWaitlistGetOutput, UsersWaitlistImportInput, UsersWaitlistImportOutput, UsersWaitlistInviteInput, UsersWaitlistInviteOutput, UsersWaitlistListInput, UsersWaitlistListOutput, UsersWebhooksCreateInput, UsersWebhooksCreateOutput, UsersWebhooksDeleteInput, UsersWebhooksDeleteOutput, UsersWebhooksDeliveriesListInput, UsersWebhooksDeliveriesListOutput, UsersWebhooksGetInput, UsersWebhooksGetOutput, UsersWebhooksListInput, UsersWebhooksListOutput, UsersWebhooksRotateSecretInput, UsersWebhooksRotateSecretOutput, UsersWebhooksUpdateInput, UsersWebhooksUpdateOutput } from '../types.gen.js';
|
|
2
|
+
export type { UsersApikeysCreateInput, UsersApikeysCreateOutput, UsersApikeysGetInput, UsersApikeysGetOutput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersApikeysRevokeOutput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersConfigUpsertOutput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersFactorsResetOutput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRevokeOutput, UsersKeysRotateInput, UsersKeysRotateOutput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, UsersPasskeysGetInput, UsersPasskeysGetOutput, UsersPasskeysListInput, UsersPasskeysListOutput, UsersPasskeysRevokeInput, UsersPasskeysRevokeOutput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsImpersonateOutput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersSessionsRevokeOutput, UsersStatsGetInput, UsersStatsGetOutput, UsersTouchesCreateInput, UsersTouchesCreateOutput, UsersTouchesDiscardInput, UsersTouchesDiscardOutput, UsersTouchesListInput, UsersTouchesListOutput, UsersTouchesUpdateInput, UsersTouchesUpdateOutput, UsersUsersBanInput, UsersUsersBanOutput, UsersUsersCreateInput, UsersUsersCreateOutput, UsersUsersDeleteInput, UsersUsersDeleteOutput, UsersUsersExportInput, UsersUsersExportOutput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersImportOutput, UsersUsersInviteInput, UsersUsersInviteOutput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersSetPrimaryIdentifierOutput, UsersUsersUnbanInput, UsersUsersUnbanOutput, UsersUsersUpdateInput, UsersUsersUpdateOutput, UsersWaitlistFunnelInput, UsersWaitlistFunnelOutput, UsersWaitlistGetInput, UsersWaitlistGetOutput, UsersWaitlistImportInput, UsersWaitlistImportOutput, UsersWaitlistInviteInput, UsersWaitlistInviteOutput, UsersWaitlistListInput, UsersWaitlistListOutput, UsersWebhooksCreateInput, UsersWebhooksCreateOutput, UsersWebhooksDeleteInput, UsersWebhooksDeleteOutput, UsersWebhooksDeliveriesListInput, UsersWebhooksDeliveriesListOutput, UsersWebhooksGetInput, UsersWebhooksGetOutput, UsersWebhooksListInput, UsersWebhooksListOutput, UsersWebhooksRotateSecretInput, UsersWebhooksRotateSecretOutput, UsersWebhooksUpdateInput, UsersWebhooksUpdateOutput } from '../types.gen.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GeneratedClient } from '../client.gen.js';
|
|
2
|
-
import type { UsersApikeysCreateInput, UsersApikeysGetInput, UsersApikeysGetOutput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRotateInput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, UsersPasskeysGetInput, UsersPasskeysGetOutput, UsersPasskeysListInput, UsersPasskeysListOutput, UsersPasskeysRevokeInput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersStatsGetInput, UsersStatsGetOutput, UsersUsersBanInput, UsersUsersCreateInput, UsersUsersDeleteInput, UsersUsersExportInput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersInviteInput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersUnbanInput, UsersUsersUpdateInput, UsersWaitlistFunnelInput, UsersWaitlistFunnelOutput, UsersWaitlistGetInput, UsersWaitlistGetOutput, UsersWaitlistImportInput, UsersWaitlistInviteInput, UsersWaitlistListInput, UsersWaitlistListOutput, UsersWebhooksCreateInput, UsersWebhooksDeleteInput, UsersWebhooksDeliveriesListInput, UsersWebhooksDeliveriesListOutput, UsersWebhooksGetInput, UsersWebhooksGetOutput, UsersWebhooksListInput, UsersWebhooksListOutput, UsersWebhooksRotateSecretInput, UsersWebhooksUpdateInput } from '../types.gen.js';
|
|
2
|
+
import type { UsersApikeysCreateInput, UsersApikeysGetInput, UsersApikeysGetOutput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRotateInput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, UsersPasskeysGetInput, UsersPasskeysGetOutput, UsersPasskeysListInput, UsersPasskeysListOutput, UsersPasskeysRevokeInput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersStatsGetInput, UsersStatsGetOutput, UsersTouchesCreateInput, UsersTouchesDiscardInput, UsersTouchesListInput, UsersTouchesListOutput, UsersTouchesUpdateInput, UsersUsersBanInput, UsersUsersCreateInput, UsersUsersDeleteInput, UsersUsersExportInput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersInviteInput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersUnbanInput, UsersUsersUpdateInput, UsersWaitlistFunnelInput, UsersWaitlistFunnelOutput, UsersWaitlistGetInput, UsersWaitlistGetOutput, UsersWaitlistImportInput, UsersWaitlistInviteInput, UsersWaitlistListInput, UsersWaitlistListOutput, UsersWebhooksCreateInput, UsersWebhooksDeleteInput, UsersWebhooksDeliveriesListInput, UsersWebhooksDeliveriesListOutput, UsersWebhooksGetInput, UsersWebhooksGetOutput, UsersWebhooksListInput, UsersWebhooksListOutput, UsersWebhooksRotateSecretInput, UsersWebhooksUpdateInput } from '../types.gen.js';
|
|
3
3
|
export declare const usersApikeysCreateMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|
|
5
5
|
mutationFn: (input: UsersApikeysCreateInput) => Promise<import(".").UsersApikeysCreateOutput>;
|
|
@@ -88,6 +88,22 @@ export declare const usersStatsGetQueryOptions: (sdk: GeneratedClient, input: Us
|
|
|
88
88
|
queryKey: readonly ["users", "stats", "get", UsersStatsGetInput];
|
|
89
89
|
queryFn: () => Promise<UsersStatsGetOutput>;
|
|
90
90
|
};
|
|
91
|
+
export declare const usersTouchesCreateMutationOptions: (sdk: GeneratedClient) => {
|
|
92
|
+
mutationKey: string[];
|
|
93
|
+
mutationFn: (input: UsersTouchesCreateInput) => Promise<import(".").UsersTouchesCreateOutput>;
|
|
94
|
+
};
|
|
95
|
+
export declare const usersTouchesDiscardMutationOptions: (sdk: GeneratedClient) => {
|
|
96
|
+
mutationKey: string[];
|
|
97
|
+
mutationFn: (input: UsersTouchesDiscardInput) => Promise<import(".").UsersTouchesDiscardOutput>;
|
|
98
|
+
};
|
|
99
|
+
export declare const usersTouchesListQueryOptions: (sdk: GeneratedClient, input: UsersTouchesListInput) => {
|
|
100
|
+
queryKey: readonly ["users", "touches", "list", UsersTouchesListInput];
|
|
101
|
+
queryFn: () => Promise<UsersTouchesListOutput>;
|
|
102
|
+
};
|
|
103
|
+
export declare const usersTouchesUpdateMutationOptions: (sdk: GeneratedClient) => {
|
|
104
|
+
mutationKey: string[];
|
|
105
|
+
mutationFn: (input: UsersTouchesUpdateInput) => Promise<import(".").UsersTouchesUpdateOutput>;
|
|
106
|
+
};
|
|
91
107
|
export declare const usersUsersBanMutationOptions: (sdk: GeneratedClient) => {
|
|
92
108
|
mutationKey: string[];
|
|
93
109
|
mutationFn: (input: UsersUsersBanInput) => Promise<import(".").UsersUsersBanOutput>;
|