@elevasis/ui 2.23.0 → 2.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/index.d.ts +2915 -0
- package/dist/app/index.js +5 -4
- package/dist/{chunk-3HEUGBOT.js → chunk-2WZ635SS.js} +2 -2
- package/dist/{chunk-D3KQAABP.js → chunk-4NWNS7TX.js} +1 -1
- package/dist/{chunk-7PGEGSUM.js → chunk-FUEXGRFR.js} +2 -2
- package/dist/{chunk-6IA2OMAE.js → chunk-HC2KV6BU.js} +9 -0
- package/dist/{chunk-YU6MBDVO.js → chunk-KCJ6VATY.js} +4 -68
- package/dist/{chunk-FXWETLEB.js → chunk-KLFIJDTD.js} +1 -1
- package/dist/{chunk-PXGSJNBH.js → chunk-M2HWJY6O.js} +704 -375
- package/dist/{chunk-N6WLOWOD.js → chunk-MTR6AN2C.js} +3 -12
- package/dist/chunk-OWHQ65EQ.js +211 -0
- package/dist/{chunk-XOTJNW4Q.js → chunk-QIW6OCEI.js} +18 -1
- package/dist/{chunk-GUJUK6EH.js → chunk-QULLZ5PE.js} +172 -2
- package/dist/{chunk-QZJM3RYI.js → chunk-SNHGSCKH.js} +1 -1
- package/dist/{chunk-LVUCBY7X.js → chunk-UDJE54WN.js} +85 -3
- package/dist/{chunk-EPV7NU2E.js → chunk-VGNAV3TH.js} +385 -188
- package/dist/{chunk-PTUOINQ2.js → chunk-YBZT7MJR.js} +3 -3
- package/dist/{chunk-SQ5JGELM.js → chunk-ZDKQNQ4X.js} +19 -1
- package/dist/components/index.d.ts +488 -452
- package/dist/components/index.js +58 -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 +213 -65
- package/dist/features/lead-gen/index.js +9 -8
- package/dist/features/monitoring/index.js +9 -9
- package/dist/features/monitoring/requests/index.js +7 -7
- package/dist/features/operations/index.js +11 -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 +936 -718
- package/dist/hooks/index.js +7 -7
- package/dist/hooks/published.d.ts +936 -718
- package/dist/hooks/published.js +7 -7
- package/dist/index.d.ts +1313 -1027
- 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 +4 -4
- package/src/test-utils/README.md +2 -0
- /package/dist/{chunk-ZBCTB5CA.js → chunk-EIOJNUPL.js} +0 -0
|
@@ -6,10 +6,57 @@ type Json = string | number | boolean | null | {
|
|
|
6
6
|
} | Json[];
|
|
7
7
|
type Database = {
|
|
8
8
|
__InternalSupabase: {
|
|
9
|
-
PostgrestVersion:
|
|
9
|
+
PostgrestVersion: '12.2.3 (519615d)';
|
|
10
10
|
};
|
|
11
11
|
public: {
|
|
12
12
|
Tables: {
|
|
13
|
+
acq_artifacts: {
|
|
14
|
+
Row: {
|
|
15
|
+
content: Json;
|
|
16
|
+
created_at: string;
|
|
17
|
+
created_by: string | null;
|
|
18
|
+
id: string;
|
|
19
|
+
kind: string;
|
|
20
|
+
organization_id: string;
|
|
21
|
+
owner_id: string;
|
|
22
|
+
owner_kind: string;
|
|
23
|
+
source_execution_id: string | null;
|
|
24
|
+
version: number;
|
|
25
|
+
};
|
|
26
|
+
Insert: {
|
|
27
|
+
content: Json;
|
|
28
|
+
created_at?: string;
|
|
29
|
+
created_by?: string | null;
|
|
30
|
+
id?: string;
|
|
31
|
+
kind: string;
|
|
32
|
+
organization_id: string;
|
|
33
|
+
owner_id: string;
|
|
34
|
+
owner_kind: string;
|
|
35
|
+
source_execution_id?: string | null;
|
|
36
|
+
version?: number;
|
|
37
|
+
};
|
|
38
|
+
Update: {
|
|
39
|
+
content?: Json;
|
|
40
|
+
created_at?: string;
|
|
41
|
+
created_by?: string | null;
|
|
42
|
+
id?: string;
|
|
43
|
+
kind?: string;
|
|
44
|
+
organization_id?: string;
|
|
45
|
+
owner_id?: string;
|
|
46
|
+
owner_kind?: string;
|
|
47
|
+
source_execution_id?: string | null;
|
|
48
|
+
version?: number;
|
|
49
|
+
};
|
|
50
|
+
Relationships: [
|
|
51
|
+
{
|
|
52
|
+
foreignKeyName: 'acq_artifacts_organization_id_fkey';
|
|
53
|
+
columns: ['organization_id'];
|
|
54
|
+
isOneToOne: false;
|
|
55
|
+
referencedRelation: 'organizations';
|
|
56
|
+
referencedColumns: ['id'];
|
|
57
|
+
}
|
|
58
|
+
];
|
|
59
|
+
};
|
|
13
60
|
acq_companies: {
|
|
14
61
|
Row: {
|
|
15
62
|
batch_id: string | null;
|
|
@@ -28,6 +75,9 @@ type Database = {
|
|
|
28
75
|
num_employees: number | null;
|
|
29
76
|
organization_id: string;
|
|
30
77
|
pipeline_status: Json;
|
|
78
|
+
qualification_rubric_key: string | null;
|
|
79
|
+
qualification_score: number | null;
|
|
80
|
+
qualification_signals: Json | null;
|
|
31
81
|
segment: string | null;
|
|
32
82
|
source: string | null;
|
|
33
83
|
status: string;
|
|
@@ -51,6 +101,9 @@ type Database = {
|
|
|
51
101
|
num_employees?: number | null;
|
|
52
102
|
organization_id: string;
|
|
53
103
|
pipeline_status?: Json;
|
|
104
|
+
qualification_rubric_key?: string | null;
|
|
105
|
+
qualification_score?: number | null;
|
|
106
|
+
qualification_signals?: Json | null;
|
|
54
107
|
segment?: string | null;
|
|
55
108
|
source?: string | null;
|
|
56
109
|
status?: string;
|
|
@@ -74,6 +127,9 @@ type Database = {
|
|
|
74
127
|
num_employees?: number | null;
|
|
75
128
|
organization_id?: string;
|
|
76
129
|
pipeline_status?: Json;
|
|
130
|
+
qualification_rubric_key?: string | null;
|
|
131
|
+
qualification_score?: number | null;
|
|
132
|
+
qualification_signals?: Json | null;
|
|
77
133
|
segment?: string | null;
|
|
78
134
|
source?: string | null;
|
|
79
135
|
status?: string;
|
|
@@ -82,11 +138,11 @@ type Database = {
|
|
|
82
138
|
};
|
|
83
139
|
Relationships: [
|
|
84
140
|
{
|
|
85
|
-
foreignKeyName:
|
|
86
|
-
columns: [
|
|
141
|
+
foreignKeyName: 'acq_companies_organization_id_fkey';
|
|
142
|
+
columns: ['organization_id'];
|
|
87
143
|
isOneToOne: false;
|
|
88
|
-
referencedRelation:
|
|
89
|
-
referencedColumns: [
|
|
144
|
+
referencedRelation: 'organizations';
|
|
145
|
+
referencedColumns: ['id'];
|
|
90
146
|
}
|
|
91
147
|
];
|
|
92
148
|
};
|
|
@@ -110,6 +166,9 @@ type Database = {
|
|
|
110
166
|
opening_line: string | null;
|
|
111
167
|
organization_id: string;
|
|
112
168
|
pipeline_status: Json;
|
|
169
|
+
qualification_rubric_key: string | null;
|
|
170
|
+
qualification_score: number | null;
|
|
171
|
+
qualification_signals: Json | null;
|
|
113
172
|
source: string | null;
|
|
114
173
|
source_id: string | null;
|
|
115
174
|
status: string;
|
|
@@ -135,6 +194,9 @@ type Database = {
|
|
|
135
194
|
opening_line?: string | null;
|
|
136
195
|
organization_id: string;
|
|
137
196
|
pipeline_status?: Json;
|
|
197
|
+
qualification_rubric_key?: string | null;
|
|
198
|
+
qualification_score?: number | null;
|
|
199
|
+
qualification_signals?: Json | null;
|
|
138
200
|
source?: string | null;
|
|
139
201
|
source_id?: string | null;
|
|
140
202
|
status?: string;
|
|
@@ -160,6 +222,9 @@ type Database = {
|
|
|
160
222
|
opening_line?: string | null;
|
|
161
223
|
organization_id?: string;
|
|
162
224
|
pipeline_status?: Json;
|
|
225
|
+
qualification_rubric_key?: string | null;
|
|
226
|
+
qualification_score?: number | null;
|
|
227
|
+
qualification_signals?: Json | null;
|
|
163
228
|
source?: string | null;
|
|
164
229
|
source_id?: string | null;
|
|
165
230
|
status?: string;
|
|
@@ -168,18 +233,18 @@ type Database = {
|
|
|
168
233
|
};
|
|
169
234
|
Relationships: [
|
|
170
235
|
{
|
|
171
|
-
foreignKeyName:
|
|
172
|
-
columns: [
|
|
236
|
+
foreignKeyName: 'acq_contacts_company_id_fkey';
|
|
237
|
+
columns: ['company_id'];
|
|
173
238
|
isOneToOne: false;
|
|
174
|
-
referencedRelation:
|
|
175
|
-
referencedColumns: [
|
|
239
|
+
referencedRelation: 'acq_companies';
|
|
240
|
+
referencedColumns: ['id'];
|
|
176
241
|
},
|
|
177
242
|
{
|
|
178
|
-
foreignKeyName:
|
|
179
|
-
columns: [
|
|
243
|
+
foreignKeyName: 'acq_contacts_organization_id_fkey';
|
|
244
|
+
columns: ['organization_id'];
|
|
180
245
|
isOneToOne: false;
|
|
181
|
-
referencedRelation:
|
|
182
|
-
referencedColumns: [
|
|
246
|
+
referencedRelation: 'organizations';
|
|
247
|
+
referencedColumns: ['id'];
|
|
183
248
|
}
|
|
184
249
|
];
|
|
185
250
|
};
|
|
@@ -216,11 +281,11 @@ type Database = {
|
|
|
216
281
|
};
|
|
217
282
|
Relationships: [
|
|
218
283
|
{
|
|
219
|
-
foreignKeyName:
|
|
220
|
-
columns: [
|
|
284
|
+
foreignKeyName: 'acq_content_organization_id_fkey';
|
|
285
|
+
columns: ['organization_id'];
|
|
221
286
|
isOneToOne: false;
|
|
222
|
-
referencedRelation:
|
|
223
|
-
referencedColumns: [
|
|
287
|
+
referencedRelation: 'organizations';
|
|
288
|
+
referencedColumns: ['id'];
|
|
224
289
|
}
|
|
225
290
|
];
|
|
226
291
|
};
|
|
@@ -284,18 +349,18 @@ type Database = {
|
|
|
284
349
|
};
|
|
285
350
|
Relationships: [
|
|
286
351
|
{
|
|
287
|
-
foreignKeyName:
|
|
288
|
-
columns: [
|
|
352
|
+
foreignKeyName: 'acq_content_distributions_content_id_fkey';
|
|
353
|
+
columns: ['content_id'];
|
|
289
354
|
isOneToOne: false;
|
|
290
|
-
referencedRelation:
|
|
291
|
-
referencedColumns: [
|
|
355
|
+
referencedRelation: 'acq_content';
|
|
356
|
+
referencedColumns: ['id'];
|
|
292
357
|
},
|
|
293
358
|
{
|
|
294
|
-
foreignKeyName:
|
|
295
|
-
columns: [
|
|
359
|
+
foreignKeyName: 'acq_content_distributions_organization_id_fkey';
|
|
360
|
+
columns: ['organization_id'];
|
|
296
361
|
isOneToOne: false;
|
|
297
|
-
referencedRelation:
|
|
298
|
-
referencedColumns: [
|
|
362
|
+
referencedRelation: 'organizations';
|
|
363
|
+
referencedColumns: ['id'];
|
|
299
364
|
}
|
|
300
365
|
];
|
|
301
366
|
};
|
|
@@ -329,18 +394,18 @@ type Database = {
|
|
|
329
394
|
};
|
|
330
395
|
Relationships: [
|
|
331
396
|
{
|
|
332
|
-
foreignKeyName:
|
|
333
|
-
columns: [
|
|
397
|
+
foreignKeyName: 'acq_deal_notes_deal_id_fkey';
|
|
398
|
+
columns: ['deal_id'];
|
|
334
399
|
isOneToOne: false;
|
|
335
|
-
referencedRelation:
|
|
336
|
-
referencedColumns: [
|
|
400
|
+
referencedRelation: 'acq_deals';
|
|
401
|
+
referencedColumns: ['id'];
|
|
337
402
|
},
|
|
338
403
|
{
|
|
339
|
-
foreignKeyName:
|
|
340
|
-
columns: [
|
|
404
|
+
foreignKeyName: 'acq_deal_notes_organization_id_fkey';
|
|
405
|
+
columns: ['organization_id'];
|
|
341
406
|
isOneToOne: false;
|
|
342
|
-
referencedRelation:
|
|
343
|
-
referencedColumns: [
|
|
407
|
+
referencedRelation: 'organizations';
|
|
408
|
+
referencedColumns: ['id'];
|
|
344
409
|
}
|
|
345
410
|
];
|
|
346
411
|
};
|
|
@@ -392,18 +457,18 @@ type Database = {
|
|
|
392
457
|
};
|
|
393
458
|
Relationships: [
|
|
394
459
|
{
|
|
395
|
-
foreignKeyName:
|
|
396
|
-
columns: [
|
|
460
|
+
foreignKeyName: 'acq_deal_tasks_deal_id_fkey';
|
|
461
|
+
columns: ['deal_id'];
|
|
397
462
|
isOneToOne: false;
|
|
398
|
-
referencedRelation:
|
|
399
|
-
referencedColumns: [
|
|
463
|
+
referencedRelation: 'acq_deals';
|
|
464
|
+
referencedColumns: ['id'];
|
|
400
465
|
},
|
|
401
466
|
{
|
|
402
|
-
foreignKeyName:
|
|
403
|
-
columns: [
|
|
467
|
+
foreignKeyName: 'acq_deal_tasks_organization_id_fkey';
|
|
468
|
+
columns: ['organization_id'];
|
|
404
469
|
isOneToOne: false;
|
|
405
|
-
referencedRelation:
|
|
406
|
-
referencedColumns: [
|
|
470
|
+
referencedRelation: 'organizations';
|
|
471
|
+
referencedColumns: ['id'];
|
|
407
472
|
}
|
|
408
473
|
];
|
|
409
474
|
};
|
|
@@ -515,86 +580,95 @@ type Database = {
|
|
|
515
580
|
};
|
|
516
581
|
Relationships: [
|
|
517
582
|
{
|
|
518
|
-
foreignKeyName:
|
|
519
|
-
columns: [
|
|
583
|
+
foreignKeyName: 'acq_deals_contact_id_fkey';
|
|
584
|
+
columns: ['contact_id'];
|
|
520
585
|
isOneToOne: false;
|
|
521
|
-
referencedRelation:
|
|
522
|
-
referencedColumns: [
|
|
586
|
+
referencedRelation: 'acq_contacts';
|
|
587
|
+
referencedColumns: ['id'];
|
|
523
588
|
},
|
|
524
589
|
{
|
|
525
|
-
foreignKeyName:
|
|
526
|
-
columns: [
|
|
590
|
+
foreignKeyName: 'acq_deals_organization_id_fkey';
|
|
591
|
+
columns: ['organization_id'];
|
|
527
592
|
isOneToOne: false;
|
|
528
|
-
referencedRelation:
|
|
529
|
-
referencedColumns: [
|
|
593
|
+
referencedRelation: 'organizations';
|
|
594
|
+
referencedColumns: ['id'];
|
|
530
595
|
},
|
|
531
596
|
{
|
|
532
|
-
foreignKeyName:
|
|
533
|
-
columns: [
|
|
597
|
+
foreignKeyName: 'acq_deals_source_list_id_fkey';
|
|
598
|
+
columns: ['source_list_id'];
|
|
534
599
|
isOneToOne: false;
|
|
535
|
-
referencedRelation:
|
|
536
|
-
referencedColumns: [
|
|
600
|
+
referencedRelation: 'acq_lists';
|
|
601
|
+
referencedColumns: ['id'];
|
|
537
602
|
}
|
|
538
603
|
];
|
|
539
604
|
};
|
|
540
605
|
acq_list_companies: {
|
|
541
606
|
Row: {
|
|
607
|
+
activity_log: Json;
|
|
542
608
|
added_at: string;
|
|
543
609
|
added_by: string | null;
|
|
544
610
|
company_id: string;
|
|
545
611
|
id: string;
|
|
546
612
|
list_id: string;
|
|
613
|
+
pipeline_key: string;
|
|
614
|
+
processing_state: Json;
|
|
547
615
|
source_execution_id: string | null;
|
|
548
616
|
source_input_hash: string | null;
|
|
549
617
|
source_resource_id: string | null;
|
|
550
|
-
|
|
551
|
-
|
|
618
|
+
stage_key: string;
|
|
619
|
+
state_key: string;
|
|
552
620
|
};
|
|
553
621
|
Insert: {
|
|
622
|
+
activity_log?: Json;
|
|
554
623
|
added_at?: string;
|
|
555
624
|
added_by?: string | null;
|
|
556
625
|
company_id: string;
|
|
557
626
|
id?: string;
|
|
558
627
|
list_id: string;
|
|
628
|
+
pipeline_key?: string;
|
|
629
|
+
processing_state?: Json;
|
|
559
630
|
source_execution_id?: string | null;
|
|
560
631
|
source_input_hash?: string | null;
|
|
561
632
|
source_resource_id?: string | null;
|
|
562
|
-
|
|
563
|
-
|
|
633
|
+
stage_key: string;
|
|
634
|
+
state_key: string;
|
|
564
635
|
};
|
|
565
636
|
Update: {
|
|
637
|
+
activity_log?: Json;
|
|
566
638
|
added_at?: string;
|
|
567
639
|
added_by?: string | null;
|
|
568
640
|
company_id?: string;
|
|
569
641
|
id?: string;
|
|
570
642
|
list_id?: string;
|
|
643
|
+
pipeline_key?: string;
|
|
644
|
+
processing_state?: Json;
|
|
571
645
|
source_execution_id?: string | null;
|
|
572
646
|
source_input_hash?: string | null;
|
|
573
647
|
source_resource_id?: string | null;
|
|
574
|
-
|
|
575
|
-
|
|
648
|
+
stage_key?: string;
|
|
649
|
+
state_key?: string;
|
|
576
650
|
};
|
|
577
651
|
Relationships: [
|
|
578
652
|
{
|
|
579
|
-
foreignKeyName:
|
|
580
|
-
columns: [
|
|
653
|
+
foreignKeyName: 'acq_list_companies_company_id_fkey';
|
|
654
|
+
columns: ['company_id'];
|
|
581
655
|
isOneToOne: false;
|
|
582
|
-
referencedRelation:
|
|
583
|
-
referencedColumns: [
|
|
656
|
+
referencedRelation: 'acq_companies';
|
|
657
|
+
referencedColumns: ['id'];
|
|
584
658
|
},
|
|
585
659
|
{
|
|
586
|
-
foreignKeyName:
|
|
587
|
-
columns: [
|
|
660
|
+
foreignKeyName: 'acq_list_companies_list_id_fkey';
|
|
661
|
+
columns: ['list_id'];
|
|
588
662
|
isOneToOne: false;
|
|
589
|
-
referencedRelation:
|
|
590
|
-
referencedColumns: [
|
|
663
|
+
referencedRelation: 'acq_lists';
|
|
664
|
+
referencedColumns: ['id'];
|
|
591
665
|
},
|
|
592
666
|
{
|
|
593
|
-
foreignKeyName:
|
|
594
|
-
columns: [
|
|
667
|
+
foreignKeyName: 'acq_list_companies_source_execution_id_fkey';
|
|
668
|
+
columns: ['source_execution_id'];
|
|
595
669
|
isOneToOne: false;
|
|
596
|
-
referencedRelation:
|
|
597
|
-
referencedColumns: [
|
|
670
|
+
referencedRelation: 'execution_logs';
|
|
671
|
+
referencedColumns: ['execution_id'];
|
|
598
672
|
}
|
|
599
673
|
];
|
|
600
674
|
};
|
|
@@ -622,79 +696,88 @@ type Database = {
|
|
|
622
696
|
};
|
|
623
697
|
Relationships: [
|
|
624
698
|
{
|
|
625
|
-
foreignKeyName:
|
|
626
|
-
columns: [
|
|
699
|
+
foreignKeyName: 'acq_list_executions_execution_id_fkey';
|
|
700
|
+
columns: ['execution_id'];
|
|
627
701
|
isOneToOne: false;
|
|
628
|
-
referencedRelation:
|
|
629
|
-
referencedColumns: [
|
|
702
|
+
referencedRelation: 'execution_logs';
|
|
703
|
+
referencedColumns: ['execution_id'];
|
|
630
704
|
},
|
|
631
705
|
{
|
|
632
|
-
foreignKeyName:
|
|
633
|
-
columns: [
|
|
706
|
+
foreignKeyName: 'acq_list_executions_list_id_fkey';
|
|
707
|
+
columns: ['list_id'];
|
|
634
708
|
isOneToOne: false;
|
|
635
|
-
referencedRelation:
|
|
636
|
-
referencedColumns: [
|
|
709
|
+
referencedRelation: 'acq_lists';
|
|
710
|
+
referencedColumns: ['id'];
|
|
637
711
|
}
|
|
638
712
|
];
|
|
639
713
|
};
|
|
640
714
|
acq_list_members: {
|
|
641
715
|
Row: {
|
|
716
|
+
activity_log: Json;
|
|
642
717
|
added_at: string;
|
|
643
718
|
added_by: string | null;
|
|
644
719
|
contact_id: string;
|
|
645
720
|
id: string;
|
|
646
721
|
list_id: string;
|
|
722
|
+
pipeline_key: string;
|
|
723
|
+
processing_state: Json;
|
|
647
724
|
source_execution_id: string | null;
|
|
648
725
|
source_input_hash: string | null;
|
|
649
726
|
source_resource_id: string | null;
|
|
650
|
-
|
|
651
|
-
|
|
727
|
+
stage_key: string;
|
|
728
|
+
state_key: string;
|
|
652
729
|
};
|
|
653
730
|
Insert: {
|
|
731
|
+
activity_log?: Json;
|
|
654
732
|
added_at?: string;
|
|
655
733
|
added_by?: string | null;
|
|
656
734
|
contact_id: string;
|
|
657
735
|
id?: string;
|
|
658
736
|
list_id: string;
|
|
737
|
+
pipeline_key?: string;
|
|
738
|
+
processing_state?: Json;
|
|
659
739
|
source_execution_id?: string | null;
|
|
660
740
|
source_input_hash?: string | null;
|
|
661
741
|
source_resource_id?: string | null;
|
|
662
|
-
|
|
663
|
-
|
|
742
|
+
stage_key: string;
|
|
743
|
+
state_key: string;
|
|
664
744
|
};
|
|
665
745
|
Update: {
|
|
746
|
+
activity_log?: Json;
|
|
666
747
|
added_at?: string;
|
|
667
748
|
added_by?: string | null;
|
|
668
749
|
contact_id?: string;
|
|
669
750
|
id?: string;
|
|
670
751
|
list_id?: string;
|
|
752
|
+
pipeline_key?: string;
|
|
753
|
+
processing_state?: Json;
|
|
671
754
|
source_execution_id?: string | null;
|
|
672
755
|
source_input_hash?: string | null;
|
|
673
756
|
source_resource_id?: string | null;
|
|
674
|
-
|
|
675
|
-
|
|
757
|
+
stage_key?: string;
|
|
758
|
+
state_key?: string;
|
|
676
759
|
};
|
|
677
760
|
Relationships: [
|
|
678
761
|
{
|
|
679
|
-
foreignKeyName:
|
|
680
|
-
columns: [
|
|
762
|
+
foreignKeyName: 'acq_list_members_contact_id_fkey';
|
|
763
|
+
columns: ['contact_id'];
|
|
681
764
|
isOneToOne: false;
|
|
682
|
-
referencedRelation:
|
|
683
|
-
referencedColumns: [
|
|
765
|
+
referencedRelation: 'acq_contacts';
|
|
766
|
+
referencedColumns: ['id'];
|
|
684
767
|
},
|
|
685
768
|
{
|
|
686
|
-
foreignKeyName:
|
|
687
|
-
columns: [
|
|
769
|
+
foreignKeyName: 'acq_list_members_list_id_fkey';
|
|
770
|
+
columns: ['list_id'];
|
|
688
771
|
isOneToOne: false;
|
|
689
|
-
referencedRelation:
|
|
690
|
-
referencedColumns: [
|
|
772
|
+
referencedRelation: 'acq_lists';
|
|
773
|
+
referencedColumns: ['id'];
|
|
691
774
|
},
|
|
692
775
|
{
|
|
693
|
-
foreignKeyName:
|
|
694
|
-
columns: [
|
|
776
|
+
foreignKeyName: 'acq_list_members_source_execution_id_fkey';
|
|
777
|
+
columns: ['source_execution_id'];
|
|
695
778
|
isOneToOne: false;
|
|
696
|
-
referencedRelation:
|
|
697
|
-
referencedColumns: [
|
|
779
|
+
referencedRelation: 'execution_logs';
|
|
780
|
+
referencedColumns: ['execution_id'];
|
|
698
781
|
}
|
|
699
782
|
];
|
|
700
783
|
};
|
|
@@ -702,55 +785,58 @@ type Database = {
|
|
|
702
785
|
Row: {
|
|
703
786
|
batch_ids: string[];
|
|
704
787
|
completed_at: string | null;
|
|
705
|
-
config: Json;
|
|
706
788
|
created_at: string;
|
|
707
789
|
description: string | null;
|
|
790
|
+
icp: Json;
|
|
708
791
|
id: string;
|
|
709
792
|
instantly_campaign_id: string | null;
|
|
710
793
|
launched_at: string | null;
|
|
711
794
|
metadata: Json;
|
|
712
795
|
name: string;
|
|
713
796
|
organization_id: string;
|
|
797
|
+
pipeline_config: Json;
|
|
798
|
+
scraping_config: Json;
|
|
714
799
|
status: string;
|
|
715
|
-
type: string;
|
|
716
800
|
};
|
|
717
801
|
Insert: {
|
|
718
802
|
batch_ids?: string[];
|
|
719
803
|
completed_at?: string | null;
|
|
720
|
-
config?: Json;
|
|
721
804
|
created_at?: string;
|
|
722
805
|
description?: string | null;
|
|
806
|
+
icp?: Json;
|
|
723
807
|
id?: string;
|
|
724
808
|
instantly_campaign_id?: string | null;
|
|
725
809
|
launched_at?: string | null;
|
|
726
810
|
metadata?: Json;
|
|
727
811
|
name: string;
|
|
728
812
|
organization_id: string;
|
|
813
|
+
pipeline_config?: Json;
|
|
814
|
+
scraping_config?: Json;
|
|
729
815
|
status?: string;
|
|
730
|
-
type?: string;
|
|
731
816
|
};
|
|
732
817
|
Update: {
|
|
733
818
|
batch_ids?: string[];
|
|
734
819
|
completed_at?: string | null;
|
|
735
|
-
config?: Json;
|
|
736
820
|
created_at?: string;
|
|
737
821
|
description?: string | null;
|
|
822
|
+
icp?: Json;
|
|
738
823
|
id?: string;
|
|
739
824
|
instantly_campaign_id?: string | null;
|
|
740
825
|
launched_at?: string | null;
|
|
741
826
|
metadata?: Json;
|
|
742
827
|
name?: string;
|
|
743
828
|
organization_id?: string;
|
|
829
|
+
pipeline_config?: Json;
|
|
830
|
+
scraping_config?: Json;
|
|
744
831
|
status?: string;
|
|
745
|
-
type?: string;
|
|
746
832
|
};
|
|
747
833
|
Relationships: [
|
|
748
834
|
{
|
|
749
|
-
foreignKeyName:
|
|
750
|
-
columns: [
|
|
835
|
+
foreignKeyName: 'acq_lists_organization_id_fkey';
|
|
836
|
+
columns: ['organization_id'];
|
|
751
837
|
isOneToOne: false;
|
|
752
|
-
referencedRelation:
|
|
753
|
-
referencedColumns: [
|
|
838
|
+
referencedRelation: 'organizations';
|
|
839
|
+
referencedColumns: ['id'];
|
|
754
840
|
}
|
|
755
841
|
];
|
|
756
842
|
};
|
|
@@ -826,18 +912,18 @@ type Database = {
|
|
|
826
912
|
};
|
|
827
913
|
Relationships: [
|
|
828
914
|
{
|
|
829
|
-
foreignKeyName:
|
|
830
|
-
columns: [
|
|
915
|
+
foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
|
|
916
|
+
columns: ['organization_id'];
|
|
831
917
|
isOneToOne: false;
|
|
832
|
-
referencedRelation:
|
|
833
|
-
referencedColumns: [
|
|
918
|
+
referencedRelation: 'organizations';
|
|
919
|
+
referencedColumns: ['id'];
|
|
834
920
|
},
|
|
835
921
|
{
|
|
836
|
-
foreignKeyName:
|
|
837
|
-
columns: [
|
|
922
|
+
foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
|
|
923
|
+
columns: ['seo_page_id'];
|
|
838
924
|
isOneToOne: false;
|
|
839
|
-
referencedRelation:
|
|
840
|
-
referencedColumns: [
|
|
925
|
+
referencedRelation: 'acq_seo_pages';
|
|
926
|
+
referencedColumns: ['id'];
|
|
841
927
|
}
|
|
842
928
|
];
|
|
843
929
|
};
|
|
@@ -913,11 +999,11 @@ type Database = {
|
|
|
913
999
|
};
|
|
914
1000
|
Relationships: [
|
|
915
1001
|
{
|
|
916
|
-
foreignKeyName:
|
|
917
|
-
columns: [
|
|
1002
|
+
foreignKeyName: 'acq_seo_pages_organization_id_fkey';
|
|
1003
|
+
columns: ['organization_id'];
|
|
918
1004
|
isOneToOne: false;
|
|
919
|
-
referencedRelation:
|
|
920
|
-
referencedColumns: [
|
|
1005
|
+
referencedRelation: 'organizations';
|
|
1006
|
+
referencedColumns: ['id'];
|
|
921
1007
|
}
|
|
922
1008
|
];
|
|
923
1009
|
};
|
|
@@ -1014,11 +1100,11 @@ type Database = {
|
|
|
1014
1100
|
};
|
|
1015
1101
|
Relationships: [
|
|
1016
1102
|
{
|
|
1017
|
-
foreignKeyName:
|
|
1018
|
-
columns: [
|
|
1103
|
+
foreignKeyName: 'acq_social_posts_organization_id_fkey';
|
|
1104
|
+
columns: ['organization_id'];
|
|
1019
1105
|
isOneToOne: false;
|
|
1020
|
-
referencedRelation:
|
|
1021
|
-
referencedColumns: [
|
|
1106
|
+
referencedRelation: 'organizations';
|
|
1107
|
+
referencedColumns: ['id'];
|
|
1022
1108
|
}
|
|
1023
1109
|
];
|
|
1024
1110
|
};
|
|
@@ -1073,11 +1159,11 @@ type Database = {
|
|
|
1073
1159
|
};
|
|
1074
1160
|
Relationships: [
|
|
1075
1161
|
{
|
|
1076
|
-
foreignKeyName:
|
|
1077
|
-
columns: [
|
|
1162
|
+
foreignKeyName: 'activities_organization_id_fkey';
|
|
1163
|
+
columns: ['organization_id'];
|
|
1078
1164
|
isOneToOne: false;
|
|
1079
|
-
referencedRelation:
|
|
1080
|
-
referencedColumns: [
|
|
1165
|
+
referencedRelation: 'organizations';
|
|
1166
|
+
referencedColumns: ['id'];
|
|
1081
1167
|
}
|
|
1082
1168
|
];
|
|
1083
1169
|
};
|
|
@@ -1108,11 +1194,11 @@ type Database = {
|
|
|
1108
1194
|
};
|
|
1109
1195
|
Relationships: [
|
|
1110
1196
|
{
|
|
1111
|
-
foreignKeyName:
|
|
1112
|
-
columns: [
|
|
1197
|
+
foreignKeyName: 'api_keys_organization_id_fkey';
|
|
1198
|
+
columns: ['organization_id'];
|
|
1113
1199
|
isOneToOne: false;
|
|
1114
|
-
referencedRelation:
|
|
1115
|
-
referencedColumns: [
|
|
1200
|
+
referencedRelation: 'organizations';
|
|
1201
|
+
referencedColumns: ['id'];
|
|
1116
1202
|
}
|
|
1117
1203
|
];
|
|
1118
1204
|
};
|
|
@@ -1191,25 +1277,25 @@ type Database = {
|
|
|
1191
1277
|
};
|
|
1192
1278
|
Relationships: [
|
|
1193
1279
|
{
|
|
1194
|
-
foreignKeyName:
|
|
1195
|
-
columns: [
|
|
1280
|
+
foreignKeyName: 'command_queue_completed_by_fkey';
|
|
1281
|
+
columns: ['completed_by'];
|
|
1196
1282
|
isOneToOne: false;
|
|
1197
|
-
referencedRelation:
|
|
1198
|
-
referencedColumns: [
|
|
1283
|
+
referencedRelation: 'users';
|
|
1284
|
+
referencedColumns: ['id'];
|
|
1199
1285
|
},
|
|
1200
1286
|
{
|
|
1201
|
-
foreignKeyName:
|
|
1202
|
-
columns: [
|
|
1287
|
+
foreignKeyName: 'command_queue_organization_id_fkey';
|
|
1288
|
+
columns: ['organization_id'];
|
|
1203
1289
|
isOneToOne: false;
|
|
1204
|
-
referencedRelation:
|
|
1205
|
-
referencedColumns: [
|
|
1290
|
+
referencedRelation: 'organizations';
|
|
1291
|
+
referencedColumns: ['id'];
|
|
1206
1292
|
},
|
|
1207
1293
|
{
|
|
1208
|
-
foreignKeyName:
|
|
1209
|
-
columns: [
|
|
1294
|
+
foreignKeyName: 'command_queue_target_execution_id_fkey';
|
|
1295
|
+
columns: ['target_execution_id'];
|
|
1210
1296
|
isOneToOne: false;
|
|
1211
|
-
referencedRelation:
|
|
1212
|
-
referencedColumns: [
|
|
1297
|
+
referencedRelation: 'execution_logs';
|
|
1298
|
+
referencedColumns: ['execution_id'];
|
|
1213
1299
|
}
|
|
1214
1300
|
];
|
|
1215
1301
|
};
|
|
@@ -1249,18 +1335,18 @@ type Database = {
|
|
|
1249
1335
|
};
|
|
1250
1336
|
Relationships: [
|
|
1251
1337
|
{
|
|
1252
|
-
foreignKeyName:
|
|
1253
|
-
columns: [
|
|
1338
|
+
foreignKeyName: 'credentials_created_by_fkey';
|
|
1339
|
+
columns: ['created_by'];
|
|
1254
1340
|
isOneToOne: false;
|
|
1255
|
-
referencedRelation:
|
|
1256
|
-
referencedColumns: [
|
|
1341
|
+
referencedRelation: 'users';
|
|
1342
|
+
referencedColumns: ['id'];
|
|
1257
1343
|
},
|
|
1258
1344
|
{
|
|
1259
|
-
foreignKeyName:
|
|
1260
|
-
columns: [
|
|
1345
|
+
foreignKeyName: 'credentials_organization_id_fkey';
|
|
1346
|
+
columns: ['organization_id'];
|
|
1261
1347
|
isOneToOne: false;
|
|
1262
|
-
referencedRelation:
|
|
1263
|
-
referencedColumns: [
|
|
1348
|
+
referencedRelation: 'organizations';
|
|
1349
|
+
referencedColumns: ['id'];
|
|
1264
1350
|
}
|
|
1265
1351
|
];
|
|
1266
1352
|
};
|
|
@@ -1306,11 +1392,11 @@ type Database = {
|
|
|
1306
1392
|
};
|
|
1307
1393
|
Relationships: [
|
|
1308
1394
|
{
|
|
1309
|
-
foreignKeyName:
|
|
1310
|
-
columns: [
|
|
1395
|
+
foreignKeyName: 'deployments_organization_id_fkey';
|
|
1396
|
+
columns: ['organization_id'];
|
|
1311
1397
|
isOneToOne: false;
|
|
1312
|
-
referencedRelation:
|
|
1313
|
-
referencedColumns: [
|
|
1398
|
+
referencedRelation: 'organizations';
|
|
1399
|
+
referencedColumns: ['id'];
|
|
1314
1400
|
}
|
|
1315
1401
|
];
|
|
1316
1402
|
};
|
|
@@ -1365,25 +1451,25 @@ type Database = {
|
|
|
1365
1451
|
};
|
|
1366
1452
|
Relationships: [
|
|
1367
1453
|
{
|
|
1368
|
-
foreignKeyName:
|
|
1369
|
-
columns: [
|
|
1454
|
+
foreignKeyName: 'execution_errors_execution_id_fkey';
|
|
1455
|
+
columns: ['execution_id'];
|
|
1370
1456
|
isOneToOne: false;
|
|
1371
|
-
referencedRelation:
|
|
1372
|
-
referencedColumns: [
|
|
1457
|
+
referencedRelation: 'execution_logs';
|
|
1458
|
+
referencedColumns: ['execution_id'];
|
|
1373
1459
|
},
|
|
1374
1460
|
{
|
|
1375
|
-
foreignKeyName:
|
|
1376
|
-
columns: [
|
|
1461
|
+
foreignKeyName: 'execution_errors_organization_id_fkey';
|
|
1462
|
+
columns: ['organization_id'];
|
|
1377
1463
|
isOneToOne: false;
|
|
1378
|
-
referencedRelation:
|
|
1379
|
-
referencedColumns: [
|
|
1464
|
+
referencedRelation: 'organizations';
|
|
1465
|
+
referencedColumns: ['id'];
|
|
1380
1466
|
},
|
|
1381
1467
|
{
|
|
1382
|
-
foreignKeyName:
|
|
1383
|
-
columns: [
|
|
1468
|
+
foreignKeyName: 'execution_errors_resolved_by_fkey';
|
|
1469
|
+
columns: ['resolved_by'];
|
|
1384
1470
|
isOneToOne: false;
|
|
1385
|
-
referencedRelation:
|
|
1386
|
-
referencedColumns: [
|
|
1471
|
+
referencedRelation: 'users';
|
|
1472
|
+
referencedColumns: ['id'];
|
|
1387
1473
|
}
|
|
1388
1474
|
];
|
|
1389
1475
|
};
|
|
@@ -1465,32 +1551,32 @@ type Database = {
|
|
|
1465
1551
|
};
|
|
1466
1552
|
Relationships: [
|
|
1467
1553
|
{
|
|
1468
|
-
foreignKeyName:
|
|
1469
|
-
columns: [
|
|
1554
|
+
foreignKeyName: 'execution_history_organization_id_fkey';
|
|
1555
|
+
columns: ['organization_id'];
|
|
1470
1556
|
isOneToOne: false;
|
|
1471
|
-
referencedRelation:
|
|
1472
|
-
referencedColumns: [
|
|
1557
|
+
referencedRelation: 'organizations';
|
|
1558
|
+
referencedColumns: ['id'];
|
|
1473
1559
|
},
|
|
1474
1560
|
{
|
|
1475
|
-
foreignKeyName:
|
|
1476
|
-
columns: [
|
|
1561
|
+
foreignKeyName: 'execution_logs_origin_execution_id_fkey';
|
|
1562
|
+
columns: ['origin_execution_id'];
|
|
1477
1563
|
isOneToOne: false;
|
|
1478
|
-
referencedRelation:
|
|
1479
|
-
referencedColumns: [
|
|
1564
|
+
referencedRelation: 'execution_logs';
|
|
1565
|
+
referencedColumns: ['execution_id'];
|
|
1480
1566
|
},
|
|
1481
1567
|
{
|
|
1482
|
-
foreignKeyName:
|
|
1483
|
-
columns: [
|
|
1568
|
+
foreignKeyName: 'execution_logs_session_id_fkey';
|
|
1569
|
+
columns: ['session_id'];
|
|
1484
1570
|
isOneToOne: false;
|
|
1485
|
-
referencedRelation:
|
|
1486
|
-
referencedColumns: [
|
|
1571
|
+
referencedRelation: 'sessions';
|
|
1572
|
+
referencedColumns: ['session_id'];
|
|
1487
1573
|
},
|
|
1488
1574
|
{
|
|
1489
|
-
foreignKeyName:
|
|
1490
|
-
columns: [
|
|
1575
|
+
foreignKeyName: 'execution_logs_user_id_fkey';
|
|
1576
|
+
columns: ['user_id'];
|
|
1491
1577
|
isOneToOne: false;
|
|
1492
|
-
referencedRelation:
|
|
1493
|
-
referencedColumns: [
|
|
1578
|
+
referencedRelation: 'users';
|
|
1579
|
+
referencedColumns: ['id'];
|
|
1494
1580
|
}
|
|
1495
1581
|
];
|
|
1496
1582
|
};
|
|
@@ -1536,18 +1622,18 @@ type Database = {
|
|
|
1536
1622
|
};
|
|
1537
1623
|
Relationships: [
|
|
1538
1624
|
{
|
|
1539
|
-
foreignKeyName:
|
|
1540
|
-
columns: [
|
|
1625
|
+
foreignKeyName: 'execution_metrics_execution_id_fkey';
|
|
1626
|
+
columns: ['execution_id'];
|
|
1541
1627
|
isOneToOne: true;
|
|
1542
|
-
referencedRelation:
|
|
1543
|
-
referencedColumns: [
|
|
1628
|
+
referencedRelation: 'execution_logs';
|
|
1629
|
+
referencedColumns: ['execution_id'];
|
|
1544
1630
|
},
|
|
1545
1631
|
{
|
|
1546
|
-
foreignKeyName:
|
|
1547
|
-
columns: [
|
|
1632
|
+
foreignKeyName: 'execution_metrics_organization_id_fkey';
|
|
1633
|
+
columns: ['organization_id'];
|
|
1548
1634
|
isOneToOne: false;
|
|
1549
|
-
referencedRelation:
|
|
1550
|
-
referencedColumns: [
|
|
1635
|
+
referencedRelation: 'organizations';
|
|
1636
|
+
referencedColumns: ['id'];
|
|
1551
1637
|
}
|
|
1552
1638
|
];
|
|
1553
1639
|
};
|
|
@@ -1590,18 +1676,18 @@ type Database = {
|
|
|
1590
1676
|
};
|
|
1591
1677
|
Relationships: [
|
|
1592
1678
|
{
|
|
1593
|
-
foreignKeyName:
|
|
1594
|
-
columns: [
|
|
1679
|
+
foreignKeyName: 'notifications_organization_id_fkey';
|
|
1680
|
+
columns: ['organization_id'];
|
|
1595
1681
|
isOneToOne: false;
|
|
1596
|
-
referencedRelation:
|
|
1597
|
-
referencedColumns: [
|
|
1682
|
+
referencedRelation: 'organizations';
|
|
1683
|
+
referencedColumns: ['id'];
|
|
1598
1684
|
},
|
|
1599
1685
|
{
|
|
1600
|
-
foreignKeyName:
|
|
1601
|
-
columns: [
|
|
1686
|
+
foreignKeyName: 'notifications_user_id_fkey';
|
|
1687
|
+
columns: ['user_id'];
|
|
1602
1688
|
isOneToOne: false;
|
|
1603
|
-
referencedRelation:
|
|
1604
|
-
referencedColumns: [
|
|
1689
|
+
referencedRelation: 'users';
|
|
1690
|
+
referencedColumns: ['id'];
|
|
1605
1691
|
}
|
|
1606
1692
|
];
|
|
1607
1693
|
};
|
|
@@ -1656,18 +1742,18 @@ type Database = {
|
|
|
1656
1742
|
};
|
|
1657
1743
|
Relationships: [
|
|
1658
1744
|
{
|
|
1659
|
-
foreignKeyName:
|
|
1660
|
-
columns: [
|
|
1745
|
+
foreignKeyName: 'org_invitations_inviter_user_id_fkey';
|
|
1746
|
+
columns: ['inviter_user_id'];
|
|
1661
1747
|
isOneToOne: false;
|
|
1662
|
-
referencedRelation:
|
|
1663
|
-
referencedColumns: [
|
|
1748
|
+
referencedRelation: 'users';
|
|
1749
|
+
referencedColumns: ['id'];
|
|
1664
1750
|
},
|
|
1665
1751
|
{
|
|
1666
|
-
foreignKeyName:
|
|
1667
|
-
columns: [
|
|
1752
|
+
foreignKeyName: 'org_invitations_organization_id_fkey';
|
|
1753
|
+
columns: ['organization_id'];
|
|
1668
1754
|
isOneToOne: false;
|
|
1669
|
-
referencedRelation:
|
|
1670
|
-
referencedColumns: [
|
|
1755
|
+
referencedRelation: 'organizations';
|
|
1756
|
+
referencedColumns: ['id'];
|
|
1671
1757
|
}
|
|
1672
1758
|
];
|
|
1673
1759
|
};
|
|
@@ -1710,18 +1796,18 @@ type Database = {
|
|
|
1710
1796
|
};
|
|
1711
1797
|
Relationships: [
|
|
1712
1798
|
{
|
|
1713
|
-
foreignKeyName:
|
|
1714
|
-
columns: [
|
|
1799
|
+
foreignKeyName: 'org_memberships_organization_id_fkey';
|
|
1800
|
+
columns: ['organization_id'];
|
|
1715
1801
|
isOneToOne: false;
|
|
1716
|
-
referencedRelation:
|
|
1717
|
-
referencedColumns: [
|
|
1802
|
+
referencedRelation: 'organizations';
|
|
1803
|
+
referencedColumns: ['id'];
|
|
1718
1804
|
},
|
|
1719
1805
|
{
|
|
1720
|
-
foreignKeyName:
|
|
1721
|
-
columns: [
|
|
1806
|
+
foreignKeyName: 'org_memberships_user_id_fkey';
|
|
1807
|
+
columns: ['user_id'];
|
|
1722
1808
|
isOneToOne: false;
|
|
1723
|
-
referencedRelation:
|
|
1724
|
-
referencedColumns: [
|
|
1809
|
+
referencedRelation: 'users';
|
|
1810
|
+
referencedColumns: ['id'];
|
|
1725
1811
|
}
|
|
1726
1812
|
];
|
|
1727
1813
|
};
|
|
@@ -1746,25 +1832,25 @@ type Database = {
|
|
|
1746
1832
|
};
|
|
1747
1833
|
Relationships: [
|
|
1748
1834
|
{
|
|
1749
|
-
foreignKeyName:
|
|
1750
|
-
columns: [
|
|
1835
|
+
foreignKeyName: 'org_rol_assignments_granted_by_fkey';
|
|
1836
|
+
columns: ['granted_by'];
|
|
1751
1837
|
isOneToOne: false;
|
|
1752
|
-
referencedRelation:
|
|
1753
|
-
referencedColumns: [
|
|
1838
|
+
referencedRelation: 'users';
|
|
1839
|
+
referencedColumns: ['id'];
|
|
1754
1840
|
},
|
|
1755
1841
|
{
|
|
1756
|
-
foreignKeyName:
|
|
1757
|
-
columns: [
|
|
1842
|
+
foreignKeyName: 'org_rol_assignments_membership_id_fkey';
|
|
1843
|
+
columns: ['membership_id'];
|
|
1758
1844
|
isOneToOne: false;
|
|
1759
|
-
referencedRelation:
|
|
1760
|
-
referencedColumns: [
|
|
1845
|
+
referencedRelation: 'org_memberships';
|
|
1846
|
+
referencedColumns: ['id'];
|
|
1761
1847
|
},
|
|
1762
1848
|
{
|
|
1763
|
-
foreignKeyName:
|
|
1764
|
-
columns: [
|
|
1849
|
+
foreignKeyName: 'org_rol_assignments_role_id_fkey';
|
|
1850
|
+
columns: ['role_id'];
|
|
1765
1851
|
isOneToOne: false;
|
|
1766
|
-
referencedRelation:
|
|
1767
|
-
referencedColumns: [
|
|
1852
|
+
referencedRelation: 'org_rol_definitions';
|
|
1853
|
+
referencedColumns: ['id'];
|
|
1768
1854
|
}
|
|
1769
1855
|
];
|
|
1770
1856
|
};
|
|
@@ -1801,11 +1887,11 @@ type Database = {
|
|
|
1801
1887
|
};
|
|
1802
1888
|
Relationships: [
|
|
1803
1889
|
{
|
|
1804
|
-
foreignKeyName:
|
|
1805
|
-
columns: [
|
|
1890
|
+
foreignKeyName: 'org_rol_definitions_organization_id_fkey';
|
|
1891
|
+
columns: ['organization_id'];
|
|
1806
1892
|
isOneToOne: false;
|
|
1807
|
-
referencedRelation:
|
|
1808
|
-
referencedColumns: [
|
|
1893
|
+
referencedRelation: 'organizations';
|
|
1894
|
+
referencedColumns: ['id'];
|
|
1809
1895
|
}
|
|
1810
1896
|
];
|
|
1811
1897
|
};
|
|
@@ -1827,18 +1913,18 @@ type Database = {
|
|
|
1827
1913
|
};
|
|
1828
1914
|
Relationships: [
|
|
1829
1915
|
{
|
|
1830
|
-
foreignKeyName:
|
|
1831
|
-
columns: [
|
|
1916
|
+
foreignKeyName: 'org_rol_grants_permission_key_fkey';
|
|
1917
|
+
columns: ['permission_key'];
|
|
1832
1918
|
isOneToOne: false;
|
|
1833
|
-
referencedRelation:
|
|
1834
|
-
referencedColumns: [
|
|
1919
|
+
referencedRelation: 'org_rol_permissions';
|
|
1920
|
+
referencedColumns: ['key'];
|
|
1835
1921
|
},
|
|
1836
1922
|
{
|
|
1837
|
-
foreignKeyName:
|
|
1838
|
-
columns: [
|
|
1923
|
+
foreignKeyName: 'org_rol_grants_role_id_fkey';
|
|
1924
|
+
columns: ['role_id'];
|
|
1839
1925
|
isOneToOne: false;
|
|
1840
|
-
referencedRelation:
|
|
1841
|
-
referencedColumns: [
|
|
1926
|
+
referencedRelation: 'org_rol_definitions';
|
|
1927
|
+
referencedColumns: ['id'];
|
|
1842
1928
|
}
|
|
1843
1929
|
];
|
|
1844
1930
|
};
|
|
@@ -1950,25 +2036,25 @@ type Database = {
|
|
|
1950
2036
|
};
|
|
1951
2037
|
Relationships: [
|
|
1952
2038
|
{
|
|
1953
|
-
foreignKeyName:
|
|
1954
|
-
columns: [
|
|
2039
|
+
foreignKeyName: 'fk_milestones_project';
|
|
2040
|
+
columns: ['project_id'];
|
|
1955
2041
|
isOneToOne: false;
|
|
1956
|
-
referencedRelation:
|
|
1957
|
-
referencedColumns: [
|
|
2042
|
+
referencedRelation: 'prj_projects';
|
|
2043
|
+
referencedColumns: ['id'];
|
|
1958
2044
|
},
|
|
1959
2045
|
{
|
|
1960
|
-
foreignKeyName:
|
|
1961
|
-
columns: [
|
|
2046
|
+
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
2047
|
+
columns: ['organization_id'];
|
|
1962
2048
|
isOneToOne: false;
|
|
1963
|
-
referencedRelation:
|
|
1964
|
-
referencedColumns: [
|
|
2049
|
+
referencedRelation: 'organizations';
|
|
2050
|
+
referencedColumns: ['id'];
|
|
1965
2051
|
},
|
|
1966
2052
|
{
|
|
1967
|
-
foreignKeyName:
|
|
1968
|
-
columns: [
|
|
2053
|
+
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
2054
|
+
columns: ['project_id'];
|
|
1969
2055
|
isOneToOne: false;
|
|
1970
|
-
referencedRelation:
|
|
1971
|
-
referencedColumns: [
|
|
2056
|
+
referencedRelation: 'prj_projects';
|
|
2057
|
+
referencedColumns: ['id'];
|
|
1972
2058
|
}
|
|
1973
2059
|
];
|
|
1974
2060
|
};
|
|
@@ -2017,67 +2103,67 @@ type Database = {
|
|
|
2017
2103
|
};
|
|
2018
2104
|
Relationships: [
|
|
2019
2105
|
{
|
|
2020
|
-
foreignKeyName:
|
|
2021
|
-
columns: [
|
|
2106
|
+
foreignKeyName: 'fk_notes_created_by';
|
|
2107
|
+
columns: ['created_by'];
|
|
2022
2108
|
isOneToOne: false;
|
|
2023
|
-
referencedRelation:
|
|
2024
|
-
referencedColumns: [
|
|
2109
|
+
referencedRelation: 'users';
|
|
2110
|
+
referencedColumns: ['id'];
|
|
2025
2111
|
},
|
|
2026
2112
|
{
|
|
2027
|
-
foreignKeyName:
|
|
2028
|
-
columns: [
|
|
2113
|
+
foreignKeyName: 'fk_notes_milestone';
|
|
2114
|
+
columns: ['milestone_id'];
|
|
2029
2115
|
isOneToOne: false;
|
|
2030
|
-
referencedRelation:
|
|
2031
|
-
referencedColumns: [
|
|
2116
|
+
referencedRelation: 'prj_milestones';
|
|
2117
|
+
referencedColumns: ['id'];
|
|
2032
2118
|
},
|
|
2033
2119
|
{
|
|
2034
|
-
foreignKeyName:
|
|
2035
|
-
columns: [
|
|
2120
|
+
foreignKeyName: 'fk_notes_project';
|
|
2121
|
+
columns: ['project_id'];
|
|
2036
2122
|
isOneToOne: false;
|
|
2037
|
-
referencedRelation:
|
|
2038
|
-
referencedColumns: [
|
|
2123
|
+
referencedRelation: 'prj_projects';
|
|
2124
|
+
referencedColumns: ['id'];
|
|
2039
2125
|
},
|
|
2040
2126
|
{
|
|
2041
|
-
foreignKeyName:
|
|
2042
|
-
columns: [
|
|
2127
|
+
foreignKeyName: 'fk_notes_task';
|
|
2128
|
+
columns: ['task_id'];
|
|
2043
2129
|
isOneToOne: false;
|
|
2044
|
-
referencedRelation:
|
|
2045
|
-
referencedColumns: [
|
|
2130
|
+
referencedRelation: 'prj_tasks';
|
|
2131
|
+
referencedColumns: ['id'];
|
|
2046
2132
|
},
|
|
2047
2133
|
{
|
|
2048
|
-
foreignKeyName:
|
|
2049
|
-
columns: [
|
|
2134
|
+
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
2135
|
+
columns: ['created_by'];
|
|
2050
2136
|
isOneToOne: false;
|
|
2051
|
-
referencedRelation:
|
|
2052
|
-
referencedColumns: [
|
|
2137
|
+
referencedRelation: 'users';
|
|
2138
|
+
referencedColumns: ['id'];
|
|
2053
2139
|
},
|
|
2054
2140
|
{
|
|
2055
|
-
foreignKeyName:
|
|
2056
|
-
columns: [
|
|
2141
|
+
foreignKeyName: 'prj_notes_milestone_id_fkey';
|
|
2142
|
+
columns: ['milestone_id'];
|
|
2057
2143
|
isOneToOne: false;
|
|
2058
|
-
referencedRelation:
|
|
2059
|
-
referencedColumns: [
|
|
2144
|
+
referencedRelation: 'prj_milestones';
|
|
2145
|
+
referencedColumns: ['id'];
|
|
2060
2146
|
},
|
|
2061
2147
|
{
|
|
2062
|
-
foreignKeyName:
|
|
2063
|
-
columns: [
|
|
2148
|
+
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
2149
|
+
columns: ['organization_id'];
|
|
2064
2150
|
isOneToOne: false;
|
|
2065
|
-
referencedRelation:
|
|
2066
|
-
referencedColumns: [
|
|
2151
|
+
referencedRelation: 'organizations';
|
|
2152
|
+
referencedColumns: ['id'];
|
|
2067
2153
|
},
|
|
2068
2154
|
{
|
|
2069
|
-
foreignKeyName:
|
|
2070
|
-
columns: [
|
|
2155
|
+
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
2156
|
+
columns: ['project_id'];
|
|
2071
2157
|
isOneToOne: false;
|
|
2072
|
-
referencedRelation:
|
|
2073
|
-
referencedColumns: [
|
|
2158
|
+
referencedRelation: 'prj_projects';
|
|
2159
|
+
referencedColumns: ['id'];
|
|
2074
2160
|
},
|
|
2075
2161
|
{
|
|
2076
|
-
foreignKeyName:
|
|
2077
|
-
columns: [
|
|
2162
|
+
foreignKeyName: 'prj_notes_task_id_fkey';
|
|
2163
|
+
columns: ['task_id'];
|
|
2078
2164
|
isOneToOne: false;
|
|
2079
|
-
referencedRelation:
|
|
2080
|
-
referencedColumns: [
|
|
2165
|
+
referencedRelation: 'prj_tasks';
|
|
2166
|
+
referencedColumns: ['id'];
|
|
2081
2167
|
}
|
|
2082
2168
|
];
|
|
2083
2169
|
};
|
|
@@ -2135,39 +2221,39 @@ type Database = {
|
|
|
2135
2221
|
};
|
|
2136
2222
|
Relationships: [
|
|
2137
2223
|
{
|
|
2138
|
-
foreignKeyName:
|
|
2139
|
-
columns: [
|
|
2224
|
+
foreignKeyName: 'fk_projects_company';
|
|
2225
|
+
columns: ['client_company_id'];
|
|
2140
2226
|
isOneToOne: false;
|
|
2141
|
-
referencedRelation:
|
|
2142
|
-
referencedColumns: [
|
|
2227
|
+
referencedRelation: 'acq_companies';
|
|
2228
|
+
referencedColumns: ['id'];
|
|
2143
2229
|
},
|
|
2144
2230
|
{
|
|
2145
|
-
foreignKeyName:
|
|
2146
|
-
columns: [
|
|
2231
|
+
foreignKeyName: 'fk_projects_deal';
|
|
2232
|
+
columns: ['deal_id'];
|
|
2147
2233
|
isOneToOne: false;
|
|
2148
|
-
referencedRelation:
|
|
2149
|
-
referencedColumns: [
|
|
2234
|
+
referencedRelation: 'acq_deals';
|
|
2235
|
+
referencedColumns: ['id'];
|
|
2150
2236
|
},
|
|
2151
2237
|
{
|
|
2152
|
-
foreignKeyName:
|
|
2153
|
-
columns: [
|
|
2238
|
+
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
2239
|
+
columns: ['client_company_id'];
|
|
2154
2240
|
isOneToOne: false;
|
|
2155
|
-
referencedRelation:
|
|
2156
|
-
referencedColumns: [
|
|
2241
|
+
referencedRelation: 'acq_companies';
|
|
2242
|
+
referencedColumns: ['id'];
|
|
2157
2243
|
},
|
|
2158
2244
|
{
|
|
2159
|
-
foreignKeyName:
|
|
2160
|
-
columns: [
|
|
2245
|
+
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
2246
|
+
columns: ['deal_id'];
|
|
2161
2247
|
isOneToOne: false;
|
|
2162
|
-
referencedRelation:
|
|
2163
|
-
referencedColumns: [
|
|
2248
|
+
referencedRelation: 'acq_deals';
|
|
2249
|
+
referencedColumns: ['id'];
|
|
2164
2250
|
},
|
|
2165
2251
|
{
|
|
2166
|
-
foreignKeyName:
|
|
2167
|
-
columns: [
|
|
2252
|
+
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
2253
|
+
columns: ['organization_id'];
|
|
2168
2254
|
isOneToOne: false;
|
|
2169
|
-
referencedRelation:
|
|
2170
|
-
referencedColumns: [
|
|
2255
|
+
referencedRelation: 'organizations';
|
|
2256
|
+
referencedColumns: ['id'];
|
|
2171
2257
|
}
|
|
2172
2258
|
];
|
|
2173
2259
|
};
|
|
@@ -2231,53 +2317,53 @@ type Database = {
|
|
|
2231
2317
|
};
|
|
2232
2318
|
Relationships: [
|
|
2233
2319
|
{
|
|
2234
|
-
foreignKeyName:
|
|
2235
|
-
columns: [
|
|
2320
|
+
foreignKeyName: 'fk_tasks_milestone';
|
|
2321
|
+
columns: ['milestone_id'];
|
|
2236
2322
|
isOneToOne: false;
|
|
2237
|
-
referencedRelation:
|
|
2238
|
-
referencedColumns: [
|
|
2323
|
+
referencedRelation: 'prj_milestones';
|
|
2324
|
+
referencedColumns: ['id'];
|
|
2239
2325
|
},
|
|
2240
2326
|
{
|
|
2241
|
-
foreignKeyName:
|
|
2242
|
-
columns: [
|
|
2327
|
+
foreignKeyName: 'fk_tasks_parent';
|
|
2328
|
+
columns: ['parent_task_id'];
|
|
2243
2329
|
isOneToOne: false;
|
|
2244
|
-
referencedRelation:
|
|
2245
|
-
referencedColumns: [
|
|
2330
|
+
referencedRelation: 'prj_tasks';
|
|
2331
|
+
referencedColumns: ['id'];
|
|
2246
2332
|
},
|
|
2247
2333
|
{
|
|
2248
|
-
foreignKeyName:
|
|
2249
|
-
columns: [
|
|
2334
|
+
foreignKeyName: 'fk_tasks_project';
|
|
2335
|
+
columns: ['project_id'];
|
|
2250
2336
|
isOneToOne: false;
|
|
2251
|
-
referencedRelation:
|
|
2252
|
-
referencedColumns: [
|
|
2337
|
+
referencedRelation: 'prj_projects';
|
|
2338
|
+
referencedColumns: ['id'];
|
|
2253
2339
|
},
|
|
2254
2340
|
{
|
|
2255
|
-
foreignKeyName:
|
|
2256
|
-
columns: [
|
|
2341
|
+
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
2342
|
+
columns: ['milestone_id'];
|
|
2257
2343
|
isOneToOne: false;
|
|
2258
|
-
referencedRelation:
|
|
2259
|
-
referencedColumns: [
|
|
2344
|
+
referencedRelation: 'prj_milestones';
|
|
2345
|
+
referencedColumns: ['id'];
|
|
2260
2346
|
},
|
|
2261
2347
|
{
|
|
2262
|
-
foreignKeyName:
|
|
2263
|
-
columns: [
|
|
2348
|
+
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
2349
|
+
columns: ['organization_id'];
|
|
2264
2350
|
isOneToOne: false;
|
|
2265
|
-
referencedRelation:
|
|
2266
|
-
referencedColumns: [
|
|
2351
|
+
referencedRelation: 'organizations';
|
|
2352
|
+
referencedColumns: ['id'];
|
|
2267
2353
|
},
|
|
2268
2354
|
{
|
|
2269
|
-
foreignKeyName:
|
|
2270
|
-
columns: [
|
|
2355
|
+
foreignKeyName: 'prj_tasks_parent_task_id_fkey';
|
|
2356
|
+
columns: ['parent_task_id'];
|
|
2271
2357
|
isOneToOne: false;
|
|
2272
|
-
referencedRelation:
|
|
2273
|
-
referencedColumns: [
|
|
2358
|
+
referencedRelation: 'prj_tasks';
|
|
2359
|
+
referencedColumns: ['id'];
|
|
2274
2360
|
},
|
|
2275
2361
|
{
|
|
2276
|
-
foreignKeyName:
|
|
2277
|
-
columns: [
|
|
2362
|
+
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
2363
|
+
columns: ['project_id'];
|
|
2278
2364
|
isOneToOne: false;
|
|
2279
|
-
referencedRelation:
|
|
2280
|
-
referencedColumns: [
|
|
2365
|
+
referencedRelation: 'prj_projects';
|
|
2366
|
+
referencedColumns: ['id'];
|
|
2281
2367
|
}
|
|
2282
2368
|
];
|
|
2283
2369
|
};
|
|
@@ -2347,25 +2433,25 @@ type Database = {
|
|
|
2347
2433
|
};
|
|
2348
2434
|
Relationships: [
|
|
2349
2435
|
{
|
|
2350
|
-
foreignKeyName:
|
|
2351
|
-
columns: [
|
|
2436
|
+
foreignKeyName: 'reported_requests_organization_id_fkey';
|
|
2437
|
+
columns: ['organization_id'];
|
|
2352
2438
|
isOneToOne: false;
|
|
2353
|
-
referencedRelation:
|
|
2354
|
-
referencedColumns: [
|
|
2439
|
+
referencedRelation: 'organizations';
|
|
2440
|
+
referencedColumns: ['id'];
|
|
2355
2441
|
},
|
|
2356
2442
|
{
|
|
2357
|
-
foreignKeyName:
|
|
2358
|
-
columns: [
|
|
2443
|
+
foreignKeyName: 'reported_requests_project_id_fkey';
|
|
2444
|
+
columns: ['project_id'];
|
|
2359
2445
|
isOneToOne: false;
|
|
2360
|
-
referencedRelation:
|
|
2361
|
-
referencedColumns: [
|
|
2446
|
+
referencedRelation: 'prj_projects';
|
|
2447
|
+
referencedColumns: ['id'];
|
|
2362
2448
|
},
|
|
2363
2449
|
{
|
|
2364
|
-
foreignKeyName:
|
|
2365
|
-
columns: [
|
|
2450
|
+
foreignKeyName: 'reported_requests_task_id_fkey';
|
|
2451
|
+
columns: ['task_id'];
|
|
2366
2452
|
isOneToOne: false;
|
|
2367
|
-
referencedRelation:
|
|
2368
|
-
referencedColumns: [
|
|
2453
|
+
referencedRelation: 'prj_tasks';
|
|
2454
|
+
referencedColumns: ['id'];
|
|
2369
2455
|
}
|
|
2370
2456
|
];
|
|
2371
2457
|
};
|
|
@@ -2405,11 +2491,11 @@ type Database = {
|
|
|
2405
2491
|
};
|
|
2406
2492
|
Relationships: [
|
|
2407
2493
|
{
|
|
2408
|
-
foreignKeyName:
|
|
2409
|
-
columns: [
|
|
2494
|
+
foreignKeyName: 'session_messages_session_id_fkey';
|
|
2495
|
+
columns: ['session_id'];
|
|
2410
2496
|
isOneToOne: false;
|
|
2411
|
-
referencedRelation:
|
|
2412
|
-
referencedColumns: [
|
|
2497
|
+
referencedRelation: 'sessions';
|
|
2498
|
+
referencedColumns: ['session_id'];
|
|
2413
2499
|
}
|
|
2414
2500
|
];
|
|
2415
2501
|
};
|
|
@@ -2464,18 +2550,18 @@ type Database = {
|
|
|
2464
2550
|
};
|
|
2465
2551
|
Relationships: [
|
|
2466
2552
|
{
|
|
2467
|
-
foreignKeyName:
|
|
2468
|
-
columns: [
|
|
2553
|
+
foreignKeyName: 'fk_organization';
|
|
2554
|
+
columns: ['organization_id'];
|
|
2469
2555
|
isOneToOne: false;
|
|
2470
|
-
referencedRelation:
|
|
2471
|
-
referencedColumns: [
|
|
2556
|
+
referencedRelation: 'organizations';
|
|
2557
|
+
referencedColumns: ['id'];
|
|
2472
2558
|
},
|
|
2473
2559
|
{
|
|
2474
|
-
foreignKeyName:
|
|
2475
|
-
columns: [
|
|
2560
|
+
foreignKeyName: 'fk_user';
|
|
2561
|
+
columns: ['user_id'];
|
|
2476
2562
|
isOneToOne: false;
|
|
2477
|
-
referencedRelation:
|
|
2478
|
-
referencedColumns: [
|
|
2563
|
+
referencedRelation: 'users';
|
|
2564
|
+
referencedColumns: ['id'];
|
|
2479
2565
|
}
|
|
2480
2566
|
];
|
|
2481
2567
|
};
|
|
@@ -2551,11 +2637,11 @@ type Database = {
|
|
|
2551
2637
|
};
|
|
2552
2638
|
Relationships: [
|
|
2553
2639
|
{
|
|
2554
|
-
foreignKeyName:
|
|
2555
|
-
columns: [
|
|
2640
|
+
foreignKeyName: 'task_schedules_organization_id_fkey';
|
|
2641
|
+
columns: ['organization_id'];
|
|
2556
2642
|
isOneToOne: false;
|
|
2557
|
-
referencedRelation:
|
|
2558
|
-
referencedColumns: [
|
|
2643
|
+
referencedRelation: 'organizations';
|
|
2644
|
+
referencedColumns: ['id'];
|
|
2559
2645
|
}
|
|
2560
2646
|
];
|
|
2561
2647
|
};
|
|
@@ -2610,11 +2696,11 @@ type Database = {
|
|
|
2610
2696
|
};
|
|
2611
2697
|
Relationships: [
|
|
2612
2698
|
{
|
|
2613
|
-
foreignKeyName:
|
|
2614
|
-
columns: [
|
|
2699
|
+
foreignKeyName: 'user_profiles_last_visited_org_fkey';
|
|
2700
|
+
columns: ['last_visited_org'];
|
|
2615
2701
|
isOneToOne: false;
|
|
2616
|
-
referencedRelation:
|
|
2617
|
-
referencedColumns: [
|
|
2702
|
+
referencedRelation: 'organizations';
|
|
2703
|
+
referencedColumns: ['id'];
|
|
2618
2704
|
}
|
|
2619
2705
|
];
|
|
2620
2706
|
};
|
|
@@ -2663,11 +2749,11 @@ type Database = {
|
|
|
2663
2749
|
};
|
|
2664
2750
|
Relationships: [
|
|
2665
2751
|
{
|
|
2666
|
-
foreignKeyName:
|
|
2667
|
-
columns: [
|
|
2752
|
+
foreignKeyName: 'webhook_endpoints_organization_id_fkey';
|
|
2753
|
+
columns: ['organization_id'];
|
|
2668
2754
|
isOneToOne: false;
|
|
2669
|
-
referencedRelation:
|
|
2670
|
-
referencedColumns: [
|
|
2755
|
+
referencedRelation: 'organizations';
|
|
2756
|
+
referencedColumns: ['id'];
|
|
2671
2757
|
}
|
|
2672
2758
|
];
|
|
2673
2759
|
};
|