@elevasis/ui 2.22.0 → 2.24.0

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 (57) hide show
  1. package/dist/app/index.d.ts +2915 -0
  2. package/dist/app/index.js +5 -4
  3. package/dist/{chunk-3HEUGBOT.js → chunk-2WZ635SS.js} +2 -2
  4. package/dist/{chunk-GJ7EIABJ.js → chunk-4NWNS7TX.js} +1 -1
  5. package/dist/{chunk-LKVBEE63.js → chunk-FUEXGRFR.js} +2 -2
  6. package/dist/{chunk-6IA2OMAE.js → chunk-HC2KV6BU.js} +9 -0
  7. package/dist/{chunk-IBUYJXA3.js → chunk-KCJ6VATY.js} +1133 -578
  8. package/dist/{chunk-WWJ6S2HQ.js → chunk-KLFIJDTD.js} +1 -1
  9. package/dist/{chunk-COG4ABRI.js → chunk-M2HWJY6O.js} +704 -375
  10. package/dist/{chunk-LVJGPE6H.js → chunk-MTR6AN2C.js} +3 -12
  11. package/dist/chunk-OWHQ65EQ.js +211 -0
  12. package/dist/{chunk-XOTJNW4Q.js → chunk-QIW6OCEI.js} +18 -1
  13. package/dist/{chunk-B4FHWKEF.js → chunk-QULLZ5PE.js} +193 -10
  14. package/dist/{chunk-QZJM3RYI.js → chunk-SNHGSCKH.js} +1 -1
  15. package/dist/{chunk-LVUCBY7X.js → chunk-UDJE54WN.js} +85 -3
  16. package/dist/{chunk-IOTLB6ND.js → chunk-VGNAV3TH.js} +406 -195
  17. package/dist/{chunk-BSZRKBAW.js → chunk-YBZT7MJR.js} +3 -3
  18. package/dist/{chunk-SQ5JGELM.js → chunk-ZDKQNQ4X.js} +19 -1
  19. package/dist/components/index.d.ts +500 -466
  20. package/dist/components/index.js +75 -32
  21. package/dist/components/navigation/index.js +2 -2
  22. package/dist/features/auth/index.d.ts +472 -389
  23. package/dist/features/crm/index.d.ts +468 -391
  24. package/dist/features/crm/index.js +8 -8
  25. package/dist/features/dashboard/index.js +8 -8
  26. package/dist/features/delivery/index.d.ts +466 -383
  27. package/dist/features/delivery/index.js +8 -8
  28. package/dist/features/lead-gen/index.d.ts +213 -65
  29. package/dist/features/lead-gen/index.js +9 -8
  30. package/dist/features/monitoring/index.js +9 -9
  31. package/dist/features/monitoring/requests/index.js +7 -7
  32. package/dist/features/operations/index.js +11 -10
  33. package/dist/features/settings/index.d.ts +472 -389
  34. package/dist/features/settings/index.js +9 -9
  35. package/dist/hooks/delivery/index.d.ts +466 -383
  36. package/dist/hooks/index.d.ts +967 -744
  37. package/dist/hooks/index.js +7 -7
  38. package/dist/hooks/published.d.ts +967 -744
  39. package/dist/hooks/published.js +7 -7
  40. package/dist/index.d.ts +1360 -1069
  41. package/dist/index.js +8 -8
  42. package/dist/initialization/index.d.ts +472 -389
  43. package/dist/organization/index.d.ts +11 -1
  44. package/dist/organization/index.js +2 -2
  45. package/dist/profile/index.d.ts +472 -389
  46. package/dist/provider/index.d.ts +3132 -169
  47. package/dist/provider/index.js +6 -6
  48. package/dist/provider/published.d.ts +3098 -168
  49. package/dist/provider/published.js +3 -3
  50. package/dist/supabase/index.d.ts +577 -413
  51. package/dist/test-utils/index.d.ts +21 -1
  52. package/dist/test-utils/index.js +13 -4
  53. package/dist/theme/index.js +2 -2
  54. package/dist/types/index.d.ts +472 -389
  55. package/package.json +2 -2
  56. package/src/test-utils/README.md +2 -0
  57. /package/dist/{chunk-ZBCTB5CA.js → chunk-EIOJNUPL.js} +0 -0
@@ -5,10 +5,57 @@ type Json = string | number | boolean | null | {
5
5
  } | Json[];
