@elevasis/ui 2.22.0 → 2.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-GJ7EIABJ.js → chunk-4NWNS7TX.js} +1 -1
- package/dist/{chunk-LKVBEE63.js → chunk-FUEXGRFR.js} +2 -2
- package/dist/{chunk-6IA2OMAE.js → chunk-HC2KV6BU.js} +9 -0
- package/dist/{chunk-IBUYJXA3.js → chunk-KCJ6VATY.js} +1133 -578
- package/dist/{chunk-WWJ6S2HQ.js → chunk-KLFIJDTD.js} +1 -1
- package/dist/{chunk-COG4ABRI.js → chunk-M2HWJY6O.js} +704 -375
- package/dist/{chunk-LVJGPE6H.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-B4FHWKEF.js → chunk-QULLZ5PE.js} +193 -10
- package/dist/{chunk-QZJM3RYI.js → chunk-SNHGSCKH.js} +1 -1
- package/dist/{chunk-LVUCBY7X.js → chunk-UDJE54WN.js} +85 -3
- package/dist/{chunk-IOTLB6ND.js → chunk-VGNAV3TH.js} +406 -195
- package/dist/{chunk-BSZRKBAW.js → chunk-YBZT7MJR.js} +3 -3
- package/dist/{chunk-SQ5JGELM.js → chunk-ZDKQNQ4X.js} +19 -1
- package/dist/components/index.d.ts +500 -466
- package/dist/components/index.js +75 -32
- package/dist/components/navigation/index.js +2 -2
- package/dist/features/auth/index.d.ts +472 -389
- package/dist/features/crm/index.d.ts +468 -391
- package/dist/features/crm/index.js +8 -8
- package/dist/features/dashboard/index.js +8 -8
- package/dist/features/delivery/index.d.ts +466 -383
- 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 +472 -389
- package/dist/features/settings/index.js +9 -9
- package/dist/hooks/delivery/index.d.ts +466 -383
- package/dist/hooks/index.d.ts +967 -744
- package/dist/hooks/index.js +7 -7
- package/dist/hooks/published.d.ts +967 -744
- package/dist/hooks/published.js +7 -7
- package/dist/index.d.ts +1360 -1069
- package/dist/index.js +8 -8
- package/dist/initialization/index.d.ts +472 -389
- package/dist/organization/index.d.ts +11 -1
- package/dist/organization/index.js +2 -2
- package/dist/profile/index.d.ts +472 -389
- 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 +577 -413
- 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 +472 -389
- package/package.json +2 -2
- package/src/test-utils/README.md +2 -0
- /package/dist/{chunk-ZBCTB5CA.js → chunk-EIOJNUPL.js} +0 -0
|
@@ -54,10 +54,57 @@ type Json = string | number | boolean | null | {
|
|
|
54
54
|
} | Json[];
|
|
55
55
|
type Database = {
|
|
56
56
|
__InternalSupabase: {
|
|
57
|
-
PostgrestVersion:
|
|
57
|
+
PostgrestVersion: '12.2.3 (519615d)';
|
|
58
58
|
};
|
|
59
59
|
public: {
|
|
60
60
|
Tables: {
|
|
61
|
+
acq_artifacts: {
|
|
62
|
+
Row: {
|
|
63
|
+
content: Json;
|
|
64
|
+
created_at: string;
|
|
65
|
+
created_by: string | null;
|
|
66
|
+
id: string;
|
|
67
|
+
kind: string;
|
|
68
|
+
organization_id: string;
|
|
69
|
+
owner_id: string;
|
|
70
|
+
owner_kind: string;
|
|
71
|
+
source_execution_id: string | null;
|
|
72
|
+
version: number;
|
|
73
|
+
};
|
|
74
|
+
Insert: {
|
|
75
|
+
content: Json;
|
|
76
|
+
created_at?: string;
|
|
77
|
+
created_by?: string | null;
|
|
78
|
+
id?: string;
|
|
79
|
+
kind: string;
|
|
80
|
+
organization_id: string;
|
|
81
|
+
owner_id: string;
|
|
82
|
+
owner_kind: string;
|
|
83
|
+
source_execution_id?: string | null;
|
|
84
|
+
version?: number;
|
|
85
|
+
};
|
|
86
|
+
Update: {
|
|
87
|
+
content?: Json;
|
|
88
|
+
created_at?: string;
|
|
89
|
+
created_by?: string | null;
|
|
90
|
+
id?: string;
|
|
91
|
+
kind?: string;
|
|
92
|
+
organization_id?: string;
|
|
93
|
+
owner_id?: string;
|
|
94
|
+
owner_kind?: string;
|
|
95
|
+
source_execution_id?: string | null;
|
|
96
|
+
version?: number;
|
|
97
|
+
};
|
|
98
|
+
Relationships: [
|
|
99
|
+
{
|
|
100
|
+
foreignKeyName: 'acq_artifacts_organization_id_fkey';
|
|
101
|
+
columns: ['organization_id'];
|
|
102
|
+
isOneToOne: false;
|
|
103
|
+
referencedRelation: 'organizations';
|
|
104
|
+
referencedColumns: ['id'];
|
|
105
|
+
}
|
|
106
|
+
];
|
|
107
|
+
};
|
|
61
108
|
acq_companies: {
|
|
62
109
|
Row: {
|
|
63
110
|
batch_id: string | null;
|
|
@@ -76,6 +123,9 @@ type Database = {
|
|
|
76
123
|
num_employees: number | null;
|
|
77
124
|
organization_id: string;
|
|
78
125
|
pipeline_status: Json;
|
|
126
|
+
qualification_rubric_key: string | null;
|
|
127
|
+
qualification_score: number | null;
|
|
128
|
+
qualification_signals: Json | null;
|
|
79
129
|
segment: string | null;
|
|
80
130
|
source: string | null;
|
|
81
131
|
status: string;
|
|
@@ -99,6 +149,9 @@ type Database = {
|
|
|
99
149
|
num_employees?: number | null;
|
|
100
150
|
organization_id: string;
|
|
101
151
|
pipeline_status?: Json;
|
|
152
|
+
qualification_rubric_key?: string | null;
|
|
153
|
+
qualification_score?: number | null;
|
|
154
|
+
qualification_signals?: Json | null;
|
|
102
155
|
segment?: string | null;
|
|
103
156
|
source?: string | null;
|
|
104
157
|
status?: string;
|
|
@@ -122,6 +175,9 @@ type Database = {
|
|
|
122
175
|
num_employees?: number | null;
|
|
123
176
|
organization_id?: string;
|
|
124
177
|
pipeline_status?: Json;
|
|
178
|
+
qualification_rubric_key?: string | null;
|
|
179
|
+
qualification_score?: number | null;
|
|
180
|
+
qualification_signals?: Json | null;
|
|
125
181
|
segment?: string | null;
|
|
126
182
|
source?: string | null;
|
|
127
183
|
status?: string;
|
|
@@ -130,11 +186,11 @@ type Database = {
|
|
|
130
186
|
};
|
|
131
187
|
Relationships: [
|
|
132
188
|
{
|
|
133
|
-
foreignKeyName:
|
|
134
|
-
columns: [
|
|
189
|
+
foreignKeyName: 'acq_companies_organization_id_fkey';
|
|
190
|
+
columns: ['organization_id'];
|
|
135
191
|
isOneToOne: false;
|
|
136
|
-
referencedRelation:
|
|
137
|
-
referencedColumns: [
|
|
192
|
+
referencedRelation: 'organizations';
|
|
193
|
+
referencedColumns: ['id'];
|
|
138
194
|
}
|
|
139
195
|
];
|
|
140
196
|
};
|
|
@@ -158,6 +214,9 @@ type Database = {
|
|
|
158
214
|
opening_line: string | null;
|
|
159
215
|
organization_id: string;
|
|
160
216
|
pipeline_status: Json;
|
|
217
|
+
qualification_rubric_key: string | null;
|
|
218
|
+
qualification_score: number | null;
|
|
219
|
+
qualification_signals: Json | null;
|
|
161
220
|
source: string | null;
|
|
162
221
|
source_id: string | null;
|
|
163
222
|
status: string;
|
|
@@ -183,6 +242,9 @@ type Database = {
|
|
|
183
242
|
opening_line?: string | null;
|
|
184
243
|
organization_id: string;
|
|
185
244
|
pipeline_status?: Json;
|
|
245
|
+
qualification_rubric_key?: string | null;
|
|
246
|
+
qualification_score?: number | null;
|
|
247
|
+
qualification_signals?: Json | null;
|
|
186
248
|
source?: string | null;
|
|
187
249
|
source_id?: string | null;
|
|
188
250
|
status?: string;
|
|
@@ -208,6 +270,9 @@ type Database = {
|
|
|
208
270
|
opening_line?: string | null;
|
|
209
271
|
organization_id?: string;
|
|
210
272
|
pipeline_status?: Json;
|
|
273
|
+
qualification_rubric_key?: string | null;
|
|
274
|
+
qualification_score?: number | null;
|
|
275
|
+
qualification_signals?: Json | null;
|
|
211
276
|
source?: string | null;
|
|
212
277
|
source_id?: string | null;
|
|
213
278
|
status?: string;
|
|
@@ -216,18 +281,18 @@ type Database = {
|
|
|
216
281
|
};
|
|
217
282
|
Relationships: [
|
|
218
283
|
{
|
|
219
|
-
foreignKeyName:
|
|
220
|
-
columns: [
|
|
284
|
+
foreignKeyName: 'acq_contacts_company_id_fkey';
|
|
285
|
+
columns: ['company_id'];
|
|
221
286
|
isOneToOne: false;
|
|
222
|
-
referencedRelation:
|
|
223
|
-
referencedColumns: [
|
|
287
|
+
referencedRelation: 'acq_companies';
|
|
288
|
+
referencedColumns: ['id'];
|
|
224
289
|
},
|
|
225
290
|
{
|
|
226
|
-
foreignKeyName:
|
|
227
|
-
columns: [
|
|
291
|
+
foreignKeyName: 'acq_contacts_organization_id_fkey';
|
|
292
|
+
columns: ['organization_id'];
|
|
228
293
|
isOneToOne: false;
|
|
229
|
-
referencedRelation:
|
|
230
|
-
referencedColumns: [
|
|
294
|
+
referencedRelation: 'organizations';
|
|
295
|
+
referencedColumns: ['id'];
|
|
231
296
|
}
|
|
232
297
|
];
|
|
233
298
|
};
|
|
@@ -264,11 +329,11 @@ type Database = {
|
|
|
264
329
|
};
|
|
265
330
|
Relationships: [
|
|
266
331
|
{
|
|
267
|
-
foreignKeyName:
|
|
268
|
-
columns: [
|
|
332
|
+
foreignKeyName: 'acq_content_organization_id_fkey';
|
|
333
|
+
columns: ['organization_id'];
|
|
269
334
|
isOneToOne: false;
|
|
270
|
-
referencedRelation:
|
|
271
|
-
referencedColumns: [
|
|
335
|
+
referencedRelation: 'organizations';
|
|
336
|
+
referencedColumns: ['id'];
|
|
272
337
|
}
|
|
273
338
|
];
|
|
274
339
|
};
|
|
@@ -332,18 +397,18 @@ type Database = {
|
|
|
332
397
|
};
|
|
333
398
|
Relationships: [
|
|
334
399
|
{
|
|
335
|
-
foreignKeyName:
|
|
336
|
-
columns: [
|
|
400
|
+
foreignKeyName: 'acq_content_distributions_content_id_fkey';
|
|
401
|
+
columns: ['content_id'];
|
|
337
402
|
isOneToOne: false;
|
|
338
|
-
referencedRelation:
|
|
339
|
-
referencedColumns: [
|
|
403
|
+
referencedRelation: 'acq_content';
|
|
404
|
+
referencedColumns: ['id'];
|
|
340
405
|
},
|
|
341
406
|
{
|
|
342
|
-
foreignKeyName:
|
|
343
|
-
columns: [
|
|
407
|
+
foreignKeyName: 'acq_content_distributions_organization_id_fkey';
|
|
408
|
+
columns: ['organization_id'];
|
|
344
409
|
isOneToOne: false;
|
|
345
|
-
referencedRelation:
|
|
346
|
-
referencedColumns: [
|
|
410
|
+
referencedRelation: 'organizations';
|
|
411
|
+
referencedColumns: ['id'];
|
|
347
412
|
}
|
|
348
413
|
];
|
|
349
414
|
};
|
|
@@ -377,18 +442,18 @@ type Database = {
|
|
|
377
442
|
};
|
|
378
443
|
Relationships: [
|
|
379
444
|
{
|
|
380
|
-
foreignKeyName:
|
|
381
|
-
columns: [
|
|
445
|
+
foreignKeyName: 'acq_deal_notes_deal_id_fkey';
|
|
446
|
+
columns: ['deal_id'];
|
|
382
447
|
isOneToOne: false;
|
|
383
|
-
referencedRelation:
|
|
384
|
-
referencedColumns: [
|
|
448
|
+
referencedRelation: 'acq_deals';
|
|
449
|
+
referencedColumns: ['id'];
|
|
385
450
|
},
|
|
386
451
|
{
|
|
387
|
-
foreignKeyName:
|
|
388
|
-
columns: [
|
|
452
|
+
foreignKeyName: 'acq_deal_notes_organization_id_fkey';
|
|
453
|
+
columns: ['organization_id'];
|
|
389
454
|
isOneToOne: false;
|
|
390
|
-
referencedRelation:
|
|
391
|
-
referencedColumns: [
|
|
455
|
+
referencedRelation: 'organizations';
|
|
456
|
+
referencedColumns: ['id'];
|
|
392
457
|
}
|
|
393
458
|
];
|
|
394
459
|
};
|
|
@@ -440,25 +505,24 @@ type Database = {
|
|
|
440
505
|
};
|
|
441
506
|
Relationships: [
|
|
442
507
|
{
|
|
443
|
-
foreignKeyName:
|
|
444
|
-
columns: [
|
|
508
|
+
foreignKeyName: 'acq_deal_tasks_deal_id_fkey';
|
|
509
|
+
columns: ['deal_id'];
|
|
445
510
|
isOneToOne: false;
|
|
446
|
-
referencedRelation:
|
|
447
|
-
referencedColumns: [
|
|
511
|
+
referencedRelation: 'acq_deals';
|
|
512
|
+
referencedColumns: ['id'];
|
|
448
513
|
},
|
|
449
514
|
{
|
|
450
|
-
foreignKeyName:
|
|
451
|
-
columns: [
|
|
515
|
+
foreignKeyName: 'acq_deal_tasks_organization_id_fkey';
|
|
516
|
+
columns: ['organization_id'];
|
|
452
517
|
isOneToOne: false;
|
|
453
|
-
referencedRelation:
|
|
454
|
-
referencedColumns: [
|
|
518
|
+
referencedRelation: 'organizations';
|
|
519
|
+
referencedColumns: ['id'];
|
|
455
520
|
}
|
|
456
521
|
];
|
|
457
522
|
};
|
|
458
523
|
acq_deals: {
|
|
459
524
|
Row: {
|
|
460
525
|
activity_log: Json;
|
|
461
|
-
cached_stage: string | null;
|
|
462
526
|
closed_lost_at: string | null;
|
|
463
527
|
closed_lost_reason: string | null;
|
|
464
528
|
contact_email: string;
|
|
@@ -473,6 +537,7 @@ type Database = {
|
|
|
473
537
|
organization_id: string;
|
|
474
538
|
payment_link_sent_at: string | null;
|
|
475
539
|
payment_received_at: string | null;
|
|
540
|
+
pipeline_key: string;
|
|
476
541
|
proposal_data: Json | null;
|
|
477
542
|
proposal_generated_at: string | null;
|
|
478
543
|
proposal_pdf_url: string | null;
|
|
@@ -480,10 +545,11 @@ type Database = {
|
|
|
480
545
|
proposal_reviewed_by: string | null;
|
|
481
546
|
proposal_sent_at: string | null;
|
|
482
547
|
proposal_signed_at: string | null;
|
|
483
|
-
proposal_status: string | null;
|
|
484
548
|
signature_envelope_id: string | null;
|
|
485
549
|
source_list_id: string | null;
|
|
486
550
|
source_type: string | null;
|
|
551
|
+
stage_key: string | null;
|
|
552
|
+
state_key: string | null;
|
|
487
553
|
stripe_payment_id: string | null;
|
|
488
554
|
stripe_payment_link: string | null;
|
|
489
555
|
stripe_payment_link_id: string | null;
|
|
@@ -492,7 +558,6 @@ type Database = {
|
|
|
492
558
|
};
|
|
493
559
|
Insert: {
|
|
494
560
|
activity_log?: Json;
|
|
495
|
-
cached_stage?: string | null;
|
|
496
561
|
closed_lost_at?: string | null;
|
|
497
562
|
closed_lost_reason?: string | null;
|
|
498
563
|
contact_email: string;
|
|
@@ -507,6 +572,7 @@ type Database = {
|
|
|
507
572
|
organization_id: string;
|
|
508
573
|
payment_link_sent_at?: string | null;
|
|
509
574
|
payment_received_at?: string | null;
|
|
575
|
+
pipeline_key?: string;
|
|
510
576
|
proposal_data?: Json | null;
|
|
511
577
|
proposal_generated_at?: string | null;
|
|
512
578
|
proposal_pdf_url?: string | null;
|
|
@@ -514,10 +580,11 @@ type Database = {
|
|
|
514
580
|
proposal_reviewed_by?: string | null;
|
|
515
581
|
proposal_sent_at?: string | null;
|
|
516
582
|
proposal_signed_at?: string | null;
|
|
517
|
-
proposal_status?: string | null;
|
|
518
583
|
signature_envelope_id?: string | null;
|
|
519
584
|
source_list_id?: string | null;
|
|
520
585
|
source_type?: string | null;
|
|
586
|
+
stage_key?: string | null;
|
|
587
|
+
state_key?: string | null;
|
|
521
588
|
stripe_payment_id?: string | null;
|
|
522
589
|
stripe_payment_link?: string | null;
|
|
523
590
|
stripe_payment_link_id?: string | null;
|
|
@@ -526,7 +593,6 @@ type Database = {
|
|
|
526
593
|
};
|
|
527
594
|
Update: {
|
|
528
595
|
activity_log?: Json;
|
|
529
|
-
cached_stage?: string | null;
|
|
530
596
|
closed_lost_at?: string | null;
|
|
531
597
|
closed_lost_reason?: string | null;
|
|
532
598
|
contact_email?: string;
|
|
@@ -541,6 +607,7 @@ type Database = {
|
|
|
541
607
|
organization_id?: string;
|
|
542
608
|
payment_link_sent_at?: string | null;
|
|
543
609
|
payment_received_at?: string | null;
|
|
610
|
+
pipeline_key?: string;
|
|
544
611
|
proposal_data?: Json | null;
|
|
545
612
|
proposal_generated_at?: string | null;
|
|
546
613
|
proposal_pdf_url?: string | null;
|
|
@@ -548,10 +615,11 @@ type Database = {
|
|
|
548
615
|
proposal_reviewed_by?: string | null;
|
|
549
616
|
proposal_sent_at?: string | null;
|
|
550
617
|
proposal_signed_at?: string | null;
|
|
551
|
-
proposal_status?: string | null;
|
|
552
618
|
signature_envelope_id?: string | null;
|
|
553
619
|
source_list_id?: string | null;
|
|
554
620
|
source_type?: string | null;
|
|
621
|
+
stage_key?: string | null;
|
|
622
|
+
state_key?: string | null;
|
|
555
623
|
stripe_payment_id?: string | null;
|
|
556
624
|
stripe_payment_link?: string | null;
|
|
557
625
|
stripe_payment_link_id?: string | null;
|
|
@@ -560,86 +628,95 @@ type Database = {
|
|
|
560
628
|
};
|
|
561
629
|
Relationships: [
|
|
562
630
|
{
|
|
563
|
-
foreignKeyName:
|
|
564
|
-
columns: [
|
|
631
|
+
foreignKeyName: 'acq_deals_contact_id_fkey';
|
|
632
|
+
columns: ['contact_id'];
|
|
565
633
|
isOneToOne: false;
|
|
566
|
-
referencedRelation:
|
|
567
|
-
referencedColumns: [
|
|
634
|
+
referencedRelation: 'acq_contacts';
|
|
635
|
+
referencedColumns: ['id'];
|
|
568
636
|
},
|
|
569
637
|
{
|
|
570
|
-
foreignKeyName:
|
|
571
|
-
columns: [
|
|
638
|
+
foreignKeyName: 'acq_deals_organization_id_fkey';
|
|
639
|
+
columns: ['organization_id'];
|
|
572
640
|
isOneToOne: false;
|
|
573
|
-
referencedRelation:
|
|
574
|
-
referencedColumns: [
|
|
641
|
+
referencedRelation: 'organizations';
|
|
642
|
+
referencedColumns: ['id'];
|
|
575
643
|
},
|
|
576
644
|
{
|
|
577
|
-
foreignKeyName:
|
|
578
|
-
columns: [
|
|
645
|
+
foreignKeyName: 'acq_deals_source_list_id_fkey';
|
|
646
|
+
columns: ['source_list_id'];
|
|
579
647
|
isOneToOne: false;
|
|
580
|
-
referencedRelation:
|
|
581
|
-
referencedColumns: [
|
|
648
|
+
referencedRelation: 'acq_lists';
|
|
649
|
+
referencedColumns: ['id'];
|
|
582
650
|
}
|
|
583
651
|
];
|
|
584
652
|
};
|
|
585
653
|
acq_list_companies: {
|
|
586
654
|
Row: {
|
|
655
|
+
activity_log: Json;
|
|
587
656
|
added_at: string;
|
|
588
657
|
added_by: string | null;
|
|
589
658
|
company_id: string;
|
|
590
659
|
id: string;
|
|
591
660
|
list_id: string;
|
|
661
|
+
pipeline_key: string;
|
|
662
|
+
processing_state: Json;
|
|
592
663
|
source_execution_id: string | null;
|
|
593
664
|
source_input_hash: string | null;
|
|
594
665
|
source_resource_id: string | null;
|
|
595
|
-
|
|
596
|
-
|
|
666
|
+
stage_key: string;
|
|
667
|
+
state_key: string;
|
|
597
668
|
};
|
|
598
669
|
Insert: {
|
|
670
|
+
activity_log?: Json;
|
|
599
671
|
added_at?: string;
|
|
600
672
|
added_by?: string | null;
|
|
601
673
|
company_id: string;
|
|
602
674
|
id?: string;
|
|
603
675
|
list_id: string;
|
|
676
|
+
pipeline_key?: string;
|
|
677
|
+
processing_state?: Json;
|
|
604
678
|
source_execution_id?: string | null;
|
|
605
679
|
source_input_hash?: string | null;
|
|
606
680
|
source_resource_id?: string | null;
|
|
607
|
-
|
|
608
|
-
|
|
681
|
+
stage_key: string;
|
|
682
|
+
state_key: string;
|
|
609
683
|
};
|
|
610
684
|
Update: {
|
|
685
|
+
activity_log?: Json;
|
|
611
686
|
added_at?: string;
|
|
612
687
|
added_by?: string | null;
|
|
613
688
|
company_id?: string;
|
|
614
689
|
id?: string;
|
|
615
690
|
list_id?: string;
|
|
691
|
+
pipeline_key?: string;
|
|
692
|
+
processing_state?: Json;
|
|
616
693
|
source_execution_id?: string | null;
|
|
617
694
|
source_input_hash?: string | null;
|
|
618
695
|
source_resource_id?: string | null;
|
|
619
|
-
|
|
620
|
-
|
|
696
|
+
stage_key?: string;
|
|
697
|
+
state_key?: string;
|
|
621
698
|
};
|
|
622
699
|
Relationships: [
|
|
623
700
|
{
|
|
624
|
-
foreignKeyName:
|
|
625
|
-
columns: [
|
|
701
|
+
foreignKeyName: 'acq_list_companies_company_id_fkey';
|
|
702
|
+
columns: ['company_id'];
|
|
626
703
|
isOneToOne: false;
|
|
627
|
-
referencedRelation:
|
|
628
|
-
referencedColumns: [
|
|
704
|
+
referencedRelation: 'acq_companies';
|
|
705
|
+
referencedColumns: ['id'];
|
|
629
706
|
},
|
|
630
707
|
{
|
|
631
|
-
foreignKeyName:
|
|
632
|
-
columns: [
|
|
708
|
+
foreignKeyName: 'acq_list_companies_list_id_fkey';
|
|
709
|
+
columns: ['list_id'];
|
|
633
710
|
isOneToOne: false;
|
|
634
|
-
referencedRelation:
|
|
635
|
-
referencedColumns: [
|
|
711
|
+
referencedRelation: 'acq_lists';
|
|
712
|
+
referencedColumns: ['id'];
|
|
636
713
|
},
|
|
637
714
|
{
|
|
638
|
-
foreignKeyName:
|
|
639
|
-
columns: [
|
|
715
|
+
foreignKeyName: 'acq_list_companies_source_execution_id_fkey';
|
|
716
|
+
columns: ['source_execution_id'];
|
|
640
717
|
isOneToOne: false;
|
|
641
|
-
referencedRelation:
|
|
642
|
-
referencedColumns: [
|
|
718
|
+
referencedRelation: 'execution_logs';
|
|
719
|
+
referencedColumns: ['execution_id'];
|
|
643
720
|
}
|
|
644
721
|
];
|
|
645
722
|
};
|
|
@@ -667,79 +744,88 @@ type Database = {
|
|
|
667
744
|
};
|
|
668
745
|
Relationships: [
|
|
669
746
|
{
|
|
670
|
-
foreignKeyName:
|
|
671
|
-
columns: [
|
|
747
|
+
foreignKeyName: 'acq_list_executions_execution_id_fkey';
|
|
748
|
+
columns: ['execution_id'];
|
|
672
749
|
isOneToOne: false;
|
|
673
|
-
referencedRelation:
|
|
674
|
-
referencedColumns: [
|
|
750
|
+
referencedRelation: 'execution_logs';
|
|
751
|
+
referencedColumns: ['execution_id'];
|
|
675
752
|
},
|
|
676
753
|
{
|
|
677
|
-
foreignKeyName:
|
|
678
|
-
columns: [
|
|
754
|
+
foreignKeyName: 'acq_list_executions_list_id_fkey';
|
|
755
|
+
columns: ['list_id'];
|
|
679
756
|
isOneToOne: false;
|
|
680
|
-
referencedRelation:
|
|
681
|
-
referencedColumns: [
|
|
757
|
+
referencedRelation: 'acq_lists';
|
|
758
|
+
referencedColumns: ['id'];
|
|
682
759
|
}
|
|
683
760
|
];
|
|
684
761
|
};
|
|
685
762
|
acq_list_members: {
|
|
686
763
|
Row: {
|
|
764
|
+
activity_log: Json;
|
|
687
765
|
added_at: string;
|
|
688
766
|
added_by: string | null;
|
|
689
767
|
contact_id: string;
|
|
690
768
|
id: string;
|
|
691
769
|
list_id: string;
|
|
770
|
+
pipeline_key: string;
|
|
771
|
+
processing_state: Json;
|
|
692
772
|
source_execution_id: string | null;
|
|
693
773
|
source_input_hash: string | null;
|
|
694
774
|
source_resource_id: string | null;
|
|
695
|
-
|
|
696
|
-
|
|
775
|
+
stage_key: string;
|
|
776
|
+
state_key: string;
|
|
697
777
|
};
|
|
698
778
|
Insert: {
|
|
779
|
+
activity_log?: Json;
|
|
699
780
|
added_at?: string;
|
|
700
781
|
added_by?: string | null;
|
|
701
782
|
contact_id: string;
|
|
702
783
|
id?: string;
|
|
703
784
|
list_id: string;
|
|
785
|
+
pipeline_key?: string;
|
|
786
|
+
processing_state?: Json;
|
|
704
787
|
source_execution_id?: string | null;
|
|
705
788
|
source_input_hash?: string | null;
|
|
706
789
|
source_resource_id?: string | null;
|
|
707
|
-
|
|
708
|
-
|
|
790
|
+
stage_key: string;
|
|
791
|
+
state_key: string;
|
|
709
792
|
};
|
|
710
793
|
Update: {
|
|
794
|
+
activity_log?: Json;
|
|
711
795
|
added_at?: string;
|
|
712
796
|
added_by?: string | null;
|
|
713
797
|
contact_id?: string;
|
|
714
798
|
id?: string;
|
|
715
799
|
list_id?: string;
|
|
800
|
+
pipeline_key?: string;
|
|
801
|
+
processing_state?: Json;
|
|
716
802
|
source_execution_id?: string | null;
|
|
717
803
|
source_input_hash?: string | null;
|
|
718
804
|
source_resource_id?: string | null;
|
|
719
|
-
|
|
720
|
-
|
|
805
|
+
stage_key?: string;
|
|
806
|
+
state_key?: string;
|
|
721
807
|
};
|
|
722
808
|
Relationships: [
|
|
723
809
|
{
|
|
724
|
-
foreignKeyName:
|
|
725
|
-
columns: [
|
|
810
|
+
foreignKeyName: 'acq_list_members_contact_id_fkey';
|
|
811
|
+
columns: ['contact_id'];
|
|
726
812
|
isOneToOne: false;
|
|
727
|
-
referencedRelation:
|
|
728
|
-
referencedColumns: [
|
|
813
|
+
referencedRelation: 'acq_contacts';
|
|
814
|
+
referencedColumns: ['id'];
|
|
729
815
|
},
|
|
730
816
|
{
|
|
731
|
-
foreignKeyName:
|
|
732
|
-
columns: [
|
|
817
|
+
foreignKeyName: 'acq_list_members_list_id_fkey';
|
|
818
|
+
columns: ['list_id'];
|
|
733
819
|
isOneToOne: false;
|
|
734
|
-
referencedRelation:
|
|
735
|
-
referencedColumns: [
|
|
820
|
+
referencedRelation: 'acq_lists';
|
|
821
|
+
referencedColumns: ['id'];
|
|
736
822
|
},
|
|
737
823
|
{
|
|
738
|
-
foreignKeyName:
|
|
739
|
-
columns: [
|
|
824
|
+
foreignKeyName: 'acq_list_members_source_execution_id_fkey';
|
|
825
|
+
columns: ['source_execution_id'];
|
|
740
826
|
isOneToOne: false;
|
|
741
|
-
referencedRelation:
|
|
742
|
-
referencedColumns: [
|
|
827
|
+
referencedRelation: 'execution_logs';
|
|
828
|
+
referencedColumns: ['execution_id'];
|
|
743
829
|
}
|
|
744
830
|
];
|
|
745
831
|
};
|
|
@@ -747,55 +833,58 @@ type Database = {
|
|
|
747
833
|
Row: {
|
|
748
834
|
batch_ids: string[];
|
|
749
835
|
completed_at: string | null;
|
|
750
|
-
config: Json;
|
|
751
836
|
created_at: string;
|
|
752
837
|
description: string | null;
|
|
838
|
+
icp: Json;
|
|
753
839
|
id: string;
|
|
754
840
|
instantly_campaign_id: string | null;
|
|
755
841
|
launched_at: string | null;
|
|
756
842
|
metadata: Json;
|
|
757
843
|
name: string;
|
|
758
844
|
organization_id: string;
|
|
845
|
+
pipeline_config: Json;
|
|
846
|
+
scraping_config: Json;
|
|
759
847
|
status: string;
|
|
760
|
-
type: string;
|
|
761
848
|
};
|
|
762
849
|
Insert: {
|
|
763
850
|
batch_ids?: string[];
|
|
764
851
|
completed_at?: string | null;
|
|
765
|
-
config?: Json;
|
|
766
852
|
created_at?: string;
|
|
767
853
|
description?: string | null;
|
|
854
|
+
icp?: Json;
|
|
768
855
|
id?: string;
|
|
769
856
|
instantly_campaign_id?: string | null;
|
|
770
857
|
launched_at?: string | null;
|
|
771
858
|
metadata?: Json;
|
|
772
859
|
name: string;
|
|
773
860
|
organization_id: string;
|
|
861
|
+
pipeline_config?: Json;
|
|
862
|
+
scraping_config?: Json;
|
|
774
863
|
status?: string;
|
|
775
|
-
type?: string;
|
|
776
864
|
};
|
|
777
865
|
Update: {
|
|
778
866
|
batch_ids?: string[];
|
|
779
867
|
completed_at?: string | null;
|
|
780
|
-
config?: Json;
|
|
781
868
|
created_at?: string;
|
|
782
869
|
description?: string | null;
|
|
870
|
+
icp?: Json;
|
|
783
871
|
id?: string;
|
|
784
872
|
instantly_campaign_id?: string | null;
|
|
785
873
|
launched_at?: string | null;
|
|
786
874
|
metadata?: Json;
|
|
787
875
|
name?: string;
|
|
788
876
|
organization_id?: string;
|
|
877
|
+
pipeline_config?: Json;
|
|
878
|
+
scraping_config?: Json;
|
|
789
879
|
status?: string;
|
|
790
|
-
type?: string;
|
|
791
880
|
};
|
|
792
881
|
Relationships: [
|
|
793
882
|
{
|
|
794
|
-
foreignKeyName:
|
|
795
|
-
columns: [
|
|
883
|
+
foreignKeyName: 'acq_lists_organization_id_fkey';
|
|
884
|
+
columns: ['organization_id'];
|
|
796
885
|
isOneToOne: false;
|
|
797
|
-
referencedRelation:
|
|
798
|
-
referencedColumns: [
|
|
886
|
+
referencedRelation: 'organizations';
|
|
887
|
+
referencedColumns: ['id'];
|
|
799
888
|
}
|
|
800
889
|
];
|
|
801
890
|
};
|
|
@@ -871,18 +960,18 @@ type Database = {
|
|
|
871
960
|
};
|
|
872
961
|
Relationships: [
|
|
873
962
|
{
|
|
874
|
-
foreignKeyName:
|
|
875
|
-
columns: [
|
|
963
|
+
foreignKeyName: 'acq_seo_metrics_organization_id_fkey';
|
|
964
|
+
columns: ['organization_id'];
|
|
876
965
|
isOneToOne: false;
|
|
877
|
-
referencedRelation:
|
|
878
|
-
referencedColumns: [
|
|
966
|
+
referencedRelation: 'organizations';
|
|
967
|
+
referencedColumns: ['id'];
|
|
879
968
|
},
|
|
880
969
|
{
|
|
881
|
-
foreignKeyName:
|
|
882
|
-
columns: [
|
|
970
|
+
foreignKeyName: 'acq_seo_metrics_seo_page_id_fkey';
|
|
971
|
+
columns: ['seo_page_id'];
|
|
883
972
|
isOneToOne: false;
|
|
884
|
-
referencedRelation:
|
|
885
|
-
referencedColumns: [
|
|
973
|
+
referencedRelation: 'acq_seo_pages';
|
|
974
|
+
referencedColumns: ['id'];
|
|
886
975
|
}
|
|
887
976
|
];
|
|
888
977
|
};
|
|
@@ -958,11 +1047,11 @@ type Database = {
|
|
|
958
1047
|
};
|
|
959
1048
|
Relationships: [
|
|
960
1049
|
{
|
|
961
|
-
foreignKeyName:
|
|
962
|
-
columns: [
|
|
1050
|
+
foreignKeyName: 'acq_seo_pages_organization_id_fkey';
|
|
1051
|
+
columns: ['organization_id'];
|
|
963
1052
|
isOneToOne: false;
|
|
964
|
-
referencedRelation:
|
|
965
|
-
referencedColumns: [
|
|
1053
|
+
referencedRelation: 'organizations';
|
|
1054
|
+
referencedColumns: ['id'];
|
|
966
1055
|
}
|
|
967
1056
|
];
|
|
968
1057
|
};
|
|
@@ -1059,11 +1148,11 @@ type Database = {
|
|
|
1059
1148
|
};
|
|
1060
1149
|
Relationships: [
|
|
1061
1150
|
{
|
|
1062
|
-
foreignKeyName:
|
|
1063
|
-
columns: [
|
|
1151
|
+
foreignKeyName: 'acq_social_posts_organization_id_fkey';
|
|
1152
|
+
columns: ['organization_id'];
|
|
1064
1153
|
isOneToOne: false;
|
|
1065
|
-
referencedRelation:
|
|
1066
|
-
referencedColumns: [
|
|
1154
|
+
referencedRelation: 'organizations';
|
|
1155
|
+
referencedColumns: ['id'];
|
|
1067
1156
|
}
|
|
1068
1157
|
];
|
|
1069
1158
|
};
|
|
@@ -1118,11 +1207,11 @@ type Database = {
|
|
|
1118
1207
|
};
|
|
1119
1208
|
Relationships: [
|
|
1120
1209
|
{
|
|
1121
|
-
foreignKeyName:
|
|
1122
|
-
columns: [
|
|
1210
|
+
foreignKeyName: 'activities_organization_id_fkey';
|
|
1211
|
+
columns: ['organization_id'];
|
|
1123
1212
|
isOneToOne: false;
|
|
1124
|
-
referencedRelation:
|
|
1125
|
-
referencedColumns: [
|
|
1213
|
+
referencedRelation: 'organizations';
|
|
1214
|
+
referencedColumns: ['id'];
|
|
1126
1215
|
}
|
|
1127
1216
|
];
|
|
1128
1217
|
};
|
|
@@ -1153,11 +1242,11 @@ type Database = {
|
|
|
1153
1242
|
};
|
|
1154
1243
|
Relationships: [
|
|
1155
1244
|
{
|
|
1156
|
-
foreignKeyName:
|
|
1157
|
-
columns: [
|
|
1245
|
+
foreignKeyName: 'api_keys_organization_id_fkey';
|
|
1246
|
+
columns: ['organization_id'];
|
|
1158
1247
|
isOneToOne: false;
|
|
1159
|
-
referencedRelation:
|
|
1160
|
-
referencedColumns: [
|
|
1248
|
+
referencedRelation: 'organizations';
|
|
1249
|
+
referencedColumns: ['id'];
|
|
1161
1250
|
}
|
|
1162
1251
|
];
|
|
1163
1252
|
};
|
|
@@ -1236,25 +1325,25 @@ type Database = {
|
|
|
1236
1325
|
};
|
|
1237
1326
|
Relationships: [
|
|
1238
1327
|
{
|
|
1239
|
-
foreignKeyName:
|
|
1240
|
-
columns: [
|
|
1328
|
+
foreignKeyName: 'command_queue_completed_by_fkey';
|
|
1329
|
+
columns: ['completed_by'];
|
|
1241
1330
|
isOneToOne: false;
|
|
1242
|
-
referencedRelation:
|
|
1243
|
-
referencedColumns: [
|
|
1331
|
+
referencedRelation: 'users';
|
|
1332
|
+
referencedColumns: ['id'];
|
|
1244
1333
|
},
|
|
1245
1334
|
{
|
|
1246
|
-
foreignKeyName:
|
|
1247
|
-
columns: [
|
|
1335
|
+
foreignKeyName: 'command_queue_organization_id_fkey';
|
|
1336
|
+
columns: ['organization_id'];
|
|
1248
1337
|
isOneToOne: false;
|
|
1249
|
-
referencedRelation:
|
|
1250
|
-
referencedColumns: [
|
|
1338
|
+
referencedRelation: 'organizations';
|
|
1339
|
+
referencedColumns: ['id'];
|
|
1251
1340
|
},
|
|
1252
1341
|
{
|
|
1253
|
-
foreignKeyName:
|
|
1254
|
-
columns: [
|
|
1342
|
+
foreignKeyName: 'command_queue_target_execution_id_fkey';
|
|
1343
|
+
columns: ['target_execution_id'];
|
|
1255
1344
|
isOneToOne: false;
|
|
1256
|
-
referencedRelation:
|
|
1257
|
-
referencedColumns: [
|
|
1345
|
+
referencedRelation: 'execution_logs';
|
|
1346
|
+
referencedColumns: ['execution_id'];
|
|
1258
1347
|
}
|
|
1259
1348
|
];
|
|
1260
1349
|
};
|
|
@@ -1294,18 +1383,18 @@ type Database = {
|
|
|
1294
1383
|
};
|
|
1295
1384
|
Relationships: [
|
|
1296
1385
|
{
|
|
1297
|
-
foreignKeyName:
|
|
1298
|
-
columns: [
|
|
1386
|
+
foreignKeyName: 'credentials_created_by_fkey';
|
|
1387
|
+
columns: ['created_by'];
|
|
1299
1388
|
isOneToOne: false;
|
|
1300
|
-
referencedRelation:
|
|
1301
|
-
referencedColumns: [
|
|
1389
|
+
referencedRelation: 'users';
|
|
1390
|
+
referencedColumns: ['id'];
|
|
1302
1391
|
},
|
|
1303
1392
|
{
|
|
1304
|
-
foreignKeyName:
|
|
1305
|
-
columns: [
|
|
1393
|
+
foreignKeyName: 'credentials_organization_id_fkey';
|
|
1394
|
+
columns: ['organization_id'];
|
|
1306
1395
|
isOneToOne: false;
|
|
1307
|
-
referencedRelation:
|
|
1308
|
-
referencedColumns: [
|
|
1396
|
+
referencedRelation: 'organizations';
|
|
1397
|
+
referencedColumns: ['id'];
|
|
1309
1398
|
}
|
|
1310
1399
|
];
|
|
1311
1400
|
};
|
|
@@ -1351,11 +1440,11 @@ type Database = {
|
|
|
1351
1440
|
};
|
|
1352
1441
|
Relationships: [
|
|
1353
1442
|
{
|
|
1354
|
-
foreignKeyName:
|
|
1355
|
-
columns: [
|
|
1443
|
+
foreignKeyName: 'deployments_organization_id_fkey';
|
|
1444
|
+
columns: ['organization_id'];
|
|
1356
1445
|
isOneToOne: false;
|
|
1357
|
-
referencedRelation:
|
|
1358
|
-
referencedColumns: [
|
|
1446
|
+
referencedRelation: 'organizations';
|
|
1447
|
+
referencedColumns: ['id'];
|
|
1359
1448
|
}
|
|
1360
1449
|
];
|
|
1361
1450
|
};
|
|
@@ -1410,25 +1499,25 @@ type Database = {
|
|
|
1410
1499
|
};
|
|
1411
1500
|
Relationships: [
|
|
1412
1501
|
{
|
|
1413
|
-
foreignKeyName:
|
|
1414
|
-
columns: [
|
|
1502
|
+
foreignKeyName: 'execution_errors_execution_id_fkey';
|
|
1503
|
+
columns: ['execution_id'];
|
|
1415
1504
|
isOneToOne: false;
|
|
1416
|
-
referencedRelation:
|
|
1417
|
-
referencedColumns: [
|
|
1505
|
+
referencedRelation: 'execution_logs';
|
|
1506
|
+
referencedColumns: ['execution_id'];
|
|
1418
1507
|
},
|
|
1419
1508
|
{
|
|
1420
|
-
foreignKeyName:
|
|
1421
|
-
columns: [
|
|
1509
|
+
foreignKeyName: 'execution_errors_organization_id_fkey';
|
|
1510
|
+
columns: ['organization_id'];
|
|
1422
1511
|
isOneToOne: false;
|
|
1423
|
-
referencedRelation:
|
|
1424
|
-
referencedColumns: [
|
|
1512
|
+
referencedRelation: 'organizations';
|
|
1513
|
+
referencedColumns: ['id'];
|
|
1425
1514
|
},
|
|
1426
1515
|
{
|
|
1427
|
-
foreignKeyName:
|
|
1428
|
-
columns: [
|
|
1516
|
+
foreignKeyName: 'execution_errors_resolved_by_fkey';
|
|
1517
|
+
columns: ['resolved_by'];
|
|
1429
1518
|
isOneToOne: false;
|
|
1430
|
-
referencedRelation:
|
|
1431
|
-
referencedColumns: [
|
|
1519
|
+
referencedRelation: 'users';
|
|
1520
|
+
referencedColumns: ['id'];
|
|
1432
1521
|
}
|
|
1433
1522
|
];
|
|
1434
1523
|
};
|
|
@@ -1510,32 +1599,32 @@ type Database = {
|
|
|
1510
1599
|
};
|
|
1511
1600
|
Relationships: [
|
|
1512
1601
|
{
|
|
1513
|
-
foreignKeyName:
|
|
1514
|
-
columns: [
|
|
1602
|
+
foreignKeyName: 'execution_history_organization_id_fkey';
|
|
1603
|
+
columns: ['organization_id'];
|
|
1515
1604
|
isOneToOne: false;
|
|
1516
|
-
referencedRelation:
|
|
1517
|
-
referencedColumns: [
|
|
1605
|
+
referencedRelation: 'organizations';
|
|
1606
|
+
referencedColumns: ['id'];
|
|
1518
1607
|
},
|
|
1519
1608
|
{
|
|
1520
|
-
foreignKeyName:
|
|
1521
|
-
columns: [
|
|
1609
|
+
foreignKeyName: 'execution_logs_origin_execution_id_fkey';
|
|
1610
|
+
columns: ['origin_execution_id'];
|
|
1522
1611
|
isOneToOne: false;
|
|
1523
|
-
referencedRelation:
|
|
1524
|
-
referencedColumns: [
|
|
1612
|
+
referencedRelation: 'execution_logs';
|
|
1613
|
+
referencedColumns: ['execution_id'];
|
|
1525
1614
|
},
|
|
1526
1615
|
{
|
|
1527
|
-
foreignKeyName:
|
|
1528
|
-
columns: [
|
|
1616
|
+
foreignKeyName: 'execution_logs_session_id_fkey';
|
|
1617
|
+
columns: ['session_id'];
|
|
1529
1618
|
isOneToOne: false;
|
|
1530
|
-
referencedRelation:
|
|
1531
|
-
referencedColumns: [
|
|
1619
|
+
referencedRelation: 'sessions';
|
|
1620
|
+
referencedColumns: ['session_id'];
|
|
1532
1621
|
},
|
|
1533
1622
|
{
|
|
1534
|
-
foreignKeyName:
|
|
1535
|
-
columns: [
|
|
1623
|
+
foreignKeyName: 'execution_logs_user_id_fkey';
|
|
1624
|
+
columns: ['user_id'];
|
|
1536
1625
|
isOneToOne: false;
|
|
1537
|
-
referencedRelation:
|
|
1538
|
-
referencedColumns: [
|
|
1626
|
+
referencedRelation: 'users';
|
|
1627
|
+
referencedColumns: ['id'];
|
|
1539
1628
|
}
|
|
1540
1629
|
];
|
|
1541
1630
|
};
|
|
@@ -1581,18 +1670,18 @@ type Database = {
|
|
|
1581
1670
|
};
|
|
1582
1671
|
Relationships: [
|
|
1583
1672
|
{
|
|
1584
|
-
foreignKeyName:
|
|
1585
|
-
columns: [
|
|
1673
|
+
foreignKeyName: 'execution_metrics_execution_id_fkey';
|
|
1674
|
+
columns: ['execution_id'];
|
|
1586
1675
|
isOneToOne: true;
|
|
1587
|
-
referencedRelation:
|
|
1588
|
-
referencedColumns: [
|
|
1676
|
+
referencedRelation: 'execution_logs';
|
|
1677
|
+
referencedColumns: ['execution_id'];
|
|
1589
1678
|
},
|
|
1590
1679
|
{
|
|
1591
|
-
foreignKeyName:
|
|
1592
|
-
columns: [
|
|
1680
|
+
foreignKeyName: 'execution_metrics_organization_id_fkey';
|
|
1681
|
+
columns: ['organization_id'];
|
|
1593
1682
|
isOneToOne: false;
|
|
1594
|
-
referencedRelation:
|
|
1595
|
-
referencedColumns: [
|
|
1683
|
+
referencedRelation: 'organizations';
|
|
1684
|
+
referencedColumns: ['id'];
|
|
1596
1685
|
}
|
|
1597
1686
|
];
|
|
1598
1687
|
};
|
|
@@ -1635,18 +1724,18 @@ type Database = {
|
|
|
1635
1724
|
};
|
|
1636
1725
|
Relationships: [
|
|
1637
1726
|
{
|
|
1638
|
-
foreignKeyName:
|
|
1639
|
-
columns: [
|
|
1727
|
+
foreignKeyName: 'notifications_organization_id_fkey';
|
|
1728
|
+
columns: ['organization_id'];
|
|
1640
1729
|
isOneToOne: false;
|
|
1641
|
-
referencedRelation:
|
|
1642
|
-
referencedColumns: [
|
|
1730
|
+
referencedRelation: 'organizations';
|
|
1731
|
+
referencedColumns: ['id'];
|
|
1643
1732
|
},
|
|
1644
1733
|
{
|
|
1645
|
-
foreignKeyName:
|
|
1646
|
-
columns: [
|
|
1734
|
+
foreignKeyName: 'notifications_user_id_fkey';
|
|
1735
|
+
columns: ['user_id'];
|
|
1647
1736
|
isOneToOne: false;
|
|
1648
|
-
referencedRelation:
|
|
1649
|
-
referencedColumns: [
|
|
1737
|
+
referencedRelation: 'users';
|
|
1738
|
+
referencedColumns: ['id'];
|
|
1650
1739
|
}
|
|
1651
1740
|
];
|
|
1652
1741
|
};
|
|
@@ -1701,18 +1790,18 @@ type Database = {
|
|
|
1701
1790
|
};
|
|
1702
1791
|
Relationships: [
|
|
1703
1792
|
{
|
|
1704
|
-
foreignKeyName:
|
|
1705
|
-
columns: [
|
|
1793
|
+
foreignKeyName: 'org_invitations_inviter_user_id_fkey';
|
|
1794
|
+
columns: ['inviter_user_id'];
|
|
1706
1795
|
isOneToOne: false;
|
|
1707
|
-
referencedRelation:
|
|
1708
|
-
referencedColumns: [
|
|
1796
|
+
referencedRelation: 'users';
|
|
1797
|
+
referencedColumns: ['id'];
|
|
1709
1798
|
},
|
|
1710
1799
|
{
|
|
1711
|
-
foreignKeyName:
|
|
1712
|
-
columns: [
|
|
1800
|
+
foreignKeyName: 'org_invitations_organization_id_fkey';
|
|
1801
|
+
columns: ['organization_id'];
|
|
1713
1802
|
isOneToOne: false;
|
|
1714
|
-
referencedRelation:
|
|
1715
|
-
referencedColumns: [
|
|
1803
|
+
referencedRelation: 'organizations';
|
|
1804
|
+
referencedColumns: ['id'];
|
|
1716
1805
|
}
|
|
1717
1806
|
];
|
|
1718
1807
|
};
|
|
@@ -1755,18 +1844,18 @@ type Database = {
|
|
|
1755
1844
|
};
|
|
1756
1845
|
Relationships: [
|
|
1757
1846
|
{
|
|
1758
|
-
foreignKeyName:
|
|
1759
|
-
columns: [
|
|
1847
|
+
foreignKeyName: 'org_memberships_organization_id_fkey';
|
|
1848
|
+
columns: ['organization_id'];
|
|
1760
1849
|
isOneToOne: false;
|
|
1761
|
-
referencedRelation:
|
|
1762
|
-
referencedColumns: [
|
|
1850
|
+
referencedRelation: 'organizations';
|
|
1851
|
+
referencedColumns: ['id'];
|
|
1763
1852
|
},
|
|
1764
1853
|
{
|
|
1765
|
-
foreignKeyName:
|
|
1766
|
-
columns: [
|
|
1854
|
+
foreignKeyName: 'org_memberships_user_id_fkey';
|
|
1855
|
+
columns: ['user_id'];
|
|
1767
1856
|
isOneToOne: false;
|
|
1768
|
-
referencedRelation:
|
|
1769
|
-
referencedColumns: [
|
|
1857
|
+
referencedRelation: 'users';
|
|
1858
|
+
referencedColumns: ['id'];
|
|
1770
1859
|
}
|
|
1771
1860
|
];
|
|
1772
1861
|
};
|
|
@@ -1791,25 +1880,25 @@ type Database = {
|
|
|
1791
1880
|
};
|
|
1792
1881
|
Relationships: [
|
|
1793
1882
|
{
|
|
1794
|
-
foreignKeyName:
|
|
1795
|
-
columns: [
|
|
1883
|
+
foreignKeyName: 'org_rol_assignments_granted_by_fkey';
|
|
1884
|
+
columns: ['granted_by'];
|
|
1796
1885
|
isOneToOne: false;
|
|
1797
|
-
referencedRelation:
|
|
1798
|
-
referencedColumns: [
|
|
1886
|
+
referencedRelation: 'users';
|
|
1887
|
+
referencedColumns: ['id'];
|
|
1799
1888
|
},
|
|
1800
1889
|
{
|
|
1801
|
-
foreignKeyName:
|
|
1802
|
-
columns: [
|
|
1890
|
+
foreignKeyName: 'org_rol_assignments_membership_id_fkey';
|
|
1891
|
+
columns: ['membership_id'];
|
|
1803
1892
|
isOneToOne: false;
|
|
1804
|
-
referencedRelation:
|
|
1805
|
-
referencedColumns: [
|
|
1893
|
+
referencedRelation: 'org_memberships';
|
|
1894
|
+
referencedColumns: ['id'];
|
|
1806
1895
|
},
|
|
1807
1896
|
{
|
|
1808
|
-
foreignKeyName:
|
|
1809
|
-
columns: [
|
|
1897
|
+
foreignKeyName: 'org_rol_assignments_role_id_fkey';
|
|
1898
|
+
columns: ['role_id'];
|
|
1810
1899
|
isOneToOne: false;
|
|
1811
|
-
referencedRelation:
|
|
1812
|
-
referencedColumns: [
|
|
1900
|
+
referencedRelation: 'org_rol_definitions';
|
|
1901
|
+
referencedColumns: ['id'];
|
|
1813
1902
|
}
|
|
1814
1903
|
];
|
|
1815
1904
|
};
|
|
@@ -1846,11 +1935,11 @@ type Database = {
|
|
|
1846
1935
|
};
|
|
1847
1936
|
Relationships: [
|
|
1848
1937
|
{
|
|
1849
|
-
foreignKeyName:
|
|
1850
|
-
columns: [
|
|
1938
|
+
foreignKeyName: 'org_rol_definitions_organization_id_fkey';
|
|
1939
|
+
columns: ['organization_id'];
|
|
1851
1940
|
isOneToOne: false;
|
|
1852
|
-
referencedRelation:
|
|
1853
|
-
referencedColumns: [
|
|
1941
|
+
referencedRelation: 'organizations';
|
|
1942
|
+
referencedColumns: ['id'];
|
|
1854
1943
|
}
|
|
1855
1944
|
];
|
|
1856
1945
|
};
|
|
@@ -1872,18 +1961,18 @@ type Database = {
|
|
|
1872
1961
|
};
|
|
1873
1962
|
Relationships: [
|
|
1874
1963
|
{
|
|
1875
|
-
foreignKeyName:
|
|
1876
|
-
columns: [
|
|
1964
|
+
foreignKeyName: 'org_rol_grants_permission_key_fkey';
|
|
1965
|
+
columns: ['permission_key'];
|
|
1877
1966
|
isOneToOne: false;
|
|
1878
|
-
referencedRelation:
|
|
1879
|
-
referencedColumns: [
|
|
1967
|
+
referencedRelation: 'org_rol_permissions';
|
|
1968
|
+
referencedColumns: ['key'];
|
|
1880
1969
|
},
|
|
1881
1970
|
{
|
|
1882
|
-
foreignKeyName:
|
|
1883
|
-
columns: [
|
|
1971
|
+
foreignKeyName: 'org_rol_grants_role_id_fkey';
|
|
1972
|
+
columns: ['role_id'];
|
|
1884
1973
|
isOneToOne: false;
|
|
1885
|
-
referencedRelation:
|
|
1886
|
-
referencedColumns: [
|
|
1974
|
+
referencedRelation: 'org_rol_definitions';
|
|
1975
|
+
referencedColumns: ['id'];
|
|
1887
1976
|
}
|
|
1888
1977
|
];
|
|
1889
1978
|
};
|
|
@@ -1995,25 +2084,25 @@ type Database = {
|
|
|
1995
2084
|
};
|
|
1996
2085
|
Relationships: [
|
|
1997
2086
|
{
|
|
1998
|
-
foreignKeyName:
|
|
1999
|
-
columns: [
|
|
2087
|
+
foreignKeyName: 'fk_milestones_project';
|
|
2088
|
+
columns: ['project_id'];
|
|
2000
2089
|
isOneToOne: false;
|
|
2001
|
-
referencedRelation:
|
|
2002
|
-
referencedColumns: [
|
|
2090
|
+
referencedRelation: 'prj_projects';
|
|
2091
|
+
referencedColumns: ['id'];
|
|
2003
2092
|
},
|
|
2004
2093
|
{
|
|
2005
|
-
foreignKeyName:
|
|
2006
|
-
columns: [
|
|
2094
|
+
foreignKeyName: 'prj_milestones_organization_id_fkey';
|
|
2095
|
+
columns: ['organization_id'];
|
|
2007
2096
|
isOneToOne: false;
|
|
2008
|
-
referencedRelation:
|
|
2009
|
-
referencedColumns: [
|
|
2097
|
+
referencedRelation: 'organizations';
|
|
2098
|
+
referencedColumns: ['id'];
|
|
2010
2099
|
},
|
|
2011
2100
|
{
|
|
2012
|
-
foreignKeyName:
|
|
2013
|
-
columns: [
|
|
2101
|
+
foreignKeyName: 'prj_milestones_project_id_fkey';
|
|
2102
|
+
columns: ['project_id'];
|
|
2014
2103
|
isOneToOne: false;
|
|
2015
|
-
referencedRelation:
|
|
2016
|
-
referencedColumns: [
|
|
2104
|
+
referencedRelation: 'prj_projects';
|
|
2105
|
+
referencedColumns: ['id'];
|
|
2017
2106
|
}
|
|
2018
2107
|
];
|
|
2019
2108
|
};
|
|
@@ -2062,67 +2151,67 @@ type Database = {
|
|
|
2062
2151
|
};
|
|
2063
2152
|
Relationships: [
|
|
2064
2153
|
{
|
|
2065
|
-
foreignKeyName:
|
|
2066
|
-
columns: [
|
|
2154
|
+
foreignKeyName: 'fk_notes_created_by';
|
|
2155
|
+
columns: ['created_by'];
|
|
2067
2156
|
isOneToOne: false;
|
|
2068
|
-
referencedRelation:
|
|
2069
|
-
referencedColumns: [
|
|
2157
|
+
referencedRelation: 'users';
|
|
2158
|
+
referencedColumns: ['id'];
|
|
2070
2159
|
},
|
|
2071
2160
|
{
|
|
2072
|
-
foreignKeyName:
|
|
2073
|
-
columns: [
|
|
2161
|
+
foreignKeyName: 'fk_notes_milestone';
|
|
2162
|
+
columns: ['milestone_id'];
|
|
2074
2163
|
isOneToOne: false;
|
|
2075
|
-
referencedRelation:
|
|
2076
|
-
referencedColumns: [
|
|
2164
|
+
referencedRelation: 'prj_milestones';
|
|
2165
|
+
referencedColumns: ['id'];
|
|
2077
2166
|
},
|
|
2078
2167
|
{
|
|
2079
|
-
foreignKeyName:
|
|
2080
|
-
columns: [
|
|
2168
|
+
foreignKeyName: 'fk_notes_project';
|
|
2169
|
+
columns: ['project_id'];
|
|
2081
2170
|
isOneToOne: false;
|
|
2082
|
-
referencedRelation:
|
|
2083
|
-
referencedColumns: [
|
|
2171
|
+
referencedRelation: 'prj_projects';
|
|
2172
|
+
referencedColumns: ['id'];
|
|
2084
2173
|
},
|
|
2085
2174
|
{
|
|
2086
|
-
foreignKeyName:
|
|
2087
|
-
columns: [
|
|
2175
|
+
foreignKeyName: 'fk_notes_task';
|
|
2176
|
+
columns: ['task_id'];
|
|
2088
2177
|
isOneToOne: false;
|
|
2089
|
-
referencedRelation:
|
|
2090
|
-
referencedColumns: [
|
|
2178
|
+
referencedRelation: 'prj_tasks';
|
|
2179
|
+
referencedColumns: ['id'];
|
|
2091
2180
|
},
|
|
2092
2181
|
{
|
|
2093
|
-
foreignKeyName:
|
|
2094
|
-
columns: [
|
|
2182
|
+
foreignKeyName: 'prj_notes_created_by_fkey';
|
|
2183
|
+
columns: ['created_by'];
|
|
2095
2184
|
isOneToOne: false;
|
|
2096
|
-
referencedRelation:
|
|
2097
|
-
referencedColumns: [
|
|
2185
|
+
referencedRelation: 'users';
|
|
2186
|
+
referencedColumns: ['id'];
|
|
2098
2187
|
},
|
|
2099
2188
|
{
|
|
2100
|
-
foreignKeyName:
|
|
2101
|
-
columns: [
|
|
2189
|
+
foreignKeyName: 'prj_notes_milestone_id_fkey';
|
|
2190
|
+
columns: ['milestone_id'];
|
|
2102
2191
|
isOneToOne: false;
|
|
2103
|
-
referencedRelation:
|
|
2104
|
-
referencedColumns: [
|
|
2192
|
+
referencedRelation: 'prj_milestones';
|
|
2193
|
+
referencedColumns: ['id'];
|
|
2105
2194
|
},
|
|
2106
2195
|
{
|
|
2107
|
-
foreignKeyName:
|
|
2108
|
-
columns: [
|
|
2196
|
+
foreignKeyName: 'prj_notes_organization_id_fkey';
|
|
2197
|
+
columns: ['organization_id'];
|
|
2109
2198
|
isOneToOne: false;
|
|
2110
|
-
referencedRelation:
|
|
2111
|
-
referencedColumns: [
|
|
2199
|
+
referencedRelation: 'organizations';
|
|
2200
|
+
referencedColumns: ['id'];
|
|
2112
2201
|
},
|
|
2113
2202
|
{
|
|
2114
|
-
foreignKeyName:
|
|
2115
|
-
columns: [
|
|
2203
|
+
foreignKeyName: 'prj_notes_project_id_fkey';
|
|
2204
|
+
columns: ['project_id'];
|
|
2116
2205
|
isOneToOne: false;
|
|
2117
|
-
referencedRelation:
|
|
2118
|
-
referencedColumns: [
|
|
2206
|
+
referencedRelation: 'prj_projects';
|
|
2207
|
+
referencedColumns: ['id'];
|
|
2119
2208
|
},
|
|
2120
2209
|
{
|
|
2121
|
-
foreignKeyName:
|
|
2122
|
-
columns: [
|
|
2210
|
+
foreignKeyName: 'prj_notes_task_id_fkey';
|
|
2211
|
+
columns: ['task_id'];
|
|
2123
2212
|
isOneToOne: false;
|
|
2124
|
-
referencedRelation:
|
|
2125
|
-
referencedColumns: [
|
|
2213
|
+
referencedRelation: 'prj_tasks';
|
|
2214
|
+
referencedColumns: ['id'];
|
|
2126
2215
|
}
|
|
2127
2216
|
];
|
|
2128
2217
|
};
|
|
@@ -2180,39 +2269,39 @@ type Database = {
|
|
|
2180
2269
|
};
|
|
2181
2270
|
Relationships: [
|
|
2182
2271
|
{
|
|
2183
|
-
foreignKeyName:
|
|
2184
|
-
columns: [
|
|
2272
|
+
foreignKeyName: 'fk_projects_company';
|
|
2273
|
+
columns: ['client_company_id'];
|
|
2185
2274
|
isOneToOne: false;
|
|
2186
|
-
referencedRelation:
|
|
2187
|
-
referencedColumns: [
|
|
2275
|
+
referencedRelation: 'acq_companies';
|
|
2276
|
+
referencedColumns: ['id'];
|
|
2188
2277
|
},
|
|
2189
2278
|
{
|
|
2190
|
-
foreignKeyName:
|
|
2191
|
-
columns: [
|
|
2279
|
+
foreignKeyName: 'fk_projects_deal';
|
|
2280
|
+
columns: ['deal_id'];
|
|
2192
2281
|
isOneToOne: false;
|
|
2193
|
-
referencedRelation:
|
|
2194
|
-
referencedColumns: [
|
|
2282
|
+
referencedRelation: 'acq_deals';
|
|
2283
|
+
referencedColumns: ['id'];
|
|
2195
2284
|
},
|
|
2196
2285
|
{
|
|
2197
|
-
foreignKeyName:
|
|
2198
|
-
columns: [
|
|
2286
|
+
foreignKeyName: 'prj_projects_client_company_id_fkey';
|
|
2287
|
+
columns: ['client_company_id'];
|
|
2199
2288
|
isOneToOne: false;
|
|
2200
|
-
referencedRelation:
|
|
2201
|
-
referencedColumns: [
|
|
2289
|
+
referencedRelation: 'acq_companies';
|
|
2290
|
+
referencedColumns: ['id'];
|
|
2202
2291
|
},
|
|
2203
2292
|
{
|
|
2204
|
-
foreignKeyName:
|
|
2205
|
-
columns: [
|
|
2293
|
+
foreignKeyName: 'prj_projects_deal_id_fkey';
|
|
2294
|
+
columns: ['deal_id'];
|
|
2206
2295
|
isOneToOne: false;
|
|
2207
|
-
referencedRelation:
|
|
2208
|
-
referencedColumns: [
|
|
2296
|
+
referencedRelation: 'acq_deals';
|
|
2297
|
+
referencedColumns: ['id'];
|
|
2209
2298
|
},
|
|
2210
2299
|
{
|
|
2211
|
-
foreignKeyName:
|
|
2212
|
-
columns: [
|
|
2300
|
+
foreignKeyName: 'prj_projects_organization_id_fkey';
|
|
2301
|
+
columns: ['organization_id'];
|
|
2213
2302
|
isOneToOne: false;
|
|
2214
|
-
referencedRelation:
|
|
2215
|
-
referencedColumns: [
|
|
2303
|
+
referencedRelation: 'organizations';
|
|
2304
|
+
referencedColumns: ['id'];
|
|
2216
2305
|
}
|
|
2217
2306
|
];
|
|
2218
2307
|
};
|
|
@@ -2276,53 +2365,53 @@ type Database = {
|
|
|
2276
2365
|
};
|
|
2277
2366
|
Relationships: [
|
|
2278
2367
|
{
|
|
2279
|
-
foreignKeyName:
|
|
2280
|
-
columns: [
|
|
2368
|
+
foreignKeyName: 'fk_tasks_milestone';
|
|
2369
|
+
columns: ['milestone_id'];
|
|
2281
2370
|
isOneToOne: false;
|
|
2282
|
-
referencedRelation:
|
|
2283
|
-
referencedColumns: [
|
|
2371
|
+
referencedRelation: 'prj_milestones';
|
|
2372
|
+
referencedColumns: ['id'];
|
|
2284
2373
|
},
|
|
2285
2374
|
{
|
|
2286
|
-
foreignKeyName:
|
|
2287
|
-
columns: [
|
|
2375
|
+
foreignKeyName: 'fk_tasks_parent';
|
|
2376
|
+
columns: ['parent_task_id'];
|
|
2288
2377
|
isOneToOne: false;
|
|
2289
|
-
referencedRelation:
|
|
2290
|
-
referencedColumns: [
|
|
2378
|
+
referencedRelation: 'prj_tasks';
|
|
2379
|
+
referencedColumns: ['id'];
|
|
2291
2380
|
},
|
|
2292
2381
|
{
|
|
2293
|
-
foreignKeyName:
|
|
2294
|
-
columns: [
|
|
2382
|
+
foreignKeyName: 'fk_tasks_project';
|
|
2383
|
+
columns: ['project_id'];
|
|
2295
2384
|
isOneToOne: false;
|
|
2296
|
-
referencedRelation:
|
|
2297
|
-
referencedColumns: [
|
|
2385
|
+
referencedRelation: 'prj_projects';
|
|
2386
|
+
referencedColumns: ['id'];
|
|
2298
2387
|
},
|
|
2299
2388
|
{
|
|
2300
|
-
foreignKeyName:
|
|
2301
|
-
columns: [
|
|
2389
|
+
foreignKeyName: 'prj_tasks_milestone_id_fkey';
|
|
2390
|
+
columns: ['milestone_id'];
|
|
2302
2391
|
isOneToOne: false;
|
|
2303
|
-
referencedRelation:
|
|
2304
|
-
referencedColumns: [
|
|
2392
|
+
referencedRelation: 'prj_milestones';
|
|
2393
|
+
referencedColumns: ['id'];
|
|
2305
2394
|
},
|
|
2306
2395
|
{
|
|
2307
|
-
foreignKeyName:
|
|
2308
|
-
columns: [
|
|
2396
|
+
foreignKeyName: 'prj_tasks_organization_id_fkey';
|
|
2397
|
+
columns: ['organization_id'];
|
|
2309
2398
|
isOneToOne: false;
|
|
2310
|
-
referencedRelation:
|
|
2311
|
-
referencedColumns: [
|
|
2399
|
+
referencedRelation: 'organizations';
|
|
2400
|
+
referencedColumns: ['id'];
|
|
2312
2401
|
},
|
|
2313
2402
|
{
|
|
2314
|
-
foreignKeyName:
|
|
2315
|
-
columns: [
|
|
2403
|
+
foreignKeyName: 'prj_tasks_parent_task_id_fkey';
|
|
2404
|
+
columns: ['parent_task_id'];
|
|
2316
2405
|
isOneToOne: false;
|
|
2317
|
-
referencedRelation:
|
|
2318
|
-
referencedColumns: [
|
|
2406
|
+
referencedRelation: 'prj_tasks';
|
|
2407
|
+
referencedColumns: ['id'];
|
|
2319
2408
|
},
|
|
2320
2409
|
{
|
|
2321
|
-
foreignKeyName:
|
|
2322
|
-
columns: [
|
|
2410
|
+
foreignKeyName: 'prj_tasks_project_id_fkey';
|
|
2411
|
+
columns: ['project_id'];
|
|
2323
2412
|
isOneToOne: false;
|
|
2324
|
-
referencedRelation:
|
|
2325
|
-
referencedColumns: [
|
|
2413
|
+
referencedRelation: 'prj_projects';
|
|
2414
|
+
referencedColumns: ['id'];
|
|
2326
2415
|
}
|
|
2327
2416
|
];
|
|
2328
2417
|
};
|
|
@@ -2392,25 +2481,25 @@ type Database = {
|
|
|
2392
2481
|
};
|
|
2393
2482
|
Relationships: [
|
|
2394
2483
|
{
|
|
2395
|
-
foreignKeyName:
|
|
2396
|
-
columns: [
|
|
2484
|
+
foreignKeyName: 'reported_requests_organization_id_fkey';
|
|
2485
|
+
columns: ['organization_id'];
|
|
2397
2486
|
isOneToOne: false;
|
|
2398
|
-
referencedRelation:
|
|
2399
|
-
referencedColumns: [
|
|
2487
|
+
referencedRelation: 'organizations';
|
|
2488
|
+
referencedColumns: ['id'];
|
|
2400
2489
|
},
|
|
2401
2490
|
{
|
|
2402
|
-
foreignKeyName:
|
|
2403
|
-
columns: [
|
|
2491
|
+
foreignKeyName: 'reported_requests_project_id_fkey';
|
|
2492
|
+
columns: ['project_id'];
|
|
2404
2493
|
isOneToOne: false;
|
|
2405
|
-
referencedRelation:
|
|
2406
|
-
referencedColumns: [
|
|
2494
|
+
referencedRelation: 'prj_projects';
|
|
2495
|
+
referencedColumns: ['id'];
|
|
2407
2496
|
},
|
|
2408
2497
|
{
|
|
2409
|
-
foreignKeyName:
|
|
2410
|
-
columns: [
|
|
2498
|
+
foreignKeyName: 'reported_requests_task_id_fkey';
|
|
2499
|
+
columns: ['task_id'];
|
|
2411
2500
|
isOneToOne: false;
|
|
2412
|
-
referencedRelation:
|
|
2413
|
-
referencedColumns: [
|
|
2501
|
+
referencedRelation: 'prj_tasks';
|
|
2502
|
+
referencedColumns: ['id'];
|
|
2414
2503
|
}
|
|
2415
2504
|
];
|
|
2416
2505
|
};
|
|
@@ -2450,11 +2539,11 @@ type Database = {
|
|
|
2450
2539
|
};
|
|
2451
2540
|
Relationships: [
|
|
2452
2541
|
{
|
|
2453
|
-
foreignKeyName:
|
|
2454
|
-
columns: [
|
|
2542
|
+
foreignKeyName: 'session_messages_session_id_fkey';
|
|
2543
|
+
columns: ['session_id'];
|
|
2455
2544
|
isOneToOne: false;
|
|
2456
|
-
referencedRelation:
|
|
2457
|
-
referencedColumns: [
|
|
2545
|
+
referencedRelation: 'sessions';
|
|
2546
|
+
referencedColumns: ['session_id'];
|
|
2458
2547
|
}
|
|
2459
2548
|
];
|
|
2460
2549
|
};
|
|
@@ -2509,18 +2598,18 @@ type Database = {
|
|
|
2509
2598
|
};
|
|
2510
2599
|
Relationships: [
|
|
2511
2600
|
{
|
|
2512
|
-
foreignKeyName:
|
|
2513
|
-
columns: [
|
|
2601
|
+
foreignKeyName: 'fk_organization';
|
|
2602
|
+
columns: ['organization_id'];
|
|
2514
2603
|
isOneToOne: false;
|
|
2515
|
-
referencedRelation:
|
|
2516
|
-
referencedColumns: [
|
|
2604
|
+
referencedRelation: 'organizations';
|
|
2605
|
+
referencedColumns: ['id'];
|
|
2517
2606
|
},
|
|
2518
2607
|
{
|
|
2519
|
-
foreignKeyName:
|
|
2520
|
-
columns: [
|
|
2608
|
+
foreignKeyName: 'fk_user';
|
|
2609
|
+
columns: ['user_id'];
|
|
2521
2610
|
isOneToOne: false;
|
|
2522
|
-
referencedRelation:
|
|
2523
|
-
referencedColumns: [
|
|
2611
|
+
referencedRelation: 'users';
|
|
2612
|
+
referencedColumns: ['id'];
|
|
2524
2613
|
}
|
|
2525
2614
|
];
|
|
2526
2615
|
};
|
|
@@ -2596,11 +2685,11 @@ type Database = {
|
|
|
2596
2685
|
};
|
|
2597
2686
|
Relationships: [
|
|
2598
2687
|
{
|
|
2599
|
-
foreignKeyName:
|
|
2600
|
-
columns: [
|
|
2688
|
+
foreignKeyName: 'task_schedules_organization_id_fkey';
|
|
2689
|
+
columns: ['organization_id'];
|
|
2601
2690
|
isOneToOne: false;
|
|
2602
|
-
referencedRelation:
|
|
2603
|
-
referencedColumns: [
|
|
2691
|
+
referencedRelation: 'organizations';
|
|
2692
|
+
referencedColumns: ['id'];
|
|
2604
2693
|
}
|
|
2605
2694
|
];
|
|
2606
2695
|
};
|
|
@@ -2655,11 +2744,11 @@ type Database = {
|
|
|
2655
2744
|
};
|
|
2656
2745
|
Relationships: [
|
|
2657
2746
|
{
|
|
2658
|
-
foreignKeyName:
|
|
2659
|
-
columns: [
|
|
2747
|
+
foreignKeyName: 'user_profiles_last_visited_org_fkey';
|
|
2748
|
+
columns: ['last_visited_org'];
|
|
2660
2749
|
isOneToOne: false;
|
|
2661
|
-
referencedRelation:
|
|
2662
|
-
referencedColumns: [
|
|
2750
|
+
referencedRelation: 'organizations';
|
|
2751
|
+
referencedColumns: ['id'];
|
|
2663
2752
|
}
|
|
2664
2753
|
];
|
|
2665
2754
|
};
|
|
@@ -2708,11 +2797,11 @@ type Database = {
|
|
|
2708
2797
|
};
|
|
2709
2798
|
Relationships: [
|
|
2710
2799
|
{
|
|
2711
|
-
foreignKeyName:
|
|
2712
|
-
columns: [
|
|
2800
|
+
foreignKeyName: 'webhook_endpoints_organization_id_fkey';
|
|
2801
|
+
columns: ['organization_id'];
|
|
2713
2802
|
isOneToOne: false;
|
|
2714
|
-
referencedRelation:
|
|
2715
|
-
referencedColumns: [
|
|
2803
|
+
referencedRelation: 'organizations';
|
|
2804
|
+
referencedColumns: ['id'];
|
|
2716
2805
|
}
|
|
2717
2806
|
];
|
|
2718
2807
|
};
|
|
@@ -2800,12 +2889,6 @@ type Database = {
|
|
|
2800
2889
|
};
|
|
2801
2890
|
Returns: boolean;
|
|
2802
2891
|
};
|
|
2803
|
-
is_org_admin: {
|
|
2804
|
-
Args: {
|
|
2805
|
-
org_id: string;
|
|
2806
|
-
};
|
|
2807
|
-
Returns: boolean;
|
|
2808
|
-
};
|
|
2809
2892
|
is_org_member: {
|
|
2810
2893
|
Args: {
|
|
2811
2894
|
org_id: string;
|
|
@@ -2999,12 +3082,6 @@ interface PipelineFunnelWidgetProps {
|
|
|
2999
3082
|
}
|
|
3000
3083
|
declare function PipelineFunnelWidget({ onStageClick, getDealValue }: PipelineFunnelWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3001
3084
|
|
|
3002
|
-
interface TasksDueWidgetProps {
|
|
3003
|
-
onTaskClick: (dealId: string) => void;
|
|
3004
|
-
onSeeAll?: () => void;
|
|
3005
|
-
}
|
|
3006
|
-
declare function TasksDueWidget({ onTaskClick, onSeeAll }: TasksDueWidgetProps): react_jsx_runtime.JSX.Element;
|
|
3007
|
-
|
|
3008
3085
|
interface ActivityFeedWidgetProps {
|
|
3009
3086
|
onDealClick: (dealId: string) => void;
|
|
3010
3087
|
limit?: number;
|
|
@@ -3103,5 +3180,5 @@ interface CompanyDetailPageProps {
|
|
|
3103
3180
|
}
|
|
3104
3181
|
declare function CompanyDetailPage({ companyId }: CompanyDetailPageProps): react_jsx_runtime.JSX.Element;
|
|
3105
3182
|
|
|
3106
|
-
export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel,
|
|
3107
|
-
export type { ActivityFeedWidgetProps, CompanyDetailPageProps, RecentActivityEntry as CrmActivityEntry, CrmActivityKind, CrmOverviewProps, CrmQuickMetrics, CrmSidebarMiddleProps, MyTasksPanelProps, PipelineFunnelWidgetProps, PipelineStageSummary, QuickCreateActionsProps, SavedViewPreset, SavedViewsPanelProps
|
|
3183
|
+
export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, crmManifest, formatDealStageLabel, useCrmPipelineSummary, useCrmQuickMetrics, useRecentCrmActivity };
|
|
3184
|
+
export type { ActivityFeedWidgetProps, CompanyDetailPageProps, RecentActivityEntry as CrmActivityEntry, CrmActivityKind, CrmOverviewProps, CrmQuickMetrics, CrmSidebarMiddleProps, MyTasksPanelProps, PipelineFunnelWidgetProps, PipelineStageSummary, QuickCreateActionsProps, SavedViewPreset, SavedViewsPanelProps };
|