@mestra-dev/contract 0.0.160 → 0.0.161
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 +81 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4150,6 +4150,28 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4150
4150
|
readonly nullable: true;
|
|
4151
4151
|
readonly minimum: 0;
|
|
4152
4152
|
};
|
|
4153
|
+
readonly fullPayment: {
|
|
4154
|
+
readonly type: "boolean";
|
|
4155
|
+
readonly nullable: true;
|
|
4156
|
+
};
|
|
4157
|
+
readonly installment: {
|
|
4158
|
+
readonly type: "boolean";
|
|
4159
|
+
readonly nullable: true;
|
|
4160
|
+
};
|
|
4161
|
+
readonly subscription: {
|
|
4162
|
+
readonly type: "boolean";
|
|
4163
|
+
readonly nullable: true;
|
|
4164
|
+
};
|
|
4165
|
+
readonly subscriptionStartDate: {
|
|
4166
|
+
readonly type: "string";
|
|
4167
|
+
readonly format: "date-time";
|
|
4168
|
+
readonly nullable: true;
|
|
4169
|
+
};
|
|
4170
|
+
readonly subscriptionEndDate: {
|
|
4171
|
+
readonly type: "string";
|
|
4172
|
+
readonly format: "date-time";
|
|
4173
|
+
readonly nullable: true;
|
|
4174
|
+
};
|
|
4153
4175
|
readonly created_by: {
|
|
4154
4176
|
readonly type: "string";
|
|
4155
4177
|
readonly format: "uuid";
|
|
@@ -12619,6 +12641,28 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
12619
12641
|
readonly type: "integer";
|
|
12620
12642
|
readonly minimum: 0;
|
|
12621
12643
|
};
|
|
12644
|
+
readonly fullPayment: {
|
|
12645
|
+
readonly type: "boolean";
|
|
12646
|
+
readonly description: "Whether the invoice is paid in full. Defaults to false.";
|
|
12647
|
+
};
|
|
12648
|
+
readonly installment: {
|
|
12649
|
+
readonly type: "boolean";
|
|
12650
|
+
readonly description: "Whether the invoice is paid in installments. Defaults to false.";
|
|
12651
|
+
};
|
|
12652
|
+
readonly subscription: {
|
|
12653
|
+
readonly type: "boolean";
|
|
12654
|
+
readonly description: "Whether the invoice represents a subscription. Defaults to false.";
|
|
12655
|
+
};
|
|
12656
|
+
readonly subscriptionStartDate: {
|
|
12657
|
+
readonly type: "string";
|
|
12658
|
+
readonly format: "date-time";
|
|
12659
|
+
readonly description: "Subscription period start.";
|
|
12660
|
+
};
|
|
12661
|
+
readonly subscriptionEndDate: {
|
|
12662
|
+
readonly type: "string";
|
|
12663
|
+
readonly format: "date-time";
|
|
12664
|
+
readonly description: "Subscription period end.";
|
|
12665
|
+
};
|
|
12622
12666
|
};
|
|
12623
12667
|
};
|
|
12624
12668
|
};
|
|
@@ -12878,6 +12922,28 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
12878
12922
|
readonly type: "integer";
|
|
12879
12923
|
readonly minimum: 0;
|
|
12880
12924
|
};
|
|
12925
|
+
readonly fullPayment: {
|
|
12926
|
+
readonly type: "boolean";
|
|
12927
|
+
readonly description: "Whether the invoice is paid in full.";
|
|
12928
|
+
};
|
|
12929
|
+
readonly installment: {
|
|
12930
|
+
readonly type: "boolean";
|
|
12931
|
+
readonly description: "Whether the invoice is paid in installments.";
|
|
12932
|
+
};
|
|
12933
|
+
readonly subscription: {
|
|
12934
|
+
readonly type: "boolean";
|
|
12935
|
+
readonly description: "Whether the invoice represents a subscription.";
|
|
12936
|
+
};
|
|
12937
|
+
readonly subscriptionStartDate: {
|
|
12938
|
+
readonly type: "string";
|
|
12939
|
+
readonly format: "date-time";
|
|
12940
|
+
readonly description: "Subscription period start.";
|
|
12941
|
+
};
|
|
12942
|
+
readonly subscriptionEndDate: {
|
|
12943
|
+
readonly type: "string";
|
|
12944
|
+
readonly format: "date-time";
|
|
12945
|
+
readonly description: "Subscription period end.";
|
|
12946
|
+
};
|
|
12881
12947
|
};
|
|
12882
12948
|
};
|
|
12883
12949
|
};
|
|
@@ -18849,6 +18915,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
18849
18915
|
created_by: string;
|
|
18850
18916
|
customerId: string;
|
|
18851
18917
|
serviceId: string;
|
|
18918
|
+
installment: boolean | null;
|
|
18852
18919
|
vatRate: number | null;
|
|
18853
18920
|
SellerBillingId: string;
|
|
18854
18921
|
date: string;
|
|
@@ -18858,14 +18925,18 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
18858
18925
|
unitName: string;
|
|
18859
18926
|
unitPrice: number;
|
|
18860
18927
|
unitQuantity: number;
|
|
18928
|
+
subscription: boolean | null;
|
|
18861
18929
|
updated_at: string | null;
|
|
18862
18930
|
deleted_at: string | null;
|
|
18863
18931
|
verified_at: string | null;
|
|
18864
18932
|
suspended_at: string | null;
|
|
18933
|
+
fullPayment: boolean | null;
|
|
18865
18934
|
notes: string | null;
|
|
18866
18935
|
buyerInn: string | null;
|
|
18867
18936
|
buyerKpp: string | null;
|
|
18868
18937
|
discount: number | null;
|
|
18938
|
+
subscriptionStartDate: string | null;
|
|
18939
|
+
subscriptionEndDate: string | null;
|
|
18869
18940
|
}[];
|
|
18870
18941
|
};
|
|
18871
18942
|
outputFormat: "json";
|
|
@@ -18936,6 +19007,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
18936
19007
|
unitQuantity: number;
|
|
18937
19008
|
notes: string | null;
|
|
18938
19009
|
discount: number | null;
|
|
19010
|
+
fullPayment: boolean | null;
|
|
19011
|
+
installment: boolean | null;
|
|
19012
|
+
subscription: boolean | null;
|
|
19013
|
+
subscriptionStartDate: string | null;
|
|
19014
|
+
subscriptionEndDate: string | null;
|
|
18939
19015
|
status: string;
|
|
18940
19016
|
created_by: string;
|
|
18941
19017
|
}[];
|
|
@@ -18990,6 +19066,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
18990
19066
|
unitQuantity: number;
|
|
18991
19067
|
notes: string | null;
|
|
18992
19068
|
discount: number | null;
|
|
19069
|
+
fullPayment: boolean | null;
|
|
19070
|
+
installment: boolean | null;
|
|
19071
|
+
subscription: boolean | null;
|
|
19072
|
+
subscriptionStartDate: string | null;
|
|
19073
|
+
subscriptionEndDate: string | null;
|
|
18993
19074
|
status: string;
|
|
18994
19075
|
created_by: string;
|
|
18995
19076
|
}[];
|