@lessly/sdk-app 9.1.0 → 9.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/analytics/index.d.cts +1 -1
  2. package/dist/analytics/index.d.ts +1 -1
  3. package/dist/brain/index.cjs +0 -10
  4. package/dist/brain/index.cjs.map +1 -1
  5. package/dist/brain/index.d.cts +2 -10
  6. package/dist/brain/index.d.ts +2 -10
  7. package/dist/brain/index.js +1 -9
  8. package/dist/brain/index.js.map +1 -1
  9. package/dist/{client.gen-LEUVRZRQ.d.cts → client.gen-BLMudoVx.d.cts} +577 -107
  10. package/dist/{client.gen-LEUVRZRQ.d.ts → client.gen-BLMudoVx.d.ts} +577 -107
  11. package/dist/consent/index.d.cts +1 -1
  12. package/dist/consent/index.d.ts +1 -1
  13. package/dist/deployment/index.d.cts +1 -1
  14. package/dist/deployment/index.d.ts +1 -1
  15. package/dist/index.cjs +322 -40
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.d.cts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +322 -40
  20. package/dist/index.js.map +1 -1
  21. package/dist/mail/index.d.cts +2 -2
  22. package/dist/mail/index.d.ts +2 -2
  23. package/dist/organization/index.d.cts +1 -1
  24. package/dist/organization/index.d.ts +1 -1
  25. package/dist/playground/index.cjs +66 -0
  26. package/dist/playground/index.cjs.map +1 -0
  27. package/dist/playground/index.d.cts +52 -0
  28. package/dist/playground/index.d.ts +52 -0
  29. package/dist/playground/index.js +53 -0
  30. package/dist/playground/index.js.map +1 -0
  31. package/dist/realtime/index.cjs +66 -0
  32. package/dist/realtime/index.cjs.map +1 -0
  33. package/dist/realtime/index.d.cts +52 -0
  34. package/dist/realtime/index.d.ts +52 -0
  35. package/dist/realtime/index.js +53 -0
  36. package/dist/realtime/index.js.map +1 -0
  37. package/dist/tracking/index.d.cts +1 -1
  38. package/dist/tracking/index.d.ts +1 -1
  39. package/dist/waitlist/index.d.cts +1 -1
  40. package/dist/waitlist/index.d.ts +1 -1
  41. package/package.json +12 -2
  42. package/src/gen/bindings.gen.ts +322 -40
  43. package/src/gen/brain/index.ts +1 -1
  44. package/src/gen/brain/queryOptions.gen.ts +0 -14
  45. package/src/gen/client.gen.ts +102 -8
  46. package/src/gen/manifest.gen.ts +1 -1
  47. package/src/gen/playground/index.ts +3 -0
  48. package/src/gen/playground/queryOptions.gen.ts +86 -0
  49. package/src/gen/realtime/index.ts +3 -0
  50. package/src/gen/realtime/queryOptions.gen.ts +81 -0
  51. package/src/gen/types.gen.ts +580 -106
