@lessly/sdk-app 36.3.0 → 37.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-C6K8y7em.d.cts → client.gen-C7SVQnZq.d.cts} +144 -57
  6. package/dist/{client.gen-C6K8y7em.d.ts → client.gen-C7SVQnZq.d.ts} +144 -57
  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 +85 -38
  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 +85 -38
  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.cjs +33 -18
  20. package/dist/organization/index.cjs.map +1 -1
  21. package/dist/organization/index.d.cts +27 -15
  22. package/dist/organization/index.d.ts +27 -15
  23. package/dist/organization/index.js +27 -15
  24. package/dist/organization/index.js.map +1 -1
  25. package/dist/realtime/index.d.cts +1 -1
  26. package/dist/realtime/index.d.ts +1 -1
  27. package/dist/support/index.d.cts +1 -1
  28. package/dist/support/index.d.ts +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 +85 -38
  37. package/src/gen/client.gen.ts +25 -12
  38. package/src/gen/organization/index.ts +1 -1
  39. package/src/gen/organization/queryOptions.gen.ts +41 -21
  40. package/src/gen/types.gen.ts +143 -56
@@ -12981,8 +12981,9 @@ details: string
12981
12981
  }
12982
12982
 
12983
12983
  export interface OrganizationFeedbackSubmitOutput {
12984
- url: string
12985
- number: number
12984
+ url: (string | null)
12985
+ number: (number | null)
12986
+ supportThreadId?: string
12986
12987
  }
12987
12988
 
12988
12989
  export interface OrganizationGdriveInstallInput {
@@ -13261,25 +13262,6 @@ display_name: string
13261
13262
  }[]
13262
13263
  }
13263
13264
 
13264
- export interface OrganizationProductAcceptInvitationInput {
13265
- token: string
13266
- }
13267
-
13268
- export interface OrganizationProductAcceptInvitationOutput {
13269
- product: {
13270
- id: string
13271
- name: string
13272
- role: string
13273
- slug: string
13274
- demoAt: (string | null)
13275
- status: string
13276
- blockedAt: (string | null)
13277
- createdAt: string
13278
- archivedAt: (string | null)
13279
- organizationId: string
13280
- }
13281
- }
13282
-
13283
13265
  export interface OrganizationProductCreateInput {
13284
13266
  name: string
13285
13267
  region?: "eu"
@@ -13293,34 +13275,14 @@ role: string
13293
13275
  slug: string
13294
13276
  demoAt: (string | null)
13295
13277
  status: string
13278
+ logoUrl: (string | null)
13296
13279
  blockedAt: (string | null)
13297
13280
  createdAt: string
13298
13281
  archivedAt: (string | null)
13282
+ description: (string | null)
13299
13283
  organizationId: string
13300
13284
  }
13301
13285
 
13302
- export interface OrganizationProductInviteInput {
13303
- role?: ("admin" | "member" | "viewer")
13304
- email: string
13305
- productId: string
13306
- }
13307
-
13308
- export type OrganizationProductInviteOutput = ({
13309
- id: string
13310
- role: string
13311
- email: (string | null)
13312
- status: string
13313
- outcome: "invited"
13314
- createdAt: string
13315
- expiresAt: string
13316
- } | {
13317
- role: string
13318
- userId: string
13319
- outcome: "added"
13320
- memberId: string
13321
- productId: string
13322
- })
13323
-
13324
13286
  export interface OrganizationProductListInput {
13325
13287
 
13326
13288
  }
@@ -13333,26 +13295,48 @@ role: string
13333
13295
  slug: string
13334
13296
  demoAt: (string | null)
13335
13297
  status: string
13298
+ logoUrl: (string | null)
13336
13299
  blockedAt: (string | null)
13337
13300
  createdAt: string
13338
13301
  archivedAt: (string | null)
13302
+ description: (string | null)
13339
13303
  organizationId: string
13340
13304
  }[]
13341
13305
  }
13342
13306
 
