@mestra-dev/contract 0.0.325 → 0.0.326

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 +898 -8
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -4568,6 +4568,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
4568
4568
  serviceType: string | null;
4569
4569
  materials: string[] | null;
4570
4570
  sku: string | null;
4571
+ moq: number | null;
4571
4572
  specifications: string | null;
4572
4573
  bom: {
4573
4574
  [x: string]: string;
@@ -4575,7 +4576,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
4575
4576
  volumePrices: {
4576
4577
  [x: string]: string;
4577
4578
  }[] | null;
4578
- moq: number | null;
4579
4579
  leadTimeDays: number | null;
4580
4580
  monthlyCapacity: string | null;
4581
4581
  setupTimeHours: number | null;
@@ -4900,6 +4900,135 @@ declare const routes: import("hono/hono-base").HonoBase<{
4900
4900
  name: string;
4901
4901
  description: string | null;
4902
4902
  }[];
4903
+ }[] | {
4904
+ type: string | null;
4905
+ description: string | null;
4906
+ name: string;
4907
+ active: boolean | null;
4908
+ stock: number | null;
4909
+ currency: string | null;
4910
+ price: number | null;
4911
+ qrCode: string | null;
4912
+ id: string;
4913
+ created_at: string;
4914
+ workspaceId: string;
4915
+ updated_at: string | null;
4916
+ deleted_at: string | null;
4917
+ verified_at: string | null;
4918
+ suspended_at: string | null;
4919
+ created_by: string | null;
4920
+ status: string | null;
4921
+ expiresAt: string | null;
4922
+ address: string | null;
4923
+ city: string | null;
4924
+ district: string | null;
4925
+ latitude: number | null;
4926
+ longitude: number | null;
4927
+ media: string[] | null;
4928
+ publishTags: string[] | null;
4929
+ publishPlatforms: string[] | null;
4930
+ publishedAt: string | null;
4931
+ serviceType: string | null;
4932
+ purchasePrice: number | null;
4933
+ menuCategory: string | null;
4934
+ availableFor: string[] | null;
4935
+ dietary: string[] | null;
4936
+ allergens: string[] | null;
4937
+ specialPrices: string[] | null;
4938
+ specialPricesAmount_package: number | null;
4939
+ specialPricesAmount_happy_hour: number | null;
4940
+ specialPricesAmount_group_discount: number | null;
4941
+ prepTimeMinutes: number | null;
4942
+ portionWeight: number | null;
4943
+ servings: number | null;
4944
+ kitchenCapacity: number | null;
4945
+ techCard: {
4946
+ [x: string]: string;
4947
+ }[] | null;
4948
+ ingredientUnit: string | null;
4949
+ stockQuantity: number | null;
4950
+ minStockQuantity: number | null;
4951
+ title: string;
4952
+ createdBy: {
4953
+ id: string;
4954
+ firstName: string | null;
4955
+ lastName: string | null;
4956
+ profilePicture: string | null;
4957
+ } | null;
4958
+ tags: {
4959
+ id: string;
4960
+ name: string;
4961
+ description: string | null;
4962
+ }[];
4963
+ }[] | {
4964
+ type: string | null;
4965
+ description: string | null;
4966
+ name: string;
4967
+ active: boolean | null;
4968
+ stock: number | null;
4969
+ currency: string | null;
4970
+ price: number | null;
4971
+ qrCode: string | null;
4972
+ id: string;
4973
+ created_at: string;
4974
+ workspaceId: string;
4975
+ updated_at: string | null;
4976
+ deleted_at: string | null;
4977
+ verified_at: string | null;
4978
+ suspended_at: string | null;
4979
+ created_by: string | null;
4980
+ status: string | null;
4981
+ expiresAt: string | null;
4982
+ address: string | null;
4983
+ priceUnit: string | null;
4984
+ city: string | null;
4985
+ district: string | null;
4986
+ latitude: number | null;
4987
+ longitude: number | null;
4988
+ media: string[] | null;
4989
+ publishTags: string[] | null;
4990
+ publishPlatforms: string[] | null;
4991
+ publishedAt: string | null;
4992
+ serviceType: string | null;
4993
+ sku: string | null;
4994
+ barcode: string | null;
4995
+ purchasePrice: number | null;
4996
+ moq: number | null;
4997
+ leadTimeDays: number | null;
4998
+ certificates: {
4999
+ [x: string]: string;
5000
+ }[] | null;
5001
+ minStock: number | null;
5002
+ vatRate: string | null;
5003
+ supplierCustomerId: string | null;
5004
+ warehouses: string[] | null;
5005
+ priceTiers: {
5006
+ [x: string]: string;
5007
+ }[] | null;
5008
+ freightCost: number | null;
5009
+ customsCost: number | null;
5010
+ originCountry: string | null;
5011
+ deliveryCountries: string[] | null;
5012
+ incoterms: string | null;
5013
+ paymentTermsDays: number | null;
5014
+ piecesPerBox: number | null;
5015
+ boxWeight: number | null;
5016
+ boxesPerPallet: number | null;
5017
+ inTransit: number | null;
5018
+ commissionSale: boolean | null;
5019
+ commissionPercent: number | null;
5020
+ title: string;
5021
+ createdBy: {
5022
+ id: string;
5023
+ firstName: string | null;
5024
+ lastName: string | null;
5025
+ profilePicture: string | null;
5026
+ } | null;
5027
+ tags: {
5028
+ id: string;
5029
+ name: string;
5030
+ description: string | null;
5031
+ }[];
4903
5032
  }[];
