@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
@@ -66113,7 +66113,7 @@ request_id: string
66113
66113
 
66114
66114
  export interface BrainKnowledgeGraphInput {
66115
66115
  /**
66116
- * 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.
66116
+ * 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
66117
66117
  */
66118
66118
  limit?: number
66119
66119
  /**
@@ -85220,83 +85220,6 @@ display_name: string
85220
85220
  }[]
85221
85221
  }
85222
85222
 
85223
- export interface OrganizationPrincipalGrantsApproveInput {
85224
- /**
85225
- * @minItems 1
85226
- * @maxItems 200
85227
- */
85228
- tools: [string, ...(string)[]]
85229
- productId: string
85230
- principalId: string
85231
- principalKind: "workflow"
85232
- }
85233
-
85234
- export interface OrganizationPrincipalGrantsApproveOutput {
85235
- grants: {
85236
- reason: (string | null)
85237
- status: string
85238
- sponsor: ({
85239
- userId: (string | null)
85240
- memberId: string
85241
- } | null)
85242
- toolKey: string
85243
- approvedAt: (string | null)
85244
- }[]
85245
- pending: string[]
85246
- effective: string[]
85247
- productId: string
85248
- principalId: string
85249
- needsSponsor: string[]
85250
- principalKind: "workflow"
85251
- notSponsorable: string[]
85252
- }
85253
-
85254
- export interface OrganizationPrincipalGrantsListInput {
85255
- productId: string
85256
- principalKind?: "workflow"
85257
- }
85258
-
85259
- export interface OrganizationPrincipalGrantsListOutput {
85260
- principals: {
85261
- pending: string[]
85262
- effective: string[]
85263
- principalId: string
85264
- needsSponsor: string[]
85265
- principalKind: "workflow"
85266
- }[]
85267
- }
85268
-
85269
- export interface OrganizationPrincipalGrantsRevokeInput {
85270
- /**
85271
- * @minItems 1
85272
- * @maxItems 200
85273
- */
85274
- tools?: [string, ...(string)[]]
85275
- reason?: string
85276
- productId: string
85277
- principalId: string
85278
- principalKind: "workflow"
85279
- }
85280
-
85281
- export interface OrganizationPrincipalGrantsRevokeOutput {
85282
- grants: {
85283
- reason: (string | null)
85284
- status: string
85285
- sponsor: ({
85286
- userId: (string | null)
85287
- memberId: string
85288
- } | null)
85289
- toolKey: string
85290
- approvedAt: (string | null)
85291
- }[]
85292
- pending: string[]
85293
- effective: string[]
85294
- productId: string
85295
- principalId: string
85296
- needsSponsor: string[]
85297
- principalKind: "workflow"
85298
- }
85299
-
85300
85223
  export interface OrganizationProductCreateInput {
85301
85224
  name: string
85302
85225
  region?: "eu"
@@ -85319,173 +85242,6 @@ description: (string | null)
85319
85242
  organizationId: string
85320
85243
  }
85321
85244
 
