@mestra-dev/contract 0.0.323 → 0.0.325

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 +1805 -237
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4636,8 +4636,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
4636
4636
  warranty: string | null;
4637
4637
  vin: string | null;
4638
4638
  mileage: number | null;
4639
- makeModel: string | null;
4640
4639
  color: string | null;
4640
+ purchasePrice: number | null;
4641
+ makeModel: string | null;
4641
4642
  bodyType: string | null;
4642
4643
  engine: string | null;
4643
4644
  fuelType: string | null;
@@ -4645,7 +4646,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
4645
4646
  drivetrain: string | null;
4646
4647
  previousOwners: number | null;
4647
4648
  accidentHistory: string | null;
4648
- purchasePrice: number | null;
4649
4649
  preparationCosts: {
4650
4650
  [x: string]: string;
4651
4651
  }[] | null;
@@ -4676,6 +4676,230 @@ declare const routes: import("hono/hono-base").HonoBase<{
4676
4676
  name: string;
4677
4677
  description: string | null;
4678
4678
  }[];
4679
+ }[] | {
4680
+ type: string | null;
4681
+ description: string | null;
4682
+ name: string;
4683
+ active: boolean | null;
4684
+ stock: number | null;
4685
+ currency: string | null;
4686
+ price: number | null;
4687
+ qrCode: string | null;
4688
+ id: string;
4689
+ created_at: string;
4690
+ workspaceId: string;
4691
+ updated_at: string | null;
4692
+ deleted_at: string | null;
4693
+ verified_at: string | null;
4694
+ suspended_at: string | null;
4695
+ created_by: string | null;
4696
+ status: string | null;
4697
+ expiresAt: string | null;
4698
+ address: string | null;
4699
+ city: string | null;
4700
+ district: string | null;
4701
+ latitude: number | null;
4702
+ longitude: number | null;
4703
+ media: string[] | null;
4704
+ publishTags: string[] | null;
4705
+ publishPlatforms: string[] | null;
4706
+ publishedAt: string | null;
4707
+ serviceType: string | null;
4708
+ sku: string | null;
4709
+ barcode: string | null;
4710
+ purchasePrice: number | null;
4711
+ weight: string | null;
4712
+ dimensions: string | null;
4713
+ minStock: number | null;
4714
+ sizes: string[] | null;
4715
+ brand: string | null;
4716
+ colors: string[] | null;
4717
+ variants: {
4718
+ [x: string]: string;
4719
+ }[] | null;
4720
+ deliveryCost: number | null;
4721
+ vatRate: string | null;
4722
+ specs: string | null;
4723
+ hsCode: string | null;
4724
+ warrantyMonths: number | null;
4725
+ honestSign: boolean | null;
4726
+ supplierCustomerId: string | null;
4727
+ warehouses: string[] | null;
4728
+ title: string;
4729
+ createdBy: {
4730
+ id: string;
4731
+ firstName: string | null;
4732
+ lastName: string | null;
4733
+ profilePicture: string | null;
4734
+ } | null;
4735
+ tags: {
4736
+ id: string;
4737
+ name: string;
4738
+ description: string | null;
4739
+ }[];
4740
+ }[] | {
4741
+ type: string | null;
4742
+ description: string | null;
4743
+ name: string;
4744
+ active: boolean | null;
4745
+ stock: number | null;
4746
+ currency: string | null;
4747
+ price: number | null;
4748
+ qrCode: string | null;
4749
+ id: string;
4750
+ created_at: string;
4751
+ workspaceId: string;
4752
+ updated_at: string | null;
4753
+ deleted_at: string | null;
4754
+ verified_at: string | null;
4755
+ suspended_at: string | null;
4756
+ created_by: string | null;
4757
+ status: string | null;
4758
+ expiresAt: string | null;
4759
+ media: string[] | null;
4760
+ publishTags: string[] | null;
4761
+ publishedAt: string | null;
4762
+ serviceType: string | null;
4763
+ territory: string | null;
4764
+ royaltyPercent: number | null;
4765
+ adFundPercent: number | null;
4766
+ exclusiveTerritory: boolean | null;
4767
+ branchesCount: number | null;
4768
+ contractYears: number | null;
4769
+ lumpSumFee: number | null;
4770
+ initialInvestment: number | null;
4771
+ monthlySupportFee: number | null;
4772
+ paybackMonths: number | null;
4773
+ operatingStandards: string[] | null;
4774
+ expectedKpis: {
4775
+ [x: string]: string;
4776
+ }[] | null;
4777
+ supportIncluded: string[] | null;
4778
+ title: string;
4779
+ createdBy: {
4780
+ id: string;
4781
+ firstName: string | null;
4782
+ lastName: string | null;
4783
+ profilePicture: string | null;
4784
+ } | null;
4785
+ tags: {
4786
+ id: string;
4787
+ name: string;
4788
+ description: string | null;
4789
+ }[];
4790
+ }[] | {
4791
+ type: string | null;
4792
+ description: string | null;
4793
+ name: string;
4794
+ active: boolean | null;
4795
+ stock: number | null;
4796
+ currency: string | null;
4797
+ price: number | null;
4798
+ qrCode: string | null;
4799
+ id: string;
4800
+ created_at: string;
4801
+ workspaceId: string;
4802
+ updated_at: string | null;
4803
+ deleted_at: string | null;
4804
+ verified_at: string | null;
4805
+ suspended_at: string | null;
4806
+ created_by: string | null;
4807
+ status: string | null;
4808
+ expiresAt: string | null;
4809
+ media: string[] | null;
4810
+ publishTags: string[] | null;
4811
+ publishedAt: string | null;
4812
+ serviceType: string | null;
4813
+ scheduleDays: string[] | null;
4814
+ languages: string[] | null;
4815
+ channels: string[] | null;
4816
+ billingUnit: string | null;
4817
+ monthlyVolume: number | null;
4818
+ overageRate: number | null;
4819
+ operators: number | null;
4820
+ coverageHours: string | null;
4821
+ workingHours: string | null;
4822
+ firstResponseMinutes: number | null;
4823
+ ahtMinutes: number | null;
4824
+ fcrTarget: number | null;
4825
+ csatTarget: number | null;
4826
+ escalation: boolean | null;
4827
+ escalateToId: string | null;
4828
+ escalateAfterMinutes: number | null;
4829
+ title: string;
4830
+ createdBy: {
4831
+ id: string;
4832
+ firstName: string | null;
4833
+ lastName: string | null;
4834
+ profilePicture: string | null;
4835
+ } | null;
4836
+ tags: {
4837
+ id: string;
4838
+ name: string;
4839
+ description: string | null;
4840
+ }[];
4841
+ }[] | {
4842
+ type: string | null;
4843
+ description: string | null;
4844
+ name: string;
4845
+ active: boolean | null;
4846
+ stock: number | null;
4847
+ currency: string | null;
4848
+ price: number | null;
4849
+ qrCode: string | null;
4850
+ id: string;
4851
+ created_at: string;
4852
+ workspaceId: string;
4853
+ updated_at: string | null;
4854
+ deleted_at: string | null;
4855
+ verified_at: string | null;
4856
+ suspended_at: string | null;
4857
+ created_by: string | null;
4858
+ status: string | null;
4859
+ expiresAt: string | null;
4860
+ address: string | null;
4861
+ city: string | null;
4862
+ district: string | null;
4863
+ latitude: number | null;
4864
+ longitude: number | null;
4865
+ media: string[] | null;
4866
+ publishTags: string[] | null;
4867
+ publishPlatforms: string[] | null;
4868
+ publishedAt: string | null;
4869
+ serviceType: string | null;
4870
+ equipment: string[] | null;
4871
+ priceBasis: string | null;
4872
+ purchasePrice: number | null;
4873
+ warrantyMonths: number | null;
4874
+ complexityPrices: string[] | null;
4875
+ complexityPricesAmount_simple: number | null;
4876
+ complexityPricesAmount_medium: number | null;
4877
+ complexityPricesAmount_complex: number | null;
4878
+ minOrder: number | null;
4879
+ calloutFee: number | null;
4880
+ calloutFreeWithOrder: boolean | null;
4881
+ durationHours: number | null;
4882
+ serviceZone: string | null;
4883
+ technician: string | null;
4884
+ defaultMaterials: {
4885
+ [x: string]: string;
4886
+ }[] | null;
4887
+ materialsBilling: string | null;
4888
+ licenseRequired: boolean | null;
4889
+ licenseDetails: string | null;
4890
+ materialUnit: string | null;
4891
+ title: string;
4892
+ createdBy: {
4893
+ id: string;
4894
+ firstName: string | null;
4895
+ lastName: string | null;
4896
+ profilePicture: string | null;
4897
+ } | null;
4898
+ tags: {
4899
+ id: string;
4900
+ name: string;
4901
+ description: string | null;
4902
+ }[];
4679
4903
  }[];
4680
4904
  };
4681
4905
  outputFormat: "json";
@@ -5653,8 +5877,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
5653
5877
  warranty: string | null;
5654
5878
  vin: string | null;
5655
5879
  mileage: number | null;
5656
- makeModel: string | null;
5657
5880
  color: string | null;
5881
+ purchasePrice: number | null;
5882
+ makeModel: string | null;
5658
5883
  bodyType: string | null;
5659
5884
  engine: string | null;
5660
5885
  fuelType: string | null;
@@ -5662,7 +5887,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
5662
5887
  drivetrain: string | null;
5663
5888
  previousOwners: number | null;
5664
5889
  accidentHistory: string | null;
5665
- purchasePrice: number | null;
5666
5890
  preparationCosts: {
5667
5891
  [x: string]: string;
5668
5892
  }[] | null;
@@ -5694,18 +5918,242 @@ declare const routes: import("hono/hono-base").HonoBase<{
5694
5918
  description: string | null;
5695
5919
  }[];
