@elevasis/ui 2.72.0 → 2.74.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/api/index.js +3 -3
- package/dist/app/index.d.ts +172 -20
- package/dist/app/index.js +9 -10
- package/dist/auth/index.js +5 -6
- package/dist/charts/index.js +5 -6
- package/dist/chunk-2GIJBHZT.js +60 -0
- package/dist/{chunk-2454MK7P.js → chunk-2MRRDF32.js} +115 -8
- package/dist/chunk-3LOKYZJC.js +231 -0
- package/dist/chunk-3QHX4ZKV.js +224 -0
- package/dist/chunk-43LC6XAX.js +69 -0
- package/dist/chunk-4M2BSHVT.js +116 -0
- package/dist/{chunk-SV4M2BUI.js → chunk-4MXNHJTA.js} +111 -46
- package/dist/{chunk-LEQGGX2U.js → chunk-5A6KCFS5.js} +36 -43
- package/dist/{chunk-KIDZXZM5.js → chunk-6JN2TLV2.js} +1480 -4200
- package/dist/{chunk-UZ5JO5TK.js → chunk-7ARBBELS.js} +1 -1
- package/dist/{chunk-DJWIIPKW.js → chunk-7RJ7P6S6.js} +6 -3
- package/dist/chunk-ARAFQBNI.js +515 -0
- package/dist/{chunk-DKVGO6RJ.js → chunk-BA3AZJUR.js} +1 -1
- package/dist/chunk-BRTGCFBH.js +305 -0
- package/dist/{chunk-7ESZKTQG.js → chunk-CQPULKKL.js} +5 -3
- package/dist/chunk-CRA7WQZH.js +49 -0
- package/dist/{chunk-XZIOCB5D.js → chunk-DCQKTDIG.js} +2 -52
- package/dist/{chunk-A3JHFZDP.js → chunk-E6YGA5WH.js} +1 -1
- package/dist/chunk-FA7LMNQO.js +439 -0
- package/dist/chunk-FZSG6M6W.js +45 -0
- package/dist/chunk-GDOR57D7.js +165 -0
- package/dist/{chunk-RRS2QR3W.js → chunk-GO4XJ5D4.js} +1 -1
- package/dist/chunk-GPQQGQGT.js +645 -0
- package/dist/chunk-HYQOGRWG.js +54 -0
- package/dist/{chunk-LCHL5SM2.js → chunk-LN4UW6S4.js} +1 -1
- package/dist/chunk-N6K2Q5BM.js +393 -0
- package/dist/{chunk-Z2W5VNN3.js → chunk-O32UQ26A.js} +3 -2
- package/dist/{chunk-M7WWRZ5Z.js → chunk-QFGNRKIE.js} +1 -78
- package/dist/{chunk-Q3O3WY7Q.js → chunk-R5UGIFYU.js} +74 -18
- package/dist/{chunk-753MKWFV.js → chunk-RFNJ2PTO.js} +1 -1
- package/dist/chunk-VM2OWOXL.js +24 -0
- package/dist/{chunk-ZBXCEWKF.js → chunk-W2QRBQQA.js} +5 -3
- package/dist/chunk-WDBNW44Z.js +49 -0
- package/dist/{chunk-IXBRUIYI.js → chunk-WZU3MCKI.js} +1 -1
- package/dist/chunk-YQQ5GRUR.js +21 -0
- package/dist/{chunk-IMZTRDY2.js → chunk-ZFA56VSR.js} +2 -2
- package/dist/{chunk-AFBFSXP3.js → chunk-ZWI62BQ6.js} +7 -4
- package/dist/chunk-ZYNVCWDZ.js +286 -0
- package/dist/components/index.d.ts +490 -22
- package/dist/components/index.js +335 -35
- package/dist/components/navigation/index.js +6 -7
- package/dist/features/auth/index.d.ts +154 -2
- package/dist/features/auth/index.js +18 -9
- package/dist/features/clients/index.js +7 -7
- package/dist/features/content/index.d.ts +718 -34
- package/dist/features/content/index.js +1345 -51
- package/dist/features/crm/index.d.ts +172 -20
- package/dist/features/crm/index.js +10 -8
- package/dist/features/dashboard/index.d.ts +19 -10
- package/dist/features/dashboard/index.js +9 -8
- package/dist/features/delivery/index.d.ts +134 -0
- package/dist/features/delivery/index.js +23 -7
- package/dist/features/knowledge/index.js +5 -6
- package/dist/features/lead-gen/index.d.ts +47 -35
- package/dist/features/lead-gen/index.js +12 -8
- package/dist/features/monitoring/index.js +11 -9
- package/dist/features/monitoring/requests/index.js +8 -7
- package/dist/features/operations/index.d.ts +38 -20
- package/dist/features/operations/index.js +15 -11
- package/dist/features/public-agent-chat/index.js +3 -1
- package/dist/features/settings/index.d.ts +134 -0
- package/dist/features/settings/index.js +9 -8
- package/dist/hooks/access/index.js +5 -6
- package/dist/hooks/delivery/index.d.ts +134 -0
- package/dist/hooks/delivery/index.js +3 -2
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +20 -11
- package/dist/hooks/published.d.ts +1421 -29
- package/dist/hooks/published.js +22 -6
- package/dist/initialization/index.d.ts +134 -0
- package/dist/knowledge/index.d.ts +38 -20
- package/dist/knowledge/index.js +167 -11
- package/dist/{knowledge-search-index-RZLIVWPJ.js → knowledge-search-index-6GQK55IQ.js} +1 -1
- package/dist/layout/index.js +8 -9
- package/dist/profile/index.d.ts +134 -0
- package/dist/provider/index.d.ts +191 -21
- package/dist/provider/index.js +5 -6
- package/dist/provider/published.d.ts +219 -21
- package/dist/provider/published.js +5 -6
- package/dist/test-utils/index.d.ts +16 -5
- package/dist/test-utils/index.js +17 -18
- package/dist/types/index.d.ts +184 -14
- package/dist/utils/index.d.ts +102 -13
- package/dist/utils/index.js +1 -1
- package/package.json +7 -6
- package/dist/chunk-6M6OLGQY.js +0 -36
- package/dist/chunk-MKH2KOAO.js +0 -39
- package/dist/hooks/index.css +0 -659
- package/dist/hooks/index.d.ts +0 -12853
- package/dist/hooks/index.js +0 -27
- package/dist/supabase/index.d.ts +0 -6969
- package/dist/supabase/index.js +0 -3
- package/dist/typeform/index.d.ts +0 -462
- package/dist/typeform/index.js +0 -2051
- package/dist/typeform/schemas.d.ts +0 -67
- package/dist/typeform/schemas.js +0 -2
|
@@ -1895,6 +1895,64 @@ type Database = {
|
|
|
1895
1895
|
}
|
|
1896
1896
|
];
|
|
1897
1897
|
};
|
|
1898
|
+
content_distribution_metrics: {
|
|
1899
|
+
Row: {
|
|
1900
|
+
captured_at: string;
|
|
1901
|
+
created_at: string;
|
|
1902
|
+
distribution_id: string;
|
|
1903
|
+
id: string;
|
|
1904
|
+
metrics: Json;
|
|
1905
|
+
organization_id: string;
|
|
1906
|
+
raw: Json;
|
|
1907
|
+
source: string;
|
|
1908
|
+
source_execution_id: string | null;
|
|
1909
|
+
};
|
|
1910
|
+
Insert: {
|
|
1911
|
+
captured_at?: string;
|
|
1912
|
+
created_at?: string;
|
|
1913
|
+
distribution_id: string;
|
|
1914
|
+
id?: string;
|
|
1915
|
+
metrics?: Json;
|
|
1916
|
+
organization_id: string;
|
|
1917
|
+
raw?: Json;
|
|
1918
|
+
source: string;
|
|
1919
|
+
source_execution_id?: string | null;
|
|
1920
|
+
};
|
|
1921
|
+
Update: {
|
|
1922
|
+
captured_at?: string;
|
|
1923
|
+
created_at?: string;
|
|
1924
|
+
distribution_id?: string;
|
|
1925
|
+
id?: string;
|
|
1926
|
+
metrics?: Json;
|
|
1927
|
+
organization_id?: string;
|
|
1928
|
+
raw?: Json;
|
|
1929
|
+
source?: string;
|
|
1930
|
+
source_execution_id?: string | null;
|
|
1931
|
+
};
|
|
1932
|
+
Relationships: [
|
|
1933
|
+
{
|
|
1934
|
+
foreignKeyName: "content_distribution_metrics_distribution_fkey";
|
|
1935
|
+
columns: ["distribution_id", "organization_id"];
|
|
1936
|
+
isOneToOne: false;
|
|
1937
|
+
referencedRelation: "content_distributions";
|
|
1938
|
+
referencedColumns: ["id", "organization_id"];
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
foreignKeyName: "content_distribution_metrics_organization_id_fkey";
|
|
1942
|
+
columns: ["organization_id"];
|
|
1943
|
+
isOneToOne: false;
|
|
1944
|
+
referencedRelation: "organizations";
|
|
1945
|
+
referencedColumns: ["id"];
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
foreignKeyName: "content_distribution_metrics_source_execution_id_fkey";
|
|
1949
|
+
columns: ["source_execution_id"];
|
|
1950
|
+
isOneToOne: false;
|
|
1951
|
+
referencedRelation: "execution_logs";
|
|
1952
|
+
referencedColumns: ["execution_id"];
|
|
1953
|
+
}
|
|
1954
|
+
];
|
|
1955
|
+
};
|
|
1898
1956
|
content_distributions: {
|
|
1899
1957
|
Row: {
|
|
1900
1958
|
adapted_body: string | null;
|
|
@@ -2044,6 +2102,63 @@ type Database = {
|
|
|
2044
2102
|
}
|
|
2045
2103
|
];
|
|
2046
2104
|
};
|
|
2105
|
+
content_item_source_assets: {
|
|
2106
|
+
Row: {
|
|
2107
|
+
alt_text: string | null;
|
|
2108
|
+
content_item_id: string;
|
|
2109
|
+
created_at: string;
|
|
2110
|
+
crop: Json | null;
|
|
2111
|
+
derivative_crop: Json | null;
|
|
2112
|
+
derivative_path: string | null;
|
|
2113
|
+
derivative_rendered_at: string | null;
|
|
2114
|
+
id: string;
|
|
2115
|
+
organization_id: string;
|
|
2116
|
+
position: number;
|
|
2117
|
+
source_asset_id: string;
|
|
2118
|
+
};
|
|
2119
|
+
Insert: {
|
|
2120
|
+
alt_text?: string | null;
|
|
2121
|
+
content_item_id: string;
|
|
2122
|
+
created_at?: string;
|
|
2123
|
+
crop?: Json | null;
|
|
2124
|
+
derivative_crop?: Json | null;
|
|
2125
|
+
derivative_path?: string | null;
|
|
2126
|
+
derivative_rendered_at?: string | null;
|
|
2127
|
+
id?: string;
|
|
2128
|
+
organization_id: string;
|
|
2129
|
+
position: number;
|
|
2130
|
+
source_asset_id: string;
|
|
2131
|
+
};
|
|
2132
|
+
Update: {
|
|
2133
|
+
alt_text?: string | null;
|
|
2134
|
+
content_item_id?: string;
|
|
2135
|
+
created_at?: string;
|
|
2136
|
+
crop?: Json | null;
|
|
2137
|
+
derivative_crop?: Json | null;
|
|
2138
|
+
derivative_path?: string | null;
|
|
2139
|
+
derivative_rendered_at?: string | null;
|
|
2140
|
+
id?: string;
|
|
2141
|
+
organization_id?: string;
|
|
2142
|
+
position?: number;
|
|
2143
|
+
source_asset_id?: string;
|
|
2144
|
+
};
|
|
2145
|
+
Relationships: [
|
|
2146
|
+
{
|
|
2147
|
+
foreignKeyName: "content_item_source_assets_asset_fkey";
|
|
2148
|
+
columns: ["source_asset_id", "organization_id"];
|
|
2149
|
+
isOneToOne: false;
|
|
2150
|
+
referencedRelation: "content_source_assets";
|
|
2151
|
+
referencedColumns: ["id", "organization_id"];
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
foreignKeyName: "content_item_source_assets_item_fkey";
|
|
2155
|
+
columns: ["content_item_id", "organization_id"];
|
|
2156
|
+
isOneToOne: false;
|
|
2157
|
+
referencedRelation: "content_items";
|
|
2158
|
+
referencedColumns: ["id", "organization_id"];
|
|
2159
|
+
}
|
|
2160
|
+
];
|
|
2161
|
+
};
|
|
2047
2162
|
content_items: {
|
|
2048
2163
|
Row: {
|
|
2049
2164
|
body: string | null;
|
|
@@ -3799,6 +3914,25 @@ type Database = {
|
|
|
3799
3914
|
};
|
|
3800
3915
|
Returns: Json;
|
|
3801
3916
|
};
|
|
3917
|
+
activate_deployment_atomic: {
|
|
3918
|
+
Args: {
|
|
3919
|
+
p_deployment_id: string;
|
|
3920
|
+
p_organization_id: string;
|
|
3921
|
+
};
|
|
3922
|
+
Returns: {
|
|
3923
|
+
created_at: string;
|
|
3924
|
+
deployment_version: string | null;
|
|
3925
|
+
error_message: string | null;
|
|
3926
|
+
id: string;
|
|
3927
|
+
organization_id: string;
|
|
3928
|
+
pid: number | null;
|
|
3929
|
+
port: number | null;
|
|
3930
|
+
sdk_version: string;
|
|
3931
|
+
status: string;
|
|
3932
|
+
tarball_path: string | null;
|
|
3933
|
+
updated_at: string;
|
|
3934
|
+
};
|
|
3935
|
+
};
|
|
3802
3936
|
append_deal_activity: {
|
|
3803
3937
|
Args: {
|
|
3804
3938
|
p_activity: Json;
|
|
@@ -4427,7 +4561,9 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4427
4561
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4428
4562
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4429
4563
|
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4430
|
-
|
|
4564
|
+
rowSchema: z.ZodOptional<z.ZodString>;
|
|
4565
|
+
stateCatalogId: z.ZodOptional<z.ZodString>;
|
|
4566
|
+
}, z.core.$strict>>>>;
|
|
4431
4567
|
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4432
4568
|
id: z.ZodString;
|
|
4433
4569
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -4438,7 +4574,7 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4438
4574
|
to: z.ZodString;
|
|
4439
4575
|
cardinality: z.ZodOptional<z.ZodString>;
|
|
4440
4576
|
via: z.ZodOptional<z.ZodString>;
|
|
4441
|
-
}, z.core.$
|
|
4577
|
+
}, z.core.$strict>>>>;
|
|
4442
4578
|
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4443
4579
|
id: z.ZodString;
|
|
4444
4580
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -4448,7 +4584,11 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4448
4584
|
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
4449
4585
|
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4450
4586
|
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4451
|
-
|
|
4587
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
4588
|
+
invocations: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
4589
|
+
lifecycle: z.ZodOptional<z.ZodString>;
|
|
4590
|
+
legacyActionId: z.ZodOptional<z.ZodString>;
|
|
4591
|
+
}, z.core.$strict>>>>;
|
|
4452
4592
|
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4453
4593
|
id: z.ZodString;
|
|
4454
4594
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -4458,7 +4598,10 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4458
4598
|
kind: z.ZodOptional<z.ZodString>;
|
|
4459
4599
|
appliesTo: z.ZodOptional<z.ZodString>;
|
|
4460
4600
|
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4461
|
-
|
|
4601
|
+
legacyCatalogKey: z.ZodOptional<z.ZodString>;
|
|
4602
|
+
legacyPipelineKey: z.ZodOptional<z.ZodString>;
|
|
4603
|
+
legacyEntityKey: z.ZodOptional<z.ZodString>;
|
|
4604
|
+
}, z.core.$strict>>>>;
|
|
4462
4605
|
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4463
4606
|
id: z.ZodString;
|
|
4464
4607
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -4466,7 +4609,7 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4466
4609
|
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4467
4610
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4468
4611
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4469
|
-
}, z.core.$
|
|
4612
|
+
}, z.core.$strict>>>>;
|
|
4470
4613
|
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4471
4614
|
id: z.ZodString;
|
|
4472
4615
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -4474,7 +4617,7 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4474
4617
|
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4475
4618
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4476
4619
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4477
|
-
}, z.core.$
|
|
4620
|
+
}, z.core.$strict>>>>;
|
|
4478
4621
|
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4479
4622
|
id: z.ZodString;
|
|
4480
4623
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -4482,7 +4625,7 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4482
4625
|
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4483
4626
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4484
4627
|
primitive: z.ZodOptional<z.ZodString>;
|
|
4485
|
-
}, z.core.$
|
|
4628
|
+
}, z.core.$strict>>>>;
|
|
4486
4629
|
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4487
4630
|
id: z.ZodString;
|
|
4488
4631
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -4492,7 +4635,7 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4492
4635
|
valueType: z.ZodOptional<z.ZodString>;
|
|
4493
4636
|
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
4494
4637
|
pii: z.ZodOptional<z.ZodBoolean>;
|
|
4495
|
-
}, z.core.$
|
|
4638
|
+
}, z.core.$strict>>>>;
|
|
4496
4639
|
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4497
4640
|
id: z.ZodString;
|
|
4498
4641
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -4500,7 +4643,7 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4500
4643
|
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4501
4644
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4502
4645
|
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
4503
|
-
}, z.core.$
|
|
4646
|
+
}, z.core.$strict>>>>;
|
|
4504
4647
|
endpoints: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4505
4648
|
id: z.ZodString;
|
|
4506
4649
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -4508,7 +4651,7 @@ declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
|
4508
4651
|
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
4509
4652
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4510
4653
|
route: z.ZodOptional<z.ZodString>;
|
|
4511
|
-
}, z.core.$
|
|
4654
|
+
}, z.core.$strict>>>>;
|
|
4512
4655
|
}, z.core.$strict>>;
|
|
4513
4656
|
type OntologyScope = z.infer<typeof OntologyScopeSchema>;
|
|
4514
4657
|
|
|
@@ -4624,6 +4767,45 @@ declare const LinkSchema: z.ZodObject<{
|
|
|
4624
4767
|
}, z.core.$strip>;
|
|
4625
4768
|
type Link = z.infer<typeof LinkSchema>;
|
|
4626
4769
|
|
|
4770
|
+
/**
|
|
4771
|
+
* Registration surface for the generic readiness engine (`./engine`).
|
|
4772
|
+
*
|
|
4773
|
+
* This module owns two independent extension points so `./engine` never has
|
|
4774
|
+
* to import anything from `business/**`:
|
|
4775
|
+
*
|
|
4776
|
+
* - `registerBuiltInReadinessProfile` — a profile id (e.g. `sales.lead-gen.api`)
|
|
4777
|
+
* maps to structural validation logic plus an optional model-preparation
|
|
4778
|
+
* hook run before ontology compilation (e.g. injecting a derived catalog).
|
|
4779
|
+
* This is the ONE readiness-profile registry (`_builtInProfileValidators`
|
|
4780
|
+
* below) — `../domains/systems`'s `isBuiltInReadinessProfile` /
|
|
4781
|
+
* `lookupReadinessProfile` read it directly via `getBuiltInReadinessProfile`
|
|
4782
|
+
* rather than mirroring registrations into a second map, so a profile id
|
|
4783
|
+
* can never read as built-in without an actual registered validator.
|
|
4784
|
+
* - `registerReadinessInterfaceMarker` — a `(systemPath, interfaceKey)` pair
|
|
4785
|
+
* maps to a synthesized interface marker for interfaces that are not
|
|
4786
|
+
* authored on `system.apiInterface` (e.g. the lead-gen/CRM handoff bridge,
|
|
4787
|
+
* which is derived from scoped resources rather than declared directly).
|
|
4788
|
+
*
|
|
4789
|
+
* `business/acquisition/ontology-validation.ts` calls both at module load to
|
|
4790
|
+
* register its three built-in profiles. Both registries are module-level
|
|
4791
|
+
* mutable maps with no reset function. Reachable by a tenant via the
|
|
4792
|
+
* `./organization-model/readiness` subpath (see `./index`).
|
|
4793
|
+
*/
|
|
4794
|
+
|
|
4795
|
+
type SystemInterfaceReadinessIssueFamily = 'SYSTEM_INTERFACE_MISSING' | 'SYSTEM_INTERFACE_DISABLED' | 'SYSTEM_INTERFACE_INVALID' | 'SYSTEM_INTERFACE_NOT_READY' | 'SYSTEM_BRIDGE_NOT_READY'
|
|
4796
|
+
/**
|
|
4797
|
+
* The deployed OM snapshot hash does not match the canonical source hash.
|
|
4798
|
+
* Redeploy with `pnpm operations:deploy` to refresh the snapshot.
|
|
4799
|
+
*/
|
|
4800
|
+
| 'STALE_OM_SNAPSHOT';
|
|
4801
|
+
interface SystemInterfaceReadinessIssue {
|
|
4802
|
+
family: SystemInterfaceReadinessIssueFamily;
|
|
4803
|
+
code: string;
|
|
4804
|
+
path?: string;
|
|
4805
|
+
ref?: string;
|
|
4806
|
+
message: string;
|
|
4807
|
+
}
|
|
4808
|
+
|
|
4627
4809
|
declare const OrganizationModelSchema: z.ZodObject<{
|
|
4628
4810
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
4629
4811
|
snapshotHash: z.ZodOptional<z.ZodString>;
|
|
@@ -5074,7 +5256,9 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
5074
5256
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5075
5257
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5076
5258
|
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5077
|
-
|
|
5259
|
+
rowSchema: z.ZodOptional<z.ZodString>;
|
|
5260
|
+
stateCatalogId: z.ZodOptional<z.ZodString>;
|
|
5261
|
+
}, z.core.$strict>>>>;
|
|
5078
5262
|
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5079
5263
|
id: z.ZodString;
|
|
5080
5264
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -5085,7 +5269,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
5085
5269
|
to: z.ZodString;
|
|
5086
5270
|
cardinality: z.ZodOptional<z.ZodString>;
|
|
5087
5271
|
via: z.ZodOptional<z.ZodString>;
|
|
5088
|
-
}, z.core.$
|
|
5272
|
+
}, z.core.$strict>>>>;
|
|
5089
5273
|
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5090
5274
|
id: z.ZodString;
|
|
5091
5275
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -5095,7 +5279,11 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
5095
5279
|
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
5096
5280
|
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5097
5281
|
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5098
|
-
|
|
5282
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
5283
|
+
invocations: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
5284
|
+
lifecycle: z.ZodOptional<z.ZodString>;
|
|
5285
|
+
legacyActionId: z.ZodOptional<z.ZodString>;
|
|
5286
|
+
}, z.core.$strict>>>>;
|
|
5099
5287
|
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5100
5288
|
id: z.ZodString;
|
|
5101
5289
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -5105,7 +5293,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
5105
5293
|
kind: z.ZodOptional<z.ZodString>;
|
|
5106
5294
|
appliesTo: z.ZodOptional<z.ZodString>;
|
|
5107
5295
|
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5108
|
-
|
|
5296
|
+
legacyCatalogKey: z.ZodOptional<z.ZodString>;
|
|
5297
|
+
legacyPipelineKey: z.ZodOptional<z.ZodString>;
|
|
5298
|
+
legacyEntityKey: z.ZodOptional<z.ZodString>;
|
|
5299
|
+
}, z.core.$strict>>>>;
|
|
5109
5300
|
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5110
5301
|
id: z.ZodString;
|
|
5111
5302
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -5113,7 +5304,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
5113
5304
|
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5114
5305
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5115
5306
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5116
|
-
}, z.core.$
|
|
5307
|
+
}, z.core.$strict>>>>;
|
|
5117
5308
|
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5118
5309
|
id: z.ZodString;
|
|
5119
5310
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -5121,7 +5312,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
5121
5312
|
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5122
5313
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5123
5314
|
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5124
|
-
}, z.core.$
|
|
5315
|
+
}, z.core.$strict>>>>;
|
|
5125
5316
|
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5126
5317
|
id: z.ZodString;
|
|
5127
5318
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -5129,7 +5320,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
5129
5320
|
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5130
5321
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5131
5322
|
primitive: z.ZodOptional<z.ZodString>;
|
|
5132
|
-
}, z.core.$
|
|
5323
|
+
}, z.core.$strict>>>>;
|
|
5133
5324
|
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5134
5325
|
id: z.ZodString;
|
|
5135
5326
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -5139,7 +5330,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
5139
5330
|
valueType: z.ZodOptional<z.ZodString>;
|
|
5140
5331
|
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
5141
5332
|
pii: z.ZodOptional<z.ZodBoolean>;
|
|
5142
|
-
}, z.core.$
|
|
5333
|
+
}, z.core.$strict>>>>;
|
|
5143
5334
|
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5144
5335
|
id: z.ZodString;
|
|
5145
5336
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -5147,7 +5338,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
5147
5338
|
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5148
5339
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5149
5340
|
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
5150
|
-
}, z.core.$
|
|
5341
|
+
}, z.core.$strict>>>>;
|
|
5151
5342
|
endpoints: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5152
5343
|
id: z.ZodString;
|
|
5153
5344
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -5155,7 +5346,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
5155
5346
|
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5156
5347
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5157
5348
|
route: z.ZodOptional<z.ZodString>;
|
|
5158
|
-
}, z.core.$
|
|
5349
|
+
}, z.core.$strict>>>>;
|
|
5159
5350
|
}, z.core.$strict>>>;
|
|
5160
5351
|
resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5161
5352
|
id: z.ZodString;
|
|
@@ -6241,6 +6432,17 @@ interface PermissionDescriptor {
|
|
|
6241
6432
|
isOrgGrantable: boolean;
|
|
6242
6433
|
}
|
|
6243
6434
|
|
|
6435
|
+
declare const AccessKeyInputSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
6436
|
+
systemPath: z.ZodString;
|
|
6437
|
+
action: z.ZodDefault<z.ZodEnum<{
|
|
6438
|
+
view: "view";
|
|
6439
|
+
manage: "manage";
|
|
6440
|
+
}>>;
|
|
6441
|
+
}, z.core.$strict>]>;
|
|
6442
|
+
type AccessKeyInput = z.input<typeof AccessKeyInputSchema>;
|
|
6443
|
+
|
|
6444
|
+
type AccessReason = 'allowed' | 'platform-admin-bypass' | 'invalid-access-key' | 'unknown-access-key' | 'organization-mismatch' | 'missing-membership' | 'system-not-active' | 'role-permission-denied' | 'diagnostic-key-not-allowed';
|
|
6445
|
+
|
|
6244
6446
|
/**
|
|
6245
6447
|
* Deployment types — browser-safe
|
|
6246
6448
|
*
|
|
@@ -6277,6 +6479,39 @@ declare const ListCredentialsResponseSchema: z.ZodObject<{
|
|
|
6277
6479
|
/** API response type for a single credential list item */
|
|
6278
6480
|
type CredentialListItem = z.infer<typeof ListCredentialsResponseSchema>['credentials'][number];
|
|
6279
6481
|
|
|
6482
|
+
/**
|
|
6483
|
+
* Storage-neutral file descriptor.
|
|
6484
|
+
*
|
|
6485
|
+
* Dropbox and Google Drive (the foreseeable second provider) both ship
|
|
6486
|
+
* their own file/metadata shapes. Consumers on both sides of the wire —
|
|
6487
|
+
* a UI file browser and the API route that talks to the provider — need
|
|
6488
|
+
* to agree on one normalized shape, which is why it lives here instead
|
|
6489
|
+
* of being duplicated in each consumer.
|
|
6490
|
+
*
|
|
6491
|
+
* Adapters (`createDropboxAdapter`, a future Drive adapter) stay concrete
|
|
6492
|
+
* and keep their own provider-shaped responses. Normalization into this
|
|
6493
|
+
* type happens at the route/hook boundary — a few lines per provider,
|
|
6494
|
+
* not behind a shared `CloudStorageAdapter` interface.
|
|
6495
|
+
*/
|
|
6496
|
+
interface CloudStorageFile {
|
|
6497
|
+
id: string;
|
|
6498
|
+
name: string;
|
|
6499
|
+
kind: 'file' | 'folder';
|
|
6500
|
+
path?: string;
|
|
6501
|
+
mimeType?: string;
|
|
6502
|
+
sizeBytes?: number;
|
|
6503
|
+
width?: number;
|
|
6504
|
+
height?: number;
|
|
6505
|
+
/** ISO 8601 timestamp the asset was captured (e.g. photo EXIF date), when the provider exposes one. */
|
|
6506
|
+
capturedAt?: string;
|
|
6507
|
+
/**
|
|
6508
|
+
* Optional on purpose. Dropbox does not produce a thumbnail for HEIC or
|
|
6509
|
+
* for anything over 20 MB — "no thumbnail" is a normal state a consumer
|
|
6510
|
+
* renders a fallback for, not an error.
|
|
6511
|
+
*/
|
|
6512
|
+
thumbnailUrl?: string;
|
|
6513
|
+
}
|
|
6514
|
+
|
|
6280
6515
|
type PermissionRow = PermissionDescriptor;
|
|
6281
6516
|
type Props = {
|
|
6282
6517
|
catalog: PermissionRow[];
|
|
@@ -6734,6 +6969,26 @@ interface FeatureUnavailableStateProps {
|
|
|
6734
6969
|
}
|
|
6735
6970
|
declare function FeatureUnavailableState({ path }: FeatureUnavailableStateProps): react_jsx_runtime.JSX.Element;
|
|
6736
6971
|
|
|
6972
|
+
interface SystemUnavailableStateProps {
|
|
6973
|
+
/** The access key the guard evaluated -- used to resolve the System's id, label, and lifecycle. */
|
|
6974
|
+
accessKey: AccessKeyInput;
|
|
6975
|
+
/** The denial reason returned by `checkAccess` / `useAccess`. */
|
|
6976
|
+
reason: AccessReason;
|
|
6977
|
+
}
|
|
6978
|
+
/**
|
|
6979
|
+
* Route-level denial state for a System `AccessGuard`. Unlike the guard's own
|
|
6980
|
+
* `fallback = null` default (never changed -- see access-model.ts), this
|
|
6981
|
+
* component turns the specific {@link AccessReason} `checkAccess` already
|
|
6982
|
+
* computed into a message that names the System instead of rendering a blank
|
|
6983
|
+
* pane. `unknown-access-key` and `system-not-active` get a dedicated message
|
|
6984
|
+
* because they are configuration problems (the System isn't declared, or
|
|
6985
|
+
* isn't in an accessible lifecycle state) rather than a per-user permission
|
|
6986
|
+
* gap; every other denial reason falls through to the shared
|
|
6987
|
+
* {@link NoAccessState}, which already covers "you personally can't see
|
|
6988
|
+
* this."
|
|
6989
|
+
*/
|
|
6990
|
+
declare function SystemUnavailableState({ accessKey, reason }: SystemUnavailableStateProps): react_jsx_runtime.JSX.Element;
|
|
6991
|
+
|
|
6737
6992
|
interface ResourceCardProps {
|
|
6738
6993
|
resource: ResourceDefinition;
|
|
6739
6994
|
onClick: (resource: ResourceDefinition) => void;
|
|
@@ -6803,6 +7058,63 @@ interface ActivityTimelineProps {
|
|
|
6803
7058
|
}
|
|
6804
7059
|
declare function ActivityTimeline({ activities }: ActivityTimelineProps): react_jsx_runtime.JSX.Element;
|
|
6805
7060
|
|
|
7061
|
+
/**
|
|
7062
|
+
* The structured 503 payload a System Interface readiness failure carries
|
|
7063
|
+
* (`APIErrorResponse.details` shape produced by `createInterfaceReadinessApiError`
|
|
7064
|
+
* in `apps/api/src/platform/organization-model/interface-readiness.ts`). Pass
|
|
7065
|
+
* this when a caller catches a server-side readiness failure rather than
|
|
7066
|
+
* computing readiness from the local Organization Model.
|
|
7067
|
+
*
|
|
7068
|
+
* `readinessCode: 'STALE_OM_SNAPSHOT'` is the one family the server already
|
|
7069
|
+
* turns into an actionable redeploy message; this alert renders that same
|
|
7070
|
+
* hint from the structured field rather than depending on parsed message text.
|
|
7071
|
+
*/
|
|
7072
|
+
interface SystemReadinessServerErrorDetails {
|
|
7073
|
+
systemPath: string;
|
|
7074
|
+
interfaceKey: string;
|
|
7075
|
+
readinessProfile?: string;
|
|
7076
|
+
readinessCode: SystemInterfaceReadinessIssueFamily;
|
|
7077
|
+
issues: SystemInterfaceReadinessIssue[];
|
|
7078
|
+
}
|
|
7079
|
+
interface SystemReadinessAlertProps {
|
|
7080
|
+
/**
|
|
7081
|
+
* Whether the System's API interface readiness check has passed. Renders
|
|
7082
|
+
* nothing when `true` and no `serverError` is supplied.
|
|
7083
|
+
*/
|
|
7084
|
+
ready: boolean;
|
|
7085
|
+
/**
|
|
7086
|
+
* Label for what is disabled while readiness has not passed, e.g.
|
|
7087
|
+
* "Lead-gen API actions". Used to build the default message.
|
|
7088
|
+
*/
|
|
7089
|
+
actionLabel: string;
|
|
7090
|
+
/**
|
|
7091
|
+
* Optional note appended after the disabled-actions message describing
|
|
7092
|
+
* what still works, e.g. "Read-only list detail can still render when
|
|
7093
|
+
* data is available."
|
|
7094
|
+
*/
|
|
7095
|
+
fallbackNote?: string;
|
|
7096
|
+
/**
|
|
7097
|
+
* Reason string from a local (client-side) readiness computation, e.g.
|
|
7098
|
+
* `useLeadGenConfig().leadGenApiInterface.reason`.
|
|
7099
|
+
*/
|
|
7100
|
+
reason?: string;
|
|
7101
|
+
/**
|
|
7102
|
+
* Structured 503 payload from a server-side readiness failure. When
|
|
7103
|
+
* provided, its `issues[]` render as a list and its redeploy hint (for
|
|
7104
|
+
* `STALE_OM_SNAPSHOT`) renders below them.
|
|
7105
|
+
*/
|
|
7106
|
+
serverError?: SystemReadinessServerErrorDetails;
|
|
7107
|
+
}
|
|
7108
|
+
/**
|
|
7109
|
+
* Displays a warning alert when a System's API interface readiness check has
|
|
7110
|
+
* not passed. Generalized from the lead-gen-only `LeadGenReadinessAlert` so
|
|
7111
|
+
* any System can reuse the same rendering for both a local-model readiness
|
|
7112
|
+
* failure (`reason`) and a structured server 503 (`serverError`).
|
|
7113
|
+
*
|
|
7114
|
+
* Renders nothing when `ready` is `true` and no `serverError` is supplied.
|
|
7115
|
+
*/
|
|
7116
|
+
declare function SystemReadinessAlert({ ready, actionLabel, fallbackNote, reason, serverError }: SystemReadinessAlertProps): react_jsx_runtime.JSX.Element | null;
|
|
7117
|
+
|
|
6806
7118
|
interface ICustomModalProps {
|
|
6807
7119
|
opened: boolean;
|
|
6808
7120
|
onClose: () => void;
|
|
@@ -8433,6 +8745,162 @@ declare const DEAL_STAGES: DealStage[];
|
|
|
8433
8745
|
/** Default Mantine color mapping for each deal stage. */
|
|
8434
8746
|
declare const DEFAULT_KANBAN_CONFIG: KanbanBoardConfig;
|
|
8435
8747
|
|
|
8748
|
+
/** Per-file display flags the consumer computes. Both optional; both purely visual. */
|
|
8749
|
+
interface CloudStorageItemDecoration {
|
|
8750
|
+
/** Renders the card's "used" badge -- e.g. this file already backs a content item. */
|
|
8751
|
+
used?: boolean;
|
|
8752
|
+
/** Renders a warning affordance on the card, e.g. "below the minimum postable size". */
|
|
8753
|
+
dimensionWarning?: string;
|
|
8754
|
+
}
|
|
8755
|
+
interface CloudStorageBrowserProps {
|
|
8756
|
+
/** Which connected cloud-storage credential to browse. */
|
|
8757
|
+
credentialName: string;
|
|
8758
|
+
/**
|
|
8759
|
+
* The current selection, in the consumer's own order. The browser preserves
|
|
8760
|
+
* that order and appends newly-picked files to the end -- ordering is the
|
|
8761
|
+
* consumer's concern (a carousel cares; a single-file picker does not).
|
|
8762
|
+
*/
|
|
8763
|
+
selected: CloudStorageFile[];
|
|
8764
|
+
/** Fired with the full next selection whenever a tile is toggled. */
|
|
8765
|
+
onSelectionChange: (files: CloudStorageFile[]) => void;
|
|
8766
|
+
/** When false (default), picking a file replaces the selection. */
|
|
8767
|
+
multiple?: boolean;
|
|
8768
|
+
/**
|
|
8769
|
+
* Supplies per-file display flags. Called for every visible file. Keep it
|
|
8770
|
+
* cheap and pure -- it runs on each render of the grid.
|
|
8771
|
+
*
|
|
8772
|
+
* This is the seam that keeps the browser storage-only: "already used" and
|
|
8773
|
+
* "too small to post" are both facts about the CONSUMER's domain, not about
|
|
8774
|
+
* storage, so the browser renders them without knowing what they mean.
|
|
8775
|
+
*/
|
|
8776
|
+
decorateItem?: (file: CloudStorageFile) => CloudStorageItemDecoration;
|
|
8777
|
+
/** Replaces the default "not connected" panel. */
|
|
8778
|
+
notConnected?: ReactNode;
|
|
8779
|
+
}
|
|
8780
|
+
/**
|
|
8781
|
+
* A browsable, selectable view of one cloud-storage account.
|
|
8782
|
+
*
|
|
8783
|
+
* Composes the three presentational pieces (`CloudStorageFolderTree`,
|
|
8784
|
+
* `CloudStorageFileGrid`, `CloudStorageFileCard`) with the fetching and
|
|
8785
|
+
* bookkeeping that every storage-backed screen otherwise reimplements: lazy
|
|
8786
|
+
* folder-tree accumulation, cursor paging, thumbnail batching, and a selection
|
|
8787
|
+
* that survives navigating between folders.
|
|
8788
|
+
*
|
|
8789
|
+
* It is deliberately storage-only. It knows nothing about content items, source
|
|
8790
|
+
* assets, or what a selection is *for* -- the consumer receives the selected
|
|
8791
|
+
* files and decides. That boundary is why the same component serves a carousel
|
|
8792
|
+
* builder, a knowledge-document importer, and a single-file picker.
|
|
8793
|
+
*
|
|
8794
|
+
* **The folder tree is built from what browsing has revealed, not fetched whole.**
|
|
8795
|
+
* `list_folder` returns one level at a time and there is no "list every folder"
|
|
8796
|
+
* call, so a folder enters the tree the first time it appears in a listing,
|
|
8797
|
+
* parented to whatever folder was open when it did. The tree therefore grows as
|
|
8798
|
+
* you explore. This is also why `CloudStorageFolderTree` takes a flat,
|
|
8799
|
+
* parent-referencing node list rather than a nested one -- a nested shape cannot
|
|
8800
|
+
* express a subtree discovered before its parent.
|
|
8801
|
+
*/
|
|
8802
|
+
declare function CloudStorageBrowser({ credentialName, selected, onSelectionChange, multiple, decorateItem, notConnected }: CloudStorageBrowserProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element;
|
|
8803
|
+
|
|
8804
|
+
interface CloudStorageFileCardProps {
|
|
8805
|
+
/** Storage-neutral file descriptor to render. */
|
|
8806
|
+
file: CloudStorageFile;
|
|
8807
|
+
/** Whether this card is currently selected. Omit to render without a checkbox affordance. */
|
|
8808
|
+
selected?: boolean;
|
|
8809
|
+
/** Marks the file as already used by the consuming feature (e.g. attached to a campaign asset). */
|
|
8810
|
+
used?: boolean;
|
|
8811
|
+
/**
|
|
8812
|
+
* Warning message to surface when this file's dimensions are unsuitable for the
|
|
8813
|
+
* consumer's use case. The card only renders the affordance the caller supplies —
|
|
8814
|
+
* the aspect-ratio / minimum-resolution rule itself is the consuming tenant's, not
|
|
8815
|
+
* this package's, so pass a message only when `file.width`/`file.height` are present
|
|
8816
|
+
* and the caller has already judged them problematic.
|
|
8817
|
+
*/
|
|
8818
|
+
dimensionWarning?: string;
|
|
8819
|
+
/** Fired when the card (or its checkbox) is activated. Omit to render a read-only tile. */
|
|
8820
|
+
onSelect?: (file: CloudStorageFile) => void;
|
|
8821
|
+
}
|
|
8822
|
+
/**
|
|
8823
|
+
* A single cloud-storage file/folder tile: thumbnail, used/unused badge, dimension
|
|
8824
|
+
* warning, and a no-thumbnail fallback.
|
|
8825
|
+
*
|
|
8826
|
+
* Purely presentational -- no fetching, no data-layer coupling. `file.thumbnailUrl`
|
|
8827
|
+
* missing is a normal state (Dropbox skips thumbnail conversion for HEIC and for
|
|
8828
|
+
* anything over 20 MB), not an error, so the fallback tile below is not a broken-image
|
|
8829
|
+
* placeholder -- it is a first-class rendering path.
|
|
8830
|
+
*/
|
|
8831
|
+
declare function CloudStorageFileCard({ file, selected, used, dimensionWarning, onSelect }: CloudStorageFileCardProps): react_jsx_runtime.JSX.Element;
|
|
8832
|
+
|
|
8833
|
+
/**
|
|
8834
|
+
* A `CloudStorageFile` plus optional per-item display flags a consumer computes
|
|
8835
|
+
* upstream (already-used state, a dimension-warning message). Kept on the item
|
|
8836
|
+
* itself rather than as a second lookup-map prop -- the grid stays a pure
|
|
8837
|
+
* pass-through and every `CloudStorageFile[]` is already a valid
|
|
8838
|
+
* `CloudStorageGridItem[]` since both extra fields are optional.
|
|
8839
|
+
*/
|
|
8840
|
+
interface CloudStorageGridItem extends CloudStorageFile {
|
|
8841
|
+
used?: boolean;
|
|
8842
|
+
dimensionWarning?: string;
|
|
8843
|
+
}
|
|
8844
|
+
interface CloudStorageFileGridProps {
|
|
8845
|
+
/** Files (and/or folders) to render as tiles. */
|
|
8846
|
+
items: CloudStorageGridItem[];
|
|
8847
|
+
/** Ids of the currently selected items. */
|
|
8848
|
+
selectedIds: string[];
|
|
8849
|
+
/** When false (default), selecting an item replaces the selection with just that item. When true, selection accumulates. */
|
|
8850
|
+
multiple?: boolean;
|
|
8851
|
+
/** Fired with the full next selection whenever an item is toggled. */
|
|
8852
|
+
onSelectionChange: (selectedIds: string[]) => void;
|
|
8853
|
+
/** Rendered instead of the grid when `items` is empty. */
|
|
8854
|
+
emptyState?: ReactNode;
|
|
8855
|
+
}
|
|
8856
|
+
/**
|
|
8857
|
+
* A selectable grid of cloud-storage file tiles.
|
|
8858
|
+
*
|
|
8859
|
+
* Purely presentational -- data comes in via `items`, selection goes out via
|
|
8860
|
+
* `onSelectionChange`. No fetching, no hook imports.
|
|
8861
|
+
*/
|
|
8862
|
+
declare function CloudStorageFileGrid({ items, selectedIds, multiple, onSelectionChange, emptyState }: CloudStorageFileGridProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element;
|
|
8863
|
+
|
|
8864
|
+
/**
|
|
8865
|
+
* A folder in a cloud-storage tree, addressed by parent references rather than
|
|
8866
|
+
* a single nested `children` structure.
|
|
8867
|
+
*
|
|
8868
|
+
* Deliberately flat + multi-parent: Google Drive folders can have more than one
|
|
8869
|
+
* parent and shared drives sit outside the user's own root, so the tree needs
|
|
8870
|
+
* more than one root and more than one parent for a single node from day one.
|
|
8871
|
+
* A nested single-parent shape would have to be rewritten, not extended, once
|
|
8872
|
+
* Drive is wired up.
|
|
8873
|
+
*/
|
|
8874
|
+
interface CloudStorageFolderNode {
|
|
8875
|
+
id: string;
|
|
8876
|
+
name: string;
|
|
8877
|
+
/** Ids of the folders this node is nested under. Omitted or empty marks a root. */
|
|
8878
|
+
parentIds?: string[];
|
|
8879
|
+
/**
|
|
8880
|
+
* Storage-neutral location string matched against `selectedPath`. Dropbox
|
|
8881
|
+
* supplies a real folder path; providers without one (Drive) can synthesize
|
|
8882
|
+
* any stable string here.
|
|
8883
|
+
*/
|
|
8884
|
+
path?: string;
|
|
8885
|
+
}
|
|
8886
|
+
interface CloudStorageFolderTreeProps {
|
|
8887
|
+
/** Flat list of all folders. Roots and multi-parent nodes are derived from `parentIds`. */
|
|
8888
|
+
nodes: CloudStorageFolderNode[];
|
|
8889
|
+
/** `path` of the currently active folder, if any. */
|
|
8890
|
+
selectedPath?: string;
|
|
8891
|
+
/** Fired with the activated node. */
|
|
8892
|
+
onNavigate: (node: CloudStorageFolderNode) => void;
|
|
8893
|
+
}
|
|
8894
|
+
/**
|
|
8895
|
+
* Renders a cloud-storage folder tree from a flat, parent-referencing node list.
|
|
8896
|
+
*
|
|
8897
|
+
* Purely presentational -- no fetching. A node with more than one parent is
|
|
8898
|
+
* rendered once per parent branch (the same folder legitimately appears in more
|
|
8899
|
+
* than one place), and a defensive visited-chain guard keeps a malformed cyclic
|
|
8900
|
+
* `parentIds` graph from infinite-looping the render.
|
|
8901
|
+
*/
|
|
8902
|
+
declare function CloudStorageFolderTree({ nodes, selectedPath, onNavigate }: CloudStorageFolderTreeProps): react_jsx_runtime.JSX.Element;
|
|
8903
|
+
|
|
8436
8904
|
interface CrmSidebarProps {
|
|
8437
8905
|
/** Replace the default `CrmSidebarMiddle` with custom middle content. Leave unset for the default layout. */
|
|
8438
8906
|
children?: ReactNode;
|
|
@@ -8851,5 +9319,5 @@ declare const OperationsSidebarMiddle: () => react_jsx_runtime.JSX.Element;
|
|
|
8851
9319
|
|
|
8852
9320
|
declare const operationsManifest: SystemModule;
|
|
8853
9321
|
|
|
8854
|
-
export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationDetailPanel, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, AppErrorBoundary, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, CardHeader, CenteredErrorState, CheckpointGroup, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CompanyDetailPage, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContactDetailPage, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisLoader, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilterBar, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipsList, OrganizationModelDriftActionIcon, PIPELINE_FUNNEL_ORDER, PageNotFound, PageTitleCaption, PermissionMatrix, PipelineFunnelWidget, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, ProvisioningStateBadge, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, RoleBadge, RunResourceButton, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StepConfigForm, StyledMarkdown, TabCountBadge, TabSection, TableSelectionToolbar, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, buildErrorReport, calculateProgress, crmManifest, deliveryManifest, formatStatusLabel, getEnrichmentColor, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getStatusColor, iconMap, leadGenManifest, mdxComponents, milestoneStatusColors, monitoringManifest, noteTypeColors, operationsManifest, projectStatusColors, seoManifest, settingsManifest, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, taskStatusColors, taskTypeColors, useCrmPipelineSummary, useCrmQuickMetrics, useDeleteLists, useGraphBackgroundStyles, useGraphTheme, useRecentCrmActivity };
|
|
8855
|
-
export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, AgentIterationTotals, AppErrorBoundaryProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CompanyDetailPageProps, ContactDetailPageProps, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, CreateRoleModalProps, CrmOverviewProps, DealKanbanCardProps, ErrorAnalysisCardProps, ErrorReportCardProps, ExecutionBreakdownTableProps, ExecutionHealthCardProps, ExecutionLogEntry, ExecutionLogsFiltersProps, ExecutionLogsTableProps, FeatureUnavailableStateProps, FieldPath, FitViewButtonVariant, GraphFitViewHandlerProps, JsonViewerProps, KanbanBoardProps, LogLevel, MdxRendererProps, NavigationButtonProps, PermissionRow, ProjectsSidebarMiddleProps, ResourceHealthPanelProps, RichTextEditorProps, RunResourceButtonProps, RunResourceInputResolver, SavedViewPreset, ScheduleType, StatCardProps, StepConfigComponent, StepConfigFieldHint, StepConfigFormProps, StepConfigLayout, StepConfigSection, StyledMarkdownProps, TabSectionProps, TaskFilterStatus, TrendIndicatorProps, ZodFormRendererProps };
|
|
9322
|
+
export { APIErrorAlert, AbsoluteScheduleForm, ActionModal, ActivityCard, ActivityFeedWidget, ActivityFilters as ActivityFiltersBar, ActivityTable, ActivityTimeline, AgentDefinitionDisplay, AgentExecutionLogs, AgentExecutionTimeline, AgentExecutionVisualizer, AgentIterationDetailPanel, AgentIterationEdge, AgentIterationNode, AllTasksPage, ApiKeyDisplayModal, ApiKeyList, ApiKeySettings, AppErrorBoundary, BaseEdge, BaseExecutionLogs, BaseExecutionLogsHeader, BaseExecutionLogsStates, BaseNode, Breadcrumbs, BusinessImpactCard, CONTAINER_CONSTANTS, CardHeader, CenteredErrorState, CheckpointGroup, CloudStorageBrowser, CloudStorageFileCard, CloudStorageFileGrid, CloudStorageFolderTree, CollapsibleJsonSection, CollapsibleSection, CommandQueueSidebar, CommandQueueSidebarMiddle, CommandQueueSidebarTop, CommandQueueTaskRow, CompanyDetailPage, ConfigCard, ConfirmationInputModal, ConfirmationModal, ContactDetailPage, ContentSections, ContextUsageBadge, ContextViewer, ContractDisplay, CostBreakdownCard, CostByModelTable, CostMetricsCard, CrashErrorFallback, CreateApiKeyModal, CreateCredentialModal, CreateRoleModal, CreateScheduleModal, CredentialList, CredentialSettings, CrmOverview, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, CustomModal, CustomSelector, DEAL_STAGES, DEFAULT_KANBAN_CONFIG, DealDetailPage, DealKanbanCard, DealsListPage, DeleteScheduleModal, DeploymentDetailModal, DeploymentList, DeploymentSettings, DeploymentStatusBadge, DetailCardSkeleton, EditApiKeyModal, ElevasisLoader, EmptyState, EmptyVisualizer, ErrorAnalysisCard, ErrorBreakdownTable, ErrorReportCard, ExecutionBreakdownTable, ExecutionErrorSection, ExecutionHealthCard, ExecutionLogsFilters as ExecutionLogsFilterBar, ExecutionLogsTable, ExecutionStats, ExecutionStatusBadge, FeatureUnavailableState, FilterBar, GlowDot, GraphBackground, GraphContainer, GraphFitViewButton, GraphFitViewHandler, GraphLegend, HealthStatusCard, JsonViewer, KanbanBoard, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListSkeleton, LogEntry, LogGroup, MdxRenderer, MembershipStatusBadge, MetricsStrip, MilestoneTimeline, MyTasksPanel, NavigationButton, NoAccessState, NotificationBell, NotificationItem, NotificationList, NotificationPanel, OAuthConnectModal, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationMembershipsList, OrganizationModelDriftActionIcon, PIPELINE_FUNNEL_ORDER, PageNotFound, PageTitleCaption, PermissionMatrix, PipelineFunnelWidget, ProjectDetailPage, ProjectsListPage, ProjectsSidebar, ProjectsSidebarMiddle, ProjectsSidebarTop, ProvisioningStateBadge, QuickCreateActions, RecurringScheduleForm, RelativeScheduleForm, ResourceCard, ResourceDefinitionSection, ResourceErrorState, ResourceFilter, ResourceHeader, ResourceHealthChart, ResourceHealthPanel, ResourceNotFoundState, RichTextEditor, RoleBadge, RunResourceButton, SAVED_VIEW_PRESETS, SEOSidebar, SEOSidebarMiddle, SEOSidebarTop, SHARED_VIZ_CONSTANTS, SavedViewsPanel, ScheduleCard, ScheduleDetailModal, ScheduleTypeSelector, SessionMemory, SortableHeader, StatCard, StatCardSkeleton, StatsCardSkeleton, StatusBadge, StepConfigForm, StyledMarkdown, SystemReadinessAlert, SystemUnavailableState, TabCountBadge, TabSection, TableSelectionToolbar, TaskCard, TaskScheduler, TimeRangeSelector, TimelineAxis, TimelineBar, TimelineContainer, TimelineRow, ToolsListDisplay, TrendIndicator, UnifiedWorkflowEdge, UnifiedWorkflowGraph, UnifiedWorkflowNode, UpcomingMilestonesPage, VisualizerContainer, WebhookUrlDisplayModal, WorkflowDefinitionDisplay, WorkflowExecutionLogs, WorkflowExecutionTimeline, ZodFormRenderer, buildErrorReport, calculateProgress, crmManifest, deliveryManifest, formatStatusLabel, getEnrichmentColor, getExecutionStatusConfig, getGraphBackgroundStyles, getHealthColor, getIcon, getLogLevelConfig, getStatusColor, iconMap, leadGenManifest, mdxComponents, milestoneStatusColors, monitoringManifest, noteTypeColors, operationsManifest, projectStatusColors, seoManifest, settingsManifest, showApiErrorNotification, showAuthError, showErrorNotification, showInfoNotification, showSuccessNotification, showWarningNotification, taskStatusColors, taskTypeColors, useCrmPipelineSummary, useCrmQuickMetrics, useDeleteLists, useGraphBackgroundStyles, useGraphTheme, useRecentCrmActivity };
|
|
9323
|
+
export type { ActivityEntry, ActivityFiltersProps, ActivityTableProps, AgentIterationTotals, AppErrorBoundaryProps, BaseEdgeProps, BaseExecutionLogsProps, BreadcrumbsProps, CloudStorageBrowserProps, CloudStorageFileCardProps, CloudStorageFileGridProps, CloudStorageFolderNode, CloudStorageFolderTreeProps, CloudStorageGridItem, CloudStorageItemDecoration, CompanyDetailPageProps, ContactDetailPageProps, ContextViewerProps, CostByModelTableProps, CrashErrorFallbackProps, CreateRoleModalProps, CrmOverviewProps, DealKanbanCardProps, ErrorAnalysisCardProps, ErrorReportCardProps, ExecutionBreakdownTableProps, ExecutionHealthCardProps, ExecutionLogEntry, ExecutionLogsFiltersProps, ExecutionLogsTableProps, FeatureUnavailableStateProps, FieldPath, FitViewButtonVariant, GraphFitViewHandlerProps, JsonViewerProps, KanbanBoardProps, LogLevel, MdxRendererProps, NavigationButtonProps, PermissionRow, ProjectsSidebarMiddleProps, ResourceHealthPanelProps, RichTextEditorProps, RunResourceButtonProps, RunResourceInputResolver, SavedViewPreset, ScheduleType, StatCardProps, StepConfigComponent, StepConfigFieldHint, StepConfigFormProps, StepConfigLayout, StepConfigSection, StyledMarkdownProps, SystemReadinessAlertProps, SystemReadinessServerErrorDetails, SystemUnavailableStateProps, TabSectionProps, TaskFilterStatus, TrendIndicatorProps, ZodFormRendererProps };
|