6
6
  type Database = {
7
7
  __InternalSupabase: {
8
- PostgrestVersion: "12.2.3 (519615d)";
8
+ PostgrestVersion: '12.2.3 (519615d)';
9
9
  };
10
10
  public: {
11
11
  Tables: {
12
+ acq_artifacts: {
13
+ Row: {
14
+ content: Json;
15
+ created_at: string;
16
+ created_by: string | null;
17
+ id: string;
18
+ kind: string;
19
+ organization_id: string;
20
+ owner_id: string;
21
+ owner_kind: string;
22
+ source_execution_id: string | null;
23
+ version: number;
24
+ };
25
+ Insert: {
26
+ content: Json;
27
+ created_at?: string;
28
+ created_by?: string | null;
29
+ id?: string;
30
+ kind: string;
31
+ organization_id: string;
32
+ owner_id: string;
33
+ owner_kind: string;
34
+ source_execution_id?: string | null;
35
+ version?: number;
36
+ };
37
+ Update: {
38
+ content?: Json;
39
+ created_at?: string;
40
+ created_by?: string | null;
41
+ id?: string;
42
+ kind?: string;
43
+ organization_id?: string;
44
+ owner_id?: string;
45
+ owner_kind?: string;
46
+ source_execution_id?: string | null;
47
+ version?: number;
48
+ };
49
+ Relationships: [
50
+ {
51
+ foreignKeyName: 'acq_artifacts_organization_id_fkey';
52
+ columns: ['organization_id'];
53
+ isOneToOne: false;
54
+ referencedRelation: 'organizations';
55
+ referencedColumns: ['id'];
56
+ }
57
+ ];
58
+ };
12
59
  acq_companies: {
13
60
  Row: {
14
61
  batch_id: string | null;
@@ -27,6 +74,9 @@ type Database = {
27
74
  num_employees: number | null;
28
75
  organization_id: string;
29
76
  pipeline_status: Json;
77
+ qualification_rubric_key: string | null;
78
+ qualification_score: number | null;
79
+ qualification_signals: Json | null;
30
80
  segment: string | null;
31
81
  source: string | null;
32
82
  status: string;
@@ -50,6 +100,9 @@ type Database = {
50
100
  num_employees?: number | null;
51
101
  organization_id: string;
52
102
  pipeline_status?: Json;
103
+ qualification_rubric_key?: string | null;
104
+ qualification_score?: number | null;
105
+ qualification_signals?: Json | null;
53
106
  segment?: string | null;
54
107
  source?: string | null;
55
108
  status?: string;
@@ -73,6 +126,9 @@ type Database = {
73
126
  num_employees?: number | null;
74
127
  organization_id?: string;
75
128
  pipeline_status?: Json;
129
+ qualification_rubric_key?: string | null;
130
+ qualification_score?: number | null;
131
+ qualification_signals?: Json | null;
76
132
  segment?: string | null;
77
133
  source?: string | null;
78
134
  status?: string;
@@ -81,11 +137,11 @@ type Database = {
81
137
  };
82
138
  Relationships: [
83
139
  {
84
- foreignKeyName: "acq_companies_organization_id_fkey";
85
- columns: ["organization_id"];
140
+ foreignKeyName: 'acq_companies_organization_id_fkey';
141
+ columns: ['organization_id'];
86
142
  isOneToOne: false;
87
- referencedRelation: "organizations";
88
- referencedColumns: ["id"];
143
+ referencedRelation: 'organizations';
144
+ referencedColumns: ['id'];
89
145
  }
90
146
  ];
91
147
  };
@@ -109,6 +165,9 @@ type Database = {
109
165
  opening_line: string | null;
110
166
  organization_id: string;
111
167
  pipeline_status: Json;
168
+ qualification_rubric_key: string | null;
169
+ qualification_score: number | null;
170
+ qualification_signals: Json | null;
112
171
  source: string | null;
113
172
  source_id: string | null;
114
173
  status: string;
@@ -134,6 +193,9 @@ type Database = {
134
193
  opening_line?: string | null;
135
194
  organization_id: string;
136
195
  pipeline_status?: Json;
196
+ qualification_rubric_key?: string | null;
197
+ qualification_score?: number | null;
198
+ qualification_signals?: Json | null;
137
199
  source?: string | null;
138
200
  source_id?: string | null;
139
201
  status?: string;
@@ -159,6 +221,9 @@ type Database = {
159
221
  opening_line?: string | null;
160
222
  organization_id?: string;
161
223
  pipeline_status?: Json;
224
+ qualification_rubric_key?: string | null;
225
+ qualification_score?: number | null;
226
+ qualification_signals?: Json | null;
162
227
  source?: string | null;
163
228
  source_id?: string | null;
164
229
  status?: string;
@@ -167,18 +232,18 @@ type Database = {
167
232
  };
168
233
  Relationships: [
169
234
  {
170
- foreignKeyName: "acq_contacts_company_id_fkey";
171
- columns: ["company_id"];
235
+ foreignKeyName: 'acq_contacts_company_id_fkey';
236
+ columns: ['company_id'];
172
237
  isOneToOne: false;
173
- referencedRelation: "acq_companies";
174
- referencedColumns: ["id"];
238
+ referencedRelation: 'acq_companies';
239
+ referencedColumns: ['id'];
175
240
  },
176
241
  {
177
- foreignKeyName: "acq_contacts_organization_id_fkey";
178
- columns: ["organization_id"];
242
+ foreignKeyName: 'acq_contacts_organization_id_fkey';
243
+ columns: ['organization_id'];
179
244
  isOneToOne: false;
180
- referencedRelation: "organizations";
181
- referencedColumns: ["id"];
245
+ referencedRelation: 'organizations';
246
+ referencedColumns: ['id'];
182
247
  }
183
248
  ];
184
249
  };
@@ -215,11 +280,11 @@ type Database = {
215
280
  };
216
281
  Relationships: [
217
282
  {
218
- foreignKeyName: "acq_content_organization_id_fkey";
219
- columns: ["organization_id"];
283
+ foreignKeyName: 'acq_content_organization_id_fkey';
284
+ columns: ['organization_id'];
220
285
  isOneToOne: false;
221
- referencedRelation: "organizations";
222
- referencedColumns: ["id"];
286
+ referencedRelation: 'organizations';
287
+ referencedColumns: ['id'];
223
288
  }
224
289
  ];
225
290
  };
@@ -283,18 +348,18 @@ type Database = {
283
348
  };
284
349
  Relationships: [
285
350
  {
286
- foreignKeyName: "acq_content_distributions_content_id_fkey";
287
- columns: ["content_id"];
351
+ foreignKeyName: 'acq_content_distributions_content_id_fkey';
352
+ columns: ['content_id'];
288
353
  isOneToOne: false;
289
- referencedRelation: "acq_content";
290
- referencedColumns: ["id"];
354
+ referencedRelation: 'acq_content';
355
+ referencedColumns: ['id'];
291
356
  },
292
357
  {
293
- foreignKeyName: "acq_content_distributions_organization_id_fkey";
294
- columns: ["organization_id"];
358
+ foreignKeyName: 'acq_content_distributions_organization_id_fkey';
359
+ columns: ['organization_id'];
295
360
  isOneToOne: false;
296
- referencedRelation: "organizations";
297
- referencedColumns: ["id"];
361
+ referencedRelation: 'organizations';
362
+ referencedColumns: ['id'];
298
363
  }
299
364
  ];
300
365
  };
@@ -328,18 +393,18 @@ type Database = {
328
393
  };
329
394
  Relationships: [
330
395
  {
331
- foreignKeyName: "acq_deal_notes_deal_id_fkey";
332
- columns: ["deal_id"];
396
+ foreignKeyName: 'acq_deal_notes_deal_id_fkey';
397
+ columns: ['deal_id'];
333
398
  isOneToOne: false;
334
- referencedRelation: "acq_deals";
335
- referencedColumns: ["id"];
399
+ referencedRelation: 'acq_deals';
400
+ referencedColumns: ['id'];
336
401
  },
337
402
  {
338
- foreignKeyName: "acq_deal_notes_organization_id_fkey";
339
- columns: ["organization_id"];
403
+ foreignKeyName: 'acq_deal_notes_organization_id_fkey';
404
+ columns: ['organization_id'];
340
405
  isOneToOne: false;
341
- referencedRelation: "organizations";
342
- referencedColumns: ["id"];
406
+ referencedRelation: 'organizations';
407
+ referencedColumns: ['id'];
343
408
  }
344
409
  ];
345
410
  };
@@ -391,25 +456,24 @@ type Database = {
391
456
  };
392
457
  Relationships: [
393
458
  {
394
- foreignKeyName: "acq_deal_tasks_deal_id_fkey";
395
- columns: ["deal_id"];
459
+ foreignKeyName: 'acq_deal_tasks_deal_id_fkey';
460
+ columns: ['deal_id'];
396
461
  isOneToOne: false;
397
- referencedRelation: "acq_deals";
398
- referencedColumns: ["id"];
462
+ referencedRelation: 'acq_deals';
463
+ referencedColumns: ['id'];
399
464
  },
400
465
  {
401
- foreignKeyName: "acq_deal_tasks_organization_id_fkey";
402
- columns: ["organization_id"];
466
+ foreignKeyName: 'acq_deal_tasks_organization_id_fkey';
467
+ columns: ['organization_id'];
403
468
  isOneToOne: false;
404
- referencedRelation: "organizations";
405
- referencedColumns: ["id"];
469
+ referencedRelation: 'organizations';
470
+ referencedColumns: ['id'];
406
471
  }
407
472
  ];
408
473
  };
409
474
  acq_deals: {
410
475
  Row: {
411
476
  activity_log: Json;
412
- cached_stage: string | null;
413
477
  closed_lost_at: string | null;
414
478
  closed_lost_reason: string | null;
415
479
  contact_email: string;
@@ -424,6 +488,7 @@ type Database = {
424
488
  organization_id: string;
425
489
  payment_link_sent_at: string | null;
426
490
  payment_received_at: string | null;
491
+ pipeline_key: string;
427
492
  proposal_data: Json | null;
428
493
  proposal_generated_at: string | null;
429
494
  proposal_pdf_url: string | null;
@@ -431,10 +496,11 @@ type Database = {
431
496
  proposal_reviewed_by: string | null;
432
497
  proposal_sent_at: string | null;
433
498
  proposal_signed_at: string | null;
434
- proposal_status: string | null;
435
499
  signature_envelope_id: string | null;
436
500
  source_list_id: string | null;
437
501
  source_type: string | null;
502
+ stage_key: string | null;
503
+ state_key: string | null;
438
504
  stripe_payment_id: string | null;
439
505
  stripe_payment_link: string | null;
440
506
  stripe_payment_link_id: string | null;
@@ -443,7 +509,6 @@ type Database = {
443
509
  };
444
510
  Insert: {
445
511
  activity_log?: Json;
446
- cached_stage?: string | null;
447
512
  closed_lost_at?: string | null;
448
513
  closed_lost_reason?: string | null;
449
514
  contact_email: string;
@@ -458,6 +523,7 @@ type Database = {
458
523
  organization_id: string;
459
524
  payment_link_sent_at?: string | null;
460
525
  payment_received_at?: string | null;
526
+ pipeline_key?: string;
461
527
  proposal_data?: Json | null;
462
528
  proposal_generated_at?: string | null;
463
529
  proposal_pdf_url?: string | null;
@@ -465,10 +531,11 @@ type Database = {
465
531
  proposal_reviewed_by?: string | null;
466
532
  proposal_sent_at?: string | null;
467
533
  proposal_signed_at?: string | null;
468
- proposal_status?: string | null;
469
534
  signature_envelope_id?: string | null;
470
535
  source_list_id?: string | null;
471
536
  source_type?: string | null;
537
+ stage_key?: string | null;
538
+ state_key?: string | null;
472
539
  stripe_payment_id?: string | null;
473
540
  stripe_payment_link?: string | null;
474
541
  stripe_payment_link_id?: string | null;
@@ -477,7 +544,6 @@ type Database = {
477
544
  };
478
545
  Update: {
479
546
  activity_log?: Json;
480
- cached_stage?: string | null;
481
547
  closed_lost_at?: string | null;
482
548
  closed_lost_reason?: string | null;
483
549
  contact_email?: string;
@@ -492,6 +558,7 @@ type Database = {
492
558
  organization_id?: string;
493
559
  payment_link_sent_at?: string | null;
494
560
  payment_received_at?: string | null;
561
+ pipeline_key?: string;
495
562
  proposal_data?: Json | null;
496
563
  proposal_generated_at?: string | null;
497
564
  proposal_pdf_url?: string | null;
@@ -499,10 +566,11 @@ type Database = {
499
566
  proposal_reviewed_by?: string | null;
500
567
  proposal_sent_at?: string | null;
501
568
  proposal_signed_at?: string | null;
502
- proposal_status?: string | null;
503
569
  signature_envelope_id?: string | null;
504
570
  source_list_id?: string | null;
505
571
  source_type?: string | null;
572
+ stage_key?: string | null;
573
+ state_key?: string | null;
506
574
  stripe_payment_id?: string | null;
507
575
  stripe_payment_link?: string | null;
508
576
  stripe_payment_link_id?: string | null;
@@ -511,86 +579,95 @@ type Database = {
511
579
  };
512
580
  Relationships: [
513
581
  {
514
- foreignKeyName: "acq_deals_contact_id_fkey";
515
- columns: ["contact_id"];
582
+ foreignKeyName: 'acq_deals_contact_id_fkey';
583
+ columns: ['contact_id'];
516
584
  isOneToOne: false;
517
- referencedRelation: "acq_contacts";
518
- referencedColumns: ["id"];
585
+ referencedRelation: 'acq_contacts';
586
+ referencedColumns: ['id'];
519
587
  },
520
588
  {
521
- foreignKeyName: "acq_deals_organization_id_fkey";
522
- columns: ["organization_id"];
589
+ foreignKeyName: 'acq_deals_organization_id_fkey';
590
+ columns: ['organization_id'];
523
591
  isOneToOne: false;
524
- referencedRelation: "organizations";
525
- referencedColumns: ["id"];
592
+ referencedRelation: 'organizations';
593
+ referencedColumns: ['id'];
526
594
  },
527
595
  {
528
- foreignKeyName: "acq_deals_source_list_id_fkey";
529
- columns: ["source_list_id"];
596
+ foreignKeyName: 'acq_deals_source_list_id_fkey';
597
+ columns: ['source_list_id'];
530
598
  isOneToOne: false;
531
- referencedRelation: "acq_lists";
532
- referencedColumns: ["id"];
599
+ referencedRelation: 'acq_lists';
600
+ referencedColumns: ['id'];
533
601
  }
534
602
  ];
535
603
  };
536
604
  acq_list_companies: {
537
605
  Row: {
606
+ activity_log: Json;
538
607
  added_at: string;
539
608
  added_by: string | null;
540
609
  company_id: string;
541
610
  id: string;
542
611
  list_id: string;
612
+ pipeline_key: string;
613
+ processing_state: Json;
543
614
  source_execution_id: string | null;
544
615
  source_input_hash: string | null;
545
616
  source_resource_id: string | null;
546
- stage: string | null;
547
- stage_updated_at: string | null;
617
+ stage_key: string;
618
+ state_key: string;
548
619
  };
549
620
  Insert: {
621
+ activity_log?: Json;
550
622
  added_at?: string;
551
623
  added_by?: string | null;
552
624
  company_id: string;
553
625
  id?: string;
554
626
  list_id: string;
627
+ pipeline_key?: string;
628
+ processing_state?: Json;
555
629
  source_execution_id?: string | null;
556
630
  source_input_hash?: string | null;
557
631
  source_resource_id?: string | null;
558
- stage?: string | null;
559
- stage_updated_at?: string | null;
632
+ stage_key: string;
633
+ state_key: string;
560
634
  };
561
635
  Update: {
636
+ activity_log?: Json;
562
637
  added_at?: string;
563
638
  added_by?: string | null;
564
639
  company_id?: string;
565
640
  id?: string;
566
641
  list_id?: string;
642
+ pipeline_key?: string;
643
+ processing_state?: Json;
567
644
  source_execution_id?: string | null;
568
645
  source_input_hash?: string | null;
569
646
  source_resource_id?: string | null;
570
- stage?: string | null;
571
- stage_updated_at?: string | null;
647
+ stage_key?: string;
648
+ state_key?: string;
572
649
  };
573
650
  Relationships: [
574
651
  {
575
- foreignKeyName: "acq_list_companies_company_id_fkey";
576
- columns: ["company_id"];
652
+ foreignKeyName: 'acq_list_companies_company_id_fkey';
653
+ columns: ['company_id'];
577
654
  isOneToOne: false;
578
- referencedRelation: "acq_companies";
579
- referencedColumns: ["id"];
655
+ referencedRelation: 'acq_companies';
656
+ referencedColumns: ['id'];
580
657
  },
581
658
  {
582
- foreignKeyName: "acq_list_companies_list_id_fkey";
583
- columns: ["list_id"];
659
+ foreignKeyName: 'acq_list_companies_list_id_fkey';
660
+ columns: ['list_id'];
584
661
  isOneToOne: false;
585
- referencedRelation: "acq_lists";
586
- referencedColumns: ["id"];
662
+ referencedRelation: 'acq_lists';
663
+ referencedColumns: ['id'];
587
664
  },
588
665
  {
589
- foreignKeyName: "acq_list_companies_source_execution_id_fkey";
590
- columns: ["source_execution_id"];
666
+ foreignKeyName: 'acq_list_companies_source_execution_id_fkey';
667
+ columns: ['source_execution_id'];
591
668
  isOneToOne: false;
592
- referencedRelation: "execution_logs";
593
- referencedColumns: ["execution_id"];
669
+ referencedRelation: 'execution_logs';
670
+ referencedColumns: ['execution_id'];
594
671
  }
595
672
  ];
596
673
  };
@@ -618,79 +695,88 @@ type Database = {
618
695
  };
619
696
  Relationships: [
620
697
  {
621
- foreignKeyName: "acq_list_executions_execution_id_fkey";
622
- columns: ["execution_id"];
698
+ foreignKeyName: 'acq_list_executions_execution_id_fkey';
699
+ columns: ['execution_id'];
623
700
  isOneToOne: false;
624
- referencedRelation: "execution_logs";
625
- referencedColumns: ["execution_id"];
701
+ referencedRelation: 'execution_logs';
702
+ referencedColumns: ['execution_id'];
626
703
  },
627
704
  {
628
- foreignKeyName: "acq_list_executions_list_id_fkey";
629
- columns: ["list_id"];
705
+ foreignKeyName: 'acq_list_executions_list_id_fkey';
706
+ columns: ['list_id'];
630
707
  isOneToOne: false;
631
- referencedRelation: "acq_lists";
632
- referencedColumns: ["id"];
708
+ referencedRelation: 'acq_lists';
709
+ referencedColumns: ['id'];
633
710
  }
634
711
  ];
635
712
  };
636
713
  acq_list_members: {
637
714
  Row: {
715
+ activity_log: Json;
638
716
  added_at: string;
639
717
  added_by: string | null;
640
718
  contact_id: string;
641
719
  id: string;
642
720
  list_id: string;
721
+ pipeline_key: string;
722
+ processing_state: Json;
643
723
  source_execution_id: string | null;
644
724
  source_input_hash: string | null;
645
725
  source_resource_id: string | null;
646
- stage: string | null;
647
- stage_updated_at: string | null;
726
+ stage_key: string;
727
+ state_key: string;
648
728
  };
649
729
  Insert: {
730
+ activity_log?: Json;
650
731
  added_at?: string;
651
732
  added_by?: string | null;
652
733
  contact_id: string;
653
734
  id?: string;
654
735
  list_id: string;
736
+ pipeline_key?: string;
737
+ processing_state?: Json;
655
738
  source_execution_id?: string | null;
656
739
  source_input_hash?: string | null;
657
740
  source_resource_id?: string | null;
658
- stage?: string | null;
659
- stage_updated_at?: string | null;
741
+ stage_key: string;
742
+ state_key: string;
660
743
  };
661
744
  Update: {
745
+ activity_log?: Json;
662
746
  added_at?: string;
663
747
  added_by?: string | null;
664
748
  contact_id?: string;
665
749
  id?: string;
666
750
  list_id?: string;
751
+ pipeline_key?: string;
752
+ processing_state?: Json;
667
753
  source_execution_id?: string | null;
668
754
  source_input_hash?: string | null;
669
755
  source_resource_id?: string | null;
670
- stage?: string | null;
671
- stage_updated_at?: string | null;
756
+ stage_key?: string;
757
+ state_key?: string;
672
758
  };
673
759
  Relationships: [
674
760
  {
675
- foreignKeyName: "acq_list_members_contact_id_fkey";
676
- columns: ["contact_id"];
761
+ foreignKeyName: 'acq_list_members_contact_id_fkey';
762
+ columns: ['contact_id'];
677
763
  isOneToOne: false;
678
- referencedRelation: "acq_contacts";
679
- referencedColumns: ["id"];
764
+ referencedRelation: 'acq_contacts';
765
+ referencedColumns: ['id'];
680
766
  },
681
767
  {
682
- foreignKeyName: "acq_list_members_list_id_fkey";
683
- columns: ["list_id"];
768
+ foreignKeyName: 'acq_list_members_list_id_fkey';
769
+ columns: ['list_id'];
684
770
  isOneToOne: false;
685
- referencedRelation: "acq_lists";
686
- referencedColumns: ["id"];
771
+ referencedRelation: 'acq_lists';
772
+ referencedColumns: ['id'];
687
773
  },
688
774
  {
689
- foreignKeyName: "acq_list_members_source_execution_id_fkey";
690
- columns: ["source_execution_id"];
775
+ foreignKeyName: 'acq_list_members_source_execution_id_fkey';
776
+ columns: ['source_execution_id'];
691
777
  isOneToOne: false;
692
- referencedRelation: "execution_logs";
693
- referencedColumns: ["execution_id"];
778
+ referencedRelation: 'execution_logs';
779
+ referencedColumns: ['execution_id'];
694
780
  }
695
781
  ];
696
782
  };
@@ -698,55 +784,58 @@ type Database = {
698
784
  Row: {
699
785
  batch_ids: string[];
700
786
  completed_at: string | null;
701
- config: Json;
702
787
  created_at: string;
703
788
  description: string | null;
789
+ icp: Json;
704
790
  id: string;
705
791
  instantly_campaign_id: string | null;
706
792
  launched_at: string | null;
707
793
  metadata: Json;
708
794
  name: string;
709
795
  organization_id: string;
796
+ pipeline_config: Json;
797
+ scraping_config: Json;
710
798
  status: string;
711
- type: string;
712
799
  };
713
800
  Insert: {
714
801
  batch_ids?: string[];
715
802
  completed_at?: string | null;
716
- config?: Json;
717
803
  created_at?: string;
718
804
  description?: string | null;
805
+ icp?: Json;
719
806
  id?: string;
720
807
  instantly_campaign_id?: string | null;
721
808
  launched_at?: string | null;
722
809
  metadata?: Json;
723
810
  name: string;
724
811
  organization_id: string;
812
+ pipeline_config?: Json;
813
+ scraping_config?: Json;
725
814
  status?: string;
726
- type?: string;
727
815
  };
728
816
  Update: {
729
817
  batch_ids?: string[];
730
818
  completed_at?: string | null;
731
- config?: Json;
732
819
  created_at?: string;
733
820
  description?: string | null;
821
+ icp?: Json;
734
822
  id?: string;
735
823
  instantly_campaign_id?: string | null;
736
824
  launched_at?: string | null;
737
825
  metadata?: Json;
738
826
  name?: string;
739
827
  organization_id?: string;
828
+ pipeline_config?: Json;
829
+ scraping_config?: Json;
740
830
  status?: string;
741
- type?: string;
742
831
  };
743
832
  Relationships: [
744
833
  {
745
- foreignKeyName: "acq_lists_organization_id_fkey";
746
- columns: ["organization_id"];
834
+ foreignKeyName: 'acq_lists_organization_id_fkey';
835
+ columns: ['organization_id'];
747
836
  isOneToOne: false;
748
- referencedRelation: "organizations";
749
- referencedColumns: ["id"];
837
+ referencedRelation: 'organizations';
838
+ referencedColumns: ['id'];
750
839
  }
751
840
  ];
752
841
  };
@@ -822,18 +911,18 @@ type Database = {
822
911
  };
823
912
  Relationships: [
824
913
  {
825
- foreignKeyName: "acq_seo_metrics_organization_id_fkey";
826
- columns: ["organization_id"];
914
+ foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
915
+ columns: ['organization_id'];
827
916
  isOneToOne: false;
828
- referencedRelation: "organizations";
829
- referencedColumns: ["id"];
917
+ referencedRelation: 'organizations';
918
+ referencedColumns: ['id'];
830
919
  },
831
920
  {
832
- foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
833
- columns: ["seo_page_id"];
921
+ foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
922
+ columns: ['seo_page_id'];
834
923
  isOneToOne: false;
835
- referencedRelation: "acq_seo_pages";
836
- referencedColumns: ["id"];
924
+ referencedRelation: 'acq_seo_pages';
925
+ referencedColumns: ['id'];
837
926
  }
838
927
  ];
839
928
  };
@@ -909,11 +998,11 @@ type Database = {
909
998
  };
910
999
  Relationships: [
911
1000
  {
912
- foreignKeyName: "acq_seo_pages_organization_id_fkey";
913
- columns: ["organization_id"];
1001
+ foreignKeyName: 'acq_seo_pages_organization_id_fkey';
1002
+ columns: ['organization_id'];
914
1003
  isOneToOne: false;
915
- referencedRelation: "organizations";
916
- referencedColumns: ["id"];
1004
+ referencedRelation: 'organizations';
1005
+ referencedColumns: ['id'];
917
1006
  }
918
1007
  ];
919
1008
  };
@@ -1010,11 +1099,11 @@ type Database = {
1010
1099
  };
1011
1100
  Relationships: [
1012
1101
  {
1013
- foreignKeyName: "acq_social_posts_organization_id_fkey";
1014
- columns: ["organization_id"];
1102
+ foreignKeyName: 'acq_social_posts_organization_id_fkey';
1103
+ columns: ['organization_id'];
1015
1104
  isOneToOne: false;
1016
- referencedRelation: "organizations";
1017
- referencedColumns: ["id"];
1105
+ referencedRelation: 'organizations';
1106
+ referencedColumns: ['id'];
1018
1107
  }
1019
1108
  ];
1020
1109
  };
@@ -1069,11 +1158,11 @@ type Database = {
1069
1158
  };
1070
1159
  Relationships: [
1071
1160
  {
1072
- foreignKeyName: "activities_organization_id_fkey";
1073
- columns: ["organization_id"];
1161
+ foreignKeyName: 'activities_organization_id_fkey';
1162
+ columns: ['organization_id'];
1074
1163
  isOneToOne: false;
1075
- referencedRelation: "organizations";
1076
- referencedColumns: ["id"];
1164
+ referencedRelation: 'organizations';
1165
+ referencedColumns: ['id'];
1077
1166
  }
1078
1167
  ];
1079
1168
  };
@@ -1104,11 +1193,11 @@ type Database = {
1104
1193
  };
1105
1194
  Relationships: [
1106
1195
  {
1107
- foreignKeyName: "api_keys_organization_id_fkey";
1108
- columns: ["organization_id"];
1196
+ foreignKeyName: 'api_keys_organization_id_fkey';
1197
+ columns: ['organization_id'];
1109
1198
  isOneToOne: false;
1110
- referencedRelation: "organizations";
1111
- referencedColumns: ["id"];
1199
+ referencedRelation: 'organizations';
1200
+ referencedColumns: ['id'];
1112
1201
  }
1113
1202
  ];
1114
1203
  };
@@ -1187,25 +1276,25 @@ type Database = {
1187
1276
  };
1188
1277
  Relationships: [
1189
1278
  {
1190
- foreignKeyName: "command_queue_completed_by_fkey";
1191
- columns: ["completed_by"];
1279
+ foreignKeyName: 'command_queue_completed_by_fkey';
1280
+ columns: ['completed_by'];
1192
1281
  isOneToOne: false;
1193
- referencedRelation: "users";
1194
- referencedColumns: ["id"];
1282
+ referencedRelation: 'users';
1283
+ referencedColumns: ['id'];
1195
1284
  },
1196
1285
  {
1197
- foreignKeyName: "command_queue_organization_id_fkey";
1198
- columns: ["organization_id"];
1286
+ foreignKeyName: 'command_queue_organization_id_fkey';
1287
+ columns: ['organization_id'];
1199
1288
  isOneToOne: false;
1200
- referencedRelation: "organizations";
1201
- referencedColumns: ["id"];
1289
+ referencedRelation: 'organizations';
1290
+ referencedColumns: ['id'];
1202
1291
  },
1203
1292
  {
1204
- foreignKeyName: "command_queue_target_execution_id_fkey";
1205
- columns: ["target_execution_id"];
1293
+ foreignKeyName: 'command_queue_target_execution_id_fkey';
1294
+ columns: ['target_execution_id'];
1206
1295
  isOneToOne: false;
1207
- referencedRelation: "execution_logs";
1208
- referencedColumns: ["execution_id"];
1296
+ referencedRelation: 'execution_logs';
1297
+ referencedColumns: ['execution_id'];
1209
1298
  }
1210
1299
  ];
1211
1300
  };
@@ -1245,18 +1334,18 @@ type Database = {
1245
1334
  };
1246
1335
  Relationships: [
1247
1336
  {
1248
- foreignKeyName: "credentials_created_by_fkey";
1249
- columns: ["created_by"];
1337
+ foreignKeyName: 'credentials_created_by_fkey';
1338
+ columns: ['created_by'];
1250
1339
  isOneToOne: false;
1251
- referencedRelation: "users";
1252
- referencedColumns: ["id"];
1340
+ referencedRelation: 'users';
1341
+ referencedColumns: ['id'];
1253
1342
  },
1254
1343
  {
1255
- foreignKeyName: "credentials_organization_id_fkey";
1256
- columns: ["organization_id"];
1344
+ foreignKeyName: 'credentials_organization_id_fkey';
1345
+ columns: ['organization_id'];
1257
1346
  isOneToOne: false;
1258
- referencedRelation: "organizations";
1259
- referencedColumns: ["id"];
1347
+ referencedRelation: 'organizations';
1348
+ referencedColumns: ['id'];
1260
1349
  }
1261
1350
  ];
1262
1351
  };
@@ -1302,11 +1391,11 @@ type Database = {
1302
1391
  };
1303
1392
  Relationships: [
1304
1393
  {
1305
- foreignKeyName: "deployments_organization_id_fkey";
1306
- columns: ["organization_id"];
1394
+ foreignKeyName: 'deployments_organization_id_fkey';
1395
+ columns: ['organization_id'];
1307
1396
  isOneToOne: false;
1308
- referencedRelation: "organizations";
1309
- referencedColumns: ["id"];
1397
+ referencedRelation: 'organizations';
1398
+ referencedColumns: ['id'];
1310
1399
  }
1311
1400
  ];
1312
1401
  };
@@ -1361,25 +1450,25 @@ type Database = {
1361
1450
  };
1362
1451
  Relationships: [
1363
1452
  {
1364
- foreignKeyName: "execution_errors_execution_id_fkey";
1365
- columns: ["execution_id"];
1453
+ foreignKeyName: 'execution_errors_execution_id_fkey';
1454
+ columns: ['execution_id'];
1366
1455
  isOneToOne: false;
1367
- referencedRelation: "execution_logs";
1368
- referencedColumns: ["execution_id"];
1456
+ referencedRelation: 'execution_logs';
1457
+ referencedColumns: ['execution_id'];
1369
1458
  },
1370
1459
  {
1371
- foreignKeyName: "execution_errors_organization_id_fkey";
1372
- columns: ["organization_id"];
1460
+ foreignKeyName: 'execution_errors_organization_id_fkey';
1461
+ columns: ['organization_id'];
1373
1462
  isOneToOne: false;
1374
- referencedRelation: "organizations";
1375
- referencedColumns: ["id"];
1463
+ referencedRelation: 'organizations';
1464
+ referencedColumns: ['id'];
1376
1465
  },
1377
1466
  {
1378
- foreignKeyName: "execution_errors_resolved_by_fkey";
1379
- columns: ["resolved_by"];
1467
+ foreignKeyName: 'execution_errors_resolved_by_fkey';
1468
+ columns: ['resolved_by'];
1380
1469
  isOneToOne: false;
1381
- referencedRelation: "users";
1382
- referencedColumns: ["id"];
1470
+ referencedRelation: 'users';
1471
+ referencedColumns: ['id'];
1383
1472
  }
1384
1473
  ];
1385
1474
  };
@@ -1461,32 +1550,32 @@ type Database = {
1461
1550
  };
1462
1551
  Relationships: [
1463
1552
  {
1464
- foreignKeyName: "execution_history_organization_id_fkey";
1465
- columns: ["organization_id"];
1553
+ foreignKeyName: 'execution_history_organization_id_fkey';
1554
+ columns: ['organization_id'];
1466
1555
  isOneToOne: false;
1467
- referencedRelation: "organizations";
1468
- referencedColumns: ["id"];
1556
+ referencedRelation: 'organizations';
1557
+ referencedColumns: ['id'];
1469
1558
  },
1470
1559
  {
1471
- foreignKeyName: "execution_logs_origin_execution_id_fkey";
1472
- columns: ["origin_execution_id"];
1560
+ foreignKeyName: 'execution_logs_origin_execution_id_fkey';
1561
+ columns: ['origin_execution_id'];
1473
1562
  isOneToOne: false;
1474
- referencedRelation: "execution_logs";
1475
- referencedColumns: ["execution_id"];
1563
+ referencedRelation: 'execution_logs';
1564
+ referencedColumns: ['execution_id'];
1476
1565
  },
1477
1566
  {
1478
- foreignKeyName: "execution_logs_session_id_fkey";
1479
- columns: ["session_id"];
1567
+ foreignKeyName: 'execution_logs_session_id_fkey';
1568
+ columns: ['session_id'];
1480
1569
  isOneToOne: false;
1481
- referencedRelation: "sessions";
1482
- referencedColumns: ["session_id"];
1570
+ referencedRelation: 'sessions';
1571
+ referencedColumns: ['session_id'];
1483
1572
  },
1484
1573
  {
1485
- foreignKeyName: "execution_logs_user_id_fkey";
1486
- columns: ["user_id"];
1574
+ foreignKeyName: 'execution_logs_user_id_fkey';
1575
+ columns: ['user_id'];
1487
1576
  isOneToOne: false;
1488
- referencedRelation: "users";
1489
- referencedColumns: ["id"];
1577
+ referencedRelation: 'users';
1578
+ referencedColumns: ['id'];
1490
1579
  }
1491
1580
  ];
1492
1581
  };
@@ -1532,18 +1621,18 @@ type Database = {
1532
1621
  };
1533
1622
  Relationships: [
1534
1623
  {
1535
- foreignKeyName: "execution_metrics_execution_id_fkey";
1536
- columns: ["execution_id"];
1624
+ foreignKeyName: 'execution_metrics_execution_id_fkey';
1625
+ columns: ['execution_id'];
1537
1626
  isOneToOne: true;
1538
- referencedRelation: "execution_logs";
1539
- referencedColumns: ["execution_id"];
1627
+ referencedRelation: 'execution_logs';
1628
+ referencedColumns: ['execution_id'];
1540
1629
  },
1541
1630
  {
1542
- foreignKeyName: "execution_metrics_organization_id_fkey";
1543
- columns: ["organization_id"];
1631
+ foreignKeyName: 'execution_metrics_organization_id_fkey';
1632
+ columns: ['organization_id'];
1544
1633
  isOneToOne: false;
1545
- referencedRelation: "organizations";
1546
- referencedColumns: ["id"];
1634
+ referencedRelation: 'organizations';
1635
+ referencedColumns: ['id'];
1547
1636
  }
1548
1637
  ];
1549
1638
  };
@@ -1586,18 +1675,18 @@ type Database = {
1586
1675
  };
1587
1676
  Relationships: [
1588
1677
  {
1589
- foreignKeyName: "notifications_organization_id_fkey";
1590
- columns: ["organization_id"];
1678
+ foreignKeyName: 'notifications_organization_id_fkey';
1679
+ columns: ['organization_id'];
1591
1680
  isOneToOne: false;
1592
- referencedRelation: "organizations";
1593
- referencedColumns: ["id"];
1681
+ referencedRelation: 'organizations';
1682
+ referencedColumns: ['id'];
1594
1683
  },
1595
1684
  {
1596
- foreignKeyName: "notifications_user_id_fkey";
1597
- columns: ["user_id"];
1685
+ foreignKeyName: 'notifications_user_id_fkey';
1686
+ columns: ['user_id'];
1598
1687
  isOneToOne: false;
1599
- referencedRelation: "users";
1600
- referencedColumns: ["id"];
1688
+ referencedRelation: 'users';
1689
+ referencedColumns: ['id'];
1601
1690
  }
1602
1691
  ];
1603
1692
  };
@@ -1652,18 +1741,18 @@ type Database = {
1652
1741
  };
1653
1742
  Relationships: [
1654
1743
  {
1655
- foreignKeyName: "org_invitations_inviter_user_id_fkey";
1656
- columns: ["inviter_user_id"];
1744
+ foreignKeyName: 'org_invitations_inviter_user_id_fkey';
1745
+ columns: ['inviter_user_id'];
1657
1746
  isOneToOne: false;
1658
- referencedRelation: "users";
1659
- referencedColumns: ["id"];
1747
+ referencedRelation: 'users';
1748
+ referencedColumns: ['id'];
1660
1749
  },
1661
1750
  {
1662
- foreignKeyName: "org_invitations_organization_id_fkey";
1663
- columns: ["organization_id"];
1751
+ foreignKeyName: 'org_invitations_organization_id_fkey';
1752
+ columns: ['organization_id'];
1664
1753
  isOneToOne: false;
1665
- referencedRelation: "organizations";
1666
- referencedColumns: ["id"];
1754
+ referencedRelation: 'organizations';
1755
+ referencedColumns: ['id'];
1667
1756
  }
1668
1757
  ];
1669
1758
  };
