@elevasis/ui 2.31.0 → 2.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CoreAuthKitInner-KSEGSB67.js → CoreAuthKitInner-QC62UHTZ.js} +1 -1
- package/dist/api/index.js +3 -3
- package/dist/app/index.css +38 -0
- package/dist/app/index.d.ts +69 -9
- package/dist/app/index.js +7 -6
- package/dist/auth/context.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/charts/index.js +5 -6
- package/dist/{chunk-JKSUN5GN.js → chunk-2GMF5IRF.js} +81 -746
- package/dist/{chunk-XQHZBA65.js → chunk-2RJMVWFJ.js} +1 -6
- package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
- package/dist/{chunk-HQGF4ATG.js → chunk-52NLZN6Z.js} +118 -141
- package/dist/chunk-AHCKOU2M.js +13 -0
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/chunk-DWXDNT7P.js +145 -0
- package/dist/chunk-E4T2N7P7.js +124 -0
- package/dist/{chunk-HYNYEBHM.js → chunk-E7C4XEWH.js} +3 -3
- package/dist/{chunk-L3BVJWML.js → chunk-EPTHX4VZ.js} +1 -1
- package/dist/{chunk-QDEETKYT.js → chunk-FFPHJBJC.js} +9 -9
- package/dist/chunk-GNRMB6DC.js +5126 -0
- package/dist/{chunk-DZTG5IAC.js → chunk-I2KLQ2HA.js} +1 -7
- package/dist/{chunk-Q6OYNEGR.js → chunk-IUKFNASA.js} +5 -6
- package/dist/{chunk-QHEWXU7I.js → chunk-JFL3GRD4.js} +1 -1
- package/dist/{chunk-T3IPHEYJ.js → chunk-JHT5JIJ3.js} +4410 -566
- package/dist/{chunk-L2NVFLXU.js → chunk-MHLZ4F4N.js} +4 -4
- package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
- package/dist/{chunk-TOIXUWR6.js → chunk-ND5TDV2J.js} +1 -1
- package/dist/{chunk-5LJAEZMA.js → chunk-NOIRGGW2.js} +5 -6
- package/dist/{chunk-7KC4P3AU.js → chunk-QNOVUCSV.js} +2 -12
- package/dist/{chunk-3BAPR3KA.js → chunk-RQA2EVN3.js} +5 -15
- package/dist/{chunk-ND42LPY4.js → chunk-TKF5S4XP.js} +6 -6
- package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
- package/dist/{chunk-Y4FWCG7Y.js → chunk-UVFOURXR.js} +8 -7
- package/dist/chunk-UW7IV2Y3.js +447 -0
- package/dist/{chunk-P55BJZZW.js → chunk-V6SZ4ECN.js} +20 -5
- package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
- package/dist/chunk-XG57WXOL.js +85 -0
- package/dist/{chunk-SHQXMW4F.js → chunk-XOFSMJLF.js} +46 -28
- package/dist/{chunk-7HMCB26R.js → chunk-XZGSCABI.js} +1 -1
- package/dist/chunk-YAQ25UNM.js +2126 -0
- package/dist/chunk-ZGTDKH3P.js +467 -0
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.css +38 -0
- package/dist/components/index.d.ts +262 -51
- package/dist/components/index.js +37 -39
- package/dist/components/navigation/index.css +38 -0
- package/dist/components/navigation/index.js +5 -3
- package/dist/execution/index.d.ts +11 -2
- package/dist/execution/index.js +1 -1
- package/dist/features/auth/index.css +38 -0
- package/dist/features/auth/index.d.ts +91 -14
- package/dist/features/auth/index.js +42 -10
- package/dist/features/clients/index.css +38 -0
- package/dist/features/clients/index.d.ts +1 -1
- package/dist/features/clients/index.js +17 -15
- package/dist/features/crm/index.css +38 -0
- package/dist/features/crm/index.d.ts +80 -18
- package/dist/features/crm/index.js +17 -15
- package/dist/features/dashboard/index.css +38 -0
- package/dist/features/dashboard/index.d.ts +174 -25
- package/dist/features/dashboard/index.js +17 -16
- package/dist/features/delivery/index.css +38 -0
- package/dist/features/delivery/index.d.ts +80 -18
- package/dist/features/delivery/index.js +16 -15
- package/dist/features/knowledge/index.css +38 -0
- package/dist/features/knowledge/index.d.ts +20 -18
- package/dist/features/knowledge/index.js +114 -609
- package/dist/features/lead-gen/index.css +38 -0
- package/dist/features/lead-gen/index.d.ts +45 -43
- package/dist/features/lead-gen/index.js +17 -16
- package/dist/features/monitoring/index.css +38 -0
- package/dist/features/monitoring/index.d.ts +20 -18
- package/dist/features/monitoring/index.js +18 -17
- package/dist/features/monitoring/requests/index.css +38 -0
- package/dist/features/monitoring/requests/index.d.ts +23 -21
- package/dist/features/monitoring/requests/index.js +16 -14
- package/dist/features/operations/index.css +38 -0
- package/dist/features/operations/index.d.ts +1299 -66
- package/dist/features/operations/index.js +22 -24
- package/dist/features/seo/index.d.ts +20 -18
- package/dist/features/seo/index.js +2 -2
- package/dist/features/settings/index.css +38 -0
- package/dist/features/settings/index.d.ts +80 -18
- package/dist/features/settings/index.js +17 -15
- package/dist/graph/index.js +1 -1
- package/dist/hooks/delivery/index.css +38 -0
- package/dist/hooks/delivery/index.d.ts +60 -0
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/index.css +38 -0
- package/dist/hooks/index.d.ts +492 -89
- package/dist/hooks/index.js +15 -13
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +332 -33
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
- package/dist/hooks/published.css +38 -0
- package/dist/hooks/published.d.ts +492 -89
- package/dist/hooks/published.js +15 -13
- package/dist/index.css +38 -0
- package/dist/index.d.ts +1353 -1349
- package/dist/index.js +16 -14
- package/dist/initialization/index.d.ts +60 -0
- package/dist/initialization/index.js +1 -1
- package/dist/knowledge/index.d.ts +1217 -1292
- package/dist/knowledge/index.js +6538 -2198
- package/dist/knowledge-search-index-P7PR626V.js +1514 -0
- package/dist/layout/index.js +3 -4
- package/dist/organization/index.css +38 -0
- package/dist/organization/index.js +1 -1
- package/dist/profile/index.d.ts +60 -0
- package/dist/profile/index.js +1 -1
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.css +38 -0
- package/dist/provider/index.d.ts +1068 -1246
- package/dist/provider/index.js +12 -10
- package/dist/provider/published.css +38 -0
- package/dist/provider/published.d.ts +1065 -1243
- package/dist/provider/published.js +9 -7
- package/dist/router/context.js +1 -1
- package/dist/router/index.js +1 -1
- package/dist/sse/index.js +1 -1
- package/dist/supabase/index.d.ts +117 -0
- package/dist/supabase/index.js +1 -1
- package/dist/test-utils/index.d.ts +16 -9
- package/dist/test-utils/index.js +40 -33
- package/dist/test-utils/setup-integration.js +1 -1
- package/dist/test-utils/setup.js +1 -1
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/typeform/index.js +1 -1
- package/dist/typeform/schemas.js +1 -1
- package/dist/types/index.d.ts +394 -35
- package/dist/utils/index.d.ts +174 -25
- package/dist/utils/index.js +2 -2
- package/dist/vite/index.js +1 -1
- package/dist/vite-plugin-knowledge/index.js +1 -1
- package/dist/zustand/index.js +1 -1
- package/package.json +10 -9
- package/src/README.md +29 -29
- package/src/api/README.md +18 -18
- package/src/app/README.md +24 -24
- package/src/auth/README.md +18 -18
- package/src/components/README.md +24 -24
- package/src/execution/README.md +16 -16
- package/src/features/README.md +28 -28
- package/src/graph/README.md +16 -16
- package/src/hooks/README.md +23 -23
- package/src/initialization/README.md +19 -19
- package/src/knowledge/README.md +31 -31
- package/src/organization/README.md +18 -18
- package/src/profile/README.md +19 -19
- package/src/provider/README.md +32 -32
- package/src/router/README.md +18 -18
- package/src/sse/README.md +13 -13
- package/src/test-utils/README.md +7 -7
- package/src/theme/README.md +23 -23
- package/src/theme/presets/README.md +19 -19
- package/src/types/README.md +16 -16
- package/src/utils/README.md +18 -18
- package/src/zustand/README.md +18 -18
- package/dist/chunk-542WPQU2.js +0 -413
- package/dist/chunk-6IXOKUBC.js +0 -347
- package/dist/chunk-CQZ3DNQY.js +0 -740
- package/dist/chunk-ECNNI3NT.js +0 -6
- package/dist/chunk-GRDLB6LM.js +0 -160
- package/dist/chunk-JDNEWB5F.js +0 -10
- package/dist/chunk-MVFCLZSK.js +0 -4337
- package/dist/chunk-O2QOPJI5.js +0 -2235
- package/dist/chunk-OAVTMITG.js +0 -13
- package/dist/chunk-TVRQ6AQI.js +0 -476
- package/dist/chunk-WF227UBV.js +0 -48
package/dist/types/index.d.ts
CHANGED
|
@@ -412,50 +412,200 @@ interface ModelConfig {
|
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
|
|
415
|
-
active: "active";
|
|
416
415
|
deprecated: "deprecated";
|
|
416
|
+
active: "active";
|
|
417
417
|
archived: "archived";
|
|
418
418
|
}>;
|
|
419
419
|
declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
420
420
|
id: z.ZodString;
|
|
421
|
-
|
|
421
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
422
|
+
systemPath: z.ZodString;
|
|
422
423
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
423
424
|
status: z.ZodEnum<{
|
|
424
|
-
active: "active";
|
|
425
425
|
deprecated: "deprecated";
|
|
426
|
+
active: "active";
|
|
426
427
|
archived: "archived";
|
|
427
428
|
}>;
|
|
429
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
430
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
431
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
432
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
433
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
434
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
435
|
+
}, z.core.$strip>>;
|
|
436
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
437
|
+
path: z.ZodString;
|
|
438
|
+
role: z.ZodEnum<{
|
|
439
|
+
schema: "schema";
|
|
440
|
+
config: "config";
|
|
441
|
+
entrypoint: "entrypoint";
|
|
442
|
+
handler: "handler";
|
|
443
|
+
test: "test";
|
|
444
|
+
docs: "docs";
|
|
445
|
+
}>;
|
|
446
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
447
|
+
description: z.ZodOptional<z.ZodString>;
|
|
448
|
+
}, z.core.$strip>>>;
|
|
428
449
|
kind: z.ZodLiteral<"workflow">;
|
|
429
|
-
|
|
450
|
+
actionKey: z.ZodOptional<z.ZodString>;
|
|
451
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
452
|
+
eventKey: z.ZodString;
|
|
453
|
+
label: z.ZodString;
|
|
454
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
455
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
456
|
+
deprecated: "deprecated";
|
|
457
|
+
draft: "draft";
|
|
458
|
+
beta: "beta";
|
|
459
|
+
active: "active";
|
|
460
|
+
archived: "archived";
|
|
461
|
+
}>>;
|
|
462
|
+
}, z.core.$strip>>>;
|
|
430
463
|
}, z.core.$strip>, z.ZodObject<{
|
|
431
464
|
id: z.ZodString;
|
|
432
|
-
|
|
465
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
466
|
+
systemPath: z.ZodString;
|
|
433
467
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
434
468
|
status: z.ZodEnum<{
|
|
435
|
-
active: "active";
|
|
436
469
|
deprecated: "deprecated";
|
|
470
|
+
active: "active";
|
|
437
471
|
archived: "archived";
|
|
438
472
|
}>;
|
|
473
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
474
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
475
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
476
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
477
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
478
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
479
|
+
}, z.core.$strip>>;
|
|
480
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
481
|
+
path: z.ZodString;
|
|
482
|
+
role: z.ZodEnum<{
|
|
483
|
+
schema: "schema";
|
|
484
|
+
config: "config";
|
|
485
|
+
entrypoint: "entrypoint";
|
|
486
|
+
handler: "handler";
|
|
487
|
+
test: "test";
|
|
488
|
+
docs: "docs";
|
|
489
|
+
}>;
|
|
490
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
491
|
+
description: z.ZodOptional<z.ZodString>;
|
|
492
|
+
}, z.core.$strip>>>;
|
|
439
493
|
kind: z.ZodLiteral<"agent">;
|
|
440
494
|
agentKind: z.ZodEnum<{
|
|
495
|
+
platform: "platform";
|
|
441
496
|
orchestrator: "orchestrator";
|
|
442
497
|
specialist: "specialist";
|
|
443
498
|
utility: "utility";
|
|
444
|
-
system: "system";
|
|
445
499
|
}>;
|
|
446
500
|
actsAsRoleId: z.ZodOptional<z.ZodString>;
|
|
447
501
|
sessionCapable: z.ZodBoolean;
|
|
502
|
+
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
503
|
+
kind: z.ZodLiteral<"slash-command">;
|
|
504
|
+
command: z.ZodString;
|
|
505
|
+
toolFactory: z.ZodOptional<z.ZodString>;
|
|
506
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
507
|
+
kind: z.ZodLiteral<"mcp-tool">;
|
|
508
|
+
server: z.ZodString;
|
|
509
|
+
name: z.ZodString;
|
|
510
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
511
|
+
kind: z.ZodLiteral<"api-endpoint">;
|
|
512
|
+
method: z.ZodEnum<{
|
|
513
|
+
GET: "GET";
|
|
514
|
+
POST: "POST";
|
|
515
|
+
PATCH: "PATCH";
|
|
516
|
+
DELETE: "DELETE";
|
|
517
|
+
}>;
|
|
518
|
+
path: z.ZodString;
|
|
519
|
+
requestSchema: z.ZodOptional<z.ZodString>;
|
|
520
|
+
responseSchema: z.ZodOptional<z.ZodString>;
|
|
521
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
522
|
+
kind: z.ZodLiteral<"script-execution">;
|
|
523
|
+
resourceId: z.ZodString;
|
|
524
|
+
}, z.core.$strip>], "kind">>>;
|
|
525
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
526
|
+
eventKey: z.ZodString;
|
|
527
|
+
label: z.ZodString;
|
|
528
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
529
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
530
|
+
deprecated: "deprecated";
|
|
531
|
+
draft: "draft";
|
|
532
|
+
beta: "beta";
|
|
533
|
+
active: "active";
|
|
534
|
+
archived: "archived";
|
|
535
|
+
}>>;
|
|
536
|
+
}, z.core.$strip>>>;
|
|
448
537
|
}, z.core.$strip>, z.ZodObject<{
|
|
449
538
|
id: z.ZodString;
|
|
450
|
-
|
|
539
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
540
|
+
systemPath: z.ZodString;
|
|
451
541
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
452
542
|
status: z.ZodEnum<{
|
|
453
|
-
active: "active";
|
|
454
543
|
deprecated: "deprecated";
|
|
544
|
+
active: "active";
|
|
455
545
|
archived: "archived";
|
|
456
546
|
}>;
|
|
547
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
548
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
549
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
550
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
551
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
552
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
553
|
+
}, z.core.$strip>>;
|
|
554
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
555
|
+
path: z.ZodString;
|
|
556
|
+
role: z.ZodEnum<{
|
|
557
|
+
schema: "schema";
|
|
558
|
+
config: "config";
|
|
559
|
+
entrypoint: "entrypoint";
|
|
560
|
+
handler: "handler";
|
|
561
|
+
test: "test";
|
|
562
|
+
docs: "docs";
|
|
563
|
+
}>;
|
|
564
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
565
|
+
description: z.ZodOptional<z.ZodString>;
|
|
566
|
+
}, z.core.$strip>>>;
|
|
457
567
|
kind: z.ZodLiteral<"integration">;
|
|
458
568
|
provider: z.ZodString;
|
|
569
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
570
|
+
id: z.ZodString;
|
|
571
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
572
|
+
systemPath: z.ZodString;
|
|
573
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
574
|
+
status: z.ZodEnum<{
|
|
575
|
+
deprecated: "deprecated";
|
|
576
|
+
active: "active";
|
|
577
|
+
archived: "archived";
|
|
578
|
+
}>;
|
|
579
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
580
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
581
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
582
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
583
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
584
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
585
|
+
}, z.core.$strip>>;
|
|
586
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
587
|
+
path: z.ZodString;
|
|
588
|
+
role: z.ZodEnum<{
|
|
589
|
+
schema: "schema";
|
|
590
|
+
config: "config";
|
|
591
|
+
entrypoint: "entrypoint";
|
|
592
|
+
handler: "handler";
|
|
593
|
+
test: "test";
|
|
594
|
+
docs: "docs";
|
|
595
|
+
}>;
|
|
596
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
597
|
+
description: z.ZodOptional<z.ZodString>;
|
|
598
|
+
}, z.core.$strip>>>;
|
|
599
|
+
kind: z.ZodLiteral<"script">;
|
|
600
|
+
language: z.ZodEnum<{
|
|
601
|
+
shell: "shell";
|
|
602
|
+
sql: "sql";
|
|
603
|
+
typescript: "typescript";
|
|
604
|
+
python: "python";
|
|
605
|
+
}>;
|
|
606
|
+
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
607
|
+
file: z.ZodString;
|
|
608
|
+
}, z.core.$strip>]>;
|
|
459
609
|
}, z.core.$strip>], "kind">;
|
|
460
610
|
type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
|
|
461
611
|
type ResourceEntry = z.infer<typeof ResourceEntrySchema>;
|
|
@@ -3342,6 +3492,66 @@ type Database = {
|
|
|
3342
3492
|
}
|
|
3343
3493
|
];
|
|
3344
3494
|
};
|
|
3495
|
+
user_notes: {
|
|
3496
|
+
Row: {
|
|
3497
|
+
content: string;
|
|
3498
|
+
created_at: string;
|
|
3499
|
+
created_by: string;
|
|
3500
|
+
id: string;
|
|
3501
|
+
metadata: Json;
|
|
3502
|
+
organization_id: string | null;
|
|
3503
|
+
pinned: boolean;
|
|
3504
|
+
priority: string;
|
|
3505
|
+
source: string | null;
|
|
3506
|
+
title: string | null;
|
|
3507
|
+
updated_at: string;
|
|
3508
|
+
user_id: string;
|
|
3509
|
+
};
|
|
3510
|
+
Insert: {
|
|
3511
|
+
content: string;
|
|
3512
|
+
created_at?: string;
|
|
3513
|
+
created_by?: string;
|
|
3514
|
+
id?: string;
|
|
3515
|
+
metadata?: Json;
|
|
3516
|
+
organization_id?: string | null;
|
|
3517
|
+
pinned?: boolean;
|
|
3518
|
+
priority?: string;
|
|
3519
|
+
source?: string | null;
|
|
3520
|
+
title?: string | null;
|
|
3521
|
+
updated_at?: string;
|
|
3522
|
+
user_id: string;
|
|
3523
|
+
};
|
|
3524
|
+
Update: {
|
|
3525
|
+
content?: string;
|
|
3526
|
+
created_at?: string;
|
|
3527
|
+
created_by?: string;
|
|
3528
|
+
id?: string;
|
|
3529
|
+
metadata?: Json;
|
|
3530
|
+
organization_id?: string | null;
|
|
3531
|
+
pinned?: boolean;
|
|
3532
|
+
priority?: string;
|
|
3533
|
+
source?: string | null;
|
|
3534
|
+
title?: string | null;
|
|
3535
|
+
updated_at?: string;
|
|
3536
|
+
user_id?: string;
|
|
3537
|
+
};
|
|
3538
|
+
Relationships: [
|
|
3539
|
+
{
|
|
3540
|
+
foreignKeyName: "user_notes_organization_id_fkey";
|
|
3541
|
+
columns: ["organization_id"];
|
|
3542
|
+
isOneToOne: false;
|
|
3543
|
+
referencedRelation: "organizations";
|
|
3544
|
+
referencedColumns: ["id"];
|
|
3545
|
+
},
|
|
3546
|
+
{
|
|
3547
|
+
foreignKeyName: "user_notes_user_id_fkey";
|
|
3548
|
+
columns: ["user_id"];
|
|
3549
|
+
isOneToOne: false;
|
|
3550
|
+
referencedRelation: "users";
|
|
3551
|
+
referencedColumns: ["id"];
|
|
3552
|
+
}
|
|
3553
|
+
];
|
|
3554
|
+
};
|
|
3345
3555
|
users: {
|
|
3346
3556
|
Row: {
|
|
3347
3557
|
config: Json;
|
|
@@ -3965,6 +4175,100 @@ interface NotificationDTO {
|
|
|
3965
4175
|
createdAt: string;
|
|
3966
4176
|
}
|
|
3967
4177
|
|
|
4178
|
+
declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
4179
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4180
|
+
id: z.ZodString;
|
|
4181
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4182
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4183
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4184
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4185
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4186
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4187
|
+
}, z.core.$loose>>>>;
|
|
4188
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4189
|
+
id: z.ZodString;
|
|
4190
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4191
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4192
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4193
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4194
|
+
from: z.ZodString;
|
|
4195
|
+
to: z.ZodString;
|
|
4196
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
4197
|
+
via: z.ZodOptional<z.ZodString>;
|
|
4198
|
+
}, z.core.$loose>>>>;
|
|
4199
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4200
|
+
id: z.ZodString;
|
|
4201
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4202
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4203
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4204
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4205
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
4206
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4207
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4208
|
+
}, z.core.$loose>>>>;
|
|
4209
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4210
|
+
id: z.ZodString;
|
|
4211
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4212
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4213
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4214
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4215
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
4216
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
4217
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4218
|
+
}, z.core.$loose>>>>;
|
|
4219
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4220
|
+
id: z.ZodString;
|
|
4221
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4222
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4223
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4224
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4225
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4226
|
+
}, z.core.$loose>>>>;
|
|
4227
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4228
|
+
id: z.ZodString;
|
|
4229
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4230
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4231
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4232
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4233
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4234
|
+
}, z.core.$loose>>>>;
|
|
4235
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4236
|
+
id: z.ZodString;
|
|
4237
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4238
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4239
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4240
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4241
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
4242
|
+
}, z.core.$loose>>>>;
|
|
4243
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4244
|
+
id: z.ZodString;
|
|
4245
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4246
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4247
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4248
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4249
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
4250
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
4251
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
4252
|
+
}, z.core.$loose>>>>;
|
|
4253
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4254
|
+
id: z.ZodString;
|
|
4255
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4256
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4257
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4258
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4259
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
4260
|
+
}, z.core.$loose>>>>;
|
|
4261
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4262
|
+
id: z.ZodString;
|
|
4263
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4264
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4265
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4266
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4267
|
+
route: z.ZodOptional<z.ZodString>;
|
|
4268
|
+
}, z.core.$loose>>>>;
|
|
4269
|
+
}, z.core.$strip>>;
|
|
4270
|
+
type OntologyScope = z.infer<typeof OntologyScopeSchema>;
|
|
4271
|
+
|
|
3968
4272
|
type MessageType = MessageEvent['type'];
|
|
3969
4273
|
/**
|
|
3970
4274
|
* Session Data Transfer Object (DTO)
|
|
@@ -4555,26 +4859,72 @@ type AIResourceDefinition = SerializedWorkflowDefinition | SerializedAgentDefini
|
|
|
4555
4859
|
*/
|
|
4556
4860
|
type IntegrationType = 'gmail' | 'google-sheets' | 'slack' | 'github' | 'linear' | 'attio' | 'airtable' | 'salesforce' | 'hubspot' | 'stripe' | 'twilio' | 'sendgrid' | 'mailgun' | 'zapier' | 'webhook' | 'apify' | 'instantly' | 'resend' | 'signature-api' | 'dropbox' | 'anymailfinder' | 'tomba' | 'millionverifier';
|
|
4557
4861
|
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
deprecated: "deprecated";
|
|
4574
|
-
archived: "archived";
|
|
4575
|
-
}>;
|
|
4862
|
+
/**
|
|
4863
|
+
* Placeholder discriminated union for ContentNode (Wave 1A).
|
|
4864
|
+
* Wave 2A wires concrete (kind, type) pairs via the registry.
|
|
4865
|
+
*
|
|
4866
|
+
* Per D2: unregistered (kind, type) pairs are allowed and pass through validation.
|
|
4867
|
+
* Per L14: every node carries BOTH `kind` and `type`.
|
|
4868
|
+
*/
|
|
4869
|
+
declare const ContentNodeSchema: z.ZodObject<{
|
|
4870
|
+
label: z.ZodString;
|
|
4871
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4872
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
4873
|
+
parentContentId: z.ZodOptional<z.ZodString>;
|
|
4874
|
+
kind: z.ZodString;
|
|
4875
|
+
type: z.ZodString;
|
|
4876
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4576
4877
|
}, z.core.$strip>;
|
|
4577
|
-
type
|
|
4878
|
+
type ContentNode = z.infer<typeof ContentNodeSchema>;
|
|
4879
|
+
|
|
4880
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
4881
|
+
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
4882
|
+
[key: string]: JsonValue;
|
|
4883
|
+
};
|
|
4884
|
+
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
4885
|
+
interface SystemEntry {
|
|
4886
|
+
id: string;
|
|
4887
|
+
label?: string;
|
|
4888
|
+
title?: string;
|
|
4889
|
+
description?: string;
|
|
4890
|
+
kind?: 'product' | 'operational' | 'platform' | 'diagnostic';
|
|
4891
|
+
parentSystemId?: string;
|
|
4892
|
+
ui?: {
|
|
4893
|
+
path: string;
|
|
4894
|
+
surfaces: string[];
|
|
4895
|
+
icon?: string;
|
|
4896
|
+
order?: number;
|
|
4897
|
+
};
|
|
4898
|
+
lifecycle?: 'draft' | 'beta' | 'active' | 'deprecated' | 'archived';
|
|
4899
|
+
responsibleRoleId?: string;
|
|
4900
|
+
governedByKnowledge?: string[];
|
|
4901
|
+
actions?: {
|
|
4902
|
+
actionId: string;
|
|
4903
|
+
intent: 'exposes' | 'consumes';
|
|
4904
|
+
invocation?: unknown;
|
|
4905
|
+
}[];
|
|
4906
|
+
policies?: string[];
|
|
4907
|
+
drivesGoals?: string[];
|
|
4908
|
+
/** @deprecated Use lifecycle. Accepted for one publish cycle. */
|
|
4909
|
+
status?: 'active' | 'deprecated' | 'archived';
|
|
4910
|
+
path?: string;
|
|
4911
|
+
icon?: string;
|
|
4912
|
+
color?: string;
|
|
4913
|
+
uiPosition?: 'sidebar-primary' | 'sidebar-bottom';
|
|
4914
|
+
enabled?: boolean;
|
|
4915
|
+
devOnly?: boolean;
|
|
4916
|
+
requiresAdmin?: boolean;
|
|
4917
|
+
order: number;
|
|
4918
|
+
config?: Record<string, JsonValue>;
|
|
4919
|
+
ontology?: OntologyScope;
|
|
4920
|
+
systems?: Record<string, SystemEntry>;
|
|
4921
|
+
/**
|
|
4922
|
+
* @deprecated Compatibility-only bridge for old tenant data and migration readers.
|
|
4923
|
+
* Author new semantic catalogs in `ontology` and local settings in `config`.
|
|
4924
|
+
*/
|
|
4925
|
+
content?: Record<string, ContentNode>;
|
|
4926
|
+
subsystems?: Record<string, SystemEntry>;
|
|
4927
|
+
}
|
|
4578
4928
|
|
|
4579
4929
|
/**
|
|
4580
4930
|
* Resource Registry type definitions
|
|
@@ -4589,7 +4939,7 @@ type ResourceStatus = 'dev' | 'prod';
|
|
|
4589
4939
|
* Used as the discriminator field in ResourceDefinition
|
|
4590
4940
|
*/
|
|
4591
4941
|
type ResourceType = 'agent' | 'workflow' | 'trigger' | 'integration' | 'external' | 'human';
|
|
4592
|
-
type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | '
|
|
4942
|
+
type ResourceSystemSummary = Pick<SystemEntry, 'id' | 'title' | 'description' | 'kind' | 'lifecycle'>;
|
|
4593
4943
|
/**
|
|
4594
4944
|
* Base interface for ALL platform resources
|
|
4595
4945
|
* Shared by both executable (agents, workflows) and non-executable (triggers, integrations, etc.) resources
|
|
@@ -4615,8 +4965,8 @@ interface ResourceDefinition {
|
|
|
4615
4965
|
sessionCapable?: boolean;
|
|
4616
4966
|
/** Whether the resource is local (monorepo) or remote (externally deployed) */
|
|
4617
4967
|
origin?: 'local' | 'remote';
|
|
4618
|
-
/** OM System membership, when backed by a Resource descriptor */
|
|
4619
|
-
|
|
4968
|
+
/** OM System membership — dot-separated system path (e.g. "sys.lead-gen"), when backed by a Resource descriptor */
|
|
4969
|
+
systemPath?: string;
|
|
4620
4970
|
/** Display metadata for the owning OM System */
|
|
4621
4971
|
system?: ResourceSystemSummary;
|
|
4622
4972
|
/** Governance lifecycle status from the OM Resource descriptor */
|
|
@@ -4916,13 +5266,22 @@ interface CommandViewData {
|
|
|
4916
5266
|
declare const LinkSchema: z.ZodObject<{
|
|
4917
5267
|
nodeId: z.ZodString;
|
|
4918
5268
|
kind: z.ZodEnum<{
|
|
5269
|
+
links: "links";
|
|
5270
|
+
affects: "affects";
|
|
5271
|
+
effects: "effects";
|
|
5272
|
+
implements: "implements";
|
|
5273
|
+
reads: "reads";
|
|
5274
|
+
writes: "writes";
|
|
5275
|
+
emits: "emits";
|
|
4919
5276
|
contains: "contains";
|
|
4920
5277
|
references: "references";
|
|
4921
|
-
exposes: "exposes";
|
|
4922
5278
|
maps_to: "maps_to";
|
|
4923
|
-
"operates-on": "operates-on";
|
|
4924
5279
|
uses: "uses";
|
|
4925
5280
|
governs: "governs";
|
|
5281
|
+
originates_from: "originates_from";
|
|
5282
|
+
triggers: "triggers";
|
|
5283
|
+
applies_to: "applies_to";
|
|
5284
|
+
uses_catalog: "uses_catalog";
|
|
4926
5285
|
}>;
|
|
4927
5286
|
}, z.core.$strip>;
|
|
4928
5287
|
type Link = z.infer<typeof LinkSchema>;
|
|
@@ -5228,9 +5587,9 @@ declare const ExecutionHistoryItemSchema: z.ZodObject<{
|
|
|
5228
5587
|
createdAt: z.ZodString;
|
|
5229
5588
|
status: z.ZodEnum<{
|
|
5230
5589
|
completed: "completed";
|
|
5231
|
-
cancelled: "cancelled";
|
|
5232
5590
|
failed: "failed";
|
|
5233
5591
|
running: "running";
|
|
5592
|
+
cancelled: "cancelled";
|
|
5234
5593
|
}>;
|
|
5235
5594
|
step: z.ZodNullable<z.ZodNumber>;
|
|
5236
5595
|
itemLabel: z.ZodNullable<z.ZodString>;
|
|
@@ -5247,9 +5606,9 @@ declare const ExecutionHistoryResponseSchema: z.ZodObject<{
|
|
|
5247
5606
|
createdAt: z.ZodString;
|
|
5248
5607
|
status: z.ZodEnum<{
|
|
5249
5608
|
completed: "completed";
|
|
5250
|
-
cancelled: "cancelled";
|
|
5251
5609
|
failed: "failed";
|
|
5252
5610
|
running: "running";
|
|
5611
|
+
cancelled: "cancelled";
|
|
5253
5612
|
}>;
|
|
5254
5613
|
step: z.ZodNullable<z.ZodNumber>;
|
|
5255
5614
|
itemLabel: z.ZodNullable<z.ZodString>;
|