@lessly/sdk-app 21.0.0 → 22.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 (40) 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.d.cts +1 -1
  4. package/dist/brain/index.d.ts +1 -1
  5. package/dist/{client.gen-CaEegxH4.d.cts → client.gen-Bh9hLF_d.d.cts} +1 -46
  6. package/dist/{client.gen-CaEegxH4.d.ts → client.gen-Bh9hLF_d.d.ts} +1 -46
  7. package/dist/consent/index.d.cts +1 -1
  8. package/dist/consent/index.d.ts +1 -1
  9. package/dist/deployment/index.d.cts +1 -1
  10. package/dist/deployment/index.d.ts +1 -1
  11. package/dist/index.cjs +0 -29
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.cts +1 -1
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.js +0 -29
  16. package/dist/index.js.map +1 -1
  17. package/dist/mail/index.d.cts +2 -2
  18. package/dist/mail/index.d.ts +2 -2
  19. package/dist/organization/index.d.cts +1 -1
  20. package/dist/organization/index.d.ts +1 -1
  21. package/dist/playground/index.d.cts +1 -1
  22. package/dist/playground/index.d.ts +1 -1
  23. package/dist/realtime/index.cjs +0 -15
  24. package/dist/realtime/index.cjs.map +1 -1
  25. package/dist/realtime/index.d.cts +2 -14
  26. package/dist/realtime/index.d.ts +2 -14
  27. package/dist/realtime/index.js +1 -13
  28. package/dist/realtime/index.js.map +1 -1
  29. package/dist/tracking/index.d.cts +1 -1
  30. package/dist/tracking/index.d.ts +1 -1
  31. package/dist/users/index.d.cts +1 -1
  32. package/dist/users/index.d.ts +1 -1
  33. package/dist/waitlist/index.d.cts +1 -1
  34. package/dist/waitlist/index.d.ts +1 -1
  35. package/package.json +2 -2
  36. package/src/gen/bindings.gen.ts +0 -29
  37. package/src/gen/client.gen.ts +0 -11
  38. package/src/gen/realtime/index.ts +1 -1
  39. package/src/gen/realtime/queryOptions.gen.ts +0 -19
  40. package/src/gen/types.gen.ts +0 -47
@@ -4391,35 +4391,6 @@ export const bindings: BindingsMap = {
4391
4391
  }
4392
4392
  },
