@elevasis/ui 2.23.0 → 2.25.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.
- package/dist/app/index.d.ts +2915 -0
- package/dist/app/index.js +5 -4
- package/dist/{chunk-7PGEGSUM.js → chunk-7D2HSSIW.js} +2 -2
- package/dist/{chunk-YU6MBDVO.js → chunk-ABV5LDDC.js} +4 -68
- package/dist/chunk-AZXSFDG2.js +474 -0
- package/dist/{chunk-6IA2OMAE.js → chunk-HC2KV6BU.js} +9 -0
- package/dist/{chunk-PXGSJNBH.js → chunk-HVC2BTFO.js} +783 -374
- package/dist/{chunk-3HEUGBOT.js → chunk-LK4MPIMK.js} +2 -2
- package/dist/{chunk-XOTJNW4Q.js → chunk-QIW6OCEI.js} +18 -1
- package/dist/{chunk-GUJUK6EH.js → chunk-QJLRDTYS.js} +198 -2
- package/dist/{chunk-QZJM3RYI.js → chunk-SNHGSCKH.js} +1 -1
- package/dist/{chunk-FXWETLEB.js → chunk-V3UOW2HG.js} +1 -1
- package/dist/{chunk-N6WLOWOD.js → chunk-WSC5LU3U.js} +3 -12
- package/dist/{chunk-EPV7NU2E.js → chunk-WWVSPOJY.js} +385 -188
- package/dist/{chunk-SQ5JGELM.js → chunk-ZDKQNQ4X.js} +19 -1
- package/dist/{chunk-PTUOINQ2.js → chunk-ZGZZIR6K.js} +3 -3
- package/dist/{chunk-D3KQAABP.js → chunk-ZMXZ476Y.js} +1 -1
- package/dist/components/index.d.ts +488 -452
- package/dist/components/index.js +127 -22
- package/dist/components/navigation/index.js +2 -2
- package/dist/features/auth/index.d.ts +463 -377
- package/dist/features/crm/index.d.ts +459 -379
- package/dist/features/crm/index.js +8 -8
- package/dist/features/dashboard/index.js +8 -8
- package/dist/features/delivery/index.d.ts +457 -371
- package/dist/features/delivery/index.js +8 -8
- package/dist/features/lead-gen/index.d.ts +225 -65
- package/dist/features/lead-gen/index.js +8 -8
- package/dist/features/monitoring/index.js +9 -9
- package/dist/features/monitoring/requests/index.js +7 -7
- package/dist/features/operations/index.js +10 -10
- package/dist/features/settings/index.d.ts +463 -377
- package/dist/features/settings/index.js +9 -9
- package/dist/hooks/delivery/index.d.ts +457 -371
- package/dist/hooks/index.d.ts +957 -718
- package/dist/hooks/index.js +7 -7
- package/dist/hooks/published.d.ts +957 -718
- package/dist/hooks/published.js +7 -7
- package/dist/index.d.ts +1327 -1020
- package/dist/index.js +8 -8
- package/dist/initialization/index.d.ts +463 -377
- package/dist/organization/index.d.ts +11 -1
- package/dist/organization/index.js +2 -2
- package/dist/profile/index.d.ts +463 -377
- package/dist/provider/index.d.ts +3132 -169
- package/dist/provider/index.js +6 -6
- package/dist/provider/published.d.ts +3098 -168
- package/dist/provider/published.js +3 -3
- package/dist/supabase/index.d.ts +559 -389
- package/dist/test-utils/index.d.ts +21 -1
- package/dist/test-utils/index.js +13 -4
- package/dist/theme/index.js +2 -2
- package/dist/types/index.d.ts +463 -377
- package/package.json +2 -2
- package/src/test-utils/README.md +2 -0
- package/dist/chunk-LVUCBY7X.js +0 -127
- /package/dist/{chunk-ZBCTB5CA.js → chunk-EIOJNUPL.js} +0 -0
package/dist/supabase/index.d.ts
CHANGED
|
@@ -5,10 +5,57 @@ type Json = string | number | boolean | null | {
|
|
|
5
5
|
} | Json[];
|
|
6
6
|
type Database = {
|
|
7
7
|
__InternalSupabase: {
|
|
8
|
-
PostgrestVersion:
|
|
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:
|
|
85
|
-
columns: [
|
|
140
|
+
foreignKeyName: 'acq_companies_organization_id_fkey';
|
|
141
|
+
columns: ['organization_id'];
|
|
86
142
|
isOneToOne: false;
|
|
87
|
-
referencedRelation:
|
|
88
|
-
referencedColumns: [
|
|
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:
|
|
171
|
-
columns: [
|
|
235
|
+
foreignKeyName: 'acq_contacts_company_id_fkey';
|
|
236
|
+
columns: ['company_id'];
|
|
172
237
|
isOneToOne: false;
|
|
173
|
-
referencedRelation:
|
|
174
|
-
referencedColumns: [
|
|
238
|
+
referencedRelation: 'acq_companies';
|
|
239
|
+
referencedColumns: ['id'];
|
|
175
240
|
},
|
|
176
241
|
{
|
|
177
|
-
foreignKeyName:
|
|
178
|
-
columns: [
|
|
242
|
+
foreignKeyName: 'acq_contacts_organization_id_fkey';
|
|
243
|
+
columns: ['organization_id'];
|
|
179
244
|
isOneToOne: false;
|
|
180
|
-
referencedRelation:
|
|
181
|
-
referencedColumns: [
|
|
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:
|
|
219
|
-
columns: [
|
|
283
|
+
foreignKeyName: 'acq_content_organization_id_fkey';
|
|
284
|
+
columns: ['organization_id'];
|
|
220
285
|
isOneToOne: false;
|
|
221
|
-
referencedRelation:
|
|
222
|
-
referencedColumns: [
|
|
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:
|
|
287
|
-
columns: [
|
|
351
|
+
foreignKeyName: 'acq_content_distributions_content_id_fkey';
|
|
352
|
+
columns: ['content_id'];
|
|
288
353
|
isOneToOne: false;
|
|
289
|
-
referencedRelation:
|
|
290
|
-
referencedColumns: [
|
|
354
|
+
referencedRelation: 'acq_content';
|
|
355
|
+
referencedColumns: ['id'];
|
|
291
356
|
},
|
|
292
357
|
{
|
|
293
|
-
foreignKeyName:
|
|
294
|
-
columns: [
|
|
358
|
+
foreignKeyName: 'acq_content_distributions_organization_id_fkey';
|
|
359
|
+
columns: ['organization_id'];
|
|
295
360
|
isOneToOne: false;
|
|
296
|
-
referencedRelation:
|
|
297
|
-
referencedColumns: [
|
|
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:
|
|
332
|
-
columns: [
|
|
396
|
+
foreignKeyName: 'acq_deal_notes_deal_id_fkey';
|
|
397
|
+
columns: ['deal_id'];
|
|
333
398
|
isOneToOne: false;
|
|
334
|
-
referencedRelation:
|
|
335
|
-
referencedColumns: [
|
|
399
|
+
referencedRelation: 'acq_deals';
|
|
400
|
+
referencedColumns: ['id'];
|
|
336
401
|
},
|
|
337
402
|
{
|
|
338
|
-
foreignKeyName:
|
|
339
|
-
columns: [
|
|
403
|
+
foreignKeyName: 'acq_deal_notes_organization_id_fkey';
|
|
404
|
+
columns: ['organization_id'];
|
|
340
405
|
isOneToOne: false;
|
|
341
|
-
referencedRelation:
|
|
342
|
-
referencedColumns: [
|
|
406
|
+
referencedRelation: 'organizations';
|
|
407
|
+
referencedColumns: ['id'];
|
|
343
408
|
}
|
|
344
409
|
];
|
|
345
410
|
};
|
|
@@ -391,18 +456,18 @@ type Database = {
|
|
|
391
456
|
};
|
|
392
457
|
Relationships: [
|
|
393
458
|
{
|
|
394
|
-
foreignKeyName:
|
|
395
|
-
columns: [
|
|
459
|
+
foreignKeyName: 'acq_deal_tasks_deal_id_fkey';
|
|
460
|
+
columns: ['deal_id'];
|
|
396
461
|
isOneToOne: false;
|
|
397
|
-
referencedRelation:
|
|
398
|
-
referencedColumns: [
|
|
462
|
+
referencedRelation: 'acq_deals';
|
|
463
|
+
referencedColumns: ['id'];
|
|
399
464
|
},
|
|
400
465
|
{
|
|
401
|
-
foreignKeyName:
|
|
402
|
-
columns: [
|
|
466
|
+
foreignKeyName: 'acq_deal_tasks_organization_id_fkey';
|
|
467
|
+
columns: ['organization_id'];
|
|
403
468
|
isOneToOne: false;
|
|
404
|
-
referencedRelation:
|
|
405
|
-
referencedColumns: [
|
|
469
|
+
referencedRelation: 'organizations';
|
|
470
|
+
referencedColumns: ['id'];
|
|
406
471
|
}
|
|
407
472
|
];
|
|
408
473
|
};
|
|
@@ -514,86 +579,95 @@ type Database = {
|
|
|
514
579
|
};
|
|
515
580
|
Relationships: [
|
|
516
581
|
{
|
|
517
|
-
foreignKeyName:
|
|
518
|
-
columns: [
|
|
582
|
+
foreignKeyName: 'acq_deals_contact_id_fkey';
|
|
583
|
+
columns: ['contact_id'];
|
|
519
584
|
isOneToOne: false;
|
|
520
|
-
referencedRelation:
|
|
521
|
-
referencedColumns: [
|
|
585
|
+
referencedRelation: 'acq_contacts';
|
|
586
|
+
referencedColumns: ['id'];
|
|
522
587
|
},
|
|
523
588
|
{
|
|
524
|
-
foreignKeyName:
|
|
525
|
-
columns: [
|
|
589
|
+
foreignKeyName: 'acq_deals_organization_id_fkey';
|
|
590
|
+
columns: ['organization_id'];
|
|
526
591
|
isOneToOne: false;
|
|
527
|
-
referencedRelation:
|
|
528
|
-
referencedColumns: [
|
|
592
|
+
referencedRelation: 'organizations';
|
|
593
|
+
referencedColumns: ['id'];
|
|
529
594
|
},
|
|
530
595
|
{
|
|
531
|
-
foreignKeyName:
|
|
532
|
-
columns: [
|
|
596
|
+
foreignKeyName: 'acq_deals_source_list_id_fkey';
|
|
597
|
+
columns: ['source_list_id'];
|
|
533
598
|
isOneToOne: false;
|
|
534
|
-
referencedRelation:
|
|
535
|
-
referencedColumns: [
|
|
599
|
+
referencedRelation: 'acq_lists';
|
|
600
|
+
referencedColumns: ['id'];
|
|
536
601
|
}
|
|
537
602
|
];
|
|
538
603
|
};
|
|
539
604
|
acq_list_companies: {
|
|
540
605
|
Row: {
|
|
606
|
+
activity_log: Json;
|
|
541
607
|
added_at: string;
|
|
542
608
|
added_by: string | null;
|
|
543
609
|
company_id: string;
|
|
544
610
|
id: string;
|
|
545
611
|
list_id: string;
|
|
612
|
+
pipeline_key: string;
|
|
613
|
+
processing_state: Json;
|
|
546
614
|
source_execution_id: string | null;
|
|
547
615
|
source_input_hash: string | null;
|
|
548
616
|
source_resource_id: string | null;
|
|
549
|
-
|
|
550
|
-
|
|
617
|
+
stage_key: string;
|
|
618
|
+
state_key: string;
|
|
551
619
|
};
|
|
552
620
|
Insert: {
|
|
621
|
+
activity_log?: Json;
|
|
553
622
|
added_at?: string;
|
|
554
623
|
added_by?: string | null;
|
|
555
624
|
company_id: string;
|
|
556
625
|
id?: string;
|
|
557
626
|
list_id: string;
|
|
627
|
+
pipeline_key?: string;
|
|
628
|
+
processing_state?: Json;
|
|
558
629
|
source_execution_id?: string | null;
|
|
559
630
|
source_input_hash?: string | null;
|
|
560
631
|
source_resource_id?: string | null;
|
|
561
|
-
|
|
562
|
-
|
|
632
|
+
stage_key: string;
|
|
633
|
+
state_key: string;
|
|
563
634
|
};
|
|
564
635
|
Update: {
|
|
636
|
+
activity_log?: Json;
|
|
565
637
|
added_at?: string;
|
|
566
638
|
added_by?: string | null;
|
|
567
639
|
company_id?: string;
|
|
568
640
|
id?: string;
|
|
569
641
|
list_id?: string;
|
|
642
|
+
pipeline_key?: string;
|
|
643
|
+
processing_state?: Json;
|
|
570
644
|
source_execution_id?: string | null;
|
|
571
645
|
source_input_hash?: string | null;
|
|
572
646
|
source_resource_id?: string | null;
|
|
573
|
-
|
|
574
|
-
|
|
647
|
+
stage_key?: string;
|
|
648
|
+
state_key?: string;
|
|
575
649
|
};
|
|
576
650
|
Relationships: [
|
|
577
651
|
{
|
|
578
|
-
foreignKeyName:
|
|
579
|
-
columns: [
|
|
652
|
+
foreignKeyName: 'acq_list_companies_company_id_fkey';
|
|
653
|
+
columns: ['company_id'];
|
|
580
654
|
isOneToOne: false;
|
|
581
|
-
referencedRelation:
|
|
582
|
-
referencedColumns: [
|
|
655
|
+
referencedRelation: 'acq_companies';
|
|
656
|
+
referencedColumns: ['id'];
|
|
583
657
|
},
|
|
584
658
|
{
|
|
585
|
-
foreignKeyName:
|
|
586
|
-
columns: [
|
|
659
|
+
foreignKeyName: 'acq_list_companies_list_id_fkey';
|
|
660
|
+
columns: ['list_id'];
|
|
587
661
|
isOneToOne: false;
|
|
588
|
-
referencedRelation:
|
|
589
|
-
referencedColumns: [
|
|
662
|
+
referencedRelation: 'acq_lists';
|
|
663
|
+
referencedColumns: ['id'];
|
|
590
664
|
},
|
|
591
665
|
{
|
|
592
|
-
foreignKeyName:
|
|
593
|
-
columns: [
|
|
666
|
+
foreignKeyName: 'acq_list_companies_source_execution_id_fkey';
|
|
667
|
+
columns: ['source_execution_id'];
|
|
594
668
|
isOneToOne: false;
|
|
595
|
-
referencedRelation:
|
|
596
|
-
referencedColumns: [
|
|
669
|
+
referencedRelation: 'execution_logs';
|
|
670
|
+
referencedColumns: ['execution_id'];
|
|
597
671
|
}
|
|
598
672
|
];
|
|
599
673
|
};
|
|
@@ -621,79 +695,88 @@ type Database = {
|
|
|
621
695
|
};
|
|
622
696
|
Relationships: [
|
|
623
697
|
{
|
|
624
|
-
foreignKeyName:
|
|
625
|
-
columns: [
|
|
698
|
+
foreignKeyName: 'acq_list_executions_execution_id_fkey';
|
|
699
|
+
columns: ['execution_id'];
|
|
626
700
|
isOneToOne: false;
|
|
627
|
-
referencedRelation:
|
|
628
|
-
referencedColumns: [
|
|
701
|
+
referencedRelation: 'execution_logs';
|
|
702
|
+
referencedColumns: ['execution_id'];
|
|
629
703
|
},
|
|
630
704
|
{
|
|
631
|
-
foreignKeyName:
|
|
632
|
-
columns: [
|
|
705
|
+
foreignKeyName: 'acq_list_executions_list_id_fkey';
|
|
706
|
+
columns: ['list_id'];
|
|
633
707
|
isOneToOne: false;
|
|
634
|
-
referencedRelation:
|
|
635
|
-
referencedColumns: [
|
|
708
|
+
referencedRelation: 'acq_lists';
|
|
709
|
+
referencedColumns: ['id'];
|
|
636
710
|
}
|
|
637
711
|
];
|
|
638
712
|
};
|
|
639
713
|
acq_list_members: {
|
|
640
714
|
Row: {
|
|
715
|
+
activity_log: Json;
|
|
641
716
|
added_at: string;
|
|
642
717
|
added_by: string | null;
|
|
643
718
|
contact_id: string;
|
|
644
719
|
id: string;
|
|
645
720
|
list_id: string;
|
|
721
|
+
pipeline_key: string;
|
|
722
|
+
processing_state: Json;
|
|
646
723
|
source_execution_id: string | null;
|
|
647
724
|
source_input_hash: string | null;
|
|
648
725
|
source_resource_id: string | null;
|
|
649
|
-
|
|
650
|
-
|
|
726
|
+
stage_key: string;
|
|
727
|
+
state_key: string;
|
|
651
728
|
};
|
|
652
729
|
Insert: {
|
|
730
|
+
activity_log?: Json;
|
|
653
731
|
added_at?: string;
|
|
654
732
|
added_by?: string | null;
|
|
655
733
|
contact_id: string;
|
|
656
734
|
id?: string;
|
|
657
735
|
list_id: string;
|
|
736
|
+
pipeline_key?: string;
|
|
737
|
+
processing_state?: Json;
|
|
658
738
|
source_execution_id?: string | null;
|
|
659
739
|
source_input_hash?: string | null;
|
|
660
740
|
source_resource_id?: string | null;
|
|
661
|
-
|
|
662
|
-
|
|
741
|
+
stage_key: string;
|
|
742
|
+
state_key: string;
|
|
663
743
|
};
|
|
664
744
|
Update: {
|
|
745
|
+
activity_log?: Json;
|
|
665
746
|
added_at?: string;
|
|
666
747
|
added_by?: string | null;
|
|
667
748
|
contact_id?: string;
|
|
668
749
|
id?: string;
|
|
669
750
|
list_id?: string;
|
|
751
|
+
pipeline_key?: string;
|
|
752
|
+
processing_state?: Json;
|
|
670
753
|
source_execution_id?: string | null;
|
|
671
754
|
source_input_hash?: string | null;
|
|
672
755
|
source_resource_id?: string | null;
|
|
673
|
-
|
|
674
|
-
|
|
756
|
+
stage_key?: string;
|
|
757
|
+
state_key?: string;
|
|
675
758
|
};
|
|
676
759
|
Relationships: [
|
|
677
760
|
{
|
|
678
|
-
foreignKeyName:
|
|
679
|
-
columns: [
|
|
761
|
+
foreignKeyName: 'acq_list_members_contact_id_fkey';
|
|
762
|
+
columns: ['contact_id'];
|
|
680
763
|
isOneToOne: false;
|
|
681
|
-
referencedRelation:
|
|
682
|
-
referencedColumns: [
|
|
764
|
+
referencedRelation: 'acq_contacts';
|
|
765
|
+
referencedColumns: ['id'];
|
|
683
766
|
},
|
|
684
767
|
{
|
|
685
|
-
foreignKeyName:
|
|
686
|
-
columns: [
|
|
768
|
+
foreignKeyName: 'acq_list_members_list_id_fkey';
|
|
769
|
+
columns: ['list_id'];
|
|
687
770
|
isOneToOne: false;
|
|
688
|
-
referencedRelation:
|
|
689
|
-
referencedColumns: [
|
|
771
|
+
referencedRelation: 'acq_lists';
|
|
772
|
+
referencedColumns: ['id'];
|
|
690
773
|
},
|
|
691
774
|
{
|
|
692
|
-
foreignKeyName:
|
|
693
|
-
columns: [
|
|
775
|
+
foreignKeyName: 'acq_list_members_source_execution_id_fkey';
|
|
776
|
+
columns: ['source_execution_id'];
|
|
694
777
|
isOneToOne: false;
|
|
695
|
-
referencedRelation:
|
|
696
|
-
referencedColumns: [
|
|
778
|
+
referencedRelation: 'execution_logs';
|
|
779
|
+
referencedColumns: ['execution_id'];
|
|
697
780
|
}
|
|
698
781
|
];
|
|
699
782
|
};
|
|
@@ -701,55 +784,58 @@ type Database = {
|
|
|
701
784
|
Row: {
|
|
702
785
|
batch_ids: string[];
|
|
703
786
|
completed_at: string | null;
|
|
704
|
-
config: Json;
|
|
705
787
|
created_at: string;
|
|
706
788
|
description: string | null;
|
|
789
|
+
icp: Json;
|
|
707
790
|
id: string;
|
|
708
791
|
instantly_campaign_id: string | null;
|
|
709
792
|
launched_at: string | null;
|
|
710
793
|
metadata: Json;
|
|
711
794
|
name: string;
|
|
712
795
|
organization_id: string;
|
|
796
|
+
pipeline_config: Json;
|
|
797
|
+
scraping_config: Json;
|
|
713
798
|
status: string;
|
|
714
|
-
type: string;
|
|
715
799
|
};
|
|
716
800
|
Insert: {
|
|
717
801
|
batch_ids?: string[];
|
|
718
802
|
completed_at?: string | null;
|
|
719
|
-
config?: Json;
|
|
720
803
|
created_at?: string;
|
|
721
804
|
description?: string | null;
|
|
805
|
+
icp?: Json;
|
|
722
806
|
id?: string;
|
|
723
807
|
instantly_campaign_id?: string | null;
|
|
724
808
|
launched_at?: string | null;
|
|
725
809
|
metadata?: Json;
|
|
726
810
|
name: string;
|
|
727
811
|
organization_id: string;
|
|
812
|
+
pipeline_config?: Json;
|
|
813
|
+
scraping_config?: Json;
|
|
728
814
|
status?: string;
|
|
729
|
-
type?: string;
|
|
730
815
|
};
|
|
731
816
|
Update: {
|
|
732
817
|
batch_ids?: string[];
|
|
733
818
|
completed_at?: string | null;
|
|
734
|
-
config?: Json;
|
|
735
819
|
created_at?: string;
|
|
736
820
|
description?: string | null;
|
|
821
|
+
icp?: Json;
|
|
737
822
|
id?: string;
|
|
738
823
|
instantly_campaign_id?: string | null;
|
|
739
824
|
launched_at?: string | null;
|
|
740
825
|
metadata?: Json;
|
|
741
826
|
name?: string;
|
|
742
827
|
organization_id?: string;
|
|
828
|
+
pipeline_config?: Json;
|
|
829
|
+
scraping_config?: Json;
|
|
743
830
|
status?: string;
|
|
744
|
-
type?: string;
|
|
745
831
|
};
|
|
746
832
|
Relationships: [
|
|
747
833
|
{
|
|
748
|
-
foreignKeyName:
|
|
749
|
-
columns: [
|
|
834
|
+
foreignKeyName: 'acq_lists_organization_id_fkey';
|
|
835
|
+
columns: ['organization_id'];
|
|
750
836
|
isOneToOne: false;
|
|
751
|
-
referencedRelation:
|
|
752
|
-
referencedColumns: [
|
|
837
|
+
referencedRelation: 'organizations';
|
|
838
|
+
referencedColumns: ['id'];
|
|
753
839
|
}
|
|
754
840
|
];
|
|
755
841
|
};
|
|
@@ -825,18 +911,18 @@ type Database = {
|
|
|
825
911
|
};
|
|
826
912
|
Relationships: [
|
|
827
913
|
{
|
|
828
|
-
foreignKeyName:
|
|
829
|
-
columns: [
|
|
914
|
+
foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
|
|
915
|
+
columns: ['organization_id'];
|
|
830
916
|
isOneToOne: false;
|
|
831
|
-
referencedRelation:
|
|
832
|
-
referencedColumns: [
|
|
917
|
+
referencedRelation: 'organizations';
|
|
918
|
+
referencedColumns: ['id'];
|
|
833
919
|
},
|
|
834
920
|
{
|
|
835
|
-
foreignKeyName:
|
|
836
|
-
columns: [
|
|
921
|
+
foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
|
|
922
|
+
columns: ['seo_page_id'];
|
|
837
923
|
isOneToOne: false;
|
|
838
|
-
referencedRelation:
|
|
839
|
-
referencedColumns: [
|
|
924
|
+
referencedRelation: 'acq_seo_pages';
|
|
925
|
+
referencedColumns: ['id'];
|
|
840
926
|
}
|
|
841
927
|
];
|
|
842
928
|
};
|
|
@@ -912,11 +998,11 @@ type Database = {
|
|
|
912
998
|
};
|
|
913
999
|
Relationships: [
|
|
914
1000
|
{
|
|
915
|
-
foreignKeyName:
|
|
916
|
-
columns: [
|
|
1001
|
+
foreignKeyName: 'acq_seo_pages_organization_id_fkey';
|
|
1002
|
+
columns: ['organization_id'];
|
|
917
1003
|
isOneToOne: false;
|
|
918
|
-
referencedRelation:
|
|
919
|
-
referencedColumns: [
|
|
1004
|
+
referencedRelation: 'organizations';
|
|
1005
|
+
referencedColumns: ['id'];
|
|
920
1006
|
}
|
|
921
1007
|
];
|
|
922
1008
|
};
|
|
@@ -1013,11 +1099,11 @@ type Database = {
|
|
|
1013
1099
|
};
|
|
1014
1100
|
Relationships: [
|
|
1015
1101
|
{
|
|
1016
|
-
foreignKeyName:
|
|
1017
|
-
columns: [
|
|
1102
|
+
foreignKeyName: 'acq_social_posts_organization_id_fkey';
|
|
1103
|
+
columns: ['organization_id'];
|
|
1018
1104
|
isOneToOne: false;
|
|
1019
|
-
referencedRelation:
|
|
1020
|
-
referencedColumns: [
|
|
1105
|
+
referencedRelation: 'organizations';
|
|
1106
|
+
referencedColumns: ['id'];
|
|
1021
1107
|
}
|
|
1022
1108
|
];
|
|
1023
1109
|
};
|
|
@@ -1072,11 +1158,11 @@ type Database = {
|
|
|
1072
1158
|
};
|
|
1073
1159
|
Relationships: [
|
|
1074
1160
|
{
|
|
1075
|
-
foreignKeyName:
|
|
1076
|
-
columns: [
|
|
1161
|
+
foreignKeyName: 'activities_organization_id_fkey';
|
|
1162
|
+
columns: ['organization_id'];
|
|
1077
1163
|
isOneToOne: false;
|
|
1078
|
-
referencedRelation:
|
|
1079
|
-
referencedColumns: [
|
|
1164
|
+
referencedRelation: 'organizations';
|
|
1165
|
+
referencedColumns: ['id'];
|
|
1080
1166
|
}
|
|
1081
1167
|
];
|
|
1082
1168
|
};
|
|
@@ -1107,11 +1193,11 @@ type Database = {
|
|
|
1107
1193
|
};
|
|
1108
1194
|
Relationships: [
|
|
1109
1195
|
{
|
|
1110
|
-
foreignKeyName:
|
|
1111
|
-
columns: [
|
|
1196
|
+
foreignKeyName: 'api_keys_organization_id_fkey';
|
|
1197
|
+
columns: ['organization_id'];
|
|
1112
1198
|
isOneToOne: false;
|
|
1113
|
-
referencedRelation:
|
|
1114
|
-
referencedColumns: [
|
|
1199
|
+
referencedRelation: 'organizations';
|
|
1200
|
+
referencedColumns: ['id'];
|
|
1115
1201
|
}
|
|
1116
1202
|
];
|
|
1117
1203
|
};
|
|
@@ -1190,25 +1276,25 @@ type Database = {
|
|
|
1190
1276
|
};
|
|
1191
1277
|
Relationships: [
|
|
1192
1278
|
{
|
|
1193
|
-
foreignKeyName:
|
|
1194
|
-
columns: [
|
|
1279
|
+
foreignKeyName: 'command_queue_completed_by_fkey';
|
|
1280
|
+
columns: ['completed_by'];
|
|
1195
1281
|
isOneToOne: false;
|
|
1196
|
-
referencedRelation:
|
|
1197
|
-
referencedColumns: [
|
|
1282
|
+
referencedRelation: 'users';
|
|
1283
|
+
referencedColumns: ['id'];
|
|
1198
1284
|
},
|
|
1199
1285
|
{
|
|
1200
|
-
foreignKeyName:
|
|
1201
|
-
columns: [
|
|
1286
|
+
foreignKeyName: 'command_queue_organization_id_fkey';
|
|
1287
|
+
columns: ['organization_id'];
|
|
1202
1288
|
isOneToOne: false;
|
|
1203
|
-
referencedRelation:
|
|
1204
|
-
referencedColumns: [
|
|
1289
|
+
referencedRelation: 'organizations';
|
|
1290
|
+
referencedColumns: ['id'];
|
|
1205
1291
|
},
|
|
1206
1292
|
{
|
|
1207
|
-
foreignKeyName:
|
|
1208
|
-
columns: [
|
|
1293
|
+
foreignKeyName: 'command_queue_target_execution_id_fkey';
|
|
1294
|
+
columns: ['target_execution_id'];
|
|
1209
1295
|
isOneToOne: false;
|
|
1210
|
-
referencedRelation:
|
|
1211
|
-
referencedColumns: [
|
|
1296
|
+
referencedRelation: 'execution_logs';
|
|
1297
|
+
referencedColumns: ['execution_id'];
|
|
1212
1298
|
}
|
|
1213
1299
|
];
|
|
1214
1300
|
};
|
|
@@ -1248,18 +1334,18 @@ type Database = {
|
|
|
1248
1334
|
};
|
|
1249
1335
|
Relationships: [
|
|
1250
1336
|
{
|
|
1251
|
-
foreignKeyName:
|
|
1252
|
-
columns: [
|
|
1337
|
+
foreignKeyName: 'credentials_created_by_fkey';
|
|
1338
|
+
columns: ['created_by'];
|
|
1253
1339
|
isOneToOne: false;
|
|
1254
|
-
referencedRelation:
|
|
1255
|
-
referencedColumns: [
|
|
1340
|
+
referencedRelation: 'users';
|
|
1341
|
+
referencedColumns: ['id'];
|
|
1256
1342
|
},
|
|
1257
1343
|
{
|
|
1258
|
-
foreignKeyName:
|
|
1259
|
-
columns: [
|
|
1344
|
+
foreignKeyName: 'credentials_organization_id_fkey';
|
|
1345
|
+
columns: ['organization_id'];
|
|
1260
1346
|
isOneToOne: false;
|
|
1261
|
-
referencedRelation:
|
|
1262
|
-
referencedColumns: [
|
|
1347
|
+
referencedRelation: 'organizations';
|
|
1348
|
+
referencedColumns: ['id'];
|
|
1263
1349
|
}
|
|
1264
1350
|
];
|
|
1265
1351
|
};
|
|
@@ -1305,11 +1391,11 @@ type Database = {
|
|
|
1305
1391
|
};
|
|
1306
1392
|
Relationships: [
|
|
1307
1393
|
{
|
|
1308
|
-
foreignKeyName:
|
|
1309
|
-
columns: [
|
|
1394
|
+
foreignKeyName: 'deployments_organization_id_fkey';
|
|
1395
|
+
columns: ['organization_id'];
|
|
1310
1396
|
isOneToOne: false;
|
|
1311
|
-
referencedRelation:
|
|
1312
|
-
referencedColumns: [
|
|
1397
|
+
referencedRelation: 'organizations';
|
|
1398
|
+
referencedColumns: ['id'];
|
|
1313
1399
|
}
|
|
1314
1400
|
];
|
|
1315
1401
|
};
|
|
@@ -1364,25 +1450,25 @@ type Database = {
|
|
|
1364
1450
|
};
|
|
1365
1451
|
Relationships: [
|
|
1366
1452
|
{
|
|
1367
|
-
foreignKeyName:
|
|
1368
|
-
columns: [
|
|
1453
|
+
foreignKeyName: 'execution_errors_execution_id_fkey';
|
|
1454
|
+
columns: ['execution_id'];
|
|
1369
1455
|
isOneToOne: false;
|
|
1370
|
-
referencedRelation:
|
|
1371
|
-
referencedColumns: [
|
|
1456
|
+
referencedRelation: 'execution_logs';
|
|
1457
|
+
referencedColumns: ['execution_id'];
|
|
1372
1458
|
},
|
|
1373
1459
|
{
|
|
1374
|
-
foreignKeyName:
|
|
1375
|
-
columns: [
|
|
1460
|
+
foreignKeyName: 'execution_errors_organization_id_fkey';
|
|
1461
|
+
columns: ['organization_id'];
|
|
1376
1462
|
isOneToOne: false;
|
|
1377
|
-
referencedRelation:
|
|
1378
|
-
referencedColumns: [
|
|
1463
|
+
referencedRelation: 'organizations';
|
|
1464
|
+
referencedColumns: ['id'];
|
|
1379
1465
|
},
|
|
1380
1466
|
{
|
|
1381
|
-
foreignKeyName:
|
|
1382
|
-
columns: [
|
|
1467
|
+
foreignKeyName: 'execution_errors_resolved_by_fkey';
|
|
1468
|
+
columns: ['resolved_by'];
|
|
1383
1469
|
isOneToOne: false;
|
|
1384
|
-
referencedRelation:
|
|
1385
|
-
referencedColumns: [
|
|
1470
|
+
referencedRelation: 'users';
|
|
1471
|
+
referencedColumns: ['id'];
|
|
1386
1472
|
}
|
|
1387
1473
|
];
|
|
1388
1474
|
};
|
|
@@ -1464,32 +1550,32 @@ type Database = {
|
|
|
1464
1550
|
};
|
|
1465
1551
|
Relationships: [
|
|
1466
1552
|
{
|
|
1467
|
-
foreignKeyName:
|
|
1468
|
-
columns: [
|
|
1553
|
+
foreignKeyName: 'execution_history_organization_id_fkey';
|
|
1554
|
+
columns: ['organization_id'];
|
|
1469
1555
|
isOneToOne: false;
|
|
1470
|
-
referencedRelation:
|
|
1471
|
-
referencedColumns: [
|
|
1556
|
+
referencedRelation: 'organizations';
|
|
1557
|
+
referencedColumns: ['id'];
|
|
1472
1558
|
},
|
|
1473
1559
|
{
|
|
1474
|
-
foreignKeyName:
|
|
1475
|
-
columns: [
|
|
1560
|
+
foreignKeyName: 'execution_logs_origin_execution_id_fkey';
|
|
1561
|
+
columns: ['origin_execution_id'];
|
|
1476
1562
|
isOneToOne: false;
|
|
1477
|
-
referencedRelation:
|
|
1478
|
-
referencedColumns: [
|
|
1563
|
+
referencedRelation: 'execution_logs';
|
|
1564
|
+
referencedColumns: ['execution_id'];
|
|
1479
1565
|
},
|
|
1480
1566
|
{
|
|
1481
|
-
foreignKeyName:
|
|
1482
|
-
columns: [
|
|
1567
|
+
foreignKeyName: 'execution_logs_session_id_fkey';
|
|
1568
|
+
columns: ['session_id'];
|
|
1483
1569
|
isOneToOne: false;
|
|
1484
|
-
referencedRelation:
|
|
1485
|
-
referencedColumns: [
|
|
1570
|
+
referencedRelation: 'sessions';
|
|
1571
|
+
referencedColumns: ['session_id'];
|
|
1486
1572
|
},
|
|
1487
1573
|
{
|
|
1488
|
-
foreignKeyName:
|
|
1489
|
-
columns: [
|
|
1574
|
+
foreignKeyName: 'execution_logs_user_id_fkey';
|
|
1575
|
+
columns: ['user_id'];
|
|
1490
1576
|
isOneToOne: false;
|
|
1491
|
-
referencedRelation:
|
|
1492
|
-
referencedColumns: [
|
|
1577
|
+
referencedRelation: 'users';
|
|
1578
|
+
referencedColumns: ['id'];
|
|
1493
1579
|
}
|
|
1494
1580
|
];
|
|
1495
1581
|
};
|
|
@@ -1535,18 +1621,18 @@ type Database = {
|
|
|
1535
1621
|
};
|
|
1536
1622
|
Relationships: [
|
|
1537
1623
|
{
|
|
1538
|
-
foreignKeyName:
|
|
1539
|
-
columns: [
|
|
1624
|
+
foreignKeyName: 'execution_metrics_execution_id_fkey';
|
|
1625
|
+
columns: ['execution_id'];
|
|
1540
1626
|
isOneToOne: true;
|
|
1541
|
-
referencedRelation:
|
|
1542
|
-
referencedColumns: [
|
|
1627
|
+
referencedRelation: 'execution_logs';
|
|
1628
|
+
referencedColumns: ['execution_id'];
|
|
1543
1629
|
},
|
|
1544
1630
|
{
|
|
1545
|
-
foreignKeyName:
|
|
1546
|
-
columns: [
|
|
1631
|
+
foreignKeyName: 'execution_metrics_organization_id_fkey';
|
|
1632
|
+
columns: ['organization_id'];
|
|
1547
1633
|
isOneToOne: false;
|
|
1548
|
-
referencedRelation:
|
|
1549
|
-
referencedColumns: [
|
|
1634
|
+
referencedRelation: 'organizations';
|
|
1635
|
+
referencedColumns: ['id'];
|
|
1550
1636
|
}
|
|
1551
1637
|
];
|
|
1552
1638
|
};
|
|
@@ -1589,18 +1675,18 @@ type Database = {
|
|
|
1589
1675
|
};
|
|
1590
1676
|
Relationships: [
|
|
1591
1677
|
{
|
|
1592
|
-
foreignKeyName:
|
|
1593
|
-
columns: [
|
|
1678
|
+
foreignKeyName: 'notifications_organization_id_fkey';
|
|
1679
|
+
columns: ['organization_id'];
|
|
1594
1680
|
isOneToOne: false;
|
|
1595
|
-
referencedRelation:
|
|
1596
|
-
referencedColumns: [
|
|
1681
|
+
referencedRelation: 'organizations';
|
|
1682
|
+
referencedColumns: ['id'];
|
|
1597
1683
|
},
|
|
1598
1684
|
{
|
|
1599
|
-
foreignKeyName:
|
|
1600
|
-
columns: [
|
|
1685
|
+
foreignKeyName: 'notifications_user_id_fkey';
|
|
1686
|
+
columns: ['user_id'];
|
|
1601
1687
|
isOneToOne: false;
|
|
1602
|
-
referencedRelation:
|
|
1603
|
-
referencedColumns: [
|
|
1688
|
+
referencedRelation: 'users';
|
|
1689
|
+
referencedColumns: ['id'];
|
|
1604
1690
|
}
|
|
1605
1691
|
];
|
|
1606
1692
|
};
|
|
@@ -1655,18 +1741,18 @@ type Database = {
|
|
|
1655
1741
|
};
|
|
1656
1742
|
Relationships: [
|
|
1657
1743
|
{
|
|
1658
|
-
foreignKeyName:
|
|
1659
|
-
columns: [
|
|
1744
|
+
foreignKeyName: 'org_invitations_inviter_user_id_fkey';
|
|
1745
|
+
columns: ['inviter_user_id'];
|
|
1660
1746
|
isOneToOne: false;
|
|
1661
|
-
referencedRelation:
|
|
1662
|
-
referencedColumns: [
|
|
1747
|
+
referencedRelation: 'users';
|
|
1748
|
+
referencedColumns: ['id'];
|
|
1663
1749
|
},
|
|
1664
1750
|
{
|
|
1665
|
-
foreignKeyName:
|
|
1666
|
-
columns: [
|
|
1751
|
+
foreignKeyName: 'org_invitations_organization_id_fkey';
|
|
1752
|
+
columns: ['organization_id'];
|
|
1667
1753
|
isOneToOne: false;
|
|
1668
|
-
referencedRelation:
|
|
1669
|
-
referencedColumns: [
|
|
1754
|
+
referencedRelation: 'organizations';
|
|
1755
|
+
referencedColumns: ['id'];
|
|
1670
1756
|
}
|
|
1671
1757
|
];
|
|
1672
1758
|
};
|
|
@@ -1709,18 +1795,18 @@ type Database = {
|
|
|
1709
1795
|
};
|
|
1710
1796
|
Relationships: [
|
|
1711
1797
|
{
|
|
1712
|
-
foreignKeyName:
|
|
1713
|
-
columns: [
|
|
1798
|
+
foreignKeyName: 'org_memberships_organization_id_fkey';
|
|
1799
|
+
columns: ['organization_id'];
|
|
1714
1800
|
isOneToOne: false;
|
|
1715
|
-
referencedRelation:
|
|
1716
|
-
referencedColumns: [
|
|
1801
|
+
referencedRelation: 'organizations';
|
|
1802
|
+
referencedColumns: ['id'];
|
|
1717
1803
|
},
|
|
1718
1804
|
{
|
|
1719
|
-
foreignKeyName:
|
|
1720
|
-
columns: [
|
|
1805
|
+
foreignKeyName: 'org_memberships_user_id_fkey';
|
|
1806
|
+
columns: ['user_id'];
|
|
1721
1807
|
isOneToOne: false;
|
|
1722
|
-
referencedRelation:
|
|
1723
|
-
referencedColumns: [
|
|
1808
|
+
referencedRelation: 'users';
|
|
1809
|
+
referencedColumns: ['id'];
|
|
1724
1810
|
}
|
|
1725
1811
|
];
|
|
1726
1812
|
};
|
|
@@ -1745,25 +1831,25 @@ type Database = {
|
|
|
1745
1831
|
};
|
|
1746
1832
|
Relationships: [
|
|
1747
1833
|
{
|
|
1748
|
-
foreignKeyName:
|
|
1749
|
-
columns: [
|
|
1834
|
+
foreignKeyName: 'org_rol_assignments_granted_by_fkey';
|
|
1835
|
+
columns: ['granted_by'];
|
|
1750
1836
|
isOneToOne: false;
|
|
1751
|
-
referencedRelation:
|
|
1752
|
-
referencedColumns: [
|
|
1837
|
+
referencedRelation: 'users';
|
|
1838
|
+
referencedColumns: ['id'];
|
|
1753
1839
|
},
|
|
1754
1840
|
{
|
|
1755
|
-
foreignKeyName:
|
|
1756
|
-
columns: [
|
|
1841
|
+
foreignKeyName: 'org_rol_assignments_membership_id_fkey';
|
|
1842
|
+
columns: ['membership_id'];
|
|
1757
1843
|
isOneToOne: false;
|
|
1758
|
-
referencedRelation:
|
|
1759
|
-
referencedColumns: [
|
|
1844
|
+
referencedRelation: 'org_memberships';
|
|
1845
|
+
referencedColumns: ['id'];
|
|
1760
1846
|
},
|
|
1761
1847
|
{
|
|
1762
|
-
foreignKeyName:
|
|
1763
|
-
columns: [
|
|
1848
|
+
foreignKeyName: 'org_rol_assignments_role_id_fkey';
|
|
1849
|
+
columns: ['role_id'];
|
|
1764
1850
|
isOneToOne: false;
|
|
1765
|
-
referencedRelation:
|
|
1766
|
-
referencedColumns: [
|
|
1851
|
+
referencedRelation: 'org_rol_definitions';
|
|
1852
|
+
referencedColumns: ['id'];
|
|
1767
1853
|
}
|
|
1768
1854
|
];
|
|
1769
1855
|
};
|
|
@@ -1800,11 +1886,11 @@ type Database = {
|
|
|
1800
1886
|
};
|
|
1801
1887
|
Relationships: [
|
|
1802
1888
|
{
|
|
1803
|
-
foreignKeyName:
|
|
1804
|
-
columns: [
|
|
1889
|
+
foreignKeyName: 'org_rol_definitions_organization_id_fkey';
|
|
1890
|
+
columns: ['organization_id'];
|
|
1805
1891
|
isOneToOne: false;
|
|
1806
|
-
referencedRelation:
|
|
1807
|
-
referencedColumns: [
|
|
1892
|
+
referencedRelation: 'organizations';
|
|
1893
|
+
referencedColumns: ['id'];
|
|
1808
1894
|
}
|
|
1809
1895
|
];
|
|
1810
1896
|
};
|
|
@@ -1826,18 +1912,18 @@ type Database = {
|
|
|
1826
1912
|
};
|
|
1827
1913
|
Relationships: [
|
|
1828
1914
|
{
|
|
1829
|
-
foreignKeyName:
|
|
1830
|
-
columns: [
|
|
1915
|
+
foreignKeyName: 'org_rol_grants_permission_key_fkey';
|
|
1916
|
+
columns: ['permission_key'];
|
|
1831
1917
|
isOneToOne: false;
|
|
1832
|
-
referencedRelation:
|
|
1833
|
-
referencedColumns: [
|
|
1918
|
+
referencedRelation: 'org_rol_permissions';
|
|
1919
|
+
referencedColumns: ['key'];
|
|
1834
1920
|
},
|
|
1835
1921
|
{
|
|
1836
|
-
foreignKeyName:
|
|
1837
|
-
columns: [
|
|
1922
|
+
foreignKeyName: 'org_rol_grants_role_id_fkey';
|
|
1923
|
+
columns: ['role_id'];
|
|
1838
1924
|
isOneToOne: false;
|
|
1839
|
-
referencedRelation:
|
|
1840
|
-
referencedColumns: [
|
|
1925
|
+
referencedRelation: 'org_rol_definitions';
|
|
1926
|
+
referencedColumns: ['id'];
|
|
1841
1927
|
}
|
|
1842
1928
|
];
|
|
1843
1929
|
};
|
|
@@ -1949,25 +2035,25 @@ type Database = {
|
|
|
1949
2035
|
};
|
|
1950
2036
|
Relationships: [
|
|
1951
2037
|
{
|
|
1952
|
-
foreignKeyName:
|
|
1953
|
-
columns: [
|
|
2038
|
+
foreignKeyName: 'fk_milestones_project';
|
|
2039
|
+
columns: ['project_id'];
|
|
1954
2040
|
isOneToOne: false;
|
|
1955
|
-
referencedRelation:
|
|
1956
|
-
referencedColumns: [
|
|
2041
|
+
referencedRelation: 'prj_projects';
|
|
2042
|
+
referencedColumns: ['id'];
|
|
1957
2043
|
},
|
|
1958
2044
|
{
|
|
1959
|
-
foreignKeyName:
|
|
1960
|
-
columns: [
|
|
2045
|
+
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
2046
|
+
columns: ['organization_id'];
|
|
1961
2047
|
isOneToOne: false;
|
|
1962
|
-
referencedRelation:
|
|
1963
|
-
referencedColumns: [
|
|
2048
|
+
referencedRelation: 'organizations';
|
|
2049
|
+
referencedColumns: ['id'];
|
|
1964
2050
|
},
|
|
1965
2051
|
{
|
|
1966
|
-
foreignKeyName:
|
|
1967
|
-
columns: [
|
|
2052
|
+
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
2053
|
+
columns: ['project_id'];
|
|
1968
2054
|
isOneToOne: false;
|
|
1969
|
-
referencedRelation:
|
|
1970
|
-
referencedColumns: [
|
|
2055
|
+
referencedRelation: 'prj_projects';
|
|
2056
|
+
referencedColumns: ['id'];
|
|
1971
2057
|
}
|
|
1972
2058
|
];
|
|
1973
2059
|
};
|
|
@@ -2016,67 +2102,67 @@ type Database = {
|
|
|
2016
2102
|
};
|
|
2017
2103
|
Relationships: [
|
|
2018
2104
|
{
|
|
2019
|
-
foreignKeyName:
|
|
2020
|
-
columns: [
|
|
2105
|
+
foreignKeyName: 'fk_notes_created_by';
|
|
2106
|
+
columns: ['created_by'];
|
|
2021
2107
|
isOneToOne: false;
|
|
2022
|
-
referencedRelation:
|
|
2023
|
-
referencedColumns: [
|
|
2108
|
+
referencedRelation: 'users';
|
|
2109
|
+
referencedColumns: ['id'];
|
|
2024
2110
|
},
|
|
2025
2111
|
{
|
|
2026
|
-
foreignKeyName:
|
|
2027
|
-
columns: [
|
|
2112
|
+
foreignKeyName: 'fk_notes_milestone';
|
|
2113
|
+
columns: ['milestone_id'];
|
|
2028
2114
|
isOneToOne: false;
|
|
2029
|
-
referencedRelation:
|
|
2030
|
-
referencedColumns: [
|
|
2115
|
+
referencedRelation: 'prj_milestones';
|
|
2116
|
+
referencedColumns: ['id'];
|
|
2031
2117
|
},
|
|
2032
2118
|
{
|
|
2033
|
-
foreignKeyName:
|
|
2034
|
-
columns: [
|
|
2119
|
+
foreignKeyName: 'fk_notes_project';
|
|
2120
|
+
columns: ['project_id'];
|
|
2035
2121
|
isOneToOne: false;
|
|
2036
|
-
referencedRelation:
|
|
2037
|
-
referencedColumns: [
|
|
2122
|
+
referencedRelation: 'prj_projects';
|
|
2123
|
+
referencedColumns: ['id'];
|
|
2038
2124
|
},
|
|
2039
2125
|
{
|
|
2040
|
-
foreignKeyName:
|
|
2041
|
-
columns: [
|
|
2126
|
+
foreignKeyName: 'fk_notes_task';
|
|
2127
|
+
columns: ['task_id'];
|
|
2042
2128
|
isOneToOne: false;
|
|
2043
|
-
referencedRelation:
|
|
2044
|
-
referencedColumns: [
|
|
2129
|
+
referencedRelation: 'prj_tasks';
|
|
2130
|
+
referencedColumns: ['id'];
|
|
2045
2131
|
},
|
|
2046
2132
|
{
|
|
2047
|
-
foreignKeyName:
|
|
2048
|
-
columns: [
|
|
2133
|
+
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
2134
|
+
columns: ['created_by'];
|
|
2049
2135
|
isOneToOne: false;
|
|
2050
|
-
referencedRelation:
|
|
2051
|
-
referencedColumns: [
|
|
2136
|
+
referencedRelation: 'users';
|
|
2137
|
+
referencedColumns: ['id'];
|
|
2052
2138
|
},
|
|
2053
2139
|
{
|
|
2054
|
-
foreignKeyName:
|
|
2055
|
-
columns: [
|
|
2140
|
+
foreignKeyName: 'prj_notes_milestone_id_fkey';
|
|
2141
|
+
columns: ['milestone_id'];
|
|
2056
2142
|
isOneToOne: false;
|
|
2057
|
-
referencedRelation:
|
|
2058
|
-
referencedColumns: [
|
|
2143
|
+
referencedRelation: 'prj_milestones';
|
|
2144
|
+
referencedColumns: ['id'];
|
|
2059
2145
|
},
|
|
2060
2146
|
{
|
|
2061
|
-
foreignKeyName:
|
|
2062
|
-
columns: [
|
|
2147
|
+
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
2148
|
+
columns: ['organization_id'];
|
|
2063
2149
|
isOneToOne: false;
|
|
2064
|
-
referencedRelation:
|
|
2065
|
-
referencedColumns: [
|
|
2150
|
+
referencedRelation: 'organizations';
|
|
2151
|
+
referencedColumns: ['id'];
|
|
2066
2152
|
},
|
|
2067
2153
|
{
|
|
2068
|
-
foreignKeyName:
|
|
2069
|
-
columns: [
|
|
2154
|
+
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
2155
|
+
columns: ['project_id'];
|
|
2070
2156
|
isOneToOne: false;
|
|
2071
|
-
referencedRelation:
|
|
2072
|
-
referencedColumns: [
|
|
2157
|
+
referencedRelation: 'prj_projects';
|
|
2158
|
+
referencedColumns: ['id'];
|
|
2073
2159
|
},
|
|
2074
2160
|
{
|
|
2075
|
-
foreignKeyName:
|
|
2076
|
-
columns: [
|
|
2161
|
+
foreignKeyName: 'prj_notes_task_id_fkey';
|
|
2162
|
+
columns: ['task_id'];
|
|
2077
2163
|
isOneToOne: false;
|
|
2078
|
-
referencedRelation:
|
|
2079
|
-
referencedColumns: [
|
|
2164
|
+
referencedRelation: 'prj_tasks';
|
|
2165
|
+
referencedColumns: ['id'];
|
|
2080
2166
|
}
|
|
2081
2167
|
];
|
|
2082
2168
|
};
|
|
@@ -2134,39 +2220,39 @@ type Database = {
|
|
|
2134
2220
|
};
|
|
2135
2221
|
Relationships: [
|
|
2136
2222
|
{
|
|
2137
|
-
foreignKeyName:
|
|
2138
|
-
columns: [
|
|
2223
|
+
foreignKeyName: 'fk_projects_company';
|
|
2224
|
+
columns: ['client_company_id'];
|
|
2139
2225
|
isOneToOne: false;
|
|
2140
|
-
referencedRelation:
|
|
2141
|
-
referencedColumns: [
|
|
2226
|
+
referencedRelation: 'acq_companies';
|
|
2227
|
+
referencedColumns: ['id'];
|
|
2142
2228
|
},
|
|
2143
2229
|
{
|
|
2144
|
-
foreignKeyName:
|
|
2145
|
-
columns: [
|
|
2230
|
+
foreignKeyName: 'fk_projects_deal';
|
|
2231
|
+
columns: ['deal_id'];
|
|
2146
2232
|
isOneToOne: false;
|
|
2147
|
-
referencedRelation:
|
|
2148
|
-
referencedColumns: [
|
|
2233
|
+
referencedRelation: 'acq_deals';
|
|
2234
|
+
referencedColumns: ['id'];
|
|
2149
2235
|
},
|
|
2150
2236
|
{
|
|
2151
|
-
foreignKeyName:
|
|
2152
|
-
columns: [
|
|
2237
|
+
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
2238
|
+
columns: ['client_company_id'];
|
|
2153
2239
|
isOneToOne: false;
|
|
2154
|
-
referencedRelation:
|
|
2155
|
-
referencedColumns: [
|
|
2240
|
+
referencedRelation: 'acq_companies';
|
|
2241
|
+
referencedColumns: ['id'];
|
|
2156
2242
|
},
|
|
2157
2243
|
{
|
|
2158
|
-
foreignKeyName:
|
|
2159
|
-
columns: [
|
|
2244
|
+
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
2245
|
+
columns: ['deal_id'];
|
|
2160
2246
|
isOneToOne: false;
|
|
2161
|
-
referencedRelation:
|
|
2162
|
-
referencedColumns: [
|
|
2247
|
+
referencedRelation: 'acq_deals';
|
|
2248
|
+
referencedColumns: ['id'];
|
|
2163
2249
|
},
|
|
2164
2250
|
{
|
|
2165
|
-
foreignKeyName:
|
|
2166
|
-
columns: [
|
|
2251
|
+
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
2252
|
+
columns: ['organization_id'];
|
|
2167
2253
|
isOneToOne: false;
|
|
2168
|
-
referencedRelation:
|
|
2169
|
-
referencedColumns: [
|
|
2254
|
+
referencedRelation: 'organizations';
|
|
2255
|
+
referencedColumns: ['id'];
|
|
2170
2256
|
}
|
|
2171
2257
|
];
|
|
2172
2258
|
};
|
|
@@ -2230,53 +2316,53 @@ type Database = {
|
|
|
2230
2316
|
};
|
|
2231
2317
|
Relationships: [
|
|
2232
2318
|
{
|
|
2233
|
-
foreignKeyName:
|
|
2234
|
-
columns: [
|
|
2319
|
+
foreignKeyName: 'fk_tasks_milestone';
|
|
2320
|
+
columns: ['milestone_id'];
|
|
2235
2321
|
isOneToOne: false;
|
|
2236
|
-
referencedRelation:
|
|
2237
|
-
referencedColumns: [
|
|
2322
|
+
referencedRelation: 'prj_milestones';
|
|
2323
|
+
referencedColumns: ['id'];
|
|
2238
2324
|
},
|
|
2239
2325
|
{
|
|
2240
|
-
foreignKeyName:
|
|
2241
|
-
columns: [
|
|
2326
|
+
foreignKeyName: 'fk_tasks_parent';
|
|
2327
|
+
columns: ['parent_task_id'];
|
|
2242
2328
|
isOneToOne: false;
|
|
2243
|
-
referencedRelation:
|
|
2244
|
-
referencedColumns: [
|
|
2329
|
+
referencedRelation: 'prj_tasks';
|
|
2330
|
+
referencedColumns: ['id'];
|
|
2245
2331
|
},
|
|
2246
2332
|
{
|
|
2247
|
-
foreignKeyName:
|
|
2248
|
-
columns: [
|
|
2333
|
+
foreignKeyName: 'fk_tasks_project';
|
|
2334
|
+
columns: ['project_id'];
|
|
2249
2335
|
isOneToOne: false;
|
|
2250
|
-
referencedRelation:
|
|
2251
|
-
referencedColumns: [
|
|
2336
|
+
referencedRelation: 'prj_projects';
|
|
2337
|
+
referencedColumns: ['id'];
|
|
2252
2338
|
},
|
|
2253
2339
|
{
|
|
2254
|
-
foreignKeyName:
|
|
2255
|
-
columns: [
|
|
2340
|
+
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
2341
|
+
columns: ['milestone_id'];
|
|
2256
2342
|
isOneToOne: false;
|
|
2257
|
-
referencedRelation:
|
|
2258
|
-
referencedColumns: [
|
|
2343
|
+
referencedRelation: 'prj_milestones';
|
|
2344
|
+
referencedColumns: ['id'];
|
|
2259
2345
|
},
|
|
2260
2346
|
{
|
|
2261
|
-
foreignKeyName:
|
|
2262
|
-
columns: [
|
|
2347
|
+
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
2348
|
+
columns: ['organization_id'];
|
|
2263
2349
|
isOneToOne: false;
|
|
2264
|
-
referencedRelation:
|
|
2265
|
-
referencedColumns: [
|
|
2350
|
+
referencedRelation: 'organizations';
|
|
2351
|
+
referencedColumns: ['id'];
|
|
2266
2352
|
},
|
|
2267
2353
|
{
|
|
2268
|
-
foreignKeyName:
|
|
2269
|
-
columns: [
|
|
2354
|
+
foreignKeyName: 'prj_tasks_parent_task_id_fkey';
|
|
2355
|
+
columns: ['parent_task_id'];
|
|
2270
2356
|
isOneToOne: false;
|
|
2271
|
-
referencedRelation:
|
|
2272
|
-
referencedColumns: [
|
|
2357
|
+
referencedRelation: 'prj_tasks';
|
|
2358
|
+
referencedColumns: ['id'];
|
|
2273
2359
|
},
|
|
2274
2360
|
{
|
|
2275
|
-
foreignKeyName:
|
|
2276
|
-
columns: [
|
|
2361
|
+
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
2362
|
+
columns: ['project_id'];
|
|
2277
2363
|
isOneToOne: false;
|
|
2278
|
-
referencedRelation:
|
|
2279
|
-
referencedColumns: [
|
|
2364
|
+
referencedRelation: 'prj_projects';
|
|
2365
|
+
referencedColumns: ['id'];
|
|
2280
2366
|
}
|
|
2281
2367
|
];
|
|
2282
2368
|
};
|
|
@@ -2346,25 +2432,25 @@ type Database = {
|
|
|
2346
2432
|
};
|
|
2347
2433
|
Relationships: [
|
|
2348
2434
|
{
|
|
2349
|
-
foreignKeyName:
|
|
2350
|
-
columns: [
|
|
2435
|
+
foreignKeyName: 'reported_requests_organization_id_fkey';
|
|
2436
|
+
columns: ['organization_id'];
|
|
2351
2437
|
isOneToOne: false;
|
|
2352
|
-
referencedRelation:
|
|
2353
|
-
referencedColumns: [
|
|
2438
|
+
referencedRelation: 'organizations';
|
|
2439
|
+
referencedColumns: ['id'];
|
|
2354
2440
|
},
|
|
2355
2441
|
{
|
|
2356
|
-
foreignKeyName:
|
|
2357
|
-
columns: [
|
|
2442
|
+
foreignKeyName: 'reported_requests_project_id_fkey';
|
|
2443
|
+
columns: ['project_id'];
|
|
2358
2444
|
isOneToOne: false;
|
|
2359
|
-
referencedRelation:
|
|
2360
|
-
referencedColumns: [
|
|
2445
|
+
referencedRelation: 'prj_projects';
|
|
2446
|
+
referencedColumns: ['id'];
|
|
2361
2447
|
},
|
|
2362
2448
|
{
|
|
2363
|
-
foreignKeyName:
|
|
2364
|
-
columns: [
|
|
2449
|
+
foreignKeyName: 'reported_requests_task_id_fkey';
|
|
2450
|
+
columns: ['task_id'];
|
|
2365
2451
|
isOneToOne: false;
|
|
2366
|
-
referencedRelation:
|
|
2367
|
-
referencedColumns: [
|
|
2452
|
+
referencedRelation: 'prj_tasks';
|
|
2453
|
+
referencedColumns: ['id'];
|
|
2368
2454
|
}
|
|
2369
2455
|
];
|
|
2370
2456
|
};
|
|
@@ -2404,11 +2490,11 @@ type Database = {
|
|
|
2404
2490
|
};
|
|
2405
2491
|
Relationships: [
|
|
2406
2492
|
{
|
|
2407
|
-
foreignKeyName:
|
|
2408
|
-
columns: [
|
|
2493
|
+
foreignKeyName: 'session_messages_session_id_fkey';
|
|
2494
|
+
columns: ['session_id'];
|
|
2409
2495
|
isOneToOne: false;
|
|
2410
|
-
referencedRelation:
|
|
2411
|
-
referencedColumns: [
|
|
2496
|
+
referencedRelation: 'sessions';
|
|
2497
|
+
referencedColumns: ['session_id'];
|
|
2412
2498
|
}
|
|
2413
2499
|
];
|
|
2414
2500
|
};
|
|
@@ -2463,18 +2549,18 @@ type Database = {
|
|
|
2463
2549
|
};
|
|
2464
2550
|
Relationships: [
|
|
2465
2551
|
{
|
|
2466
|
-
foreignKeyName:
|
|
2467
|
-
columns: [
|
|
2552
|
+
foreignKeyName: 'fk_organization';
|
|
2553
|
+
columns: ['organization_id'];
|
|
2468
2554
|
isOneToOne: false;
|
|
2469
|
-
referencedRelation:
|
|
2470
|
-
referencedColumns: [
|
|
2555
|
+
referencedRelation: 'organizations';
|
|
2556
|
+
referencedColumns: ['id'];
|
|
2471
2557
|
},
|
|
2472
2558
|
{
|
|
2473
|
-
foreignKeyName:
|
|
2474
|
-
columns: [
|
|
2559
|
+
foreignKeyName: 'fk_user';
|
|
2560
|
+
columns: ['user_id'];
|
|
2475
2561
|
isOneToOne: false;
|
|
2476
|
-
referencedRelation:
|
|
2477
|
-
referencedColumns: [
|
|
2562
|
+
referencedRelation: 'users';
|
|
2563
|
+
referencedColumns: ['id'];
|
|
2478
2564
|
}
|
|
2479
2565
|
];
|
|
2480
2566
|
};
|
|
@@ -2550,11 +2636,11 @@ type Database = {
|
|
|
2550
2636
|
};
|
|
2551
2637
|
Relationships: [
|
|
2552
2638
|
{
|
|
2553
|
-
foreignKeyName:
|
|
2554
|
-
columns: [
|
|
2639
|
+
foreignKeyName: 'task_schedules_organization_id_fkey';
|
|
2640
|
+
columns: ['organization_id'];
|
|
2555
2641
|
isOneToOne: false;
|
|
2556
|
-
referencedRelation:
|
|
2557
|
-
referencedColumns: [
|
|
2642
|
+
referencedRelation: 'organizations';
|
|
2643
|
+
referencedColumns: ['id'];
|
|
2558
2644
|
}
|
|
2559
2645
|
];
|
|
2560
2646
|
};
|
|
@@ -2609,11 +2695,11 @@ type Database = {
|
|
|
2609
2695
|
};
|
|
2610
2696
|
Relationships: [
|
|
2611
2697
|
{
|
|
2612
|
-
foreignKeyName:
|
|
2613
|
-
columns: [
|
|
2698
|
+
foreignKeyName: 'user_profiles_last_visited_org_fkey';
|
|
2699
|
+
columns: ['last_visited_org'];
|
|
2614
2700
|
isOneToOne: false;
|
|
2615
|
-
referencedRelation:
|
|
2616
|
-
referencedColumns: [
|
|
2701
|
+
referencedRelation: 'organizations';
|
|
2702
|
+
referencedColumns: ['id'];
|
|
2617
2703
|
}
|
|
2618
2704
|
];
|
|
2619
2705
|
};
|
|
@@ -2662,11 +2748,11 @@ type Database = {
|
|
|
2662
2748
|
};
|
|
2663
2749
|
Relationships: [
|
|
2664
2750
|
{
|
|
2665
|
-
foreignKeyName:
|
|
2666
|
-
columns: [
|
|
2751
|
+
foreignKeyName: 'webhook_endpoints_organization_id_fkey';
|
|
2752
|
+
columns: ['organization_id'];
|
|
2667
2753
|
isOneToOne: false;
|
|
2668
|
-
referencedRelation:
|
|
2669
|
-
referencedColumns: [
|
|
2754
|
+
referencedRelation: 'organizations';
|
|
2755
|
+
referencedColumns: ['id'];
|
|
2670
2756
|
}
|
|
2671
2757
|
];
|
|
2672
2758
|
};
|
|
@@ -2818,6 +2904,51 @@ type Database = {
|
|
|
2818
2904
|
declare function getSupabaseClient(): SupabaseClient<Database>;
|
|
2819
2905
|
declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
2820
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
|
+
};
|
|
2821
2952
|
acq_companies: {
|
|
2822
2953
|
Row: {
|
|
2823
2954
|
batch_id: string | null;
|
|
@@ -2836,6 +2967,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
2836
2967
|
num_employees: number | null;
|
|
2837
2968
|
organization_id: string;
|
|
2838
2969
|
pipeline_status: Json;
|
|
2970
|
+
qualification_rubric_key: string | null;
|
|
2971
|
+
qualification_score: number | null;
|
|
2972
|
+
qualification_signals: Json | null;
|
|
2839
2973
|
segment: string | null;
|
|
2840
2974
|
source: string | null;
|
|
2841
2975
|
status: string;
|
|
@@ -2859,6 +2993,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
2859
2993
|
num_employees?: number | null;
|
|
2860
2994
|
organization_id: string;
|
|
2861
2995
|
pipeline_status?: Json;
|
|
2996
|
+
qualification_rubric_key?: string | null;
|
|
2997
|
+
qualification_score?: number | null;
|
|
2998
|
+
qualification_signals?: Json | null;
|
|
2862
2999
|
segment?: string | null;
|
|
2863
3000
|
source?: string | null;
|
|
2864
3001
|
status?: string;
|
|
@@ -2882,6 +3019,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
2882
3019
|
num_employees?: number | null;
|
|
2883
3020
|
organization_id?: string;
|
|
2884
3021
|
pipeline_status?: Json;
|
|
3022
|
+
qualification_rubric_key?: string | null;
|
|
3023
|
+
qualification_score?: number | null;
|
|
3024
|
+
qualification_signals?: Json | null;
|
|
2885
3025
|
segment?: string | null;
|
|
2886
3026
|
source?: string | null;
|
|
2887
3027
|
status?: string;
|
|
@@ -2916,6 +3056,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
2916
3056
|
opening_line: string | null;
|
|
2917
3057
|
organization_id: string;
|
|
2918
3058
|
pipeline_status: Json;
|
|
3059
|
+
qualification_rubric_key: string | null;
|
|
3060
|
+
qualification_score: number | null;
|
|
3061
|
+
qualification_signals: Json | null;
|
|
2919
3062
|
source: string | null;
|
|
2920
3063
|
source_id: string | null;
|
|
2921
3064
|
status: string;
|
|
@@ -2941,6 +3084,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
2941
3084
|
opening_line?: string | null;
|
|
2942
3085
|
organization_id: string;
|
|
2943
3086
|
pipeline_status?: Json;
|
|
3087
|
+
qualification_rubric_key?: string | null;
|
|
3088
|
+
qualification_score?: number | null;
|
|
3089
|
+
qualification_signals?: Json | null;
|
|
2944
3090
|
source?: string | null;
|
|
2945
3091
|
source_id?: string | null;
|
|
2946
3092
|
status?: string;
|
|
@@ -2966,6 +3112,9 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
2966
3112
|
opening_line?: string | null;
|
|
2967
3113
|
organization_id?: string;
|
|
2968
3114
|
pipeline_status?: Json;
|
|
3115
|
+
qualification_rubric_key?: string | null;
|
|
3116
|
+
qualification_score?: number | null;
|
|
3117
|
+
qualification_signals?: Json | null;
|
|
2969
3118
|
source?: string | null;
|
|
2970
3119
|
source_id?: string | null;
|
|
2971
3120
|
status?: string;
|
|
@@ -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
|
-
|
|
3339
|
-
|
|
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
|
-
|
|
3351
|
-
|
|
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
|
-
|
|
3363
|
-
|
|
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
|
-
|
|
3432
|
-
|
|
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
|
-
|
|
3444
|
-
|
|
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
|
-
|
|
3456
|
-
|
|
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";
|