@the-inkwell/shared 0.2.153 → 0.2.154

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.
@@ -86,6 +86,23 @@ export declare const AdminClientCreateSchema: import("drizzle-zod").BuildSchema<
86
86
  identity: undefined;
87
87
  generated: undefined;
88
88
  }, {}, {}>;
89
+ linkedInUrl: import("drizzle-orm/pg-core").PgColumn<{
90
+ name: "linkedInUrl";
91
+ tableName: "clients";
92
+ dataType: "string";
93
+ columnType: "PgText";
94
+ data: string;
95
+ driverParam: string;
96
+ notNull: false;
97
+ hasDefault: false;
98
+ isPrimaryKey: false;
99
+ isAutoincrement: false;
100
+ hasRuntimeDefault: false;
101
+ enumValues: [string, ...string[]];
102
+ baseColumn: never;
103
+ identity: undefined;
104
+ generated: undefined;
105
+ }, {}, {}>;
89
106
  referralFee: import("drizzle-orm/pg-core").PgColumn<{
90
107
  name: "referralFee";
91
108
  tableName: "clients";
@@ -103,6 +120,40 @@ export declare const AdminClientCreateSchema: import("drizzle-zod").BuildSchema<
103
120
  identity: undefined;
104
121
  generated: undefined;
105
122
  }, {}, {}>;
123
+ employeesMin: import("drizzle-orm/pg-core").PgColumn<{
124
+ name: "employeesMin";
125
+ tableName: "clients";
126
+ dataType: "number";
127
+ columnType: "PgInteger";
128
+ data: number;
129
+ driverParam: string | number;
130
+ notNull: false;
131
+ hasDefault: false;
132
+ isPrimaryKey: false;
133
+ isAutoincrement: false;
134
+ hasRuntimeDefault: false;
135
+ enumValues: undefined;
136
+ baseColumn: never;
137
+ identity: undefined;
138
+ generated: undefined;
139
+ }, {}, {}>;
140
+ employeesMax: import("drizzle-orm/pg-core").PgColumn<{
141
+ name: "employeesMax";
142
+ tableName: "clients";
143
+ dataType: "number";
144
+ columnType: "PgInteger";
145
+ data: number;
146
+ driverParam: string | number;
147
+ notNull: false;
148
+ hasDefault: false;
149
+ isPrimaryKey: false;
150
+ isAutoincrement: false;
151
+ hasRuntimeDefault: false;
152
+ enumValues: undefined;
153
+ baseColumn: never;
154
+ identity: undefined;
155
+ generated: undefined;
156
+ }, {}, {}>;
106
157
  sourcePersonId: import("drizzle-orm/pg-core").PgColumn<{
107
158
  name: "sourcePersonId";
108
159
  tableName: "clients";
@@ -120,6 +171,23 @@ export declare const AdminClientCreateSchema: import("drizzle-zod").BuildSchema<
120
171
  identity: undefined;
121
172
  generated: undefined;
122
173
  }, {}, {}>;
174
+ industryId: import("drizzle-orm/pg-core").PgColumn<{
175
+ name: "industryId";
176
+ tableName: "clients";
177
+ dataType: "string";
178
+ columnType: "PgUUID";
179
+ data: string;
180
+ driverParam: string;
181
+ notNull: false;
182
+ hasDefault: false;
183
+ isPrimaryKey: false;
184
+ isAutoincrement: false;
185
+ hasRuntimeDefault: false;
186
+ enumValues: undefined;
187
+ baseColumn: never;
188
+ identity: undefined;
189
+ generated: undefined;
190
+ }, {}, {}>;
123
191
  sourceCampaignId: import("drizzle-orm/pg-core").PgColumn<{
124
192
  name: "sourceCampaignId";
125
193
  tableName: "clients";
@@ -239,6 +307,23 @@ export declare const AdminClientCreateSchema: import("drizzle-zod").BuildSchema<
239
307
  identity: undefined;
240
308
  generated: undefined;
241
309
  }, {}, {}>;