85322
- export interface OrganizationProductErasureGetInput {
85323
- /**
85324
- * Product uuid, e.g. "3f6c1e2a-9c1e-4b1a-8f0e-2a7d5c9b1e34".
85325
- */
85326
- productId: string
85327
- /**
85328
- * Erasure request uuid, e.g. "0192f3c1-4a55-7c3e-9a11-6f0b2d7e8c90".
85329
- */
85330
- requestId: string
85331
- }
85332
-
85333
- export interface OrganizationProductErasureGetOutput {
85334
- id: string
85335
- acks: {
85336
- at: string
85337
- error?: string
85338
- counts?: {
85339
- [k: string]: number
85340
- }
85341
- result: ("erased" | "nothing_to_erase" | "failed")
85342
- participant: string
85343
- }[]
85344
- dueAt: string
85345
- status: ("scheduled" | "running" | "completed" | "partial" | "cancelled")
85346
- productId: (string | null)
85347
- startedAt?: string
85348
- subjectId: string
85349
- controller: string
85350
- finishedAt?: string
85351
- cancelledBy?: OrganizationProductErasureGetOutputRequestedBy
85352
- requestedAt: string
85353
- requestedBy: OrganizationProductErasureGetOutputRequestedBy
85354
- subjectRefs?: {
85355
- nameHashes?: string[]
85356
- emailHashes?: string[]
85357
- phoneHashes?: string[]
85358
- externalIdHashes?: string[]
85359
- }
85360
- subjectType: "end_user"
85361
- cancelReason?: string
85362
- }
85363
- export interface OrganizationProductErasureGetOutputRequestedBy {
85364
- actorId?: string
85365
- actorType: ("self" | "staff" | "tenant_operator" | "cascade")
85366
- }
85367
-
85368
- export interface OrganizationProductErasureListInput {
85369
- /**
85370
- * Cursor from the previous page's `next`, e.g. "0192f3c1-...".
85371
- */
85372
- after?: string
85373
- /**
85374
- * Page size, 1-500, default 50.
85375
- */
85376
- limit?: number
85377
- /**
85378
- * Request status filter, e.g. "scheduled".
85379
- */
85380
- status?: ("scheduled" | "running" | "completed" | "partial" | "cancelled")
85381
- /**
85382
- * Product uuid, e.g. "3f6c1e2a-9c1e-4b1a-8f0e-2a7d5c9b1e34".
85383
- */
85384
- productId: string
85385
- }
85386
-
85387
- export interface OrganizationProductErasureListOutput {
85388
- next: (string | null)
85389
- requests: {
85390
- id: string
85391
- acks: {
85392
- at: string
85393
- error?: string
85394
- counts?: {
85395
- [k: string]: number
85396
- }
85397
- result: ("erased" | "nothing_to_erase" | "failed")
85398
- participant: string
85399
- }[]
85400
- dueAt: string
85401
- status: ("scheduled" | "running" | "completed" | "partial" | "cancelled")
85402
- productId: (string | null)
85403
- startedAt?: string
85404
- subjectId: string
85405
- controller: string
85406
- finishedAt?: string
85407
- cancelledBy?: OrganizationProductErasureListOutputRequestedBy
85408
- requestedAt: string
85409
- requestedBy: OrganizationProductErasureListOutputRequestedBy
85410
- subjectRefs?: {
85411
- nameHashes?: string[]
85412
- emailHashes?: string[]
85413
- phoneHashes?: string[]
85414
- externalIdHashes?: string[]
85415
- }
85416
- subjectType: "end_user"
85417
- cancelReason?: string
85418
- }[]
85419
- }
85420
- export interface OrganizationProductErasureListOutputRequestedBy {
85421
- actorId?: string
85422
- actorType: ("self" | "staff" | "tenant_operator" | "cascade")
85423
- }
85424
-
85425
- export interface OrganizationProductErasureRequestInput {
85426
- /**
85427
- * Display name of the end user, e.g. "Oleg Pravdikov". A weak match on its own; hashed on arrival.
85428
- */
85429
- name?: string
85430
- /**
85431
- * Email addresses of the end user, 0-10, e.g. ["oleg@example.com"]. Hashed on arrival; never stored.
85432
- *
85433
- * @maxItems 10
85434
- */
85435
- 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]
85436
- /**
85437
- * 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.
85438
- *
85439
- * @maxItems 10
85440
- */
85441
- 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]
85442
- /**
85443
- * Product uuid, e.g. "3f6c1e2a-9c1e-4b1a-8f0e-2a7d5c9b1e34".
85444
- */
85445
- productId: string
85446
- /**
85447
- * 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.
85448
- *
85449
- * @maxItems 10
85450
- */
85451
- 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]
85452
- }
85453
-
85454
- export interface OrganizationProductErasureRequestOutput {
85455
- id: string
85456
- acks: {
85457
- at: string
85458
- error?: string
85459
- counts?: {
85460
- [k: string]: number
85461
- }
85462
- result: ("erased" | "nothing_to_erase" | "failed")
85463
- participant: string
85464
- }[]
85465
- dueAt: string
85466
- status: ("scheduled" | "running" | "completed" | "partial" | "cancelled")
85467
- productId: (string | null)
85468
- startedAt?: string
85469
- subjectId: string
85470
- controller: string
85471
- finishedAt?: string
85472
- cancelledBy?: OrganizationProductErasureRequestOutputRequestedBy
85473
- requestedAt: string
85474
- requestedBy: OrganizationProductErasureRequestOutputRequestedBy
85475
- subjectRefs?: {
85476
- nameHashes?: string[]
85477
- emailHashes?: string[]
85478
- phoneHashes?: string[]
85479
- externalIdHashes?: string[]
85480
- }
85481
- subjectType: "end_user"
85482
- cancelReason?: string
85483
- }
85484
- export interface OrganizationProductErasureRequestOutputRequestedBy {
85485
- actorId?: string
85486
- actorType: ("self" | "staff" | "tenant_operator" | "cascade")
85487
- }
85488
-
85489
85245
  export interface OrganizationProductListInput {
85490
85246
 
85491
85247
  }
@@ -85971,356 +85727,6 @@ export interface OrganizationYoutubeInstallOutput {
85971
85727
  url: string
85972
85728
  }