@@ -1706,18 +1795,18 @@ type Database = {
1706
1795
  };
1707
1796
  Relationships: [
1708
1797
  {
1709
- foreignKeyName: "org_memberships_organization_id_fkey";
1710
- columns: ["organization_id"];
1798
+ foreignKeyName: 'org_memberships_organization_id_fkey';
1799
+ columns: ['organization_id'];
1711
1800
  isOneToOne: false;
1712
- referencedRelation: "organizations";
1713
- referencedColumns: ["id"];
1801
+ referencedRelation: 'organizations';
1802
+ referencedColumns: ['id'];
1714
1803
  },
1715
1804
  {
1716
- foreignKeyName: "org_memberships_user_id_fkey";
1717
- columns: ["user_id"];
1805
+ foreignKeyName: 'org_memberships_user_id_fkey';
1806
+ columns: ['user_id'];
1718
1807
  isOneToOne: false;
1719
- referencedRelation: "users";
1720
- referencedColumns: ["id"];
1808
+ referencedRelation: 'users';
1809
+ referencedColumns: ['id'];
1721
1810
  }
1722
1811
  ];
1723
1812
  };
@@ -1742,25 +1831,25 @@ type Database = {
1742
1831
  };
1743
1832
  Relationships: [
1744
1833
  {
1745
- foreignKeyName: "org_rol_assignments_granted_by_fkey";
1746
- columns: ["granted_by"];
1834
+ foreignKeyName: 'org_rol_assignments_granted_by_fkey';
1835
+ columns: ['granted_by'];
1747
1836
  isOneToOne: false;
1748
- referencedRelation: "users";
1749
- referencedColumns: ["id"];
1837
+ referencedRelation: 'users';
1838
+ referencedColumns: ['id'];
1750
1839
  },
1751
1840
  {
1752
- foreignKeyName: "org_rol_assignments_membership_id_fkey";
1753
- columns: ["membership_id"];
1841
+ foreignKeyName: 'org_rol_assignments_membership_id_fkey';
1842
+ columns: ['membership_id'];
1754
1843
  isOneToOne: false;
1755
- referencedRelation: "org_memberships";
1756
- referencedColumns: ["id"];
1844
+ referencedRelation: 'org_memberships';
1845
+ referencedColumns: ['id'];
1757
1846
  },
1758
1847
  {
1759
- foreignKeyName: "org_rol_assignments_role_id_fkey";
1760
- columns: ["role_id"];
1848
+ foreignKeyName: 'org_rol_assignments_role_id_fkey';
1849
+ columns: ['role_id'];
1761
1850
  isOneToOne: false;
1762
- referencedRelation: "org_rol_definitions";
1763
- referencedColumns: ["id"];
1851
+ referencedRelation: 'org_rol_definitions';
1852
+ referencedColumns: ['id'];
1764
1853
  }
1765
1854
  ];
