@mestra-dev/contract 0.0.302 → 0.0.304
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 +691 -17
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4873,6 +4873,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4873
4873
|
dueTrigger?: "contract" | "date" | "payment" | "deposit" | "registration" | null | undefined;
|
|
4874
4874
|
dueOffsetDays?: number | null | undefined;
|
|
4875
4875
|
isDeposit?: boolean | undefined;
|
|
4876
|
+
billToName?: string | null | undefined;
|
|
4877
|
+
billToPhone?: string | null | undefined;
|
|
4876
4878
|
installmentNumber?: number | null | undefined;
|
|
4877
4879
|
totalInstallments?: number | null | undefined;
|
|
4878
4880
|
installmentGroupId?: string | null | undefined;
|
|
@@ -4895,6 +4897,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4895
4897
|
quantity?: number | undefined;
|
|
4896
4898
|
discount?: number | undefined;
|
|
4897
4899
|
description?: string | undefined;
|
|
4900
|
+
itemId?: string | null | undefined;
|
|
4901
|
+
itemPrice?: number | null | undefined;
|
|
4902
|
+
itemQuantity?: number | null | undefined;
|
|
4903
|
+
itemDiscount?: number | null | undefined;
|
|
4898
4904
|
kind?: "free" | "service" | "property" | "transit" | null | undefined;
|
|
4899
4905
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
4900
4906
|
vatRate?: number | null | undefined;
|
|
@@ -4980,6 +4986,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4980
4986
|
dueTrigger?: "contract" | "date" | "payment" | "deposit" | "registration" | null | undefined;
|
|
4981
4987
|
dueOffsetDays?: number | null | undefined;
|
|
4982
4988
|
isDeposit?: boolean | undefined;
|
|
4989
|
+
billToName?: string | null | undefined;
|
|
4990
|
+
billToPhone?: string | null | undefined;
|
|
4983
4991
|
installmentNumber?: number | null | undefined;
|
|
4984
4992
|
totalInstallments?: number | null | undefined;
|
|
4985
4993
|
installmentGroupId?: string | null | undefined;
|
|
@@ -5002,6 +5010,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5002
5010
|
quantity?: number | undefined;
|
|
5003
5011
|
discount?: number | undefined;
|
|
5004
5012
|
description?: string | undefined;
|
|
5013
|
+
itemId?: string | null | undefined;
|
|
5014
|
+
itemPrice?: number | null | undefined;
|
|
5015
|
+
itemQuantity?: number | null | undefined;
|
|
5016
|
+
itemDiscount?: number | null | undefined;
|
|
5005
5017
|
kind?: "free" | "service" | "property" | "transit" | null | undefined;
|
|
5006
5018
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
5007
5019
|
vatRate?: number | null | undefined;
|
|
@@ -5117,7 +5129,19 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5117
5129
|
dueTrigger: string | null;
|
|
5118
5130
|
dueOffsetDays: number | null;
|
|
5119
5131
|
isDeposit: boolean;
|
|
5132
|
+
billToName: string | null;
|
|
5133
|
+
billToPhone: string | null;
|
|
5120
5134
|
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
|
|
5135
|
+
payments: {
|
|
5136
|
+
id: string;
|
|
5137
|
+
amount: number;
|
|
5138
|
+
paidAt: string;
|
|
5139
|
+
paymentMethod: string | null;
|
|
5140
|
+
receiptFileName: string | null;
|
|
5141
|
+
created_by: string;
|
|
5142
|
+
created_at: string;
|
|
5143
|
+
}[];
|
|
5144
|
+
paidAmount: number;
|
|
5121
5145
|
subtotal: number;
|
|
5122
5146
|
lineDiscounts: number;
|
|
5123
5147
|
total: number;
|
|
@@ -5148,6 +5172,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5148
5172
|
quantity: number;
|
|
5149
5173
|
discount: number;
|
|
5150
5174
|
description: string | null;
|
|
5175
|
+
itemId: string | null;
|
|
5176
|
+
itemPrice: number | null;
|
|
5177
|
+
itemQuantity: number | null;
|
|
5178
|
+
itemDiscount: number | null;
|
|
5151
5179
|
kind: string | null;
|
|
5152
5180
|
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional" | null;
|
|
5153
5181
|
vatRate: number | null;
|
|
@@ -5312,7 +5340,19 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5312
5340
|
dueTrigger: string | null;
|
|
5313
5341
|
dueOffsetDays: number | null;
|
|
5314
5342
|
isDeposit: boolean;
|
|
5343
|
+
billToName: string | null;
|
|
5344
|
+
billToPhone: string | null;
|
|
5315
5345
|
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
|
|
5346
|
+
payments: {
|
|
5347
|
+
id: string;
|
|
5348
|
+
amount: number;
|
|
5349
|
+
paidAt: string;
|
|
5350
|
+
paymentMethod: string | null;
|
|
5351
|
+
receiptFileName: string | null;
|
|
5352
|
+
created_by: string;
|
|
5353
|
+
created_at: string;
|
|
5354
|
+
}[];
|
|
5355
|
+
paidAmount: number;
|
|
5316
5356
|
subtotal: number;
|
|
5317
5357
|
lineDiscounts: number;
|
|
5318
5358
|
total: number;
|
|
@@ -5343,6 +5383,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5343
5383
|
quantity: number;
|
|
5344
5384
|
discount: number;
|
|
5345
5385
|
description: string | null;
|
|
5386
|
+
itemId: string | null;
|
|
5387
|
+
itemPrice: number | null;
|
|
5388
|
+
itemQuantity: number | null;
|
|
5389
|
+
itemDiscount: number | null;
|
|
5346
5390
|
kind: string | null;
|
|
5347
5391
|
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional" | null;
|
|
5348
5392
|
vatRate: number | null;
|
|
@@ -5435,6 +5479,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5435
5479
|
dueTrigger?: "contract" | "date" | "payment" | "deposit" | "registration" | null | undefined;
|
|
5436
5480
|
dueOffsetDays?: number | null | undefined;
|
|
5437
5481
|
isDeposit?: boolean | undefined;
|
|
5482
|
+
billToName?: string | null | undefined;
|
|
5483
|
+
billToPhone?: string | null | undefined;
|
|
5438
5484
|
installmentNumber?: number | null | undefined;
|
|
5439
5485
|
totalInstallments?: number | null | undefined;
|
|
5440
5486
|
installmentGroupId?: string | null | undefined;
|
|
@@ -5448,6 +5494,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5448
5494
|
quantity?: number | undefined;
|
|
5449
5495
|
discount?: number | undefined;
|
|
5450
5496
|
description?: string | undefined;
|
|
5497
|
+
itemId?: string | null | undefined;
|
|
5498
|
+
itemPrice?: number | null | undefined;
|
|
5499
|
+
itemQuantity?: number | null | undefined;
|
|
5500
|
+
itemDiscount?: number | null | undefined;
|
|
5451
5501
|
kind?: "free" | "service" | "property" | "transit" | null | undefined;
|
|
5452
5502
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
5453
5503
|
vatRate?: number | null | undefined;
|
|
@@ -5543,6 +5593,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5543
5593
|
dueTrigger?: "contract" | "date" | "payment" | "deposit" | "registration" | null | undefined;
|
|
5544
5594
|
dueOffsetDays?: number | null | undefined;
|
|
5545
5595
|
isDeposit?: boolean | undefined;
|
|
5596
|
+
billToName?: string | null | undefined;
|
|
5597
|
+
billToPhone?: string | null | undefined;
|
|
5546
5598
|
installmentNumber?: number | null | undefined;
|
|
5547
5599
|
totalInstallments?: number | null | undefined;
|
|
5548
5600
|
installmentGroupId?: string | null | undefined;
|
|
@@ -5556,6 +5608,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5556
5608
|
quantity?: number | undefined;
|
|
5557
5609
|
discount?: number | undefined;
|
|
5558
5610
|
description?: string | undefined;
|
|
5611
|
+
itemId?: string | null | undefined;
|
|
5612
|
+
itemPrice?: number | null | undefined;
|
|
5613
|
+
itemQuantity?: number | null | undefined;
|
|
5614
|
+
itemDiscount?: number | null | undefined;
|
|
5559
5615
|
kind?: "free" | "service" | "property" | "transit" | null | undefined;
|
|
5560
5616
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
5561
5617
|
vatRate?: number | null | undefined;
|
|
@@ -5681,7 +5737,19 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5681
5737
|
dueTrigger: string | null;
|
|
5682
5738
|
dueOffsetDays: number | null;
|
|
5683
5739
|
isDeposit: boolean;
|
|
5740
|
+
billToName: string | null;
|
|
5741
|
+
billToPhone: string | null;
|
|
5684
5742
|
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
|
|
5743
|
+
payments: {
|
|
5744
|
+
id: string;
|
|
5745
|
+
amount: number;
|
|
5746
|
+
paidAt: string;
|
|
5747
|
+
paymentMethod: string | null;
|
|
5748
|
+
receiptFileName: string | null;
|
|
5749
|
+
created_by: string;
|
|
5750
|
+
created_at: string;
|
|
5751
|
+
}[];
|
|
5752
|
+
paidAmount: number;
|
|
5685
5753
|
subtotal: number;
|
|
5686
5754
|
lineDiscounts: number;
|
|
5687
5755
|
total: number;
|
|
@@ -5712,6 +5780,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5712
5780
|
quantity: number;
|
|
5713
5781
|
discount: number;
|
|
5714
5782
|
description: string | null;
|
|
5783
|
+
itemId: string | null;
|
|
5784
|
+
itemPrice: number | null;
|
|
5785
|
+
itemQuantity: number | null;
|
|
5786
|
+
itemDiscount: number | null;
|
|
5715
5787
|
kind: string | null;
|
|
5716
5788
|
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional" | null;
|
|
5717
5789
|
vatRate: number | null;
|
|
@@ -5755,7 +5827,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5755
5827
|
json: {
|
|
5756
5828
|
workspace: string;
|
|
5757
5829
|
installmentGroupId?: string | undefined;
|
|
5758
|
-
invoices
|
|
5830
|
+
invoices?: {
|
|
5759
5831
|
services: {
|
|
5760
5832
|
serviceId?: string | null | undefined;
|
|
5761
5833
|
name: string;
|
|
@@ -5763,6 +5835,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5763
5835
|
quantity?: number | undefined;
|
|
5764
5836
|
discount?: number | undefined;
|
|
5765
5837
|
description?: string | undefined;
|
|
5838
|
+
itemId?: string | null | undefined;
|
|
5839
|
+
itemPrice?: number | null | undefined;
|
|
5840
|
+
itemQuantity?: number | null | undefined;
|
|
5841
|
+
itemDiscount?: number | null | undefined;
|
|
5766
5842
|
kind?: "free" | "service" | "property" | "transit" | null | undefined;
|
|
5767
5843
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
5768
5844
|
vatRate?: number | null | undefined;
|
|
@@ -5824,6 +5900,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5824
5900
|
dueTrigger?: "contract" | "date" | "payment" | "deposit" | "registration" | null | undefined;
|
|
5825
5901
|
dueOffsetDays?: number | null | undefined;
|
|
5826
5902
|
isDeposit?: boolean | undefined;
|
|
5903
|
+
billToName?: string | null | undefined;
|
|
5904
|
+
billToPhone?: string | null | undefined;
|
|
5827
5905
|
invoiceId: string;
|
|
5828
5906
|
SellerFinanceAccountId: string;
|
|
5829
5907
|
customerId: string;
|
|
@@ -5845,7 +5923,108 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5845
5923
|
paymentMethod?: string | undefined;
|
|
5846
5924
|
amountType?: "transit" | "revenue" | undefined;
|
|
5847
5925
|
cinvoiceId?: string | undefined;
|
|
5848
|
-
}[];
|
|
5926
|
+
}[] | undefined;
|
|
5927
|
+
plans?: {
|
|
5928
|
+
installmentGroupId?: string | undefined;
|
|
5929
|
+
invoices: {
|
|
5930
|
+
services: {
|
|
5931
|
+
serviceId?: string | null | undefined;
|
|
5932
|
+
name: string;
|
|
5933
|
+
unitPrice: number;
|
|
5934
|
+
quantity?: number | undefined;
|
|
5935
|
+
discount?: number | undefined;
|
|
5936
|
+
description?: string | undefined;
|
|
5937
|
+
itemId?: string | null | undefined;
|
|
5938
|
+
itemPrice?: number | null | undefined;
|
|
5939
|
+
itemQuantity?: number | null | undefined;
|
|
5940
|
+
itemDiscount?: number | null | undefined;
|
|
5941
|
+
kind?: "free" | "service" | "property" | "transit" | null | undefined;
|
|
5942
|
+
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
5943
|
+
vatRate?: number | null | undefined;
|
|
5944
|
+
dealType?: "sale" | "rent" | null | undefined;
|
|
5945
|
+
priceUnit?: "per_month" | "per_day" | "total" | null | undefined;
|
|
5946
|
+
deposit?: number | null | undefined;
|
|
5947
|
+
commissionMode?: "fixed" | "percent" | null | undefined;
|
|
5948
|
+
commissionPercent?: number | null | undefined;
|
|
5949
|
+
commissionFixed?: number | null | undefined;
|
|
5950
|
+
commissionPaidBy?: "buyer" | "seller" | "split" | null | undefined;
|
|
5951
|
+
commissionBuyerShare?: number | null | undefined;
|
|
5952
|
+
commissionBilledSide?: "buyer" | "seller" | null | undefined;
|
|
5953
|
+
commissionBaseUnlocked?: boolean | undefined;
|
|
5954
|
+
viaAgency?: {
|
|
5955
|
+
payee: string;
|
|
5956
|
+
payeeBank: string;
|
|
5957
|
+
transferTrigger: "contract" | "date" | "payment" | "deposit" | "registration";
|
|
5958
|
+
deadlineDays: number;
|
|
5959
|
+
enabled: boolean;
|
|
5960
|
+
} | null | undefined;
|
|
5961
|
+
transit?: {
|
|
5962
|
+
payee: string;
|
|
5963
|
+
payeeBank: string;
|
|
5964
|
+
transferTrigger: "contract" | "date" | "payment" | "deposit" | "registration";
|
|
5965
|
+
deadlineDays: number;
|
|
5966
|
+
} | null | undefined;
|
|
5967
|
+
transferPayment?: {
|
|
5968
|
+
viaAgencyBefore: boolean;
|
|
5969
|
+
} | null | undefined;
|
|
5970
|
+
executors?: {
|
|
5971
|
+
personKind: "member" | "partner";
|
|
5972
|
+
personId?: string | null | undefined;
|
|
5973
|
+
name: string;
|
|
5974
|
+
role: "partner" | "lead" | "co_agent" | "buyer_agent" | "seller_agent";
|
|
5975
|
+
shareKind: "fixed" | "percent";
|
|
5976
|
+
sharePercent?: number | null | undefined;
|
|
5977
|
+
shareAmount?: number | null | undefined;
|
|
5978
|
+
trigger?: "contract" | "date" | "payment" | "deposit" | "registration" | undefined;
|
|
5979
|
+
}[] | undefined;
|
|
5980
|
+
costs?: {
|
|
5981
|
+
category: string;
|
|
5982
|
+
supplier?: string | undefined;
|
|
5983
|
+
description?: string | undefined;
|
|
5984
|
+
amount: number;
|
|
5985
|
+
inputVatRate?: number | undefined;
|
|
5986
|
+
paidBy: "company_now" | "company_later" | "executor";
|
|
5987
|
+
}[] | undefined;
|
|
5988
|
+
}[];
|
|
5989
|
+
branchId?: string | null | undefined;
|
|
5990
|
+
responsibleId?: string | null | undefined;
|
|
5991
|
+
internalNote?: string | null | undefined;
|
|
5992
|
+
allowedPaymentMethods?: string[] | null | undefined;
|
|
5993
|
+
allowPartialPayment?: boolean | undefined;
|
|
5994
|
+
remindPayer?: boolean | undefined;
|
|
5995
|
+
recurringInterval?: "monthly" | "quarterly" | "yearly" | null | undefined;
|
|
5996
|
+
scheduleType?: "fullPayment" | "installment" | "subscription" | "prepayment" | "stages" | null | undefined;
|
|
5997
|
+
installmentInterval?: "month" | "twoWeeks" | "week" | "year" | null | undefined;
|
|
5998
|
+
stageLabel?: string | null | undefined;
|
|
5999
|
+
dueTrigger?: "contract" | "date" | "payment" | "deposit" | "registration" | null | undefined;
|
|
6000
|
+
dueOffsetDays?: number | null | undefined;
|
|
6001
|
+
isDeposit?: boolean | undefined;
|
|
6002
|
+
billToName?: string | null | undefined;
|
|
6003
|
+
billToPhone?: string | null | undefined;
|
|
6004
|
+
invoiceId: string;
|
|
6005
|
+
SellerFinanceAccountId: string;
|
|
6006
|
+
customerId: string;
|
|
6007
|
+
date: string | number;
|
|
6008
|
+
language: "ru" | "en";
|
|
6009
|
+
currency: "USD" | "EUR" | "RUB";
|
|
6010
|
+
vatOption: "vat_included" | "vat_excluded";
|
|
6011
|
+
vatRate?: number | undefined;
|
|
6012
|
+
buyerInn?: string | undefined;
|
|
6013
|
+
buyerKpp?: string | undefined;
|
|
6014
|
+
notes?: string | undefined;
|
|
6015
|
+
status?: "pending" | "canceled" | "paid" | "refunded" | undefined;
|
|
6016
|
+
discount?: number | undefined;
|
|
6017
|
+
fullPayment?: boolean | undefined;
|
|
6018
|
+
installment?: boolean | undefined;
|
|
6019
|
+
subscription?: boolean | undefined;
|
|
6020
|
+
subscriptionStartDate?: string | number | undefined;
|
|
6021
|
+
subscriptionEndDate?: string | number | undefined;
|
|
6022
|
+
paymentMethod?: string | undefined;
|
|
6023
|
+
amountType?: "transit" | "revenue" | undefined;
|
|
6024
|
+
cinvoiceId?: string | undefined;
|
|
6025
|
+
}[];
|
|
6026
|
+
}[] | undefined;
|
|
6027
|
+
deleteCinvoiceIds?: string[] | undefined;
|
|
5849
6028
|
};
|
|
5850
6029
|
};
|
|
5851
6030
|
output: {
|
|
@@ -5859,7 +6038,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5859
6038
|
json: {
|
|
5860
6039
|
workspace: string;
|
|
5861
6040
|
installmentGroupId?: string | undefined;
|
|
5862
|
-
invoices
|
|
6041
|
+
invoices?: {
|
|
5863
6042
|
services: {
|
|
5864
6043
|
serviceId?: string | null | undefined;
|
|
5865
6044
|
name: string;
|
|
@@ -5867,6 +6046,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5867
6046
|
quantity?: number | undefined;
|
|
5868
6047
|
discount?: number | undefined;
|
|
5869
6048
|
description?: string | undefined;
|
|
6049
|
+
itemId?: string | null | undefined;
|
|
6050
|
+
itemPrice?: number | null | undefined;
|
|
6051
|
+
itemQuantity?: number | null | undefined;
|
|
6052
|
+
itemDiscount?: number | null | undefined;
|
|
5870
6053
|
kind?: "free" | "service" | "property" | "transit" | null | undefined;
|
|
5871
6054
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
5872
6055
|
vatRate?: number | null | undefined;
|
|
@@ -5928,6 +6111,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5928
6111
|
dueTrigger?: "contract" | "date" | "payment" | "deposit" | "registration" | null | undefined;
|
|
5929
6112
|
dueOffsetDays?: number | null | undefined;
|
|
5930
6113
|
isDeposit?: boolean | undefined;
|
|
6114
|
+
billToName?: string | null | undefined;
|
|
6115
|
+
billToPhone?: string | null | undefined;
|
|
5931
6116
|
invoiceId: string;
|
|
5932
6117
|
SellerFinanceAccountId: string;
|
|
5933
6118
|
customerId: string;
|
|
@@ -5949,7 +6134,108 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5949
6134
|
paymentMethod?: string | undefined;
|
|
5950
6135
|
amountType?: "transit" | "revenue" | undefined;
|
|
5951
6136
|
cinvoiceId?: string | undefined;
|
|
5952
|
-
}[];
|
|
6137
|
+
}[] | undefined;
|
|
6138
|
+
plans?: {
|
|
6139
|
+
installmentGroupId?: string | undefined;
|
|
6140
|
+
invoices: {
|
|
6141
|
+
services: {
|
|
6142
|
+
serviceId?: string | null | undefined;
|
|
6143
|
+
name: string;
|
|
6144
|
+
unitPrice: number;
|
|
6145
|
+
quantity?: number | undefined;
|
|
6146
|
+
discount?: number | undefined;
|
|
6147
|
+
description?: string | undefined;
|
|
6148
|
+
itemId?: string | null | undefined;
|
|
6149
|
+
itemPrice?: number | null | undefined;
|
|
6150
|
+
itemQuantity?: number | null | undefined;
|
|
6151
|
+
itemDiscount?: number | null | undefined;
|
|
6152
|
+
kind?: "free" | "service" | "property" | "transit" | null | undefined;
|
|
6153
|
+
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
6154
|
+
vatRate?: number | null | undefined;
|
|
6155
|
+
dealType?: "sale" | "rent" | null | undefined;
|
|
6156
|
+
priceUnit?: "per_month" | "per_day" | "total" | null | undefined;
|
|
6157
|
+
deposit?: number | null | undefined;
|
|
6158
|
+
commissionMode?: "fixed" | "percent" | null | undefined;
|
|
6159
|
+
commissionPercent?: number | null | undefined;
|
|
6160
|
+
commissionFixed?: number | null | undefined;
|
|
6161
|
+
commissionPaidBy?: "buyer" | "seller" | "split" | null | undefined;
|
|
6162
|
+
commissionBuyerShare?: number | null | undefined;
|
|
6163
|
+
commissionBilledSide?: "buyer" | "seller" | null | undefined;
|
|
6164
|
+
commissionBaseUnlocked?: boolean | undefined;
|
|
6165
|
+
viaAgency?: {
|
|
6166
|
+
payee: string;
|
|
6167
|
+
payeeBank: string;
|
|
6168
|
+
transferTrigger: "contract" | "date" | "payment" | "deposit" | "registration";
|
|
6169
|
+
deadlineDays: number;
|
|
6170
|
+
enabled: boolean;
|
|
6171
|
+
} | null | undefined;
|
|
6172
|
+
transit?: {
|
|
6173
|
+
payee: string;
|
|
6174
|
+
payeeBank: string;
|
|
6175
|
+
transferTrigger: "contract" | "date" | "payment" | "deposit" | "registration";
|
|
6176
|
+
deadlineDays: number;
|
|
6177
|
+
} | null | undefined;
|
|
6178
|
+
transferPayment?: {
|
|
6179
|
+
viaAgencyBefore: boolean;
|
|
6180
|
+
} | null | undefined;
|
|
6181
|
+
executors?: {
|
|
6182
|
+
personKind: "member" | "partner";
|
|
6183
|
+
personId?: string | null | undefined;
|
|
6184
|
+
name: string;
|
|
6185
|
+
role: "partner" | "lead" | "co_agent" | "buyer_agent" | "seller_agent";
|
|
6186
|
+
shareKind: "fixed" | "percent";
|
|
6187
|
+
sharePercent?: number | null | undefined;
|
|
6188
|
+
shareAmount?: number | null | undefined;
|
|
6189
|
+
trigger?: "contract" | "date" | "payment" | "deposit" | "registration" | undefined;
|
|
6190
|
+
}[] | undefined;
|
|
6191
|
+
costs?: {
|
|
6192
|
+
category: string;
|
|
6193
|
+
supplier?: string | undefined;
|
|
6194
|
+
description?: string | undefined;
|
|
6195
|
+
amount: number;
|
|
6196
|
+
inputVatRate?: number | undefined;
|
|
6197
|
+
paidBy: "company_now" | "company_later" | "executor";
|
|
6198
|
+
}[] | undefined;
|
|
6199
|
+
}[];
|
|
6200
|
+
branchId?: string | null | undefined;
|
|
6201
|
+
responsibleId?: string | null | undefined;
|
|
6202
|
+
internalNote?: string | null | undefined;
|
|
6203
|
+
allowedPaymentMethods?: string[] | null | undefined;
|
|
6204
|
+
allowPartialPayment?: boolean | undefined;
|
|
6205
|
+
remindPayer?: boolean | undefined;
|
|
6206
|
+
recurringInterval?: "monthly" | "quarterly" | "yearly" | null | undefined;
|
|
6207
|
+
scheduleType?: "fullPayment" | "installment" | "subscription" | "prepayment" | "stages" | null | undefined;
|
|
6208
|
+
installmentInterval?: "month" | "twoWeeks" | "week" | "year" | null | undefined;
|
|
6209
|
+
stageLabel?: string | null | undefined;
|
|
6210
|
+
dueTrigger?: "contract" | "date" | "payment" | "deposit" | "registration" | null | undefined;
|
|
6211
|
+
dueOffsetDays?: number | null | undefined;
|
|
6212
|
+
isDeposit?: boolean | undefined;
|
|
6213
|
+
billToName?: string | null | undefined;
|
|
6214
|
+
billToPhone?: string | null | undefined;
|
|
6215
|
+
invoiceId: string;
|
|
6216
|
+
SellerFinanceAccountId: string;
|
|
6217
|
+
customerId: string;
|
|
6218
|
+
date: string | number;
|
|
6219
|
+
language: "ru" | "en";
|
|
6220
|
+
currency: "USD" | "EUR" | "RUB";
|
|
6221
|
+
vatOption: "vat_included" | "vat_excluded";
|
|
6222
|
+
vatRate?: number | undefined;
|
|
6223
|
+
buyerInn?: string | undefined;
|
|
6224
|
+
buyerKpp?: string | undefined;
|
|
6225
|
+
notes?: string | undefined;
|
|
6226
|
+
status?: "pending" | "canceled" | "paid" | "refunded" | undefined;
|
|
6227
|
+
discount?: number | undefined;
|
|
6228
|
+
fullPayment?: boolean | undefined;
|
|
6229
|
+
installment?: boolean | undefined;
|
|
6230
|
+
subscription?: boolean | undefined;
|
|
6231
|
+
subscriptionStartDate?: string | number | undefined;
|
|
6232
|
+
subscriptionEndDate?: string | number | undefined;
|
|
6233
|
+
paymentMethod?: string | undefined;
|
|
6234
|
+
amountType?: "transit" | "revenue" | undefined;
|
|
6235
|
+
cinvoiceId?: string | undefined;
|
|
6236
|
+
}[];
|
|
6237
|
+
}[] | undefined;
|
|
6238
|
+
deleteCinvoiceIds?: string[] | undefined;
|
|
5953
6239
|
};
|
|
5954
6240
|
};
|
|
5955
6241
|
output: {
|
|
@@ -6004,7 +6290,19 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6004
6290
|
dueTrigger: string | null;
|
|
6005
6291
|
dueOffsetDays: number | null;
|
|
6006
6292
|
isDeposit: boolean;
|
|
6293
|
+
billToName: string | null;
|
|
6294
|
+
billToPhone: string | null;
|
|
6007
6295
|
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
|
|
6296
|
+
payments: {
|
|
6297
|
+
id: string;
|
|
6298
|
+
amount: number;
|
|
6299
|
+
paidAt: string;
|
|
6300
|
+
paymentMethod: string | null;
|
|
6301
|
+
receiptFileName: string | null;
|
|
6302
|
+
created_by: string;
|
|
6303
|
+
created_at: string;
|
|
6304
|
+
}[];
|
|
6305
|
+
paidAmount: number;
|
|
6008
6306
|
subtotal: number;
|
|
6009
6307
|
lineDiscounts: number;
|
|
6010
6308
|
total: number;
|
|
@@ -6035,6 +6333,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6035
6333
|
quantity: number;
|
|
6036
6334
|
discount: number;
|
|
6037
6335
|
description: string | null;
|
|
6336
|
+
itemId: string | null;
|
|
6337
|
+
itemPrice: number | null;
|
|
6338
|
+
itemQuantity: number | null;
|
|
6339
|
+
itemDiscount: number | null;
|
|
6038
6340
|
kind: string | null;
|
|
6039
6341
|
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional" | null;
|
|
6040
6342
|
vatRate: number | null;
|
|
@@ -6071,6 +6373,178 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6071
6373
|
status: 200;
|
|
6072
6374
|
};
|
|
6073
6375
|
};
|
|
6376
|
+
} & {
|
|
6377
|
+
"/payments/record": {
|
|
6378
|
+
$post: {
|
|
6379
|
+
input: {
|
|
6380
|
+
json: {
|
|
6381
|
+
workspace: string;
|
|
6382
|
+
cinvoiceId: string;
|
|
6383
|
+
amount: number;
|
|
6384
|
+
date: string | number;
|
|
6385
|
+
paymentMethod?: string | undefined;
|
|
6386
|
+
};
|
|
6387
|
+
};
|
|
6388
|
+
output: {
|
|
6389
|
+
success: false;
|
|
6390
|
+
error: string;
|
|
6391
|
+
};
|
|
6392
|
+
outputFormat: "json";
|
|
6393
|
+
status: 400 | 404;
|
|
6394
|
+
} | {
|
|
6395
|
+
input: {
|
|
6396
|
+
json: {
|
|
6397
|
+
workspace: string;
|
|
6398
|
+
cinvoiceId: string;
|
|
6399
|
+
amount: number;
|
|
6400
|
+
date: string | number;
|
|
6401
|
+
paymentMethod?: string | undefined;
|
|
6402
|
+
};
|
|
6403
|
+
};
|
|
6404
|
+
output: {
|
|
6405
|
+
success: true;
|
|
6406
|
+
payment: {
|
|
6407
|
+
id: string;
|
|
6408
|
+
amount: number;
|
|
6409
|
+
paidAt: string;
|
|
6410
|
+
paymentMethod: string | null;
|
|
6411
|
+
receiptFileName: string | null;
|
|
6412
|
+
created_by: string;
|
|
6413
|
+
created_at: string;
|
|
6414
|
+
};
|
|
6415
|
+
cinvoice: {
|
|
6416
|
+
id: string;
|
|
6417
|
+
created_at: string;
|
|
6418
|
+
workspaceId: string;
|
|
6419
|
+
updated_at: string | null;
|
|
6420
|
+
deleted_at: string | null;
|
|
6421
|
+
verified_at: string | null;
|
|
6422
|
+
suspended_at: string | null;
|
|
6423
|
+
invoiceId: string;
|
|
6424
|
+
status: string;
|
|
6425
|
+
date: string;
|
|
6426
|
+
customerId: string;
|
|
6427
|
+
created_by: string;
|
|
6428
|
+
branchId: string | null;
|
|
6429
|
+
responsibleId: string | null;
|
|
6430
|
+
fullPayment: boolean | null;
|
|
6431
|
+
installment: boolean | null;
|
|
6432
|
+
notes: string | null;
|
|
6433
|
+
subscriptionEndDate: string | null;
|
|
6434
|
+
currency: string;
|
|
6435
|
+
serviceId: string | null;
|
|
6436
|
+
invoiceDiscount: number;
|
|
6437
|
+
discount: number;
|
|
6438
|
+
SellerFinanceAccountId: string;
|
|
6439
|
+
language: string;
|
|
6440
|
+
vatOption: string;
|
|
6441
|
+
unitName: string;
|
|
6442
|
+
unitPrice: number;
|
|
6443
|
+
unitQuantity: number;
|
|
6444
|
+
installmentNumber: number | null;
|
|
6445
|
+
totalInstallments: number | null;
|
|
6446
|
+
installmentGroupId: string | null;
|
|
6447
|
+
vatRate: number | null;
|
|
6448
|
+
paidAt: string | null;
|
|
6449
|
+
buyerInn: string | null;
|
|
6450
|
+
buyerKpp: string | null;
|
|
6451
|
+
subscription: boolean | null;
|
|
6452
|
+
subscriptionStartDate: string | null;
|
|
6453
|
+
paymentMethod: string | null;
|
|
6454
|
+
internalNote: string | null;
|
|
6455
|
+
allowedPaymentMethods: string[] | null;
|
|
6456
|
+
allowPartialPayment: boolean;
|
|
6457
|
+
remindPayer: boolean;
|
|
6458
|
+
recurringInterval: string | null;
|
|
6459
|
+
scheduleType: string | null;
|
|
6460
|
+
installmentInterval: string | null;
|
|
6461
|
+
stageLabel: string | null;
|
|
6462
|
+
dueTrigger: string | null;
|
|
6463
|
+
dueOffsetDays: number | null;
|
|
6464
|
+
isDeposit: boolean;
|
|
6465
|
+
billToName: string | null;
|
|
6466
|
+
billToPhone: string | null;
|
|
6467
|
+
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
|
|
6468
|
+
payments: {
|
|
6469
|
+
id: string;
|
|
6470
|
+
amount: number;
|
|
6471
|
+
paidAt: string;
|
|
6472
|
+
paymentMethod: string | null;
|
|
6473
|
+
receiptFileName: string | null;
|
|
6474
|
+
created_by: string;
|
|
6475
|
+
created_at: string;
|
|
6476
|
+
}[];
|
|
6477
|
+
paidAmount: number;
|
|
6478
|
+
subtotal: number;
|
|
6479
|
+
lineDiscounts: number;
|
|
6480
|
+
total: number;
|
|
6481
|
+
services: {
|
|
6482
|
+
executors: {
|
|
6483
|
+
personKind: string;
|
|
6484
|
+
personId: string | null;
|
|
6485
|
+
name: string;
|
|
6486
|
+
role: string;
|
|
6487
|
+
shareKind: string;
|
|
6488
|
+
sharePercent: number | null;
|
|
6489
|
+
shareAmount: number | null;
|
|
6490
|
+
trigger: string;
|
|
6491
|
+
}[];
|
|
6492
|
+
costs: {
|
|
6493
|
+
category: string;
|
|
6494
|
+
supplier: string;
|
|
6495
|
+
description: string;
|
|
6496
|
+
amount: number;
|
|
6497
|
+
inputVatRate: number;
|
|
6498
|
+
paidBy: string;
|
|
6499
|
+
}[];
|
|
6500
|
+
id: string;
|
|
6501
|
+
serviceId: string | null;
|
|
6502
|
+
position: number;
|
|
6503
|
+
name: string;
|
|
6504
|
+
unitPrice: number;
|
|
6505
|
+
quantity: number;
|
|
6506
|
+
discount: number;
|
|
6507
|
+
description: string | null;
|
|
6508
|
+
itemId: string | null;
|
|
6509
|
+
itemPrice: number | null;
|
|
6510
|
+
itemQuantity: number | null;
|
|
6511
|
+
itemDiscount: number | null;
|
|
6512
|
+
kind: string | null;
|
|
6513
|
+
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional" | null;
|
|
6514
|
+
vatRate: number | null;
|
|
6515
|
+
dealType: string | null;
|
|
6516
|
+
priceUnit: string | null;
|
|
6517
|
+
deposit: number | null;
|
|
6518
|
+
commissionMode: string | null;
|
|
6519
|
+
commissionPercent: number | null;
|
|
6520
|
+
commissionFixed: number | null;
|
|
6521
|
+
commissionPaidBy: string | null;
|
|
6522
|
+
commissionBuyerShare: number | null;
|
|
6523
|
+
commissionBilledSide: string | null;
|
|
6524
|
+
commissionBaseUnlocked: boolean;
|
|
6525
|
+
viaAgency: {
|
|
6526
|
+
payee: string;
|
|
6527
|
+
payeeBank: string;
|
|
6528
|
+
transferTrigger: string;
|
|
6529
|
+
deadlineDays: number;
|
|
6530
|
+
enabled: boolean;
|
|
6531
|
+
} | null;
|
|
6532
|
+
transit: {
|
|
6533
|
+
payee: string;
|
|
6534
|
+
payeeBank: string;
|
|
6535
|
+
transferTrigger: string;
|
|
6536
|
+
deadlineDays: number;
|
|
6537
|
+
} | null;
|
|
6538
|
+
transferPayment: {
|
|
6539
|
+
viaAgencyBefore: boolean;
|
|
6540
|
+
} | null;
|
|
6541
|
+
}[];
|
|
6542
|
+
};
|
|
6543
|
+
};
|
|
6544
|
+
outputFormat: "json";
|
|
6545
|
+
status: 201;
|
|
6546
|
+
};
|
|
6547
|
+
};
|
|
6074
6548
|
} & {
|
|
6075
6549
|
"/delete": {
|
|
6076
6550
|
$post: {
|
|
@@ -6628,6 +7102,21 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6628
7102
|
} & {
|
|
6629
7103
|
"/update": {
|
|
6630
7104
|
$post: {
|
|
7105
|
+
input: {
|
|
7106
|
+
json: {
|
|
7107
|
+
tagId: string;
|
|
7108
|
+
workspace: string;
|
|
7109
|
+
name?: string | undefined;
|
|
7110
|
+
description?: string | undefined;
|
|
7111
|
+
};
|
|
7112
|
+
};
|
|
7113
|
+
output: {
|
|
7114
|
+
success: false;
|
|
7115
|
+
error: string;
|
|
7116
|
+
};
|
|
7117
|
+
outputFormat: "json";
|
|
7118
|
+
status: 404;
|
|
7119
|
+
} | {
|
|
6631
7120
|
input: {
|
|
6632
7121
|
json: {
|
|
6633
7122
|
tagId: string;
|
|
@@ -6639,19 +7128,15 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6639
7128
|
output: {
|
|
6640
7129
|
success: true;
|
|
6641
7130
|
tag: {
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
dataTypeSize: number;
|
|
6652
|
-
dataTypeModifier: number;
|
|
6653
|
-
format: string;
|
|
6654
|
-
}[];
|
|
7131
|
+
updated_at: string | null;
|
|
7132
|
+
deleted_at: string | null;
|
|
7133
|
+
verified_at: string | null;
|
|
7134
|
+
suspended_at: string | null;
|
|
7135
|
+
created_at: string;
|
|
7136
|
+
id: string;
|
|
7137
|
+
workspaceId: string;
|
|
7138
|
+
name: string;
|
|
7139
|
+
description: string | null;
|
|
6655
7140
|
};
|
|
6656
7141
|
};
|
|
6657
7142
|
outputFormat: "json";
|
|
@@ -9558,6 +10043,195 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9558
10043
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
9559
10044
|
};
|
|
9560
10045
|
};
|
|
10046
|
+
} & {
|
|
10047
|
+
"/upload-to-cinvoice-payment": {
|
|
10048
|
+
$post: {
|
|
10049
|
+
input: {
|
|
10050
|
+
json: {
|
|
10051
|
+
filename: string;
|
|
10052
|
+
contentType: string;
|
|
10053
|
+
contentLength: number;
|
|
10054
|
+
workspace: string;
|
|
10055
|
+
paymentId: string;
|
|
10056
|
+
};
|
|
10057
|
+
};
|
|
10058
|
+
output: {
|
|
10059
|
+
success: false;
|
|
10060
|
+
error: string;
|
|
10061
|
+
};
|
|
10062
|
+
outputFormat: "json";
|
|
10063
|
+
status: 404;
|
|
10064
|
+
} | {
|
|
10065
|
+
input: {
|
|
10066
|
+
json: {
|
|
10067
|
+
filename: string;
|
|
10068
|
+
contentType: string;
|
|
10069
|
+
contentLength: number;
|
|
10070
|
+
workspace: string;
|
|
10071
|
+
paymentId: string;
|
|
10072
|
+
};
|
|
10073
|
+
};
|
|
10074
|
+
output: {
|
|
10075
|
+
success: true;
|
|
10076
|
+
url: string;
|
|
10077
|
+
fields: {
|
|
10078
|
+
[x: string]: string;
|
|
10079
|
+
};
|
|
10080
|
+
key: string;
|
|
10081
|
+
maxSize: number;
|
|
10082
|
+
};
|
|
10083
|
+
outputFormat: "json";
|
|
10084
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10085
|
+
};
|
|
10086
|
+
};
|
|
10087
|
+
} & {
|
|
10088
|
+
"/confirm-cinvoice-payment-file": {
|
|
10089
|
+
$post: {
|
|
10090
|
+
input: {
|
|
10091
|
+
json: {
|
|
10092
|
+
filename: string;
|
|
10093
|
+
workspace: string;
|
|
10094
|
+
paymentId: string;
|
|
10095
|
+
};
|
|
10096
|
+
};
|
|
10097
|
+
output: {
|
|
10098
|
+
success: false;
|
|
10099
|
+
error: string;
|
|
10100
|
+
};
|
|
10101
|
+
outputFormat: "json";
|
|
10102
|
+
status: 404;
|
|
10103
|
+
} | {
|
|
10104
|
+
input: {
|
|
10105
|
+
json: {
|
|
10106
|
+
filename: string;
|
|
10107
|
+
workspace: string;
|
|
10108
|
+
paymentId: string;
|
|
10109
|
+
};
|
|
10110
|
+
};
|
|
10111
|
+
output: {
|
|
10112
|
+
success: false;
|
|
10113
|
+
error: string;
|
|
10114
|
+
};
|
|
10115
|
+
outputFormat: "json";
|
|
10116
|
+
status: 400;
|
|
10117
|
+
} | {
|
|
10118
|
+
input: {
|
|
10119
|
+
json: {
|
|
10120
|
+
filename: string;
|
|
10121
|
+
workspace: string;
|
|
10122
|
+
paymentId: string;
|
|
10123
|
+
};
|
|
10124
|
+
};
|
|
10125
|
+
output: {
|
|
10126
|
+
success: true;
|
|
10127
|
+
key: string;
|
|
10128
|
+
receiptFileName: string;
|
|
10129
|
+
};
|
|
10130
|
+
outputFormat: "json";
|
|
10131
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10132
|
+
};
|
|
10133
|
+
};
|
|
10134
|
+
} & {
|
|
10135
|
+
"/download-from-cinvoice-payment/:workspace/:paymentId": {
|
|
10136
|
+
$get: {
|
|
10137
|
+
input: {
|
|
10138
|
+
param: {
|
|
10139
|
+
workspace: string;
|
|
10140
|
+
} & {
|
|
10141
|
+
paymentId: string;
|
|
10142
|
+
};
|
|
10143
|
+
};
|
|
10144
|
+
output: {
|
|
10145
|
+
success: false;
|
|
10146
|
+
error: string;
|
|
10147
|
+
};
|
|
10148
|
+
outputFormat: "json";
|
|
10149
|
+
status: 404;
|
|
10150
|
+
} | {
|
|
10151
|
+
input: {
|
|
10152
|
+
param: {
|
|
10153
|
+
workspace: string;
|
|
10154
|
+
} & {
|
|
10155
|
+
paymentId: string;
|
|
10156
|
+
};
|
|
10157
|
+
};
|
|
10158
|
+
output: {
|
|
10159
|
+
success: true;
|
|
10160
|
+
file: {
|
|
10161
|
+
key: string;
|
|
10162
|
+
filename: string;
|
|
10163
|
+
size: number;
|
|
10164
|
+
lastModified: string | null;
|
|
10165
|
+
downloadUrl: string;
|
|
10166
|
+
};
|
|
10167
|
+
};
|
|
10168
|
+
outputFormat: "json";
|
|
10169
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10170
|
+
};
|
|
10171
|
+
};
|
|
10172
|
+
} & {
|
|
10173
|
+
"/delete-cinvoice-payment-file": {
|
|
10174
|
+
$post: {
|
|
10175
|
+
input: {
|
|
10176
|
+
json: {
|
|
10177
|
+
filename: string;
|
|
10178
|
+
workspace: string;
|
|
10179
|
+
paymentId: string;
|
|
10180
|
+
};
|
|
10181
|
+
};
|
|
10182
|
+
output: {
|
|
10183
|
+
success: false;
|
|
10184
|
+
error: string;
|
|
10185
|
+
};
|
|
10186
|
+
outputFormat: "json";
|
|
10187
|
+
status: 404;
|
|
10188
|
+
} | {
|
|
10189
|
+
input: {
|
|
10190
|
+
json: {
|
|
10191
|
+
filename: string;
|
|
10192
|
+
workspace: string;
|
|
10193
|
+
paymentId: string;
|
|
10194
|
+
};
|
|
10195
|
+
};
|
|
10196
|
+
output: {
|
|
10197
|
+
success: false;
|
|
10198
|
+
message: string;
|
|
10199
|
+
key: string;
|
|
10200
|
+
};
|
|
10201
|
+
outputFormat: "json";
|
|
10202
|
+
status: 404;
|
|
10203
|
+
} | {
|
|
10204
|
+
input: {
|
|
10205
|
+
json: {
|
|
10206
|
+
filename: string;
|
|
10207
|
+
workspace: string;
|
|
10208
|
+
paymentId: string;
|
|
10209
|
+
};
|
|
10210
|
+
};
|
|
10211
|
+
output: {
|
|
10212
|
+
success: false;
|
|
10213
|
+
message: string;
|
|
10214
|
+
key: string;
|
|
10215
|
+
};
|
|
10216
|
+
outputFormat: "json";
|
|
10217
|
+
status: 500;
|
|
10218
|
+
} | {
|
|
10219
|
+
input: {
|
|
10220
|
+
json: {
|
|
10221
|
+
filename: string;
|
|
10222
|
+
workspace: string;
|
|
10223
|
+
paymentId: string;
|
|
10224
|
+
};
|
|
10225
|
+
};
|
|
10226
|
+
output: {
|
|
10227
|
+
success: true;
|
|
10228
|
+
message: string;
|
|
10229
|
+
key: string;
|
|
10230
|
+
};
|
|
10231
|
+
outputFormat: "json";
|
|
10232
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
10233
|
+
};
|
|
10234
|
+
};
|
|
9561
10235
|
}, "/files"> | import("hono/types").MergeSchemaPath<{
|
|
9562
10236
|
"/start": {
|
|
9563
10237
|
$post: {
|