4904
5033
  };
4905
5034
  outputFormat: "json";
@@ -5809,6 +5938,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
5809
5938
  serviceType: string | null;
5810
5939
  materials: string[] | null;
5811
5940
  sku: string | null;
5941
+ moq: number | null;
5812
5942
  specifications: string | null;
5813
5943
  bom: {
5814
5944
  [x: string]: string;
@@ -5816,7 +5946,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
5816
5946
  volumePrices: {
5817
5947
  [x: string]: string;
5818
5948
  }[] | null;
5819
- moq: number | null;
5820
5949
  leadTimeDays: number | null;
5821
5950
  monthlyCapacity: string | null;
5822
5951
  setupTimeHours: number | null;
@@ -6141,6 +6270,135 @@ declare const routes: import("hono/hono-base").HonoBase<{
6141
6270
  name: string;
6142
6271
  description: string | null;
6143
6272
  }[];
6273
+ }[] | {
6274
+ type: string | null;
6275
+ description: string | null;
6276
+ name: string;
6277
+ active: boolean | null;
6278
+ stock: number | null;
6279
+ currency: string | null;
6280
+ price: number | null;
6281
+ qrCode: string | null;
6282
+ id: string;
6283
+ created_at: string;
6284
+ workspaceId: string;
6285
+ updated_at: string | null;
6286
+ deleted_at: string | null;
6287
+ verified_at: string | null;
6288
+ suspended_at: string | null;
6289
+ created_by: string | null;
6290
+ status: string | null;
6291
+ expiresAt: string | null;
6292
+ address: string | null;
6293
+ city: string | null;
6294
+ district: string | null;
6295
+ latitude: number | null;
6296
+ longitude: number | null;
6297
+ media: string[] | null;
6298
+ publishTags: string[] | null;
6299
+ publishPlatforms: string[] | null;
6300
+ publishedAt: string | null;
6301
+ serviceType: string | null;
6302
+ purchasePrice: number | null;
6303
+ menuCategory: string | null;
6304
+ availableFor: string[] | null;
6305
+ dietary: string[] | null;
6306
+ allergens: string[] | null;
6307
+ specialPrices: string[] | null;
6308
+ specialPricesAmount_package: number | null;
6309
+ specialPricesAmount_happy_hour: number | null;
6310
+ specialPricesAmount_group_discount: number | null;
6311
+ prepTimeMinutes: number | null;
6312
+ portionWeight: number | null;
6313
+ servings: number | null;
6314
+ kitchenCapacity: number | null;
6315
+ techCard: {
6316
+ [x: string]: string;
6317
+ }[] | null;
6318
+ ingredientUnit: string | null;
6319
+ stockQuantity: number | null;
6320
+ minStockQuantity: number | null;
6321
+ title: string;
6322
+ createdBy: {
6323
+ id: string;
6324
+ firstName: string | null;
6325
+ lastName: string | null;
6326
+ profilePicture: string | null;
6327
+ } | null;
6328
+ tags: {
6329
+ id: string;
6330
+ name: string;
6331
+ description: string | null;
6332
+ }[];
6333
+ }[] | {
6334
+ type: string | null;
6335
+ description: string | null;
6336
+ name: string;
6337
+ active: boolean | null;
6338
+ stock: number | null;
6339
+ currency: string | null;
6340
+ price: number | null;
6341
+ qrCode: string | null;
6342
+ id: string;
6343
+ created_at: string;
6344
+ workspaceId: string;
6345
+ updated_at: string | null;
6346
+ deleted_at: string | null;
6347
+ verified_at: string | null;
6348
+ suspended_at: string | null;
6349
+ created_by: string | null;
6350
+ status: string | null;
6351
+ expiresAt: string | null;
6352
+ address: string | null;
6353
+ priceUnit: string | null;
6354
+ city: string | null;
6355
+ district: string | null;
6356
+ latitude: number | null;
6357
+ longitude: number | null;
6358
+ media: string[] | null;
6359
+ publishTags: string[] | null;
6360
+ publishPlatforms: string[] | null;
6361
+ publishedAt: string | null;
6362
+ serviceType: string | null;
6363
+ sku: string | null;
6364
+ barcode: string | null;
6365
+ purchasePrice: number | null;
6366
+ moq: number | null;
6367
+ leadTimeDays: number | null;
6368
+ certificates: {
6369
+ [x: string]: string;
6370
+ }[] | null;
6371
+ minStock: number | null;
6372
+ vatRate: string | null;
6373
+ supplierCustomerId: string | null;
6374
+ warehouses: string[] | null;
6375
+ priceTiers: {
6376
+ [x: string]: string;
6377
+ }[] | null;
6378
+ freightCost: number | null;
6379
+ customsCost: number | null;
6380
+ originCountry: string | null;
6381
+ deliveryCountries: string[] | null;
6382
+ incoterms: string | null;
6383
+ paymentTermsDays: number | null;
6384
+ piecesPerBox: number | null;
6385
+ boxWeight: number | null;
6386
+ boxesPerPallet: number | null;
6387
+ inTransit: number | null;
6388
+ commissionSale: boolean | null;
6389
+ commissionPercent: number | null;
6390
+ title: string;
6391
+ createdBy: {
6392
+ id: string;
6393
+ firstName: string | null;
6394
+ lastName: string | null;
6395
+ profilePicture: string | null;
6396
+ } | null;
6397
+ tags: {
6398
+ id: string;
6399
+ name: string;
6400
+ description: string | null;
6401
+ }[];
6144
6402
  }[] | {
6145
6403
  updated_at: string | null;
6146
6404
  deleted_at: string | null;
@@ -7140,6 +7398,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
7140
7398
  serviceType: string | null;
7141
7399
  materials: string[] | null;
7142
7400
  sku: string | null;
7401
+ moq: number | null;
7143
7402
  specifications: string | null;
7144
7403
  bom: {
7145
7404
  [x: string]: string;
@@ -7147,7 +7406,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
7147
7406
  volumePrices: {
7148
7407
  [x: string]: string;
7149
7408
  }[] | null;
7150
- moq: number | null;
7151
7409
  leadTimeDays: number | null;
7152
7410
  monthlyCapacity: string | null;
7153
7411
  setupTimeHours: number | null;
@@ -7473,6 +7731,54 @@ declare const routes: import("hono/hono-base").HonoBase<{
7473
7731
  description: string | null;
7474
7732
  }[];
7475
7733
  }[] | {
7734
+ type: string | null;
7735
+ description: string | null;
7736
+ name: string;
7737
+ active: boolean | null;
7738
+ stock: number | null;
7739
+ currency: string | null;
7740
+ price: number | null;
7741
+ qrCode: string | null;
7742
+ id: string;
7743
+ created_at: string;
7744
+ workspaceId: string;
7745
+ updated_at: string | null;
7746
+ deleted_at: string | null;
7747
+ verified_at: string | null;
7748
+ suspended_at: string | null;
7749
+ created_by: string | null;
7750
+ status: string | null;
7751
+ expiresAt: string | null;
7752
+ address: string | null;
7753
+ city: string | null;
7754
+ district: string | null;
7755
+ latitude: number | null;
7756
+ longitude: number | null;
7757
+ media: string[] | null;
7758
+ publishTags: string[] | null;
7759
+ publishPlatforms: string[] | null;
7760
+ publishedAt: string | null;
7761
+ serviceType: string | null;
7762
+ purchasePrice: number | null;
7763
+ menuCategory: string | null;
7764
+ availableFor: string[] | null;
7765
+ dietary: string[] | null;
7766
+ allergens: string[] | null;
7767
+ specialPrices: string[] | null;
7768
+ specialPricesAmount_package: number | null;
7769
+ specialPricesAmount_happy_hour: number | null;
7770
+ specialPricesAmount_group_discount: number | null;
7771
+ prepTimeMinutes: number | null;
7772
+ portionWeight: number | null;
7773
+ servings: number | null;
7774
+ kitchenCapacity: number | null;
7775
+ techCard: {
7776
+ [x: string]: string;
7777
+ }[] | null;
7778
+ ingredientUnit: string | null;
7779
+ stockQuantity: number | null;
7780
+ minStockQuantity: number | null;
7781
+ title: string;
7476
7782
  createdBy: {
7477
7783
  id: string;
7478
7784
  firstName: string | null;
@@ -7484,15 +7790,96 @@ declare const routes: import("hono/hono-base").HonoBase<{
7484
7790
  name: string;
7485
7791
  description: string | null;
7486
7792
  }[];
7793
+ }[] | {
7794
+ type: string | null;
7795
+ description: string | null;
7796
+ name: string;
7797
+ active: boolean | null;
7798
+ stock: number | null;
7799
+ currency: string | null;
7800
+ price: number | null;
7801
+ qrCode: string | null;
7802
+ id: string;
7803
+ created_at: string;
7804
+ workspaceId: string;
7487
7805
  updated_at: string | null;
7488
7806
  deleted_at: string | null;
7489
7807
  verified_at: string | null;
7490
7808
  suspended_at: string | null;
7491
- created_at: string;
7492
- id: string;
7493
- workspaceId: string;
7494
7809
  created_by: string | null;
7495
- title: string;
7810
+ status: string | null;
7811
+ expiresAt: string | null;
7812
+ address: string | null;
7813
+ priceUnit: string | null;
7814
+ city: string | null;
7815
+ district: string | null;
7816
+ latitude: number | null;
7817
+ longitude: number | null;
7818
+ media: string[] | null;
7819
+ publishTags: string[] | null;
7820
+ publishPlatforms: string[] | null;
7821
+ publishedAt: string | null;
7822
+ serviceType: string | null;
7823
+ sku: string | null;
7824
+ barcode: string | null;
7825
+ purchasePrice: number | null;
7826
+ moq: number | null;
7827
+ leadTimeDays: number | null;
7828
+ certificates: {
7829
+ [x: string]: string;
7830
+ }[] | null;
7831
+ minStock: number | null;
7832
+ vatRate: string | null;
7833
+ supplierCustomerId: string | null;
7834
+ warehouses: string[] | null;
7835
+ priceTiers: {
7836
+ [x: string]: string;
7837
+ }[] | null;
7838
+ freightCost: number | null;
7839
+ customsCost: number | null;
7840
+ originCountry: string | null;
7841
+ deliveryCountries: string[] | null;
7842
+ incoterms: string | null;
7843
+ paymentTermsDays: number | null;
7844
+ piecesPerBox: number | null;
7845
+ boxWeight: number | null;
7846
+ boxesPerPallet: number | null;
7847
+ inTransit: number | null;
7848
+ commissionSale: boolean | null;
7849
+ commissionPercent: number | null;
7850
+ title: string;
7851
+ createdBy: {
7852
+ id: string;
7853
+ firstName: string | null;
7854
+ lastName: string | null;
7855
+ profilePicture: string | null;
7856
+ } | null;
7857
+ tags: {
7858
+ id: string;
7859
+ name: string;
7860
+ description: string | null;
7861
+ }[];
7862
+ }[] | {
7863
+ createdBy: {
7864
+ id: string;
7865
+ firstName: string | null;
7866
+ lastName: string | null;
7867
+ profilePicture: string | null;
7868
+ } | null;
7869
+ tags: {
7870
+ id: string;
7871
+ name: string;
7872
+ description: string | null;
7873
+ }[];
7874
+ updated_at: string | null;
7875
+ deleted_at: string | null;
7876
+ verified_at: string | null;
7877
+ suspended_at: string | null;
7878
+ created_at: string;
7879
+ id: string;
7880
+ workspaceId: string;
7881
+ created_by: string | null;
7882
+ title: string;
7496
7883
  active: boolean | null;
7497
7884
  type: string | null;
7498
7885
  currency: string | null;
@@ -8511,6 +8898,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
8511
8898
  serviceType: string | null;
8512
8899
  materials: string[] | null;
8513
8900
  sku: string | null;
8901
+ moq: number | null;
8514
8902
  specifications: string | null;
8515
8903
  bom: {
8516
8904
  [x: string]: string;
@@ -8518,7 +8906,6 @@ declare const routes: import("hono/hono-base").HonoBase<{
8518
8906
  volumePrices: {
8519
8907
  [x: string]: string;
8520
8908
  }[] | null;
8521
- moq: number | null;
8522
8909
  leadTimeDays: number | null;
8523
8910
  monthlyCapacity: string | null;
8524
8911
  setupTimeHours: number | null;
@@ -8843,6 +9230,135 @@ declare const routes: import("hono/hono-base").HonoBase<{
8843
9230
  name: string;
8844
9231
  description: string | null;
8845
9232
  }[];
9233
+ } | {
9234
+ type: string | null;
9235
+ description: string | null;
9236
+ name: string;
9237
+ active: boolean | null;
9238
+ stock: number | null;
9239
+ currency: string | null;
9240
+ price: number | null;
9241
+ qrCode: string | null;
9242
+ id: string;
9243
+ created_at: string;
9244
+ workspaceId: string;
9245
+ updated_at: string | null;
9246
+ deleted_at: string | null;
9247
+ verified_at: string | null;
9248
+ suspended_at: string | null;
9249
+ created_by: string | null;
9250
+ status: string | null;
9251
+ expiresAt: string | null;
9252
+ address: string | null;
9253
+ city: string | null;
9254
+ district: string | null;
9255
+ latitude: number | null;
9256
+ longitude: number | null;
9257
+ media: string[] | null;
9258
+ publishTags: string[] | null;
9259
+ publishPlatforms: string[] | null;
9260
+ publishedAt: string | null;
9261
+ serviceType: string | null;
9262
+ purchasePrice: number | null;
9263
+ menuCategory: string | null;
9264
+ availableFor: string[] | null;
9265
+ dietary: string[] | null;
9266
+ allergens: string[] | null;
9267
+ specialPrices: string[] | null;
9268
+ specialPricesAmount_package: number | null;
9269
+ specialPricesAmount_happy_hour: number | null;
9270
+ specialPricesAmount_group_discount: number | null;
9271
+ prepTimeMinutes: number | null;
9272
+ portionWeight: number | null;
9273
+ servings: number | null;
9274
+ kitchenCapacity: number | null;
9275
+ techCard: {
9276
+ [x: string]: string;
9277
+ }[] | null;
9278
+ ingredientUnit: string | null;
9279
+ stockQuantity: number | null;
9280
+ minStockQuantity: number | null;
9281
+ title: string;
9282
+ createdBy: {
9283
+ id: string;
9284
+ firstName: string | null;
9285
+ lastName: string | null;
9286
+ profilePicture: string | null;
9287
+ } | null;
9288
+ tags: {
9289
+ id: string;
9290
+ name: string;
9291
+ description: string | null;
9292
+ }[];
9293
+ } | {
9294
+ type: string | null;
9295
+ description: string | null;
9296
+ name: string;
9297
+ active: boolean | null;
9298
+ stock: number | null;
9299
+ currency: string | null;
9300
+ price: number | null;
9301
+ qrCode: string | null;
9302
+ id: string;
9303
+ created_at: string;
9304
+ workspaceId: string;
9305
+ updated_at: string | null;
9306
+ deleted_at: string | null;
9307
+ verified_at: string | null;
9308
+ suspended_at: string | null;
9309
+ created_by: string | null;
9310
+ status: string | null;
9311
+ expiresAt: string | null;
9312
+ address: string | null;
9313
+ priceUnit: string | null;
9314
+ city: string | null;
9315
+ district: string | null;
9316
+ latitude: number | null;
9317
+ longitude: number | null;
9318
+ media: string[] | null;
9319
+ publishTags: string[] | null;
9320
+ publishPlatforms: string[] | null;
9321
+ publishedAt: string | null;
9322
+ serviceType: string | null;
9323
+ sku: string | null;
9324
+ barcode: string | null;
9325
+ purchasePrice: number | null;
9326
+ moq: number | null;
9327
+ leadTimeDays: number | null;
9328
+ certificates: {
9329
+ [x: string]: string;
9330
+ }[] | null;
9331
+ minStock: number | null;
9332
+ vatRate: string | null;
9333
+ supplierCustomerId: string | null;
9334
+ warehouses: string[] | null;
9335
+ priceTiers: {
9336
+ [x: string]: string;
9337
+ }[] | null;
9338
+ freightCost: number | null;
9339
+ customsCost: number | null;
9340
+ originCountry: string | null;
9341
+ deliveryCountries: string[] | null;
9342
+ incoterms: string | null;
9343
+ paymentTermsDays: number | null;
9344
+ piecesPerBox: number | null;
9345
+ boxWeight: number | null;
9346
+ boxesPerPallet: number | null;
9347
+ inTransit: number | null;
9348
+ commissionSale: boolean | null;
9349
+ commissionPercent: number | null;
9350
+ title: string;
9351
+ createdBy: {
9352
+ id: string;
9353
+ firstName: string | null;
9354
+ lastName: string | null;
9355
+ profilePicture: string | null;
9356
+ } | null;
9357
+ tags: {
9358
+ id: string;
9359
+ name: string;
9360
+ description: string | null;
9361
+ }[];
8846
9362
  } | {
8847
9363
  createdBy: {
8848
9364
  id: string;
@@ -10078,6 +10594,99 @@ declare const routes: import("hono/hono-base").HonoBase<{
10078
10594
  name: string;
10079
10595
  description: string | null;
10080
10596
  }[];
10597
+ }[] | {
10598
+ type: string | null;
10599
+ email: string | null;
10600
+ description: string | null;
10601
+ name: string;
10602
+ active: boolean | null;
10603
+ phone: string | null;
10604
+ website: string | null;
10605
+ birthDate: string | null;
10606
+ companyPhone: string | null;
10607
+ companyAddress: string | null;
10608
+ address: string | null;
10609
+ utmSource: string | null;
10610
+ id: string;
10611
+ created_at: string;
10612
+ workspaceId: string;
10613
+ updated_at: string | null;
10614
+ deleted_at: string | null;
10615
+ verified_at: string | null;
10616
+ suspended_at: string | null;
10617
+ created_by: string | null;
10618
+ companyName: string | null;
10619
+ telegram: string | null;
10620
+ whatsapp: string | null;
10621
+ preferredCurrency: string | null;
10622
+ inn: string | null;
10623
+ kpp: string | null;
10624
+ ogrn: string | null;
10625
+ preferredPayment: string[] | null;
10626
+ allergies: string | null;
10627
+ clientStatus: string | null;
10628
+ favoriteDishes: string | null;
10629
+ dietaryRestrictions: string[] | null;
10630
+ favoriteTable: string | null;
10631
+ tablePreferences: string[] | null;
10632
+ createdBy: {
10633
+ id: string;
10634
+ firstName: string | null;
10635
+ lastName: string | null;
10636
+ profilePicture: string | null;
10637
+ } | null;
10638
+ tags: {
10639
+ id: string;
10640
+ name: string;
10641
+ description: string | null;
10642
+ }[];
10643
+ }[] | {
10644
+ type: string | null;
10645
+ email: string | null;
10646
+ description: string | null;
10647
+ name: string;
10648
+ active: boolean | null;
10649
+ phone: string | null;
10650
+ website: string | null;
10651
+ birthDate: string | null;
10652
+ companyPhone: string | null;
10653
+ companyAddress: string | null;
10654
+ address: string | null;
10655
+ utmSource: string | null;
10656
+ id: string;
10657
+ created_at: string;
10658
+ workspaceId: string;
10659
+ updated_at: string | null;
10660
+ deleted_at: string | null;
10661
+ verified_at: string | null;
10662
+ suspended_at: string | null;
10663
+ created_by: string | null;
10664
+ telegram: string | null;
10665
+ whatsapp: string | null;
10666
+ preferredCurrency: string | null;
10667
+ inn: string | null;
10668
+ kpp: string | null;
10669
+ ogrn: string | null;
10670
+ preferredPayment: string[] | null;
10671
+ industry: string | null;
10672
+ clientStatus: string | null;
10673
+ requisites: string | null;
10674
+ creditLimit: number | null;
10675
+ partnerRating: string | null;
10676
+ priceGroup: string | null;
10677
+ edoOperator: string | null;
10678
+ paymentDelayDays: number | null;
10679
+ createdBy: {
10680
+ id: string;
10681
+ firstName: string | null;
10682
+ lastName: string | null;
10683
+ profilePicture: string | null;
10684
+ } | null;
10685
+ tags: {
10686
+ id: string;
10687
+ name: string;
10688
+ description: string | null;
10689
+ }[];
10081
10690
  }[];
10082
10691
  };
10083
10692
  outputFormat: "json";
@@ -11162,6 +11771,101 @@ declare const routes: import("hono/hono-base").HonoBase<{
11162
11771
  description: string | null;
11163
11772
  }[];
11164
11773
  subscriptionEndDate: string | null;
11774
+ }[] | {
11775
+ type: string | null;
11776
+ email: string | null;
11777
+ description: string | null;
11778
+ name: string;
11779
+ active: boolean | null;
11780
+ phone: string | null;
11781
+ website: string | null;
11782
+ birthDate: string | null;
11783
+ companyPhone: string | null;
11784
+ companyAddress: string | null;
11785
+ address: string | null;
11786
+ utmSource: string | null;
11787
+ id: string;
11788
+ created_at: string;
11789
+ workspaceId: string;
11790
+ updated_at: string | null;
11791
+ deleted_at: string | null;
11792
+ verified_at: string | null;
11793
+ suspended_at: string | null;
11794
+ created_by: string | null;
11795
+ companyName: string | null;
11796
+ telegram: string | null;
11797
+ whatsapp: string | null;
11798
+ preferredCurrency: string | null;
11799
+ inn: string | null;
11800
+ kpp: string | null;
11801
+ ogrn: string | null;
11802
+ preferredPayment: string[] | null;
11803
+ allergies: string | null;
11804
+ clientStatus: string | null;
11805
+ favoriteDishes: string | null;
11806
+ dietaryRestrictions: string[] | null;
11807
+ favoriteTable: string | null;
11808
+ tablePreferences: string[] | null;
11809
+ createdBy: {
11810
+ id: string;
11811
+ firstName: string | null;
11812
+ lastName: string | null;
11813
+ profilePicture: string | null;
11814
+ } | null;
11815
+ tags: {
11816
+ id: string;
11817
+ name: string;
11818
+ description: string | null;
11819
+ }[];
11820
+ subscriptionEndDate: string | null;
11821
+ }[] | {
11822
+ type: string | null;
11823
+ email: string | null;
11824
+ description: string | null;
11825
+ name: string;
11826
+ active: boolean | null;
11827
+ phone: string | null;
11828
+ website: string | null;
11829
+ birthDate: string | null;
11830
+ companyPhone: string | null;
11831
+ companyAddress: string | null;
11832
+ address: string | null;
11833
+ utmSource: string | null;
11834
+ id: string;
11835
+ created_at: string;
11836
+ workspaceId: string;
11837
+ updated_at: string | null;
11838
+ deleted_at: string | null;
11839
+ verified_at: string | null;
11840
+ suspended_at: string | null;
11841
+ created_by: string | null;
11842
+ telegram: string | null;
11843
+ whatsapp: string | null;
11844
+ preferredCurrency: string | null;
11845
+ inn: string | null;
11846
+ kpp: string | null;
11847
+ ogrn: string | null;
11848
+ preferredPayment: string[] | null;
11849
+ industry: string | null;
11850
+ clientStatus: string | null;
11851
+ requisites: string | null;
11852
+ creditLimit: number | null;
11853
+ partnerRating: string | null;
11854
+ priceGroup: string | null;
11855
+ edoOperator: string | null;
11856
+ paymentDelayDays: number | null;
11857
+ createdBy: {
11858
+ id: string;
11859
+ firstName: string | null;
11860
+ lastName: string | null;
11861
+ profilePicture: string | null;
11862
+ } | null;
11863
+ tags: {
11864
+ id: string;
11865
+ name: string;
11866
+ description: string | null;
11867
+ }[];
11868
+ subscriptionEndDate: string | null;
11165
11869
  }[];
11166
11870
  };
11167
11871
  outputFormat: "json";
@@ -12231,6 +12935,99 @@ declare const routes: import("hono/hono-base").HonoBase<{
12231
12935
  name: string;
12232
12936
  description: string | null;
12233
12937
  }[];
12938
+ } | {
12939
+ type: string | null;
12940
+ email: string | null;
12941
+ description: string | null;
12942
+ name: string;
12943
+ active: boolean | null;
12944
+ phone: string | null;
12945
+ website: string | null;
12946
+ birthDate: string | null;
12947
+ companyPhone: string | null;
12948
+ companyAddress: string | null;
12949
+ address: string | null;
12950
+ utmSource: string | null;
12951
+ id: string;
12952
+ created_at: string;
12953
+ workspaceId: string;
12954
+ updated_at: string | null;
12955
+ deleted_at: string | null;
12956
+ verified_at: string | null;
12957
+ suspended_at: string | null;
12958
+ created_by: string | null;
12959
+ companyName: string | null;
12960
+ telegram: string | null;
12961
+ whatsapp: string | null;
12962
+ preferredCurrency: string | null;
12963
+ inn: string | null;
12964
+ kpp: string | null;
12965
+ ogrn: string | null;
12966
+ preferredPayment: string[] | null;
12967
+ allergies: string | null;
12968
+ clientStatus: string | null;
12969
+ favoriteDishes: string | null;
12970
+ dietaryRestrictions: string[] | null;
12971
+ favoriteTable: string | null;
12972
+ tablePreferences: string[] | null;
12973
+ createdBy: {
12974
+ id: string;
12975
+ firstName: string | null;
12976
+ lastName: string | null;
12977
+ profilePicture: string | null;
12978
+ } | null;
12979
+ tags: {
12980
+ id: string;
12981
+ name: string;
12982
+ description: string | null;
12983
+ }[];
12984
+ } | {
12985
+ type: string | null;
12986
+ email: string | null;
12987
+ description: string | null;
12988
+ name: string;
12989
+ active: boolean | null;
12990
+ phone: string | null;
12991
+ website: string | null;
12992
+ birthDate: string | null;
12993
+ companyPhone: string | null;
12994
+ companyAddress: string | null;
12995
+ address: string | null;
12996
+ utmSource: string | null;
12997
+ id: string;
12998
+ created_at: string;
12999
+ workspaceId: string;
13000
+ updated_at: string | null;
13001
+ deleted_at: string | null;
13002
+ verified_at: string | null;
13003
+ suspended_at: string | null;
13004
+ created_by: string | null;
13005
+ telegram: string | null;
13006
+ whatsapp: string | null;
13007
+ preferredCurrency: string | null;
13008
+ inn: string | null;
13009
+ kpp: string | null;
13010
+ ogrn: string | null;
13011
+ preferredPayment: string[] | null;
13012
+ industry: string | null;
13013
+ clientStatus: string | null;
13014
+ requisites: string | null;
13015
+ creditLimit: number | null;
13016
+ partnerRating: string | null;
13017
+ priceGroup: string | null;
13018
+ edoOperator: string | null;
13019
+ paymentDelayDays: number | null;
13020
+ createdBy: {
13021
+ id: string;
13022
+ firstName: string | null;
13023
+ lastName: string | null;
13024
+ profilePicture: string | null;
13025
+ } | null;
13026
+ tags: {
13027
+ id: string;
13028
+ name: string;
13029
+ description: string | null;
13030
+ }[];
12234
13031
  };
12235
13032
  };