1766
1855
  };
@@ -1797,11 +1886,11 @@ type Database = {
1797
1886
  };
1798
1887
  Relationships: [
1799
1888
  {
1800
- foreignKeyName: "org_rol_definitions_organization_id_fkey";
1801
- columns: ["organization_id"];
1889
+ foreignKeyName: 'org_rol_definitions_organization_id_fkey';
1890
+ columns: ['organization_id'];
1802
1891
  isOneToOne: false;
1803
- referencedRelation: "organizations";
1804
- referencedColumns: ["id"];
1892
+ referencedRelation: 'organizations';
1893
+ referencedColumns: ['id'];
1805
1894
  }
1806
1895
  ];
1807
1896
  };
@@ -1823,18 +1912,18 @@ type Database = {
1823
1912
  };
1824
1913
  Relationships: [
1825
1914
  {
1826
- foreignKeyName: "org_rol_grants_permission_key_fkey";
1827
- columns: ["permission_key"];
1915
+ foreignKeyName: 'org_rol_grants_permission_key_fkey';
1916
+ columns: ['permission_key'];
1828
1917
  isOneToOne: false;
1829
- referencedRelation: "org_rol_permissions";
1830
- referencedColumns: ["key"];
1918
+ referencedRelation: 'org_rol_permissions';
1919
+ referencedColumns: ['key'];
1831
1920
  },
1832
1921
  {
1833
- foreignKeyName: "org_rol_grants_role_id_fkey";
1834
- columns: ["role_id"];
1922
+ foreignKeyName: 'org_rol_grants_role_id_fkey';
1923
+ columns: ['role_id'];
1835
1924
  isOneToOne: false;
1836
- referencedRelation: "org_rol_definitions";
1837
- referencedColumns: ["id"];
1925
+ referencedRelation: 'org_rol_definitions';
1926
+ referencedColumns: ['id'];
1838
1927
  }
1839
1928
  ];
