@mestra-dev/contract 0.0.219 → 0.0.220

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 +20 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -9992,7 +9992,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
9992
9992
  "Payments"
9993
9993
  ];
9994
9994
  readonly summary: "Apply a coupon to a pending invoice";
9995
- readonly description: "Workspace owner only. Applies a fixed or percentage coupon. If the invoice has a live YooKassa checkout, it is replaced with a discounted invoice and this response includes a new checkout link. Coupon attempts are rate limited; invalid codes intentionally return the same response.";
9995
+ readonly description: "Workspace owner only. Applies a fixed or percentage coupon. A coupon issued for a paid Professional workspace applies only to that owner, the Professional plan, and the exact seat count and subscription term of the original purchase. If the invoice has a live YooKassa checkout, it is replaced with a discounted invoice and this response includes a new checkout link. Coupon attempts are rate limited; invalid codes intentionally return the same response.";
9996
9996
  readonly security: readonly [
9997
9997
  never
9998
9998
  ];
@@ -22491,6 +22491,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
22491
22491
  expiresAt: string | null;
22492
22492
  maxRedemptions: number | null;
22493
22493
  redemptionCount: number;
22494
+ planId: string | null;
22495
+ seats: number | null;
22496
+ interval: string | null;
22497
+ billingCycles: number | null;
22498
+ restrictedToUserId: string | null;
22494
22499
  createdAt: string;
22495
22500
  }[];
22496
22501
  };
@@ -22518,6 +22523,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
22518
22523
  created_at: string;
22519
22524
  active: boolean;
22520
22525
  code: string;
22526
+ seats: number | null;
22527
+ planId: string | null;
22528
+ interval: string | null;
22529
+ billingCycles: number | null;
22521
22530
  updated_at: string | null;
22522
22531
  deleted_at: string | null;
22523
22532
  verified_at: string | null;
@@ -22528,6 +22537,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
22528
22537
  maxRedemptions: number | null;
22529
22538
  redemptionCount: number;
22530
22539
  createdBy: string;
22540
+ restrictedToUserId: string | null;
22541
+ sourceInvoiceId: string | null;
22542
+ notifiedAt: string | null;
22531
22543
  };
22532
22544
  };
22533
22545
  outputFormat: "json";
@@ -22580,6 +22592,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
22580
22592
  maxRedemptions: number | null;
22581
22593
  redemptionCount: number;
22582
22594
  createdBy: string;
22595
+ planId: string | null;
22596
+ seats: number | null;
22597
+ interval: string | null;
22598
+ billingCycles: number | null;
22599
+ restrictedToUserId: string | null;
22600
+ sourceInvoiceId: string | null;
22601
+ notifiedAt: string | null;
22583
22602
  };
22584
22603
  };
22585
22604
  outputFormat: "json";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.219",
3
+ "version": "0.0.220",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,