@mestra-dev/contract 0.0.324 → 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 +815 -21
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4637,6 +4637,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
4637
4637
  vin: string | null;
4638
4638
  mileage: number | null;
4639
4639
  color: string | null;
4640
+ purchasePrice: number | null;
4640
4641
  makeModel: string | null;
4641
4642
  bodyType: string | null;
4642
4643
  engine: 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;
@@ -4707,9 +4707,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
4707
4707
  serviceType: string | null;
4708
4708
  sku: string | null;
4709
4709
  barcode: string | null;
4710
+ purchasePrice: number | null;
4710
4711
  weight: string | null;
4711
4712
  dimensions: string | null;
4712
- purchasePrice: number | null;
4713
4713
  minStock: number | null;
4714
4714
  sizes: string[] | null;
4715
4715
  brand: string | null;
@@ -4787,6 +4787,119 @@ declare const routes: import("hono/hono-base").HonoBase<{
4787
4787
  name: string;
4788
4788
  description: string | null;
4789
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
+ }[];
4790
4903
  }[];
4791
4904
  };
4792
4905
  outputFormat: "json";
@@ -5765,6 +5878,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
5765
5878
  vin: string | null;
5766
5879
  mileage: number | null;
5767
5880
  color: string | null;
5881
+ purchasePrice: number | null;
5768
5882
  makeModel: string | null;
5769
5883
  bodyType: string | null;
5770
5884
  engine: string | null;
@@ -5773,7 +5887,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
5773
5887
  drivetrain: string | null;
5774
5888
  previousOwners: number | null;
5775
5889
  accidentHistory: string | null;
5776
- purchasePrice: number | null;
5777
5890
  preparationCosts: {
5778
5891
  [x: string]: string;
5779
5892
  }[] | null;
@@ -5835,9 +5948,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
5835
5948
  serviceType: string | null;
5836
5949
  sku: string | null;
5837
5950
  barcode: string | null;
5951
+ purchasePrice: number | null;
5838
5952
  weight: string | null;
5839
5953
  dimensions: string | null;
5840
- purchasePrice: number | null;
5841
5954
  minStock: number | null;
5842
5955
  sizes: string[] | null;
5843
5956
  brand: string | null;
@@ -5915,6 +6028,119 @@ declare const routes: import("hono/hono-base").HonoBase<{
5915
6028
  name: string;
5916
6029
  description: string | null;
5917
6030
  }[];
