@ai-matrx/media 0.10.3 → 0.10.5
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/files/engine/db-types.d.ts +2171 -908
- package/dist/files/engine/host/supabase.d.ts +308 -17
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* The host's `db` is a `SupabaseClient<FilesDatabase>`; a host typed with the
|
|
7
7
|
* full platform `Database` passes its client unchanged.
|
|
8
8
|
*
|
|
9
|
-
* Schemas (15): admin, agent, ai, canvas, chat,
|
|
9
|
+
* Schemas (15): admin, agent, ai, canvas, chat, deprecated, dictionary, education, files, iam, platform, public, tool, ui, users
|
|
10
10
|
*/
|
|
11
11
|
export type Json = unknown;
|
|
12
12
|
export type FilesDatabase = {
|
|
@@ -2240,6 +2240,25 @@ export type FilesDatabase = {
|
|
|
2240
2240
|
};
|
|
2241
2241
|
Returns: Json;
|
|
2242
2242
|
};
|
|
2243
|
+
duplicate_agent: {
|
|
2244
|
+
Args: {
|
|
2245
|
+
p_agent_id: string;
|
|
2246
|
+
p_as_system?: boolean;
|
|
2247
|
+
p_follows_source?: boolean;
|
|
2248
|
+
p_name?: string;
|
|
2249
|
+
p_organization_id?: string;
|
|
2250
|
+
};
|
|
2251
|
+
Returns: string;
|
|
2252
|
+
};
|
|
2253
|
+
duplicate_version: {
|
|
2254
|
+
Args: {
|
|
2255
|
+
p_as_system?: boolean;
|
|
2256
|
+
p_name?: string;
|
|
2257
|
+
p_organization_id?: string;
|
|
2258
|
+
p_version_id: string;
|
|
2259
|
+
};
|
|
2260
|
+
Returns: string;
|
|
2261
|
+
};
|
|
2243
2262
|
message_flag_problems: {
|
|
2244
2263
|
Args: never;
|
|
2245
2264
|
Returns: {
|
|
@@ -4466,6 +4485,13 @@ export type FilesDatabase = {
|
|
|
4466
4485
|
isOneToOne: false;
|
|
4467
4486
|
referencedRelation: "canvas_items";
|
|
4468
4487
|
referencedColumns: ["id"];
|
|
4488
|
+
},
|
|
4489
|
+
{
|
|
4490
|
+
foreignKeyName: "canvas_items_version_chain_same_owner";
|
|
4491
|
+
columns: ["user_id", "parent_canvas_id"];
|
|
4492
|
+
isOneToOne: false;
|
|
4493
|
+
referencedRelation: "canvas_items";
|
|
4494
|
+
referencedColumns: ["user_id", "id"];
|
|
4469
4495
|
}
|
|
4470
4496
|
];
|
|
4471
4497
|
};
|
|
@@ -7130,6 +7156,13 @@ export type FilesDatabase = {
|
|
|
7130
7156
|
referencedRelation: "user_request_summary";
|
|
7131
7157
|
referencedColumns: ["id"];
|
|
7132
7158
|
},
|
|
7159
|
+
{
|
|
7160
|
+
foreignKeyName: "fk_cx_tool_call_parent";
|
|
7161
|
+
columns: ["parent_call_id"];
|
|
7162
|
+
isOneToOne: false;
|
|
7163
|
+
referencedRelation: "_tool_call_facts";
|
|
7164
|
+
referencedColumns: ["tool_call_id"];
|
|
7165
|
+
},
|
|
7133
7166
|
{
|
|
7134
7167
|
foreignKeyName: "fk_cx_tool_call_parent";
|
|
7135
7168
|
columns: ["parent_call_id"];
|
|
@@ -7533,246 +7566,288 @@ export type FilesDatabase = {
|
|
|
7533
7566
|
};
|
|
7534
7567
|
};
|
|
7535
7568
|
Views: {
|
|
7536
|
-
|
|
7537
|
-
Row: {
|
|
7538
|
-
conversation_type: string | null;
|
|
7539
|
-
cost_complete: boolean | null;
|
|
7540
|
-
created_at: string | null;
|
|
7541
|
-
description: string | null;
|
|
7542
|
-
error_count: number | null;
|
|
7543
|
-
id: string | null;
|
|
7544
|
-
initial_agent_id: string | null;
|
|
7545
|
-
initial_agent_version_id: string | null;
|
|
7546
|
-
is_ephemeral: boolean | null;
|
|
7547
|
-
is_favorite: boolean | null;
|
|
7548
|
-
is_public: boolean | null;
|
|
7549
|
-
known_cost_subtotal: number | null;
|
|
7550
|
-
last_model_id: string | null;
|
|
7551
|
-
last_model_name: string | null;
|
|
7552
|
-
last_model_provider: string | null;
|
|
7553
|
-
last_request_at: string | null;
|
|
7554
|
-
last_request_status: string | null;
|
|
7555
|
-
message_count: number | null;
|
|
7556
|
-
organization_id: string | null;
|
|
7557
|
-
origin_class: string | null;
|
|
7558
|
-
project_id: string | null;
|
|
7559
|
-
request_count: number | null;
|
|
7560
|
-
snapshot_count: number | null;
|
|
7561
|
-
source_app: string | null;
|
|
7562
|
-
source_feature: string | null;
|
|
7563
|
-
status: string | null;
|
|
7564
|
-
task_id: string | null;
|
|
7565
|
-
title: string | null;
|
|
7566
|
-
tool_call_count: number | null;
|
|
7567
|
-
total_cost: number | null;
|
|
7568
|
-
total_duration_ms: number | null;
|
|
7569
|
-
total_tokens: number | null;
|
|
7570
|
-
unknown_cost_calls: number | null;
|
|
7571
|
-
updated_at: string | null;
|
|
7572
|
-
user_id: string | null;
|
|
7573
|
-
};
|
|
7574
|
-
Relationships: [];
|
|
7575
|
-
};
|
|
7576
|
-
admin_user_request_summary: {
|
|
7569
|
+
_tool_call_facts: {
|
|
7577
7570
|
Row: {
|
|
7571
|
+
after_trim: number | null;
|
|
7578
7572
|
agent_id: string | null;
|
|
7579
|
-
agent_version_id: string | null;
|
|
7580
|
-
api_duration_ms: number | null;
|
|
7581
|
-
completed_at: string | null;
|
|
7582
|
-
conversation_count: number | null;
|
|
7583
|
-
cost_complete: boolean | null;
|
|
7584
|
-
created_at: string | null;
|
|
7585
|
-
created_by: string | null;
|
|
7586
|
-
error_count: number | null;
|
|
7587
|
-
finish_reason: string | null;
|
|
7588
|
-
id: string | null;
|
|
7589
|
-
iterations: number | null;
|
|
7590
|
-
known_cost_subtotal: number | null;
|
|
7591
|
-
last_activity_at: string | null;
|
|
7592
|
-
last_request_at: string | null;
|
|
7593
|
-
origin_class: string | null;
|
|
7594
|
-
request_count: number | null;
|
|
7595
|
-
source_app: string | null;
|
|
7596
|
-
source_feature: string | null;
|
|
7597
|
-
status: string | null;
|
|
7598
|
-
stored_total_cost: number | null;
|
|
7599
|
-
stored_total_tokens: number | null;
|
|
7600
|
-
tool_duration_ms: number | null;
|
|
7601
|
-
total_cached_tokens: number | null;
|
|
7602
|
-
total_cost: number | null;
|
|
7603
|
-
total_duration_ms: number | null;
|
|
7604
|
-
total_input_tokens: number | null;
|
|
7605
|
-
total_output_tokens: number | null;
|
|
7606
|
-
total_tokens: number | null;
|
|
7607
|
-
total_tool_calls: number | null;
|
|
7608
|
-
unknown_cost_calls: number | null;
|
|
7609
|
-
};
|
|
7610
|
-
Relationships: [];
|
|
7611
|
-
};
|
|
7612
|
-
conversation_summary: {
|
|
7613
|
-
Row: {
|
|
7614
|
-
conversation_type: string | null;
|
|
7615
|
-
cost_complete: boolean | null;
|
|
7616
|
-
created_at: string | null;
|
|
7617
|
-
description: string | null;
|
|
7618
|
-
error_count: number | null;
|
|
7619
|
-
id: string | null;
|
|
7620
|
-
initial_agent_id: string | null;
|
|
7621
|
-
initial_agent_version_id: string | null;
|
|
7622
|
-
is_ephemeral: boolean | null;
|
|
7623
|
-
is_favorite: boolean | null;
|
|
7624
|
-
is_public: boolean | null;
|
|
7625
|
-
known_cost_subtotal: number | null;
|
|
7626
|
-
last_model_id: string | null;
|
|
7627
|
-
last_model_name: string | null;
|
|
7628
|
-
last_model_provider: string | null;
|
|
7629
|
-
last_request_at: string | null;
|
|
7630
|
-
last_request_status: string | null;
|
|
7631
|
-
message_count: number | null;
|
|
7632
|
-
organization_id: string | null;
|
|
7633
|
-
origin_class: string | null;
|
|
7634
|
-
project_id: string | null;
|
|
7635
|
-
request_count: number | null;
|
|
7636
|
-
snapshot_count: number | null;
|
|
7637
|
-
source_app: string | null;
|
|
7638
|
-
source_feature: string | null;
|
|
7639
|
-
status: string | null;
|
|
7640
|
-
task_id: string | null;
|
|
7641
|
-
title: string | null;
|
|
7642
|
-
tool_call_count: number | null;
|
|
7643
|
-
total_cost: number | null;
|
|
7644
|
-
total_duration_ms: number | null;
|
|
7645
|
-
total_tokens: number | null;
|
|
7646
|
-
unknown_cost_calls: number | null;
|
|
7647
|
-
updated_at: string | null;
|
|
7648
|
-
user_id: string | null;
|
|
7649
|
-
};
|
|
7650
|
-
Relationships: [];
|
|
7651
|
-
};
|
|
7652
|
-
mv_tool_refetch_summary: {
|
|
7653
|
-
Row: {
|
|
7654
|
-
after_trim_repeats: number | null;
|
|
7655
7573
|
chars_refetched_same_data: number | null;
|
|
7656
|
-
conversations: number | null;
|
|
7657
|
-
last_repeat_at: string | null;
|
|
7658
|
-
median_gap_calls: number | null;
|
|
7659
|
-
median_gap_secs: number | null;
|
|
7660
|
-
new_data_repeats: number | null;
|
|
7661
|
-
refreshed_at: string | null;
|
|
7662
|
-
repeat_rate: number | null;
|
|
7663
|
-
repeats: number | null;
|
|
7664
|
-
same_data_rate: number | null;
|
|
7665
|
-
same_data_repeats: number | null;
|
|
7666
|
-
tool_name: string | null;
|
|
7667
|
-
total_calls: number | null;
|
|
7668
|
-
total_conversations: number | null;
|
|
7669
|
-
unknown_data_repeats: number | null;
|
|
7670
|
-
};
|
|
7671
|
-
Relationships: [];
|
|
7672
|
-
};
|
|
7673
|
-
user_request_summary: {
|
|
7674
|
-
Row: {
|
|
7675
|
-
agent_id: string | null;
|
|
7676
|
-
agent_version_id: string | null;
|
|
7677
|
-
api_duration_ms: number | null;
|
|
7678
|
-
completed_at: string | null;
|
|
7679
|
-
conversation_count: number | null;
|
|
7680
|
-
cost_complete: boolean | null;
|
|
7681
|
-
created_at: string | null;
|
|
7682
|
-
created_by: string | null;
|
|
7683
|
-
error_count: number | null;
|
|
7684
|
-
finish_reason: string | null;
|
|
7685
|
-
id: string | null;
|
|
7686
|
-
iterations: number | null;
|
|
7687
|
-
known_cost_subtotal: number | null;
|
|
7688
|
-
last_activity_at: string | null;
|
|
7689
|
-
last_request_at: string | null;
|
|
7690
|
-
origin_class: string | null;
|
|
7691
|
-
request_count: number | null;
|
|
7692
|
-
source_app: string | null;
|
|
7693
|
-
source_feature: string | null;
|
|
7694
|
-
status: string | null;
|
|
7695
|
-
stored_total_cost: number | null;
|
|
7696
|
-
stored_total_tokens: number | null;
|
|
7697
|
-
tool_duration_ms: number | null;
|
|
7698
|
-
total_cached_tokens: number | null;
|
|
7699
|
-
total_cost: number | null;
|
|
7700
|
-
total_duration_ms: number | null;
|
|
7701
|
-
total_input_tokens: number | null;
|
|
7702
|
-
total_output_tokens: number | null;
|
|
7703
|
-
total_tokens: number | null;
|
|
7704
|
-
total_tool_calls: number | null;
|
|
7705
|
-
unknown_cost_calls: number | null;
|
|
7706
|
-
};
|
|
7707
|
-
Relationships: [];
|
|
7708
|
-
};
|
|
7709
|
-
vw_tool_gate_verdict: {
|
|
7710
|
-
Row: {
|
|
7711
|
-
call_id: string | null;
|
|
7712
7574
|
conversation_id: string | null;
|
|
7713
7575
|
created_at: string | null;
|
|
7714
|
-
created_by: string | null;
|
|
7715
|
-
decided_by: string | null;
|
|
7716
|
-
kept_sections: number | null;
|
|
7717
|
-
limits_source: string | null;
|
|
7718
|
-
mandate_key: string | null;
|
|
7719
|
-
reason: string | null;
|
|
7720
|
-
result_format: string | null;
|
|
7721
|
-
retained_output_chars: number | null;
|
|
7722
|
-
section_count: number | null;
|
|
7723
|
-
shown_chars: number | null;
|
|
7724
|
-
threshold: number | null;
|
|
7725
|
-
tool_call_id: string | null;
|
|
7726
|
-
tool_name: string | null;
|
|
7727
|
-
total_chars: number | null;
|
|
7728
|
-
unjudged_kept_sections: number | null;
|
|
7729
|
-
withheld_sections: Json | null;
|
|
7730
|
-
withheld_sections_count: number | null;
|
|
7731
|
-
};
|
|
7732
|
-
Relationships: [
|
|
7733
|
-
{
|
|
7734
|
-
foreignKeyName: "cx_tool_call_conversation_id_fkey";
|
|
7735
|
-
columns: ["conversation_id"];
|
|
7736
|
-
isOneToOne: false;
|
|
7737
|
-
referencedRelation: "admin_conversation_summary";
|
|
7738
|
-
referencedColumns: ["id"];
|
|
7739
|
-
},
|
|
7740
|
-
{
|
|
7741
|
-
foreignKeyName: "cx_tool_call_conversation_id_fkey";
|
|
7742
|
-
columns: ["conversation_id"];
|
|
7743
|
-
isOneToOne: false;
|
|
7744
|
-
referencedRelation: "conversation";
|
|
7745
|
-
referencedColumns: ["id"];
|
|
7746
|
-
},
|
|
7747
|
-
{
|
|
7748
|
-
foreignKeyName: "cx_tool_call_conversation_id_fkey";
|
|
7749
|
-
columns: ["conversation_id"];
|
|
7750
|
-
isOneToOne: false;
|
|
7751
|
-
referencedRelation: "conversation_summary";
|
|
7752
|
-
referencedColumns: ["id"];
|
|
7753
|
-
}
|
|
7754
|
-
];
|
|
7755
|
-
};
|
|
7756
|
-
vw_tool_refetch: {
|
|
7757
|
-
Row: {
|
|
7758
|
-
arguments: Json | null;
|
|
7759
|
-
conversation_id: string | null;
|
|
7760
|
-
first_at: string | null;
|
|
7761
|
-
first_call_id: string | null;
|
|
7762
|
-
first_iteration: number | null;
|
|
7763
|
-
first_output_chars: number | null;
|
|
7764
|
-
first_result_trimmed_before_repeat: boolean | null;
|
|
7765
|
-
first_tool_call_id: string | null;
|
|
7766
7576
|
gap_calls: number | null;
|
|
7767
|
-
gap_iterations: number | null;
|
|
7768
7577
|
gap_secs: number | null;
|
|
7769
|
-
|
|
7770
|
-
|
|
7771
|
-
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7578
|
+
is_repeat: number | null;
|
|
7579
|
+
new_data: number | null;
|
|
7580
|
+
output_chars: number | null;
|
|
7581
|
+
person_id: string | null;
|
|
7582
|
+
same_data: number | null;
|
|
7583
|
+
tool_call_id: string | null;
|
|
7584
|
+
tool_name: string | null;
|
|
7585
|
+
unknown_data: number | null;
|
|
7586
|
+
};
|
|
7587
|
+
Relationships: [
|
|
7588
|
+
{
|
|
7589
|
+
foreignKeyName: "cx_tool_call_conversation_id_fkey";
|
|
7590
|
+
columns: ["conversation_id"];
|
|
7591
|
+
isOneToOne: false;
|
|
7592
|
+
referencedRelation: "admin_conversation_summary";
|
|
7593
|
+
referencedColumns: ["id"];
|
|
7594
|
+
},
|
|
7595
|
+
{
|
|
7596
|
+
foreignKeyName: "cx_tool_call_conversation_id_fkey";
|
|
7597
|
+
columns: ["conversation_id"];
|
|
7598
|
+
isOneToOne: false;
|
|
7599
|
+
referencedRelation: "conversation";
|
|
7600
|
+
referencedColumns: ["id"];
|
|
7601
|
+
},
|
|
7602
|
+
{
|
|
7603
|
+
foreignKeyName: "cx_tool_call_conversation_id_fkey";
|
|
7604
|
+
columns: ["conversation_id"];
|
|
7605
|
+
isOneToOne: false;
|
|
7606
|
+
referencedRelation: "conversation_summary";
|
|
7607
|
+
referencedColumns: ["id"];
|
|
7608
|
+
}
|
|
7609
|
+
];
|
|
7610
|
+
};
|
|
7611
|
+
admin_conversation_summary: {
|
|
7612
|
+
Row: {
|
|
7613
|
+
conversation_type: string | null;
|
|
7614
|
+
cost_complete: boolean | null;
|
|
7615
|
+
created_at: string | null;
|
|
7616
|
+
description: string | null;
|
|
7617
|
+
error_count: number | null;
|
|
7618
|
+
id: string | null;
|
|
7619
|
+
initial_agent_id: string | null;
|
|
7620
|
+
initial_agent_version_id: string | null;
|
|
7621
|
+
is_ephemeral: boolean | null;
|
|
7622
|
+
is_favorite: boolean | null;
|
|
7623
|
+
is_public: boolean | null;
|
|
7624
|
+
known_cost_subtotal: number | null;
|
|
7625
|
+
last_model_id: string | null;
|
|
7626
|
+
last_model_name: string | null;
|
|
7627
|
+
last_model_provider: string | null;
|
|
7628
|
+
last_request_at: string | null;
|
|
7629
|
+
last_request_status: string | null;
|
|
7630
|
+
message_count: number | null;
|
|
7631
|
+
organization_id: string | null;
|
|
7632
|
+
origin_class: string | null;
|
|
7633
|
+
project_id: string | null;
|
|
7634
|
+
request_count: number | null;
|
|
7635
|
+
snapshot_count: number | null;
|
|
7636
|
+
source_app: string | null;
|
|
7637
|
+
source_feature: string | null;
|
|
7638
|
+
status: string | null;
|
|
7639
|
+
task_id: string | null;
|
|
7640
|
+
title: string | null;
|
|
7641
|
+
tool_call_count: number | null;
|
|
7642
|
+
total_cost: number | null;
|
|
7643
|
+
total_duration_ms: number | null;
|
|
7644
|
+
total_tokens: number | null;
|
|
7645
|
+
unknown_cost_calls: number | null;
|
|
7646
|
+
updated_at: string | null;
|
|
7647
|
+
user_id: string | null;
|
|
7648
|
+
};
|
|
7649
|
+
Relationships: [];
|
|
7650
|
+
};
|
|
7651
|
+
admin_user_request_summary: {
|
|
7652
|
+
Row: {
|
|
7653
|
+
agent_id: string | null;
|
|
7654
|
+
agent_version_id: string | null;
|
|
7655
|
+
api_duration_ms: number | null;
|
|
7656
|
+
completed_at: string | null;
|
|
7657
|
+
conversation_count: number | null;
|
|
7658
|
+
cost_complete: boolean | null;
|
|
7659
|
+
created_at: string | null;
|
|
7660
|
+
created_by: string | null;
|
|
7661
|
+
error_count: number | null;
|
|
7662
|
+
finish_reason: string | null;
|
|
7663
|
+
id: string | null;
|
|
7664
|
+
iterations: number | null;
|
|
7665
|
+
known_cost_subtotal: number | null;
|
|
7666
|
+
last_activity_at: string | null;
|
|
7667
|
+
last_request_at: string | null;
|
|
7668
|
+
origin_class: string | null;
|
|
7669
|
+
request_count: number | null;
|
|
7670
|
+
source_app: string | null;
|
|
7671
|
+
source_feature: string | null;
|
|
7672
|
+
status: string | null;
|
|
7673
|
+
stored_total_cost: number | null;
|
|
7674
|
+
stored_total_tokens: number | null;
|
|
7675
|
+
tool_duration_ms: number | null;
|
|
7676
|
+
total_cached_tokens: number | null;
|
|
7677
|
+
total_cost: number | null;
|
|
7678
|
+
total_duration_ms: number | null;
|
|
7679
|
+
total_input_tokens: number | null;
|
|
7680
|
+
total_output_tokens: number | null;
|
|
7681
|
+
total_tokens: number | null;
|
|
7682
|
+
total_tool_calls: number | null;
|
|
7683
|
+
unknown_cost_calls: number | null;
|
|
7684
|
+
};
|
|
7685
|
+
Relationships: [];
|
|
7686
|
+
};
|
|
7687
|
+
conversation_summary: {
|
|
7688
|
+
Row: {
|
|
7689
|
+
conversation_type: string | null;
|
|
7690
|
+
cost_complete: boolean | null;
|
|
7691
|
+
created_at: string | null;
|
|
7692
|
+
description: string | null;
|
|
7693
|
+
error_count: number | null;
|
|
7694
|
+
id: string | null;
|
|
7695
|
+
initial_agent_id: string | null;
|
|
7696
|
+
initial_agent_version_id: string | null;
|
|
7697
|
+
is_ephemeral: boolean | null;
|
|
7698
|
+
is_favorite: boolean | null;
|
|
7699
|
+
is_public: boolean | null;
|
|
7700
|
+
known_cost_subtotal: number | null;
|
|
7701
|
+
last_model_id: string | null;
|
|
7702
|
+
last_model_name: string | null;
|
|
7703
|
+
last_model_provider: string | null;
|
|
7704
|
+
last_request_at: string | null;
|
|
7705
|
+
last_request_status: string | null;
|
|
7706
|
+
message_count: number | null;
|
|
7707
|
+
organization_id: string | null;
|
|
7708
|
+
origin_class: string | null;
|
|
7709
|
+
project_id: string | null;
|
|
7710
|
+
request_count: number | null;
|
|
7711
|
+
snapshot_count: number | null;
|
|
7712
|
+
source_app: string | null;
|
|
7713
|
+
source_feature: string | null;
|
|
7714
|
+
status: string | null;
|
|
7715
|
+
task_id: string | null;
|
|
7716
|
+
title: string | null;
|
|
7717
|
+
tool_call_count: number | null;
|
|
7718
|
+
total_cost: number | null;
|
|
7719
|
+
total_duration_ms: number | null;
|
|
7720
|
+
total_tokens: number | null;
|
|
7721
|
+
unknown_cost_calls: number | null;
|
|
7722
|
+
updated_at: string | null;
|
|
7723
|
+
user_id: string | null;
|
|
7724
|
+
};
|
|
7725
|
+
Relationships: [];
|
|
7726
|
+
};
|
|
7727
|
+
mv_tool_refetch_summary: {
|
|
7728
|
+
Row: {
|
|
7729
|
+
after_trim_repeats: number | null;
|
|
7730
|
+
chars_refetched_same_data: number | null;
|
|
7731
|
+
conversations: number | null;
|
|
7732
|
+
last_repeat_at: string | null;
|
|
7733
|
+
median_gap_calls: number | null;
|
|
7734
|
+
median_gap_secs: number | null;
|
|
7735
|
+
new_data_repeats: number | null;
|
|
7736
|
+
refreshed_at: string | null;
|
|
7737
|
+
repeat_rate: number | null;
|
|
7738
|
+
repeats: number | null;
|
|
7739
|
+
same_data_rate: number | null;
|
|
7740
|
+
same_data_repeats: number | null;
|
|
7741
|
+
tool_name: string | null;
|
|
7742
|
+
total_calls: number | null;
|
|
7743
|
+
total_conversations: number | null;
|
|
7744
|
+
unknown_data_repeats: number | null;
|
|
7745
|
+
};
|
|
7746
|
+
Relationships: [];
|
|
7747
|
+
};
|
|
7748
|
+
user_request_summary: {
|
|
7749
|
+
Row: {
|
|
7750
|
+
agent_id: string | null;
|
|
7751
|
+
agent_version_id: string | null;
|
|
7752
|
+
api_duration_ms: number | null;
|
|
7753
|
+
completed_at: string | null;
|
|
7754
|
+
conversation_count: number | null;
|
|
7755
|
+
cost_complete: boolean | null;
|
|
7756
|
+
created_at: string | null;
|
|
7757
|
+
created_by: string | null;
|
|
7758
|
+
error_count: number | null;
|
|
7759
|
+
finish_reason: string | null;
|
|
7760
|
+
id: string | null;
|
|
7761
|
+
iterations: number | null;
|
|
7762
|
+
known_cost_subtotal: number | null;
|
|
7763
|
+
last_activity_at: string | null;
|
|
7764
|
+
last_request_at: string | null;
|
|
7765
|
+
origin_class: string | null;
|
|
7766
|
+
request_count: number | null;
|
|
7767
|
+
source_app: string | null;
|
|
7768
|
+
source_feature: string | null;
|
|
7769
|
+
status: string | null;
|
|
7770
|
+
stored_total_cost: number | null;
|
|
7771
|
+
stored_total_tokens: number | null;
|
|
7772
|
+
tool_duration_ms: number | null;
|
|
7773
|
+
total_cached_tokens: number | null;
|
|
7774
|
+
total_cost: number | null;
|
|
7775
|
+
total_duration_ms: number | null;
|
|
7776
|
+
total_input_tokens: number | null;
|
|
7777
|
+
total_output_tokens: number | null;
|
|
7778
|
+
total_tokens: number | null;
|
|
7779
|
+
total_tool_calls: number | null;
|
|
7780
|
+
unknown_cost_calls: number | null;
|
|
7781
|
+
};
|
|
7782
|
+
Relationships: [];
|
|
7783
|
+
};
|
|
7784
|
+
vw_tool_gate_verdict: {
|
|
7785
|
+
Row: {
|
|
7786
|
+
call_id: string | null;
|
|
7787
|
+
conversation_id: string | null;
|
|
7788
|
+
created_at: string | null;
|
|
7789
|
+
created_by: string | null;
|
|
7790
|
+
decided_by: string | null;
|
|
7791
|
+
kept_sections: number | null;
|
|
7792
|
+
limits_source: string | null;
|
|
7793
|
+
mandate_key: string | null;
|
|
7794
|
+
reason: string | null;
|
|
7795
|
+
result_format: string | null;
|
|
7796
|
+
retained_output_chars: number | null;
|
|
7797
|
+
section_count: number | null;
|
|
7798
|
+
shown_chars: number | null;
|
|
7799
|
+
threshold: number | null;
|
|
7800
|
+
tool_call_id: string | null;
|
|
7801
|
+
tool_name: string | null;
|
|
7802
|
+
total_chars: number | null;
|
|
7803
|
+
unjudged_kept_sections: number | null;
|
|
7804
|
+
withheld_sections: Json | null;
|
|
7805
|
+
withheld_sections_count: number | null;
|
|
7806
|
+
};
|
|
7807
|
+
Relationships: [
|
|
7808
|
+
{
|
|
7809
|
+
foreignKeyName: "cx_tool_call_conversation_id_fkey";
|
|
7810
|
+
columns: ["conversation_id"];
|
|
7811
|
+
isOneToOne: false;
|
|
7812
|
+
referencedRelation: "admin_conversation_summary";
|
|
7813
|
+
referencedColumns: ["id"];
|
|
7814
|
+
},
|
|
7815
|
+
{
|
|
7816
|
+
foreignKeyName: "cx_tool_call_conversation_id_fkey";
|
|
7817
|
+
columns: ["conversation_id"];
|
|
7818
|
+
isOneToOne: false;
|
|
7819
|
+
referencedRelation: "conversation";
|
|
7820
|
+
referencedColumns: ["id"];
|
|
7821
|
+
},
|
|
7822
|
+
{
|
|
7823
|
+
foreignKeyName: "cx_tool_call_conversation_id_fkey";
|
|
7824
|
+
columns: ["conversation_id"];
|
|
7825
|
+
isOneToOne: false;
|
|
7826
|
+
referencedRelation: "conversation_summary";
|
|
7827
|
+
referencedColumns: ["id"];
|
|
7828
|
+
}
|
|
7829
|
+
];
|
|
7830
|
+
};
|
|
7831
|
+
vw_tool_refetch: {
|
|
7832
|
+
Row: {
|
|
7833
|
+
arguments: Json | null;
|
|
7834
|
+
conversation_id: string | null;
|
|
7835
|
+
first_at: string | null;
|
|
7836
|
+
first_call_id: string | null;
|
|
7837
|
+
first_iteration: number | null;
|
|
7838
|
+
first_output_chars: number | null;
|
|
7839
|
+
first_result_trimmed_before_repeat: boolean | null;
|
|
7840
|
+
first_tool_call_id: string | null;
|
|
7841
|
+
gap_calls: number | null;
|
|
7842
|
+
gap_iterations: number | null;
|
|
7843
|
+
gap_secs: number | null;
|
|
7844
|
+
prior_identical_calls: number | null;
|
|
7845
|
+
repeat_at: string | null;
|
|
7846
|
+
repeat_call_id: string | null;
|
|
7847
|
+
repeat_iteration: number | null;
|
|
7848
|
+
repeat_output_chars: number | null;
|
|
7849
|
+
repeat_tool_call_id: string | null;
|
|
7850
|
+
same_data: boolean | null;
|
|
7776
7851
|
tool_name: string | null;
|
|
7777
7852
|
};
|
|
7778
7853
|
Relationships: [
|
|
@@ -7925,6 +8000,12 @@ export type FilesDatabase = {
|
|
|
7925
8000
|
template_version: number;
|
|
7926
8001
|
}[];
|
|
7927
8002
|
};
|
|
8003
|
+
coding_projects_of: {
|
|
8004
|
+
Args: {
|
|
8005
|
+
p_user: string;
|
|
8006
|
+
};
|
|
8007
|
+
Returns: Json;
|
|
8008
|
+
};
|
|
7928
8009
|
conversation_lane: {
|
|
7929
8010
|
Args: {
|
|
7930
8011
|
conversation_type: string;
|
|
@@ -7973,6 +8054,14 @@ export type FilesDatabase = {
|
|
|
7973
8054
|
};
|
|
7974
8055
|
Returns: unknown;
|
|
7975
8056
|
};
|
|
8057
|
+
move_coding_conversations_to_organization: {
|
|
8058
|
+
Args: {
|
|
8059
|
+
p_conversation_ids: Json;
|
|
8060
|
+
p_target: string;
|
|
8061
|
+
p_user: string;
|
|
8062
|
+
};
|
|
8063
|
+
Returns: Json;
|
|
8064
|
+
};
|
|
7976
8065
|
recompute_user_request_totals: {
|
|
7977
8066
|
Args: {
|
|
7978
8067
|
p_id?: string;
|
|
@@ -8009,73 +8098,8 @@ export type FilesDatabase = {
|
|
|
8009
8098
|
[_ in never]: never;
|
|
8010
8099
|
};
|
|
8011
8100
|
};
|
|
8012
|
-
|
|
8101
|
+
deprecated: {
|
|
8013
8102
|
Tables: {
|
|
8014
|
-
context_access_log: {
|
|
8015
|
-
Row: {
|
|
8016
|
-
accessed_at: string;
|
|
8017
|
-
agent_id: string | null;
|
|
8018
|
-
app_source: string | null;
|
|
8019
|
-
char_count_served: number | null;
|
|
8020
|
-
context_item_id: string;
|
|
8021
|
-
created_at: string;
|
|
8022
|
-
fetch_reason: string | null;
|
|
8023
|
-
id: string;
|
|
8024
|
-
latency_ms: number | null;
|
|
8025
|
-
metadata: Json;
|
|
8026
|
-
organization_id: string;
|
|
8027
|
-
request_id: string | null;
|
|
8028
|
-
user_id: string | null;
|
|
8029
|
-
value_id: string | null;
|
|
8030
|
-
value_version: number | null;
|
|
8031
|
-
was_useful: boolean | null;
|
|
8032
|
-
};
|
|
8033
|
-
Insert: {
|
|
8034
|
-
accessed_at?: string;
|
|
8035
|
-
agent_id?: string | null;
|
|
8036
|
-
app_source?: string | null;
|
|
8037
|
-
char_count_served?: number | null;
|
|
8038
|
-
context_item_id: string;
|
|
8039
|
-
created_at?: string;
|
|
8040
|
-
fetch_reason?: string | null;
|
|
8041
|
-
id?: string;
|
|
8042
|
-
latency_ms?: number | null;
|
|
8043
|
-
metadata?: Json;
|
|
8044
|
-
organization_id: string;
|
|
8045
|
-
request_id?: string | null;
|
|
8046
|
-
user_id?: string | null;
|
|
8047
|
-
value_id?: string | null;
|
|
8048
|
-
value_version?: number | null;
|
|
8049
|
-
was_useful?: boolean | null;
|
|
8050
|
-
};
|
|
8051
|
-
Update: {
|
|
8052
|
-
accessed_at?: string;
|
|
8053
|
-
agent_id?: string | null;
|
|
8054
|
-
app_source?: string | null;
|
|
8055
|
-
char_count_served?: number | null;
|
|
8056
|
-
context_item_id?: string;
|
|
8057
|
-
created_at?: string;
|
|
8058
|
-
fetch_reason?: string | null;
|
|
8059
|
-
id?: string;
|
|
8060
|
-
latency_ms?: number | null;
|
|
8061
|
-
metadata?: Json;
|
|
8062
|
-
organization_id?: string;
|
|
8063
|
-
request_id?: string | null;
|
|
8064
|
-
user_id?: string | null;
|
|
8065
|
-
value_id?: string | null;
|
|
8066
|
-
value_version?: number | null;
|
|
8067
|
-
was_useful?: boolean | null;
|
|
8068
|
-
};
|
|
8069
|
-
Relationships: [
|
|
8070
|
-
{
|
|
8071
|
-
foreignKeyName: "context_access_log_value_id_fkey";
|
|
8072
|
-
columns: ["value_id"];
|
|
8073
|
-
isOneToOne: false;
|
|
8074
|
-
referencedRelation: "context_item_values";
|
|
8075
|
-
referencedColumns: ["id"];
|
|
8076
|
-
}
|
|
8077
|
-
];
|
|
8078
|
-
};
|
|
8079
8103
|
context_item_values: {
|
|
8080
8104
|
Row: {
|
|
8081
8105
|
authored_by: string | null;
|
|
@@ -8088,6 +8112,7 @@ export type FilesDatabase = {
|
|
|
8088
8112
|
has_nested_objects: boolean;
|
|
8089
8113
|
id: string;
|
|
8090
8114
|
is_current: boolean;
|
|
8115
|
+
metadata: Json;
|
|
8091
8116
|
organization_id: string;
|
|
8092
8117
|
scope_id: string;
|
|
8093
8118
|
source_type: Database["public"]["Enums"]["context_source_type"];
|
|
@@ -8115,6 +8140,7 @@ export type FilesDatabase = {
|
|
|
8115
8140
|
has_nested_objects?: boolean;
|
|
8116
8141
|
id?: string;
|
|
8117
8142
|
is_current?: boolean;
|
|
8143
|
+
metadata?: Json;
|
|
8118
8144
|
organization_id: string;
|
|
8119
8145
|
scope_id: string;
|
|
8120
8146
|
source_type?: Database["public"]["Enums"]["context_source_type"];
|
|
@@ -8142,6 +8168,7 @@ export type FilesDatabase = {
|
|
|
8142
8168
|
has_nested_objects?: boolean;
|
|
8143
8169
|
id?: string;
|
|
8144
8170
|
is_current?: boolean;
|
|
8171
|
+
metadata?: Json;
|
|
8145
8172
|
organization_id?: string;
|
|
8146
8173
|
scope_id?: string;
|
|
8147
8174
|
source_type?: Database["public"]["Enums"]["context_source_type"];
|
|
@@ -8344,541 +8371,1283 @@ export type FilesDatabase = {
|
|
|
8344
8371
|
}
|
|
8345
8372
|
];
|
|
8346
8373
|
};
|
|
8347
|
-
|
|
8374
|
+
custom_entity_definition: {
|
|
8348
8375
|
Row: {
|
|
8349
|
-
|
|
8376
|
+
ai_exposure: string;
|
|
8377
|
+
allow_record_sharing: boolean;
|
|
8378
|
+
archived_at: string | null;
|
|
8379
|
+
color: string | null;
|
|
8350
8380
|
created_at: string;
|
|
8351
8381
|
created_by: string | null;
|
|
8352
8382
|
custom_fields: Json;
|
|
8353
|
-
|
|
8383
|
+
deleted_at: string | null;
|
|
8384
|
+
description: string | null;
|
|
8385
|
+
icon: string | null;
|
|
8354
8386
|
id: string;
|
|
8387
|
+
is_searchable: boolean;
|
|
8388
|
+
max_fields: number | null;
|
|
8389
|
+
max_records: number | null;
|
|
8355
8390
|
metadata: Json;
|
|
8391
|
+
name: string;
|
|
8392
|
+
name_plural: string;
|
|
8356
8393
|
organization_id: string;
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8394
|
+
published_to_web: boolean;
|
|
8395
|
+
published_to_web_at: string | null;
|
|
8396
|
+
published_to_web_by: string | null;
|
|
8397
|
+
record_name_backfill_done: number;
|
|
8398
|
+
record_name_backfill_error: string | null;
|
|
8399
|
+
record_name_backfill_state: string;
|
|
8400
|
+
record_name_template: string | null;
|
|
8401
|
+
sensitivity_tier: string;
|
|
8402
|
+
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
8403
|
+
slug: string;
|
|
8404
|
+
updated_at: string;
|
|
8405
|
+
updated_by: string | null;
|
|
8406
|
+
validation_mode: string;
|
|
8407
|
+
version: number;
|
|
8408
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
8360
8409
|
};
|
|
8361
8410
|
Insert: {
|
|
8362
|
-
|
|
8411
|
+
ai_exposure?: string;
|
|
8412
|
+
allow_record_sharing?: boolean;
|
|
8413
|
+
archived_at?: string | null;
|
|
8414
|
+
color?: string | null;
|
|
8363
8415
|
created_at?: string;
|
|
8364
8416
|
created_by?: string | null;
|
|
8365
8417
|
custom_fields?: Json;
|
|
8366
|
-
|
|
8418
|
+
deleted_at?: string | null;
|
|
8419
|
+
description?: string | null;
|
|
8420
|
+
icon?: string | null;
|
|
8367
8421
|
id?: string;
|
|
8422
|
+
is_searchable?: boolean;
|
|
8423
|
+
max_fields?: number | null;
|
|
8424
|
+
max_records?: number | null;
|
|
8368
8425
|
metadata?: Json;
|
|
8426
|
+
name: string;
|
|
8427
|
+
name_plural: string;
|
|
8369
8428
|
organization_id: string;
|
|
8370
|
-
|
|
8371
|
-
|
|
8372
|
-
|
|
8429
|
+
published_to_web?: boolean;
|
|
8430
|
+
published_to_web_at?: string | null;
|
|
8431
|
+
published_to_web_by?: string | null;
|
|
8432
|
+
record_name_backfill_done?: number;
|
|
8433
|
+
record_name_backfill_error?: string | null;
|
|
8434
|
+
record_name_backfill_state?: string;
|
|
8435
|
+
record_name_template?: string | null;
|
|
8436
|
+
sensitivity_tier?: string;
|
|
8437
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
8438
|
+
slug: string;
|
|
8439
|
+
updated_at?: string;
|
|
8440
|
+
updated_by?: string | null;
|
|
8441
|
+
validation_mode?: string;
|
|
8442
|
+
version?: number;
|
|
8443
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8373
8444
|
};
|
|
8374
8445
|
Update: {
|
|
8375
|
-
|
|
8446
|
+
ai_exposure?: string;
|
|
8447
|
+
allow_record_sharing?: boolean;
|
|
8448
|
+
archived_at?: string | null;
|
|
8449
|
+
color?: string | null;
|
|
8376
8450
|
created_at?: string;
|
|
8377
8451
|
created_by?: string | null;
|
|
8378
8452
|
custom_fields?: Json;
|
|
8379
|
-
|
|
8453
|
+
deleted_at?: string | null;
|
|
8454
|
+
description?: string | null;
|
|
8455
|
+
icon?: string | null;
|
|
8380
8456
|
id?: string;
|
|
8457
|
+
is_searchable?: boolean;
|
|
8458
|
+
max_fields?: number | null;
|
|
8459
|
+
max_records?: number | null;
|
|
8381
8460
|
metadata?: Json;
|
|
8461
|
+
name?: string;
|
|
8462
|
+
name_plural?: string;
|
|
8382
8463
|
organization_id?: string;
|
|
8383
|
-
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
|
|
8398
|
-
function_name: string;
|
|
8399
|
-
reason: string;
|
|
8400
|
-
reviewed_at?: string;
|
|
8401
|
-
};
|
|
8402
|
-
Update: {
|
|
8403
|
-
door_class?: string;
|
|
8404
|
-
function_name?: string;
|
|
8405
|
-
reason?: string;
|
|
8406
|
-
reviewed_at?: string;
|
|
8464
|
+
published_to_web?: boolean;
|
|
8465
|
+
published_to_web_at?: string | null;
|
|
8466
|
+
published_to_web_by?: string | null;
|
|
8467
|
+
record_name_backfill_done?: number;
|
|
8468
|
+
record_name_backfill_error?: string | null;
|
|
8469
|
+
record_name_backfill_state?: string;
|
|
8470
|
+
record_name_template?: string | null;
|
|
8471
|
+
sensitivity_tier?: string;
|
|
8472
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
8473
|
+
slug?: string;
|
|
8474
|
+
updated_at?: string;
|
|
8475
|
+
updated_by?: string | null;
|
|
8476
|
+
validation_mode?: string;
|
|
8477
|
+
version?: number;
|
|
8478
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8407
8479
|
};
|
|
8408
8480
|
Relationships: [];
|
|
8409
8481
|
};
|
|
8410
|
-
|
|
8482
|
+
custom_record: {
|
|
8411
8483
|
Row: {
|
|
8412
|
-
color: string;
|
|
8413
8484
|
created_at: string;
|
|
8414
8485
|
created_by: string | null;
|
|
8415
8486
|
custom_fields: Json;
|
|
8416
|
-
|
|
8487
|
+
data: Json;
|
|
8417
8488
|
deleted_at: string | null;
|
|
8418
|
-
|
|
8419
|
-
|
|
8489
|
+
entity_definition_id: string;
|
|
8490
|
+
external_key: string | null;
|
|
8420
8491
|
id: string;
|
|
8421
|
-
label_plural: string;
|
|
8422
|
-
label_singular: string;
|
|
8423
|
-
max_assignments_per_entity: number | null;
|
|
8424
8492
|
metadata: Json;
|
|
8425
8493
|
organization_id: string;
|
|
8426
|
-
|
|
8427
|
-
|
|
8428
|
-
sort_order: number;
|
|
8494
|
+
record_name: string | null;
|
|
8495
|
+
search_vector: unknown;
|
|
8429
8496
|
updated_at: string;
|
|
8430
8497
|
updated_by: string | null;
|
|
8431
8498
|
version: number;
|
|
8432
8499
|
};
|
|
8433
8500
|
Insert: {
|
|
8434
|
-
color?: string;
|
|
8435
8501
|
created_at?: string;
|
|
8436
8502
|
created_by?: string | null;
|
|
8437
8503
|
custom_fields?: Json;
|
|
8438
|
-
|
|
8504
|
+
data?: Json;
|
|
8439
8505
|
deleted_at?: string | null;
|
|
8440
|
-
|
|
8441
|
-
|
|
8506
|
+
entity_definition_id: string;
|
|
8507
|
+
external_key?: string | null;
|
|
8442
8508
|
id?: string;
|
|
8443
|
-
label_plural: string;
|
|
8444
|
-
label_singular: string;
|
|
8445
|
-
max_assignments_per_entity?: number | null;
|
|
8446
8509
|
metadata?: Json;
|
|
8447
8510
|
organization_id: string;
|
|
8448
|
-
|
|
8449
|
-
|
|
8450
|
-
sort_order?: number;
|
|
8511
|
+
record_name?: string | null;
|
|
8512
|
+
search_vector?: unknown;
|
|
8451
8513
|
updated_at?: string;
|
|
8452
8514
|
updated_by?: string | null;
|
|
8453
8515
|
version?: number;
|
|
8454
8516
|
};
|
|
8455
8517
|
Update: {
|
|
8456
|
-
color?: string;
|
|
8457
8518
|
created_at?: string;
|
|
8458
8519
|
created_by?: string | null;
|
|
8459
8520
|
custom_fields?: Json;
|
|
8460
|
-
|
|
8521
|
+
data?: Json;
|
|
8461
8522
|
deleted_at?: string | null;
|
|
8462
|
-
|
|
8463
|
-
|
|
8523
|
+
entity_definition_id?: string;
|
|
8524
|
+
external_key?: string | null;
|
|
8464
8525
|
id?: string;
|
|
8465
|
-
label_plural?: string;
|
|
8466
|
-
label_singular?: string;
|
|
8467
|
-
max_assignments_per_entity?: number | null;
|
|
8468
8526
|
metadata?: Json;
|
|
8469
8527
|
organization_id?: string;
|
|
8470
|
-
|
|
8471
|
-
|
|
8472
|
-
sort_order?: number;
|
|
8528
|
+
record_name?: string | null;
|
|
8529
|
+
search_vector?: unknown;
|
|
8473
8530
|
updated_at?: string;
|
|
8474
8531
|
updated_by?: string | null;
|
|
8475
8532
|
version?: number;
|
|
8476
8533
|
};
|
|
8477
8534
|
Relationships: [
|
|
8478
8535
|
{
|
|
8479
|
-
foreignKeyName: "
|
|
8480
|
-
columns: ["
|
|
8536
|
+
foreignKeyName: "custom_record_entity_definition_id_fkey";
|
|
8537
|
+
columns: ["entity_definition_id"];
|
|
8481
8538
|
isOneToOne: false;
|
|
8482
|
-
referencedRelation: "
|
|
8539
|
+
referencedRelation: "custom_entity_definition";
|
|
8483
8540
|
referencedColumns: ["id"];
|
|
8484
8541
|
}
|
|
8485
8542
|
];
|
|
8486
8543
|
};
|
|
8487
|
-
|
|
8544
|
+
flexible_data: {
|
|
8488
8545
|
Row: {
|
|
8546
|
+
category_id: string | null;
|
|
8489
8547
|
created_at: string;
|
|
8490
8548
|
created_by: string | null;
|
|
8491
8549
|
custom_fields: Json;
|
|
8550
|
+
data: Json;
|
|
8492
8551
|
deleted_at: string | null;
|
|
8493
|
-
description: string;
|
|
8494
8552
|
id: string;
|
|
8553
|
+
label: string;
|
|
8495
8554
|
metadata: Json;
|
|
8496
|
-
name: string;
|
|
8497
8555
|
organization_id: string;
|
|
8498
|
-
parent_scope_id: string | null;
|
|
8499
8556
|
published_to_web: boolean;
|
|
8500
8557
|
published_to_web_at: string | null;
|
|
8501
8558
|
published_to_web_by: string | null;
|
|
8502
|
-
scope_type_id: string;
|
|
8503
|
-
settings: Json;
|
|
8504
8559
|
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
8505
|
-
slug: string;
|
|
8506
|
-
sort_order: number;
|
|
8560
|
+
slug: string | null;
|
|
8507
8561
|
updated_at: string;
|
|
8508
8562
|
updated_by: string | null;
|
|
8509
8563
|
version: number;
|
|
8510
8564
|
visibility: Database["platform"]["Enums"]["visibility"];
|
|
8511
8565
|
};
|
|
8512
8566
|
Insert: {
|
|
8567
|
+
category_id?: string | null;
|
|
8513
8568
|
created_at?: string;
|
|
8514
8569
|
created_by?: string | null;
|
|
8515
8570
|
custom_fields?: Json;
|
|
8571
|
+
data?: Json;
|
|
8516
8572
|
deleted_at?: string | null;
|
|
8517
|
-
description?: string;
|
|
8518
8573
|
id?: string;
|
|
8574
|
+
label: string;
|
|
8519
8575
|
metadata?: Json;
|
|
8520
|
-
name: string;
|
|
8521
8576
|
organization_id: string;
|
|
8522
|
-
parent_scope_id?: string | null;
|
|
8523
8577
|
published_to_web?: boolean;
|
|
8524
8578
|
published_to_web_at?: string | null;
|
|
8525
8579
|
published_to_web_by?: string | null;
|
|
8526
|
-
scope_type_id: string;
|
|
8527
|
-
settings?: Json;
|
|
8528
8580
|
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
8529
|
-
slug
|
|
8530
|
-
sort_order?: number;
|
|
8581
|
+
slug?: string | null;
|
|
8531
8582
|
updated_at?: string;
|
|
8532
8583
|
updated_by?: string | null;
|
|
8533
8584
|
version?: number;
|
|
8534
8585
|
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8535
8586
|
};
|
|
8536
8587
|
Update: {
|
|
8588
|
+
category_id?: string | null;
|
|
8537
8589
|
created_at?: string;
|
|
8538
8590
|
created_by?: string | null;
|
|
8539
8591
|
custom_fields?: Json;
|
|
8592
|
+
data?: Json;
|
|
8540
8593
|
deleted_at?: string | null;
|
|
8541
|
-
description?: string;
|
|
8542
8594
|
id?: string;
|
|
8595
|
+
label?: string;
|
|
8543
8596
|
metadata?: Json;
|
|
8544
|
-
name?: string;
|
|
8545
8597
|
organization_id?: string;
|
|
8546
|
-
parent_scope_id?: string | null;
|
|
8547
8598
|
published_to_web?: boolean;
|
|
8548
8599
|
published_to_web_at?: string | null;
|
|
8549
8600
|
published_to_web_by?: string | null;
|
|
8550
|
-
scope_type_id?: string;
|
|
8551
|
-
settings?: Json;
|
|
8552
8601
|
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
8553
|
-
slug?: string;
|
|
8554
|
-
sort_order?: number;
|
|
8602
|
+
slug?: string | null;
|
|
8555
8603
|
updated_at?: string;
|
|
8556
8604
|
updated_by?: string | null;
|
|
8557
8605
|
version?: number;
|
|
8558
8606
|
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8559
8607
|
};
|
|
8560
|
-
Relationships: [
|
|
8561
|
-
{
|
|
8562
|
-
foreignKeyName: "ctx_scopes_parent_scope_id_fkey";
|
|
8563
|
-
columns: ["parent_scope_id"];
|
|
8564
|
-
isOneToOne: false;
|
|
8565
|
-
referencedRelation: "scopes";
|
|
8566
|
-
referencedColumns: ["id"];
|
|
8567
|
-
},
|
|
8568
|
-
{
|
|
8569
|
-
foreignKeyName: "ctx_scopes_scope_type_id_fkey";
|
|
8570
|
-
columns: ["scope_type_id"];
|
|
8571
|
-
isOneToOne: false;
|
|
8572
|
-
referencedRelation: "scope_types";
|
|
8573
|
-
referencedColumns: ["id"];
|
|
8574
|
-
}
|
|
8575
|
-
];
|
|
8608
|
+
Relationships: [];
|
|
8576
8609
|
};
|
|
8577
|
-
|
|
8610
|
+
pb_claim_appeals_fd31de: {
|
|
8578
8611
|
Row: {
|
|
8612
|
+
claim_id: string;
|
|
8579
8613
|
created_at: string;
|
|
8580
8614
|
created_by: string | null;
|
|
8615
|
+
custom_fields: Json;
|
|
8581
8616
|
deleted_at: string | null;
|
|
8582
|
-
|
|
8583
|
-
display_name: string;
|
|
8584
|
-
feed_config: Json;
|
|
8585
|
-
feed_error: string | null;
|
|
8586
|
-
feed_status: string | null;
|
|
8587
|
-
feed_type: Database["public"]["Enums"]["context_feed_type"];
|
|
8617
|
+
filed_on: string | null;
|
|
8588
8618
|
id: string;
|
|
8589
|
-
is_active: boolean;
|
|
8590
|
-
item_class: string;
|
|
8591
|
-
key: string;
|
|
8592
|
-
last_fed_at: string | null;
|
|
8593
8619
|
metadata: Json;
|
|
8594
8620
|
organization_id: string;
|
|
8595
8621
|
published_to_web: boolean;
|
|
8596
8622
|
published_to_web_at: string | null;
|
|
8597
8623
|
published_to_web_by: string | null;
|
|
8598
|
-
|
|
8599
|
-
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
8600
|
-
sort_order: number;
|
|
8624
|
+
reason: string;
|
|
8601
8625
|
updated_at: string;
|
|
8602
8626
|
updated_by: string | null;
|
|
8603
|
-
value: Json | null;
|
|
8604
|
-
value_type: Database["public"]["Enums"]["context_value_type"];
|
|
8605
8627
|
version: number;
|
|
8606
8628
|
visibility: Database["platform"]["Enums"]["visibility"];
|
|
8607
8629
|
};
|
|
8608
8630
|
Insert: {
|
|
8631
|
+
claim_id: string;
|
|
8609
8632
|
created_at?: string;
|
|
8610
8633
|
created_by?: string | null;
|
|
8634
|
+
custom_fields?: Json;
|
|
8611
8635
|
deleted_at?: string | null;
|
|
8612
|
-
|
|
8613
|
-
display_name: string;
|
|
8614
|
-
feed_config?: Json;
|
|
8615
|
-
feed_error?: string | null;
|
|
8616
|
-
feed_status?: string | null;
|
|
8617
|
-
feed_type?: Database["public"]["Enums"]["context_feed_type"];
|
|
8636
|
+
filed_on?: string | null;
|
|
8618
8637
|
id?: string;
|
|
8619
|
-
is_active?: boolean;
|
|
8620
|
-
item_class?: string;
|
|
8621
|
-
key: string;
|
|
8622
|
-
last_fed_at?: string | null;
|
|
8623
8638
|
metadata?: Json;
|
|
8624
8639
|
organization_id: string;
|
|
8625
8640
|
published_to_web?: boolean;
|
|
8626
8641
|
published_to_web_at?: string | null;
|
|
8627
8642
|
published_to_web_by?: string | null;
|
|
8628
|
-
|
|
8629
|
-
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
8630
|
-
sort_order?: number;
|
|
8643
|
+
reason: string;
|
|
8631
8644
|
updated_at?: string;
|
|
8632
8645
|
updated_by?: string | null;
|
|
8633
|
-
value?: Json | null;
|
|
8634
|
-
value_type?: Database["public"]["Enums"]["context_value_type"];
|
|
8635
8646
|
version?: number;
|
|
8636
8647
|
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8637
8648
|
};
|
|
8638
8649
|
Update: {
|
|
8650
|
+
claim_id?: string;
|
|
8639
8651
|
created_at?: string;
|
|
8640
8652
|
created_by?: string | null;
|
|
8653
|
+
custom_fields?: Json;
|
|
8641
8654
|
deleted_at?: string | null;
|
|
8642
|
-
|
|
8643
|
-
display_name?: string;
|
|
8644
|
-
feed_config?: Json;
|
|
8645
|
-
feed_error?: string | null;
|
|
8646
|
-
feed_status?: string | null;
|
|
8647
|
-
feed_type?: Database["public"]["Enums"]["context_feed_type"];
|
|
8655
|
+
filed_on?: string | null;
|
|
8648
8656
|
id?: string;
|
|
8649
|
-
is_active?: boolean;
|
|
8650
|
-
item_class?: string;
|
|
8651
|
-
key?: string;
|
|
8652
|
-
last_fed_at?: string | null;
|
|
8653
8657
|
metadata?: Json;
|
|
8654
8658
|
organization_id?: string;
|
|
8655
8659
|
published_to_web?: boolean;
|
|
8656
8660
|
published_to_web_at?: string | null;
|
|
8657
8661
|
published_to_web_by?: string | null;
|
|
8658
|
-
|
|
8659
|
-
|
|
8660
|
-
|
|
8662
|
+
reason?: string;
|
|
8663
|
+
updated_at?: string;
|
|
8664
|
+
updated_by?: string | null;
|
|
8665
|
+
version?: number;
|
|
8666
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8667
|
+
};
|
|
8668
|
+
Relationships: [];
|
|
8669
|
+
};
|
|
8670
|
+
pb_insurance_claims_fd31de: {
|
|
8671
|
+
Row: {
|
|
8672
|
+
billed_cents: number | null;
|
|
8673
|
+
carrier: string;
|
|
8674
|
+
created_at: string;
|
|
8675
|
+
created_by: string | null;
|
|
8676
|
+
custom_fields: Json;
|
|
8677
|
+
deleted_at: string | null;
|
|
8678
|
+
id: string;
|
|
8679
|
+
metadata: Json;
|
|
8680
|
+
organization_id: string;
|
|
8681
|
+
published_to_web: boolean;
|
|
8682
|
+
published_to_web_at: string | null;
|
|
8683
|
+
published_to_web_by: string | null;
|
|
8684
|
+
status: string | null;
|
|
8685
|
+
updated_at: string;
|
|
8686
|
+
updated_by: string | null;
|
|
8687
|
+
version: number;
|
|
8688
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
8689
|
+
};
|
|
8690
|
+
Insert: {
|
|
8691
|
+
billed_cents?: number | null;
|
|
8692
|
+
carrier: string;
|
|
8693
|
+
created_at?: string;
|
|
8694
|
+
created_by?: string | null;
|
|
8695
|
+
custom_fields?: Json;
|
|
8696
|
+
deleted_at?: string | null;
|
|
8697
|
+
id?: string;
|
|
8698
|
+
metadata?: Json;
|
|
8699
|
+
organization_id: string;
|
|
8700
|
+
published_to_web?: boolean;
|
|
8701
|
+
published_to_web_at?: string | null;
|
|
8702
|
+
published_to_web_by?: string | null;
|
|
8703
|
+
status?: string | null;
|
|
8704
|
+
updated_at?: string;
|
|
8705
|
+
updated_by?: string | null;
|
|
8706
|
+
version?: number;
|
|
8707
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8708
|
+
};
|
|
8709
|
+
Update: {
|
|
8710
|
+
billed_cents?: number | null;
|
|
8711
|
+
carrier?: string;
|
|
8712
|
+
created_at?: string;
|
|
8713
|
+
created_by?: string | null;
|
|
8714
|
+
custom_fields?: Json;
|
|
8715
|
+
deleted_at?: string | null;
|
|
8716
|
+
id?: string;
|
|
8717
|
+
metadata?: Json;
|
|
8718
|
+
organization_id?: string;
|
|
8719
|
+
published_to_web?: boolean;
|
|
8720
|
+
published_to_web_at?: string | null;
|
|
8721
|
+
published_to_web_by?: string | null;
|
|
8722
|
+
status?: string | null;
|
|
8661
8723
|
updated_at?: string;
|
|
8662
8724
|
updated_by?: string | null;
|
|
8663
|
-
value?: Json | null;
|
|
8664
|
-
value_type?: Database["public"]["Enums"]["context_value_type"];
|
|
8665
8725
|
version?: number;
|
|
8666
8726
|
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8667
8727
|
};
|
|
8668
8728
|
Relationships: [];
|
|
8669
8729
|
};
|
|
8670
|
-
|
|
8730
|
+
provlock_recall_visits_all8u5: {
|
|
8671
8731
|
Row: {
|
|
8732
|
+
booked: boolean | null;
|
|
8672
8733
|
created_at: string;
|
|
8734
|
+
created_by: string | null;
|
|
8735
|
+
custom_fields: Json;
|
|
8736
|
+
deleted_at: string | null;
|
|
8737
|
+
due_on: string | null;
|
|
8738
|
+
id: string;
|
|
8739
|
+
metadata: Json;
|
|
8740
|
+
organization_id: string;
|
|
8741
|
+
patient_ref: string;
|
|
8742
|
+
published_to_web: boolean;
|
|
8743
|
+
published_to_web_at: string | null;
|
|
8744
|
+
published_to_web_by: string | null;
|
|
8745
|
+
updated_at: string;
|
|
8746
|
+
updated_by: string | null;
|
|
8747
|
+
version: number;
|
|
8748
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
8749
|
+
};
|
|
8750
|
+
Insert: {
|
|
8751
|
+
booked?: boolean | null;
|
|
8752
|
+
created_at?: string;
|
|
8753
|
+
created_by?: string | null;
|
|
8754
|
+
custom_fields?: Json;
|
|
8755
|
+
deleted_at?: string | null;
|
|
8756
|
+
due_on?: string | null;
|
|
8757
|
+
id?: string;
|
|
8758
|
+
metadata?: Json;
|
|
8759
|
+
organization_id: string;
|
|
8760
|
+
patient_ref: string;
|
|
8761
|
+
published_to_web?: boolean;
|
|
8762
|
+
published_to_web_at?: string | null;
|
|
8763
|
+
published_to_web_by?: string | null;
|
|
8764
|
+
updated_at?: string;
|
|
8765
|
+
updated_by?: string | null;
|
|
8766
|
+
version?: number;
|
|
8767
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8768
|
+
};
|
|
8769
|
+
Update: {
|
|
8770
|
+
booked?: boolean | null;
|
|
8771
|
+
created_at?: string;
|
|
8772
|
+
created_by?: string | null;
|
|
8773
|
+
custom_fields?: Json;
|
|
8774
|
+
deleted_at?: string | null;
|
|
8775
|
+
due_on?: string | null;
|
|
8776
|
+
id?: string;
|
|
8777
|
+
metadata?: Json;
|
|
8778
|
+
organization_id?: string;
|
|
8779
|
+
patient_ref?: string;
|
|
8780
|
+
published_to_web?: boolean;
|
|
8781
|
+
published_to_web_at?: string | null;
|
|
8782
|
+
published_to_web_by?: string | null;
|
|
8783
|
+
updated_at?: string;
|
|
8784
|
+
updated_by?: string | null;
|
|
8785
|
+
version?: number;
|
|
8786
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8787
|
+
};
|
|
8788
|
+
Relationships: [];
|
|
8789
|
+
};
|
|
8790
|
+
rag_library_docs_bodies: {
|
|
8791
|
+
Row: {
|
|
8792
|
+
archived_at: string | null;
|
|
8793
|
+
body: string | null;
|
|
8794
|
+
body_hash: string | null;
|
|
8795
|
+
id: string;
|
|
8796
|
+
processed_document_id: string | null;
|
|
8797
|
+
title: string | null;
|
|
8798
|
+
};
|
|
8799
|
+
Insert: {
|
|
8800
|
+
archived_at?: string | null;
|
|
8801
|
+
body?: string | null;
|
|
8802
|
+
body_hash?: string | null;
|
|
8803
|
+
id: string;
|
|
8804
|
+
processed_document_id?: string | null;
|
|
8805
|
+
title?: string | null;
|
|
8806
|
+
};
|
|
8807
|
+
Update: {
|
|
8808
|
+
archived_at?: string | null;
|
|
8809
|
+
body?: string | null;
|
|
8810
|
+
body_hash?: string | null;
|
|
8811
|
+
id?: string;
|
|
8812
|
+
processed_document_id?: string | null;
|
|
8813
|
+
title?: string | null;
|
|
8814
|
+
};
|
|
8815
|
+
Relationships: [];
|
|
8816
|
+
};
|
|
8817
|
+
research_rs_content_bodies: {
|
|
8818
|
+
Row: {
|
|
8819
|
+
archived_at: string;
|
|
8820
|
+
content: string;
|
|
8821
|
+
content_hash: string | null;
|
|
8822
|
+
content_type: string | null;
|
|
8823
|
+
id: string;
|
|
8824
|
+
is_current: boolean | null;
|
|
8825
|
+
processed_document_id: string;
|
|
8826
|
+
source_id: string | null;
|
|
8827
|
+
topic_id: string | null;
|
|
8828
|
+
};
|
|
8829
|
+
Insert: {
|
|
8830
|
+
archived_at?: string;
|
|
8831
|
+
content: string;
|
|
8832
|
+
content_hash?: string | null;
|
|
8833
|
+
content_type?: string | null;
|
|
8834
|
+
id: string;
|
|
8835
|
+
is_current?: boolean | null;
|
|
8836
|
+
processed_document_id: string;
|
|
8837
|
+
source_id?: string | null;
|
|
8838
|
+
topic_id?: string | null;
|
|
8839
|
+
};
|
|
8840
|
+
Update: {
|
|
8841
|
+
archived_at?: string;
|
|
8842
|
+
content?: string;
|
|
8843
|
+
content_hash?: string | null;
|
|
8844
|
+
content_type?: string | null;
|
|
8845
|
+
id?: string;
|
|
8846
|
+
is_current?: boolean | null;
|
|
8847
|
+
processed_document_id?: string;
|
|
8848
|
+
source_id?: string | null;
|
|
8849
|
+
topic_id?: string | null;
|
|
8850
|
+
};
|
|
8851
|
+
Relationships: [];
|
|
8852
|
+
};
|
|
8853
|
+
scope_dataset_instances: {
|
|
8854
|
+
Row: {
|
|
8855
|
+
context_item_id: string;
|
|
8856
|
+
created_at: string;
|
|
8857
|
+
created_by: string | null;
|
|
8858
|
+
custom_fields: Json;
|
|
8859
|
+
dataset_id: string;
|
|
8860
|
+
id: string;
|
|
8861
|
+
metadata: Json;
|
|
8862
|
+
organization_id: string;
|
|
8863
|
+
scope_id: string;
|
|
8864
|
+
template_id: string;
|
|
8865
|
+
template_version: number;
|
|
8866
|
+
};
|
|
8867
|
+
Insert: {
|
|
8868
|
+
context_item_id: string;
|
|
8869
|
+
created_at?: string;
|
|
8870
|
+
created_by?: string | null;
|
|
8871
|
+
custom_fields?: Json;
|
|
8872
|
+
dataset_id: string;
|
|
8873
|
+
id?: string;
|
|
8874
|
+
metadata?: Json;
|
|
8875
|
+
organization_id: string;
|
|
8876
|
+
scope_id: string;
|
|
8877
|
+
template_id: string;
|
|
8878
|
+
template_version: number;
|
|
8879
|
+
};
|
|
8880
|
+
Update: {
|
|
8881
|
+
context_item_id?: string;
|
|
8882
|
+
created_at?: string;
|
|
8883
|
+
created_by?: string | null;
|
|
8884
|
+
custom_fields?: Json;
|
|
8885
|
+
dataset_id?: string;
|
|
8886
|
+
id?: string;
|
|
8887
|
+
metadata?: Json;
|
|
8888
|
+
organization_id?: string;
|
|
8889
|
+
scope_id?: string;
|
|
8890
|
+
template_id?: string;
|
|
8891
|
+
template_version?: number;
|
|
8892
|
+
};
|
|
8893
|
+
Relationships: [
|
|
8894
|
+
{
|
|
8895
|
+
foreignKeyName: "scope_dataset_instances_dataset_id_fkey";
|
|
8896
|
+
columns: ["dataset_id"];
|
|
8897
|
+
isOneToOne: true;
|
|
8898
|
+
referencedRelation: "udt_datasets";
|
|
8899
|
+
referencedColumns: ["id"];
|
|
8900
|
+
}
|
|
8901
|
+
];
|
|
8902
|
+
};
|
|
8903
|
+
scope_types: {
|
|
8904
|
+
Row: {
|
|
8905
|
+
color: string;
|
|
8906
|
+
created_at: string;
|
|
8907
|
+
created_by: string | null;
|
|
8908
|
+
custom_fields: Json;
|
|
8909
|
+
default_variable_keys: string[];
|
|
8673
8910
|
deleted_at: string | null;
|
|
8674
8911
|
description: string;
|
|
8675
|
-
|
|
8912
|
+
icon: string;
|
|
8676
8913
|
id: string;
|
|
8677
|
-
|
|
8914
|
+
label_plural: string;
|
|
8915
|
+
label_singular: string;
|
|
8916
|
+
max_assignments_per_entity: number | null;
|
|
8678
8917
|
metadata: Json;
|
|
8918
|
+
organization_id: string;
|
|
8919
|
+
parent_type_id: string | null;
|
|
8920
|
+
slug: string;
|
|
8679
8921
|
sort_order: number;
|
|
8680
|
-
|
|
8681
|
-
|
|
8922
|
+
updated_at: string;
|
|
8923
|
+
updated_by: string | null;
|
|
8924
|
+
version: number;
|
|
8682
8925
|
};
|
|
8683
8926
|
Insert: {
|
|
8927
|
+
color?: string;
|
|
8684
8928
|
created_at?: string;
|
|
8929
|
+
created_by?: string | null;
|
|
8930
|
+
custom_fields?: Json;
|
|
8931
|
+
default_variable_keys?: string[];
|
|
8685
8932
|
deleted_at?: string | null;
|
|
8686
8933
|
description?: string;
|
|
8687
|
-
|
|
8934
|
+
icon?: string;
|
|
8688
8935
|
id?: string;
|
|
8689
|
-
|
|
8936
|
+
label_plural: string;
|
|
8937
|
+
label_singular: string;
|
|
8938
|
+
max_assignments_per_entity?: number | null;
|
|
8690
8939
|
metadata?: Json;
|
|
8940
|
+
organization_id: string;
|
|
8941
|
+
parent_type_id?: string | null;
|
|
8942
|
+
slug: string;
|
|
8691
8943
|
sort_order?: number;
|
|
8692
|
-
|
|
8693
|
-
|
|
8944
|
+
updated_at?: string;
|
|
8945
|
+
updated_by?: string | null;
|
|
8946
|
+
version?: number;
|
|
8694
8947
|
};
|
|
8695
8948
|
Update: {
|
|
8949
|
+
color?: string;
|
|
8696
8950
|
created_at?: string;
|
|
8951
|
+
created_by?: string | null;
|
|
8952
|
+
custom_fields?: Json;
|
|
8953
|
+
default_variable_keys?: string[];
|
|
8697
8954
|
deleted_at?: string | null;
|
|
8698
8955
|
description?: string;
|
|
8699
|
-
|
|
8956
|
+
icon?: string;
|
|
8700
8957
|
id?: string;
|
|
8701
|
-
|
|
8958
|
+
label_plural?: string;
|
|
8959
|
+
label_singular?: string;
|
|
8960
|
+
max_assignments_per_entity?: number | null;
|
|
8702
8961
|
metadata?: Json;
|
|
8962
|
+
organization_id?: string;
|
|
8963
|
+
parent_type_id?: string | null;
|
|
8964
|
+
slug?: string;
|
|
8703
8965
|
sort_order?: number;
|
|
8704
|
-
|
|
8705
|
-
|
|
8966
|
+
updated_at?: string;
|
|
8967
|
+
updated_by?: string | null;
|
|
8968
|
+
version?: number;
|
|
8706
8969
|
};
|
|
8707
8970
|
Relationships: [
|
|
8708
8971
|
{
|
|
8709
|
-
foreignKeyName: "
|
|
8710
|
-
columns: ["
|
|
8972
|
+
foreignKeyName: "ctx_scope_types_parent_type_id_fkey";
|
|
8973
|
+
columns: ["parent_type_id"];
|
|
8711
8974
|
isOneToOne: false;
|
|
8712
|
-
referencedRelation: "
|
|
8975
|
+
referencedRelation: "scope_types";
|
|
8713
8976
|
referencedColumns: ["id"];
|
|
8714
8977
|
}
|
|
8715
8978
|
];
|
|
8716
8979
|
};
|
|
8717
|
-
|
|
8980
|
+
scopes: {
|
|
8718
8981
|
Row: {
|
|
8719
8982
|
created_at: string;
|
|
8983
|
+
created_by: string | null;
|
|
8984
|
+
custom_fields: Json;
|
|
8720
8985
|
deleted_at: string | null;
|
|
8721
8986
|
description: string;
|
|
8722
|
-
icon: string;
|
|
8723
8987
|
id: string;
|
|
8724
|
-
key: string;
|
|
8725
|
-
label_plural: string;
|
|
8726
|
-
label_singular: string;
|
|
8727
|
-
max_assignments_per_entity: number | null;
|
|
8728
8988
|
metadata: Json;
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8989
|
+
name: string;
|
|
8990
|
+
organization_id: string;
|
|
8991
|
+
parent_scope_id: string | null;
|
|
8992
|
+
published_to_web: boolean;
|
|
8993
|
+
published_to_web_at: string | null;
|
|
8994
|
+
published_to_web_by: string | null;
|
|
8995
|
+
scope_type_id: string;
|
|
8996
|
+
settings: Json;
|
|
8997
|
+
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
8998
|
+
slug: string;
|
|
8999
|
+
sort_order: number;
|
|
9000
|
+
updated_at: string;
|
|
9001
|
+
updated_by: string | null;
|
|
9002
|
+
version: number;
|
|
9003
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
9004
|
+
};
|
|
9005
|
+
Insert: {
|
|
9006
|
+
created_at?: string;
|
|
9007
|
+
created_by?: string | null;
|
|
9008
|
+
custom_fields?: Json;
|
|
9009
|
+
deleted_at?: string | null;
|
|
9010
|
+
description?: string;
|
|
9011
|
+
id?: string;
|
|
9012
|
+
metadata?: Json;
|
|
9013
|
+
name: string;
|
|
9014
|
+
organization_id: string;
|
|
9015
|
+
parent_scope_id?: string | null;
|
|
9016
|
+
published_to_web?: boolean;
|
|
9017
|
+
published_to_web_at?: string | null;
|
|
9018
|
+
published_to_web_by?: string | null;
|
|
9019
|
+
scope_type_id: string;
|
|
9020
|
+
settings?: Json;
|
|
9021
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
9022
|
+
slug: string;
|
|
9023
|
+
sort_order?: number;
|
|
9024
|
+
updated_at?: string;
|
|
9025
|
+
updated_by?: string | null;
|
|
9026
|
+
version?: number;
|
|
9027
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
9028
|
+
};
|
|
9029
|
+
Update: {
|
|
9030
|
+
created_at?: string;
|
|
9031
|
+
created_by?: string | null;
|
|
9032
|
+
custom_fields?: Json;
|
|
9033
|
+
deleted_at?: string | null;
|
|
9034
|
+
description?: string;
|
|
9035
|
+
id?: string;
|
|
9036
|
+
metadata?: Json;
|
|
9037
|
+
name?: string;
|
|
9038
|
+
organization_id?: string;
|
|
9039
|
+
parent_scope_id?: string | null;
|
|
9040
|
+
published_to_web?: boolean;
|
|
9041
|
+
published_to_web_at?: string | null;
|
|
9042
|
+
published_to_web_by?: string | null;
|
|
9043
|
+
scope_type_id?: string;
|
|
9044
|
+
settings?: Json;
|
|
9045
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
9046
|
+
slug?: string;
|
|
9047
|
+
sort_order?: number;
|
|
9048
|
+
updated_at?: string;
|
|
9049
|
+
updated_by?: string | null;
|
|
9050
|
+
version?: number;
|
|
9051
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
9052
|
+
};
|
|
9053
|
+
Relationships: [
|
|
9054
|
+
{
|
|
9055
|
+
foreignKeyName: "ctx_scopes_parent_scope_id_fkey";
|
|
9056
|
+
columns: ["parent_scope_id"];
|
|
9057
|
+
isOneToOne: false;
|
|
9058
|
+
referencedRelation: "scopes";
|
|
9059
|
+
referencedColumns: ["id"];
|
|
9060
|
+
},
|
|
9061
|
+
{
|
|
9062
|
+
foreignKeyName: "ctx_scopes_scope_type_id_fkey";
|
|
9063
|
+
columns: ["scope_type_id"];
|
|
9064
|
+
isOneToOne: false;
|
|
9065
|
+
referencedRelation: "scope_types";
|
|
9066
|
+
referencedColumns: ["id"];
|
|
9067
|
+
}
|
|
9068
|
+
];
|
|
9069
|
+
};
|
|
9070
|
+
udt_dataset_fields: {
|
|
9071
|
+
Row: {
|
|
9072
|
+
created_at: string;
|
|
9073
|
+
created_by: string | null;
|
|
9074
|
+
custom_fields: Json;
|
|
9075
|
+
data_type: Database["public"]["Enums"]["field_data_type"];
|
|
9076
|
+
default_value: Json | null;
|
|
9077
|
+
deleted_at: string | null;
|
|
9078
|
+
display_name: string;
|
|
9079
|
+
field_name: string;
|
|
9080
|
+
field_order: number;
|
|
9081
|
+
id: string;
|
|
9082
|
+
is_public: boolean;
|
|
9083
|
+
is_required: boolean;
|
|
9084
|
+
metadata: Json;
|
|
9085
|
+
organization_id: string;
|
|
9086
|
+
table_id: string;
|
|
9087
|
+
updated_at: string;
|
|
9088
|
+
updated_by: string | null;
|
|
9089
|
+
user_id: string;
|
|
9090
|
+
validation_rules: Json | null;
|
|
9091
|
+
version: number;
|
|
9092
|
+
};
|
|
9093
|
+
Insert: {
|
|
9094
|
+
created_at?: string;
|
|
9095
|
+
created_by?: string | null;
|
|
9096
|
+
custom_fields?: Json;
|
|
9097
|
+
data_type?: Database["public"]["Enums"]["field_data_type"];
|
|
9098
|
+
default_value?: Json | null;
|
|
9099
|
+
deleted_at?: string | null;
|
|
9100
|
+
display_name: string;
|
|
9101
|
+
field_name: string;
|
|
9102
|
+
field_order?: number;
|
|
9103
|
+
id?: string;
|
|
9104
|
+
is_public?: boolean;
|
|
9105
|
+
is_required?: boolean;
|
|
9106
|
+
metadata?: Json;
|
|
9107
|
+
organization_id: string;
|
|
9108
|
+
table_id: string;
|
|
9109
|
+
updated_at?: string;
|
|
9110
|
+
updated_by?: string | null;
|
|
9111
|
+
user_id: string;
|
|
9112
|
+
validation_rules?: Json | null;
|
|
9113
|
+
version?: number;
|
|
9114
|
+
};
|
|
9115
|
+
Update: {
|
|
9116
|
+
created_at?: string;
|
|
9117
|
+
created_by?: string | null;
|
|
9118
|
+
custom_fields?: Json;
|
|
9119
|
+
data_type?: Database["public"]["Enums"]["field_data_type"];
|
|
9120
|
+
default_value?: Json | null;
|
|
9121
|
+
deleted_at?: string | null;
|
|
9122
|
+
display_name?: string;
|
|
9123
|
+
field_name?: string;
|
|
9124
|
+
field_order?: number;
|
|
9125
|
+
id?: string;
|
|
9126
|
+
is_public?: boolean;
|
|
9127
|
+
is_required?: boolean;
|
|
9128
|
+
metadata?: Json;
|
|
9129
|
+
organization_id?: string;
|
|
9130
|
+
table_id?: string;
|
|
9131
|
+
updated_at?: string;
|
|
9132
|
+
updated_by?: string | null;
|
|
9133
|
+
user_id?: string;
|
|
9134
|
+
validation_rules?: Json | null;
|
|
9135
|
+
version?: number;
|
|
9136
|
+
};
|
|
9137
|
+
Relationships: [
|
|
9138
|
+
{
|
|
9139
|
+
foreignKeyName: "udt_dataset_fields_dataset_id_fkey";
|
|
9140
|
+
columns: ["table_id"];
|
|
9141
|
+
isOneToOne: false;
|
|
9142
|
+
referencedRelation: "udt_datasets";
|
|
9143
|
+
referencedColumns: ["id"];
|
|
9144
|
+
}
|
|
9145
|
+
];
|
|
9146
|
+
};
|
|
9147
|
+
udt_dataset_row_versions: {
|
|
9148
|
+
Row: {
|
|
9149
|
+
change_kind: Database["public"]["Enums"]["row_change_kind"];
|
|
9150
|
+
changed_at: string;
|
|
9151
|
+
changed_by: string | null;
|
|
9152
|
+
custom_fields: Json;
|
|
9153
|
+
data: Json | null;
|
|
9154
|
+
id: number;
|
|
9155
|
+
prior_data: Json | null;
|
|
9156
|
+
reason: string | null;
|
|
9157
|
+
row_id: string;
|
|
9158
|
+
table_id: string;
|
|
9159
|
+
};
|
|
9160
|
+
Insert: {
|
|
9161
|
+
change_kind: Database["public"]["Enums"]["row_change_kind"];
|
|
9162
|
+
changed_at?: string;
|
|
9163
|
+
changed_by?: string | null;
|
|
9164
|
+
custom_fields?: Json;
|
|
9165
|
+
data?: Json | null;
|
|
9166
|
+
id?: number;
|
|
9167
|
+
prior_data?: Json | null;
|
|
9168
|
+
reason?: string | null;
|
|
9169
|
+
row_id: string;
|
|
9170
|
+
table_id: string;
|
|
9171
|
+
};
|
|
9172
|
+
Update: {
|
|
9173
|
+
change_kind?: Database["public"]["Enums"]["row_change_kind"];
|
|
9174
|
+
changed_at?: string;
|
|
9175
|
+
changed_by?: string | null;
|
|
9176
|
+
custom_fields?: Json;
|
|
9177
|
+
data?: Json | null;
|
|
9178
|
+
id?: number;
|
|
9179
|
+
prior_data?: Json | null;
|
|
9180
|
+
reason?: string | null;
|
|
9181
|
+
row_id?: string;
|
|
9182
|
+
table_id?: string;
|
|
9183
|
+
};
|
|
9184
|
+
Relationships: [];
|
|
9185
|
+
};
|
|
9186
|
+
udt_dataset_rows: {
|
|
9187
|
+
Row: {
|
|
9188
|
+
created_at: string;
|
|
9189
|
+
created_by: string | null;
|
|
9190
|
+
custom_fields: Json;
|
|
9191
|
+
data: Json;
|
|
9192
|
+
deleted_at: string | null;
|
|
9193
|
+
id: string;
|
|
9194
|
+
is_public: boolean;
|
|
9195
|
+
metadata: Json;
|
|
9196
|
+
organization_id: string;
|
|
9197
|
+
source_row_ref: string | null;
|
|
9198
|
+
table_id: string;
|
|
9199
|
+
updated_at: string;
|
|
9200
|
+
updated_by: string | null;
|
|
9201
|
+
user_id: string;
|
|
9202
|
+
version: number;
|
|
9203
|
+
};
|
|
9204
|
+
Insert: {
|
|
9205
|
+
created_at?: string;
|
|
9206
|
+
created_by?: string | null;
|
|
9207
|
+
custom_fields?: Json;
|
|
9208
|
+
data: Json;
|
|
9209
|
+
deleted_at?: string | null;
|
|
9210
|
+
id?: string;
|
|
9211
|
+
is_public?: boolean;
|
|
9212
|
+
metadata?: Json;
|
|
9213
|
+
organization_id: string;
|
|
9214
|
+
source_row_ref?: string | null;
|
|
9215
|
+
table_id: string;
|
|
9216
|
+
updated_at?: string;
|
|
9217
|
+
updated_by?: string | null;
|
|
9218
|
+
user_id: string;
|
|
9219
|
+
version?: number;
|
|
9220
|
+
};
|
|
9221
|
+
Update: {
|
|
9222
|
+
created_at?: string;
|
|
9223
|
+
created_by?: string | null;
|
|
9224
|
+
custom_fields?: Json;
|
|
9225
|
+
data?: Json;
|
|
9226
|
+
deleted_at?: string | null;
|
|
9227
|
+
id?: string;
|
|
9228
|
+
is_public?: boolean;
|
|
9229
|
+
metadata?: Json;
|
|
9230
|
+
organization_id?: string;
|
|
9231
|
+
source_row_ref?: string | null;
|
|
9232
|
+
table_id?: string;
|
|
9233
|
+
updated_at?: string;
|
|
9234
|
+
updated_by?: string | null;
|
|
9235
|
+
user_id?: string;
|
|
9236
|
+
version?: number;
|
|
9237
|
+
};
|
|
9238
|
+
Relationships: [
|
|
9239
|
+
{
|
|
9240
|
+
foreignKeyName: "udt_dataset_rows_dataset_id_fkey";
|
|
9241
|
+
columns: ["table_id"];
|
|
9242
|
+
isOneToOne: false;
|
|
9243
|
+
referencedRelation: "udt_datasets";
|
|
9244
|
+
referencedColumns: ["id"];
|
|
9245
|
+
}
|
|
9246
|
+
];
|
|
9247
|
+
};
|
|
9248
|
+
udt_dataset_template_fields: {
|
|
9249
|
+
Row: {
|
|
9250
|
+
created_at: string;
|
|
9251
|
+
custom_fields: Json;
|
|
9252
|
+
data_type: Database["public"]["Enums"]["field_data_type"];
|
|
9253
|
+
default_value: Json | null;
|
|
9254
|
+
display_name: string;
|
|
9255
|
+
field_name: string;
|
|
9256
|
+
field_order: number;
|
|
9257
|
+
id: string;
|
|
9258
|
+
is_required: boolean;
|
|
9259
|
+
metadata: Json;
|
|
9260
|
+
organization_id: string;
|
|
9261
|
+
template_id: string;
|
|
9262
|
+
updated_at: string;
|
|
9263
|
+
validation_rules: Json | null;
|
|
9264
|
+
};
|
|
9265
|
+
Insert: {
|
|
9266
|
+
created_at?: string;
|
|
9267
|
+
custom_fields?: Json;
|
|
9268
|
+
data_type?: Database["public"]["Enums"]["field_data_type"];
|
|
9269
|
+
default_value?: Json | null;
|
|
9270
|
+
display_name: string;
|
|
9271
|
+
field_name: string;
|
|
9272
|
+
field_order?: number;
|
|
9273
|
+
id?: string;
|
|
9274
|
+
is_required?: boolean;
|
|
9275
|
+
metadata?: Json;
|
|
9276
|
+
organization_id: string;
|
|
9277
|
+
template_id: string;
|
|
9278
|
+
updated_at?: string;
|
|
9279
|
+
validation_rules?: Json | null;
|
|
9280
|
+
};
|
|
9281
|
+
Update: {
|
|
9282
|
+
created_at?: string;
|
|
9283
|
+
custom_fields?: Json;
|
|
9284
|
+
data_type?: Database["public"]["Enums"]["field_data_type"];
|
|
9285
|
+
default_value?: Json | null;
|
|
9286
|
+
display_name?: string;
|
|
9287
|
+
field_name?: string;
|
|
9288
|
+
field_order?: number;
|
|
9289
|
+
id?: string;
|
|
9290
|
+
is_required?: boolean;
|
|
9291
|
+
metadata?: Json;
|
|
9292
|
+
organization_id?: string;
|
|
9293
|
+
template_id?: string;
|
|
9294
|
+
updated_at?: string;
|
|
9295
|
+
validation_rules?: Json | null;
|
|
9296
|
+
};
|
|
9297
|
+
Relationships: [
|
|
9298
|
+
{
|
|
9299
|
+
foreignKeyName: "udt_dataset_template_fields_template_id_fkey";
|
|
9300
|
+
columns: ["template_id"];
|
|
9301
|
+
isOneToOne: false;
|
|
9302
|
+
referencedRelation: "udt_dataset_templates";
|
|
9303
|
+
referencedColumns: ["id"];
|
|
9304
|
+
}
|
|
9305
|
+
];
|
|
9306
|
+
};
|
|
9307
|
+
udt_dataset_templates: {
|
|
9308
|
+
Row: {
|
|
9309
|
+
created_at: string;
|
|
9310
|
+
created_by: string | null;
|
|
9311
|
+
custom_fields: Json;
|
|
9312
|
+
deleted_at: string | null;
|
|
9313
|
+
description: string;
|
|
9314
|
+
id: string;
|
|
9315
|
+
is_active: boolean;
|
|
9316
|
+
metadata: Json;
|
|
9317
|
+
name: string;
|
|
9318
|
+
organization_id: string;
|
|
9319
|
+
updated_at: string;
|
|
9320
|
+
updated_by: string | null;
|
|
9321
|
+
version: number;
|
|
9322
|
+
};
|
|
9323
|
+
Insert: {
|
|
9324
|
+
created_at?: string;
|
|
9325
|
+
created_by?: string | null;
|
|
9326
|
+
custom_fields?: Json;
|
|
9327
|
+
deleted_at?: string | null;
|
|
9328
|
+
description?: string;
|
|
9329
|
+
id?: string;
|
|
9330
|
+
is_active?: boolean;
|
|
9331
|
+
metadata?: Json;
|
|
9332
|
+
name: string;
|
|
9333
|
+
organization_id: string;
|
|
9334
|
+
updated_at?: string;
|
|
9335
|
+
updated_by?: string | null;
|
|
9336
|
+
version?: number;
|
|
9337
|
+
};
|
|
9338
|
+
Update: {
|
|
9339
|
+
created_at?: string;
|
|
9340
|
+
created_by?: string | null;
|
|
9341
|
+
custom_fields?: Json;
|
|
9342
|
+
deleted_at?: string | null;
|
|
9343
|
+
description?: string;
|
|
9344
|
+
id?: string;
|
|
9345
|
+
is_active?: boolean;
|
|
9346
|
+
metadata?: Json;
|
|
9347
|
+
name?: string;
|
|
9348
|
+
organization_id?: string;
|
|
9349
|
+
updated_at?: string;
|
|
9350
|
+
updated_by?: string | null;
|
|
9351
|
+
version?: number;
|
|
9352
|
+
};
|
|
9353
|
+
Relationships: [];
|
|
9354
|
+
};
|
|
9355
|
+
udt_datasets: {
|
|
9356
|
+
Row: {
|
|
9357
|
+
created_at: string;
|
|
9358
|
+
created_by: string;
|
|
9359
|
+
custom_fields: Json;
|
|
9360
|
+
deleted_at: string | null;
|
|
9361
|
+
description: string | null;
|
|
9362
|
+
id: string;
|
|
9363
|
+
is_public: boolean;
|
|
9364
|
+
metadata: Json;
|
|
9365
|
+
organization_id: string;
|
|
9366
|
+
project_id: string | null;
|
|
9367
|
+
published_to_web: boolean;
|
|
9368
|
+
published_to_web_at: string | null;
|
|
9369
|
+
published_to_web_by: string | null;
|
|
9370
|
+
row_ordering_config: Json | null;
|
|
9371
|
+
sheet_index: number | null;
|
|
9372
|
+
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
9373
|
+
sync_source: Json | null;
|
|
9374
|
+
table_name: string;
|
|
9375
|
+
task_id: string | null;
|
|
9376
|
+
template_id: string | null;
|
|
9377
|
+
template_version: number | null;
|
|
9378
|
+
updated_at: string;
|
|
9379
|
+
updated_by: string | null;
|
|
9380
|
+
user_id: string;
|
|
9381
|
+
validation_mode: string;
|
|
9382
|
+
version: number;
|
|
9383
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
9384
|
+
workbook_id: string | null;
|
|
9385
|
+
};
|
|
9386
|
+
Insert: {
|
|
9387
|
+
created_at?: string;
|
|
9388
|
+
created_by: string;
|
|
9389
|
+
custom_fields?: Json;
|
|
9390
|
+
deleted_at?: string | null;
|
|
9391
|
+
description?: string | null;
|
|
9392
|
+
id?: string;
|
|
9393
|
+
is_public?: boolean;
|
|
9394
|
+
metadata?: Json;
|
|
9395
|
+
organization_id: string;
|
|
9396
|
+
project_id?: string | null;
|
|
9397
|
+
published_to_web?: boolean;
|
|
9398
|
+
published_to_web_at?: string | null;
|
|
9399
|
+
published_to_web_by?: string | null;
|
|
9400
|
+
row_ordering_config?: Json | null;
|
|
9401
|
+
sheet_index?: number | null;
|
|
9402
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
9403
|
+
sync_source?: Json | null;
|
|
9404
|
+
table_name: string;
|
|
9405
|
+
task_id?: string | null;
|
|
9406
|
+
template_id?: string | null;
|
|
9407
|
+
template_version?: number | null;
|
|
9408
|
+
updated_at?: string;
|
|
9409
|
+
updated_by?: string | null;
|
|
9410
|
+
user_id: string;
|
|
9411
|
+
validation_mode?: string;
|
|
9412
|
+
version?: number;
|
|
9413
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
9414
|
+
workbook_id?: string | null;
|
|
9415
|
+
};
|
|
9416
|
+
Update: {
|
|
9417
|
+
created_at?: string;
|
|
9418
|
+
created_by?: string;
|
|
9419
|
+
custom_fields?: Json;
|
|
9420
|
+
deleted_at?: string | null;
|
|
9421
|
+
description?: string | null;
|
|
9422
|
+
id?: string;
|
|
9423
|
+
is_public?: boolean;
|
|
9424
|
+
metadata?: Json;
|
|
9425
|
+
organization_id?: string;
|
|
9426
|
+
project_id?: string | null;
|
|
9427
|
+
published_to_web?: boolean;
|
|
9428
|
+
published_to_web_at?: string | null;
|
|
9429
|
+
published_to_web_by?: string | null;
|
|
9430
|
+
row_ordering_config?: Json | null;
|
|
9431
|
+
sheet_index?: number | null;
|
|
9432
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
9433
|
+
sync_source?: Json | null;
|
|
9434
|
+
table_name?: string;
|
|
9435
|
+
task_id?: string | null;
|
|
9436
|
+
template_id?: string | null;
|
|
9437
|
+
template_version?: number | null;
|
|
9438
|
+
updated_at?: string;
|
|
9439
|
+
updated_by?: string | null;
|
|
9440
|
+
user_id?: string;
|
|
9441
|
+
validation_mode?: string;
|
|
9442
|
+
version?: number;
|
|
9443
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
9444
|
+
workbook_id?: string | null;
|
|
9445
|
+
};
|
|
9446
|
+
Relationships: [];
|
|
9447
|
+
};
|
|
9448
|
+
udt_structured_list_items: {
|
|
9449
|
+
Row: {
|
|
9450
|
+
created_at: string;
|
|
9451
|
+
created_by: string | null;
|
|
9452
|
+
custom_fields: Json;
|
|
9453
|
+
deleted_at: string | null;
|
|
9454
|
+
description: string | null;
|
|
9455
|
+
group_name: string | null;
|
|
9456
|
+
help_text: string | null;
|
|
9457
|
+
icon_name: string | null;
|
|
9458
|
+
id: string;
|
|
9459
|
+
is_public: boolean | null;
|
|
9460
|
+
label: string | null;
|
|
9461
|
+
list_id: string | null;
|
|
9462
|
+
metadata: Json;
|
|
9463
|
+
organization_id: string | null;
|
|
9464
|
+
public_read: boolean | null;
|
|
9465
|
+
updated_at: string | null;
|
|
9466
|
+
updated_by: string | null;
|
|
9467
|
+
user_id: string | null;
|
|
9468
|
+
version: number;
|
|
8732
9469
|
};
|
|
8733
9470
|
Insert: {
|
|
8734
9471
|
created_at?: string;
|
|
9472
|
+
created_by?: string | null;
|
|
9473
|
+
custom_fields?: Json;
|
|
8735
9474
|
deleted_at?: string | null;
|
|
8736
|
-
description?: string;
|
|
8737
|
-
|
|
9475
|
+
description?: string | null;
|
|
9476
|
+
group_name?: string | null;
|
|
9477
|
+
help_text?: string | null;
|
|
9478
|
+
icon_name?: string | null;
|
|
8738
9479
|
id?: string;
|
|
8739
|
-
|
|
8740
|
-
|
|
8741
|
-
|
|
8742
|
-
max_assignments_per_entity?: number | null;
|
|
9480
|
+
is_public?: boolean | null;
|
|
9481
|
+
label?: string | null;
|
|
9482
|
+
list_id?: string | null;
|
|
8743
9483
|
metadata?: Json;
|
|
8744
|
-
|
|
8745
|
-
|
|
8746
|
-
|
|
9484
|
+
organization_id?: string | null;
|
|
9485
|
+
public_read?: boolean | null;
|
|
9486
|
+
updated_at?: string | null;
|
|
9487
|
+
updated_by?: string | null;
|
|
9488
|
+
user_id?: string | null;
|
|
9489
|
+
version?: number;
|
|
8747
9490
|
};
|
|
8748
9491
|
Update: {
|
|
8749
9492
|
created_at?: string;
|
|
9493
|
+
created_by?: string | null;
|
|
9494
|
+
custom_fields?: Json;
|
|
8750
9495
|
deleted_at?: string | null;
|
|
8751
|
-
description?: string;
|
|
8752
|
-
|
|
9496
|
+
description?: string | null;
|
|
9497
|
+
group_name?: string | null;
|
|
9498
|
+
help_text?: string | null;
|
|
9499
|
+
icon_name?: string | null;
|
|
8753
9500
|
id?: string;
|
|
8754
|
-
|
|
8755
|
-
|
|
8756
|
-
|
|
8757
|
-
max_assignments_per_entity?: number | null;
|
|
9501
|
+
is_public?: boolean | null;
|
|
9502
|
+
label?: string | null;
|
|
9503
|
+
list_id?: string | null;
|
|
8758
9504
|
metadata?: Json;
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
|
-
|
|
9505
|
+
organization_id?: string | null;
|
|
9506
|
+
public_read?: boolean | null;
|
|
9507
|
+
updated_at?: string | null;
|
|
9508
|
+
updated_by?: string | null;
|
|
9509
|
+
user_id?: string | null;
|
|
9510
|
+
version?: number;
|
|
8762
9511
|
};
|
|
8763
9512
|
Relationships: [
|
|
8764
9513
|
{
|
|
8765
|
-
foreignKeyName: "
|
|
8766
|
-
columns: ["
|
|
8767
|
-
isOneToOne: false;
|
|
8768
|
-
referencedRelation: "template_scope_types";
|
|
8769
|
-
referencedColumns: ["id"];
|
|
8770
|
-
},
|
|
8771
|
-
{
|
|
8772
|
-
foreignKeyName: "ctx_template_scope_types_template_id_fkey";
|
|
8773
|
-
columns: ["template_id"];
|
|
9514
|
+
foreignKeyName: "udt_structured_list_items_list_id_fkey";
|
|
9515
|
+
columns: ["list_id"];
|
|
8774
9516
|
isOneToOne: false;
|
|
8775
|
-
referencedRelation: "
|
|
9517
|
+
referencedRelation: "udt_structured_lists";
|
|
8776
9518
|
referencedColumns: ["id"];
|
|
8777
9519
|
}
|
|
8778
9520
|
];
|
|
8779
9521
|
};
|
|
8780
|
-
|
|
9522
|
+
udt_structured_lists: {
|
|
8781
9523
|
Row: {
|
|
8782
|
-
audience: string;
|
|
8783
|
-
category: string;
|
|
8784
9524
|
created_at: string;
|
|
9525
|
+
created_by: string;
|
|
9526
|
+
custom_fields: Json;
|
|
8785
9527
|
deleted_at: string | null;
|
|
8786
|
-
description: string;
|
|
8787
|
-
icon: string;
|
|
9528
|
+
description: string | null;
|
|
8788
9529
|
id: string;
|
|
8789
|
-
|
|
8790
|
-
|
|
9530
|
+
is_public: boolean | null;
|
|
9531
|
+
list_name: string | null;
|
|
8791
9532
|
metadata: Json;
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
-
|
|
9533
|
+
organization_id: string | null;
|
|
9534
|
+
public_read: boolean | null;
|
|
9535
|
+
published_to_web: boolean;
|
|
9536
|
+
published_to_web_at: string | null;
|
|
9537
|
+
published_to_web_by: string | null;
|
|
9538
|
+
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
9539
|
+
updated_at: string | null;
|
|
9540
|
+
updated_by: string | null;
|
|
9541
|
+
user_id: string | null;
|
|
9542
|
+
version: number;
|
|
9543
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
8795
9544
|
};
|
|
8796
9545
|
Insert: {
|
|
8797
|
-
audience?: string;
|
|
8798
|
-
category: string;
|
|
8799
9546
|
created_at?: string;
|
|
9547
|
+
created_by: string;
|
|
9548
|
+
custom_fields?: Json;
|
|
8800
9549
|
deleted_at?: string | null;
|
|
8801
|
-
description?: string;
|
|
8802
|
-
icon?: string;
|
|
9550
|
+
description?: string | null;
|
|
8803
9551
|
id?: string;
|
|
8804
|
-
|
|
8805
|
-
|
|
9552
|
+
is_public?: boolean | null;
|
|
9553
|
+
list_name?: string | null;
|
|
8806
9554
|
metadata?: Json;
|
|
8807
|
-
|
|
8808
|
-
|
|
8809
|
-
|
|
9555
|
+
organization_id?: string | null;
|
|
9556
|
+
public_read?: boolean | null;
|
|
9557
|
+
published_to_web?: boolean;
|
|
9558
|
+
published_to_web_at?: string | null;
|
|
9559
|
+
published_to_web_by?: string | null;
|
|
9560
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
9561
|
+
updated_at?: string | null;
|
|
9562
|
+
updated_by?: string | null;
|
|
9563
|
+
user_id?: string | null;
|
|
9564
|
+
version?: number;
|
|
9565
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
8810
9566
|
};
|
|
8811
9567
|
Update: {
|
|
8812
|
-
audience?: string;
|
|
8813
|
-
category?: string;
|
|
8814
9568
|
created_at?: string;
|
|
9569
|
+
created_by?: string;
|
|
9570
|
+
custom_fields?: Json;
|
|
8815
9571
|
deleted_at?: string | null;
|
|
8816
|
-
description?: string;
|
|
8817
|
-
icon?: string;
|
|
9572
|
+
description?: string | null;
|
|
8818
9573
|
id?: string;
|
|
8819
|
-
|
|
8820
|
-
|
|
9574
|
+
is_public?: boolean | null;
|
|
9575
|
+
list_name?: string | null;
|
|
8821
9576
|
metadata?: Json;
|
|
8822
|
-
|
|
8823
|
-
|
|
8824
|
-
|
|
9577
|
+
organization_id?: string | null;
|
|
9578
|
+
public_read?: boolean | null;
|
|
9579
|
+
published_to_web?: boolean;
|
|
9580
|
+
published_to_web_at?: string | null;
|
|
9581
|
+
published_to_web_by?: string | null;
|
|
9582
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
9583
|
+
updated_at?: string | null;
|
|
9584
|
+
updated_by?: string | null;
|
|
9585
|
+
user_id?: string | null;
|
|
9586
|
+
version?: number;
|
|
9587
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8825
9588
|
};
|
|
8826
9589
|
Relationships: [];
|
|
8827
9590
|
};
|
|
8828
|
-
|
|
9591
|
+
working_documents: {
|
|
8829
9592
|
Row: {
|
|
8830
|
-
|
|
8831
|
-
active_entity_type: string | null;
|
|
8832
|
-
app_source: string;
|
|
9593
|
+
content: string;
|
|
8833
9594
|
created_at: string;
|
|
8834
9595
|
created_by: string | null;
|
|
8835
9596
|
custom_fields: Json;
|
|
9597
|
+
deleted_at: string | null;
|
|
8836
9598
|
id: string;
|
|
8837
|
-
|
|
9599
|
+
kind: string;
|
|
8838
9600
|
metadata: Json;
|
|
8839
9601
|
organization_id: string;
|
|
8840
|
-
|
|
8841
|
-
|
|
9602
|
+
published_to_web: boolean;
|
|
9603
|
+
published_to_web_at: string | null;
|
|
9604
|
+
published_to_web_by: string | null;
|
|
9605
|
+
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
9606
|
+
title: string;
|
|
8842
9607
|
updated_at: string;
|
|
8843
9608
|
updated_by: string | null;
|
|
8844
|
-
user_id: string;
|
|
8845
9609
|
version: number;
|
|
9610
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
8846
9611
|
};
|
|
8847
9612
|
Insert: {
|
|
8848
|
-
|
|
8849
|
-
active_entity_type?: string | null;
|
|
8850
|
-
app_source?: string;
|
|
9613
|
+
content?: string;
|
|
8851
9614
|
created_at?: string;
|
|
8852
9615
|
created_by?: string | null;
|
|
8853
9616
|
custom_fields?: Json;
|
|
9617
|
+
deleted_at?: string | null;
|
|
8854
9618
|
id?: string;
|
|
8855
|
-
|
|
9619
|
+
kind?: string;
|
|
8856
9620
|
metadata?: Json;
|
|
8857
9621
|
organization_id: string;
|
|
8858
|
-
|
|
8859
|
-
|
|
9622
|
+
published_to_web?: boolean;
|
|
9623
|
+
published_to_web_at?: string | null;
|
|
9624
|
+
published_to_web_by?: string | null;
|
|
9625
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
9626
|
+
title?: string;
|
|
8860
9627
|
updated_at?: string;
|
|
8861
9628
|
updated_by?: string | null;
|
|
8862
|
-
user_id: string;
|
|
8863
9629
|
version?: number;
|
|
9630
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8864
9631
|
};
|
|
8865
9632
|
Update: {
|
|
8866
|
-
|
|
8867
|
-
active_entity_type?: string | null;
|
|
8868
|
-
app_source?: string;
|
|
9633
|
+
content?: string;
|
|
8869
9634
|
created_at?: string;
|
|
8870
9635
|
created_by?: string | null;
|
|
8871
9636
|
custom_fields?: Json;
|
|
9637
|
+
deleted_at?: string | null;
|
|
8872
9638
|
id?: string;
|
|
8873
|
-
|
|
9639
|
+
kind?: string;
|
|
8874
9640
|
metadata?: Json;
|
|
8875
9641
|
organization_id?: string;
|
|
8876
|
-
|
|
8877
|
-
|
|
9642
|
+
published_to_web?: boolean;
|
|
9643
|
+
published_to_web_at?: string | null;
|
|
9644
|
+
published_to_web_by?: string | null;
|
|
9645
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
9646
|
+
title?: string;
|
|
8878
9647
|
updated_at?: string;
|
|
8879
9648
|
updated_by?: string | null;
|
|
8880
|
-
user_id?: string;
|
|
8881
9649
|
version?: number;
|
|
9650
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
8882
9651
|
};
|
|
8883
9652
|
Relationships: [];
|
|
8884
9653
|
};
|
|
@@ -8887,149 +9656,118 @@ export type FilesDatabase = {
|
|
|
8887
9656
|
[_ in never]: never;
|
|
8888
9657
|
};
|
|
8889
9658
|
Functions: {
|
|
8890
|
-
|
|
9659
|
+
_ctx_dataset_field_holds: {
|
|
8891
9660
|
Args: {
|
|
8892
|
-
|
|
8893
|
-
|
|
9661
|
+
p_org: string;
|
|
9662
|
+
p_spec: Json;
|
|
8894
9663
|
};
|
|
8895
9664
|
Returns: undefined;
|
|
8896
9665
|
};
|
|
8897
|
-
|
|
8898
|
-
Args: never;
|
|
8899
|
-
Returns: string[];
|
|
8900
|
-
};
|
|
8901
|
-
_scope_denial_message: {
|
|
9666
|
+
_cutover_seam_apply: {
|
|
8902
9667
|
Args: {
|
|
8903
|
-
|
|
8904
|
-
|
|
9668
|
+
p_actor: string;
|
|
9669
|
+
p_org: string;
|
|
9670
|
+
p_press: string;
|
|
9671
|
+
p_seam: string;
|
|
9672
|
+
p_to: string;
|
|
8905
9673
|
};
|
|
8906
|
-
Returns:
|
|
9674
|
+
Returns: Json;
|
|
8907
9675
|
};
|
|
8908
|
-
|
|
9676
|
+
_udt_display_spec: {
|
|
8909
9677
|
Args: {
|
|
8910
|
-
|
|
8911
|
-
p_scope_id: string;
|
|
9678
|
+
p_raw: Json;
|
|
8912
9679
|
};
|
|
8913
|
-
Returns:
|
|
9680
|
+
Returns: Json;
|
|
8914
9681
|
};
|
|
8915
|
-
|
|
9682
|
+
_udt_row_granted: {
|
|
8916
9683
|
Args: {
|
|
8917
|
-
|
|
8918
|
-
p_scope_id: string;
|
|
8919
|
-
p_user_id: string;
|
|
9684
|
+
p_row_id: string;
|
|
8920
9685
|
};
|
|
8921
9686
|
Returns: boolean;
|
|
8922
9687
|
};
|
|
8923
|
-
|
|
9688
|
+
_udt_row_words: {
|
|
8924
9689
|
Args: {
|
|
8925
|
-
|
|
9690
|
+
p_display?: Json;
|
|
9691
|
+
p_hop?: number;
|
|
9692
|
+
p_organization_id: string;
|
|
9693
|
+
p_row_id: string;
|
|
8926
9694
|
};
|
|
8927
9695
|
Returns: string;
|
|
8928
9696
|
};
|
|
8929
|
-
|
|
8930
|
-
Args:
|
|
8931
|
-
|
|
8932
|
-
created_at: string;
|
|
8933
|
-
created_by: string | null;
|
|
8934
|
-
deleted_at: string | null;
|
|
8935
|
-
description: string | null;
|
|
8936
|
-
display_name: string;
|
|
8937
|
-
feed_config: Json;
|
|
8938
|
-
feed_error: string | null;
|
|
8939
|
-
feed_status: string | null;
|
|
8940
|
-
feed_type: Database["public"]["Enums"]["context_feed_type"];
|
|
8941
|
-
id: string;
|
|
8942
|
-
is_active: boolean;
|
|
8943
|
-
item_class: string;
|
|
8944
|
-
key: string;
|
|
8945
|
-
last_fed_at: string | null;
|
|
8946
|
-
metadata: Json;
|
|
8947
|
-
organization_id: string;
|
|
8948
|
-
published_to_web: boolean;
|
|
8949
|
-
published_to_web_at: string | null;
|
|
8950
|
-
published_to_web_by: string | null;
|
|
8951
|
-
sensitivity: Database["public"]["Enums"]["context_sensitivity"];
|
|
8952
|
-
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
8953
|
-
sort_order: number;
|
|
8954
|
-
updated_at: string;
|
|
8955
|
-
updated_by: string | null;
|
|
8956
|
-
value: Json | null;
|
|
8957
|
-
value_type: Database["public"]["Enums"]["context_value_type"];
|
|
8958
|
-
version: number;
|
|
8959
|
-
visibility: Database["platform"]["Enums"]["visibility"];
|
|
8960
|
-
}[];
|
|
8961
|
-
SetofOptions: {
|
|
8962
|
-
from: "*";
|
|
8963
|
-
to: "system_context_item";
|
|
8964
|
-
isOneToOne: false;
|
|
8965
|
-
isSetofReturn: true;
|
|
9697
|
+
list_udt_dataset_templates: {
|
|
9698
|
+
Args: {
|
|
9699
|
+
p_org_id: string;
|
|
8966
9700
|
};
|
|
9701
|
+
Returns: Json;
|
|
8967
9702
|
};
|
|
8968
|
-
|
|
9703
|
+
udt_cast_jsonb_value: {
|
|
8969
9704
|
Args: {
|
|
8970
|
-
|
|
9705
|
+
p_new_type: Database["public"]["Enums"]["field_data_type"];
|
|
9706
|
+
p_value: Json;
|
|
8971
9707
|
};
|
|
8972
|
-
Returns:
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
feed_error: string | null;
|
|
8980
|
-
feed_status: string | null;
|
|
8981
|
-
feed_type: Database["public"]["Enums"]["context_feed_type"];
|
|
8982
|
-
id: string;
|
|
8983
|
-
is_active: boolean;
|
|
8984
|
-
item_class: string;
|
|
8985
|
-
key: string;
|
|
8986
|
-
last_fed_at: string | null;
|
|
8987
|
-
metadata: Json;
|
|
8988
|
-
organization_id: string;
|
|
8989
|
-
published_to_web: boolean;
|
|
8990
|
-
published_to_web_at: string | null;
|
|
8991
|
-
published_to_web_by: string | null;
|
|
8992
|
-
sensitivity: Database["public"]["Enums"]["context_sensitivity"];
|
|
8993
|
-
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
8994
|
-
sort_order: number;
|
|
8995
|
-
updated_at: string;
|
|
8996
|
-
updated_by: string | null;
|
|
8997
|
-
value: Json | null;
|
|
8998
|
-
value_type: Database["public"]["Enums"]["context_value_type"];
|
|
8999
|
-
version: number;
|
|
9000
|
-
visibility: Database["platform"]["Enums"]["visibility"];
|
|
9001
|
-
}[];
|
|
9002
|
-
SetofOptions: {
|
|
9003
|
-
from: "*";
|
|
9004
|
-
to: "system_context_item";
|
|
9005
|
-
isOneToOne: false;
|
|
9006
|
-
isSetofReturn: true;
|
|
9708
|
+
Returns: Json;
|
|
9709
|
+
};
|
|
9710
|
+
udt_dataset_archive: {
|
|
9711
|
+
Args: {
|
|
9712
|
+
p_moved_to_table_id: string;
|
|
9713
|
+
p_reason?: string;
|
|
9714
|
+
p_table_id: string;
|
|
9007
9715
|
};
|
|
9716
|
+
Returns: Json;
|
|
9717
|
+
};
|
|
9718
|
+
udt_dataset_row_versions_trim: {
|
|
9719
|
+
Args: never;
|
|
9720
|
+
Returns: Json;
|
|
9008
9721
|
};
|
|
9009
|
-
|
|
9722
|
+
udt_dataset_row_versions_trim_scoped: {
|
|
9010
9723
|
Args: {
|
|
9011
|
-
|
|
9724
|
+
p_dry_run?: boolean;
|
|
9725
|
+
p_table_id?: string;
|
|
9012
9726
|
};
|
|
9013
9727
|
Returns: Json;
|
|
9014
9728
|
};
|
|
9015
|
-
|
|
9729
|
+
udt_dataset_unarchive: {
|
|
9016
9730
|
Args: {
|
|
9017
|
-
|
|
9018
|
-
p_type: string;
|
|
9731
|
+
p_table_id: string;
|
|
9019
9732
|
};
|
|
9020
|
-
Returns:
|
|
9733
|
+
Returns: Json;
|
|
9734
|
+
};
|
|
9735
|
+
udt_refuse_row_in_trash: {
|
|
9736
|
+
Args: never;
|
|
9737
|
+
Returns: undefined;
|
|
9021
9738
|
};
|
|
9022
|
-
|
|
9739
|
+
udt_row_words_many: {
|
|
9023
9740
|
Args: {
|
|
9024
|
-
|
|
9741
|
+
p_display: Json;
|
|
9742
|
+
p_organization_id: string;
|
|
9743
|
+
p_row_ids: string[];
|
|
9025
9744
|
};
|
|
9026
|
-
Returns:
|
|
9745
|
+
Returns: {
|
|
9746
|
+
row_id: string;
|
|
9747
|
+
words: string;
|
|
9748
|
+
}[];
|
|
9027
9749
|
};
|
|
9028
|
-
|
|
9750
|
+
udt_structured_list_archive: {
|
|
9029
9751
|
Args: {
|
|
9030
|
-
|
|
9752
|
+
p_list_id: string;
|
|
9753
|
+
p_moved_to_table_id: string;
|
|
9754
|
+
p_reason?: string;
|
|
9031
9755
|
};
|
|
9032
|
-
Returns:
|
|
9756
|
+
Returns: Json;
|
|
9757
|
+
};
|
|
9758
|
+
udt_structured_list_unarchive: {
|
|
9759
|
+
Args: {
|
|
9760
|
+
p_list_id: string;
|
|
9761
|
+
};
|
|
9762
|
+
Returns: Json;
|
|
9763
|
+
};
|
|
9764
|
+
udt_validate_cell_rules: {
|
|
9765
|
+
Args: {
|
|
9766
|
+
p_data_type: string;
|
|
9767
|
+
p_rules: Json;
|
|
9768
|
+
p_value: Json;
|
|
9769
|
+
};
|
|
9770
|
+
Returns: string;
|
|
9033
9771
|
};
|
|
9034
9772
|
validate_dataset_template_source: {
|
|
9035
9773
|
Args: {
|
|
@@ -14126,6 +14864,149 @@ export type FilesDatabase = {
|
|
|
14126
14864
|
}
|
|
14127
14865
|
];
|
|
14128
14866
|
};
|
|
14867
|
+
access_shadow_log: {
|
|
14868
|
+
Row: {
|
|
14869
|
+
at: string;
|
|
14870
|
+
caller: string;
|
|
14871
|
+
compared: number | null;
|
|
14872
|
+
disagreed: number | null;
|
|
14873
|
+
error: string | null;
|
|
14874
|
+
id: string;
|
|
14875
|
+
level: string;
|
|
14876
|
+
new_answer: boolean | null;
|
|
14877
|
+
old_answer: boolean | null;
|
|
14878
|
+
person: string;
|
|
14879
|
+
target: string | null;
|
|
14880
|
+
};
|
|
14881
|
+
Insert: {
|
|
14882
|
+
at?: string;
|
|
14883
|
+
caller: string;
|
|
14884
|
+
compared?: number | null;
|
|
14885
|
+
disagreed?: number | null;
|
|
14886
|
+
error?: string | null;
|
|
14887
|
+
id?: string;
|
|
14888
|
+
level: string;
|
|
14889
|
+
new_answer?: boolean | null;
|
|
14890
|
+
old_answer?: boolean | null;
|
|
14891
|
+
person: string;
|
|
14892
|
+
target?: string | null;
|
|
14893
|
+
};
|
|
14894
|
+
Update: {
|
|
14895
|
+
at?: string;
|
|
14896
|
+
caller?: string;
|
|
14897
|
+
compared?: number | null;
|
|
14898
|
+
disagreed?: number | null;
|
|
14899
|
+
error?: string | null;
|
|
14900
|
+
id?: string;
|
|
14901
|
+
level?: string;
|
|
14902
|
+
new_answer?: boolean | null;
|
|
14903
|
+
old_answer?: boolean | null;
|
|
14904
|
+
person?: string;
|
|
14905
|
+
target?: string | null;
|
|
14906
|
+
};
|
|
14907
|
+
Relationships: [];
|
|
14908
|
+
};
|
|
14909
|
+
account_closure: {
|
|
14910
|
+
Row: {
|
|
14911
|
+
closed_at: string;
|
|
14912
|
+
created_at: string;
|
|
14913
|
+
created_by: string | null;
|
|
14914
|
+
deleted_at: string | null;
|
|
14915
|
+
erased_at: string | null;
|
|
14916
|
+
id: string;
|
|
14917
|
+
metadata: Json;
|
|
14918
|
+
organization_id: string;
|
|
14919
|
+
published_to_web: boolean;
|
|
14920
|
+
published_to_web_at: string | null;
|
|
14921
|
+
published_to_web_by: string | null;
|
|
14922
|
+
reason: string | null;
|
|
14923
|
+
reopened_at: string | null;
|
|
14924
|
+
request_ref: string | null;
|
|
14925
|
+
revoked: Json;
|
|
14926
|
+
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
14927
|
+
updated_at: string;
|
|
14928
|
+
updated_by: string | null;
|
|
14929
|
+
user_id: string;
|
|
14930
|
+
version: number;
|
|
14931
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
14932
|
+
};
|
|
14933
|
+
Insert: {
|
|
14934
|
+
closed_at?: string;
|
|
14935
|
+
created_at?: string;
|
|
14936
|
+
created_by?: string | null;
|
|
14937
|
+
deleted_at?: string | null;
|
|
14938
|
+
erased_at?: string | null;
|
|
14939
|
+
id?: string;
|
|
14940
|
+
metadata?: Json;
|
|
14941
|
+
organization_id: string;
|
|
14942
|
+
published_to_web?: boolean;
|
|
14943
|
+
published_to_web_at?: string | null;
|
|
14944
|
+
published_to_web_by?: string | null;
|
|
14945
|
+
reason?: string | null;
|
|
14946
|
+
reopened_at?: string | null;
|
|
14947
|
+
request_ref?: string | null;
|
|
14948
|
+
revoked?: Json;
|
|
14949
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
14950
|
+
updated_at?: string;
|
|
14951
|
+
updated_by?: string | null;
|
|
14952
|
+
user_id: string;
|
|
14953
|
+
version?: number;
|
|
14954
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
14955
|
+
};
|
|
14956
|
+
Update: {
|
|
14957
|
+
closed_at?: string;
|
|
14958
|
+
created_at?: string;
|
|
14959
|
+
created_by?: string | null;
|
|
14960
|
+
deleted_at?: string | null;
|
|
14961
|
+
erased_at?: string | null;
|
|
14962
|
+
id?: string;
|
|
14963
|
+
metadata?: Json;
|
|
14964
|
+
organization_id?: string;
|
|
14965
|
+
published_to_web?: boolean;
|
|
14966
|
+
published_to_web_at?: string | null;
|
|
14967
|
+
published_to_web_by?: string | null;
|
|
14968
|
+
reason?: string | null;
|
|
14969
|
+
reopened_at?: string | null;
|
|
14970
|
+
request_ref?: string | null;
|
|
14971
|
+
revoked?: Json;
|
|
14972
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
14973
|
+
updated_at?: string;
|
|
14974
|
+
updated_by?: string | null;
|
|
14975
|
+
user_id?: string;
|
|
14976
|
+
version?: number;
|
|
14977
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
14978
|
+
};
|
|
14979
|
+
Relationships: [
|
|
14980
|
+
{
|
|
14981
|
+
foreignKeyName: "account_closure_created_by_fkey";
|
|
14982
|
+
columns: ["created_by"];
|
|
14983
|
+
isOneToOne: false;
|
|
14984
|
+
referencedRelation: "users";
|
|
14985
|
+
referencedColumns: ["id"];
|
|
14986
|
+
},
|
|
14987
|
+
{
|
|
14988
|
+
foreignKeyName: "account_closure_organization_id_fkey";
|
|
14989
|
+
columns: ["organization_id"];
|
|
14990
|
+
isOneToOne: false;
|
|
14991
|
+
referencedRelation: "organizations";
|
|
14992
|
+
referencedColumns: ["id"];
|
|
14993
|
+
},
|
|
14994
|
+
{
|
|
14995
|
+
foreignKeyName: "account_closure_updated_by_fkey";
|
|
14996
|
+
columns: ["updated_by"];
|
|
14997
|
+
isOneToOne: false;
|
|
14998
|
+
referencedRelation: "users";
|
|
14999
|
+
referencedColumns: ["id"];
|
|
15000
|
+
},
|
|
15001
|
+
{
|
|
15002
|
+
foreignKeyName: "account_closure_user_id_fkey";
|
|
15003
|
+
columns: ["user_id"];
|
|
15004
|
+
isOneToOne: false;
|
|
15005
|
+
referencedRelation: "users";
|
|
15006
|
+
referencedColumns: ["id"];
|
|
15007
|
+
}
|
|
15008
|
+
];
|
|
15009
|
+
};
|
|
14129
15010
|
api_keys: {
|
|
14130
15011
|
Row: {
|
|
14131
15012
|
created_at: string;
|
|
@@ -14780,14 +15661,14 @@ export type FilesDatabase = {
|
|
|
14780
15661
|
};
|
|
14781
15662
|
Relationships: [
|
|
14782
15663
|
{
|
|
14783
|
-
foreignKeyName: "
|
|
15664
|
+
foreignKeyName: "memberships_created_by_fkey";
|
|
14784
15665
|
columns: ["created_by"];
|
|
14785
15666
|
isOneToOne: false;
|
|
14786
15667
|
referencedRelation: "users";
|
|
14787
15668
|
referencedColumns: ["id"];
|
|
14788
15669
|
},
|
|
14789
15670
|
{
|
|
14790
|
-
foreignKeyName: "
|
|
15671
|
+
foreignKeyName: "memberships_invited_by_fkey";
|
|
14791
15672
|
columns: ["invited_by"];
|
|
14792
15673
|
isOneToOne: false;
|
|
14793
15674
|
referencedRelation: "users";
|
|
@@ -14801,14 +15682,14 @@ export type FilesDatabase = {
|
|
|
14801
15682
|
referencedColumns: ["id"];
|
|
14802
15683
|
},
|
|
14803
15684
|
{
|
|
14804
|
-
foreignKeyName: "
|
|
15685
|
+
foreignKeyName: "memberships_updated_by_fkey";
|
|
14805
15686
|
columns: ["updated_by"];
|
|
14806
15687
|
isOneToOne: false;
|
|
14807
15688
|
referencedRelation: "users";
|
|
14808
15689
|
referencedColumns: ["id"];
|
|
14809
15690
|
},
|
|
14810
15691
|
{
|
|
14811
|
-
foreignKeyName: "
|
|
15692
|
+
foreignKeyName: "memberships_user_id_fkey";
|
|
14812
15693
|
columns: ["user_id"];
|
|
14813
15694
|
isOneToOne: false;
|
|
14814
15695
|
referencedRelation: "users";
|
|
@@ -15125,14 +16006,14 @@ export type FilesDatabase = {
|
|
|
15125
16006
|
};
|
|
15126
16007
|
Relationships: [
|
|
15127
16008
|
{
|
|
15128
|
-
foreignKeyName: "
|
|
16009
|
+
foreignKeyName: "organizations_created_by_fkey";
|
|
15129
16010
|
columns: ["created_by"];
|
|
15130
16011
|
isOneToOne: false;
|
|
15131
16012
|
referencedRelation: "users";
|
|
15132
16013
|
referencedColumns: ["id"];
|
|
15133
16014
|
},
|
|
15134
16015
|
{
|
|
15135
|
-
foreignKeyName: "
|
|
16016
|
+
foreignKeyName: "organizations_updated_by_fkey";
|
|
15136
16017
|
columns: ["updated_by"];
|
|
15137
16018
|
isOneToOne: false;
|
|
15138
16019
|
referencedRelation: "users";
|
|
@@ -15201,21 +16082,21 @@ export type FilesDatabase = {
|
|
|
15201
16082
|
referencedColumns: ["id"];
|
|
15202
16083
|
},
|
|
15203
16084
|
{
|
|
15204
|
-
foreignKeyName: "
|
|
16085
|
+
foreignKeyName: "permissions_created_by_fkey";
|
|
15205
16086
|
columns: ["created_by"];
|
|
15206
16087
|
isOneToOne: false;
|
|
15207
16088
|
referencedRelation: "users";
|
|
15208
16089
|
referencedColumns: ["id"];
|
|
15209
16090
|
},
|
|
15210
16091
|
{
|
|
15211
|
-
foreignKeyName: "
|
|
16092
|
+
foreignKeyName: "permissions_granted_to_user_id_fkey";
|
|
15212
16093
|
columns: ["granted_to_user_id"];
|
|
15213
16094
|
isOneToOne: false;
|
|
15214
16095
|
referencedRelation: "users";
|
|
15215
16096
|
referencedColumns: ["id"];
|
|
15216
16097
|
},
|
|
15217
16098
|
{
|
|
15218
|
-
foreignKeyName: "
|
|
16099
|
+
foreignKeyName: "permissions_reviewed_by_fkey";
|
|
15219
16100
|
columns: ["reviewed_by"];
|
|
15220
16101
|
isOneToOne: false;
|
|
15221
16102
|
referencedRelation: "users";
|
|
@@ -15223,6 +16104,103 @@ export type FilesDatabase = {
|
|
|
15223
16104
|
}
|
|
15224
16105
|
];
|
|
15225
16106
|
};
|
|
16107
|
+
personal_data_column: {
|
|
16108
|
+
Row: {
|
|
16109
|
+
column_name: string;
|
|
16110
|
+
created_at: string;
|
|
16111
|
+
created_by: string | null;
|
|
16112
|
+
handling: string;
|
|
16113
|
+
id: string;
|
|
16114
|
+
metadata: Json;
|
|
16115
|
+
organization_id: string;
|
|
16116
|
+
published_to_web: boolean;
|
|
16117
|
+
published_to_web_at: string | null;
|
|
16118
|
+
published_to_web_by: string | null;
|
|
16119
|
+
reason: string;
|
|
16120
|
+
replacement: string | null;
|
|
16121
|
+
schema_name: string;
|
|
16122
|
+
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
16123
|
+
subject_column: string | null;
|
|
16124
|
+
subject_filter: string | null;
|
|
16125
|
+
subject_match: string;
|
|
16126
|
+
table_name: string;
|
|
16127
|
+
updated_at: string;
|
|
16128
|
+
updated_by: string | null;
|
|
16129
|
+
version: number;
|
|
16130
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
16131
|
+
};
|
|
16132
|
+
Insert: {
|
|
16133
|
+
column_name: string;
|
|
16134
|
+
created_at?: string;
|
|
16135
|
+
created_by?: string | null;
|
|
16136
|
+
handling: string;
|
|
16137
|
+
id?: string;
|
|
16138
|
+
metadata?: Json;
|
|
16139
|
+
organization_id: string;
|
|
16140
|
+
published_to_web?: boolean;
|
|
16141
|
+
published_to_web_at?: string | null;
|
|
16142
|
+
published_to_web_by?: string | null;
|
|
16143
|
+
reason: string;
|
|
16144
|
+
replacement?: string | null;
|
|
16145
|
+
schema_name: string;
|
|
16146
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
16147
|
+
subject_column?: string | null;
|
|
16148
|
+
subject_filter?: string | null;
|
|
16149
|
+
subject_match?: string;
|
|
16150
|
+
table_name: string;
|
|
16151
|
+
updated_at?: string;
|
|
16152
|
+
updated_by?: string | null;
|
|
16153
|
+
version?: number;
|
|
16154
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
16155
|
+
};
|
|
16156
|
+
Update: {
|
|
16157
|
+
column_name?: string;
|
|
16158
|
+
created_at?: string;
|
|
16159
|
+
created_by?: string | null;
|
|
16160
|
+
handling?: string;
|
|
16161
|
+
id?: string;
|
|
16162
|
+
metadata?: Json;
|
|
16163
|
+
organization_id?: string;
|
|
16164
|
+
published_to_web?: boolean;
|
|
16165
|
+
published_to_web_at?: string | null;
|
|
16166
|
+
published_to_web_by?: string | null;
|
|
16167
|
+
reason?: string;
|
|
16168
|
+
replacement?: string | null;
|
|
16169
|
+
schema_name?: string;
|
|
16170
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
16171
|
+
subject_column?: string | null;
|
|
16172
|
+
subject_filter?: string | null;
|
|
16173
|
+
subject_match?: string;
|
|
16174
|
+
table_name?: string;
|
|
16175
|
+
updated_at?: string;
|
|
16176
|
+
updated_by?: string | null;
|
|
16177
|
+
version?: number;
|
|
16178
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
16179
|
+
};
|
|
16180
|
+
Relationships: [
|
|
16181
|
+
{
|
|
16182
|
+
foreignKeyName: "personal_data_column_created_by_fkey";
|
|
16183
|
+
columns: ["created_by"];
|
|
16184
|
+
isOneToOne: false;
|
|
16185
|
+
referencedRelation: "users";
|
|
16186
|
+
referencedColumns: ["id"];
|
|
16187
|
+
},
|
|
16188
|
+
{
|
|
16189
|
+
foreignKeyName: "personal_data_column_organization_id_fkey";
|
|
16190
|
+
columns: ["organization_id"];
|
|
16191
|
+
isOneToOne: false;
|
|
16192
|
+
referencedRelation: "organizations";
|
|
16193
|
+
referencedColumns: ["id"];
|
|
16194
|
+
},
|
|
16195
|
+
{
|
|
16196
|
+
foreignKeyName: "personal_data_column_updated_by_fkey";
|
|
16197
|
+
columns: ["updated_by"];
|
|
16198
|
+
isOneToOne: false;
|
|
16199
|
+
referencedRelation: "users";
|
|
16200
|
+
referencedColumns: ["id"];
|
|
16201
|
+
}
|
|
16202
|
+
];
|
|
16203
|
+
};
|
|
15226
16204
|
publish_binding: {
|
|
15227
16205
|
Row: {
|
|
15228
16206
|
bound_at: string;
|
|
@@ -15643,7 +16621,7 @@ export type FilesDatabase = {
|
|
|
15643
16621
|
};
|
|
15644
16622
|
Relationships: [
|
|
15645
16623
|
{
|
|
15646
|
-
foreignKeyName: "
|
|
16624
|
+
foreignKeyName: "memberships_invited_by_fkey";
|
|
15647
16625
|
columns: ["invited_by"];
|
|
15648
16626
|
isOneToOne: false;
|
|
15649
16627
|
referencedRelation: "users";
|
|
@@ -15657,7 +16635,7 @@ export type FilesDatabase = {
|
|
|
15657
16635
|
referencedColumns: ["id"];
|
|
15658
16636
|
},
|
|
15659
16637
|
{
|
|
15660
|
-
foreignKeyName: "
|
|
16638
|
+
foreignKeyName: "memberships_user_id_fkey";
|
|
15661
16639
|
columns: ["user_id"];
|
|
15662
16640
|
isOneToOne: false;
|
|
15663
16641
|
referencedRelation: "users";
|
|
@@ -16153,6 +17131,12 @@ export type FilesDatabase = {
|
|
|
16153
17131
|
Args: never;
|
|
16154
17132
|
Returns: string[];
|
|
16155
17133
|
};
|
|
17134
|
+
arm_fixture_delete: {
|
|
17135
|
+
Args: {
|
|
17136
|
+
p_ids: string[];
|
|
17137
|
+
};
|
|
17138
|
+
Returns: number;
|
|
17139
|
+
};
|
|
16156
17140
|
asks_about_caller: {
|
|
16157
17141
|
Args: {
|
|
16158
17142
|
p_function?: string;
|
|
@@ -16334,6 +17318,13 @@ export type FilesDatabase = {
|
|
|
16334
17318
|
};
|
|
16335
17319
|
Returns: boolean;
|
|
16336
17320
|
};
|
|
17321
|
+
close_account: {
|
|
17322
|
+
Args: {
|
|
17323
|
+
p_reason?: string;
|
|
17324
|
+
p_user?: string;
|
|
17325
|
+
};
|
|
17326
|
+
Returns: Json;
|
|
17327
|
+
};
|
|
16337
17328
|
component_original_lane: {
|
|
16338
17329
|
Args: {
|
|
16339
17330
|
p_schema: string;
|
|
@@ -16377,12 +17368,6 @@ export type FilesDatabase = {
|
|
|
16377
17368
|
};
|
|
16378
17369
|
Returns: string;
|
|
16379
17370
|
};
|
|
16380
|
-
default_organization_id: {
|
|
16381
|
-
Args: {
|
|
16382
|
-
p_user_id: string;
|
|
16383
|
-
};
|
|
16384
|
-
Returns: string;
|
|
16385
|
-
};
|
|
16386
17371
|
derive_organization_abbreviation: {
|
|
16387
17372
|
Args: {
|
|
16388
17373
|
p_name: string;
|
|
@@ -16531,6 +17516,13 @@ export type FilesDatabase = {
|
|
|
16531
17516
|
user_id: string;
|
|
16532
17517
|
}[];
|
|
16533
17518
|
};
|
|
17519
|
+
erase_account: {
|
|
17520
|
+
Args: {
|
|
17521
|
+
p_request_ref: string;
|
|
17522
|
+
p_user: string;
|
|
17523
|
+
};
|
|
17524
|
+
Returns: Json;
|
|
17525
|
+
};
|
|
16534
17526
|
external_principal_card: {
|
|
16535
17527
|
Args: {
|
|
16536
17528
|
p_user_id?: string;
|
|
@@ -16672,6 +17664,31 @@ export type FilesDatabase = {
|
|
|
16672
17664
|
};
|
|
16673
17665
|
Returns: boolean;
|
|
16674
17666
|
};
|
|
17667
|
+
has_access_for_many: {
|
|
17668
|
+
Args: {
|
|
17669
|
+
p_level: string;
|
|
17670
|
+
p_person: string;
|
|
17671
|
+
p_targets: string[];
|
|
17672
|
+
p_type?: string;
|
|
17673
|
+
};
|
|
17674
|
+
Returns: {
|
|
17675
|
+
allowed: boolean;
|
|
17676
|
+
target: string;
|
|
17677
|
+
}[];
|
|
17678
|
+
};
|
|
17679
|
+
has_access_for_shadow: {
|
|
17680
|
+
Args: {
|
|
17681
|
+
p_caller?: string;
|
|
17682
|
+
p_level: string;
|
|
17683
|
+
p_person: string;
|
|
17684
|
+
p_targets: string[];
|
|
17685
|
+
p_type?: string;
|
|
17686
|
+
};
|
|
17687
|
+
Returns: {
|
|
17688
|
+
allowed: boolean;
|
|
17689
|
+
target: string;
|
|
17690
|
+
}[];
|
|
17691
|
+
};
|
|
16675
17692
|
has_org_access: {
|
|
16676
17693
|
Args: {
|
|
16677
17694
|
p_org: string;
|
|
@@ -16783,6 +17800,12 @@ export type FilesDatabase = {
|
|
|
16783
17800
|
Args: never;
|
|
16784
17801
|
Returns: boolean;
|
|
16785
17802
|
};
|
|
17803
|
+
kernel_shadow_on: {
|
|
17804
|
+
Args: {
|
|
17805
|
+
p_person: string;
|
|
17806
|
+
};
|
|
17807
|
+
Returns: boolean;
|
|
17808
|
+
};
|
|
16786
17809
|
lane_of: {
|
|
16787
17810
|
Args: {
|
|
16788
17811
|
p_resource_id: string;
|
|
@@ -17105,6 +18128,14 @@ export type FilesDatabase = {
|
|
|
17105
18128
|
why: string;
|
|
17106
18129
|
}[];
|
|
17107
18130
|
};
|
|
18131
|
+
personal_data_unregistered: {
|
|
18132
|
+
Args: never;
|
|
18133
|
+
Returns: {
|
|
18134
|
+
column_name: string;
|
|
18135
|
+
schema_name: string;
|
|
18136
|
+
table_name: string;
|
|
18137
|
+
}[];
|
|
18138
|
+
};
|
|
17108
18139
|
personal_opens_row: {
|
|
17109
18140
|
Args: {
|
|
17110
18141
|
p_id: string;
|
|
@@ -17351,6 +18382,13 @@ export type FilesDatabase = {
|
|
|
17351
18382
|
};
|
|
17352
18383
|
Returns: Json;
|
|
17353
18384
|
};
|
|
18385
|
+
reopen_account: {
|
|
18386
|
+
Args: {
|
|
18387
|
+
p_reason?: string;
|
|
18388
|
+
p_user: string;
|
|
18389
|
+
};
|
|
18390
|
+
Returns: Json;
|
|
18391
|
+
};
|
|
17354
18392
|
reserved_namespace: {
|
|
17355
18393
|
Args: never;
|
|
17356
18394
|
Returns: {
|
|
@@ -18748,6 +19786,7 @@ export type FilesDatabase = {
|
|
|
18748
19786
|
container_side: string;
|
|
18749
19787
|
conveys_max: Database["public"]["Enums"]["permission_level"];
|
|
18750
19788
|
created_at: string;
|
|
19789
|
+
id: string;
|
|
18751
19790
|
is_active: boolean;
|
|
18752
19791
|
label: string | null;
|
|
18753
19792
|
notes: string | null;
|
|
@@ -18761,6 +19800,7 @@ export type FilesDatabase = {
|
|
|
18761
19800
|
container_side?: string;
|
|
18762
19801
|
conveys_max?: Database["public"]["Enums"]["permission_level"];
|
|
18763
19802
|
created_at?: string;
|
|
19803
|
+
id?: string;
|
|
18764
19804
|
is_active?: boolean;
|
|
18765
19805
|
label?: string | null;
|
|
18766
19806
|
notes?: string | null;
|
|
@@ -18774,6 +19814,7 @@ export type FilesDatabase = {
|
|
|
18774
19814
|
container_side?: string;
|
|
18775
19815
|
conveys_max?: Database["public"]["Enums"]["permission_level"];
|
|
18776
19816
|
created_at?: string;
|
|
19817
|
+
id?: string;
|
|
18777
19818
|
is_active?: boolean;
|
|
18778
19819
|
label?: string | null;
|
|
18779
19820
|
notes?: string | null;
|
|
@@ -20337,6 +21378,108 @@ export type FilesDatabase = {
|
|
|
20337
21378
|
};
|
|
20338
21379
|
Relationships: [];
|
|
20339
21380
|
};
|
|
21381
|
+
device_handoff: {
|
|
21382
|
+
Row: {
|
|
21383
|
+
completed_at: string | null;
|
|
21384
|
+
created_at: string;
|
|
21385
|
+
created_by: string | null;
|
|
21386
|
+
deleted_at: string | null;
|
|
21387
|
+
envelope_id: string | null;
|
|
21388
|
+
expires_at: string;
|
|
21389
|
+
id: string;
|
|
21390
|
+
ip: unknown;
|
|
21391
|
+
metadata: Json;
|
|
21392
|
+
method: string | null;
|
|
21393
|
+
opened_at: string | null;
|
|
21394
|
+
organization_id: string;
|
|
21395
|
+
phone_last4: string | null;
|
|
21396
|
+
published_to_web: boolean;
|
|
21397
|
+
published_to_web_at: string | null;
|
|
21398
|
+
published_to_web_by: string | null;
|
|
21399
|
+
purpose: string;
|
|
21400
|
+
result_file_id: string | null;
|
|
21401
|
+
secret_hash: string;
|
|
21402
|
+
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
21403
|
+
status: string;
|
|
21404
|
+
strokes: Json | null;
|
|
21405
|
+
subject_id: string | null;
|
|
21406
|
+
subject_type: string | null;
|
|
21407
|
+
target: string | null;
|
|
21408
|
+
texts_sent: number;
|
|
21409
|
+
updated_at: string;
|
|
21410
|
+
updated_by: string | null;
|
|
21411
|
+
user_agent: string | null;
|
|
21412
|
+
version: number;
|
|
21413
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
21414
|
+
};
|
|
21415
|
+
Insert: {
|
|
21416
|
+
completed_at?: string | null;
|
|
21417
|
+
created_at?: string;
|
|
21418
|
+
created_by?: string | null;
|
|
21419
|
+
deleted_at?: string | null;
|
|
21420
|
+
envelope_id?: string | null;
|
|
21421
|
+
expires_at: string;
|
|
21422
|
+
id?: string;
|
|
21423
|
+
ip?: unknown;
|
|
21424
|
+
metadata?: Json;
|
|
21425
|
+
method?: string | null;
|
|
21426
|
+
opened_at?: string | null;
|
|
21427
|
+
organization_id: string;
|
|
21428
|
+
phone_last4?: string | null;
|
|
21429
|
+
published_to_web?: boolean;
|
|
21430
|
+
published_to_web_at?: string | null;
|
|
21431
|
+
published_to_web_by?: string | null;
|
|
21432
|
+
purpose: string;
|
|
21433
|
+
result_file_id?: string | null;
|
|
21434
|
+
secret_hash: string;
|
|
21435
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
21436
|
+
status?: string;
|
|
21437
|
+
strokes?: Json | null;
|
|
21438
|
+
subject_id?: string | null;
|
|
21439
|
+
subject_type?: string | null;
|
|
21440
|
+
target?: string | null;
|
|
21441
|
+
texts_sent?: number;
|
|
21442
|
+
updated_at?: string;
|
|
21443
|
+
updated_by?: string | null;
|
|
21444
|
+
user_agent?: string | null;
|
|
21445
|
+
version?: number;
|
|
21446
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
21447
|
+
};
|
|
21448
|
+
Update: {
|
|
21449
|
+
completed_at?: string | null;
|
|
21450
|
+
created_at?: string;
|
|
21451
|
+
created_by?: string | null;
|
|
21452
|
+
deleted_at?: string | null;
|
|
21453
|
+
envelope_id?: string | null;
|
|
21454
|
+
expires_at?: string;
|
|
21455
|
+
id?: string;
|
|
21456
|
+
ip?: unknown;
|
|
21457
|
+
metadata?: Json;
|
|
21458
|
+
method?: string | null;
|
|
21459
|
+
opened_at?: string | null;
|
|
21460
|
+
organization_id?: string;
|
|
21461
|
+
phone_last4?: string | null;
|
|
21462
|
+
published_to_web?: boolean;
|
|
21463
|
+
published_to_web_at?: string | null;
|
|
21464
|
+
published_to_web_by?: string | null;
|
|
21465
|
+
purpose?: string;
|
|
21466
|
+
result_file_id?: string | null;
|
|
21467
|
+
secret_hash?: string;
|
|
21468
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
21469
|
+
status?: string;
|
|
21470
|
+
strokes?: Json | null;
|
|
21471
|
+
subject_id?: string | null;
|
|
21472
|
+
subject_type?: string | null;
|
|
21473
|
+
target?: string | null;
|
|
21474
|
+
texts_sent?: number;
|
|
21475
|
+
updated_at?: string;
|
|
21476
|
+
updated_by?: string | null;
|
|
21477
|
+
user_agent?: string | null;
|
|
21478
|
+
version?: number;
|
|
21479
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
21480
|
+
};
|
|
21481
|
+
Relationships: [];
|
|
21482
|
+
};
|
|
20340
21483
|
domain_classification: {
|
|
20341
21484
|
Row: {
|
|
20342
21485
|
authority: number | null;
|
|
@@ -23104,6 +24247,7 @@ export type FilesDatabase = {
|
|
|
23104
24247
|
published_to_web_by: string | null;
|
|
23105
24248
|
readable_columns: string[];
|
|
23106
24249
|
resource: string;
|
|
24250
|
+
session_sliding: boolean;
|
|
23107
24251
|
session_ttl_minutes: number;
|
|
23108
24252
|
shown_to: Database["platform"]["Enums"]["shown_to"] | null;
|
|
23109
24253
|
updated_at: string;
|
|
@@ -23137,6 +24281,7 @@ export type FilesDatabase = {
|
|
|
23137
24281
|
published_to_web_by?: string | null;
|
|
23138
24282
|
readable_columns?: string[];
|
|
23139
24283
|
resource: string;
|
|
24284
|
+
session_sliding?: boolean;
|
|
23140
24285
|
session_ttl_minutes?: number;
|
|
23141
24286
|
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
23142
24287
|
updated_at?: string;
|
|
@@ -23170,6 +24315,7 @@ export type FilesDatabase = {
|
|
|
23170
24315
|
published_to_web_by?: string | null;
|
|
23171
24316
|
readable_columns?: string[];
|
|
23172
24317
|
resource?: string;
|
|
24318
|
+
session_sliding?: boolean;
|
|
23173
24319
|
session_ttl_minutes?: number;
|
|
23174
24320
|
shown_to?: Database["platform"]["Enums"]["shown_to"] | null;
|
|
23175
24321
|
updated_at?: string;
|
|
@@ -23470,6 +24616,84 @@ export type FilesDatabase = {
|
|
|
23470
24616
|
};
|
|
23471
24617
|
Relationships: [];
|
|
23472
24618
|
};
|
|
24619
|
+
public_compat_wrapper: {
|
|
24620
|
+
Row: {
|
|
24621
|
+
created_at: string;
|
|
24622
|
+
expires_at: string;
|
|
24623
|
+
forwarder_oid: unknown;
|
|
24624
|
+
identity: string;
|
|
24625
|
+
owner_schema: string;
|
|
24626
|
+
};
|
|
24627
|
+
Insert: {
|
|
24628
|
+
created_at?: string;
|
|
24629
|
+
expires_at: string;
|
|
24630
|
+
forwarder_oid?: unknown;
|
|
24631
|
+
identity: string;
|
|
24632
|
+
owner_schema: string;
|
|
24633
|
+
};
|
|
24634
|
+
Update: {
|
|
24635
|
+
created_at?: string;
|
|
24636
|
+
expires_at?: string;
|
|
24637
|
+
forwarder_oid?: unknown;
|
|
24638
|
+
identity?: string;
|
|
24639
|
+
owner_schema?: string;
|
|
24640
|
+
};
|
|
24641
|
+
Relationships: [];
|
|
24642
|
+
};
|
|
24643
|
+
public_placement_baseline: {
|
|
24644
|
+
Row: {
|
|
24645
|
+
identity: string;
|
|
24646
|
+
object_type: string;
|
|
24647
|
+
taken_at: string;
|
|
24648
|
+
};
|
|
24649
|
+
Insert: {
|
|
24650
|
+
identity: string;
|
|
24651
|
+
object_type: string;
|
|
24652
|
+
taken_at?: string;
|
|
24653
|
+
};
|
|
24654
|
+
Update: {
|
|
24655
|
+
identity?: string;
|
|
24656
|
+
object_type?: string;
|
|
24657
|
+
taken_at?: string;
|
|
24658
|
+
};
|
|
24659
|
+
Relationships: [];
|
|
24660
|
+
};
|
|
24661
|
+
public_placement_domain: {
|
|
24662
|
+
Row: {
|
|
24663
|
+
prefix: string;
|
|
24664
|
+
schema_name: string;
|
|
24665
|
+
};
|
|
24666
|
+
Insert: {
|
|
24667
|
+
prefix: string;
|
|
24668
|
+
schema_name: string;
|
|
24669
|
+
};
|
|
24670
|
+
Update: {
|
|
24671
|
+
prefix?: string;
|
|
24672
|
+
schema_name?: string;
|
|
24673
|
+
};
|
|
24674
|
+
Relationships: [];
|
|
24675
|
+
};
|
|
24676
|
+
public_restore_permit: {
|
|
24677
|
+
Row: {
|
|
24678
|
+
approved_by: string;
|
|
24679
|
+
expires_at: string;
|
|
24680
|
+
identity: string;
|
|
24681
|
+
reason: string;
|
|
24682
|
+
};
|
|
24683
|
+
Insert: {
|
|
24684
|
+
approved_by: string;
|
|
24685
|
+
expires_at: string;
|
|
24686
|
+
identity: string;
|
|
24687
|
+
reason: string;
|
|
24688
|
+
};
|
|
24689
|
+
Update: {
|
|
24690
|
+
approved_by?: string;
|
|
24691
|
+
expires_at?: string;
|
|
24692
|
+
identity?: string;
|
|
24693
|
+
reason?: string;
|
|
24694
|
+
};
|
|
24695
|
+
Relationships: [];
|
|
24696
|
+
};
|
|
23473
24697
|
purpose: {
|
|
23474
24698
|
Row: {
|
|
23475
24699
|
created_at: string;
|
|
@@ -25789,6 +27013,13 @@ export type FilesDatabase = {
|
|
|
25789
27013
|
};
|
|
25790
27014
|
Returns: Json;
|
|
25791
27015
|
};
|
|
27016
|
+
_device_handoff_live: {
|
|
27017
|
+
Args: {
|
|
27018
|
+
p_expires_at: string;
|
|
27019
|
+
p_status: string;
|
|
27020
|
+
};
|
|
27021
|
+
Returns: boolean;
|
|
27022
|
+
};
|
|
25792
27023
|
_door_follows_its_function_impl: {
|
|
25793
27024
|
Args: {
|
|
25794
27025
|
p_schemas: string[];
|
|
@@ -27792,6 +29023,64 @@ export type FilesDatabase = {
|
|
|
27792
29023
|
type_value: string;
|
|
27793
29024
|
}[];
|
|
27794
29025
|
};
|
|
29026
|
+
device_handoff_cancel: {
|
|
29027
|
+
Args: {
|
|
29028
|
+
p_handoff_id: string;
|
|
29029
|
+
p_subject_id: string;
|
|
29030
|
+
};
|
|
29031
|
+
Returns: Json;
|
|
29032
|
+
};
|
|
29033
|
+
device_handoff_complete: {
|
|
29034
|
+
Args: {
|
|
29035
|
+
p_image_file_id: string;
|
|
29036
|
+
p_ip: unknown;
|
|
29037
|
+
p_method: string;
|
|
29038
|
+
p_secret: string;
|
|
29039
|
+
p_strokes: Json;
|
|
29040
|
+
p_ua: string;
|
|
29041
|
+
};
|
|
29042
|
+
Returns: Json;
|
|
29043
|
+
};
|
|
29044
|
+
device_handoff_open: {
|
|
29045
|
+
Args: {
|
|
29046
|
+
p_ip: unknown;
|
|
29047
|
+
p_secret: string;
|
|
29048
|
+
p_ua: string;
|
|
29049
|
+
};
|
|
29050
|
+
Returns: Json;
|
|
29051
|
+
};
|
|
29052
|
+
device_handoff_start: {
|
|
29053
|
+
Args: {
|
|
29054
|
+
p_envelope_id: string;
|
|
29055
|
+
p_organization_id: string;
|
|
29056
|
+
p_path: string;
|
|
29057
|
+
p_purpose: string;
|
|
29058
|
+
p_subject_id: string;
|
|
29059
|
+
p_subject_type: string;
|
|
29060
|
+
p_target: string;
|
|
29061
|
+
p_ttl_minutes: number;
|
|
29062
|
+
};
|
|
29063
|
+
Returns: Json;
|
|
29064
|
+
};
|
|
29065
|
+
device_handoff_status: {
|
|
29066
|
+
Args: {
|
|
29067
|
+
p_handoff_id: string;
|
|
29068
|
+
p_subject_id: string;
|
|
29069
|
+
};
|
|
29070
|
+
Returns: Json;
|
|
29071
|
+
};
|
|
29072
|
+
device_handoff_text: {
|
|
29073
|
+
Args: {
|
|
29074
|
+
p_handoff_id: string;
|
|
29075
|
+
p_ip: unknown;
|
|
29076
|
+
p_per_ip_per_day: number;
|
|
29077
|
+
p_per_subject: number;
|
|
29078
|
+
p_phone: string;
|
|
29079
|
+
p_secret: string;
|
|
29080
|
+
p_subject_id: string;
|
|
29081
|
+
};
|
|
29082
|
+
Returns: Json;
|
|
29083
|
+
};
|
|
27795
29084
|
doctrine_shape_vocabulary: {
|
|
27796
29085
|
Args: never;
|
|
27797
29086
|
Returns: {
|
|
@@ -27907,6 +29196,14 @@ export type FilesDatabase = {
|
|
|
27907
29196
|
Args: never;
|
|
27908
29197
|
Returns: Json;
|
|
27909
29198
|
};
|
|
29199
|
+
drill_def__tool_refetch: {
|
|
29200
|
+
Args: never;
|
|
29201
|
+
Returns: Json;
|
|
29202
|
+
};
|
|
29203
|
+
drill_def__user_acquisition: {
|
|
29204
|
+
Args: never;
|
|
29205
|
+
Returns: Json;
|
|
29206
|
+
};
|
|
27910
29207
|
drill_def__workflow_runs: {
|
|
27911
29208
|
Args: never;
|
|
27912
29209
|
Returns: Json;
|
|
@@ -28119,6 +29416,20 @@ export type FilesDatabase = {
|
|
|
28119
29416
|
};
|
|
28120
29417
|
Returns: Json;
|
|
28121
29418
|
};
|
|
29419
|
+
entity_usage: {
|
|
29420
|
+
Args: {
|
|
29421
|
+
p_entity: string;
|
|
29422
|
+
p_ids: string[];
|
|
29423
|
+
};
|
|
29424
|
+
Returns: {
|
|
29425
|
+
entity_id: string;
|
|
29426
|
+
failure_count: number;
|
|
29427
|
+
last_used_at: string;
|
|
29428
|
+
run_count: number;
|
|
29429
|
+
success_count: number;
|
|
29430
|
+
total_cost: number;
|
|
29431
|
+
}[];
|
|
29432
|
+
};
|
|
28122
29433
|
extensibility_knob: {
|
|
28123
29434
|
Args: {
|
|
28124
29435
|
p_definition_id?: string;
|
|
@@ -28235,10 +29546,18 @@ export type FilesDatabase = {
|
|
|
28235
29546
|
Args: never;
|
|
28236
29547
|
Returns: Json;
|
|
28237
29548
|
};
|
|
29549
|
+
kernel_fingerprint_status: {
|
|
29550
|
+
Args: never;
|
|
29551
|
+
Returns: Json;
|
|
29552
|
+
};
|
|
28238
29553
|
kernel_fixture_tokens: {
|
|
28239
29554
|
Args: never;
|
|
28240
29555
|
Returns: string[];
|
|
28241
29556
|
};
|
|
29557
|
+
kernel_follow_now: {
|
|
29558
|
+
Args: never;
|
|
29559
|
+
Returns: Json;
|
|
29560
|
+
};
|
|
28242
29561
|
knob_archive: {
|
|
28243
29562
|
Args: {
|
|
28244
29563
|
p_feature: string;
|
|
@@ -31932,13 +33251,6 @@ export type FilesDatabase = {
|
|
|
31932
33251
|
slug: string;
|
|
31933
33252
|
}[];
|
|
31934
33253
|
};
|
|
31935
|
-
_d31_impl_add_data_row_to_user_table: {
|
|
31936
|
-
Args: {
|
|
31937
|
-
p_data: Json;
|
|
31938
|
-
p_table_id: string;
|
|
31939
|
-
};
|
|
31940
|
-
Returns: Json;
|
|
31941
|
-
};
|
|
31942
33254
|
_d31_impl_add_feedback_comment: {
|
|
31943
33255
|
Args: {
|
|
31944
33256
|
p_author_name: string;
|
|
@@ -32015,14 +33327,6 @@ export type FilesDatabase = {
|
|
|
32015
33327
|
isSetofReturn: true;
|
|
32016
33328
|
};
|
|
32017
33329
|
};
|
|
32018
|
-
_d31_impl_get_user_table_complete: {
|
|
32019
|
-
Args: {
|
|
32020
|
-
p_sort_direction?: string;
|
|
32021
|
-
p_sort_field?: string;
|
|
32022
|
-
p_table_id: string;
|
|
32023
|
-
};
|
|
32024
|
-
Returns: Json;
|
|
32025
|
-
};
|
|
32026
33330
|
_d31_impl_reply_to_user_review: {
|
|
32027
33331
|
Args: {
|
|
32028
33332
|
p_feedback_id: string;
|
|
@@ -32041,36 +33345,6 @@ export type FilesDatabase = {
|
|
|
32041
33345
|
};
|
|
32042
33346
|
Returns: Json;
|
|
32043
33347
|
};
|
|
32044
|
-
_d31_impl_update_user_list: {
|
|
32045
|
-
Args: {
|
|
32046
|
-
p_authenticated_read?: boolean;
|
|
32047
|
-
p_description?: string;
|
|
32048
|
-
p_is_public?: boolean;
|
|
32049
|
-
p_items?: Json;
|
|
32050
|
-
p_list_id: string;
|
|
32051
|
-
p_list_name?: string;
|
|
32052
|
-
p_public_read?: boolean;
|
|
32053
|
-
};
|
|
32054
|
-
Returns: Json;
|
|
32055
|
-
};
|
|
32056
|
-
_d31_impl_update_user_table_config: {
|
|
32057
|
-
Args: {
|
|
32058
|
-
p_field_updates?: Json;
|
|
32059
|
-
p_table_id: string;
|
|
32060
|
-
p_table_updates?: Json;
|
|
32061
|
-
};
|
|
32062
|
-
Returns: Json;
|
|
32063
|
-
};
|
|
32064
|
-
_d31_impl_update_user_table_metadata: {
|
|
32065
|
-
Args: {
|
|
32066
|
-
p_authenticated_read?: boolean;
|
|
32067
|
-
p_description?: string;
|
|
32068
|
-
p_is_public?: boolean;
|
|
32069
|
-
p_table_id: string;
|
|
32070
|
-
p_table_name?: string;
|
|
32071
|
-
};
|
|
32072
|
-
Returns: Json;
|
|
32073
|
-
};
|
|
32074
33348
|
_dict_context_owner_org: {
|
|
32075
33349
|
Args: {
|
|
32076
33350
|
p_level: string;
|
|
@@ -32100,7 +33374,7 @@ export type FilesDatabase = {
|
|
|
32100
33374
|
} & "Could not choose the best candidate function between: public._edu_access_mode(p_scope => scopes), public._edu_access_mode(p_scope => _edu_class_row). Try renaming the parameters or the function itself in the database so function overloading can be resolved";
|
|
32101
33375
|
} | {
|
|
32102
33376
|
Args: {
|
|
32103
|
-
p_scope: Database["
|
|
33377
|
+
p_scope: Database["deprecated"]["Tables"]["scopes"]["Row"];
|
|
32104
33378
|
};
|
|
32105
33379
|
Returns: {
|
|
32106
33380
|
error: true;
|
|
@@ -32153,7 +33427,7 @@ export type FilesDatabase = {
|
|
|
32153
33427
|
} & "Could not choose the best candidate function between: public._edu_ensure_owner_membership(p_scope => scopes), public._edu_ensure_owner_membership(p_scope => _edu_class_row). Try renaming the parameters or the function itself in the database so function overloading can be resolved";
|
|
32154
33428
|
} | {
|
|
32155
33429
|
Args: {
|
|
32156
|
-
p_scope: Database["
|
|
33430
|
+
p_scope: Database["deprecated"]["Tables"]["scopes"]["Row"];
|
|
32157
33431
|
};
|
|
32158
33432
|
Returns: {
|
|
32159
33433
|
error: true;
|
|
@@ -32185,7 +33459,7 @@ export type FilesDatabase = {
|
|
|
32185
33459
|
} & "Could not choose the best candidate function between: public._edu_is_owner(p_scope => scopes), public._edu_is_owner(p_scope => _edu_class_row). Try renaming the parameters or the function itself in the database so function overloading can be resolved";
|
|
32186
33460
|
} | {
|
|
32187
33461
|
Args: {
|
|
32188
|
-
p_scope: Database["
|
|
33462
|
+
p_scope: Database["deprecated"]["Tables"]["scopes"]["Row"];
|
|
32189
33463
|
};
|
|
32190
33464
|
Returns: {
|
|
32191
33465
|
error: true;
|
|
@@ -33619,15 +34893,6 @@ export type FilesDatabase = {
|
|
|
33619
34893
|
};
|
|
33620
34894
|
Returns: undefined;
|
|
33621
34895
|
};
|
|
33622
|
-
agx_duplicate_agent: {
|
|
33623
|
-
Args: {
|
|
33624
|
-
p_agent_id: string;
|
|
33625
|
-
p_as_system?: boolean;
|
|
33626
|
-
p_follows_source?: boolean;
|
|
33627
|
-
p_organization_id?: string;
|
|
33628
|
-
};
|
|
33629
|
-
Returns: string;
|
|
33630
|
-
};
|
|
33631
34896
|
agx_duplicate_shortcut: {
|
|
33632
34897
|
Args: {
|
|
33633
34898
|
p_organization_id?: string;
|
|
@@ -33642,14 +34907,6 @@ export type FilesDatabase = {
|
|
|
33642
34907
|
};
|
|
33643
34908
|
Returns: string;
|
|
33644
34909
|
};
|
|
33645
|
-
agx_duplicate_version: {
|
|
33646
|
-
Args: {
|
|
33647
|
-
p_as_system?: boolean;
|
|
33648
|
-
p_organization_id?: string;
|
|
33649
|
-
p_version_id: string;
|
|
33650
|
-
};
|
|
33651
|
-
Returns: string;
|
|
33652
|
-
};
|
|
33653
34910
|
agx_escape_regex: {
|
|
33654
34911
|
Args: {
|
|
33655
34912
|
p: string;
|
|
@@ -34263,20 +35520,25 @@ export type FilesDatabase = {
|
|
|
34263
35520
|
created_by: string;
|
|
34264
35521
|
custom_fields: Json;
|
|
34265
35522
|
description: string;
|
|
35523
|
+
failure_count: number;
|
|
34266
35524
|
id: string;
|
|
34267
35525
|
is_active: boolean;
|
|
34268
35526
|
is_archived: boolean;
|
|
34269
35527
|
is_favorite: boolean;
|
|
34270
35528
|
is_owner: boolean;
|
|
35529
|
+
last_used_at: string;
|
|
34271
35530
|
model_id: string;
|
|
34272
35531
|
name: string;
|
|
34273
35532
|
offering_id: string;
|
|
34274
35533
|
organization_id: string;
|
|
34275
35534
|
organization_name: string;
|
|
34276
35535
|
owner_email: string;
|
|
35536
|
+
run_count: number;
|
|
34277
35537
|
source_agent_id: string;
|
|
35538
|
+
success_count: number;
|
|
34278
35539
|
tags: string[];
|
|
34279
35540
|
task_id: string;
|
|
35541
|
+
total_cost: number;
|
|
34280
35542
|
total_count: number;
|
|
34281
35543
|
updated_at: string;
|
|
34282
35544
|
version: number;
|
|
@@ -34639,6 +35901,18 @@ export type FilesDatabase = {
|
|
|
34639
35901
|
};
|
|
34640
35902
|
Returns: Json;
|
|
34641
35903
|
};
|
|
35904
|
+
applet_public_intro: {
|
|
35905
|
+
Args: {
|
|
35906
|
+
p_slug: string;
|
|
35907
|
+
};
|
|
35908
|
+
Returns: Json;
|
|
35909
|
+
};
|
|
35910
|
+
applets_public: {
|
|
35911
|
+
Args: {
|
|
35912
|
+
p_templates_only?: boolean;
|
|
35913
|
+
};
|
|
35914
|
+
Returns: Json;
|
|
35915
|
+
};
|
|
34642
35916
|
apply_template_definition: {
|
|
34643
35917
|
Args: {
|
|
34644
35918
|
p_definition: Json;
|
|
@@ -35081,21 +36355,6 @@ export type FilesDatabase = {
|
|
|
35081
36355
|
};
|
|
35082
36356
|
Returns: boolean;
|
|
35083
36357
|
};
|
|
35084
|
-
check_prompt_app_drift: {
|
|
35085
|
-
Args: {
|
|
35086
|
-
p_user_id?: string;
|
|
35087
|
-
};
|
|
35088
|
-
Returns: {
|
|
35089
|
-
app_id: string;
|
|
35090
|
-
app_name: string;
|
|
35091
|
-
current_version: number;
|
|
35092
|
-
pinned_version: number;
|
|
35093
|
-
prompt_id: string;
|
|
35094
|
-
prompt_name: string;
|
|
35095
|
-
prompt_source_type: string;
|
|
35096
|
-
versions_behind: number;
|
|
35097
|
-
}[];
|
|
35098
|
-
};
|
|
35099
36358
|
check_rate_limit: {
|
|
35100
36359
|
Args: {
|
|
35101
36360
|
p_app_id: string;
|
|
@@ -37624,8 +38883,6 @@ export type FilesDatabase = {
|
|
|
37624
38883
|
p_slug?: string;
|
|
37625
38884
|
};
|
|
37626
38885
|
Returns: {
|
|
37627
|
-
agent_id: string;
|
|
37628
|
-
agent_version_id: string;
|
|
37629
38886
|
allowed_imports: Json;
|
|
37630
38887
|
category: string;
|
|
37631
38888
|
component_code: string;
|
|
@@ -37634,41 +38891,15 @@ export type FilesDatabase = {
|
|
|
37634
38891
|
favicon_url: string;
|
|
37635
38892
|
id: string;
|
|
37636
38893
|
layout_config: Json;
|
|
37637
|
-
mandate_agent_id: string;
|
|
37638
|
-
mandate_agent_version_id: string;
|
|
37639
|
-
mandate_id: string;
|
|
37640
|
-
mandate_key: string;
|
|
37641
38894
|
name: string;
|
|
37642
38895
|
preview_image_url: string;
|
|
37643
38896
|
publisher_name: string;
|
|
37644
|
-
shell_config: Json;
|
|
37645
|
-
shell_kind: string;
|
|
37646
|
-
slot_code: Json;
|
|
37647
|
-
slot_overrides: Json;
|
|
37648
38897
|
slug: string;
|
|
37649
38898
|
styling_config: Json;
|
|
37650
38899
|
success_rate: number;
|
|
37651
38900
|
tagline: string;
|
|
37652
38901
|
tags: string[];
|
|
37653
38902
|
total_executions: number;
|
|
37654
|
-
use_latest: boolean;
|
|
37655
|
-
variable_schema: Json;
|
|
37656
|
-
}[];
|
|
37657
|
-
};
|
|
37658
|
-
get_aga_public_execution: {
|
|
37659
|
-
Args: {
|
|
37660
|
-
p_app_id: string;
|
|
37661
|
-
};
|
|
37662
|
-
Returns: {
|
|
37663
|
-
auto_context_disabled: boolean;
|
|
37664
|
-
context_policies: Json;
|
|
37665
|
-
custom_tools: Json;
|
|
37666
|
-
id: string;
|
|
37667
|
-
model_id: string;
|
|
37668
|
-
settings: Json;
|
|
37669
|
-
tools: string[];
|
|
37670
|
-
ui_gates: Json;
|
|
37671
|
-
variable_definitions: Json;
|
|
37672
38903
|
}[];
|
|
37673
38904
|
};
|
|
37674
38905
|
get_agent_conversations: {
|
|
@@ -38206,6 +39437,18 @@ export type FilesDatabase = {
|
|
|
38206
39437
|
isSetofReturn: true;
|
|
38207
39438
|
};
|
|
38208
39439
|
};
|
|
39440
|
+
get_pick_list_for_selection: {
|
|
39441
|
+
Args: {
|
|
39442
|
+
p_list_id: string;
|
|
39443
|
+
};
|
|
39444
|
+
Returns: Json;
|
|
39445
|
+
};
|
|
39446
|
+
get_pick_lists_summary: {
|
|
39447
|
+
Args: {
|
|
39448
|
+
p_user_id: string;
|
|
39449
|
+
};
|
|
39450
|
+
Returns: Json;
|
|
39451
|
+
};
|
|
38209
39452
|
get_project_members_with_users: {
|
|
38210
39453
|
Args: {
|
|
38211
39454
|
p_project_id: string;
|
|
@@ -38246,74 +39489,12 @@ export type FilesDatabase = {
|
|
|
38246
39489
|
table_name: string;
|
|
38247
39490
|
}[];
|
|
38248
39491
|
};
|
|
38249
|
-
get_prompt_app_execution_payload: {
|
|
38250
|
-
Args: {
|
|
38251
|
-
p_app_id: string;
|
|
38252
|
-
};
|
|
38253
|
-
Returns: Json;
|
|
38254
|
-
};
|
|
38255
|
-
get_prompt_app_public_data: {
|
|
38256
|
-
Args: {
|
|
38257
|
-
p_app_id?: string;
|
|
38258
|
-
p_slug?: string;
|
|
38259
|
-
};
|
|
38260
|
-
Returns: {
|
|
38261
|
-
allowed_imports: Json;
|
|
38262
|
-
category: string;
|
|
38263
|
-
component_code: string;
|
|
38264
|
-
component_language: string;
|
|
38265
|
-
description: string;
|
|
38266
|
-
favicon_url: string;
|
|
38267
|
-
id: string;
|
|
38268
|
-
layout_config: Json;
|
|
38269
|
-
name: string;
|
|
38270
|
-
preview_image_url: string;
|
|
38271
|
-
slug: string;
|
|
38272
|
-
styling_config: Json;
|
|
38273
|
-
success_rate: number;
|
|
38274
|
-
tagline: string;
|
|
38275
|
-
tags: string[];
|
|
38276
|
-
total_executions: number;
|
|
38277
|
-
variable_schema: Json;
|
|
38278
|
-
}[];
|
|
38279
|
-
};
|
|
38280
39492
|
get_public_flashcard_set: {
|
|
38281
39493
|
Args: {
|
|
38282
39494
|
p_set_id: string;
|
|
38283
39495
|
};
|
|
38284
39496
|
Returns: Json;
|
|
38285
39497
|
};
|
|
38286
|
-
get_published_app_with_prompt: {
|
|
38287
|
-
Args: {
|
|
38288
|
-
p_app_id?: string;
|
|
38289
|
-
p_slug?: string;
|
|
38290
|
-
};
|
|
38291
|
-
Returns: {
|
|
38292
|
-
allowed_imports: Json;
|
|
38293
|
-
category: string;
|
|
38294
|
-
component_code: string;
|
|
38295
|
-
component_language: string;
|
|
38296
|
-
description: string;
|
|
38297
|
-
favicon_url: string;
|
|
38298
|
-
id: string;
|
|
38299
|
-
layout_config: Json;
|
|
38300
|
-
name: string;
|
|
38301
|
-
preview_image_url: string;
|
|
38302
|
-
prompt_id: string;
|
|
38303
|
-
prompt_messages: Json;
|
|
38304
|
-
prompt_settings: Json;
|
|
38305
|
-
prompt_variable_defaults: Json;
|
|
38306
|
-
slug: string;
|
|
38307
|
-
status: string;
|
|
38308
|
-
styling_config: Json;
|
|
38309
|
-
success_rate: number;
|
|
38310
|
-
tagline: string;
|
|
38311
|
-
tags: string[];
|
|
38312
|
-
total_executions: number;
|
|
38313
|
-
user_id: string;
|
|
38314
|
-
variable_schema: Json;
|
|
38315
|
-
}[];
|
|
38316
|
-
};
|
|
38317
39498
|
get_resource_access: {
|
|
38318
39499
|
Args: {
|
|
38319
39500
|
p_resource_id: string;
|
|
@@ -38393,12 +39574,6 @@ export type FilesDatabase = {
|
|
|
38393
39574
|
};
|
|
38394
39575
|
Returns: Json;
|
|
38395
39576
|
};
|
|
38396
|
-
get_pick_list_for_selection: {
|
|
38397
|
-
Args: {
|
|
38398
|
-
p_list_id: string;
|
|
38399
|
-
};
|
|
38400
|
-
Returns: Json;
|
|
38401
|
-
};
|
|
38402
39577
|
get_tables_and_columns: {
|
|
38403
39578
|
Args: never;
|
|
38404
39579
|
Returns: {
|
|
@@ -38556,12 +39731,6 @@ export type FilesDatabase = {
|
|
|
38556
39731
|
};
|
|
38557
39732
|
Returns: Json;
|
|
38558
39733
|
};
|
|
38559
|
-
get_pick_lists_summary: {
|
|
38560
|
-
Args: {
|
|
38561
|
-
p_user_id: string;
|
|
38562
|
-
};
|
|
38563
|
-
Returns: Json;
|
|
38564
|
-
};
|
|
38565
39734
|
get_user_messages: {
|
|
38566
39735
|
Args: {
|
|
38567
39736
|
p_feedback_id: string;
|
|
@@ -40865,12 +42034,6 @@ export type FilesDatabase = {
|
|
|
40865
42034
|
};
|
|
40866
42035
|
Returns: Json;
|
|
40867
42036
|
};
|
|
40868
|
-
list_udt_dataset_templates: {
|
|
40869
|
-
Args: {
|
|
40870
|
-
p_org_id: string;
|
|
40871
|
-
};
|
|
40872
|
-
Returns: Json;
|
|
40873
|
-
};
|
|
40874
42037
|
list_user_organizations: {
|
|
40875
42038
|
Args: {
|
|
40876
42039
|
p_archived?: string;
|
|
@@ -41787,13 +42950,6 @@ export type FilesDatabase = {
|
|
|
41787
42950
|
user_id: string;
|
|
41788
42951
|
}[];
|
|
41789
42952
|
};
|
|
41790
|
-
pin_prompt_app_to_version: {
|
|
41791
|
-
Args: {
|
|
41792
|
-
p_app_id: string;
|
|
41793
|
-
p_version_id: string;
|
|
41794
|
-
};
|
|
41795
|
-
Returns: Json;
|
|
41796
|
-
};
|
|
41797
42953
|
plpgsql_check_function: {
|
|
41798
42954
|
Args: {
|
|
41799
42955
|
all_warnings?: boolean;
|
|
@@ -43689,32 +44845,6 @@ export type FilesDatabase = {
|
|
|
43689
44845
|
};
|
|
43690
44846
|
Returns: boolean;
|
|
43691
44847
|
};
|
|
43692
|
-
udt_cast_jsonb_value: {
|
|
43693
|
-
Args: {
|
|
43694
|
-
p_new_type: Database["public"]["Enums"]["field_data_type"];
|
|
43695
|
-
p_value: Json;
|
|
43696
|
-
};
|
|
43697
|
-
Returns: Json;
|
|
43698
|
-
};
|
|
43699
|
-
udt_dataset_row_versions_trim: {
|
|
43700
|
-
Args: never;
|
|
43701
|
-
Returns: Json;
|
|
43702
|
-
};
|
|
43703
|
-
udt_dataset_row_versions_trim_scoped: {
|
|
43704
|
-
Args: {
|
|
43705
|
-
p_dry_run?: boolean;
|
|
43706
|
-
p_table_id?: string;
|
|
43707
|
-
};
|
|
43708
|
-
Returns: Json;
|
|
43709
|
-
};
|
|
43710
|
-
udt_validate_cell_rules: {
|
|
43711
|
-
Args: {
|
|
43712
|
-
p_data_type: string;
|
|
43713
|
-
p_rules: Json;
|
|
43714
|
-
p_value: Json;
|
|
43715
|
-
};
|
|
43716
|
-
Returns: string;
|
|
43717
|
-
};
|
|
43718
44848
|
ues_get_bulk: {
|
|
43719
44849
|
Args: {
|
|
43720
44850
|
p_entity_ids: string[];
|
|
@@ -44049,6 +45179,7 @@ export type FilesDatabase = {
|
|
|
44049
45179
|
created_by: string;
|
|
44050
45180
|
custom_fields: Json;
|
|
44051
45181
|
description: string;
|
|
45182
|
+
failure_count: number;
|
|
44052
45183
|
id: string;
|
|
44053
45184
|
is_active: boolean;
|
|
44054
45185
|
is_archived: boolean;
|
|
@@ -44063,11 +45194,14 @@ export type FilesDatabase = {
|
|
|
44063
45194
|
owner_email: string;
|
|
44064
45195
|
run_count: number;
|
|
44065
45196
|
step_count: number;
|
|
45197
|
+
success_count: number;
|
|
44066
45198
|
tags: string[];
|
|
45199
|
+
total_cost: number;
|
|
44067
45200
|
total_count: number;
|
|
44068
45201
|
updated_at: string;
|
|
44069
45202
|
version: number;
|
|
44070
45203
|
visibility: string;
|
|
45204
|
+
workflow_type: string;
|
|
44071
45205
|
}[];
|
|
44072
45206
|
};
|
|
44073
45207
|
wsp_resolve_system_task: {
|
|
@@ -44138,7 +45272,7 @@ export type FilesDatabase = {
|
|
|
44138
45272
|
operation_type: "insert" | "update" | "delete";
|
|
44139
45273
|
org_role: "owner" | "member" | "admin";
|
|
44140
45274
|
orientation: "vertical" | "horizontal" | "default";
|
|
44141
|
-
permission_level: "viewer" | "commenter" | "editor" | "admin";
|
|
45275
|
+
permission_level: "viewer" | "commenter" | "edit_content" | "editor" | "admin";
|
|
44142
45276
|
project_role: "owner" | "admin" | "member";
|
|
44143
45277
|
recipe_status: "live" | "draft" | "in_review" | "active_testing" | "archived" | "other";
|
|
44144
45278
|
reg_func_category: "Recipes" | "Agents" | "Prompts" | "Processors" | "Extractors" | "Files" | "Database" | "Web" | "Media" | "Documents" | "Integrations" | "Commands" | "Executors" | "API" | "Other";
|
|
@@ -45470,6 +46604,69 @@ export type FilesDatabase = {
|
|
|
45470
46604
|
};
|
|
45471
46605
|
ui: {
|
|
45472
46606
|
Tables: {
|
|
46607
|
+
decision_pick: {
|
|
46608
|
+
Row: {
|
|
46609
|
+
created_at: string;
|
|
46610
|
+
created_by: string | null;
|
|
46611
|
+
custom_fields: Json;
|
|
46612
|
+
decision_id: string | null;
|
|
46613
|
+
deleted_at: string | null;
|
|
46614
|
+
id: string;
|
|
46615
|
+
metadata: Json;
|
|
46616
|
+
note: string | null;
|
|
46617
|
+
organization_id: string;
|
|
46618
|
+
published_to_web: boolean;
|
|
46619
|
+
published_to_web_at: string | null;
|
|
46620
|
+
published_to_web_by: string | null;
|
|
46621
|
+
shown_to: Database["platform"]["Enums"]["shown_to"];
|
|
46622
|
+
updated_at: string;
|
|
46623
|
+
updated_by: string | null;
|
|
46624
|
+
version: number;
|
|
46625
|
+
visibility: Database["platform"]["Enums"]["visibility"];
|
|
46626
|
+
winner: string | null;
|
|
46627
|
+
};
|
|
46628
|
+
Insert: {
|
|
46629
|
+
created_at?: string;
|
|
46630
|
+
created_by?: string | null;
|
|
46631
|
+
custom_fields?: Json;
|
|
46632
|
+
decision_id?: string | null;
|
|
46633
|
+
deleted_at?: string | null;
|
|
46634
|
+
id?: string;
|
|
46635
|
+
metadata?: Json;
|
|
46636
|
+
note?: string | null;
|
|
46637
|
+
organization_id: string;
|
|
46638
|
+
published_to_web?: boolean;
|
|
46639
|
+
published_to_web_at?: string | null;
|
|
46640
|
+
published_to_web_by?: string | null;
|
|
46641
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"];
|
|
46642
|
+
updated_at?: string;
|
|
46643
|
+
updated_by?: string | null;
|
|
46644
|
+
version?: number;
|
|
46645
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
46646
|
+
winner?: string | null;
|
|
46647
|
+
};
|
|
46648
|
+
Update: {
|
|
46649
|
+
created_at?: string;
|
|
46650
|
+
created_by?: string | null;
|
|
46651
|
+
custom_fields?: Json;
|
|
46652
|
+
decision_id?: string | null;
|
|
46653
|
+
deleted_at?: string | null;
|
|
46654
|
+
id?: string;
|
|
46655
|
+
metadata?: Json;
|
|
46656
|
+
note?: string | null;
|
|
46657
|
+
organization_id?: string;
|
|
46658
|
+
published_to_web?: boolean;
|
|
46659
|
+
published_to_web_at?: string | null;
|
|
46660
|
+
published_to_web_by?: string | null;
|
|
46661
|
+
shown_to?: Database["platform"]["Enums"]["shown_to"];
|
|
46662
|
+
updated_at?: string;
|
|
46663
|
+
updated_by?: string | null;
|
|
46664
|
+
version?: number;
|
|
46665
|
+
visibility?: Database["platform"]["Enums"]["visibility"];
|
|
46666
|
+
winner?: string | null;
|
|
46667
|
+
};
|
|
46668
|
+
Relationships: [];
|
|
46669
|
+
};
|
|
45473
46670
|
ui_client: {
|
|
45474
46671
|
Row: {
|
|
45475
46672
|
created_at: string;
|
|
@@ -46745,6 +47942,7 @@ export type FilesDatabase = {
|
|
|
46745
47942
|
completed_at: string | null;
|
|
46746
47943
|
created_at: string;
|
|
46747
47944
|
created_by: string | null;
|
|
47945
|
+
deleted_at: string | null;
|
|
46748
47946
|
id: string;
|
|
46749
47947
|
metadata: Json;
|
|
46750
47948
|
mutation_id: string;
|
|
@@ -46768,6 +47966,7 @@ export type FilesDatabase = {
|
|
|
46768
47966
|
completed_at?: string | null;
|
|
46769
47967
|
created_at?: string;
|
|
46770
47968
|
created_by?: string | null;
|
|
47969
|
+
deleted_at?: string | null;
|
|
46771
47970
|
id?: string;
|
|
46772
47971
|
metadata?: Json;
|
|
46773
47972
|
mutation_id: string;
|
|
@@ -46791,6 +47990,7 @@ export type FilesDatabase = {
|
|
|
46791
47990
|
completed_at?: string | null;
|
|
46792
47991
|
created_at?: string;
|
|
46793
47992
|
created_by?: string | null;
|
|
47993
|
+
deleted_at?: string | null;
|
|
46794
47994
|
id?: string;
|
|
46795
47995
|
metadata?: Json;
|
|
46796
47996
|
mutation_id?: string;
|
|
@@ -48271,12 +49471,13 @@ export type FilesDatabase = {
|
|
|
48271
49471
|
created_at: string;
|
|
48272
49472
|
created_by: string | null;
|
|
48273
49473
|
custom_fields: Json;
|
|
48274
|
-
default_organization_id: string | null;
|
|
48275
49474
|
deleted_at: string | null;
|
|
48276
49475
|
id: string;
|
|
49476
|
+
last_active_organization_id: string | null;
|
|
48277
49477
|
metadata: Json;
|
|
48278
49478
|
organization_id: string;
|
|
48279
49479
|
preferences: Json;
|
|
49480
|
+
startup_organization_id: string | null;
|
|
48280
49481
|
updated_at: string;
|
|
48281
49482
|
updated_by: string | null;
|
|
48282
49483
|
user_id: string;
|
|
@@ -48287,12 +49488,13 @@ export type FilesDatabase = {
|
|
|
48287
49488
|
created_at?: string;
|
|
48288
49489
|
created_by?: string | null;
|
|
48289
49490
|
custom_fields?: Json;
|
|
48290
|
-
default_organization_id?: string | null;
|
|
48291
49491
|
deleted_at?: string | null;
|
|
48292
49492
|
id?: string;
|
|
49493
|
+
last_active_organization_id?: string | null;
|
|
48293
49494
|
metadata?: Json;
|
|
48294
49495
|
organization_id: string;
|
|
48295
49496
|
preferences: Json;
|
|
49497
|
+
startup_organization_id?: string | null;
|
|
48296
49498
|
updated_at?: string;
|
|
48297
49499
|
updated_by?: string | null;
|
|
48298
49500
|
user_id: string;
|
|
@@ -48303,12 +49505,13 @@ export type FilesDatabase = {
|
|
|
48303
49505
|
created_at?: string;
|
|
48304
49506
|
created_by?: string | null;
|
|
48305
49507
|
custom_fields?: Json;
|
|
48306
|
-
default_organization_id?: string | null;
|
|
48307
49508
|
deleted_at?: string | null;
|
|
48308
49509
|
id?: string;
|
|
49510
|
+
last_active_organization_id?: string | null;
|
|
48309
49511
|
metadata?: Json;
|
|
48310
49512
|
organization_id?: string;
|
|
48311
49513
|
preferences?: Json;
|
|
49514
|
+
startup_organization_id?: string | null;
|
|
48312
49515
|
updated_at?: string;
|
|
48313
49516
|
updated_by?: string | null;
|
|
48314
49517
|
user_id?: string;
|
|
@@ -48641,9 +49844,53 @@ export type FilesDatabase = {
|
|
|
48641
49844
|
};
|
|
48642
49845
|
};
|
|
48643
49846
|
Views: {
|
|
48644
|
-
|
|
49847
|
+
_acquisition_facts: {
|
|
49848
|
+
Row: {
|
|
49849
|
+
blocked: boolean | null;
|
|
49850
|
+
campaign: string | null;
|
|
49851
|
+
converted_at: string | null;
|
|
49852
|
+
cost: number | null;
|
|
49853
|
+
created_at: string | null;
|
|
49854
|
+
guest_id: string | null;
|
|
49855
|
+
identity_id: string | null;
|
|
49856
|
+
identity_state: string | null;
|
|
49857
|
+
landing_host: string | null;
|
|
49858
|
+
landing_path: string | null;
|
|
49859
|
+
person_id: string | null;
|
|
49860
|
+
referrer: string | null;
|
|
49861
|
+
referrer_host: string | null;
|
|
49862
|
+
referrer_state: string | null;
|
|
49863
|
+
requests: number | null;
|
|
49864
|
+
traffic_kind: string | null;
|
|
49865
|
+
utm_campaign: string | null;
|
|
49866
|
+
utm_medium: string | null;
|
|
49867
|
+
utm_source: string | null;
|
|
49868
|
+
};
|
|
49869
|
+
Relationships: [];
|
|
49870
|
+
};
|
|
48645
49871
|
};
|
|
48646
49872
|
Functions: {
|
|
49873
|
+
_set_own_organization_choice: {
|
|
49874
|
+
Args: {
|
|
49875
|
+
p_column: string;
|
|
49876
|
+
p_organization_id: string;
|
|
49877
|
+
};
|
|
49878
|
+
Returns: string;
|
|
49879
|
+
};
|
|
49880
|
+
acquisition_host_is_local: {
|
|
49881
|
+
Args: {
|
|
49882
|
+
p_host: string;
|
|
49883
|
+
};
|
|
49884
|
+
Returns: boolean;
|
|
49885
|
+
};
|
|
49886
|
+
acquisition_traffic_kind: {
|
|
49887
|
+
Args: {
|
|
49888
|
+
p_landing_host: string;
|
|
49889
|
+
p_referrer: string;
|
|
49890
|
+
p_user_agent: string;
|
|
49891
|
+
};
|
|
49892
|
+
Returns: string;
|
|
49893
|
+
};
|
|
48647
49894
|
admin_account_facts: {
|
|
48648
49895
|
Args: never;
|
|
48649
49896
|
Returns: {
|
|
@@ -48719,6 +49966,10 @@ export type FilesDatabase = {
|
|
|
48719
49966
|
Args: never;
|
|
48720
49967
|
Returns: number;
|
|
48721
49968
|
};
|
|
49969
|
+
my_organization_choices: {
|
|
49970
|
+
Args: never;
|
|
49971
|
+
Returns: Json;
|
|
49972
|
+
};
|
|
48722
49973
|
my_organization_vault_access: {
|
|
48723
49974
|
Args: {
|
|
48724
49975
|
p_organization_id: string;
|
|
@@ -48749,6 +50000,12 @@ export type FilesDatabase = {
|
|
|
48749
50000
|
vault_access: string;
|
|
48750
50001
|
}[];
|
|
48751
50002
|
};
|
|
50003
|
+
set_last_active_organization: {
|
|
50004
|
+
Args: {
|
|
50005
|
+
p_organization_id: string;
|
|
50006
|
+
};
|
|
50007
|
+
Returns: string;
|
|
50008
|
+
};
|
|
48752
50009
|
set_organization_vault_access: {
|
|
48753
50010
|
Args: {
|
|
48754
50011
|
p_access: string;
|
|
@@ -48758,6 +50015,12 @@ export type FilesDatabase = {
|
|
|
48758
50015
|
};
|
|
48759
50016
|
Returns: string;
|
|
48760
50017
|
};
|
|
50018
|
+
set_startup_organization: {
|
|
50019
|
+
Args: {
|
|
50020
|
+
p_organization_id: string;
|
|
50021
|
+
};
|
|
50022
|
+
Returns: string;
|
|
50023
|
+
};
|
|
48761
50024
|
user_preferences_drift_report: {
|
|
48762
50025
|
Args: never;
|
|
48763
50026
|
Returns: {
|