@lessly/sdk-app 9.2.0 → 11.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/dist/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-BLMudoVx.d.cts → client.gen-BfMz1akk.d.cts} +455 -2
- package/dist/{client.gen-BLMudoVx.d.ts → client.gen-BfMz1akk.d.ts} +455 -2
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +198 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +198 -0
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.d.cts +1 -1
- package/dist/playground/index.d.ts +1 -1
- package/dist/realtime/index.cjs +60 -0
- package/dist/realtime/index.cjs.map +1 -1
- package/dist/realtime/index.d.cts +50 -2
- package/dist/realtime/index.d.ts +50 -2
- package/dist/realtime/index.js +49 -1
- package/dist/realtime/index.js.map +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +198 -0
- package/src/gen/client.gen.ts +44 -0
- package/src/gen/realtime/index.ts +1 -1
- package/src/gen/realtime/queryOptions.gen.ts +77 -0
- package/src/gen/types.gen.ts +459 -1
package/src/gen/types.gen.ts
CHANGED
|
@@ -13506,7 +13506,24 @@ id: string
|
|
|
13506
13506
|
*/
|
|
13507
13507
|
ts: number
|
|
13508
13508
|
/**
|
|
13509
|
-
*
|
|
13509
|
+
* Store-and-link reference for payloads over the inline cap
|
|
13510
|
+
*/
|
|
13511
|
+
ref?: {
|
|
13512
|
+
/**
|
|
13513
|
+
* Stored body size in bytes
|
|
13514
|
+
*/
|
|
13515
|
+
size: number
|
|
13516
|
+
/**
|
|
13517
|
+
* Object key in the product-scoped bucket
|
|
13518
|
+
*/
|
|
13519
|
+
bucket_key: string
|
|
13520
|
+
/**
|
|
13521
|
+
* Stored content type
|
|
13522
|
+
*/
|
|
13523
|
+
content_type?: string
|
|
13524
|
+
}
|
|
13525
|
+
/**
|
|
13526
|
+
* Inline payload (absent when ref is present)
|
|
13510
13527
|
*/
|
|
13511
13528
|
data?: {
|
|
13512
13529
|
[k: string]: unknown
|
|
@@ -13579,6 +13596,10 @@ clientEvents?: boolean
|
|
|
13579
13596
|
* Whether only identified (non-anonymous) identities get capabilities
|
|
13580
13597
|
*/
|
|
13581
13598
|
identifiedOnly?: boolean
|
|
13599
|
+
/**
|
|
13600
|
+
* If set, token mint consults this URL per requested channel (fail-closed); null disables
|
|
13601
|
+
*/
|
|
13602
|
+
subscribeProxyUrl?: (string | null)
|
|
13582
13603
|
/**
|
|
13583
13604
|
* Whether payloads must be end-to-end encrypted
|
|
13584
13605
|
*/
|
|
@@ -13599,8 +13620,17 @@ updatedAt: string
|
|
|
13599
13620
|
visibility: ("public" | "authorized")
|
|
13600
13621
|
clientEvents: boolean
|
|
13601
13622
|
identifiedOnly: boolean
|
|
13623
|
+
subscribeProxyUrl: (string | null)
|
|
13602
13624
|
encryptionRequired: boolean
|
|
13603
13625
|
historyWindowSeconds: (number | null)
|
|
13626
|
+
/**
|
|
13627
|
+
* Full proxy signing secret — returned ONLY when subscribeProxyUrl is set/changed
|
|
13628
|
+
*/
|
|
13629
|
+
subscribeProxySecret?: string
|
|
13630
|
+
/**
|
|
13631
|
+
* Visible prefix of the proxy signing secret; null when no proxy url is set
|
|
13632
|
+
*/
|
|
13633
|
+
subscribeProxySecretPrefix: (string | null)
|
|
13604
13634
|
}
|
|
13605
13635
|
|
|
13606
13636
|
export interface RealtimeNamespaceDeleteInput {
|
|
@@ -13631,8 +13661,17 @@ updatedAt: string
|
|
|
13631
13661
|
visibility: ("public" | "authorized")
|
|
13632
13662
|
clientEvents: boolean
|
|
13633
13663
|
identifiedOnly: boolean
|
|
13664
|
+
subscribeProxyUrl: (string | null)
|
|
13634
13665
|
encryptionRequired: boolean
|
|
13635
13666
|
historyWindowSeconds: (number | null)
|
|
13667
|
+
/**
|
|
13668
|
+
* Full proxy signing secret — returned ONLY when subscribeProxyUrl is set/changed
|
|
13669
|
+
*/
|
|
13670
|
+
subscribeProxySecret?: string
|
|
13671
|
+
/**
|
|
13672
|
+
* Visible prefix of the proxy signing secret; null when no proxy url is set
|
|
13673
|
+
*/
|
|
13674
|
+
subscribeProxySecretPrefix: (string | null)
|
|
13636
13675
|
}
|
|
13637
13676
|
|
|
13638
13677
|
export interface RealtimeNamespaceListInput {
|
|
@@ -13650,8 +13689,17 @@ updatedAt: string
|
|
|
13650
13689
|
visibility: ("public" | "authorized")
|
|
13651
13690
|
clientEvents: boolean
|
|
13652
13691
|
identifiedOnly: boolean
|
|
13692
|
+
subscribeProxyUrl: (string | null)
|
|
13653
13693
|
encryptionRequired: boolean
|
|
13654
13694
|
historyWindowSeconds: (number | null)
|
|
13695
|
+
/**
|
|
13696
|
+
* Full proxy signing secret — returned ONLY when subscribeProxyUrl is set/changed
|
|
13697
|
+
*/
|
|
13698
|
+
subscribeProxySecret?: string
|
|
13699
|
+
/**
|
|
13700
|
+
* Visible prefix of the proxy signing secret; null when no proxy url is set
|
|
13701
|
+
*/
|
|
13702
|
+
subscribeProxySecretPrefix: (string | null)
|
|
13655
13703
|
}[]
|
|
13656
13704
|
}
|
|
13657
13705
|
|
|
@@ -13680,6 +13728,10 @@ clientEvents?: boolean
|
|
|
13680
13728
|
* Whether only identified (non-anonymous) identities get capabilities
|
|
13681
13729
|
*/
|
|
13682
13730
|
identifiedOnly?: boolean
|
|
13731
|
+
/**
|
|
13732
|
+
* If set, token mint consults this URL per requested channel (fail-closed); null disables
|
|
13733
|
+
*/
|
|
13734
|
+
subscribeProxyUrl?: (string | null)
|
|
13683
13735
|
/**
|
|
13684
13736
|
* Whether payloads must be end-to-end encrypted
|
|
13685
13737
|
*/
|
|
@@ -13700,8 +13752,196 @@ updatedAt: string
|
|
|
13700
13752
|
visibility: ("public" | "authorized")
|
|
13701
13753
|
clientEvents: boolean
|
|
13702
13754
|
identifiedOnly: boolean
|
|
13755
|
+
subscribeProxyUrl: (string | null)
|
|
13703
13756
|
encryptionRequired: boolean
|
|
13704
13757
|
historyWindowSeconds: (number | null)
|
|
13758
|
+
/**
|
|
13759
|
+
* Full proxy signing secret — returned ONLY when subscribeProxyUrl is set/changed
|
|
13760
|
+
*/
|
|
13761
|
+
subscribeProxySecret?: string
|
|
13762
|
+
/**
|
|
13763
|
+
* Visible prefix of the proxy signing secret; null when no proxy url is set
|
|
13764
|
+
*/
|
|
13765
|
+
subscribeProxySecretPrefix: (string | null)
|
|
13766
|
+
}
|
|
13767
|
+
|
|
13768
|
+
export interface RealtimePresenceEnterInput {
|
|
13769
|
+
/**
|
|
13770
|
+
* Arbitrary JSON metadata for the member (<=10KB serialized)
|
|
13771
|
+
*/
|
|
13772
|
+
info?: {
|
|
13773
|
+
[k: string]: unknown
|
|
13774
|
+
}
|
|
13775
|
+
/**
|
|
13776
|
+
* Channel name, "namespace:rest"
|
|
13777
|
+
*/
|
|
13778
|
+
channel: string
|
|
13779
|
+
/**
|
|
13780
|
+
* Act for a synthetic member id instead of the caller identity (backend integrations)
|
|
13781
|
+
*/
|
|
13782
|
+
member_id?: string
|
|
13783
|
+
/**
|
|
13784
|
+
* Presence entry TTL in seconds (1-3600)
|
|
13785
|
+
*/
|
|
13786
|
+
ttl_seconds?: number
|
|
13787
|
+
}
|
|
13788
|
+
|
|
13789
|
+
export interface RealtimePresenceEnterOutput {
|
|
13790
|
+
/**
|
|
13791
|
+
* The entered/updated member
|
|
13792
|
+
*/
|
|
13793
|
+
member: {
|
|
13794
|
+
/**
|
|
13795
|
+
* Last update timestamp (ms epoch)
|
|
13796
|
+
*/
|
|
13797
|
+
ts: number
|
|
13798
|
+
/**
|
|
13799
|
+
* Arbitrary JSON metadata for the member
|
|
13800
|
+
*/
|
|
13801
|
+
info?: {
|
|
13802
|
+
[k: string]: unknown
|
|
13803
|
+
}
|
|
13804
|
+
/**
|
|
13805
|
+
* Member identity
|
|
13806
|
+
*/
|
|
13807
|
+
identity: string
|
|
13808
|
+
/**
|
|
13809
|
+
* Number of live sockets for this identity
|
|
13810
|
+
*/
|
|
13811
|
+
connections: number
|
|
13812
|
+
}
|
|
13813
|
+
/**
|
|
13814
|
+
* Channel name
|
|
13815
|
+
*/
|
|
13816
|
+
channel: string
|
|
13817
|
+
}
|
|
13818
|
+
|
|
13819
|
+
export interface RealtimePresenceGetInput {
|
|
13820
|
+
/**
|
|
13821
|
+
* Channel name, "namespace:rest"
|
|
13822
|
+
*/
|
|
13823
|
+
channel: string
|
|
13824
|
+
}
|
|
13825
|
+
|
|
13826
|
+
export interface RealtimePresenceGetOutput {
|
|
13827
|
+
/**
|
|
13828
|
+
* Channel name
|
|
13829
|
+
*/
|
|
13830
|
+
channel: string
|
|
13831
|
+
/**
|
|
13832
|
+
* Current roster, deduplicated by identity
|
|
13833
|
+
*/
|
|
13834
|
+
members: {
|
|
13835
|
+
/**
|
|
13836
|
+
* Last update timestamp (ms epoch)
|
|
13837
|
+
*/
|
|
13838
|
+
ts: number
|
|
13839
|
+
/**
|
|
13840
|
+
* Arbitrary JSON metadata for the member
|
|
13841
|
+
*/
|
|
13842
|
+
info?: {
|
|
13843
|
+
[k: string]: unknown
|
|
13844
|
+
}
|
|
13845
|
+
/**
|
|
13846
|
+
* Member identity
|
|
13847
|
+
*/
|
|
13848
|
+
identity: string
|
|
13849
|
+
/**
|
|
13850
|
+
* Number of live sockets for this identity
|
|
13851
|
+
*/
|
|
13852
|
+
connections: number
|
|
13853
|
+
}[]
|
|
13854
|
+
}
|
|
13855
|
+
|
|
13856
|
+
export interface RealtimePresenceLeaveInput {
|
|
13857
|
+
/**
|
|
13858
|
+
* Channel name, "namespace:rest"
|
|
13859
|
+
*/
|
|
13860
|
+
channel: string
|
|
13861
|
+
/**
|
|
13862
|
+
* Act for a synthetic member id instead of the caller identity (backend integrations)
|
|
13863
|
+
*/
|
|
13864
|
+
member_id?: string
|
|
13865
|
+
}
|
|
13866
|
+
|
|
13867
|
+
export interface RealtimePresenceLeaveOutput {
|
|
13868
|
+
/**
|
|
13869
|
+
* Channel name
|
|
13870
|
+
*/
|
|
13871
|
+
channel: string
|
|
13872
|
+
/**
|
|
13873
|
+
* Whether the member was removed
|
|
13874
|
+
*/
|
|
13875
|
+
removed: boolean
|
|
13876
|
+
}
|
|
13877
|
+
|
|
13878
|
+
export interface RealtimePresenceStatsInput {
|
|
13879
|
+
/**
|
|
13880
|
+
* Channel name, "namespace:rest"
|
|
13881
|
+
*/
|
|
13882
|
+
channel: string
|
|
13883
|
+
}
|
|
13884
|
+
|
|
13885
|
+
export interface RealtimePresenceStatsOutput {
|
|
13886
|
+
/**
|
|
13887
|
+
* Channel name
|
|
13888
|
+
*/
|
|
13889
|
+
channel: string
|
|
13890
|
+
/**
|
|
13891
|
+
* Number of distinct identities present
|
|
13892
|
+
*/
|
|
13893
|
+
members: number
|
|
13894
|
+
}
|
|
13895
|
+
|
|
13896
|
+
export interface RealtimePresenceUpdateInput {
|
|
13897
|
+
/**
|
|
13898
|
+
* Arbitrary JSON metadata for the member (<=10KB serialized)
|
|
13899
|
+
*/
|
|
13900
|
+
info?: {
|
|
13901
|
+
[k: string]: unknown
|
|
13902
|
+
}
|
|
13903
|
+
/**
|
|
13904
|
+
* Channel name, "namespace:rest"
|
|
13905
|
+
*/
|
|
13906
|
+
channel: string
|
|
13907
|
+
/**
|
|
13908
|
+
* Act for a synthetic member id instead of the caller identity (backend integrations)
|
|
13909
|
+
*/
|
|
13910
|
+
member_id?: string
|
|
13911
|
+
/**
|
|
13912
|
+
* Presence entry TTL in seconds (1-3600)
|
|
13913
|
+
*/
|
|
13914
|
+
ttl_seconds?: number
|
|
13915
|
+
}
|
|
13916
|
+
|
|
13917
|
+
export interface RealtimePresenceUpdateOutput {
|
|
13918
|
+
/**
|
|
13919
|
+
* The entered/updated member
|
|
13920
|
+
*/
|
|
13921
|
+
member: {
|
|
13922
|
+
/**
|
|
13923
|
+
* Last update timestamp (ms epoch)
|
|
13924
|
+
*/
|
|
13925
|
+
ts: number
|
|
13926
|
+
/**
|
|
13927
|
+
* Arbitrary JSON metadata for the member
|
|
13928
|
+
*/
|
|
13929
|
+
info?: {
|
|
13930
|
+
[k: string]: unknown
|
|
13931
|
+
}
|
|
13932
|
+
/**
|
|
13933
|
+
* Member identity
|
|
13934
|
+
*/
|
|
13935
|
+
identity: string
|
|
13936
|
+
/**
|
|
13937
|
+
* Number of live sockets for this identity
|
|
13938
|
+
*/
|
|
13939
|
+
connections: number
|
|
13940
|
+
}
|
|
13941
|
+
/**
|
|
13942
|
+
* Channel name
|
|
13943
|
+
*/
|
|
13944
|
+
channel: string
|
|
13705
13945
|
}
|
|
13706
13946
|
|
|
13707
13947
|
export interface RealtimeStatusGetInput {
|
|
@@ -13748,6 +13988,224 @@ token: string
|
|
|
13748
13988
|
gatewayUrl: string
|
|
13749
13989
|
}
|
|
13750
13990
|
|
|
13991
|
+
export interface RealtimeWebhookCreateInput {
|
|
13992
|
+
/**
|
|
13993
|
+
* Endpoint that receives signed lifecycle POSTs (https in production)
|
|
13994
|
+
*/
|
|
13995
|
+
url: string
|
|
13996
|
+
/**
|
|
13997
|
+
* Lifecycle event types this webhook receives
|
|
13998
|
+
*
|
|
13999
|
+
* @minItems 1
|
|
14000
|
+
*/
|
|
14001
|
+
events: [("channel.occupied" | "channel.vacated" | "presence.member-added" | "presence.member-removed"), ...(("channel.occupied" | "channel.vacated" | "presence.member-added" | "presence.member-removed"))[]]
|
|
14002
|
+
/**
|
|
14003
|
+
* Free-form note
|
|
14004
|
+
*/
|
|
14005
|
+
description?: string
|
|
14006
|
+
}
|
|
14007
|
+
|
|
14008
|
+
export interface RealtimeWebhookCreateOutput {
|
|
14009
|
+
/**
|
|
14010
|
+
* Full signing secret — returned only once, at creation. Store it now.
|
|
14011
|
+
*/
|
|
14012
|
+
secret: string
|
|
14013
|
+
webhook: {
|
|
14014
|
+
id: string
|
|
14015
|
+
url: string
|
|
14016
|
+
active: boolean
|
|
14017
|
+
events: string[]
|
|
14018
|
+
/**
|
|
14019
|
+
* Secret metadata only — never the secret itself
|
|
14020
|
+
*/
|
|
14021
|
+
secrets: {
|
|
14022
|
+
/**
|
|
14023
|
+
* Visible secret prefix — matches the X-Realtime-Key header
|
|
14024
|
+
*/
|
|
14025
|
+
prefix: string
|
|
14026
|
+
createdAt: string
|
|
14027
|
+
/**
|
|
14028
|
+
* When this secret stops verifying; null = current signer
|
|
14029
|
+
*/
|
|
14030
|
+
expiresAt: (string | null)
|
|
14031
|
+
}[]
|
|
14032
|
+
createdAt: string
|
|
14033
|
+
updatedAt: string
|
|
14034
|
+
description: (string | null)
|
|
14035
|
+
}
|
|
14036
|
+
}
|
|
14037
|
+
|
|
14038
|
+
export interface RealtimeWebhookDeleteInput {
|
|
14039
|
+
/**
|
|
14040
|
+
* Webhook id
|
|
14041
|
+
*/
|
|
14042
|
+
webhookId: string
|
|
14043
|
+
}
|
|
14044
|
+
|
|
14045
|
+
export interface RealtimeWebhookDeleteOutput {
|
|
14046
|
+
deleted: true
|
|
14047
|
+
}
|
|
14048
|
+
|
|
14049
|
+
export interface RealtimeWebhookDeliveriesListInput {
|
|
14050
|
+
/**
|
|
14051
|
+
* Max deliveries to return (newest first)
|
|
14052
|
+
*/
|
|
14053
|
+
limit?: number
|
|
14054
|
+
/**
|
|
14055
|
+
* Webhook id
|
|
14056
|
+
*/
|
|
14057
|
+
webhookId: string
|
|
14058
|
+
}
|
|
14059
|
+
|
|
14060
|
+
export interface RealtimeWebhookDeliveriesListOutput {
|
|
14061
|
+
deliveries: {
|
|
14062
|
+
id: string
|
|
14063
|
+
status: ("pending" | "succeeded" | "failed")
|
|
14064
|
+
/**
|
|
14065
|
+
* Source lifecycle event idempotencyKey
|
|
14066
|
+
*/
|
|
14067
|
+
eventId: string
|
|
14068
|
+
attempts: number
|
|
14069
|
+
createdAt: string
|
|
14070
|
+
eventType: string
|
|
14071
|
+
lastError: (string | null)
|
|
14072
|
+
lastAttemptAt: (string | null)
|
|
14073
|
+
responseStatus: (number | null)
|
|
14074
|
+
}[]
|
|
14075
|
+
}
|
|
14076
|
+
|
|
14077
|
+
export interface RealtimeWebhookGetInput {
|
|
14078
|
+
/**
|
|
14079
|
+
* Webhook id
|
|
14080
|
+
*/
|
|
14081
|
+
webhookId: string
|
|
14082
|
+
}
|
|
14083
|
+
|
|
14084
|
+
export interface RealtimeWebhookGetOutput {
|
|
14085
|
+
id: string
|
|
14086
|
+
url: string
|
|
14087
|
+
active: boolean
|
|
14088
|
+
events: string[]
|
|
14089
|
+
/**
|
|
14090
|
+
* Secret metadata only — never the secret itself
|
|
14091
|
+
*/
|
|
14092
|
+
secrets: {
|
|
14093
|
+
/**
|
|
14094
|
+
* Visible secret prefix — matches the X-Realtime-Key header
|
|
14095
|
+
*/
|
|
14096
|
+
prefix: string
|
|
14097
|
+
createdAt: string
|
|
14098
|
+
/**
|
|
14099
|
+
* When this secret stops verifying; null = current signer
|
|
14100
|
+
*/
|
|
14101
|
+
expiresAt: (string | null)
|
|
14102
|
+
}[]
|
|
14103
|
+
createdAt: string
|
|
14104
|
+
updatedAt: string
|
|
14105
|
+
description: (string | null)
|
|
14106
|
+
}
|
|
14107
|
+
|
|
14108
|
+
export interface RealtimeWebhookListInput {
|
|
14109
|
+
|
|
14110
|
+
}
|
|
14111
|
+
|
|
14112
|
+
export interface RealtimeWebhookListOutput {
|
|
14113
|
+
webhooks: {
|
|
14114
|
+
id: string
|
|
14115
|
+
url: string
|
|
14116
|
+
active: boolean
|
|
14117
|
+
events: string[]
|
|
14118
|
+
/**
|
|
14119
|
+
* Secret metadata only — never the secret itself
|
|
14120
|
+
*/
|
|
14121
|
+
secrets: {
|
|
14122
|
+
/**
|
|
14123
|
+
* Visible secret prefix — matches the X-Realtime-Key header
|
|
14124
|
+
*/
|
|
14125
|
+
prefix: string
|
|
14126
|
+
createdAt: string
|
|
14127
|
+
/**
|
|
14128
|
+
* When this secret stops verifying; null = current signer
|
|
14129
|
+
*/
|
|
14130
|
+
expiresAt: (string | null)
|
|
14131
|
+
}[]
|
|
14132
|
+
createdAt: string
|
|
14133
|
+
updatedAt: string
|
|
14134
|
+
description: (string | null)
|
|
14135
|
+
}[]
|
|
14136
|
+
}
|
|
14137
|
+
|
|
14138
|
+
export interface RealtimeWebhookSecretRotateInput {
|
|
14139
|
+
/**
|
|
14140
|
+
* Webhook id
|
|
14141
|
+
*/
|
|
14142
|
+
webhookId: string
|
|
14143
|
+
}
|
|
14144
|
+
|
|
14145
|
+
export interface RealtimeWebhookSecretRotateOutput {
|
|
14146
|
+
/**
|
|
14147
|
+
* Visible prefix of the new secret (X-Realtime-Key)
|
|
14148
|
+
*/
|
|
14149
|
+
prefix: string
|
|
14150
|
+
/**
|
|
14151
|
+
* New full signing secret — returned only once. Store it now.
|
|
14152
|
+
*/
|
|
14153
|
+
secret: string
|
|
14154
|
+
/**
|
|
14155
|
+
* When the rotated-out secret stops verifying (grace window)
|
|
14156
|
+
*/
|
|
14157
|
+
previousExpiresAt: (string | null)
|
|
14158
|
+
}
|
|
14159
|
+
|
|
14160
|
+
export interface RealtimeWebhookUpdateInput {
|
|
14161
|
+
/**
|
|
14162
|
+
* Endpoint that receives signed lifecycle POSTs (https in production)
|
|
14163
|
+
*/
|
|
14164
|
+
url?: string
|
|
14165
|
+
/**
|
|
14166
|
+
* Inactive webhooks receive no deliveries
|
|
14167
|
+
*/
|
|
14168
|
+
active?: boolean
|
|
14169
|
+
/**
|
|
14170
|
+
* Lifecycle event types this webhook receives
|
|
14171
|
+
*
|
|
14172
|
+
* @minItems 1
|
|
14173
|
+
*/
|
|
14174
|
+
events?: [("channel.occupied" | "channel.vacated" | "presence.member-added" | "presence.member-removed"), ...(("channel.occupied" | "channel.vacated" | "presence.member-added" | "presence.member-removed"))[]]
|
|
14175
|
+
/**
|
|
14176
|
+
* Webhook id to update
|
|
14177
|
+
*/
|
|
14178
|
+
webhookId: string
|
|
14179
|
+
/**
|
|
14180
|
+
* Free-form note
|
|
14181
|
+
*/
|
|
14182
|
+
description?: (string | null)
|
|
14183
|
+
}
|
|
14184
|
+
|
|
14185
|
+
export interface RealtimeWebhookUpdateOutput {
|
|
14186
|
+
id: string
|
|
14187
|
+
url: string
|
|
14188
|
+
active: boolean
|
|
14189
|
+
events: string[]
|
|
14190
|
+
/**
|
|
14191
|
+
* Secret metadata only — never the secret itself
|
|
14192
|
+
*/
|
|
14193
|
+
secrets: {
|
|
14194
|
+
/**
|
|
14195
|
+
* Visible secret prefix — matches the X-Realtime-Key header
|
|
14196
|
+
*/
|
|
14197
|
+
prefix: string
|
|
14198
|
+
createdAt: string
|
|
14199
|
+
/**
|
|
14200
|
+
* When this secret stops verifying; null = current signer
|
|
14201
|
+
*/
|
|
14202
|
+
expiresAt: (string | null)
|
|
14203
|
+
}[]
|
|
14204
|
+
createdAt: string
|
|
14205
|
+
updatedAt: string
|
|
14206
|
+
description: (string | null)
|
|
14207
|
+
}
|
|
14208
|
+
|
|
13751
14209
|
export interface TrackingApiKeysCreateInput {
|
|
13752
14210
|
name: string
|
|
13753
14211
|
}
|