@mestra-dev/contract 0.0.66 → 0.0.68
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 +12 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -6670,7 +6670,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6670
6670
|
"Payments"
|
|
6671
6671
|
];
|
|
6672
6672
|
readonly summary: "Create or retrieve YooKassa checkout";
|
|
6673
|
-
readonly description: "Workspace owner only. Starts checkout for a pending invoice and returns a redirect URL. Redirect the browser to paymentUrl.";
|
|
6673
|
+
readonly description: "Workspace owner only. Starts checkout for a pending invoice and returns a redirect URL. Redirect the browser to paymentUrl. If a previous YooKassa session expired or was canceled, this creates a new payment and returns a fresh URL. If the previous session is still valid, the same URL is returned. Already-paid invoices return 409.";
|
|
6674
6674
|
readonly security: readonly [
|
|
6675
6675
|
never
|
|
6676
6676
|
];
|
|
@@ -6734,6 +6734,16 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6734
6734
|
};
|
|
6735
6735
|
};
|
|
6736
6736
|
};
|
|
6737
|
+
readonly 409: {
|
|
6738
|
+
readonly description: "Invoice is already paid.";
|
|
6739
|
+
readonly content: {
|
|
6740
|
+
readonly "application/json": {
|
|
6741
|
+
readonly schema: {
|
|
6742
|
+
readonly $ref: "#/components/schemas/ErrorResponse";
|
|
6743
|
+
};
|
|
6744
|
+
};
|
|
6745
|
+
};
|
|
6746
|
+
};
|
|
6737
6747
|
readonly 503: {
|
|
6738
6748
|
readonly description: "YooKassa configuration is missing.";
|
|
6739
6749
|
readonly content: {
|
|
@@ -19176,7 +19186,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
19176
19186
|
error: string;
|
|
19177
19187
|
};
|
|
19178
19188
|
outputFormat: "json";
|
|
19179
|
-
status: 400 | 403 | 404 | 503;
|
|
19189
|
+
status: 400 | 403 | 404 | 409 | 502 | 503;
|
|
19180
19190
|
};
|
|
19181
19191
|
};
|
|
19182
19192
|
} & {
|