@ai-matrx/data 0.22.18 → 0.22.20
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/CHANGELOG.md +12 -0
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +64 -0
- package/dist/types.d.ts +64 -0
- package/package.json +2 -2
package/dist/types.d.cts
CHANGED
|
@@ -2643,6 +2643,9 @@ type Database = {
|
|
|
2643
2643
|
mid_fallback_id: string | null;
|
|
2644
2644
|
name: string;
|
|
2645
2645
|
organization_id: string;
|
|
2646
|
+
pending_cost_rating: number | null;
|
|
2647
|
+
pending_cost_rating_at: string | null;
|
|
2648
|
+
pending_cost_rating_by: string | null;
|
|
2646
2649
|
provider_id: string | null;
|
|
2647
2650
|
published_to_web: boolean;
|
|
2648
2651
|
published_to_web_at: string | null;
|
|
@@ -2679,6 +2682,9 @@ type Database = {
|
|
|
2679
2682
|
mid_fallback_id?: string | null;
|
|
2680
2683
|
name: string;
|
|
2681
2684
|
organization_id: string;
|
|
2685
|
+
pending_cost_rating?: number | null;
|
|
2686
|
+
pending_cost_rating_at?: string | null;
|
|
2687
|
+
pending_cost_rating_by?: string | null;
|
|
2682
2688
|
provider_id?: string | null;
|
|
2683
2689
|
published_to_web?: boolean;
|
|
2684
2690
|
published_to_web_at?: string | null;
|
|
@@ -2715,6 +2721,9 @@ type Database = {
|
|
|
2715
2721
|
mid_fallback_id?: string | null;
|
|
2716
2722
|
name?: string;
|
|
2717
2723
|
organization_id?: string;
|
|
2724
|
+
pending_cost_rating?: number | null;
|
|
2725
|
+
pending_cost_rating_at?: string | null;
|
|
2726
|
+
pending_cost_rating_by?: string | null;
|
|
2718
2727
|
provider_id?: string | null;
|
|
2719
2728
|
published_to_web?: boolean;
|
|
2720
2729
|
published_to_web_at?: string | null;
|
|
@@ -4036,6 +4045,24 @@ type Database = {
|
|
|
4036
4045
|
};
|
|
4037
4046
|
Returns: Json;
|
|
4038
4047
|
};
|
|
4048
|
+
model_cost_rating_history: {
|
|
4049
|
+
Args: {
|
|
4050
|
+
p_limit?: number;
|
|
4051
|
+
p_model_id?: string;
|
|
4052
|
+
};
|
|
4053
|
+
Returns: {
|
|
4054
|
+
actor_id: string;
|
|
4055
|
+
actor_tier: string;
|
|
4056
|
+
from_rating: number;
|
|
4057
|
+
held_rating: number;
|
|
4058
|
+
model_id: string;
|
|
4059
|
+
model_name: string;
|
|
4060
|
+
occurred_at: string;
|
|
4061
|
+
operation: string;
|
|
4062
|
+
to_rating: number;
|
|
4063
|
+
version: number;
|
|
4064
|
+
}[];
|
|
4065
|
+
};
|
|
4039
4066
|
model_message_flag_profile: {
|
|
4040
4067
|
Args: {
|
|
4041
4068
|
p_model_id: string;
|
|
@@ -49422,6 +49449,7 @@ type Database = {
|
|
|
49422
49449
|
models: string[];
|
|
49423
49450
|
run_at: string;
|
|
49424
49451
|
run_id: string;
|
|
49452
|
+
served_orgs: Json;
|
|
49425
49453
|
status: string;
|
|
49426
49454
|
turns: number;
|
|
49427
49455
|
workflow_run_id: string;
|
|
@@ -49490,6 +49518,17 @@ type Database = {
|
|
|
49490
49518
|
error: true;
|
|
49491
49519
|
} & "Could not choose the best candidate function between: scheduler.sch_tasks_enabled_by_id(p_task_ids => _uuid), scheduler.sch_tasks_enabled_by_id(p_task_ids => jsonb). Try renaming the parameters or the function itself in the database so function overloading can be resolved"[];
|
|
49492
49520
|
};
|
|
49521
|
+
set_workflow_trigger_state: {
|
|
49522
|
+
Args: {
|
|
49523
|
+
p_action: string;
|
|
49524
|
+
p_trigger_id: string;
|
|
49525
|
+
};
|
|
49526
|
+
Returns: {
|
|
49527
|
+
archived: boolean;
|
|
49528
|
+
is_active: boolean;
|
|
49529
|
+
trigger_id: string;
|
|
49530
|
+
}[];
|
|
49531
|
+
};
|
|
49493
49532
|
system_schedule_alarms: {
|
|
49494
49533
|
Args: {
|
|
49495
49534
|
p_overdue_grace_minutes?: number;
|
|
@@ -49522,6 +49561,31 @@ type Database = {
|
|
|
49522
49561
|
title: string;
|
|
49523
49562
|
}[];
|
|
49524
49563
|
};
|
|
49564
|
+
workflow_trigger_overview: {
|
|
49565
|
+
Args: {
|
|
49566
|
+
p_org_id?: string;
|
|
49567
|
+
};
|
|
49568
|
+
Returns: {
|
|
49569
|
+
created_at: string;
|
|
49570
|
+
created_by: string;
|
|
49571
|
+
created_by_email: string;
|
|
49572
|
+
creator_is_platform_admin: boolean;
|
|
49573
|
+
cron_expression: string;
|
|
49574
|
+
definition_id: string;
|
|
49575
|
+
event_source: Json;
|
|
49576
|
+
fire_count: number;
|
|
49577
|
+
is_active: boolean;
|
|
49578
|
+
kind: string;
|
|
49579
|
+
last_fired_at: string;
|
|
49580
|
+
next_run_at: string;
|
|
49581
|
+
organization_id: string;
|
|
49582
|
+
organization_is_system: boolean;
|
|
49583
|
+
organization_name: string;
|
|
49584
|
+
timezone: string;
|
|
49585
|
+
trigger_id: string;
|
|
49586
|
+
workflow_name: string;
|
|
49587
|
+
}[];
|
|
49588
|
+
};
|
|
49525
49589
|
};
|
|
49526
49590
|
Enums: {
|
|
49527
49591
|
[_ in never]: never;
|
package/dist/types.d.ts
CHANGED
|
@@ -2643,6 +2643,9 @@ type Database = {
|
|
|
2643
2643
|
mid_fallback_id: string | null;
|
|
2644
2644
|
name: string;
|
|
2645
2645
|
organization_id: string;
|
|
2646
|
+
pending_cost_rating: number | null;
|
|
2647
|
+
pending_cost_rating_at: string | null;
|
|
2648
|
+
pending_cost_rating_by: string | null;
|
|
2646
2649
|
provider_id: string | null;
|
|
2647
2650
|
published_to_web: boolean;
|
|
2648
2651
|
published_to_web_at: string | null;
|
|
@@ -2679,6 +2682,9 @@ type Database = {
|
|
|
2679
2682
|
mid_fallback_id?: string | null;
|
|
2680
2683
|
name: string;
|
|
2681
2684
|
organization_id: string;
|
|
2685
|
+
pending_cost_rating?: number | null;
|
|
2686
|
+
pending_cost_rating_at?: string | null;
|
|
2687
|
+
pending_cost_rating_by?: string | null;
|
|
2682
2688
|
provider_id?: string | null;
|
|
2683
2689
|
published_to_web?: boolean;
|
|
2684
2690
|
published_to_web_at?: string | null;
|
|
@@ -2715,6 +2721,9 @@ type Database = {
|
|
|
2715
2721
|
mid_fallback_id?: string | null;
|
|
2716
2722
|
name?: string;
|
|
2717
2723
|
organization_id?: string;
|
|
2724
|
+
pending_cost_rating?: number | null;
|
|
2725
|
+
pending_cost_rating_at?: string | null;
|
|
2726
|
+
pending_cost_rating_by?: string | null;
|
|
2718
2727
|
provider_id?: string | null;
|
|
2719
2728
|
published_to_web?: boolean;
|
|
2720
2729
|
published_to_web_at?: string | null;
|
|
@@ -4036,6 +4045,24 @@ type Database = {
|
|
|
4036
4045
|
};
|
|
4037
4046
|
Returns: Json;
|
|
4038
4047
|
};
|
|
4048
|
+
model_cost_rating_history: {
|
|
4049
|
+
Args: {
|
|
4050
|
+
p_limit?: number;
|
|
4051
|
+
p_model_id?: string;
|
|
4052
|
+
};
|
|
4053
|
+
Returns: {
|
|
4054
|
+
actor_id: string;
|
|
4055
|
+
actor_tier: string;
|
|
4056
|
+
from_rating: number;
|
|
4057
|
+
held_rating: number;
|
|
4058
|
+
model_id: string;
|
|
4059
|
+
model_name: string;
|
|
4060
|
+
occurred_at: string;
|
|
4061
|
+
operation: string;
|
|
4062
|
+
to_rating: number;
|
|
4063
|
+
version: number;
|
|
4064
|
+
}[];
|
|
4065
|
+
};
|
|
4039
4066
|
model_message_flag_profile: {
|
|
4040
4067
|
Args: {
|
|
4041
4068
|
p_model_id: string;
|
|
@@ -49422,6 +49449,7 @@ type Database = {
|
|
|
49422
49449
|
models: string[];
|
|
49423
49450
|
run_at: string;
|
|
49424
49451
|
run_id: string;
|
|
49452
|
+
served_orgs: Json;
|
|
49425
49453
|
status: string;
|
|
49426
49454
|
turns: number;
|
|
49427
49455
|
workflow_run_id: string;
|
|
@@ -49490,6 +49518,17 @@ type Database = {
|
|
|
49490
49518
|
error: true;
|
|
49491
49519
|
} & "Could not choose the best candidate function between: scheduler.sch_tasks_enabled_by_id(p_task_ids => _uuid), scheduler.sch_tasks_enabled_by_id(p_task_ids => jsonb). Try renaming the parameters or the function itself in the database so function overloading can be resolved"[];
|
|
49492
49520
|
};
|
|
49521
|
+
set_workflow_trigger_state: {
|
|
49522
|
+
Args: {
|
|
49523
|
+
p_action: string;
|
|
49524
|
+
p_trigger_id: string;
|
|
49525
|
+
};
|
|
49526
|
+
Returns: {
|
|
49527
|
+
archived: boolean;
|
|
49528
|
+
is_active: boolean;
|
|
49529
|
+
trigger_id: string;
|
|
49530
|
+
}[];
|
|
49531
|
+
};
|
|
49493
49532
|
system_schedule_alarms: {
|
|
49494
49533
|
Args: {
|
|
49495
49534
|
p_overdue_grace_minutes?: number;
|
|
@@ -49522,6 +49561,31 @@ type Database = {
|
|
|
49522
49561
|
title: string;
|
|
49523
49562
|
}[];
|
|
49524
49563
|
};
|
|
49564
|
+
workflow_trigger_overview: {
|
|
49565
|
+
Args: {
|
|
49566
|
+
p_org_id?: string;
|
|
49567
|
+
};
|
|
49568
|
+
Returns: {
|
|
49569
|
+
created_at: string;
|
|
49570
|
+
created_by: string;
|
|
49571
|
+
created_by_email: string;
|
|
49572
|
+
creator_is_platform_admin: boolean;
|
|
49573
|
+
cron_expression: string;
|
|
49574
|
+
definition_id: string;
|
|
49575
|
+
event_source: Json;
|
|
49576
|
+
fire_count: number;
|
|
49577
|
+
is_active: boolean;
|
|
49578
|
+
kind: string;
|
|
49579
|
+
last_fired_at: string;
|
|
49580
|
+
next_run_at: string;
|
|
49581
|
+
organization_id: string;
|
|
49582
|
+
organization_is_system: boolean;
|
|
49583
|
+
organization_name: string;
|
|
49584
|
+
timezone: string;
|
|
49585
|
+
trigger_id: string;
|
|
49586
|
+
workflow_name: string;
|
|
49587
|
+
}[];
|
|
49588
|
+
};
|
|
49525
49589
|
};
|
|
49526
49590
|
Enums: {
|
|
49527
49591
|
[_ in never]: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-matrx/data",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.20",
|
|
4
4
|
"description": "The opinionated AI Matrx data layer: the /db tier's hard-won Supabase primitives — optimistic concurrency, complete-list reads, JSONB merge, session-retry, the domain-wide auth cookie, realtime channel hygiene — the /net resilience trio, and the /files lane: the Matrx file-communication client (durable-ref resolution, the mx_files_session bootstrap, authenticated blob fetch, uploads, the public-link door).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -208,5 +208,5 @@
|
|
|
208
208
|
"test:watch": "vitest",
|
|
209
209
|
"verify:tarball": "node ./scripts/verify-tarball.mjs"
|
|
210
210
|
},
|
|
211
|
-
"gitHead": "
|
|
211
|
+
"gitHead": "bde4a2d0ac28eb6ad080485b579ef1b88b1ed1ac"
|
|
212
212
|
}
|