1840
1929
  };
@@ -1946,25 +2035,25 @@ type Database = {
1946
2035
  };
1947
2036
  Relationships: [
1948
2037
  {
1949
- foreignKeyName: "fk_milestones_project";
1950
- columns: ["project_id"];
2038
+ foreignKeyName: 'fk_milestones_project';
2039
+ columns: ['project_id'];
1951
2040
  isOneToOne: false;
1952
- referencedRelation: "prj_projects";
1953
- referencedColumns: ["id"];
2041
+ referencedRelation: 'prj_projects';
2042
+ referencedColumns: ['id'];
1954
2043
  },
1955
2044
  {
1956
- foreignKeyName: "prj_milestones_organization_id_fkey";
1957
- columns: ["organization_id"];
2045
+ foreignKeyName: 'prj_milestones_organization_id_fkey';
2046
+ columns: ['organization_id'];
1958
2047
  isOneToOne: false;
1959
- referencedRelation: "organizations";
1960
- referencedColumns: ["id"];
2048
+ referencedRelation: 'organizations';
2049
+ referencedColumns: ['id'];
1961
2050
  },
1962
2051
  {
1963
- foreignKeyName: "prj_milestones_project_id_fkey";
1964
- columns: ["project_id"];
2052
+ foreignKeyName: 'prj_milestones_project_id_fkey';
2053
+ columns: ['project_id'];
1965
2054
  isOneToOne: false;
1966
- referencedRelation: "prj_projects";
1967
- referencedColumns: ["id"];
2055
+ referencedRelation: 'prj_projects';
2056
+ referencedColumns: ['id'];
1968
2057
  }
1969
2058
  ];
1970
2059
  };
@@ -2013,67 +2102,67 @@ type Database = {
2013
2102
  };
