@lessly/sdk-app 27.0.0 → 29.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-BxrBJi8X.d.cts → client.gen-QlwjPsPF.d.cts} +71 -173
  6. package/dist/{client.gen-BxrBJi8X.d.ts → client.gen-QlwjPsPF.d.ts} +71 -173
  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 +50 -9
  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 +50 -9
  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 +20 -5
  20. package/dist/organization/index.cjs.map +1 -1
  21. package/dist/organization/index.d.cts +18 -6
  22. package/dist/organization/index.d.ts +18 -6
  23. package/dist/organization/index.js +17 -5
  24. package/dist/organization/index.js.map +1 -1
  25. package/dist/playground/index.d.cts +1 -1
  26. package/dist/playground/index.d.ts +1 -1
  27. package/dist/realtime/index.d.cts +1 -1
  28. package/dist/realtime/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 +50 -9
  37. package/src/gen/client.gen.ts +16 -3
  38. package/src/gen/organization/index.ts +1 -1
  39. package/src/gen/organization/queryOptions.gen.ts +25 -7
  40. package/src/gen/types.gen.ts +71 -174
@@ -12524,6 +12524,39 @@ displayName: string
12524
12524
  identityType: string
12525
12525
  }
12526
12526
 
12527
+ export interface OrganizationBillingBudgetsGetInput {
12528
+
12529
+ }
12530
+
12531
+ export interface OrganizationBillingBudgetsGetOutput {
12532
+ [k: string]: unknown
12533
+ }
12534
+
12535
+ export interface OrganizationBillingBudgetsSetInput {
12536
+ ceiling_minor: number
12537
+ }
12538
+
12539
+ export interface OrganizationBillingBudgetsSetOutput {
12540
+ [k: string]: unknown
12541
+ }
12542
+
12543
+ export interface OrganizationBillingCapsClearInput {
12544
+ productId: string
12545
+ }
12546
+
12547
+ export interface OrganizationBillingCapsClearOutput {
12548
+ [k: string]: unknown
12549
+ }
12550
+
12551
+ export interface OrganizationBillingCapsSetInput {
12552
+ cap_minor: number
12553
+ productId: string
12554
+ }
12555
+
12556
+ export interface OrganizationBillingCapsSetOutput {
12557
+ [k: string]: unknown
12558
+ }
12559
+
12527
12560
  export interface OrganizationBindingsListInput {
12528
12561
  domainId: string
12529
12562
  productId: string
@@ -12807,23 +12840,6 @@ export interface OrganizationDomainsRemoveOutput {
12807
12840
  [k: string]: unknown
12808
12841
  }
12809
12842
 
12810
- export interface OrganizationExtensionsListInput {
12811
-
12812
- }
12813
-
12814
- export interface OrganizationExtensionsListOutput {
12815
- extensions: {
12816
- id: string
12817
- name: string
12818
- status: string
12819
- uiMode: ("federation" | "standalone" | "none")
12820
- version: string
12821
- manifest: {
12822
- [k: string]: unknown
12823
- }
12824
- }[]
12825
- }
12826
-
12827
12843
  export interface OrganizationExtensionsListInstalledInput {
12828
12844
  productId: string
12829
12845
  }
@@ -13148,6 +13164,7 @@ organizationId: string
13148
13164
 
13149
13165
  export interface OrganizationProductCreateInput {
13150
13166
  name: string
13167
+ region?: "eu"
13151
13168
  organizationId?: string
13152
13169
  }
13153
13170
 
@@ -15824,56 +15841,6 @@ github: UsersConfigGetOutputGoogle
15824
15841
  google: UsersConfigGetOutputGoogle
15825
15842
  }
15826
15843
  }
