@mestra-dev/contract 0.0.156 → 0.0.158

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 +3 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4240,7 +4240,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
4240
4240
  readonly BillingCycles: {
4241
4241
  readonly type: "integer";
4242
4242
  readonly minimum: 1;
4243
- readonly description: "Number of prepaid billing units (integer \u2265 1). Interval-specific caps are enforced by billing: monthly 1\u201311 months, yearly 1\u20132 years.";
4243
+ readonly description: "Number of prepaid billing units (integer \u2265 1). Interval-specific caps are enforced by billing: monthly 1\u201311 months; yearly exactly 1 year.";
4244
4244
  };
4245
4245
  readonly WorkspacePlan: {
4246
4246
  readonly type: "object";
@@ -8148,7 +8148,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8148
8148
  "Payments"
8149
8149
  ];
8150
8150
  readonly summary: "Create or retrieve YooKassa checkout";
8151
- readonly description: "Workspace owner only. Starts a two-stage YooKassa checkout for a pending invoice and returns a redirect URL. Redirect the browser to paymentUrl. The backend captures an authorized payment only after YooKassa confirms it. A live checkout must expire or complete before the invoice can change.";
8151
+ readonly description: "Workspace owner only. Starts a YooKassa Smart Payment checkout for a pending invoice and returns a redirect URL. Redirect the browser to paymentUrl, where the customer selects an available payment method, including SBP when enabled for the YooKassa shop. A live checkout must expire or complete before the invoice can change.";
8152
8152
  readonly security: readonly [
8153
8153
  never
8154
8154
  ];
@@ -8510,7 +8510,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8510
8510
  "Payments"
8511
8511
  ];
8512
8512
  readonly summary: "Receive YooKassa payment event";
8513
- readonly description: "Server-to-server endpoint for YooKassa only. The core verifies the payment, captures an authorized two-stage payment, and only then marks the invoice paid. Frontends must not call this endpoint.";
8513
+ readonly description: "Server-to-server endpoint for YooKassa only. The core verifies a completed payment and only then marks the invoice paid. Frontends must not call this endpoint.";
8514
8514
  readonly requestBody: {
8515
8515
  readonly required: true;
8516
8516
  readonly content: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.156",
3
+ "version": "0.0.158",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,