@mestra-dev/contract 0.0.321 → 0.0.323

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 +1138 -80
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import type { ApplyGlobalResponse } from 'hono/client';
2
2
  import type { JwtVariables } from 'hono/jwt';
3
3
 
4
+ type SessionRefusal = "PACKAGE_NOT_ACTIVE" | "PACKAGE_ENDED" | "NO_SESSIONS_LEFT";
4
5
  type FinanceAmountType = "revenue" | "commission" | "transit" | "advance" | "conditional";
5
6
  type FinanceExpenseType = "cogs" | "operating" | "transit_payout";
6
7
  type FinanceRefundDirection = "to_customer" | "from_supplier";
@@ -4536,6 +4537,145 @@ declare const routes: import("hono/hono-base").HonoBase<{
4536
4537
  name: string;
4537
4538
  description: string | null;
4538
4539
  }[];
4540
+ }[] | {
4541
+ type: string | null;
4542
+ description: string | null;
4543
+ name: string;
4544
+ active: boolean | null;
4545
+ stock: number | null;
4546
+ currency: string | null;
4547
+ price: number | null;
4548
+ qrCode: string | null;
4549
+ id: string;
4550
+ created_at: string;
4551
+ workspaceId: string;
4552
+ updated_at: string | null;
4553
+ deleted_at: string | null;
4554
+ verified_at: string | null;
4555
+ suspended_at: string | null;
4556
+ created_by: string | null;
4557
+ status: string | null;
4558
+ expiresAt: string | null;
4559
+ address: string | null;
4560
+ city: string | null;
4561
+ district: string | null;
4562
+ latitude: number | null;
4563
+ longitude: number | null;
4564
+ media: string[] | null;
4565
+ publishTags: string[] | null;
4566
+ publishPlatforms: string[] | null;
4567
+ publishedAt: string | null;
4568
+ serviceType: string | null;
4569
+ materials: string[] | null;
4570
+ sku: string | null;
4571
+ specifications: string | null;
4572
+ bom: {
4573
+ [x: string]: string;
4574
+ }[] | null;
4575
+ volumePrices: {
4576
+ [x: string]: string;
4577
+ }[] | null;
4578
+ moq: number | null;
4579
+ leadTimeDays: number | null;
4580
+ monthlyCapacity: string | null;
4581
+ setupTimeHours: number | null;
4582
+ productionLine: string | null;
4583
+ weight: string | null;
4584
+ dimensions: string | null;
4585
+ countryOfOrigin: string | null;
4586
+ batchTracking: boolean | null;
4587
+ qualityStandards: string[] | null;
4588
+ certificates: {
4589
+ [x: string]: string;
4590
+ }[] | null;
4591
+ customerMaterial: boolean | null;
4592
+ processingCost: number | null;
4593
+ title: string;
4594
+ createdBy: {
4595
+ id: string;
4596
+ firstName: string | null;
4597
+ lastName: string | null;
4598
+ profilePicture: string | null;
4599
+ } | null;
4600
+ tags: {
4601
+ id: string;
4602
+ name: string;
4603
+ description: string | null;
4604
+ }[];
4605
+ }[] | {
4606
+ type: string | null;
4607
+ description: string | null;
4608
+ name: string;
4609
+ active: boolean | null;
4610
+ stock: number | null;
4611
+ currency: string | null;
4612
+ price: number | null;
4613
+ qrCode: string | null;
4614
+ id: string;
4615
+ created_at: string;
4616
+ workspaceId: string;
4617
+ updated_at: string | null;
4618
+ deleted_at: string | null;
4619
+ verified_at: string | null;
4620
+ suspended_at: string | null;
4621
+ created_by: string | null;
4622
+ options: string[] | null;
4623
+ status: string | null;
4624
+ expiresAt: string | null;
4625
+ address: string | null;
4626
+ city: string | null;
4627
+ district: string | null;
4628
+ latitude: number | null;
4629
+ longitude: number | null;
4630
+ year: number | null;
4631
+ media: string[] | null;
4632
+ publishTags: string[] | null;
4633
+ publishPlatforms: string[] | null;
4634
+ publishedAt: string | null;
4635
+ serviceType: string | null;
4636
+ warranty: string | null;
4637
+ vin: string | null;
4638
+ mileage: number | null;
4639
+ makeModel: string | null;
4640
+ color: string | null;
4641
+ bodyType: string | null;
4642
+ engine: string | null;
4643
+ fuelType: string | null;
4644
+ transmission: string | null;
4645
+ drivetrain: string | null;
4646
+ previousOwners: number | null;
4647
+ accidentHistory: string | null;
4648
+ purchasePrice: number | null;
4649
+ preparationCosts: {
4650
+ [x: string]: string;
4651
+ }[] | null;
4652
+ tradeIn: boolean | null;
4653
+ onCommission: boolean | null;
4654
+ ownerCustomerId: string | null;
4655
+ commissionMode: string | null;
4656
+ commissionValue: number | null;
4657
+ normHours: number | null;
4658
+ normHourRate: number | null;
4659
+ durationMinutes: number | null;
4660
+ defaultParts: string[] | null;
4661
+ compatibility: string[] | null;
4662
+ oemNumber: string | null;
4663
+ manufacturer: string | null;
4664
+ manufacturerNumber: string | null;
4665
+ minStock: number | null;
4666
+ marginPercent: number | null;
4667
+ title: string;
4668
+ createdBy: {
4669
+ id: string;
4670
+ firstName: string | null;
4671
+ lastName: string | null;
4672
+ profilePicture: string | null;
4673
+ } | null;
4674
+ tags: {
4675
+ id: string;
4676
+ name: string;
4677
+ description: string | null;
4678
+ }[];
4539
4679
  }[];
4540
4680
  };
4541
4681
  outputFormat: "json";
@@ -5414,6 +5554,145 @@ declare const routes: import("hono/hono-base").HonoBase<{
5414
5554
  name: string;
5415
5555
  description: string | null;
5416
5556
  }[];
