@mestra-dev/contract 0.0.323 → 0.0.324

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 +797 -23
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4636,8 +4636,8 @@ 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
+ makeModel: string | null;
4641
4641
  bodyType: string | null;
4642
4642
  engine: string | null;
4643
4643
  fuelType: string | null;
@@ -4676,6 +4676,117 @@ 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
+ weight: string | null;
4711
+ dimensions: string | null;
4712
+ purchasePrice: number | 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
+ }[];
4679
4790
  }[];
4680
4791
  };
4681
4792
  outputFormat: "json";
@@ -5653,8 +5764,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
5653
5764
  warranty: string | null;
5654
5765
  vin: string | null;
5655
5766
  mileage: number | null;
5656
- makeModel: string | null;
5657
5767
  color: string | null;
5768
+ makeModel: string | null;
5658
5769
  bodyType: string | null;
5659
5770
  engine: string | null;
5660
5771
  fuelType: string | null;
@@ -5693,6 +5804,117 @@ declare const routes: import("hono/hono-base").HonoBase<{
5693
5804
  name: string;
5694
5805
  description: string | null;
5695
5806
  }[];
5807
+ }[] | {
5808
+ type: string | null;
5809
+ description: string | null;
5810
+ name: string;
5811
+ active: boolean | null;
5812
+ stock: number | null;
5813
+ currency: string | null;
5814
+ price: number | null;
5815
+ qrCode: string | null;
5816
+ id: string;
5817
+ created_at: string;
5818
+ workspaceId: string;
5819
+ updated_at: string | null;
5820
+ deleted_at: string | null;
5821
+ verified_at: string | null;
5822
+ suspended_at: string | null;
5823
+ created_by: string | null;
5824
+ status: string | null;
5825
+ expiresAt: string | null;
5826
+ address: string | null;
5827
+ city: string | null;
5828
+ district: string | null;
5829
+ latitude: number | null;
5830
+ longitude: number | null;
5831
+ media: string[] | null;
5832
+ publishTags: string[] | null;
5833
+ publishPlatforms: string[] | null;
5834
+ publishedAt: string | null;
5835
+ serviceType: string | null;
5836
+ sku: string | null;
5837
+ barcode: string | null;
5838
+ weight: string | null;
5839
+ dimensions: string | null;
5840
+ purchasePrice: number | null;
5841
+ minStock: number | null;
5842
+ sizes: string[] | null;
5843
+ brand: string | null;
5844
+ colors: string[] | null;
5845
+ variants: {
5846
+ [x: string]: string;
5847
+ }[] | null;
5848
+ deliveryCost: number | null;
5849
+ vatRate: string | null;
5850
+ specs: string | null;
5851
+ hsCode: string | null;
5852
+ warrantyMonths: number | null;
5853
+ honestSign: boolean | null;
5854
+ supplierCustomerId: string | null;
5855
+ warehouses: string[] | null;
5856
+ title: string;
5857
+ createdBy: {
5858
+ id: string;
5859
+ firstName: string | null;
5860
+ lastName: string | null;
5861
+ profilePicture: string | null;
5862
+ } | null;
5863
+ tags: {
5864
+ id: string;
5865
+ name: string;
5866
+ description: string | null;
5867
+ }[];
5868
+ }[] | {
5869
+ type: string | null;
5870
+ description: string | null;
5871
+ name: string;
5872
+ active: boolean | null;
5873
+ stock: number | null;
5874
+ currency: string | null;
5875
+ price: number | null;
5876
+ qrCode: string | null;
5877
+ id: string;
5878
+ created_at: string;
5879
+ workspaceId: string;
5880
+ updated_at: string | null;
5881
+ deleted_at: string | null;
5882
+ verified_at: string | null;
5883
+ suspended_at: string | null;
5884
+ created_by: string | null;
5885
+ status: string | null;
5886
+ expiresAt: string | null;
5887
+ media: string[] | null;
5888
+ publishTags: string[] | null;
5889
+ publishedAt: string | null;
5890
+ serviceType: string | null;
5891
+ territory: string | null;
5892
+ royaltyPercent: number | null;
5893
+ adFundPercent: number | null;
5894
+ exclusiveTerritory: boolean | null;
5895
+ branchesCount: number | null;
5896
+ contractYears: number | null;
5897
+ lumpSumFee: number | null;
5898
+ initialInvestment: number | null;
5899
+ monthlySupportFee: number | null;
5900
+ paybackMonths: number | null;
5901
+ operatingStandards: string[] | null;
5902
+ expectedKpis: {
5903
+ [x: string]: string;
5904
+ }[] | null;
5905
+ supportIncluded: string[] | null;
5906
+ title: string;
5907
+ createdBy: {
5908
+ id: string;
5909
+ firstName: string | null;
5910
+ lastName: string | null;
5911
+ profilePicture: string | null;
5912
+ } | null;
5913
+ tags: {
5914
+ id: string;
5915
+ name: string;
5916
+ description: string | null;
5917
+ }[];
5696
5918
  }[] | {
5697
5919
  updated_at: string | null;
5698
5920
  deleted_at: string | null;
@@ -6760,8 +6982,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
6760
6982
  warranty: string | null;
6761
6983
  vin: string | null;
6762
6984
  mileage: number | null;
6763
- makeModel: string | null;
6764
6985
  color: string | null;
6986
+ makeModel: string | null;
6765
6987
  bodyType: string | null;
6766
6988
  engine: string | null;
6767
6989
  fuelType: string | null;
@@ -6800,6 +7022,117 @@ declare const routes: import("hono/hono-base").HonoBase<{
6800
7022
  name: string;
6801
7023
  description: string | null;
6802
7024
  }[];
7025
+ }[] | {
7026
+ type: string | null;
7027
+ description: string | null;
7028
+ name: string;
7029
+ active: boolean | null;
7030
+ stock: number | null;
7031
+ currency: string | null;
7032
+ price: number | null;
7033
+ qrCode: string | null;
7034
+ id: string;
7035
+ created_at: string;
7036
+ workspaceId: string;
7037
+ updated_at: string | null;
7038
+ deleted_at: string | null;
7039
+ verified_at: string | null;
7040
+ suspended_at: string | null;
7041
+ created_by: string | null;
7042
+ status: string | null;
7043
+ expiresAt: string | null;
7044
+ address: string | null;
7045
+ city: string | null;
7046
+ district: string | null;
7047
+ latitude: number | null;
7048
+ longitude: number | null;
7049
+ media: string[] | null;
7050
+ publishTags: string[] | null;
7051
+ publishPlatforms: string[] | null;
7052
+ publishedAt: string | null;
7053
+ serviceType: string | null;
7054
+ sku: string | null;
7055
+ barcode: string | null;
7056
+ weight: string | null;
7057
+ dimensions: string | null;
7058
+ purchasePrice: number | null;
7059
+ minStock: number | null;
7060
+ sizes: string[] | null;
7061
+ brand: string | null;
7062
+ colors: string[] | null;
7063
+ variants: {
7064
+ [x: string]: string;
7065
+ }[] | null;
7066
+ deliveryCost: number | null;
7067
+ vatRate: string | null;
7068
+ specs: string | null;
7069
+ hsCode: string | null;
7070
+ warrantyMonths: number | null;
7071
+ honestSign: boolean | null;
7072
+ supplierCustomerId: string | null;
7073
+ warehouses: string[] | null;
7074
+ title: string;
7075
+ createdBy: {
7076
+ id: string;
7077
+ firstName: string | null;
7078
+ lastName: string | null;
7079
+ profilePicture: string | null;
7080
+ } | null;
7081
+ tags: {
7082
+ id: string;
7083
+ name: string;
7084
+ description: string | null;
7085
+ }[];
7086
+ }[] | {
7087
+ type: string | null;
7088
+ description: string | null;
7089
+ name: string;
7090
+ active: boolean | null;
7091
+ stock: number | null;
7092
+ currency: string | null;
7093
+ price: number | null;
7094
+ qrCode: string | null;
7095
+ id: string;
7096
+ created_at: string;
7097
+ workspaceId: string;
7098
+ updated_at: string | null;
7099
+ deleted_at: string | null;
7100
+ verified_at: string | null;
7101
+ suspended_at: string | null;
7102
+ created_by: string | null;
7103
+ status: string | null;
7104
+ expiresAt: string | null;
7105
+ media: string[] | null;
7106
+ publishTags: string[] | null;
7107
+ publishedAt: string | null;
7108
+ serviceType: string | null;
7109
+ territory: string | null;
7110
+ royaltyPercent: number | null;
7111
+ adFundPercent: number | null;
7112
+ exclusiveTerritory: boolean | null;
7113
+ branchesCount: number | null;
7114
+ contractYears: number | null;
7115
+ lumpSumFee: number | null;
7116
+ initialInvestment: number | null;
7117
+ monthlySupportFee: number | null;
7118
+ paybackMonths: number | null;
7119
+ operatingStandards: string[] | null;
7120
+ expectedKpis: {
7121
+ [x: string]: string;
7122
+ }[] | null;
7123
+ supportIncluded: string[] | null;
7124
+ title: string;
7125
+ createdBy: {
7126
+ id: string;
7127
+ firstName: string | null;
7128
+ lastName: string | null;
7129
+ profilePicture: string | null;
7130
+ } | null;
7131
+ tags: {
7132
+ id: string;
7133
+ name: string;
7134
+ description: string | null;
7135
+ }[];
6803
7136
  }[] | {
6804
7137
  createdBy: {
6805
7138
  id: string;
@@ -7907,8 +8240,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
7907
8240
  warranty: string | null;
7908
8241
  vin: string | null;
7909
8242
  mileage: number | null;
7910
- makeModel: string | null;
7911
8243
  color: string | null;
8244
+ makeModel: string | null;
7912
8245
  bodyType: string | null;
7913
8246
  engine: string | null;
7914
8247
  fuelType: string | null;
@@ -7947,6 +8280,117 @@ declare const routes: import("hono/hono-base").HonoBase<{
7947
8280
  name: string;
7948
8281
  description: string | null;
7949
8282
  }[];
8283
+ } | {
8284
+ type: string | null;
8285
+ description: string | null;
8286
+ name: string;
8287
+ active: boolean | null;
8288
+ stock: number | null;
8289
+ currency: string | null;
8290
+ price: number | null;
8291
+ qrCode: string | null;
8292
+ id: string;
8293
+ created_at: string;
8294
+ workspaceId: string;
8295
+ updated_at: string | null;
8296
+ deleted_at: string | null;
8297
+ verified_at: string | null;
8298
+ suspended_at: string | null;
8299
+ created_by: string | null;
8300
+ status: string | null;
8301
+ expiresAt: string | null;
8302
+ address: string | null;
8303
+ city: string | null;
8304
+ district: string | null;
8305
+ latitude: number | null;
8306
+ longitude: number | null;
8307
+ media: string[] | null;
8308
+ publishTags: string[] | null;
8309
+ publishPlatforms: string[] | null;
8310
+ publishedAt: string | null;
8311
+ serviceType: string | null;
8312
+ sku: string | null;
8313
+ barcode: string | null;
8314
+ weight: string | null;
8315
+ dimensions: string | null;
8316
+ purchasePrice: number | null;
8317
+ minStock: number | null;
8318
+ sizes: string[] | null;
8319
+ brand: string | null;
8320
+ colors: string[] | null;
8321
+ variants: {
8322
+ [x: string]: string;
8323
+ }[] | null;
8324
+ deliveryCost: number | null;
8325
+ vatRate: string | null;
8326
+ specs: string | null;
8327
+ hsCode: string | null;
8328
+ warrantyMonths: number | null;
8329
+ honestSign: boolean | null;
8330
+ supplierCustomerId: string | null;
8331
+ warehouses: string[] | null;
8332
+ title: string;
8333
+ createdBy: {
8334
+ id: string;
8335
+ firstName: string | null;
8336
+ lastName: string | null;
8337
+ profilePicture: string | null;
8338
+ } | null;
8339
+ tags: {
8340
+ id: string;
8341
+ name: string;
8342
+ description: string | null;
8343
+ }[];
8344
+ } | {
8345
+ type: string | null;
8346
+ description: string | null;
8347
+ name: string;
8348
+ active: boolean | null;
8349
+ stock: number | null;
8350
+ currency: string | null;
8351
+ price: number | null;
8352
+ qrCode: string | null;
8353
+ id: string;
8354
+ created_at: string;
8355
+ workspaceId: string;
8356
+ updated_at: string | null;
8357
+ deleted_at: string | null;
8358
+ verified_at: string | null;
8359
+ suspended_at: string | null;
8360
+ created_by: string | null;
8361
+ status: string | null;
8362
+ expiresAt: string | null;
8363
+ media: string[] | null;
8364
+ publishTags: string[] | null;
8365
+ publishedAt: string | null;
8366
+ serviceType: string | null;
8367
+ territory: string | null;
8368
+ royaltyPercent: number | null;
8369
+ adFundPercent: number | null;
8370
+ exclusiveTerritory: boolean | null;
8371
+ branchesCount: number | null;
8372
+ contractYears: number | null;
8373
+ lumpSumFee: number | null;
8374
+ initialInvestment: number | null;
8375
+ monthlySupportFee: number | null;
8376
+ paybackMonths: number | null;
8377
+ operatingStandards: string[] | null;
8378
+ expectedKpis: {
8379
+ [x: string]: string;
8380
+ }[] | null;
8381
+ supportIncluded: string[] | null;
8382
+ title: string;
8383
+ createdBy: {
8384
+ id: string;
8385
+ firstName: string | null;
8386
+ lastName: string | null;
8387
+ profilePicture: string | null;
8388
+ } | null;
8389
+ tags: {
8390
+ id: string;
8391
+ name: string;
8392
+ description: string | null;
8393
+ }[];
7950
8394
  } | {
7951
8395
  createdBy: {
7952
8396
  id: string;
@@ -8953,13 +9397,97 @@ declare const routes: import("hono/hono-base").HonoBase<{
8953
9397
  telegram: string | null;
8954
9398
  whatsapp: string | null;
8955
9399
  preferredCurrency: string | null;
8956
- preferredPayments: string[] | null;
9400
+ preferredPayments: string[] | null;
9401
+ inn: string | null;
9402
+ industry: string | null;
9403
+ clientStatus: string | null;
9404
+ requisites: string | null;
9405
+ paymentDeferralDays: number | null;
9406
+ creditLimit: number | null;
9407
+ createdBy: {
9408
+ id: string;
9409
+ firstName: string | null;
9410
+ lastName: string | null;
9411
+ profilePicture: string | null;
9412
+ } | null;
9413
+ tags: {
9414
+ id: string;
9415
+ name: string;
9416
+ description: string | null;
9417
+ }[];
9418
+ }[] | {
9419
+ type: string | null;
9420
+ email: string | null;
9421
+ description: string | null;
9422
+ name: string;
9423
+ active: boolean | null;
9424
+ phone: string | null;
9425
+ website: string | null;
9426
+ birthDate: string | null;
9427
+ companyPhone: string | null;
9428
+ companyAddress: string | null;
9429
+ address: string | null;
9430
+ utmSource: string | null;
9431
+ id: string;
9432
+ created_at: string;
9433
+ workspaceId: string;
9434
+ updated_at: string | null;
9435
+ deleted_at: string | null;
9436
+ verified_at: string | null;
9437
+ suspended_at: string | null;
9438
+ created_by: string | null;
9439
+ telegram: string | null;
9440
+ whatsapp: string | null;
9441
+ preferredCurrency: string | null;
9442
+ inn: string | null;
9443
+ preferredPayment: string[] | null;
9444
+ clientStatus: string | null;
9445
+ partnerKind: string | null;
9446
+ driverLicenceNumber: string | null;
9447
+ driverLicenceUntil: string | null;
9448
+ cars: {
9449
+ [x: string]: string;
9450
+ }[] | null;
9451
+ createdBy: {
9452
+ id: string;
9453
+ firstName: string | null;
9454
+ lastName: string | null;
9455
+ profilePicture: string | null;
9456
+ } | null;
9457
+ tags: {
9458
+ id: string;
9459
+ name: string;
9460
+ description: string | null;
9461
+ }[];
9462
+ }[] | {
9463
+ type: string | null;
9464
+ email: string | null;
9465
+ description: string | null;
9466
+ name: string;
9467
+ active: boolean | null;
9468
+ phone: string | null;
9469
+ website: string | null;
9470
+ birthDate: string | null;
9471
+ companyPhone: string | null;
9472
+ companyAddress: string | null;
9473
+ address: string | null;
9474
+ utmSource: string | null;
9475
+ id: string;
9476
+ created_at: string;
9477
+ workspaceId: string;
9478
+ updated_at: string | null;
9479
+ deleted_at: string | null;
9480
+ verified_at: string | null;
9481
+ suspended_at: string | null;
9482
+ created_by: string | null;
9483
+ telegram: string | null;
9484
+ whatsapp: string | null;
9485
+ preferredCurrency: string | null;
8957
9486
  inn: string | null;
8958
- industry: string | null;
9487
+ preferredPayment: string[] | null;
8959
9488
  clientStatus: string | null;
8960
- requisites: string | null;
8961
- paymentDeferralDays: number | null;
8962
- creditLimit: number | null;
9489
+ purchaseChannels: string[] | null;
9490
+ sizes: string | null;
8963
9491
  createdBy: {
8964
9492
  id: string;
8965
9493
  firstName: string | null;
@@ -8996,14 +9524,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
8996
9524
  whatsapp: string | null;
8997
9525
  preferredCurrency: string | null;
8998
9526
  inn: string | null;
8999
- preferredPayment: string[] | null;
9000
9527
  clientStatus: string | null;
9001
- partnerKind: string | null;
9002
- driverLicenceNumber: string | null;
9003
- driverLicenceUntil: string | null;
9004
- cars: {
9005
- [x: string]: string;
9006
- }[] | null;
9528
+ territory: string | null;
9529
+ contractFrom: string | null;
9530
+ contractTo: string | null;
9531
+ royaltyPercent: number | null;
9532
+ adFundPercent: number | null;
9007
9533
  createdBy: {
9008
9534
  id: string;
9009
9535
  firstName: string | null;
@@ -9928,6 +10454,90 @@ declare const routes: import("hono/hono-base").HonoBase<{
9928
10454
  description: string | null;
9929
10455
  }[];
9930
10456
  subscriptionEndDate: string | null;
10457
+ }[] | {
10458
+ type: string | null;
10459
+ email: string | null;
10460
+ description: string | null;
10461
+ name: string;
10462
+ active: boolean | null;
10463
+ phone: string | null;
10464
+ website: string | null;
10465
+ birthDate: string | null;
10466
+ companyPhone: string | null;
10467
+ companyAddress: string | null;
10468
+ address: string | null;
10469
+ utmSource: string | null;
10470
+ id: string;
10471
+ created_at: string;
10472
+ workspaceId: string;
10473
+ updated_at: string | null;
10474
+ deleted_at: string | null;
10475
+ verified_at: string | null;
10476
+ suspended_at: string | null;
10477
+ created_by: string | null;
10478
+ telegram: string | null;
10479
+ whatsapp: string | null;
10480
+ preferredCurrency: string | null;
10481
+ inn: string | null;
10482
+ preferredPayment: string[] | null;
10483
+ clientStatus: string | null;
10484
+ purchaseChannels: string[] | null;
10485
+ sizes: string | null;
10486
+ createdBy: {
10487
+ id: string;
10488
+ firstName: string | null;
10489
+ lastName: string | null;
10490
+ profilePicture: string | null;
10491
+ } | null;
10492
+ tags: {
10493
+ id: string;
10494
+ name: string;
10495
+ description: string | null;
10496
+ }[];
10497
+ subscriptionEndDate: string | null;
10498
+ }[] | {
10499
+ type: string | null;
10500
+ email: string | null;
10501
+ description: string | null;
10502
+ name: string;
10503
+ active: boolean | null;
10504
+ phone: string | null;
10505
+ website: string | null;
10506
+ birthDate: string | null;
10507
+ companyPhone: string | null;
10508
+ companyAddress: string | null;
10509
+ address: string | null;
10510
+ utmSource: string | null;
10511
+ id: string;
10512
+ created_at: string;
10513
+ workspaceId: string;
10514
+ updated_at: string | null;
10515
+ deleted_at: string | null;
10516
+ verified_at: string | null;
10517
+ suspended_at: string | null;
10518
+ created_by: string | null;
10519
+ telegram: string | null;
10520
+ whatsapp: string | null;
10521
+ preferredCurrency: string | null;
10522
+ inn: string | null;
10523
+ clientStatus: string | null;
10524
+ territory: string | null;
10525
+ contractFrom: string | null;
10526
+ contractTo: string | null;
10527
+ royaltyPercent: number | null;
10528
+ adFundPercent: number | null;
10529
+ createdBy: {
10530
+ id: string;
10531
+ firstName: string | null;
10532
+ lastName: string | null;
10533
+ profilePicture: string | null;
10534
+ } | null;
10535
+ tags: {
10536
+ id: string;
10537
+ name: string;
10538
+ description: string | null;
10539
+ }[];
10540
+ subscriptionEndDate: string | null;
9931
10541
  }[];
9932
10542
  };
9933
10543
  outputFormat: "json";
@@ -10830,6 +11440,88 @@ declare const routes: import("hono/hono-base").HonoBase<{
10830
11440
  name: string;
10831
11441
  description: string | null;
10832
11442
  }[];
11443
+ } | {
11444
+ type: string | null;
11445
+ email: string | null;
11446
+ description: string | null;
11447
+ name: string;
11448
+ active: boolean | null;
11449
+ phone: string | null;
11450
+ website: string | null;
11451
+ birthDate: string | null;
11452
+ companyPhone: string | null;
11453
+ companyAddress: string | null;
11454
+ address: string | null;
11455
+ utmSource: string | null;
11456
+ id: string;
11457
+ created_at: string;
11458
+ workspaceId: string;
11459
+ updated_at: string | null;
11460
+ deleted_at: string | null;
11461
+ verified_at: string | null;
11462
+ suspended_at: string | null;
11463
+ created_by: string | null;
11464
+ telegram: string | null;
11465
+ whatsapp: string | null;
11466
+ preferredCurrency: string | null;
11467
+ inn: string | null;
11468
+ preferredPayment: string[] | null;
11469
+ clientStatus: string | null;
11470
+ purchaseChannels: string[] | null;
11471
+ sizes: string | null;
11472
+ createdBy: {
11473
+ id: string;
11474
+ firstName: string | null;
11475
+ lastName: string | null;
11476
+ profilePicture: string | null;
11477
+ } | null;
11478
+ tags: {
11479
+ id: string;
11480
+ name: string;
11481
+ description: string | null;
11482
+ }[];
11483
+ } | {
11484
+ type: string | null;
11485
+ email: string | null;
11486
+ description: string | null;
11487
+ name: string;
11488
+ active: boolean | null;
11489
+ phone: string | null;
11490
+ website: string | null;
11491
+ birthDate: string | null;
11492
+ companyPhone: string | null;
11493
+ companyAddress: string | null;
11494
+ address: string | null;
11495
+ utmSource: string | null;
11496
+ id: string;
11497
+ created_at: string;
11498
+ workspaceId: string;
11499
+ updated_at: string | null;
11500
+ deleted_at: string | null;
11501
+ verified_at: string | null;
11502
+ suspended_at: string | null;
11503
+ created_by: string | null;
11504
+ telegram: string | null;
11505
+ whatsapp: string | null;
11506
+ preferredCurrency: string | null;
11507
+ inn: string | null;
11508
+ clientStatus: string | null;
11509
+ territory: string | null;
11510
+ contractFrom: string | null;
11511
+ contractTo: string | null;
11512
+ royaltyPercent: number | null;
11513
+ adFundPercent: number | null;
11514
+ createdBy: {
11515
+ id: string;
11516
+ firstName: string | null;
11517
+ lastName: string | null;
11518
+ profilePicture: string | null;
11519
+ } | null;
11520
+ tags: {
11521
+ id: string;
11522
+ name: string;
11523
+ description: string | null;
11524
+ }[];
10833
11525
  };
10834
11526
  };
10835
11527
  outputFormat: "json";
@@ -11668,6 +12360,88 @@ declare const routes: import("hono/hono-base").HonoBase<{
11668
12360
  name: string;
11669
12361
  description: string | null;
11670
12362
  }[];
12363
+ }[] | {
12364
+ type: string | null;
12365
+ email: string | null;
12366
+ description: string | null;
12367
+ name: string;
12368
+ active: boolean | null;
12369
+ phone: string | null;
12370
+ website: string | null;
12371
+ birthDate: string | null;
12372
+ companyPhone: string | null;
12373
+ companyAddress: string | null;
12374
+ address: string | null;
12375
+ utmSource: string | null;
12376
+ id: string;
12377
+ created_at: string;
12378
+ workspaceId: string;
12379
+ updated_at: string | null;
12380
+ deleted_at: string | null;
12381
+ verified_at: string | null;
12382
+ suspended_at: string | null;
12383
+ created_by: string | null;
12384
+ telegram: string | null;
12385
+ whatsapp: string | null;
12386
+ preferredCurrency: string | null;
12387
+ inn: string | null;
12388
+ preferredPayment: string[] | null;
12389
+ clientStatus: string | null;
12390
+ purchaseChannels: string[] | null;
12391
+ sizes: string | null;
12392
+ createdBy: {
12393
+ id: string;
12394
+ firstName: string | null;
12395
+ lastName: string | null;
12396
+ profilePicture: string | null;
12397
+ } | null;
12398
+ tags: {
12399
+ id: string;
12400
+ name: string;
12401
+ description: string | null;
12402
+ }[];
12403
+ }[] | {
12404
+ type: string | null;
12405
+ email: string | null;
12406
+ description: string | null;
12407
+ name: string;
12408
+ active: boolean | null;
12409
+ phone: string | null;
12410
+ website: string | null;
12411
+ birthDate: string | null;
12412
+ companyPhone: string | null;
12413
+ companyAddress: string | null;
12414
+ address: string | null;
12415
+ utmSource: string | null;
12416
+ id: string;
12417
+ created_at: string;
12418
+ workspaceId: string;
12419
+ updated_at: string | null;
12420
+ deleted_at: string | null;
12421
+ verified_at: string | null;
12422
+ suspended_at: string | null;
12423
+ created_by: string | null;
12424
+ telegram: string | null;
12425
+ whatsapp: string | null;
12426
+ preferredCurrency: string | null;
12427
+ inn: string | null;
12428
+ clientStatus: string | null;
12429
+ territory: string | null;
12430
+ contractFrom: string | null;
12431
+ contractTo: string | null;
12432
+ royaltyPercent: number | null;
12433
+ adFundPercent: number | null;
12434
+ createdBy: {
12435
+ id: string;
12436
+ firstName: string | null;
12437
+ lastName: string | null;
12438
+ profilePicture: string | null;
12439
+ } | null;
12440
+ tags: {
12441
+ id: string;
12442
+ name: string;
12443
+ description: string | null;
12444
+ }[];
11671
12445
  }[] | {
11672
12446
  updated_at: string | null;
11673
12447
  deleted_at: string | null;
@@ -12651,8 +13425,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
12651
13425
  subscription: boolean | null;
12652
13426
  id: string;
12653
13427
  amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
12654
- unitPrice: number;
12655
13428
  vatRate: number | null;
13429
+ unitPrice: number;
12656
13430
  branchId: string | null;
12657
13431
  responsibleId: string | null;
12658
13432
  internalNote: string | null;
@@ -12869,8 +13643,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
12869
13643
  subscription: boolean | null;
12870
13644
  id: string;
12871
13645
  amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
12872
- unitPrice: number;
12873
13646
  vatRate: number | null;
13647
+ unitPrice: number;
12874
13648
  branchId: string | null;
12875
13649
  responsibleId: string | null;
12876
13650
  internalNote: string | null;
@@ -13266,8 +14040,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
13266
14040
  subscription: boolean | null;
13267
14041
  id: string;
13268
14042
  amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
13269
- unitPrice: number;
13270
14043
  vatRate: number | null;
14044
+ unitPrice: number;
13271
14045
  branchId: string | null;
13272
14046
  responsibleId: string | null;
13273
14047
  internalNote: string | null;
@@ -13819,8 +14593,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
13819
14593
  subscription: boolean | null;
13820
14594
  id: string;
13821
14595
  amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
13822
- unitPrice: number;
13823
14596
  vatRate: number | null;
14597
+ unitPrice: number;
13824
14598
  branchId: string | null;
13825
14599
  responsibleId: string | null;
13826
14600
  internalNote: string | null;
@@ -13991,8 +14765,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
13991
14765
  subscription: boolean | null;
13992
14766
  id: string;
13993
14767
  amountType: "transit" | "revenue" | "commission" | "advance" | "conditional";
13994
- unitPrice: number;
13995
14768
  vatRate: number | null;
14769
+ unitPrice: number;
13996
14770
  branchId: string | null;
13997
14771
  responsibleId: string | null;
13998
14772
  internalNote: string | null;
@@ -21515,8 +22289,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
21515
22289
  item: {
21516
22290
  variant: string | null;
21517
22291
  quantity: number;
21518
- id: string;
21519
22292
  sku: string;
22293
+ id: string;
21520
22294
  minStock: number;
21521
22295
  warehouseId: string;
21522
22296
  productName: string;
@@ -21568,8 +22342,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
21568
22342
  reason: string;
21569
22343
  comment: string | null;
21570
22344
  quantity: number;
21571
- id: string;
21572
22345
  sku: string;
22346
+ id: string;
21573
22347
  productName: string;
21574
22348
  fromWarehouseId: string;
21575
22349
  toWarehouseId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.323",
3
+ "version": "0.0.324",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,