@elevasis/ui 2.24.0 → 2.25.1
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.
- package/dist/app/index.css +11 -0
- package/dist/app/index.d.ts +457 -357
- package/dist/app/index.js +8 -7
- package/dist/auth/index.js +4 -4
- package/dist/charts/index.js +7 -7
- package/dist/{chunk-DDZOHLHB.js → chunk-26HQMR7S.js} +1 -1
- package/dist/{chunk-4NWNS7TX.js → chunk-3AHEHVJ6.js} +3 -3
- package/dist/{chunk-LJWV4TWV.js → chunk-4ZFBVND2.js} +2 -2
- package/dist/{chunk-FUEXGRFR.js → chunk-7LJUTTXU.js} +5 -5
- package/dist/{chunk-KCJ6VATY.js → chunk-AZQY7AJR.js} +13 -24
- package/dist/{chunk-BIWHHWCJ.js → chunk-DWK2QIAK.js} +2 -1
- package/dist/{chunk-ZDKQNQ4X.js → chunk-GESXCQWY.js} +1 -1
- package/dist/{chunk-Z6FAH4XV.js → chunk-HKBEURCV.js} +1 -1
- package/dist/{chunk-HC2KV6BU.js → chunk-HOIT677G.js} +1 -1
- package/dist/chunk-IS53MXE4.js +230 -0
- package/dist/{chunk-MTR6AN2C.js → chunk-IX7LWINC.js} +6 -5
- package/dist/{chunk-AXXTN44Z.js → chunk-IYIZYMIE.js} +2 -2
- package/dist/{chunk-VGNAV3TH.js → chunk-JDQSCEEF.js} +1237 -642
- package/dist/chunk-JMI7L7Y7.js +524 -0
- package/dist/{chunk-TSSKOQBX.js → chunk-KMAXFJPH.js} +2 -2
- package/dist/{chunk-HQ7M6PBW.js → chunk-KU7ZDWQ7.js} +1 -1
- package/dist/{chunk-YBZT7MJR.js → chunk-L4RT57WU.js} +7 -7
- package/dist/{chunk-2WZ635SS.js → chunk-MU4VPAMR.js} +2 -2
- package/dist/{chunk-3JCMO7SD.js → chunk-N55DVMAG.js} +1 -1
- package/dist/{chunk-EIOJNUPL.js → chunk-PNLJIPV5.js} +1 -1
- package/dist/{chunk-6Z3G4U2R.js → chunk-Q5BEODAT.js} +3 -2
- package/dist/{chunk-M2HWJY6O.js → chunk-QB2CC4VH.js} +2045 -243
- package/dist/{chunk-QULLZ5PE.js → chunk-RSG2O3HF.js} +893 -642
- package/dist/{chunk-M25JL54Z.js → chunk-RYTEQBAO.js} +1 -1
- package/dist/{chunk-XUYBOO32.js → chunk-U36X6NZM.js} +15 -7
- package/dist/{chunk-QSTH6T77.js → chunk-VKMNWHTL.js} +1 -1
- package/dist/{chunk-KLFIJDTD.js → chunk-VOVZLL23.js} +4 -4
- package/dist/{chunk-SLH2QLKV.js → chunk-WFTNY755.js} +1 -1
- package/dist/{chunk-DK2HVHCY.js → chunk-WKJ47GIW.js} +1 -1
- package/dist/chunk-X4WBGKJQ.js +138 -0
- package/dist/{chunk-QHSW4WHM.js → chunk-XTVZFT7U.js} +1 -1
- package/dist/components/index.css +11 -0
- package/dist/components/index.d.ts +478 -386
- package/dist/components/index.js +138 -267
- package/dist/components/navigation/index.css +11 -0
- package/dist/components/navigation/index.js +8 -8
- package/dist/features/auth/index.css +11 -0
- package/dist/features/auth/index.d.ts +369 -363
- package/dist/features/auth/index.js +7 -7
- package/dist/features/crm/index.css +11 -0
- package/dist/features/crm/index.d.ts +551 -360
- package/dist/features/crm/index.js +19 -19
- package/dist/features/dashboard/index.css +11 -0
- package/dist/features/dashboard/index.js +20 -20
- package/dist/features/delivery/index.css +11 -0
- package/dist/features/delivery/index.d.ts +363 -357
- package/dist/features/delivery/index.js +19 -19
- package/dist/features/lead-gen/index.css +11 -0
- package/dist/features/lead-gen/index.d.ts +174 -4
- package/dist/features/lead-gen/index.js +20 -20
- package/dist/features/monitoring/index.css +11 -0
- package/dist/features/monitoring/index.js +21 -21
- package/dist/features/monitoring/requests/index.css +11 -0
- package/dist/features/monitoring/requests/index.js +17 -17
- package/dist/features/operations/index.css +11 -0
- package/dist/features/operations/index.js +24 -24
- package/dist/features/seo/index.js +2 -2
- package/dist/features/settings/index.css +11 -0
- package/dist/features/settings/index.d.ts +369 -363
- package/dist/features/settings/index.js +19 -19
- package/dist/hooks/delivery/index.css +11 -0
- package/dist/hooks/delivery/index.d.ts +363 -357
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.css +11 -0
- package/dist/hooks/index.d.ts +769 -401
- package/dist/hooks/index.js +17 -17
- package/dist/hooks/published.css +11 -0
- package/dist/hooks/published.d.ts +769 -401
- package/dist/hooks/published.js +17 -17
- package/dist/index.css +11 -0
- package/dist/index.d.ts +885 -383
- package/dist/index.js +17 -17
- package/dist/initialization/index.d.ts +369 -363
- package/dist/initialization/index.js +4 -4
- package/dist/layout/index.d.ts +6 -0
- package/dist/layout/index.js +5 -5
- package/dist/organization/index.css +11 -0
- package/dist/organization/index.js +4 -4
- package/dist/profile/index.d.ts +369 -363
- package/dist/profile/index.js +2 -2
- package/dist/provider/ElevasisServiceContext.d.ts +1 -0
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.css +11 -0
- package/dist/provider/index.d.ts +503 -362
- package/dist/provider/index.js +14 -14
- package/dist/provider/published.css +11 -0
- package/dist/provider/published.d.ts +494 -359
- package/dist/provider/published.js +12 -12
- package/dist/supabase/index.d.ts +369 -357
- package/dist/test-utils/index.js +1 -1
- package/dist/typeform/index.js +49 -20
- package/dist/types/index.d.ts +382 -363
- package/package.json +2 -2
- package/dist/chunk-CEWTOKE7.js +0 -109
- package/dist/chunk-OWHQ65EQ.js +0 -211
- package/dist/chunk-UDJE54WN.js +0 -209
- /package/dist/{chunk-IRW7JMQ4.js → chunk-5WWZXCS5.js} +0 -0
- /package/dist/{chunk-QJ2KCHKX.js → chunk-E565XMTQ.js} +0 -0
package/dist/provider/index.d.ts
CHANGED
|
@@ -107,7 +107,7 @@ type Json = string | number | boolean | null | {
|
|
|
107
107
|
} | Json[];
|
|
108
108
|
type Database = {
|
|
109
109
|
__InternalSupabase: {
|
|
110
|
-
PostgrestVersion:
|
|
110
|
+
PostgrestVersion: "12.2.3 (519615d)";
|
|
111
111
|
};
|
|
112
112
|
public: {
|
|
113
113
|
Tables: {
|
|
@@ -150,11 +150,11 @@ type Database = {
|
|
|
150
150
|
};
|
|
151
151
|
Relationships: [
|
|
152
152
|
{
|
|
153
|
-
foreignKeyName:
|
|
154
|
-
columns: [
|
|
153
|
+
foreignKeyName: "acq_artifacts_organization_id_fkey";
|
|
154
|
+
columns: ["organization_id"];
|
|
155
155
|
isOneToOne: false;
|
|
156
|
-
referencedRelation:
|
|
157
|
-
referencedColumns: [
|
|
156
|
+
referencedRelation: "organizations";
|
|
157
|
+
referencedColumns: ["id"];
|
|
158
158
|
}
|
|
159
159
|
];
|
|
160
160
|
};
|
|
@@ -239,11 +239,11 @@ type Database = {
|
|
|
239
239
|
};
|
|
240
240
|
Relationships: [
|
|
241
241
|
{
|
|
242
|
-
foreignKeyName:
|
|
243
|
-
columns: [
|
|
242
|
+
foreignKeyName: "acq_companies_organization_id_fkey";
|
|
243
|
+
columns: ["organization_id"];
|
|
244
244
|
isOneToOne: false;
|
|
245
|
-
referencedRelation:
|
|
246
|
-
referencedColumns: [
|
|
245
|
+
referencedRelation: "organizations";
|
|
246
|
+
referencedColumns: ["id"];
|
|
247
247
|
}
|
|
248
248
|
];
|
|
249
249
|
};
|
|
@@ -334,18 +334,18 @@ type Database = {
|
|
|
334
334
|
};
|
|
335
335
|
Relationships: [
|
|
336
336
|
{
|
|
337
|
-
foreignKeyName:
|
|
338
|
-
columns: [
|
|
337
|
+
foreignKeyName: "acq_contacts_company_id_fkey";
|
|
338
|
+
columns: ["company_id"];
|
|
339
339
|
isOneToOne: false;
|
|
340
|
-
referencedRelation:
|
|
341
|
-
referencedColumns: [
|
|
340
|
+
referencedRelation: "acq_companies";
|
|
341
|
+
referencedColumns: ["id"];
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
|
-
foreignKeyName:
|
|
345
|
-
columns: [
|
|
344
|
+
foreignKeyName: "acq_contacts_organization_id_fkey";
|
|
345
|
+
columns: ["organization_id"];
|
|
346
346
|
isOneToOne: false;
|
|
347
|
-
referencedRelation:
|
|
348
|
-
referencedColumns: [
|
|
347
|
+
referencedRelation: "organizations";
|
|
348
|
+
referencedColumns: ["id"];
|
|
349
349
|
}
|
|
350
350
|
];
|
|
351
351
|
};
|
|
@@ -382,11 +382,11 @@ type Database = {
|
|
|
382
382
|
};
|
|
383
383
|
Relationships: [
|
|
384
384
|
{
|
|
385
|
-
foreignKeyName:
|
|
386
|
-
columns: [
|
|
385
|
+
foreignKeyName: "acq_content_organization_id_fkey";
|
|
386
|
+
columns: ["organization_id"];
|
|
387
387
|
isOneToOne: false;
|
|
388
|
-
referencedRelation:
|
|
389
|
-
referencedColumns: [
|
|
388
|
+
referencedRelation: "organizations";
|
|
389
|
+
referencedColumns: ["id"];
|
|
390
390
|
}
|
|
391
391
|
];
|
|
392
392
|
};
|
|
@@ -450,18 +450,18 @@ type Database = {
|
|
|
450
450
|
};
|
|
451
451
|
Relationships: [
|
|
452
452
|
{
|
|
453
|
-
foreignKeyName:
|
|
454
|
-
columns: [
|
|
453
|
+
foreignKeyName: "acq_content_distributions_content_id_fkey";
|
|
454
|
+
columns: ["content_id"];
|
|
455
455
|
isOneToOne: false;
|
|
456
|
-
referencedRelation:
|
|
457
|
-
referencedColumns: [
|
|
456
|
+
referencedRelation: "acq_content";
|
|
457
|
+
referencedColumns: ["id"];
|
|
458
458
|
},
|
|
459
459
|
{
|
|
460
|
-
foreignKeyName:
|
|
461
|
-
columns: [
|
|
460
|
+
foreignKeyName: "acq_content_distributions_organization_id_fkey";
|
|
461
|
+
columns: ["organization_id"];
|
|
462
462
|
isOneToOne: false;
|
|
463
|
-
referencedRelation:
|
|
464
|
-
referencedColumns: [
|
|
463
|
+
referencedRelation: "organizations";
|
|
464
|
+
referencedColumns: ["id"];
|
|
465
465
|
}
|
|
466
466
|
];
|
|
467
467
|
};
|
|
@@ -495,18 +495,18 @@ type Database = {
|
|
|
495
495
|
};
|
|
496
496
|
Relationships: [
|
|
497
497
|
{
|
|
498
|
-
foreignKeyName:
|
|
499
|
-
columns: [
|
|
498
|
+
foreignKeyName: "acq_deal_notes_deal_id_fkey";
|
|
499
|
+
columns: ["deal_id"];
|
|
500
500
|
isOneToOne: false;
|
|
501
|
-
referencedRelation:
|
|
502
|
-
referencedColumns: [
|
|
501
|
+
referencedRelation: "acq_deals";
|
|
502
|
+
referencedColumns: ["id"];
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
|
-
foreignKeyName:
|
|
506
|
-
columns: [
|
|
505
|
+
foreignKeyName: "acq_deal_notes_organization_id_fkey";
|
|
506
|
+
columns: ["organization_id"];
|
|
507
507
|
isOneToOne: false;
|
|
508
|
-
referencedRelation:
|
|
509
|
-
referencedColumns: [
|
|
508
|
+
referencedRelation: "organizations";
|
|
509
|
+
referencedColumns: ["id"];
|
|
510
510
|
}
|
|
511
511
|
];
|
|
512
512
|
};
|
|
@@ -558,18 +558,18 @@ type Database = {
|
|
|
558
558
|
};
|
|
559
559
|
Relationships: [
|
|
560
560
|
{
|
|
561
|
-
foreignKeyName:
|
|
562
|
-
columns: [
|
|
561
|
+
foreignKeyName: "acq_deal_tasks_deal_id_fkey";
|
|
562
|
+
columns: ["deal_id"];
|
|
563
563
|
isOneToOne: false;
|
|
564
|
-
referencedRelation:
|
|
565
|
-
referencedColumns: [
|
|
564
|
+
referencedRelation: "acq_deals";
|
|
565
|
+
referencedColumns: ["id"];
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
|
-
foreignKeyName:
|
|
569
|
-
columns: [
|
|
568
|
+
foreignKeyName: "acq_deal_tasks_organization_id_fkey";
|
|
569
|
+
columns: ["organization_id"];
|
|
570
570
|
isOneToOne: false;
|
|
571
|
-
referencedRelation:
|
|
572
|
-
referencedColumns: [
|
|
571
|
+
referencedRelation: "organizations";
|
|
572
|
+
referencedColumns: ["id"];
|
|
573
573
|
}
|
|
574
574
|
];
|
|
575
575
|
};
|
|
@@ -586,6 +586,8 @@ type Database = {
|
|
|
586
586
|
discovery_submitted_by: string | null;
|
|
587
587
|
id: string;
|
|
588
588
|
initial_fee: number | null;
|
|
589
|
+
instantly_email_account: string | null;
|
|
590
|
+
instantly_thread_uuid: string | null;
|
|
589
591
|
monthly_fee: number | null;
|
|
590
592
|
organization_id: string;
|
|
591
593
|
payment_link_sent_at: string | null;
|
|
@@ -621,6 +623,8 @@ type Database = {
|
|
|
621
623
|
discovery_submitted_by?: string | null;
|
|
622
624
|
id?: string;
|
|
623
625
|
initial_fee?: number | null;
|
|
626
|
+
instantly_email_account?: string | null;
|
|
627
|
+
instantly_thread_uuid?: string | null;
|
|
624
628
|
monthly_fee?: number | null;
|
|
625
629
|
organization_id: string;
|
|
626
630
|
payment_link_sent_at?: string | null;
|
|
@@ -656,6 +660,8 @@ type Database = {
|
|
|
656
660
|
discovery_submitted_by?: string | null;
|
|
657
661
|
id?: string;
|
|
658
662
|
initial_fee?: number | null;
|
|
663
|
+
instantly_email_account?: string | null;
|
|
664
|
+
instantly_thread_uuid?: string | null;
|
|
659
665
|
monthly_fee?: number | null;
|
|
660
666
|
organization_id?: string;
|
|
661
667
|
payment_link_sent_at?: string | null;
|
|
@@ -681,25 +687,25 @@ type Database = {
|
|
|
681
687
|
};
|
|
682
688
|
Relationships: [
|
|
683
689
|
{
|
|
684
|
-
foreignKeyName:
|
|
685
|
-
columns: [
|
|
690
|
+
foreignKeyName: "acq_deals_contact_id_fkey";
|
|
691
|
+
columns: ["contact_id"];
|
|
686
692
|
isOneToOne: false;
|
|
687
|
-
referencedRelation:
|
|
688
|
-
referencedColumns: [
|
|
693
|
+
referencedRelation: "acq_contacts";
|
|
694
|
+
referencedColumns: ["id"];
|
|
689
695
|
},
|
|
690
696
|
{
|
|
691
|
-
foreignKeyName:
|
|
692
|
-
columns: [
|
|
697
|
+
foreignKeyName: "acq_deals_organization_id_fkey";
|
|
698
|
+
columns: ["organization_id"];
|
|
693
699
|
isOneToOne: false;
|
|
694
|
-
referencedRelation:
|
|
695
|
-
referencedColumns: [
|
|
700
|
+
referencedRelation: "organizations";
|
|
701
|
+
referencedColumns: ["id"];
|
|
696
702
|
},
|
|
697
703
|
{
|
|
698
|
-
foreignKeyName:
|
|
699
|
-
columns: [
|
|
704
|
+
foreignKeyName: "acq_deals_source_list_id_fkey";
|
|
705
|
+
columns: ["source_list_id"];
|
|
700
706
|
isOneToOne: false;
|
|
701
|
-
referencedRelation:
|
|
702
|
-
referencedColumns: [
|
|
707
|
+
referencedRelation: "acq_lists";
|
|
708
|
+
referencedColumns: ["id"];
|
|
703
709
|
}
|
|
704
710
|
];
|
|
705
711
|
};
|
|
@@ -751,25 +757,25 @@ type Database = {
|
|
|
751
757
|
};
|
|
752
758
|
Relationships: [
|
|
753
759
|
{
|
|
754
|
-
foreignKeyName:
|
|
755
|
-
columns: [
|
|
760
|
+
foreignKeyName: "acq_list_companies_company_id_fkey";
|
|
761
|
+
columns: ["company_id"];
|
|
756
762
|
isOneToOne: false;
|
|
757
|
-
referencedRelation:
|
|
758
|
-
referencedColumns: [
|
|
763
|
+
referencedRelation: "acq_companies";
|
|
764
|
+
referencedColumns: ["id"];
|
|
759
765
|
},
|
|
760
766
|
{
|
|
761
|
-
foreignKeyName:
|
|
762
|
-
columns: [
|
|
767
|
+
foreignKeyName: "acq_list_companies_list_id_fkey";
|
|
768
|
+
columns: ["list_id"];
|
|
763
769
|
isOneToOne: false;
|
|
764
|
-
referencedRelation:
|
|
765
|
-
referencedColumns: [
|
|
770
|
+
referencedRelation: "acq_lists";
|
|
771
|
+
referencedColumns: ["id"];
|
|
766
772
|
},
|
|
767
773
|
{
|
|
768
|
-
foreignKeyName:
|
|
769
|
-
columns: [
|
|
774
|
+
foreignKeyName: "acq_list_companies_source_execution_id_fkey";
|
|
775
|
+
columns: ["source_execution_id"];
|
|
770
776
|
isOneToOne: false;
|
|
771
|
-
referencedRelation:
|
|
772
|
-
referencedColumns: [
|
|
777
|
+
referencedRelation: "execution_logs";
|
|
778
|
+
referencedColumns: ["execution_id"];
|
|
773
779
|
}
|
|
774
780
|
];
|
|
775
781
|
};
|
|
@@ -797,18 +803,18 @@ type Database = {
|
|
|
797
803
|
};
|
|
798
804
|
Relationships: [
|
|
799
805
|
{
|
|
800
|
-
foreignKeyName:
|
|
801
|
-
columns: [
|
|
806
|
+
foreignKeyName: "acq_list_executions_execution_id_fkey";
|
|
807
|
+
columns: ["execution_id"];
|
|
802
808
|
isOneToOne: false;
|
|
803
|
-
referencedRelation:
|
|
804
|
-
referencedColumns: [
|
|
809
|
+
referencedRelation: "execution_logs";
|
|
810
|
+
referencedColumns: ["execution_id"];
|
|
805
811
|
},
|
|
806
812
|
{
|
|
807
|
-
foreignKeyName:
|
|
808
|
-
columns: [
|
|
813
|
+
foreignKeyName: "acq_list_executions_list_id_fkey";
|
|
814
|
+
columns: ["list_id"];
|
|
809
815
|
isOneToOne: false;
|
|
810
|
-
referencedRelation:
|
|
811
|
-
referencedColumns: [
|
|
816
|
+
referencedRelation: "acq_lists";
|
|
817
|
+
referencedColumns: ["id"];
|
|
812
818
|
}
|
|
813
819
|
];
|
|
814
820
|
};
|
|
@@ -860,25 +866,25 @@ type Database = {
|
|
|
860
866
|
};
|
|
861
867
|
Relationships: [
|
|
862
868
|
{
|
|
863
|
-
foreignKeyName:
|
|
864
|
-
columns: [
|
|
869
|
+
foreignKeyName: "acq_list_members_contact_id_fkey";
|
|
870
|
+
columns: ["contact_id"];
|
|
865
871
|
isOneToOne: false;
|
|
866
|
-
referencedRelation:
|
|
867
|
-
referencedColumns: [
|
|
872
|
+
referencedRelation: "acq_contacts";
|
|
873
|
+
referencedColumns: ["id"];
|
|
868
874
|
},
|
|
869
875
|
{
|
|
870
|
-
foreignKeyName:
|
|
871
|
-
columns: [
|
|
876
|
+
foreignKeyName: "acq_list_members_list_id_fkey";
|
|
877
|
+
columns: ["list_id"];
|
|
872
878
|
isOneToOne: false;
|
|
873
|
-
referencedRelation:
|
|
874
|
-
referencedColumns: [
|
|
879
|
+
referencedRelation: "acq_lists";
|
|
880
|
+
referencedColumns: ["id"];
|
|
875
881
|
},
|
|
876
882
|
{
|
|
877
|
-
foreignKeyName:
|
|
878
|
-
columns: [
|
|
883
|
+
foreignKeyName: "acq_list_members_source_execution_id_fkey";
|
|
884
|
+
columns: ["source_execution_id"];
|
|
879
885
|
isOneToOne: false;
|
|
880
|
-
referencedRelation:
|
|
881
|
-
referencedColumns: [
|
|
886
|
+
referencedRelation: "execution_logs";
|
|
887
|
+
referencedColumns: ["execution_id"];
|
|
882
888
|
}
|
|
883
889
|
];
|
|
884
890
|
};
|
|
@@ -933,11 +939,11 @@ type Database = {
|
|
|
933
939
|
};
|
|
934
940
|
Relationships: [
|
|
935
941
|
{
|
|
936
|
-
foreignKeyName:
|
|
937
|
-
columns: [
|
|
942
|
+
foreignKeyName: "acq_lists_organization_id_fkey";
|
|
943
|
+
columns: ["organization_id"];
|
|
938
944
|
isOneToOne: false;
|
|
939
|
-
referencedRelation:
|
|
940
|
-
referencedColumns: [
|
|
945
|
+
referencedRelation: "organizations";
|
|
946
|
+
referencedColumns: ["id"];
|
|
941
947
|
}
|
|
942
948
|
];
|
|
943
949
|
};
|
|
@@ -1013,18 +1019,18 @@ type Database = {
|
|
|
1013
1019
|
};
|
|
1014
1020
|
Relationships: [
|
|
1015
1021
|
{
|
|
1016
|
-
foreignKeyName:
|
|
1017
|
-
columns: [
|
|
1022
|
+
foreignKeyName: "acq_seo_metrics_organization_id_fkey";
|
|
1023
|
+
columns: ["organization_id"];
|
|
1018
1024
|
isOneToOne: false;
|
|
1019
|
-
referencedRelation:
|
|
1020
|
-
referencedColumns: [
|
|
1025
|
+
referencedRelation: "organizations";
|
|
1026
|
+
referencedColumns: ["id"];
|
|
1021
1027
|
},
|
|
1022
1028
|
{
|
|
1023
|
-
foreignKeyName:
|
|
1024
|
-
columns: [
|
|
1029
|
+
foreignKeyName: "acq_seo_metrics_seo_page_id_fkey";
|
|
1030
|
+
columns: ["seo_page_id"];
|
|
1025
1031
|
isOneToOne: false;
|
|
1026
|
-
referencedRelation:
|
|
1027
|
-
referencedColumns: [
|
|
1032
|
+
referencedRelation: "acq_seo_pages";
|
|
1033
|
+
referencedColumns: ["id"];
|
|
1028
1034
|
}
|
|
1029
1035
|
];
|
|
1030
1036
|
};
|
|
@@ -1100,11 +1106,11 @@ type Database = {
|
|
|
1100
1106
|
};
|
|
1101
1107
|
Relationships: [
|
|
1102
1108
|
{
|
|
1103
|
-
foreignKeyName:
|
|
1104
|
-
columns: [
|
|
1109
|
+
foreignKeyName: "acq_seo_pages_organization_id_fkey";
|
|
1110
|
+
columns: ["organization_id"];
|
|
1105
1111
|
isOneToOne: false;
|
|
1106
|
-
referencedRelation:
|
|
1107
|
-
referencedColumns: [
|
|
1112
|
+
referencedRelation: "organizations";
|
|
1113
|
+
referencedColumns: ["id"];
|
|
1108
1114
|
}
|
|
1109
1115
|
];
|
|
1110
1116
|
};
|
|
@@ -1201,11 +1207,11 @@ type Database = {
|
|
|
1201
1207
|
};
|
|
1202
1208
|
Relationships: [
|
|
1203
1209
|
{
|
|
1204
|
-
foreignKeyName:
|
|
1205
|
-
columns: [
|
|
1210
|
+
foreignKeyName: "acq_social_posts_organization_id_fkey";
|
|
1211
|
+
columns: ["organization_id"];
|
|
1206
1212
|
isOneToOne: false;
|
|
1207
|
-
referencedRelation:
|
|
1208
|
-
referencedColumns: [
|
|
1213
|
+
referencedRelation: "organizations";
|
|
1214
|
+
referencedColumns: ["id"];
|
|
1209
1215
|
}
|
|
1210
1216
|
];
|
|
1211
1217
|
};
|
|
@@ -1260,11 +1266,11 @@ type Database = {
|
|
|
1260
1266
|
};
|
|
1261
1267
|
Relationships: [
|
|
1262
1268
|
{
|
|
1263
|
-
foreignKeyName:
|
|
1264
|
-
columns: [
|
|
1269
|
+
foreignKeyName: "activities_organization_id_fkey";
|
|
1270
|
+
columns: ["organization_id"];
|
|
1265
1271
|
isOneToOne: false;
|
|
1266
|
-
referencedRelation:
|
|
1267
|
-
referencedColumns: [
|
|
1272
|
+
referencedRelation: "organizations";
|
|
1273
|
+
referencedColumns: ["id"];
|
|
1268
1274
|
}
|
|
1269
1275
|
];
|
|
1270
1276
|
};
|
|
@@ -1295,11 +1301,11 @@ type Database = {
|
|
|
1295
1301
|
};
|
|
1296
1302
|
Relationships: [
|
|
1297
1303
|
{
|
|
1298
|
-
foreignKeyName:
|
|
1299
|
-
columns: [
|
|
1304
|
+
foreignKeyName: "api_keys_organization_id_fkey";
|
|
1305
|
+
columns: ["organization_id"];
|
|
1300
1306
|
isOneToOne: false;
|
|
1301
|
-
referencedRelation:
|
|
1302
|
-
referencedColumns: [
|
|
1307
|
+
referencedRelation: "organizations";
|
|
1308
|
+
referencedColumns: ["id"];
|
|
1303
1309
|
}
|
|
1304
1310
|
];
|
|
1305
1311
|
};
|
|
@@ -1378,25 +1384,25 @@ type Database = {
|
|
|
1378
1384
|
};
|
|
1379
1385
|
Relationships: [
|
|
1380
1386
|
{
|
|
1381
|
-
foreignKeyName:
|
|
1382
|
-
columns: [
|
|
1387
|
+
foreignKeyName: "command_queue_completed_by_fkey";
|
|
1388
|
+
columns: ["completed_by"];
|
|
1383
1389
|
isOneToOne: false;
|
|
1384
|
-
referencedRelation:
|
|
1385
|
-
referencedColumns: [
|
|
1390
|
+
referencedRelation: "users";
|
|
1391
|
+
referencedColumns: ["id"];
|
|
1386
1392
|
},
|
|
1387
1393
|
{
|
|
1388
|
-
foreignKeyName:
|
|
1389
|
-
columns: [
|
|
1394
|
+
foreignKeyName: "command_queue_organization_id_fkey";
|
|
1395
|
+
columns: ["organization_id"];
|
|
1390
1396
|
isOneToOne: false;
|
|
1391
|
-
referencedRelation:
|
|
1392
|
-
referencedColumns: [
|
|
1397
|
+
referencedRelation: "organizations";
|
|
1398
|
+
referencedColumns: ["id"];
|
|
1393
1399
|
},
|
|
1394
1400
|
{
|
|
1395
|
-
foreignKeyName:
|
|
1396
|
-
columns: [
|
|
1401
|
+
foreignKeyName: "command_queue_target_execution_id_fkey";
|
|
1402
|
+
columns: ["target_execution_id"];
|
|
1397
1403
|
isOneToOne: false;
|
|
1398
|
-
referencedRelation:
|
|
1399
|
-
referencedColumns: [
|
|
1404
|
+
referencedRelation: "execution_logs";
|
|
1405
|
+
referencedColumns: ["execution_id"];
|
|
1400
1406
|
}
|
|
1401
1407
|
];
|
|
1402
1408
|
};
|
|
@@ -1436,18 +1442,18 @@ type Database = {
|
|
|
1436
1442
|
};
|
|
1437
1443
|
Relationships: [
|
|
1438
1444
|
{
|
|
1439
|
-
foreignKeyName:
|
|
1440
|
-
columns: [
|
|
1445
|
+
foreignKeyName: "credentials_created_by_fkey";
|
|
1446
|
+
columns: ["created_by"];
|
|
1441
1447
|
isOneToOne: false;
|
|
1442
|
-
referencedRelation:
|
|
1443
|
-
referencedColumns: [
|
|
1448
|
+
referencedRelation: "users";
|
|
1449
|
+
referencedColumns: ["id"];
|
|
1444
1450
|
},
|
|
1445
1451
|
{
|
|
1446
|
-
foreignKeyName:
|
|
1447
|
-
columns: [
|
|
1452
|
+
foreignKeyName: "credentials_organization_id_fkey";
|
|
1453
|
+
columns: ["organization_id"];
|
|
1448
1454
|
isOneToOne: false;
|
|
1449
|
-
referencedRelation:
|
|
1450
|
-
referencedColumns: [
|
|
1455
|
+
referencedRelation: "organizations";
|
|
1456
|
+
referencedColumns: ["id"];
|
|
1451
1457
|
}
|
|
1452
1458
|
];
|
|
1453
1459
|
};
|
|
@@ -1493,11 +1499,11 @@ type Database = {
|
|
|
1493
1499
|
};
|
|
1494
1500
|
Relationships: [
|
|
1495
1501
|
{
|
|
1496
|
-
foreignKeyName:
|
|
1497
|
-
columns: [
|
|
1502
|
+
foreignKeyName: "deployments_organization_id_fkey";
|
|
1503
|
+
columns: ["organization_id"];
|
|
1498
1504
|
isOneToOne: false;
|
|
1499
|
-
referencedRelation:
|
|
1500
|
-
referencedColumns: [
|
|
1505
|
+
referencedRelation: "organizations";
|
|
1506
|
+
referencedColumns: ["id"];
|
|
1501
1507
|
}
|
|
1502
1508
|
];
|
|
1503
1509
|
};
|
|
@@ -1552,25 +1558,25 @@ type Database = {
|
|
|
1552
1558
|
};
|
|
1553
1559
|
Relationships: [
|
|
1554
1560
|
{
|
|
1555
|
-
foreignKeyName:
|
|
1556
|
-
columns: [
|
|
1561
|
+
foreignKeyName: "execution_errors_execution_id_fkey";
|
|
1562
|
+
columns: ["execution_id"];
|
|
1557
1563
|
isOneToOne: false;
|
|
1558
|
-
referencedRelation:
|
|
1559
|
-
referencedColumns: [
|
|
1564
|
+
referencedRelation: "execution_logs";
|
|
1565
|
+
referencedColumns: ["execution_id"];
|
|
1560
1566
|
},
|
|
1561
1567
|
{
|
|
1562
|
-
foreignKeyName:
|
|
1563
|
-
columns: [
|
|
1568
|
+
foreignKeyName: "execution_errors_organization_id_fkey";
|
|
1569
|
+
columns: ["organization_id"];
|
|
1564
1570
|
isOneToOne: false;
|
|
1565
|
-
referencedRelation:
|
|
1566
|
-
referencedColumns: [
|
|
1571
|
+
referencedRelation: "organizations";
|
|
1572
|
+
referencedColumns: ["id"];
|
|
1567
1573
|
},
|
|
1568
1574
|
{
|
|
1569
|
-
foreignKeyName:
|
|
1570
|
-
columns: [
|
|
1575
|
+
foreignKeyName: "execution_errors_resolved_by_fkey";
|
|
1576
|
+
columns: ["resolved_by"];
|
|
1571
1577
|
isOneToOne: false;
|
|
1572
|
-
referencedRelation:
|
|
1573
|
-
referencedColumns: [
|
|
1578
|
+
referencedRelation: "users";
|
|
1579
|
+
referencedColumns: ["id"];
|
|
1574
1580
|
}
|
|
1575
1581
|
];
|
|
1576
1582
|
};
|
|
@@ -1652,32 +1658,32 @@ type Database = {
|
|
|
1652
1658
|
};
|
|
1653
1659
|
Relationships: [
|
|
1654
1660
|
{
|
|
1655
|
-
foreignKeyName:
|
|
1656
|
-
columns: [
|
|
1661
|
+
foreignKeyName: "execution_history_organization_id_fkey";
|
|
1662
|
+
columns: ["organization_id"];
|
|
1657
1663
|
isOneToOne: false;
|
|
1658
|
-
referencedRelation:
|
|
1659
|
-
referencedColumns: [
|
|
1664
|
+
referencedRelation: "organizations";
|
|
1665
|
+
referencedColumns: ["id"];
|
|
1660
1666
|
},
|
|
1661
1667
|
{
|
|
1662
|
-
foreignKeyName:
|
|
1663
|
-
columns: [
|
|
1668
|
+
foreignKeyName: "execution_logs_origin_execution_id_fkey";
|
|
1669
|
+
columns: ["origin_execution_id"];
|
|
1664
1670
|
isOneToOne: false;
|
|
1665
|
-
referencedRelation:
|
|
1666
|
-
referencedColumns: [
|
|
1671
|
+
referencedRelation: "execution_logs";
|
|
1672
|
+
referencedColumns: ["execution_id"];
|
|
1667
1673
|
},
|
|
1668
1674
|
{
|
|
1669
|
-
foreignKeyName:
|
|
1670
|
-
columns: [
|
|
1675
|
+
foreignKeyName: "execution_logs_session_id_fkey";
|
|
1676
|
+
columns: ["session_id"];
|
|
1671
1677
|
isOneToOne: false;
|
|
1672
|
-
referencedRelation:
|
|
1673
|
-
referencedColumns: [
|
|
1678
|
+
referencedRelation: "sessions";
|
|
1679
|
+
referencedColumns: ["session_id"];
|
|
1674
1680
|
},
|
|
1675
1681
|
{
|
|
1676
|
-
foreignKeyName:
|
|
1677
|
-
columns: [
|
|
1682
|
+
foreignKeyName: "execution_logs_user_id_fkey";
|
|
1683
|
+
columns: ["user_id"];
|
|
1678
1684
|
isOneToOne: false;
|
|
1679
|
-
referencedRelation:
|
|
1680
|
-
referencedColumns: [
|
|
1685
|
+
referencedRelation: "users";
|
|
1686
|
+
referencedColumns: ["id"];
|
|
1681
1687
|
}
|
|
1682
1688
|
];
|
|
1683
1689
|
};
|
|
@@ -1723,18 +1729,18 @@ type Database = {
|
|
|
1723
1729
|
};
|
|
1724
1730
|
Relationships: [
|
|
1725
1731
|
{
|
|
1726
|
-
foreignKeyName:
|
|
1727
|
-
columns: [
|
|
1732
|
+
foreignKeyName: "execution_metrics_execution_id_fkey";
|
|
1733
|
+
columns: ["execution_id"];
|
|
1728
1734
|
isOneToOne: true;
|
|
1729
|
-
referencedRelation:
|
|
1730
|
-
referencedColumns: [
|
|
1735
|
+
referencedRelation: "execution_logs";
|
|
1736
|
+
referencedColumns: ["execution_id"];
|
|
1731
1737
|
},
|
|
1732
1738
|
{
|
|
1733
|
-
foreignKeyName:
|
|
1734
|
-
columns: [
|
|
1739
|
+
foreignKeyName: "execution_metrics_organization_id_fkey";
|
|
1740
|
+
columns: ["organization_id"];
|
|
1735
1741
|
isOneToOne: false;
|
|
1736
|
-
referencedRelation:
|
|
1737
|
-
referencedColumns: [
|
|
1742
|
+
referencedRelation: "organizations";
|
|
1743
|
+
referencedColumns: ["id"];
|
|
1738
1744
|
}
|
|
1739
1745
|
];
|
|
1740
1746
|
};
|
|
@@ -1777,18 +1783,18 @@ type Database = {
|
|
|
1777
1783
|
};
|
|
1778
1784
|
Relationships: [
|
|
1779
1785
|
{
|
|
1780
|
-
foreignKeyName:
|
|
1781
|
-
columns: [
|
|
1786
|
+
foreignKeyName: "notifications_organization_id_fkey";
|
|
1787
|
+
columns: ["organization_id"];
|
|
1782
1788
|
isOneToOne: false;
|
|
1783
|
-
referencedRelation:
|
|
1784
|
-
referencedColumns: [
|
|
1789
|
+
referencedRelation: "organizations";
|
|
1790
|
+
referencedColumns: ["id"];
|
|
1785
1791
|
},
|
|
1786
1792
|
{
|
|
1787
|
-
foreignKeyName:
|
|
1788
|
-
columns: [
|
|
1793
|
+
foreignKeyName: "notifications_user_id_fkey";
|
|
1794
|
+
columns: ["user_id"];
|
|
1789
1795
|
isOneToOne: false;
|
|
1790
|
-
referencedRelation:
|
|
1791
|
-
referencedColumns: [
|
|
1796
|
+
referencedRelation: "users";
|
|
1797
|
+
referencedColumns: ["id"];
|
|
1792
1798
|
}
|
|
1793
1799
|
];
|
|
1794
1800
|
};
|
|
@@ -1843,18 +1849,18 @@ type Database = {
|
|
|
1843
1849
|
};
|
|
1844
1850
|
Relationships: [
|
|
1845
1851
|
{
|
|
1846
|
-
foreignKeyName:
|
|
1847
|
-
columns: [
|
|
1852
|
+
foreignKeyName: "org_invitations_inviter_user_id_fkey";
|
|
1853
|
+
columns: ["inviter_user_id"];
|
|
1848
1854
|
isOneToOne: false;
|
|
1849
|
-
referencedRelation:
|
|
1850
|
-
referencedColumns: [
|
|
1855
|
+
referencedRelation: "users";
|
|
1856
|
+
referencedColumns: ["id"];
|
|
1851
1857
|
},
|
|
1852
1858
|
{
|
|
1853
|
-
foreignKeyName:
|
|
1854
|
-
columns: [
|
|
1859
|
+
foreignKeyName: "org_invitations_organization_id_fkey";
|
|
1860
|
+
columns: ["organization_id"];
|
|
1855
1861
|
isOneToOne: false;
|
|
1856
|
-
referencedRelation:
|
|
1857
|
-
referencedColumns: [
|
|
1862
|
+
referencedRelation: "organizations";
|
|
1863
|
+
referencedColumns: ["id"];
|
|
1858
1864
|
}
|
|
1859
1865
|
];
|
|
1860
1866
|
};
|
|
@@ -1897,18 +1903,18 @@ type Database = {
|
|
|
1897
1903
|
};
|
|
1898
1904
|
Relationships: [
|
|
1899
1905
|
{
|
|
1900
|
-
foreignKeyName:
|
|
1901
|
-
columns: [
|
|
1906
|
+
foreignKeyName: "org_memberships_organization_id_fkey";
|
|
1907
|
+
columns: ["organization_id"];
|
|
1902
1908
|
isOneToOne: false;
|
|
1903
|
-
referencedRelation:
|
|
1904
|
-
referencedColumns: [
|
|
1909
|
+
referencedRelation: "organizations";
|
|
1910
|
+
referencedColumns: ["id"];
|
|
1905
1911
|
},
|
|
1906
1912
|
{
|
|
1907
|
-
foreignKeyName:
|
|
1908
|
-
columns: [
|
|
1913
|
+
foreignKeyName: "org_memberships_user_id_fkey";
|
|
1914
|
+
columns: ["user_id"];
|
|
1909
1915
|
isOneToOne: false;
|
|
1910
|
-
referencedRelation:
|
|
1911
|
-
referencedColumns: [
|
|
1916
|
+
referencedRelation: "users";
|
|
1917
|
+
referencedColumns: ["id"];
|
|
1912
1918
|
}
|
|
1913
1919
|
];
|
|
1914
1920
|
};
|
|
@@ -1933,25 +1939,25 @@ type Database = {
|
|
|
1933
1939
|
};
|
|
1934
1940
|
Relationships: [
|
|
1935
1941
|
{
|
|
1936
|
-
foreignKeyName:
|
|
1937
|
-
columns: [
|
|
1942
|
+
foreignKeyName: "org_rol_assignments_granted_by_fkey";
|
|
1943
|
+
columns: ["granted_by"];
|
|
1938
1944
|
isOneToOne: false;
|
|
1939
|
-
referencedRelation:
|
|
1940
|
-
referencedColumns: [
|
|
1945
|
+
referencedRelation: "users";
|
|
1946
|
+
referencedColumns: ["id"];
|
|
1941
1947
|
},
|
|
1942
1948
|
{
|
|
1943
|
-
foreignKeyName:
|
|
1944
|
-
columns: [
|
|
1949
|
+
foreignKeyName: "org_rol_assignments_membership_id_fkey";
|
|
1950
|
+
columns: ["membership_id"];
|
|
1945
1951
|
isOneToOne: false;
|
|
1946
|
-
referencedRelation:
|
|
1947
|
-
referencedColumns: [
|
|
1952
|
+
referencedRelation: "org_memberships";
|
|
1953
|
+
referencedColumns: ["id"];
|
|
1948
1954
|
},
|
|
1949
1955
|
{
|
|
1950
|
-
foreignKeyName:
|
|
1951
|
-
columns: [
|
|
1956
|
+
foreignKeyName: "org_rol_assignments_role_id_fkey";
|
|
1957
|
+
columns: ["role_id"];
|
|
1952
1958
|
isOneToOne: false;
|
|
1953
|
-
referencedRelation:
|
|
1954
|
-
referencedColumns: [
|
|
1959
|
+
referencedRelation: "org_rol_definitions";
|
|
1960
|
+
referencedColumns: ["id"];
|
|
1955
1961
|
}
|
|
1956
1962
|
];
|
|
1957
1963
|
};
|
|
@@ -1988,11 +1994,11 @@ type Database = {
|
|
|
1988
1994
|
};
|
|
1989
1995
|
Relationships: [
|
|
1990
1996
|
{
|
|
1991
|
-
foreignKeyName:
|
|
1992
|
-
columns: [
|
|
1997
|
+
foreignKeyName: "org_rol_definitions_organization_id_fkey";
|
|
1998
|
+
columns: ["organization_id"];
|
|
1993
1999
|
isOneToOne: false;
|
|
1994
|
-
referencedRelation:
|
|
1995
|
-
referencedColumns: [
|
|
2000
|
+
referencedRelation: "organizations";
|
|
2001
|
+
referencedColumns: ["id"];
|
|
1996
2002
|
}
|
|
1997
2003
|
];
|
|
1998
2004
|
};
|
|
@@ -2014,18 +2020,18 @@ type Database = {
|
|
|
2014
2020
|
};
|
|
2015
2021
|
Relationships: [
|
|
2016
2022
|
{
|
|
2017
|
-
foreignKeyName:
|
|
2018
|
-
columns: [
|
|
2023
|
+
foreignKeyName: "org_rol_grants_permission_key_fkey";
|
|
2024
|
+
columns: ["permission_key"];
|
|
2019
2025
|
isOneToOne: false;
|
|
2020
|
-
referencedRelation:
|
|
2021
|
-
referencedColumns: [
|
|
2026
|
+
referencedRelation: "org_rol_permissions";
|
|
2027
|
+
referencedColumns: ["key"];
|
|
2022
2028
|
},
|
|
2023
2029
|
{
|
|
2024
|
-
foreignKeyName:
|
|
2025
|
-
columns: [
|
|
2030
|
+
foreignKeyName: "org_rol_grants_role_id_fkey";
|
|
2031
|
+
columns: ["role_id"];
|
|
2026
2032
|
isOneToOne: false;
|
|
2027
|
-
referencedRelation:
|
|
2028
|
-
referencedColumns: [
|
|
2033
|
+
referencedRelation: "org_rol_definitions";
|
|
2034
|
+
referencedColumns: ["id"];
|
|
2029
2035
|
}
|
|
2030
2036
|
];
|
|
2031
2037
|
};
|
|
@@ -2137,25 +2143,25 @@ type Database = {
|
|
|
2137
2143
|
};
|
|
2138
2144
|
Relationships: [
|
|
2139
2145
|
{
|
|
2140
|
-
foreignKeyName:
|
|
2141
|
-
columns: [
|
|
2146
|
+
foreignKeyName: "fk_milestones_project";
|
|
2147
|
+
columns: ["project_id"];
|
|
2142
2148
|
isOneToOne: false;
|
|
2143
|
-
referencedRelation:
|
|
2144
|
-
referencedColumns: [
|
|
2149
|
+
referencedRelation: "prj_projects";
|
|
2150
|
+
referencedColumns: ["id"];
|
|
2145
2151
|
},
|
|
2146
2152
|
{
|
|
2147
|
-
foreignKeyName:
|
|
2148
|
-
columns: [
|
|
2153
|
+
foreignKeyName: "prj_milestones_organization_id_fkey";
|
|
2154
|
+
columns: ["organization_id"];
|
|
2149
2155
|
isOneToOne: false;
|
|
2150
|
-
referencedRelation:
|
|
2151
|
-
referencedColumns: [
|
|
2156
|
+
referencedRelation: "organizations";
|
|
2157
|
+
referencedColumns: ["id"];
|
|
2152
2158
|
},
|
|
2153
2159
|
{
|
|
2154
|
-
foreignKeyName:
|
|
2155
|
-
columns: [
|
|
2160
|
+
foreignKeyName: "prj_milestones_project_id_fkey";
|
|
2161
|
+
columns: ["project_id"];
|
|
2156
2162
|
isOneToOne: false;
|
|
2157
|
-
referencedRelation:
|
|
2158
|
-
referencedColumns: [
|
|
2163
|
+
referencedRelation: "prj_projects";
|
|
2164
|
+
referencedColumns: ["id"];
|
|
2159
2165
|
}
|
|
2160
2166
|
];
|
|
2161
2167
|
};
|
|
@@ -2204,67 +2210,67 @@ type Database = {
|
|
|
2204
2210
|
};
|
|
2205
2211
|
Relationships: [
|
|
2206
2212
|
{
|
|
2207
|
-
foreignKeyName:
|
|
2208
|
-
columns: [
|
|
2213
|
+
foreignKeyName: "fk_notes_created_by";
|
|
2214
|
+
columns: ["created_by"];
|
|
2209
2215
|
isOneToOne: false;
|
|
2210
|
-
referencedRelation:
|
|
2211
|
-
referencedColumns: [
|
|
2216
|
+
referencedRelation: "users";
|
|
2217
|
+
referencedColumns: ["id"];
|
|
2212
2218
|
},
|
|
2213
2219
|
{
|
|
2214
|
-
foreignKeyName:
|
|
2215
|
-
columns: [
|
|
2220
|
+
foreignKeyName: "fk_notes_milestone";
|
|
2221
|
+
columns: ["milestone_id"];
|
|
2216
2222
|
isOneToOne: false;
|
|
2217
|
-
referencedRelation:
|
|
2218
|
-
referencedColumns: [
|
|
2223
|
+
referencedRelation: "prj_milestones";
|
|
2224
|
+
referencedColumns: ["id"];
|
|
2219
2225
|
},
|
|
2220
2226
|
{
|
|
2221
|
-
foreignKeyName:
|
|
2222
|
-
columns: [
|
|
2227
|
+
foreignKeyName: "fk_notes_project";
|
|
2228
|
+
columns: ["project_id"];
|
|
2223
2229
|
isOneToOne: false;
|
|
2224
|
-
referencedRelation:
|
|
2225
|
-
referencedColumns: [
|
|
2230
|
+
referencedRelation: "prj_projects";
|
|
2231
|
+
referencedColumns: ["id"];
|
|
2226
2232
|
},
|
|
2227
2233
|
{
|
|
2228
|
-
foreignKeyName:
|
|
2229
|
-
columns: [
|
|
2234
|
+
foreignKeyName: "fk_notes_task";
|
|
2235
|
+
columns: ["task_id"];
|
|
2230
2236
|
isOneToOne: false;
|
|
2231
|
-
referencedRelation:
|
|
2232
|
-
referencedColumns: [
|
|
2237
|
+
referencedRelation: "prj_tasks";
|
|
2238
|
+
referencedColumns: ["id"];
|
|
2233
2239
|
},
|
|
2234
2240
|
{
|
|
2235
|
-
foreignKeyName:
|
|
2236
|
-
columns: [
|
|
2241
|
+
foreignKeyName: "prj_notes_created_by_fkey";
|
|
2242
|
+
columns: ["created_by"];
|
|
2237
2243
|
isOneToOne: false;
|
|
2238
|
-
referencedRelation:
|
|
2239
|
-
referencedColumns: [
|
|
2244
|
+
referencedRelation: "users";
|
|
2245
|
+
referencedColumns: ["id"];
|
|
2240
2246
|
},
|
|
2241
2247
|
{
|
|
2242
|
-
foreignKeyName:
|
|
2243
|
-
columns: [
|
|
2248
|
+
foreignKeyName: "prj_notes_milestone_id_fkey";
|
|
2249
|
+
columns: ["milestone_id"];
|
|
2244
2250
|
isOneToOne: false;
|
|
2245
|
-
referencedRelation:
|
|
2246
|
-
referencedColumns: [
|
|
2251
|
+
referencedRelation: "prj_milestones";
|
|
2252
|
+
referencedColumns: ["id"];
|
|
2247
2253
|
},
|
|
2248
2254
|
{
|
|
2249
|
-
foreignKeyName:
|
|
2250
|
-
columns: [
|
|
2255
|
+
foreignKeyName: "prj_notes_organization_id_fkey";
|
|
2256
|
+
columns: ["organization_id"];
|
|
2251
2257
|
isOneToOne: false;
|
|
2252
|
-
referencedRelation:
|
|
2253
|
-
referencedColumns: [
|
|
2258
|
+
referencedRelation: "organizations";
|
|
2259
|
+
referencedColumns: ["id"];
|
|
2254
2260
|
},
|
|
2255
2261
|
{
|
|
2256
|
-
foreignKeyName:
|
|
2257
|
-
columns: [
|
|
2262
|
+
foreignKeyName: "prj_notes_project_id_fkey";
|
|
2263
|
+
columns: ["project_id"];
|
|
2258
2264
|
isOneToOne: false;
|
|
2259
|
-
referencedRelation:
|
|
2260
|
-
referencedColumns: [
|
|
2265
|
+
referencedRelation: "prj_projects";
|
|
2266
|
+
referencedColumns: ["id"];
|
|
2261
2267
|
},
|
|
2262
2268
|
{
|
|
2263
|
-
foreignKeyName:
|
|
2264
|
-
columns: [
|
|
2269
|
+
foreignKeyName: "prj_notes_task_id_fkey";
|
|
2270
|
+
columns: ["task_id"];
|
|
2265
2271
|
isOneToOne: false;
|
|
2266
|
-
referencedRelation:
|
|
2267
|
-
referencedColumns: [
|
|
2272
|
+
referencedRelation: "prj_tasks";
|
|
2273
|
+
referencedColumns: ["id"];
|
|
2268
2274
|
}
|
|
2269
2275
|
];
|
|
2270
2276
|
};
|
|
@@ -2322,39 +2328,39 @@ type Database = {
|
|
|
2322
2328
|
};
|
|
2323
2329
|
Relationships: [
|
|
2324
2330
|
{
|
|
2325
|
-
foreignKeyName:
|
|
2326
|
-
columns: [
|
|
2331
|
+
foreignKeyName: "fk_projects_company";
|
|
2332
|
+
columns: ["client_company_id"];
|
|
2327
2333
|
isOneToOne: false;
|
|
2328
|
-
referencedRelation:
|
|
2329
|
-
referencedColumns: [
|
|
2334
|
+
referencedRelation: "acq_companies";
|
|
2335
|
+
referencedColumns: ["id"];
|
|
2330
2336
|
},
|
|
2331
2337
|
{
|
|
2332
|
-
foreignKeyName:
|
|
2333
|
-
columns: [
|
|
2338
|
+
foreignKeyName: "fk_projects_deal";
|
|
2339
|
+
columns: ["deal_id"];
|
|
2334
2340
|
isOneToOne: false;
|
|
2335
|
-
referencedRelation:
|
|
2336
|
-
referencedColumns: [
|
|
2341
|
+
referencedRelation: "acq_deals";
|
|
2342
|
+
referencedColumns: ["id"];
|
|
2337
2343
|
},
|
|
2338
2344
|
{
|
|
2339
|
-
foreignKeyName:
|
|
2340
|
-
columns: [
|
|
2345
|
+
foreignKeyName: "prj_projects_client_company_id_fkey";
|
|
2346
|
+
columns: ["client_company_id"];
|
|
2341
2347
|
isOneToOne: false;
|
|
2342
|
-
referencedRelation:
|
|
2343
|
-
referencedColumns: [
|
|
2348
|
+
referencedRelation: "acq_companies";
|
|
2349
|
+
referencedColumns: ["id"];
|
|
2344
2350
|
},
|
|
2345
2351
|
{
|
|
2346
|
-
foreignKeyName:
|
|
2347
|
-
columns: [
|
|
2352
|
+
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
2353
|
+
columns: ["deal_id"];
|
|
2348
2354
|
isOneToOne: false;
|
|
2349
|
-
referencedRelation:
|
|
2350
|
-
referencedColumns: [
|
|
2355
|
+
referencedRelation: "acq_deals";
|
|
2356
|
+
referencedColumns: ["id"];
|
|
2351
2357
|
},
|
|
2352
2358
|
{
|
|
2353
|
-
foreignKeyName:
|
|
2354
|
-
columns: [
|
|
2359
|
+
foreignKeyName: "prj_projects_organization_id_fkey";
|
|
2360
|
+
columns: ["organization_id"];
|
|
2355
2361
|
isOneToOne: false;
|
|
2356
|
-
referencedRelation:
|
|
2357
|
-
referencedColumns: [
|
|
2362
|
+
referencedRelation: "organizations";
|
|
2363
|
+
referencedColumns: ["id"];
|
|
2358
2364
|
}
|
|
2359
2365
|
];
|
|
2360
2366
|
};
|
|
@@ -2418,53 +2424,53 @@ type Database = {
|
|
|
2418
2424
|
};
|
|
2419
2425
|
Relationships: [
|
|
2420
2426
|
{
|
|
2421
|
-
foreignKeyName:
|
|
2422
|
-
columns: [
|
|
2427
|
+
foreignKeyName: "fk_tasks_milestone";
|
|
2428
|
+
columns: ["milestone_id"];
|
|
2423
2429
|
isOneToOne: false;
|
|
2424
|
-
referencedRelation:
|
|
2425
|
-
referencedColumns: [
|
|
2430
|
+
referencedRelation: "prj_milestones";
|
|
2431
|
+
referencedColumns: ["id"];
|
|
2426
2432
|
},
|
|
2427
2433
|
{
|
|
2428
|
-
foreignKeyName:
|
|
2429
|
-
columns: [
|
|
2434
|
+
foreignKeyName: "fk_tasks_parent";
|
|
2435
|
+
columns: ["parent_task_id"];
|
|
2430
2436
|
isOneToOne: false;
|
|
2431
|
-
referencedRelation:
|
|
2432
|
-
referencedColumns: [
|
|
2437
|
+
referencedRelation: "prj_tasks";
|
|
2438
|
+
referencedColumns: ["id"];
|
|
2433
2439
|
},
|
|
2434
2440
|
{
|
|
2435
|
-
foreignKeyName:
|
|
2436
|
-
columns: [
|
|
2441
|
+
foreignKeyName: "fk_tasks_project";
|
|
2442
|
+
columns: ["project_id"];
|
|
2437
2443
|
isOneToOne: false;
|
|
2438
|
-
referencedRelation:
|
|
2439
|
-
referencedColumns: [
|
|
2444
|
+
referencedRelation: "prj_projects";
|
|
2445
|
+
referencedColumns: ["id"];
|
|
2440
2446
|
},
|
|
2441
2447
|
{
|
|
2442
|
-
foreignKeyName:
|
|
2443
|
-
columns: [
|
|
2448
|
+
foreignKeyName: "prj_tasks_milestone_id_fkey";
|
|
2449
|
+
columns: ["milestone_id"];
|
|
2444
2450
|
isOneToOne: false;
|
|
2445
|
-
referencedRelation:
|
|
2446
|
-
referencedColumns: [
|
|
2451
|
+
referencedRelation: "prj_milestones";
|
|
2452
|
+
referencedColumns: ["id"];
|
|
2447
2453
|
},
|
|
2448
2454
|
{
|
|
2449
|
-
foreignKeyName:
|
|
2450
|
-
columns: [
|
|
2455
|
+
foreignKeyName: "prj_tasks_organization_id_fkey";
|
|
2456
|
+
columns: ["organization_id"];
|
|
2451
2457
|
isOneToOne: false;
|
|
2452
|
-
referencedRelation:
|
|
2453
|
-
referencedColumns: [
|
|
2458
|
+
referencedRelation: "organizations";
|
|
2459
|
+
referencedColumns: ["id"];
|
|
2454
2460
|
},
|
|
2455
2461
|
{
|
|
2456
|
-
foreignKeyName:
|
|
2457
|
-
columns: [
|
|
2462
|
+
foreignKeyName: "prj_tasks_parent_task_id_fkey";
|
|
2463
|
+
columns: ["parent_task_id"];
|
|
2458
2464
|
isOneToOne: false;
|
|
2459
|
-
referencedRelation:
|
|
2460
|
-
referencedColumns: [
|
|
2465
|
+
referencedRelation: "prj_tasks";
|
|
2466
|
+
referencedColumns: ["id"];
|
|
2461
2467
|
},
|
|
2462
2468
|
{
|
|
2463
|
-
foreignKeyName:
|
|
2464
|
-
columns: [
|
|
2469
|
+
foreignKeyName: "prj_tasks_project_id_fkey";
|
|
2470
|
+
columns: ["project_id"];
|
|
2465
2471
|
isOneToOne: false;
|
|
2466
|
-
referencedRelation:
|
|
2467
|
-
referencedColumns: [
|
|
2472
|
+
referencedRelation: "prj_projects";
|
|
2473
|
+
referencedColumns: ["id"];
|
|
2468
2474
|
}
|
|
2469
2475
|
];
|
|
2470
2476
|
};
|
|
@@ -2534,25 +2540,25 @@ type Database = {
|
|
|
2534
2540
|
};
|
|
2535
2541
|
Relationships: [
|
|
2536
2542
|
{
|
|
2537
|
-
foreignKeyName:
|
|
2538
|
-
columns: [
|
|
2543
|
+
foreignKeyName: "reported_requests_organization_id_fkey";
|
|
2544
|
+
columns: ["organization_id"];
|
|
2539
2545
|
isOneToOne: false;
|
|
2540
|
-
referencedRelation:
|
|
2541
|
-
referencedColumns: [
|
|
2546
|
+
referencedRelation: "organizations";
|
|
2547
|
+
referencedColumns: ["id"];
|
|
2542
2548
|
},
|
|
2543
2549
|
{
|
|
2544
|
-
foreignKeyName:
|
|
2545
|
-
columns: [
|
|
2550
|
+
foreignKeyName: "reported_requests_project_id_fkey";
|
|
2551
|
+
columns: ["project_id"];
|
|
2546
2552
|
isOneToOne: false;
|
|
2547
|
-
referencedRelation:
|
|
2548
|
-
referencedColumns: [
|
|
2553
|
+
referencedRelation: "prj_projects";
|
|
2554
|
+
referencedColumns: ["id"];
|
|
2549
2555
|
},
|
|
2550
2556
|
{
|
|
2551
|
-
foreignKeyName:
|
|
2552
|
-
columns: [
|
|
2557
|
+
foreignKeyName: "reported_requests_task_id_fkey";
|
|
2558
|
+
columns: ["task_id"];
|
|
2553
2559
|
isOneToOne: false;
|
|
2554
|
-
referencedRelation:
|
|
2555
|
-
referencedColumns: [
|
|
2560
|
+
referencedRelation: "prj_tasks";
|
|
2561
|
+
referencedColumns: ["id"];
|
|
2556
2562
|
}
|
|
2557
2563
|
];
|
|
2558
2564
|
};
|
|
@@ -2592,11 +2598,11 @@ type Database = {
|
|
|
2592
2598
|
};
|
|
2593
2599
|
Relationships: [
|
|
2594
2600
|
{
|
|
2595
|
-
foreignKeyName:
|
|
2596
|
-
columns: [
|
|
2601
|
+
foreignKeyName: "session_messages_session_id_fkey";
|
|
2602
|
+
columns: ["session_id"];
|
|
2597
2603
|
isOneToOne: false;
|
|
2598
|
-
referencedRelation:
|
|
2599
|
-
referencedColumns: [
|
|
2604
|
+
referencedRelation: "sessions";
|
|
2605
|
+
referencedColumns: ["session_id"];
|
|
2600
2606
|
}
|
|
2601
2607
|
];
|
|
2602
2608
|
};
|
|
@@ -2651,18 +2657,18 @@ type Database = {
|
|
|
2651
2657
|
};
|
|
2652
2658
|
Relationships: [
|
|
2653
2659
|
{
|
|
2654
|
-
foreignKeyName:
|
|
2655
|
-
columns: [
|
|
2660
|
+
foreignKeyName: "fk_organization";
|
|
2661
|
+
columns: ["organization_id"];
|
|
2656
2662
|
isOneToOne: false;
|
|
2657
|
-
referencedRelation:
|
|
2658
|
-
referencedColumns: [
|
|
2663
|
+
referencedRelation: "organizations";
|
|
2664
|
+
referencedColumns: ["id"];
|
|
2659
2665
|
},
|
|
2660
2666
|
{
|
|
2661
|
-
foreignKeyName:
|
|
2662
|
-
columns: [
|
|
2667
|
+
foreignKeyName: "fk_user";
|
|
2668
|
+
columns: ["user_id"];
|
|
2663
2669
|
isOneToOne: false;
|
|
2664
|
-
referencedRelation:
|
|
2665
|
-
referencedColumns: [
|
|
2670
|
+
referencedRelation: "users";
|
|
2671
|
+
referencedColumns: ["id"];
|
|
2666
2672
|
}
|
|
2667
2673
|
];
|
|
2668
2674
|
};
|
|
@@ -2738,11 +2744,11 @@ type Database = {
|
|
|
2738
2744
|
};
|
|
2739
2745
|
Relationships: [
|
|
2740
2746
|
{
|
|
2741
|
-
foreignKeyName:
|
|
2742
|
-
columns: [
|
|
2747
|
+
foreignKeyName: "task_schedules_organization_id_fkey";
|
|
2748
|
+
columns: ["organization_id"];
|
|
2743
2749
|
isOneToOne: false;
|
|
2744
|
-
referencedRelation:
|
|
2745
|
-
referencedColumns: [
|
|
2750
|
+
referencedRelation: "organizations";
|
|
2751
|
+
referencedColumns: ["id"];
|
|
2746
2752
|
}
|
|
2747
2753
|
];
|
|
2748
2754
|
};
|
|
@@ -2797,11 +2803,11 @@ type Database = {
|
|
|
2797
2803
|
};
|
|
2798
2804
|
Relationships: [
|
|
2799
2805
|
{
|
|
2800
|
-
foreignKeyName:
|
|
2801
|
-
columns: [
|
|
2806
|
+
foreignKeyName: "user_profiles_last_visited_org_fkey";
|
|
2807
|
+
columns: ["last_visited_org"];
|
|
2802
2808
|
isOneToOne: false;
|
|
2803
|
-
referencedRelation:
|
|
2804
|
-
referencedColumns: [
|
|
2809
|
+
referencedRelation: "organizations";
|
|
2810
|
+
referencedColumns: ["id"];
|
|
2805
2811
|
}
|
|
2806
2812
|
];
|
|
2807
2813
|
};
|
|
@@ -2850,11 +2856,11 @@ type Database = {
|
|
|
2850
2856
|
};
|
|
2851
2857
|
Relationships: [
|
|
2852
2858
|
{
|
|
2853
|
-
foreignKeyName:
|
|
2854
|
-
columns: [
|
|
2859
|
+
foreignKeyName: "webhook_endpoints_organization_id_fkey";
|
|
2860
|
+
columns: ["organization_id"];
|
|
2855
2861
|
isOneToOne: false;
|
|
2856
|
-
referencedRelation:
|
|
2857
|
-
referencedColumns: [
|
|
2862
|
+
referencedRelation: "organizations";
|
|
2863
|
+
referencedColumns: ["id"];
|
|
2858
2864
|
}
|
|
2859
2865
|
];
|
|
2860
2866
|
};
|
|
@@ -3006,6 +3012,78 @@ type Database = {
|
|
|
3006
3012
|
/** Raw database row type for acq_deals table */
|
|
3007
3013
|
type AcqDealRow = Database['public']['Tables']['acq_deals']['Row'];
|
|
3008
3014
|
|
|
3015
|
+
/**
|
|
3016
|
+
* Single list as returned by /api/acquisition/lists/:id etc.
|
|
3017
|
+
* Camel-cased domain shape matching AcqList in types.ts.
|
|
3018
|
+
*/
|
|
3019
|
+
declare const AcqListResponseSchema: z.ZodObject<{
|
|
3020
|
+
id: z.ZodString;
|
|
3021
|
+
organizationId: z.ZodString;
|
|
3022
|
+
name: z.ZodString;
|
|
3023
|
+
description: z.ZodNullable<z.ZodString>;
|
|
3024
|
+
batchIds: z.ZodArray<z.ZodString>;
|
|
3025
|
+
instantlyCampaignId: z.ZodNullable<z.ZodString>;
|
|
3026
|
+
status: z.ZodEnum<{
|
|
3027
|
+
closing: "closing";
|
|
3028
|
+
draft: "draft";
|
|
3029
|
+
enriching: "enriching";
|
|
3030
|
+
launched: "launched";
|
|
3031
|
+
archived: "archived";
|
|
3032
|
+
}>;
|
|
3033
|
+
metadata: z.ZodObject<{
|
|
3034
|
+
buildPlanSnapshot: z.ZodOptional<z.ZodObject<{
|
|
3035
|
+
templateId: z.ZodString;
|
|
3036
|
+
templateLabel: z.ZodString;
|
|
3037
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3038
|
+
id: z.ZodString;
|
|
3039
|
+
label: z.ZodString;
|
|
3040
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3041
|
+
primaryEntity: z.ZodEnum<{
|
|
3042
|
+
company: "company";
|
|
3043
|
+
contact: "contact";
|
|
3044
|
+
}>;
|
|
3045
|
+
outputs: z.ZodArray<z.ZodEnum<{
|
|
3046
|
+
company: "company";
|
|
3047
|
+
contact: "contact";
|
|
3048
|
+
export: "export";
|
|
3049
|
+
}>>;
|
|
3050
|
+
stageKey: z.ZodString;
|
|
3051
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3052
|
+
dependencyMode: z.ZodLiteral<"per-record-eligibility">;
|
|
3053
|
+
capabilityKey: z.ZodString;
|
|
3054
|
+
defaultBatchSize: z.ZodNumber;
|
|
3055
|
+
maxBatchSize: z.ZodNumber;
|
|
3056
|
+
}, z.core.$strip>>;
|
|
3057
|
+
}, z.core.$strip>>;
|
|
3058
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
3059
|
+
launchedAt: z.ZodNullable<z.ZodString>;
|
|
3060
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
3061
|
+
createdAt: z.ZodString;
|
|
3062
|
+
scrapingConfig: z.ZodObject<{
|
|
3063
|
+
vertical: z.ZodOptional<z.ZodString>;
|
|
3064
|
+
geography: z.ZodOptional<z.ZodString>;
|
|
3065
|
+
size: z.ZodOptional<z.ZodString>;
|
|
3066
|
+
apifyInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3067
|
+
}, z.core.$strip>;
|
|
3068
|
+
icp: z.ZodObject<{
|
|
3069
|
+
qualificationRubricKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3070
|
+
targetDescription: z.ZodOptional<z.ZodString>;
|
|
3071
|
+
minReviewCount: z.ZodOptional<z.ZodNumber>;
|
|
3072
|
+
minRating: z.ZodOptional<z.ZodNumber>;
|
|
3073
|
+
excludeFranchises: z.ZodOptional<z.ZodBoolean>;
|
|
3074
|
+
customRules: z.ZodOptional<z.ZodString>;
|
|
3075
|
+
}, z.core.$strip>;
|
|
3076
|
+
pipelineConfig: z.ZodObject<{
|
|
3077
|
+
stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3078
|
+
key: z.ZodString;
|
|
3079
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3080
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3081
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
3082
|
+
}, z.core.$strip>>>;
|
|
3083
|
+
}, z.core.$strip>;
|
|
3084
|
+
}, z.core.$strip>;
|
|
3085
|
+
type AcqListResponse = z.infer<typeof AcqListResponseSchema>;
|
|
3086
|
+
|
|
3009
3087
|
interface ActionDef {
|
|
3010
3088
|
key: string;
|
|
3011
3089
|
label: string;
|
|
@@ -3142,6 +3220,36 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3142
3220
|
id: z.ZodString;
|
|
3143
3221
|
order: z.ZodNumber;
|
|
3144
3222
|
}, z.core.$strip>>;
|
|
3223
|
+
defaultBuildTemplateId: z.ZodString;
|
|
3224
|
+
buildTemplates: z.ZodArray<z.ZodObject<{
|
|
3225
|
+
label: z.ZodString;
|
|
3226
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3227
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3228
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
3229
|
+
id: z.ZodString;
|
|
3230
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3231
|
+
label: z.ZodString;
|
|
3232
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3233
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3234
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
3235
|
+
id: z.ZodString;
|
|
3236
|
+
primaryEntity: z.ZodEnum<{
|
|
3237
|
+
company: "company";
|
|
3238
|
+
contact: "contact";
|
|
3239
|
+
}>;
|
|
3240
|
+
outputs: z.ZodArray<z.ZodEnum<{
|
|
3241
|
+
company: "company";
|
|
3242
|
+
contact: "contact";
|
|
3243
|
+
export: "export";
|
|
3244
|
+
}>>;
|
|
3245
|
+
stageKey: z.ZodString;
|
|
3246
|
+
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3247
|
+
dependencyMode: z.ZodLiteral<"per-record-eligibility">;
|
|
3248
|
+
capabilityKey: z.ZodString;
|
|
3249
|
+
defaultBatchSize: z.ZodNumber;
|
|
3250
|
+
maxBatchSize: z.ZodNumber;
|
|
3251
|
+
}, z.core.$strip>>;
|
|
3252
|
+
}, z.core.$strip>>;
|
|
3145
3253
|
}, z.core.$strip>;
|
|
3146
3254
|
projects: z.ZodObject<{
|
|
3147
3255
|
projectEntityId: z.ZodString;
|
|
@@ -3307,6 +3415,32 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
3307
3415
|
type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
|
|
3308
3416
|
type OrganizationModelFeature = z.infer<typeof FeatureSchema>;
|
|
3309
3417
|
|
|
3418
|
+
type ListBuilderWorkflowCategory = 'build' | 'enrich' | 'qualify' | 'scrape' | 'utility';
|
|
3419
|
+
type LeadGenStageKey = string;
|
|
3420
|
+
type LeadGenCapabilityKey = string;
|
|
3421
|
+
interface ListBuilderWorkflowFormProps {
|
|
3422
|
+
list: AcqListResponse;
|
|
3423
|
+
onSubmit: (input: unknown) => void | Promise<void>;
|
|
3424
|
+
}
|
|
3425
|
+
interface ListBuilderWorkflow {
|
|
3426
|
+
resourceId: string;
|
|
3427
|
+
workflowId?: string;
|
|
3428
|
+
capabilityKey?: LeadGenCapabilityKey;
|
|
3429
|
+
label: string;
|
|
3430
|
+
description: string;
|
|
3431
|
+
category: ListBuilderWorkflowCategory;
|
|
3432
|
+
stagesAffected: readonly LeadGenStageKey[];
|
|
3433
|
+
inputForm?: ComponentType<ListBuilderWorkflowFormProps>;
|
|
3434
|
+
defaultInput?: (list: AcqListResponse) => unknown;
|
|
3435
|
+
}
|
|
3436
|
+
type ListBuilderRegistry = readonly ListBuilderWorkflow[];
|
|
3437
|
+
|
|
3438
|
+
declare function ListActionsProvider({ registry, children }: {
|
|
3439
|
+
registry?: ListBuilderRegistry;
|
|
3440
|
+
children: ReactNode;
|
|
3441
|
+
}): react_jsx_runtime.JSX.Element;
|
|
3442
|
+
declare function useListActions(): ListBuilderRegistry;
|
|
3443
|
+
|
|
3310
3444
|
/** Flat + per-scheme override pattern. Flat values apply to both; `light`/`dark` win over flat. */
|
|
3311
3445
|
type WithSchemes<T> = T & {
|
|
3312
3446
|
light?: T;
|
|
@@ -3435,7 +3569,7 @@ interface ElevasisCoreProviderProps {
|
|
|
3435
3569
|
*/
|
|
3436
3570
|
injectStyles?: boolean;
|
|
3437
3571
|
/**
|
|
3438
|
-
* CRM action definitions used by DealDetailPage
|
|
3572
|
+
* CRM action definitions used by DealDetailPage.
|
|
3439
3573
|
* Defaults to DEFAULT_CRM_ACTIONS. Pass a custom array to override or extend
|
|
3440
3574
|
* the default action set for your organization's sales flow.
|
|
3441
3575
|
*
|
|
@@ -3452,6 +3586,12 @@ interface ElevasisCoreProviderProps {
|
|
|
3452
3586
|
* ```
|
|
3453
3587
|
*/
|
|
3454
3588
|
crmActions?: ActionDef[];
|
|
3589
|
+
/**
|
|
3590
|
+
* List Builder workflow registry used by lead-gen list action surfaces.
|
|
3591
|
+
* Defaults to an empty registry. Client projects should pass their project-local
|
|
3592
|
+
* workflow definitions here; @repo/ui does not ship project workflow IDs.
|
|
3593
|
+
*/
|
|
3594
|
+
listActions?: ListBuilderRegistry;
|
|
3455
3595
|
children: ReactNode;
|
|
3456
3596
|
}
|
|
3457
3597
|
/**
|
|
@@ -3495,7 +3635,7 @@ interface ElevasisServiceProviderProps {
|
|
|
3495
3635
|
* </ElevasisCoreProvider>
|
|
3496
3636
|
* ```
|
|
3497
3637
|
*/
|
|
3498
|
-
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, crmActions, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
3638
|
+
declare function ElevasisCoreProvider({ auth, queryClient, apiUrl, onError, notifications, crmActions, listActions, children }: ElevasisCoreProviderProps): react_jsx_runtime.JSX.Element;
|
|
3499
3639
|
|
|
3500
3640
|
/**
|
|
3501
3641
|
* Provides the active CRM action definitions to deal action surfaces.
|
|
@@ -3659,6 +3799,7 @@ interface AppearanceConfig {
|
|
|
3659
3799
|
/** Loader element rendered during loading states. Defaults to Elevasis chevron loader. */
|
|
3660
3800
|
loader?: ReactNode;
|
|
3661
3801
|
}
|
|
3802
|
+
|
|
3662
3803
|
declare function AppearanceProvider({ value, children }: {
|
|
3663
3804
|
value: Required<AppearanceConfig>;
|
|
3664
3805
|
children: ReactNode;
|
|
@@ -3711,7 +3852,7 @@ interface ElevasisThemeConfig extends ElevasisCoreThemeConfig {
|
|
|
3711
3852
|
* Extends ElevasisCoreProviderProps with Mantine-aware theme config.
|
|
3712
3853
|
*
|
|
3713
3854
|
* Accepts `crmActions` from ElevasisCoreProviderProps — pass a custom ActionDef[]
|
|
3714
|
-
* to override or extend the default CRM action set for DealDetailPage
|
|
3855
|
+
* to override or extend the default CRM action set for DealDetailPage.
|
|
3715
3856
|
*/
|
|
3716
3857
|
interface ElevasisUIProviderProps extends Omit<ElevasisCoreProviderProps, 'theme' | 'notifications'> {
|
|
3717
3858
|
theme?: ElevasisThemeConfig;
|
|
@@ -3726,5 +3867,5 @@ declare function createTestFeaturesProvider({ organizationModel, features }?: Cr
|
|
|
3726
3867
|
children: ReactNode;
|
|
3727
3868
|
}) => react_jsx_runtime.JSX.Element;
|
|
3728
3869
|
|
|
3729
|
-
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, NotificationProvider, createTestFeaturesProvider, useAppearance, useCrmActions, useElevasisFeatures, useElevasisServices, useNotificationAdapter, useOptionalElevasisFeatures };
|
|
3730
|
-
export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestFeaturesProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, PresetName, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ShellRouteMatchStatus, ShellRuntime, WithSchemes };
|
|
3870
|
+
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, ElevasisUIProvider, FeatureShell, ListActionsProvider, NotificationProvider, createTestFeaturesProvider, useAppearance, useCrmActions, useElevasisFeatures, useElevasisServices, useListActions, useNotificationAdapter, useOptionalElevasisFeatures };
|
|
3871
|
+
export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, CreateTestFeaturesProviderOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, LeadGenStageKey, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, ListBuilderWorkflowFormProps, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, PresetName, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ShellRouteMatchStatus, ShellRuntime, WithSchemes };
|