2014
2103
  Relationships: [
2015
2104
  {
2016
- foreignKeyName: "fk_notes_created_by";
2017
- columns: ["created_by"];
2105
+ foreignKeyName: 'fk_notes_created_by';
2106
+ columns: ['created_by'];
2018
2107
  isOneToOne: false;
2019
- referencedRelation: "users";
2020
- referencedColumns: ["id"];
2108
+ referencedRelation: 'users';
2109
+ referencedColumns: ['id'];
2021
2110
  },
2022
2111
  {
2023
- foreignKeyName: "fk_notes_milestone";
2024
- columns: ["milestone_id"];
2112
+ foreignKeyName: 'fk_notes_milestone';
2113
+ columns: ['milestone_id'];
2025
2114
  isOneToOne: false;
2026
- referencedRelation: "prj_milestones";
2027
- referencedColumns: ["id"];
2115
+ referencedRelation: 'prj_milestones';
2116
+ referencedColumns: ['id'];
2028
2117
  },
2029
2118
  {
2030
- foreignKeyName: "fk_notes_project";
2031
- columns: ["project_id"];
2119
+ foreignKeyName: 'fk_notes_project';
2120
+ columns: ['project_id'];
2032
2121
  isOneToOne: false;
2033
- referencedRelation: "prj_projects";
2034
- referencedColumns: ["id"];
2122
+ referencedRelation: 'prj_projects';
2123
+ referencedColumns: ['id'];
2035
2124
  },
2036
2125
  {
2037
- foreignKeyName: "fk_notes_task";
2038
- columns: ["task_id"];
2126
+ foreignKeyName: 'fk_notes_task';
2127
+ columns: ['task_id'];
2039
2128
  isOneToOne: false;
2040
- referencedRelation: "prj_tasks";
2041
- referencedColumns: ["id"];
2129
+ referencedRelation: 'prj_tasks';
2130
+ referencedColumns: ['id'];
2042
2131
  },
2043
2132
  {
2044
- foreignKeyName: "prj_notes_created_by_fkey";
2045
- columns: ["created_by"];
2133
+ foreignKeyName: 'prj_notes_created_by_fkey';
2134
+ columns: ['created_by'];
2046
2135
  isOneToOne: false;
2047
- referencedRelation: "users";
2048
- referencedColumns: ["id"];
2136
+ referencedRelation: 'users';
2137
+ referencedColumns: ['id'];
2049
2138
  },
2050
2139
  {
2051
- foreignKeyName: "prj_notes_milestone_id_fkey";
2052
- columns: ["milestone_id"];
2140
+ foreignKeyName: 'prj_notes_milestone_id_fkey';
2141
+ columns: ['milestone_id'];
2053
2142
  isOneToOne: false;
2054
- referencedRelation: "prj_milestones";
2055
- referencedColumns: ["id"];
2143
+ referencedRelation: 'prj_milestones';
2144
+ referencedColumns: ['id'];
2056
2145
  },
2057
2146
  {
2058
- foreignKeyName: "prj_notes_organization_id_fkey";
2059
- columns: ["organization_id"];
2147
+ foreignKeyName: 'prj_notes_organization_id_fkey';
2148
+ columns: ['organization_id'];
2060
2149
  isOneToOne: false;
2061
- referencedRelation: "organizations";
2062
- referencedColumns: ["id"];
2150
+ referencedRelation: 'organizations';
2151
+ referencedColumns: ['id'];
2063
2152
  },
2064
2153
  {
2065
- foreignKeyName: "prj_notes_project_id_fkey";
2066
- columns: ["project_id"];
2154
+ foreignKeyName: 'prj_notes_project_id_fkey';
2155
+ columns: ['project_id'];
2067
2156
  isOneToOne: false;
2068
- referencedRelation: "prj_projects";
2069
- referencedColumns: ["id"];
2157
+ referencedRelation: 'prj_projects';
2158
+ referencedColumns: ['id'];
2070
2159
  },
2071
2160
  {
2072
- foreignKeyName: "prj_notes_task_id_fkey";
2073
- columns: ["task_id"];
2161
+ foreignKeyName: 'prj_notes_task_id_fkey';
2162
+ columns: ['task_id'];
2074
2163
  isOneToOne: false;
2075
- referencedRelation: "prj_tasks";
2076
- referencedColumns: ["id"];
2164
+ referencedRelation: 'prj_tasks';
2165
+ referencedColumns: ['id'];
2077
2166
  }
2078
2167
  ];
2079
2168
  };
@@ -2131,39 +2220,39 @@ type Database = {
2131
2220
  };
2132
2221
  Relationships: [
2133
2222
  {
2134
- foreignKeyName: "fk_projects_company";
2135
- columns: ["client_company_id"];
2223
+ foreignKeyName: 'fk_projects_company';
2224
+ columns: ['client_company_id'];
2136
2225
  isOneToOne: false;
2137
- referencedRelation: "acq_companies";
2138
- referencedColumns: ["id"];
2226
+ referencedRelation: 'acq_companies';
2227
+ referencedColumns: ['id'];
2139
2228
  },
2140
2229
  {
2141
- foreignKeyName: "fk_projects_deal";
2142
- columns: ["deal_id"];
2230
+ foreignKeyName: 'fk_projects_deal';
2231
+ columns: ['deal_id'];
2143
2232
  isOneToOne: false;
2144
- referencedRelation: "acq_deals";
2145
- referencedColumns: ["id"];
2233
+ referencedRelation: 'acq_deals';
2234
+ referencedColumns: ['id'];
2146
2235
  },
2147
2236
  {
2148
- foreignKeyName: "prj_projects_client_company_id_fkey";
2149
- columns: ["client_company_id"];
2237
+ foreignKeyName: 'prj_projects_client_company_id_fkey';
2238
+ columns: ['client_company_id'];
2150
2239
  isOneToOne: false;
2151
- referencedRelation: "acq_companies";
2152
- referencedColumns: ["id"];
2240
+ referencedRelation: 'acq_companies';
2241
+ referencedColumns: ['id'];
2153
2242
  },
2154
2243
  {
2155
- foreignKeyName: "prj_projects_deal_id_fkey";
2156
- columns: ["deal_id"];
2244
+ foreignKeyName: 'prj_projects_deal_id_fkey';
2245
+ columns: ['deal_id'];
2157
2246
  isOneToOne: false;
2158
- referencedRelation: "acq_deals";
2159
- referencedColumns: ["id"];
2247
+ referencedRelation: 'acq_deals';
2248
+ referencedColumns: ['id'];
2160
2249
  },
2161
2250
  {
2162
- foreignKeyName: "prj_projects_organization_id_fkey";
2163
- columns: ["organization_id"];
2251
+ foreignKeyName: 'prj_projects_organization_id_fkey';
2252
+ columns: ['organization_id'];
2164
2253
  isOneToOne: false;
2165
- referencedRelation: "organizations";
2166
- referencedColumns: ["id"];
2254
+ referencedRelation: 'organizations';
2255
+ referencedColumns: ['id'];
2167
2256
  }
2168
2257
  ];
2169
2258
  };
@@ -2227,53 +2316,53 @@ type Database = {
2227
2316
  };
2228
2317
  Relationships: [
2229
2318
  {
2230
- foreignKeyName: "fk_tasks_milestone";
2231
- columns: ["milestone_id"];
2319
+ foreignKeyName: 'fk_tasks_milestone';
2320
+ columns: ['milestone_id'];
2232
2321
  isOneToOne: false;
2233
- referencedRelation: "prj_milestones";
2234
- referencedColumns: ["id"];
2322
+ referencedRelation: 'prj_milestones';
2323
+ referencedColumns: ['id'];
2235
2324
  },
2236
2325
  {
2237
- foreignKeyName: "fk_tasks_parent";
2238
- columns: ["parent_task_id"];
2326
+ foreignKeyName: 'fk_tasks_parent';
2327
+ columns: ['parent_task_id'];
2239
2328
  isOneToOne: false;
2240
- referencedRelation: "prj_tasks";
2241
- referencedColumns: ["id"];
2329
+ referencedRelation: 'prj_tasks';
2330
+ referencedColumns: ['id'];
2242
2331
  },
2243
2332
  {
2244
- foreignKeyName: "fk_tasks_project";
2245
- columns: ["project_id"];
2333
+ foreignKeyName: 'fk_tasks_project';
2334
+ columns: ['project_id'];
2246
2335
  isOneToOne: false;
2247
- referencedRelation: "prj_projects";
2248
- referencedColumns: ["id"];
2336
+ referencedRelation: 'prj_projects';
2337
+ referencedColumns: ['id'];
2249
2338
  },
2250
2339
  {
2251
- foreignKeyName: "prj_tasks_milestone_id_fkey";
2252
- columns: ["milestone_id"];
2340
+ foreignKeyName: 'prj_tasks_milestone_id_fkey';
2341
+ columns: ['milestone_id'];
2253
2342
  isOneToOne: false;
2254
- referencedRelation: "prj_milestones";
2255
- referencedColumns: ["id"];
2343
+ referencedRelation: 'prj_milestones';
2344
+ referencedColumns: ['id'];
2256
2345
  },
2257
2346
  {
2258
- foreignKeyName: "prj_tasks_organization_id_fkey";
2259
- columns: ["organization_id"];
2347
+ foreignKeyName: 'prj_tasks_organization_id_fkey';
2348
+ columns: ['organization_id'];
2260
2349
  isOneToOne: false;
2261
- referencedRelation: "organizations";
2262
- referencedColumns: ["id"];
2350
+ referencedRelation: 'organizations';
2351
+ referencedColumns: ['id'];
2263
2352
  },
2264
2353
  {
2265
- foreignKeyName: "prj_tasks_parent_task_id_fkey";
2266
- columns: ["parent_task_id"];
2354
+ foreignKeyName: 'prj_tasks_parent_task_id_fkey';
2355
+ columns: ['parent_task_id'];
2267
2356
  isOneToOne: false;
2268
- referencedRelation: "prj_tasks";
2269
- referencedColumns: ["id"];
2357
+ referencedRelation: 'prj_tasks';
2358
+ referencedColumns: ['id'];
2270
2359
  },
2271
2360
  {
2272
- foreignKeyName: "prj_tasks_project_id_fkey";
2273
- columns: ["project_id"];
2361
+ foreignKeyName: 'prj_tasks_project_id_fkey';
2362
+ columns: ['project_id'];
2274
2363
  isOneToOne: false;
2275
- referencedRelation: "prj_projects";
2276
- referencedColumns: ["id"];
2364
+ referencedRelation: 'prj_projects';
2365
+ referencedColumns: ['id'];
2277
2366
  }
2278
2367
  ];
2279
2368
  };
@@ -2343,25 +2432,25 @@ type Database = {
2343
2432
  };
