@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
@@ -163,6 +163,7 @@ type Database = {
163
163
  batch_id: string | null;
164
164
  category: string | null;
165
165
  category_pain: string | null;
166
+ client_id: string | null;
166
167
  created_at: string;
167
168
  domain: string | null;
168
169
  enrichment_data: Json | null;
@@ -189,6 +190,7 @@ type Database = {
189
190
  batch_id?: string | null;
190
191
  category?: string | null;
191
192
  category_pain?: string | null;
193
+ client_id?: string | null;
192
194
  created_at?: string;
193
195
  domain?: string | null;
194
196
  enrichment_data?: Json | null;
@@ -215,6 +217,7 @@ type Database = {
215
217
  batch_id?: string | null;
216
218
  category?: string | null;
217
219
  category_pain?: string | null;
220
+ client_id?: string | null;
218
221
  created_at?: string;
219
222
  domain?: string | null;
220
223
  enrichment_data?: Json | null;
@@ -238,6 +241,13 @@ type Database = {
238
241
  website?: string | null;
239
242
  };
240
243
  Relationships: [
244
+ {
245
+ foreignKeyName: "acq_companies_client_id_fkey";
246
+ columns: ["client_id"];
247
+ isOneToOne: false;
248
+ referencedRelation: "clients";
249
+ referencedColumns: ["id"];
250
+ },
241
251
  {
242
252
  foreignKeyName: "acq_companies_organization_id_fkey";
243
253
  columns: ["organization_id"];
@@ -252,6 +262,7 @@ type Database = {
252
262
  batch_id: string | null;
253
263
  brochure_first_viewed_at: string | null;
254
264
  brochure_view_count: number;
265
+ client_id: string | null;
255
266
  company_id: string | null;
256
267
  created_at: string;
257
268
  email: string;
@@ -280,6 +291,7 @@ type Database = {
280
291
  batch_id?: string | null;
281
292
  brochure_first_viewed_at?: string | null;
282
293
  brochure_view_count?: number;
294
+ client_id?: string | null;
283
295
  company_id?: string | null;
284
296
  created_at?: string;
285
297
  email: string;
@@ -308,6 +320,7 @@ type Database = {
308
320
  batch_id?: string | null;
309
321
  brochure_first_viewed_at?: string | null;
310
322
  brochure_view_count?: number;
323
+ client_id?: string | null;
311
324
  company_id?: string | null;
312
325
  created_at?: string;
313
326
  email?: string;
@@ -333,6 +346,13 @@ type Database = {
333
346
  updated_at?: string;
334
347
  };
335
348
  Relationships: [
349
+ {
350
+ foreignKeyName: "acq_contacts_client_id_fkey";
351
+ columns: ["client_id"];
352
+ isOneToOne: false;
353
+ referencedRelation: "clients";
354
+ referencedColumns: ["id"];
355
+ },
336
356
  {
337
357
  foreignKeyName: "acq_contacts_company_id_fkey";
338
358
  columns: ["company_id"];
@@ -576,8 +596,10 @@ type Database = {
576
596
  acq_deals: {
577
597
  Row: {
578
598
  activity_log: Json;
599
+ client_id: string | null;
579
600
  closed_lost_at: string | null;
580
601
  closed_lost_reason: string | null;
602
+ company_id: string | null;
581
603
  contact_email: string;
582
604
  contact_id: string | null;
583
605
  created_at: string;
@@ -613,8 +635,10 @@ type Database = {
613
635
  };
614
636
  Insert: {
615
637
  activity_log?: Json;
638
+ client_id?: string | null;
616
639
  closed_lost_at?: string | null;
617
640
  closed_lost_reason?: string | null;
641
+ company_id?: string | null;
618
642
  contact_email: string;
619
643
  contact_id?: string | null;
620
644
  created_at?: string;
@@ -650,8 +674,10 @@ type Database = {
650
674
  };
651
675
  Update: {
652
676
  activity_log?: Json;
677
+ client_id?: string | null;
653
678
  closed_lost_at?: string | null;
654
679
  closed_lost_reason?: string | null;
680
+ company_id?: string | null;
655
681
  contact_email?: string;
656
682
  contact_id?: string | null;
657
683
  created_at?: string;
@@ -686,6 +712,20 @@ type Database = {
686
712
  updated_at?: string;
687
713
  };
688
714
  Relationships: [
715
+ {
716
+ foreignKeyName: "acq_deals_client_id_fkey";
717
+ columns: ["client_id"];
718
+ isOneToOne: false;
719
+ referencedRelation: "clients";
720
+ referencedColumns: ["id"];
721
+ },
722
+ {
723
+ foreignKeyName: "acq_deals_company_id_fkey";
724
+ columns: ["company_id"];
725
+ isOneToOne: false;
726
+ referencedRelation: "acq_companies";
727
+ referencedColumns: ["id"];
728
+ },
689
729
  {
690
730
  foreignKeyName: "acq_deals_contact_id_fkey";
691
731
  columns: ["contact_id"];
@@ -1303,6 +1343,77 @@ type Database = {
1303
1343
  }
1304
1344
  ];
1305
1345
  };
1346
+ clients: {
1347
+ Row: {
1348
+ converted_at: string | null;
1349
+ created_at: string;
1350
+ id: string;
1351
+ metadata: Json;
1352
+ name: string;
1353
+ organization_id: string;
1354
+ primary_company_id: string | null;
1355
+ primary_contact_id: string | null;
1356
+ source_deal_id: string | null;
1357
+ status: string;
1358
+ updated_at: string;
1359
+ };
1360
+ Insert: {
1361
+ converted_at?: string | null;
1362
+ created_at?: string;
1363
+ id?: string;
1364
+ metadata?: Json;
1365
+ name: string;
1366
+ organization_id: string;
1367
+ primary_company_id?: string | null;
1368
+ primary_contact_id?: string | null;
1369
+ source_deal_id?: string | null;
1370
+ status?: string;
1371
+ updated_at?: string;
1372
+ };
1373
+ Update: {
1374
+ converted_at?: string | null;
1375
+ created_at?: string;
1376
+ id?: string;
1377
+ metadata?: Json;
1378
+ name?: string;
1379
+ organization_id?: string;
1380
+ primary_company_id?: string | null;
1381
+ primary_contact_id?: string | null;
1382
+ source_deal_id?: string | null;
1383
+ status?: string;
1384
+ updated_at?: string;
1385
+ };
1386
+ Relationships: [
1387
+ {
1388
+ foreignKeyName: "clients_organization_id_fkey";
1389
+ columns: ["organization_id"];
1390
+ isOneToOne: false;
1391
+ referencedRelation: "organizations";
1392
+ referencedColumns: ["id"];
1393
+ },
1394
+ {
1395
+ foreignKeyName: "clients_primary_company_id_fkey";
1396
+ columns: ["primary_company_id"];
1397
+ isOneToOne: false;
1398
+ referencedRelation: "acq_companies";
1399
+ referencedColumns: ["id"];
1400
+ },
1401
+ {
1402
+ foreignKeyName: "clients_primary_contact_id_fkey";
1403
+ columns: ["primary_contact_id"];
1404
+ isOneToOne: false;
1405
+ referencedRelation: "acq_contacts";
1406
+ referencedColumns: ["id"];
1407
+ },
1408
+ {
1409
+ foreignKeyName: "clients_source_deal_id_fkey";
1410
+ columns: ["source_deal_id"];
1411
+ isOneToOne: false;
1412
+ referencedRelation: "acq_deals";
1413
+ referencedColumns: ["id"];
1414
+ }
1415
+ ];
1416
+ };
1306
1417
  command_queue: {
1307
1418
  Row: {
1308
1419
  action_payload: Json | null;
@@ -2272,6 +2383,7 @@ type Database = {
2272
2383
  Row: {
2273
2384
  actual_end_date: string | null;
2274
2385
  client_company_id: string | null;
2386
+ client_id: string | null;
2275
2387
  contract_value: number | null;
2276
2388
  created_at: string;
2277
2389
  deal_id: string | null;
@@ -2289,6 +2401,7 @@ type Database = {
2289
2401
  Insert: {
2290
2402
  actual_end_date?: string | null;
2291
2403
  client_company_id?: string | null;
2404
+ client_id?: string | null;
2292
2405
  contract_value?: number | null;
2293
2406
  created_at?: string;
2294
2407
  deal_id?: string | null;
@@ -2306,6 +2419,7 @@ type Database = {
2306
2419
  Update: {
2307
2420
  actual_end_date?: string | null;
2308
2421
  client_company_id?: string | null;
2422
+ client_id?: string | null;
2309
2423
  contract_value?: number | null;
2310
2424
  created_at?: string;
2311
2425
  deal_id?: string | null;
@@ -2342,6 +2456,13 @@ type Database = {
2342
2456
  referencedRelation: "acq_companies";
2343
2457
  referencedColumns: ["id"];
2344
2458
  },
2459
+ {
2460
+ foreignKeyName: "prj_projects_client_id_fkey";
2461
+ columns: ["client_id"];
2462
+ isOneToOne: false;
2463
+ referencedRelation: "clients";
2464
+ referencedColumns: ["id"];
2465
+ },
2345
2466
  {
2346
2467
  foreignKeyName: "prj_projects_deal_id_fkey";
2347
2468
  columns: ["deal_id"];
@@ -3016,10 +3137,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3016
3137
  instantlyCampaignId: z$1.ZodNullable<z$1.ZodString>;
3017
3138
  status: z$1.ZodEnum<{
3018
3139
  closing: "closing";
3140
+ archived: "archived";
3019
3141
  draft: "draft";
3020
3142
  enriching: "enriching";
3021
3143
  launched: "launched";
3022
- archived: "archived";
3023
3144
  }>;
3024
3145
  metadata: z$1.ZodObject<{
3025
3146
  buildPlanSnapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -3039,11 +3160,65 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
3039
3160
  export: "export";
3040
3161
  }>>;
3041
3162
  stageKey: z$1.ZodString;
3163
+ recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
3164
+ company: "company";
3165
+ contact: "contact";
3166
+ }>>;
3167
+ recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
3168
+ recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
3042
3169
  dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3043
3170
  dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
3044
3171
  capabilityKey: z$1.ZodString;
3045
3172
  defaultBatchSize: z$1.ZodNumber;
3046
3173
  maxBatchSize: z$1.ZodNumber;
3174
+ recordColumns: z$1.ZodOptional<z$1.ZodObject<{
3175
+ company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3176
+ key: z$1.ZodString;
3177
+ label: z$1.ZodString;
3178
+ path: z$1.ZodString;
3179
+ width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3180
+ renderType: z$1.ZodOptional<z$1.ZodEnum<{
3181
+ text: "text";
3182
+ badge: "badge";
3183
+ datetime: "datetime";
3184
+ count: "count";
3185
+ json: "json";
3186
+ }>>;
3187
+ badgeColor: z$1.ZodOptional<z$1.ZodString>;
3188
+ }, z$1.core.$strip>>>;
3189
+ contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3190
+ key: z$1.ZodString;
3191
+ label: z$1.ZodString;
3192
+ path: z$1.ZodString;
3193
+ width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3194
+ renderType: z$1.ZodOptional<z$1.ZodEnum<{
3195
+ text: "text";
3196
+ badge: "badge";
3197
+ datetime: "datetime";
3198
+ count: "count";
3199
+ json: "json";
3200
+ }>>;
3201
+ badgeColor: z$1.ZodOptional<z$1.ZodString>;
3202
+ }, z$1.core.$strip>>>;
3203
+ }, z$1.core.$strip>>;
3204
+ credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3205
+ key: z$1.ZodString;
3206
+ provider: z$1.ZodString;
3207
+ credentialType: z$1.ZodEnum<{
3208
+ "api-key": "api-key";
3209
+ "api-key-secret": "api-key-secret";
3210
+ oauth: "oauth";
3211
+ "webhook-secret": "webhook-secret";
3212
+ }>;
3213
+ label: z$1.ZodString;
3214
+ required: z$1.ZodBoolean;
3215
+ selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
3216
+ single: "single";
3217
+ multiple: "multiple";
3218
+ }>>;
3219
+ inputPath: z$1.ZodString;
3220
+ verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
3221
+ }, z$1.core.$strip>>>;
3047
3222
  }, z$1.core.$strip>>;
3048
3223
  }, z$1.core.$strip>>;
3049
3224
  }, z$1.core.$catchall<z$1.ZodUnknown>>;
@@ -3115,6 +3290,7 @@ declare const FeatureSchema: z$1.ZodObject<{
3115
3290
  "knowledge.reference": "knowledge.reference";
3116
3291
  "feature.dashboard": "feature.dashboard";
3117
3292
  "feature.calendar": "feature.calendar";
3293
+ "feature.business": "feature.business";
3118
3294
  "feature.sales": "feature.sales";
3119
3295
  "feature.crm": "feature.crm";
3120
3296
  "feature.finance": "feature.finance";
@@ -3198,6 +3374,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3198
3374
  "knowledge.reference": "knowledge.reference";
3199
3375
  "feature.dashboard": "feature.dashboard";
3200
3376
  "feature.calendar": "feature.calendar";
3377
+ "feature.business": "feature.business";
3201
3378
  "feature.sales": "feature.sales";
3202
3379
  "feature.crm": "feature.crm";
3203
3380
  "feature.finance": "feature.finance";
@@ -3299,6 +3476,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3299
3476
  "knowledge.reference": "knowledge.reference";
3300
3477
  "feature.dashboard": "feature.dashboard";
3301
3478
  "feature.calendar": "feature.calendar";
3479
+ "feature.business": "feature.business";
3302
3480
  "feature.sales": "feature.sales";
3303
3481
  "feature.crm": "feature.crm";
3304
3482
  "feature.finance": "feature.finance";
@@ -3391,6 +3569,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3391
3569
  "knowledge.reference": "knowledge.reference";
3392
3570
  "feature.dashboard": "feature.dashboard";
3393
3571
  "feature.calendar": "feature.calendar";
3572
+ "feature.business": "feature.business";
3394
3573
  "feature.sales": "feature.sales";
3395
3574
  "feature.crm": "feature.crm";
3396
3575
  "feature.finance": "feature.finance";
@@ -3480,6 +3659,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3480
3659
  "knowledge.reference": "knowledge.reference";
3481
3660
  "feature.dashboard": "feature.dashboard";
3482
3661
  "feature.calendar": "feature.calendar";
3662
+ "feature.business": "feature.business";
3483
3663
  "feature.sales": "feature.sales";
3484
3664
  "feature.crm": "feature.crm";
3485
3665
  "feature.finance": "feature.finance";
@@ -3553,6 +3733,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3553
3733
  "knowledge.reference": "knowledge.reference";
3554
3734
  "feature.dashboard": "feature.dashboard";
3555
3735
  "feature.calendar": "feature.calendar";
3736
+ "feature.business": "feature.business";
3556
3737
  "feature.sales": "feature.sales";
3557
3738
  "feature.crm": "feature.crm";
3558
3739
  "feature.finance": "feature.finance";
@@ -3627,6 +3808,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3627
3808
  "knowledge.reference": "knowledge.reference";
3628
3809
  "feature.dashboard": "feature.dashboard";
3629
3810
  "feature.calendar": "feature.calendar";
3811
+ "feature.business": "feature.business";
3630
3812
  "feature.sales": "feature.sales";
3631
3813
  "feature.crm": "feature.crm";
3632
3814
  "feature.finance": "feature.finance";
@@ -3698,6 +3880,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3698
3880
  "knowledge.reference": "knowledge.reference";
3699
3881
  "feature.dashboard": "feature.dashboard";
3700
3882
  "feature.calendar": "feature.calendar";
3883
+ "feature.business": "feature.business";
3701
3884
  "feature.sales": "feature.sales";
3702
3885
  "feature.crm": "feature.crm";
3703
3886
  "feature.finance": "feature.finance";
@@ -3757,11 +3940,65 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3757
3940
  export: "export";
3758
3941
  }>>;
3759
3942
  stageKey: z$1.ZodString;
3943
+ recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
3944
+ company: "company";
3945
+ contact: "contact";
3946
+ }>>;
3947
+ recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
3948
+ recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
3760
3949
  dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
3761
3950
  dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
3762
3951
  capabilityKey: z$1.ZodString;
3763
3952
  defaultBatchSize: z$1.ZodNumber;
3764
3953
  maxBatchSize: z$1.ZodNumber;
3954
+ recordColumns: z$1.ZodOptional<z$1.ZodObject<{
3955
+ company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3956
+ key: z$1.ZodString;
3957
+ label: z$1.ZodString;
3958
+ path: z$1.ZodString;
3959
+ width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3960
+ renderType: z$1.ZodOptional<z$1.ZodEnum<{
3961
+ text: "text";
3962
+ badge: "badge";
3963
+ datetime: "datetime";
3964
+ count: "count";
3965
+ json: "json";
3966
+ }>>;
3967
+ badgeColor: z$1.ZodOptional<z$1.ZodString>;
3968
+ }, z$1.core.$strip>>>;
3969
+ contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3970
+ key: z$1.ZodString;
3971
+ label: z$1.ZodString;
3972
+ path: z$1.ZodString;
3973
+ width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
3974
+ renderType: z$1.ZodOptional<z$1.ZodEnum<{
3975
+ text: "text";
3976
+ badge: "badge";
3977
+ datetime: "datetime";
3978
+ count: "count";
3979
+ json: "json";
3980
+ }>>;
3981
+ badgeColor: z$1.ZodOptional<z$1.ZodString>;
3982
+ }, z$1.core.$strip>>>;
3983
+ }, z$1.core.$strip>>;
3984
+ credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
3985
+ key: z$1.ZodString;
3986
+ provider: z$1.ZodString;
3987
+ credentialType: z$1.ZodEnum<{
3988
+ "api-key": "api-key";
3989
+ "api-key-secret": "api-key-secret";
3990
+ oauth: "oauth";
3991
+ "webhook-secret": "webhook-secret";
3992
+ }>;
3993
+ label: z$1.ZodString;
3994
+ required: z$1.ZodBoolean;
3995
+ selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
3996
+ single: "single";
3997
+ multiple: "multiple";
3998
+ }>>;
3999
+ inputPath: z$1.ZodString;
4000
+ verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
4001
+ }, z$1.core.$strip>>>;
3765
4002
  }, z$1.core.$strip>>;
3766
4003
  }, z$1.core.$strip>>;
3767
4004
  }, z$1.core.$strip>;
@@ -3791,6 +4028,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3791
4028
  "knowledge.reference": "knowledge.reference";
3792
4029
  "feature.dashboard": "feature.dashboard";
3793
4030
  "feature.calendar": "feature.calendar";
4031
+ "feature.business": "feature.business";
3794
4032
  "feature.sales": "feature.sales";
3795
4033
  "feature.crm": "feature.crm";
3796
4034
  "feature.finance": "feature.finance";
@@ -3864,6 +4102,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3864
4102
  "knowledge.reference": "knowledge.reference";
3865
4103
  "feature.dashboard": "feature.dashboard";
3866
4104
  "feature.calendar": "feature.calendar";
4105
+ "feature.business": "feature.business";
3867
4106
  "feature.sales": "feature.sales";
3868
4107
  "feature.crm": "feature.crm";
3869
4108
  "feature.finance": "feature.finance";
@@ -3937,6 +4176,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
3937
4176
  "knowledge.reference": "knowledge.reference";
3938
4177
  "feature.dashboard": "feature.dashboard";
3939
4178
  "feature.calendar": "feature.calendar";
4179
+ "feature.business": "feature.business";
3940
4180
  "feature.sales": "feature.sales";
3941
4181
  "feature.crm": "feature.crm";
3942
4182
  "feature.finance": "feature.finance";
@@ -4069,7 +4309,26 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4069
4309
  title: z$1.ZodString;
4070
4310
  responsibilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4071
4311
  reportsToId: z$1.ZodOptional<z$1.ZodString>;
4072
- heldBy: z$1.ZodOptional<z$1.ZodString>;
4312
+ heldBy: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4313
+ kind: z$1.ZodLiteral<"human">;
4314
+ userId: z$1.ZodString;
4315
+ }, z$1.core.$strip>, z$1.ZodObject<{
4316
+ kind: z$1.ZodLiteral<"agent">;
4317
+ agentId: z$1.ZodString;
4318
+ }, z$1.core.$strip>, z$1.ZodObject<{
4319
+ kind: z$1.ZodLiteral<"team">;
4320
+ memberIds: z$1.ZodArray<z$1.ZodString>;
4321
+ }, z$1.core.$strip>], "kind">, z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4322
+ kind: z$1.ZodLiteral<"human">;
4323
+ userId: z$1.ZodString;
4324
+ }, z$1.core.$strip>, z$1.ZodObject<{
4325
+ kind: z$1.ZodLiteral<"agent">;
4326
+ agentId: z$1.ZodString;
4327
+ }, z$1.core.$strip>, z$1.ZodObject<{
4328
+ kind: z$1.ZodLiteral<"team">;
4329
+ memberIds: z$1.ZodArray<z$1.ZodString>;
4330
+ }, z$1.core.$strip>], "kind">>]>>;
4331
+ responsibleFor: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4073
4332
  }, z$1.core.$strip>>>;
4074
4333
  }, z$1.core.$strip>>;
4075
4334
  goals: z$1.ZodDefault<z$1.ZodObject<{
@@ -4087,6 +4346,70 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4087
4346
  }, z$1.core.$strip>>>;
4088
4347
  }, z$1.core.$strip>>>;