13343
- export interface OrganizationProductListInvitationsInput {
13307
+ export interface OrganizationProductListAccessInput {
13344
13308
  productId: string
13345
13309
  }
13346
13310
 
13347
- export interface OrganizationProductListInvitationsOutput {
13348
- invitations: {
13349
- id: string
13311
+ export interface OrganizationProductListAccessOutput {
13312
+ members: {
13350
13313
  role: string
13351
13314
  email: (string | null)
13352
- status: string
13353
- createdAt: string
13354
- expiresAt: string
13355
- invitedByDisplayName: string
13315
+ roleId: (string | null)
13316
+ userId: string
13317
+ isCustom: boolean
13318
+ roleName: (string | null)
13319
+ sourceRole: ({
13320
+ id: string
13321
+ name: string
13322
+ } | null)
13323
+ displayName: (string | null)
13324
+ }[]
13325
+ orgRoles: {
13326
+ id: string
13327
+ name: string
13328
+ }[]
13329
+ canManage: boolean
13330
+ inherited: {
13331
+ email: (string | null)
13332
+ userId: string
13333
+ orgRole: ("owner" | "admin")
13334
+ displayName: (string | null)
13335
+ }[]
13336
+ candidates: {
13337
+ email: (string | null)
13338
+ userId: string
13339
+ displayName: (string | null)
13356
13340
  }[]
13357
13341
  }
13358
13342
 
@@ -13391,13 +13375,13 @@ productId: (string | null)
13391
13375
  }[]
13392
13376
  }
13393
13377
 
13394
- export interface OrganizationProductRevokeInvitationInput {
13378
+ export interface OrganizationProductRevokeAccessInput {
13379
+ userId: string
13395
13380
  productId: string
13396
- invitationId: string
13397
13381
  }
13398
13382
 
13399
- export interface OrganizationProductRevokeInvitationOutput {
13400
- message: string
13383
+ export interface OrganizationProductRevokeAccessOutput {
13384
+ [k: string]: unknown
13401
13385
  }
13402
13386
 
13403
13387
  export interface OrganizationProductSelectInput {
@@ -13410,9 +13394,23 @@ name: string
13410
13394
  slug: string
13411
13395
  }
13412
13396
 
13397
+ export interface OrganizationProductSetAccessInput {
13398
+ role?: ("admin" | "member" | "viewer")
13399
+ roleId?: string
13400
+ userId: string
13401
+ productId: string
13402
+ }
13403
+
13404
+ export interface OrganizationProductSetAccessOutput {
13405
+ role: string
13406
+ userId: string
13407
+ productId: string
13408
+ }
13409
+
13413
13410
  export interface OrganizationProductUpdateInput {
13414
- name: string
13411
+ name?: string
13415
13412
  productId: string
13413
+ description?: (string | null)
13416
13414
  }
13417
13415
 
13418
13416
  export interface OrganizationProductUpdateOutput {
@@ -13422,9 +13420,11 @@ role: string
13422
13420
  slug: string
13423
13421
  demoAt: (string | null)
13424
13422
  status: string
13423
+ logoUrl: (string | null)
13425
13424
  blockedAt: (string | null)
13426
13425
  createdAt: string
13427
13426
  archivedAt: (string | null)
13427
+ description: (string | null)
13428
13428
  organizationId: string
13429
13429
  }
13430
13430
 
@@ -13634,6 +13634,93 @@ name: string
13634
13634
  activeProductId: (string | null)
13635
13635
  }
13636
13636
 
13637
+ export interface OrganizationSupportThreadCreateInput {
13638
+ body: string
13639
+ title: string
13640
+ }
13641
+
13642
+ export interface OrganizationSupportThreadCreateOutput {
13643
+ id: string
13644
+ title: string
13645
+ status: string
13646
+ category: ("open" | "pending" | "resolved" | "closed")
13647
+ messages: {
13648
+ id: string
13649
+ body: string
13650
+ author: {
13651
+ kind: ("user" | "agent")
13652
+ name: string
13653
+ }
13654
+ createdAt: string
13655
+ }[]
13656
+ createdAt: string
13657
+ lastMessageAt: string
13658
+ lastMessagePreview: (string | null)
13659
+ }
13660
+
13661
+ export interface OrganizationSupportThreadGetInput {
13662
+ id: string
13663
+ }
13664
+
13665
+ export interface OrganizationSupportThreadGetOutput {
13666
+ id: string
13667
+ title: string
13668
+ status: string
13669
+ category: ("open" | "pending" | "resolved" | "closed")
13670
+ messages: {
13671
+ id: string
13672
+ body: string
13673
+ author: {
13674
+ kind: ("user" | "agent")
13675
+ name: string
13676
+ }
13677
+ createdAt: string
13678
+ }[]
13679
+ createdAt: string
13680
+ lastMessageAt: string
13681
+ lastMessagePreview: (string | null)
13682
+ }
13683
+
13684
+ export interface OrganizationSupportThreadReplyInput {
13685
+ id: string
13686
+ body: string
13687
+ }
13688
+
13689
+ export interface OrganizationSupportThreadReplyOutput {
13690
+ id: string
13691
+ title: string
13692
+ status: string
13693
+ category: ("open" | "pending" | "resolved" | "closed")
13694
+ messages: {
13695
+ id: string
13696
+ body: string
13697
+ author: {
13698
+ kind: ("user" | "agent")
13699
+ name: string
13700
+ }
13701
+ createdAt: string
13702
+ }[]
13703
+ createdAt: string
13704
+ lastMessageAt: string
13705
+ lastMessagePreview: (string | null)
13706
+ }
13707
+
13708
+ export interface OrganizationSupportThreadsListInput {
13709
+
13710
+ }
13711
+
13712
+ export interface OrganizationSupportThreadsListOutput {
13713
+ threads: {
13714
+ id: string
13715
+ title: string
13716
+ status: string
13717
+ category: ("open" | "pending" | "resolved" | "closed")
13718
+ createdAt: string
13719
+ lastMessageAt: string
13720
+ lastMessagePreview: (string | null)
13721
+ }[]
13722
+ }
13723
+
13637
13724
  export interface RealtimeArchiveExportInput {
13638
13725
  /**
13639
13726
  * Only entries with ts <= to_ts (epoch ms)