310
+ sourceDescription: import("drizzle-orm/pg-core").PgColumn<{
311
+ name: "sourceDescription";
312
+ tableName: "clients";
313
+ dataType: "string";
314
+ columnType: "PgText";
315
+ data: string;
316
+ driverParam: string;
317
+ notNull: false;
318
+ hasDefault: false;
319
+ isPrimaryKey: false;
320
+ isAutoincrement: false;
321
+ hasRuntimeDefault: false;
322
+ enumValues: [string, ...string[]];
323
+ baseColumn: never;
324
+ identity: undefined;
325
+ generated: undefined;
326
+ }, {}, {}>;
242
327
  status: import("drizzle-orm/pg-core").PgColumn<{
243
328
  name: "status";
244
329
  tableName: "clients";
@@ -256,6 +341,74 @@ export declare const AdminClientCreateSchema: import("drizzle-zod").BuildSchema<
256
341
  identity: undefined;
257
342
  generated: undefined;
258
343
  }, {}, {}>;
344
+ nextSteps: import("drizzle-orm/pg-core").PgColumn<{
345
+ name: "nextSteps";
346
+ tableName: "clients";
347
+ dataType: "string";
348
+ columnType: "PgText";
349
+ data: string;
350
+ driverParam: string;
351
+ notNull: false;
352
+ hasDefault: false;
353
+ isPrimaryKey: false;
354
+ isAutoincrement: false;
355
+ hasRuntimeDefault: false;
356
+ enumValues: [string, ...string[]];
357
+ baseColumn: never;
358
+ identity: undefined;
359
+ generated: undefined;
360
+ }, {}, {}>;
361
+ isContractSent: import("drizzle-orm/pg-core").PgColumn<{
362
+ name: "isContractSent";
363
+ tableName: "clients";
364
+ dataType: "boolean";
365
+ columnType: "PgBoolean";
366
+ data: boolean;
367
+ driverParam: boolean;
368
+ notNull: false;
369
+ hasDefault: true;
370
+ isPrimaryKey: false;
371
+ isAutoincrement: false;
372
+ hasRuntimeDefault: false;
373
+ enumValues: undefined;
374
+ baseColumn: never;
375
+ identity: undefined;
376
+ generated: undefined;
377
+ }, {}, {}>;
378
+ followUpAt: import("drizzle-orm/pg-core").PgColumn<{
379
+ name: "followUpAt";
380
+ tableName: "clients";
381
+ dataType: "date";
382
+ columnType: "PgTimestamp";
383
+ data: Date;
384
+ driverParam: string;
385
+ notNull: false;
386
+ hasDefault: false;
387
+ isPrimaryKey: false;
388
+ isAutoincrement: false;
389
+ hasRuntimeDefault: false;
390
+ enumValues: undefined;
391
+ baseColumn: never;
392
+ identity: undefined;
393
+ generated: undefined;
394
+ }, {}, {}>;
395
+ initialOutreachAt: import("drizzle-orm/pg-core").PgColumn<{
396
+ name: "initialOutreachAt";
397
+ tableName: "clients";
398
+ dataType: "date";
399
+ columnType: "PgTimestamp";
400
+ data: Date;
401
+ driverParam: string;
402
+ notNull: false;
403
+ hasDefault: false;
404
+ isPrimaryKey: false;
405
+ isAutoincrement: false;
406
+ hasRuntimeDefault: false;
407
+ enumValues: undefined;
408
+ baseColumn: never;
409
+ identity: undefined;
410
+ generated: undefined;
411
+ }, {}, {}>;
259
412
  deletedAt: import("drizzle-orm/pg-core").PgColumn<{
260
413
  name: "deletedAt";
261
414
  tableName: "clients";
@@ -314,8 +467,12 @@ export declare const AdminClientSelectSchema: z.ZodObject<{
314
467
  description: z.ZodNullable<z.ZodString>;
315
468
  isLead: z.ZodBoolean;
316
469
  websiteUrl: z.ZodNullable<z.ZodString>;
470
+ linkedInUrl: z.ZodNullable<z.ZodString>;
317
471
  referralFee: z.ZodNullable<z.ZodInt>;
472
+ employeesMin: z.ZodNullable<z.ZodInt>;
473
+ employeesMax: z.ZodNullable<z.ZodInt>;
318
474
  sourcePersonId: z.ZodNullable<z.ZodUUID>;
475
+ industryId: z.ZodNullable<z.ZodUUID>;
319
476
  sourceCampaignId: z.ZodNullable<z.ZodUUID>;
320
477
  formMessage: z.ZodNullable<z.ZodString>;
321
478
  referralFeePercentage: z.ZodNumber;
@@ -328,11 +485,16 @@ export declare const AdminClientSelectSchema: z.ZodObject<{
328
485
  SOCIAL_MEDIA: "SOCIAL_MEDIA";
329
486
  SOURCED: "SOURCED";
330
487
  }>>;
488
+ sourceDescription: z.ZodNullable<z.ZodString>;
331
489
  status: z.ZodNullable<z.ZodEnum<{
332
490
  ACTIVE: "ACTIVE";
333
491
  INACTIVE: "INACTIVE";
334
492
  POTENTIAL: "POTENTIAL";
335
493
  }>>;
494
+ nextSteps: z.ZodNullable<z.ZodString>;
495
+ isContractSent: z.ZodNullable<z.ZodBoolean>;
496
+ followUpAt: z.ZodNullable<z.ZodDate>;
497
+ initialOutreachAt: z.ZodNullable<z.ZodDate>;
336
498
  deletedAt: z.ZodNullable<z.ZodDate>;
337
499
  createdAt: z.ZodDate;
338
500
  updatedAt: z.ZodDate;
@@ -444,6 +606,23 @@ export declare const AdminClientUpdateSchema: import("drizzle-zod").BuildSchema<
444
606
  identity: undefined;
445
607
  generated: undefined;
446
608
  }, {}, {}>;
609
+ linkedInUrl: import("drizzle-orm/pg-core").PgColumn<{
610
+ name: "linkedInUrl";
611
+ tableName: "clients";
612
+ dataType: "string";
613
+ columnType: "PgText";
614
+ data: string;
615
+ driverParam: string;
616
+ notNull: false;
617
+ hasDefault: false;
618
+ isPrimaryKey: false;
619
+ isAutoincrement: false;
620
+ hasRuntimeDefault: false;
621
+ enumValues: [string, ...string[]];
622
+ baseColumn: never;
623
+ identity: undefined;
624
+ generated: undefined;
625
+ }, {}, {}>;
447
626
  referralFee: import("drizzle-orm/pg-core").PgColumn<{
448
627
  name: "referralFee";
449
628
  tableName: "clients";
@@ -461,6 +640,40 @@ export declare const AdminClientUpdateSchema: import("drizzle-zod").BuildSchema<
461
640
  identity: undefined;
462
641
  generated: undefined;
463
642
  }, {}, {}>;
643
+ employeesMin: import("drizzle-orm/pg-core").PgColumn<{
644
+ name: "employeesMin";
645
+ tableName: "clients";
646
+ dataType: "number";
647
+ columnType: "PgInteger";
648
+ data: number;
649
+ driverParam: string | number;
650
+ notNull: false;
651
+ hasDefault: false;
652
+ isPrimaryKey: false;
653
+ isAutoincrement: false;
654
+ hasRuntimeDefault: false;
655
+ enumValues: undefined;
656
+ baseColumn: never;
657
+ identity: undefined;
658
+ generated: undefined;
659
+ }, {}, {}>;
660
+ employeesMax: import("drizzle-orm/pg-core").PgColumn<{
661
+ name: "employeesMax";
662
+ tableName: "clients";
663
+ dataType: "number";
664
+ columnType: "PgInteger";
665
+ data: number;
666
+ driverParam: string | number;
667
+ notNull: false;
668
+ hasDefault: false;
669
+ isPrimaryKey: false;
670
+ isAutoincrement: false;
671
+ hasRuntimeDefault: false;
672
+ enumValues: undefined;
673
+ baseColumn: never;
674
+ identity: undefined;
675
+ generated: undefined;
676
+ }, {}, {}>;
464
677
  sourcePersonId: import("drizzle-orm/pg-core").PgColumn<{
465
678
  name: "sourcePersonId";
466
679
  tableName: "clients";
@@ -478,6 +691,23 @@ export declare const AdminClientUpdateSchema: import("drizzle-zod").BuildSchema<
478
691
  identity: undefined;
479
692
  generated: undefined;
480
693
  }, {}, {}>;
694
+ industryId: import("drizzle-orm/pg-core").PgColumn<{
695
+ name: "industryId";
696
+ tableName: "clients";
697
+ dataType: "string";
698
+ columnType: "PgUUID";
699
+ data: string;
700
+ driverParam: string;
701
+ notNull: false;
702
+ hasDefault: false;
703
+ isPrimaryKey: false;
704
+ isAutoincrement: false;
705
+ hasRuntimeDefault: false;
706
+ enumValues: undefined;
707
+ baseColumn: never;
708
+ identity: undefined;
709
+ generated: undefined;
710
+ }, {}, {}>;
481
711
  sourceCampaignId: import("drizzle-orm/pg-core").PgColumn<{
482
712
  name: "sourceCampaignId";
483
713
  tableName: "clients";
@@ -597,6 +827,23 @@ export declare const AdminClientUpdateSchema: import("drizzle-zod").BuildSchema<
597
827
  identity: undefined;
598
828
  generated: undefined;
599
829
  }, {}, {}>;
830
+ sourceDescription: import("drizzle-orm/pg-core").PgColumn<{
831
+ name: "sourceDescription";
832
+ tableName: "clients";
833
+ dataType: "string";
834
+ columnType: "PgText";
835
+ data: string;
836
+ driverParam: string;
837
+ notNull: false;
838
+ hasDefault: false;
839
+ isPrimaryKey: false;
840
+ isAutoincrement: false;
841
+ hasRuntimeDefault: false;
842
+ enumValues: [string, ...string[]];
843
+ baseColumn: never;
844
+ identity: undefined;
845
+ generated: undefined;
846
+ }, {}, {}>;
600
847
  status: import("drizzle-orm/pg-core").PgColumn<{
601
848
  name: "status";
602
849
  tableName: "clients";
@@ -614,6 +861,74 @@ export declare const AdminClientUpdateSchema: import("drizzle-zod").BuildSchema<
614
861
  identity: undefined;
615
862
  generated: undefined;
616
863
  }, {}, {}>;
864
+ nextSteps: import("drizzle-orm/pg-core").PgColumn<{
865
+ name: "nextSteps";
866
+ tableName: "clients";
867
+ dataType: "string";
868
+ columnType: "PgText";
869
+ data: string;
870
+ driverParam: string;
871
+ notNull: false;
872
+ hasDefault: false;
873
+ isPrimaryKey: false;
874
+ isAutoincrement: false;
875
+ hasRuntimeDefault: false;
876
+ enumValues: [string, ...string[]];
877
+ baseColumn: never;
878
+ identity: undefined;
879
+ generated: undefined;
880
+ }, {}, {}>;
881
+ isContractSent: import("drizzle-orm/pg-core").PgColumn<{
882
+ name: "isContractSent";
883
+ tableName: "clients";
884
+ dataType: "boolean";
885
+ columnType: "PgBoolean";
886
+ data: boolean;
887
+ driverParam: boolean;
888
+ notNull: false;
889
+ hasDefault: true;
890
+ isPrimaryKey: false;
891
+ isAutoincrement: false;
892
+ hasRuntimeDefault: false;
893
+ enumValues: undefined;
894
+ baseColumn: never;
895
+ identity: undefined;
896
+ generated: undefined;
897
+ }, {}, {}>;
898
+ followUpAt: import("drizzle-orm/pg-core").PgColumn<{
899
+ name: "followUpAt";
900
+ tableName: "clients";
901
+ dataType: "date";
902
+ columnType: "PgTimestamp";
903
+ data: Date;
904
+ driverParam: string;
905
+ notNull: false;
906
+ hasDefault: false;
907
+ isPrimaryKey: false;
908
+ isAutoincrement: false;
909
+ hasRuntimeDefault: false;
910
+ enumValues: undefined;
911
+ baseColumn: never;
912
+ identity: undefined;
913
+ generated: undefined;
914
+ }, {}, {}>;
915
+ initialOutreachAt: import("drizzle-orm/pg-core").PgColumn<{
916
+ name: "initialOutreachAt";
917
+ tableName: "clients";
918
+ dataType: "date";
919
+ columnType: "PgTimestamp";
920
+ data: Date;
921
+ driverParam: string;
922
+ notNull: false;
923
+ hasDefault: false;
924
+ isPrimaryKey: false;
925
+ isAutoincrement: false;
926
+ hasRuntimeDefault: false;
927
+ enumValues: undefined;
928
+ baseColumn: never;
929
+ identity: undefined;
930
+ generated: undefined;
931
+ }, {}, {}>;
617
932
  deletedAt: import("drizzle-orm/pg-core").PgColumn<{
618
933
  name: "deletedAt";
619
934
  tableName: "clients";
@@ -154,12 +154,12 @@ export declare const AdminPersonCreateSchema: z.ZodObject<{
154
154
  lat: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
155
155
  lon: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
156
156
  websiteUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
+ linkedInUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
158
  sourcePersonId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
158
159
  sourceCampaignId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
159
160
  emailIsVerified: z.ZodOptional<z.ZodBoolean>;
160
161
  firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
162
  lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
- linkedInUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
163
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
164
  phoneIsVerified: z.ZodOptional<z.ZodBoolean>;
165
165
  emailIsOptedOut: z.ZodOptional<z.ZodBoolean>;
@@ -1686,9 +1686,9 @@ export declare const ResumeParserSchema: z.ZodObject<{
1686
1686
  }>>;
1687
1687
  city: z.ZodNullable<z.ZodString>;
1688
1688
  websiteUrl: z.ZodNullable<z.ZodString>;
1689
+ linkedInUrl: z.ZodNullable<z.ZodString>;
1689
1690
  firstName: z.ZodNullable<z.ZodString>;
1690
1691
  lastName: z.ZodNullable<z.ZodString>;
1691
- linkedInUrl: z.ZodNullable<z.ZodString>;
1692
1692
  phone: z.ZodNullable<z.ZodString>;
1693
1693
  educations: z.ZodArray<z.ZodObject<{
1694
1694
  id: z.ZodUUID;
@@ -576,6 +576,23 @@ export declare const client: import("drizzle-orm/pg-core").PgTableWithColumns<{
576
576
  identity: undefined;
577
577
  generated: undefined;
578
578
  }, {}, {}>;
579
+ linkedInUrl: import("drizzle-orm/pg-core").PgColumn<{
580
+ name: "linkedInUrl";
581
+ tableName: "clients";
582
+ dataType: "string";
583
+ columnType: "PgText";
584
+ data: string;
585
+ driverParam: string;
586
+ notNull: false;
587
+ hasDefault: false;
588
+ isPrimaryKey: false;
589
+ isAutoincrement: false;
590
+ hasRuntimeDefault: false;
591
+ enumValues: [string, ...string[]];
592
+ baseColumn: never;
593
+ identity: undefined;
594
+ generated: undefined;
595
+ }, {}, {}>;
579
596
  referralFee: import("drizzle-orm/pg-core").PgColumn<{
580
597
  name: "referralFee";
581
598
  tableName: "clients";
@@ -593,6 +610,40 @@ export declare const client: import("drizzle-orm/pg-core").PgTableWithColumns<{
593
610
  identity: undefined;
594
611
  generated: undefined;
595
612
  }, {}, {}>;
613
+ employeesMin: import("drizzle-orm/pg-core").PgColumn<{
614
+ name: "employeesMin";
615
+ tableName: "clients";
616
+ dataType: "number";
617
+ columnType: "PgInteger";
618
+ data: number;
619
+ driverParam: string | number;
620
+ notNull: false;
621
+ hasDefault: false;
622
+ isPrimaryKey: false;
623
+ isAutoincrement: false;
624
+ hasRuntimeDefault: false;
625
+ enumValues: undefined;
626
+ baseColumn: never;
627
+ identity: undefined;
628
+ generated: undefined;
629
+ }, {}, {}>;
630
+ employeesMax: import("drizzle-orm/pg-core").PgColumn<{
631
+ name: "employeesMax";
632
+ tableName: "clients";
633
+ dataType: "number";
634
+ columnType: "PgInteger";
635
+ data: number;
636
+ driverParam: string | number;
637
+ notNull: false;
638
+ hasDefault: false;
639
+ isPrimaryKey: false;
640
+ isAutoincrement: false;
641
+ hasRuntimeDefault: false;
642
+ enumValues: undefined;
643
+ baseColumn: never;
644
+ identity: undefined;
645
+ generated: undefined;
646
+ }, {}, {}>;
596
647
  sourcePersonId: import("drizzle-orm/pg-core").PgColumn<{
597
648
  name: "sourcePersonId";
598
649
  tableName: "clients";
@@ -610,6 +661,23 @@ export declare const client: import("drizzle-orm/pg-core").PgTableWithColumns<{
610
661
  identity: undefined;
611
662
  generated: undefined;
612
663
  }, {}, {}>;
664
+ industryId: import("drizzle-orm/pg-core").PgColumn<{
665
+ name: "industryId";
666
+ tableName: "clients";
667
+ dataType: "string";
668
+ columnType: "PgUUID";
669
+ data: string;
670
+ driverParam: string;
671
+ notNull: false;
672
+ hasDefault: false;
673
+ isPrimaryKey: false;
674
+ isAutoincrement: false;
675
+ hasRuntimeDefault: false;
676
+ enumValues: undefined;
677
+ baseColumn: never;
678
+ identity: undefined;
679
+ generated: undefined;
680
+ }, {}, {}>;
613
681
  sourceCampaignId: import("drizzle-orm/pg-core").PgColumn<{
614
682
  name: "sourceCampaignId";
615
683
  tableName: "clients";
@@ -729,6 +797,23 @@ export declare const client: import("drizzle-orm/pg-core").PgTableWithColumns<{
729
797
  identity: undefined;
730
798
  generated: undefined;
731
799
  }, {}, {}>;
800
+ sourceDescription: import("drizzle-orm/pg-core").PgColumn<{
801
+ name: "sourceDescription";
802
+ tableName: "clients";
803
+ dataType: "string";
804
+ columnType: "PgText";
805
+ data: string;
806
+ driverParam: string;
807
+ notNull: false;
808
+ hasDefault: false;
809
+ isPrimaryKey: false;
810
+ isAutoincrement: false;
811
+ hasRuntimeDefault: false;
812
+ enumValues: [string, ...string[]];
813
+ baseColumn: never;
814
+ identity: undefined;
815
+ generated: undefined;
816
+ }, {}, {}>;
732
817
  status: import("drizzle-orm/pg-core").PgColumn<{
733
818
  name: "status";
734
819
  tableName: "clients";
@@ -746,6 +831,74 @@ export declare const client: import("drizzle-orm/pg-core").PgTableWithColumns<{
746
831
  identity: undefined;
747
832
  generated: undefined;
748
833
  }, {}, {}>;
834
+ nextSteps: import("drizzle-orm/pg-core").PgColumn<{
835
+ name: "nextSteps";
836
+ tableName: "clients";
837
+ dataType: "string";
838
+ columnType: "PgText";
839
+ data: string;
840
+ driverParam: string;
841
+ notNull: false;
842
+ hasDefault: false;
843
+ isPrimaryKey: false;
844
+ isAutoincrement: false;
845
+ hasRuntimeDefault: false;
846
+ enumValues: [string, ...string[]];
847
+ baseColumn: never;
848
+ identity: undefined;
849
+ generated: undefined;
850
+ }, {}, {}>;
851
+ isContractSent: import("drizzle-orm/pg-core").PgColumn<{
852
+ name: "isContractSent";
853
+ tableName: "clients";
854
+ dataType: "boolean";
855
+ columnType: "PgBoolean";
856
+ data: boolean;
857
+ driverParam: boolean;
858
+ notNull: false;
859
+ hasDefault: true;
860
+ isPrimaryKey: false;
861
+ isAutoincrement: false;
862
+ hasRuntimeDefault: false;
863
+ enumValues: undefined;
864
+ baseColumn: never;
865
+ identity: undefined;
866
+ generated: undefined;
867
+ }, {}, {}>;
868
+ followUpAt: import("drizzle-orm/pg-core").PgColumn<{
869
+ name: "followUpAt";
870
+ tableName: "clients";
871
+ dataType: "date";
872
+ columnType: "PgTimestamp";
873
+ data: Date;
874
+ driverParam: string;
875
+ notNull: false;
876
+ hasDefault: false;
877
+ isPrimaryKey: false;
878
+ isAutoincrement: false;
879
+ hasRuntimeDefault: false;
880
+ enumValues: undefined;
881
+ baseColumn: never;
882
+ identity: undefined;
883
+ generated: undefined;
884
+ }, {}, {}>;
885
+ initialOutreachAt: import("drizzle-orm/pg-core").PgColumn<{
886
+ name: "initialOutreachAt";
887
+ tableName: "clients";
888
+ dataType: "date";
889
+ columnType: "PgTimestamp";
890
+ data: Date;
891
+ driverParam: string;
892
+ notNull: false;
893
+ hasDefault: false;
894
+ isPrimaryKey: false;
895
+ isAutoincrement: false;
896
+ hasRuntimeDefault: false;
897
+ enumValues: undefined;
898
+ baseColumn: never;
899
+ identity: undefined;
900
+ generated: undefined;
901
+ }, {}, {}>;
749
902
  deletedAt: import("drizzle-orm/pg-core").PgColumn<{
750
903
  name: "deletedAt";
751
904
  tableName: "clients";
@@ -6887,6 +7040,7 @@ export declare const clientRelations: import("drizzle-orm").Relations<"clients",
6887
7040
  referral: import("drizzle-orm").One<"referrals", false>;
6888
7041
  contracts: import("drizzle-orm").Many<"contracts">;
6889
7042
  persons: import("drizzle-orm").Many<"persons">;
7043
+ industry: import("drizzle-orm").One<"industries", false>;
6890
7044
  sourcePerson: import("drizzle-orm").One<"persons", false>;
6891
7045
  sourceCampaign: import("drizzle-orm").One<"campaigns", false>;
6892
7046
  }>;
@@ -6906,6 +7060,7 @@ export declare const experienceRelations: import("drizzle-orm").Relations<"exper
6906
7060
  industry: import("drizzle-orm").One<"industries", false>;
6907
7061
  }>;
6908
7062
  export declare const industryRelations: import("drizzle-orm").Relations<"industries", {
7063
+ clients: import("drizzle-orm").Many<"clients">;
6909
7064
  experiences: import("drizzle-orm").Many<"experiences">;
6910
7065
  positions: import("drizzle-orm").Many<"positions">;
6911
7066
  }>;
@@ -150,11 +150,18 @@ exports.client = (0, pg_core_1.pgTable)('clients', {
150
150
  description: (0, pg_core_1.text)(),
151
151
  isLead: (0, pg_core_1.boolean)().default(false).notNull(),
152
152
  websiteUrl: (0, pg_core_1.text)(),
153
+ linkedInUrl: (0, pg_core_1.text)(),
153
154
  referralFee: (0, pg_core_1.integer)(),
155
+ employeesMin: (0, pg_core_1.integer)(),
156
+ employeesMax: (0, pg_core_1.integer)(),
154
157
  sourcePersonId: (0, pg_core_1.uuid)().references(() => exports.person.id, {
155
158
  onUpdate: 'cascade',
156
159
  onDelete: 'set null'
157
160
  }),
161
+ industryId: (0, pg_core_1.uuid)().references(() => exports.industry.id, {
162
+ onUpdate: 'cascade',
163
+ onDelete: 'set null'
164
+ }),
158
165
  sourceCampaignId: (0, pg_core_1.uuid)().references(() => exports.campaign.id, {
159
166
  onUpdate: 'cascade',
160
167
  onDelete: 'set null'
@@ -165,7 +172,20 @@ exports.client = (0, pg_core_1.pgTable)('clients', {
165
172
  recruitingSearchFee: (0, pg_core_1.integer)(),
166
173
  staffingSearchFee: (0, pg_core_1.integer)(),
167
174
  source: (0, exports.ClientSources)(),
175
+ sourceDescription: (0, pg_core_1.text)(),
168
176
  status: (0, exports.ClientStatuses)().default('ACTIVE'),
177
+ nextSteps: (0, pg_core_1.text)(),
178
+ isContractSent: (0, pg_core_1.boolean)().default(false),
179
+ followUpAt: (0, pg_core_1.timestamp)({
180
+ precision: 3,
181
+ mode: 'date',
182
+ withTimezone: true
183
+ }),
184
+ initialOutreachAt: (0, pg_core_1.timestamp)({
185
+ precision: 3,
186
+ mode: 'date',
187
+ withTimezone: true
188
+ }),
169
189
  deletedAt: (0, pg_core_1.timestamp)({ precision: 3, mode: 'date', withTimezone: true }),
170
190
  createdAt: (0, pg_core_1.timestamp)({ precision: 3, mode: 'date', withTimezone: true })
171
191
  .defaultNow()
@@ -1333,6 +1353,10 @@ exports.clientRelations = (0, drizzle_orm_1.relations)(exports.client, ({ many,
1333
1353
  referral: one(exports.referral),
1334
1354
  contracts: many(exports.contract),
1335
1355
  persons: many(exports.person),
1356
+ industry: one(exports.industry, {
1357
+ fields: [exports.client.industryId],
1358
+ references: [exports.industry.id]
1359
+ }),
1336
1360
  sourcePerson: one(exports.person, {
1337
1361
  fields: [exports.client.sourcePersonId],
1338
1362
  references: [exports.person.id],
@@ -1380,6 +1404,7 @@ exports.experienceRelations = (0, drizzle_orm_1.relations)(exports.experience, (
1380
1404
  })
1381
1405
  }));
1382
1406
  exports.industryRelations = (0, drizzle_orm_1.relations)(exports.industry, ({ many }) => ({
1407
+ clients: many(exports.client),
1383
1408
  experiences: many(exports.experience),
1384
1409
  positions: many(exports.position)
1385
1410
  }));