5557
+ }[] | {
5558
+ type: string | null;
5559
+ description: string | null;
5560
+ name: string;
5561
+ active: boolean | null;
5562
+ stock: number | null;
5563
+ currency: string | null;
5564
+ price: number | null;
5565
+ qrCode: string | null;
5566
+ id: string;
5567
+ created_at: string;
5568
+ workspaceId: string;
5569
+ updated_at: string | null;
5570
+ deleted_at: string | null;
5571
+ verified_at: string | null;
5572
+ suspended_at: string | null;
5573
+ created_by: string | null;
5574
+ status: string | null;
5575
+ expiresAt: string | null;
5576
+ address: string | null;
5577
+ city: string | null;
5578
+ district: string | null;
5579
+ latitude: number | null;
5580
+ longitude: number | null;
5581
+ media: string[] | null;
5582
+ publishTags: string[] | null;
5583
+ publishPlatforms: string[] | null;
5584
+ publishedAt: string | null;
5585
+ serviceType: string | null;
5586
+ materials: string[] | null;
5587
+ sku: string | null;
5588
+ specifications: string | null;
5589
+ bom: {
5590
+ [x: string]: string;
5591
+ }[] | null;
5592
+ volumePrices: {
5593
+ [x: string]: string;
5594
+ }[] | null;
5595
+ moq: number | null;
5596
+ leadTimeDays: number | null;
5597
+ monthlyCapacity: string | null;
5598
+ setupTimeHours: number | null;
5599
+ productionLine: string | null;
5600
+ weight: string | null;
5601
+ dimensions: string | null;
5602
+ countryOfOrigin: string | null;
5603
+ batchTracking: boolean | null;
5604
+ qualityStandards: string[] | null;
5605
+ certificates: {
5606
+ [x: string]: string;
5607
+ }[] | null;
5608
+ customerMaterial: boolean | null;
5609
+ processingCost: number | null;
5610
+ title: string;
5611
+ createdBy: {
5612
+ id: string;
5613
+ firstName: string | null;
5614
+ lastName: string | null;
5615
+ profilePicture: string | null;
5616
+ } | null;
5617
+ tags: {
5618
+ id: string;
5619
+ name: string;
5620
+ description: string | null;
5621
+ }[];
5622
+ }[] | {
5623
+ type: string | null;
5624
+ description: string | null;
5625
+ name: string;
5626
+ active: boolean | null;
5627
+ stock: number | null;
5628
+ currency: string | null;
5629
+ price: number | null;
5630
+ qrCode: string | null;
5631
+ id: string;
5632
+ created_at: string;
5633
+ workspaceId: string;
5634
+ updated_at: string | null;
5635
+ deleted_at: string | null;
5636
+ verified_at: string | null;
5637
+ suspended_at: string | null;
5638
+ created_by: string | null;
5639
+ options: string[] | null;
5640
+ status: string | null;
5641
+ expiresAt: string | null;
5642
+ address: string | null;
5643
+ city: string | null;
5644
+ district: string | null;
5645
+ latitude: number | null;
5646
+ longitude: number | null;
5647
+ year: number | null;
5648
+ media: string[] | null;
5649
+ publishTags: string[] | null;
5650
+ publishPlatforms: string[] | null;
5651
+ publishedAt: string | null;
5652
+ serviceType: string | null;
5653
+ warranty: string | null;
5654
+ vin: string | null;
5655
+ mileage: number | null;
5656
+ makeModel: string | null;
5657
+ color: string | null;
5658
+ bodyType: string | null;
5659
+ engine: string | null;
5660
+ fuelType: string | null;
5661
+ transmission: string | null;
5662
+ drivetrain: string | null;
5663
+ previousOwners: number | null;
5664
+ accidentHistory: string | null;
5665
+ purchasePrice: number | null;
5666
+ preparationCosts: {
5667
+ [x: string]: string;
5668
+ }[] | null;
5669
+ tradeIn: boolean | null;
5670
+ onCommission: boolean | null;
5671
+ ownerCustomerId: string | null;
5672
+ commissionMode: string | null;
5673
+ commissionValue: number | null;
5674
+ normHours: number | null;
5675
+ normHourRate: number | null;
5676
+ durationMinutes: number | null;
5677
+ defaultParts: string[] | null;
5678
+ compatibility: string[] | null;
5679
+ oemNumber: string | null;
5680
+ manufacturer: string | null;
5681
+ manufacturerNumber: string | null;
5682
+ minStock: number | null;
5683
+ marginPercent: number | null;
5684
+ title: string;
5685
+ createdBy: {
5686
+ id: string;
5687
+ firstName: string | null;
5688
+ lastName: string | null;
5689
+ profilePicture: string | null;
5690
+ } | null;
5691
+ tags: {
5692
+ id: string;
5693
+ name: string;
5694
+ description: string | null;
5695
+ }[];
5417
5696
  }[] | {
5418
5697
  updated_at: string | null;
5419
5698
  deleted_at: string | null;
@@ -6383,6 +6662,59 @@ declare const routes: import("hono/hono-base").HonoBase<{
6383
6662
  description: string | null;
6384
6663
  }[];
6385
6664
  }[] | {
6665
+ type: string | null;
6666
+ description: string | null;
6667
+ name: string;
6668
+ active: boolean | null;
6669
+ stock: number | null;
6670
+ currency: string | null;
6671
+ price: number | null;
6672
+ qrCode: string | null;
6673
+ id: string;
6674
+ created_at: string;
6675
+ workspaceId: string;
6676
+ updated_at: string | null;
6677
+ deleted_at: string | null;
6678
+ verified_at: string | null;
6679
+ suspended_at: string | null;
6680
+ created_by: string | null;
6681
+ status: string | null;
6682
+ expiresAt: string | null;
6683
+ address: string | null;
6684
+ city: string | null;
6685
+ district: string | null;
6686
+ latitude: number | null;
6687
+ longitude: number | null;
6688
+ media: string[] | null;
6689
+ publishTags: string[] | null;
6690
+ publishPlatforms: string[] | null;
6691
+ publishedAt: string | null;
6692
+ serviceType: string | null;
6693
+ materials: string[] | null;
6694
+ sku: string | null;
6695
+ specifications: string | null;
6696
+ bom: {
6697
+ [x: string]: string;
6698
+ }[] | null;
6699
+ volumePrices: {
6700
+ [x: string]: string;
6701
+ }[] | null;
6702
+ moq: number | null;
6703
+ leadTimeDays: number | null;
6704
+ monthlyCapacity: string | null;
6705
+ setupTimeHours: number | null;
6706
+ productionLine: string | null;
6707
+ weight: string | null;
6708
+ dimensions: string | null;
6709
+ countryOfOrigin: string | null;
6710
+ batchTracking: boolean | null;
6711
+ qualityStandards: string[] | null;
6712
+ certificates: {
6713
+ [x: string]: string;
6714
+ }[] | null;
6715
+ customerMaterial: boolean | null;
6716
+ processingCost: number | null;
6717
+ title: string;
6386
6718
  createdBy: {
6387
6719
  id: string;
6388
6720
  firstName: string | null;
@@ -6394,21 +6726,107 @@ declare const routes: import("hono/hono-base").HonoBase<{
6394
6726
  name: string;
6395
6727
  description: string | null;
6396
6728
  }[];
6729
+ }[] | {
6730
+ type: string | null;
6731
+ description: string | null;
6732
+ name: string;
6733
+ active: boolean | null;
6734
+ stock: number | null;
6735
+ currency: string | null;
6736
+ price: number | null;
6737
+ qrCode: string | null;
6738
+ id: string;
6739
+ created_at: string;
6740
+ workspaceId: string;
6397
6741
  updated_at: string | null;
6398
6742
  deleted_at: string | null;
6399
6743
  verified_at: string | null;
6400
6744
  suspended_at: string | null;
6401
- created_at: string;
6402
- id: string;
6403
- workspaceId: string;
6404
6745
  created_by: string | null;
6746
+ options: string[] | null;
6747
+ status: string | null;
6748
+ expiresAt: string | null;
6749
+ address: string | null;
6750
+ city: string | null;
6751
+ district: string | null;
6752
+ latitude: number | null;
6753
+ longitude: number | null;
6754
+ year: number | null;
6755
+ media: string[] | null;
6756
+ publishTags: string[] | null;
6757
+ publishPlatforms: string[] | null;
6758
+ publishedAt: string | null;
6759
+ serviceType: string | null;
6760
+ warranty: string | null;
6761
+ vin: string | null;
6762
+ mileage: number | null;
6763
+ makeModel: string | null;
6764
+ color: string | null;
6765
+ bodyType: string | null;
6766
+ engine: string | null;
6767
+ fuelType: string | null;
6768
+ transmission: string | null;
6769
+ drivetrain: string | null;
6770
+ previousOwners: number | null;
6771
+ accidentHistory: string | null;
6772
+ purchasePrice: number | null;
6773
+ preparationCosts: {
6774
+ [x: string]: string;
6775
+ }[] | null;
6776
+ tradeIn: boolean | null;
6777
+ onCommission: boolean | null;
6778
+ ownerCustomerId: string | null;
6779
+ commissionMode: string | null;
6780
+ commissionValue: number | null;
6781
+ normHours: number | null;
6782
+ normHourRate: number | null;
6783
+ durationMinutes: number | null;
6784
+ defaultParts: string[] | null;
6785
+ compatibility: string[] | null;
6786
+ oemNumber: string | null;
6787
+ manufacturer: string | null;
6788
+ manufacturerNumber: string | null;
6789
+ minStock: number | null;
6790
+ marginPercent: number | null;
6405
6791
  title: string;
6406
- active: boolean | null;
6407
- type: string | null;
6408
- currency: string | null;
6409
- description: string | null;
6410
- price: number | null;
6411
- propertyType: string | null;
6792
+ createdBy: {
6793
+ id: string;
6794
+ firstName: string | null;
6795
+ lastName: string | null;
6796
+ profilePicture: string | null;
6797
+ } | null;
6798
+ tags: {
6799
+ id: string;
6800
+ name: string;
6801
+ description: string | null;
6802
+ }[];
6803
+ }[] | {
6804
+ createdBy: {
6805
+ id: string;
6806
+ firstName: string | null;
6807
+ lastName: string | null;
6808
+ profilePicture: string | null;
6809
+ } | null;
6810
+ tags: {
6811
+ id: string;
6812
+ name: string;
6813
+ description: string | null;
6814
+ }[];
6815
+ updated_at: string | null;
6816
+ deleted_at: string | null;
6817
+ verified_at: string | null;
6818
+ suspended_at: string | null;
6819
+ created_at: string;
6820
+ id: string;
6821
+ workspaceId: string;
6822
+ created_by: string | null;
6823
+ title: string;
6824
+ active: boolean | null;
6825
+ type: string | null;
6826
+ currency: string | null;
6827
+ description: string | null;
6828
+ price: number | null;
6829
+ propertyType: string | null;
6412
6830
  propertyStatus: string | null;
6413
6831
  dealType: string | null;
6414
6832
  listingStatus: string | null;
@@ -7390,6 +7808,145 @@ declare const routes: import("hono/hono-base").HonoBase<{
7390
7808
  name: string;
7391
7809
  description: string | null;
7392
7810
  }[];
7811
+ } | {
7812
+ type: string | null;
7813
+ description: string | null;
7814
+ name: string;
7815
+ active: boolean | null;
7816
+ stock: number | null;
7817
+ currency: string | null;
7818
+ price: number | null;
7819
+ qrCode: string | null;
7820
+ id: string;
7821
+ created_at: string;
7822
+ workspaceId: string;
7823
+ updated_at: string | null;
7824
+ deleted_at: string | null;
7825
+ verified_at: string | null;
7826
+ suspended_at: string | null;
7827
+ created_by: string | null;
7828
+ status: string | null;
7829
+ expiresAt: string | null;
7830
+ address: string | null;
7831
+ city: string | null;
7832
+ district: string | null;
7833
+ latitude: number | null;
7834
+ longitude: number | null;
7835
+ media: string[] | null;
7836
+ publishTags: string[] | null;
7837
+ publishPlatforms: string[] | null;
7838
+ publishedAt: string | null;
7839
+ serviceType: string | null;
7840
+ materials: string[] | null;
7841
+ sku: string | null;
7842
+ specifications: string | null;
7843
+ bom: {
7844
+ [x: string]: string;
7845
+ }[] | null;
7846
+ volumePrices: {
7847
+ [x: string]: string;
7848
+ }[] | null;
7849
+ moq: number | null;
7850
+ leadTimeDays: number | null;
7851
+ monthlyCapacity: string | null;
7852
+ setupTimeHours: number | null;
7853
+ productionLine: string | null;
7854
+ weight: string | null;
7855
+ dimensions: string | null;
7856
+ countryOfOrigin: string | null;
7857
+ batchTracking: boolean | null;
7858
+ qualityStandards: string[] | null;
7859
+ certificates: {
7860
+ [x: string]: string;
7861
+ }[] | null;
7862
+ customerMaterial: boolean | null;
7863
+ processingCost: number | null;
7864
+ title: string;
7865
+ createdBy: {
7866
+ id: string;
7867
+ firstName: string | null;
7868
+ lastName: string | null;
7869
+ profilePicture: string | null;
7870
+ } | null;
7871
+ tags: {
7872
+ id: string;
7873
+ name: string;
7874
+ description: string | null;
7875
+ }[];
7876
+ } | {
7877
+ type: string | null;
7878
+ description: string | null;
7879
+ name: string;
7880
+ active: boolean | null;
7881
+ stock: number | null;
7882
+ currency: string | null;
7883
+ price: number | null;
7884
+ qrCode: string | null;
7885
+ id: string;
7886
+ created_at: string;
7887
+ workspaceId: string;
7888
+ updated_at: string | null;
7889
+ deleted_at: string | null;
7890
+ verified_at: string | null;
7891
+ suspended_at: string | null;
7892
+ created_by: string | null;
7893
+ options: string[] | null;
7894
+ status: string | null;
7895
+ expiresAt: string | null;
7896
+ address: string | null;
7897
+ city: string | null;
7898
+ district: string | null;
7899
+ latitude: number | null;
7900
+ longitude: number | null;
7901
+ year: number | null;
7902
+ media: string[] | null;
7903
+ publishTags: string[] | null;
7904
+ publishPlatforms: string[] | null;
7905
+ publishedAt: string | null;
7906
+ serviceType: string | null;
7907
+ warranty: string | null;
7908
+ vin: string | null;
7909
+ mileage: number | null;
7910
+ makeModel: string | null;
7911
+ color: string | null;
7912
+ bodyType: string | null;
7913
+ engine: string | null;
7914
+ fuelType: string | null;
7915
+ transmission: string | null;
7916
+ drivetrain: string | null;
7917
+ previousOwners: number | null;
7918
+ accidentHistory: string | null;
7919
+ purchasePrice: number | null;
7920
+ preparationCosts: {
7921
+ [x: string]: string;
7922
+ }[] | null;
7923
+ tradeIn: boolean | null;
7924
+ onCommission: boolean | null;
7925
+ ownerCustomerId: string | null;
7926
+ commissionMode: string | null;
7927
+ commissionValue: number | null;
7928
+ normHours: number | null;
7929
+ normHourRate: number | null;
7930
+ durationMinutes: number | null;
7931
+ defaultParts: string[] | null;
7932
+ compatibility: string[] | null;
7933
+ oemNumber: string | null;
7934
+ manufacturer: string | null;
7935
+ manufacturerNumber: string | null;
7936
+ minStock: number | null;
7937
+ marginPercent: number | null;
7938
+ title: string;
7939
+ createdBy: {
7940
+ id: string;
7941
+ firstName: string | null;
7942
+ lastName: string | null;
7943
+ profilePicture: string | null;
7944
+ } | null;
7945
+ tags: {
7946
+ id: string;
7947
+ name: string;
7948
+ description: string | null;
7949
+ }[];
7393
7950
  } | {
7394
7951
  createdBy: {
7395
7952
  id: string;
@@ -7564,6 +8121,43 @@ declare const routes: import("hono/hono-base").HonoBase<{
7564
8121
  status: 200;
7565
8122
  };
7566
8123
  };
8124
+ } & {
8125
+ "/automotive-settings/:workspace": {
8126
+ $get: {
8127
+ input: {
8128
+ param: {
8129
+ workspace: string;
8130
+ };
8131
+ };
8132
+ output: {
8133
+ success: true;
8134
+ settings: {
8135
+ normHourRate: number;
8136
+ };
8137
+ };
8138
+ outputFormat: "json";
8139
+ status: 200;
8140
+ };
8141
+ };
8142
+ } & {
8143
+ "/automotive-settings/update": {
8144
+ $post: {
8145
+ input: {
8146
+ json: {
8147
+ workspace: string;
8148
+ normHourRate: unknown;
8149
+ };
8150
+ };
8151
+ output: {
8152
+ success: true;
8153
+ settings: {
8154
+ normHourRate: number;
8155
+ };
8156
+ };
8157
+ outputFormat: "json";
8158
+ status: 200;
8159
+ };
8160
+ };
7567
8161
  }, "/services"> | import("hono/types").MergeSchemaPath<{
7568
8162
  "/create": {
7569
8163
  $post: {
@@ -7683,13 +8277,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
7683
8277
  verified_at: string | null;
7684
8278
  suspended_at: string | null;
7685
8279
  created_by: string | null;
8280
+ companyName: string | null;
7686
8281
  telegram: string | null;
7687
8282
  whatsapp: string | null;
7688
- clientId: string | null;
7689
- gender: string | null;
7690
- accessCardNumber: string | null;
7691
- emergencyContactName: string | null;
7692
- emergencyContactPhone: string | null;
7693
8283
  membershipStatus: string | null;
7694
8284
  goals: string[] | null;
7695
8285
  level: string | null;
@@ -7697,6 +8287,14 @@ declare const routes: import("hono/hono-base").HonoBase<{
7697
8287
  preferredPayments: string[] | null;
7698
8288
  healthNotes: string | null;
7699
8289
  medicalClearanceUntil: string | null;
8290
+ inn: string | null;
8291
+ kpp: string | null;
8292
+ ogrn: string | null;
8293
+ clientId: string | null;
8294
+ gender: string | null;
8295
+ accessCardNumber: string | null;
8296
+ emergencyContactName: string | null;
8297
+ emergencyContactPhone: string | null;
7700
8298
  createdBy: {
7701
8299
  id: string;
7702
8300
  firstName: string | null;
@@ -8015,8 +8613,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
8015
8613
  telegram: string | null;
8016
8614
  whatsapp: string | null;
8017
8615
  maternityCapital: boolean | null;
8018
- gender: string | null;
8019
8616
  level: string | null;
8617
+ gender: string | null;
8020
8618
  preferredPayment: string[] | null;
8021
8619
  studentId: string | null;
8022
8620
  schoolGrade: string | null;
@@ -8331,6 +8929,92 @@ declare const routes: import("hono/hono-base").HonoBase<{
8331
8929
  name: string;
8332
8930
  description: string | null;
8333
8931
  }[];
8932
+ }[] | {
8933
+ type: string | null;
8934
+ email: string | null;
8935
+ description: string | null;
8936
+ name: string;
8937
+ active: boolean | null;
8938
+ phone: string | null;
8939
+ website: string | null;
8940
+ birthDate: string | null;
8941
+ companyPhone: string | null;
8942
+ companyAddress: string | null;
8943
+ address: string | null;
8944
+ utmSource: string | null;
8945
+ id: string;
8946
+ created_at: string;
8947
+ workspaceId: string;
8948
+ updated_at: string | null;
8949
+ deleted_at: string | null;
8950
+ verified_at: string | null;
8951
+ suspended_at: string | null;
8952
+ created_by: string | null;
8953
+ telegram: string | null;
8954
+ whatsapp: string | null;
8955
+ preferredCurrency: string | null;
8956
+ preferredPayments: string[] | null;
8957
+ inn: string | null;
8958
+ industry: string | null;
8959
+ clientStatus: string | null;
8960
+ requisites: string | null;
8961
+ paymentDeferralDays: number | null;
8962
+ creditLimit: number | null;
8963
+ createdBy: {
8964
+ id: string;
8965
+ firstName: string | null;
8966
+ lastName: string | null;
8967
+ profilePicture: string | null;
8968
+ } | null;
8969
+ tags: {
8970
+ id: string;
8971
+ name: string;
8972
+ description: string | null;
8973
+ }[];
8974
+ }[] | {
8975
+ type: string | null;
8976
+ email: string | null;
8977
+ description: string | null;
8978
+ name: string;
8979
+ active: boolean | null;
8980
+ phone: string | null;
8981
+ website: string | null;
8982
+ birthDate: string | null;
8983
+ companyPhone: string | null;
8984
+ companyAddress: string | null;
8985
+ address: string | null;
8986
+ utmSource: string | null;
8987
+ id: string;
8988
+ created_at: string;
8989
+ workspaceId: string;
8990
+ updated_at: string | null;
8991
+ deleted_at: string | null;
8992
+ verified_at: string | null;
8993
+ suspended_at: string | null;
8994
+ created_by: string | null;
8995
+ telegram: string | null;
8996
+ whatsapp: string | null;
8997
+ preferredCurrency: string | null;
8998
+ inn: string | null;
8999
+ preferredPayment: string[] | null;
9000
+ clientStatus: string | null;
9001
+ partnerKind: string | null;
9002
+ driverLicenceNumber: string | null;
9003
+ driverLicenceUntil: string | null;
9004
+ cars: {
9005
+ [x: string]: string;
9006
+ }[] | null;
9007
+ createdBy: {
9008
+ id: string;
9009
+ firstName: string | null;
9010
+ lastName: string | null;
9011
+ profilePicture: string | null;
9012
+ } | null;
9013
+ tags: {
9014
+ id: string;
9015
+ name: string;
9016
+ description: string | null;
9017
+ }[];
8334
9018
  }[];
8335
9019
  };
8336
9020
  outputFormat: "json";
@@ -8491,13 +9175,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
8491
9175
  verified_at: string | null;
8492
9176
  suspended_at: string | null;
8493
9177
  created_by: string | null;
9178
+ companyName: string | null;
8494
9179
  telegram: string | null;
8495
9180
  whatsapp: string | null;
8496
- clientId: string | null;
8497
- gender: string | null;
8498
- accessCardNumber: string | null;
8499
- emergencyContactName: string | null;
8500
- emergencyContactPhone: string | null;
8501
9181
  membershipStatus: string | null;
8502
9182
  goals: string[] | null;
8503
9183
  level: string | null;
@@ -8505,6 +9185,14 @@ declare const routes: import("hono/hono-base").HonoBase<{
8505
9185
  preferredPayments: string[] | null;
8506
9186
  healthNotes: string | null;
8507
9187
  medicalClearanceUntil: string | null;
9188
+ inn: string | null;
9189
+ kpp: string | null;
9190
+ ogrn: string | null;
9191
+ clientId: string | null;
9192
+ gender: string | null;
9193
+ accessCardNumber: string | null;
9194
+ emergencyContactName: string | null;
9195
+ emergencyContactPhone: string | null;
8508
9196
  createdBy: {
8509
9197
  id: string;
8510
9198
  firstName: string | null;
@@ -8829,8 +9517,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
8829
9517
  telegram: string | null;
8830
9518
  whatsapp: string | null;
8831
9519
  maternityCapital: boolean | null;
8832
- gender: string | null;
8833
9520
  level: string | null;
9521
+ gender: string | null;
8834
9522
  preferredPayment: string[] | null;
8835
9523
  studentId: string | null;
8836
9524
  schoolGrade: string | null;
@@ -9152,6 +9840,94 @@ declare const routes: import("hono/hono-base").HonoBase<{
9152
9840
  description: string | null;
9153
9841
  }[];
9154
9842
  subscriptionEndDate: string | null;
9843
+ }[] | {
9844
+ type: string | null;
9845
+ email: string | null;
9846
+ description: string | null;
9847
+ name: string;
9848
+ active: boolean | null;
9849
+ phone: string | null;
9850
+ website: string | null;
9851
+ birthDate: string | null;
9852
+ companyPhone: string | null;
9853
+ companyAddress: string | null;
9854
+ address: string | null;
9855
+ utmSource: string | null;
9856
+ id: string;
9857
+ created_at: string;
9858
+ workspaceId: string;
9859
+ updated_at: string | null;
9860
+ deleted_at: string | null;
9861
+ verified_at: string | null;
9862
+ suspended_at: string | null;
9863
+ created_by: string | null;
9864
+ telegram: string | null;
9865
+ whatsapp: string | null;
9866
+ preferredCurrency: string | null;
9867
+ preferredPayments: string[] | null;
9868
+ inn: string | null;
9869
+ industry: string | null;
9870
+ clientStatus: string | null;
9871
+ requisites: string | null;
9872
+ paymentDeferralDays: number | null;
9873
+ creditLimit: number | null;
9874
+ createdBy: {
9875
+ id: string;
9876
+ firstName: string | null;
9877
+ lastName: string | null;
9878
+ profilePicture: string | null;
9879
+ } | null;
9880
+ tags: {
9881
+ id: string;
9882
+ name: string;
9883
+ description: string | null;
9884
+ }[];
9885
+ subscriptionEndDate: string | null;
9886
+ }[] | {
9887
+ type: string | null;
9888
+ email: string | null;
9889
+ description: string | null;
9890
+ name: string;
9891
+ active: boolean | null;
9892
+ phone: string | null;
9893
+ website: string | null;
9894
+ birthDate: string | null;
9895
+ companyPhone: string | null;
9896
+ companyAddress: string | null;
9897
+ address: string | null;
9898
+ utmSource: string | null;
9899
+ id: string;
9900
+ created_at: string;
9901
+ workspaceId: string;
9902
+ updated_at: string | null;
9903
+ deleted_at: string | null;
9904
+ verified_at: string | null;
9905
+ suspended_at: string | null;
9906
+ created_by: string | null;
9907
+ telegram: string | null;
9908
+ whatsapp: string | null;
9909
+ preferredCurrency: string | null;
9910
+ inn: string | null;
9911
+ preferredPayment: string[] | null;
9912
+ clientStatus: string | null;
9913
+ partnerKind: string | null;
9914
+ driverLicenceNumber: string | null;
9915
+ driverLicenceUntil: string | null;
9916
+ cars: {
9917
+ [x: string]: string;
9918
+ }[] | null;
9919
+ createdBy: {
9920
+ id: string;
9921
+ firstName: string | null;
9922
+ lastName: string | null;
9923
+ profilePicture: string | null;
9924
+ } | null;
9925
+ tags: {
9926
+ id: string;
9927
+ name: string;
9928
+ description: string | null;
9929
+ }[];
9930
+ subscriptionEndDate: string | null;
9155
9931
  }[];
9156
9932
  };
9157
9933
  outputFormat: "json";
@@ -9316,13 +10092,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
9316
10092
  verified_at: string | null;
9317
10093
  suspended_at: string | null;
9318
10094
  created_by: string | null;
10095
+ companyName: string | null;
9319
10096
  telegram: string | null;
9320
10097
  whatsapp: string | null;
9321
- clientId: string | null;
9322
- gender: string | null;
9323
- accessCardNumber: string | null;
9324
- emergencyContactName: string | null;
9325
- emergencyContactPhone: string | null;
9326
10098
  membershipStatus: string | null;
9327
10099
  goals: string[] | null;
9328
10100
  level: string | null;
@@ -9330,6 +10102,14 @@ declare const routes: import("hono/hono-base").HonoBase<{
9330
10102
  preferredPayments: string[] | null;
9331
10103
  healthNotes: string | null;
9332
10104
  medicalClearanceUntil: string | null;
10105
+ inn: string | null;
10106
+ kpp: string | null;
10107
+ ogrn: string | null;
10108
+ clientId: string | null;
10109
+ gender: string | null;
10110
+ accessCardNumber: string | null;
10111
+ emergencyContactName: string | null;
10112
+ emergencyContactPhone: string | null;
9333
10113
  createdBy: {
9334
10114
  id: string;
9335
10115
  firstName: string | null;
@@ -9648,8 +10428,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
9648
10428
  telegram: string | null;
9649
10429
  whatsapp: string | null;
9650
10430
  maternityCapital: boolean | null;
9651
- gender: string | null;
9652
10431
  level: string | null;
10432
+ gender: string | null;
9653
10433
  preferredPayment: string[] | null;
9654
10434
  studentId: string | null;
9655
10435
  schoolGrade: string | null;
@@ -9809,15 +10589,103 @@ declare const routes: import("hono/hono-base").HonoBase<{
9809
10589
  whatsapp: string | null;
9810
10590
  preferredCurrency: string | null;
9811
10591
  inn: string | null;
9812
- kpp: string | null;
9813
- preferredPayment: string[] | null;
9814
- industry: string | null;
9815
- companySize: string | null;
9816
- clientStatus: string | null;
9817
- nda: string | null;
9818
- ndaUntil: string | null;
9819
- clientRate: number | null;
9820
- clientRateUnit: string | null;
10592
+ kpp: string | null;
10593
+ preferredPayment: string[] | null;
10594
+ industry: string | null;
10595
+ companySize: string | null;
10596
+ clientStatus: string | null;
10597
+ nda: string | null;
10598
+ ndaUntil: string | null;
10599
+ clientRate: number | null;
10600
+ clientRateUnit: string | null;
10601
+ createdBy: {
10602
+ id: string;
10603
+ firstName: string | null;
10604
+ lastName: string | null;
10605
+ profilePicture: string | null;
10606
+ } | null;
10607
+ tags: {
10608
+ id: string;
10609
+ name: string;
10610
+ description: string | null;
10611
+ }[];
10612
+ } | {
10613
+ type: string | null;
10614
+ email: string | null;
10615
+ description: string | null;
10616
+ name: string;
10617
+ active: boolean | null;
10618
+ phone: string | null;
10619
+ website: string | null;
10620
+ birthDate: string | null;
10621
+ companyPhone: string | null;
10622
+ companyAddress: string | null;
10623
+ address: string | null;
10624
+ utmSource: string | null;
10625
+ id: string;
10626
+ created_at: string;
10627
+ workspaceId: string;
10628
+ updated_at: string | null;
10629
+ deleted_at: string | null;
10630
+ verified_at: string | null;
10631
+ suspended_at: string | null;
10632
+ created_by: string | null;
10633
+ telegram: string | null;
10634
+ whatsapp: string | null;
10635
+ preferredCurrency: string | null;
10636
+ inn: string | null;
10637
+ kpp: string | null;
10638
+ clientStatus: string | null;
10639
+ marketingBudget: number | null;
10640
+ accesses: {
10641
+ [x: string]: string;
10642
+ }[] | null;
10643
+ brandBook: string | null;
10644
+ kpi: {
10645
+ [x: string]: string;
10646
+ }[] | null;
10647
+ createdBy: {
10648
+ id: string;
10649
+ firstName: string | null;
10650
+ lastName: string | null;
10651
+ profilePicture: string | null;
10652
+ } | null;
10653
+ tags: {
10654
+ id: string;
10655
+ name: string;
10656
+ description: string | null;
10657
+ }[];
10658
+ } | {
10659
+ type: string | null;
10660
+ email: string | null;
10661
+ description: string | null;
10662
+ name: string;
10663
+ active: boolean | null;
10664
+ phone: string | null;
10665
+ website: string | null;
10666
+ birthDate: string | null;
10667
+ companyPhone: string | null;
10668
+ companyAddress: string | null;
10669
+ address: string | null;
10670
+ utmSource: string | null;
10671
+ id: string;
10672
+ created_at: string;
10673
+ workspaceId: string;
10674
+ updated_at: string | null;
10675
+ deleted_at: string | null;
10676
+ verified_at: string | null;
10677
+ suspended_at: string | null;
10678
+ created_by: string | null;
10679
+ telegram: string | null;
10680
+ whatsapp: string | null;
10681
+ preferredCurrency: string | null;
10682
+ inn: string | null;
10683
+ preferredPayment: string | null;
10684
+ preferences: string[] | null;
10685
+ documentType: string | null;
10686
+ documentNumber: string | null;
10687
+ loyaltyLevel: string | null;
10688
+ loyaltyNumber: string | null;
9821
10689
  createdBy: {
9822
10690
  id: string;
9823
10691
  firstName: string | null;
@@ -9850,20 +10718,21 @@ declare const routes: import("hono/hono-base").HonoBase<{
9850
10718
  verified_at: string | null;
9851
10719
  suspended_at: string | null;
9852
10720
  created_by: string | null;
10721
+ plan: string | null;
9853
10722
  telegram: string | null;
9854
10723
  whatsapp: string | null;
9855
10724
  preferredCurrency: string | null;
9856
10725
  inn: string | null;
9857
- kpp: string | null;
10726
+ industry: string | null;
9858
10727
  clientStatus: string | null;
9859
- marketingBudget: number | null;
9860
- accesses: {
9861
- [x: string]: string;
9862
- }[] | null;
9863
- brandBook: string | null;
9864
- kpi: {
9865
- [x: string]: string;
9866
- }[] | null;
10728
+ churnDate: string | null;
10729
+ churnReason: string | null;
10730
+ churnedTo: string | null;
10731
+ winBack: string | null;
10732
+ churnComment: string | null;
10733
+ users: number | null;
10734
+ trialEndsAt: string | null;
10735
+ renewalDate: string | null;
9867
10736
  createdBy: {
9868
10737
  id: string;
9869
10738
  firstName: string | null;
@@ -9899,13 +10768,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
9899
10768
  telegram: string | null;
9900
10769
  whatsapp: string | null;
9901
10770
  preferredCurrency: string | null;
10771
+ preferredPayments: string[] | null;
9902
10772
  inn: string | null;
9903
- preferredPayment: string | null;
9904
- preferences: string[] | null;
9905
- documentType: string | null;
9906
- documentNumber: string | null;
9907
- loyaltyLevel: string | null;
9908
- loyaltyNumber: string | null;
10773
+ industry: string | null;
10774
+ clientStatus: string | null;
10775
+ requisites: string | null;
10776
+ paymentDeferralDays: number | null;
10777
+ creditLimit: number | null;
9909
10778
  createdBy: {
9910
10779
  id: string;
9911
10780
  firstName: string | null;
@@ -9938,21 +10807,18 @@ declare const routes: import("hono/hono-base").HonoBase<{
9938
10807
  verified_at: string | null;
9939
10808
  suspended_at: string | null;
9940
10809
  created_by: string | null;
9941
- plan: string | null;
9942
10810
  telegram: string | null;
9943
10811
  whatsapp: string | null;
9944
10812
  preferredCurrency: string | null;
9945
10813
  inn: string | null;
9946
- industry: string | null;
10814
+ preferredPayment: string[] | null;
9947
10815
  clientStatus: string | null;
9948
- churnDate: string | null;
9949
- churnReason: string | null;
9950
- churnedTo: string | null;
9951
- winBack: string | null;
9952
- churnComment: string | null;
9953
- users: number | null;
9954
- trialEndsAt: string | null;
9955
- renewalDate: string | null;
10816
+ partnerKind: string | null;
10817
+ driverLicenceNumber: string | null;
10818
+ driverLicenceUntil: string | null;
10819
+ cars: {
10820
+ [x: string]: string;
10821
+ }[] | null;
9956
10822
  createdBy: {
9957
10823
  id: string;
9958
10824
  firstName: string | null;
@@ -10064,13 +10930,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
10064
10930
  verified_at: string | null;
10065
10931
  suspended_at: string | null;
10066
10932
  created_by: string | null;
10933
+ companyName: string | null;
10067
10934
  telegram: string | null;
10068
10935
  whatsapp: string | null;
10069
- clientId: string | null;
10070
- gender: string | null;
10071
- accessCardNumber: string | null;
10072
- emergencyContactName: string | null;
10073
- emergencyContactPhone: string | null;
10074
10936
  membershipStatus: string | null;
10075
10937
  goals: string[] | null;
10076
10938
  level: string | null;
@@ -10078,6 +10940,14 @@ declare const routes: import("hono/hono-base").HonoBase<{
10078
10940
  preferredPayments: string[] | null;
10079
10941
  healthNotes: string | null;
10080
10942
  medicalClearanceUntil: string | null;
10943
+ inn: string | null;
10944
+ kpp: string | null;
10945
+ ogrn: string | null;
10946
+ clientId: string | null;
10947
+ gender: string | null;
10948
+ accessCardNumber: string | null;
10949
+ emergencyContactName: string | null;
10950
+ emergencyContactPhone: string | null;
10081
10951
  createdBy: {
10082
10952
  id: string;
10083
10953
  firstName: string | null;
@@ -10396,8 +11266,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
10396
11266
  telegram: string | null;
10397
11267
  whatsapp: string | null;
10398
11268
  maternityCapital: boolean | null;
10399
- gender: string | null;
10400
11269
  level: string | null;
11270
+ gender: string | null;
10401
11271
  preferredPayment: string[] | null;
10402
11272
  studentId: string | null;
10403
11273
  schoolGrade: string | null;
@@ -10712,6 +11582,92 @@ declare const routes: import("hono/hono-base").HonoBase<{
10712
11582
  name: string;
10713
11583
  description: string | null;
10714
11584
  }[];
11585
+ }[] | {
11586
+ type: string | null;
11587
+ email: string | null;
11588
+ description: string | null;
11589
+ name: string;
11590
+ active: boolean | null;
11591
+ phone: string | null;
11592
+ website: string | null;
11593
+ birthDate: string | null;
11594
+ companyPhone: string | null;
11595
+ companyAddress: string | null;
11596
+ address: string | null;
11597
+ utmSource: string | null;
11598
+ id: string;
11599
+ created_at: string;
11600
+ workspaceId: string;
11601
+ updated_at: string | null;
11602
+ deleted_at: string | null;
11603
+ verified_at: string | null;
11604
+ suspended_at: string | null;
11605
+ created_by: string | null;
11606
+ telegram: string | null;
11607
+ whatsapp: string | null;
11608
+ preferredCurrency: string | null;
11609
+ preferredPayments: string[] | null;
11610
+ inn: string | null;
11611
+ industry: string | null;
11612
+ clientStatus: string | null;
11613
+ requisites: string | null;
11614
+ paymentDeferralDays: number | null;
11615
+ creditLimit: number | null;
11616
+ createdBy: {
11617
+ id: string;
11618
+ firstName: string | null;
11619
+ lastName: string | null;
11620
+ profilePicture: string | null;
11621
+ } | null;
11622
+ tags: {
11623
+ id: string;
11624
+ name: string;
11625
+ description: string | null;
11626
+ }[];
11627
+ }[] | {
11628
+ type: string | null;
11629
+ email: string | null;
11630
+ description: string | null;
11631
+ name: string;
11632
+ active: boolean | null;
11633
+ phone: string | null;
11634
+ website: string | null;
11635
+ birthDate: string | null;
11636
+ companyPhone: string | null;
11637
+ companyAddress: string | null;
11638
+ address: string | null;
11639
+ utmSource: string | null;
11640
+ id: string;
11641
+ created_at: string;
11642
+ workspaceId: string;
11643
+ updated_at: string | null;
11644
+ deleted_at: string | null;
11645
+ verified_at: string | null;
11646
+ suspended_at: string | null;
11647
+ created_by: string | null;
11648
+ telegram: string | null;
11649
+ whatsapp: string | null;
11650
+ preferredCurrency: string | null;
11651
+ inn: string | null;
11652
+ preferredPayment: string[] | null;
11653
+ clientStatus: string | null;
11654
+ partnerKind: string | null;
11655
+ driverLicenceNumber: string | null;
11656
+ driverLicenceUntil: string | null;
11657
+ cars: {
11658
+ [x: string]: string;
11659
+ }[] | null;
11660
+ createdBy: {
11661
+ id: string;
11662
+ firstName: string | null;
11663
+ lastName: string | null;
11664
+ profilePicture: string | null;
11665
+ } | null;
11666
+ tags: {
11667
+ id: string;
11668
+ name: string;
11669
+ description: string | null;
11670
+ }[];
10715
11671
  }[] | {
10716
11672
  updated_at: string | null;
10717
11673
  deleted_at: string | null;
@@ -11074,9 +12030,52 @@ declare const routes: import("hono/hono-base").HonoBase<{
11074
12030
  updatedAt: string;
11075
12031
  createdBy: string | null;
11076
12032
  };
12033
+ related: {
12034
+ type: string;
12035
+ customerId: string;
12036
+ date: string;
12037
+ status: string | null;
12038
+ id: string;
12039
+ fields: {
12040
+ [x: string]: import("hono/utils/types").JSONValue;
12041
+ };
12042
+ events: {
12043
+ [x: string]: string;
12044
+ } | null;
12045
+ workspaceId: string;
12046
+ createdAt: string;
12047
+ updatedAt: string;
12048
+ createdBy: string | null;
12049
+ }[];
11077
12050
  };
11078
12051
  outputFormat: "json";
11079
12052
  status: 201;
12053
+ } | {
12054
+ input: {
12055
+ json: {
12056
+ workspace: string;
12057
+ customerId: string;
12058
+ type: string;
12059
+ status?: string | null | undefined;
12060
+ date: string;
12061
+ fields?: {
12062
+ [x: string]: string | number | boolean | string[] | {
12063
+ [x: string]: string;
12064
+ }[] | null;
12065
+ } | undefined;
12066
+ events?: {
12067
+ [x: string]: string;
12068
+ } | null | undefined;
12069
+ };
12070
+ };
12071
+ output: {
12072
+ success: false;
12073
+ error: string;
12074
+ code: SessionRefusal;
12075
+ packageId: string;
12076
+ };
12077
+ outputFormat: "json";
12078
+ status: 409;
11080
12079
  };
11081
12080
  };
11082
12081
  } & {
@@ -11163,9 +12162,51 @@ declare const routes: import("hono/hono-base").HonoBase<{
11163
12162
  updatedAt: string;
11164
12163
  createdBy: string | null;
11165
12164
  };
12165
+ related: {
12166
+ type: string;
12167
+ customerId: string;
12168
+ date: string;
12169
+ status: string | null;
12170
+ id: string;
12171
+ fields: {
12172
+ [x: string]: import("hono/utils/types").JSONValue;
12173
+ };
12174
+ events: {
12175
+ [x: string]: string;
12176
+ } | null;
12177
+ workspaceId: string;
12178
+ createdAt: string;
12179
+ updatedAt: string;
12180
+ createdBy: string | null;
12181
+ }[];
11166
12182
  };
11167
12183
  outputFormat: "json";
11168
12184
  status: 200;
12185
+ } | {
12186
+ input: {
12187
+ json: {
12188
+ workspace: string;
12189
+ recordId: string;
12190
+ status?: string | null | undefined;
12191
+ date?: string | undefined;
12192
+ fields?: {
12193
+ [x: string]: string | number | boolean | string[] | {
12194
+ [x: string]: string;
12195
+ }[] | null;
12196
+ } | undefined;
12197
+ events?: {
12198
+ [x: string]: string;
12199
+ } | null | undefined;
12200
+ };
12201
+ };
12202
+ output: {
12203
+ success: false;
12204
+ error: string;
12205
+ code: SessionRefusal;
12206
+ packageId: string;
12207
+ };
12208
+ outputFormat: "json";
12209
+ status: 409;
11169
12210
  };
11170
12211
  };
11171
12212
  } & {
@@ -11192,6 +12233,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
11192
12233
  };
11193
12234
  output: {
11194
12235
  success: true;
12236
+ related: {
12237
+ type: string;
12238
+ customerId: string;
12239
+ date: string;
12240
+ status: string | null;
12241
+ id: string;
12242
+ fields: {
12243
+ [x: string]: import("hono/utils/types").JSONValue;
12244
+ };
12245
+ events: {
12246
+ [x: string]: string;
12247
+ } | null;
12248
+ workspaceId: string;
12249
+ createdAt: string;
12250
+ updatedAt: string;
12251
+ createdBy: string | null;
12252
+ }[];
11195
12253
  };
11196
12254
  outputFormat: "json";
11197
12255
  status: 200;
@@ -11247,7 +12305,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11247
12305
  workspace: string;
11248
12306
  customerId: string;
11249
12307
  relatedCustomerId: string;
11250
- 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" | "other";
12308
+ type: "friend" | "spouse" | "father" | "mother" | "parent" | "child" | "sibling" | "relative" | "colleague" | "co_buyer" | "lawyer" | "client" | "payer" | "payee" | "contact_person" | "represents" | "decision_maker" | "decision_maker_at" | "technical_contact" | "technical_contact_at" | "accountant" | "accountant_at" | "account_admin" | "account_admin_at" | "account_user" | "account_user_at" | "engineer" | "engineer_at" | "other";
11251
12309
  };
11252
12310
  };
11253
12311
  output: {
@@ -11262,7 +12320,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11262
12320
  workspace: string;
11263
12321
  customerId: string;
11264
12322
  relatedCustomerId: string;
11265
- 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" | "other";
12323
+ type: "friend" | "spouse" | "father" | "mother" | "parent" | "child" | "sibling" | "relative" | "colleague" | "co_buyer" | "lawyer" | "client" | "payer" | "payee" | "contact_person" | "represents" | "decision_maker" | "decision_maker_at" | "technical_contact" | "technical_contact_at" | "accountant" | "accountant_at" | "account_admin" | "account_admin_at" | "account_user" | "account_user_at" | "engineer" | "engineer_at" | "other";
11266
12324
  };
11267
12325
  };
11268
12326
  output: {
@@ -11277,7 +12335,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11277
12335
  workspace: string;
11278
12336
  customerId: string;
11279
12337
  relatedCustomerId: string;
11280
- 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" | "other";
12338
+ type: "friend" | "spouse" | "father" | "mother" | "parent" | "child" | "sibling" | "relative" | "colleague" | "co_buyer" | "lawyer" | "client" | "payer" | "payee" | "contact_person" | "represents" | "decision_maker" | "decision_maker_at" | "technical_contact" | "technical_contact_at" | "accountant" | "accountant_at" | "account_admin" | "account_admin_at" | "account_user" | "account_user_at" | "engineer" | "engineer_at" | "other";
11281
12339
  };
11282
12340
  };
11283
12341
  output: {
@@ -11431,7 +12489,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11431
12489
  viaAgencyBefore: boolean;
11432
12490
  } | null | undefined;
11433
12491
  executors?: {
11434
- personKind: "member" | "partner";
12492
+ personKind: "partner" | "member";
11435
12493
  personId?: string | null | undefined;
11436
12494
  name: string;
11437
12495
  role: "lead" | "partner" | "co_agent" | "buyer_agent" | "seller_agent";
@@ -11544,7 +12602,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
11544
12602
  viaAgencyBefore: boolean;
11545
12603
  } | null | undefined;
11546
12604
  executors?: {
11547
- personKind: "member" | "partner";
12605
+ personKind: "partner" | "member";
11548
12606
  personId?: string | null | undefined;
11549
12607
  name: string;
11550
12608
  role: "lead" | "partner" | "co_agent" | "buyer_agent" | "seller_agent";
@@ -12035,7 +13093,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12035
13093
  viaAgencyBefore: boolean;
12036
13094
  } | null | undefined;
12037
13095
  executors?: {
12038
- personKind: "member" | "partner";
13096
+ personKind: "partner" | "member";
12039
13097
  personId?: string | null | undefined;
12040
13098
  name: string;
12041
13099
  role: "lead" | "partner" | "co_agent" | "buyer_agent" | "seller_agent";
@@ -12149,7 +13207,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12149
13207
  viaAgencyBefore: boolean;
12150
13208
  } | null | undefined;
12151
13209
  executors?: {
12152
- personKind: "member" | "partner";
13210
+ personKind: "partner" | "member";
12153
13211
  personId?: string | null | undefined;
12154
13212
  name: string;
12155
13213
  role: "lead" | "partner" | "co_agent" | "buyer_agent" | "seller_agent";
@@ -12376,7 +13434,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12376
13434
  viaAgencyBefore: boolean;
12377
13435
  } | null | undefined;
12378
13436
  executors?: {
12379
- personKind: "member" | "partner";
13437
+ personKind: "partner" | "member";
12380
13438
  personId?: string | null | undefined;
12381
13439
  name: string;
12382
13440
  role: "lead" | "partner" | "co_agent" | "buyer_agent" | "seller_agent";
@@ -12475,7 +13533,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12475
13533
  viaAgencyBefore: boolean;
12476
13534
  } | null | undefined;
12477
13535
  executors?: {
12478
- personKind: "member" | "partner";
13536
+ personKind: "partner" | "member";
12479
13537
  personId?: string | null | undefined;
12480
13538
  name: string;
12481
13539
  role: "lead" | "partner" | "co_agent" | "buyer_agent" | "seller_agent";
@@ -12587,7 +13645,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12587
13645
  viaAgencyBefore: boolean;
12588
13646
  } | null | undefined;
12589
13647
  executors?: {
12590
- personKind: "member" | "partner";
13648
+ personKind: "partner" | "member";
12591
13649
  personId?: string | null | undefined;
12592
13650
  name: string;
12593
13651
  role: "lead" | "partner" | "co_agent" | "buyer_agent" | "seller_agent";
@@ -12686,7 +13744,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
12686
13744
  viaAgencyBefore: boolean;
12687
13745
  } | null | undefined;
12688
13746
  executors?: {
12689
- personKind: "member" | "partner";
13747
+ personKind: "partner" | "member";
12690
13748
  personId?: string | null | undefined;
12691
13749
  name: string;
12692
13750
  role: "lead" | "partner" | "co_agent" | "buyer_agent" | "seller_agent";
@@ -20458,10 +21516,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
20458
21516
  variant: string | null;
20459
21517
  quantity: number;
20460
21518
  id: string;
20461
- warehouseId: string;
20462
21519
  sku: string;
20463
- productName: string;
20464
21520
  minStock: number;
21521
+ warehouseId: string;
21522
+ productName: string;
20465
21523
  workspaceId: string;
20466
21524
  };
20467
21525
  };