@mestra-dev/contract 0.0.315 → 0.0.317
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 +1321 -377
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -541,7 +541,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
541
541
|
monthlyAmountKopecks: number;
|
|
542
542
|
yearlyAmountKopecks: number;
|
|
543
543
|
limits: {
|
|
544
|
-
metric: "
|
|
544
|
+
metric: "comments" | "tasks" | "customers" | "services" | "storage_bytes";
|
|
545
545
|
limitValue: number;
|
|
546
546
|
}[];
|
|
547
547
|
};
|
|
@@ -562,7 +562,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
562
562
|
monthlyAmountKopecks: number;
|
|
563
563
|
yearlyAmountKopecks: number;
|
|
564
564
|
limits: {
|
|
565
|
-
metric: "
|
|
565
|
+
metric: "comments" | "tasks" | "customers" | "services" | "storage_bytes";
|
|
566
566
|
limitValue: number;
|
|
567
567
|
}[];
|
|
568
568
|
};
|
|
@@ -570,16 +570,16 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
570
570
|
output: {
|
|
571
571
|
success: true;
|
|
572
572
|
plan: {
|
|
573
|
+
kind: string;
|
|
574
|
+
name: string;
|
|
575
|
+
code: string;
|
|
576
|
+
active: boolean;
|
|
573
577
|
id: string;
|
|
574
578
|
created_at: string;
|
|
575
579
|
updated_at: string | null;
|
|
576
580
|
deleted_at: string | null;
|
|
577
581
|
verified_at: string | null;
|
|
578
582
|
suspended_at: string | null;
|
|
579
|
-
name: string;
|
|
580
|
-
active: boolean;
|
|
581
|
-
code: string;
|
|
582
|
-
kind: string;
|
|
583
583
|
sortOrder: number;
|
|
584
584
|
publiclyVisible: boolean;
|
|
585
585
|
};
|
|
@@ -596,7 +596,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
596
596
|
monthlyAmountKopecks: number;
|
|
597
597
|
yearlyAmountKopecks: number;
|
|
598
598
|
limits: {
|
|
599
|
-
metric: "
|
|
599
|
+
metric: "comments" | "tasks" | "customers" | "services" | "storage_bytes";
|
|
600
600
|
limitValue: number;
|
|
601
601
|
}[];
|
|
602
602
|
};
|
|
@@ -679,23 +679,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
679
679
|
success: true;
|
|
680
680
|
coupon: {
|
|
681
681
|
expiresAt: string | null;
|
|
682
|
+
billingCycles: number | null;
|
|
683
|
+
seats: number | null;
|
|
684
|
+
code: string;
|
|
685
|
+
discountType: string;
|
|
686
|
+
percent: number | null;
|
|
687
|
+
fixedKopecks: number | null;
|
|
688
|
+
maxRedemptions: number | null;
|
|
689
|
+
active: boolean;
|
|
682
690
|
id: string;
|
|
683
691
|
created_at: string;
|
|
684
692
|
updated_at: string | null;
|
|
685
693
|
deleted_at: string | null;
|
|
686
694
|
verified_at: string | null;
|
|
687
695
|
suspended_at: string | null;
|
|
688
|
-
active: boolean;
|
|
689
|
-
code: string;
|
|
690
|
-
discountType: string;
|
|
691
696
|
redemptionCount: number;
|
|
692
|
-
percent: number | null;
|
|
693
|
-
fixedKopecks: number | null;
|
|
694
|
-
maxRedemptions: number | null;
|
|
695
697
|
planId: string | null;
|
|
696
|
-
seats: number | null;
|
|
697
698
|
interval: string | null;
|
|
698
|
-
billingCycles: number | null;
|
|
699
699
|
restrictedToUserId: string | null;
|
|
700
700
|
createdBy: string;
|
|
701
701
|
sourceInvoiceId: string | null;
|
|
@@ -987,9 +987,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
987
987
|
} | null;
|
|
988
988
|
recommendations: {
|
|
989
989
|
usage: {
|
|
990
|
+
comments: number;
|
|
990
991
|
seats: number;
|
|
991
992
|
tasks: number;
|
|
992
|
-
comments: number;
|
|
993
993
|
customers: number;
|
|
994
994
|
services: number;
|
|
995
995
|
storage_bytes: number;
|
|
@@ -2817,6 +2817,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
2817
2817
|
success: true;
|
|
2818
2818
|
task: {
|
|
2819
2819
|
description: string | null;
|
|
2820
|
+
customerId: string | null;
|
|
2821
|
+
subject: string;
|
|
2822
|
+
phaseId: string | null;
|
|
2823
|
+
priority: string | null;
|
|
2824
|
+
visibility: string | null;
|
|
2820
2825
|
id: string;
|
|
2821
2826
|
created_at: string;
|
|
2822
2827
|
workspaceId: string;
|
|
@@ -2824,12 +2829,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
2824
2829
|
deleted_at: string | null;
|
|
2825
2830
|
verified_at: string | null;
|
|
2826
2831
|
suspended_at: string | null;
|
|
2827
|
-
customerId: string | null;
|
|
2828
|
-
subject: string;
|
|
2829
2832
|
created_by: string;
|
|
2830
|
-
phaseId: string | null;
|
|
2831
|
-
priority: string | null;
|
|
2832
|
-
visibility: string | null;
|
|
2833
2833
|
};
|
|
2834
2834
|
};
|
|
2835
2835
|
outputFormat: "json";
|
|
@@ -3347,6 +3347,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3347
3347
|
output: {
|
|
3348
3348
|
success: true;
|
|
3349
3349
|
phase: {
|
|
3350
|
+
name: string;
|
|
3350
3351
|
id: string;
|
|
3351
3352
|
created_at: string;
|
|
3352
3353
|
workspaceId: string;
|
|
@@ -3354,7 +3355,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3354
3355
|
deleted_at: string | null;
|
|
3355
3356
|
verified_at: string | null;
|
|
3356
3357
|
suspended_at: string | null;
|
|
3357
|
-
name: string;
|
|
3358
3358
|
sortOrder: number;
|
|
3359
3359
|
isBuiltin: boolean;
|
|
3360
3360
|
};
|
|
@@ -3537,6 +3537,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3537
3537
|
output: {
|
|
3538
3538
|
success: true;
|
|
3539
3539
|
template: {
|
|
3540
|
+
content: string;
|
|
3540
3541
|
title: string;
|
|
3541
3542
|
id: string;
|
|
3542
3543
|
created_at: string;
|
|
@@ -3546,7 +3547,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3546
3547
|
verified_at: string | null;
|
|
3547
3548
|
suspended_at: string | null;
|
|
3548
3549
|
created_by: string;
|
|
3549
|
-
content: string;
|
|
3550
3550
|
}[];
|
|
3551
3551
|
};
|
|
3552
3552
|
outputFormat: "json";
|
|
@@ -3597,21 +3597,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3597
3597
|
output: {
|
|
3598
3598
|
success: true;
|
|
3599
3599
|
service: {
|
|
3600
|
-
title: string;
|
|
3601
|
-
description: string | null;
|
|
3602
3600
|
type: string | null;
|
|
3603
|
-
|
|
3604
|
-
created_at: string;
|
|
3605
|
-
workspaceId: string;
|
|
3606
|
-
updated_at: string | null;
|
|
3607
|
-
deleted_at: string | null;
|
|
3608
|
-
verified_at: string | null;
|
|
3609
|
-
suspended_at: string | null;
|
|
3601
|
+
description: string | null;
|
|
3610
3602
|
active: boolean | null;
|
|
3611
|
-
currency: string | null;
|
|
3612
|
-
price: number | null;
|
|
3613
|
-
created_by: string | null;
|
|
3614
|
-
renovation: string | null;
|
|
3615
3603
|
fullPayment: boolean | null;
|
|
3616
3604
|
mortgagePayment: boolean | null;
|
|
3617
3605
|
installmentPayment: boolean | null;
|
|
@@ -3623,6 +3611,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3623
3611
|
housingType: string | null;
|
|
3624
3612
|
commercialType: string | null;
|
|
3625
3613
|
landType: string | null;
|
|
3614
|
+
title: string;
|
|
3615
|
+
currency: string | null;
|
|
3616
|
+
price: number | null;
|
|
3626
3617
|
propertyStatus: string | null;
|
|
3627
3618
|
dealType: string | null;
|
|
3628
3619
|
listingStatus: string | null;
|
|
@@ -3639,9 +3630,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3639
3630
|
seprateEntrance: boolean | null;
|
|
3640
3631
|
furnishedType: string | null;
|
|
3641
3632
|
parkingType: string | null;
|
|
3633
|
+
otherFeatures: string | null;
|
|
3642
3634
|
balconyAccess: boolean | null;
|
|
3643
3635
|
loggiaAccess: boolean | null;
|
|
3644
|
-
|
|
3636
|
+
developerName: string | null;
|
|
3637
|
+
estimatedDeliveryDate: string | null;
|
|
3645
3638
|
pricePerSquareMeter: number | null;
|
|
3646
3639
|
agencyCommission: number | null;
|
|
3647
3640
|
agencyCommissionType: string | null;
|
|
@@ -3651,7 +3644,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3651
3644
|
alternativeEURCurrency: boolean | null;
|
|
3652
3645
|
alternativeRUBCurrency: boolean | null;
|
|
3653
3646
|
alternativeUSDCurrency: boolean | null;
|
|
3654
|
-
estimatedDeliveryDate: string | null;
|
|
3655
3647
|
bathroomsCount: number | null;
|
|
3656
3648
|
bedroomsCount: number | null;
|
|
3657
3649
|
totalArea: number | null;
|
|
@@ -3661,17 +3653,31 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3661
3653
|
floor: number | null;
|
|
3662
3654
|
totalFloors: number | null;
|
|
3663
3655
|
yearBuilt: string | null;
|
|
3664
|
-
|
|
3656
|
+
renovation: string | null;
|
|
3665
3657
|
city: string | null;
|
|
3666
3658
|
district: string | null;
|
|
3667
3659
|
nearestMetroStation: string | null;
|
|
3668
3660
|
fullAddress: string | null;
|
|
3669
3661
|
latitude: string | null;
|
|
3670
3662
|
longitude: string | null;
|
|
3663
|
+
id: string;
|
|
3664
|
+
created_at: string;
|
|
3665
|
+
workspaceId: string;
|
|
3666
|
+
updated_at: string | null;
|
|
3667
|
+
deleted_at: string | null;
|
|
3668
|
+
verified_at: string | null;
|
|
3669
|
+
suspended_at: string | null;
|
|
3670
|
+
created_by: string | null;
|
|
3671
3671
|
}[] | {
|
|
3672
3672
|
title: string;
|
|
3673
|
-
description: string | null;
|
|
3674
3673
|
type: string | null;
|
|
3674
|
+
description: string | null;
|
|
3675
|
+
name: string;
|
|
3676
|
+
active: boolean | null;
|
|
3677
|
+
stock: number | null;
|
|
3678
|
+
currency: string | null;
|
|
3679
|
+
price: number | null;
|
|
3680
|
+
qrCode: string | null;
|
|
3675
3681
|
id: string;
|
|
3676
3682
|
created_at: string;
|
|
3677
3683
|
workspaceId: string;
|
|
@@ -3679,13 +3685,139 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3679
3685
|
deleted_at: string | null;
|
|
3680
3686
|
verified_at: string | null;
|
|
3681
3687
|
suspended_at: string | null;
|
|
3688
|
+
created_by: string | null;
|
|
3689
|
+
}[] | {
|
|
3690
|
+
type: string | null;
|
|
3691
|
+
description: string | null;
|
|
3682
3692
|
name: string;
|
|
3683
3693
|
active: boolean | null;
|
|
3694
|
+
stock: number | null;
|
|
3684
3695
|
currency: string | null;
|
|
3685
3696
|
price: number | null;
|
|
3697
|
+
qrCode: string | null;
|
|
3698
|
+
id: string;
|
|
3699
|
+
created_at: string;
|
|
3700
|
+
workspaceId: string;
|
|
3701
|
+
updated_at: string | null;
|
|
3702
|
+
deleted_at: string | null;
|
|
3703
|
+
verified_at: string | null;
|
|
3704
|
+
suspended_at: string | null;
|
|
3686
3705
|
created_by: string | null;
|
|
3706
|
+
status: string | null;
|
|
3707
|
+
expiresAt: string | null;
|
|
3708
|
+
address: string | null;
|
|
3709
|
+
city: string | null;
|
|
3710
|
+
district: string | null;
|
|
3711
|
+
latitude: number | null;
|
|
3712
|
+
longitude: number | null;
|
|
3713
|
+
goals: string[] | null;
|
|
3714
|
+
level: string | null;
|
|
3715
|
+
media: string[] | null;
|
|
3716
|
+
publishTags: string[] | null;
|
|
3717
|
+
publishPlatforms: string[] | null;
|
|
3718
|
+
publishedAt: string | null;
|
|
3719
|
+
serviceType: string | null;
|
|
3720
|
+
billingPeriod: string | null;
|
|
3721
|
+
sessionsIncluded: number | "unlimited" | null;
|
|
3722
|
+
validityDays: number | null;
|
|
3723
|
+
visitTime: string | null;
|
|
3724
|
+
freezeDays: number | null;
|
|
3725
|
+
freezeTimes: number | null;
|
|
3726
|
+
discounts: {
|
|
3727
|
+
type: string;
|
|
3728
|
+
price?: number | null | undefined;
|
|
3729
|
+
}[] | null;
|
|
3730
|
+
autoRenew: boolean | null;
|
|
3731
|
+
sessionRollover: boolean | null;
|
|
3732
|
+
autoRenewProvider: string | null;
|
|
3733
|
+
commissionModel: string | null;
|
|
3734
|
+
commissionRate: number | null;
|
|
3735
|
+
coachId: string | null;
|
|
3736
|
+
sessionLengthMinutes: number | null;
|
|
3737
|
+
capacity: number | null;
|
|
3738
|
+
hall: string | null;
|
|
3739
|
+
scheduleDays: string[] | null;
|
|
3740
|
+
scheduleTime: string | null;
|
|
3741
|
+
onlineBookingChannels: string[] | null;
|
|
3742
|
+
waitingList: boolean | null;
|
|
3743
|
+
location: string | null;
|
|
3744
|
+
equipment: string[] | null;
|
|
3745
|
+
medicalClearanceRequired: boolean | null;
|
|
3746
|
+
title: string;
|
|
3747
|
+
createdBy: {
|
|
3748
|
+
id: string;
|
|
3749
|
+
firstName: string | null;
|
|
3750
|
+
lastName: string | null;
|
|
3751
|
+
profilePicture: string | null;
|
|
3752
|
+
} | null;
|
|
3753
|
+
tags: {
|
|
3754
|
+
id: string;
|
|
3755
|
+
name: string;
|
|
3756
|
+
description: string | null;
|
|
3757
|
+
}[];
|
|
3758
|
+
}[] | {
|
|
3759
|
+
type: string | null;
|
|
3760
|
+
description: string | null;
|
|
3761
|
+
name: string;
|
|
3762
|
+
active: boolean | null;
|
|
3687
3763
|
stock: number | null;
|
|
3764
|
+
currency: string | null;
|
|
3765
|
+
price: number | null;
|
|
3688
3766
|
qrCode: string | null;
|
|
3767
|
+
id: string;
|
|
3768
|
+
created_at: string;
|
|
3769
|
+
workspaceId: string;
|
|
3770
|
+
updated_at: string | null;
|
|
3771
|
+
deleted_at: string | null;
|
|
3772
|
+
verified_at: string | null;
|
|
3773
|
+
suspended_at: string | null;
|
|
3774
|
+
created_by: string | null;
|
|
3775
|
+
includes: string[] | null;
|
|
3776
|
+
status: string | null;
|
|
3777
|
+
expiresAt: string | null;
|
|
3778
|
+
address: string | null;
|
|
3779
|
+
city: string | null;
|
|
3780
|
+
district: string | null;
|
|
3781
|
+
latitude: number | null;
|
|
3782
|
+
longitude: number | null;
|
|
3783
|
+
media: string[] | null;
|
|
3784
|
+
publishTags: string[] | null;
|
|
3785
|
+
publishPlatforms: string[] | null;
|
|
3786
|
+
publishedAt: string | null;
|
|
3787
|
+
serviceType: string | null;
|
|
3788
|
+
discounts: {
|
|
3789
|
+
type: string;
|
|
3790
|
+
price?: number | null | undefined;
|
|
3791
|
+
}[] | null;
|
|
3792
|
+
destination: string | null;
|
|
3793
|
+
durationDays: number | null;
|
|
3794
|
+
durationNights: number | null;
|
|
3795
|
+
difficulty: string | null;
|
|
3796
|
+
departureDate: string | null;
|
|
3797
|
+
returnDate: string | null;
|
|
3798
|
+
seatsAvailable: number | null;
|
|
3799
|
+
guideId: string | null;
|
|
3800
|
+
priceBasis: string | null;
|
|
3801
|
+
pricePerPerson: number | null;
|
|
3802
|
+
depositPercent: number | null;
|
|
3803
|
+
supplier: string | null;
|
|
3804
|
+
cancellationTerms: string | null;
|
|
3805
|
+
cancellationNotes: string | null;
|
|
3806
|
+
itinerary: string | null;
|
|
3807
|
+
specialServices: string[] | null;
|
|
3808
|
+
visaRequired: boolean | null;
|
|
3809
|
+
title: string;
|
|
3810
|
+
createdBy: {
|
|
3811
|
+
id: string;
|
|
3812
|
+
firstName: string | null;
|
|
3813
|
+
lastName: string | null;
|
|
3814
|
+
profilePicture: string | null;
|
|
3815
|
+
} | null;
|
|
3816
|
+
tags: {
|
|
3817
|
+
id: string;
|
|
3818
|
+
name: string;
|
|
3819
|
+
description: string | null;
|
|
3820
|
+
}[];
|
|
3689
3821
|
}[];
|
|
3690
3822
|
};
|
|
3691
3823
|
outputFormat: "json";
|
|
@@ -3715,6 +3847,138 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3715
3847
|
output: {
|
|
3716
3848
|
success: true;
|
|
3717
3849
|
service: {
|
|
3850
|
+
type: string | null;
|
|
3851
|
+
description: string | null;
|
|
3852
|
+
name: string;
|
|
3853
|
+
active: boolean | null;
|
|
3854
|
+
stock: number | null;
|
|
3855
|
+
currency: string | null;
|
|
3856
|
+
price: number | null;
|
|
3857
|
+
qrCode: string | null;
|
|
3858
|
+
id: string;
|
|
3859
|
+
created_at: string;
|
|
3860
|
+
workspaceId: string;
|
|
3861
|
+
updated_at: string | null;
|
|
3862
|
+
deleted_at: string | null;
|
|
3863
|
+
verified_at: string | null;
|
|
3864
|
+
suspended_at: string | null;
|
|
3865
|
+
created_by: string | null;
|
|
3866
|
+
status: string | null;
|
|
3867
|
+
expiresAt: string | null;
|
|
3868
|
+
address: string | null;
|
|
3869
|
+
city: string | null;
|
|
3870
|
+
district: string | null;
|
|
3871
|
+
latitude: number | null;
|
|
3872
|
+
longitude: number | null;
|
|
3873
|
+
goals: string[] | null;
|
|
3874
|
+
level: string | null;
|
|
3875
|
+
media: string[] | null;
|
|
3876
|
+
publishTags: string[] | null;
|
|
3877
|
+
publishPlatforms: string[] | null;
|
|
3878
|
+
publishedAt: string | null;
|
|
3879
|
+
serviceType: string | null;
|
|
3880
|
+
billingPeriod: string | null;
|
|
3881
|
+
sessionsIncluded: number | "unlimited" | null;
|
|
3882
|
+
validityDays: number | null;
|
|
3883
|
+
visitTime: string | null;
|
|
3884
|
+
freezeDays: number | null;
|
|
3885
|
+
freezeTimes: number | null;
|
|
3886
|
+
discounts: {
|
|
3887
|
+
type: string;
|
|
3888
|
+
price?: number | null | undefined;
|
|
3889
|
+
}[] | null;
|
|
3890
|
+
autoRenew: boolean | null;
|
|
3891
|
+
sessionRollover: boolean | null;
|
|
3892
|
+
autoRenewProvider: string | null;
|
|
3893
|
+
commissionModel: string | null;
|
|
3894
|
+
commissionRate: number | null;
|
|
3895
|
+
coachId: string | null;
|
|
3896
|
+
sessionLengthMinutes: number | null;
|
|
3897
|
+
capacity: number | null;
|
|
3898
|
+
hall: string | null;
|
|
3899
|
+
scheduleDays: string[] | null;
|
|
3900
|
+
scheduleTime: string | null;
|
|
3901
|
+
onlineBookingChannels: string[] | null;
|
|
3902
|
+
waitingList: boolean | null;
|
|
3903
|
+
location: string | null;
|
|
3904
|
+
equipment: string[] | null;
|
|
3905
|
+
medicalClearanceRequired: boolean | null;
|
|
3906
|
+
title: string;
|
|
3907
|
+
createdBy: {
|
|
3908
|
+
id: string;
|
|
3909
|
+
firstName: string | null;
|
|
3910
|
+
lastName: string | null;
|
|
3911
|
+
profilePicture: string | null;
|
|
3912
|
+
} | null;
|
|
3913
|
+
tags: {
|
|
3914
|
+
id: string;
|
|
3915
|
+
name: string;
|
|
3916
|
+
description: string | null;
|
|
3917
|
+
}[];
|
|
3918
|
+
}[] | {
|
|
3919
|
+
type: string | null;
|
|
3920
|
+
description: string | null;
|
|
3921
|
+
name: string;
|
|
3922
|
+
active: boolean | null;
|
|
3923
|
+
stock: number | null;
|
|
3924
|
+
currency: string | null;
|
|
3925
|
+
price: number | null;
|
|
3926
|
+
qrCode: string | null;
|
|
3927
|
+
id: string;
|
|
3928
|
+
created_at: string;
|
|
3929
|
+
workspaceId: string;
|
|
3930
|
+
updated_at: string | null;
|
|
3931
|
+
deleted_at: string | null;
|
|
3932
|
+
verified_at: string | null;
|
|
3933
|
+
suspended_at: string | null;
|
|
3934
|
+
created_by: string | null;
|
|
3935
|
+
includes: string[] | null;
|
|
3936
|
+
status: string | null;
|
|
3937
|
+
expiresAt: string | null;
|
|
3938
|
+
address: string | null;
|
|
3939
|
+
city: string | null;
|
|
3940
|
+
district: string | null;
|
|
3941
|
+
latitude: number | null;
|
|
3942
|
+
longitude: number | null;
|
|
3943
|
+
media: string[] | null;
|
|
3944
|
+
publishTags: string[] | null;
|
|
3945
|
+
publishPlatforms: string[] | null;
|
|
3946
|
+
publishedAt: string | null;
|
|
3947
|
+
serviceType: string | null;
|
|
3948
|
+
discounts: {
|
|
3949
|
+
type: string;
|
|
3950
|
+
price?: number | null | undefined;
|
|
3951
|
+
}[] | null;
|
|
3952
|
+
destination: string | null;
|
|
3953
|
+
durationDays: number | null;
|
|
3954
|
+
durationNights: number | null;
|
|
3955
|
+
difficulty: string | null;
|
|
3956
|
+
departureDate: string | null;
|
|
3957
|
+
returnDate: string | null;
|
|
3958
|
+
seatsAvailable: number | null;
|
|
3959
|
+
guideId: string | null;
|
|
3960
|
+
priceBasis: string | null;
|
|
3961
|
+
pricePerPerson: number | null;
|
|
3962
|
+
depositPercent: number | null;
|
|
3963
|
+
supplier: string | null;
|
|
3964
|
+
cancellationTerms: string | null;
|
|
3965
|
+
cancellationNotes: string | null;
|
|
3966
|
+
itinerary: string | null;
|
|
3967
|
+
specialServices: string[] | null;
|
|
3968
|
+
visaRequired: boolean | null;
|
|
3969
|
+
title: string;
|
|
3970
|
+
createdBy: {
|
|
3971
|
+
id: string;
|
|
3972
|
+
firstName: string | null;
|
|
3973
|
+
lastName: string | null;
|
|
3974
|
+
profilePicture: string | null;
|
|
3975
|
+
} | null;
|
|
3976
|
+
tags: {
|
|
3977
|
+
id: string;
|
|
3978
|
+
name: string;
|
|
3979
|
+
description: string | null;
|
|
3980
|
+
}[];
|
|
3981
|
+
}[] | {
|
|
3718
3982
|
updated_at: string | null;
|
|
3719
3983
|
deleted_at: string | null;
|
|
3720
3984
|
verified_at: string | null;
|
|
@@ -3833,6 +4097,63 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3833
4097
|
output: {
|
|
3834
4098
|
success: true;
|
|
3835
4099
|
services: {
|
|
4100
|
+
type: string | null;
|
|
4101
|
+
description: string | null;
|
|
4102
|
+
name: string;
|
|
4103
|
+
active: boolean | null;
|
|
4104
|
+
stock: number | null;
|
|
4105
|
+
currency: string | null;
|
|
4106
|
+
price: number | null;
|
|
4107
|
+
qrCode: string | null;
|
|
4108
|
+
id: string;
|
|
4109
|
+
created_at: string;
|
|
4110
|
+
workspaceId: string;
|
|
4111
|
+
updated_at: string | null;
|
|
4112
|
+
deleted_at: string | null;
|
|
4113
|
+
verified_at: string | null;
|
|
4114
|
+
suspended_at: string | null;
|
|
4115
|
+
created_by: string | null;
|
|
4116
|
+
status: string | null;
|
|
4117
|
+
expiresAt: string | null;
|
|
4118
|
+
address: string | null;
|
|
4119
|
+
city: string | null;
|
|
4120
|
+
district: string | null;
|
|
4121
|
+
latitude: number | null;
|
|
4122
|
+
longitude: number | null;
|
|
4123
|
+
goals: string[] | null;
|
|
4124
|
+
level: string | null;
|
|
4125
|
+
media: string[] | null;
|
|
4126
|
+
publishTags: string[] | null;
|
|
4127
|
+
publishPlatforms: string[] | null;
|
|
4128
|
+
publishedAt: string | null;
|
|
4129
|
+
serviceType: string | null;
|
|
4130
|
+
billingPeriod: string | null;
|
|
4131
|
+
sessionsIncluded: number | "unlimited" | null;
|
|
4132
|
+
validityDays: number | null;
|
|
4133
|
+
visitTime: string | null;
|
|
4134
|
+
freezeDays: number | null;
|
|
4135
|
+
freezeTimes: number | null;
|
|
4136
|
+
discounts: {
|
|
4137
|
+
type: string;
|
|
4138
|
+
price?: number | null | undefined;
|
|
4139
|
+
}[] | null;
|
|
4140
|
+
autoRenew: boolean | null;
|
|
4141
|
+
sessionRollover: boolean | null;
|
|
4142
|
+
autoRenewProvider: string | null;
|
|
4143
|
+
commissionModel: string | null;
|
|
4144
|
+
commissionRate: number | null;
|
|
4145
|
+
coachId: string | null;
|
|
4146
|
+
sessionLengthMinutes: number | null;
|
|
4147
|
+
capacity: number | null;
|
|
4148
|
+
hall: string | null;
|
|
4149
|
+
scheduleDays: string[] | null;
|
|
4150
|
+
scheduleTime: string | null;
|
|
4151
|
+
onlineBookingChannels: string[] | null;
|
|
4152
|
+
waitingList: boolean | null;
|
|
4153
|
+
location: string | null;
|
|
4154
|
+
equipment: string[] | null;
|
|
4155
|
+
medicalClearanceRequired: boolean | null;
|
|
4156
|
+
title: string;
|
|
3836
4157
|
createdBy: {
|
|
3837
4158
|
id: string;
|
|
3838
4159
|
firstName: string | null;
|
|
@@ -3844,22 +4165,97 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3844
4165
|
name: string;
|
|
3845
4166
|
description: string | null;
|
|
3846
4167
|
}[];
|
|
4168
|
+
}[] | {
|
|
4169
|
+
type: string | null;
|
|
4170
|
+
description: string | null;
|
|
4171
|
+
name: string;
|
|
4172
|
+
active: boolean | null;
|
|
4173
|
+
stock: number | null;
|
|
4174
|
+
currency: string | null;
|
|
4175
|
+
price: number | null;
|
|
4176
|
+
qrCode: string | null;
|
|
4177
|
+
id: string;
|
|
4178
|
+
created_at: string;
|
|
4179
|
+
workspaceId: string;
|
|
3847
4180
|
updated_at: string | null;
|
|
3848
4181
|
deleted_at: string | null;
|
|
3849
4182
|
verified_at: string | null;
|
|
3850
4183
|
suspended_at: string | null;
|
|
3851
|
-
created_at: string;
|
|
3852
|
-
id: string;
|
|
3853
|
-
workspaceId: string;
|
|
3854
4184
|
created_by: string | null;
|
|
4185
|
+
includes: string[] | null;
|
|
4186
|
+
status: string | null;
|
|
4187
|
+
expiresAt: string | null;
|
|
4188
|
+
address: string | null;
|
|
4189
|
+
city: string | null;
|
|
4190
|
+
district: string | null;
|
|
4191
|
+
latitude: number | null;
|
|
4192
|
+
longitude: number | null;
|
|
4193
|
+
media: string[] | null;
|
|
4194
|
+
publishTags: string[] | null;
|
|
4195
|
+
publishPlatforms: string[] | null;
|
|
4196
|
+
publishedAt: string | null;
|
|
4197
|
+
serviceType: string | null;
|
|
4198
|
+
discounts: {
|
|
4199
|
+
type: string;
|
|
4200
|
+
price?: number | null | undefined;
|
|
4201
|
+
}[] | null;
|
|
4202
|
+
destination: string | null;
|
|
4203
|
+
durationDays: number | null;
|
|
4204
|
+
durationNights: number | null;
|
|
4205
|
+
difficulty: string | null;
|
|
4206
|
+
departureDate: string | null;
|
|
4207
|
+
returnDate: string | null;
|
|
4208
|
+
seatsAvailable: number | null;
|
|
4209
|
+
guideId: string | null;
|
|
4210
|
+
priceBasis: string | null;
|
|
4211
|
+
pricePerPerson: number | null;
|
|
4212
|
+
depositPercent: number | null;
|
|
4213
|
+
supplier: string | null;
|
|
4214
|
+
cancellationTerms: string | null;
|
|
4215
|
+
cancellationNotes: string | null;
|
|
4216
|
+
itinerary: string | null;
|
|
4217
|
+
specialServices: string[] | null;
|
|
4218
|
+
visaRequired: boolean | null;
|
|
3855
4219
|
title: string;
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
4220
|
+
createdBy: {
|
|
4221
|
+
id: string;
|
|
4222
|
+
firstName: string | null;
|
|
4223
|
+
lastName: string | null;
|
|
4224
|
+
profilePicture: string | null;
|
|
4225
|
+
} | null;
|
|
4226
|
+
tags: {
|
|
4227
|
+
id: string;
|
|
4228
|
+
name: string;
|
|
4229
|
+
description: string | null;
|
|
4230
|
+
}[];
|
|
4231
|
+
}[] | {
|
|
4232
|
+
createdBy: {
|
|
4233
|
+
id: string;
|
|
4234
|
+
firstName: string | null;
|
|
4235
|
+
lastName: string | null;
|
|
4236
|
+
profilePicture: string | null;
|
|
4237
|
+
} | null;
|
|
4238
|
+
tags: {
|
|
4239
|
+
id: string;
|
|
4240
|
+
name: string;
|
|
4241
|
+
description: string | null;
|
|
4242
|
+
}[];
|
|
4243
|
+
updated_at: string | null;
|
|
4244
|
+
deleted_at: string | null;
|
|
4245
|
+
verified_at: string | null;
|
|
4246
|
+
suspended_at: string | null;
|
|
4247
|
+
created_at: string;
|
|
4248
|
+
id: string;
|
|
4249
|
+
workspaceId: string;
|
|
4250
|
+
created_by: string | null;
|
|
4251
|
+
title: string;
|
|
4252
|
+
active: boolean | null;
|
|
4253
|
+
type: string | null;
|
|
4254
|
+
currency: string | null;
|
|
4255
|
+
description: string | null;
|
|
4256
|
+
price: number | null;
|
|
4257
|
+
propertyType: string | null;
|
|
4258
|
+
propertyStatus: string | null;
|
|
3863
4259
|
dealType: string | null;
|
|
3864
4260
|
listingStatus: string | null;
|
|
3865
4261
|
priceUnit: string | null;
|
|
@@ -3991,6 +4387,138 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3991
4387
|
output: {
|
|
3992
4388
|
success: true;
|
|
3993
4389
|
service: {
|
|
4390
|
+
type: string | null;
|
|
4391
|
+
description: string | null;
|
|
4392
|
+
name: string;
|
|
4393
|
+
active: boolean | null;
|
|
4394
|
+
stock: number | null;
|
|
4395
|
+
currency: string | null;
|
|
4396
|
+
price: number | null;
|
|
4397
|
+
qrCode: string | null;
|
|
4398
|
+
id: string;
|
|
4399
|
+
created_at: string;
|
|
4400
|
+
workspaceId: string;
|
|
4401
|
+
updated_at: string | null;
|
|
4402
|
+
deleted_at: string | null;
|
|
4403
|
+
verified_at: string | null;
|
|
4404
|
+
suspended_at: string | null;
|
|
4405
|
+
created_by: string | null;
|
|
4406
|
+
status: string | null;
|
|
4407
|
+
expiresAt: string | null;
|
|
4408
|
+
address: string | null;
|
|
4409
|
+
city: string | null;
|
|
4410
|
+
district: string | null;
|
|
4411
|
+
latitude: number | null;
|
|
4412
|
+
longitude: number | null;
|
|
4413
|
+
goals: string[] | null;
|
|
4414
|
+
level: string | null;
|
|
4415
|
+
media: string[] | null;
|
|
4416
|
+
publishTags: string[] | null;
|
|
4417
|
+
publishPlatforms: string[] | null;
|
|
4418
|
+
publishedAt: string | null;
|
|
4419
|
+
serviceType: string | null;
|
|
4420
|
+
billingPeriod: string | null;
|
|
4421
|
+
sessionsIncluded: number | "unlimited" | null;
|
|
4422
|
+
validityDays: number | null;
|
|
4423
|
+
visitTime: string | null;
|
|
4424
|
+
freezeDays: number | null;
|
|
4425
|
+
freezeTimes: number | null;
|
|
4426
|
+
discounts: {
|
|
4427
|
+
type: string;
|
|
4428
|
+
price?: number | null | undefined;
|
|
4429
|
+
}[] | null;
|
|
4430
|
+
autoRenew: boolean | null;
|
|
4431
|
+
sessionRollover: boolean | null;
|
|
4432
|
+
autoRenewProvider: string | null;
|
|
4433
|
+
commissionModel: string | null;
|
|
4434
|
+
commissionRate: number | null;
|
|
4435
|
+
coachId: string | null;
|
|
4436
|
+
sessionLengthMinutes: number | null;
|
|
4437
|
+
capacity: number | null;
|
|
4438
|
+
hall: string | null;
|
|
4439
|
+
scheduleDays: string[] | null;
|
|
4440
|
+
scheduleTime: string | null;
|
|
4441
|
+
onlineBookingChannels: string[] | null;
|
|
4442
|
+
waitingList: boolean | null;
|
|
4443
|
+
location: string | null;
|
|
4444
|
+
equipment: string[] | null;
|
|
4445
|
+
medicalClearanceRequired: boolean | null;
|
|
4446
|
+
title: string;
|
|
4447
|
+
createdBy: {
|
|
4448
|
+
id: string;
|
|
4449
|
+
firstName: string | null;
|
|
4450
|
+
lastName: string | null;
|
|
4451
|
+
profilePicture: string | null;
|
|
4452
|
+
} | null;
|
|
4453
|
+
tags: {
|
|
4454
|
+
id: string;
|
|
4455
|
+
name: string;
|
|
4456
|
+
description: string | null;
|
|
4457
|
+
}[];
|
|
4458
|
+
} | {
|
|
4459
|
+
type: string | null;
|
|
4460
|
+
description: string | null;
|
|
4461
|
+
name: string;
|
|
4462
|
+
active: boolean | null;
|
|
4463
|
+
stock: number | null;
|
|
4464
|
+
currency: string | null;
|
|
4465
|
+
price: number | null;
|
|
4466
|
+
qrCode: string | null;
|
|
4467
|
+
id: string;
|
|
4468
|
+
created_at: string;
|
|
4469
|
+
workspaceId: string;
|
|
4470
|
+
updated_at: string | null;
|
|
4471
|
+
deleted_at: string | null;
|
|
4472
|
+
verified_at: string | null;
|
|
4473
|
+
suspended_at: string | null;
|
|
4474
|
+
created_by: string | null;
|
|
4475
|
+
includes: string[] | null;
|
|
4476
|
+
status: string | null;
|
|
4477
|
+
expiresAt: string | null;
|
|
4478
|
+
address: string | null;
|
|
4479
|
+
city: string | null;
|
|
4480
|
+
district: string | null;
|
|
4481
|
+
latitude: number | null;
|
|
4482
|
+
longitude: number | null;
|
|
4483
|
+
media: string[] | null;
|
|
4484
|
+
publishTags: string[] | null;
|
|
4485
|
+
publishPlatforms: string[] | null;
|
|
4486
|
+
publishedAt: string | null;
|
|
4487
|
+
serviceType: string | null;
|
|
4488
|
+
discounts: {
|
|
4489
|
+
type: string;
|
|
4490
|
+
price?: number | null | undefined;
|
|
4491
|
+
}[] | null;
|
|
4492
|
+
destination: string | null;
|
|
4493
|
+
durationDays: number | null;
|
|
4494
|
+
durationNights: number | null;
|
|
4495
|
+
difficulty: string | null;
|
|
4496
|
+
departureDate: string | null;
|
|
4497
|
+
returnDate: string | null;
|
|
4498
|
+
seatsAvailable: number | null;
|
|
4499
|
+
guideId: string | null;
|
|
4500
|
+
priceBasis: string | null;
|
|
4501
|
+
pricePerPerson: number | null;
|
|
4502
|
+
depositPercent: number | null;
|
|
4503
|
+
supplier: string | null;
|
|
4504
|
+
cancellationTerms: string | null;
|
|
4505
|
+
cancellationNotes: string | null;
|
|
4506
|
+
itinerary: string | null;
|
|
4507
|
+
specialServices: string[] | null;
|
|
4508
|
+
visaRequired: boolean | null;
|
|
4509
|
+
title: string;
|
|
4510
|
+
createdBy: {
|
|
4511
|
+
id: string;
|
|
4512
|
+
firstName: string | null;
|
|
4513
|
+
lastName: string | null;
|
|
4514
|
+
profilePicture: string | null;
|
|
4515
|
+
} | null;
|
|
4516
|
+
tags: {
|
|
4517
|
+
id: string;
|
|
4518
|
+
name: string;
|
|
4519
|
+
description: string | null;
|
|
4520
|
+
}[];
|
|
4521
|
+
} | {
|
|
3994
4522
|
createdBy: {
|
|
3995
4523
|
id: string;
|
|
3996
4524
|
firstName: string | null;
|
|
@@ -4189,20 +4717,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4189
4717
|
success: true;
|
|
4190
4718
|
customer: {
|
|
4191
4719
|
type: string | null;
|
|
4192
|
-
id: string;
|
|
4193
|
-
created_at: string;
|
|
4194
|
-
workspaceId: string;
|
|
4195
|
-
updated_at: string | null;
|
|
4196
|
-
deleted_at: string | null;
|
|
4197
|
-
verified_at: string | null;
|
|
4198
|
-
suspended_at: string | null;
|
|
4199
|
-
name: string;
|
|
4200
4720
|
email: string | null;
|
|
4721
|
+
name: string;
|
|
4722
|
+
companyName: string | null;
|
|
4201
4723
|
phone: string | null;
|
|
4202
|
-
created_by: string | null;
|
|
4203
4724
|
telegram: string | null;
|
|
4204
4725
|
whatsapp: string | null;
|
|
4205
|
-
companyName: string | null;
|
|
4206
4726
|
instagram: string | null;
|
|
4207
4727
|
vk: string | null;
|
|
4208
4728
|
igSynapseId: string | null;
|
|
@@ -4230,20 +4750,38 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4230
4750
|
landType: string | null;
|
|
4231
4751
|
maxMetroDistance: number | null;
|
|
4232
4752
|
dealStatus: string | null;
|
|
4753
|
+
childrenCount: number | null;
|
|
4754
|
+
hasPets: boolean | null;
|
|
4755
|
+
carsCount: number | null;
|
|
4756
|
+
birthDate: string | null;
|
|
4757
|
+
notes: string | null;
|
|
4233
4758
|
preferredPaymentMethod: string | null;
|
|
4234
4759
|
preferredCurrency: string | null;
|
|
4235
4760
|
mortgageBank: string | null;
|
|
4236
4761
|
mortgageApprovedAmount: number | null;
|
|
4237
4762
|
mortgageDownPayment: number | null;
|
|
4238
4763
|
maternityCapital: number | null;
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4764
|
+
id: string;
|
|
4765
|
+
created_at: string;
|
|
4766
|
+
workspaceId: string;
|
|
4767
|
+
updated_at: string | null;
|
|
4768
|
+
deleted_at: string | null;
|
|
4769
|
+
verified_at: string | null;
|
|
4770
|
+
suspended_at: string | null;
|
|
4771
|
+
created_by: string | null;
|
|
4244
4772
|
}[] | {
|
|
4245
|
-
description: string | null;
|
|
4246
4773
|
type: string | null;
|
|
4774
|
+
email: string | null;
|
|
4775
|
+
description: string | null;
|
|
4776
|
+
name: string;
|
|
4777
|
+
active: boolean | null;
|
|
4778
|
+
phone: string | null;
|
|
4779
|
+
website: string | null;
|
|
4780
|
+
birthDate: string | null;
|
|
4781
|
+
companyPhone: string | null;
|
|
4782
|
+
companyAddress: string | null;
|
|
4783
|
+
address: string | null;
|
|
4784
|
+
utmSource: string | null;
|
|
4247
4785
|
id: string;
|
|
4248
4786
|
created_at: string;
|
|
4249
4787
|
workspaceId: string;
|
|
@@ -4251,17 +4789,103 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4251
4789
|
deleted_at: string | null;
|
|
4252
4790
|
verified_at: string | null;
|
|
4253
4791
|
suspended_at: string | null;
|
|
4792
|
+
created_by: string | null;
|
|
4793
|
+
}[] | {
|
|
4794
|
+
type: string | null;
|
|
4795
|
+
email: string | null;
|
|
4796
|
+
description: string | null;
|
|
4254
4797
|
name: string;
|
|
4255
4798
|
active: boolean | null;
|
|
4256
|
-
email: string | null;
|
|
4257
4799
|
phone: string | null;
|
|
4258
|
-
|
|
4800
|
+
website: string | null;
|
|
4801
|
+
birthDate: string | null;
|
|
4802
|
+
companyPhone: string | null;
|
|
4803
|
+
companyAddress: string | null;
|
|
4259
4804
|
address: string | null;
|
|
4805
|
+
utmSource: string | null;
|
|
4806
|
+
id: string;
|
|
4807
|
+
created_at: string;
|
|
4808
|
+
workspaceId: string;
|
|
4809
|
+
updated_at: string | null;
|
|
4810
|
+
deleted_at: string | null;
|
|
4811
|
+
verified_at: string | null;
|
|
4812
|
+
suspended_at: string | null;
|
|
4813
|
+
created_by: string | null;
|
|
4814
|
+
telegram: string | null;
|
|
4815
|
+
whatsapp: string | null;
|
|
4816
|
+
clientId: string | null;
|
|
4817
|
+
gender: string | null;
|
|
4818
|
+
accessCardNumber: string | null;
|
|
4819
|
+
emergencyContactName: string | null;
|
|
4820
|
+
emergencyContactPhone: string | null;
|
|
4821
|
+
membershipStatus: string | null;
|
|
4822
|
+
goals: string[] | null;
|
|
4823
|
+
level: string | null;
|
|
4824
|
+
preferredCoach: string | null;
|
|
4825
|
+
preferredPayments: string[] | null;
|
|
4826
|
+
healthNotes: string | null;
|
|
4827
|
+
medicalClearanceUntil: string | null;
|
|
4828
|
+
createdBy: {
|
|
4829
|
+
id: string;
|
|
4830
|
+
firstName: string | null;
|
|
4831
|
+
lastName: string | null;
|
|
4832
|
+
profilePicture: string | null;
|
|
4833
|
+
} | null;
|
|
4834
|
+
tags: {
|
|
4835
|
+
id: string;
|
|
4836
|
+
name: string;
|
|
4837
|
+
description: string | null;
|
|
4838
|
+
}[];
|
|
4839
|
+
}[] | {
|
|
4840
|
+
type: string | null;
|
|
4841
|
+
email: string | null;
|
|
4842
|
+
description: string | null;
|
|
4843
|
+
name: string;
|
|
4844
|
+
active: boolean | null;
|
|
4845
|
+
phone: string | null;
|
|
4260
4846
|
website: string | null;
|
|
4261
4847
|
birthDate: string | null;
|
|
4262
4848
|
companyPhone: string | null;
|
|
4263
4849
|
companyAddress: string | null;
|
|
4850
|
+
address: string | null;
|
|
4264
4851
|
utmSource: string | null;
|
|
4852
|
+
id: string;
|
|
4853
|
+
created_at: string;
|
|
4854
|
+
workspaceId: string;
|
|
4855
|
+
updated_at: string | null;
|
|
4856
|
+
deleted_at: string | null;
|
|
4857
|
+
verified_at: string | null;
|
|
4858
|
+
suspended_at: string | null;
|
|
4859
|
+
created_by: string | null;
|
|
4860
|
+
telegram: string | null;
|
|
4861
|
+
whatsapp: string | null;
|
|
4862
|
+
preferredCurrency: string | null;
|
|
4863
|
+
insurance: string | null;
|
|
4864
|
+
preferredPayments: string[] | null;
|
|
4865
|
+
inn: string | null;
|
|
4866
|
+
kpp: string | null;
|
|
4867
|
+
ogrn: string | null;
|
|
4868
|
+
passportNumber: string | null;
|
|
4869
|
+
passportExpiry: string | null;
|
|
4870
|
+
travelStatus: string | null;
|
|
4871
|
+
destinations: string[] | null;
|
|
4872
|
+
travelDates: string | null;
|
|
4873
|
+
travellersAdults: number | null;
|
|
4874
|
+
travellersChildren: number | null;
|
|
4875
|
+
hotelPreference: string | null;
|
|
4876
|
+
budget: number | null;
|
|
4877
|
+
visaStatus: string | null;
|
|
4878
|
+
createdBy: {
|
|
4879
|
+
id: string;
|
|
4880
|
+
firstName: string | null;
|
|
4881
|
+
lastName: string | null;
|
|
4882
|
+
profilePicture: string | null;
|
|
4883
|
+
} | null;
|
|
4884
|
+
tags: {
|
|
4885
|
+
id: string;
|
|
4886
|
+
name: string;
|
|
4887
|
+
description: string | null;
|
|
4888
|
+
}[];
|
|
4265
4889
|
}[];
|
|
4266
4890
|
};
|
|
4267
4891
|
outputFormat: "json";
|
|
@@ -4401,6 +5025,104 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4401
5025
|
birthDate: string | null;
|
|
4402
5026
|
utmSource: string | null;
|
|
4403
5027
|
created_by: string | null;
|
|
5028
|
+
}[] | {
|
|
5029
|
+
type: string | null;
|
|
5030
|
+
email: string | null;
|
|
5031
|
+
description: string | null;
|
|
5032
|
+
name: string;
|
|
5033
|
+
active: boolean | null;
|
|
5034
|
+
phone: string | null;
|
|
5035
|
+
website: string | null;
|
|
5036
|
+
birthDate: string | null;
|
|
5037
|
+
companyPhone: string | null;
|
|
5038
|
+
companyAddress: string | null;
|
|
5039
|
+
address: string | null;
|
|
5040
|
+
utmSource: string | null;
|
|
5041
|
+
id: string;
|
|
5042
|
+
created_at: string;
|
|
5043
|
+
workspaceId: string;
|
|
5044
|
+
updated_at: string | null;
|
|
5045
|
+
deleted_at: string | null;
|
|
5046
|
+
verified_at: string | null;
|
|
5047
|
+
suspended_at: string | null;
|
|
5048
|
+
created_by: string | null;
|
|
5049
|
+
telegram: string | null;
|
|
5050
|
+
whatsapp: string | null;
|
|
5051
|
+
clientId: string | null;
|
|
5052
|
+
gender: string | null;
|
|
5053
|
+
accessCardNumber: string | null;
|
|
5054
|
+
emergencyContactName: string | null;
|
|
5055
|
+
emergencyContactPhone: string | null;
|
|
5056
|
+
membershipStatus: string | null;
|
|
5057
|
+
goals: string[] | null;
|
|
5058
|
+
level: string | null;
|
|
5059
|
+
preferredCoach: string | null;
|
|
5060
|
+
preferredPayments: string[] | null;
|
|
5061
|
+
healthNotes: string | null;
|
|
5062
|
+
medicalClearanceUntil: string | null;
|
|
5063
|
+
createdBy: {
|
|
5064
|
+
id: string;
|
|
5065
|
+
firstName: string | null;
|
|
5066
|
+
lastName: string | null;
|
|
5067
|
+
profilePicture: string | null;
|
|
5068
|
+
} | null;
|
|
5069
|
+
tags: {
|
|
5070
|
+
id: string;
|
|
5071
|
+
name: string;
|
|
5072
|
+
description: string | null;
|
|
5073
|
+
}[];
|
|
5074
|
+
subscriptionEndDate: string | null;
|
|
5075
|
+
}[] | {
|
|
5076
|
+
type: string | null;
|
|
5077
|
+
email: string | null;
|
|
5078
|
+
description: string | null;
|
|
5079
|
+
name: string;
|
|
5080
|
+
active: boolean | null;
|
|
5081
|
+
phone: string | null;
|
|
5082
|
+
website: string | null;
|
|
5083
|
+
birthDate: string | null;
|
|
5084
|
+
companyPhone: string | null;
|
|
5085
|
+
companyAddress: string | null;
|
|
5086
|
+
address: string | null;
|
|
5087
|
+
utmSource: string | null;
|
|
5088
|
+
id: string;
|
|
5089
|
+
created_at: string;
|
|
5090
|
+
workspaceId: string;
|
|
5091
|
+
updated_at: string | null;
|
|
5092
|
+
deleted_at: string | null;
|
|
5093
|
+
verified_at: string | null;
|
|
5094
|
+
suspended_at: string | null;
|
|
5095
|
+
created_by: string | null;
|
|
5096
|
+
telegram: string | null;
|
|
5097
|
+
whatsapp: string | null;
|
|
5098
|
+
preferredCurrency: string | null;
|
|
5099
|
+
insurance: string | null;
|
|
5100
|
+
preferredPayments: string[] | null;
|
|
5101
|
+
inn: string | null;
|
|
5102
|
+
kpp: string | null;
|
|
5103
|
+
ogrn: string | null;
|
|
5104
|
+
passportNumber: string | null;
|
|
5105
|
+
passportExpiry: string | null;
|
|
5106
|
+
travelStatus: string | null;
|
|
5107
|
+
destinations: string[] | null;
|
|
5108
|
+
travelDates: string | null;
|
|
5109
|
+
travellersAdults: number | null;
|
|
5110
|
+
travellersChildren: number | null;
|
|
5111
|
+
hotelPreference: string | null;
|
|
5112
|
+
budget: number | null;
|
|
5113
|
+
visaStatus: string | null;
|
|
5114
|
+
createdBy: {
|
|
5115
|
+
id: string;
|
|
5116
|
+
firstName: string | null;
|
|
5117
|
+
lastName: string | null;
|
|
5118
|
+
profilePicture: string | null;
|
|
5119
|
+
} | null;
|
|
5120
|
+
tags: {
|
|
5121
|
+
id: string;
|
|
5122
|
+
name: string;
|
|
5123
|
+
description: string | null;
|
|
5124
|
+
}[];
|
|
5125
|
+
subscriptionEndDate: string | null;
|
|
4404
5126
|
}[];
|
|
4405
5127
|
};
|
|
4406
5128
|
outputFormat: "json";
|
|
@@ -4544,6 +5266,102 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4544
5266
|
birthDate: string | null;
|
|
4545
5267
|
utmSource: string | null;
|
|
4546
5268
|
created_by: string | null;
|
|
5269
|
+
} | {
|
|
5270
|
+
type: string | null;
|
|
5271
|
+
email: string | null;
|
|
5272
|
+
description: string | null;
|
|
5273
|
+
name: string;
|
|
5274
|
+
active: boolean | null;
|
|
5275
|
+
phone: string | null;
|
|
5276
|
+
website: string | null;
|
|
5277
|
+
birthDate: string | null;
|
|
5278
|
+
companyPhone: string | null;
|
|
5279
|
+
companyAddress: string | null;
|
|
5280
|
+
address: string | null;
|
|
5281
|
+
utmSource: string | null;
|
|
5282
|
+
id: string;
|
|
5283
|
+
created_at: string;
|
|
5284
|
+
workspaceId: string;
|
|
5285
|
+
updated_at: string | null;
|
|
5286
|
+
deleted_at: string | null;
|
|
5287
|
+
verified_at: string | null;
|
|
5288
|
+
suspended_at: string | null;
|
|
5289
|
+
created_by: string | null;
|
|
5290
|
+
telegram: string | null;
|
|
5291
|
+
whatsapp: string | null;
|
|
5292
|
+
clientId: string | null;
|
|
5293
|
+
gender: string | null;
|
|
5294
|
+
accessCardNumber: string | null;
|
|
5295
|
+
emergencyContactName: string | null;
|
|
5296
|
+
emergencyContactPhone: string | null;
|
|
5297
|
+
membershipStatus: string | null;
|
|
5298
|
+
goals: string[] | null;
|
|
5299
|
+
level: string | null;
|
|
5300
|
+
preferredCoach: string | null;
|
|
5301
|
+
preferredPayments: string[] | null;
|
|
5302
|
+
healthNotes: string | null;
|
|
5303
|
+
medicalClearanceUntil: string | null;
|
|
5304
|
+
createdBy: {
|
|
5305
|
+
id: string;
|
|
5306
|
+
firstName: string | null;
|
|
5307
|
+
lastName: string | null;
|
|
5308
|
+
profilePicture: string | null;
|
|
5309
|
+
} | null;
|
|
5310
|
+
tags: {
|
|
5311
|
+
id: string;
|
|
5312
|
+
name: string;
|
|
5313
|
+
description: string | null;
|
|
5314
|
+
}[];
|
|
5315
|
+
} | {
|
|
5316
|
+
type: string | null;
|
|
5317
|
+
email: string | null;
|
|
5318
|
+
description: string | null;
|
|
5319
|
+
name: string;
|
|
5320
|
+
active: boolean | null;
|
|
5321
|
+
phone: string | null;
|
|
5322
|
+
website: string | null;
|
|
5323
|
+
birthDate: string | null;
|
|
5324
|
+
companyPhone: string | null;
|
|
5325
|
+
companyAddress: string | null;
|
|
5326
|
+
address: string | null;
|
|
5327
|
+
utmSource: string | null;
|
|
5328
|
+
id: string;
|
|
5329
|
+
created_at: string;
|
|
5330
|
+
workspaceId: string;
|
|
5331
|
+
updated_at: string | null;
|
|
5332
|
+
deleted_at: string | null;
|
|
5333
|
+
verified_at: string | null;
|
|
5334
|
+
suspended_at: string | null;
|
|
5335
|
+
created_by: string | null;
|
|
5336
|
+
telegram: string | null;
|
|
5337
|
+
whatsapp: string | null;
|
|
5338
|
+
preferredCurrency: string | null;
|
|
5339
|
+
insurance: string | null;
|
|
5340
|
+
preferredPayments: string[] | null;
|
|
5341
|
+
inn: string | null;
|
|
5342
|
+
kpp: string | null;
|
|
5343
|
+
ogrn: string | null;
|
|
5344
|
+
passportNumber: string | null;
|
|
5345
|
+
passportExpiry: string | null;
|
|
5346
|
+
travelStatus: string | null;
|
|
5347
|
+
destinations: string[] | null;
|
|
5348
|
+
travelDates: string | null;
|
|
5349
|
+
travellersAdults: number | null;
|
|
5350
|
+
travellersChildren: number | null;
|
|
5351
|
+
hotelPreference: string | null;
|
|
5352
|
+
budget: number | null;
|
|
5353
|
+
visaStatus: string | null;
|
|
5354
|
+
createdBy: {
|
|
5355
|
+
id: string;
|
|
5356
|
+
firstName: string | null;
|
|
5357
|
+
lastName: string | null;
|
|
5358
|
+
profilePicture: string | null;
|
|
5359
|
+
} | null;
|
|
5360
|
+
tags: {
|
|
5361
|
+
id: string;
|
|
5362
|
+
name: string;
|
|
5363
|
+
description: string | null;
|
|
5364
|
+
}[];
|
|
4547
5365
|
};
|
|
4548
5366
|
};
|
|
4549
5367
|
outputFormat: "json";
|
|
@@ -4624,6 +5442,102 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4624
5442
|
output: {
|
|
4625
5443
|
success: true;
|
|
4626
5444
|
customer: {
|
|
5445
|
+
type: string | null;
|
|
5446
|
+
email: string | null;
|
|
5447
|
+
description: string | null;
|
|
5448
|
+
name: string;
|
|
5449
|
+
active: boolean | null;
|
|
5450
|
+
phone: string | null;
|
|
5451
|
+
website: string | null;
|
|
5452
|
+
birthDate: string | null;
|
|
5453
|
+
companyPhone: string | null;
|
|
5454
|
+
companyAddress: string | null;
|
|
5455
|
+
address: string | null;
|
|
5456
|
+
utmSource: string | null;
|
|
5457
|
+
id: string;
|
|
5458
|
+
created_at: string;
|
|
5459
|
+
workspaceId: string;
|
|
5460
|
+
updated_at: string | null;
|
|
5461
|
+
deleted_at: string | null;
|
|
5462
|
+
verified_at: string | null;
|
|
5463
|
+
suspended_at: string | null;
|
|
5464
|
+
created_by: string | null;
|
|
5465
|
+
telegram: string | null;
|
|
5466
|
+
whatsapp: string | null;
|
|
5467
|
+
clientId: string | null;
|
|
5468
|
+
gender: string | null;
|
|
5469
|
+
accessCardNumber: string | null;
|
|
5470
|
+
emergencyContactName: string | null;
|
|
5471
|
+
emergencyContactPhone: string | null;
|
|
5472
|
+
membershipStatus: string | null;
|
|
5473
|
+
goals: string[] | null;
|
|
5474
|
+
level: string | null;
|
|
5475
|
+
preferredCoach: string | null;
|
|
5476
|
+
preferredPayments: string[] | null;
|
|
5477
|
+
healthNotes: string | null;
|
|
5478
|
+
medicalClearanceUntil: string | null;
|
|
5479
|
+
createdBy: {
|
|
5480
|
+
id: string;
|
|
5481
|
+
firstName: string | null;
|
|
5482
|
+
lastName: string | null;
|
|
5483
|
+
profilePicture: string | null;
|
|
5484
|
+
} | null;
|
|
5485
|
+
tags: {
|
|
5486
|
+
id: string;
|
|
5487
|
+
name: string;
|
|
5488
|
+
description: string | null;
|
|
5489
|
+
}[];
|
|
5490
|
+
}[] | {
|
|
5491
|
+
type: string | null;
|
|
5492
|
+
email: string | null;
|
|
5493
|
+
description: string | null;
|
|
5494
|
+
name: string;
|
|
5495
|
+
active: boolean | null;
|
|
5496
|
+
phone: string | null;
|
|
5497
|
+
website: string | null;
|
|
5498
|
+
birthDate: string | null;
|
|
5499
|
+
companyPhone: string | null;
|
|
5500
|
+
companyAddress: string | null;
|
|
5501
|
+
address: string | null;
|
|
5502
|
+
utmSource: string | null;
|
|
5503
|
+
id: string;
|
|
5504
|
+
created_at: string;
|
|
5505
|
+
workspaceId: string;
|
|
5506
|
+
updated_at: string | null;
|
|
5507
|
+
deleted_at: string | null;
|
|
5508
|
+
verified_at: string | null;
|
|
5509
|
+
suspended_at: string | null;
|
|
5510
|
+
created_by: string | null;
|
|
5511
|
+
telegram: string | null;
|
|
5512
|
+
whatsapp: string | null;
|
|
5513
|
+
preferredCurrency: string | null;
|
|
5514
|
+
insurance: string | null;
|
|
5515
|
+
preferredPayments: string[] | null;
|
|
5516
|
+
inn: string | null;
|
|
5517
|
+
kpp: string | null;
|
|
5518
|
+
ogrn: string | null;
|
|
5519
|
+
passportNumber: string | null;
|
|
5520
|
+
passportExpiry: string | null;
|
|
5521
|
+
travelStatus: string | null;
|
|
5522
|
+
destinations: string[] | null;
|
|
5523
|
+
travelDates: string | null;
|
|
5524
|
+
travellersAdults: number | null;
|
|
5525
|
+
travellersChildren: number | null;
|
|
5526
|
+
hotelPreference: string | null;
|
|
5527
|
+
budget: number | null;
|
|
5528
|
+
visaStatus: string | null;
|
|
5529
|
+
createdBy: {
|
|
5530
|
+
id: string;
|
|
5531
|
+
firstName: string | null;
|
|
5532
|
+
lastName: string | null;
|
|
5533
|
+
profilePicture: string | null;
|
|
5534
|
+
} | null;
|
|
5535
|
+
tags: {
|
|
5536
|
+
id: string;
|
|
5537
|
+
name: string;
|
|
5538
|
+
description: string | null;
|
|
5539
|
+
}[];
|
|
5540
|
+
}[] | {
|
|
4627
5541
|
updated_at: string | null;
|
|
4628
5542
|
deleted_at: string | null;
|
|
4629
5543
|
verified_at: string | null;
|
|
@@ -4824,7 +5738,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4824
5738
|
workspace: string;
|
|
4825
5739
|
customerId: string;
|
|
4826
5740
|
relatedCustomerId: string;
|
|
4827
|
-
type: "
|
|
5741
|
+
type: "friend" | "spouse" | "father" | "mother" | "parent" | "child" | "sibling" | "relative" | "colleague" | "co_buyer" | "lawyer" | "client" | "payer" | "payee" | "other";
|
|
4828
5742
|
};
|
|
4829
5743
|
};
|
|
4830
5744
|
output: {
|
|
@@ -4839,7 +5753,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4839
5753
|
workspace: string;
|
|
4840
5754
|
customerId: string;
|
|
4841
5755
|
relatedCustomerId: string;
|
|
4842
|
-
type: "
|
|
5756
|
+
type: "friend" | "spouse" | "father" | "mother" | "parent" | "child" | "sibling" | "relative" | "colleague" | "co_buyer" | "lawyer" | "client" | "payer" | "payee" | "other";
|
|
4843
5757
|
};
|
|
4844
5758
|
};
|
|
4845
5759
|
output: {
|
|
@@ -4854,18 +5768,18 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4854
5768
|
workspace: string;
|
|
4855
5769
|
customerId: string;
|
|
4856
5770
|
relatedCustomerId: string;
|
|
4857
|
-
type: "
|
|
5771
|
+
type: "friend" | "spouse" | "father" | "mother" | "parent" | "child" | "sibling" | "relative" | "colleague" | "co_buyer" | "lawyer" | "client" | "payer" | "payee" | "other";
|
|
4858
5772
|
};
|
|
4859
5773
|
};
|
|
4860
5774
|
output: {
|
|
4861
5775
|
success: true;
|
|
4862
5776
|
relation: {
|
|
4863
5777
|
type: string;
|
|
5778
|
+
customerId: string;
|
|
5779
|
+
relatedCustomerId: string;
|
|
4864
5780
|
id: string;
|
|
4865
5781
|
created_at: string;
|
|
4866
5782
|
workspaceId: string;
|
|
4867
|
-
customerId: string;
|
|
4868
|
-
relatedCustomerId: string;
|
|
4869
5783
|
};
|
|
4870
5784
|
};
|
|
4871
5785
|
outputFormat: "json";
|
|
@@ -4943,11 +5857,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4943
5857
|
allowedPaymentMethods?: string[] | null | undefined;
|
|
4944
5858
|
allowPartialPayment?: boolean | undefined;
|
|
4945
5859
|
remindPayer?: boolean | undefined;
|
|
4946
|
-
recurringInterval?: "monthly" | "
|
|
4947
|
-
scheduleType?: "fullPayment" | "installment" | "
|
|
4948
|
-
installmentInterval?: "month" | "
|
|
5860
|
+
recurringInterval?: "monthly" | "yearly" | "quarterly" | null | undefined;
|
|
5861
|
+
scheduleType?: "fullPayment" | "installment" | "prepayment" | "stages" | "subscription" | null | undefined;
|
|
5862
|
+
installmentInterval?: "month" | "year" | "twoWeeks" | "week" | null | undefined;
|
|
4949
5863
|
stageLabel?: string | null | undefined;
|
|
4950
|
-
dueTrigger?: "
|
|
5864
|
+
dueTrigger?: "date" | "contract" | "payment" | "deposit" | "registration" | null | undefined;
|
|
4951
5865
|
dueOffsetDays?: number | null | undefined;
|
|
4952
5866
|
isDeposit?: boolean | undefined;
|
|
4953
5867
|
billToName?: string | null | undefined;
|
|
@@ -4978,7 +5892,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4978
5892
|
itemPrice?: number | null | undefined;
|
|
4979
5893
|
itemQuantity?: number | null | undefined;
|
|
4980
5894
|
itemDiscount?: number | null | undefined;
|
|
4981
|
-
kind?: "free" | "
|
|
5895
|
+
kind?: "free" | "property" | "service" | "transit" | null | undefined;
|
|
4982
5896
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
4983
5897
|
vatRate?: number | null | undefined;
|
|
4984
5898
|
dealType?: "sale" | "rent" | null | undefined;
|
|
@@ -4987,21 +5901,21 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4987
5901
|
commissionMode?: "fixed" | "percent" | null | undefined;
|
|
4988
5902
|
commissionPercent?: number | null | undefined;
|
|
4989
5903
|
commissionFixed?: number | null | undefined;
|
|
4990
|
-
commissionPaidBy?: "
|
|
5904
|
+
commissionPaidBy?: "split" | "buyer" | "seller" | null | undefined;
|
|
4991
5905
|
commissionBuyerShare?: number | null | undefined;
|
|
4992
5906
|
commissionBilledSide?: "buyer" | "seller" | null | undefined;
|
|
4993
5907
|
commissionBaseUnlocked?: boolean | undefined;
|
|
4994
5908
|
viaAgency?: {
|
|
4995
5909
|
payee: string;
|
|
4996
5910
|
payeeBank: string;
|
|
4997
|
-
transferTrigger: "
|
|
5911
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
4998
5912
|
deadlineDays: number;
|
|
4999
5913
|
enabled: boolean;
|
|
5000
5914
|
} | null | undefined;
|
|
5001
5915
|
transit?: {
|
|
5002
5916
|
payee: string;
|
|
5003
5917
|
payeeBank: string;
|
|
5004
|
-
transferTrigger: "
|
|
5918
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
5005
5919
|
deadlineDays: number;
|
|
5006
5920
|
} | null | undefined;
|
|
5007
5921
|
transferPayment?: {
|
|
@@ -5015,7 +5929,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5015
5929
|
shareKind: "fixed" | "percent";
|
|
5016
5930
|
sharePercent?: number | null | undefined;
|
|
5017
5931
|
shareAmount?: number | null | undefined;
|
|
5018
|
-
trigger?: "
|
|
5932
|
+
trigger?: "date" | "contract" | "payment" | "deposit" | "registration" | undefined;
|
|
5019
5933
|
}[] | undefined;
|
|
5020
5934
|
costs?: {
|
|
5021
5935
|
category: string;
|
|
@@ -5030,7 +5944,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5030
5944
|
unitPrice?: number | undefined;
|
|
5031
5945
|
unitQuantity?: number | undefined;
|
|
5032
5946
|
notes?: string | undefined;
|
|
5033
|
-
status?: "pending" | "
|
|
5947
|
+
status?: "pending" | "paid" | "canceled" | "refunded" | undefined;
|
|
5034
5948
|
discount?: number | undefined;
|
|
5035
5949
|
fullPayment?: boolean | undefined;
|
|
5036
5950
|
installment?: boolean | undefined;
|
|
@@ -5056,11 +5970,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5056
5970
|
allowedPaymentMethods?: string[] | null | undefined;
|
|
5057
5971
|
allowPartialPayment?: boolean | undefined;
|
|
5058
5972
|
remindPayer?: boolean | undefined;
|
|
5059
|
-
recurringInterval?: "monthly" | "
|
|
5060
|
-
scheduleType?: "fullPayment" | "installment" | "
|
|
5061
|
-
installmentInterval?: "month" | "
|
|
5973
|
+
recurringInterval?: "monthly" | "yearly" | "quarterly" | null | undefined;
|
|
5974
|
+
scheduleType?: "fullPayment" | "installment" | "prepayment" | "stages" | "subscription" | null | undefined;
|
|
5975
|
+
installmentInterval?: "month" | "year" | "twoWeeks" | "week" | null | undefined;
|
|
5062
5976
|
stageLabel?: string | null | undefined;
|
|
5063
|
-
dueTrigger?: "
|
|
5977
|
+
dueTrigger?: "date" | "contract" | "payment" | "deposit" | "registration" | null | undefined;
|
|
5064
5978
|
dueOffsetDays?: number | null | undefined;
|
|
5065
5979
|
isDeposit?: boolean | undefined;
|
|
5066
5980
|
billToName?: string | null | undefined;
|
|
@@ -5091,7 +6005,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5091
6005
|
itemPrice?: number | null | undefined;
|
|
5092
6006
|
itemQuantity?: number | null | undefined;
|
|
5093
6007
|
itemDiscount?: number | null | undefined;
|
|
5094
|
-
kind?: "free" | "
|
|
6008
|
+
kind?: "free" | "property" | "service" | "transit" | null | undefined;
|
|
5095
6009
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
5096
6010
|
vatRate?: number | null | undefined;
|
|
5097
6011
|
dealType?: "sale" | "rent" | null | undefined;
|
|
@@ -5100,21 +6014,21 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5100
6014
|
commissionMode?: "fixed" | "percent" | null | undefined;
|
|
5101
6015
|
commissionPercent?: number | null | undefined;
|
|
5102
6016
|
commissionFixed?: number | null | undefined;
|
|
5103
|
-
commissionPaidBy?: "
|
|
6017
|
+
commissionPaidBy?: "split" | "buyer" | "seller" | null | undefined;
|
|
5104
6018
|
commissionBuyerShare?: number | null | undefined;
|
|
5105
6019
|
commissionBilledSide?: "buyer" | "seller" | null | undefined;
|
|
5106
6020
|
commissionBaseUnlocked?: boolean | undefined;
|
|
5107
6021
|
viaAgency?: {
|
|
5108
6022
|
payee: string;
|
|
5109
6023
|
payeeBank: string;
|
|
5110
|
-
transferTrigger: "
|
|
6024
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
5111
6025
|
deadlineDays: number;
|
|
5112
6026
|
enabled: boolean;
|
|
5113
6027
|
} | null | undefined;
|
|
5114
6028
|
transit?: {
|
|
5115
6029
|
payee: string;
|
|
5116
6030
|
payeeBank: string;
|
|
5117
|
-
transferTrigger: "
|
|
6031
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
5118
6032
|
deadlineDays: number;
|
|
5119
6033
|
} | null | undefined;
|
|
5120
6034
|
transferPayment?: {
|
|
@@ -5128,7 +6042,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5128
6042
|
shareKind: "fixed" | "percent";
|
|
5129
6043
|
sharePercent?: number | null | undefined;
|
|
5130
6044
|
shareAmount?: number | null | undefined;
|
|
5131
|
-
trigger?: "
|
|
6045
|
+
trigger?: "date" | "contract" | "payment" | "deposit" | "registration" | undefined;
|
|
5132
6046
|
}[] | undefined;
|
|
5133
6047
|
costs?: {
|
|
5134
6048
|
category: string;
|
|
@@ -5143,7 +6057,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5143
6057
|
unitPrice?: number | undefined;
|
|
5144
6058
|
unitQuantity?: number | undefined;
|
|
5145
6059
|
notes?: string | undefined;
|
|
5146
|
-
status?: "pending" | "
|
|
6060
|
+
status?: "pending" | "paid" | "canceled" | "refunded" | undefined;
|
|
5147
6061
|
discount?: number | undefined;
|
|
5148
6062
|
fullPayment?: boolean | undefined;
|
|
5149
6063
|
installment?: boolean | undefined;
|
|
@@ -5157,44 +6071,22 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5157
6071
|
output: {
|
|
5158
6072
|
success: true;
|
|
5159
6073
|
cinvoice: {
|
|
5160
|
-
|
|
5161
|
-
created_at: string;
|
|
5162
|
-
workspaceId: string;
|
|
5163
|
-
updated_at: string | null;
|
|
5164
|
-
deleted_at: string | null;
|
|
5165
|
-
verified_at: string | null;
|
|
5166
|
-
suspended_at: string | null;
|
|
5167
|
-
invoiceId: string;
|
|
5168
|
-
status: string;
|
|
5169
|
-
date: string;
|
|
6074
|
+
language: string;
|
|
5170
6075
|
customerId: string;
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
branchId: string | null;
|
|
5174
|
-
responsibleId: string | null;
|
|
6076
|
+
date: string;
|
|
6077
|
+
status: string;
|
|
5175
6078
|
fullPayment: boolean | null;
|
|
5176
|
-
installment: boolean | null;
|
|
5177
6079
|
notes: string | null;
|
|
5178
|
-
|
|
6080
|
+
installment: boolean | null;
|
|
5179
6081
|
serviceId: string | null;
|
|
5180
|
-
|
|
5181
|
-
discount: number;
|
|
5182
|
-
SellerFinanceAccountId: string;
|
|
5183
|
-
language: string;
|
|
5184
|
-
vatOption: string;
|
|
5185
|
-
unitName: string;
|
|
6082
|
+
currency: string;
|
|
5186
6083
|
unitPrice: number;
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
totalInstallments: number | null;
|
|
5190
|
-
installmentGroupId: string | null;
|
|
6084
|
+
discount: number;
|
|
6085
|
+
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
|
|
5191
6086
|
vatRate: number | null;
|
|
5192
|
-
paidAt: string | null;
|
|
5193
|
-
buyerInn: string | null;
|
|
5194
|
-
buyerKpp: string | null;
|
|
5195
6087
|
subscription: boolean | null;
|
|
5196
|
-
|
|
5197
|
-
|
|
6088
|
+
branchId: string | null;
|
|
6089
|
+
responsibleId: string | null;
|
|
5198
6090
|
internalNote: string | null;
|
|
5199
6091
|
allowedPaymentMethods: string[] | null;
|
|
5200
6092
|
allowPartialPayment: boolean;
|
|
@@ -5208,7 +6100,29 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5208
6100
|
isDeposit: boolean;
|
|
5209
6101
|
billToName: string | null;
|
|
5210
6102
|
billToPhone: string | null;
|
|
5211
|
-
|
|
6103
|
+
installmentNumber: number | null;
|
|
6104
|
+
totalInstallments: number | null;
|
|
6105
|
+
installmentGroupId: string | null;
|
|
6106
|
+
invoiceId: string;
|
|
6107
|
+
SellerFinanceAccountId: string;
|
|
6108
|
+
vatOption: string;
|
|
6109
|
+
buyerInn: string | null;
|
|
6110
|
+
buyerKpp: string | null;
|
|
6111
|
+
unitName: string;
|
|
6112
|
+
unitQuantity: number;
|
|
6113
|
+
subscriptionStartDate: string | null;
|
|
6114
|
+
subscriptionEndDate: string | null;
|
|
6115
|
+
paymentMethod: string | null;
|
|
6116
|
+
id: string;
|
|
6117
|
+
created_at: string;
|
|
6118
|
+
workspaceId: string;
|
|
6119
|
+
updated_at: string | null;
|
|
6120
|
+
deleted_at: string | null;
|
|
6121
|
+
verified_at: string | null;
|
|
6122
|
+
suspended_at: string | null;
|
|
6123
|
+
created_by: string;
|
|
6124
|
+
invoiceDiscount: number;
|
|
6125
|
+
paidAt: string | null;
|
|
5212
6126
|
payments: {
|
|
5213
6127
|
id: string;
|
|
5214
6128
|
amount: number;
|
|
@@ -5300,17 +6214,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5300
6214
|
output: {
|
|
5301
6215
|
success: true;
|
|
5302
6216
|
accounts: {
|
|
5303
|
-
id: string;
|
|
5304
|
-
created_at: string;
|
|
5305
|
-
workspaceId: string;
|
|
5306
|
-
updated_at: string | null;
|
|
5307
6217
|
name: string;
|
|
5308
6218
|
active: boolean;
|
|
5309
|
-
currency: FinanceCurrency;
|
|
5310
|
-
branchId: string | null;
|
|
5311
6219
|
companyName: string | null;
|
|
6220
|
+
currency: FinanceCurrency;
|
|
5312
6221
|
vatRate: number | null;
|
|
5313
|
-
|
|
6222
|
+
branchId: string | null;
|
|
5314
6223
|
cardColor: string;
|
|
5315
6224
|
country: string | null;
|
|
5316
6225
|
companyAccountNumber: string | null;
|
|
@@ -5320,14 +6229,19 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5320
6229
|
legalAddress: string | null;
|
|
5321
6230
|
directorName: string | null;
|
|
5322
6231
|
chiefAccountantName: string | null;
|
|
5323
|
-
hasSignatureImage: boolean;
|
|
5324
|
-
hasStampImage: boolean;
|
|
5325
6232
|
bankName: string | null;
|
|
5326
6233
|
bankBik: string | null;
|
|
5327
6234
|
bankKc: string | null;
|
|
5328
6235
|
bankInn: string | null;
|
|
5329
6236
|
bankKpp: string | null;
|
|
5330
6237
|
pricesIncludeVat: boolean;
|
|
6238
|
+
id: string;
|
|
6239
|
+
created_at: string;
|
|
6240
|
+
workspaceId: string;
|
|
6241
|
+
updated_at: string | null;
|
|
6242
|
+
order: number;
|
|
6243
|
+
hasSignatureImage: boolean;
|
|
6244
|
+
hasStampImage: boolean;
|
|
5331
6245
|
}[];
|
|
5332
6246
|
};
|
|
5333
6247
|
outputFormat: "json";
|
|
@@ -5375,44 +6289,22 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5375
6289
|
output: {
|
|
5376
6290
|
success: true;
|
|
5377
6291
|
cinvoices: {
|
|
5378
|
-
|
|
5379
|
-
created_at: string;
|
|
5380
|
-
workspaceId: string;
|
|
5381
|
-
updated_at: string | null;
|
|
5382
|
-
deleted_at: string | null;
|
|
5383
|
-
verified_at: string | null;
|
|
5384
|
-
suspended_at: string | null;
|
|
5385
|
-
invoiceId: string;
|
|
5386
|
-
status: string;
|
|
5387
|
-
date: string;
|
|
6292
|
+
language: string;
|
|
5388
6293
|
customerId: string;
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
branchId: string | null;
|
|
5392
|
-
responsibleId: string | null;
|
|
6294
|
+
date: string;
|
|
6295
|
+
status: string;
|
|
5393
6296
|
fullPayment: boolean | null;
|
|
5394
|
-
installment: boolean | null;
|
|
5395
6297
|
notes: string | null;
|
|
5396
|
-
|
|
6298
|
+
installment: boolean | null;
|
|
5397
6299
|
serviceId: string | null;
|
|
5398
|
-
|
|
5399
|
-
discount: number;
|
|
5400
|
-
SellerFinanceAccountId: string;
|
|
5401
|
-
language: string;
|
|
5402
|
-
vatOption: string;
|
|
5403
|
-
unitName: string;
|
|
6300
|
+
currency: string;
|
|
5404
6301
|
unitPrice: number;
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
totalInstallments: number | null;
|
|
5408
|
-
installmentGroupId: string | null;
|
|
6302
|
+
discount: number;
|
|
6303
|
+
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
|
|
5409
6304
|
vatRate: number | null;
|
|
5410
|
-
paidAt: string | null;
|
|
5411
|
-
buyerInn: string | null;
|
|
5412
|
-
buyerKpp: string | null;
|
|
5413
6305
|
subscription: boolean | null;
|
|
5414
|
-
|
|
5415
|
-
|
|
6306
|
+
branchId: string | null;
|
|
6307
|
+
responsibleId: string | null;
|
|
5416
6308
|
internalNote: string | null;
|
|
5417
6309
|
allowedPaymentMethods: string[] | null;
|
|
5418
6310
|
allowPartialPayment: boolean;
|
|
@@ -5426,7 +6318,29 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5426
6318
|
isDeposit: boolean;
|
|
5427
6319
|
billToName: string | null;
|
|
5428
6320
|
billToPhone: string | null;
|
|
5429
|
-
|
|
6321
|
+
installmentNumber: number | null;
|
|
6322
|
+
totalInstallments: number | null;
|
|
6323
|
+
installmentGroupId: string | null;
|
|
6324
|
+
invoiceId: string;
|
|
6325
|
+
SellerFinanceAccountId: string;
|
|
6326
|
+
vatOption: string;
|
|
6327
|
+
buyerInn: string | null;
|
|
6328
|
+
buyerKpp: string | null;
|
|
6329
|
+
unitName: string;
|
|
6330
|
+
unitQuantity: number;
|
|
6331
|
+
subscriptionStartDate: string | null;
|
|
6332
|
+
subscriptionEndDate: string | null;
|
|
6333
|
+
paymentMethod: string | null;
|
|
6334
|
+
id: string;
|
|
6335
|
+
created_at: string;
|
|
6336
|
+
workspaceId: string;
|
|
6337
|
+
updated_at: string | null;
|
|
6338
|
+
deleted_at: string | null;
|
|
6339
|
+
verified_at: string | null;
|
|
6340
|
+
suspended_at: string | null;
|
|
6341
|
+
created_by: string;
|
|
6342
|
+
invoiceDiscount: number;
|
|
6343
|
+
paidAt: string | null;
|
|
5430
6344
|
payments: {
|
|
5431
6345
|
id: string;
|
|
5432
6346
|
amount: number;
|
|
@@ -5514,7 +6428,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5514
6428
|
query: {
|
|
5515
6429
|
from?: string | number | undefined;
|
|
5516
6430
|
to?: string | number | undefined;
|
|
5517
|
-
status?: "pending" | "
|
|
6431
|
+
status?: "pending" | "paid" | "canceled" | "refunded" | undefined;
|
|
5518
6432
|
customerId?: string | undefined;
|
|
5519
6433
|
};
|
|
5520
6434
|
} & {
|
|
@@ -5556,11 +6470,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5556
6470
|
allowedPaymentMethods?: string[] | null | undefined;
|
|
5557
6471
|
allowPartialPayment?: boolean | undefined;
|
|
5558
6472
|
remindPayer?: boolean | undefined;
|
|
5559
|
-
recurringInterval?: "monthly" | "
|
|
5560
|
-
scheduleType?: "fullPayment" | "installment" | "
|
|
5561
|
-
installmentInterval?: "month" | "
|
|
6473
|
+
recurringInterval?: "monthly" | "yearly" | "quarterly" | null | undefined;
|
|
6474
|
+
scheduleType?: "fullPayment" | "installment" | "prepayment" | "stages" | "subscription" | null | undefined;
|
|
6475
|
+
installmentInterval?: "month" | "year" | "twoWeeks" | "week" | null | undefined;
|
|
5562
6476
|
stageLabel?: string | null | undefined;
|
|
5563
|
-
dueTrigger?: "
|
|
6477
|
+
dueTrigger?: "date" | "contract" | "payment" | "deposit" | "registration" | null | undefined;
|
|
5564
6478
|
dueOffsetDays?: number | null | undefined;
|
|
5565
6479
|
isDeposit?: boolean | undefined;
|
|
5566
6480
|
billToName?: string | null | undefined;
|
|
@@ -5582,7 +6496,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5582
6496
|
itemPrice?: number | null | undefined;
|
|
5583
6497
|
itemQuantity?: number | null | undefined;
|
|
5584
6498
|
itemDiscount?: number | null | undefined;
|
|
5585
|
-
kind?: "free" | "
|
|
6499
|
+
kind?: "free" | "property" | "service" | "transit" | null | undefined;
|
|
5586
6500
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
5587
6501
|
vatRate?: number | null | undefined;
|
|
5588
6502
|
dealType?: "sale" | "rent" | null | undefined;
|
|
@@ -5591,21 +6505,21 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5591
6505
|
commissionMode?: "fixed" | "percent" | null | undefined;
|
|
5592
6506
|
commissionPercent?: number | null | undefined;
|
|
5593
6507
|
commissionFixed?: number | null | undefined;
|
|
5594
|
-
commissionPaidBy?: "
|
|
6508
|
+
commissionPaidBy?: "split" | "buyer" | "seller" | null | undefined;
|
|
5595
6509
|
commissionBuyerShare?: number | null | undefined;
|
|
5596
6510
|
commissionBilledSide?: "buyer" | "seller" | null | undefined;
|
|
5597
6511
|
commissionBaseUnlocked?: boolean | undefined;
|
|
5598
6512
|
viaAgency?: {
|
|
5599
6513
|
payee: string;
|
|
5600
6514
|
payeeBank: string;
|
|
5601
|
-
transferTrigger: "
|
|
6515
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
5602
6516
|
deadlineDays: number;
|
|
5603
6517
|
enabled: boolean;
|
|
5604
6518
|
} | null | undefined;
|
|
5605
6519
|
transit?: {
|
|
5606
6520
|
payee: string;
|
|
5607
6521
|
payeeBank: string;
|
|
5608
|
-
transferTrigger: "
|
|
6522
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
5609
6523
|
deadlineDays: number;
|
|
5610
6524
|
} | null | undefined;
|
|
5611
6525
|
transferPayment?: {
|
|
@@ -5619,7 +6533,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5619
6533
|
shareKind: "fixed" | "percent";
|
|
5620
6534
|
sharePercent?: number | null | undefined;
|
|
5621
6535
|
shareAmount?: number | null | undefined;
|
|
5622
|
-
trigger?: "
|
|
6536
|
+
trigger?: "date" | "contract" | "payment" | "deposit" | "registration" | undefined;
|
|
5623
6537
|
}[] | undefined;
|
|
5624
6538
|
costs?: {
|
|
5625
6539
|
category: string;
|
|
@@ -5644,7 +6558,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5644
6558
|
unitPrice?: number | undefined;
|
|
5645
6559
|
unitQuantity?: number | undefined;
|
|
5646
6560
|
notes?: string | undefined;
|
|
5647
|
-
status?: "pending" | "
|
|
6561
|
+
status?: "pending" | "paid" | "canceled" | "refunded" | undefined;
|
|
5648
6562
|
discount?: number | undefined;
|
|
5649
6563
|
fullPayment?: boolean | undefined;
|
|
5650
6564
|
installment?: boolean | undefined;
|
|
@@ -5670,11 +6584,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5670
6584
|
allowedPaymentMethods?: string[] | null | undefined;
|
|
5671
6585
|
allowPartialPayment?: boolean | undefined;
|
|
5672
6586
|
remindPayer?: boolean | undefined;
|
|
5673
|
-
recurringInterval?: "monthly" | "
|
|
5674
|
-
scheduleType?: "fullPayment" | "installment" | "
|
|
5675
|
-
installmentInterval?: "month" | "
|
|
6587
|
+
recurringInterval?: "monthly" | "yearly" | "quarterly" | null | undefined;
|
|
6588
|
+
scheduleType?: "fullPayment" | "installment" | "prepayment" | "stages" | "subscription" | null | undefined;
|
|
6589
|
+
installmentInterval?: "month" | "year" | "twoWeeks" | "week" | null | undefined;
|
|
5676
6590
|
stageLabel?: string | null | undefined;
|
|
5677
|
-
dueTrigger?: "
|
|
6591
|
+
dueTrigger?: "date" | "contract" | "payment" | "deposit" | "registration" | null | undefined;
|
|
5678
6592
|
dueOffsetDays?: number | null | undefined;
|
|
5679
6593
|
isDeposit?: boolean | undefined;
|
|
5680
6594
|
billToName?: string | null | undefined;
|
|
@@ -5696,7 +6610,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5696
6610
|
itemPrice?: number | null | undefined;
|
|
5697
6611
|
itemQuantity?: number | null | undefined;
|
|
5698
6612
|
itemDiscount?: number | null | undefined;
|
|
5699
|
-
kind?: "free" | "
|
|
6613
|
+
kind?: "free" | "property" | "service" | "transit" | null | undefined;
|
|
5700
6614
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
5701
6615
|
vatRate?: number | null | undefined;
|
|
5702
6616
|
dealType?: "sale" | "rent" | null | undefined;
|
|
@@ -5705,21 +6619,21 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5705
6619
|
commissionMode?: "fixed" | "percent" | null | undefined;
|
|
5706
6620
|
commissionPercent?: number | null | undefined;
|
|
5707
6621
|
commissionFixed?: number | null | undefined;
|
|
5708
|
-
commissionPaidBy?: "
|
|
6622
|
+
commissionPaidBy?: "split" | "buyer" | "seller" | null | undefined;
|
|
5709
6623
|
commissionBuyerShare?: number | null | undefined;
|
|
5710
6624
|
commissionBilledSide?: "buyer" | "seller" | null | undefined;
|
|
5711
6625
|
commissionBaseUnlocked?: boolean | undefined;
|
|
5712
6626
|
viaAgency?: {
|
|
5713
6627
|
payee: string;
|
|
5714
6628
|
payeeBank: string;
|
|
5715
|
-
transferTrigger: "
|
|
6629
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
5716
6630
|
deadlineDays: number;
|
|
5717
6631
|
enabled: boolean;
|
|
5718
6632
|
} | null | undefined;
|
|
5719
6633
|
transit?: {
|
|
5720
6634
|
payee: string;
|
|
5721
6635
|
payeeBank: string;
|
|
5722
|
-
transferTrigger: "
|
|
6636
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
5723
6637
|
deadlineDays: number;
|
|
5724
6638
|
} | null | undefined;
|
|
5725
6639
|
transferPayment?: {
|
|
@@ -5733,7 +6647,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5733
6647
|
shareKind: "fixed" | "percent";
|
|
5734
6648
|
sharePercent?: number | null | undefined;
|
|
5735
6649
|
shareAmount?: number | null | undefined;
|
|
5736
|
-
trigger?: "
|
|
6650
|
+
trigger?: "date" | "contract" | "payment" | "deposit" | "registration" | undefined;
|
|
5737
6651
|
}[] | undefined;
|
|
5738
6652
|
costs?: {
|
|
5739
6653
|
category: string;
|
|
@@ -5758,7 +6672,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5758
6672
|
unitPrice?: number | undefined;
|
|
5759
6673
|
unitQuantity?: number | undefined;
|
|
5760
6674
|
notes?: string | undefined;
|
|
5761
|
-
status?: "pending" | "
|
|
6675
|
+
status?: "pending" | "paid" | "canceled" | "refunded" | undefined;
|
|
5762
6676
|
discount?: number | undefined;
|
|
5763
6677
|
fullPayment?: boolean | undefined;
|
|
5764
6678
|
installment?: boolean | undefined;
|
|
@@ -5772,58 +6686,58 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5772
6686
|
output: {
|
|
5773
6687
|
success: true;
|
|
5774
6688
|
cinvoice: {
|
|
5775
|
-
|
|
5776
|
-
created_at: string;
|
|
5777
|
-
workspaceId: string;
|
|
5778
|
-
updated_at: string | null;
|
|
5779
|
-
deleted_at: string | null;
|
|
5780
|
-
verified_at: string | null;
|
|
5781
|
-
suspended_at: string | null;
|
|
5782
|
-
invoiceId: string;
|
|
5783
|
-
status: string;
|
|
5784
|
-
date: string;
|
|
6689
|
+
language: string;
|
|
5785
6690
|
customerId: string;
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
branchId: string | null;
|
|
5789
|
-
responsibleId: string | null;
|
|
6691
|
+
date: string;
|
|
6692
|
+
status: string;
|
|
5790
6693
|
fullPayment: boolean | null;
|
|
5791
|
-
installment: boolean | null;
|
|
5792
6694
|
notes: string | null;
|
|
5793
|
-
|
|
6695
|
+
installment: boolean | null;
|
|
5794
6696
|
serviceId: string | null;
|
|
5795
|
-
|
|
6697
|
+
currency: string;
|
|
6698
|
+
unitPrice: number;
|
|
5796
6699
|
discount: number;
|
|
6700
|
+
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
|
|
6701
|
+
vatRate: number | null;
|
|
6702
|
+
subscription: boolean | null;
|
|
6703
|
+
branchId: string | null;
|
|
6704
|
+
responsibleId: string | null;
|
|
6705
|
+
internalNote: string | null;
|
|
6706
|
+
allowedPaymentMethods: string[] | null;
|
|
6707
|
+
allowPartialPayment: boolean;
|
|
6708
|
+
remindPayer: boolean;
|
|
6709
|
+
recurringInterval: string | null;
|
|
6710
|
+
scheduleType: string | null;
|
|
6711
|
+
installmentInterval: string | null;
|
|
6712
|
+
stageLabel: string | null;
|
|
6713
|
+
dueTrigger: string | null;
|
|
6714
|
+
dueOffsetDays: number | null;
|
|
6715
|
+
isDeposit: boolean;
|
|
6716
|
+
billToName: string | null;
|
|
6717
|
+
billToPhone: string | null;
|
|
6718
|
+
installmentNumber: number | null;
|
|
6719
|
+
totalInstallments: number | null;
|
|
6720
|
+
installmentGroupId: string | null;
|
|
6721
|
+
invoiceId: string;
|
|
5797
6722
|
SellerFinanceAccountId: string;
|
|
5798
|
-
language: string;
|
|
5799
6723
|
vatOption: string;
|
|
6724
|
+
buyerInn: string | null;
|
|
6725
|
+
buyerKpp: string | null;
|
|
5800
6726
|
unitName: string;
|
|
5801
|
-
unitPrice: number;
|
|
5802
6727
|
unitQuantity: number;
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
6728
|
+
subscriptionStartDate: string | null;
|
|
6729
|
+
subscriptionEndDate: string | null;
|
|
6730
|
+
paymentMethod: string | null;
|
|
6731
|
+
id: string;
|
|
6732
|
+
created_at: string;
|
|
6733
|
+
workspaceId: string;
|
|
6734
|
+
updated_at: string | null;
|
|
6735
|
+
deleted_at: string | null;
|
|
6736
|
+
verified_at: string | null;
|
|
6737
|
+
suspended_at: string | null;
|
|
6738
|
+
created_by: string;
|
|
6739
|
+
invoiceDiscount: number;
|
|
5807
6740
|
paidAt: string | null;
|
|
5808
|
-
buyerInn: string | null;
|
|
5809
|
-
buyerKpp: string | null;
|
|
5810
|
-
subscription: boolean | null;
|
|
5811
|
-
subscriptionStartDate: string | null;
|
|
5812
|
-
paymentMethod: string | null;
|
|
5813
|
-
internalNote: string | null;
|
|
5814
|
-
allowedPaymentMethods: string[] | null;
|
|
5815
|
-
allowPartialPayment: boolean;
|
|
5816
|
-
remindPayer: boolean;
|
|
5817
|
-
recurringInterval: string | null;
|
|
5818
|
-
scheduleType: string | null;
|
|
5819
|
-
installmentInterval: string | null;
|
|
5820
|
-
stageLabel: string | null;
|
|
5821
|
-
dueTrigger: string | null;
|
|
5822
|
-
dueOffsetDays: number | null;
|
|
5823
|
-
isDeposit: boolean;
|
|
5824
|
-
billToName: string | null;
|
|
5825
|
-
billToPhone: string | null;
|
|
5826
|
-
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
|
|
5827
6741
|
payments: {
|
|
5828
6742
|
id: string;
|
|
5829
6743
|
amount: number;
|
|
@@ -5923,7 +6837,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5923
6837
|
itemPrice?: number | null | undefined;
|
|
5924
6838
|
itemQuantity?: number | null | undefined;
|
|
5925
6839
|
itemDiscount?: number | null | undefined;
|
|
5926
|
-
kind?: "free" | "
|
|
6840
|
+
kind?: "free" | "property" | "service" | "transit" | null | undefined;
|
|
5927
6841
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
5928
6842
|
vatRate?: number | null | undefined;
|
|
5929
6843
|
dealType?: "sale" | "rent" | null | undefined;
|
|
@@ -5932,21 +6846,21 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5932
6846
|
commissionMode?: "fixed" | "percent" | null | undefined;
|
|
5933
6847
|
commissionPercent?: number | null | undefined;
|
|
5934
6848
|
commissionFixed?: number | null | undefined;
|
|
5935
|
-
commissionPaidBy?: "
|
|
6849
|
+
commissionPaidBy?: "split" | "buyer" | "seller" | null | undefined;
|
|
5936
6850
|
commissionBuyerShare?: number | null | undefined;
|
|
5937
6851
|
commissionBilledSide?: "buyer" | "seller" | null | undefined;
|
|
5938
6852
|
commissionBaseUnlocked?: boolean | undefined;
|
|
5939
6853
|
viaAgency?: {
|
|
5940
6854
|
payee: string;
|
|
5941
6855
|
payeeBank: string;
|
|
5942
|
-
transferTrigger: "
|
|
6856
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
5943
6857
|
deadlineDays: number;
|
|
5944
6858
|
enabled: boolean;
|
|
5945
6859
|
} | null | undefined;
|
|
5946
6860
|
transit?: {
|
|
5947
6861
|
payee: string;
|
|
5948
6862
|
payeeBank: string;
|
|
5949
|
-
transferTrigger: "
|
|
6863
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
5950
6864
|
deadlineDays: number;
|
|
5951
6865
|
} | null | undefined;
|
|
5952
6866
|
transferPayment?: {
|
|
@@ -5960,7 +6874,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5960
6874
|
shareKind: "fixed" | "percent";
|
|
5961
6875
|
sharePercent?: number | null | undefined;
|
|
5962
6876
|
shareAmount?: number | null | undefined;
|
|
5963
|
-
trigger?: "
|
|
6877
|
+
trigger?: "date" | "contract" | "payment" | "deposit" | "registration" | undefined;
|
|
5964
6878
|
}[] | undefined;
|
|
5965
6879
|
costs?: {
|
|
5966
6880
|
category: string;
|
|
@@ -5977,11 +6891,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5977
6891
|
allowedPaymentMethods?: string[] | null | undefined;
|
|
5978
6892
|
allowPartialPayment?: boolean | undefined;
|
|
5979
6893
|
remindPayer?: boolean | undefined;
|
|
5980
|
-
recurringInterval?: "monthly" | "
|
|
5981
|
-
scheduleType?: "fullPayment" | "installment" | "
|
|
5982
|
-
installmentInterval?: "month" | "
|
|
6894
|
+
recurringInterval?: "monthly" | "yearly" | "quarterly" | null | undefined;
|
|
6895
|
+
scheduleType?: "fullPayment" | "installment" | "prepayment" | "stages" | "subscription" | null | undefined;
|
|
6896
|
+
installmentInterval?: "month" | "year" | "twoWeeks" | "week" | null | undefined;
|
|
5983
6897
|
stageLabel?: string | null | undefined;
|
|
5984
|
-
dueTrigger?: "
|
|
6898
|
+
dueTrigger?: "date" | "contract" | "payment" | "deposit" | "registration" | null | undefined;
|
|
5985
6899
|
dueOffsetDays?: number | null | undefined;
|
|
5986
6900
|
isDeposit?: boolean | undefined;
|
|
5987
6901
|
billToName?: string | null | undefined;
|
|
@@ -5997,7 +6911,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
5997
6911
|
buyerInn?: string | undefined;
|
|
5998
6912
|
buyerKpp?: string | undefined;
|
|
5999
6913
|
notes?: string | undefined;
|
|
6000
|
-
status?: "pending" | "
|
|
6914
|
+
status?: "pending" | "paid" | "canceled" | "refunded" | undefined;
|
|
6001
6915
|
discount?: number | undefined;
|
|
6002
6916
|
fullPayment?: boolean | undefined;
|
|
6003
6917
|
installment?: boolean | undefined;
|
|
@@ -6022,7 +6936,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6022
6936
|
itemPrice?: number | null | undefined;
|
|
6023
6937
|
itemQuantity?: number | null | undefined;
|
|
6024
6938
|
itemDiscount?: number | null | undefined;
|
|
6025
|
-
kind?: "free" | "
|
|
6939
|
+
kind?: "free" | "property" | "service" | "transit" | null | undefined;
|
|
6026
6940
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
6027
6941
|
vatRate?: number | null | undefined;
|
|
6028
6942
|
dealType?: "sale" | "rent" | null | undefined;
|
|
@@ -6031,21 +6945,21 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6031
6945
|
commissionMode?: "fixed" | "percent" | null | undefined;
|
|
6032
6946
|
commissionPercent?: number | null | undefined;
|
|
6033
6947
|
commissionFixed?: number | null | undefined;
|
|
6034
|
-
commissionPaidBy?: "
|
|
6948
|
+
commissionPaidBy?: "split" | "buyer" | "seller" | null | undefined;
|
|
6035
6949
|
commissionBuyerShare?: number | null | undefined;
|
|
6036
6950
|
commissionBilledSide?: "buyer" | "seller" | null | undefined;
|
|
6037
6951
|
commissionBaseUnlocked?: boolean | undefined;
|
|
6038
6952
|
viaAgency?: {
|
|
6039
6953
|
payee: string;
|
|
6040
6954
|
payeeBank: string;
|
|
6041
|
-
transferTrigger: "
|
|
6955
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
6042
6956
|
deadlineDays: number;
|
|
6043
6957
|
enabled: boolean;
|
|
6044
6958
|
} | null | undefined;
|
|
6045
6959
|
transit?: {
|
|
6046
6960
|
payee: string;
|
|
6047
6961
|
payeeBank: string;
|
|
6048
|
-
transferTrigger: "
|
|
6962
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
6049
6963
|
deadlineDays: number;
|
|
6050
6964
|
} | null | undefined;
|
|
6051
6965
|
transferPayment?: {
|
|
@@ -6059,7 +6973,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6059
6973
|
shareKind: "fixed" | "percent";
|
|
6060
6974
|
sharePercent?: number | null | undefined;
|
|
6061
6975
|
shareAmount?: number | null | undefined;
|
|
6062
|
-
trigger?: "
|
|
6976
|
+
trigger?: "date" | "contract" | "payment" | "deposit" | "registration" | undefined;
|
|
6063
6977
|
}[] | undefined;
|
|
6064
6978
|
costs?: {
|
|
6065
6979
|
category: string;
|
|
@@ -6076,11 +6990,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6076
6990
|
allowedPaymentMethods?: string[] | null | undefined;
|
|
6077
6991
|
allowPartialPayment?: boolean | undefined;
|
|
6078
6992
|
remindPayer?: boolean | undefined;
|
|
6079
|
-
recurringInterval?: "monthly" | "
|
|
6080
|
-
scheduleType?: "fullPayment" | "installment" | "
|
|
6081
|
-
installmentInterval?: "month" | "
|
|
6993
|
+
recurringInterval?: "monthly" | "yearly" | "quarterly" | null | undefined;
|
|
6994
|
+
scheduleType?: "fullPayment" | "installment" | "prepayment" | "stages" | "subscription" | null | undefined;
|
|
6995
|
+
installmentInterval?: "month" | "year" | "twoWeeks" | "week" | null | undefined;
|
|
6082
6996
|
stageLabel?: string | null | undefined;
|
|
6083
|
-
dueTrigger?: "
|
|
6997
|
+
dueTrigger?: "date" | "contract" | "payment" | "deposit" | "registration" | null | undefined;
|
|
6084
6998
|
dueOffsetDays?: number | null | undefined;
|
|
6085
6999
|
isDeposit?: boolean | undefined;
|
|
6086
7000
|
billToName?: string | null | undefined;
|
|
@@ -6096,7 +7010,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6096
7010
|
buyerInn?: string | undefined;
|
|
6097
7011
|
buyerKpp?: string | undefined;
|
|
6098
7012
|
notes?: string | undefined;
|
|
6099
|
-
status?: "pending" | "
|
|
7013
|
+
status?: "pending" | "paid" | "canceled" | "refunded" | undefined;
|
|
6100
7014
|
discount?: number | undefined;
|
|
6101
7015
|
fullPayment?: boolean | undefined;
|
|
6102
7016
|
installment?: boolean | undefined;
|
|
@@ -6134,7 +7048,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6134
7048
|
itemPrice?: number | null | undefined;
|
|
6135
7049
|
itemQuantity?: number | null | undefined;
|
|
6136
7050
|
itemDiscount?: number | null | undefined;
|
|
6137
|
-
kind?: "free" | "
|
|
7051
|
+
kind?: "free" | "property" | "service" | "transit" | null | undefined;
|
|
6138
7052
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
6139
7053
|
vatRate?: number | null | undefined;
|
|
6140
7054
|
dealType?: "sale" | "rent" | null | undefined;
|
|
@@ -6143,21 +7057,21 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6143
7057
|
commissionMode?: "fixed" | "percent" | null | undefined;
|
|
6144
7058
|
commissionPercent?: number | null | undefined;
|
|
6145
7059
|
commissionFixed?: number | null | undefined;
|
|
6146
|
-
commissionPaidBy?: "
|
|
7060
|
+
commissionPaidBy?: "split" | "buyer" | "seller" | null | undefined;
|
|
6147
7061
|
commissionBuyerShare?: number | null | undefined;
|
|
6148
7062
|
commissionBilledSide?: "buyer" | "seller" | null | undefined;
|
|
6149
7063
|
commissionBaseUnlocked?: boolean | undefined;
|
|
6150
7064
|
viaAgency?: {
|
|
6151
7065
|
payee: string;
|
|
6152
7066
|
payeeBank: string;
|
|
6153
|
-
transferTrigger: "
|
|
7067
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
6154
7068
|
deadlineDays: number;
|
|
6155
7069
|
enabled: boolean;
|
|
6156
7070
|
} | null | undefined;
|
|
6157
7071
|
transit?: {
|
|
6158
7072
|
payee: string;
|
|
6159
7073
|
payeeBank: string;
|
|
6160
|
-
transferTrigger: "
|
|
7074
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
6161
7075
|
deadlineDays: number;
|
|
6162
7076
|
} | null | undefined;
|
|
6163
7077
|
transferPayment?: {
|
|
@@ -6171,7 +7085,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6171
7085
|
shareKind: "fixed" | "percent";
|
|
6172
7086
|
sharePercent?: number | null | undefined;
|
|
6173
7087
|
shareAmount?: number | null | undefined;
|
|
6174
|
-
trigger?: "
|
|
7088
|
+
trigger?: "date" | "contract" | "payment" | "deposit" | "registration" | undefined;
|
|
6175
7089
|
}[] | undefined;
|
|
6176
7090
|
costs?: {
|
|
6177
7091
|
category: string;
|
|
@@ -6188,11 +7102,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6188
7102
|
allowedPaymentMethods?: string[] | null | undefined;
|
|
6189
7103
|
allowPartialPayment?: boolean | undefined;
|
|
6190
7104
|
remindPayer?: boolean | undefined;
|
|
6191
|
-
recurringInterval?: "monthly" | "
|
|
6192
|
-
scheduleType?: "fullPayment" | "installment" | "
|
|
6193
|
-
installmentInterval?: "month" | "
|
|
7105
|
+
recurringInterval?: "monthly" | "yearly" | "quarterly" | null | undefined;
|
|
7106
|
+
scheduleType?: "fullPayment" | "installment" | "prepayment" | "stages" | "subscription" | null | undefined;
|
|
7107
|
+
installmentInterval?: "month" | "year" | "twoWeeks" | "week" | null | undefined;
|
|
6194
7108
|
stageLabel?: string | null | undefined;
|
|
6195
|
-
dueTrigger?: "
|
|
7109
|
+
dueTrigger?: "date" | "contract" | "payment" | "deposit" | "registration" | null | undefined;
|
|
6196
7110
|
dueOffsetDays?: number | null | undefined;
|
|
6197
7111
|
isDeposit?: boolean | undefined;
|
|
6198
7112
|
billToName?: string | null | undefined;
|
|
@@ -6208,7 +7122,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6208
7122
|
buyerInn?: string | undefined;
|
|
6209
7123
|
buyerKpp?: string | undefined;
|
|
6210
7124
|
notes?: string | undefined;
|
|
6211
|
-
status?: "pending" | "
|
|
7125
|
+
status?: "pending" | "paid" | "canceled" | "refunded" | undefined;
|
|
6212
7126
|
discount?: number | undefined;
|
|
6213
7127
|
fullPayment?: boolean | undefined;
|
|
6214
7128
|
installment?: boolean | undefined;
|
|
@@ -6233,7 +7147,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6233
7147
|
itemPrice?: number | null | undefined;
|
|
6234
7148
|
itemQuantity?: number | null | undefined;
|
|
6235
7149
|
itemDiscount?: number | null | undefined;
|
|
6236
|
-
kind?: "free" | "
|
|
7150
|
+
kind?: "free" | "property" | "service" | "transit" | null | undefined;
|
|
6237
7151
|
amountType?: "transit" | "revenue" | "commission" | "advance" | "conditional" | null | undefined;
|
|
6238
7152
|
vatRate?: number | null | undefined;
|
|
6239
7153
|
dealType?: "sale" | "rent" | null | undefined;
|
|
@@ -6242,21 +7156,21 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6242
7156
|
commissionMode?: "fixed" | "percent" | null | undefined;
|
|
6243
7157
|
commissionPercent?: number | null | undefined;
|
|
6244
7158
|
commissionFixed?: number | null | undefined;
|
|
6245
|
-
commissionPaidBy?: "
|
|
7159
|
+
commissionPaidBy?: "split" | "buyer" | "seller" | null | undefined;
|
|
6246
7160
|
commissionBuyerShare?: number | null | undefined;
|
|
6247
7161
|
commissionBilledSide?: "buyer" | "seller" | null | undefined;
|
|
6248
7162
|
commissionBaseUnlocked?: boolean | undefined;
|
|
6249
7163
|
viaAgency?: {
|
|
6250
7164
|
payee: string;
|
|
6251
7165
|
payeeBank: string;
|
|
6252
|
-
transferTrigger: "
|
|
7166
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
6253
7167
|
deadlineDays: number;
|
|
6254
7168
|
enabled: boolean;
|
|
6255
7169
|
} | null | undefined;
|
|
6256
7170
|
transit?: {
|
|
6257
7171
|
payee: string;
|
|
6258
7172
|
payeeBank: string;
|
|
6259
|
-
transferTrigger: "
|
|
7173
|
+
transferTrigger: "date" | "contract" | "payment" | "deposit" | "registration";
|
|
6260
7174
|
deadlineDays: number;
|
|
6261
7175
|
} | null | undefined;
|
|
6262
7176
|
transferPayment?: {
|
|
@@ -6270,7 +7184,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6270
7184
|
shareKind: "fixed" | "percent";
|
|
6271
7185
|
sharePercent?: number | null | undefined;
|
|
6272
7186
|
shareAmount?: number | null | undefined;
|
|
6273
|
-
trigger?: "
|
|
7187
|
+
trigger?: "date" | "contract" | "payment" | "deposit" | "registration" | undefined;
|
|
6274
7188
|
}[] | undefined;
|
|
6275
7189
|
costs?: {
|
|
6276
7190
|
category: string;
|
|
@@ -6287,11 +7201,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6287
7201
|
allowedPaymentMethods?: string[] | null | undefined;
|
|
6288
7202
|
allowPartialPayment?: boolean | undefined;
|
|
6289
7203
|
remindPayer?: boolean | undefined;
|
|
6290
|
-
recurringInterval?: "monthly" | "
|
|
6291
|
-
scheduleType?: "fullPayment" | "installment" | "
|
|
6292
|
-
installmentInterval?: "month" | "
|
|
7204
|
+
recurringInterval?: "monthly" | "yearly" | "quarterly" | null | undefined;
|
|
7205
|
+
scheduleType?: "fullPayment" | "installment" | "prepayment" | "stages" | "subscription" | null | undefined;
|
|
7206
|
+
installmentInterval?: "month" | "year" | "twoWeeks" | "week" | null | undefined;
|
|
6293
7207
|
stageLabel?: string | null | undefined;
|
|
6294
|
-
dueTrigger?: "
|
|
7208
|
+
dueTrigger?: "date" | "contract" | "payment" | "deposit" | "registration" | null | undefined;
|
|
6295
7209
|
dueOffsetDays?: number | null | undefined;
|
|
6296
7210
|
isDeposit?: boolean | undefined;
|
|
6297
7211
|
billToName?: string | null | undefined;
|
|
@@ -6307,7 +7221,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6307
7221
|
buyerInn?: string | undefined;
|
|
6308
7222
|
buyerKpp?: string | undefined;
|
|
6309
7223
|
notes?: string | undefined;
|
|
6310
|
-
status?: "pending" | "
|
|
7224
|
+
status?: "pending" | "paid" | "canceled" | "refunded" | undefined;
|
|
6311
7225
|
discount?: number | undefined;
|
|
6312
7226
|
fullPayment?: boolean | undefined;
|
|
6313
7227
|
installment?: boolean | undefined;
|
|
@@ -6325,44 +7239,22 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6325
7239
|
output: {
|
|
6326
7240
|
success: true;
|
|
6327
7241
|
cinvoices: {
|
|
6328
|
-
|
|
6329
|
-
created_at: string;
|
|
6330
|
-
workspaceId: string;
|
|
6331
|
-
updated_at: string | null;
|
|
6332
|
-
deleted_at: string | null;
|
|
6333
|
-
verified_at: string | null;
|
|
6334
|
-
suspended_at: string | null;
|
|
6335
|
-
invoiceId: string;
|
|
6336
|
-
status: string;
|
|
6337
|
-
date: string;
|
|
7242
|
+
language: string;
|
|
6338
7243
|
customerId: string;
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
branchId: string | null;
|
|
6342
|
-
responsibleId: string | null;
|
|
7244
|
+
date: string;
|
|
7245
|
+
status: string;
|
|
6343
7246
|
fullPayment: boolean | null;
|
|
6344
|
-
installment: boolean | null;
|
|
6345
7247
|
notes: string | null;
|
|
6346
|
-
|
|
7248
|
+
installment: boolean | null;
|
|
6347
7249
|
serviceId: string | null;
|
|
6348
|
-
|
|
6349
|
-
discount: number;
|
|
6350
|
-
SellerFinanceAccountId: string;
|
|
6351
|
-
language: string;
|
|
6352
|
-
vatOption: string;
|
|
6353
|
-
unitName: string;
|
|
7250
|
+
currency: string;
|
|
6354
7251
|
unitPrice: number;
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
totalInstallments: number | null;
|
|
6358
|
-
installmentGroupId: string | null;
|
|
7252
|
+
discount: number;
|
|
7253
|
+
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
|
|
6359
7254
|
vatRate: number | null;
|
|
6360
|
-
paidAt: string | null;
|
|
6361
|
-
buyerInn: string | null;
|
|
6362
|
-
buyerKpp: string | null;
|
|
6363
7255
|
subscription: boolean | null;
|
|
6364
|
-
|
|
6365
|
-
|
|
7256
|
+
branchId: string | null;
|
|
7257
|
+
responsibleId: string | null;
|
|
6366
7258
|
internalNote: string | null;
|
|
6367
7259
|
allowedPaymentMethods: string[] | null;
|
|
6368
7260
|
allowPartialPayment: boolean;
|
|
@@ -6376,7 +7268,29 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6376
7268
|
isDeposit: boolean;
|
|
6377
7269
|
billToName: string | null;
|
|
6378
7270
|
billToPhone: string | null;
|
|
6379
|
-
|
|
7271
|
+
installmentNumber: number | null;
|
|
7272
|
+
totalInstallments: number | null;
|
|
7273
|
+
installmentGroupId: string | null;
|
|
7274
|
+
invoiceId: string;
|
|
7275
|
+
SellerFinanceAccountId: string;
|
|
7276
|
+
vatOption: string;
|
|
7277
|
+
buyerInn: string | null;
|
|
7278
|
+
buyerKpp: string | null;
|
|
7279
|
+
unitName: string;
|
|
7280
|
+
unitQuantity: number;
|
|
7281
|
+
subscriptionStartDate: string | null;
|
|
7282
|
+
subscriptionEndDate: string | null;
|
|
7283
|
+
paymentMethod: string | null;
|
|
7284
|
+
id: string;
|
|
7285
|
+
created_at: string;
|
|
7286
|
+
workspaceId: string;
|
|
7287
|
+
updated_at: string | null;
|
|
7288
|
+
deleted_at: string | null;
|
|
7289
|
+
verified_at: string | null;
|
|
7290
|
+
suspended_at: string | null;
|
|
7291
|
+
created_by: string;
|
|
7292
|
+
invoiceDiscount: number;
|
|
7293
|
+
paidAt: string | null;
|
|
6380
7294
|
payments: {
|
|
6381
7295
|
id: string;
|
|
6382
7296
|
amount: number;
|
|
@@ -6497,44 +7411,22 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6497
7411
|
created_at: string;
|
|
6498
7412
|
};
|
|
6499
7413
|
cinvoice: {
|
|
6500
|
-
|
|
6501
|
-
created_at: string;
|
|
6502
|
-
workspaceId: string;
|
|
6503
|
-
updated_at: string | null;
|
|
6504
|
-
deleted_at: string | null;
|
|
6505
|
-
verified_at: string | null;
|
|
6506
|
-
suspended_at: string | null;
|
|
6507
|
-
invoiceId: string;
|
|
6508
|
-
status: string;
|
|
6509
|
-
date: string;
|
|
7414
|
+
language: string;
|
|
6510
7415
|
customerId: string;
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
branchId: string | null;
|
|
6514
|
-
responsibleId: string | null;
|
|
7416
|
+
date: string;
|
|
7417
|
+
status: string;
|
|
6515
7418
|
fullPayment: boolean | null;
|
|
6516
|
-
installment: boolean | null;
|
|
6517
7419
|
notes: string | null;
|
|
6518
|
-
|
|
7420
|
+
installment: boolean | null;
|
|
6519
7421
|
serviceId: string | null;
|
|
6520
|
-
|
|
6521
|
-
discount: number;
|
|
6522
|
-
SellerFinanceAccountId: string;
|
|
6523
|
-
language: string;
|
|
6524
|
-
vatOption: string;
|
|
6525
|
-
unitName: string;
|
|
7422
|
+
currency: string;
|
|
6526
7423
|
unitPrice: number;
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
totalInstallments: number | null;
|
|
6530
|
-
installmentGroupId: string | null;
|
|
7424
|
+
discount: number;
|
|
7425
|
+
amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
|
|
6531
7426
|
vatRate: number | null;
|
|
6532
|
-
paidAt: string | null;
|
|
6533
|
-
buyerInn: string | null;
|
|
6534
|
-
buyerKpp: string | null;
|
|
6535
7427
|
subscription: boolean | null;
|
|
6536
|
-
|
|
6537
|
-
|
|
7428
|
+
branchId: string | null;
|
|
7429
|
+
responsibleId: string | null;
|
|
6538
7430
|
internalNote: string | null;
|
|
6539
7431
|
allowedPaymentMethods: string[] | null;
|
|
6540
7432
|
allowPartialPayment: boolean;
|
|
@@ -6548,7 +7440,29 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6548
7440
|
isDeposit: boolean;
|
|
6549
7441
|
billToName: string | null;
|
|
6550
7442
|
billToPhone: string | null;
|
|
6551
|
-
|
|
7443
|
+
installmentNumber: number | null;
|
|
7444
|
+
totalInstallments: number | null;
|
|
7445
|
+
installmentGroupId: string | null;
|
|
7446
|
+
invoiceId: string;
|
|
7447
|
+
SellerFinanceAccountId: string;
|
|
7448
|
+
vatOption: string;
|
|
7449
|
+
buyerInn: string | null;
|
|
7450
|
+
buyerKpp: string | null;
|
|
7451
|
+
unitName: string;
|
|
7452
|
+
unitQuantity: number;
|
|
7453
|
+
subscriptionStartDate: string | null;
|
|
7454
|
+
subscriptionEndDate: string | null;
|
|
7455
|
+
paymentMethod: string | null;
|
|
7456
|
+
id: string;
|
|
7457
|
+
created_at: string;
|
|
7458
|
+
workspaceId: string;
|
|
7459
|
+
updated_at: string | null;
|
|
7460
|
+
deleted_at: string | null;
|
|
7461
|
+
verified_at: string | null;
|
|
7462
|
+
suspended_at: string | null;
|
|
7463
|
+
created_by: string;
|
|
7464
|
+
invoiceDiscount: number;
|
|
7465
|
+
paidAt: string | null;
|
|
6552
7466
|
payments: {
|
|
6553
7467
|
id: string;
|
|
6554
7468
|
amount: number;
|
|
@@ -6718,6 +7632,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6718
7632
|
output: {
|
|
6719
7633
|
success: true;
|
|
6720
7634
|
history: {
|
|
7635
|
+
customerId: string;
|
|
7636
|
+
date: string;
|
|
7637
|
+
notes: string | null;
|
|
7638
|
+
serviceId: string;
|
|
6721
7639
|
id: string;
|
|
6722
7640
|
created_at: string;
|
|
6723
7641
|
workspaceId: string;
|
|
@@ -6725,11 +7643,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6725
7643
|
deleted_at: string | null;
|
|
6726
7644
|
verified_at: string | null;
|
|
6727
7645
|
suspended_at: string | null;
|
|
6728
|
-
date: string;
|
|
6729
|
-
customerId: string;
|
|
6730
7646
|
created_by: string;
|
|
6731
|
-
notes: string | null;
|
|
6732
|
-
serviceId: string;
|
|
6733
7647
|
}[];
|
|
6734
7648
|
};
|
|
6735
7649
|
outputFormat: "json";
|
|
@@ -7022,6 +7936,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7022
7936
|
success: true;
|
|
7023
7937
|
assignee: {
|
|
7024
7938
|
description: string | null;
|
|
7939
|
+
taskId: string;
|
|
7940
|
+
collaboratorId: string;
|
|
7941
|
+
startDate: string | null;
|
|
7942
|
+
endDate: string | null;
|
|
7943
|
+
workedMinutes: number | null;
|
|
7025
7944
|
id: string;
|
|
7026
7945
|
created_at: string;
|
|
7027
7946
|
workspaceId: string;
|
|
@@ -7029,12 +7948,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7029
7948
|
deleted_at: string | null;
|
|
7030
7949
|
verified_at: string | null;
|
|
7031
7950
|
suspended_at: string | null;
|
|
7032
|
-
collaboratorId: string;
|
|
7033
7951
|
created_by: string;
|
|
7034
|
-
startDate: string | null;
|
|
7035
|
-
endDate: string | null;
|
|
7036
|
-
taskId: string;
|
|
7037
|
-
workedMinutes: number | null;
|
|
7038
7952
|
};
|
|
7039
7953
|
};
|
|
7040
7954
|
outputFormat: "json";
|
|
@@ -7226,6 +8140,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7226
8140
|
success: true;
|
|
7227
8141
|
tag: {
|
|
7228
8142
|
description: string | null;
|
|
8143
|
+
name: string;
|
|
7229
8144
|
id: string;
|
|
7230
8145
|
created_at: string;
|
|
7231
8146
|
workspaceId: string;
|
|
@@ -7233,7 +8148,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7233
8148
|
deleted_at: string | null;
|
|
7234
8149
|
verified_at: string | null;
|
|
7235
8150
|
suspended_at: string | null;
|
|
7236
|
-
name: string;
|
|
7237
8151
|
}[];
|
|
7238
8152
|
};
|
|
7239
8153
|
outputFormat: "json";
|
|
@@ -7688,8 +8602,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
7688
8602
|
output: {
|
|
7689
8603
|
success: true;
|
|
7690
8604
|
reason: {
|
|
7691
|
-
title: string;
|
|
7692
8605
|
description: string | null;
|
|
8606
|
+
title: string;
|
|
7693
8607
|
id: string;
|
|
7694
8608
|
created_at: string;
|
|
7695
8609
|
workspaceId: string;
|
|
@@ -10269,6 +11183,36 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
10269
11183
|
status: 400;
|
|
10270
11184
|
};
|
|
10271
11185
|
};
|
|
11186
|
+
} & {
|
|
11187
|
+
"/remove-finance-account-image-background": {
|
|
11188
|
+
$post: {
|
|
11189
|
+
input: {
|
|
11190
|
+
json: {
|
|
11191
|
+
workspace: string;
|
|
11192
|
+
image: string;
|
|
11193
|
+
};
|
|
11194
|
+
};
|
|
11195
|
+
output: {
|
|
11196
|
+
success: false;
|
|
11197
|
+
error: string;
|
|
11198
|
+
};
|
|
11199
|
+
outputFormat: "json";
|
|
11200
|
+
status: 400;
|
|
11201
|
+
} | {
|
|
11202
|
+
input: {
|
|
11203
|
+
json: {
|
|
11204
|
+
workspace: string;
|
|
11205
|
+
image: string;
|
|
11206
|
+
};
|
|
11207
|
+
};
|
|
11208
|
+
output: {
|
|
11209
|
+
success: true;
|
|
11210
|
+
image: string;
|
|
11211
|
+
};
|
|
11212
|
+
outputFormat: "json";
|
|
11213
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
11214
|
+
};
|
|
11215
|
+
};
|
|
10272
11216
|
} & {
|
|
10273
11217
|
"/finance-account-images/:workspace/:accountId": {
|
|
10274
11218
|
$get: {
|
|
@@ -12066,12 +13010,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
12066
13010
|
withinSlaCount: number;
|
|
12067
13011
|
averageSeconds: number | null;
|
|
12068
13012
|
medianSeconds: number | null;
|
|
12069
|
-
userId: string;
|
|
12070
|
-
status: string;
|
|
12071
13013
|
collaboratorId: string;
|
|
12072
|
-
|
|
13014
|
+
status: string;
|
|
12073
13015
|
firstName: string | null;
|
|
12074
13016
|
lastName: string | null;
|
|
13017
|
+
userId: string;
|
|
13018
|
+
profilePicture: string | null;
|
|
12075
13019
|
}[];
|
|
12076
13020
|
};
|
|
12077
13021
|
outputFormat: "json";
|
|
@@ -13451,7 +14395,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13451
14395
|
name: string;
|
|
13452
14396
|
type: "own" | "franchise";
|
|
13453
14397
|
franchiseeId: string | null;
|
|
13454
|
-
status: "
|
|
14398
|
+
status: "closed" | "active" | "renovation" | "searching";
|
|
13455
14399
|
openedAt: string | null;
|
|
13456
14400
|
address: string;
|
|
13457
14401
|
phone: string;
|
|
@@ -13475,7 +14419,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13475
14419
|
id?: string | undefined;
|
|
13476
14420
|
name: string;
|
|
13477
14421
|
zone: string | null;
|
|
13478
|
-
type: "
|
|
14422
|
+
type: "other" | "hall" | "room" | "table" | "seat" | "bed" | "court" | "bay" | "line" | "showroom";
|
|
13479
14423
|
capacity: number | null;
|
|
13480
14424
|
durationMinutes: number;
|
|
13481
14425
|
color: "blue" | "green" | "amber" | "red" | "violet" | "teal";
|
|
@@ -13502,7 +14446,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13502
14446
|
name: string;
|
|
13503
14447
|
type: "own" | "franchise";
|
|
13504
14448
|
franchiseeId: string | null;
|
|
13505
|
-
status: "
|
|
14449
|
+
status: "closed" | "active" | "renovation" | "searching";
|
|
13506
14450
|
openedAt: string | null;
|
|
13507
14451
|
address: string;
|
|
13508
14452
|
phone: string;
|
|
@@ -13526,7 +14470,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13526
14470
|
id?: string | undefined;
|
|
13527
14471
|
name: string;
|
|
13528
14472
|
zone: string | null;
|
|
13529
|
-
type: "
|
|
14473
|
+
type: "other" | "hall" | "room" | "table" | "seat" | "bed" | "court" | "bay" | "line" | "showroom";
|
|
13530
14474
|
capacity: number | null;
|
|
13531
14475
|
durationMinutes: number;
|
|
13532
14476
|
color: "blue" | "green" | "amber" | "red" | "violet" | "teal";
|
|
@@ -13542,18 +14486,16 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13542
14486
|
success: true;
|
|
13543
14487
|
branch: {
|
|
13544
14488
|
type: string;
|
|
13545
|
-
id: string;
|
|
13546
|
-
workspaceId: string;
|
|
13547
|
-
name: string;
|
|
13548
|
-
createdAt: string;
|
|
13549
14489
|
status: string;
|
|
14490
|
+
name: string;
|
|
13550
14491
|
phone: string;
|
|
13551
|
-
franchiseeId: string | null;
|
|
13552
|
-
openedAt: string | null;
|
|
13553
|
-
isDefault: boolean;
|
|
13554
|
-
address: string;
|
|
13555
14492
|
telegram: string;
|
|
13556
14493
|
whatsapp: string;
|
|
14494
|
+
address: string;
|
|
14495
|
+
timeZone: string;
|
|
14496
|
+
id: string;
|
|
14497
|
+
franchiseeId: string | null;
|
|
14498
|
+
openedAt: string | null;
|
|
13557
14499
|
managerId: string | null;
|
|
13558
14500
|
memberIds: string[];
|
|
13559
14501
|
hours: {
|
|
@@ -13562,11 +14504,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13562
14504
|
start: string;
|
|
13563
14505
|
end: string;
|
|
13564
14506
|
}[];
|
|
13565
|
-
timeZone: string;
|
|
13566
14507
|
useWorkspaceLegal: boolean;
|
|
13567
14508
|
attributes: {
|
|
13568
14509
|
[x: string]: ResourceAttributeValue;
|
|
13569
14510
|
};
|
|
14511
|
+
isDefault: boolean;
|
|
14512
|
+
workspaceId: string;
|
|
14513
|
+
createdAt: string;
|
|
13570
14514
|
};
|
|
13571
14515
|
places: {
|
|
13572
14516
|
id: string;
|
|
@@ -13739,17 +14683,17 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13739
14683
|
output: {
|
|
13740
14684
|
success: true;
|
|
13741
14685
|
warehouse: {
|
|
13742
|
-
id: string;
|
|
13743
|
-
workspaceId: string;
|
|
13744
14686
|
name: string;
|
|
13745
|
-
createdAt: string;
|
|
13746
|
-
isDefault: boolean;
|
|
13747
14687
|
address: string | null;
|
|
14688
|
+
branchId: string;
|
|
14689
|
+
responsibleId: string | null;
|
|
14690
|
+
id: string;
|
|
13748
14691
|
attributes: {
|
|
13749
14692
|
[x: string]: ResourceAttributeValue;
|
|
13750
14693
|
};
|
|
13751
|
-
|
|
13752
|
-
|
|
14694
|
+
isDefault: boolean;
|
|
14695
|
+
workspaceId: string;
|
|
14696
|
+
createdAt: string;
|
|
13753
14697
|
archivedAt: string | null;
|
|
13754
14698
|
};
|
|
13755
14699
|
};
|
|
@@ -13893,14 +14837,14 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13893
14837
|
output: {
|
|
13894
14838
|
success: true;
|
|
13895
14839
|
item: {
|
|
14840
|
+
variant: string | null;
|
|
14841
|
+
quantity: number;
|
|
13896
14842
|
id: string;
|
|
13897
|
-
workspaceId: string;
|
|
13898
14843
|
warehouseId: string;
|
|
13899
|
-
productName: string;
|
|
13900
|
-
variant: string | null;
|
|
13901
14844
|
sku: string;
|
|
13902
|
-
|
|
14845
|
+
productName: string;
|
|
13903
14846
|
minStock: number;
|
|
14847
|
+
workspaceId: string;
|
|
13904
14848
|
};
|
|
13905
14849
|
};
|
|
13906
14850
|
outputFormat: "json";
|
|
@@ -13943,19 +14887,19 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13943
14887
|
output: {
|
|
13944
14888
|
success: true;
|
|
13945
14889
|
movement: {
|
|
13946
|
-
id: string;
|
|
13947
|
-
userId: string | null;
|
|
13948
|
-
workspaceId: string;
|
|
13949
|
-
createdAt: string;
|
|
13950
14890
|
date: string;
|
|
14891
|
+
variant: string | null;
|
|
13951
14892
|
reason: string;
|
|
13952
14893
|
comment: string | null;
|
|
13953
|
-
productName: string;
|
|
13954
|
-
variant: string | null;
|
|
13955
|
-
sku: string;
|
|
13956
14894
|
quantity: number;
|
|
14895
|
+
id: string;
|
|
14896
|
+
sku: string;
|
|
14897
|
+
productName: string;
|
|
13957
14898
|
fromWarehouseId: string;
|
|
13958
14899
|
toWarehouseId: string;
|
|
14900
|
+
userId: string | null;
|
|
14901
|
+
workspaceId: string;
|
|
14902
|
+
createdAt: string;
|
|
13959
14903
|
userName: string | null;
|
|
13960
14904
|
};
|
|
13961
14905
|
};
|