@mestra-dev/contract 0.0.119 → 0.0.121
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/index.d.ts +15 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -992,6 +992,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
992
992
|
"hasPaid",
|
|
993
993
|
"status",
|
|
994
994
|
"planCode",
|
|
995
|
+
"subscriptionStatus",
|
|
995
996
|
"isOwner",
|
|
996
997
|
"resources"
|
|
997
998
|
];
|
|
@@ -1031,6 +1032,19 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
1031
1032
|
readonly description: "Current workspace plan code from the subscription when present (including pending unpaid), else `workspaces.plan_id` (e.g. free, economy, standard, professional, or a private enterprise code). Null only for legacy workspaces that predate billing plans.";
|
|
1032
1033
|
readonly example: "free";
|
|
1033
1034
|
};
|
|
1035
|
+
readonly subscriptionStatus: {
|
|
1036
|
+
readonly type: "string";
|
|
1037
|
+
readonly nullable: true;
|
|
1038
|
+
readonly enum: readonly [
|
|
1039
|
+
"trialing",
|
|
1040
|
+
"pending",
|
|
1041
|
+
"active",
|
|
1042
|
+
"past_due",
|
|
1043
|
+
"frozen",
|
|
1044
|
+
"canceled"
|
|
1045
|
+
];
|
|
1046
|
+
readonly description: "Current billing subscription status. Null for legacy workspaces that predate subscriptions.";
|
|
1047
|
+
};
|
|
1034
1048
|
readonly token: {
|
|
1035
1049
|
readonly type: "string";
|
|
1036
1050
|
readonly nullable: true;
|
|
@@ -15374,6 +15388,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
15374
15388
|
hasPaid: boolean;
|
|
15375
15389
|
status: string;
|
|
15376
15390
|
planCode: string | null;
|
|
15391
|
+
subscriptionStatus: string | null;
|
|
15377
15392
|
token: string | null;
|
|
15378
15393
|
isOwner: boolean;
|
|
15379
15394
|
resources: {
|