@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.
Files changed (109) hide show
  1. package/dist/{CoreAuthKitInner-QC62UHTZ.js → CoreAuthKitInner-KSEGSB67.js} +1 -1
  2. package/dist/api/index.js +3 -3
  3. package/dist/app/index.d.ts +122 -1
  4. package/dist/app/index.js +7 -7
  5. package/dist/auth/context.js +1 -1
  6. package/dist/auth/index.js +1 -1
  7. package/dist/charts/index.js +4 -4
  8. package/dist/{chunk-T5Z7G2J2.js → chunk-3BAPR3KA.js} +1 -1
  9. package/dist/{chunk-4VQ2PXMI.js → chunk-3FV6HBXS.js} +4 -4
  10. package/dist/{chunk-2DIYILF7.js → chunk-542WPQU2.js} +2 -2
  11. package/dist/{chunk-SBCIB5TZ.js → chunk-5LJAEZMA.js} +5 -5
  12. package/dist/{chunk-T2PAD63Y.js → chunk-7HMCB26R.js} +1 -1
  13. package/dist/chunk-7KC4P3AU.js +357 -0
  14. package/dist/{chunk-AKOD52HS.js → chunk-CQZ3DNQY.js} +4 -3
  15. package/dist/{chunk-I2KLQ2HA.js → chunk-DZTG5IAC.js} +7 -1
  16. package/dist/{chunk-JCGD4GM6.js → chunk-GRDLB6LM.js} +1 -0
  17. package/dist/{chunk-JKTPRYGV.js → chunk-HQGF4ATG.js} +9 -55
  18. package/dist/{chunk-SKXXT3E2.js → chunk-HYNYEBHM.js} +4 -4
  19. package/dist/{chunk-6EFVZV6X.js → chunk-JKSUN5GN.js} +718 -64
  20. package/dist/{chunk-LRZFLK2F.js → chunk-L2NVFLXU.js} +3 -3
  21. package/dist/{chunk-6WXDE5LZ.js → chunk-L3BVJWML.js} +1 -1
  22. package/dist/{chunk-3MDNBHVB.js → chunk-MVFCLZSK.js} +690 -221
  23. package/dist/{chunk-HYLERWRO.js → chunk-ND42LPY4.js} +6 -6
  24. package/dist/{chunk-CLUP5H3C.js → chunk-O2QOPJI5.js} +360 -126
  25. package/dist/{chunk-X2SUMO3P.js → chunk-P55BJZZW.js} +2 -1
  26. package/dist/{chunk-4FZYEEPK.js → chunk-Q6OYNEGR.js} +5 -5
  27. package/dist/{chunk-4SY6BTVZ.js → chunk-QDEETKYT.js} +4 -1
  28. package/dist/{chunk-IKQ42WHU.js → chunk-QHEWXU7I.js} +1 -1
  29. package/dist/chunk-R2XR4FCV.js +48 -0
  30. package/dist/chunk-R66W5UDG.js +26 -0
  31. package/dist/{chunk-3GV5NHSS.js → chunk-SHQXMW4F.js} +39 -211
  32. package/dist/{chunk-A7B7HLDF.js → chunk-T3IPHEYJ.js} +1889 -301
  33. package/dist/{chunk-7E3FUTND.js → chunk-TOIXUWR6.js} +1 -1
  34. package/dist/{chunk-NITGGYH2.js → chunk-TVRQ6AQI.js} +1 -1
  35. package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
  36. package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
  37. package/dist/{chunk-P5WYW2GI.js → chunk-Y4FWCG7Y.js} +150 -305
  38. package/dist/components/chat/index.js +1 -1
  39. package/dist/components/index.d.ts +205 -11
  40. package/dist/components/index.js +38 -35
  41. package/dist/components/navigation/index.js +1 -1
  42. package/dist/execution/index.d.ts +2 -1
  43. package/dist/execution/index.js +1 -1
  44. package/dist/features/auth/index.d.ts +121 -0
  45. package/dist/features/auth/index.js +1 -1
  46. package/dist/features/clients/index.css +611 -0
  47. package/dist/features/clients/index.d.ts +86 -0
  48. package/dist/features/clients/index.js +719 -0
  49. package/dist/features/crm/index.d.ts +148 -2
  50. package/dist/features/crm/index.js +18 -16
  51. package/dist/features/dashboard/index.d.ts +36 -1
  52. package/dist/features/dashboard/index.js +14 -14
  53. package/dist/features/delivery/index.d.ts +121 -0
  54. package/dist/features/delivery/index.js +18 -16
  55. package/dist/features/knowledge/index.js +43 -20
  56. package/dist/features/lead-gen/index.d.ts +17 -11
  57. package/dist/features/lead-gen/index.js +19 -17
  58. package/dist/features/monitoring/index.js +17 -16
  59. package/dist/features/monitoring/requests/index.js +14 -13
  60. package/dist/features/operations/index.d.ts +38 -2
  61. package/dist/features/operations/index.js +22 -21
  62. package/dist/features/seo/index.js +1 -1
  63. package/dist/features/settings/index.d.ts +121 -0
  64. package/dist/features/settings/index.js +16 -15
  65. package/dist/graph/index.js +1 -1
  66. package/dist/hooks/delivery/index.d.ts +140 -0
  67. package/dist/hooks/delivery/index.js +3 -3
  68. package/dist/hooks/index.d.ts +583 -19
  69. package/dist/hooks/index.js +12 -12
  70. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +82 -1
  71. package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
  72. package/dist/hooks/published.d.ts +583 -19
  73. package/dist/hooks/published.js +12 -12
  74. package/dist/index.d.ts +680 -21
  75. package/dist/index.js +13 -13
  76. package/dist/initialization/index.d.ts +121 -0
  77. package/dist/initialization/index.js +1 -1
  78. package/dist/knowledge/index.d.ts +97 -1
  79. package/dist/knowledge/index.js +1692 -1039
  80. package/dist/layout/index.d.ts +6 -0
  81. package/dist/layout/index.js +4 -4
  82. package/dist/organization/index.js +1 -1
  83. package/dist/profile/index.d.ts +121 -0
  84. package/dist/profile/index.js +1 -1
  85. package/dist/provider/ElevasisServiceContext.js +1 -1
  86. package/dist/provider/index.d.ts +218 -2
  87. package/dist/provider/index.js +10 -10
  88. package/dist/provider/published.d.ts +218 -2
  89. package/dist/provider/published.js +7 -7
  90. package/dist/router/context.js +1 -1
  91. package/dist/router/index.js +1 -1
  92. package/dist/sse/index.js +1 -1
  93. package/dist/supabase/index.d.ts +232 -0
  94. package/dist/supabase/index.js +1 -1
  95. package/dist/test-utils/index.js +3 -3
  96. package/dist/test-utils/setup-integration.js +1 -1
  97. package/dist/test-utils/setup.js +2 -2
  98. package/dist/theme/index.js +4 -4
  99. package/dist/theme/presets/index.js +2 -2
  100. package/dist/typeform/index.js +1 -1
  101. package/dist/typeform/schemas.js +1 -1
  102. package/dist/types/index.d.ts +204 -1
  103. package/dist/utils/index.d.ts +36 -1
  104. package/dist/utils/index.js +2 -2
  105. package/dist/vite/index.js +3 -3
  106. package/dist/vite-plugin-knowledge/index.js +2 -2
  107. package/dist/zustand/index.js +1 -1
  108. package/package.json +13 -4
  109. /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"];