85973
85729
 
85974
- export interface PlaygroundAnalyticsOverviewInput {
85975
- /**
85976
- * Max records per entity in recent[]; omit for the endpoint default
85977
- */
85978
- limit?: number
85979
- }
85980
-
85981
- export interface PlaygroundAnalyticsOverviewOutput {
85982
- ok: boolean
85983
- minted: boolean
85984
- overview?: unknown
85985
- http_status: number
85986
- }
85987
-
85988
- export interface PlaygroundBillingEntitlementsInput {
85989
-
85990
- }
85991
-
85992
- export interface PlaygroundBillingEntitlementsOutput {
85993
- ok: boolean
85994
- minted: boolean
85995
- http_status: number
85996
- entitlements?: unknown
85997
- }
85998
-
85999
- export interface PlaygroundBillingRecordUsageInput {
86000
- /**
86001
- * Quantity of events to record against playground-events (SUM); defaults to 1
86002
- */
86003
- value?: number
86004
- }
86005
-
86006
- export interface PlaygroundBillingRecordUsageOutput {
86007
- minted: boolean
86008
- accepted: (number | null)
86009
- recorded: boolean
86010
- duplicates: (number | null)
86011
- http_status: number
86012
- }
86013
-
86014
- export interface PlaygroundClickupCreateTaskInput {
86015
- /**
86016
- * Task title; defaults to a fixture label
86017
- */
86018
- name?: string
86019
- /**
86020
- * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
86021
- */
86022
- listId?: string
86023
- }
86024
-
86025
- export interface PlaygroundClickupCreateTaskOutput {
86026
- minted: boolean
86027
- task_id: (string | null)
86028
- list_status: number
86029
- vend_status: number
86030
- clickup_status: number
86031
- installation_count: number
86032
- }
86033
-
86034
- export interface PlaygroundClickupGetLastWebhookInput {
86035
-
86036
- }
86037
-
86038
- export type PlaygroundClickupGetLastWebhookOutput = ({
86039
- payload: string
86040
- event_id: string
86041
- provider: string
86042
- verified: boolean
86043
- product_id: string
86044
- occurred_at: string
86045
- connector_id: string
86046
- clickup_event: (string | null)
86047
- receipt_count: number
86048
- } | {
86049
- found: false
86050
- })
86051
-
86052
- export interface PlaygroundClickupGetOverviewInput {
86053
-
86054
- }
86055
-
86056
- export interface PlaygroundClickupGetOverviewOutput {
86057
- team: ({
86058
- teamId: string
86059
- teamName: string
86060
- } | null)
86061
- lists: PlaygroundClickupGetOverviewOutputItems[]
86062
- tasks: {
86063
- id: string
86064
- name: string
86065
- status: (string | null)
86066
- }[]
86067
- minted: boolean
86068
- spaces: PlaygroundClickupGetOverviewOutputItems[]
86069
- list_status: number
86070
- vend_status: number
86071
- lists_status: number
86072
- tasks_status: number
86073
- spaces_status: number
86074
- folders_status: number
86075
- installation_count: number
86076
- }
86077
- export interface PlaygroundClickupGetOverviewOutputItems {
86078
- id: string
86079
- name: string
86080
- }
86081
-
86082
- export interface PlaygroundGdriveGetLastChangeInput {
86083
-
86084
- }
86085
-
86086
- export type PlaygroundGdriveGetLastChangeOutput = ({
86087
- file_id: string
86088
- removed: boolean
86089
- file_name: (string | null)
86090
- mime_type: (string | null)
86091
- product_id: string
86092
- occurred_at: string
86093
- connector_id: string
86094
- resource_state: string
86095
- } | {
86096
- found: false
86097
- })
86098
-
86099
- export interface PlaygroundGdriveReadFileInput {
86100
- /**
86101
- * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
86102
- */
86103
- fileId?: string
86104
- }
86105
-
86106
- export interface PlaygroundGdriveReadFileOutput {
86107
- minted: boolean
86108
- file_id: (string | null)
86109
- file_name: (string | null)
86110
- mime_type: (string | null)
86111
- file_count: number
86112
- get_status: number
86113
- list_status: number
86114
- vend_status: number
86115
- content_bytes: (number | null)
86116
- }
86117
-
86118
- export interface PlaygroundGoogleadsReadCustomerInput {
86119
-
86120
- }
86121
-
86122
- export interface PlaygroundGoogleadsReadCustomerOutput {
86123
- minted: boolean
86124
- vended: boolean
86125
- customer_id: (string | null)
86126
- vend_status: number
86127
- result_count: number
86128
- search_status: number
86129
- login_customer_id: (string | null)
86130
- }
86131
-
86132
- export interface PlaygroundLifecycleGetStateInput {
86133
-
86134
- }
86135
-
86136
- export interface PlaygroundLifecycleGetStateOutput {
86137
- blocked: boolean
86138
- archived: boolean
86139
- productId: string
86140
- lastBlockTransition: ({
86141
- eventId: string
86142
- eventName: string
86143
- productId: string
86144
- occurredAt: string
86145
- recordedAt: string
86146
- receiptCount: number
86147
- organizationId: string
86148
- cascadedFromOrg: boolean
86149
- } | null)
86150
- lastArchiveTransition: ({
86151
- eventId: string
86152
- eventName: string
86153
- productId: string
86154
- occurredAt: string
86155
- recordedAt: string
86156
- receiptCount: number
86157
- organizationId: string
86158
- cascadedFromOrg: boolean
86159
- } | null)
86160
- }
86161
-
86162
- export interface PlaygroundLifecycleListEventsInput {
86163
-
86164
- }
86165
-
86166
- export type PlaygroundLifecycleListEventsOutput = {
86167
- eventId: string
86168
- eventName: string
86169
- productId: string
86170
- occurredAt: string
86171
- recordedAt: string
86172
- receiptCount: number
86173
- organizationId: string
86174
- cascadedFromOrg: boolean
86175
- }[]
86176
-
86177
- export interface PlaygroundWebhookGetLastInput {
86178
-
86179
- }
86180
-
86181
- export type PlaygroundWebhookGetLastOutput = ({
86182
- payload?: unknown
86183
- event_id: string
86184
- provider: string
86185
- verified: boolean
86186
- product_id: string
86187
- occurred_at: string
86188
- connector_id: string
86189
- delivery_count: number
86190
- } | {
86191
- found: false
86192
- })
86193
-
86194
- export interface PlaygroundWorkflowEchoInput {
86195
- /**
86196
- * The text to store, 1–1024 characters
86197
- */
86198
- note: string
86199
- /**
86200
- * Optional labels stored alongside the note, at most 20
86201
- *
86202
- * @maxItems 20
86203
- */
86204
- 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]
86205
- }
86206
-
86207
- export interface PlaygroundWorkflowEchoOutput {
86208
- /**
86209
- * Identifier of the stored echo
86210
- */
86211
- id: string
86212
- /**
86213
- * The note exactly as it was received
86214
- */
86215
- note: string
86216
- /**
86217
- * The tags exactly as they were received
86218
- */
86219
- tags: string[]
86220
- /**
86221
- * 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.
86222
- */
86223
- echo_id: string
86224
- /**
86225
- * ISO-8601 instant (UTC) at which the echo was stored
86226
- */
86227
- received_at: string
86228
- }
86229
-
86230
- export interface PlaygroundWorkflowEchoListInput {
86231
-
86232
- }
86233
-
86234
- export type PlaygroundWorkflowEchoListOutput = {
86235
- /**
86236
- * Identifier of the stored echo
86237
- */
86238
- id: string
86239
- /**
86240
- * The note exactly as it was received
86241
- */
86242
- note: string
86243
- /**
86244
- * The tags exactly as they were received
86245
- */
86246
- tags: string[]
86247
- /**
86248
- * ISO-8601 instant (UTC) at which the echo was stored
86249
- */
86250
- received_at: string
86251
- }[]
86252
-
86253
- export interface PlaygroundWorkflowPingInput {
86254
- /**
86255
- * Class of ping, echoed on the emitted event and filterable on the trigger. Defaults to 'manual'.
86256
- */
86257
- kind?: string
86258
- }
86259
-
86260
- export interface PlaygroundWorkflowPingOutput {
86261
- /**
86262
- * 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.
86263
- */
86264
- id: string
86265
- /**
86266
- * The name of the event that was published
86267
- */
86268
- event: string
86269
- }
86270
-
86271
- export interface PlaygroundWorkflowSubjectsListInput {
86272
- /**
86273
- * How many subjects to return, 1–100. Defaults to 25.
86274
- */
86275
- limit?: number
86276
- /**
86277
- * The next_cursor of the previous page. Opaque — pass it back unchanged. Omit for the first page.
86278
- */
86279
- cursor?: string
86280
- /**
86281
- * 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.
86282
- */
86283
- last_activity_after?: string
86284
- /**
86285
- * 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.
86286
- */
86287
- last_activity_before?: string
86288
- }
86289
-
86290
- export interface PlaygroundWorkflowSubjectsListOutput {
86291
- /**
86292
- * This page of subjects, most recently active first
86293
- */
86294
- items: {
86295
- /**
86296
- * 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.
86297
- */
86298
- subject_key: string
86299
- /**
86300
- * Human-readable name of the subject
86301
- */
86302
- display_name: string
86303
- /**
86304
- * ISO-8601 instant (UTC) of the subject last activity
86305
- */
86306
- last_activity_at: string
86307
- }[]
86308
- /**
86309
- * Whether another page follows. False and a null next_cursor both mark the last page, so a consumer that loops on either terminates.
86310
- */
86311
- has_more: boolean
86312
- /**
86313
- * Pass back as `cursor` to fetch the next page; null on the last page. Always null when has_more is false.
86314
- */
86315
- next_cursor: (string | null)
86316
- }
86317
-
86318
- export interface PlaygroundWsEchoInput {
86319
-
86320
- }
86321
-
86322
- export type PlaygroundWsEchoOutput = unknown;
86323
-
86324
85730
  export interface RealtimeArchiveExportInput {
86325
85731
  /**
86326
85732
  * Only entries with ts <= to_ts (epoch ms)
@@ -110053,7 +109459,7 @@ name?: string
110053
109459
  */
110054
109460
  imageUrl?: string
110055
109461
  /**
110056
- * Credential to store for this user. Supply hashes only; omit password to create no password identity.
109462
+ * Optional credential to store for this user. Hashes only this toolkit never accepts a plaintext password. Nothing verifies it until Phase 2.
110057
109463
  */
110058
109464
  password?: {
110059
109465
  /**
@@ -110061,7 +109467,7 @@ password?: {
110061
109467
  */
110062
109468
  phcHash?: string
110063
109469
  /**
110064
- * An imported hash from another system, to be lazily rehashed on the first successful sign-in.
109470
+ * An imported hash from another system, to be lazily rehashed on the first successful sign-in (Phase 2).
110065
109471
  */
110066
109472
  foreignHash?: string
110067
109473
  /**
@@ -110216,6 +109622,46 @@ export interface UsersUsersDeleteOutputPublicMetadata {
110216
109622
  [k: string]: unknown
110217
109623
  }
110218
109624
 
109625
+ export interface UsersUsersEraseInput {
109626
+ /**
109627
+ * The opaque user id returned by users_users_create or _list.
109628
+ */
109629
+ userId: string
109630
+ }
109631
+
109632
+ export interface UsersUsersEraseOutput {
109633
+ id: string
109634
+ name: (string | null)
109635
+ bannedAt: (string | null)
109636
+ erasedAt: (string | null)
109637
+ imageUrl: (string | null)
109638
+ testUser: boolean
109639
+ createdAt: string
109640
+ deletedAt: (string | null)
109641
+ productId: string
109642
+ updatedAt: string
109643
+ waitlisted: boolean
109644
+ identifiers: {
109645
+ id: string
109646
+ type: "email"
109647
+ value: string
109648
+ isPrimary: boolean
109649
+ verifiedAt: (string | null)
109650
+ valueCanonical: string
109651
+ verificationStatus: ("unverified" | "verified" | "expired")
109652
+ }[]
109653
+ lockedUntil: (string | null)
109654
+ lastSignInAt: (string | null)
109655
+ requiresReset: boolean
109656
+ publicMetadata: UsersUsersEraseOutputPublicMetadata
109657
+ unsafeMetadata: UsersUsersEraseOutputPublicMetadata
109658
+ privateMetadata: UsersUsersEraseOutputPublicMetadata
109659
+ emailChangeLockedUntil: (string | null)
109660
+ }
109661
+ export interface UsersUsersEraseOutputPublicMetadata {
109662
+ [k: string]: unknown
109663
+ }
109664
+
110219
109665
  export interface UsersUsersExportInput {
110220
109666
  /**
110221
109667
  * Rows per page, 1-500. Default 100.
@@ -110577,6 +110023,17 @@ export interface UsersUsersUpdateOutputPublicMetadata {
110577
110023
  [k: string]: unknown
110578
110024
  }
110579
110025
 
110026
+ export interface UsersWaitlistEraseInput {
110027
+ /**
110028
+ * The waitlisted user whose entry and directory row to erase.
110029
+ */
110030
+ userId: string
110031
+ }
110032
+
110033
+ export interface UsersWaitlistEraseOutput {
110034
+ erased: boolean
110035
+ }
110036
+
110580
110037
  export interface UsersWaitlistFunnelInput {
110581
110038
 
110582
110039
  }
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- 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';
3
+ 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';