@elevasis/ui 2.30.0 → 2.31.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/{CoreAuthKitInner-QC62UHTZ.js → CoreAuthKitInner-KSEGSB67.js} +1 -1
- package/dist/api/index.js +3 -3
- package/dist/app/index.d.ts +122 -1
- package/dist/app/index.js +7 -7
- package/dist/auth/context.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/charts/index.js +4 -4
- package/dist/{chunk-T5Z7G2J2.js → chunk-3BAPR3KA.js} +1 -1
- package/dist/{chunk-4VQ2PXMI.js → chunk-3FV6HBXS.js} +4 -4
- package/dist/{chunk-2DIYILF7.js → chunk-542WPQU2.js} +2 -2
- package/dist/{chunk-SBCIB5TZ.js → chunk-5LJAEZMA.js} +5 -5
- package/dist/{chunk-T2PAD63Y.js → chunk-7HMCB26R.js} +1 -1
- package/dist/chunk-7KC4P3AU.js +357 -0
- package/dist/{chunk-AKOD52HS.js → chunk-CQZ3DNQY.js} +4 -3
- package/dist/{chunk-I2KLQ2HA.js → chunk-DZTG5IAC.js} +7 -1
- package/dist/{chunk-JCGD4GM6.js → chunk-GRDLB6LM.js} +1 -0
- package/dist/{chunk-JKTPRYGV.js → chunk-HQGF4ATG.js} +9 -55
- package/dist/{chunk-SKXXT3E2.js → chunk-HYNYEBHM.js} +4 -4
- package/dist/{chunk-6EFVZV6X.js → chunk-JKSUN5GN.js} +718 -64
- package/dist/{chunk-LRZFLK2F.js → chunk-L2NVFLXU.js} +3 -3
- package/dist/{chunk-6WXDE5LZ.js → chunk-L3BVJWML.js} +1 -1
- package/dist/{chunk-3MDNBHVB.js → chunk-MVFCLZSK.js} +690 -221
- package/dist/{chunk-HYLERWRO.js → chunk-ND42LPY4.js} +6 -6
- package/dist/{chunk-CLUP5H3C.js → chunk-O2QOPJI5.js} +360 -126
- package/dist/{chunk-X2SUMO3P.js → chunk-P55BJZZW.js} +2 -1
- package/dist/{chunk-4FZYEEPK.js → chunk-Q6OYNEGR.js} +5 -5
- package/dist/{chunk-4SY6BTVZ.js → chunk-QDEETKYT.js} +4 -1
- package/dist/{chunk-IKQ42WHU.js → chunk-QHEWXU7I.js} +1 -1
- package/dist/chunk-R2XR4FCV.js +48 -0
- package/dist/chunk-R66W5UDG.js +26 -0
- package/dist/{chunk-3GV5NHSS.js → chunk-SHQXMW4F.js} +39 -211
- package/dist/{chunk-A7B7HLDF.js → chunk-T3IPHEYJ.js} +1889 -301
- package/dist/{chunk-7E3FUTND.js → chunk-TOIXUWR6.js} +1 -1
- package/dist/{chunk-NITGGYH2.js → chunk-TVRQ6AQI.js} +1 -1
- package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
- package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
- package/dist/{chunk-P5WYW2GI.js → chunk-Y4FWCG7Y.js} +150 -305
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.d.ts +205 -11
- package/dist/components/index.js +38 -35
- package/dist/components/navigation/index.js +1 -1
- package/dist/execution/index.d.ts +2 -1
- package/dist/execution/index.js +1 -1
- package/dist/features/auth/index.d.ts +121 -0
- package/dist/features/auth/index.js +1 -1
- package/dist/features/clients/index.css +611 -0
- package/dist/features/clients/index.d.ts +86 -0
- package/dist/features/clients/index.js +719 -0
- package/dist/features/crm/index.d.ts +148 -2
- package/dist/features/crm/index.js +18 -16
- package/dist/features/dashboard/index.d.ts +36 -1
- package/dist/features/dashboard/index.js +14 -14
- package/dist/features/delivery/index.d.ts +121 -0
- package/dist/features/delivery/index.js +18 -16
- package/dist/features/knowledge/index.js +43 -20
- package/dist/features/lead-gen/index.d.ts +17 -11
- package/dist/features/lead-gen/index.js +19 -17
- package/dist/features/monitoring/index.js +17 -16
- package/dist/features/monitoring/requests/index.js +14 -13
- package/dist/features/operations/index.d.ts +38 -2
- package/dist/features/operations/index.js +22 -21
- package/dist/features/seo/index.js +1 -1
- package/dist/features/settings/index.d.ts +121 -0
- package/dist/features/settings/index.js +16 -15
- package/dist/graph/index.js +1 -1
- package/dist/hooks/delivery/index.d.ts +140 -0
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/index.d.ts +583 -19
- package/dist/hooks/index.js +12 -12
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +82 -1
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
- package/dist/hooks/published.d.ts +583 -19
- package/dist/hooks/published.js +12 -12
- package/dist/index.d.ts +680 -21
- package/dist/index.js +13 -13
- package/dist/initialization/index.d.ts +121 -0
- package/dist/initialization/index.js +1 -1
- package/dist/knowledge/index.d.ts +97 -1
- package/dist/knowledge/index.js +1692 -1039
- package/dist/layout/index.d.ts +6 -0
- package/dist/layout/index.js +4 -4
- package/dist/organization/index.js +1 -1
- package/dist/profile/index.d.ts +121 -0
- package/dist/profile/index.js +1 -1
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.d.ts +218 -2
- package/dist/provider/index.js +10 -10
- package/dist/provider/published.d.ts +218 -2
- package/dist/provider/published.js +7 -7
- package/dist/router/context.js +1 -1
- package/dist/router/index.js +1 -1
- package/dist/sse/index.js +1 -1
- package/dist/supabase/index.d.ts +232 -0
- package/dist/supabase/index.js +1 -1
- package/dist/test-utils/index.js +3 -3
- package/dist/test-utils/setup-integration.js +1 -1
- package/dist/test-utils/setup.js +2 -2
- package/dist/theme/index.js +4 -4
- package/dist/theme/presets/index.js +2 -2
- package/dist/typeform/index.js +1 -1
- package/dist/typeform/schemas.js +1 -1
- package/dist/types/index.d.ts +204 -1
- package/dist/utils/index.d.ts +36 -1
- package/dist/utils/index.js +2 -2
- package/dist/vite/index.js +3 -3
- package/dist/vite-plugin-knowledge/index.js +2 -2
- package/dist/zustand/index.js +1 -1
- package/package.json +13 -4
- /package/dist/{chunk-HXZQWMKE.js → chunk-XQHZBA65.js} +0 -0
|
@@ -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"];
|
|
@@ -2947,6 +3068,22 @@ interface ProjectDetail extends ProjectRow {
|
|
|
2947
3068
|
name: string;
|
|
2948
3069
|
domain: string | null;
|
|
2949
3070
|
} | null;
|
|
3071
|
+
deal: ProjectSourceDealRef | null;
|
|
3072
|
+
client: ProjectClientRef | null;
|
|
3073
|
+
}
|
|
3074
|
+
interface ProjectSourceDealRef {
|
|
3075
|
+
id: string;
|
|
3076
|
+
clientId?: string | null;
|
|
3077
|
+
contactEmail: string;
|
|
3078
|
+
stageKey: string | null;
|
|
3079
|
+
stateKey: string | null;
|
|
3080
|
+
sourceListId: string | null;
|
|
3081
|
+
updatedAt: string;
|
|
3082
|
+
}
|
|
3083
|
+
interface ProjectClientRef {
|
|
3084
|
+
id: string;
|
|
3085
|
+
name: string;
|
|
3086
|
+
status: string;
|
|
2950
3087
|
}
|
|
2951
3088
|
|
|
2952
3089
|
declare const projectKeys: {
|
|
@@ -3017,6 +3154,7 @@ declare function useProjectTasks(projectId: string): _tanstack_react_query.UseQu
|
|
|
3017
3154
|
declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
|
|
3018
3155
|
actual_end_date: string | null;
|
|
3019
3156
|
client_company_id: string | null;
|
|
3157
|
+
client_id: string | null;
|
|
3020
3158
|
contract_value: number | null;
|
|
3021
3159
|
created_at: string;
|
|
3022
3160
|
deal_id: string | null;
|
|
@@ -3033,6 +3171,7 @@ declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
|
|
|
3033
3171
|
}, Error, Omit<{
|
|
3034
3172
|
actual_end_date?: string | null;
|
|
3035
3173
|
client_company_id?: string | null;
|
|
3174
|
+
client_id?: string | null;
|
|
3036
3175
|
contract_value?: number | null;
|
|
3037
3176
|
created_at?: string;
|
|
3038
3177
|
deal_id?: string | null;
|
|
@@ -3050,6 +3189,7 @@ declare function useCreateProject(): _tanstack_react_query.UseMutationResult<{
|
|
|
3050
3189
|
declare function useUpdateProject(): _tanstack_react_query.UseMutationResult<{
|
|
3051
3190
|
actual_end_date: string | null;
|
|
3052
3191
|
client_company_id: string | null;
|
|
3192
|
+
client_id: string | null;
|
|
3053
3193
|
contract_value: number | null;
|
|
3054
3194
|
created_at: string;
|
|
3055
3195
|
deal_id: string | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateMilestone, useCreateNote, useCreateProject, useCreateTask, useDeleteMilestone, useDeleteProject, useDeleteTask, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateMilestone, useUpdateProject, useUpdateTask } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateMilestone, useCreateNote, useCreateProject, useCreateTask, useDeleteMilestone, useDeleteProject, useDeleteTask, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateMilestone, useUpdateProject, useUpdateTask } from '../../chunk-7HMCB26R.js';
|
|
2
|
+
import '../../chunk-XQHZBA65.js';
|
|
3
3
|
import '../../chunk-KRWALB24.js';
|
|
4
4
|
import '../../chunk-KJ3QUBNU.js';
|
|
5
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-DZTG5IAC.js';
|