@elevasis/ui 2.49.0 → 2.50.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 +4 -3
- package/dist/app/index.d.ts +132 -0
- package/dist/app/index.js +8 -6
- package/dist/auth/index.js +8 -6
- package/dist/charts/index.js +8 -6
- package/dist/{chunk-SOGPJFO6.js → chunk-4UA62IDF.js} +1 -1
- package/dist/{chunk-OFLWSKSC.js → chunk-7Q5THR43.js} +1 -1
- package/dist/chunk-EJL4U7OZ.js +79 -0
- package/dist/chunk-FVOMKZ7S.js +118 -0
- package/dist/{chunk-Y3HPUATG.js → chunk-SBNC3FRX.js} +117 -118
- package/dist/{chunk-CDZB24OR.js → chunk-XOPLS4S6.js} +1 -85
- package/dist/components/index.d.ts +132 -0
- package/dist/components/index.js +8 -6
- package/dist/components/navigation/index.js +8 -6
- package/dist/features/auth/index.d.ts +132 -0
- package/dist/features/auth/index.js +9 -7
- package/dist/features/clients/index.js +8 -6
- package/dist/features/crm/index.d.ts +132 -0
- package/dist/features/crm/index.js +8 -6
- package/dist/features/dashboard/index.js +8 -6
- package/dist/features/delivery/index.d.ts +132 -0
- package/dist/features/delivery/index.js +8 -6
- package/dist/features/knowledge/index.js +8 -6
- package/dist/features/lead-gen/index.js +8 -6
- package/dist/features/monitoring/index.js +8 -6
- package/dist/features/monitoring/requests/index.js +9 -7
- package/dist/features/operations/index.d.ts +2 -2
- package/dist/features/operations/index.js +8 -6
- package/dist/features/public-agent-chat/index.d.ts +161 -0
- package/dist/features/public-agent-chat/index.js +413 -0
- package/dist/features/settings/index.d.ts +132 -0
- package/dist/features/settings/index.js +8 -6
- package/dist/hooks/access/index.js +8 -6
- package/dist/hooks/delivery/index.d.ts +132 -0
- package/dist/hooks/delivery/index.js +8 -6
- package/dist/hooks/index.d.ts +135 -1
- package/dist/hooks/index.js +8 -6
- package/dist/hooks/published.d.ts +135 -1
- package/dist/hooks/published.js +8 -6
- package/dist/index.d.ts +135 -1
- package/dist/index.js +9 -7
- package/dist/initialization/index.d.ts +132 -0
- package/dist/knowledge/index.js +263 -29
- package/dist/{knowledge-search-index-MHOBQTT3.js → knowledge-search-index-JOPRYZN6.js} +600 -561
- package/dist/layout/index.js +8 -6
- package/dist/organization/index.js +8 -6
- package/dist/profile/index.d.ts +132 -0
- package/dist/provider/index.d.ts +132 -0
- package/dist/provider/index.js +8 -6
- package/dist/provider/published.d.ts +132 -0
- package/dist/provider/published.js +8 -6
- package/dist/supabase/index.d.ts +258 -0
- package/dist/test-utils/index.js +4 -3
- package/dist/types/index.d.ts +135 -3
- package/dist/utils/index.js +2 -1
- package/package.json +9 -4
package/dist/supabase/index.d.ts
CHANGED
|
@@ -2113,6 +2113,138 @@ type Database = {
|
|
|
2113
2113
|
};
|
|
2114
2114
|
Relationships: [];
|
|
2115
2115
|
};
|
|
2116
|
+
agent_access_grants: {
|
|
2117
|
+
Row: {
|
|
2118
|
+
allowed_origins: string[];
|
|
2119
|
+
branding: Json;
|
|
2120
|
+
capture_fields: Json;
|
|
2121
|
+
code_hash: string | null;
|
|
2122
|
+
code_salt: string | null;
|
|
2123
|
+
created_at: string;
|
|
2124
|
+
disabled_at: string | null;
|
|
2125
|
+
expires_at: string | null;
|
|
2126
|
+
id: string;
|
|
2127
|
+
max_sessions_per_visitor: number;
|
|
2128
|
+
max_turns_per_session: number;
|
|
2129
|
+
mode: string;
|
|
2130
|
+
organization_id: string;
|
|
2131
|
+
resource_id: string;
|
|
2132
|
+
slug: string;
|
|
2133
|
+
tool_policy: Json;
|
|
2134
|
+
updated_at: string;
|
|
2135
|
+
};
|
|
2136
|
+
Insert: {
|
|
2137
|
+
allowed_origins?: string[];
|
|
2138
|
+
branding?: Json;
|
|
2139
|
+
capture_fields?: Json;
|
|
2140
|
+
code_hash?: string | null;
|
|
2141
|
+
code_salt?: string | null;
|
|
2142
|
+
created_at?: string;
|
|
2143
|
+
disabled_at?: string | null;
|
|
2144
|
+
expires_at?: string | null;
|
|
2145
|
+
id?: string;
|
|
2146
|
+
max_sessions_per_visitor?: number;
|
|
2147
|
+
max_turns_per_session?: number;
|
|
2148
|
+
mode?: string;
|
|
2149
|
+
organization_id: string;
|
|
2150
|
+
resource_id: string;
|
|
2151
|
+
slug: string;
|
|
2152
|
+
tool_policy?: Json;
|
|
2153
|
+
updated_at?: string;
|
|
2154
|
+
};
|
|
2155
|
+
Update: {
|
|
2156
|
+
allowed_origins?: string[];
|
|
2157
|
+
branding?: Json;
|
|
2158
|
+
capture_fields?: Json;
|
|
2159
|
+
code_hash?: string | null;
|
|
2160
|
+
code_salt?: string | null;
|
|
2161
|
+
created_at?: string;
|
|
2162
|
+
disabled_at?: string | null;
|
|
2163
|
+
expires_at?: string | null;
|
|
2164
|
+
id?: string;
|
|
2165
|
+
max_sessions_per_visitor?: number;
|
|
2166
|
+
max_turns_per_session?: number;
|
|
2167
|
+
mode?: string;
|
|
2168
|
+
organization_id?: string;
|
|
2169
|
+
resource_id?: string;
|
|
2170
|
+
slug?: string;
|
|
2171
|
+
tool_policy?: Json;
|
|
2172
|
+
updated_at?: string;
|
|
2173
|
+
};
|
|
2174
|
+
Relationships: [
|
|
2175
|
+
{
|
|
2176
|
+
foreignKeyName: "agent_access_grants_organization_id_fkey";
|
|
2177
|
+
columns: ["organization_id"];
|
|
2178
|
+
isOneToOne: false;
|
|
2179
|
+
referencedRelation: "organizations";
|
|
2180
|
+
referencedColumns: ["id"];
|
|
2181
|
+
}
|
|
2182
|
+
];
|
|
2183
|
+
};
|
|
2184
|
+
agent_chat_capabilities: {
|
|
2185
|
+
Row: {
|
|
2186
|
+
created_at: string;
|
|
2187
|
+
expires_at: string;
|
|
2188
|
+
grant_id: string;
|
|
2189
|
+
id: string;
|
|
2190
|
+
organization_id: string;
|
|
2191
|
+
origin: string | null;
|
|
2192
|
+
resource_id: string;
|
|
2193
|
+
revoked_at: string | null;
|
|
2194
|
+
session_id: string | null;
|
|
2195
|
+
token_hash: string;
|
|
2196
|
+
visitor_id: string | null;
|
|
2197
|
+
};
|
|
2198
|
+
Insert: {
|
|
2199
|
+
created_at?: string;
|
|
2200
|
+
expires_at: string;
|
|
2201
|
+
grant_id: string;
|
|
2202
|
+
id?: string;
|
|
2203
|
+
organization_id: string;
|
|
2204
|
+
origin?: string | null;
|
|
2205
|
+
resource_id: string;
|
|
2206
|
+
revoked_at?: string | null;
|
|
2207
|
+
session_id?: string | null;
|
|
2208
|
+
token_hash: string;
|
|
2209
|
+
visitor_id?: string | null;
|
|
2210
|
+
};
|
|
2211
|
+
Update: {
|
|
2212
|
+
created_at?: string;
|
|
2213
|
+
expires_at?: string;
|
|
2214
|
+
grant_id?: string;
|
|
2215
|
+
id?: string;
|
|
2216
|
+
organization_id?: string;
|
|
2217
|
+
origin?: string | null;
|
|
2218
|
+
resource_id?: string;
|
|
2219
|
+
revoked_at?: string | null;
|
|
2220
|
+
session_id?: string | null;
|
|
2221
|
+
token_hash?: string;
|
|
2222
|
+
visitor_id?: string | null;
|
|
2223
|
+
};
|
|
2224
|
+
Relationships: [
|
|
2225
|
+
{
|
|
2226
|
+
foreignKeyName: "agent_chat_capabilities_grant_id_fkey";
|
|
2227
|
+
columns: ["grant_id"];
|
|
2228
|
+
isOneToOne: false;
|
|
2229
|
+
referencedRelation: "agent_access_grants";
|
|
2230
|
+
referencedColumns: ["id"];
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
foreignKeyName: "agent_chat_capabilities_organization_id_fkey";
|
|
2234
|
+
columns: ["organization_id"];
|
|
2235
|
+
isOneToOne: false;
|
|
2236
|
+
referencedRelation: "organizations";
|
|
2237
|
+
referencedColumns: ["id"];
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
foreignKeyName: "agent_chat_capabilities_session_id_fkey";
|
|
2241
|
+
columns: ["session_id"];
|
|
2242
|
+
isOneToOne: false;
|
|
2243
|
+
referencedRelation: "sessions";
|
|
2244
|
+
referencedColumns: ["session_id"];
|
|
2245
|
+
}
|
|
2246
|
+
];
|
|
2247
|
+
};
|
|
2116
2248
|
organizations: {
|
|
2117
2249
|
Row: {
|
|
2118
2250
|
config: Json;
|
|
@@ -5183,6 +5315,132 @@ declare const useSupabase: () => _supabase_supabase_js.SupabaseClient<Database,
|
|
|
5183
5315
|
};
|
|
5184
5316
|
Relationships: [];
|
|
5185
5317
|
};
|
|
5318
|
+
agent_access_grants: {
|
|
5319
|
+
Row: {
|
|
5320
|
+
allowed_origins: string[];
|
|
5321
|
+
branding: Json;
|
|
5322
|
+
capture_fields: Json;
|
|
5323
|
+
code_hash: string | null;
|
|
5324
|
+
code_salt: string | null;
|
|
5325
|
+
created_at: string;
|
|
5326
|
+
disabled_at: string | null;
|
|
5327
|
+
expires_at: string | null;
|
|
5328
|
+
id: string;
|
|
5329
|
+
max_sessions_per_visitor: number;
|
|
5330
|
+
max_turns_per_session: number;
|
|
5331
|
+
mode: string;
|
|
5332
|
+
organization_id: string;
|
|
5333
|
+
resource_id: string;
|
|
5334
|
+
slug: string;
|
|
5335
|
+
tool_policy: Json;
|
|
5336
|
+
updated_at: string;
|
|
5337
|
+
};
|
|
5338
|
+
Insert: {
|
|
5339
|
+
allowed_origins?: string[];
|
|
5340
|
+
branding?: Json;
|
|
5341
|
+
capture_fields?: Json;
|
|
5342
|
+
code_hash?: string | null;
|
|
5343
|
+
code_salt?: string | null;
|
|
5344
|
+
created_at?: string;
|
|
5345
|
+
disabled_at?: string | null;
|
|
5346
|
+
expires_at?: string | null;
|
|
5347
|
+
id?: string;
|
|
5348
|
+
max_sessions_per_visitor?: number;
|
|
5349
|
+
max_turns_per_session?: number;
|
|
5350
|
+
mode?: string;
|
|
5351
|
+
organization_id: string;
|
|
5352
|
+
resource_id: string;
|
|
5353
|
+
slug: string;
|
|
5354
|
+
tool_policy?: Json;
|
|
5355
|
+
updated_at?: string;
|
|
5356
|
+
};
|
|
5357
|
+
Update: {
|
|
5358
|
+
allowed_origins?: string[];
|
|
5359
|
+
branding?: Json;
|
|
5360
|
+
capture_fields?: Json;
|
|
5361
|
+
code_hash?: string | null;
|
|
5362
|
+
code_salt?: string | null;
|
|
5363
|
+
created_at?: string;
|
|
5364
|
+
disabled_at?: string | null;
|
|
5365
|
+
expires_at?: string | null;
|
|
5366
|
+
id?: string;
|
|
5367
|
+
max_sessions_per_visitor?: number;
|
|
5368
|
+
max_turns_per_session?: number;
|
|
5369
|
+
mode?: string;
|
|
5370
|
+
organization_id?: string;
|
|
5371
|
+
resource_id?: string;
|
|
5372
|
+
slug?: string;
|
|
5373
|
+
tool_policy?: Json;
|
|
5374
|
+
updated_at?: string;
|
|
5375
|
+
};
|
|
5376
|
+
Relationships: [{
|
|
5377
|
+
foreignKeyName: "agent_access_grants_organization_id_fkey";
|
|
5378
|
+
columns: ["organization_id"];
|
|
5379
|
+
isOneToOne: false;
|
|
5380
|
+
referencedRelation: "organizations";
|
|
5381
|
+
referencedColumns: ["id"];
|
|
5382
|
+
}];
|
|
5383
|
+
};
|
|
5384
|
+
agent_chat_capabilities: {
|
|
5385
|
+
Row: {
|
|
5386
|
+
created_at: string;
|
|
5387
|
+
expires_at: string;
|
|
5388
|
+
grant_id: string;
|
|
5389
|
+
id: string;
|
|
5390
|
+
organization_id: string;
|
|
5391
|
+
origin: string | null;
|
|
5392
|
+
resource_id: string;
|
|
5393
|
+
revoked_at: string | null;
|
|
5394
|
+
session_id: string | null;
|
|
5395
|
+
token_hash: string;
|
|
5396
|
+
visitor_id: string | null;
|
|
5397
|
+
};
|
|
5398
|
+
Insert: {
|
|
5399
|
+
created_at?: string;
|
|
5400
|
+
expires_at: string;
|
|
5401
|
+
grant_id: string;
|
|
5402
|
+
id?: string;
|
|
5403
|
+
organization_id: string;
|
|
5404
|
+
origin?: string | null;
|
|
5405
|
+
resource_id: string;
|
|
5406
|
+
revoked_at?: string | null;
|
|
5407
|
+
session_id?: string | null;
|
|
5408
|
+
token_hash: string;
|
|
5409
|
+
visitor_id?: string | null;
|
|
5410
|
+
};
|
|
5411
|
+
Update: {
|
|
5412
|
+
created_at?: string;
|
|
5413
|
+
expires_at?: string;
|
|
5414
|
+
grant_id?: string;
|
|
5415
|
+
id?: string;
|
|
5416
|
+
organization_id?: string;
|
|
5417
|
+
origin?: string | null;
|
|
5418
|
+
resource_id?: string;
|
|
5419
|
+
revoked_at?: string | null;
|
|
5420
|
+
session_id?: string | null;
|
|
5421
|
+
token_hash?: string;
|
|
5422
|
+
visitor_id?: string | null;
|
|
5423
|
+
};
|
|
5424
|
+
Relationships: [{
|
|
5425
|
+
foreignKeyName: "agent_chat_capabilities_grant_id_fkey";
|
|
5426
|
+
columns: ["grant_id"];
|
|
5427
|
+
isOneToOne: false;
|
|
5428
|
+
referencedRelation: "agent_access_grants";
|
|
5429
|
+
referencedColumns: ["id"];
|
|
5430
|
+
}, {
|
|
5431
|
+
foreignKeyName: "agent_chat_capabilities_organization_id_fkey";
|
|
5432
|
+
columns: ["organization_id"];
|
|
5433
|
+
isOneToOne: false;
|
|
5434
|
+
referencedRelation: "organizations";
|
|
5435
|
+
referencedColumns: ["id"];
|
|
5436
|
+
}, {
|
|
5437
|
+
foreignKeyName: "agent_chat_capabilities_session_id_fkey";
|
|
5438
|
+
columns: ["session_id"];
|
|
5439
|
+
isOneToOne: false;
|
|
5440
|
+
referencedRelation: "sessions";
|
|
5441
|
+
referencedColumns: ["session_id"];
|
|
5442
|
+
}];
|
|
5443
|
+
};
|
|
5186
5444
|
organizations: {
|
|
5187
5445
|
Row: {
|
|
5188
5446
|
config: Json;
|
package/dist/test-utils/index.js
CHANGED
|
@@ -2,10 +2,11 @@ import { server, handlers } from '../chunk-7XKCG5CT.js';
|
|
|
2
2
|
export { handlers, server } from '../chunk-7XKCG5CT.js';
|
|
3
3
|
import { mockWorkOSUser, mockUseAuth, mockUnauthenticatedUser, mockAuthenticatedUser, mockAuthLoading, createMockUseAuth } from '../chunk-DRQPEMJI.js';
|
|
4
4
|
export { createMockUseAuth, mockAuthLoading, mockAuthenticatedUser, mockUnauthenticatedUser, mockUseAuth, mockWorkOSUser } from '../chunk-DRQPEMJI.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import { ApiClientProvider } from '../chunk-
|
|
5
|
+
import '../chunk-4UA62IDF.js';
|
|
6
|
+
import { ApiClientProvider } from '../chunk-7Q5THR43.js';
|
|
7
7
|
import '../chunk-DD3CCMCZ.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-XOPLS4S6.js';
|
|
9
|
+
import '../chunk-FVOMKZ7S.js';
|
|
9
10
|
import '../chunk-KRWALB24.js';
|
|
10
11
|
import { ElevasisServiceProvider } from '../chunk-2FTX4WO2.js';
|
|
11
12
|
import '../chunk-MQZE7SUI.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -335,7 +335,7 @@ type GoogleModel = 'gemini-3-flash-preview' | 'gemini-3.1-flash-lite-preview';
|
|
|
335
335
|
/**
|
|
336
336
|
* Supported Anthropic models (direct SDK access via @anthropic-ai/sdk)
|
|
337
337
|
*/
|
|
338
|
-
type AnthropicModel = 'claude-sonnet-4-5';
|
|
338
|
+
type AnthropicModel = 'claude-opus-4-8' | 'claude-sonnet-4-6' | 'claude-haiku-4-5-20251001' | 'claude-haiku-4-5' | 'claude-sonnet-4-5';
|
|
339
339
|
/** Supported LLM models */
|
|
340
340
|
type LLMModel = OpenAIModel | OpenRouterModel | GoogleModel | AnthropicModel | 'mock';
|
|
341
341
|
/**
|
|
@@ -378,9 +378,9 @@ declare const GoogleOptionsSchema: z.ZodObject<{
|
|
|
378
378
|
}, z.core.$strip>;
|
|
379
379
|
/**
|
|
380
380
|
* Anthropic model options schema
|
|
381
|
-
* Currently empty - future options
|
|
381
|
+
* Currently empty - future options must be added per supported model family
|
|
382
382
|
*/
|
|
383
|
-
declare const AnthropicOptionsSchema: z.ZodObject<{}, z.core.$
|
|
383
|
+
declare const AnthropicOptionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
384
384
|
/**
|
|
385
385
|
* Infer TypeScript types from schemas
|
|
386
386
|
*/
|
|
@@ -2867,6 +2867,138 @@ type Database = {
|
|
|
2867
2867
|
};
|
|
2868
2868
|
Relationships: [];
|
|
2869
2869
|
};
|
|
2870
|
+
agent_access_grants: {
|
|
2871
|
+
Row: {
|
|
2872
|
+
allowed_origins: string[];
|
|
2873
|
+
branding: Json;
|
|
2874
|
+
capture_fields: Json;
|
|
2875
|
+
code_hash: string | null;
|
|
2876
|
+
code_salt: string | null;
|
|
2877
|
+
created_at: string;
|
|
2878
|
+
disabled_at: string | null;
|
|
2879
|
+
expires_at: string | null;
|
|
2880
|
+
id: string;
|
|
2881
|
+
max_sessions_per_visitor: number;
|
|
2882
|
+
max_turns_per_session: number;
|
|
2883
|
+
mode: string;
|
|
2884
|
+
organization_id: string;
|
|
2885
|
+
resource_id: string;
|
|
2886
|
+
slug: string;
|
|
2887
|
+
tool_policy: Json;
|
|
2888
|
+
updated_at: string;
|
|
2889
|
+
};
|
|
2890
|
+
Insert: {
|
|
2891
|
+
allowed_origins?: string[];
|
|
2892
|
+
branding?: Json;
|
|
2893
|
+
capture_fields?: Json;
|
|
2894
|
+
code_hash?: string | null;
|
|
2895
|
+
code_salt?: string | null;
|
|
2896
|
+
created_at?: string;
|
|
2897
|
+
disabled_at?: string | null;
|
|
2898
|
+
expires_at?: string | null;
|
|
2899
|
+
id?: string;
|
|
2900
|
+
max_sessions_per_visitor?: number;
|
|
2901
|
+
max_turns_per_session?: number;
|
|
2902
|
+
mode?: string;
|
|
2903
|
+
organization_id: string;
|
|
2904
|
+
resource_id: string;
|
|
2905
|
+
slug: string;
|
|
2906
|
+
tool_policy?: Json;
|
|
2907
|
+
updated_at?: string;
|
|
2908
|
+
};
|
|
2909
|
+
Update: {
|
|
2910
|
+
allowed_origins?: string[];
|
|
2911
|
+
branding?: Json;
|
|
2912
|
+
capture_fields?: Json;
|
|
2913
|
+
code_hash?: string | null;
|
|
2914
|
+
code_salt?: string | null;
|
|
2915
|
+
created_at?: string;
|
|
2916
|
+
disabled_at?: string | null;
|
|
2917
|
+
expires_at?: string | null;
|
|
2918
|
+
id?: string;
|
|
2919
|
+
max_sessions_per_visitor?: number;
|
|
2920
|
+
max_turns_per_session?: number;
|
|
2921
|
+
mode?: string;
|
|
2922
|
+
organization_id?: string;
|
|
2923
|
+
resource_id?: string;
|
|
2924
|
+
slug?: string;
|
|
2925
|
+
tool_policy?: Json;
|
|
2926
|
+
updated_at?: string;
|
|
2927
|
+
};
|
|
2928
|
+
Relationships: [
|
|
2929
|
+
{
|
|
2930
|
+
foreignKeyName: "agent_access_grants_organization_id_fkey";
|
|
2931
|
+
columns: ["organization_id"];
|
|
2932
|
+
isOneToOne: false;
|
|
2933
|
+
referencedRelation: "organizations";
|
|
2934
|
+
referencedColumns: ["id"];
|
|
2935
|
+
}
|
|
2936
|
+
];
|
|
2937
|
+
};
|
|
2938
|
+
agent_chat_capabilities: {
|
|
2939
|
+
Row: {
|
|
2940
|
+
created_at: string;
|
|
2941
|
+
expires_at: string;
|
|
2942
|
+
grant_id: string;
|
|
2943
|
+
id: string;
|
|
2944
|
+
organization_id: string;
|
|
2945
|
+
origin: string | null;
|
|
2946
|
+
resource_id: string;
|
|
2947
|
+
revoked_at: string | null;
|
|
2948
|
+
session_id: string | null;
|
|
2949
|
+
token_hash: string;
|
|
2950
|
+
visitor_id: string | null;
|
|
2951
|
+
};
|
|
2952
|
+
Insert: {
|
|
2953
|
+
created_at?: string;
|
|
2954
|
+
expires_at: string;
|
|
2955
|
+
grant_id: string;
|
|
2956
|
+
id?: string;
|
|
2957
|
+
organization_id: string;
|
|
2958
|
+
origin?: string | null;
|
|
2959
|
+
resource_id: string;
|
|
2960
|
+
revoked_at?: string | null;
|
|
2961
|
+
session_id?: string | null;
|
|
2962
|
+
token_hash: string;
|
|
2963
|
+
visitor_id?: string | null;
|
|
2964
|
+
};
|
|
2965
|
+
Update: {
|
|
2966
|
+
created_at?: string;
|
|
2967
|
+
expires_at?: string;
|
|
2968
|
+
grant_id?: string;
|
|
2969
|
+
id?: string;
|
|
2970
|
+
organization_id?: string;
|
|
2971
|
+
origin?: string | null;
|
|
2972
|
+
resource_id?: string;
|
|
2973
|
+
revoked_at?: string | null;
|
|
2974
|
+
session_id?: string | null;
|
|
2975
|
+
token_hash?: string;
|
|
2976
|
+
visitor_id?: string | null;
|
|
2977
|
+
};
|
|
2978
|
+
Relationships: [
|
|
2979
|
+
{
|
|
2980
|
+
foreignKeyName: "agent_chat_capabilities_grant_id_fkey";
|
|
2981
|
+
columns: ["grant_id"];
|
|
2982
|
+
isOneToOne: false;
|
|
2983
|
+
referencedRelation: "agent_access_grants";
|
|
2984
|
+
referencedColumns: ["id"];
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
foreignKeyName: "agent_chat_capabilities_organization_id_fkey";
|
|
2988
|
+
columns: ["organization_id"];
|
|
2989
|
+
isOneToOne: false;
|
|
2990
|
+
referencedRelation: "organizations";
|
|
2991
|
+
referencedColumns: ["id"];
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
foreignKeyName: "agent_chat_capabilities_session_id_fkey";
|
|
2995
|
+
columns: ["session_id"];
|
|
2996
|
+
isOneToOne: false;
|
|
2997
|
+
referencedRelation: "sessions";
|
|
2998
|
+
referencedColumns: ["session_id"];
|
|
2999
|
+
}
|
|
3000
|
+
];
|
|
3001
|
+
};
|
|
2870
3002
|
organizations: {
|
|
2871
3003
|
Row: {
|
|
2872
3004
|
config: Json;
|
package/dist/utils/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT,
|
|
1
|
+
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-XOPLS4S6.js';
|
|
2
|
+
export { REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, getTimeRangeDates, getTimeRangeLabel } from '../chunk-FVOMKZ7S.js';
|
|
2
3
|
export { ResourceStatusColors } from '../chunk-KRWALB24.js';
|
|
3
4
|
import '../chunk-TVTSASST.js';
|
|
4
5
|
import '../chunk-I2KLQ2HA.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevasis/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.50.0",
|
|
4
4
|
"description": "UI components and platform-aware hooks for building custom frontends on the Elevasis platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -80,6 +80,10 @@
|
|
|
80
80
|
"types": "./dist/features/operations/index.d.ts",
|
|
81
81
|
"import": "./dist/features/operations/index.js"
|
|
82
82
|
},
|
|
83
|
+
"./features/public-agent-chat": {
|
|
84
|
+
"types": "./dist/features/public-agent-chat/index.d.ts",
|
|
85
|
+
"import": "./dist/features/public-agent-chat/index.js"
|
|
86
|
+
},
|
|
83
87
|
"./features/monitoring": {
|
|
84
88
|
"types": "./dist/features/monitoring/index.d.ts",
|
|
85
89
|
"import": "./dist/features/monitoring/index.js"
|
|
@@ -270,10 +274,10 @@
|
|
|
270
274
|
"typescript": "5.9.2",
|
|
271
275
|
"vite": "^7.0.0",
|
|
272
276
|
"vitest": "^3.2.4",
|
|
273
|
-
"@elevasis/sdk": "1.
|
|
274
|
-
"@repo/elevasis-core": "1.0.0",
|
|
275
|
-
"@repo/core": "0.46.0",
|
|
277
|
+
"@elevasis/sdk": "1.34.0",
|
|
276
278
|
"@repo/eslint-config": "0.0.0",
|
|
279
|
+
"@repo/core": "0.47.0",
|
|
280
|
+
"@repo/elevasis-core": "1.0.0",
|
|
277
281
|
"@repo/typescript-config": "0.0.0"
|
|
278
282
|
},
|
|
279
283
|
"dependencies": {
|
|
@@ -351,6 +355,7 @@
|
|
|
351
355
|
"lint": "eslint src --max-warnings 0",
|
|
352
356
|
"check-types": "tsc --noEmit",
|
|
353
357
|
"test": "vitest run --passWithNoTests",
|
|
358
|
+
"test:publish-artifacts": "pnpm build:publish && vitest run src/__tests__/sdk-exports.test.ts src/provider/__tests__/published-surface.test.ts src/__tests__/published-artifact.test.ts",
|
|
354
359
|
"test:watch": "vitest watch"
|
|
355
360
|
}
|
|
356
361
|
}
|