@lessly/sdk-app 24.0.0 → 25.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-MqVL6l3Y.d.cts → client.gen-DpY3PlYJ.d.cts} +12 -46
- package/dist/{client.gen-MqVL6l3Y.d.ts → client.gen-DpY3PlYJ.d.ts} +12 -46
- 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 +7 -29
- 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 +7 -29
- 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/realtime/index.cjs +5 -15
- package/dist/realtime/index.cjs.map +1 -1
- package/dist/realtime/index.d.cts +6 -14
- package/dist/realtime/index.d.ts +6 -14
- package/dist/realtime/index.js +5 -13
- 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/users/index.d.cts +1 -1
- package/dist/users/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 +7 -29
- package/src/gen/client.gen.ts +5 -11
- package/src/gen/realtime/index.ts +1 -1
- package/src/gen/realtime/queryOptions.gen.ts +7 -19
- package/src/gen/types.gen.ts +11 -47
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -4379,35 +4379,6 @@ export const bindings: BindingsMap = {
|
|
|
4379
4379
|
}
|
|
4380
4380
|
},
|
|
4381
4381
|
"realtime": {
|
|
4382
|
-
"apikey": {
|
|
4383
|
-
"create": {
|
|
4384
|
-
"method": "POST",
|
|
4385
|
-
"params": [
|
|
4386
|
-
{
|
|
4387
|
-
"in": "body",
|
|
4388
|
-
"name": "name"
|
|
4389
|
-
}
|
|
4390
|
-
],
|
|
4391
|
-
"path": "/realtime/api-keys",
|
|
4392
|
-
"readOnly": false
|
|
4393
|
-
},
|
|
4394
|
-
"list": {
|
|
4395
|
-
"method": "GET",
|
|
4396
|
-
"path": "/realtime/api-keys",
|
|
4397
|
-
"readOnly": true
|
|
4398
|
-
},
|
|
4399
|
-
"revoke": {
|
|
4400
|
-
"method": "DELETE",
|
|
4401
|
-
"params": [
|
|
4402
|
-
{
|
|
4403
|
-
"in": "path",
|
|
4404
|
-
"name": "id"
|
|
4405
|
-
}
|
|
4406
|
-
],
|
|
4407
|
-
"path": "/realtime/api-keys/:id",
|
|
4408
|
-
"readOnly": false
|
|
4409
|
-
}
|
|
4410
|
-
},
|
|
4411
4382
|
"archive": {
|
|
4412
4383
|
"export": {
|
|
4413
4384
|
"method": "POST",
|
|
@@ -4758,6 +4729,13 @@ export const bindings: BindingsMap = {
|
|
|
4758
4729
|
"readOnly": false
|
|
4759
4730
|
}
|
|
4760
4731
|
},
|
|
4732
|
+
"public-access": {
|
|
4733
|
+
"status": {
|
|
4734
|
+
"method": "GET",
|
|
4735
|
+
"path": "/realtime/public-access/status",
|
|
4736
|
+
"readOnly": true
|
|
4737
|
+
}
|
|
4738
|
+
},
|
|
4761
4739
|
"status": {
|
|
4762
4740
|
"get": {
|
|
4763
4741
|
"method": "GET",
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -556,12 +556,6 @@ import type {
|
|
|
556
556
|
OrganizationSecurityMfaEnableOutput,
|
|
557
557
|
OrganizationSelectInput,
|
|
558
558
|
OrganizationSelectOutput,
|
|
559
|
-
RealtimeApikeyCreateInput,
|
|
560
|
-
RealtimeApikeyCreateOutput,
|
|
561
|
-
RealtimeApikeyListInput,
|
|
562
|
-
RealtimeApikeyListOutput,
|
|
563
|
-
RealtimeApikeyRevokeInput,
|
|
564
|
-
RealtimeApikeyRevokeOutput,
|
|
565
559
|
RealtimeArchiveExportInput,
|
|
566
560
|
RealtimeArchiveExportOutput,
|
|
567
561
|
RealtimeArchiveExportStatusInput,
|
|
@@ -598,6 +592,8 @@ import type {
|
|
|
598
592
|
RealtimePresenceStatsOutput,
|
|
599
593
|
RealtimePresenceUpdateInput,
|
|
600
594
|
RealtimePresenceUpdateOutput,
|
|
595
|
+
RealtimePublicAccessStatusInput,
|
|
596
|
+
RealtimePublicAccessStatusOutput,
|
|
601
597
|
RealtimeStatusGetInput,
|
|
602
598
|
RealtimeStatusGetOutput,
|
|
603
599
|
RealtimeTokensCreateInput,
|
|
@@ -1290,11 +1286,6 @@ export interface GeneratedClient {
|
|
|
1290
1286
|
};
|
|
1291
1287
|
};
|
|
1292
1288
|
realtime: {
|
|
1293
|
-
apikey: {
|
|
1294
|
-
create(input: RealtimeApikeyCreateInput): Promise<RealtimeApikeyCreateOutput>;
|
|
1295
|
-
list(input: RealtimeApikeyListInput): Promise<RealtimeApikeyListOutput>;
|
|
1296
|
-
revoke(input: RealtimeApikeyRevokeInput): Promise<RealtimeApikeyRevokeOutput>;
|
|
1297
|
-
};
|
|
1298
1289
|
archive: {
|
|
1299
1290
|
export(input: RealtimeArchiveExportInput): Promise<RealtimeArchiveExportOutput>;
|
|
1300
1291
|
get(input: RealtimeArchiveGetInput): Promise<RealtimeArchiveGetOutput>;
|
|
@@ -1327,6 +1318,9 @@ export interface GeneratedClient {
|
|
|
1327
1318
|
stats(input: RealtimePresenceStatsInput): Promise<RealtimePresenceStatsOutput>;
|
|
1328
1319
|
update(input: RealtimePresenceUpdateInput): Promise<RealtimePresenceUpdateOutput>;
|
|
1329
1320
|
};
|
|
1321
|
+
'public-access': {
|
|
1322
|
+
status(input: RealtimePublicAccessStatusInput): Promise<RealtimePublicAccessStatusOutput>;
|
|
1323
|
+
};
|
|
1330
1324
|
status: {
|
|
1331
1325
|
get(input: RealtimeStatusGetInput): Promise<RealtimeStatusGetOutput>;
|
|
1332
1326
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type {
|
|
3
|
+
export type { RealtimeArchiveExportInput, RealtimeArchiveExportOutput, RealtimeArchiveExportStatusInput, RealtimeArchiveExportStatusOutput, RealtimeArchiveGetInput, RealtimeArchiveGetOutput, RealtimeGrantCreateInput, RealtimeGrantCreateOutput, RealtimeGrantListInput, RealtimeGrantListOutput, RealtimeGrantRevokeInput, RealtimeGrantRevokeOutput, RealtimeHistoryGetInput, RealtimeHistoryGetOutput, RealtimeMessagesPublishInput, RealtimeMessagesPublishOutput, RealtimeNamespaceCreateInput, RealtimeNamespaceCreateOutput, RealtimeNamespaceDeleteInput, RealtimeNamespaceDeleteOutput, RealtimeNamespaceGetInput, RealtimeNamespaceGetOutput, RealtimeNamespaceListInput, RealtimeNamespaceListOutput, RealtimeNamespaceUpdateInput, RealtimeNamespaceUpdateOutput, RealtimePresenceEnterInput, RealtimePresenceEnterOutput, RealtimePresenceGetInput, RealtimePresenceGetOutput, RealtimePresenceLeaveInput, RealtimePresenceLeaveOutput, RealtimePresenceStatsInput, RealtimePresenceStatsOutput, RealtimePresenceUpdateInput, RealtimePresenceUpdateOutput, RealtimePublicAccessStatusInput, RealtimePublicAccessStatusOutput, RealtimeStatusGetInput, RealtimeStatusGetOutput, RealtimeTokensCreateInput, RealtimeTokensCreateOutput, RealtimeWebhookCreateInput, RealtimeWebhookCreateOutput, RealtimeWebhookDeleteInput, RealtimeWebhookDeleteOutput, RealtimeWebhookDeliveriesListInput, RealtimeWebhookDeliveriesListOutput, RealtimeWebhookGetInput, RealtimeWebhookGetOutput, RealtimeWebhookListInput, RealtimeWebhookListOutput, RealtimeWebhookSecretRotateInput, RealtimeWebhookSecretRotateOutput, RealtimeWebhookUpdateInput, RealtimeWebhookUpdateOutput } from '../types.gen';
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type { GeneratedClient } from '../client.gen';
|
|
3
3
|
import type {
|
|
4
|
-
RealtimeApikeyCreateInput,
|
|
5
|
-
RealtimeApikeyListInput,
|
|
6
|
-
RealtimeApikeyListOutput,
|
|
7
|
-
RealtimeApikeyRevokeInput,
|
|
8
4
|
RealtimeArchiveExportInput,
|
|
9
5
|
RealtimeArchiveExportStatusInput,
|
|
10
6
|
RealtimeArchiveExportStatusOutput,
|
|
@@ -31,6 +27,8 @@ import type {
|
|
|
31
27
|
RealtimePresenceStatsInput,
|
|
32
28
|
RealtimePresenceStatsOutput,
|
|
33
29
|
RealtimePresenceUpdateInput,
|
|
30
|
+
RealtimePublicAccessStatusInput,
|
|
31
|
+
RealtimePublicAccessStatusOutput,
|
|
34
32
|
RealtimeStatusGetInput,
|
|
35
33
|
RealtimeStatusGetOutput,
|
|
36
34
|
RealtimeTokensCreateInput,
|
|
@@ -46,21 +44,6 @@ import type {
|
|
|
46
44
|
RealtimeWebhookUpdateInput,
|
|
47
45
|
} from '../types.gen';
|
|
48
46
|
|
|
49
|
-
export const realtimeApikeyCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
50
|
-
mutationKey: ['realtime', 'apikey', 'create'],
|
|
51
|
-
mutationFn: (input: RealtimeApikeyCreateInput) => sdk['realtime']['apikey']['create'](input),
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
export const realtimeApikeyListQueryOptions = (sdk: GeneratedClient, input: RealtimeApikeyListInput) => ({
|
|
55
|
-
queryKey: ['realtime', 'apikey', 'list', input] as const,
|
|
56
|
-
queryFn: () => sdk['realtime']['apikey']['list'](input),
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
export const realtimeApikeyRevokeMutationOptions = (sdk: GeneratedClient) => ({
|
|
60
|
-
mutationKey: ['realtime', 'apikey', 'revoke'],
|
|
61
|
-
mutationFn: (input: RealtimeApikeyRevokeInput) => sdk['realtime']['apikey']['revoke'](input),
|
|
62
|
-
});
|
|
63
|
-
|
|
64
47
|
export const realtimeArchiveExportMutationOptions = (sdk: GeneratedClient) => ({
|
|
65
48
|
mutationKey: ['realtime', 'archive', 'export'],
|
|
66
49
|
mutationFn: (input: RealtimeArchiveExportInput) => sdk['realtime']['archive']['export'](input),
|
|
@@ -151,6 +134,11 @@ export const realtimePresenceUpdateMutationOptions = (sdk: GeneratedClient) => (
|
|
|
151
134
|
mutationFn: (input: RealtimePresenceUpdateInput) => sdk['realtime']['presence']['update'](input),
|
|
152
135
|
});
|
|
153
136
|
|
|
137
|
+
export const realtimePublicAccessStatusQueryOptions = (sdk: GeneratedClient, input: RealtimePublicAccessStatusInput) => ({
|
|
138
|
+
queryKey: ['realtime', 'public-access', 'status', input] as const,
|
|
139
|
+
queryFn: () => sdk['realtime']['public-access']['status'](input),
|
|
140
|
+
});
|
|
141
|
+
|
|
154
142
|
export const realtimeStatusGetQueryOptions = (sdk: GeneratedClient, input: RealtimeStatusGetInput) => ({
|
|
155
143
|
queryKey: ['realtime', 'status', 'get', input] as const,
|
|
156
144
|
queryFn: () => sdk['realtime']['status']['get'](input),
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -13566,53 +13566,6 @@ name: string
|
|
|
13566
13566
|
activeProductId: (string | null)
|
|
13567
13567
|
}
|
|
13568
13568
|
|
|
13569
|
-
export interface RealtimeApikeyCreateInput {
|
|
13570
|
-
/**
|
|
13571
|
-
* Human-readable label for the key, e.g. "production backend"
|
|
13572
|
-
*/
|
|
13573
|
-
name: string
|
|
13574
|
-
}
|
|
13575
|
-
|
|
13576
|
-
export interface RealtimeApikeyCreateOutput {
|
|
13577
|
-
/**
|
|
13578
|
-
* The full rtk_ secret. Shown once — it cannot be retrieved again.
|
|
13579
|
-
*/
|
|
13580
|
-
key: string
|
|
13581
|
-
apiKey: {
|
|
13582
|
-
id: string
|
|
13583
|
-
name: string
|
|
13584
|
-
prefix: string
|
|
13585
|
-
createdAt: string
|
|
13586
|
-
revokedAt: (string | null)
|
|
13587
|
-
}
|
|
13588
|
-
}
|
|
13589
|
-
|
|
13590
|
-
export interface RealtimeApikeyListInput {
|
|
13591
|
-
|
|
13592
|
-
}
|
|
13593
|
-
|
|
13594
|
-
export interface RealtimeApikeyListOutput {
|
|
13595
|
-
keys: {
|
|
13596
|
-
id: string
|
|
13597
|
-
name: string
|
|
13598
|
-
prefix: string
|
|
13599
|
-
createdAt: string
|
|
13600
|
-
revokedAt: (string | null)
|
|
13601
|
-
}[]
|
|
13602
|
-
}
|
|
13603
|
-
|
|
13604
|
-
export interface RealtimeApikeyRevokeInput {
|
|
13605
|
-
/**
|
|
13606
|
-
* Api key id to revoke
|
|
13607
|
-
*/
|
|
13608
|
-
id: string
|
|
13609
|
-
}
|
|
13610
|
-
|
|
13611
|
-
export interface RealtimeApikeyRevokeOutput {
|
|
13612
|
-
id: string
|
|
13613
|
-
revokedAt: string
|
|
13614
|
-
}
|
|
13615
|
-
|
|
13616
13569
|
export interface RealtimeArchiveExportInput {
|
|
13617
13570
|
/**
|
|
13618
13571
|
* Only entries with ts <= to_ts (epoch ms)
|
|
@@ -14261,6 +14214,17 @@ connections: number
|
|
|
14261
14214
|
channel: string
|
|
14262
14215
|
}
|
|
14263
14216
|
|
|
14217
|
+
export interface RealtimePublicAccessStatusInput {
|
|
14218
|
+
|
|
14219
|
+
}
|
|
14220
|
+
|
|
14221
|
+
export interface RealtimePublicAccessStatusOutput {
|
|
14222
|
+
/**
|
|
14223
|
+
* Whether this product has created a public key yet (an onboarding hint, not a gate)
|
|
14224
|
+
*/
|
|
14225
|
+
exists: boolean
|
|
14226
|
+
}
|
|
14227
|
+
|
|
14264
14228
|
export interface RealtimeStatusGetInput {
|
|
14265
14229
|
|
|
14266
14230
|
}
|