@mestra-dev/contract 0.0.236 → 0.0.238

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 +1 -37
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3845,43 +3845,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
3845
3845
  error: string;
3846
3846
  };
3847
3847
  outputFormat: "json";
3848
- status: 404;
3849
- } | {
3850
- input: {
3851
- json: {
3852
- cinvoiceId: string;
3853
- workspace: string;
3854
- invoiceId?: string | undefined;
3855
- serviceId?: string | undefined;
3856
- SellerFinanceAccountId?: string | undefined;
3857
- customerId?: string | undefined;
3858
- date?: unknown;
3859
- language?: "ru" | "en" | undefined;
3860
- currency?: "USD" | "EUR" | "RUB" | undefined;
3861
- vatOption?: "vat_included" | "vat_excluded" | undefined;
3862
- vatRate?: number | undefined;
3863
- buyerInn?: string | undefined;
3864
- buyerKpp?: string | undefined;
3865
- unitName?: string | undefined;
3866
- unitPrice?: number | undefined;
3867
- unitQuantity?: number | undefined;
3868
- notes?: string | undefined;
3869
- status?: "pending" | "canceled" | "paid" | "refunded" | undefined;
3870
- discount?: number | undefined;
3871
- fullPayment?: boolean | undefined;
3872
- installment?: boolean | undefined;
3873
- subscription?: boolean | undefined;
3874
- subscriptionStartDate?: unknown;
3875
- subscriptionEndDate?: unknown;
3876
- paymentMethod?: string | undefined;
3877
- };
3878
- };
3879
- output: {
3880
- success: false;
3881
- error: string;
3882
- };
3883
- outputFormat: "json";
3884
- status: 400;
3848
+ status: 400 | 404;
3885
3849
  } | {
3886
3850
  input: {
3887
3851
  json: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.236",
3
+ "version": "0.0.238",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,