@elevasis/ui 2.30.0 → 2.32.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/api/index.js +2 -2
- package/dist/app/index.css +38 -0
- package/dist/app/index.d.ts +190 -9
- package/dist/app/index.js +7 -6
- package/dist/charts/index.js +4 -5
- package/dist/{chunk-HXZQWMKE.js → chunk-2RJMVWFJ.js} +1 -6
- package/dist/{chunk-4VQ2PXMI.js → chunk-3FV6HBXS.js} +4 -4
- package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
- package/dist/{chunk-JKTPRYGV.js → chunk-4MFNGNHF.js} +123 -192
- package/dist/{chunk-HYLERWRO.js → chunk-4QK76KIF.js} +7 -7
- package/dist/chunk-5FJJ72HU.js +13 -0
- package/dist/chunk-5J4PDX26.js +112 -0
- package/dist/{chunk-4SY6BTVZ.js → chunk-6DWD423K.js} +12 -9
- package/dist/{chunk-3GV5NHSS.js → chunk-7KZINJLP.js} +78 -232
- package/dist/{chunk-6WXDE5LZ.js → chunk-EPTHX4VZ.js} +1 -1
- package/dist/{chunk-6EFVZV6X.js → chunk-GCOQ3TBG.js} +243 -254
- package/dist/{chunk-LRZFLK2F.js → chunk-IQHU7O5Y.js} +4 -4
- package/dist/{chunk-X2SUMO3P.js → chunk-IZWTVFJ2.js} +16 -3
- package/dist/{chunk-IKQ42WHU.js → chunk-JFL3GRD4.js} +1 -1
- package/dist/{chunk-4FZYEEPK.js → chunk-LLRXA7D7.js} +5 -6
- package/dist/chunk-MOY4VOHF.js +347 -0
- package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
- package/dist/{chunk-7E3FUTND.js → chunk-ND5TDV2J.js} +1 -1
- package/dist/{chunk-WF227UBV.js → chunk-QQHOKTJA.js} +4 -4
- package/dist/{chunk-A7B7HLDF.js → chunk-QTI3KC7D.js} +5884 -515
- package/dist/chunk-QXCDKE2O.js +486 -0
- package/dist/chunk-R2XR4FCV.js +48 -0
- package/dist/chunk-R66W5UDG.js +26 -0
- package/dist/{chunk-T5Z7G2J2.js → chunk-RQA2EVN3.js} +6 -16
- package/dist/{chunk-SKXXT3E2.js → chunk-RQTWIXJ5.js} +4 -4
- package/dist/chunk-T35FWDAB.js +4342 -0
- package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
- package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
- package/dist/{chunk-JCGD4GM6.js → chunk-UROTM5OR.js} +14 -1
- package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
- package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
- package/dist/{chunk-SBCIB5TZ.js → chunk-VRNMNB3O.js} +6 -7
- package/dist/chunk-WQPX44YM.js +1626 -0
- package/dist/{chunk-T2PAD63Y.js → chunk-XZGSCABI.js} +1 -1
- package/dist/chunk-YLQEVSOR.js +299 -0
- package/dist/{chunk-P5WYW2GI.js → chunk-ZQOKIGZP.js} +152 -306
- package/dist/components/index.css +38 -0
- package/dist/components/index.d.ts +334 -38
- package/dist/components/index.js +42 -42
- package/dist/components/navigation/index.css +38 -0
- package/dist/components/navigation/index.js +3 -2
- package/dist/execution/index.d.ts +9 -3
- package/dist/features/auth/index.css +38 -0
- package/dist/features/auth/index.d.ts +212 -14
- package/dist/features/auth/index.js +41 -9
- package/dist/features/clients/index.css +649 -0
- package/dist/features/clients/index.d.ts +86 -0
- package/dist/features/clients/index.js +720 -0
- package/dist/features/crm/index.css +38 -0
- package/dist/features/crm/index.d.ts +228 -20
- package/dist/features/crm/index.js +20 -17
- package/dist/features/dashboard/index.css +38 -0
- package/dist/features/dashboard/index.d.ts +78 -3
- package/dist/features/dashboard/index.js +16 -16
- package/dist/features/delivery/index.css +38 -0
- package/dist/features/delivery/index.d.ts +201 -18
- package/dist/features/delivery/index.js +20 -18
- package/dist/features/knowledge/index.css +38 -0
- package/dist/features/knowledge/index.d.ts +20 -18
- package/dist/features/knowledge/index.js +116 -578
- package/dist/features/lead-gen/index.css +38 -0
- package/dist/features/lead-gen/index.d.ts +59 -51
- package/dist/features/lead-gen/index.js +20 -18
- package/dist/features/monitoring/index.css +38 -0
- package/dist/features/monitoring/index.d.ts +20 -18
- package/dist/features/monitoring/index.js +19 -18
- package/dist/features/monitoring/requests/index.css +38 -0
- package/dist/features/monitoring/requests/index.d.ts +21 -19
- package/dist/features/monitoring/requests/index.js +17 -15
- package/dist/features/operations/index.css +38 -0
- package/dist/features/operations/index.d.ts +945 -45
- package/dist/features/operations/index.js +24 -26
- package/dist/features/seo/index.d.ts +20 -18
- package/dist/features/seo/index.js +1 -1
- package/dist/features/settings/index.css +38 -0
- package/dist/features/settings/index.d.ts +201 -18
- package/dist/features/settings/index.js +18 -16
- package/dist/hooks/delivery/index.css +38 -0
- package/dist/hooks/delivery/index.d.ts +200 -0
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.css +38 -0
- package/dist/hooks/index.d.ts +825 -47
- package/dist/hooks/index.js +14 -13
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +194 -3
- package/dist/hooks/published.css +38 -0
- package/dist/hooks/published.d.ts +825 -47
- package/dist/hooks/published.js +14 -13
- package/dist/index.css +38 -0
- package/dist/index.d.ts +1506 -1212
- package/dist/index.js +15 -14
- package/dist/initialization/index.d.ts +181 -0
- package/dist/knowledge/index.d.ts +813 -1068
- package/dist/knowledge/index.js +7370 -2869
- package/dist/{chunk-CLUP5H3C.js → knowledge-search-index-5KYPO746.js} +441 -963
- package/dist/layout/index.d.ts +6 -0
- package/dist/layout/index.js +4 -5
- package/dist/organization/index.css +38 -0
- package/dist/profile/index.d.ts +181 -0
- package/dist/provider/index.css +38 -0
- package/dist/provider/index.d.ts +909 -1156
- package/dist/provider/index.js +11 -10
- package/dist/provider/published.css +38 -0
- package/dist/provider/published.d.ts +906 -1153
- package/dist/provider/published.js +7 -6
- package/dist/supabase/index.d.ts +349 -0
- package/dist/test-utils/index.d.ts +16 -9
- package/dist/test-utils/index.js +39 -32
- package/dist/test-utils/setup.js +1 -1
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/types/index.d.ts +378 -5
- package/dist/utils/index.d.ts +78 -3
- package/dist/utils/index.js +1 -1
- package/dist/vite/index.js +2 -2
- package/dist/vite-plugin-knowledge/index.js +1 -1
- package/package.json +47 -37
- package/src/provider/README.md +5 -5
- package/dist/chunk-2DIYILF7.js +0 -413
- package/dist/chunk-3MDNBHVB.js +0 -3868
- package/dist/chunk-6IXOKUBC.js +0 -347
- package/dist/chunk-AKOD52HS.js +0 -739
- package/dist/chunk-ECNNI3NT.js +0 -6
- package/dist/chunk-JDNEWB5F.js +0 -10
- package/dist/chunk-NITGGYH2.js +0 -476
- package/dist/chunk-OAVTMITG.js +0 -13
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { SystemShell } from '../chunk-6DWD423K.js';
|
|
2
|
+
import '../chunk-EPTHX4VZ.js';
|
|
3
3
|
import '../chunk-3KMDHCAR.js';
|
|
4
|
-
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-
|
|
4
|
+
export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-YLQEVSOR.js';
|
|
5
5
|
import '../chunk-SZHARWKU.js';
|
|
6
|
-
export {
|
|
6
|
+
export { ElevasisSystemsProvider, useElevasisSystems, useOptionalElevasisSystems } from '../chunk-QXCDKE2O.js';
|
|
7
7
|
import '../chunk-TKAYX2SP.js';
|
|
8
8
|
import '../chunk-NYBEU5TE.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-T35FWDAB.js';
|
|
10
|
+
import '../chunk-ND5TDV2J.js';
|
|
10
11
|
import '../chunk-2IFYDILW.js';
|
|
11
12
|
import '../chunk-Q7DJKLEN.js';
|
|
12
13
|
import '../chunk-JA5ECJJB.js';
|
|
@@ -15,7 +16,7 @@ export { AppearanceProvider, useAppearance } from '../chunk-E565XMTQ.js';
|
|
|
15
16
|
import '../chunk-JBWJ6WHZ.js';
|
|
16
17
|
import '../chunk-DT3QYZVU.js';
|
|
17
18
|
import '../chunk-RNP5R5I3.js';
|
|
18
|
-
import '../chunk-
|
|
19
|
+
import '../chunk-2RJMVWFJ.js';
|
|
19
20
|
import '../chunk-KRWALB24.js';
|
|
20
21
|
import '../chunk-VKIZUUPM.js';
|
|
21
22
|
import '../chunk-533DUEQY.js';
|
package/dist/supabase/index.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ type Database = {
|
|
|
61
61
|
batch_id: string | null;
|
|
62
62
|
category: string | null;
|
|
63
63
|
category_pain: string | null;
|
|
64
|
+
client_id: string | null;
|
|
64
65
|
created_at: string;
|
|
65
66
|
domain: string | null;
|
|
66
67
|
enrichment_data: Json | null;
|
|
@@ -87,6 +88,7 @@ type Database = {
|
|
|
87
88
|
batch_id?: string | null;
|
|
88
89
|
category?: string | null;
|
|
89
90
|
category_pain?: string | null;
|
|
91
|
+
client_id?: string | null;
|
|
90
92
|
created_at?: string;
|
|
91
93
|
domain?: string | null;
|
|
92
94
|
enrichment_data?: Json | null;
|
|
@@ -113,6 +115,7 @@ type Database = {
|
|
|
113
115
|
batch_id?: string | null;
|
|
114
116
|
category?: string | null;
|
|
115
117
|
category_pain?: string | null;
|
|
118
|
+
client_id?: string | null;
|
|
116
119
|
created_at?: string;
|
|
117
120
|
domain?: string | null;
|
|
118
121
|
enrichment_data?: Json | null;
|
|
@@ -136,6 +139,13 @@ type Database = {
|
|
|
136
139
|
website?: string | null;
|
|
137
140
|
};
|
|
138
141
|
Relationships: [
|
|
142
|
+
{
|
|
143
|
+
foreignKeyName: "acq_companies_client_id_fkey";
|
|
144
|
+
columns: ["client_id"];
|
|
145
|
+
isOneToOne: false;
|
|
146
|
+
referencedRelation: "clients";
|
|
147
|
+
referencedColumns: ["id"];
|
|
148
|
+
},
|
|
139
149
|
{
|
|
140
150
|
foreignKeyName: "acq_companies_organization_id_fkey";
|
|
141
151
|
columns: ["organization_id"];
|
|
@@ -150,6 +160,7 @@ type Database = {
|
|
|
150
160
|
batch_id: string | null;
|
|
151
161
|
brochure_first_viewed_at: string | null;
|
|
152
162
|
brochure_view_count: number;
|
|
163
|
+
client_id: string | null;
|
|
153
164
|
company_id: string | null;
|
|
154
165
|
created_at: string;
|
|
155
166
|
email: string;
|
|
@@ -178,6 +189,7 @@ type Database = {
|
|
|
178
189
|
batch_id?: string | null;
|
|
179
190
|
brochure_first_viewed_at?: string | null;
|
|
180
191
|
brochure_view_count?: number;
|
|
192
|
+
client_id?: string | null;
|
|
181
193
|
company_id?: string | null;
|
|
182
194
|
created_at?: string;
|
|
183
195
|
email: string;
|
|
@@ -206,6 +218,7 @@ type Database = {
|
|
|
206
218
|
batch_id?: string | null;
|
|
207
219
|
brochure_first_viewed_at?: string | null;
|
|
208
220
|
brochure_view_count?: number;
|
|
221
|
+
client_id?: string | null;
|
|
209
222
|
company_id?: string | null;
|
|
210
223
|
created_at?: string;
|
|
211
224
|
email?: string;
|
|
@@ -231,6 +244,13 @@ type Database = {
|
|
|
231
244
|
updated_at?: string;
|
|
232
245
|
};
|
|
233
246
|
Relationships: [
|
|
247
|
+
{
|
|
248
|
+
foreignKeyName: "acq_contacts_client_id_fkey";
|
|
249
|
+
columns: ["client_id"];
|
|
250
|
+
isOneToOne: false;
|
|
251
|
+
referencedRelation: "clients";
|
|
252
|
+
referencedColumns: ["id"];
|
|
253
|
+
},
|
|
234
254
|
{
|
|
235
255
|
foreignKeyName: "acq_contacts_company_id_fkey";
|
|
236
256
|
columns: ["company_id"];
|
|
@@ -474,8 +494,10 @@ type Database = {
|
|
|
474
494
|
acq_deals: {
|
|
475
495
|
Row: {
|
|
476
496
|
activity_log: Json;
|
|
497
|
+
client_id: string | null;
|
|
477
498
|
closed_lost_at: string | null;
|
|
478
499
|
closed_lost_reason: string | null;
|
|
500
|
+
company_id: string | null;
|
|
479
501
|
contact_email: string;
|
|
480
502
|
contact_id: string | null;
|
|
481
503
|
created_at: string;
|
|
@@ -511,8 +533,10 @@ type Database = {
|
|
|
511
533
|
};
|
|
512
534
|
Insert: {
|
|
513
535
|
activity_log?: Json;
|
|
536
|
+
client_id?: string | null;
|
|
514
537
|
closed_lost_at?: string | null;
|
|
515
538
|
closed_lost_reason?: string | null;
|
|
539
|
+
company_id?: string | null;
|
|
516
540
|
contact_email: string;
|
|
517
541
|
contact_id?: string | null;
|
|
518
542
|
created_at?: string;
|
|
@@ -548,8 +572,10 @@ type Database = {
|
|
|
548
572
|
};
|
|
549
573
|
Update: {
|
|
550
574
|
activity_log?: Json;
|
|
575
|
+
client_id?: string | null;
|
|
551
576
|
closed_lost_at?: string | null;
|
|
552
577
|
closed_lost_reason?: string | null;
|
|
578
|
+
company_id?: string | null;
|
|
553
579
|
contact_email?: string;
|
|
554
580
|
contact_id?: string | null;
|
|
555
581
|
created_at?: string;
|
|
@@ -584,6 +610,20 @@ type Database = {
|
|
|
584
610
|
updated_at?: string;
|
|
585
611
|
};
|
|
586
612
|
Relationships: [
|
|
613
|
+
{
|
|
614
|
+
foreignKeyName: "acq_deals_client_id_fkey";
|
|
615
|
+
columns: ["client_id"];
|
|
616
|
+
isOneToOne: false;
|
|
617
|
+
referencedRelation: "clients";
|
|
618
|
+
referencedColumns: ["id"];
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
foreignKeyName: "acq_deals_company_id_fkey";
|
|
622
|
+
columns: ["company_id"];
|
|
623
|
+
isOneToOne: false;
|
|
624
|
+
referencedRelation: "acq_companies";
|
|
625
|
+
referencedColumns: ["id"];
|
|
626
|
+
},
|
|
587
627
|
{
|
|
588
628
|
foreignKeyName: "acq_deals_contact_id_fkey";
|
|
589
629
|
columns: ["contact_id"];
|
|
@@ -1201,6 +1241,77 @@ type Database = {
|
|
|
1201
1241
|
}
|
|
1202
1242
|
];
|
|
1203
1243
|
};
|
|
1244
|
+
clients: {
|
|
1245
|
+
Row: {
|
|
1246
|
+
converted_at: string | null;
|
|
1247
|
+
created_at: string;
|
|
1248
|
+
id: string;
|
|
1249
|
+
metadata: Json;
|
|
1250
|
+
name: string;
|
|
1251
|
+
organization_id: string;
|
|
1252
|
+
primary_company_id: string | null;
|
|
1253
|
+
primary_contact_id: string | null;
|
|
1254
|
+
source_deal_id: string | null;
|
|
1255
|
+
status: string;
|
|
1256
|
+
updated_at: string;
|
|
1257
|
+
};
|
|
1258
|
+
Insert: {
|
|
1259
|
+
converted_at?: string | null;
|
|
1260
|
+
created_at?: string;
|
|
1261
|
+
id?: string;
|
|
1262
|
+
metadata?: Json;
|
|
1263
|
+
name: string;
|
|
1264
|
+
organization_id: string;
|
|
1265
|
+
primary_company_id?: string | null;
|
|
1266
|
+
primary_contact_id?: string | null;
|
|
1267
|
+
source_deal_id?: string | null;
|
|
1268
|
+
status?: string;
|
|
1269
|
+
updated_at?: string;
|
|
1270
|
+
};
|
|
1271
|
+
Update: {
|
|
1272
|
+
converted_at?: string | null;
|
|
1273
|
+
created_at?: string;
|
|
1274
|
+
id?: string;
|
|
1275
|
+
metadata?: Json;
|
|
1276
|
+
name?: string;
|
|
1277
|
+
organization_id?: string;
|
|
1278
|
+
primary_company_id?: string | null;
|
|
1279
|
+
primary_contact_id?: string | null;
|
|
1280
|
+
source_deal_id?: string | null;
|
|
1281
|
+
status?: string;
|
|
1282
|
+
updated_at?: string;
|
|
1283
|
+
};
|
|
1284
|
+
Relationships: [
|
|
1285
|
+
{
|
|
1286
|
+
foreignKeyName: "clients_organization_id_fkey";
|
|
1287
|
+
columns: ["organization_id"];
|
|
1288
|
+
isOneToOne: false;
|
|
1289
|
+
referencedRelation: "organizations";
|
|
1290
|
+
referencedColumns: ["id"];
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
foreignKeyName: "clients_primary_company_id_fkey";
|
|
1294
|
+
columns: ["primary_company_id"];
|
|
1295
|
+
isOneToOne: false;
|
|
1296
|
+
referencedRelation: "acq_companies";
|
|
1297
|
+
referencedColumns: ["id"];
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
foreignKeyName: "clients_primary_contact_id_fkey";
|
|
1301
|
+
columns: ["primary_contact_id"];
|
|
1302
|
+
isOneToOne: false;
|
|
1303
|
+
referencedRelation: "acq_contacts";
|
|
1304
|
+
referencedColumns: ["id"];
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
foreignKeyName: "clients_source_deal_id_fkey";
|
|
1308
|
+
columns: ["source_deal_id"];
|
|
1309
|
+
isOneToOne: false;
|
|
1310
|
+
referencedRelation: "acq_deals";
|
|
1311
|
+
referencedColumns: ["id"];
|
|
1312
|
+
}
|
|
1313
|
+
];
|
|
1314
|
+
};
|
|
1204
1315
|
command_queue: {
|
|
1205
1316
|
Row: {
|
|
1206
1317
|
action_payload: Json | null;
|
|
@@ -2170,6 +2281,7 @@ type Database = {
|
|
|
2170
2281
|
Row: {
|
|
2171
2282
|
actual_end_date: string | null;
|
|
2172
2283
|
client_company_id: string | null;
|
|
2284
|
+
client_id: string | null;
|
|
2173
2285
|
contract_value: number | null;
|
|
2174
2286
|
created_at: string;
|
|
2175
2287
|
deal_id: string | null;
|
|
@@ -2187,6 +2299,7 @@ type Database = {
|
|
|
2187
2299
|
Insert: {
|
|
2188
2300
|
actual_end_date?: string | null;
|
|
2189
2301
|
client_company_id?: string | null;
|
|
2302
|
+
client_id?: string | null;
|
|
2190
2303
|
contract_value?: number | null;
|
|
2191
2304
|
created_at?: string;
|
|
2192
2305
|
deal_id?: string | null;
|
|
@@ -2204,6 +2317,7 @@ type Database = {
|
|
|
2204
2317
|
Update: {
|
|
2205
2318
|
actual_end_date?: string | null;
|
|
2206
2319
|
client_company_id?: string | null;
|
|
2320
|
+
client_id?: string | null;
|
|
2207
2321
|
contract_value?: number | null;
|
|
2208
2322
|
created_at?: string;
|
|
2209
2323
|
deal_id?: string | null;
|
|
@@ -2240,6 +2354,13 @@ type Database = {
|
|
|
2240
2354
|
referencedRelation: "acq_companies";
|
|
2241
2355
|
referencedColumns: ["id"];
|
|
2242
2356
|
},
|
|
2357
|
+
{
|
|
2358
|
+
foreignKeyName: "prj_projects_client_id_fkey";
|
|
2359
|
+
columns: ["client_id"];
|
|
2360
|
+
isOneToOne: false;
|
|
2361
|
+
referencedRelation: "clients";
|
|
2362
|
+
referencedColumns: ["id"];
|
|
2363
|
+
},
|
|
2243
2364
|
{
|
|
2244
2365
|
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
2245
2366
|
columns: ["deal_id"];
|
|
@@ -2644,6 +2765,66 @@ type Database = {
|
|
|
2644
2765
|
}
|
|
2645
2766
|
];
|
|
2646
2767
|
};
|
|
2768
|
+
user_notes: {
|
|
2769
|
+
Row: {
|
|
2770
|
+
content: string;
|
|
2771
|
+
created_at: string;
|
|
2772
|
+
created_by: string;
|
|
2773
|
+
id: string;
|
|
2774
|
+
metadata: Json;
|
|
2775
|
+
organization_id: string | null;
|
|
2776
|
+
pinned: boolean;
|
|
2777
|
+
priority: string;
|
|
2778
|
+
source: string | null;
|
|
2779
|
+
title: string | null;
|
|
2780
|
+
updated_at: string;
|
|
2781
|
+
user_id: string;
|
|
2782
|
+
};
|
|
2783
|
+
Insert: {
|
|
2784
|
+
content: string;
|
|
2785
|
+
created_at?: string;
|
|
2786
|
+
created_by?: string;
|
|
2787
|
+
id?: string;
|
|
2788
|
+
metadata?: Json;
|
|
2789
|
+
organization_id?: string | null;
|
|
2790
|
+
pinned?: boolean;
|
|
2791
|
+
priority?: string;
|
|
2792
|
+
source?: string | null;
|
|
2793
|
+
title?: string | null;
|
|
2794
|
+
updated_at?: string;
|
|
2795
|
+
user_id: string;
|
|
2796
|
+
};
|
|
2797
|
+
Update: {
|
|
2798
|
+
content?: string;
|
|
2799
|
+
created_at?: string;
|
|
2800
|
+
created_by?: string;
|
|
2801
|
+
id?: string;
|
|
2802
|
+
metadata?: Json;
|
|
2803
|
+
organization_id?: string | null;
|
|
2804
|
+
pinned?: boolean;
|
|
2805
|
+
priority?: string;
|
|
2806
|
+
source?: string | null;
|
|
2807
|
+
title?: string | null;
|
|
2808
|
+
updated_at?: string;
|
|
2809
|
+
user_id?: string;
|
|
2810
|
+
};
|
|
2811
|
+
Relationships: [
|
|
2812
|
+
{
|
|
2813
|
+
foreignKeyName: "user_notes_organization_id_fkey";
|
|
2814
|
+
columns: ["organization_id"];
|
|
2815
|
+
isOneToOne: false;
|
|
2816
|
+
referencedRelation: "organizations";
|
|
2817
|
+
referencedColumns: ["id"];
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
foreignKeyName: "user_notes_user_id_fkey";
|
|
2821
|
+
columns: ["user_id"];
|
|
2822
|
+
isOneToOne: false;
|
|
2823
|
+
referencedRelation: "users";
|
|
2824
|
+
referencedColumns: ["id"];
|
|
2825
|
+
}
|
|
2826
|
+
];
|
|
2827
|
+
};
|
|
2647
2828
|
users: {
|
|
2648
2829
|
Row: {
|
|
2649
2830
|
config: Json;
|
|
@@ -2954,6 +3135,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
2954
3135
|
batch_id: string | null;
|
|
2955
3136
|
category: string | null;
|
|
2956
3137
|
category_pain: string | null;
|
|
3138
|
+
client_id: string | null;
|
|
2957
3139
|
created_at: string;
|
|
2958
3140
|
domain: string | null;
|
|
2959
3141
|
enrichment_data: Json | null;
|
|
@@ -2980,6 +3162,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
2980
3162
|
batch_id?: string | null;
|
|
2981
3163
|
category?: string | null;
|
|
2982
3164
|
category_pain?: string | null;
|
|
3165
|
+
client_id?: string | null;
|
|
2983
3166
|
created_at?: string;
|
|
2984
3167
|
domain?: string | null;
|
|
2985
3168
|
enrichment_data?: Json | null;
|
|
@@ -3006,6 +3189,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3006
3189
|
batch_id?: string | null;
|
|
3007
3190
|
category?: string | null;
|
|
3008
3191
|
category_pain?: string | null;
|
|
3192
|
+
client_id?: string | null;
|
|
3009
3193
|
created_at?: string;
|
|
3010
3194
|
domain?: string | null;
|
|
3011
3195
|
enrichment_data?: Json | null;
|
|
@@ -3029,6 +3213,12 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3029
3213
|
website?: string | null;
|
|
3030
3214
|
};
|
|
3031
3215
|
Relationships: [{
|
|
3216
|
+
foreignKeyName: "acq_companies_client_id_fkey";
|
|
3217
|
+
columns: ["client_id"];
|
|
3218
|
+
isOneToOne: false;
|
|
3219
|
+
referencedRelation: "clients";
|
|
3220
|
+
referencedColumns: ["id"];
|
|
3221
|
+
}, {
|
|
3032
3222
|
foreignKeyName: "acq_companies_organization_id_fkey";
|
|
3033
3223
|
columns: ["organization_id"];
|
|
3034
3224
|
isOneToOne: false;
|
|
@@ -3041,6 +3231,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3041
3231
|
batch_id: string | null;
|
|
3042
3232
|
brochure_first_viewed_at: string | null;
|
|
3043
3233
|
brochure_view_count: number;
|
|
3234
|
+
client_id: string | null;
|
|
3044
3235
|
company_id: string | null;
|
|
3045
3236
|
created_at: string;
|
|
3046
3237
|
email: string;
|
|
@@ -3069,6 +3260,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3069
3260
|
batch_id?: string | null;
|
|
3070
3261
|
brochure_first_viewed_at?: string | null;
|
|
3071
3262
|
brochure_view_count?: number;
|
|
3263
|
+
client_id?: string | null;
|
|
3072
3264
|
company_id?: string | null;
|
|
3073
3265
|
created_at?: string;
|
|
3074
3266
|
email: string;
|
|
@@ -3097,6 +3289,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3097
3289
|
batch_id?: string | null;
|
|
3098
3290
|
brochure_first_viewed_at?: string | null;
|
|
3099
3291
|
brochure_view_count?: number;
|
|
3292
|
+
client_id?: string | null;
|
|
3100
3293
|
company_id?: string | null;
|
|
3101
3294
|
created_at?: string;
|
|
3102
3295
|
email?: string;
|
|
@@ -3122,6 +3315,12 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3122
3315
|
updated_at?: string;
|
|
3123
3316
|
};
|
|
3124
3317
|
Relationships: [{
|
|
3318
|
+
foreignKeyName: "acq_contacts_client_id_fkey";
|
|
3319
|
+
columns: ["client_id"];
|
|
3320
|
+
isOneToOne: false;
|
|
3321
|
+
referencedRelation: "clients";
|
|
3322
|
+
referencedColumns: ["id"];
|
|
3323
|
+
}, {
|
|
3125
3324
|
foreignKeyName: "acq_contacts_company_id_fkey";
|
|
3126
3325
|
columns: ["company_id"];
|
|
3127
3326
|
isOneToOne: false;
|
|
@@ -3351,8 +3550,10 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3351
3550
|
acq_deals: {
|
|
3352
3551
|
Row: {
|
|
3353
3552
|
activity_log: Json;
|
|
3553
|
+
client_id: string | null;
|
|
3354
3554
|
closed_lost_at: string | null;
|
|
3355
3555
|
closed_lost_reason: string | null;
|
|
3556
|
+
company_id: string | null;
|
|
3356
3557
|
contact_email: string;
|
|
3357
3558
|
contact_id: string | null;
|
|
3358
3559
|
created_at: string;
|
|
@@ -3388,8 +3589,10 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3388
3589
|
};
|
|
3389
3590
|
Insert: {
|
|
3390
3591
|
activity_log?: Json;
|
|
3592
|
+
client_id?: string | null;
|
|
3391
3593
|
closed_lost_at?: string | null;
|
|
3392
3594
|
closed_lost_reason?: string | null;
|
|
3595
|
+
company_id?: string | null;
|
|
3393
3596
|
contact_email: string;
|
|
3394
3597
|
contact_id?: string | null;
|
|
3395
3598
|
created_at?: string;
|
|
@@ -3425,8 +3628,10 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3425
3628
|
};
|
|
3426
3629
|
Update: {
|
|
3427
3630
|
activity_log?: Json;
|
|
3631
|
+
client_id?: string | null;
|
|
3428
3632
|
closed_lost_at?: string | null;
|
|
3429
3633
|
closed_lost_reason?: string | null;
|
|
3634
|
+
company_id?: string | null;
|
|
3430
3635
|
contact_email?: string;
|
|
3431
3636
|
contact_id?: string | null;
|
|
3432
3637
|
created_at?: string;
|
|
@@ -3461,6 +3666,18 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
3461
3666
|
updated_at?: string;
|
|
3462
3667
|
};
|
|
3463
3668
|
Relationships: [{
|
|
3669
|
+
foreignKeyName: "acq_deals_client_id_fkey";
|
|
3670
|
+
columns: ["client_id"];
|
|
3671
|
+
isOneToOne: false;
|
|
3672
|
+
referencedRelation: "clients";
|
|
3673
|
+
referencedColumns: ["id"];
|
|
3674
|
+
}, {
|
|
3675
|
+
foreignKeyName: "acq_deals_company_id_fkey";
|
|
3676
|
+
columns: ["company_id"];
|
|
3677
|
+
isOneToOne: false;
|
|
3678
|
+
referencedRelation: "acq_companies";
|
|
3679
|
+
referencedColumns: ["id"];
|
|
3680
|
+
}, {
|
|
3464
3681
|
foreignKeyName: "acq_deals_contact_id_fkey";
|
|
3465
3682
|
columns: ["contact_id"];
|
|
3466
3683
|
isOneToOne: false;
|
|
@@ -4050,6 +4267,72 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
4050
4267
|
referencedColumns: ["id"];
|
|
4051
4268
|
}];
|
|
4052
4269
|
};
|
|
4270
|
+
clients: {
|
|
4271
|
+
Row: {
|
|
4272
|
+
converted_at: string | null;
|
|
4273
|
+
created_at: string;
|
|
4274
|
+
id: string;
|
|
4275
|
+
metadata: Json;
|
|
4276
|
+
name: string;
|
|
4277
|
+
organization_id: string;
|
|
4278
|
+
primary_company_id: string | null;
|
|
4279
|
+
primary_contact_id: string | null;
|
|
4280
|
+
source_deal_id: string | null;
|
|
4281
|
+
status: string;
|
|
4282
|
+
updated_at: string;
|
|
4283
|
+
};
|
|
4284
|
+
Insert: {
|
|
4285
|
+
converted_at?: string | null;
|
|
4286
|
+
created_at?: string;
|
|
4287
|
+
id?: string;
|
|
4288
|
+
metadata?: Json;
|
|
4289
|
+
name: string;
|
|
4290
|
+
organization_id: string;
|
|
4291
|
+
primary_company_id?: string | null;
|
|
4292
|
+
primary_contact_id?: string | null;
|
|
4293
|
+
source_deal_id?: string | null;
|
|
4294
|
+
status?: string;
|
|
4295
|
+
updated_at?: string;
|
|
4296
|
+
};
|
|
4297
|
+
Update: {
|
|
4298
|
+
converted_at?: string | null;
|
|
4299
|
+
created_at?: string;
|
|
4300
|
+
id?: string;
|
|
4301
|
+
metadata?: Json;
|
|
4302
|
+
name?: string;
|
|
4303
|
+
organization_id?: string;
|
|
4304
|
+
primary_company_id?: string | null;
|
|
4305
|
+
primary_contact_id?: string | null;
|
|
4306
|
+
source_deal_id?: string | null;
|
|
4307
|
+
status?: string;
|
|
4308
|
+
updated_at?: string;
|
|
4309
|
+
};
|
|
4310
|
+
Relationships: [{
|
|
4311
|
+
foreignKeyName: "clients_organization_id_fkey";
|
|
4312
|
+
columns: ["organization_id"];
|
|
4313
|
+
isOneToOne: false;
|
|
4314
|
+
referencedRelation: "organizations";
|
|
4315
|
+
referencedColumns: ["id"];
|
|
4316
|
+
}, {
|
|
4317
|
+
foreignKeyName: "clients_primary_company_id_fkey";
|
|
4318
|
+
columns: ["primary_company_id"];
|
|
4319
|
+
isOneToOne: false;
|
|
4320
|
+
referencedRelation: "acq_companies";
|
|
4321
|
+
referencedColumns: ["id"];
|
|
4322
|
+
}, {
|
|
4323
|
+
foreignKeyName: "clients_primary_contact_id_fkey";
|
|
4324
|
+
columns: ["primary_contact_id"];
|
|
4325
|
+
isOneToOne: false;
|
|
4326
|
+
referencedRelation: "acq_contacts";
|
|
4327
|
+
referencedColumns: ["id"];
|
|
4328
|
+
}, {
|
|
4329
|
+
foreignKeyName: "clients_source_deal_id_fkey";
|
|
4330
|
+
columns: ["source_deal_id"];
|
|
4331
|
+
isOneToOne: false;
|
|
4332
|
+
referencedRelation: "acq_deals";
|
|
4333
|
+
referencedColumns: ["id"];
|
|
4334
|
+
}];
|
|
4335
|
+
};
|
|
4053
4336
|
command_queue: {
|
|
4054
4337
|
Row: {
|
|
4055
4338
|
action_payload: Json | null;
|
|
@@ -4966,6 +5249,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
4966
5249
|
Row: {
|
|
4967
5250
|
actual_end_date: string | null;
|
|
4968
5251
|
client_company_id: string | null;
|
|
5252
|
+
client_id: string | null;
|
|
4969
5253
|
contract_value: number | null;
|
|
4970
5254
|
created_at: string;
|
|
4971
5255
|
deal_id: string | null;
|
|
@@ -4983,6 +5267,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
4983
5267
|
Insert: {
|
|
4984
5268
|
actual_end_date?: string | null;
|
|
4985
5269
|
client_company_id?: string | null;
|
|
5270
|
+
client_id?: string | null;
|
|
4986
5271
|
contract_value?: number | null;
|
|
4987
5272
|
created_at?: string;
|
|
4988
5273
|
deal_id?: string | null;
|
|
@@ -5000,6 +5285,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
5000
5285
|
Update: {
|
|
5001
5286
|
actual_end_date?: string | null;
|
|
5002
5287
|
client_company_id?: string | null;
|
|
5288
|
+
client_id?: string | null;
|
|
5003
5289
|
contract_value?: number | null;
|
|
5004
5290
|
created_at?: string;
|
|
5005
5291
|
deal_id?: string | null;
|
|
@@ -5032,6 +5318,12 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
5032
5318
|
isOneToOne: false;
|
|
5033
5319
|
referencedRelation: "acq_companies";
|
|
5034
5320
|
referencedColumns: ["id"];
|
|
5321
|
+
}, {
|
|
5322
|
+
foreignKeyName: "prj_projects_client_id_fkey";
|
|
5323
|
+
columns: ["client_id"];
|
|
5324
|
+
isOneToOne: false;
|
|
5325
|
+
referencedRelation: "clients";
|
|
5326
|
+
referencedColumns: ["id"];
|
|
5035
5327
|
}, {
|
|
5036
5328
|
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
5037
5329
|
columns: ["deal_id"];
|
|
@@ -5415,6 +5707,63 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
|
|
|
5415
5707
|
referencedColumns: ["id"];
|
|
5416
5708
|
}];
|
|
5417
5709
|
};
|
|
5710
|
+
user_notes: {
|
|
5711
|
+
Row: {
|
|
5712
|
+
content: string;
|
|
5713
|
+
created_at: string;
|
|
5714
|
+
created_by: string;
|
|
5715
|
+
id: string;
|
|
5716
|
+
metadata: Json;
|
|
5717
|
+
organization_id: string | null;
|
|
5718
|
+
pinned: boolean;
|
|
5719
|
+
priority: string;
|
|
5720
|
+
source: string | null;
|
|
5721
|
+
title: string | null;
|
|
5722
|
+
updated_at: string;
|
|
5723
|
+
user_id: string;
|
|
5724
|
+
};
|
|
5725
|
+
Insert: {
|
|
5726
|
+
content: string;
|
|
5727
|
+
created_at?: string;
|
|
5728
|
+
created_by?: string;
|
|
5729
|
+
id?: string;
|
|
5730
|
+
metadata?: Json;
|
|
5731
|
+
organization_id?: string | null;
|
|
5732
|
+
pinned?: boolean;
|
|
5733
|
+
priority?: string;
|
|
5734
|
+
source?: string | null;
|
|
5735
|
+
title?: string | null;
|
|
5736
|
+
updated_at?: string;
|
|
5737
|
+
user_id: string;
|
|
5738
|
+
};
|
|
5739
|
+
Update: {
|
|
5740
|
+
content?: string;
|
|
5741
|
+
created_at?: string;
|
|
5742
|
+
created_by?: string;
|
|
5743
|
+
id?: string;
|
|
5744
|
+
metadata?: Json;
|
|
5745
|
+
organization_id?: string | null;
|
|
5746
|
+
pinned?: boolean;
|
|
5747
|
+
priority?: string;
|
|
5748
|
+
source?: string | null;
|
|
5749
|
+
title?: string | null;
|
|
5750
|
+
updated_at?: string;
|
|
5751
|
+
user_id?: string;
|
|
5752
|
+
};
|
|
5753
|
+
Relationships: [{
|
|
5754
|
+
foreignKeyName: "user_notes_organization_id_fkey";
|
|
5755
|
+
columns: ["organization_id"];
|
|
5756
|
+
isOneToOne: false;
|
|
5757
|
+
referencedRelation: "organizations";
|
|
5758
|
+
referencedColumns: ["id"];
|
|
5759
|
+
}, {
|
|
5760
|
+
foreignKeyName: "user_notes_user_id_fkey";
|
|
5761
|
+
columns: ["user_id"];
|
|
5762
|
+
isOneToOne: false;
|
|
5763
|
+
referencedRelation: "users";
|
|
5764
|
+
referencedColumns: ["id"];
|
|
5765
|
+
}];
|
|
5766
|
+
};
|
|
5418
5767
|
users: {
|
|
5419
5768
|
Row: {
|
|
5420
5769
|
config: Json;
|