4089
4348
  }, z$1.core.$strip>>;
4349
+ systems: z$1.ZodDefault<z$1.ZodObject<{
4350
+ systems: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4351
+ id: z$1.ZodString;
4352
+ title: z$1.ZodString;
4353
+ description: z$1.ZodString;
4354
+ kind: z$1.ZodEnum<{
4355
+ platform: "platform";
4356
+ product: "product";
4357
+ operational: "operational";
4358
+ diagnostic: "diagnostic";
4359
+ }>;
4360
+ responsibleRoleId: z$1.ZodOptional<z$1.ZodString>;
4361
+ governedByKnowledge: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4362
+ drivesGoals: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
4363
+ status: z$1.ZodEnum<{
4364
+ active: "active";
4365
+ deprecated: "deprecated";
4366
+ archived: "archived";
4367
+ }>;
4368
+ }, z$1.core.$strip>>>;
4369
+ }, z$1.core.$strip>>;
4370
+ resources: z$1.ZodDefault<z$1.ZodObject<{
4371
+ entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4372
+ id: z$1.ZodString;
4373
+ systemId: z$1.ZodString;
4374
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4375
+ status: z$1.ZodEnum<{
4376
+ active: "active";
4377
+ deprecated: "deprecated";
4378
+ archived: "archived";
4379
+ }>;
4380
+ kind: z$1.ZodLiteral<"workflow">;
4381
+ capabilityKey: z$1.ZodOptional<z$1.ZodString>;
4382
+ }, z$1.core.$strip>, z$1.ZodObject<{
4383
+ id: z$1.ZodString;
4384
+ systemId: z$1.ZodString;
4385
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4386
+ status: z$1.ZodEnum<{
4387
+ active: "active";
4388
+ deprecated: "deprecated";
4389
+ archived: "archived";
4390
+ }>;
4391
+ kind: z$1.ZodLiteral<"agent">;
4392
+ agentKind: z$1.ZodEnum<{
4393
+ orchestrator: "orchestrator";
4394
+ specialist: "specialist";
4395
+ utility: "utility";
4396
+ system: "system";
4397
+ }>;
4398
+ actsAsRoleId: z$1.ZodOptional<z$1.ZodString>;
4399
+ sessionCapable: z$1.ZodBoolean;
4400
+ }, z$1.core.$strip>, z$1.ZodObject<{
4401
+ id: z$1.ZodString;
4402
+ systemId: z$1.ZodString;
4403
+ ownerRoleId: z$1.ZodOptional<z$1.ZodString>;
4404
+ status: z$1.ZodEnum<{
4405
+ active: "active";
4406
+ deprecated: "deprecated";
4407
+ archived: "archived";
4408
+ }>;
4409
+ kind: z$1.ZodLiteral<"integration">;
4410
+ provider: z$1.ZodString;
4411
+ }, z$1.core.$strip>], "kind">>>;
4412
+ }, z$1.core.$strip>>;
4090
4413
  statuses: z$1.ZodDefault<z$1.ZodObject<{
4091
4414
  entries: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4092
4415
  id: z$1.ZodString;
@@ -4147,6 +4470,7 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
4147
4470
  "knowledge.reference": "knowledge.reference";
4148
4471
  "feature.dashboard": "feature.dashboard";
4149
4472
  "feature.calendar": "feature.calendar";
4473
+ "feature.business": "feature.business";
4150
4474
  "feature.sales": "feature.sales";
4151
4475
  "feature.crm": "feature.crm";
4152
4476
  "feature.finance": "feature.finance";
@@ -4445,12 +4769,18 @@ interface ElevasisCoreProviderProps {
4445
4769
  */
4446
4770
  interface ElevasisServiceContextValue {
4447
4771
  apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
4772
+ /** Organization ID alias retained for existing query-key consumers. */
4448
4773
  organizationId: string | null;
4774
+ /** WorkOS `org_xxx` string for the current organization. */
4775
+ workOSOrganizationId: string | null;
4449
4776
  isReady: boolean;
4450
4777
  }
4451
4778
  interface ElevasisServiceProviderProps {
4452
4779
  apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
4453
- organizationId: string | null;
4780
+ /** Organization ID alias retained for existing query-key consumers. */
4781
+ organizationId?: string | null;
4782
+ /** WorkOS `org_xxx` string for the current organization. */
4783
+ workOSOrganizationId?: string | null;
4454
4784
  isReady: boolean;
4455
4785
  children: ReactNode;
4456
4786
  }
@@ -4623,7 +4953,7 @@ declare function useAppearance(): Required<AppearanceConfig>;
4623
4953
 
4624
4954
  /**
4625
4955
  * Hook to access the ElevasisServiceProvider context.
4626
- * Provides apiRequest, organizationId, and isReady.
4956
+ * Provides apiRequest, workOSOrganizationId, and isReady.
4627
4957
  *
4628
4958
  * Throws if used outside of an ElevasisServiceProvider or ElevasisUIProvider (with apiUrl).
4629
4959
  */
@@ -4636,19 +4966,19 @@ declare function useElevasisServices(): ElevasisServiceContextValue;
4636
4966
  *
4637
4967
  * @example Testing
4638
4968
  * ```tsx
4639
- * <ElevasisServiceProvider apiRequest={mockApiRequest} organizationId="org-1" isReady={true}>
4969
+ * <ElevasisServiceProvider apiRequest={mockApiRequest} workOSOrganizationId="org-1" isReady={true}>
4640
4970
  * <ComponentUnderTest />
4641
4971
  * </ElevasisServiceProvider>
4642
4972
  * ```
4643
4973
  *
4644
4974
  * @example Embedding
4645
4975
  * ```tsx
4646
- * <ElevasisServiceProvider apiRequest={myFetcher} organizationId={orgId} isReady={!!orgId}>
4976
+ * <ElevasisServiceProvider apiRequest={myFetcher} workOSOrganizationId={orgId} isReady={!!orgId}>
4647
4977
  * <CommandQueuePanel />
4648
4978
  * </ElevasisServiceProvider>
4649
4979
  * ```
4650
4980
  */
4651
- declare function ElevasisServiceProvider({ apiRequest, organizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
4981
+ declare function ElevasisServiceProvider({ apiRequest, organizationId, workOSOrganizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
4652
4982
 
4653
4983
  export { AppearanceProvider, ElevasisCoreProvider, ElevasisFeaturesProvider, ElevasisServiceProvider, FeatureShell, NotificationProvider, useAppearance, useElevasisFeatures, useElevasisServices, useNotificationAdapter, useOptionalElevasisFeatures };
4654
4984
  export type { ApiKeyConfig, AppearanceConfig, AuthConfig, AuthKitConfig, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisFeaturesContextValue, ElevasisFeaturesProviderProps, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisTokenOverrides, FeatureIconComponent, FeatureModule, FeatureSidebarComponent, NotificationAdapter, OrganizationGraphContextValue, OrganizationGraphFeatureBridge, ResolvedFeatureAccess, ResolvedFeatureModule, ResolvedFeatureSemantics, ResolvedShellFeature, ResolvedShellModel, ResolvedShellRouteMatch, ShellRouteMatchStatus, ShellRuntime, WithSchemes };
@@ -1,26 +1,26 @@
1
- export { FeatureShell } from '../chunk-Y3YJKKEB.js';
2
- import '../chunk-6WXDE5LZ.js';
1
+ export { FeatureShell } from '../chunk-QDEETKYT.js';
2
+ export { ElevasisFeaturesProvider, useElevasisFeatures, useOptionalElevasisFeatures } from '../chunk-6IXOKUBC.js';
3
+ import '../chunk-L3BVJWML.js';
3
4
  import '../chunk-3KMDHCAR.js';
4
- export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-OWESKPTJ.js';
5
+ export { ElevasisCoreProvider, NotificationProvider, useNotificationAdapter } from '../chunk-CQZ3DNQY.js';
5
6
  import '../chunk-SZHARWKU.js';
6
- export { ElevasisFeaturesProvider, useElevasisFeatures, useOptionalElevasisFeatures } from '../chunk-V3HUIZJX.js';
7
7
  import '../chunk-TKAYX2SP.js';
8
8
  import '../chunk-NYBEU5TE.js';
9
- import '../chunk-7E3FUTND.js';
9
+ import '../chunk-TOIXUWR6.js';
10
10
  import '../chunk-2IFYDILW.js';
11
11
  import '../chunk-Q7DJKLEN.js';
12
- import '../chunk-GESXCQWY.js';
13
- import '../chunk-HOIT677G.js';
12
+ import '../chunk-JA5ECJJB.js';
13
+ import '../chunk-HUJCU55S.js';
14
14
  export { AppearanceProvider, useAppearance } from '../chunk-E565XMTQ.js';
15
- import '../chunk-KU7ZDWQ7.js';
15
+ import '../chunk-JBWJ6WHZ.js';
16
16
  import '../chunk-DT3QYZVU.js';
17
17
  import '../chunk-RNP5R5I3.js';
18
- import '../chunk-HXZQWMKE.js';
18
+ import '../chunk-XQHZBA65.js';
19
19
  import '../chunk-KRWALB24.js';
20
- import '../chunk-WFTNY755.js';
21
- import '../chunk-WKJ47GIW.js';
20
+ import '../chunk-VKIZUUPM.js';
21
+ import '../chunk-533DUEQY.js';
22
22
  import '../chunk-DD3CCMCZ.js';
23
- import '../chunk-XTVZFT7U.js';
24
- export { ElevasisServiceProvider, useElevasisServices } from '../chunk-5WWZXCS5.js';
23
+ import '../chunk-2Q2JQSQO.js';
24
+ export { ElevasisServiceProvider, useElevasisServices } from '../chunk-KJ3QUBNU.js';
25
25
  import '../chunk-BRJ3QZ4E.js';
26
- import '../chunk-I2KLQ2HA.js';
26
+ import '../chunk-DZTG5IAC.js';
@@ -1,2 +1,2 @@
1
1
  export { RouterProvider, useRouterContext } from '../chunk-Q7DJKLEN.js';
2
- import '../chunk-I2KLQ2HA.js';
2
+ import '../chunk-DZTG5IAC.js';