2344
2433
  Relationships: [
2345
2434
  {
2346
- foreignKeyName: "reported_requests_organization_id_fkey";
2347
- columns: ["organization_id"];
2435
+ foreignKeyName: 'reported_requests_organization_id_fkey';
2436
+ columns: ['organization_id'];
2348
2437
  isOneToOne: false;
2349
- referencedRelation: "organizations";
2350
- referencedColumns: ["id"];
2438
+ referencedRelation: 'organizations';
2439
+ referencedColumns: ['id'];
2351
2440
  },
2352
2441
  {
2353
- foreignKeyName: "reported_requests_project_id_fkey";
2354
- columns: ["project_id"];
2442
+ foreignKeyName: 'reported_requests_project_id_fkey';
2443
+ columns: ['project_id'];
2355
2444
  isOneToOne: false;
2356
- referencedRelation: "prj_projects";
2357
- referencedColumns: ["id"];
2445
+ referencedRelation: 'prj_projects';
2446
+ referencedColumns: ['id'];
2358
2447
  },
2359
2448
  {
2360
- foreignKeyName: "reported_requests_task_id_fkey";
2361
- columns: ["task_id"];
2449
+ foreignKeyName: 'reported_requests_task_id_fkey';
2450
+ columns: ['task_id'];
2362
2451
  isOneToOne: false;
2363
- referencedRelation: "prj_tasks";
2364
- referencedColumns: ["id"];
2452
+ referencedRelation: 'prj_tasks';
2453
+ referencedColumns: ['id'];
2365
2454
  }
2366
2455
  ];
2367
2456
  };
@@ -2401,11 +2490,11 @@ type Database = {
2401
2490
  };
2402
2491
  Relationships: [
2403
2492
  {
2404
- foreignKeyName: "session_messages_session_id_fkey";
2405
- columns: ["session_id"];
2493
+ foreignKeyName: 'session_messages_session_id_fkey';
2494
+ columns: ['session_id'];
2406
2495
  isOneToOne: false;
2407
- referencedRelation: "sessions";
2408
- referencedColumns: ["session_id"];
2496
+ referencedRelation: 'sessions';
2497
+ referencedColumns: ['session_id'];
2409
2498
  }
2410
2499
  ];
2411
2500
  };
@@ -2460,18 +2549,18 @@ type Database = {
2460
2549
  };
2461
2550
  Relationships: [
2462
2551
  {
2463
- foreignKeyName: "fk_organization";
2464
- columns: ["organization_id"];
2552
+ foreignKeyName: 'fk_organization';
2553
+ columns: ['organization_id'];
2465
2554
  isOneToOne: false;
2466
- referencedRelation: "organizations";
2467
- referencedColumns: ["id"];
2555
+ referencedRelation: 'organizations';
2556
+ referencedColumns: ['id'];
2468
2557
  },
2469
2558
  {
2470
- foreignKeyName: "fk_user";
2471
- columns: ["user_id"];
2559
+ foreignKeyName: 'fk_user';
2560
+ columns: ['user_id'];
2472
2561
  isOneToOne: false;
2473
- referencedRelation: "users";
2474
- referencedColumns: ["id"];
2562
+ referencedRelation: 'users';
2563
+ referencedColumns: ['id'];
2475
2564
  }
2476
2565
  ];
2477
2566
  };
@@ -2547,11 +2636,11 @@ type Database = {
2547
2636
  };
2548
2637
  Relationships: [
2549
2638
  {
2550
- foreignKeyName: "task_schedules_organization_id_fkey";
2551
- columns: ["organization_id"];
2639
+ foreignKeyName: 'task_schedules_organization_id_fkey';
2640
+ columns: ['organization_id'];
2552
2641
  isOneToOne: false;
2553
- referencedRelation: "organizations";
2554
- referencedColumns: ["id"];
2642
+ referencedRelation: 'organizations';
2643
+ referencedColumns: ['id'];
2555
2644
  }
2556
2645
  ];
2557
2646
  };
@@ -2606,11 +2695,11 @@ type Database = {
2606
2695
  };
2607
2696
  Relationships: [
2608
2697
  {
2609
- foreignKeyName: "user_profiles_last_visited_org_fkey";
2610
- columns: ["last_visited_org"];
2698
+ foreignKeyName: 'user_profiles_last_visited_org_fkey';
2699
+ columns: ['last_visited_org'];
2611
2700
  isOneToOne: false;
2612
- referencedRelation: "organizations";
2613
- referencedColumns: ["id"];
2701
+ referencedRelation: 'organizations';
2702
+ referencedColumns: ['id'];
2614
2703
  }
2615
2704
  ];
2616
2705
  };
@@ -2659,11 +2748,11 @@ type Database = {
2659
2748
  };
2660
2749
  Relationships: [
2661
2750
  {
2662
- foreignKeyName: "webhook_endpoints_organization_id_fkey";
2663
- columns: ["organization_id"];
2751
+ foreignKeyName: 'webhook_endpoints_organization_id_fkey';
2752
+ columns: ['organization_id'];
2664
2753
  isOneToOne: false;
2665
- referencedRelation: "organizations";
2666
- referencedColumns: ["id"];
2754
+ referencedRelation: 'organizations';
2755
+ referencedColumns: ['id'];
2667
2756
  }
2668
2757
  ];
2669
2758
  };
@@ -2751,12 +2840,6 @@ type Database = {
2751
2840
  };
2752
2841
  Returns: boolean;
2753
2842
  };
