@elevasis/ui 2.65.0 → 2.66.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/app/index.d.ts +6 -0
- package/dist/app/index.js +5 -5
- package/dist/auth/index.d.ts +12 -5
- package/dist/auth/index.js +5 -5
- package/dist/charts/index.js +5 -5
- package/dist/{chunk-ZTWA5H77.js → chunk-6ZAP3FOA.js} +0 -1
- package/dist/{chunk-3WVZRN37.js → chunk-ANNM5R7S.js} +235 -365
- package/dist/chunk-L7BZZ4SI.js +56 -0
- package/dist/chunk-P45GQ3ZW.js +104 -0
- package/dist/{chunk-EIXSQONC.js → chunk-RT4KRGZT.js} +37 -59
- package/dist/components/index.d.ts +240 -209
- package/dist/components/index.js +5 -5
- package/dist/components/navigation/index.js +5 -5
- package/dist/execution/index.d.ts +115 -104
- package/dist/features/auth/index.d.ts +39 -8
- package/dist/features/auth/index.js +14 -9
- package/dist/features/clients/index.js +5 -5
- package/dist/features/crm/index.js +5 -5
- package/dist/features/dashboard/index.js +5 -5
- package/dist/features/delivery/index.js +5 -5
- package/dist/features/knowledge/index.js +5 -5
- package/dist/features/lead-gen/index.js +5 -5
- package/dist/features/monitoring/index.js +5 -5
- package/dist/features/monitoring/requests/index.js +6 -6
- package/dist/features/notes/index.js +2 -2
- package/dist/features/operations/index.d.ts +141 -105
- package/dist/features/operations/index.js +5 -5
- package/dist/features/settings/index.d.ts +1 -0
- package/dist/features/settings/index.js +5 -5
- package/dist/hooks/access/index.js +5 -5
- package/dist/hooks/delivery/index.js +5 -5
- package/dist/hooks/index.d.ts +284 -162
- package/dist/hooks/index.js +5 -5
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +0 -2
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
- package/dist/hooks/published.d.ts +284 -162
- package/dist/hooks/published.js +5 -5
- package/dist/index.d.ts +374 -236
- package/dist/index.js +5 -5
- package/dist/initialization/index.d.ts +61 -28
- package/dist/initialization/index.js +3 -3
- package/dist/knowledge/index.js +9 -9
- package/dist/{knowledge-search-index-JOPRYZN6.js → knowledge-search-index-6EZNBNSR.js} +4 -4
- package/dist/layout/index.js +5 -5
- package/dist/organization/index.d.ts +49 -4
- package/dist/organization/index.js +5 -5
- package/dist/profile/index.d.ts +23 -2
- package/dist/profile/index.js +1 -1
- package/dist/provider/index.js +5 -5
- package/dist/provider/published.js +5 -5
- package/dist/types/index.d.ts +330 -271
- package/package.json +3 -3
- package/dist/chunk-LO7GWG24.js +0 -75
- package/dist/chunk-T4LA4RY2.js +0 -56
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, CSSProperties, ReactElement, ComponentType, MouseEvent, Component, ErrorInfo, AnchorHTMLAttributes, ElementType } from 'react';
|
|
3
3
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
4
|
-
import { QueryClient, QueryClientConfig, DefaultOptions } from '@tanstack/react-query';
|
|
4
|
+
import { QueryClient, QueryKey, QueryClientConfig, DefaultOptions } from '@tanstack/react-query';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import * as z from 'zod';
|
|
7
7
|
import { z as z$1, ZodType, ZodSchema } from 'zod';
|
|
@@ -338,110 +338,6 @@ interface ExecutionLogMessage {
|
|
|
338
338
|
context?: LogContext;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
/**
|
|
342
|
-
* Serialized Registry Types
|
|
343
|
-
*
|
|
344
|
-
* Pre-computed JSON-safe types for API responses and Command View.
|
|
345
|
-
* Serialization happens once at API startup, enabling instant response times.
|
|
346
|
-
*/
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* Serialized agent definition (JSON-safe)
|
|
350
|
-
* Result of serializeDefinition(AgentDefinition)
|
|
351
|
-
*/
|
|
352
|
-
interface SerializedAgentDefinition {
|
|
353
|
-
config: {
|
|
354
|
-
resourceId: string;
|
|
355
|
-
name: string;
|
|
356
|
-
description: string;
|
|
357
|
-
version: string;
|
|
358
|
-
type: 'agent';
|
|
359
|
-
kind: 'orchestrator' | 'specialist' | 'utility' | 'system';
|
|
360
|
-
status: 'dev' | 'prod';
|
|
361
|
-
links?: ResourceLink[];
|
|
362
|
-
category?: ResourceCategory;
|
|
363
|
-
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
364
|
-
archived?: boolean;
|
|
365
|
-
systemPrompt: string;
|
|
366
|
-
constraints?: {
|
|
367
|
-
maxIterations?: number;
|
|
368
|
-
timeout?: number;
|
|
369
|
-
maxSessionMemoryKeys?: number;
|
|
370
|
-
maxMemoryTokens?: number;
|
|
371
|
-
};
|
|
372
|
-
sessionCapable?: boolean;
|
|
373
|
-
memoryPreferences?: string;
|
|
374
|
-
};
|
|
375
|
-
modelConfig: {
|
|
376
|
-
provider: string;
|
|
377
|
-
model: string;
|
|
378
|
-
apiKey: string;
|
|
379
|
-
temperature: number;
|
|
380
|
-
maxOutputTokens: number;
|
|
381
|
-
topP?: number;
|
|
382
|
-
modelOptions?: Record<string, unknown>;
|
|
383
|
-
};
|
|
384
|
-
contract: {
|
|
385
|
-
inputSchema: object;
|
|
386
|
-
outputSchema?: object;
|
|
387
|
-
};
|
|
388
|
-
tools: Array<{
|
|
389
|
-
name: string;
|
|
390
|
-
description: string;
|
|
391
|
-
inputSchema?: object;
|
|
392
|
-
outputSchema?: object;
|
|
393
|
-
}>;
|
|
394
|
-
knowledgeMap?: {
|
|
395
|
-
nodeCount: number;
|
|
396
|
-
nodes: Array<{
|
|
397
|
-
id: string;
|
|
398
|
-
description: string;
|
|
399
|
-
loaded: boolean;
|
|
400
|
-
hasPrompt: boolean;
|
|
401
|
-
}>;
|
|
402
|
-
};
|
|
403
|
-
metricsConfig?: object;
|
|
404
|
-
}
|
|
405
|
-
/**
|
|
406
|
-
* Serialized workflow definition (JSON-safe)
|
|
407
|
-
* Result of serializeDefinition(WorkflowDefinition)
|
|
408
|
-
*/
|
|
409
|
-
interface SerializedWorkflowDefinition {
|
|
410
|
-
config: {
|
|
411
|
-
resourceId: string;
|
|
412
|
-
name: string;
|
|
413
|
-
description: string;
|
|
414
|
-
version: string;
|
|
415
|
-
type: 'workflow';
|
|
416
|
-
status: 'dev' | 'prod';
|
|
417
|
-
links?: ResourceLink[];
|
|
418
|
-
category?: ResourceCategory;
|
|
419
|
-
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
420
|
-
archived?: boolean;
|
|
421
|
-
};
|
|
422
|
-
entryPoint: string;
|
|
423
|
-
steps: Array<{
|
|
424
|
-
id: string;
|
|
425
|
-
name: string;
|
|
426
|
-
description: string;
|
|
427
|
-
inputSchema?: object;
|
|
428
|
-
outputSchema?: object;
|
|
429
|
-
next: {
|
|
430
|
-
type: 'linear' | 'conditional';
|
|
431
|
-
target?: string;
|
|
432
|
-
routes?: Array<{
|
|
433
|
-
target: string;
|
|
434
|
-
}>;
|
|
435
|
-
default?: string;
|
|
436
|
-
} | null;
|
|
437
|
-
}>;
|
|
438
|
-
contract: {
|
|
439
|
-
inputSchema: object;
|
|
440
|
-
outputSchema?: object;
|
|
441
|
-
};
|
|
442
|
-
metricsConfig?: object;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
341
|
declare const ResourceGovernanceStatusSchema: z$1.ZodEnum<{
|
|
446
342
|
active: "active";
|
|
447
343
|
deprecated: "deprecated";
|
|
@@ -668,6 +564,90 @@ declare const ResourceEntrySchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
668
564
|
type ResourceGovernanceStatus = z$1.infer<typeof ResourceGovernanceStatusSchema>;
|
|
669
565
|
type ResourceEntry = z$1.infer<typeof ResourceEntrySchema>;
|
|
670
566
|
|
|
567
|
+
/**
|
|
568
|
+
* Memory type definitions
|
|
569
|
+
* Types for agent memory management with semantic entry types
|
|
570
|
+
*/
|
|
571
|
+
/**
|
|
572
|
+
* Semantic memory entry types
|
|
573
|
+
* Use-case agnostic types that describe the purpose of each entry
|
|
574
|
+
* Memory types mirror action types for clarity and filtering
|
|
575
|
+
*/
|
|
576
|
+
type MemoryEntryType = 'context' | 'input' | 'reasoning' | 'tool-result' | 'error';
|
|
577
|
+
/**
|
|
578
|
+
* Who authored an entry's content.
|
|
579
|
+
*
|
|
580
|
+
* This is what lets the assembled prompt tell framework-authored text apart from text that
|
|
581
|
+
* originated outside the trust boundary. `'framework'` content is ours; the other three are not
|
|
582
|
+
* and are rendered inside the JSON data envelope (see `MemoryManager.toContextParts`).
|
|
583
|
+
*/
|
|
584
|
+
type MemoryEntrySource = 'framework' | 'user' | 'tool' | 'model';
|
|
585
|
+
/**
|
|
586
|
+
* Memory entry - represents a single entry in agent memory
|
|
587
|
+
* Stored in agent memory, translated by adapters to vendor-specific formats
|
|
588
|
+
*/
|
|
589
|
+
interface MemoryEntry {
|
|
590
|
+
type: MemoryEntryType;
|
|
591
|
+
content: string;
|
|
592
|
+
timestamp: number;
|
|
593
|
+
turnNumber: number | null;
|
|
594
|
+
iterationNumber: number | null;
|
|
595
|
+
/**
|
|
596
|
+
* Provenance. **Optional on purpose** — `undefined` means unknown, which is what every
|
|
597
|
+
* pre-existing snapshot and every not-yet-redeployed tenant bundle produces. Read sites MUST
|
|
598
|
+
* test `== null`, never `=== undefined`: the `inTurnScope` predicate in `manager.ts` is the
|
|
599
|
+
* cautionary precedent, where a `=== undefined` check silently dropped every `null`-stamped
|
|
600
|
+
* entry. `isMemoryEntry` is deliberately NOT tightened to require this field; doing so would
|
|
601
|
+
* make every stored snapshot fail validation, and `restoreSessionMemory` fails open by
|
|
602
|
+
* starting the agent with empty memory rather than throwing.
|
|
603
|
+
*/
|
|
604
|
+
source?: MemoryEntrySource;
|
|
605
|
+
/**
|
|
606
|
+
* Which tool produced this entry. Set on `tool-result` entries so the model can tell N parallel
|
|
607
|
+
* results apart -- the framework instructs batching independent tool calls in one iteration, and
|
|
608
|
+
* an anonymous result is unattributable the moment two land in the same iteration. `addToolError`
|
|
609
|
+
* already carries this (folded into its `content` JSON); this is the same fact for the success
|
|
610
|
+
* path, carried as a real field instead of prose the caller has to parse back out.
|
|
611
|
+
*/
|
|
612
|
+
toolName?: string;
|
|
613
|
+
/**
|
|
614
|
+
* Present when `truncateContent` cut this entry's `content` to fit its token budget. A sibling
|
|
615
|
+
* field, never text appended into `content` -- the notice used to be spliced into the string
|
|
616
|
+
* itself, which could (and did) land inside a JSON string literal `truncateContent` had just cut
|
|
617
|
+
* open, breaking `JSON.parse` on the far end. Absent means never truncated.
|
|
618
|
+
*/
|
|
619
|
+
truncated?: {
|
|
620
|
+
omittedTokens: number;
|
|
621
|
+
};
|
|
622
|
+
/**
|
|
623
|
+
* Prompt-injection warning types found in `content`, screened once here -- when the entry is
|
|
624
|
+
* written -- instead of by re-scanning the whole accumulated envelope on every iteration it gets
|
|
625
|
+
* re-sent for (`screenRequest`'s `data-envelope` slot used to do exactly that). Empty array means
|
|
626
|
+
* screened and clean; `undefined` means never screened (entries that bypass `addToHistory`/`set`,
|
|
627
|
+
* or pre-existing snapshots from before this field existed).
|
|
628
|
+
*/
|
|
629
|
+
warnings?: string[];
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* Agent memory - Self-orchestrated memory with session + working storage
|
|
633
|
+
* Agent has full control over what persists, framework handles auto-compaction
|
|
634
|
+
*/
|
|
635
|
+
interface AgentMemory {
|
|
636
|
+
/**
|
|
637
|
+
* Session memory - Persists for session/conversation duration
|
|
638
|
+
* Never auto-trimmed by framework
|
|
639
|
+
* Agent-managed key-value store for critical information
|
|
640
|
+
* Agent provides strings, framework wraps in MemoryEntry
|
|
641
|
+
*/
|
|
642
|
+
sessionMemory: Record<string, MemoryEntry>;
|
|
643
|
+
/**
|
|
644
|
+
* Working memory - Execution history
|
|
645
|
+
* Automatically compacted by framework when needed
|
|
646
|
+
* Agent doesn't control compaction
|
|
647
|
+
*/
|
|
648
|
+
history: MemoryEntry[];
|
|
649
|
+
}
|
|
650
|
+
|
|
671
651
|
/**
|
|
672
652
|
* Shared form field types for dynamic form generation
|
|
673
653
|
* Used by: Command Queue, Execution Runner UI, future form-based features
|
|
@@ -791,65 +771,6 @@ interface ExecutionPathState {
|
|
|
791
771
|
stepDataMap?: Map<string, StepExecutionData>;
|
|
792
772
|
}
|
|
793
773
|
|
|
794
|
-
/**
|
|
795
|
-
* Memory type definitions
|
|
796
|
-
* Types for agent memory management with semantic entry types
|
|
797
|
-
*/
|
|
798
|
-
/**
|
|
799
|
-
* Semantic memory entry types
|
|
800
|
-
* Use-case agnostic types that describe the purpose of each entry
|
|
801
|
-
* Memory types mirror action types for clarity and filtering
|
|
802
|
-
*/
|
|
803
|
-
type MemoryEntryType = 'context' | 'input' | 'reasoning' | 'tool-result' | 'delegation-result' | 'error';
|
|
804
|
-
/**
|
|
805
|
-
* Who authored an entry's content.
|
|
806
|
-
*
|
|
807
|
-
* This is what lets the assembled prompt tell framework-authored text apart from text that
|
|
808
|
-
* originated outside the trust boundary. `'framework'` content is ours; the other three are not
|
|
809
|
-
* and are rendered inside the JSON data envelope (see `MemoryManager.toContextParts`).
|
|
810
|
-
*/
|
|
811
|
-
type MemoryEntrySource = 'framework' | 'user' | 'tool' | 'model';
|
|
812
|
-
/**
|
|
813
|
-
* Memory entry - represents a single entry in agent memory
|
|
814
|
-
* Stored in agent memory, translated by adapters to vendor-specific formats
|
|
815
|
-
*/
|
|
816
|
-
interface MemoryEntry {
|
|
817
|
-
type: MemoryEntryType;
|
|
818
|
-
content: string;
|
|
819
|
-
timestamp: number;
|
|
820
|
-
turnNumber: number | null;
|
|
821
|
-
iterationNumber: number | null;
|
|
822
|
-
/**
|
|
823
|
-
* Provenance. **Optional on purpose** — `undefined` means unknown, which is what every
|
|
824
|
-
* pre-existing snapshot and every not-yet-redeployed tenant bundle produces. Read sites MUST
|
|
825
|
-
* test `== null`, never `=== undefined`: the `inTurnScope` predicate in `manager.ts` is the
|
|
826
|
-
* cautionary precedent, where a `=== undefined` check silently dropped every `null`-stamped
|
|
827
|
-
* entry. `isMemoryEntry` is deliberately NOT tightened to require this field; doing so would
|
|
828
|
-
* make every stored snapshot fail validation, and `restoreSessionMemory` fails open by
|
|
829
|
-
* starting the agent with empty memory rather than throwing.
|
|
830
|
-
*/
|
|
831
|
-
source?: MemoryEntrySource;
|
|
832
|
-
}
|
|
833
|
-
/**
|
|
834
|
-
* Agent memory - Self-orchestrated memory with session + working storage
|
|
835
|
-
* Agent has full control over what persists, framework handles auto-compaction
|
|
836
|
-
*/
|
|
837
|
-
interface AgentMemory {
|
|
838
|
-
/**
|
|
839
|
-
* Session memory - Persists for session/conversation duration
|
|
840
|
-
* Never auto-trimmed by framework
|
|
841
|
-
* Agent-managed key-value store for critical information
|
|
842
|
-
* Agent provides strings, framework wraps in MemoryEntry
|
|
843
|
-
*/
|
|
844
|
-
sessionMemory: Record<string, MemoryEntry>;
|
|
845
|
-
/**
|
|
846
|
-
* Working memory - Execution history
|
|
847
|
-
* Automatically compacted by framework when needed
|
|
848
|
-
* Agent doesn't control compaction
|
|
849
|
-
*/
|
|
850
|
-
history: MemoryEntry[];
|
|
851
|
-
}
|
|
852
|
-
|
|
853
774
|
/**
|
|
854
775
|
* Agent timeline and observability types
|
|
855
776
|
* Used for UI timeline visualization and backend processing
|
|
@@ -6495,6 +6416,20 @@ interface ListMembershipsResponse {
|
|
|
6495
6416
|
type MembershipProvisioningState = 'linked' | 'pre_provisioned' | 'workos_only';
|
|
6496
6417
|
/**
|
|
6497
6418
|
* Extended membership with user and organization details for UI
|
|
6419
|
+
*
|
|
6420
|
+
* **ID convention (step 17 of the auth/invitations architecture refactor):**
|
|
6421
|
+
* `id`, `userId`, and `organizationId` are the canonical Supabase UUIDs
|
|
6422
|
+
* (`org_memberships.id` / `users.id` / `organizations.id`) on every producer
|
|
6423
|
+
* of this type. `workosMembershipId` / `workosUserId` /
|
|
6424
|
+
* `organization.workos_org_id` carry the WorkOS-side forms explicitly instead
|
|
6425
|
+
* -- the contract does not overload the canonical fields with either form.
|
|
6426
|
+
*
|
|
6427
|
+
* The one exception: a `workos_only` row (a WorkOS membership with no
|
|
6428
|
+
* `org_memberships` row -- a sync gap) has no canonical membership UUID to
|
|
6429
|
+
* report, because no such row exists. `id` stays the WorkOS `om_...` form for
|
|
6430
|
+
* that `provisioningState` alone; `userId` / `organizationId` are still
|
|
6431
|
+
* resolved to their Supabase forms where the user/organization themselves
|
|
6432
|
+
* exist.
|
|
6498
6433
|
*/
|
|
6499
6434
|
interface MembershipWithDetails extends OrganizationMembership {
|
|
6500
6435
|
/**
|
|
@@ -6502,6 +6437,18 @@ interface MembershipWithDetails extends OrganizationMembership {
|
|
|
6502
6437
|
* treat `undefined` as "not reported by this endpoint".
|
|
6503
6438
|
*/
|
|
6504
6439
|
provisioningState?: MembershipProvisioningState;
|
|
6440
|
+
/**
|
|
6441
|
+
* WorkOS `om_...` form of `id`. `null` when the membership is
|
|
6442
|
+
* pre-provisioned (invited, signup not completed -- no WorkOS record yet).
|
|
6443
|
+
* Explicit companion to the canonical `id`; see the type-level doc comment.
|
|
6444
|
+
*/
|
|
6445
|
+
workosMembershipId?: string | null;
|
|
6446
|
+
/**
|
|
6447
|
+
* WorkOS `user_...` form of `userId`. `null` when the member has not
|
|
6448
|
+
* completed WorkOS signup yet. Explicit companion to the canonical
|
|
6449
|
+
* `userId`; see the type-level doc comment.
|
|
6450
|
+
*/
|
|
6451
|
+
workosUserId?: string | null;
|
|
6505
6452
|
user?: {
|
|
6506
6453
|
id: string;
|
|
6507
6454
|
email: string;
|
|
@@ -6800,6 +6747,121 @@ interface CostByModelResponse {
|
|
|
6800
6747
|
totalCallCount: number;
|
|
6801
6748
|
}
|
|
6802
6749
|
|
|
6750
|
+
/**
|
|
6751
|
+
* Agent-specific type definitions
|
|
6752
|
+
* Types for autonomous agents with tools, memory, and constraints
|
|
6753
|
+
*/
|
|
6754
|
+
|
|
6755
|
+
type AgentKind = 'orchestrator' | 'specialist' | 'utility' | 'platform';
|
|
6756
|
+
|
|
6757
|
+
/**
|
|
6758
|
+
* Serialized Registry Types
|
|
6759
|
+
*
|
|
6760
|
+
* Pre-computed JSON-safe types for API responses and Command View.
|
|
6761
|
+
* Serialization happens once at API startup, enabling instant response times.
|
|
6762
|
+
*/
|
|
6763
|
+
|
|
6764
|
+
/**
|
|
6765
|
+
* Serialized agent definition (JSON-safe)
|
|
6766
|
+
* Result of serializeDefinition(AgentDefinition)
|
|
6767
|
+
*/
|
|
6768
|
+
interface SerializedAgentDefinition {
|
|
6769
|
+
config: {
|
|
6770
|
+
resourceId: string;
|
|
6771
|
+
name: string;
|
|
6772
|
+
description: string;
|
|
6773
|
+
version: string;
|
|
6774
|
+
type: 'agent';
|
|
6775
|
+
/**
|
|
6776
|
+
* Imported from the runtime type instead of hand-copied. It used to be a hand-written literal
|
|
6777
|
+
* union that said `'system'` where `AgentKind`'s fourth member is `'platform'` -- undetected
|
|
6778
|
+
* because `serializeDefinition` returns `any` and every call site casts the result to this
|
|
6779
|
+
* interface, so the literal union was never actually checked against real data. Deriving from
|
|
6780
|
+
* the source of truth makes that class of drift a type error instead of a silent typo.
|
|
6781
|
+
*/
|
|
6782
|
+
kind: AgentKind;
|
|
6783
|
+
status: 'dev' | 'prod';
|
|
6784
|
+
links?: ResourceLink[];
|
|
6785
|
+
category?: ResourceCategory;
|
|
6786
|
+
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
6787
|
+
archived?: boolean;
|
|
6788
|
+
systemPrompt: string;
|
|
6789
|
+
constraints?: {
|
|
6790
|
+
maxIterations?: number;
|
|
6791
|
+
timeout?: number;
|
|
6792
|
+
maxSessionMemoryKeys?: number;
|
|
6793
|
+
maxMemoryTokens?: number;
|
|
6794
|
+
};
|
|
6795
|
+
sessionCapable?: boolean;
|
|
6796
|
+
memoryPreferences?: string;
|
|
6797
|
+
};
|
|
6798
|
+
modelConfig: {
|
|
6799
|
+
provider: string;
|
|
6800
|
+
model: string;
|
|
6801
|
+
apiKey: string;
|
|
6802
|
+
/**
|
|
6803
|
+
* Optional here, matching `ModelConfig` -- this used to be required even though neither real
|
|
6804
|
+
* agent literal in the monorepo (`local-test-agent`, the `createPlatformToolAgent` test fixture)
|
|
6805
|
+
* sets it, and nothing caught the mismatch for the same `serializeDefinition`-returns-`any`
|
|
6806
|
+
* reason `kind` drifted above.
|
|
6807
|
+
*/
|
|
6808
|
+
temperature?: number;
|
|
6809
|
+
maxOutputTokens?: number;
|
|
6810
|
+
topP?: number;
|
|
6811
|
+
modelOptions?: Record<string, unknown>;
|
|
6812
|
+
};
|
|
6813
|
+
contract: {
|
|
6814
|
+
inputSchema: object;
|
|
6815
|
+
outputSchema?: object;
|
|
6816
|
+
};
|
|
6817
|
+
tools: Array<{
|
|
6818
|
+
name: string;
|
|
6819
|
+
description: string;
|
|
6820
|
+
inputSchema?: object;
|
|
6821
|
+
outputSchema?: object;
|
|
6822
|
+
}>;
|
|
6823
|
+
metricsConfig?: object;
|
|
6824
|
+
}
|
|
6825
|
+
/**
|
|
6826
|
+
* Serialized workflow definition (JSON-safe)
|
|
6827
|
+
* Result of serializeDefinition(WorkflowDefinition)
|
|
6828
|
+
*/
|
|
6829
|
+
interface SerializedWorkflowDefinition {
|
|
6830
|
+
config: {
|
|
6831
|
+
resourceId: string;
|
|
6832
|
+
name: string;
|
|
6833
|
+
description: string;
|
|
6834
|
+
version: string;
|
|
6835
|
+
type: 'workflow';
|
|
6836
|
+
status: 'dev' | 'prod';
|
|
6837
|
+
links?: ResourceLink[];
|
|
6838
|
+
category?: ResourceCategory;
|
|
6839
|
+
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
6840
|
+
archived?: boolean;
|
|
6841
|
+
};
|
|
6842
|
+
entryPoint: string;
|
|
6843
|
+
steps: Array<{
|
|
6844
|
+
id: string;
|
|
6845
|
+
name: string;
|
|
6846
|
+
description: string;
|
|
6847
|
+
inputSchema?: object;
|
|
6848
|
+
outputSchema?: object;
|
|
6849
|
+
next: {
|
|
6850
|
+
type: 'linear' | 'conditional';
|
|
6851
|
+
target?: string;
|
|
6852
|
+
routes?: Array<{
|
|
6853
|
+
target: string;
|
|
6854
|
+
}>;
|
|
6855
|
+
default?: string;
|
|
6856
|
+
} | null;
|
|
6857
|
+
}>;
|
|
6858
|
+
contract: {
|
|
6859
|
+
inputSchema: object;
|
|
6860
|
+
outputSchema?: object;
|
|
6861
|
+
};
|
|
6862
|
+
metricsConfig?: object;
|
|
6863
|
+
}
|
|
6864
|
+
|
|
6803
6865
|
/**
|
|
6804
6866
|
* Base Execution Engine type definitions
|
|
6805
6867
|
* Core types shared across all Execution Engine resources
|
|
@@ -7156,7 +7218,6 @@ interface CommandViewAgent extends ResourceDefinition {
|
|
|
7156
7218
|
modelProvider: string;
|
|
7157
7219
|
modelId: string;
|
|
7158
7220
|
toolCount: number;
|
|
7159
|
-
hasKnowledgeMap: boolean;
|
|
7160
7221
|
hasMemory: boolean;
|
|
7161
7222
|
sessionCapable: boolean;
|
|
7162
7223
|
}
|
|
@@ -12380,21 +12441,56 @@ declare function useUserMemberships(userId: string, params?: Omit<ListMembership
|
|
|
12380
12441
|
|
|
12381
12442
|
interface DeactivateMembershipMutationData {
|
|
12382
12443
|
membershipId: string;
|
|
12444
|
+
/**
|
|
12445
|
+
* Accepted and ignored. These were read by an optimistic-update path that was
|
|
12446
|
+
* removed after it was found never to have executed -- see the note on the
|
|
12447
|
+
* hook below. They are kept in the signature because this hook is published
|
|
12448
|
+
* as part of `@elevasis/ui`, and narrowing a parameter type is a breaking
|
|
12449
|
+
* change; they should be dropped in the next deliberate major alongside the
|
|
12450
|
+
* other batched removals.
|
|
12451
|
+
*/
|
|
12383
12452
|
userId?: string;
|
|
12384
12453
|
organizationId?: string;
|
|
12385
12454
|
}
|
|
12386
|
-
|
|
12387
|
-
|
|
12388
|
-
|
|
12455
|
+
/**
|
|
12456
|
+
* Deactivate an organization membership.
|
|
12457
|
+
*
|
|
12458
|
+
* NO OPTIMISTIC UPDATE, DELIBERATELY. This hook previously carried an
|
|
12459
|
+
* `onMutate` that patched two cache keys and an `onError` that rolled the patch
|
|
12460
|
+
* back. None of it ever ran: the only producer of a `memberships` key is
|
|
12461
|
+
* `useUserMemberships`, at `['memberships', 'user', userId, params]` -- four
|
|
12462
|
+
* elements -- while the patch wrote `['memberships', 'user', userId]` at three,
|
|
12463
|
+
* and `setQueryData` requires exact key equality. Its second branch targeted
|
|
12464
|
+
* `['memberships', 'organization', orgId]`, which no query produces at all. The
|
|
12465
|
+
* rollback snapshot was likewise always `undefined`.
|
|
12466
|
+
*
|
|
12467
|
+
* The list has therefore always refreshed via the invalidation below, and that
|
|
12468
|
+
* is now the only mechanism. Repairing the keys was considered and rejected: it
|
|
12469
|
+
* would switch on rollback logic that has never executed, on a surface where a
|
|
12470
|
+
* wrong patch shows an administrator a member as deactivated when the call
|
|
12471
|
+
* actually failed. If optimistic updates are wanted here, write them
|
|
12472
|
+
* deliberately with the rollback exercised by tests.
|
|
12473
|
+
*/
|
|
12474
|
+
declare function useDeactivateMembership(): _tanstack_react_query.UseMutationResult<MembershipWithDetails, Error, DeactivateMembershipMutationData, unknown>;
|
|
12389
12475
|
|
|
12390
12476
|
interface ReactivateMembershipMutationData {
|
|
12391
12477
|
membershipId: string;
|
|
12478
|
+
/**
|
|
12479
|
+
* Accepted and ignored -- see the note on `useDeactivateMembership`. Kept
|
|
12480
|
+
* because this hook is published as part of `@elevasis/ui` and narrowing a
|
|
12481
|
+
* parameter type is a breaking change; drop in the next deliberate major.
|
|
12482
|
+
*/
|
|
12392
12483
|
userId?: string;
|
|
12393
12484
|
organizationId?: string;
|
|
12394
12485
|
}
|
|
12395
|
-
|
|
12396
|
-
|
|
12397
|
-
|
|
12486
|
+
/**
|
|
12487
|
+
* Reactivate an organization membership.
|
|
12488
|
+
*
|
|
12489
|
+
* NO OPTIMISTIC UPDATE, DELIBERATELY -- the removed `onMutate`/rollback pair
|
|
12490
|
+
* never executed. The full diagnosis is on `useDeactivateMembership`, which
|
|
12491
|
+
* carried an identical copy of the same dead machinery.
|
|
12492
|
+
*/
|
|
12493
|
+
declare function useReactivateMembership(): _tanstack_react_query.UseMutationResult<MembershipWithDetails, Error, ReactivateMembershipMutationData, unknown>;
|
|
12398
12494
|
|
|
12399
12495
|
type OrgRolDefinitionRow = Database['public']['Tables']['org_rol_definitions']['Row'];
|
|
12400
12496
|
type OrgRole = OrgRolDefinitionRow & {
|
|
@@ -12417,7 +12513,18 @@ type RevokeRoleInput = {
|
|
|
12417
12513
|
roleId: string;
|
|
12418
12514
|
};
|
|
12419
12515
|
|
|
12420
|
-
|
|
12516
|
+
/**
|
|
12517
|
+
* Roles for an organization, keyed on the **Supabase organization UUID**.
|
|
12518
|
+
*
|
|
12519
|
+
* `GET /organizations/:orgId/roles` compares the route param against
|
|
12520
|
+
* `getOrganizationId(request)` for a non-platform-admin caller, and that is
|
|
12521
|
+
* always the Supabase UUID (`requireMatchingOrganization` in
|
|
12522
|
+
* `role-management/handlers.ts`) -- the WorkOS `org_...` form 403s there.
|
|
12523
|
+
* Defaults to the caller's currently selected organization (read via
|
|
12524
|
+
* `OrganizationContext` rather than the throwing `useOrganization()` hook,
|
|
12525
|
+
* so this still works in trees that only mount `ElevasisServiceProvider`).
|
|
12526
|
+
*/
|
|
12527
|
+
declare function useOrgRoles(orgId?: SupabaseOrgId): _tanstack_react_query.UseQueryResult<{
|
|
12421
12528
|
roles: OrgRole[];
|
|
12422
12529
|
}, Error>;
|
|
12423
12530
|
|
|
@@ -12425,19 +12532,34 @@ declare function usePermissionCatalog(): _tanstack_react_query.UseQueryResult<{
|
|
|
12425
12532
|
permissions: PermissionDescriptor[];
|
|
12426
12533
|
}, Error>;
|
|
12427
12534
|
|
|
12535
|
+
/**
|
|
12536
|
+
* Posts to `/organizations/:orgId/roles` using the **Supabase organization
|
|
12537
|
+
* UUID** -- see `useOrgRoles` for why the WorkOS form 403s here for a
|
|
12538
|
+
* non-platform-admin caller.
|
|
12539
|
+
*/
|
|
12428
12540
|
declare function useCreateOrgRole(): _tanstack_react_query.UseMutationResult<OrgRole, Error, CreateOrgRoleInput, unknown>;
|
|
12429
12541
|
|
|
12430
12542
|
interface UpdateOrgRoleParams {
|
|
12431
12543
|
roleId: string;
|
|
12432
12544
|
input: UpdateOrgRoleInput;
|
|
12433
12545
|
}
|
|
12546
|
+
/** Keyed on the Supabase organization UUID -- see `useOrgRoles`. */
|
|
12434
12547
|
declare function useUpdateOrgRole(): _tanstack_react_query.UseMutationResult<OrgRole, Error, UpdateOrgRoleParams, unknown>;
|
|
12435
12548
|
|
|
12549
|
+
/** Keyed on the Supabase organization UUID -- see `useOrgRoles`. */
|
|
12436
12550
|
declare function useDeleteOrgRole(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
12437
12551
|
|
|
12552
|
+
/**
|
|
12553
|
+
* Both mutations invalidate on the **Supabase organization UUID** -- the same
|
|
12554
|
+
* key space `useOrgRoles` and `useEffectivePermissions` read on. Previously
|
|
12555
|
+
* this invalidated `workOSOrganizationId`-keyed entries while `useOrgRoles`
|
|
12556
|
+
* callers such as `MemberAccessModal` read Supabase-UUID-keyed entries, so a
|
|
12557
|
+
* role change here never invalidated the cache the modal displayed.
|
|
12558
|
+
*/
|
|
12438
12559
|
declare function useAssignRole(): _tanstack_react_query.UseMutationResult<void, Error, AssignRoleInput, unknown>;
|
|
12439
12560
|
declare function useRevokeRole(): _tanstack_react_query.UseMutationResult<void, Error, RevokeRoleInput, unknown>;
|
|
12440
12561
|
|
|
12562
|
+
/** Keyed on the Supabase organization UUID -- see `useAssignRole`/`useRevokeRole`. */
|
|
12441
12563
|
declare function useEffectivePermissions(membershipId: string | undefined): _tanstack_react_query.UseQueryResult<{
|
|
12442
12564
|
permissions: string[];
|
|
12443
12565
|
}, Error>;
|
|
@@ -12723,7 +12845,7 @@ declare function useExecutionLogsFilters(_timeRange: TimeRange): {
|
|
|
12723
12845
|
* Note: `organizationId` is passed as a parameter (not read from context)
|
|
12724
12846
|
* so consumers can query for a specific organization independently.
|
|
12725
12847
|
*
|
|
12726
|
-
* @param organizationId - The organization to fetch members for
|
|
12848
|
+
* @param organizationId - The Supabase organization UUID to fetch members for
|
|
12727
12849
|
* @param params - Optional additional filters, forwarded to the API
|
|
12728
12850
|
* @returns TanStack Query result with MembershipWithDetails array
|
|
12729
12851
|
*
|
|
@@ -12732,7 +12854,7 @@ declare function useExecutionLogsFilters(_timeRange: TimeRange): {
|
|
|
12732
12854
|
* const { data: members, isLoading } = useOrganizationMembers(organizationId)
|
|
12733
12855
|
* ```
|
|
12734
12856
|
*/
|
|
12735
|
-
declare function useOrganizationMembers(organizationId:
|
|
12857
|
+
declare function useOrganizationMembers(organizationId: SupabaseOrgId, params?: Omit<ListMembershipsParams, 'organizationId'>): _tanstack_react_query.UseQueryResult<MembershipWithDetails[], Error>;
|
|
12736
12858
|
|
|
12737
12859
|
/**
|
|
12738
12860
|
* Subscribe to the org-scoped delivery SSE stream.
|
|
@@ -15689,54 +15811,6 @@ interface CollapsibleJsonSectionProps {
|
|
|
15689
15811
|
}
|
|
15690
15812
|
declare function CollapsibleJsonSection({ title, data, defaultExpanded }: CollapsibleJsonSectionProps): react_jsx_runtime.JSX.Element;
|
|
15691
15813
|
|
|
15692
|
-
/**
|
|
15693
|
-
* Shared types for ResourceDefinition components
|
|
15694
|
-
*/
|
|
15695
|
-
/** Serialized knowledge node from API response */
|
|
15696
|
-
interface SerializedKnowledgeNode {
|
|
15697
|
-
id: string;
|
|
15698
|
-
description: string;
|
|
15699
|
-
loaded: boolean;
|
|
15700
|
-
hasPrompt: boolean;
|
|
15701
|
-
[key: string]: unknown;
|
|
15702
|
-
}
|
|
15703
|
-
/** Serialized knowledge map from API response */
|
|
15704
|
-
interface SerializedKnowledgeMap {
|
|
15705
|
-
nodeCount: number;
|
|
15706
|
-
nodes: SerializedKnowledgeNode[];
|
|
15707
|
-
}
|
|
15708
|
-
|
|
15709
|
-
interface NewKnowledgeMapGraphProps {
|
|
15710
|
-
knowledgeMap: SerializedKnowledgeMap;
|
|
15711
|
-
agentName: string;
|
|
15712
|
-
compact?: boolean;
|
|
15713
|
-
fitViewTrigger?: number;
|
|
15714
|
-
}
|
|
15715
|
-
declare function NewKnowledgeMapGraph(props: NewKnowledgeMapGraphProps): react_jsx_runtime.JSX.Element;
|
|
15716
|
-
|
|
15717
|
-
interface KnowledgeMapNodeData {
|
|
15718
|
-
id: string;
|
|
15719
|
-
name: string;
|
|
15720
|
-
description: string;
|
|
15721
|
-
loaded: boolean;
|
|
15722
|
-
hasPrompt: boolean;
|
|
15723
|
-
isAgentNode: boolean;
|
|
15724
|
-
[key: string]: unknown;
|
|
15725
|
-
}
|
|
15726
|
-
interface KnowledgeMapEdgeData {
|
|
15727
|
-
[key: string]: unknown;
|
|
15728
|
-
}
|
|
15729
|
-
declare function useNewKnowledgeMapLayout(knowledgeMap: SerializedKnowledgeMap | undefined, agentName: string): {
|
|
15730
|
-
nodes: Node<KnowledgeMapNodeData>[];
|
|
15731
|
-
edges: Edge<KnowledgeMapEdgeData>[];
|
|
15732
|
-
};
|
|
15733
|
-
|
|
15734
|
-
type NewKnowledgeMapNodeProps = NodeProps<Node<KnowledgeMapNodeData>>;
|
|
15735
|
-
declare const NewKnowledgeMapNode: React$1.NamedExoticComponent<NewKnowledgeMapNodeProps>;
|
|
15736
|
-
|
|
15737
|
-
type NewKnowledgeMapEdgeProps = EdgeProps<Edge<KnowledgeMapEdgeData, string>>;
|
|
15738
|
-
declare const NewKnowledgeMapEdge: React$1.NamedExoticComponent<NewKnowledgeMapEdgeProps>;
|
|
15739
|
-
|
|
15740
15814
|
interface ZodFormRendererProps<TSchema extends z$1.ZodType> {
|
|
15741
15815
|
schema: TSchema;
|
|
15742
15816
|
defaults?: Partial<z$1.infer<TSchema>>;
|
|
@@ -15868,6 +15942,23 @@ interface MembershipStatusBadgeProps {
|
|
|
15868
15942
|
}
|
|
15869
15943
|
declare function MembershipStatusBadge({ status, size, variant }: MembershipStatusBadgeProps): react_jsx_runtime.JSX.Element;
|
|
15870
15944
|
|
|
15945
|
+
interface ProvisioningStateBadgeProps {
|
|
15946
|
+
/**
|
|
15947
|
+
* `undefined` means the endpoint did not report a provisioning state, which is
|
|
15948
|
+
* indistinguishable from the ordinary case for display purposes.
|
|
15949
|
+
*/
|
|
15950
|
+
state?: MembershipProvisioningState;
|
|
15951
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
15952
|
+
variant?: 'light' | 'filled' | 'outline' | 'dot';
|
|
15953
|
+
}
|
|
15954
|
+
/**
|
|
15955
|
+
* Marks a membership that is not backed by a completed signup.
|
|
15956
|
+
*
|
|
15957
|
+
* Renders nothing for `linked` and for `undefined` — those are the ordinary case,
|
|
15958
|
+
* and a badge on every row would carry no information.
|
|
15959
|
+
*/
|
|
15960
|
+
declare function ProvisioningStateBadge({ state, size, variant }: ProvisioningStateBadgeProps): react_jsx_runtime.JSX.Element | null;
|
|
15961
|
+
|
|
15871
15962
|
interface OrganizationMembershipsListProps {
|
|
15872
15963
|
memberships: MembershipWithDetails[];
|
|
15873
15964
|
loading: boolean;
|
|
@@ -17278,6 +17369,12 @@ interface UseOrgInitializationReturn {
|
|
|
17278
17369
|
*/
|
|
17279
17370
|
declare function createUseOrgInitialization(useOrganizations: () => UseOrganizationsReturn, useApiClient: () => UseApiClientReturn): () => UseOrgInitializationReturn;
|
|
17280
17371
|
|
|
17372
|
+
/**
|
|
17373
|
+
* Canonical initialization types, owned here next to {@link InitializationProvider}
|
|
17374
|
+
* (the live, wired implementation). The legacy `createUseAppInitialization`
|
|
17375
|
+
* factory in `./hooks/useAppInitialization.ts` imports these rather than
|
|
17376
|
+
* declaring its own copy, so the two implementations can never drift on shape.
|
|
17377
|
+
*/
|
|
17281
17378
|
interface InitializationError {
|
|
17282
17379
|
layer: 'auth' | 'profile' | 'organization';
|
|
17283
17380
|
message: string;
|
|
@@ -17292,6 +17389,7 @@ interface AppInitializationState {
|
|
|
17292
17389
|
retry: () => void;
|
|
17293
17390
|
profile: SupabaseUserProfile | null;
|
|
17294
17391
|
}
|
|
17392
|
+
|
|
17295
17393
|
/**
|
|
17296
17394
|
* Factory function to create a useAppInitialization hook for your app.
|
|
17297
17395
|
*
|
|
@@ -17330,7 +17428,7 @@ interface ProtectedRouteProps {
|
|
|
17330
17428
|
/**
|
|
17331
17429
|
* When true (default), waits for both user AND organization to be ready
|
|
17332
17430
|
* before rendering children. When false, only waits for user readiness.
|
|
17333
|
-
* @default true
|
|
17431
|
+
* @default true -- see {@link DEFAULT_WAIT_FOR_ORGANIZATION}
|
|
17334
17432
|
*/
|
|
17335
17433
|
waitForOrganization?: boolean;
|
|
17336
17434
|
}
|
|
@@ -17349,8 +17447,9 @@ interface ProtectedRouteProps {
|
|
|
17349
17447
|
* When `canRecover()` returns false, falls back to navigating to `redirectTo`
|
|
17350
17448
|
* (default: '/login') with a `returnTo` search param.
|
|
17351
17449
|
*
|
|
17352
|
-
* Organization-layer errors are allowed through
|
|
17353
|
-
*
|
|
17450
|
+
* Organization-layer errors are allowed through so a route can render its own
|
|
17451
|
+
* no-org UI (e.g. "you have no organization membership yet") instead of being
|
|
17452
|
+
* stuck behind this guard's fallback indefinitely.
|
|
17354
17453
|
*
|
|
17355
17454
|
* @example
|
|
17356
17455
|
* // With custom fallback (your Mantine loader):
|
|
@@ -17359,9 +17458,9 @@ interface ProtectedRouteProps {
|
|
|
17359
17458
|
* </ProtectedRoute>
|
|
17360
17459
|
*
|
|
17361
17460
|
* @example
|
|
17362
|
-
* // Wait only for user, not org (e.g.
|
|
17461
|
+
* // Wait only for user, not org (e.g. a page reachable before onboarding):
|
|
17363
17462
|
* <ProtectedRoute waitForOrganization={false}>
|
|
17364
|
-
* <
|
|
17463
|
+
* <WelcomePage />
|
|
17365
17464
|
* </ProtectedRoute>
|
|
17366
17465
|
*/
|
|
17367
17466
|
declare function ProtectedRoute({ children, redirectTo, fallback, errorFallback, waitForOrganization }: ProtectedRouteProps): react_jsx_runtime.JSX.Element | null;
|
|
@@ -17429,15 +17528,35 @@ interface UseUserProfileReturn {
|
|
|
17429
17528
|
error: Error | null;
|
|
17430
17529
|
refetch: () => Promise<void>;
|
|
17431
17530
|
}
|
|
17531
|
+
/**
|
|
17532
|
+
* Canonical TanStack Query key for the current user's profile.
|
|
17533
|
+
*
|
|
17534
|
+
* Every consumer (ProfileProvider, Command Center's root layout, the
|
|
17535
|
+
* onboarding gate, the welcome flow, account settings, ...) reads and writes
|
|
17536
|
+
* this exact key, so they share one cache entry instead of each issuing an
|
|
17537
|
+
* independent `/users/me/sync` call. Not user-scoped: a full sign-out /
|
|
17538
|
+
* sign-in cycle in this app navigates through WorkOS (a real page load),
|
|
17539
|
+
* which tears down the QueryClient, so no explicit user id is needed to
|
|
17540
|
+
* avoid stale cross-user reads within a single session.
|
|
17541
|
+
*/
|
|
17542
|
+
declare const USER_PROFILE_QUERY_KEY: QueryKey;
|
|
17432
17543
|
/**
|
|
17433
17544
|
* Hook for managing user profile data with automatic WorkOS -> Supabase sync
|
|
17434
17545
|
*
|
|
17435
|
-
*
|
|
17546
|
+
* Backed by a single shared TanStack Query cache entry keyed on
|
|
17547
|
+
* {@link USER_PROFILE_QUERY_KEY}. This hook:
|
|
17436
17548
|
* 1. Automatically syncs WorkOS user data to Supabase on authentication
|
|
17437
17549
|
* 2. Provides access to the user's Supabase profile data
|
|
17438
17550
|
* 3. Handles loading states and errors
|
|
17439
17551
|
* 4. Includes a refetch function for manual updates
|
|
17440
17552
|
*
|
|
17553
|
+
* Because every consumer queries the same key, calling this hook from
|
|
17554
|
+
* multiple places in the tree (directly or via `useProfile()`) triggers at
|
|
17555
|
+
* most one `/users/me/sync` request per session — later mounts simply read
|
|
17556
|
+
* the cached result. Call `refetch()` (or invalidate {@link USER_PROFILE_QUERY_KEY}
|
|
17557
|
+
* via `useQueryClient()`) to force a fresh sync after a mutation that changes
|
|
17558
|
+
* the profile, e.g. completing onboarding.
|
|
17559
|
+
*
|
|
17441
17560
|
* @param options - Optional configuration including error handler and apiRequest
|
|
17442
17561
|
*/
|
|
17443
17562
|
declare const useUserProfile: (options?: UseUserProfileOptions) => UseUserProfileReturn;
|
|
@@ -17543,15 +17662,34 @@ interface OrganizationSwitcherProps {
|
|
|
17543
17662
|
}
|
|
17544
17663
|
declare function OrganizationSwitcher({ currentOrganization, memberships, isLoading, onSwitch }: OrganizationSwitcherProps): react_jsx_runtime.JSX.Element;
|
|
17545
17664
|
|
|
17665
|
+
interface OrganizationSwitcherConnectedProps {
|
|
17666
|
+
/**
|
|
17667
|
+
* Extra loading condition, OR'd with this component's own internal
|
|
17668
|
+
* loading state (org context initializing/refreshing). Use this instead of
|
|
17669
|
+
* forking the component when a consuming app tracks an additional
|
|
17670
|
+
* org-readiness signal (e.g. an app-specific initialization hook).
|
|
17671
|
+
*/
|
|
17672
|
+
isLoading?: boolean;
|
|
17673
|
+
/**
|
|
17674
|
+
* Called after `switchToOrganization` (WorkOS JWT refresh) and
|
|
17675
|
+
* `switchOrganization` (provider state sync) have both resolved
|
|
17676
|
+
* successfully. Use this for app-specific post-switch side effects (e.g.
|
|
17677
|
+
* resetting route-local search params) instead of forking this component.
|
|
17678
|
+
*/
|
|
17679
|
+
onSwitched?: (workosOrgId: string) => void;
|
|
17680
|
+
}
|
|
17546
17681
|
/**
|
|
17547
17682
|
* Self-wired OrganizationSwitcher that internally handles both the WorkOS JWT update
|
|
17548
17683
|
* (via AuthKit switchToOrganization) and the provider state update (via switchOrganization).
|
|
17549
17684
|
*
|
|
17550
|
-
* Drop-in replacement for a custom onSwitch handler in most apps. If
|
|
17551
|
-
* post-switch side effects (e.g. navigating away from an org-scoped route),
|
|
17552
|
-
*
|
|
17685
|
+
* Drop-in replacement for a custom onSwitch handler in most apps. If an app needs
|
|
17686
|
+
* post-switch side effects (e.g. navigating away from an org-scoped route), pass
|
|
17687
|
+
* `onSwitched` rather than reimplementing this component -- a prior fork
|
|
17688
|
+
* (Command Center's `AppOrgSwitcher`) existed solely to add one such side effect
|
|
17689
|
+
* and silently dropped this component's own extra-loading-state handling in the
|
|
17690
|
+
* process.
|
|
17553
17691
|
*/
|
|
17554
|
-
declare function OrganizationSwitcherConnected(): react_jsx_runtime.JSX.Element;
|
|
17692
|
+
declare function OrganizationSwitcherConnected({ isLoading: extraLoading, onSwitched }?: OrganizationSwitcherConnectedProps): react_jsx_runtime.JSX.Element;
|
|
17555
17693
|
|
|
17556
17694
|
interface OrganizationsState {
|
|
17557
17695
|
currentWorkOSOrganizationId: WorkOsOrgId | null;
|
|
@@ -17728,11 +17866,11 @@ declare function useInitialization(): AppInitializationState;
|
|
|
17728
17866
|
* if (!organizationReady || isLoading) return <SubshellLoader />
|
|
17729
17867
|
*
|
|
17730
17868
|
* @example
|
|
17731
|
-
* // Pages accessible without org
|
|
17869
|
+
* // Pages accessible without org
|
|
17732
17870
|
* const { userReady, error } = useInitialization()
|
|
17733
17871
|
* if (!userReady) return <SubshellLoader />
|
|
17734
17872
|
* if (error?.layer === 'organization') {
|
|
17735
|
-
* return <
|
|
17873
|
+
* return <AppShellError message={error.message} />
|
|
17736
17874
|
* }
|
|
17737
17875
|
*
|
|
17738
17876
|
* @example
|
|
@@ -17746,5 +17884,5 @@ declare function InitializationProvider({ children }: {
|
|
|
17746
17884
|
children: ReactNode;
|
|
17747
17885
|
}): React$1.FunctionComponentElement<React$1.ProviderProps<AppInitializationState | null>>;
|
|
17748
17886
|
|
|
17749
|
-
export { AGENT_CONSTANTS, APIClientError, APIErrorAlert, API_URL, AbsoluteScheduleForm, AccessGuard, AccessKeys, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, ActivityTrendChart, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationDetailPanel, AgentIterationEdge, AgentIterationNode, AllTasksPage, AmbientBloomGrid, ApiClientProvider, ApiKeyDisplayModal, ApiKeyList, ApiKeyService, ApiKeySettings, AppBackground, AppErrorBoundary, AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, AppearanceProvider, AuthProvider, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, CardHeader, CenteredErrorState, ChartFrame, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CollapsibleSidebarGroup, CombinedTrendChart, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CompanyDetailPage, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContactDetailPage, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CostTrendChart, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialService, CredentialSettings, CrmActionsProvider, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, CyberAreaChart, CyberBackground, CyberDonut, CyberDonutTooltip, CyberLegendItem, CyberParticles, DEAL_STAGES, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DEFAULT_KANBAN_CONFIG, DEFAULT_SEMANTIC_ICON_REGISTRY, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentService, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisCoreProvider, ElevasisLoader, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilmGrain, FilterBar, FloatingMotes, FloatingOrbs, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, HeroStatsRow, InitializationContext, InitializationProvider, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LIMIT_ACTIVITY_FEED, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, LinksGroup, ListActionsProvider, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NewKnowledgeMapEdge, NewKnowledgeMapGraph, NewKnowledgeMapNode, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAuthConnectModal, OperationsService, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationContext, OrganizationMembershipService, OrganizationMembershipsList, OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, PAGE_SIZE_DEFAULT, PIPELINE_FUNNEL_ORDER, PageContainer, PageNotFound, PageTitleCaption, PermissionMatrix, PerspectiveGrid, PipelineFunnelWidget, PresetsProvider, ProfileProvider, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, ProtectedRoute, QuickCreateActions, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, RadiantGlow, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, ResourceStatusColors, RichTextEditor, RoleBadge, RouterProvider, RunResourceButton, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, ScrollToTop, SemanticIcon, SessionMemory, Sidebar, SidebarContext, SidebarProvider, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StepConfigForm, StyledMarkdown, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavItem, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, SubshellSidebarSection, SystemShell, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TabCountBadge, TabSection, TableSelectionToolbar, TanStackRouterBridge, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, Topbar, TopbarActions, TopbarContainer, TrendIndicator, TypeformArrayField, TypeformCheckboxGroup, TypeformNavigation, TypeformProgress, TypeformQuestionWrapper, TypeformRadioGroup, TypeformSurvey, TypeformTextInput, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, UserProfileService, Vignette, VisualizerContainer, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WaveBackground, WebhookEndpointService, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, acquisitionListKeys, answerValueSchema, brochureStyles, brochureTheme, buildErrorReport, calculateBarPosition, calculateGraphHeight, calculateProgress, checkboxWithOtherSchema, clientsKeys, collectResourceFilterFacets, companyKeys, componentThemes, contactKeys, createCssVariablesResolver, createCustomValue, createElevasisQueryClient, createOrganizationsSlice, createPresetValue, createSurveyConfig, createTestSystemsProvider, createUseAppInitialization, createUseOrgInitialization, createUseOrganizations, crmManifest, dealKeys, dealNoteKeys, dealTaskKeys, debounce, defaultTheme, deliveryManifest, executionsKeys, extendSemanticIconRegistry, extractAnswerValue, extractMultiAnswerValues, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatStatusLabel, formatTimeAgo, generateShades, getAnswerString, getCustomValueText, getEdgeColor, getEdgeOpacity, getEnrichmentColor, getErrorInfo, getErrorTitle, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getMultiAnswerStrings, getPreset, getResourceColor, getResourceFilterFacetIds, getResourceIcon, getResourceStatusColor, getSemanticIconComponent, getSeriesColor, getStatusColor, getStatusColors, getStatusIcon, getTimeRangeDates, getTimeRangeLabel, hasCustomValue, hasPresetValue, iconMap, isAPIClientError, isCustomValue, isPresetValue, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, mantineThemeOverride, mdxComponents, mergeSessionMessages, mergeTheme, milestoneKeys, milestoneStatusColors, monitoringManifest, multiAnswerValueSchema, noteKeys, noteTypeColors, observabilityKeys, operationsKeys, operationsManifest, PRESETS as presets, projectActivityKeys, projectKeys, projectStatusColors, radioWithOtherSchema, requestsKeys, resolveSemanticIconComponent, restoreConsole, scheduleKeys, seoManifest, sessionsKeys, settingsManifest, setupBrowserMocks, shouldAnimateEdge, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, sortData, subshellNavItemIconSize, subsidebarWidth, suppressKnownWarnings, taskKeys, taskStatusColors, taskTypeColors, topbarHeight, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBreadcrumbs, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCardStyle, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useConnectionHighlight, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useCrmActions, useCrmPipelineSummary, useCrmQuickMetrics, useCyberColors, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteLists, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useDirectedChainHighlighting, useEffectivePermissions, useElevasisServices, useElevasisSystems, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutionSSE, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphBackgroundStyles, useGraphHighlighting, useGraphTheme, useInFlightExecutions, useInitialization, useList, useListActions, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNewKnowledgeMapLayout, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOptionalElevasisSystems, useOrgRoles, useOrganization, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, usePresetsContext, useProfile, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactFlowAgent, useReactivateMembership, useRecentCrmActivity, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResolvedOrganizationModel, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSidebar, useSidebarCollapse, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useTypeform, useTypeformContext, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution, useWorkflowStepsLayout, validateEmail };
|
|
17750
|
-
export type { AccessGuardProps, AccessKeyInput, AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityEntry, ActivityFilters$1 as ActivityFilters, ActivityFiltersProps, ActivityTableProps, ActivityTrendChartProps, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AgentIterationEdgeData, AgentIterationNodeData, AgentIterationTotals, AgentStatus, AnswerValue, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppErrorBoundaryProps, AppInitializationState, AppearanceConfig, ArrayItemAnswer, ArrayQuestion, AssignRoleInput, AuthConfig, AuthContextValue, AuthKitConfig, BaseEdgeProps, BaseExecutionLogsProps, BaseQuestion, BreadcrumbItem, BreadcrumbsProps, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChartFrameProps, ChatMessage, CheckboxQuestion, ClientDetailResponse, ClientResponse, ClientStatus, ClientStatusResponse, ClientsListFilters, CollapsibleSidebarGroupProps, ColorShadesTuple, CombinedTrendChartProps, CompanyDetailPageProps, ContactDetailPageProps, ContentQuestion, ContextViewerProps, CostByModelTableProps, CostTrendChartProps, CrashErrorFallbackProps, CreateApiKeyRequest, CreateApiKeyResponse, CreateClientRequest, CreateCredentialRequest, CreateCredentialResponse, CreateElevasisQueryClientOptions, CreateOrgRoleInput, CreateRoleModalProps, CreateScheduleInput, CreateSessionResponse, CreateTestSystemsProviderOptions, CredentialListItem, CrmOverviewProps, CyberAreaChartProps, CyberColors, CyberDonutProps, CyberDonutSegment, CyberSeries, CyberVariant, DealDetail, DealKanbanCardProps, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisSystemsContextValue, ElevasisSystemsProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorAnalysisCardProps, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorReportCardProps, ErrorTrendsParams, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionBreakdownTableProps, ExecutionErrorDetails, ExecutionHealthCardProps, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogEntry, ExecutionLogsFilters$1 as ExecutionLogsFilters, ExecutionLogsFiltersProps, ExecutionLogsPageResponse, ExecutionLogsTableProps, ExecutionPathState, ExecutionStatus, FailingResource, FeatureUnavailableStateProps, FieldPath, FitViewButtonVariant, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphFitViewHandlerProps, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, HeroStatsRowProps, InitializationError, JsonViewerProps, KanbanBoardProps,
|
|
17887
|
+
export { AGENT_CONSTANTS, APIClientError, APIErrorAlert, API_URL, AbsoluteScheduleForm, AccessGuard, AccessKeys, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, ActivityTrendChart, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationDetailPanel, AgentIterationEdge, AgentIterationNode, AllTasksPage, AmbientBloomGrid, ApiClientProvider, ApiKeyDisplayModal, ApiKeyList, ApiKeyService, ApiKeySettings, AppBackground, AppErrorBoundary, AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, AppearanceProvider, AuthProvider, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, CardHeader, CenteredErrorState, ChartFrame, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CollapsibleSidebarGroup, CombinedTrendChart, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CompanyDetailPage, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContactDetailPage, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CostTrendChart, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialService, CredentialSettings, CrmActionsProvider, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, CyberAreaChart, CyberBackground, CyberDonut, CyberDonutTooltip, CyberLegendItem, CyberParticles, DEAL_STAGES, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, DEFAULT_KANBAN_CONFIG, DEFAULT_SEMANTIC_ICON_REGISTRY, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentService, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisCoreProvider, ElevasisLoader, ElevasisServiceProvider, ElevasisSystemsProvider, ElevasisUIProvider, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilmGrain, FilterBar, FloatingMotes, FloatingOrbs, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, GRAPH_CONSTANTS, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, HeroStatsRow, InitializationContext, InitializationProvider, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LIMIT_ACTIVITY_FEED, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, LinksGroup, ListActionsProvider, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, NotificationProvider, OAUTH_FLOW_TIMEOUT, OAuthConnectModal, OperationsService, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationContext, OrganizationMembershipService, OrganizationMembershipsList, OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, PAGE_SIZE_DEFAULT, PIPELINE_FUNNEL_ORDER, PageContainer, PageNotFound, PageTitleCaption, PermissionMatrix, PerspectiveGrid, PipelineFunnelWidget, PresetsProvider, ProfileProvider, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, ProtectedRoute, ProvisioningStateBadge, QuickCreateActions, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, RadiantGlow, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, ResourceStatusColors, RichTextEditor, RoleBadge, RouterProvider, RunResourceButton, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, STATUS_COLORS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, ScrollToTop, SemanticIcon, SessionMemory, Sidebar, SidebarContext, SidebarProvider, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StepConfigForm, StyledMarkdown, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavItem, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, SubshellSidebarSection, SystemShell, TIMELINE_CONSTANTS, TOKEN_VAR_MAP, TabCountBadge, TabSection, TableSelectionToolbar, TanStackRouterBridge, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, Topbar, TopbarActions, TopbarContainer, TrendIndicator, TypeformArrayField, TypeformCheckboxGroup, TypeformNavigation, TypeformProgress, TypeformQuestionWrapper, TypeformRadioGroup, TypeformSurvey, TypeformTextInput, USER_PROFILE_QUERY_KEY, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, UserProfileService, Vignette, VisualizerContainer, WORKFLOW_CONSTANTS, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, WaveBackground, WebhookEndpointService, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, acquisitionListKeys, answerValueSchema, brochureStyles, brochureTheme, buildErrorReport, calculateBarPosition, calculateGraphHeight, calculateProgress, checkboxWithOtherSchema, clientsKeys, collectResourceFilterFacets, companyKeys, componentThemes, contactKeys, createCssVariablesResolver, createCustomValue, createElevasisQueryClient, createOrganizationsSlice, createPresetValue, createSurveyConfig, createTestSystemsProvider, createUseAppInitialization, createUseOrgInitialization, createUseOrganizations, crmManifest, dealKeys, dealNoteKeys, dealTaskKeys, debounce, defaultTheme, deliveryManifest, executionsKeys, extendSemanticIconRegistry, extractAnswerValue, extractMultiAnswerValues, filterByDomainFilters, formatChartAxisDate, formatDate, formatDateTime, formatDuration, formatErrorMessage, formatRelativeTime, formatStatusLabel, formatTimeAgo, generateShades, getAnswerString, getCustomValueText, getEdgeColor, getEdgeOpacity, getEnrichmentColor, getErrorInfo, getErrorTitle, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getMultiAnswerStrings, getPreset, getResourceColor, getResourceFilterFacetIds, getResourceIcon, getResourceStatusColor, getSemanticIconComponent, getSeriesColor, getStatusColor, getStatusColors, getStatusIcon, getTimeRangeDates, getTimeRangeLabel, hasCustomValue, hasPresetValue, iconMap, isAPIClientError, isCustomValue, isPresetValue, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, mantineThemeOverride, mdxComponents, mergeSessionMessages, mergeTheme, milestoneKeys, milestoneStatusColors, monitoringManifest, multiAnswerValueSchema, noteKeys, noteTypeColors, observabilityKeys, operationsKeys, operationsManifest, PRESETS as presets, projectActivityKeys, projectKeys, projectStatusColors, radioWithOtherSchema, requestsKeys, resolveSemanticIconComponent, restoreConsole, scheduleKeys, seoManifest, sessionsKeys, settingsManifest, setupBrowserMocks, shouldAnimateEdge, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, sortData, subshellNavItemIconSize, subsidebarWidth, suppressKnownWarnings, taskKeys, taskStatusColors, taskTypeColors, topbarHeight, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useAgentIterationData, useApiClient, useApiClientContext, useAppearance, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useAuthContext, useAvailablePresets, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBreadcrumbs, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCardStyle, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useConnectionHighlight, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useCrmActions, useCrmPipelineSummary, useCrmQuickMetrics, useCyberColors, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteLists, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask$1 as useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useDirectedChainHighlighting, useEffectivePermissions, useElevasisServices, useElevasisSystems, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionPath, useExecutionSSE, useExecutions, useFitViewTrigger, useGetExecutionHistory, useGetSchedule, useGraphBackgroundStyles, useGraphHighlighting, useGraphTheme, useInFlightExecutions, useInitialization, useList, useListActions, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMergedExecution, useMilestones, useNodeSelection, useNotificationAdapter, useNotificationCount as useNotificationCountSSE, useNotifications, useOptionalElevasisSystems, useOrgRoles, useOrganization, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, usePresetsContext, useProfile, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, useReactFlowAgent, useReactivateMembership, useRecentCrmActivity, useRecentExecutionsByResource, useSessionCheck as useRefocusSessionCheck, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResolvedOrganizationModel, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useRouterContext, useSSEConnection, useScheduledTasks, useSession, useSessionCheck, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSidebar, useSidebarCollapse, useSortedData, useStableAccessToken, useStatusFilter, useSubmitAction, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTimelineData, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useTypeform, useTypeformContext, useUnifiedWorkflowLayout, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useUserProfile, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution, useWorkflowStepsLayout, validateEmail };
|
|
17888
|
+
export type { AccessGuardProps, AccessKeyInput, AcqCompanyWithCount, AcqContactWithCompany, AcqDealNote, AcqDealTask, AcqDealTaskKind, ActivityEntry, ActivityFilters$1 as ActivityFilters, ActivityFiltersProps, ActivityTableProps, ActivityTrendChartProps, ActivityTrendResponse, AddCompaniesToListResult, AddContactsToListResult, AgentIterationEdgeData, AgentIterationNodeData, AgentIterationTotals, AgentStatus, AnswerValue, ApiClientContextValue, ApiClientProviderProps, ApiErrorDetails, ApiKeyConfig, AppErrorBoundaryProps, AppInitializationState, AppearanceConfig, ArrayItemAnswer, ArrayQuestion, AssignRoleInput, AuthConfig, AuthContextValue, AuthKitConfig, BaseEdgeProps, BaseExecutionLogsProps, BaseQuestion, BreadcrumbItem, BreadcrumbsProps, BulkDeleteExecutionsParams, BulkDeleteExecutionsResult, BusinessImpactMetrics, CancelExecutionParams, CancelExecutionResult, ChartFrameProps, ChatMessage, CheckboxQuestion, ClientDetailResponse, ClientResponse, ClientStatus, ClientStatusResponse, ClientsListFilters, CollapsibleSidebarGroupProps, ColorShadesTuple, CombinedTrendChartProps, CompanyDetailPageProps, ContactDetailPageProps, ContentQuestion, ContextViewerProps, CostByModelTableProps, CostTrendChartProps, CrashErrorFallbackProps, CreateApiKeyRequest, CreateApiKeyResponse, CreateClientRequest, CreateCredentialRequest, CreateCredentialResponse, CreateElevasisQueryClientOptions, CreateOrgRoleInput, CreateRoleModalProps, CreateScheduleInput, CreateSessionResponse, CreateTestSystemsProviderOptions, CredentialListItem, CrmOverviewProps, CyberAreaChartProps, CyberColors, CyberDonutProps, CyberDonutSegment, CyberSeries, CyberVariant, DealDetail, DealKanbanCardProps, DealLookupFilters, DealLookupItem, DealSummaryStageItem, DealsSummaryResponse, DeleteExecutionParams, Deployment, DirectedChainHighlightingOptions, DirectedChainHighlightingResult, EdgeColorOptions, EdgeOpacityOptions, ElevasisCoreProviderProps, ElevasisCoreThemeConfig, ElevasisServiceContextValue, ElevasisServiceProviderProps, ElevasisSystemsContextValue, ElevasisSystemsProviderProps, ElevasisThemeConfig, ElevasisTokenOverrides, ErrorAnalysisCardProps, ErrorDistributionItem, ErrorDistributionParams, ErrorFilters, ErrorReportCardProps, ErrorTrendsParams, ExecuteActionInput, ExecuteAsyncParams, ExecuteAsyncResult, ExecutionBreakdownTableProps, ExecutionErrorDetails, ExecutionHealthCardProps, ExecutionHistoryItem, ExecutionHistoryResponse, ExecutionLogEntry, ExecutionLogsFilters$1 as ExecutionLogsFilters, ExecutionLogsFiltersProps, ExecutionLogsPageResponse, ExecutionLogsTableProps, ExecutionPathState, ExecutionStatus, FailingResource, FeatureUnavailableStateProps, FieldPath, FitViewButtonVariant, FrameworkThemeOverrides, GetMessagesResponse, GlowIntensity, GraphFitViewHandlerProps, GraphHeightOptions, GraphHighlightingResult, GraphMode, GraphThemeColors, HeroStatsRowProps, InitializationError, JsonViewerProps, KanbanBoardProps, LeadGenStageKey, LinkItem, LinkProps, LinksGroupProps, ListActivitiesResponse, ListApiKeysResponse, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, ListCredentialsResponse, ListExecutionsFilters, ListRecordsFilters, ListSchedulesFilters, ListSchedulesResponse, ListWebhookEndpointsResponse, LogLevel, MdxRendererProps, MembershipWithDetails, MessageEvent, MessageType, MultiAnswerValue, NavItem, NavigationButtonProps, NodeColorType, NotificationAdapter, OrgRole, OrganizationContextValue, OrganizationGraphContextValue, OrganizationGraphSystemBridge, OrganizationsActions, OrganizationsSlice, OrganizationsState, PageCondition, PermissionRow, PresetEntry, PresetName, ProfileContextValue, ProjectsSidebarMiddleProps, ProtectedRouteProps, RadioQuestion, RemoveCompaniesFromListResult, RequestRow, RequestSeverity, RequestType, RequestsListFilters, ResolvedShellModel, ResolvedShellRouteMatch, ResolvedShellSystem, ResolvedSystemAccess, ResolvedSystemModule, ResolvedSystemSemantics, ResourceFilterFacet, ResourceHealthPanelProps, ResourcesResponse, RetryExecutionParams, RevokeRoleInput, RichTextEditorProps, RouterAdapter, RunResourceButtonProps, RunResourceInputResolver, SavedViewPreset, ScheduleType, SemanticIconProps, SemanticIconRegistry, SemanticIconToken, SessionDTO, SessionExecution, SessionExecutionsResponse, SessionListItem, SessionTokenUsage, ShellRouteMatchStatus, ShellRuntime, ShellSidebarLinkGroup, ShellSidebarLinkItem, ShellSidebarProjectionOptions, SidebarNestedProps, SortDirection, SortState, StaleDealSummaryItem, StatCardProps, StatefulItem, StatusColorScheme, StatusFilter$1 as StatusFilter, StatusIconColors, StepConfigComponent, StepConfigFieldHint, StepConfigFormProps, StepConfigLayout, StepConfigSection, StepExecutionData, StyledMarkdownProps, SubmitActionRequest, SubmitActionResponse, SubmitRequestInput, SubshellContainerProps, SubshellContentContainerProps, SubshellNavItemProps, SubshellNavListProps, SubshellRightSideContainerProps, SubshellSidebarContainerProps, SubshellSidebarLoaderProps, SubshellSidebarProps, SubshellSidebarSectionProps, SupabaseUserProfile, SystemHealthExecutionSummary, SystemHealthResponse, SystemIconComponent, SystemModule, SystemSidebarComponent, TabSectionProps, TablerIcon, TablerIconComponent, TaskFilterStatus, TaskSchedule, TextQuestion, TextareaQuestion, ThemePreset, TimelineBarProps, TimelineContainerProps, TimelineRowProps, TopFailingResourcesParams, TopbarActionsProps, TopbarProps, TransitionItemInput, TransitionListCompanyInput, TransitionListMemberInput, TransitionStateInput, TrendIndicatorProps, TypeformActions, TypeformAnswerValue, TypeformAnswers, TypeformArrayFieldProps, TypeformCheckboxGroupProps, TypeformConfig, TypeformContextValue, TypeformErrors, TypeformInputQuestion, TypeformNavigationProps, TypeformOption, TypeformPage, TypeformProgressProps, TypeformQuestion, TypeformRadioGroupProps, TypeformState, TypeformStyles, TypeformSurveyProps, TypeformTextInputProps, TypeformTheme, UnifiedWorkflowEdgeData, UnifiedWorkflowNodeData, UpdateClientRequest, UpdateListStatusInput, UpdateOrgRoleInput, UpdateScheduleInput, UseAccessResult, UseActivitiesParams, UseActivityTrendParams, UseApiClientReturn, UseArtifactsParams, UseBatchedResourcesHealthParams, UseBreadcrumbsOptions, UseExecuteResourceOptions, UseExecutionHealthParams, UseExecutionLogsParams, UseExecutionPanelStateOptions, UseExecutionPanelStateReturn, UseExecutionSSEOptions, UseExecutionSSEResult, UseInFlightExecutionsOptions, UseListProgressOptions, UseNotificationCountArgs, UseOrgInitializationReturn, UseOrganizationsReturn, UseResourcesHealthParams, UseSSEConnectionOptions, UseScheduledTasksOptions, UseSystemHealthParams, UseTypeformReturn, UseUserProfileReturn, UseWorkflowExecutionOptions, UseWorkflowExecutionResult, VerifyCredentialResponse, WaveVariant, WebSocketState, WithSchemes, WorkflowEdgeType, WorkflowExecutionTriggerParams, WorkflowStepEdgeData, WorkflowStepNodeData, WorkflowStepsLayoutInput, ZodFormRendererProps };
|