12236
13033
  outputFormat: "json";
@@ -13236,6 +14033,99 @@ declare const routes: import("hono/hono-base").HonoBase<{
13236
14033
  name: string;
13237
14034
  description: string | null;
13238
14035
  }[];
14036
+ }[] | {
14037
+ type: string | null;
14038
+ email: string | null;
14039
+ description: string | null;
14040
+ name: string;
14041
+ active: boolean | null;
14042
+ phone: string | null;
14043
+ website: string | null;
14044
+ birthDate: string | null;
14045
+ companyPhone: string | null;
14046
+ companyAddress: string | null;
14047
+ address: string | null;
14048
+ utmSource: string | null;
14049
+ id: string;
14050
+ created_at: string;
14051
+ workspaceId: string;
14052
+ updated_at: string | null;
14053
+ deleted_at: string | null;
14054
+ verified_at: string | null;
14055
+ suspended_at: string | null;
14056
+ created_by: string | null;
14057
+ companyName: string | null;
14058
+ telegram: string | null;
14059
+ whatsapp: string | null;
14060
+ preferredCurrency: string | null;
14061
+ inn: string | null;
14062
+ kpp: string | null;
14063
+ ogrn: string | null;
14064
+ preferredPayment: string[] | null;
14065
+ allergies: string | null;
14066
+ clientStatus: string | null;
14067
+ favoriteDishes: string | null;
14068
+ dietaryRestrictions: string[] | null;
14069
+ favoriteTable: string | null;
14070
+ tablePreferences: string[] | null;
14071
+ createdBy: {
14072
+ id: string;
14073
+ firstName: string | null;
14074
+ lastName: string | null;
14075
+ profilePicture: string | null;
14076
+ } | null;
14077
+ tags: {
14078
+ id: string;
14079
+ name: string;
14080
+ description: string | null;
14081
+ }[];
14082
+ }[] | {
14083
+ type: string | null;
14084
+ email: string | null;
14085
+ description: string | null;
14086
+ name: string;
14087
+ active: boolean | null;
14088
+ phone: string | null;
14089
+ website: string | null;
14090
+ birthDate: string | null;
14091
+ companyPhone: string | null;
14092
+ companyAddress: string | null;
14093
+ address: string | null;
14094
+ utmSource: string | null;
14095
+ id: string;
14096
+ created_at: string;
14097
+ workspaceId: string;
14098
+ updated_at: string | null;
14099
+ deleted_at: string | null;
14100
+ verified_at: string | null;
14101
+ suspended_at: string | null;
14102
+ created_by: string | null;
14103
+ telegram: string | null;
14104
+ whatsapp: string | null;
14105
+ preferredCurrency: string | null;
14106
+ inn: string | null;
14107
+ kpp: string | null;
14108
+ ogrn: string | null;
14109
+ preferredPayment: string[] | null;
14110
+ industry: string | null;
14111
+ clientStatus: string | null;
14112
+ requisites: string | null;
14113
+ creditLimit: number | null;
14114
+ partnerRating: string | null;
14115
+ priceGroup: string | null;
14116
+ edoOperator: string | null;
14117
+ paymentDelayDays: number | null;
14118
+ createdBy: {
14119
+ id: string;
14120
+ firstName: string | null;
14121
+ lastName: string | null;
14122
+ profilePicture: string | null;
14123
+ } | null;
14124
+ tags: {
14125
+ id: string;
14126
+ name: string;
14127
+ description: string | null;
14128
+ }[];
13239
14129
  }[] | {
13240
14130
  updated_at: string | null;
13241
14131
  deleted_at: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.325",
3
+ "version": "0.0.326",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,