@@ -2954,6 +3075,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
2954
3075
  batch_id: string | null;
2955
3076
  category: string | null;
2956
3077
  category_pain: string | null;
3078
+ client_id: string | null;
2957
3079
  created_at: string;
2958
3080
  domain: string | null;
2959
3081
  enrichment_data: Json | null;
@@ -2980,6 +3102,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
2980
3102
  batch_id?: string | null;
2981
3103
  category?: string | null;
2982
3104
  category_pain?: string | null;
3105
+ client_id?: string | null;
2983
3106
  created_at?: string;
2984
3107
  domain?: string | null;
2985
3108
  enrichment_data?: Json | null;
@@ -3006,6 +3129,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3006
3129
  batch_id?: string | null;
3007
3130
  category?: string | null;
3008
3131
  category_pain?: string | null;
3132
+ client_id?: string | null;
3009
3133
  created_at?: string;
3010
3134
  domain?: string | null;
3011
3135
  enrichment_data?: Json | null;
@@ -3029,6 +3153,12 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3029
3153
  website?: string | null;
3030
3154
  };
3031
3155
  Relationships: [{
3156
+ foreignKeyName: "acq_companies_client_id_fkey";
3157
+ columns: ["client_id"];
3158
+ isOneToOne: false;
3159
+ referencedRelation: "clients";
3160
+ referencedColumns: ["id"];
3161
+ }, {
3032
3162
  foreignKeyName: "acq_companies_organization_id_fkey";
3033
3163
  columns: ["organization_id"];
3034
3164
  isOneToOne: false;
@@ -3041,6 +3171,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3041
3171
  batch_id: string | null;
3042
3172
  brochure_first_viewed_at: string | null;
3043
3173
  brochure_view_count: number;
3174
+ client_id: string | null;
3044
3175
  company_id: string | null;
3045
3176
  created_at: string;
3046
3177
  email: string;
@@ -3069,6 +3200,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3069
3200
  batch_id?: string | null;
3070
3201
  brochure_first_viewed_at?: string | null;
3071
3202
  brochure_view_count?: number;
3203
+ client_id?: string | null;
3072
3204
  company_id?: string | null;
3073
3205
  created_at?: string;
3074
3206
  email: string;
@@ -3097,6 +3229,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3097
3229
  batch_id?: string | null;
3098
3230
  brochure_first_viewed_at?: string | null;
3099
3231
  brochure_view_count?: number;
3232
+ client_id?: string | null;
3100
3233
  company_id?: string | null;
3101
3234
  created_at?: string;
3102
3235
  email?: string;
@@ -3122,6 +3255,12 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3122
3255
  updated_at?: string;
3123
3256
  };
3124
3257
  Relationships: [{
3258
+ foreignKeyName: "acq_contacts_client_id_fkey";
3259
+ columns: ["client_id"];
3260
+ isOneToOne: false;
3261
+ referencedRelation: "clients";
3262
+ referencedColumns: ["id"];
3263
+ }, {
3125
3264
  foreignKeyName: "acq_contacts_company_id_fkey";
3126
3265
  columns: ["company_id"];
3127
3266
  isOneToOne: false;
@@ -3351,8 +3490,10 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3351
3490
  acq_deals: {
3352
3491
  Row: {
3353
3492
  activity_log: Json;
3493
+ client_id: string | null;
3354
3494
  closed_lost_at: string | null;
3355
3495
  closed_lost_reason: string | null;
3496
+ company_id: string | null;
3356
3497
  contact_email: string;
3357
3498
  contact_id: string | null;
3358
3499
  created_at: string;
@@ -3388,8 +3529,10 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3388
3529
  };
3389
3530
  Insert: {
3390
3531
  activity_log?: Json;
3532
+ client_id?: string | null;
3391
3533
  closed_lost_at?: string | null;
3392
3534
  closed_lost_reason?: string | null;
3535
+ company_id?: string | null;
3393
3536
  contact_email: string;
3394
3537
  contact_id?: string | null;
3395
3538
  created_at?: string;
@@ -3425,8 +3568,10 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3425
3568
  };
3426
3569
  Update: {
3427
3570
  activity_log?: Json;
3571
+ client_id?: string | null;
3428
3572
  closed_lost_at?: string | null;
3429
3573
  closed_lost_reason?: string | null;
3574
+ company_id?: string | null;
3430
3575
  contact_email?: string;
3431
3576
  contact_id?: string | null;
3432
3577
  created_at?: string;
@@ -3461,6 +3606,18 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
3461
3606
  updated_at?: string;
3462
3607
  };
3463
3608
  Relationships: [{
3609
+ foreignKeyName: "acq_deals_client_id_fkey";
3610
+ columns: ["client_id"];
3611
+ isOneToOne: false;
3612
+ referencedRelation: "clients";
3613
+ referencedColumns: ["id"];
3614
+ }, {
3615
+ foreignKeyName: "acq_deals_company_id_fkey";
3616
+ columns: ["company_id"];
3617
+ isOneToOne: false;
3618
+ referencedRelation: "acq_companies";
3619
+ referencedColumns: ["id"];
3620
+ }, {
3464
3621
  foreignKeyName: "acq_deals_contact_id_fkey";
3465
3622
  columns: ["contact_id"];
3466
3623
  isOneToOne: false;
@@ -4050,6 +4207,72 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
4050
4207
  referencedColumns: ["id"];
4051
4208
  }];
4052
4209
  };
4210
+ clients: {
4211
+ Row: {
4212
+ converted_at: string | null;
4213
+ created_at: string;
4214
+ id: string;
4215
+ metadata: Json;
4216
+ name: string;
4217
+ organization_id: string;
4218
+ primary_company_id: string | null;
4219
+ primary_contact_id: string | null;
4220
+ source_deal_id: string | null;
4221
+ status: string;
4222
+ updated_at: string;
4223
+ };
4224
+ Insert: {
4225
+ converted_at?: string | null;
4226
+ created_at?: string;
4227
+ id?: string;
4228
+ metadata?: Json;
4229
+ name: string;
4230
+ organization_id: string;
4231
+ primary_company_id?: string | null;
4232
+ primary_contact_id?: string | null;
4233
+ source_deal_id?: string | null;
4234
+ status?: string;
4235
+ updated_at?: string;
4236
+ };
4237
+ Update: {
4238
+ converted_at?: string | null;
4239
+ created_at?: string;
4240
+ id?: string;
4241
+ metadata?: Json;
4242
+ name?: string;
4243
+ organization_id?: string;
4244
+ primary_company_id?: string | null;
4245
+ primary_contact_id?: string | null;
4246
+ source_deal_id?: string | null;
4247
+ status?: string;
4248
+ updated_at?: string;
4249
+ };
4250
+ Relationships: [{
4251
+ foreignKeyName: "clients_organization_id_fkey";
4252
+ columns: ["organization_id"];
4253
+ isOneToOne: false;
4254
+ referencedRelation: "organizations";
4255
+ referencedColumns: ["id"];
4256
+ }, {
4257
+ foreignKeyName: "clients_primary_company_id_fkey";
4258
+ columns: ["primary_company_id"];
4259
+ isOneToOne: false;
4260
+ referencedRelation: "acq_companies";
4261
+ referencedColumns: ["id"];
4262
+ }, {
4263
+ foreignKeyName: "clients_primary_contact_id_fkey";
4264
+ columns: ["primary_contact_id"];
4265
+ isOneToOne: false;
4266
+ referencedRelation: "acq_contacts";
4267
+ referencedColumns: ["id"];
4268
+ }, {
4269
+ foreignKeyName: "clients_source_deal_id_fkey";
4270
+ columns: ["source_deal_id"];
4271
+ isOneToOne: false;
4272
+ referencedRelation: "acq_deals";
4273
+ referencedColumns: ["id"];
4274
+ }];
4275
+ };
4053
4276
  command_queue: {
4054
4277
  Row: {
4055
4278
  action_payload: Json | null;
@@ -4966,6 +5189,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
4966
5189
  Row: {
4967
5190
  actual_end_date: string | null;
4968
5191
  client_company_id: string | null;
5192
+ client_id: string | null;
4969
5193
  contract_value: number | null;
4970
5194
  created_at: string;
4971
5195
  deal_id: string | null;
@@ -4983,6 +5207,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
4983
5207
  Insert: {
4984
5208
  actual_end_date?: string | null;
4985
5209
  client_company_id?: string | null;
5210
+ client_id?: string | null;
4986
5211
  contract_value?: number | null;
4987
5212
  created_at?: string;
4988
5213
  deal_id?: string | null;
@@ -5000,6 +5225,7 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
5000
5225
  Update: {
5001
5226
  actual_end_date?: string | null;
5002
5227
  client_company_id?: string | null;
5228
+ client_id?: string | null;
5003
5229
  contract_value?: number | null;
5004
5230
  created_at?: string;
5005
5231
  deal_id?: string | null;
@@ -5032,6 +5258,12 @@ declare const useSupabase: () => SupabaseClient<Database, "public", "public", {
5032
5258
  isOneToOne: false;
5033
5259
  referencedRelation: "acq_companies";
5034
5260
  referencedColumns: ["id"];
5261
+ }, {
5262
+ foreignKeyName: "prj_projects_client_id_fkey";
5263
+ columns: ["client_id"];
5264
+ isOneToOne: false;
5265
+ referencedRelation: "clients";
5266
+ referencedColumns: ["id"];
5035
5267
  }, {
5036
5268
  foreignKeyName: "prj_projects_deal_id_fkey";
5037
5269
  columns: ["deal_id"];
@@ -1,3 +1,3 @@
1
1
  export { getSupabaseClient, useSupabase } from '../chunk-BRXELOHC.js';
2
2
  import '../chunk-BRJ3QZ4E.js';
3
- import '../chunk-I2KLQ2HA.js';
3
+ import '../chunk-DZTG5IAC.js';
@@ -3,12 +3,12 @@ export { handlers, server } from '../chunk-7XKCG5CT.js';
3
3
  import { mockWorkOSUser, mockUseAuth, mockUnauthenticatedUser, mockAuthenticatedUser, mockAuthLoading, createMockUseAuth } from '../chunk-DRQPEMJI.js';
4
4
  export { createMockUseAuth, mockAuthLoading, mockAuthenticatedUser, mockUnauthenticatedUser, mockUseAuth, mockWorkOSUser } from '../chunk-DRQPEMJI.js';
5
5
  import '../chunk-XCYKC6OZ.js';
6
- import { ApiClientProvider } from '../chunk-7E3FUTND.js';
7
- import '../chunk-HXZQWMKE.js';
6
+ import { ApiClientProvider } from '../chunk-TOIXUWR6.js';
7
+ import '../chunk-XQHZBA65.js';
8
8
  import '../chunk-KRWALB24.js';
9
9
  import '../chunk-DD3CCMCZ.js';
10
10
  import { ElevasisServiceProvider } from '../chunk-KJ3QUBNU.js';
11
- import { __export, __reExport } from '../chunk-I2KLQ2HA.js';
11
+ import { __export, __reExport } from '../chunk-DZTG5IAC.js';
12
12
  import { MantineProvider } from '@mantine/core';
13
13
  import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
14
14
  import * as react_star from '@testing-library/react';
@@ -1,6 +1,6 @@
1
1
  import { setupBrowserMocks } from '../chunk-HJ4CJIWN.js';
2
2
  import { mockUseAuth } from '../chunk-DRQPEMJI.js';
3
- import '../chunk-I2KLQ2HA.js';
3
+ import '../chunk-DZTG5IAC.js';
4
4
  import '@testing-library/jest-dom/vitest';
5
5
  import { cleanup } from '@testing-library/react';
6
6
  import { vi, afterEach } from 'vitest';
@@ -1,7 +1,7 @@
1
- import { setupBrowserMocks } from '../chunk-HJ4CJIWN.js';
2
1
  import { server } from '../chunk-7XKCG5CT.js';
2
+ import { setupBrowserMocks } from '../chunk-HJ4CJIWN.js';
3
3
  import { mockUseAuth } from '../chunk-DRQPEMJI.js';
4
- import '../chunk-I2KLQ2HA.js';
4
+ import '../chunk-DZTG5IAC.js';
5
5
  import '@testing-library/jest-dom/vitest';
6
6
  import { cleanup } from '@testing-library/react';
7
7
  import { vi, beforeAll, afterEach, afterAll, expect } from 'vitest';
@@ -1,5 +1,5 @@
1
- export { useAvailablePresets } from '../chunk-IKQ42WHU.js';
2
- export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, mantineThemeOverride, usePresetsContext } from '../chunk-T5Z7G2J2.js';
3
- export { generateShades, getPreset, PRESETS as presets } from '../chunk-4VQ2PXMI.js';
1
+ export { useAvailablePresets } from '../chunk-QHEWXU7I.js';
2
+ export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, mantineThemeOverride, usePresetsContext } from '../chunk-3BAPR3KA.js';
3
+ export { generateShades, getPreset, PRESETS as presets } from '../chunk-3FV6HBXS.js';
4
4
  import '../chunk-WLOQ4IBG.js';
5
- import '../chunk-I2KLQ2HA.js';
5
+ import '../chunk-DZTG5IAC.js';
@@ -1,3 +1,3 @@
1
- export { THEME_PRESETS, ThemePresetEnum, generateShades, getPreset, PRESETS as presets } from '../../chunk-4VQ2PXMI.js';
1
+ export { THEME_PRESETS, ThemePresetEnum, generateShades, getPreset, PRESETS as presets } from '../../chunk-3FV6HBXS.js';
2
2
  import '../../chunk-WLOQ4IBG.js';
3
- import '../../chunk-I2KLQ2HA.js';
3
+ import '../../chunk-DZTG5IAC.js';
@@ -1,5 +1,5 @@
1
1
  export { answerValueSchema, checkboxWithOtherSchema, multiAnswerValueSchema, radioWithOtherSchema } from '../chunk-6M6OLGQY.js';
2
- import '../chunk-I2KLQ2HA.js';
2
+ import '../chunk-DZTG5IAC.js';
3
3
  import { createContext, useMemo, useState, useCallback, useEffect, useContext, useRef } from 'react';
4
4
  import { Box, Progress, Text, Group, Button, Kbd, Modal, Stack, Transition, Title, UnstyledButton, TextInput, Textarea, Center, Alert, Card, ActionIcon, Paper } from '@mantine/core';
5
5
  import { IconArrowLeft, IconCheck, IconArrowRight, IconPlus, IconPencil, IconTrash, IconX } from '@tabler/icons-react';
@@ -1,2 +1,2 @@
1
1
  export { answerValueSchema, checkboxWithOtherSchema, multiAnswerValueSchema, radioWithOtherSchema } from '../chunk-6M6OLGQY.js';
2
- import '../chunk-I2KLQ2HA.js';
2
+ import '../chunk-DZTG5IAC.js';