@mestra-dev/contract 0.0.237 → 0.0.239

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 +5 -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: {
@@ -11055,6 +11019,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11055
11019
  date: string;
11056
11020
  vat: number | null;
11057
11021
  reason: string | null;
11022
+ cinvoiceId: string | null;
11058
11023
  created_at: string;
11059
11024
  updated_at: string | null;
11060
11025
  }[];
@@ -11103,6 +11068,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11103
11068
  date: string;
11104
11069
  vat: number | null;
11105
11070
  reason: string | null;
11071
+ cinvoiceId: string | null;
11106
11072
  created_at: string;
11107
11073
  updated_at: string | null;
11108
11074
  };
@@ -11169,6 +11135,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11169
11135
  date: string;
11170
11136
  vat: number | null;
11171
11137
  reason: string | null;
11138
+ cinvoiceId: string | null;
11172
11139
  created_at: string;
11173
11140
  updated_at: string | null;
11174
11141
  };
@@ -11237,6 +11204,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11237
11204
  date: string;
11238
11205
  vat: number | null;
11239
11206
  reason: string | null;
11207
+ cinvoiceId: string | null;
11240
11208
  created_at: string;
11241
11209
  updated_at: string | null;
11242
11210
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.237",
3
+ "version": "0.0.239",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,