@lessly/sdk-app 70.1.0 → 71.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.
Files changed (42) hide show
  1. package/dist/_types/gen/client.gen.d.ts +3 -45
  2. package/dist/_types/gen/manifest.gen.d.ts +1 -1
  3. package/dist/_types/gen/organization/index.d.ts +1 -1
  4. package/dist/_types/gen/organization/queryOptions.gen.d.ts +1 -25
  5. package/dist/_types/gen/types.gen.d.ts +50 -541
  6. package/dist/_types/gen/users/index.d.ts +1 -1
  7. package/dist/_types/gen/users/queryOptions.gen.d.ts +9 -1
  8. package/dist/index.cjs +49 -424
  9. package/dist/index.cjs.map +1 -1
  10. package/dist/index.js +11053 -78
  11. package/dist/index.js.map +1 -1
  12. package/dist/organization/index.cjs +0 -30
  13. package/dist/organization/index.cjs.map +1 -1
  14. package/dist/organization/index.js +1 -25
  15. package/dist/organization/index.js.map +1 -1
  16. package/dist/users/index.cjs +10 -0
  17. package/dist/users/index.cjs.map +1 -1
  18. package/dist/users/index.js +9 -1
  19. package/dist/users/index.js.map +1 -1
  20. package/package.json +2 -12
  21. package/src/gen/bindings.gen.ts +37 -357
  22. package/src/gen/client.gen.ts +6 -88
  23. package/src/gen/manifest.gen.ts +14 -77
  24. package/src/gen/organization/index.ts +1 -1
  25. package/src/gen/organization/queryOptions.gen.ts +0 -39
  26. package/src/gen/types.gen.ts +54 -597
  27. package/src/gen/users/index.ts +1 -1
  28. package/src/gen/users/queryOptions.gen.ts +12 -0
  29. package/dist/_types/gen/playground/connect.gen.d.ts +0 -3
  30. package/dist/_types/gen/playground/index.d.ts +0 -3
  31. package/dist/_types/gen/playground/queryOptions.gen.d.ts +0 -66
  32. package/dist/chunk-C3QGKPUY.js +0 -11364
  33. package/dist/chunk-C3QGKPUY.js.map +0 -1
  34. package/dist/playground/index.cjs +0 -101
  35. package/dist/playground/index.cjs.map +0 -1
  36. package/dist/playground/index.d.cts +0 -1
  37. package/dist/playground/index.d.ts +0 -1
  38. package/dist/playground/index.js +0 -74
  39. package/dist/playground/index.js.map +0 -1
  40. package/src/gen/playground/connect.gen.ts +0 -9
  41. package/src/gen/playground/index.ts +0 -4
  42. package/src/gen/playground/queryOptions.gen.ts +0 -112
@@ -71565,7 +71565,7 @@ export interface BrainKnowledgeEntityMemoriesOutput {
71565
71565
  }