@@ -56,9 +56,15 @@ snapshotId?: string
56
56
  export type BrainBackupStatusOutput = ({
57
57
  id: string
58
58
  error: (string | null)
59
- status: ("running" | "completed" | "failed")
59
+ /**
60
+ * 'running' | 'completed' | 'failed'
61
+ */
62
+ status: string
60
63
  gcsPath: string
61
- trigger: ("scheduled" | "manual" | "pre-restore")
64
+ /**
65
+ * 'scheduled' | 'manual' | 'pre-restore'
66
+ */
67
+ trigger: string
62
68
  createdAt: string
63
69
  edgeCount: (number | null)
64
70
  nodeCount: (number | null)
@@ -77,9 +83,15 @@ export interface BrainBackupsListInput {
77
83
  export type BrainBackupsListOutput = {
78
84
  id: string
79
85
  error: (string | null)
80
- status: ("running" | "completed" | "failed")
86
+ /**
87
+ * 'running' | 'completed' | 'failed'
88
+ */
89
+ status: string
81
90
  gcsPath: string
82
- trigger: ("scheduled" | "manual" | "pre-restore")
91
+ /**
92
+ * 'scheduled' | 'manual' | 'pre-restore'
93
+ */
94
+ trigger: string
83
95
  createdAt: string
84
96
  edgeCount: (number | null)
85
97
  nodeCount: (number | null)
@@ -536,107 +548,6 @@ mimeType: string
536
548
  }[]
537
549
  }[]
538
550
 
539
- export interface BrainKnowledgeEntityMemoriesInput {
540
- /**
541
- * Max memories (default 50)
542
- */
543
- limit?: number
544
- /**
545
- * Read scope; 'both' (default) unions shared + your private
546
- */
547
- scope?: ("shared" | "private" | "both")
548
- /**
549
- * Pagination offset
550
- */
551
- offset?: number
552
- /**
553
- * Entity id, name, or alias to fetch backing memories for
554
- */
555
- entity_ref: string
556
- }
557
-
558
- export interface BrainKnowledgeEntityMemoriesOutput {
559
- total: number
560
- entity: ({
561
- score?: number
562
- aliases: string[]
563
- entity_id: string
564
- description: (string | null)
565
- entity_type: string
566
- display_name: string
567
- canonical_name: string
568
- evidence_count: number
569
- } | null)
570
- memories: {
571
- /**
572
- * Consumer-facing label derived from the layer; 'unknown' for an unrecognised layer
573
- */
574
- kind: ("schema" | "intention" | "identity" | "basic" | "fact" | "summary" | "knowledge" | "raw" | "unknown")
575
- tags: string[]
576
- /**
577
- * Engine memory layer (l0_basic_info…l7_intention)
578
- */
579
- layer: ("l6_schema" | "l7_intention" | "l4_identity" | "l0_basic_info" | "l2_fact" | "l3_summary" | "l5_knowledge" | "l1_raw")
580
- custom: {
581
- [k: string]: unknown
582
- }
583
- status: string
584
- content: string
585
- user_id: string
586
- agent_id: string
587
- memory_at: (number | null)
588
- memory_id: string
589
- speculate: (string | null)
590
- session_id: string
591
- gmt_created: number
592
- /**
593
- * Source authority (highest→lowest): policy > official > team > informal
594
- */
595
- source_authority: ("policy" | "official" | "team" | "informal")
596
- source_raw_memory_id: (string | null)
597
- }[]
598
- elapsed_ms: number
599
- request_id: string
600
- }
601
-
602
- export interface BrainKnowledgeGraphInput {
603
- /**
604
- * 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
605
- */
606
- limit?: number
607
- /**
608
- * Read scope; 'both' (default) unions shared + your private
609
- */
610
- scope?: ("shared" | "private" | "both")
611
- }
612
-
613
- export interface BrainKnowledgeGraphOutput {
614
- edges: {
615
- reason: (string | null)
616
- source: string
617
- target: string
618
- symmetric: boolean
619
- relation_type: string
620
- }[]
621
- nodes: {
622
- id: string
623
- degree: number
624
- aliases: string[]
625
- description: (string | null)
626
- entity_type: string
627
- display_name: string
628
- canonical_name: string
629
- evidence_count: number
630
- }[]
631
- totals: {
632
- edgeCount: number
633
- nodeCount: number
634
- }
635
- truncated: boolean
636
- elapsed_ms: number
637
- request_id: string
638
- }
639
-
640
551
  export interface BrainKnowledgeNeighborhoodInput {
641
552
  /**
642
553
  * Hops to expand (engine clamps to 3)
@@ -1017,7 +928,10 @@ restoreId: string
1017
928
 
1018
929
  export type BrainRestoreStatusOutput = ({
1019
930
  error: (string | null)
1020
- status: ("pending" | "wiped" | "importing" | "completed" | "failed")
931
+ /**
932
+ * 'pending' | 'wiped' | 'importing' | 'completed' | 'failed'
933
+ */
934
+ status: string
1021
935
  edgeCount: (number | null)
1022
936
  nodeCount: (number | null)
1023
937
  productId: string
@@ -13274,6 +13188,566 @@ name: string
13274
13188
  activeProductId: (string | null)
13275
13189
  }
13276
13190
 
13191
+ export interface PlaygroundAnalyticsOverviewInput {
13192
+ /**
13193
+ * Max records per entity in recent[]; omit for the endpoint default
13194
+ */
13195
+ limit?: number
13196
+ }
13197
+
13198
+ export interface PlaygroundAnalyticsOverviewOutput {
13199
+ ok: boolean
13200
+ minted: boolean
13201
+ overview?: unknown
13202
+ http_status: number
13203
+ }
13204
+
13205
+ export interface PlaygroundBillingEntitlementsInput {
13206
+
13207
+ }
13208
+
13209
+ export interface PlaygroundBillingEntitlementsOutput {
13210
+ ok: boolean
13211
+ minted: boolean
13212
+ http_status: number
13213
+ entitlements?: unknown
13214
+ }
13215
+
13216
+ export interface PlaygroundBillingRecordUsageInput {
13217
+ /**
13218
+ * Quantity of events to record against playground-events (SUM); defaults to 1
13219
+ */
13220
+ value?: number
13221
+ }
13222
+
13223
+ export interface PlaygroundBillingRecordUsageOutput {
13224
+ minted: boolean
13225
+ accepted: (number | null)
13226
+ recorded: boolean
13227
+ duplicates: (number | null)
13228
+ http_status: number
13229
+ }
13230
+
13231
+ export interface PlaygroundClickupCreateTaskInput {
13232
+ /**
13233
+ * Task title; defaults to a fixture label
13234
+ */
13235
+ name?: string
13236
+ /**
13237
+ * ClickUp list id; falls back to CLICKUP_TEST_LIST_ID
13238
+ */
13239
+ listId?: string
13240
+ }
13241
+
13242
+ export interface PlaygroundClickupCreateTaskOutput {
13243
+ minted: boolean
13244
+ task_id: (string | null)
13245
+ list_status: number
13246
+ vend_status: number
13247
+ clickup_status: number
13248
+ installation_count: number
13249
+ }
13250
+
13251
+ export interface PlaygroundClickupGetLastWebhookInput {
13252
+
13253
+ }
13254
+
13255
+ export type PlaygroundClickupGetLastWebhookOutput = ({
13256
+ payload: string
13257
+ event_id: string
13258
+ provider: string
13259
+ verified: boolean
13260
+ product_id: string
13261
+ occurred_at: string
13262
+ connector_id: string
13263
+ clickup_event: (string | null)
13264
+ receipt_count: number
13265
+ } | {
13266
+ found: false
13267
+ })
13268
+
13269
+ export interface PlaygroundClickupGetOverviewInput {
13270
+
13271
+ }
13272
+
13273
+ export interface PlaygroundClickupGetOverviewOutput {
13274
+ team: ({
13275
+ teamId: string
13276
+ teamName: string
13277
+ } | null)
13278
+ lists: PlaygroundClickupGetOverviewOutputItems[]
13279
+ tasks: {
13280
+ id: string
13281
+ name: string
13282
+ status: (string | null)
13283
+ }[]
13284
+ minted: boolean
13285
+ spaces: PlaygroundClickupGetOverviewOutputItems[]
13286
+ list_status: number
13287
+ vend_status: number
13288
+ lists_status: number
13289
+ tasks_status: number
13290
+ spaces_status: number
13291
+ folders_status: number
13292
+ installation_count: number
13293
+ }
13294
+ export interface PlaygroundClickupGetOverviewOutputItems {
13295
+ id: string
13296
+ name: string
13297
+ }
13298
+
13299
+ export interface PlaygroundGdriveGetLastChangeInput {
13300
+
13301
+ }
13302
+
13303
+ export type PlaygroundGdriveGetLastChangeOutput = ({
13304
+ file_id: string
13305
+ removed: boolean
13306
+ file_name: (string | null)
13307
+ mime_type: (string | null)
13308
+ product_id: string
13309
+ occurred_at: string
13310
+ connector_id: string
13311
+ resource_state: string
13312
+ } | {
13313
+ found: false
13314
+ })
13315
+
13316
+ export interface PlaygroundGdriveReadFileInput {
13317
+ /**
13318
+ * Drive file id; falls back to GDRIVE_TEST_FILE_ID, then the first picked file
13319
+ */
13320
+ fileId?: string
13321
+ }
13322
+
13323
+ export interface PlaygroundGdriveReadFileOutput {
13324
+ minted: boolean
13325
+ file_id: (string | null)
13326
+ file_name: (string | null)
13327
+ mime_type: (string | null)
13328
+ file_count: number
13329
+ get_status: number
13330
+ list_status: number
13331
+ vend_status: number
13332
+ content_bytes: (number | null)
13333
+ }
13334
+
13335
+ export interface PlaygroundGoogleadsReadCustomerInput {
13336
+
13337
+ }
13338
+
13339
+ export interface PlaygroundGoogleadsReadCustomerOutput {
13340
+ minted: boolean
13341
+ vended: boolean
13342
+ customer_id: (string | null)
13343
+ vend_status: number
13344
+ result_count: number
13345
+ search_status: number
13346
+ login_customer_id: (string | null)
13347
+ }
13348
+
13349
+ export interface PlaygroundLifecycleGetStateInput {
13350
+
13351
+ }
13352
+
13353
+ export interface PlaygroundLifecycleGetStateOutput {
13354
+ blocked: boolean
13355
+ archived: boolean
13356
+ productId: string
13357
+ lastBlockTransition: ({
13358
+ eventId: string
13359
+ eventName: string
13360
+ productId: string
13361
+ occurredAt: string
13362
+ recordedAt: string
13363
+ receiptCount: number
13364
+ organizationId: string
13365
+ cascadedFromOrg: boolean
13366
+ } | null)
13367
+ lastArchiveTransition: ({
13368
+ eventId: string
13369
+ eventName: string
13370
+ productId: string
13371
+ occurredAt: string
13372
+ recordedAt: string
13373
+ receiptCount: number
13374
+ organizationId: string
13375
+ cascadedFromOrg: boolean
13376
+ } | null)
13377
+ }
13378
+
13379
+ export interface PlaygroundLifecycleListEventsInput {
13380
+
13381
+ }
13382
+
13383
+ export type PlaygroundLifecycleListEventsOutput = {
13384
+ eventId: string
13385
+ eventName: string
13386
+ productId: string
13387
+ occurredAt: string
13388
+ recordedAt: string
13389
+ receiptCount: number
13390
+ organizationId: string
13391
+ cascadedFromOrg: boolean
13392
+ }[]
13393
+
13394
+ export interface PlaygroundWebhookGetLastInput {
13395
+
13396
+ }
13397
+
13398
+ export type PlaygroundWebhookGetLastOutput = ({
13399
+ payload?: unknown
13400
+ event_id: string
13401
+ provider: string
13402
+ verified: boolean
13403
+ product_id: string
13404
+ occurred_at: string
13405
+ connector_id: string
13406
+ delivery_count: number
13407
+ } | {
13408
+ found: false
13409
+ })
13410
+
13411
+ export interface RealtimeGrantCreateInput {
13412
+ /**
13413
+ * Operations granted on matching channels
13414
+ *
13415
+ * @minItems 1
13416
+ */
13417
+ ops: [("subscribe" | "publish" | "presence" | "history"), ...(("subscribe" | "publish" | "presence" | "history"))[]]
13418
+ /**
13419
+ * Channel pattern, e.g. "chat:*" ("*" matches exactly one segment)
13420
+ */
13421
+ pattern: string
13422
+ /**
13423
+ * Identity id the grant applies to, or "*" for every identity in the product
13424
+ */
13425
+ subject: string
13426
+ }
13427
+
13428
+ export interface RealtimeGrantCreateOutput {
13429
+ id: string
13430
+ ops: ("subscribe" | "publish" | "presence" | "history")[]
13431
+ pattern: string
13432
+ subject: string
13433
+ createdAt: string
13434
+ }
13435
+
13436
+ export interface RealtimeGrantListInput {
13437
+ /**
13438
+ * Filter grants by subject
13439
+ */
13440
+ subject?: string
13441
+ }
13442
+
13443
+ export interface RealtimeGrantListOutput {
13444
+ grants: {
13445
+ id: string
13446
+ ops: ("subscribe" | "publish" | "presence" | "history")[]
13447
+ pattern: string
13448
+ subject: string
13449
+ createdAt: string
13450
+ }[]
13451
+ }
13452
+
13453
+ export interface RealtimeGrantRevokeInput {
13454
+ /**
13455
+ * Grant id to revoke
13456
+ */
13457
+ id: string
13458
+ }
13459
+
13460
+ export interface RealtimeGrantRevokeOutput {
13461
+ revoked: true
13462
+ }
13463
+
13464
+ export interface RealtimeHistoryGetInput {
13465
+ /**
13466
+ * Cursor: stream epoch the offset belongs to
13467
+ */
13468
+ epoch?: string
13469
+ /**
13470
+ * Window: return the last N entries
13471
+ */
13472
+ last_n?: number
13473
+ /**
13474
+ * Cursor: resume strictly after this offset (requires epoch)
13475
+ */
13476
+ offset?: string
13477
+ /**
13478
+ * Channel to read history from
13479
+ */
13480
+ channel: string
13481
+ /**
13482
+ * Window: return entries newer than now minus this many milliseconds
13483
+ */
13484
+ last_ms?: number
13485
+ }
13486
+
13487
+ export interface RealtimeHistoryGetOutput {
13488
+ /**
13489
+ * Current stream epoch, or null when the channel has no history yet
13490
+ */
13491
+ epoch: (string | null)
13492
+ /**
13493
+ * Channel the history was read from
13494
+ */
13495
+ channel: string
13496
+ /**
13497
+ * Entries in stream order
13498
+ */
13499
+ entries: {
13500
+ /**
13501
+ * Message id from the envelope
13502
+ */
13503
+ id: string
13504
+ /**
13505
+ * Publish timestamp (ms)
13506
+ */
13507
+ ts: number
13508
+ /**
13509
+ * Message payload
13510
+ */
13511
+ data?: {
13512
+ [k: string]: unknown
13513
+ }
13514
+ /**
13515
+ * Stream offset of the entry
13516
+ */
13517
+ offset: string
13518
+ }[]
13519
+ /**
13520
+ * false when the cursor epoch mismatches or entries aged out — client must resync
13521
+ */
13522
+ recovered: boolean
13523
+ }
13524
+
13525
+ export interface RealtimeMessagesPublishInput {
13526
+ /**
13527
+ * JSON payload delivered to channel subscribers
13528
+ */
13529
+ data: {
13530
+ [k: string]: unknown
13531
+ }
13532
+ /**
13533
+ * Channel to publish the message to
13534
+ */
13535
+ channel: string
13536
+ }
13537
+
13538
+ export interface RealtimeMessagesPublishOutput {
13539
+ /**
13540
+ * Stream epoch of the stored message (present when history is on)
13541
+ */
13542
+ epoch?: string
13543
+ /**
13544
+ * Stream offset of the stored message (present when history is on)
13545
+ */
13546
+ offset?: string
13547
+ /**
13548
+ * Channel the message was published to
13549
+ */
13550
+ channel: string
13551
+ /**
13552
+ * Publish acknowledged by the fan-out backend
13553
+ */
13554
+ published: true
13555
+ }
13556
+
13557
+ export interface RealtimeNamespaceCreateInput {
13558
+ /**
13559
+ * Namespace name (the part of a channel name before the first colon)
13560
+ */
13561
+ name: string
13562
+ /**
13563
+ * History retention policy for channels in this namespace
13564
+ */
13565
+ history?: ("none" | "last-message" | "window")
13566
+ /**
13567
+ * Whether presence is enabled on channels in this namespace
13568
+ */
13569
+ presence?: boolean
13570
+ /**
13571
+ * public: any authenticated identity may subscribe without a grant
13572
+ */
13573
+ visibility?: ("public" | "authorized")
13574
+ /**
13575
+ * Whether clients may publish events directly
13576
+ */
13577
+ clientEvents?: boolean
13578
+ /**
13579
+ * Whether only identified (non-anonymous) identities get capabilities
13580
+ */
13581
+ identifiedOnly?: boolean
13582
+ /**
13583
+ * Whether payloads must be end-to-end encrypted
13584
+ */
13585
+ encryptionRequired?: boolean
13586
+ /**
13587
+ * Retention window in seconds; required when history is "window"
13588
+ */
13589
+ historyWindowSeconds?: number
13590
+ }
13591
+
13592
+ export interface RealtimeNamespaceCreateOutput {
13593
+ id: string
13594
+ name: string
13595
+ history: ("none" | "last-message" | "window")
13596
+ presence: boolean
13597
+ createdAt: string
13598
+ updatedAt: string
13599
+ visibility: ("public" | "authorized")
13600
+ clientEvents: boolean
13601
+ identifiedOnly: boolean
13602
+ encryptionRequired: boolean
13603
+ historyWindowSeconds: (number | null)
13604
+ }
13605
+
13606
+ export interface RealtimeNamespaceDeleteInput {
13607
+ /**
13608
+ * Namespace name
13609
+ */
13610
+ name: string
13611
+ }
13612
+
13613
+ export interface RealtimeNamespaceDeleteOutput {
13614
+ deleted: true
13615
+ }
13616
+
13617
+ export interface RealtimeNamespaceGetInput {
13618
+ /**
13619
+ * Namespace name
13620
+ */
13621
+ name: string
13622
+ }
13623
+
13624
+ export interface RealtimeNamespaceGetOutput {
13625
+ id: string
13626
+ name: string
13627
+ history: ("none" | "last-message" | "window")
13628
+ presence: boolean
13629
+ createdAt: string
13630
+ updatedAt: string
13631
+ visibility: ("public" | "authorized")
13632
+ clientEvents: boolean
13633
+ identifiedOnly: boolean
13634
+ encryptionRequired: boolean
13635
+ historyWindowSeconds: (number | null)
13636
+ }
13637
+
13638
+ export interface RealtimeNamespaceListInput {
13639
+
13640
+ }
13641
+
13642
+ export interface RealtimeNamespaceListOutput {
13643
+ namespaces: {
13644
+ id: string
13645
+ name: string
13646
+ history: ("none" | "last-message" | "window")
13647
+ presence: boolean
13648
+ createdAt: string
13649
+ updatedAt: string
13650
+ visibility: ("public" | "authorized")
13651
+ clientEvents: boolean
13652
+ identifiedOnly: boolean
13653
+ encryptionRequired: boolean
13654
+ historyWindowSeconds: (number | null)
13655
+ }[]
13656
+ }
13657
+
13658
+ export interface RealtimeNamespaceUpdateInput {
13659
+ /**
13660
+ * Namespace name to update
13661
+ */
13662
+ name: string
13663
+ /**
13664
+ * History retention policy for channels in this namespace
13665
+ */
13666
+ history?: ("none" | "last-message" | "window")
13667
+ /**
13668
+ * Whether presence is enabled on channels in this namespace
13669
+ */
13670
+ presence?: boolean
13671
+ /**
13672
+ * public: any authenticated identity may subscribe without a grant
13673
+ */
13674
+ visibility?: ("public" | "authorized")
13675
+ /**
13676
+ * Whether clients may publish events directly
13677
+ */
13678
+ clientEvents?: boolean
13679
+ /**
13680
+ * Whether only identified (non-anonymous) identities get capabilities
13681
+ */
13682
+ identifiedOnly?: boolean
13683
+ /**
13684
+ * Whether payloads must be end-to-end encrypted
13685
+ */
13686
+ encryptionRequired?: boolean
13687
+ /**
13688
+ * Retention window in seconds; required when history is "window"
13689
+ */
13690
+ historyWindowSeconds?: number
13691
+ }
13692
+
13693
+ export interface RealtimeNamespaceUpdateOutput {
13694
+ id: string
13695
+ name: string
13696
+ history: ("none" | "last-message" | "window")
13697
+ presence: boolean
13698
+ createdAt: string
13699
+ updatedAt: string
13700
+ visibility: ("public" | "authorized")
13701
+ clientEvents: boolean
13702
+ identifiedOnly: boolean
13703
+ encryptionRequired: boolean
13704
+ historyWindowSeconds: (number | null)
13705
+ }
13706
+
13707
+ export interface RealtimeStatusGetInput {
13708
+
13709
+ }
13710
+
13711
+ export interface RealtimeStatusGetOutput {
13712
+ /**
13713
+ * Redis fan-out connectivity
13714
+ */
13715
+ redis: ("connected" | "disconnected" | "unconfigured")
13716
+ /**
13717
+ * API liveness marker
13718
+ */
13719
+ service: "ok"
13720
+ /**
13721
+ * WebSocket URL of the realtime gateway
13722
+ */
13723
+ gatewayUrl: string
13724
+ /**
13725
+ * Whether the token signing key is present
13726
+ */
13727
+ signingKeyConfigured: boolean
13728
+ }
13729
+
13730
+ export interface RealtimeTokensCreateInput {
13731
+ /**
13732
+ * Concrete channels to filter the resolved capabilities to; omit to receive all capabilities the identity has
13733
+ *
13734
+ * @minItems 1
13735
+ * @maxItems 32
13736
+ */
13737
+ channels?: [string, ...(string)[]]
13738
+ }
13739
+
13740
+ export interface RealtimeTokensCreateOutput {
13741
+ /**
13742
+ * Signed EdDSA capability JWT (60s TTL)
13743
+ */
13744
+ token: string
13745
+ /**
13746
+ * WebSocket URL of the realtime gateway to connect to
13747
+ */
13748
+ gatewayUrl: string
13749
+ }
13750
+
13277
13751
  export interface TrackingApiKeysCreateInput {
13278
13752
  name: string
13279
13753
  }