15827
- hosted: {
15828
- /**
15829
- * Serve the hosted sign-in, sign-up and recovery pages for this product. Default true. False answers those routes with a refusal page instead — for a product that ships its own frontend and wants no second front door.
15830
- */
15831
- enabled: boolean
15832
- /**
15833
- * Absolute https URL of a logo rendered above the form. Null renders no logo.
15834
- */
15835
- logoUrl: (string | null)
15836
- /**
15837
- * Terms link rendered in the footer. Null renders no link.
15838
- */
15839
- termsUrl: (string | null)
15840
- /**
15841
- * CSS colour of the body text.
15842
- */
15843
- textColor: string
15844
- /**
15845
- * One line under the card. Null renders no footer.
15846
- */
15847
- footerText: (string | null)
15848
- /**
15849
- * Privacy-policy link rendered in the footer. Null renders no link.
15850
- */
15851
- privacyUrl: (string | null)
15852
- /**
15853
- * CSS colour for the submit button, the links and the focus ring.
15854
- */
15855
- accentColor: string
15856
- /**
15857
- * Shown in the heading and the page title. Default "This product".
15858
- */
15859
- productName: string
15860
- /**
15861
- * CSS length for the card and its controls, e.g. "12px".
15862
- */
15863
- borderRadius: string
15864
- /**
15865
- * CSS colour of the card itself.
15866
- */
15867
- surfaceColor: string
15868
- /**
15869
- * CSS colour of secondary text and hints.
15870
- */
15871
- mutedTextColor: string
15872
- /**
15873
- * CSS colour of the page behind the card.
15874
- */
15875
- backgroundColor: string
15876
- }
15877
15844
  invite: {
15878
15845
  /**
15879
15846
  * How long an invite link stays usable, in days. Default 14.
@@ -15950,7 +15917,7 @@ successMessage: string
15950
15917
  */
15951
15918
  doubleOptIn: boolean
15952
15919
  /**
15953
- * How long a still-pending waitlist entry is kept before the sweep erases it. Default 365.
15920
+ * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
15954
15921
  */
15955
15922
  retentionDays: number
15956
15923
  /**
@@ -16168,59 +16135,6 @@ clientId?: (string | null)
16168
16135
  clientSecret?: (string | null)
16169
16136
  }
16170
16137
  }
16171
- /**
16172
- * The hosted sign-in / sign-up / recovery pages: whether they are served, and the product name, logo, colours and footer links they render with. Merged field-by-field, so setting one colour leaves the rest alone.
16173
- */
16174
- hosted?: {
16175
- /**
16176
- * Serve the hosted sign-in, sign-up and recovery pages for this product. Default true. False answers those routes with a refusal page instead — for a product that ships its own frontend and wants no second front door.
16177
- */
16178
- enabled?: boolean
16179
- /**
16180
- * Absolute https URL of a logo rendered above the form. Null renders no logo.
16181
- */
16182
- logoUrl?: (string | null)
16183
- /**
16184
- * Terms link rendered in the footer. Null renders no link.
16185
- */
16186
- termsUrl?: (string | null)
16187
- /**
16188
- * CSS colour of the body text.
16189
- */
16190
- textColor?: string
16191
- /**
16192
- * One line under the card. Null renders no footer.
16193
- */
16194
- footerText?: (string | null)
16195
- /**
16196
- * Privacy-policy link rendered in the footer. Null renders no link.
16197
- */
16198
- privacyUrl?: (string | null)
16199
- /**
16200
- * CSS colour for the submit button, the links and the focus ring.
16201
- */
16202
- accentColor?: string
16203
- /**
16204
- * Shown in the heading and the page title. Default "This product".
16205
- */
16206
- productName?: string
16207
- /**
16208
- * CSS length for the card and its controls, e.g. "12px".
16209
- */
16210
- borderRadius?: string
16211
- /**
16212
- * CSS colour of the card itself.
16213
- */
16214
- surfaceColor?: string
16215
- /**
16216
- * CSS colour of secondary text and hints.
16217
- */
16218
- mutedTextColor?: string
16219
- /**
16220
- * CSS colour of the page behind the card.
16221
- */
16222
- backgroundColor?: string
16223
- }
16224
16138
  /**
16225
16139
  * Invite lifetime and re-invite cooldown. Merged field-by-field.
16226
16140
  */
@@ -16323,7 +16237,7 @@ successMessage?: string
16323
16237
  */
16324
16238
  doubleOptIn?: boolean
16325
16239
  /**
16326
- * How long a still-pending waitlist entry is kept before the sweep erases it. Default 365.
16240
+ * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
16327
16241
  */
16328
16242
  retentionDays?: number
16329
16243
  /**
@@ -16566,56 +16480,6 @@ github: UsersConfigUpsertOutputGoogle
16566
16480
  google: UsersConfigUpsertOutputGoogle
16567
16481
  }
16568
16482
  }
16569
- hosted: {
16570
- /**
16571
- * Serve the hosted sign-in, sign-up and recovery pages for this product. Default true. False answers those routes with a refusal page instead — for a product that ships its own frontend and wants no second front door.
16572
- */
16573
- enabled: boolean
16574
- /**
16575
- * Absolute https URL of a logo rendered above the form. Null renders no logo.
16576
- */
16577
- logoUrl: (string | null)
16578
- /**
16579
- * Terms link rendered in the footer. Null renders no link.
16580
- */
16581
- termsUrl: (string | null)
16582
- /**
16583
- * CSS colour of the body text.
16584
- */
16585
- textColor: string
16586
- /**
16587
- * One line under the card. Null renders no footer.
16588
- */
16589
- footerText: (string | null)
16590
- /**
16591
- * Privacy-policy link rendered in the footer. Null renders no link.
16592
- */
16593
- privacyUrl: (string | null)
16594
- /**
16595
- * CSS colour for the submit button, the links and the focus ring.
16596
- */
16597
- accentColor: string
16598
- /**
16599
- * Shown in the heading and the page title. Default "This product".
16600
- */
16601
- productName: string
16602
- /**
16603
- * CSS length for the card and its controls, e.g. "12px".
16604
- */
16605
- borderRadius: string
16606
- /**
16607
- * CSS colour of the card itself.
16608
- */
16609
- surfaceColor: string
16610
- /**
16611
- * CSS colour of secondary text and hints.
16612
- */
16613
- mutedTextColor: string
16614
- /**
16615
- * CSS colour of the page behind the card.
16616
- */
16617
- backgroundColor: string
16618
- }
16619
16483
  invite: {
16620
16484
  /**
16621
16485
  * How long an invite link stays usable, in days. Default 14.
@@ -16692,7 +16556,7 @@ successMessage: string
16692
16556
  */
16693
16557
  doubleOptIn: boolean
16694
16558
  /**
16695
- * How long a still-pending waitlist entry is kept before the sweep erases it. Default 365.
16559
+ * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP, before the sweep erases it. Default 180: Lessly Privacy Policy §6 promises deletion 6 months from sign-up. The bound stays wide because a client Product answers to its own privacy policy, not ours.
16696
16560
  */
16697
16561
  retentionDays: number
16698
16562
  /**
@@ -16981,9 +16845,42 @@ why: string
16981
16845
  what: string
16982
16846
  }[]
16983
16847
  /**
16984
- * How long a still-PENDING waitlist entry is kept. It lives in the `waitlist` config block rather than in `retention`, because it is not a grace period on a dead row: a pending entry never expires on its own, so this window is the whole of what makes it go away and the sweep ERASES it (audit row, `users/waitlist-entry.erased`) rather than deleting it.
16848
+ * The last sweep this replica performed, or NULL when it has observed none. Null and a run with `erased: 0` are DIFFERENT STATES and must never be collapsed: one means the job is working and there was nothing due, the other means this replica has no evidence the job ran at all. The durable per-entry trail is elsewhere the append-only `waitlist.erased` audit rows.
16849
+ */
16850
+ lastSweep: ({
16851
+ /**
16852
+ * This is ONE replica’s memory of its own last pass, not the deployment’s — the same honesty as `users_ops_slo_get`. A replica that has never executed the cron reports `null` even though another one may have swept a minute ago, so treat this as a spot check.
16853
+ */
16854
+ scope: "replica"
16855
+ /**
16856
+ * How many of THIS PRODUCT’s entries that pass erased. The sweep itself runs across every tenant at once — expiry is the passage of time and it has no request tenant to scope to — but the number reported here is bucketed, because a management tool answers about the caller’s own product and never about anybody else’s. A zero next to a non-null run is a result, not a gap: the job ran and nothing was due here.
16857
+ */
16858
+ erased: number
16859
+ /**
16860
+ * Which window decided, in words that name the config field.
16861
+ */
16862
+ window: string
16863
+ /**
16864
+ * The statuses in scope. `registered` and `withdrawn` are never swept.
16865
+ */
16866
+ statuses: string[]
16867
+ /**
16868
+ * ISO time the pass finished.
16869
+ */
16870
+ finishedAt: string
16871
+ } | null)
16872
+ /**
16873
+ * How long an UNCONVERTED waitlist entry — still pending, or invited and never registered — is kept, counted from SIGN-UP. It lives in the `waitlist` config block rather than in `retention`, because it is not a grace period on a dead row: such an entry never expires on its own, so this window is the whole of what makes it go away — and the sweep ERASES it (audit row, `users/waitlist-entry.erased`) rather than deleting it.
16985
16874
  */
16986
16875
  waitlistRetentionDays: number
16876
+ /**
16877
+ * What Lessly PUBLISHED, in its Privacy Policy §6: a waitlist address that never converted is deleted 6 months from sign-up. It rides along so the window above can be read against the promise it came from, rather than as a number with no provenance.
16878
+ */
16879
+ waitlistPromisedMaxDays: number
16880
+ /**
16881
+ * True when this product configured a window WIDER than the published 180 days. Nothing refuses such a value and nothing clamps it — §6 is Lessly’s own policy and a client Product answers to its own, under which a longer window may be perfectly lawful. This flag exists INSTEAD of that ceiling: a deliberate divergence from what Lessly published must be diagnosable in one call rather than found by comparing two numbers nobody thought to compare.
16882
+ */
16883
+ waitlistWiderThanPromised: boolean
16987
16884
  }
16988
16885
 
16989
16886
  export interface UsersOpsSloGetInput {