4393
4393
  "realtime": {
4394
- "apikey": {
4395
- "create": {
4396
- "method": "POST",
4397
- "params": [
4398
- {
4399
- "in": "body",
4400
- "name": "name"
4401
- }
4402
- ],
4403
- "path": "/realtime/api-keys",
4404
- "readOnly": false
4405
- },
4406
- "list": {
4407
- "method": "GET",
4408
- "path": "/realtime/api-keys",
4409
- "readOnly": true
4410
- },
4411
- "revoke": {
4412
- "method": "DELETE",
4413
- "params": [
4414
- {
4415
- "in": "path",
4416
- "name": "id"
4417
- }
4418
- ],
4419
- "path": "/realtime/api-keys/:id",
4420
- "readOnly": false
4421
- }
4422
- },
4423
4394
  "archive": {
4424
4395
  "export": {
4425
4396
  "method": "POST",
@@ -568,12 +568,6 @@ import type {
568
568
  PlaygroundLifecycleListEventsOutput,
569
569
  PlaygroundWebhookGetLastInput,
570
570
  PlaygroundWebhookGetLastOutput,
571
- RealtimeApikeyCreateInput,
572
- RealtimeApikeyCreateOutput,
573
- RealtimeApikeyListInput,
574
- RealtimeApikeyListOutput,
575
- RealtimeApikeyRevokeInput,
576
- RealtimeApikeyRevokeOutput,
577
571
  RealtimeArchiveExportInput,
578
572
  RealtimeArchiveExportOutput,
579
573
  RealtimeArchiveExportStatusInput,
@@ -1324,11 +1318,6 @@ export interface GeneratedClient {
1324
1318
  };
1325
1319
  };
1326
1320
  realtime: {
1327
- apikey: {
1328
- create(input: RealtimeApikeyCreateInput): Promise<RealtimeApikeyCreateOutput>;
1329
- list(input: RealtimeApikeyListInput): Promise<RealtimeApikeyListOutput>;
1330
- revoke(input: RealtimeApikeyRevokeInput): Promise<RealtimeApikeyRevokeOutput>;
1331
- };
1332
1321
  archive: {
1333
1322
  export(input: RealtimeArchiveExportInput): Promise<RealtimeArchiveExportOutput>;
1334
1323
  get(input: RealtimeArchiveGetInput): Promise<RealtimeArchiveGetOutput>;
@@ -1,3 +1,3 @@
1
1
  // AUTOGENERATED by scripts/generate.ts — do not edit.
2
2
  export * from './queryOptions.gen';
3
- export type { RealtimeApikeyCreateInput, RealtimeApikeyCreateOutput, RealtimeApikeyListInput, RealtimeApikeyListOutput, RealtimeApikeyRevokeInput, RealtimeApikeyRevokeOutput, 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, RealtimeStatusGetInput, RealtimeStatusGetOutput, RealtimeTokensCreateInput, RealtimeTokensCreateOutput, RealtimeWebhookCreateInput, RealtimeWebhookCreateOutput, RealtimeWebhookDeleteInput, RealtimeWebhookDeleteOutput, RealtimeWebhookDeliveriesListInput, RealtimeWebhookDeliveriesListOutput, RealtimeWebhookGetInput, RealtimeWebhookGetOutput, RealtimeWebhookListInput, RealtimeWebhookListOutput, RealtimeWebhookSecretRotateInput, RealtimeWebhookSecretRotateOutput, RealtimeWebhookUpdateInput, RealtimeWebhookUpdateOutput } from '../types.gen';
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, 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,
@@ -46,21 +42,6 @@ import type {
46
42
  RealtimeWebhookUpdateInput,
47
43
  } from '../types.gen';
48
44
 
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
45
  export const realtimeArchiveExportMutationOptions = (sdk: GeneratedClient) => ({
65
46
  mutationKey: ['realtime', 'archive', 'export'],
66
47
  mutationFn: (input: RealtimeArchiveExportInput) => sdk['realtime']['archive']['export'](input),
@@ -13588,53 +13588,6 @@ delivery_count: number
13588
13588
  found: false
13589
13589
  })
13590
13590
 
13591
- export interface RealtimeApikeyCreateInput {
13592
- /**
13593
- * Human-readable label for the key, e.g. "production backend"
13594
- */
13595
- name: string
13596
- }
13597
-
13598
- export interface RealtimeApikeyCreateOutput {
13599
- /**
13600
- * The full rtk_ secret. Shown once — it cannot be retrieved again.
13601
- */
13602
- key: string
13603
- apiKey: {
13604
- id: string
13605
- name: string
13606
- prefix: string
13607
- createdAt: string
13608
- revokedAt: (string | null)
13609
- }
13610
- }
13611
-
13612
- export interface RealtimeApikeyListInput {
13613
-
13614
- }
13615
-
13616
- export interface RealtimeApikeyListOutput {
13617
- keys: {
13618
- id: string
13619
- name: string
13620
- prefix: string
13621
- createdAt: string
13622
- revokedAt: (string | null)
13623
- }[]
13624
- }
13625
-
13626
- export interface RealtimeApikeyRevokeInput {
13627
- /**
13628
- * Api key id to revoke
13629
- */
13630
- id: string
13631
- }
13632
-
13633
- export interface RealtimeApikeyRevokeOutput {
13634
- id: string
13635
- revokedAt: string
13636
- }
13637
-
13638
13591
  export interface RealtimeArchiveExportInput {
13639
13592
  /**
13640
13593
  * Only entries with ts <= to_ts (epoch ms)