@elevasis/ui 2.29.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 (125) 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 +176 -1
  4. package/dist/app/index.js +11 -11
  5. package/dist/auth/context.js +1 -1
  6. package/dist/auth/index.js +5 -5
  7. package/dist/charts/index.d.ts +2 -1
  8. package/dist/charts/index.js +9 -9
  9. package/dist/{chunk-XTVZFT7U.js → chunk-2Q2JQSQO.js} +1 -1
  10. package/dist/{chunk-LH4GPYDX.js → chunk-3BAPR3KA.js} +19 -3
  11. package/dist/{chunk-HLFFKKT3.js → chunk-3FV6HBXS.js} +17 -17
  12. package/dist/{chunk-WKJ47GIW.js → chunk-533DUEQY.js} +1 -1
  13. package/dist/{chunk-SZWXQHKO.js → chunk-542WPQU2.js} +9 -8
  14. package/dist/{chunk-5CW2HXQA.js → chunk-5LJAEZMA.js} +7 -28
  15. package/dist/{chunk-V3HUIZJX.js → chunk-6IXOKUBC.js} +1 -1
  16. package/dist/{chunk-VKMNWHTL.js → chunk-6YT4IKJ7.js} +3 -3
  17. package/dist/{chunk-CEHUFNAL.js → chunk-7HMCB26R.js} +12 -12
  18. package/dist/chunk-7KC4P3AU.js +357 -0
  19. package/dist/{chunk-OWESKPTJ.js → chunk-CQZ3DNQY.js} +30 -11
  20. package/dist/{chunk-ROSMICXG.js → chunk-CXY7FMUM.js} +35 -20
  21. package/dist/{chunk-I2KLQ2HA.js → chunk-DZTG5IAC.js} +7 -1
  22. package/dist/{chunk-JCGD4GM6.js → chunk-GRDLB6LM.js} +1 -0
  23. package/dist/{chunk-FGDUK74A.js → chunk-HQGF4ATG.js} +10 -56
  24. package/dist/{chunk-HOIT677G.js → chunk-HUJCU55S.js} +1 -1
  25. package/dist/{chunk-OIMPGKDB.js → chunk-HYNYEBHM.js} +4 -4
  26. package/dist/{chunk-GESXCQWY.js → chunk-JA5ECJJB.js} +1 -1
  27. package/dist/{chunk-KU7ZDWQ7.js → chunk-JBWJ6WHZ.js} +1 -1
  28. package/dist/{chunk-HNFQCOD2.js → chunk-JKSUN5GN.js} +1107 -370
  29. package/dist/{chunk-5WWZXCS5.js → chunk-KJ3QUBNU.js} +9 -2
  30. package/dist/{chunk-OHGNCWJP.js → chunk-L2NVFLXU.js} +3 -3
  31. package/dist/{chunk-6WXDE5LZ.js → chunk-L3BVJWML.js} +1 -1
  32. package/dist/{chunk-3DUOPXOJ.js → chunk-MVFCLZSK.js} +691 -222
  33. package/dist/{chunk-A7R2URMV.js → chunk-ND42LPY4.js} +44 -10
  34. package/dist/{chunk-CLUP5H3C.js → chunk-O2QOPJI5.js} +360 -126
  35. package/dist/{chunk-VMJVQAFZ.js → chunk-OAVTMITG.js} +1 -1
  36. package/dist/{chunk-X2SUMO3P.js → chunk-P55BJZZW.js} +2 -1
  37. package/dist/{chunk-QNL7UI5G.js → chunk-Q6OYNEGR.js} +6 -6
  38. package/dist/{chunk-Y3YJKKEB.js → chunk-QDEETKYT.js} +5 -2
  39. package/dist/{chunk-XBMCDGHA.js → chunk-QHEWXU7I.js} +1 -1
  40. package/dist/chunk-R2XR4FCV.js +48 -0
  41. package/dist/chunk-R66W5UDG.js +26 -0
  42. package/dist/{chunk-65RQE3XF.js → chunk-SHQXMW4F.js} +1051 -380
  43. package/dist/{chunk-AK5E6ILJ.js → chunk-T3IPHEYJ.js} +1893 -305
  44. package/dist/{chunk-7E3FUTND.js → chunk-TOIXUWR6.js} +1 -1
  45. package/dist/{chunk-FFDAE2QI.js → chunk-TVRQ6AQI.js} +172 -26
  46. package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
  47. package/dist/{chunk-WFTNY755.js → chunk-VKIZUUPM.js} +1 -1
  48. package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
  49. package/dist/{chunk-S66IQSSR.js → chunk-WF227UBV.js} +1 -1
  50. package/dist/{chunk-6NHCE7JM.js → chunk-Y4FWCG7Y.js} +159 -314
  51. package/dist/components/chat/index.d.ts +2 -1
  52. package/dist/components/chat/index.js +2 -2
  53. package/dist/components/index.d.ts +205 -11
  54. package/dist/components/index.js +51 -48
  55. package/dist/components/navigation/index.js +9 -9
  56. package/dist/execution/index.d.ts +2 -1
  57. package/dist/execution/index.js +1 -1
  58. package/dist/features/auth/index.d.ts +121 -0
  59. package/dist/features/auth/index.js +6 -6
  60. package/dist/features/clients/index.css +611 -0
  61. package/dist/features/clients/index.d.ts +86 -0
  62. package/dist/features/clients/index.js +719 -0
  63. package/dist/features/crm/index.d.ts +148 -2
  64. package/dist/features/crm/index.js +27 -25
  65. package/dist/features/dashboard/index.d.ts +36 -1
  66. package/dist/features/dashboard/index.js +23 -23
  67. package/dist/features/delivery/index.d.ts +121 -0
  68. package/dist/features/delivery/index.js +27 -25
  69. package/dist/features/knowledge/index.js +52 -29
  70. package/dist/features/lead-gen/index.d.ts +116 -12
  71. package/dist/features/lead-gen/index.js +28 -26
  72. package/dist/features/monitoring/index.js +26 -25
  73. package/dist/features/monitoring/requests/index.js +23 -22
  74. package/dist/features/operations/index.d.ts +38 -2
  75. package/dist/features/operations/index.js +32 -31
  76. package/dist/features/seo/index.js +1 -1
  77. package/dist/features/settings/index.d.ts +121 -0
  78. package/dist/features/settings/index.js +25 -24
  79. package/dist/graph/index.js +1 -1
  80. package/dist/hooks/delivery/index.d.ts +140 -0
  81. package/dist/hooks/delivery/index.js +4 -4
  82. package/dist/hooks/index.d.ts +844 -21
  83. package/dist/hooks/index.js +21 -21
  84. package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +82 -1
  85. package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
  86. package/dist/hooks/published.d.ts +844 -21
  87. package/dist/hooks/published.js +21 -21
  88. package/dist/index.d.ts +1056 -27
  89. package/dist/index.js +22 -22
  90. package/dist/initialization/index.d.ts +121 -0
  91. package/dist/initialization/index.js +5 -5
  92. package/dist/knowledge/index.d.ts +151 -1
  93. package/dist/knowledge/index.js +1692 -1039
  94. package/dist/layout/index.d.ts +6 -0
  95. package/dist/layout/index.js +4 -4
  96. package/dist/organization/index.js +5 -5
  97. package/dist/profile/index.d.ts +121 -0
  98. package/dist/profile/index.js +3 -3
  99. package/dist/provider/ElevasisServiceContext.d.ts +11 -5
  100. package/dist/provider/ElevasisServiceContext.js +2 -2
  101. package/dist/provider/index.d.ts +337 -7
  102. package/dist/provider/index.js +18 -18
  103. package/dist/provider/published.d.ts +337 -7
  104. package/dist/provider/published.js +14 -14
  105. package/dist/router/context.js +1 -1
  106. package/dist/router/index.js +1 -1
  107. package/dist/sse/index.js +1 -1
  108. package/dist/supabase/index.d.ts +232 -0
  109. package/dist/supabase/index.js +1 -1
  110. package/dist/test-utils/index.d.ts +3 -0
  111. package/dist/test-utils/index.js +31 -7
  112. package/dist/test-utils/setup-integration.js +1 -1
  113. package/dist/test-utils/setup.js +2 -2
  114. package/dist/theme/index.js +4 -4
  115. package/dist/theme/presets/index.js +2 -2
  116. package/dist/typeform/index.js +1 -1
  117. package/dist/typeform/schemas.js +1 -1
  118. package/dist/types/index.d.ts +204 -1
  119. package/dist/utils/index.d.ts +36 -1
  120. package/dist/utils/index.js +2 -2
  121. package/dist/vite/index.js +3 -3
  122. package/dist/vite-plugin-knowledge/index.js +2 -2
  123. package/dist/zustand/index.js +1 -1
  124. package/package.json +14 -5
  125. /package/dist/{chunk-HXZQWMKE.js → chunk-XQHZBA65.js} +0 -0