2754
- is_org_admin: {
2755
- Args: {
2756
- org_id: string;
2757
- };
2758
- Returns: boolean;
2759
- };
2760
2843
  is_org_member: {
2761
2844
  Args: {
2762
2845
  org_id: string;
@@ -2821,6 +2904,51 @@ type Database = {
2821
2904
  declare function getSupabaseClient(): SupabaseClient<Database>;
2822
2905
  declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
2823
2906
  Tables: {
2907
+ acq_artifacts: {
2908
+ Row: {
2909
+ content: Json;
2910
+ created_at: string;
2911
+ created_by: string | null;
2912
+ id: string;
2913
+ kind: string;
2914
+ organization_id: string;
2915
+ owner_id: string;
2916
+ owner_kind: string;
2917
+ source_execution_id: string | null;
2918
+ version: number;
2919
+ };
2920
+ Insert: {
2921
+ content: Json;
2922
+ created_at?: string;
2923
+ created_by?: string | null;
2924
+ id?: string;
2925
+ kind: string;
2926
+ organization_id: string;
2927
+ owner_id: string;
2928
+ owner_kind: string;
2929
+ source_execution_id?: string | null;
2930
+ version?: number;
2931
+ };
2932
+ Update: {
2933
+ content?: Json;
2934
+ created_at?: string;
2935
+ created_by?: string | null;
2936
+ id?: string;
2937
+ kind?: string;
2938
+ organization_id?: string;
2939
+ owner_id?: string;
2940
+ owner_kind?: string;
2941
+ source_execution_id?: string | null;
2942
+ version?: number;
2943
+ };
2944
+ Relationships: [{
2945
+ foreignKeyName: "acq_artifacts_organization_id_fkey";
2946
+ columns: ["organization_id"];
2947
+ isOneToOne: false;
2948
+ referencedRelation: "organizations";
2949
+ referencedColumns: ["id"];
2950
+ }];
2951
+ };
2824
2952
  acq_companies: {
2825
2953
  Row: {
2826
2954
  batch_id: string | null;
@@ -2839,6 +2967,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
2839
2967
  num_employees: number | null;
2840
2968
  organization_id: string;
2841
2969
  pipeline_status: Json;
2970
+ qualification_rubric_key: string | null;
2971
+ qualification_score: number | null;
2972
+ qualification_signals: Json | null;
2842
2973
  segment: string | null;
2843
2974
  source: string | null;
2844
2975
  status: string;
@@ -2862,6 +2993,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
2862
2993
  num_employees?: number | null;
2863
2994
  organization_id: string;
2864
2995
  pipeline_status?: Json;
2996
+ qualification_rubric_key?: string | null;
2997
+ qualification_score?: number | null;
2998
+ qualification_signals?: Json | null;
2865
2999
  segment?: string | null;
2866
3000
  source?: string | null;
2867
3001
  status?: string;
@@ -2885,6 +3019,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
2885
3019
  num_employees?: number | null;
2886
3020
  organization_id?: string;
2887
3021
  pipeline_status?: Json;
3022
+ qualification_rubric_key?: string | null;
3023
+ qualification_score?: number | null;
3024
+ qualification_signals?: Json | null;
2888
3025
  segment?: string | null;
2889
3026
  source?: string | null;
2890
3027
  status?: string;
@@ -2919,6 +3056,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
2919
3056
  opening_line: string | null;
2920
3057
  organization_id: string;
2921
3058
  pipeline_status: Json;
3059
+ qualification_rubric_key: string | null;
3060
+ qualification_score: number | null;
3061
+ qualification_signals: Json | null;
2922
3062
  source: string | null;
2923
3063
  source_id: string | null;
2924
3064
  status: string;
@@ -2944,6 +3084,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
2944
3084
  opening_line?: string | null;
2945
3085
  organization_id: string;
2946
3086
  pipeline_status?: Json;
3087
+ qualification_rubric_key?: string | null;
3088
+ qualification_score?: number | null;
3089
+ qualification_signals?: Json | null;
2947
3090
  source?: string | null;
2948
3091
  source_id?: string | null;
2949
3092
  status?: string;
@@ -2969,6 +3112,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
2969
3112
  opening_line?: string | null;
2970
3113
  organization_id?: string;
2971
3114
  pipeline_status?: Json;
3115
+ qualification_rubric_key?: string | null;
3116
+ qualification_score?: number | null;
3117
+ qualification_signals?: Json | null;
2972
3118
  source?: string | null;
2973
3119
  source_id?: string | null;
2974
3120
  status?: string;
@@ -3205,7 +3351,6 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3205
3351
  acq_deals: {
3206
3352
  Row: {
3207
3353
  activity_log: Json;
3208
- cached_stage: string | null;
3209
3354
  closed_lost_at: string | null;
3210
3355
  closed_lost_reason: string | null;
3211
3356
  contact_email: string;
@@ -3220,6 +3365,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3220
3365
  organization_id: string;
3221
3366
  payment_link_sent_at: string | null;
3222
3367
  payment_received_at: string | null;
3368
+ pipeline_key: string;
3223
3369
  proposal_data: Json | null;
3224
3370
  proposal_generated_at: string | null;
3225
3371
  proposal_pdf_url: string | null;
@@ -3227,10 +3373,11 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3227
3373
  proposal_reviewed_by: string | null;
3228
3374
  proposal_sent_at: string | null;
3229
3375
  proposal_signed_at: string | null;
3230
- proposal_status: string | null;
3231
3376
  signature_envelope_id: string | null;
3232
3377
  source_list_id: string | null;
3233
3378
  source_type: string | null;
3379
+ stage_key: string | null;
3380
+ state_key: string | null;
3234
3381
  stripe_payment_id: string | null;
3235
3382
  stripe_payment_link: string | null;
3236
3383
  stripe_payment_link_id: string | null;
@@ -3239,7 +3386,6 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3239
3386
  };
3240
3387
  Insert: {
3241
3388
  activity_log?: Json;
3242
- cached_stage?: string | null;
3243
3389
  closed_lost_at?: string | null;
3244
3390
  closed_lost_reason?: string | null;
3245
3391
  contact_email: string;
@@ -3254,6 +3400,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3254
3400
  organization_id: string;
3255
3401
  payment_link_sent_at?: string | null;
3256
3402
  payment_received_at?: string | null;
3403
+ pipeline_key?: string;
3257
3404
  proposal_data?: Json | null;
3258
3405
  proposal_generated_at?: string | null;
3259
3406
  proposal_pdf_url?: string | null;
@@ -3261,10 +3408,11 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3261
3408
  proposal_reviewed_by?: string | null;
3262
3409
  proposal_sent_at?: string | null;
3263
3410
  proposal_signed_at?: string | null;
3264
- proposal_status?: string | null;
3265
3411
  signature_envelope_id?: string | null;
3266
3412
  source_list_id?: string | null;
3267
3413
  source_type?: string | null;
3414
+ stage_key?: string | null;
3415
+ state_key?: string | null;
3268
3416
  stripe_payment_id?: string | null;
3269
3417
  stripe_payment_link?: string | null;
3270
3418
  stripe_payment_link_id?: string | null;
@@ -3273,7 +3421,6 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3273
3421
  };
3274
3422
  Update: {
3275
3423
  activity_log?: Json;
3276
- cached_stage?: string | null;
3277
3424
  closed_lost_at?: string | null;
3278
3425
  closed_lost_reason?: string | null;
3279
3426
  contact_email?: string;
@@ -3288,6 +3435,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3288
3435
  organization_id?: string;
3289
3436
  payment_link_sent_at?: string | null;
3290
3437
  payment_received_at?: string | null;
3438
+ pipeline_key?: string;
3291
3439
  proposal_data?: Json | null;
3292
3440
  proposal_generated_at?: string | null;
3293
3441
  proposal_pdf_url?: string | null;
@@ -3295,10 +3443,11 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3295
3443
  proposal_reviewed_by?: string | null;
3296
3444
  proposal_sent_at?: string | null;
3297
3445
  proposal_signed_at?: string | null;
3298
- proposal_status?: string | null;
3299
3446
  signature_envelope_id?: string | null;
3300
3447
  source_list_id?: string | null;
3301
3448
  source_type?: string | null;
3449
+ stage_key?: string | null;
3450
+ state_key?: string | null;
3302
3451
  stripe_payment_id?: string | null;
3303
3452
  stripe_payment_link?: string | null;
3304
3453
  stripe_payment_link_id?: string | null;
@@ -3327,40 +3476,49 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3327
3476
  };
3328
3477
  acq_list_companies: {
3329
3478
  Row: {
3479
+ activity_log: Json;
3330
3480
  added_at: string;
3331
3481
  added_by: string | null;
3332
3482
  company_id: string;
3333
3483
  id: string;
3334
3484
  list_id: string;
3485
+ pipeline_key: string;
3486
+ processing_state: Json;
3335
3487
  source_execution_id: string | null;
3336
3488
  source_input_hash: string | null;
3337
3489
  source_resource_id: string | null;
3338
- stage: string | null;
3339
- stage_updated_at: string | null;
3490
+ stage_key: string;
3491
+ state_key: string;
3340
3492
  };
3341
3493
  Insert: {
3494
+ activity_log?: Json;
3342
3495
  added_at?: string;
3343
3496
  added_by?: string | null;
3344
3497
  company_id: string;
3345
3498
  id?: string;
3346
3499
  list_id: string;
3500
+ pipeline_key?: string;
3501
+ processing_state?: Json;
3347
3502
  source_execution_id?: string | null;
3348
3503
  source_input_hash?: string | null;
3349
3504
  source_resource_id?: string | null;
3350
- stage?: string | null;
3351
- stage_updated_at?: string | null;
3505
+ stage_key: string;
3506
+ state_key: string;
3352
3507
  };
3353
3508
  Update: {
3509
+ activity_log?: Json;
3354
3510
  added_at?: string;
3355
3511
  added_by?: string | null;
3356
3512
  company_id?: string;
3357
3513
  id?: string;
3358
3514
  list_id?: string;
3515
+ pipeline_key?: string;
3516
+ processing_state?: Json;
3359
3517
  source_execution_id?: string | null;
3360
3518
  source_input_hash?: string | null;
3361
3519
  source_resource_id?: string | null;
3362
- stage?: string | null;
3363
- stage_updated_at?: string | null;
3520
+ stage_key?: string;
3521
+ state_key?: string;
3364
3522
  };
3365
3523
  Relationships: [{
3366
3524
  foreignKeyName: "acq_list_companies_company_id_fkey";
@@ -3420,40 +3578,49 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3420
3578
  };
3421
3579
  acq_list_members: {
3422
3580
  Row: {
3581
+ activity_log: Json;
3423
3582
  added_at: string;
3424
3583
  added_by: string | null;
3425
3584
  contact_id: string;
3426
3585
  id: string;
3427
3586
  list_id: string;
3587
+ pipeline_key: string;
3588
+ processing_state: Json;
3428
3589
  source_execution_id: string | null;
3429
3590
  source_input_hash: string | null;
3430
3591
  source_resource_id: string | null;
3431
- stage: string | null;
3432
- stage_updated_at: string | null;
3592
+ stage_key: string;
3593
+ state_key: string;
3433
3594
  };
3434
3595
  Insert: {
3596
+ activity_log?: Json;
3435
3597
  added_at?: string;
3436
3598
  added_by?: string | null;
3437
3599
  contact_id: string;
3438
3600
  id?: string;
3439
3601
  list_id: string;
3602
+ pipeline_key?: string;
3603
+ processing_state?: Json;
3440
3604
  source_execution_id?: string | null;
3441
3605
  source_input_hash?: string | null;
3442
3606
  source_resource_id?: string | null;
3443
- stage?: string | null;
3444
- stage_updated_at?: string | null;
3607
+ stage_key: string;
3608
+ state_key: string;
3445
3609
  };
3446
3610
  Update: {
3611
+ activity_log?: Json;
3447
3612
  added_at?: string;
3448
3613
  added_by?: string | null;
3449
3614
  contact_id?: string;
3450
3615
  id?: string;
3451
3616
  list_id?: string;
3617
+ pipeline_key?: string;
3618
+ processing_state?: Json;
3452
3619
  source_execution_id?: string | null;
3453
3620
  source_input_hash?: string | null;
3454
3621
  source_resource_id?: string | null;
3455
- stage?: string | null;
3456
- stage_updated_at?: string | null;
3622
+ stage_key?: string;
3623
+ state_key?: string;
3457
3624
  };
3458
3625
  Relationships: [{
3459
3626
  foreignKeyName: "acq_list_members_contact_id_fkey";
@@ -3479,47 +3646,50 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3479
3646
  Row: {
3480
3647
  batch_ids: string[];
3481
3648
  completed_at: string | null;
3482
- config: Json;
3483
3649
  created_at: string;
3484
3650
  description: string | null;
3651
+ icp: Json;
3485
3652
  id: string;
3486
3653
  instantly_campaign_id: string | null;
3487
3654
  launched_at: string | null;
3488
3655
  metadata: Json;
3489
3656
  name: string;
3490
3657
  organization_id: string;
3658
+ pipeline_config: Json;
3659
+ scraping_config: Json;
3491
3660
  status: string;
3492
- type: string;
3493
3661
  };
3494
3662
  Insert: {
3495
3663
  batch_ids?: string[];
3496
3664
  completed_at?: string | null;
3497
- config?: Json;
3498
3665
  created_at?: string;
3499
3666
  description?: string | null;
3667
+ icp?: Json;
3500
3668
  id?: string;
3501
3669
  instantly_campaign_id?: string | null;
3502
3670
  launched_at?: string | null;
3503
3671
  metadata?: Json;
3504
3672
  name: string;
3505
3673
  organization_id: string;
3674
+ pipeline_config?: Json;
3675
+ scraping_config?: Json;
3506
3676
  status?: string;
3507
- type?: string;
3508
3677
  };
3509
3678
  Update: {
3510
3679
  batch_ids?: string[];
3511
3680
  completed_at?: string | null;
3512
- config?: Json;
3513
3681
  created_at?: string;
3514
3682
  description?: string | null;
3683
+ icp?: Json;
3515
3684
  id?: string;
3516
3685
  instantly_campaign_id?: string | null;
3517
3686
  launched_at?: string | null;
3518
3687
  metadata?: Json;
3519
3688
  name?: string;
3520
3689
  organization_id?: string;
3690
+ pipeline_config?: Json;
3691
+ scraping_config?: Json;
3521
3692
  status?: string;
3522
- type?: string;
3523
3693
  };
3524
3694
  Relationships: [{
3525
3695
  foreignKeyName: "acq_lists_organization_id_fkey";
@@ -5435,12 +5605,6 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
5435
5605
  };
5436
5606
  Returns: boolean;
5437
5607
  };
5438
- is_org_admin: {
5439
- Args: {
5440
- org_id: string;
5441
- };
5442
- Returns: boolean;
5443
- };
5444
5608
  is_org_member: {
5445
5609
  Args: {
5446
5610
  org_id: string;