@mestra-dev/contract 0.0.121 → 0.0.123

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 (2) hide show
  1. package/dist/index.d.ts +48 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -993,6 +993,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
993
993
  "status",
994
994
  "planCode",
995
995
  "subscriptionStatus",
996
+ "trialEndsAt",
996
997
  "isOwner",
997
998
  "resources"
998
999
  ];
@@ -1045,6 +1046,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
1045
1046
  ];
1046
1047
  readonly description: "Current billing subscription status. Null for legacy workspaces that predate subscriptions.";
1047
1048
  };
1049
+ readonly trialEndsAt: {
1050
+ readonly type: "string";
1051
+ readonly format: "date-time";
1052
+ readonly nullable: true;
1053
+ readonly description: "Free-trial expiration time. Null for non-trial and legacy workspaces.";
1054
+ };
1048
1055
  readonly token: {
1049
1056
  readonly type: "string";
1050
1057
  readonly nullable: true;
@@ -3386,6 +3393,17 @@ declare const routes: import("hono/hono-base").HonoBase<{
3386
3393
  readonly housingType: {
3387
3394
  readonly type: "string";
3388
3395
  readonly nullable: true;
3396
+ readonly description: "Housing type preference.";
3397
+ };
3398
+ readonly housingTypeNew: {
3399
+ readonly type: "boolean";
3400
+ readonly nullable: true;
3401
+ readonly description: "Whether the customer is interested in newly built housing.";
3402
+ };
3403
+ readonly housingTypeResale: {
3404
+ readonly type: "boolean";
3405
+ readonly nullable: true;
3406
+ readonly description: "Whether the customer is interested in resale housing.";
3389
3407
  };
3390
3408
  readonly commercialType: {
3391
3409
  readonly type: "string";
@@ -6430,7 +6448,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6430
6448
  "Workspace"
6431
6449
  ];
6432
6450
  readonly summary: "List workspaces for the authenticated user";
6433
- readonly description: "Returns workspaces the user collaborates on, each with category, plan code, role, billing flags, invitation state, workspace profile picture URL, and the resource grants effective for the caller. Also returns `unpaidLimit` (5): the maximum pending unpaid Economy/Standard/Professional invoices an owner may hold before create is blocked.";
6451
+ readonly description: "Returns workspaces the user collaborates on, each with category, plan code, subscription status, trial end date when applicable, role, billing flags, invitation state, workspace profile picture URL, and the resource grants effective for the caller. Also returns `unpaidLimit` (5): the maximum pending unpaid Economy/Standard/Professional invoices an owner may hold before create is blocked.";
6434
6452
  readonly security: readonly [
6435
6453
  never
6436
6454
  ];
@@ -9466,6 +9484,15 @@ declare const routes: import("hono/hono-base").HonoBase<{
9466
9484
  };
9467
9485
  readonly housingType: {
9468
9486
  readonly type: "string";
9487
+ readonly description: "Housing type preference.";
9488
+ };
9489
+ readonly housingTypeNew: {
9490
+ readonly type: "boolean";
9491
+ readonly description: "Whether the customer is interested in newly built housing.";
9492
+ };
9493
+ readonly housingTypeResale: {
9494
+ readonly type: "boolean";
9495
+ readonly description: "Whether the customer is interested in resale housing.";
9469
9496
  };
9470
9497
  readonly commercialType: {
9471
9498
  readonly type: "string";
@@ -9689,6 +9716,15 @@ declare const routes: import("hono/hono-base").HonoBase<{
9689
9716
  };
9690
9717
  readonly housingType: {
9691
9718
  readonly type: "string";
9719
+ readonly description: "Housing type preference.";
9720
+ };
9721
+ readonly housingTypeNew: {
9722
+ readonly type: "boolean";
9723
+ readonly description: "Whether the customer is interested in newly built housing.";
9724
+ };
9725
+ readonly housingTypeResale: {
9726
+ readonly type: "boolean";
9727
+ readonly description: "Whether the customer is interested in resale housing.";
9692
9728
  };
9693
9729
  readonly commercialType: {
9694
9730
  readonly type: "string";
@@ -15389,6 +15425,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
15389
15425
  status: string;
15390
15426
  planCode: string | null;
15391
15427
  subscriptionStatus: string | null;
15428
+ trialEndsAt: string | null;
15392
15429
  token: string | null;
15393
15430
  isOwner: boolean;
15394
15431
  resources: {
@@ -16162,6 +16199,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
16162
16199
  preferredDistricts: string[] | null;
16163
16200
  propertyType: string | null;
16164
16201
  housingType: string | null;
16202
+ housingTypeNew: boolean | null;
16203
+ housingTypeResale: boolean | null;
16165
16204
  commercialType: string | null;
16166
16205
  landType: string | null;
16167
16206
  maxMetroDistance: number | null;
@@ -16808,6 +16847,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
16808
16847
  preferredDistricts: string[] | null;
16809
16848
  propertyType: string | null;
16810
16849
  housingType: string | null;
16850
+ housingTypeNew: boolean | null;
16851
+ housingTypeResale: boolean | null;
16811
16852
  commercialType: string | null;
16812
16853
  landType: string | null;
16813
16854
  maxMetroDistance: number | null;
@@ -16883,6 +16924,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
16883
16924
  preferredDistricts: string[] | null;
16884
16925
  propertyType: string | null;
16885
16926
  housingType: string | null;
16927
+ housingTypeNew: boolean | null;
16928
+ housingTypeResale: boolean | null;
16886
16929
  commercialType: string | null;
16887
16930
  landType: string | null;
16888
16931
  maxMetroDistance: number | null;
@@ -16974,6 +17017,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
16974
17017
  preferredDistricts: string[] | null;
16975
17018
  propertyType: string | null;
16976
17019
  housingType: string | null;
17020
+ housingTypeNew: boolean | null;
17021
+ housingTypeResale: boolean | null;
16977
17022
  commercialType: string | null;
16978
17023
  landType: string | null;
16979
17024
  maxMetroDistance: number | null;
@@ -17084,6 +17129,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
17084
17129
  preferredDistricts: string[] | null;
17085
17130
  propertyType: string | null;
17086
17131
  housingType: string | null;
17132
+ housingTypeNew: boolean | null;
17133
+ housingTypeResale: boolean | null;
17087
17134
  commercialType: string | null;
17088
17135
  landType: string | null;
17089
17136
  maxMetroDistance: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.121",
3
+ "version": "0.0.123",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,