@@ -164,6 +164,7 @@ type Database = {
164
164
  batch_id: string | null;
165
165
  category: string | null;
166
166
  category_pain: string | null;
167
+ client_id: string | null;
167
168
  created_at: string;
168
169
  domain: string | null;
169
170
  enrichment_data: Json | null;
@@ -190,6 +191,7 @@ type Database = {
190
191
  batch_id?: string | null;
191
192
  category?: string | null;
192
193
  category_pain?: string | null;
194
+ client_id?: string | null;
193
195
  created_at?: string;
194
196
  domain?: string | null;
195
197
  enrichment_data?: Json | null;
@@ -216,6 +218,7 @@ type Database = {
216
218
  batch_id?: string | null;
217
219
  category?: string | null;
218
220
  category_pain?: string | null;
221
+ client_id?: string | null;
219
222
  created_at?: string;
220
223
  domain?: string | null;
221
224
  enrichment_data?: Json | null;
@@ -239,6 +242,13 @@ type Database = {
239
242
  website?: string | null;
240
243
  };
241
244
  Relationships: [
245
+ {
246
+ foreignKeyName: "acq_companies_client_id_fkey";
247
+ columns: ["client_id"];
248
+ isOneToOne: false;
249
+ referencedRelation: "clients";
250
+ referencedColumns: ["id"];
251
+ },
242
252
  {
243
253
  foreignKeyName: "acq_companies_organization_id_fkey";
244
254
  columns: ["organization_id"];
@@ -253,6 +263,7 @@ type Database = {
253
263
  batch_id: string | null;
254
264
  brochure_first_viewed_at: string | null;
255
265
  brochure_view_count: number;
266
+ client_id: string | null;
256
267
  company_id: string | null;
257
268
  created_at: string;
258
269
  email: string;
@@ -281,6 +292,7 @@ type Database = {
281
292
  batch_id?: string | null;
282
293
  brochure_first_viewed_at?: string | null;
283
294
  brochure_view_count?: number;
295
+ client_id?: string | null;
284
296
  company_id?: string | null;
285
297
  created_at?: string;
286
298
  email: string;
@@ -309,6 +321,7 @@ type Database = {
309
321
  batch_id?: string | null;
310
322
  brochure_first_viewed_at?: string | null;
311
323
  brochure_view_count?: number;
324
+ client_id?: string | null;
312
325
  company_id?: string | null;
313
326
  created_at?: string;
314
327
  email?: string;
@@ -334,6 +347,13 @@ type Database = {
334
347
  updated_at?: string;
335
348
  };
336
349
  Relationships: [
350
+ {
351
+ foreignKeyName: "acq_contacts_client_id_fkey";
352
+ columns: ["client_id"];
353
+ isOneToOne: false;
354
+ referencedRelation: "clients";
355
+ referencedColumns: ["id"];
356
+ },
337
357
  {
338
358
  foreignKeyName: "acq_contacts_company_id_fkey";
339
359
  columns: ["company_id"];
@@ -577,8 +597,10 @@ type Database = {
577
597
  acq_deals: {
578
598
  Row: {
579
599
  activity_log: Json;
600
+ client_id: string | null;
580
601
  closed_lost_at: string | null;
581
602
  closed_lost_reason: string | null;
603
+ company_id: string | null;
582
604
  contact_email: string;
583
605
  contact_id: string | null;
584
606
  created_at: string;
@@ -614,8 +636,10 @@ type Database = {
614
636
  };
615
637
  Insert: {
616
638
  activity_log?: Json;
639
+ client_id?: string | null;
617
640
  closed_lost_at?: string | null;
618
641
  closed_lost_reason?: string | null;
642
+ company_id?: string | null;
619
643
  contact_email: string;
620
644
  contact_id?: string | null;
621
645
  created_at?: string;
@@ -651,8 +675,10 @@ type Database = {
651
675
  };
652
676
  Update: {
653
677
  activity_log?: Json;
678
+ client_id?: string | null;
654
679
  closed_lost_at?: string | null;
655
680
  closed_lost_reason?: string | null;
681
+ company_id?: string | null;
656
682
  contact_email?: string;
657
683
  contact_id?: string | null;
658
684
  created_at?: string;
@@ -687,6 +713,20 @@ type Database = {
687
713
  updated_at?: string;
688
714
  };
689
715
  Relationships: [
716
+ {
717
+ foreignKeyName: "acq_deals_client_id_fkey";
718
+ columns: ["client_id"];
719
+ isOneToOne: false;
720
+ referencedRelation: "clients";
721
+ referencedColumns: ["id"];
722
+ },
723
+ {
724
+ foreignKeyName: "acq_deals_company_id_fkey";
725
+ columns: ["company_id"];
726
+ isOneToOne: false;
727
+ referencedRelation: "acq_companies";
728
+ referencedColumns: ["id"];
729
+ },
690
730
  {
691
731
  foreignKeyName: "acq_deals_contact_id_fkey";
692
732
  columns: ["contact_id"];
@@ -1304,6 +1344,77 @@ type Database = {
1304
1344
  }
1305
1345
  ];
1306
1346
  };
1347
+ clients: {
1348
+ Row: {
1349
+ converted_at: string | null;
1350
+ created_at: string;
1351
+ id: string;
1352
+ metadata: Json;
1353
+ name: string;
1354
+ organization_id: string;
1355
+ primary_company_id: string | null;
1356
+ primary_contact_id: string | null;
1357
+ source_deal_id: string | null;
1358
+ status: string;
1359
+ updated_at: string;
1360
+ };
1361
+ Insert: {
1362
+ converted_at?: string | null;
1363
+ created_at?: string;
1364
+ id?: string;
1365
+ metadata?: Json;
1366
+ name: string;
1367
+ organization_id: string;
1368
+ primary_company_id?: string | null;
1369
+ primary_contact_id?: string | null;
1370
+ source_deal_id?: string | null;
1371
+ status?: string;
1372
+ updated_at?: string;
1373
+ };
1374
+ Update: {
1375
+ converted_at?: string | null;
1376
+ created_at?: string;
1377
+ id?: string;
1378
+ metadata?: Json;
1379
+ name?: string;
1380
+ organization_id?: string;
1381
+ primary_company_id?: string | null;
1382
+ primary_contact_id?: string | null;
1383
+ source_deal_id?: string | null;
1384
+ status?: string;
1385
+ updated_at?: string;
1386
+ };
1387
+ Relationships: [
1388
+ {
1389
+ foreignKeyName: "clients_organization_id_fkey";
1390
+ columns: ["organization_id"];
1391
+ isOneToOne: false;
1392
+ referencedRelation: "organizations";
1393
+ referencedColumns: ["id"];
1394
+ },
1395
+ {
1396
+ foreignKeyName: "clients_primary_company_id_fkey";
1397
+ columns: ["primary_company_id"];
1398
+ isOneToOne: false;
1399
+ referencedRelation: "acq_companies";
1400
+ referencedColumns: ["id"];
1401
+ },
1402
+ {
1403
+ foreignKeyName: "clients_primary_contact_id_fkey";
1404
+ columns: ["primary_contact_id"];
1405
+ isOneToOne: false;
1406
+ referencedRelation: "acq_contacts";
1407
+ referencedColumns: ["id"];
1408
+ },
1409
+ {
1410
+ foreignKeyName: "clients_source_deal_id_fkey";
1411
+ columns: ["source_deal_id"];
1412
+ isOneToOne: false;
1413
+ referencedRelation: "acq_deals";
1414
+ referencedColumns: ["id"];
1415
+ }
1416
+ ];
1417
+ };
1307
1418
  command_queue: {
1308
1419
  Row: {
1309
1420
  action_payload: Json | null;
@@ -2273,6 +2384,7 @@ type Database = {
2273
2384
  Row: {
2274
2385
  actual_end_date: string | null;
2275
2386
  client_company_id: string | null;
2387
+ client_id: string | null;
2276
2388
  contract_value: number | null;
2277
2389
  created_at: string;
2278
2390
  deal_id: string | null;
@@ -2290,6 +2402,7 @@ type Database = {
2290
2402
  Insert: {
2291
2403
  actual_end_date?: string | null;
2292
2404
  client_company_id?: string | null;
2405
+ client_id?: string | null;
2293
2406
  contract_value?: number | null;
2294
2407
  created_at?: string;
2295
2408
  deal_id?: string | null;
@@ -2307,6 +2420,7 @@ type Database = {
2307
2420
  Update: {
2308
2421
  actual_end_date?: string | null;
2309
2422
  client_company_id?: string | null;
2423
+ client_id?: string | null;
2310
2424
  contract_value?: number | null;
2311
2425
  created_at?: string;
2312
2426
  deal_id?: string | null;
@@ -2343,6 +2457,13 @@ type Database = {
2343
2457
  referencedRelation: "acq_companies";
2344
2458
  referencedColumns: ["id"];
2345
2459
  },
2460
+ {
2461
+ foreignKeyName: "prj_projects_client_id_fkey";
2462
+ columns: ["client_id"];
2463
+ isOneToOne: false;
2464
+ referencedRelation: "clients";
2465
+ referencedColumns: ["id"];
2466
+ },
2346
2467
  {
2347
2468
  foreignKeyName: "prj_projects_deal_id_fkey";
2348
2469
  columns: ["deal_id"];
@@ -3017,10 +3138,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3017
3138
  instantlyCampaignId: z$1.ZodNullable<z$1.ZodString>;
3018
3139
  status: z$1.ZodEnum<{
3019
3140
  closing: "closing";
3141
+ archived: "archived";
3020
3142
  draft: "draft";
3021
3143
  enriching: "enriching";
3022
3144
  launched: "launched";
3023
- archived: "archived";
3024
3145
  }>;
3025
3146
  metadata: z$1.ZodObject<{
3026
3147
  buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -3040,11 +3161,65 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3040
3161
  export: "export";
3041
3162
  }>>;
3042
3163
  stageKey: z$1.ZodString;
3164
+ recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
3165
+ company: "company";
3166
+ contact: "contact";
3167
+ }>>;
3168
+ recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
3169
+ recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
3043
3170
  dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3044
3171
  dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
3045
3172
  capabilityKey: z$1.ZodString;
3046
3173
  defaultBatchSize: z$1.ZodNumber;
3047
3174
  maxBatchSize: z$1.ZodNumber;
3175
+ recordColumns: z$1.ZodOptional<z$1.ZodObject<{
3176
+ company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3177
+ key: z$1.ZodString;
3178
+ label: z$1.ZodString;
3179
+ path: z$1.ZodString;
3180
+ width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3181
+ renderType: z$1.ZodOptional<z$1.ZodEnum<{
3182
+ text: "text";
3183
+ badge: "badge";
3184
+ datetime: "datetime";
3185
+ count: "count";
3186
+ json: "json";
3187
+ }>>;
3188
+ badgeColor: z$1.ZodOptional<z$1.ZodString>;
3189
+ }, z$1.core.$strip>>>;
3190
+ contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3191
+ key: z$1.ZodString;
3192
+ label: z$1.ZodString;
3193
+ path: z$1.ZodString;
3194
+ width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3195
+ renderType: z$1.ZodOptional<z$1.ZodEnum<{
3196
+ text: "text";
3197
+ badge: "badge";
3198
+ datetime: "datetime";
3199
+ count: "count";
3200
+ json: "json";
3201
+ }>>;
3202
+ badgeColor: z$1.ZodOptional<z$1.ZodString>;
3203
+ }, z$1.core.$strip>>>;
3204
+ }, z$1.core.$strip>>;
3205
+ credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3206
+ key: z$1.ZodString;
3207
+ provider: z$1.ZodString;
3208
+ credentialType: z$1.ZodEnum<{
3209
+ "api-key": "api-key";
3210
+ "api-key-secret": "api-key-secret";
3211
+ oauth: "oauth";
3212
+ "webhook-secret": "webhook-secret";
3213
+ }>;
3214
+ label: z$1.ZodString;
3215
+ required: z$1.ZodBoolean;
3216
+ selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
3217
+ single: "single";
3218
+ multiple: "multiple";
3219
+ }>>;
3220
+ inputPath: z$1.ZodString;
3221
+ verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
3222
+ }, z$1.core.$strip>>>;
3048
3223
  }, z$1.core.$strip>>;
3049
3224
  }, z$1.core.$strip>>;
3050
3225
  }, z$1.core.$catchall<z$1.ZodUnknown>>;
@@ -3116,6 +3291,7 @@ declare const FeatureSchema: z$1.ZodObject<{
3116
3291
  "knowledge.reference": "knowledge.reference";
3117
3292
  "feature.dashboard": "feature.dashboard";
3118
3293
  "feature.calendar": "feature.calendar";
3294
+ "feature.business": "feature.business";
3119
3295
  "feature.sales": "feature.sales";
3120
3296
  "feature.crm": "feature.crm";
3121
3297
  "feature.finance": "feature.finance";
@@ -3199,6 +3375,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3199
3375
  "knowledge.reference": "knowledge.reference";
3200
3376
  "feature.dashboard": "feature.dashboard";
3201
3377
  "feature.calendar": "feature.calendar";
3378
+ "feature.business": "feature.business";
3202
3379
  "feature.sales": "feature.sales";
3203
3380
  "feature.crm": "feature.crm";
3204
3381
  "feature.finance": "feature.finance";
@@ -3300,6 +3477,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3300
3477
  "knowledge.reference": "knowledge.reference";
3301
3478
  "feature.dashboard": "feature.dashboard";
3302
3479
  "feature.calendar": "feature.calendar";
3480
+ "feature.business": "feature.business";
3303
3481
  "feature.sales": "feature.sales";
3304
3482
  "feature.crm": "feature.crm";
3305
3483
  "feature.finance": "feature.finance";
@@ -3392,6 +3570,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3392
3570
  "knowledge.reference": "knowledge.reference";
3393
3571
  "feature.dashboard": "feature.dashboard";
3394
3572
  "feature.calendar": "feature.calendar";
3573
+ "feature.business": "feature.business";
3395
3574
  "feature.sales": "feature.sales";
3396
3575
  "feature.crm": "feature.crm";
3397
3576
  "feature.finance": "feature.finance";
@@ -3481,6 +3660,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3481
3660
  "knowledge.reference": "knowledge.reference";
3482
3661
  "feature.dashboard": "feature.dashboard";
3483
3662
  "feature.calendar": "feature.calendar";
3663
+ "feature.business": "feature.business";
3484
3664
  "feature.sales": "feature.sales";
3485
3665
  "feature.crm": "feature.crm";
3486
3666
  "feature.finance": "feature.finance";
@@ -3554,6 +3734,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3554
3734
  "knowledge.reference": "knowledge.reference";
3555
3735
  "feature.dashboard": "feature.dashboard";
3556
3736
  "feature.calendar": "feature.calendar";
3737
+ "feature.business": "feature.business";
3557
3738
  "feature.sales": "feature.sales";
3558
3739
  "feature.crm": "feature.crm";
3559
3740
  "feature.finance": "feature.finance";
@@ -3628,6 +3809,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3628
3809
  "knowledge.reference": "knowledge.reference";
3629
3810
  "feature.dashboard": "feature.dashboard";
3630
3811
  "feature.calendar": "feature.calendar";
3812
+ "feature.business": "feature.business";
3631
3813
  "feature.sales": "feature.sales";
3632
3814
  "feature.crm": "feature.crm";
3633
3815
  "feature.finance": "feature.finance";
@@ -3699,6 +3881,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3699
3881
  "knowledge.reference": "knowledge.reference";
3700
3882
  "feature.dashboard": "feature.dashboard";
3701
3883
  "feature.calendar": "feature.calendar";
3884
+ "feature.business": "feature.business";
3702
3885
  "feature.sales": "feature.sales";
3703
3886
  "feature.crm": "feature.crm";
3704
3887
  "feature.finance": "feature.finance";
@@ -3758,11 +3941,65 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3758
3941
  export: "export";
3759
3942
  }>>;
3760
3943
  stageKey: z$1.ZodString;
3944
+ recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
3945
+ company: "company";
3946
+ contact: "contact";
3947
+ }>>;
3948
+ recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
3949
+ recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
3761
3950
  dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3762
3951
  dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
3763
3952
  capabilityKey: z$1.ZodString;
3764
3953
  defaultBatchSize: z$1.ZodNumber;
3765
3954
  maxBatchSize: z$1.ZodNumber;
3955
+ recordColumns: z$1.ZodOptional<z$1.ZodObject<{
3956
+ company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3957
+ key: z$1.ZodString;
3958
+ label: z$1.ZodString;
3959
+ path: z$1.ZodString;
3960
+ width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3961
+ renderType: z$1.ZodOptional<z$1.ZodEnum<{
3962
+ text: "text";
3963
+ badge: "badge";
3964
+ datetime: "datetime";
3965
+ count: "count";
3966
+ json: "json";
3967
+ }>>;
3968
+ badgeColor: z$1.ZodOptional<z$1.ZodString>;
3969
+ }, z$1.core.$strip>>>;
3970
+ contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3971
+ key: z$1.ZodString;
3972
+ label: z$1.ZodString;
3973
+ path: z$1.ZodString;
3974
+ width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3975
+ renderType: z$1.ZodOptional<z$1.ZodEnum<{
3976
+ text: "text";
3977
+ badge: "badge";
3978
+ datetime: "datetime";
3979
+ count: "count";
3980
+ json: "json";
3981
+ }>>;
3982
+ badgeColor: z$1.ZodOptional<z$1.ZodString>;
3983
+ }, z$1.core.$strip>>>;
3984
+ }, z$1.core.$strip>>;
3985
+ credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3986
+ key: z$1.ZodString;
3987
+ provider: z$1.ZodString;
3988
+ credentialType: z$1.ZodEnum<{
3989
+ "api-key": "api-key";
3990
+ "api-key-secret": "api-key-secret";
3991
+ oauth: "oauth";
3992
+ "webhook-secret": "webhook-secret";
3993
+ }>;
3994
+ label: z$1.ZodString;
3995
+ required: z$1.ZodBoolean;
3996
+ selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
3997
+ single: "single";
3998
+ multiple: "multiple";
3999
+ }>>;
4000
+ inputPath: z$1.ZodString;
4001
+ verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
4002
+ }, z$1.core.$strip>>>;
3766
4003
  }, z$1.core.$strip>>;
3767
4004
  }, z$1.core.$strip>>;
3768
4005
  }, z$1.core.$strip>;
@@ -3792,6 +4029,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3792
4029
  "knowledge.reference": "knowledge.reference";
3793
4030
  "feature.dashboard": "feature.dashboard";
3794
4031
  "feature.calendar": "feature.calendar";
4032
+ "feature.business": "feature.business";
3795
4033
  "feature.sales": "feature.sales";
3796
4034
  "feature.crm": "feature.crm";
3797
4035
  "feature.finance": "feature.finance";
@@ -3865,6 +4103,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3865
4103
  "knowledge.reference": "knowledge.reference";
3866
4104
  "feature.dashboard": "feature.dashboard";
3867
4105
  "feature.calendar": "feature.calendar";
4106
+ "feature.business": "feature.business";
3868
4107
  "feature.sales": "feature.sales";
3869
4108
  "feature.crm": "feature.crm";
3870
4109
  "feature.finance": "feature.finance";
@@ -3938,6 +4177,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3938
4177
  "knowledge.reference": "knowledge.reference";
3939
4178
  "feature.dashboard": "feature.dashboard";
3940
4179
  "feature.calendar": "feature.calendar";
4180
+ "feature.business": "feature.business";
3941
4181
  "feature.sales": "feature.sales";
3942
4182
  "feature.crm": "feature.crm";
3943
4183
  "feature.finance": "feature.finance";
@@ -4070,7 +4310,26 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4070
4310
  title: z$1.ZodString;
4071
4311
  responsibilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4072
4312
  reportsToId: z$1.ZodOptional<z$1.ZodString>;
4073
- heldBy: z$1.ZodOptional<z$1.ZodString>;
4313
+ heldBy: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4314
+ kind: z$1.ZodLiteral<"human">;
4315
+ userId: z$1.ZodString;
4316
+ }, z$1.core.$strip>, z$1.ZodObject<{
4317
+ kind: z$1.ZodLiteral<"agent">;
4318
+ agentId: z$1.ZodString;
4319
+ }, z$1.core.$strip>, z$1.ZodObject<{
4320
+ kind: z$1.ZodLiteral<"team">;
4321
+ memberIds: z$1.ZodArray<z$1.ZodString>;
4322
+ }, z$1.core.$strip>], "kind">, z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4323
+ kind: z$1.ZodLiteral<"human">;
4324
+ userId: z$1.ZodString;
4325
+ }, z$1.core.$strip>, z$1.ZodObject<{
4326
+ kind: z$1.ZodLiteral<"agent">;
4327
+ agentId: z$1.ZodString;
4328
+ }, z$1.core.$strip>, z$1.ZodObject<{
4329
+ kind: z$1.ZodLiteral<"team">;
4330
+ memberIds: z$1.ZodArray<z$1.ZodString>;
4331
+ }, z$1.core.$strip>], "kind">>]>>;
4332
+ responsibleFor: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4074
4333
  }, z$1.core.$strip>>>;
4075
4334
  }, z$1.core.$strip>>;
4076
4335
  goals: z$1.ZodDefault<z$1.ZodObject<{
@@ -4088,6 +4347,70 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4088
4347
  }, z$1.core.$strip>>>;
4089
4348
  }, z$1.core.$strip>>>;