71566
71566
  export interface BrainKnowledgeGraphInput {
71567
71567
  /**
71568
- * Max nodes (default 5000). When the cap applies, the highest-degree nodes are kept, so a small limit (e.g. 100) returns the hub concepts.
71568
+ * Max nodes (default 5000). When the cap applies the HIGHEST-DEGREE nodes are kept, so a small limit (e.g. 100) returns the hub concepts — that is usually what you want
71569
71569
  */
71570
71570
  limit?: number;
71571
71571
  /**
@@ -90705,77 +90705,6 @@ export interface OrganizationPermissionCatalogOutput {
90705
90705
  display_name: string;
90706
90706
  }[];
90707
90707
  }
90708
- export interface OrganizationPrincipalGrantsApproveInput {
90709
- /**
90710
- * @minItems 1
90711
- * @maxItems 200
90712
- */
90713
- tools: [string, ...(string)[]];
90714
- productId: string;
90715
- principalId: string;
90716
- principalKind: "workflow";
90717
- }
90718
- export interface OrganizationPrincipalGrantsApproveOutput {
90719
- grants: {
90720
- reason: (string | null);
90721
- status: string;
90722
- sponsor: ({
90723
- userId: (string | null);
90724
- memberId: string;
90725
- } | null);
90726
- toolKey: string;
90727
- approvedAt: (string | null);
90728
- }[];
90729
- pending: string[];
90730
- effective: string[];
90731
- productId: string;
90732
- principalId: string;
90733
- needsSponsor: string[];
90734
- principalKind: "workflow";
90735
- notSponsorable: string[];
90736
- }
90737
- export interface OrganizationPrincipalGrantsListInput {
90738
- productId: string;
90739
- principalKind?: "workflow";
90740
- }
90741
- export interface OrganizationPrincipalGrantsListOutput {
90742
- principals: {
90743
- pending: string[];
90744
- effective: string[];
90745
- principalId: string;
90746
- needsSponsor: string[];
90747
- principalKind: "workflow";
90748
- }[];
90749
- }
90750
- export interface OrganizationPrincipalGrantsRevokeInput {
90751
- /**
90752
- * @minItems 1
90753
- * @maxItems 200
90754
- */
90755
- tools?: [string, ...(string)[]];
90756
- reason?: string;
90757
- productId: string;
90758
- principalId: string;
90759
- principalKind: "workflow";
90760
- }
90761
- export interface OrganizationPrincipalGrantsRevokeOutput {
90762
- grants: {
90763
- reason: (string | null);
90764
- status: string;
90765
- sponsor: ({
90766
- userId: (string | null);
90767
- memberId: string;
90768
- } | null);
90769
- toolKey: string;
90770
- approvedAt: (string | null);
90771
- }[];
90772
- pending: string[];
90773
- effective: string[];
90774
- productId: string;
90775
- principalId: string;
90776
- needsSponsor: string[];
90777
- principalKind: "workflow";
90778
- }
90779
90708
  export interface OrganizationProductCreateInput {
90780
90709
  name: string;
90781
90710
  region?: "eu";
@@ -90796,167 +90725,6 @@ export interface OrganizationProductCreateOutput {
90796
90725
  description: (string | null);
90797
90726
  organizationId: string;
90798
90727
  }
90799
- export interface OrganizationProductErasureGetInput {
90800
- /**
90801
- * Product uuid, e.g. "3f6c1e2a-9c1e-4b1a-8f0e-2a7d5c9b1e34".
90802
- */
90803
- productId: string;
90804
- /**
90805
- * Erasure request uuid, e.g. "0192f3c1-4a55-7c3e-9a11-6f0b2d7e8c90".
90806
- */
90807
- requestId: string;
90808
- }
90809
- export interface OrganizationProductErasureGetOutput {
90810
- id: string;
90811
- acks: {
90812
- at: string;
90813
- error?: string;
90814
- counts?: {
90815
- [k: string]: number;
90816
- };
90817
- result: ("erased" | "nothing_to_erase" | "failed");
90818
- participant: string;
90819
- }[];
90820
- dueAt: string;
90821
- status: ("scheduled" | "running" | "completed" | "partial" | "cancelled");
90822
- productId: (string | null);
90823
- startedAt?: string;
90824
- subjectId: string;
90825
- controller: string;
90826
- finishedAt?: string;
90827
- cancelledBy?: OrganizationProductErasureGetOutputRequestedBy;
90828
- requestedAt: string;
90829
- requestedBy: OrganizationProductErasureGetOutputRequestedBy;
90830
- subjectRefs?: {
90831
- nameHashes?: string[];
90832
- emailHashes?: string[];
90833
- phoneHashes?: string[];
90834
- externalIdHashes?: string[];
90835
- };
90836
- subjectType: "end_user";
90837
- cancelReason?: string;
90838
- }
90839
- export interface OrganizationProductErasureGetOutputRequestedBy {
90840
- actorId?: string;
90841
- actorType: ("self" | "staff" | "tenant_operator" | "cascade");
90842
- }
90843
- export interface OrganizationProductErasureListInput {
90844
- /**
90845
- * Cursor from the previous page's `next`, e.g. "0192f3c1-...".
90846
- */
90847
- after?: string;
90848
- /**
90849
- * Page size, 1-500, default 50.
90850
- */
90851
- limit?: number;
90852
- /**
90853
- * Request status filter, e.g. "scheduled".
90854
- */
90855
- status?: ("scheduled" | "running" | "completed" | "partial" | "cancelled");
90856
- /**
90857
- * Product uuid, e.g. "3f6c1e2a-9c1e-4b1a-8f0e-2a7d5c9b1e34".
90858
- */
90859
- productId: string;
90860
- }
90861
- export interface OrganizationProductErasureListOutput {
90862
- next: (string | null);
90863
- requests: {
90864
- id: string;
90865
- acks: {
90866
- at: string;
90867
- error?: string;
90868
- counts?: {
90869
- [k: string]: number;
90870
- };
90871
- result: ("erased" | "nothing_to_erase" | "failed");
90872
- participant: string;
90873
- }[];
90874
- dueAt: string;
90875
- status: ("scheduled" | "running" | "completed" | "partial" | "cancelled");
90876
- productId: (string | null);
90877
- startedAt?: string;
90878
- subjectId: string;
90879
- controller: string;
90880
- finishedAt?: string;
90881
- cancelledBy?: OrganizationProductErasureListOutputRequestedBy;
90882
- requestedAt: string;
90883
- requestedBy: OrganizationProductErasureListOutputRequestedBy;
90884
- subjectRefs?: {
90885
- nameHashes?: string[];
90886
- emailHashes?: string[];
90887
- phoneHashes?: string[];
90888
- externalIdHashes?: string[];
90889
- };
90890
- subjectType: "end_user";
90891
- cancelReason?: string;
90892
- }[];
90893
- }
90894
- export interface OrganizationProductErasureListOutputRequestedBy {
90895
- actorId?: string;
90896
- actorType: ("self" | "staff" | "tenant_operator" | "cascade");
90897
- }
90898
- export interface OrganizationProductErasureRequestInput {
90899
- /**
90900
- * Display name of the end user, e.g. "Oleg Pravdikov". A weak match on its own; hashed on arrival.
90901
- */
90902
- name?: string;
90903
- /**
90904
- * Email addresses of the end user, 0-10, e.g. ["oleg@example.com"]. Hashed on arrival; never stored.
90905
- *
90906
- * @maxItems 10
90907
- */
90908
- emails?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string];
90909
- /**
90910
- * Phone numbers as the product stores them, 0-10, e.g. ["+7 999 123-45-67"]. Digits and a leading plus are kept; no country is inferred. Hashed on arrival; never stored.
90911
- *
90912
- * @maxItems 10
90913
- */
90914
- phones?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string];
90915
- /**
90916
- * Product uuid, e.g. "3f6c1e2a-9c1e-4b1a-8f0e-2a7d5c9b1e34".
90917
- */
90918
- productId: string;
90919
- /**
90920
- * Your own ids for the end user, 0-10, e.g. ["Cust-00417"]. Case is preserved; enough on their own to name the person. Hashed on arrival; never stored.
90921
- *
90922
- * @maxItems 10
90923
- */
90924
- externalIds?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string];
90925
- }
90926
- export interface OrganizationProductErasureRequestOutput {
90927
- id: string;
90928
- acks: {
90929
- at: string;
90930
- error?: string;
90931
- counts?: {
90932
- [k: string]: number;
90933
- };
90934
- result: ("erased" | "nothing_to_erase" | "failed");
90935
- participant: string;
90936
- }[];
90937
- dueAt: string;
90938
- status: ("scheduled" | "running" | "completed" | "partial" | "cancelled");
90939
- productId: (string | null);
90940
- startedAt?: string;
90941
- subjectId: string;
90942
- controller: string;
90943
- finishedAt?: string;
90944
- cancelledBy?: OrganizationProductErasureRequestOutputRequestedBy;
90945
- requestedAt: string;
90946
- requestedBy: OrganizationProductErasureRequestOutputRequestedBy;
90947
- subjectRefs?: {
90948
- nameHashes?: string[];
90949
- emailHashes?: string[];
90950
- phoneHashes?: string[];
90951
- externalIdHashes?: string[];
90952
- };
90953
- subjectType: "end_user";
90954
- cancelReason?: string;
90955
- }
90956
- export interface OrganizationProductErasureRequestOutputRequestedBy {
90957
- actorId?: string;
90958
- actorType: ("self" | "staff" | "tenant_operator" | "cascade");
90959
- }
90960
90728
  export interface OrganizationProductListInput {
90961
90729
  }