6031
+ }[] | {
6032
+ type: 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
+ }[];
5918
6144
  }[] | {
5919
6145
  updated_at: string | null;
5920
6146
  deleted_at: string | null;
@@ -6983,6 +7209,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
6983
7209
  vin: string | null;
6984
7210
  mileage: number | null;
6985
7211
  color: string | null;
7212
+ purchasePrice: number | null;
6986
7213
  makeModel: string | null;
6987
7214
  bodyType: string | null;
6988
7215
  engine: string | null;
@@ -6991,7 +7218,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
6991
7218
  drivetrain: string | null;
6992
7219
  previousOwners: number | null;
6993
7220
  accidentHistory: string | null;
6994
- purchasePrice: number | null;
6995
7221
  preparationCosts: {
6996
7222
  [x: string]: string;
6997
7223
  }[] | null;
@@ -7053,9 +7279,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
7053
7279
  serviceType: string | null;
7054
7280
  sku: string | null;
7055
7281
  barcode: string | null;
7282
+ purchasePrice: number | null;
7056
7283
  weight: string | null;
7057
7284
  dimensions: string | null;
7058
- purchasePrice: number | null;
7059
7285
  minStock: number | null;
7060
7286
  sizes: string[] | null;
7061
7287
  brand: string | null;
@@ -7133,6 +7359,119 @@ declare const routes: import("hono/hono-base").HonoBase<{
7133
7359
  name: string;
7134
7360
  description: string | null;
7135
7361
  }[];
7362
+ }[] | {
7363
+ type: string | null;
7364
+ description: string | null;
7365
+ name: string;
7366
+ active: boolean | null;
7367
+ stock: number | null;
7368
+ currency: string | null;
7369
+ price: number | null;
7370
+ qrCode: string | null;
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
+ }[];
7136
7475
  }[] | {
7137
7476
  createdBy: {
7138
7477
  id: string;
@@ -8241,6 +8580,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8241
8580
  vin: string | null;
8242
8581
  mileage: number | null;
8243
8582
  color: string | null;
8583
+ purchasePrice: number | null;
8244
8584
  makeModel: string | null;
8245
8585
  bodyType: string | null;
8246
8586
  engine: string | null;
@@ -8249,7 +8589,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
8249
8589
  drivetrain: string | null;
8250
8590
  previousOwners: number | null;
8251
8591
  accidentHistory: string | null;
8252
- purchasePrice: number | null;
8253
8592
  preparationCosts: {
8254
8593
  [x: string]: string;
8255
8594
  }[] | null;
@@ -8311,9 +8650,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
8311
8650
  serviceType: string | null;
8312
8651
  sku: string | null;
8313
8652
  barcode: string | null;
8653
+ purchasePrice: number | null;
8314
8654
  weight: string | null;
8315
8655
  dimensions: string | null;
8316
- purchasePrice: number | null;
8317
8656
  minStock: number | null;
8318
8657
  sizes: string[] | null;
8319
8658
  brand: string | null;
@@ -8391,6 +8730,119 @@ declare const routes: import("hono/hono-base").HonoBase<{
8391
8730
  name: string;
8392
8731
  description: string | null;
8393
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
+ }[];
8394
8846
  } | {
8395
8847
  createdBy: {
8396
8848
  id: string;
@@ -9484,10 +9936,92 @@ declare const routes: import("hono/hono-base").HonoBase<{
9484
9936
  whatsapp: string | null;
9485
9937
  preferredCurrency: string | null;
9486
9938
  inn: string | null;
9487
- preferredPayment: string[] | null;
9939
+ preferredPayment: string[] | null;
9940
+ clientStatus: string | null;
9941
+ purchaseChannels: string[] | null;
9942
+ sizes: string | null;
9943
+ createdBy: {
9944
+ id: string;
9945
+ firstName: string | null;
9946
+ lastName: string | null;
9947
+ profilePicture: string | null;
9948
+ } | null;
9949
+ tags: {
9950
+ id: string;
9951
+ name: string;
9952
+ description: string | null;
9953
+ }[];
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;
9970
+ updated_at: string | null;
9971
+ deleted_at: string | null;
9972
+ verified_at: string | null;
9973
+ suspended_at: string | null;
9974
+ created_by: string | null;
9975
+ telegram: string | null;
9976
+ whatsapp: 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;
9488
10022
  clientStatus: string | null;
9489
- purchaseChannels: string[] | null;
9490
- sizes: string | null;
10023
+ monthlyTickets: number | null;
10024
+ knowledgeBase: string | null;
9491
10025
  createdBy: {
9492
10026
  id: string;
9493
10027
  firstName: string | null;
@@ -9524,12 +10058,15 @@ declare const routes: import("hono/hono-base").HonoBase<{
9524
10058
  whatsapp: string | null;
9525
10059
  preferredCurrency: string | null;
9526
10060
  inn: string | null;
10061
+ preferredPayment: string[] | null;
10062
+ prepaymentRequired: boolean | null;
9527
10063
  clientStatus: string | null;
9528
- territory: string | null;
9529
- contractFrom: string | null;
9530
- contractTo: string | null;
9531
- royaltyPercent: number | null;
9532
- adFundPercent: number | null;
10064
+ addresses: {
10065
+ [x: string]: string;
10066
+ }[] | null;
10067
+ accessNotes: string | null;
10068
+ refusalsCount: number | null;
10069
+ homeAppliances: string | null;
9533
10070
  createdBy: {
9534
10071
  id: string;
9535
10072
  firstName: string | null;
@@ -10538,6 +11075,93 @@ declare const routes: import("hono/hono-base").HonoBase<{
10538
11075
  description: string | null;
10539
11076
  }[];
10540
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;
10541
11165
  }[];
10542
11166
  };
10543
11167
  outputFormat: "json";
@@ -11522,6 +12146,91 @@ declare const routes: import("hono/hono-base").HonoBase<{
11522
12146
  name: string;
11523
12147
  description: string | null;
11524
12148
  }[];
12149
+ } | {
12150
+ type: string | null;
12151
+ email: string | null;
12152
+ description: string | null;
12153
+ name: string;
12154
+ active: boolean | null;
12155
+ phone: string | null;
12156
+ website: string | null;
12157
+ birthDate: string | null;
12158
+ companyPhone: string | null;
12159
+ companyAddress: string | null;
12160
+ address: string | null;
12161
+ utmSource: string | null;
12162
+ id: string;
12163
+ created_at: string;
12164
+ workspaceId: string;
12165
+ updated_at: string | null;
12166
+ deleted_at: string | null;
12167
+ verified_at: string | null;
12168
+ suspended_at: string | null;
12169
+ created_by: string | null;
12170
+ telegram: string | null;
12171
+ whatsapp: string | null;
12172
+ preferredCurrency: string | null;
12173
+ inn: string | null;
12174
+ industry: string | null;
12175
+ clientStatus: string | null;
12176
+ monthlyTickets: number | null;
12177
+ knowledgeBase: string | null;
12178
+ createdBy: {
12179
+ id: string;
12180
+ firstName: string | null;
12181
+ lastName: string | null;
12182
+ profilePicture: string | null;
12183
+ } | null;
12184
+ tags: {
12185
+ id: string;
12186
+ name: string;
12187
+ description: string | null;
12188
+ }[];
12189
+ } | {
12190
+ type: string | null;
12191
+ email: string | null;
12192
+ description: string | null;
12193
+ name: string;
12194
+ active: boolean | null;
12195
+ phone: string | null;
12196
+ website: string | null;
12197
+ birthDate: string | null;
12198
+ companyPhone: string | null;
12199
+ companyAddress: string | null;
12200
+ address: string | null;
12201
+ utmSource: string | null;
12202
+ id: string;
12203
+ created_at: string;
12204
+ workspaceId: string;
12205
+ updated_at: string | null;
12206
+ deleted_at: string | null;
12207
+ verified_at: string | null;
12208
+ suspended_at: string | null;
12209
+ created_by: string | null;
12210
+ telegram: string | null;
12211
+ whatsapp: string | null;
12212
+ preferredCurrency: string | null;
12213
+ inn: string | null;
12214
+ preferredPayment: string[] | null;
12215
+ prepaymentRequired: boolean | null;
12216
+ clientStatus: string | null;
12217
+ addresses: {
12218
+ [x: string]: string;
12219
+ }[] | null;
12220
+ accessNotes: string | null;
12221
+ refusalsCount: number | null;
12222
+ homeAppliances: string | null;
12223
+ createdBy: {
12224
+ id: string;
12225
+ firstName: string | null;
12226
+ lastName: string | null;
12227
+ profilePicture: string | null;
12228
+ } | null;
12229
+ tags: {
12230
+ id: string;
12231
+ name: string;
12232
+ description: string | null;
12233
+ }[];
11525
12234
  };
11526
12235
  };
11527
12236
  outputFormat: "json";
@@ -12442,6 +13151,91 @@ declare const routes: import("hono/hono-base").HonoBase<{
12442
13151
  name: string;
12443
13152
  description: string | null;
12444
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
+ }[];
12445
13239
  }[] | {
12446
13240
  updated_at: string | null;
12447
13241
  deleted_at: string | null;
@@ -13079,7 +13873,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13079
13873
  workspace: string;
13080
13874
  customerId: string;
13081
13875
  relatedCustomerId: string;
13082
- 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";
13083
13877
  };
13084
13878
  };
13085
13879
  output: {
@@ -13094,7 +13888,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13094
13888
  workspace: string;
13095
13889
  customerId: string;
13096
13890
  relatedCustomerId: string;
13097
- 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";
13098
13892
  };
13099
13893
  };
13100
13894
  output: {
@@ -13109,7 +13903,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13109
13903
  workspace: string;
13110
13904
  customerId: string;
13111
13905
  relatedCustomerId: string;
13112
- 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";
13113
13907
  };
13114
13908
  };
13115
13909
  output: {
@@ -22471,7 +23265,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
22471
23265
  period: string;
22472
23266
  clients: number;
22473
23267
  amountKopecks: number;
22474
- status: "paid" | "accruing" | "scheduled";
23268
+ status: "paid" | "scheduled" | "accruing";
22475
23269
  } | null;
22476
23270
  awaitingClients: {
22477
23271
  id: string;
@@ -22584,7 +23378,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
22584
23378
  period: string;
22585
23379
  clients: number;
22586
23380
  amountKopecks: number;
22587
- status: "paid" | "accruing" | "scheduled";
23381
+ status: "paid" | "scheduled" | "accruing";
22588
23382
  }[];
22589
23383
  };
22590
23384
  outputFormat: "json";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.324",
3
+ "version": "0.0.325",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,