5696
5920
  }[] | {
5921
+ type: string | null;
5922
+ description: string | null;
5923
+ name: string;
5924
+ active: boolean | null;
5925
+ stock: number | null;
5926
+ currency: string | null;
5927
+ price: number | null;
5928
+ qrCode: string | null;
5929
+ id: string;
5930
+ created_at: string;
5931
+ workspaceId: string;
5697
5932
  updated_at: string | null;
5698
5933
  deleted_at: string | null;
5699
5934
  verified_at: string | null;
5700
5935
  suspended_at: string | null;
5701
- created_at: string;
5936
+ created_by: string | null;
5937
+ status: string | null;
5938
+ expiresAt: string | null;
5939
+ address: string | null;
5940
+ city: string | null;
5941
+ district: string | null;
5942
+ latitude: number | null;
5943
+ longitude: number | null;
5944
+ media: string[] | null;
5945
+ publishTags: string[] | null;
5946
+ publishPlatforms: string[] | null;
5947
+ publishedAt: string | null;
5948
+ serviceType: string | null;
5949
+ sku: string | null;
5950
+ barcode: string | null;
5951
+ purchasePrice: number | null;
5952
+ weight: string | null;
5953
+ dimensions: string | null;
5954
+ minStock: number | null;
5955
+ sizes: string[] | null;
5956
+ brand: string | null;
5957
+ colors: string[] | null;
5958
+ variants: {
5959
+ [x: string]: string;
5960
+ }[] | null;
5961
+ deliveryCost: number | null;
5962
+ vatRate: string | null;
5963
+ specs: string | null;
5964
+ hsCode: string | null;
5965
+ warrantyMonths: number | null;
5966
+ honestSign: boolean | null;
5967
+ supplierCustomerId: string | null;
5968
+ warehouses: string[] | null;
5969
+ title: string;
5970
+ createdBy: {
5971
+ id: string;
5972
+ firstName: string | null;
5973
+ lastName: string | null;
5974
+ profilePicture: string | null;
5975
+ } | null;
5976
+ tags: {
5977
+ id: string;
5978
+ name: string;
5979
+ description: string | null;
5980
+ }[];
5981
+ }[] | {
5982
+ type: string | null;
5983
+ description: string | null;
5984
+ name: string;
5985
+ active: boolean | null;
5986
+ stock: number | null;
5987
+ currency: string | null;
5988
+ price: number | null;
5989
+ qrCode: string | null;
5702
5990
  id: string;
5991
+ created_at: string;
5703
5992
  workspaceId: string;
5993
+ updated_at: string | null;
5994
+ deleted_at: string | null;
5995
+ verified_at: string | null;
5996
+ suspended_at: string | null;
5704
5997
  created_by: string | null;
5998
+ status: string | null;
5999
+ expiresAt: string | null;
6000
+ media: string[] | null;
6001
+ publishTags: string[] | null;
6002
+ publishedAt: string | null;
6003
+ serviceType: string | null;
6004
+ territory: string | null;
6005
+ royaltyPercent: number | null;
6006
+ adFundPercent: number | null;
6007
+ exclusiveTerritory: boolean | null;
6008
+ branchesCount: number | null;
6009
+ contractYears: number | null;
6010
+ lumpSumFee: number | null;
6011
+ initialInvestment: number | null;
6012
+ monthlySupportFee: number | null;
6013
+ paybackMonths: number | null;
6014
+ operatingStandards: string[] | null;
6015
+ expectedKpis: {
6016
+ [x: string]: string;
6017
+ }[] | null;
6018
+ supportIncluded: string[] | null;
5705
6019
  title: string;
5706
- active: boolean | null;
6020
+ createdBy: {
6021
+ id: string;
6022
+ firstName: string | null;
6023
+ lastName: string | null;
6024
+ profilePicture: string | null;
6025
+ } | null;
6026
+ tags: {
6027
+ id: string;
6028
+ name: string;
6029
+ description: string | null;
6030
+ }[];
6031
+ }[] | {
5707
6032
  type: string | null;
5708
- currency: string | null;
6033
+ description: string | null;
6034
+ name: string;
6035
+ active: boolean | null;
6036
+ stock: number | null;
6037
+ currency: string | null;
6038
+ price: number | null;
6039
+ qrCode: string | null;
6040
+ id: string;
6041
+ created_at: string;
6042
+ workspaceId: string;
6043
+ updated_at: string | null;
6044
+ deleted_at: string | null;
6045
+ verified_at: string | null;
6046
+ suspended_at: string | null;
6047
+ created_by: string | null;
6048
+ status: string | null;
6049
+ expiresAt: string | null;
6050
+ media: string[] | null;
6051
+ publishTags: string[] | null;
6052
+ publishedAt: string | null;
6053
+ serviceType: string | null;
6054
+ scheduleDays: string[] | null;
6055
+ languages: string[] | null;
6056
+ channels: string[] | null;
6057
+ billingUnit: string | null;
6058
+ monthlyVolume: number | null;
6059
+ overageRate: number | null;
6060
+ operators: number | null;
6061
+ coverageHours: string | null;
6062
+ workingHours: string | null;
6063
+ firstResponseMinutes: number | null;
6064
+ ahtMinutes: number | null;
6065
+ fcrTarget: number | null;
6066
+ csatTarget: number | null;
6067
+ escalation: boolean | null;
6068
+ escalateToId: string | null;
6069
+ escalateAfterMinutes: number | null;
6070
+ title: string;
6071
+ createdBy: {
6072
+ id: string;
6073
+ firstName: string | null;
6074
+ lastName: string | null;
6075
+ profilePicture: string | null;
6076
+ } | null;
6077
+ tags: {
6078
+ id: string;
6079
+ name: string;
6080
+ description: string | null;
6081
+ }[];
6082
+ }[] | {
6083
+ type: string | null;
6084
+ description: string | null;
6085
+ name: string;
6086
+ active: boolean | null;
6087
+ stock: number | null;
6088
+ currency: string | null;
6089
+ price: number | null;
6090
+ qrCode: string | null;
6091
+ id: string;
6092
+ created_at: string;
6093
+ workspaceId: string;
6094
+ updated_at: string | null;
6095
+ deleted_at: string | null;
6096
+ verified_at: string | null;
6097
+ suspended_at: string | null;
6098
+ created_by: string | null;
6099
+ status: string | null;
6100
+ expiresAt: string | null;
6101
+ address: string | null;
6102
+ city: string | null;
6103
+ district: string | null;
6104
+ latitude: number | null;
6105
+ longitude: number | null;
6106
+ media: string[] | null;
6107
+ publishTags: string[] | null;
6108
+ publishPlatforms: string[] | null;
6109
+ publishedAt: string | null;
6110
+ serviceType: string | null;
6111
+ equipment: string[] | null;
6112
+ priceBasis: string | null;
6113
+ purchasePrice: number | null;
6114
+ warrantyMonths: number | null;
6115
+ complexityPrices: string[] | null;
6116
+ complexityPricesAmount_simple: number | null;
6117
+ complexityPricesAmount_medium: number | null;
6118
+ complexityPricesAmount_complex: number | null;
6119
+ minOrder: number | null;
6120
+ calloutFee: number | null;
6121
+ calloutFreeWithOrder: boolean | null;
6122
+ durationHours: number | null;
6123
+ serviceZone: string | null;
6124
+ technician: string | null;
6125
+ defaultMaterials: {
6126
+ [x: string]: string;
6127
+ }[] | null;
6128
+ materialsBilling: string | null;
6129
+ licenseRequired: boolean | null;
6130
+ licenseDetails: string | null;
6131
+ materialUnit: string | null;
6132
+ title: string;
6133
+ createdBy: {
6134
+ id: string;
6135
+ firstName: string | null;
6136
+ lastName: string | null;
6137
+ profilePicture: string | null;
6138
+ } | null;
6139
+ tags: {
6140
+ id: string;
6141
+ name: string;
6142
+ description: string | null;
6143
+ }[];
6144
+ }[] | {
6145
+ updated_at: string | null;
6146
+ deleted_at: string | null;
6147
+ verified_at: string | null;
6148
+ suspended_at: string | null;
6149
+ created_at: string;
6150
+ id: string;
6151
+ workspaceId: string;
6152
+ created_by: string | null;
6153
+ title: string;
6154
+ active: boolean | null;
6155
+ type: string | null;
6156
+ currency: string | null;
5709
6157
  description: string | null;
5710
6158
  price: number | null;
5711
6159
  propertyType: string | null;
@@ -6760,8 +7208,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
6760
7208
  warranty: string | null;
6761
7209
  vin: string | null;
6762
7210
  mileage: number | null;
6763
- makeModel: string | null;
6764
7211
  color: string | null;
7212
+ purchasePrice: number | null;
7213
+ makeModel: string | null;
6765
7214
  bodyType: string | null;
6766
7215
  engine: string | null;
6767
7216
  fuelType: string | null;
@@ -6769,7 +7218,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
6769
7218
  drivetrain: string | null;
6770
7219
  previousOwners: number | null;
6771
7220
  accidentHistory: string | null;
6772
- purchasePrice: number | null;
6773
7221
  preparationCosts: {
6774
7222
  [x: string]: string;
6775
7223
  }[] | null;
@@ -6801,6 +7249,55 @@ declare const routes: import("hono/hono-base").HonoBase<{
6801
7249
  description: string | null;
6802
7250
  }[];
6803
7251
  }[] | {
7252
+ type: string | null;
7253
+ description: string | null;
7254
+ name: string;
7255
+ active: boolean | null;
7256
+ stock: number | null;
7257
+ currency: string | null;
7258
+ price: number | null;
7259
+ qrCode: string | null;
7260
+ id: string;
7261
+ created_at: string;
7262
+ workspaceId: string;
7263
+ updated_at: string | null;
7264
+ deleted_at: string | null;
7265
+ verified_at: string | null;
7266
+ suspended_at: string | null;
7267
+ created_by: string | null;
7268
+ status: string | null;
7269
+ expiresAt: string | null;
7270
+ address: string | null;
7271
+ city: string | null;
7272
+ district: string | null;
7273
+ latitude: number | null;
7274
+ longitude: number | null;
7275
+ media: string[] | null;
7276
+ publishTags: string[] | null;
7277
+ publishPlatforms: string[] | null;
7278
+ publishedAt: string | null;
7279
+ serviceType: string | null;
7280
+ sku: string | null;
7281
+ barcode: string | null;
7282
+ purchasePrice: number | null;
7283
+ weight: string | null;
7284
+ dimensions: string | null;
7285
+ minStock: number | null;
7286
+ sizes: string[] | null;
7287
+ brand: string | null;
7288
+ colors: string[] | null;
7289
+ variants: {
7290
+ [x: string]: string;
7291
+ }[] | null;
7292
+ deliveryCost: number | null;
7293
+ vatRate: string | null;
7294
+ specs: string | null;
7295
+ hsCode: string | null;
7296
+ warrantyMonths: number | null;
7297
+ honestSign: boolean | null;
7298
+ supplierCustomerId: string | null;
7299
+ warehouses: string[] | null;
7300
+ title: string;
6804
7301
  createdBy: {
6805
7302
  id: string;
6806
7303
  firstName: string | null;
@@ -6812,78 +7309,44 @@ declare const routes: import("hono/hono-base").HonoBase<{
6812
7309
  name: string;
6813
7310
  description: string | null;
6814
7311
  }[];
7312
+ }[] | {
7313
+ type: string | null;
7314
+ description: string | null;
7315
+ name: string;
7316
+ active: boolean | null;
7317
+ stock: number | null;
7318
+ currency: string | null;
7319
+ price: number | null;
7320
+ qrCode: string | null;
7321
+ id: string;
7322
+ created_at: string;
7323
+ workspaceId: string;
6815
7324
  updated_at: string | null;
6816
7325
  deleted_at: string | null;
6817
7326
  verified_at: string | null;
6818
7327
  suspended_at: string | null;
6819
- created_at: string;
6820
- id: string;
6821
- workspaceId: string;
6822
7328
  created_by: string | null;
6823
- title: string;
6824
- active: boolean | null;
6825
- type: string | null;
6826
- currency: string | null;
6827
- description: string | null;
6828
- price: number | null;
6829
- propertyType: string | null;
6830
- propertyStatus: string | null;
6831
- dealType: string | null;
6832
- listingStatus: string | null;
6833
- priceUnit: string | null;
6834
- housingType: string | null;
6835
- commercialType: string | null;
6836
- commercialClass: string | null;
6837
- landType: string | null;
6838
- ownershipType: string | null;
6839
- loadingDockAccess: boolean | null;
6840
- waterAccess: boolean | null;
6841
- electricityAccess: boolean | null;
6842
- gasAccess: boolean | null;
6843
- sewageAccess: boolean | null;
6844
- internetAccess: boolean | null;
6845
- elevaorAccess: boolean | null;
6846
- seprateEntrance: boolean | null;
6847
- furnishedType: string | null;
6848
- parkingType: string | null;
6849
- balconyAccess: boolean | null;
6850
- loggiaAccess: boolean | null;
6851
- otherFeatures: string | null;
6852
- fullPayment: boolean | null;
6853
- mortgagePayment: boolean | null;
6854
- installmentPayment: boolean | null;
6855
- fullPaymentAmount: number | null;
6856
- mortgagePaymentAmount: number | null;
6857
- installmentPaymentAmount: number | null;
6858
- pricePerSquareMeter: number | null;
6859
- agencyCommission: number | null;
6860
- agencyCommissionType: string | null;
6861
- agencyCommissionAmount: number | null;
6862
- agencyCommissionPaidBy: string | null;
6863
- agencyCommissionBuyerShare: number | null;
6864
- alternativeEURCurrency: boolean | null;
6865
- alternativeRUBCurrency: boolean | null;
6866
- alternativeUSDCurrency: boolean | null;
6867
- estimatedDeliveryDate: string | null;
6868
- roomsCount: number | null;
6869
- bathroomsCount: number | null;
6870
- bedroomsCount: number | null;
6871
- totalArea: number | null;
6872
- livingArea: number | null;
6873
- kitchenArea: number | null;
6874
- ceilingHeight: number | null;
6875
- floor: number | null;
6876
- totalFloors: number | null;
6877
- yearBuilt: string | null;
6878
- renovation: string | null;
6879
- developerName: string | null;
6880
- city: string | null;
6881
- district: string | null;
6882
- nearestMetroStation: string | null;
6883
- fullAddress: string | null;
6884
- latitude: string | null;
6885
- longitude: string | null;
6886
- }[] | {
7329
+ status: string | null;
7330
+ expiresAt: string | null;
7331
+ media: string[] | null;
7332
+ publishTags: string[] | null;
7333
+ publishedAt: string | null;
7334
+ serviceType: string | null;
7335
+ territory: string | null;
7336
+ royaltyPercent: number | null;
7337
+ adFundPercent: number | null;
7338
+ exclusiveTerritory: boolean | null;
7339
+ branchesCount: number | null;
7340
+ contractYears: number | null;
7341
+ lumpSumFee: number | null;
7342
+ initialInvestment: number | null;
7343
+ monthlySupportFee: number | null;
7344
+ paybackMonths: number | null;
7345
+ operatingStandards: string[] | null;
7346
+ expectedKpis: {
7347
+ [x: string]: string;
7348
+ }[] | null;
7349
+ supportIncluded: string[] | null;
6887
7350
  title: string;
6888
7351
  createdBy: {
6889
7352
  id: string;
@@ -6896,42 +7359,251 @@ declare const routes: import("hono/hono-base").HonoBase<{
6896
7359
  name: string;
6897
7360
  description: string | null;
6898
7361
  }[];
6899
- updated_at: string | null;
6900
- deleted_at: string | null;
6901
- verified_at: string | null;
6902
- suspended_at: string | null;
6903
- created_at: string;
6904
- id: string;
6905
- workspaceId: string;
6906
- created_by: string | null;
6907
- name: string;
7362
+ }[] | {
7363
+ type: string | null;
6908
7364
  description: string | null;
7365
+ name: string;
7366
+ active: boolean | null;
6909
7367
  stock: number | null;
6910
7368
  currency: string | null;
6911
- type: string | null;
6912
- active: boolean | null;
6913
7369
  price: number | null;
6914
7370
  qrCode: string | null;
6915
- }[];
6916
- };
6917
- outputFormat: "json";
6918
- status: 200;
6919
- };
6920
- };
6921
- } & {
6922
- "/get/:workspace/:serviceId": {
6923
- $get: {
6924
- input: {
6925
- param: {
6926
- workspace: string;
6927
- } & {
6928
- serviceId: string;
6929
- };
6930
- };
6931
- output: {
6932
- success: false;
6933
- error: string;
6934
- };
7371
+ id: string;
7372
+ created_at: string;
7373
+ workspaceId: string;
7374
+ updated_at: string | null;
7375
+ deleted_at: string | null;
7376
+ verified_at: string | null;
7377
+ suspended_at: string | null;
7378
+ created_by: string | null;
7379
+ status: string | null;
7380
+ expiresAt: string | null;
7381
+ media: string[] | null;
7382
+ publishTags: string[] | null;
7383
+ publishedAt: string | null;
7384
+ serviceType: string | null;
7385
+ scheduleDays: string[] | null;
7386
+ languages: string[] | null;
7387
+ channels: string[] | null;
7388
+ billingUnit: string | null;
7389
+ monthlyVolume: number | null;
7390
+ overageRate: number | null;
7391
+ operators: number | null;
7392
+ coverageHours: string | null;
7393
+ workingHours: string | null;
7394
+ firstResponseMinutes: number | null;
7395
+ ahtMinutes: number | null;
7396
+ fcrTarget: number | null;
7397
+ csatTarget: number | null;
7398
+ escalation: boolean | null;
7399
+ escalateToId: string | null;
7400
+ escalateAfterMinutes: number | null;
7401
+ title: string;
7402
+ createdBy: {
7403
+ id: string;
7404
+ firstName: string | null;
7405
+ lastName: string | null;
7406
+ profilePicture: string | null;
7407
+ } | null;
7408
+ tags: {
7409
+ id: string;
7410
+ name: string;
7411
+ description: string | null;
7412
+ }[];
7413
+ }[] | {
7414
+ type: string | null;
7415
+ description: string | null;
7416
+ name: string;
7417
+ active: boolean | null;
7418
+ stock: number | null;
7419
+ currency: string | null;
7420
+ price: number | null;
7421
+ qrCode: string | null;
7422
+ id: string;
7423
+ created_at: string;
7424
+ workspaceId: string;
7425
+ updated_at: string | null;
7426
+ deleted_at: string | null;
7427
+ verified_at: string | null;
7428
+ suspended_at: string | null;
7429
+ created_by: string | null;
7430
+ status: string | null;
7431
+ expiresAt: string | null;
7432
+ address: string | null;
7433
+ city: string | null;
7434
+ district: string | null;
7435
+ latitude: number | null;
7436
+ longitude: number | null;
7437
+ media: string[] | null;
7438
+ publishTags: string[] | null;
7439
+ publishPlatforms: string[] | null;
7440
+ publishedAt: string | null;
7441
+ serviceType: string | null;
7442
+ equipment: string[] | null;
7443
+ priceBasis: string | null;
7444
+ purchasePrice: number | null;
7445
+ warrantyMonths: number | null;
7446
+ complexityPrices: string[] | null;
7447
+ complexityPricesAmount_simple: number | null;
7448
+ complexityPricesAmount_medium: number | null;
7449
+ complexityPricesAmount_complex: number | null;
7450
+ minOrder: number | null;
7451
+ calloutFee: number | null;
7452
+ calloutFreeWithOrder: boolean | null;
7453
+ durationHours: number | null;
7454
+ serviceZone: string | null;
7455
+ technician: string | null;
7456
+ defaultMaterials: {
7457
+ [x: string]: string;
7458
+ }[] | null;
7459
+ materialsBilling: string | null;
7460
+ licenseRequired: boolean | null;
7461
+ licenseDetails: string | null;
7462
+ materialUnit: string | null;
7463
+ title: string;
7464
+ createdBy: {
7465
+ id: string;
7466
+ firstName: string | null;
7467
+ lastName: string | null;
7468
+ profilePicture: string | null;
7469
+ } | null;
7470
+ tags: {
7471
+ id: string;
7472
+ name: string;
7473
+ description: string | null;
7474
+ }[];
7475
+ }[] | {
7476
+ createdBy: {
7477
+ id: string;
7478
+ firstName: string | null;
7479
+ lastName: string | null;
7480
+ profilePicture: string | null;
7481
+ } | null;
7482
+ tags: {
7483
+ id: string;
7484
+ name: string;
7485
+ description: string | null;
7486
+ }[];
7487
+ updated_at: string | null;
7488
+ deleted_at: string | null;
7489
+ verified_at: string | null;
7490
+ suspended_at: string | null;
7491
+ created_at: string;
7492
+ id: string;
7493
+ workspaceId: string;
7494
+ created_by: string | null;
7495
+ title: string;
7496
+ active: boolean | null;
7497
+ type: string | null;
7498
+ currency: string | null;
7499
+ description: string | null;
7500
+ price: number | null;
7501
+ propertyType: string | null;
7502
+ propertyStatus: string | null;
7503
+ dealType: string | null;
7504
+ listingStatus: string | null;
7505
+ priceUnit: string | null;
7506
+ housingType: string | null;
7507
+ commercialType: string | null;
7508
+ commercialClass: string | null;
7509
+ landType: string | null;
7510
+ ownershipType: string | null;
7511
+ loadingDockAccess: boolean | null;
7512
+ waterAccess: boolean | null;
7513
+ electricityAccess: boolean | null;
7514
+ gasAccess: boolean | null;
7515
+ sewageAccess: boolean | null;
7516
+ internetAccess: boolean | null;
7517
+ elevaorAccess: boolean | null;
7518
+ seprateEntrance: boolean | null;
7519
+ furnishedType: string | null;
7520
+ parkingType: string | null;
7521
+ balconyAccess: boolean | null;
7522
+ loggiaAccess: boolean | null;
7523
+ otherFeatures: string | null;
7524
+ fullPayment: boolean | null;
7525
+ mortgagePayment: boolean | null;
7526
+ installmentPayment: boolean | null;
7527
+ fullPaymentAmount: number | null;
7528
+ mortgagePaymentAmount: number | null;
7529
+ installmentPaymentAmount: number | null;
7530
+ pricePerSquareMeter: number | null;
7531
+ agencyCommission: number | null;
7532
+ agencyCommissionType: string | null;
7533
+ agencyCommissionAmount: number | null;
7534
+ agencyCommissionPaidBy: string | null;
7535
+ agencyCommissionBuyerShare: number | null;
7536
+ alternativeEURCurrency: boolean | null;
7537
+ alternativeRUBCurrency: boolean | null;
7538
+ alternativeUSDCurrency: boolean | null;
7539
+ estimatedDeliveryDate: string | null;
7540
+ roomsCount: number | null;
7541
+ bathroomsCount: number | null;
7542
+ bedroomsCount: number | null;
7543
+ totalArea: number | null;
7544
+ livingArea: number | null;
7545
+ kitchenArea: number | null;
7546
+ ceilingHeight: number | null;
7547
+ floor: number | null;
7548
+ totalFloors: number | null;
7549
+ yearBuilt: string | null;
7550
+ renovation: string | null;
7551
+ developerName: string | null;
7552
+ city: string | null;
7553
+ district: string | null;
7554
+ nearestMetroStation: string | null;
7555
+ fullAddress: string | null;
7556
+ latitude: string | null;
7557
+ longitude: string | null;
7558
+ }[] | {
7559
+ title: string;
7560
+ createdBy: {
7561
+ id: string;
7562
+ firstName: string | null;
7563
+ lastName: string | null;
7564
+ profilePicture: string | null;
7565
+ } | null;
7566
+ tags: {
7567
+ id: string;
7568
+ name: string;
7569
+ description: string | null;
7570
+ }[];
7571
+ updated_at: string | null;
7572
+ deleted_at: string | null;
7573
+ verified_at: string | null;
7574
+ suspended_at: string | null;
7575
+ created_at: string;
7576
+ id: string;
7577
+ workspaceId: string;
7578
+ created_by: string | null;
7579
+ name: string;
7580
+ description: string | null;
7581
+ stock: number | null;
7582
+ currency: string | null;
7583
+ type: string | null;
7584
+ active: boolean | null;
7585
+ price: number | null;
7586
+ qrCode: string | null;
7587
+ }[];
7588
+ };
7589
+ outputFormat: "json";
7590
+ status: 200;
7591
+ };
7592
+ };
7593
+ } & {
7594
+ "/get/:workspace/:serviceId": {
7595
+ $get: {
7596
+ input: {
7597
+ param: {
7598
+ workspace: string;
7599
+ } & {
7600
+ serviceId: string;
7601
+ };
7602
+ };
7603
+ output: {
7604
+ success: false;
7605
+ error: string;
7606
+ };
6935
7607
  outputFormat: "json";
6936
7608
  status: 400;
6937
7609
  } | {
@@ -7907,8 +8579,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
7907
8579
  warranty: string | null;
7908
8580
  vin: string | null;
7909
8581
  mileage: number | null;
7910
- makeModel: string | null;
7911
8582
  color: string | null;
8583
+ purchasePrice: number | null;
8584
+ makeModel: string | null;
7912
8585
  bodyType: string | null;
7913
8586
  engine: string | null;
7914
8587
  fuelType: string | null;
@@ -7916,7 +8589,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
7916
8589
  drivetrain: string | null;
7917
8590
  previousOwners: number | null;
7918
8591
  accidentHistory: string | null;
7919
- purchasePrice: number | null;
7920
8592
  preparationCosts: {
7921
8593
  [x: string]: string;
7922
8594
  }[] | null;
@@ -7948,6 +8620,55 @@ declare const routes: import("hono/hono-base").HonoBase<{
7948
8620
  description: string | null;
7949
8621
  }[];
7950
8622
  } | {
8623
+ type: string | null;
8624
+ description: string | null;
8625
+ name: string;
8626
+ active: boolean | null;
8627
+ stock: number | null;
8628
+ currency: string | null;
8629
+ price: number | null;
8630
+ qrCode: string | null;
8631
+ id: string;
8632
+ created_at: string;
8633
+ workspaceId: string;
8634
+ updated_at: string | null;
8635
+ deleted_at: string | null;
8636
+ verified_at: string | null;
8637
+ suspended_at: string | null;
8638
+ created_by: string | null;
8639
+ status: string | null;
8640
+ expiresAt: string | null;
8641
+ address: string | null;
8642
+ city: string | null;
8643
+ district: string | null;
8644
+ latitude: number | null;
8645
+ longitude: number | null;
8646
+ media: string[] | null;
8647
+ publishTags: string[] | null;
8648
+ publishPlatforms: string[] | null;
8649
+ publishedAt: string | null;
8650
+ serviceType: string | null;
8651
+ sku: string | null;
8652
+ barcode: string | null;
8653
+ purchasePrice: number | null;
8654
+ weight: string | null;
8655
+ dimensions: string | null;
8656
+ minStock: number | null;
8657
+ sizes: string[] | null;
8658
+ brand: string | null;
8659
+ colors: string[] | null;
8660
+ variants: {
8661
+ [x: string]: string;
8662
+ }[] | null;
8663
+ deliveryCost: number | null;
8664
+ vatRate: string | null;
8665
+ specs: string | null;
8666
+ hsCode: string | null;
8667
+ warrantyMonths: number | null;
8668
+ honestSign: boolean | null;
8669
+ supplierCustomerId: string | null;
8670
+ warehouses: string[] | null;
8671
+ title: string;
7951
8672
  createdBy: {
7952
8673
  id: string;
7953
8674
  firstName: string | null;
@@ -7959,16 +8680,191 @@ declare const routes: import("hono/hono-base").HonoBase<{
7959
8680
  name: string;
7960
8681
  description: string | null;
7961
8682
  }[];
7962
- updated_at: string | null;
7963
- deleted_at: string | null;
7964
- verified_at: string | null;
7965
- suspended_at: string | null;
7966
- created_at: string;
7967
- id: string;
7968
- workspaceId: string;
7969
- created_by: string | null;
7970
- title: string;
7971
- active: boolean | null;
8683
+ } | {
8684
+ type: string | null;
8685
+ description: string | null;
8686
+ name: string;
8687
+ active: boolean | null;
8688
+ stock: number | null;
8689
+ currency: string | null;
8690
+ price: number | null;
8691
+ qrCode: string | null;
8692
+ id: string;
8693
+ created_at: string;
8694
+ workspaceId: string;
8695
+ updated_at: string | null;
8696
+ deleted_at: string | null;
8697
+ verified_at: string | null;
8698
+ suspended_at: string | null;
8699
+ created_by: string | null;
8700
+ status: string | null;
8701
+ expiresAt: string | null;
8702
+ media: string[] | null;
8703
+ publishTags: string[] | null;
8704
+ publishedAt: string | null;
8705
+ serviceType: string | null;
8706
+ territory: string | null;
8707
+ royaltyPercent: number | null;
8708
+ adFundPercent: number | null;
8709
+ exclusiveTerritory: boolean | null;
8710
+ branchesCount: number | null;
8711
+ contractYears: number | null;
8712
+ lumpSumFee: number | null;
8713
+ initialInvestment: number | null;
8714
+ monthlySupportFee: number | null;
8715
+ paybackMonths: number | null;
8716
+ operatingStandards: string[] | null;
8717
+ expectedKpis: {
8718
+ [x: string]: string;
8719
+ }[] | null;
8720
+ supportIncluded: string[] | null;
8721
+ title: string;
8722
+ createdBy: {
8723
+ id: string;
8724
+ firstName: string | null;
8725
+ lastName: string | null;
8726
+ profilePicture: string | null;
8727
+ } | null;
8728
+ tags: {
8729
+ id: string;
8730
+ name: string;
8731
+ description: string | null;
8732
+ }[];
8733
+ } | {
8734
+ type: string | null;
8735
+ description: string | null;
8736
+ name: string;
8737
+ active: boolean | null;
8738
+ stock: number | null;
8739
+ currency: string | null;
8740
+ price: number | null;
8741
+ qrCode: string | null;
8742
+ id: string;
8743
+ created_at: string;
8744
+ workspaceId: string;
8745
+ updated_at: string | null;
8746
+ deleted_at: string | null;
8747
+ verified_at: string | null;
8748
+ suspended_at: string | null;
8749
+ created_by: string | null;
8750
+ status: string | null;
8751
+ expiresAt: string | null;
8752
+ media: string[] | null;
8753
+ publishTags: string[] | null;
8754
+ publishedAt: string | null;
8755
+ serviceType: string | null;
8756
+ scheduleDays: string[] | null;
8757
+ languages: string[] | null;
8758
+ channels: string[] | null;
8759
+ billingUnit: string | null;
8760
+ monthlyVolume: number | null;
8761
+ overageRate: number | null;
8762
+ operators: number | null;
8763
+ coverageHours: string | null;
8764
+ workingHours: string | null;
8765
+ firstResponseMinutes: number | null;
8766
+ ahtMinutes: number | null;
8767
+ fcrTarget: number | null;
8768
+ csatTarget: number | null;
8769
+ escalation: boolean | null;
8770
+ escalateToId: string | null;
8771
+ escalateAfterMinutes: number | null;
8772
+ title: string;
8773
+ createdBy: {
8774
+ id: string;
8775
+ firstName: string | null;
8776
+ lastName: string | null;
8777
+ profilePicture: string | null;
8778
+ } | null;
8779
+ tags: {
8780
+ id: string;
8781
+ name: string;
8782
+ description: string | null;
8783
+ }[];
8784
+ } | {
8785
+ type: string | null;
8786
+ description: string | null;
8787
+ name: string;
8788
+ active: boolean | null;
8789
+ stock: number | null;
8790
+ currency: string | null;
8791
+ price: number | null;
8792
+ qrCode: string | null;
8793
+ id: string;
8794
+ created_at: string;
8795
+ workspaceId: string;
8796
+ updated_at: string | null;
8797
+ deleted_at: string | null;
8798
+ verified_at: string | null;
8799
+ suspended_at: string | null;
8800
+ created_by: string | null;
8801
+ status: string | null;
8802
+ expiresAt: string | null;
8803
+ address: string | null;
8804
+ city: string | null;
8805
+ district: string | null;
8806
+ latitude: number | null;
8807
+ longitude: number | null;
8808
+ media: string[] | null;
8809
+ publishTags: string[] | null;
8810
+ publishPlatforms: string[] | null;
8811
+ publishedAt: string | null;
8812
+ serviceType: string | null;
8813
+ equipment: string[] | null;
8814
+ priceBasis: string | null;
8815
+ purchasePrice: number | null;
8816
+ warrantyMonths: number | null;
8817
+ complexityPrices: string[] | null;
8818
+ complexityPricesAmount_simple: number | null;
8819
+ complexityPricesAmount_medium: number | null;
8820
+ complexityPricesAmount_complex: number | null;
8821
+ minOrder: number | null;
8822
+ calloutFee: number | null;
8823
+ calloutFreeWithOrder: boolean | null;
8824
+ durationHours: number | null;
8825
+ serviceZone: string | null;
8826
+ technician: string | null;
8827
+ defaultMaterials: {
8828
+ [x: string]: string;
8829
+ }[] | null;
8830
+ materialsBilling: string | null;
8831
+ licenseRequired: boolean | null;
8832
+ licenseDetails: string | null;
8833
+ materialUnit: string | null;
8834
+ title: string;
8835
+ createdBy: {
8836
+ id: string;
8837
+ firstName: string | null;
8838
+ lastName: string | null;
8839
+ profilePicture: string | null;
8840
+ } | null;
8841
+ tags: {
8842
+ id: string;
8843
+ name: string;
8844
+ description: string | null;
8845
+ }[];
8846
+ } | {
8847
+ createdBy: {
8848
+ id: string;
8849
+ firstName: string | null;
8850
+ lastName: string | null;
8851
+ profilePicture: string | null;
8852
+ } | null;
8853
+ tags: {
8854
+ id: string;
8855
+ name: string;
8856
+ description: string | null;
8857
+ }[];
8858
+ updated_at: string | null;
8859
+ deleted_at: string | null;
8860
+ verified_at: string | null;
8861
+ suspended_at: string | null;
8862
+ created_at: string;
8863
+ id: string;
8864
+ workspaceId: string;
8865
+ created_by: string | null;
8866
+ title: string;
8867
+ active: boolean | null;
7972
8868
  type: string | null;
7973
8869
  currency: string | null;
7974
8870
  description: string | null;
@@ -9015,47 +9911,35 @@ declare const routes: import("hono/hono-base").HonoBase<{
9015
9911
  name: string;
9016
9912
  description: string | null;
9017
9913
  }[];
9018
- }[];
9019
- };
9020
- outputFormat: "json";
9021
- status: 201;
9022
- };
9023
- };
9024
- } & {
9025
- "/list/:workspace": {
9026
- $get: {
9027
- input: {
9028
- param: {
9029
- workspace: string;
9030
- };
9031
- };
9032
- output: {
9033
- success: false;
9034
- error: string;
9035
- };
9036
- outputFormat: "json";
9037
- status: 404;
9038
- } | {
9039
- input: {
9040
- param: {
9041
- workspace: string;
9042
- };
9043
- };
9044
- output: {
9045
- success: false;
9046
- error: string;
9047
- };
9048
- outputFormat: "json";
9049
- status: 400;
9050
- } | {
9051
- input: {
9052
- param: {
9053
- workspace: string;
9054
- };
9055
- };
9056
- output: {
9057
- success: true;
9058
- customers: {
9914
+ }[] | {
9915
+ type: string | null;
9916
+ email: string | null;
9917
+ description: string | null;
9918
+ name: string;
9919
+ active: boolean | null;
9920
+ phone: string | null;
9921
+ website: string | null;
9922
+ birthDate: string | null;
9923
+ companyPhone: string | null;
9924
+ companyAddress: string | null;
9925
+ address: string | null;
9926
+ utmSource: string | null;
9927
+ id: string;
9928
+ created_at: string;
9929
+ workspaceId: string;
9930
+ updated_at: string | null;
9931
+ deleted_at: string | null;
9932
+ verified_at: string | null;
9933
+ suspended_at: string | null;
9934
+ created_by: string | null;
9935
+ telegram: string | null;
9936
+ whatsapp: string | null;
9937
+ preferredCurrency: string | null;
9938
+ inn: string | null;
9939
+ preferredPayment: string[] | null;
9940
+ clientStatus: string | null;
9941
+ purchaseChannels: string[] | null;
9942
+ sizes: string | null;
9059
9943
  createdBy: {
9060
9944
  id: string;
9061
9945
  firstName: string | null;
@@ -9067,27 +9951,206 @@ declare const routes: import("hono/hono-base").HonoBase<{
9067
9951
  name: string;
9068
9952
  description: string | null;
9069
9953
  }[];
9070
- subscriptionEndDate: string;
9954
+ }[] | {
9955
+ type: string | null;
9956
+ email: string | null;
9957
+ description: string | null;
9958
+ name: string;
9959
+ active: boolean | null;
9960
+ phone: string | null;
9961
+ website: string | null;
9962
+ birthDate: string | null;
9963
+ companyPhone: string | null;
9964
+ companyAddress: string | null;
9965
+ address: string | null;
9966
+ utmSource: string | null;
9967
+ id: string;
9968
+ created_at: string;
9969
+ workspaceId: string;
9071
9970
  updated_at: string | null;
9072
9971
  deleted_at: string | null;
9073
9972
  verified_at: string | null;
9074
9973
  suspended_at: string | null;
9075
- created_at: string;
9076
- id: string;
9077
- workspaceId: string;
9078
9974
  created_by: string | null;
9079
- type: string | null;
9080
- name: string;
9081
- companyName: string | null;
9082
- phone: string | null;
9083
9975
  telegram: string | null;
9084
9976
  whatsapp: string | null;
9085
- instagram: string | null;
9086
- vk: string | null;
9087
- igSynapseId: string | null;
9088
- waSynapseId: string | null;
9089
- tgSynapseId: string | null;
9090
- vkSynapseId: string | null;
9977
+ preferredCurrency: string | null;
9978
+ inn: string | null;
9979
+ clientStatus: string | null;
9980
+ territory: string | null;
9981
+ contractFrom: string | null;
9982
+ contractTo: string | null;
9983
+ royaltyPercent: number | null;
9984
+ adFundPercent: number | null;
9985
+ createdBy: {
9986
+ id: string;
9987
+ firstName: string | null;
9988
+ lastName: string | null;
9989
+ profilePicture: string | null;
9990
+ } | null;
9991
+ tags: {
9992
+ id: string;
9993
+ name: string;
9994
+ description: string | null;
9995
+ }[];
9996
+ }[] | {
9997
+ type: string | null;
9998
+ email: string | null;
9999
+ description: string | null;
10000
+ name: string;
10001
+ active: boolean | null;
10002
+ phone: string | null;
10003
+ website: string | null;
10004
+ birthDate: string | null;
10005
+ companyPhone: string | null;
10006
+ companyAddress: string | null;
10007
+ address: string | null;
10008
+ utmSource: string | null;
10009
+ id: string;
10010
+ created_at: string;
10011
+ workspaceId: string;
10012
+ updated_at: string | null;
10013
+ deleted_at: string | null;
10014
+ verified_at: string | null;
10015
+ suspended_at: string | null;
10016
+ created_by: string | null;
10017
+ telegram: string | null;
10018
+ whatsapp: string | null;
10019
+ preferredCurrency: string | null;
10020
+ inn: string | null;
10021
+ industry: string | null;
10022
+ clientStatus: string | null;
10023
+ monthlyTickets: number | null;
10024
+ knowledgeBase: string | null;
10025
+ createdBy: {
10026
+ id: string;
10027
+ firstName: string | null;
10028
+ lastName: string | null;
10029
+ profilePicture: string | null;
10030
+ } | null;
10031
+ tags: {
10032
+ id: string;
10033
+ name: string;
10034
+ description: string | null;
10035
+ }[];
10036
+ }[] | {
10037
+ type: string | null;
10038
+ email: string | null;
10039
+ description: string | null;
10040
+ name: string;
10041
+ active: boolean | null;
10042
+ phone: string | null;
10043
+ website: string | null;
10044
+ birthDate: string | null;
10045
+ companyPhone: string | null;
10046
+ companyAddress: string | null;
10047
+ address: string | null;
10048
+ utmSource: string | null;
10049
+ id: string;
10050
+ created_at: string;
10051
+ workspaceId: string;
10052
+ updated_at: string | null;
10053
+ deleted_at: string | null;
10054
+ verified_at: string | null;
10055
+ suspended_at: string | null;
10056
+ created_by: string | null;
10057
+ telegram: string | null;
10058
+ whatsapp: string | null;
10059
+ preferredCurrency: string | null;
10060
+ inn: string | null;
10061
+ preferredPayment: string[] | null;
10062
+ prepaymentRequired: boolean | null;
10063
+ clientStatus: string | null;
10064
+ addresses: {
10065
+ [x: string]: string;
10066
+ }[] | null;
10067
+ accessNotes: string | null;
10068
+ refusalsCount: number | null;
10069
+ homeAppliances: string | null;
10070
+ createdBy: {
10071
+ id: string;
10072
+ firstName: string | null;
10073
+ lastName: string | null;
10074
+ profilePicture: string | null;
10075
+ } | null;
10076
+ tags: {
10077
+ id: string;
10078
+ name: string;
10079
+ description: string | null;
10080
+ }[];
10081
+ }[];
10082
+ };
10083
+ outputFormat: "json";
10084
+ status: 201;
10085
+ };
10086
+ };
10087
+ } & {
10088
+ "/list/:workspace": {
10089
+ $get: {
10090
+ input: {
10091
+ param: {
10092
+ workspace: string;
10093
+ };
10094
+ };
10095
+ output: {
10096
+ success: false;
10097
+ error: string;
10098
+ };
10099
+ outputFormat: "json";
10100
+ status: 404;
10101
+ } | {
10102
+ input: {
10103
+ param: {
10104
+ workspace: string;
10105
+ };
10106
+ };
10107
+ output: {
10108
+ success: false;
10109
+ error: string;
10110
+ };
10111
+ outputFormat: "json";
10112
+ status: 400;
10113
+ } | {
10114
+ input: {
10115
+ param: {
10116
+ workspace: string;
10117
+ };
10118
+ };
10119
+ output: {
10120
+ success: true;
10121
+ customers: {
10122
+ createdBy: {
10123
+ id: string;
10124
+ firstName: string | null;
10125
+ lastName: string | null;
10126
+ profilePicture: string | null;
10127
+ } | null;
10128
+ tags: {
10129
+ id: string;
10130
+ name: string;
10131
+ description: string | null;
10132
+ }[];
10133
+ subscriptionEndDate: string;
10134
+ updated_at: string | null;
10135
+ deleted_at: string | null;
10136
+ verified_at: string | null;
10137
+ suspended_at: string | null;
10138
+ created_at: string;
10139
+ id: string;
10140
+ workspaceId: string;
10141
+ created_by: string | null;
10142
+ type: string | null;
10143
+ name: string;
10144
+ companyName: string | null;
10145
+ phone: string | null;
10146
+ telegram: string | null;
10147
+ whatsapp: string | null;
10148
+ instagram: string | null;
10149
+ vk: string | null;
10150
+ igSynapseId: string | null;
10151
+ waSynapseId: string | null;
10152
+ tgSynapseId: string | null;
10153
+ vkSynapseId: string | null;
9091
10154
  email: string | null;
9092
10155
  leadSource: string | null;
9093
10156
  budgetMin: number | null;
@@ -9928,6 +10991,177 @@ declare const routes: import("hono/hono-base").HonoBase<{
9928
10991
  description: string | null;
9929
10992
  }[];
9930
10993
  subscriptionEndDate: string | null;
10994
+ }[] | {
10995
+ type: string | null;
10996
+ email: string | null;
10997
+ description: string | null;
10998
+ name: string;
10999
+ active: boolean | null;
11000
+ phone: string | null;
11001
+ website: string | null;
11002
+ birthDate: string | null;
11003
+ companyPhone: string | null;
11004
+ companyAddress: string | null;
11005
+ address: string | null;
11006
+ utmSource: string | null;
11007
+ id: string;
11008
+ created_at: string;
11009
+ workspaceId: string;
11010
+ updated_at: string | null;
11011
+ deleted_at: string | null;
11012
+ verified_at: string | null;
11013
+ suspended_at: string | null;
11014
+ created_by: string | null;
11015
+ telegram: string | null;
11016
+ whatsapp: string | null;
11017
+ preferredCurrency: string | null;
11018
+ inn: string | null;
11019
+ preferredPayment: string[] | null;
11020
+ clientStatus: string | null;
11021
+ purchaseChannels: string[] | null;
11022
+ sizes: string | null;
11023
+ createdBy: {
11024
+ id: string;
11025
+ firstName: string | null;
11026
+ lastName: string | null;
11027
+ profilePicture: string | null;
11028
+ } | null;
11029
+ tags: {
11030
+ id: string;
11031
+ name: string;
11032
+ description: string | null;
11033
+ }[];
11034
+ subscriptionEndDate: string | null;
11035
+ }[] | {
11036
+ type: string | null;
11037
+ email: string | null;
11038
+ description: string | null;
11039
+ name: string;
11040
+ active: boolean | null;
11041
+ phone: string | null;
11042
+ website: string | null;
11043
+ birthDate: string | null;
11044
+ companyPhone: string | null;
11045
+ companyAddress: string | null;
11046
+ address: string | null;
11047
+ utmSource: string | null;
11048
+ id: string;
11049
+ created_at: string;
11050
+ workspaceId: string;
11051
+ updated_at: string | null;
11052
+ deleted_at: string | null;
11053
+ verified_at: string | null;
11054
+ suspended_at: string | null;
11055
+ created_by: string | null;
11056
+ telegram: string | null;
11057
+ whatsapp: string | null;
11058
+ preferredCurrency: string | null;
11059
+ inn: string | null;
11060
+ clientStatus: string | null;
11061
+ territory: string | null;
11062
+ contractFrom: string | null;
11063
+ contractTo: string | null;
11064
+ royaltyPercent: number | null;
11065
+ adFundPercent: number | null;
11066
+ createdBy: {
11067
+ id: string;
11068
+ firstName: string | null;
11069
+ lastName: string | null;
11070
+ profilePicture: string | null;
11071
+ } | null;
11072
+ tags: {
11073
+ id: string;
11074
+ name: string;
11075
+ description: string | null;
11076
+ }[];
11077
+ subscriptionEndDate: string | null;
11078
+ }[] | {
11079
+ type: string | null;
11080
+ email: string | null;
11081
+ description: string | null;
11082
+ name: string;
11083
+ active: boolean | null;
11084
+ phone: string | null;
11085
+ website: string | null;
11086
+ birthDate: string | null;
11087
+ companyPhone: string | null;
11088
+ companyAddress: string | null;
11089
+ address: string | null;
11090
+ utmSource: string | null;
11091
+ id: string;
11092
+ created_at: string;
11093
+ workspaceId: string;
11094
+ updated_at: string | null;
11095
+ deleted_at: string | null;
11096
+ verified_at: string | null;
11097
+ suspended_at: string | null;
11098
+ created_by: string | null;
11099
+ telegram: string | null;
11100
+ whatsapp: string | null;
11101
+ preferredCurrency: string | null;
11102
+ inn: string | null;
11103
+ industry: string | null;
11104
+ clientStatus: string | null;
11105
+ monthlyTickets: number | null;
11106
+ knowledgeBase: string | null;
11107
+ createdBy: {
11108
+ id: string;
11109
+ firstName: string | null;
11110
+ lastName: string | null;
11111
+ profilePicture: string | null;
11112
+ } | null;
11113
+ tags: {
11114
+ id: string;
11115
+ name: string;
11116
+ description: string | null;
11117
+ }[];
11118
+ subscriptionEndDate: string | null;
11119
+ }[] | {
11120
+ type: string | null;
11121
+ email: string | null;
11122
+ description: string | null;
11123
+ name: string;
11124
+ active: boolean | null;
11125
+ phone: string | null;
11126
+ website: string | null;
11127
+ birthDate: string | null;
11128
+ companyPhone: string | null;
11129
+ companyAddress: string | null;
11130
+ address: string | null;
11131
+ utmSource: string | null;
11132
+ id: string;
11133
+ created_at: string;
11134
+ workspaceId: string;
11135
+ updated_at: string | null;
11136
+ deleted_at: string | null;
11137
+ verified_at: string | null;
11138
+ suspended_at: string | null;
11139
+ created_by: string | null;
11140
+ telegram: string | null;
11141
+ whatsapp: string | null;
11142
+ preferredCurrency: string | null;
11143
+ inn: string | null;
11144
+ preferredPayment: string[] | null;
11145
+ prepaymentRequired: boolean | null;
11146
+ clientStatus: string | null;
11147
+ addresses: {
11148
+ [x: string]: string;
11149
+ }[] | null;
11150
+ accessNotes: string | null;
11151
+ refusalsCount: number | null;
11152
+ homeAppliances: string | null;
11153
+ createdBy: {
11154
+ id: string;
11155
+ firstName: string | null;
11156
+ lastName: string | null;
11157
+ profilePicture: string | null;
11158
+ } | null;
11159
+ tags: {
11160
+ id: string;
11161
+ name: string;
11162
+ description: string | null;
11163
+ }[];
11164
+ subscriptionEndDate: string | null;
9931
11165
  }[];
9932
11166
  };
9933
11167
  outputFormat: "json";
@@ -10539,20 +11773,200 @@ declare const routes: import("hono/hono-base").HonoBase<{
10539
11773
  whatsapp: string | null;
10540
11774
  preferredCurrency: string | null;
10541
11775
  inn: string | null;
10542
- kpp: string | null;
10543
- ogrn: string | null;
10544
- preferredPayment: string[] | null;
10545
- riskLevel: string | null;
10546
- legalAddress: string | null;
10547
- passport: string | null;
10548
- caseType: string | null;
10549
- caseNumber: string | null;
10550
- court: string | null;
10551
- contractNumber: string | null;
10552
- conflictOfInterest: string | null;
10553
- proceduralDeadline: string | null;
10554
- powerOfAttorneyUntil: string | null;
11776
+ kpp: string | null;
11777
+ ogrn: string | null;
11778
+ preferredPayment: string[] | null;
11779
+ riskLevel: string | null;
11780
+ legalAddress: string | null;
11781
+ passport: string | null;
11782
+ caseType: string | null;
11783
+ caseNumber: string | null;
11784
+ court: string | null;
11785
+ contractNumber: string | null;
11786
+ conflictOfInterest: string | null;
11787
+ proceduralDeadline: string | null;
11788
+ powerOfAttorneyUntil: string | null;
11789
+ clientStatus: string | null;
11790
+ createdBy: {
11791
+ id: string;
11792
+ firstName: string | null;
11793
+ lastName: string | null;
11794
+ profilePicture: string | null;
11795
+ } | null;
11796
+ tags: {
11797
+ id: string;
11798
+ name: string;
11799
+ description: string | null;
11800
+ }[];
11801
+ } | {
11802
+ type: string | null;
11803
+ email: string | null;
11804
+ description: string | null;
11805
+ name: string;
11806
+ active: boolean | null;
11807
+ phone: string | null;
11808
+ website: string | null;
11809
+ birthDate: string | null;
11810
+ companyPhone: string | null;
11811
+ companyAddress: string | null;
11812
+ address: string | null;
11813
+ utmSource: string | null;
11814
+ id: string;
11815
+ created_at: string;
11816
+ workspaceId: string;
11817
+ updated_at: string | null;
11818
+ deleted_at: string | null;
11819
+ verified_at: string | null;
11820
+ suspended_at: string | null;
11821
+ created_by: string | null;
11822
+ telegram: string | null;
11823
+ whatsapp: string | null;
11824
+ preferredCurrency: string | null;
11825
+ inn: string | null;
11826
+ kpp: string | null;
11827
+ preferredPayment: string[] | null;
11828
+ industry: string | null;
11829
+ companySize: string | null;
11830
+ clientStatus: string | null;
11831
+ nda: string | null;
11832
+ ndaUntil: string | null;
11833
+ clientRate: number | null;
11834
+ clientRateUnit: string | null;
11835
+ createdBy: {
11836
+ id: string;
11837
+ firstName: string | null;
11838
+ lastName: string | null;
11839
+ profilePicture: string | null;
11840
+ } | null;
11841
+ tags: {
11842
+ id: string;
11843
+ name: string;
11844
+ description: string | null;
11845
+ }[];
11846
+ } | {
11847
+ type: string | null;
11848
+ email: string | null;
11849
+ description: string | null;
11850
+ name: string;
11851
+ active: boolean | null;
11852
+ phone: string | null;
11853
+ website: string | null;
11854
+ birthDate: string | null;
11855
+ companyPhone: string | null;
11856
+ companyAddress: string | null;
11857
+ address: string | null;
11858
+ utmSource: string | null;
11859
+ id: string;
11860
+ created_at: string;
11861
+ workspaceId: string;
11862
+ updated_at: string | null;
11863
+ deleted_at: string | null;
11864
+ verified_at: string | null;
11865
+ suspended_at: string | null;
11866
+ created_by: string | null;
11867
+ telegram: string | null;
11868
+ whatsapp: string | null;
11869
+ preferredCurrency: string | null;
11870
+ inn: string | null;
11871
+ kpp: string | null;
11872
+ clientStatus: string | null;
11873
+ marketingBudget: number | null;
11874
+ accesses: {
11875
+ [x: string]: string;
11876
+ }[] | null;
11877
+ brandBook: string | null;
11878
+ kpi: {
11879
+ [x: string]: string;
11880
+ }[] | null;
11881
+ createdBy: {
11882
+ id: string;
11883
+ firstName: string | null;
11884
+ lastName: string | null;
11885
+ profilePicture: string | null;
11886
+ } | null;
11887
+ tags: {
11888
+ id: string;
11889
+ name: string;
11890
+ description: string | null;
11891
+ }[];
11892
+ } | {
11893
+ type: string | null;
11894
+ email: string | null;
11895
+ description: string | null;
11896
+ name: string;
11897
+ active: boolean | null;
11898
+ phone: string | null;
11899
+ website: string | null;
11900
+ birthDate: string | null;
11901
+ companyPhone: string | null;
11902
+ companyAddress: string | null;
11903
+ address: string | null;
11904
+ utmSource: string | null;
11905
+ id: string;
11906
+ created_at: string;
11907
+ workspaceId: string;
11908
+ updated_at: string | null;
11909
+ deleted_at: string | null;
11910
+ verified_at: string | null;
11911
+ suspended_at: string | null;
11912
+ created_by: string | null;
11913
+ telegram: string | null;
11914
+ whatsapp: string | null;
11915
+ preferredCurrency: string | null;
11916
+ inn: string | null;
11917
+ preferredPayment: string | null;
11918
+ preferences: string[] | null;
11919
+ documentType: string | null;
11920
+ documentNumber: string | null;
11921
+ loyaltyLevel: string | null;
11922
+ loyaltyNumber: string | null;
11923
+ createdBy: {
11924
+ id: string;
11925
+ firstName: string | null;
11926
+ lastName: string | null;
11927
+ profilePicture: string | null;
11928
+ } | null;
11929
+ tags: {
11930
+ id: string;
11931
+ name: string;
11932
+ description: string | null;
11933
+ }[];
11934
+ } | {
11935
+ type: string | null;
11936
+ email: string | null;
11937
+ description: string | null;
11938
+ name: string;
11939
+ active: boolean | null;
11940
+ phone: string | null;
11941
+ website: string | null;
11942
+ birthDate: string | null;
11943
+ companyPhone: string | null;
11944
+ companyAddress: string | null;
11945
+ address: string | null;
11946
+ utmSource: string | null;
11947
+ id: string;
11948
+ created_at: string;
11949
+ workspaceId: string;
11950
+ updated_at: string | null;
11951
+ deleted_at: string | null;
11952
+ verified_at: string | null;
11953
+ suspended_at: string | null;
11954
+ created_by: string | null;
11955
+ plan: string | null;
11956
+ telegram: string | null;
11957
+ whatsapp: string | null;
11958
+ preferredCurrency: string | null;
11959
+ inn: string | null;
11960
+ industry: string | null;
10555
11961
  clientStatus: string | null;
11962
+ churnDate: string | null;
11963
+ churnReason: string | null;
11964
+ churnedTo: string | null;
11965
+ winBack: string | null;
11966
+ churnComment: string | null;
11967
+ users: number | null;
11968
+ trialEndsAt: string | null;
11969
+ renewalDate: string | null;
10556
11970
  createdBy: {
10557
11971
  id: string;
10558
11972
  firstName: string | null;
@@ -10588,16 +12002,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
10588
12002
  telegram: string | null;
10589
12003
  whatsapp: string | null;
10590
12004
  preferredCurrency: string | null;
12005
+ preferredPayments: string[] | null;
10591
12006
  inn: string | null;
10592
- kpp: string | null;
10593
- preferredPayment: string[] | null;
10594
12007
  industry: string | null;
10595
- companySize: string | null;
10596
12008
  clientStatus: string | null;
10597
- nda: string | null;
10598
- ndaUntil: string | null;
10599
- clientRate: number | null;
10600
- clientRateUnit: string | null;
12009
+ requisites: string | null;
12010
+ paymentDeferralDays: number | null;
12011
+ creditLimit: number | null;
10601
12012
  createdBy: {
10602
12013
  id: string;
10603
12014
  firstName: string | null;
@@ -10634,14 +12045,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
10634
12045
  whatsapp: string | null;
10635
12046
  preferredCurrency: string | null;
10636
12047
  inn: string | null;
10637
- kpp: string | null;
12048
+ preferredPayment: string[] | null;
10638
12049
  clientStatus: string | null;
10639
- marketingBudget: number | null;
10640
- accesses: {
10641
- [x: string]: string;
10642
- }[] | null;
10643
- brandBook: string | null;
10644
- kpi: {
12050
+ partnerKind: string | null;
12051
+ driverLicenceNumber: string | null;
12052
+ driverLicenceUntil: string | null;
12053
+ cars: {
10645
12054
  [x: string]: string;
10646
12055
  }[] | null;
10647
12056
  createdBy: {
@@ -10680,12 +12089,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
10680
12089
  whatsapp: string | null;
10681
12090
  preferredCurrency: string | null;
10682
12091
  inn: string | null;
10683
- preferredPayment: string | null;
10684
- preferences: string[] | null;
10685
- documentType: string | null;
10686
- documentNumber: string | null;
10687
- loyaltyLevel: string | null;
10688
- loyaltyNumber: string | null;
12092
+ preferredPayment: string[] | null;
12093
+ clientStatus: string | null;
12094
+ purchaseChannels: string[] | null;
12095
+ sizes: string | null;
10689
12096
  createdBy: {
10690
12097
  id: string;
10691
12098
  firstName: string | null;
@@ -10718,21 +12125,16 @@ declare const routes: import("hono/hono-base").HonoBase<{
10718
12125
  verified_at: string | null;
10719
12126
  suspended_at: string | null;
10720
12127
  created_by: string | null;
10721
- plan: string | null;
10722
12128
  telegram: string | null;
10723
12129
  whatsapp: string | null;
10724
12130
  preferredCurrency: string | null;
10725
12131
  inn: string | null;
10726
- industry: string | null;
10727
12132
  clientStatus: string | null;
10728
- churnDate: string | null;
10729
- churnReason: string | null;
10730
- churnedTo: string | null;
10731
- winBack: string | null;
10732
- churnComment: string | null;
10733
- users: number | null;
10734
- trialEndsAt: string | null;
10735
- renewalDate: string | null;
12133
+ territory: string | null;
12134
+ contractFrom: string | null;
12135
+ contractTo: string | null;
12136
+ royaltyPercent: number | null;
12137
+ adFundPercent: number | null;
10736
12138
  createdBy: {
10737
12139
  id: string;
10738
12140
  firstName: string | null;
@@ -10768,13 +12170,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
10768
12170
  telegram: string | null;
10769
12171
  whatsapp: string | null;
10770
12172
  preferredCurrency: string | null;
10771
- preferredPayments: string[] | null;
10772
12173
  inn: string | null;
10773
12174
  industry: string | null;
10774
12175
  clientStatus: string | null;
10775
- requisites: string | null;
10776
- paymentDeferralDays: number | null;
10777
- creditLimit: number | null;
12176
+ monthlyTickets: number | null;
12177
+ knowledgeBase: string | null;
10778
12178
  createdBy: {
10779
12179
  id: string;
10780
12180
  firstName: string | null;
@@ -10812,13 +12212,14 @@ declare const routes: import("hono/hono-base").HonoBase<{
10812
12212
  preferredCurrency: string | null;
10813
12213
  inn: string | null;
10814
12214
  preferredPayment: string[] | null;
12215
+ prepaymentRequired: boolean | null;
10815
12216
  clientStatus: string | null;
10816
- partnerKind: string | null;
10817
- driverLicenceNumber: string | null;
10818
- driverLicenceUntil: string | null;
10819
- cars: {
12217
+ addresses: {
10820
12218
  [x: string]: string;
10821
12219
  }[] | null;
12220
+ accessNotes: string | null;
12221
+ refusalsCount: number | null;
12222
+ homeAppliances: string | null;
10822
12223
  createdBy: {
10823
12224
  id: string;
10824
12225
  firstName: string | null;
@@ -11668,6 +13069,173 @@ declare const routes: import("hono/hono-base").HonoBase<{
11668
13069
  name: string;
11669
13070
  description: string | null;
11670
13071
  }[];
13072
+ }[] | {
13073
+ type: string | null;
13074
+ email: string | null;
13075
+ description: string | null;
13076
+ name: string;
13077
+ active: boolean | null;
13078
+ phone: string | null;
13079
+ website: string | null;
13080
+ birthDate: string | null;
13081
+ companyPhone: string | null;
13082
+ companyAddress: string | null;
13083
+ address: string | null;
13084
+ utmSource: string | null;
13085
+ id: string;
13086
+ created_at: string;
13087
+ workspaceId: string;
13088
+ updated_at: string | null;
13089
+ deleted_at: string | null;
13090
+ verified_at: string | null;
13091
+ suspended_at: string | null;
13092
+ created_by: string | null;
13093
+ telegram: string | null;
13094
+ whatsapp: string | null;
13095
+ preferredCurrency: string | null;
13096
+ inn: string | null;
13097
+ preferredPayment: string[] | null;
13098
+ clientStatus: string | null;
13099
+ purchaseChannels: string[] | null;
13100
+ sizes: string | null;
13101
+ createdBy: {
13102
+ id: string;
13103
+ firstName: string | null;
13104
+ lastName: string | null;
13105
+ profilePicture: string | null;
13106
+ } | null;
13107
+ tags: {
13108
+ id: string;
13109
+ name: string;
13110
+ description: string | null;
13111
+ }[];
13112
+ }[] | {
13113
+ type: string | null;
13114
+ email: string | null;
13115
+ description: string | null;
13116
+ name: string;
13117
+ active: boolean | null;
13118
+ phone: string | null;
13119
+ website: string | null;
13120
+ birthDate: string | null;
13121
+ companyPhone: string | null;
13122
+ companyAddress: string | null;
13123
+ address: string | null;
13124
+ utmSource: string | null;
13125
+ id: string;
13126
+ created_at: string;
13127
+ workspaceId: string;
13128
+ updated_at: string | null;
13129
+ deleted_at: string | null;
13130
+ verified_at: string | null;
13131
+ suspended_at: string | null;
13132
+ created_by: string | null;
13133
+ telegram: string | null;
13134
+ whatsapp: string | null;
13135
+ preferredCurrency: string | null;
13136
+ inn: string | null;
13137
+ clientStatus: string | null;
13138
+ territory: string | null;
13139
+ contractFrom: string | null;
13140
+ contractTo: string | null;
13141
+ royaltyPercent: number | null;
13142
+ adFundPercent: number | null;
13143
+ createdBy: {
13144
+ id: string;
13145
+ firstName: string | null;
13146
+ lastName: string | null;
13147
+ profilePicture: string | null;
13148
+ } | null;
13149
+ tags: {
13150
+ id: string;
13151
+ name: string;
13152
+ description: string | null;
13153
+ }[];
13154
+ }[] | {
13155
+ type: string | null;
13156
+ email: string | null;
13157
+ description: string | null;
13158
+ name: string;
13159
+ active: boolean | null;
13160
+ phone: string | null;
13161
+ website: string | null;
13162
+ birthDate: string | null;
13163
+ companyPhone: string | null;
13164
+ companyAddress: string | null;
13165
+ address: string | null;
13166
+ utmSource: string | null;
13167
+ id: string;
13168
+ created_at: string;
13169
+ workspaceId: string;
13170
+ updated_at: string | null;
13171
+ deleted_at: string | null;
13172
+ verified_at: string | null;
13173
+ suspended_at: string | null;
13174
+ created_by: string | null;
13175
+ telegram: string | null;
13176
+ whatsapp: string | null;
13177
+ preferredCurrency: string | null;
13178
+ inn: string | null;
13179
+ industry: string | null;
13180
+ clientStatus: string | null;
13181
+ monthlyTickets: number | null;
13182
+ knowledgeBase: string | null;
13183
+ createdBy: {
13184
+ id: string;
13185
+ firstName: string | null;
13186
+ lastName: string | null;
13187
+ profilePicture: string | null;
13188
+ } | null;
13189
+ tags: {
13190
+ id: string;
13191
+ name: string;
13192
+ description: string | null;
13193
+ }[];
13194
+ }[] | {
13195
+ type: string | null;
13196
+ email: string | null;
13197
+ description: string | null;
13198
+ name: string;
13199
+ active: boolean | null;
13200
+ phone: string | null;
13201
+ website: string | null;
13202
+ birthDate: string | null;
13203
+ companyPhone: string | null;
13204
+ companyAddress: string | null;
13205
+ address: string | null;
13206
+ utmSource: string | null;
13207
+ id: string;
13208
+ created_at: string;
13209
+ workspaceId: string;
13210
+ updated_at: string | null;
13211
+ deleted_at: string | null;
13212
+ verified_at: string | null;
13213
+ suspended_at: string | null;
13214
+ created_by: string | null;
13215
+ telegram: string | null;
13216
+ whatsapp: string | null;
13217
+ preferredCurrency: string | null;
13218
+ inn: string | null;
13219
+ preferredPayment: string[] | null;
13220
+ prepaymentRequired: boolean | null;
13221
+ clientStatus: string | null;
13222
+ addresses: {
13223
+ [x: string]: string;
13224
+ }[] | null;
13225
+ accessNotes: string | null;
13226
+ refusalsCount: number | null;
13227
+ homeAppliances: string | null;
13228
+ createdBy: {
13229
+ id: string;
13230
+ firstName: string | null;
13231
+ lastName: string | null;
13232
+ profilePicture: string | null;
13233
+ } | null;
13234
+ tags: {
13235
+ id: string;
13236
+ name: string;
13237
+ description: string | null;
13238
+ }[];
11671
13239
  }[] | {
11672
13240
  updated_at: string | null;
11673
13241
  deleted_at: string | null;
@@ -12305,7 +13873,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12305
13873
  workspace: string;
12306
13874
  customerId: string;
12307
13875
  relatedCustomerId: string;
12308
- type: "friend" | "spouse" | "father" | "mother" | "parent" | "child" | "sibling" | "relative" | "colleague" | "co_buyer" | "lawyer" | "client" | "payer" | "payee" | "contact_person" | "represents" | "decision_maker" | "decision_maker_at" | "technical_contact" | "technical_contact_at" | "accountant" | "accountant_at" | "account_admin" | "account_admin_at" | "account_user" | "account_user_at" | "engineer" | "engineer_at" | "other";
13876
+ type: "friend" | "spouse" | "father" | "mother" | "parent" | "child" | "sibling" | "relative" | "colleague" | "co_buyer" | "lawyer" | "client" | "payer" | "payee" | "contact_person" | "represents" | "decision_maker" | "decision_maker_at" | "technical_contact" | "technical_contact_at" | "accountant" | "accountant_at" | "account_admin" | "account_admin_at" | "account_user" | "account_user_at" | "engineer" | "engineer_at" | "head_of_support" | "head_of_support_at" | "other";
12309
13877
  };
12310
13878
  };
12311
13879
  output: {
@@ -12320,7 +13888,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12320
13888
  workspace: string;
12321
13889
  customerId: string;
12322
13890
  relatedCustomerId: string;
12323
- type: "friend" | "spouse" | "father" | "mother" | "parent" | "child" | "sibling" | "relative" | "colleague" | "co_buyer" | "lawyer" | "client" | "payer" | "payee" | "contact_person" | "represents" | "decision_maker" | "decision_maker_at" | "technical_contact" | "technical_contact_at" | "accountant" | "accountant_at" | "account_admin" | "account_admin_at" | "account_user" | "account_user_at" | "engineer" | "engineer_at" | "other";
13891
+ type: "friend" | "spouse" | "father" | "mother" | "parent" | "child" | "sibling" | "relative" | "colleague" | "co_buyer" | "lawyer" | "client" | "payer" | "payee" | "contact_person" | "represents" | "decision_maker" | "decision_maker_at" | "technical_contact" | "technical_contact_at" | "accountant" | "accountant_at" | "account_admin" | "account_admin_at" | "account_user" | "account_user_at" | "engineer" | "engineer_at" | "head_of_support" | "head_of_support_at" | "other";
12324
13892
  };
12325
13893
  };
12326
13894
  output: {
@@ -12335,7 +13903,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12335
13903
  workspace: string;
12336
13904
  customerId: string;
12337
13905
  relatedCustomerId: string;
12338
- type: "friend" | "spouse" | "father" | "mother" | "parent" | "child" | "sibling" | "relative" | "colleague" | "co_buyer" | "lawyer" | "client" | "payer" | "payee" | "contact_person" | "represents" | "decision_maker" | "decision_maker_at" | "technical_contact" | "technical_contact_at" | "accountant" | "accountant_at" | "account_admin" | "account_admin_at" | "account_user" | "account_user_at" | "engineer" | "engineer_at" | "other";
13906
+ type: "friend" | "spouse" | "father" | "mother" | "parent" | "child" | "sibling" | "relative" | "colleague" | "co_buyer" | "lawyer" | "client" | "payer" | "payee" | "contact_person" | "represents" | "decision_maker" | "decision_maker_at" | "technical_contact" | "technical_contact_at" | "accountant" | "accountant_at" | "account_admin" | "account_admin_at" | "account_user" | "account_user_at" | "engineer" | "engineer_at" | "head_of_support" | "head_of_support_at" | "other";
12339
13907
  };
12340
13908
  };
12341
13909
  output: {
@@ -12651,8 +14219,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
12651
14219
  subscription: boolean | null;
12652
14220
  id: string;
12653
14221
  amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
12654
- unitPrice: number;
12655
14222
  vatRate: number | null;
14223
+ unitPrice: number;
12656
14224
  branchId: string | null;
12657
14225
  responsibleId: string | null;
12658
14226
  internalNote: string | null;
@@ -12869,8 +14437,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
12869
14437
  subscription: boolean | null;
12870
14438
  id: string;
12871
14439
  amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
12872
- unitPrice: number;
12873
14440
  vatRate: number | null;
14441
+ unitPrice: number;
12874
14442
  branchId: string | null;
12875
14443
  responsibleId: string | null;
12876
14444
  internalNote: string | null;
@@ -13266,8 +14834,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
13266
14834
  subscription: boolean | null;
13267
14835
  id: string;
13268
14836
  amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
13269
- unitPrice: number;
13270
14837
  vatRate: number | null;
14838
+ unitPrice: number;
13271
14839
  branchId: string | null;
13272
14840
  responsibleId: string | null;
13273
14841
  internalNote: string | null;
@@ -13819,8 +15387,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
13819
15387
  subscription: boolean | null;
13820
15388
  id: string;
13821
15389
  amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
13822
- unitPrice: number;
13823
15390
  vatRate: number | null;
15391
+ unitPrice: number;
13824
15392
  branchId: string | null;
13825
15393
  responsibleId: string | null;
13826
15394
  internalNote: string | null;
@@ -13991,8 +15559,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
13991
15559
  subscription: boolean | null;
13992
15560
  id: string;
13993
15561
  amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
13994
- unitPrice: number;
13995
15562
  vatRate: number | null;
15563
+ unitPrice: number;
13996
15564
  branchId: string | null;
13997
15565
  responsibleId: string | null;
13998
15566
  internalNote: string | null;
@@ -21515,8 +23083,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
21515
23083
  item: {
21516
23084
  variant: string | null;
21517
23085
  quantity: number;
21518
- id: string;
21519
23086
  sku: string;
23087
+ id: string;
21520
23088
  minStock: number;
21521
23089
  warehouseId: string;
21522
23090
  productName: string;
@@ -21568,8 +23136,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
21568
23136
  reason: string;
21569
23137
  comment: string | null;
21570
23138
  quantity: number;
21571
- id: string;
21572
23139
  sku: string;
23140
+ id: string;
21573
23141
  productName: string;
21574
23142
  fromWarehouseId: string;
21575
23143
  toWarehouseId: string;
@@ -21697,7 +23265,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
21697
23265
  period: string;
21698
23266
  clients: number;
21699
23267
  amountKopecks: number;
21700
- status: "paid" | "accruing" | "scheduled";
23268
+ status: "paid" | "scheduled" | "accruing";
21701
23269
  } | null;
21702
23270
  awaitingClients: {
21703
23271
  id: string;
@@ -21810,7 +23378,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
21810
23378
  period: string;
21811
23379
  clients: number;
21812
23380
  amountKopecks: number;
21813
- status: "paid" | "accruing" | "scheduled";
23381
+ status: "paid" | "scheduled" | "accruing";
21814
23382
  }[];
21815
23383
  };
21816
23384
  outputFormat: "json";