90962
90730
  export interface OrganizationProductListOutput {
@@ -91381,312 +91149,6 @@ export interface OrganizationYoutubeInstallInput {
91381
91149
  export interface OrganizationYoutubeInstallOutput {
91382
91150
  url: string;
91383
91151
  }
91384
- export interface PlaygroundAnalyticsOverviewInput {
91385
- /**
91386
- * Max records per entity in recent[]; omit for the endpoint default
91387
- */
91388
- limit?: number;
91389
- }
91390
- export interface PlaygroundAnalyticsOverviewOutput {
91391
- ok: boolean;
91392
- minted: boolean;
91393
- overview?: unknown;
91394
- http_status: number;
91395
- }
91396
- export interface PlaygroundBillingEntitlementsInput {
91397
- }
91398
- export interface PlaygroundBillingEntitlementsOutput {
91399
- ok: boolean;
91400
- minted: boolean;
91401
- http_status: number;
91402
- entitlements?: unknown;
91403
- }
91404
- export interface PlaygroundBillingRecordUsageInput {
91405
- /**
91406
- * Quantity of events to record against playground-events (SUM); defaults to 1
91407
- */
91408
- value?: number;
91409
- }
91410
- export interface PlaygroundBillingRecordUsageOutput {
91411
- minted: boolean;
91412
- accepted: (number | null);
91413
- recorded: boolean;
91414
- duplicates: (number | null);
91415
- http_status: number;
91416
- }
91417
- export interface PlaygroundClickupCreateTaskInput {
91418
- /**
91419
- * Task title; defaults to a fixture label
91420
- */
91421
- name?: string;
91422
- /**
91423
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
91424
- */
91425
- listId?: string;
91426
- }
91427
- export interface PlaygroundClickupCreateTaskOutput {
91428
- minted: boolean;
91429
- task_id: (string | null);
91430
- list_status: number;
91431
- vend_status: number;
91432
- clickup_status: number;
91433
- installation_count: number;
91434
- }
91435
- export interface PlaygroundClickupGetLastWebhookInput {
91436
- }
91437
- export type PlaygroundClickupGetLastWebhookOutput = ({
91438
- payload: string;
91439
- event_id: string;
91440
- provider: string;
91441
- verified: boolean;
91442
- product_id: string;
91443
- occurred_at: string;
91444
- connector_id: string;
91445
- clickup_event: (string | null);
91446
- receipt_count: number;
91447
- } | {
91448
- found: false;
91449
- });
91450
- export interface PlaygroundClickupGetOverviewInput {
91451
- }
91452
- export interface PlaygroundClickupGetOverviewOutput {
91453
- team: ({
91454
- teamId: string;
91455
- teamName: string;
91456
- } | null);
91457
- lists: PlaygroundClickupGetOverviewOutputItems[];
91458
- tasks: {
91459
- id: string;
91460
- name: string;
91461
- status: (string | null);
91462
- }[];
91463
- minted: boolean;
91464
- spaces: PlaygroundClickupGetOverviewOutputItems[];
91465
- list_status: number;
91466
- vend_status: number;
91467
- lists_status: number;
91468
- tasks_status: number;
91469
- spaces_status: number;
91470
- folders_status: number;
91471
- installation_count: number;
91472
- }
91473
- export interface PlaygroundClickupGetOverviewOutputItems {
91474
- id: string;
91475
- name: string;
91476
- }
91477
- export interface PlaygroundGdriveGetLastChangeInput {
91478
- }
91479
- export type PlaygroundGdriveGetLastChangeOutput = ({
91480
- file_id: string;
91481
- removed: boolean;
91482
- file_name: (string | null);
91483
- mime_type: (string | null);
91484
- product_id: string;
91485
- occurred_at: string;
91486
- connector_id: string;
91487
- resource_state: string;
91488
- } | {
91489
- found: false;
91490
- });
91491
- export interface PlaygroundGdriveReadFileInput {
91492
- /**
91493
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
91494
- */
91495
- fileId?: string;
91496
- }
91497
- export interface PlaygroundGdriveReadFileOutput {
91498
- minted: boolean;
91499
- file_id: (string | null);
91500
- file_name: (string | null);
91501
- mime_type: (string | null);
91502
- file_count: number;
91503
- get_status: number;
91504
- list_status: number;
91505
- vend_status: number;
91506
- content_bytes: (number | null);
91507
- }
91508
- export interface PlaygroundGoogleadsReadCustomerInput {
91509
- }
91510
- export interface PlaygroundGoogleadsReadCustomerOutput {
91511
- minted: boolean;
91512
- vended: boolean;
91513
- customer_id: (string | null);
91514
- vend_status: number;
91515
- result_count: number;
91516
- search_status: number;
91517
- login_customer_id: (string | null);
91518
- }
91519
- export interface PlaygroundLifecycleGetStateInput {
91520
- }
91521
- export interface PlaygroundLifecycleGetStateOutput {
91522
- blocked: boolean;
91523
- archived: boolean;
91524
- productId: string;
91525
- lastBlockTransition: ({
91526
- eventId: string;
91527
- eventName: string;
91528
- productId: string;
91529
- occurredAt: string;
91530
- recordedAt: string;
91531
- receiptCount: number;
91532
- organizationId: string;
91533
- cascadedFromOrg: boolean;
91534
- } | null);
91535
- lastArchiveTransition: ({
91536
- eventId: string;
91537
- eventName: string;
91538
- productId: string;
91539
- occurredAt: string;
91540
- recordedAt: string;
91541
- receiptCount: number;
91542
- organizationId: string;
91543
- cascadedFromOrg: boolean;
91544
- } | null);
91545
- }
91546
- export interface PlaygroundLifecycleListEventsInput {
91547
- }
91548
- export type PlaygroundLifecycleListEventsOutput = {
91549
- eventId: string;
91550
- eventName: string;
91551
- productId: string;
91552
- occurredAt: string;
91553
- recordedAt: string;
91554
- receiptCount: number;
91555
- organizationId: string;
91556
- cascadedFromOrg: boolean;
91557
- }[];
91558
- export interface PlaygroundWebhookGetLastInput {
91559
- }
91560
- export type PlaygroundWebhookGetLastOutput = ({
91561
- payload?: unknown;
91562
- event_id: string;
91563
- provider: string;
91564
- verified: boolean;
91565
- product_id: string;
91566
- occurred_at: string;
91567
- connector_id: string;
91568
- delivery_count: number;
91569
- } | {
91570
- found: false;
91571
- });
91572
- export interface PlaygroundWorkflowEchoInput {
91573
- /**
91574
- * The text to store, 1–1024 characters
91575
- */
91576
- note: string;
91577
- /**
91578
- * Optional labels stored alongside the note, at most 20
91579
- *
91580
- * @maxItems 20
91581
- */
91582
- tags?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string] | [string, string, string, string, string] | [string, string, string, string, string, string] | [string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string] | [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
91583
- }
91584
- export interface PlaygroundWorkflowEchoOutput {
91585
- /**
91586
- * Identifier of the stored echo
91587
- */
91588
- id: string;
91589
- /**
91590
- * The note exactly as it was received
91591
- */
91592
- note: string;
91593
- /**
91594
- * The tags exactly as they were received
91595
- */
91596
- tags: string[];
91597
- /**
91598
- * Correlation id for this echo. The playground/workflow.echoed event published about two seconds later repeats it, which is how a composer matches the completion back to this step.
91599
- */
91600
- echo_id: string;
91601
- /**
91602
- * ISO-8601 instant (UTC) at which the echo was stored
91603
- */
91604
- received_at: string;
91605
- }
91606
- export interface PlaygroundWorkflowEchoListInput {
91607
- }
91608
- export type PlaygroundWorkflowEchoListOutput = {
91609
- /**
91610
- * Identifier of the stored echo
91611
- */
91612
- id: string;
91613
- /**
91614
- * The note exactly as it was received
91615
- */
91616
- note: string;
91617
- /**
91618
- * The tags exactly as they were received
91619
- */
91620
- tags: string[];
91621
- /**
91622
- * ISO-8601 instant (UTC) at which the echo was stored
91623
- */
91624
- received_at: string;
91625
- }[];
91626
- export interface PlaygroundWorkflowPingInput {
91627
- /**
91628
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
91629
- */
91630
- kind?: string;
91631
- }
91632
- export interface PlaygroundWorkflowPingOutput {
91633
- /**
91634
- * Correlation id for this ping. The emitted playground/workflow.ping event repeats it, which is how a composer matches the event back to this step.
91635
- */
91636
- id: string;
91637
- /**
91638
- * The name of the event that was published
91639
- */
91640
- event: string;
91641
- }
91642
- export interface PlaygroundWorkflowSubjectsListInput {
91643
- /**
91644
- * How many subjects to return, 1–100. Defaults to 25.
91645
- */
91646
- limit?: number;
91647
- /**
91648
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
91649
- */
91650
- cursor?: string;
91651
- /**
91652
- * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR AFTER this — the opposite question, the recently active population. Omit for no lower bound.
91653
- */
91654
- last_activity_after?: string;
91655
- /**
91656
- * ISO-8601 UTC instant. Return only subjects whose last_activity_at is AT OR BEFORE this — the "inactive for N days" question: pass now minus N days. Omit for no upper bound.
91657
- */
91658
- last_activity_before?: string;
91659
- }
91660
- export interface PlaygroundWorkflowSubjectsListOutput {
91661
- /**
91662
- * This page of subjects, most recently active first
91663
- */
91664
- items: {
91665
- /**
91666
- * Stable identifier for the subject. This is the field a batch trigger keys on, so a subject already served in an earlier run is skipped rather than served twice.
91667
- */
91668
- subject_key: string;
91669
- /**
91670
- * Human-readable name of the subject
91671
- */
91672
- display_name: string;
91673
- /**
91674
- * ISO-8601 instant (UTC) of the subject last activity
91675
- */
91676
- last_activity_at: string;
91677
- }[];
91678
- /**
91679
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
91680
- */
91681
- has_more: boolean;
91682
- /**
91683
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
91684
- */
91685
- next_cursor: (string | null);
91686
- }
91687
- export interface PlaygroundWsEchoInput {
91688
- }
91689
- export type PlaygroundWsEchoOutput = unknown;
91690
91152
  export interface RealtimeArchiveExportInput {
91691
91153
  /**
91692
91154
  * Only entries with ts <= to_ts (epoch ms)
@@ -116545,7 +116007,7 @@ export interface UsersUsersCreateInput {
116545
116007
  */
116546
116008
  imageUrl?: string;
116547
116009
  /**
116548
- * Credential to store for this user. Supply hashes only; omit password to create no password identity.
116010
+ * Optional credential to store for this user. Hashes only this toolkit never accepts a plaintext password. Nothing verifies it until Phase 2.
116549
116011
  */
116550
116012
  password?: {
116551
116013
  /**
@@ -116553,7 +116015,7 @@ export interface UsersUsersCreateInput {
116553
116015
  */
116554
116016
  phcHash?: string;
116555
116017
  /**
116556
- * An imported hash from another system, to be lazily rehashed on the first successful sign-in.
116018
+ * An imported hash from another system, to be lazily rehashed on the first successful sign-in (Phase 2).
116557
116019
  */
116558
116020
  foreignHash?: string;
116559
116021
  /**
@@ -116707,6 +116169,44 @@ export interface UsersUsersDeleteOutput {
116707
116169
  export interface UsersUsersDeleteOutputPublicMetadata {
116708
116170
  [k: string]: unknown;
116709
116171
  }
116172
+ export interface UsersUsersEraseInput {
116173
+ /**
116174
+ * The opaque user id returned by users_users_create or _list.
116175
+ */
116176
+ userId: string;
116177
+ }
116178
+ export interface UsersUsersEraseOutput {
116179
+ id: string;
116180
+ name: (string | null);
116181
+ bannedAt: (string | null);
116182
+ erasedAt: (string | null);
116183
+ imageUrl: (string | null);
116184
+ testUser: boolean;
116185
+ createdAt: string;
116186
+ deletedAt: (string | null);
116187
+ productId: string;
116188
+ updatedAt: string;
116189
+ waitlisted: boolean;
116190
+ identifiers: {
116191
+ id: string;
116192
+ type: "email";
116193
+ value: string;
116194
+ isPrimary: boolean;
116195
+ verifiedAt: (string | null);
116196
+ valueCanonical: string;
116197
+ verificationStatus: ("unverified" | "verified" | "expired");
116198
+ }[];
116199
+ lockedUntil: (string | null);
116200
+ lastSignInAt: (string | null);
116201
+ requiresReset: boolean;
116202
+ publicMetadata: UsersUsersEraseOutputPublicMetadata;
116203
+ unsafeMetadata: UsersUsersEraseOutputPublicMetadata;
116204
+ privateMetadata: UsersUsersEraseOutputPublicMetadata;
116205
+ emailChangeLockedUntil: (string | null);
116206
+ }
116207
+ export interface UsersUsersEraseOutputPublicMetadata {
116208
+ [k: string]: unknown;
116209
+ }
116710
116210
  export interface UsersUsersExportInput {
116711
116211
  /**
116712
116212
  * Rows per page, 1-500. Default 100.
@@ -117052,6 +116552,15 @@ export interface UsersUsersUpdateOutput {
117052
116552
  export interface UsersUsersUpdateOutputPublicMetadata {
117053
116553
  [k: string]: unknown;
117054
116554
  }
116555
+ export interface UsersWaitlistEraseInput {
116556
+ /**
116557
+ * The waitlisted user whose entry and directory row to erase.
116558
+ */
116559
+ userId: string;
116560
+ }
116561
+ export interface UsersWaitlistEraseOutput {
116562
+ erased: boolean;
116563
+ }
117055
116564
  export interface UsersWaitlistFunnelInput {
117056
116565
  }
117057
116566
  export interface UsersWaitlistFunnelOutput {
@@ -1,2 +1,2 @@
1
1
  export * from './queryOptions.gen.js';
2
- export type { UsersApikeysCreateInput, UsersApikeysCreateOutput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersApikeysRevokeOutput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersConfigUpsertOutput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersFactorsResetOutput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRevokeOutput, UsersKeysRotateInput, UsersKeysRotateOutput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, 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, 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, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersApikeysRevokeOutput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersConfigUpsertOutput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersFactorsResetOutput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRevokeOutput, UsersKeysRotateInput, UsersKeysRotateOutput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, UsersPasskeysListInput, UsersPasskeysListOutput, UsersPasskeysRevokeInput, UsersPasskeysRevokeOutput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsImpersonateOutput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersSessionsRevokeOutput, UsersStatsGetInput, UsersStatsGetOutput, UsersUsersBanInput, UsersUsersBanOutput, UsersUsersCreateInput, UsersUsersCreateOutput, UsersUsersDeleteInput, UsersUsersDeleteOutput, UsersUsersEraseInput, UsersUsersEraseOutput, UsersUsersExportInput, UsersUsersExportOutput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersImportOutput, UsersUsersInviteInput, UsersUsersInviteOutput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersSetPrimaryIdentifierOutput, UsersUsersUnbanInput, UsersUsersUnbanOutput, UsersUsersUpdateInput, UsersUsersUpdateOutput, UsersWaitlistEraseInput, UsersWaitlistEraseOutput, UsersWaitlistFunnelInput, UsersWaitlistFunnelOutput, 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, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRotateInput, UsersOpsRetentionGetInput, UsersOpsSloGetInput, UsersPasskeysListInput, UsersPasskeysListOutput, UsersPasskeysRevokeInput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersStatsGetInput, UsersUsersBanInput, UsersUsersCreateInput, UsersUsersDeleteInput, UsersUsersExportInput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersInviteInput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersUnbanInput, UsersUsersUpdateInput, UsersWaitlistFunnelInput, UsersWaitlistImportInput, UsersWaitlistInviteInput, UsersWaitlistListInput, UsersWebhooksCreateInput, UsersWebhooksDeleteInput, UsersWebhooksDeliveriesListInput, UsersWebhooksDeliveriesListOutput, UsersWebhooksGetInput, UsersWebhooksGetOutput, UsersWebhooksListInput, UsersWebhooksListOutput, UsersWebhooksRotateSecretInput, UsersWebhooksUpdateInput } from '../types.gen.js';
2
+ import type { UsersApikeysCreateInput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRotateInput, UsersOpsRetentionGetInput, UsersOpsSloGetInput, UsersPasskeysListInput, UsersPasskeysListOutput, UsersPasskeysRevokeInput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersStatsGetInput, UsersUsersBanInput, UsersUsersCreateInput, UsersUsersDeleteInput, UsersUsersEraseInput, UsersUsersExportInput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersInviteInput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersUnbanInput, UsersUsersUpdateInput, UsersWaitlistEraseInput, UsersWaitlistFunnelInput, UsersWaitlistImportInput, UsersWaitlistInviteInput, UsersWaitlistListInput, 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>;
@@ -92,6 +92,10 @@ export declare const usersUsersDeleteMutationOptions: (sdk: GeneratedClient) =>
92
92
  mutationKey: string[];
93
93
  mutationFn: (input: UsersUsersDeleteInput) => Promise<import(".").UsersUsersDeleteOutput>;
94
94
  };
95
+ export declare const usersUsersEraseMutationOptions: (sdk: GeneratedClient) => {
96
+ mutationKey: string[];
97
+ mutationFn: (input: UsersUsersEraseInput) => Promise<import(".").UsersUsersEraseOutput>;
98
+ };
95
99
  export declare const usersUsersExportMutationOptions: (sdk: GeneratedClient) => {
96
100
  mutationKey: string[];
97
101
  mutationFn: (input: UsersUsersExportInput) => Promise<import(".").UsersUsersExportOutput>;
@@ -124,6 +128,10 @@ export declare const usersUsersUpdateMutationOptions: (sdk: GeneratedClient) =>
124
128
  mutationKey: string[];
125
129
  mutationFn: (input: UsersUsersUpdateInput) => Promise<import(".").UsersUsersUpdateOutput>;
126
130
  };
131
+ export declare const usersWaitlistEraseMutationOptions: (sdk: GeneratedClient) => {
132
+ mutationKey: string[];
133
+ mutationFn: (input: UsersWaitlistEraseInput) => Promise<import(".").UsersWaitlistEraseOutput>;
134
+ };
127
135
  export declare const usersWaitlistFunnelMutationOptions: (sdk: GeneratedClient) => {
128
136
  mutationKey: string[];
129
137
  mutationFn: (input: UsersWaitlistFunnelInput) => Promise<import(".").UsersWaitlistFunnelOutput>;