4090
4349
  }, z$1.core.$strip>>;
4350
+ systems: z$1.ZodDefault<z$1.ZodObject<{
4351
+ systems: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4352
+ id: z$1.ZodString;
4353
+ title: z$1.ZodString;
4354
+ description: z$1.ZodString;
4355
+ kind: z$1.ZodEnum<{
4356
+ platform: "platform";
4357
+ product: "product";
4358
+ operational: "operational";
4359
+ diagnostic: "diagnostic";
4360
+ }>;
4361
+ responsibleRoleId: z$1.ZodOptional<z$1.ZodString>;
4362
+ governedByKnowledge: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4363
+ drivesGoals: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4364
+ status: z$1.ZodEnum<{
4365
+ active: "active";
4366
+ deprecated: "deprecated";
4367
+ archived: "archived";
4368
+ }>;
4369
+ }, z$1.core.$strip>>>;
4370
+ }, z$1.core.$strip>>;
4371
+ resources: z$1.ZodDefault<z$1.ZodObject<{
4372
+ entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4373
+ id: z$1.ZodString;
4374
+ systemId: z$1.ZodString;
4375
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4376
+ status: z$1.ZodEnum<{
4377
+ active: "active";
4378
+ deprecated: "deprecated";
4379
+ archived: "archived";
4380
+ }>;
4381
+ kind: z$1.ZodLiteral<"workflow">;
4382
+ capabilityKey: z$1.ZodOptional<z$1.ZodString>;
4383
+ }, z$1.core.$strip>, z$1.ZodObject<{
4384
+ id: z$1.ZodString;
4385
+ systemId: z$1.ZodString;
4386
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4387
+ status: z$1.ZodEnum<{
4388
+ active: "active";
4389
+ deprecated: "deprecated";
4390
+ archived: "archived";
4391
+ }>;
4392
+ kind: z$1.ZodLiteral<"agent">;
4393
+ agentKind: z$1.ZodEnum<{
4394
+ orchestrator: "orchestrator";
4395
+ specialist: "specialist";
4396
+ utility: "utility";
4397
+ system: "system";
4398
+ }>;
4399
+ actsAsRoleId: z$1.ZodOptional<z$1.ZodString>;
4400
+ sessionCapable: z$1.ZodBoolean;
4401
+ }, z$1.core.$strip>, z$1.ZodObject<{
4402
+ id: z$1.ZodString;
4403
+ systemId: z$1.ZodString;
4404
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4405
+ status: z$1.ZodEnum<{
4406
+ active: "active";
4407
+ deprecated: "deprecated";
4408
+ archived: "archived";
4409
+ }>;
4410
+ kind: z$1.ZodLiteral<"integration">;
4411
+ provider: z$1.ZodString;
4412
+ }, z$1.core.$strip>], "kind">>>;
4413
+ }, z$1.core.$strip>>;
4091
4414
  statuses: z$1.ZodDefault<z$1.ZodObject<{
4092
4415
  entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4093
4416
  id: z$1.ZodString;
@@ -4148,6 +4471,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4148
4471
  "knowledge.reference": "knowledge.reference";
4149
4472
  "feature.dashboard": "feature.dashboard";
4150
4473
  "feature.calendar": "feature.calendar";
4474
+ "feature.business": "feature.business";
4151
4475
  "feature.sales": "feature.sales";
4152
4476
  "feature.crm": "feature.crm";
4153
4477
  "feature.finance": "feature.finance";
@@ -4452,12 +4776,18 @@ interface ElevasisCoreProviderProps {
4452
4776
  */
4453
4777
  interface ElevasisServiceContextValue {
4454
4778
  apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
4779
+ /** Organization ID alias retained for existing query-key consumers. */
4455
4780
  organizationId: string | null;
4781
+ /** WorkOS `org_xxx` string for the current organization. */
4782
+ workOSOrganizationId: string | null;
4456
4783
  isReady: boolean;
4457
4784
  }
4458
4785
  interface ElevasisServiceProviderProps {
4459
4786
  apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
4460
- organizationId: string | null;
4787
+ /** Organization ID alias retained for existing query-key consumers. */
4788
+ organizationId?: string | null;
4789
+ /** WorkOS `org_xxx` string for the current organization. */
4790
+ workOSOrganizationId?: string | null;
4461
4791
  isReady: boolean;
4462
4792
  children: ReactNode;
4463
4793
  }
@@ -4660,7 +4990,7 @@ declare function useAppearance(): Required<AppearanceConfig>;
4660
4990
 
4661
4991
  /**
4662
4992
  * Hook to access the ElevasisServiceProvider context.
4663
- * Provides apiRequest, organizationId, and isReady.
4993
+ * Provides apiRequest, workOSOrganizationId, and isReady.
4664
4994
  *
4665
4995
  * Throws if used outside of an ElevasisServiceProvider or ElevasisUIProvider (with apiUrl).
4666
4996
  */
@@ -4673,19 +5003,19 @@ declare function useElevasisServices(): ElevasisServiceContextValue;
4673
5003
  *
4674
5004
  * @example Testing
4675
5005
  * ```tsx
4676
- * <ElevasisServiceProvider apiRequest={mockApiRequest} organizationId="org-1" isReady={true}>
5006
+ * <ElevasisServiceProvider apiRequest={mockApiRequest} workOSOrganizationId="org-1" isReady={true}>
4677
5007
  * <ComponentUnderTest />
4678
5008
  * </ElevasisServiceProvider>
4679
5009
  * ```
4680
5010
  *
4681
5011
  * @example Embedding
4682
5012
  * ```tsx
4683
- * <ElevasisServiceProvider apiRequest={myFetcher} organizationId={orgId} isReady={!!orgId}>
5013
+ * <ElevasisServiceProvider apiRequest={myFetcher} workOSOrganizationId={orgId} isReady={!!orgId}>
4684
5014
  * <CommandQueuePanel />
4685
5015
  * </ElevasisServiceProvider>
4686
5016
  * ```
4687
5017
  */
4688
- declare function ElevasisServiceProvider({ apiRequest, organizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
5018
+ declare function ElevasisServiceProvider({ apiRequest, organizationId, workOSOrganizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
4689
5019
 
4690
5020
  /**
4691
5021
  * Mantine-specific theme config — extends the headless core config with
@@ -1,31 +1,31 @@
1
- export { createTestFeaturesProvider } from '../chunk-VMJVQAFZ.js';
2
- export { ElevasisUIProvider } from '../chunk-OIMPGKDB.js';
3
- import '../chunk-LH4GPYDX.js';
4
- import '../chunk-HLFFKKT3.js';
1
+ export { createTestFeaturesProvider } from '../chunk-OAVTMITG.js';
2
+ export { ElevasisUIProvider } from '../chunk-HYNYEBHM.js';
3
+ import '../chunk-3BAPR3KA.js';
4
+ import '../chunk-3FV6HBXS.js';
5
5
  import '../chunk-WLOQ4IBG.js';
6
- export { FeatureShell } from '../chunk-Y3YJKKEB.js';
7
- import '../chunk-6WXDE5LZ.js';
6
+ export { FeatureShell } from '../chunk-QDEETKYT.js';
7
+ export { ElevasisFeaturesProvider, useElevasisFeatures, useOptionalElevasisFeatures } from '../chunk-6IXOKUBC.js';
8
+ import '../chunk-L3BVJWML.js';
8
9
  import '../chunk-3KMDHCAR.js';
9
- export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, useCrmActions, useListActions, useNotificationAdapter } from '../chunk-OWESKPTJ.js';
10
+ export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, useCrmActions, useListActions, useNotificationAdapter } from '../chunk-CQZ3DNQY.js';
10
11
  import '../chunk-SZHARWKU.js';
11
- export { ElevasisFeaturesProvider, useElevasisFeatures, useOptionalElevasisFeatures } from '../chunk-V3HUIZJX.js';
12
12
  import '../chunk-TKAYX2SP.js';
13
13
  import '../chunk-NYBEU5TE.js';
14
- import '../chunk-7E3FUTND.js';
14
+ import '../chunk-TOIXUWR6.js';
15
15
  import '../chunk-2IFYDILW.js';
16
16
  import '../chunk-Q7DJKLEN.js';
17
- import '../chunk-GESXCQWY.js';
18
- import '../chunk-HOIT677G.js';
17
+ import '../chunk-JA5ECJJB.js';
18
+ import '../chunk-HUJCU55S.js';
19
19
  export { AppearanceProvider, useAppearance } from '../chunk-E565XMTQ.js';
20
- import '../chunk-KU7ZDWQ7.js';
20
+ import '../chunk-JBWJ6WHZ.js';
21
21
  import '../chunk-DT3QYZVU.js';
22
22
  import '../chunk-RNP5R5I3.js';
23
- import '../chunk-HXZQWMKE.js';
23
+ import '../chunk-XQHZBA65.js';
24
24
  import '../chunk-KRWALB24.js';
25
- import '../chunk-WFTNY755.js';
26
- import '../chunk-WKJ47GIW.js';
25
+ import '../chunk-VKIZUUPM.js';
26
+ import '../chunk-533DUEQY.js';
27
27
  import '../chunk-DD3CCMCZ.js';
28
- import '../chunk-XTVZFT7U.js';
29
- export { ElevasisServiceProvider, useElevasisServices } from '../chunk-5WWZXCS5.js';
28
+ import '../chunk-2Q2JQSQO.js';
29
+ export { ElevasisServiceProvider, useElevasisServices } from '../chunk-KJ3QUBNU.js';
30
30
  import '../chunk-BRJ3QZ4E.js';
31
- import '../chunk-I2KLQ2HA.js';
31
+ import '../chunk-DZTG5IAC.js';