@mestra-dev/contract 0.0.204 → 0.0.205

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.ts +623 -14
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -20561,7 +20561,69 @@ declare const routes: import("hono/hono-base").HonoBase<{
20561
20561
  input: {};
20562
20562
  output: {
20563
20563
  success: true;
20564
- service: import("hono/utils/types").JSONValue;
20564
+ service: {
20565
+ id: string;
20566
+ type: string | null;
20567
+ created_at: string;
20568
+ active: boolean | null;
20569
+ title: string;
20570
+ workspaceId: string;
20571
+ description: string | null;
20572
+ price: number | null;
20573
+ created_by: string | null;
20574
+ currency: string | null;
20575
+ updated_at: string | null;
20576
+ deleted_at: string | null;
20577
+ verified_at: string | null;
20578
+ suspended_at: string | null;
20579
+ fullPayment: boolean | null;
20580
+ mortgagePayment: boolean | null;
20581
+ installmentPayment: boolean | null;
20582
+ fullPaymentAmount: number | null;
20583
+ mortgagePaymentAmount: number | null;
20584
+ installmentPaymentAmount: number | null;
20585
+ roomsCount: number | null;
20586
+ propertyType: string | null;
20587
+ commercialType: string | null;
20588
+ landType: string | null;
20589
+ propertyStatus: string | null;
20590
+ commercialClass: string | null;
20591
+ ownershipType: string | null;
20592
+ loadingDockAccess: boolean | null;
20593
+ waterAccess: boolean | null;
20594
+ electricityAccess: boolean | null;
20595
+ gasAccess: boolean | null;
20596
+ sewageAccess: boolean | null;
20597
+ internetAccess: boolean | null;
20598
+ elevaorAccess: boolean | null;
20599
+ seprateEntrance: boolean | null;
20600
+ furnishedType: string | null;
20601
+ parkingType: string | null;
20602
+ balconyAccess: boolean | null;
20603
+ loggiaAccess: boolean | null;
20604
+ otherFeatures: string | null;
20605
+ pricePerSquareMeter: number | null;
20606
+ alternativeEURCurrency: boolean | null;
20607
+ alternativeRUBCurrency: boolean | null;
20608
+ alternativeUSDCurrency: boolean | null;
20609
+ estimatedDeliveryDate: string | null;
20610
+ bathroomsCount: number | null;
20611
+ bedroomsCount: number | null;
20612
+ totalArea: number | null;
20613
+ livingArea: number | null;
20614
+ ceilingHeight: number | null;
20615
+ floor: number | null;
20616
+ totalFloors: number | null;
20617
+ yearBuilt: string | null;
20618
+ renovation: string | null;
20619
+ developerName: string | null;
20620
+ city: string | null;
20621
+ district: string | null;
20622
+ nearestMetroStation: string | null;
20623
+ fullAddress: string | null;
20624
+ latitude: string | null;
20625
+ longitude: string | null;
20626
+ }[];
20565
20627
  };
20566
20628
  outputFormat: "json";
20567
20629
  status: 201;
@@ -20589,7 +20651,69 @@ declare const routes: import("hono/hono-base").HonoBase<{
20589
20651
  input: {};
20590
20652
  output: {
20591
20653
  success: true;
20592
- service: never;
20654
+ service: {
20655
+ updated_at: string | null;
20656
+ deleted_at: string | null;
20657
+ verified_at: string | null;
20658
+ suspended_at: string | null;
20659
+ created_at: string;
20660
+ id: string;
20661
+ workspaceId: string;
20662
+ created_by: string | null;
20663
+ title: string;
20664
+ active: boolean | null;
20665
+ type: string | null;
20666
+ currency: string | null;
20667
+ description: string | null;
20668
+ price: number | null;
20669
+ propertyType: string | null;
20670
+ propertyStatus: string | null;
20671
+ commercialType: string | null;
20672
+ commercialClass: string | null;
20673
+ landType: string | null;
20674
+ ownershipType: string | null;
20675
+ loadingDockAccess: boolean | null;
20676
+ waterAccess: boolean | null;
20677
+ electricityAccess: boolean | null;
20678
+ gasAccess: boolean | null;
20679
+ sewageAccess: boolean | null;
20680
+ internetAccess: boolean | null;
20681
+ elevaorAccess: boolean | null;
20682
+ seprateEntrance: boolean | null;
20683
+ furnishedType: string | null;
20684
+ parkingType: string | null;
20685
+ balconyAccess: boolean | null;
20686
+ loggiaAccess: boolean | null;
20687
+ otherFeatures: string | null;
20688
+ fullPayment: boolean | null;
20689
+ mortgagePayment: boolean | null;
20690
+ installmentPayment: boolean | null;
20691
+ fullPaymentAmount: number | null;
20692
+ mortgagePaymentAmount: number | null;
20693
+ installmentPaymentAmount: number | null;
20694
+ pricePerSquareMeter: number | null;
20695
+ alternativeEURCurrency: boolean | null;
20696
+ alternativeRUBCurrency: boolean | null;
20697
+ alternativeUSDCurrency: boolean | null;
20698
+ estimatedDeliveryDate: string | null;
20699
+ roomsCount: number | null;
20700
+ bathroomsCount: number | null;
20701
+ bedroomsCount: number | null;
20702
+ totalArea: number | null;
20703
+ livingArea: number | null;
20704
+ ceilingHeight: number | null;
20705
+ floor: number | null;
20706
+ totalFloors: number | null;
20707
+ yearBuilt: string | null;
20708
+ renovation: string | null;
20709
+ developerName: string | null;
20710
+ city: string | null;
20711
+ district: string | null;
20712
+ nearestMetroStation: string | null;
20713
+ fullAddress: string | null;
20714
+ latitude: string | null;
20715
+ longitude: string | null;
20716
+ }[];
20593
20717
  };
20594
20718
  outputFormat: "json";
20595
20719
  status: 200;
@@ -20617,7 +20741,75 @@ declare const routes: import("hono/hono-base").HonoBase<{
20617
20741
  };
20618
20742
  output: {
20619
20743
  success: true;
20620
- services: import("hono/utils/types").JSONValue;
20744
+ services: {
20745
+ createdBy: {
20746
+ id: string;
20747
+ firstName: string | null;
20748
+ lastName: string | null;
20749
+ profilePicture: string | null;
20750
+ } | null;
20751
+ updated_at: string | null;
20752
+ deleted_at: string | null;
20753
+ verified_at: string | null;
20754
+ suspended_at: string | null;
20755
+ created_at: string;
20756
+ id: string;
20757
+ workspaceId: string;
20758
+ created_by: string | null;
20759
+ title: string;
20760
+ active: boolean | null;
20761
+ type: string | null;
20762
+ currency: string | null;
20763
+ description: string | null;
20764
+ price: number | null;
20765
+ propertyType: string | null;
20766
+ propertyStatus: string | null;
20767
+ commercialType: string | null;
20768
+ commercialClass: string | null;
20769
+ landType: string | null;
20770
+ ownershipType: string | null;
20771
+ loadingDockAccess: boolean | null;
20772
+ waterAccess: boolean | null;
20773
+ electricityAccess: boolean | null;
20774
+ gasAccess: boolean | null;
20775
+ sewageAccess: boolean | null;
20776
+ internetAccess: boolean | null;
20777
+ elevaorAccess: boolean | null;
20778
+ seprateEntrance: boolean | null;
20779
+ furnishedType: string | null;
20780
+ parkingType: string | null;
20781
+ balconyAccess: boolean | null;
20782
+ loggiaAccess: boolean | null;
20783
+ otherFeatures: string | null;
20784
+ fullPayment: boolean | null;
20785
+ mortgagePayment: boolean | null;
20786
+ installmentPayment: boolean | null;
20787
+ fullPaymentAmount: number | null;
20788
+ mortgagePaymentAmount: number | null;
20789
+ installmentPaymentAmount: number | null;
20790
+ pricePerSquareMeter: number | null;
20791
+ alternativeEURCurrency: boolean | null;
20792
+ alternativeRUBCurrency: boolean | null;
20793
+ alternativeUSDCurrency: boolean | null;
20794
+ estimatedDeliveryDate: string | null;
20795
+ roomsCount: number | null;
20796
+ bathroomsCount: number | null;
20797
+ bedroomsCount: number | null;
20798
+ totalArea: number | null;
20799
+ livingArea: number | null;
20800
+ ceilingHeight: number | null;
20801
+ floor: number | null;
20802
+ totalFloors: number | null;
20803
+ yearBuilt: string | null;
20804
+ renovation: string | null;
20805
+ developerName: string | null;
20806
+ city: string | null;
20807
+ district: string | null;
20808
+ nearestMetroStation: string | null;
20809
+ fullAddress: string | null;
20810
+ latitude: string | null;
20811
+ longitude: string | null;
20812
+ }[];
20621
20813
  };
20622
20814
  outputFormat: "json";
20623
20815
  status: 200;
@@ -20663,7 +20855,75 @@ declare const routes: import("hono/hono-base").HonoBase<{
20663
20855
  };
20664
20856
  output: {
20665
20857
  success: true;
20666
- service: never;
20858
+ service: {
20859
+ createdBy: {
20860
+ id: string;
20861
+ firstName: string | null;
20862
+ lastName: string | null;
20863
+ profilePicture: string | null;
20864
+ } | null;
20865
+ updated_at: string | null;
20866
+ deleted_at: string | null;
20867
+ verified_at: string | null;
20868
+ suspended_at: string | null;
20869
+ created_at: string;
20870
+ id: string;
20871
+ workspaceId: string;
20872
+ created_by: string | null;
20873
+ title: string;
20874
+ active: boolean | null;
20875
+ type: string | null;
20876
+ currency: string | null;
20877
+ description: string | null;
20878
+ price: number | null;
20879
+ propertyType: string | null;
20880
+ propertyStatus: string | null;
20881
+ commercialType: string | null;
20882
+ commercialClass: string | null;
20883
+ landType: string | null;
20884
+ ownershipType: string | null;
20885
+ loadingDockAccess: boolean | null;
20886
+ waterAccess: boolean | null;
20887
+ electricityAccess: boolean | null;
20888
+ gasAccess: boolean | null;
20889
+ sewageAccess: boolean | null;
20890
+ internetAccess: boolean | null;
20891
+ elevaorAccess: boolean | null;
20892
+ seprateEntrance: boolean | null;
20893
+ furnishedType: string | null;
20894
+ parkingType: string | null;
20895
+ balconyAccess: boolean | null;
20896
+ loggiaAccess: boolean | null;
20897
+ otherFeatures: string | null;
20898
+ fullPayment: boolean | null;
20899
+ mortgagePayment: boolean | null;
20900
+ installmentPayment: boolean | null;
20901
+ fullPaymentAmount: number | null;
20902
+ mortgagePaymentAmount: number | null;
20903
+ installmentPaymentAmount: number | null;
20904
+ pricePerSquareMeter: number | null;
20905
+ alternativeEURCurrency: boolean | null;
20906
+ alternativeRUBCurrency: boolean | null;
20907
+ alternativeUSDCurrency: boolean | null;
20908
+ estimatedDeliveryDate: string | null;
20909
+ roomsCount: number | null;
20910
+ bathroomsCount: number | null;
20911
+ bedroomsCount: number | null;
20912
+ totalArea: number | null;
20913
+ livingArea: number | null;
20914
+ ceilingHeight: number | null;
20915
+ floor: number | null;
20916
+ totalFloors: number | null;
20917
+ yearBuilt: string | null;
20918
+ renovation: string | null;
20919
+ developerName: string | null;
20920
+ city: string | null;
20921
+ district: string | null;
20922
+ nearestMetroStation: string | null;
20923
+ fullAddress: string | null;
20924
+ latitude: string | null;
20925
+ longitude: string | null;
20926
+ };
20667
20927
  };
20668
20928
  outputFormat: "json";
20669
20929
  status: 200;
@@ -20710,7 +20970,56 @@ declare const routes: import("hono/hono-base").HonoBase<{
20710
20970
  input: {};
20711
20971
  output: {
20712
20972
  success: true;
20713
- customer: import("hono/utils/types").JSONValue;
20973
+ customer: {
20974
+ id: string;
20975
+ type: string | null;
20976
+ created_at: string;
20977
+ name: string;
20978
+ email: string | null;
20979
+ workspaceId: string;
20980
+ created_by: string | null;
20981
+ vk: string | null;
20982
+ instagram: string | null;
20983
+ whatsapp: string | null;
20984
+ telegram: string | null;
20985
+ companyName: string | null;
20986
+ leadSource: string | null;
20987
+ updated_at: string | null;
20988
+ deleted_at: string | null;
20989
+ verified_at: string | null;
20990
+ suspended_at: string | null;
20991
+ phone: string | null;
20992
+ igSynapseId: string | null;
20993
+ waSynapseId: string | null;
20994
+ tgSynapseId: string | null;
20995
+ vkSynapseId: string | null;
20996
+ budgetMin: number | null;
20997
+ budgetMax: number | null;
20998
+ fullPayment: boolean | null;
20999
+ mortgagePayment: boolean | null;
21000
+ installmentPayment: boolean | null;
21001
+ fullPaymentAmount: number | null;
21002
+ mortgagePaymentAmount: number | null;
21003
+ installmentPaymentAmount: number | null;
21004
+ minArea: number | null;
21005
+ maxArea: number | null;
21006
+ roomsCount: number | null;
21007
+ preferredDistricts: string[] | null;
21008
+ propertyType: string | null;
21009
+ housingType: string | null;
21010
+ housingTypeNew: boolean | null;
21011
+ housingTypeResale: boolean | null;
21012
+ commercialType: string | null;
21013
+ landType: string | null;
21014
+ maxMetroDistance: number | null;
21015
+ dealStatus: string | null;
21016
+ preferredPaymentMethod: string | null;
21017
+ childrenCount: number | null;
21018
+ hasPets: boolean | null;
21019
+ carsCount: number | null;
21020
+ birthDate: string | null;
21021
+ notes: string | null;
21022
+ }[];
20714
21023
  };
20715
21024
  outputFormat: "json";
20716
21025
  status: 201;
@@ -20750,7 +21059,62 @@ declare const routes: import("hono/hono-base").HonoBase<{
20750
21059
  };
20751
21060
  output: {
20752
21061
  success: true;
20753
- customers: import("hono/utils/types").JSONValue;
21062
+ customers: {
21063
+ createdBy: {
21064
+ id: string;
21065
+ firstName: string | null;
21066
+ lastName: string | null;
21067
+ profilePicture: string | null;
21068
+ } | null;
21069
+ updated_at: string | null;
21070
+ deleted_at: string | null;
21071
+ verified_at: string | null;
21072
+ suspended_at: string | null;
21073
+ created_at: string;
21074
+ id: string;
21075
+ workspaceId: string;
21076
+ created_by: string | null;
21077
+ type: string | null;
21078
+ name: string;
21079
+ companyName: string | null;
21080
+ phone: string | null;
21081
+ telegram: string | null;
21082
+ whatsapp: string | null;
21083
+ instagram: string | null;
21084
+ vk: string | null;
21085
+ igSynapseId: string | null;
21086
+ waSynapseId: string | null;
21087
+ tgSynapseId: string | null;
21088
+ vkSynapseId: string | null;
21089
+ email: string | null;
21090
+ leadSource: string | null;
21091
+ budgetMin: number | null;
21092
+ budgetMax: number | null;
21093
+ fullPayment: boolean | null;
21094
+ mortgagePayment: boolean | null;
21095
+ installmentPayment: boolean | null;
21096
+ fullPaymentAmount: number | null;
21097
+ mortgagePaymentAmount: number | null;
21098
+ installmentPaymentAmount: number | null;
21099
+ minArea: number | null;
21100
+ maxArea: number | null;
21101
+ roomsCount: number | null;
21102
+ preferredDistricts: string[] | null;
21103
+ propertyType: string | null;
21104
+ housingType: string | null;
21105
+ housingTypeNew: boolean | null;
21106
+ housingTypeResale: boolean | null;
21107
+ commercialType: string | null;
21108
+ landType: string | null;
21109
+ maxMetroDistance: number | null;
21110
+ dealStatus: string | null;
21111
+ preferredPaymentMethod: string | null;
21112
+ childrenCount: number | null;
21113
+ hasPets: boolean | null;
21114
+ carsCount: number | null;
21115
+ birthDate: string | null;
21116
+ notes: string | null;
21117
+ }[];
20754
21118
  };
20755
21119
  outputFormat: "json";
20756
21120
  status: 200;
@@ -20796,7 +21160,62 @@ declare const routes: import("hono/hono-base").HonoBase<{
20796
21160
  };
20797
21161
  output: {
20798
21162
  success: true;
20799
- customer: never;
21163
+ customer: {
21164
+ createdBy: {
21165
+ id: string;
21166
+ firstName: string | null;
21167
+ lastName: string | null;
21168
+ profilePicture: string | null;
21169
+ } | null;
21170
+ updated_at: string | null;
21171
+ deleted_at: string | null;
21172
+ verified_at: string | null;
21173
+ suspended_at: string | null;
21174
+ created_at: string;
21175
+ id: string;
21176
+ workspaceId: string;
21177
+ created_by: string | null;
21178
+ type: string | null;
21179
+ name: string;
21180
+ companyName: string | null;
21181
+ phone: string | null;
21182
+ telegram: string | null;
21183
+ whatsapp: string | null;
21184
+ instagram: string | null;
21185
+ vk: string | null;
21186
+ igSynapseId: string | null;
21187
+ waSynapseId: string | null;
21188
+ tgSynapseId: string | null;
21189
+ vkSynapseId: string | null;
21190
+ email: string | null;
21191
+ leadSource: string | null;
21192
+ budgetMin: number | null;
21193
+ budgetMax: number | null;
21194
+ fullPayment: boolean | null;
21195
+ mortgagePayment: boolean | null;
21196
+ installmentPayment: boolean | null;
21197
+ fullPaymentAmount: number | null;
21198
+ mortgagePaymentAmount: number | null;
21199
+ installmentPaymentAmount: number | null;
21200
+ minArea: number | null;
21201
+ maxArea: number | null;
21202
+ roomsCount: number | null;
21203
+ preferredDistricts: string[] | null;
21204
+ propertyType: string | null;
21205
+ housingType: string | null;
21206
+ housingTypeNew: boolean | null;
21207
+ housingTypeResale: boolean | null;
21208
+ commercialType: string | null;
21209
+ landType: string | null;
21210
+ maxMetroDistance: number | null;
21211
+ dealStatus: string | null;
21212
+ preferredPaymentMethod: string | null;
21213
+ childrenCount: number | null;
21214
+ hasPets: boolean | null;
21215
+ carsCount: number | null;
21216
+ birthDate: string | null;
21217
+ notes: string | null;
21218
+ };
20800
21219
  };
20801
21220
  outputFormat: "json";
20802
21221
  status: 200;
@@ -20851,7 +21270,56 @@ declare const routes: import("hono/hono-base").HonoBase<{
20851
21270
  input: {};
20852
21271
  output: {
20853
21272
  success: true;
20854
- customer: never;
21273
+ customer: {
21274
+ updated_at: string | null;
21275
+ deleted_at: string | null;
21276
+ verified_at: string | null;
21277
+ suspended_at: string | null;
21278
+ created_at: string;
21279
+ id: string;
21280
+ workspaceId: string;
21281
+ created_by: string | null;
21282
+ type: string | null;
21283
+ name: string;
21284
+ companyName: string | null;
21285
+ phone: string | null;
21286
+ telegram: string | null;
21287
+ whatsapp: string | null;
21288
+ instagram: string | null;
21289
+ vk: string | null;
21290
+ igSynapseId: string | null;
21291
+ waSynapseId: string | null;
21292
+ tgSynapseId: string | null;
21293
+ vkSynapseId: string | null;
21294
+ email: string | null;
21295
+ leadSource: string | null;
21296
+ budgetMin: number | null;
21297
+ budgetMax: number | null;
21298
+ fullPayment: boolean | null;
21299
+ mortgagePayment: boolean | null;
21300
+ installmentPayment: boolean | null;
21301
+ fullPaymentAmount: number | null;
21302
+ mortgagePaymentAmount: number | null;
21303
+ installmentPaymentAmount: number | null;
21304
+ minArea: number | null;
21305
+ maxArea: number | null;
21306
+ roomsCount: number | null;
21307
+ preferredDistricts: string[] | null;
21308
+ propertyType: string | null;
21309
+ housingType: string | null;
21310
+ housingTypeNew: boolean | null;
21311
+ housingTypeResale: boolean | null;
21312
+ commercialType: string | null;
21313
+ landType: string | null;
21314
+ maxMetroDistance: number | null;
21315
+ dealStatus: string | null;
21316
+ preferredPaymentMethod: string | null;
21317
+ childrenCount: number | null;
21318
+ hasPets: boolean | null;
21319
+ carsCount: number | null;
21320
+ birthDate: string | null;
21321
+ notes: string | null;
21322
+ }[];
20855
21323
  };
20856
21324
  outputFormat: "json";
20857
21325
  status: 200;
@@ -21117,7 +21585,39 @@ declare const routes: import("hono/hono-base").HonoBase<{
21117
21585
  input: {};
21118
21586
  output: {
21119
21587
  success: true;
21120
- cinvoice: import("hono/utils/types").JSONValue;
21588
+ cinvoice: {
21589
+ id: string;
21590
+ created_at: string;
21591
+ invoiceId: string;
21592
+ status: string;
21593
+ workspaceId: string;
21594
+ created_by: string;
21595
+ customerId: string;
21596
+ serviceId: string;
21597
+ installment: boolean | null;
21598
+ vatRate: number | null;
21599
+ SellerBillingId: string;
21600
+ date: string;
21601
+ language: string;
21602
+ currency: string;
21603
+ vatOption: string;
21604
+ unitName: string;
21605
+ unitPrice: number;
21606
+ unitQuantity: number;
21607
+ subscription: boolean | null;
21608
+ updated_at: string | null;
21609
+ deleted_at: string | null;
21610
+ verified_at: string | null;
21611
+ suspended_at: string | null;
21612
+ paidAt: string | null;
21613
+ fullPayment: boolean | null;
21614
+ notes: string | null;
21615
+ buyerInn: string | null;
21616
+ buyerKpp: string | null;
21617
+ discount: number | null;
21618
+ subscriptionStartDate: string | null;
21619
+ subscriptionEndDate: string | null;
21620
+ }[];
21121
21621
  };
21122
21622
  outputFormat: "json";
21123
21623
  status: 201;
@@ -21163,7 +21663,39 @@ declare const routes: import("hono/hono-base").HonoBase<{
21163
21663
  };
21164
21664
  output: {
21165
21665
  success: true;
21166
- cinvoices: import("hono/utils/types").JSONValue;
21666
+ cinvoices: {
21667
+ updated_at: string | null;
21668
+ deleted_at: string | null;
21669
+ verified_at: string | null;
21670
+ suspended_at: string | null;
21671
+ created_at: string;
21672
+ id: string;
21673
+ workspaceId: string;
21674
+ invoiceId: string;
21675
+ serviceId: string;
21676
+ SellerBillingId: string;
21677
+ customerId: string;
21678
+ date: string;
21679
+ language: string;
21680
+ currency: string;
21681
+ vatOption: string;
21682
+ vatRate: number | null;
21683
+ buyerInn: string | null;
21684
+ buyerKpp: string | null;
21685
+ unitName: string;
21686
+ unitPrice: number;
21687
+ unitQuantity: number;
21688
+ notes: string | null;
21689
+ discount: number | null;
21690
+ fullPayment: boolean | null;
21691
+ installment: boolean | null;
21692
+ subscription: boolean | null;
21693
+ subscriptionStartDate: string | null;
21694
+ subscriptionEndDate: string | null;
21695
+ status: string;
21696
+ paidAt: string | null;
21697
+ created_by: string;
21698
+ }[];
21167
21699
  };
21168
21700
  outputFormat: "json";
21169
21701
  status: 200;
@@ -21191,7 +21723,39 @@ declare const routes: import("hono/hono-base").HonoBase<{
21191
21723
  input: {};
21192
21724
  output: {
21193
21725
  success: true;
21194
- cinvoice: import("hono/utils/types").JSONValue;
21726
+ cinvoice: {
21727
+ id: string;
21728
+ created_at: string;
21729
+ invoiceId: string;
21730
+ status: string;
21731
+ workspaceId: string;
21732
+ created_by: string;
21733
+ customerId: string;
21734
+ serviceId: string;
21735
+ installment: boolean | null;
21736
+ vatRate: number | null;
21737
+ SellerBillingId: string;
21738
+ date: string;
21739
+ language: string;
21740
+ currency: string;
21741
+ vatOption: string;
21742
+ unitName: string;
21743
+ unitPrice: number;
21744
+ unitQuantity: number;
21745
+ subscription: boolean | null;
21746
+ updated_at: string | null;
21747
+ deleted_at: string | null;
21748
+ verified_at: string | null;
21749
+ suspended_at: string | null;
21750
+ paidAt: string | null;
21751
+ fullPayment: boolean | null;
21752
+ notes: string | null;
21753
+ buyerInn: string | null;
21754
+ buyerKpp: string | null;
21755
+ discount: number | null;
21756
+ subscriptionStartDate: string | null;
21757
+ subscriptionEndDate: string | null;
21758
+ }[];
21195
21759
  };
21196
21760
  outputFormat: "json";
21197
21761
  status: 200;
@@ -21246,7 +21810,20 @@ declare const routes: import("hono/hono-base").HonoBase<{
21246
21810
  input: {};
21247
21811
  output: {
21248
21812
  success: true;
21249
- history: import("hono/utils/types").JSONValue;
21813
+ history: {
21814
+ id: string;
21815
+ created_at: string;
21816
+ workspaceId: string;
21817
+ created_by: string;
21818
+ customerId: string;
21819
+ serviceId: string;
21820
+ date: string;
21821
+ updated_at: string | null;
21822
+ deleted_at: string | null;
21823
+ verified_at: string | null;
21824
+ suspended_at: string | null;
21825
+ notes: string | null;
21826
+ }[];
21250
21827
  };
21251
21828
  outputFormat: "json";
21252
21829
  status: 201;
@@ -21292,7 +21869,26 @@ declare const routes: import("hono/hono-base").HonoBase<{
21292
21869
  };
21293
21870
  output: {
21294
21871
  success: true;
21295
- history: import("hono/utils/types").JSONValue;
21872
+ history: {
21873
+ createdBy: {
21874
+ id: string;
21875
+ firstName: string | null;
21876
+ lastName: string | null;
21877
+ profilePicture: string | null;
21878
+ } | null;
21879
+ updated_at: string | null;
21880
+ deleted_at: string | null;
21881
+ verified_at: string | null;
21882
+ suspended_at: string | null;
21883
+ created_at: string;
21884
+ id: string;
21885
+ workspaceId: string;
21886
+ customerId: string;
21887
+ serviceId: string;
21888
+ notes: string | null;
21889
+ date: string;
21890
+ created_by: string;
21891
+ }[];
21296
21892
  };
21297
21893
  outputFormat: "json";
21298
21894
  status: 200;
@@ -21320,7 +21916,20 @@ declare const routes: import("hono/hono-base").HonoBase<{
21320
21916
  input: {};
21321
21917
  output: {
21322
21918
  success: true;
21323
- history: import("hono/utils/types").JSONValue;
21919
+ history: {
21920
+ updated_at: string | null;
21921
+ deleted_at: string | null;
21922
+ verified_at: string | null;
21923
+ suspended_at: string | null;
21924
+ created_at: string;
21925
+ id: string;
21926
+ workspaceId: string;
21927
+ customerId: string;
21928
+ serviceId: string;
21929
+ notes: string | null;
21930
+ date: string;
21931
+ created_by: string;
21932
+ }[];
21324
21933
  };
21325
21934
  outputFormat: "json";
21326
21935
  status: 200;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.204",
3
+ "version": "0.0.205",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,