@panorama-ai/gateway 2.30.176 → 2.30.194

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.
@@ -2,31 +2,6 @@ export type Json = string | number | boolean | null | {
2
2
  [key: string]: Json | undefined;
3
3
  } | Json[];
4
4
  export type Database = {
5
- graphql_public: {
6
- Tables: {
7
- [_ in never]: never;
8
- };
9
- Views: {
10
- [_ in never]: never;
11
- };
12
- Functions: {
13
- graphql: {
14
- Args: {
15
- extensions?: Json;
16
- operationName?: string;
17
- query?: string;
18
- variables?: Json;
19
- };
20
- Returns: Json;
21
- };
22
- };
23
- Enums: {
24
- [_ in never]: never;
25
- };
26
- CompositeTypes: {
27
- [_ in never]: never;
28
- };
29
- };
30
5
  public: {
31
6
  Tables: {
32
7
  agent_config: {
@@ -3092,6 +3067,78 @@ export type Database = {
3092
3067
  }
3093
3068
  ];
3094
3069
  };
3070
+ model_cache_entries: {
3071
+ Row: {
3072
+ agent_id: string;
3073
+ cache_strategy: string;
3074
+ created_at: string;
3075
+ expires_at: string | null;
3076
+ id: string;
3077
+ last_used_at: string;
3078
+ metadata: Json;
3079
+ model_id: string;
3080
+ prefix_chars: number;
3081
+ prefix_hash: string;
3082
+ prefix_tokens_estimate: number | null;
3083
+ provider_cache_name: string;
3084
+ provider_model_id: string;
3085
+ purpose: string;
3086
+ tools_hash: string;
3087
+ updated_at: string;
3088
+ };
3089
+ Insert: {
3090
+ agent_id: string;
3091
+ cache_strategy: string;
3092
+ created_at?: string;
3093
+ expires_at?: string | null;
3094
+ id?: string;
3095
+ last_used_at?: string;
3096
+ metadata?: Json;
3097
+ model_id: string;
3098
+ prefix_chars: number;
3099
+ prefix_hash: string;
3100
+ prefix_tokens_estimate?: number | null;
3101
+ provider_cache_name: string;
3102
+ provider_model_id: string;
3103
+ purpose: string;
3104
+ tools_hash?: string;
3105
+ updated_at?: string;
3106
+ };
3107
+ Update: {
3108
+ agent_id?: string;
3109
+ cache_strategy?: string;
3110
+ created_at?: string;
3111
+ expires_at?: string | null;
3112
+ id?: string;
3113
+ last_used_at?: string;
3114
+ metadata?: Json;
3115
+ model_id?: string;
3116
+ prefix_chars?: number;
3117
+ prefix_hash?: string;
3118
+ prefix_tokens_estimate?: number | null;
3119
+ provider_cache_name?: string;
3120
+ provider_model_id?: string;
3121
+ purpose?: string;
3122
+ tools_hash?: string;
3123
+ updated_at?: string;
3124
+ };
3125
+ Relationships: [
3126
+ {
3127
+ foreignKeyName: "model_cache_entries_agent_id_fkey";
3128
+ columns: ["agent_id"];
3129
+ isOneToOne: false;
3130
+ referencedRelation: "agent_full";
3131
+ referencedColumns: ["id"];
3132
+ },
3133
+ {
3134
+ foreignKeyName: "model_cache_entries_agent_id_fkey";
3135
+ columns: ["agent_id"];
3136
+ isOneToOne: false;
3137
+ referencedRelation: "agents";
3138
+ referencedColumns: ["id"];
3139
+ }
3140
+ ];
3141
+ };
3095
3142
  model_registry_versions: {
3096
3143
  Row: {
3097
3144
  is_current: boolean;
@@ -7724,6 +7771,21 @@ export type Database = {
7724
7771
  };
7725
7772
  Returns: Json;
7726
7773
  };
7774
+ build_wiki_page_subscription_snapshot: {
7775
+ Args: {
7776
+ p_content_limit?: number;
7777
+ p_page_id: string;
7778
+ p_wiki_id: string;
7779
+ };
7780
+ Returns: Json;
7781
+ };
7782
+ build_wiki_root_subscription_snapshot: {
7783
+ Args: {
7784
+ p_page_limit?: number;
7785
+ p_wiki_id: string;
7786
+ };
7787
+ Returns: Json;
7788
+ };
7727
7789
  bump_team_usage_signal: {
7728
7790
  Args: {
7729
7791
  p_team_id: string;
@@ -8954,6 +9016,34 @@ export type Database = {
8954
9016
  isSetofReturn: false;
8955
9017
  };
8956
9018
  };
9019
+ fail_agent_creation: {
9020
+ Args: {
9021
+ p_action_summary: string;
9022
+ p_agent_id: string;
9023
+ p_only_if_configuring?: boolean;
9024
+ };
9025
+ Returns: Json;
9026
+ };
9027
+ finalize_agent_name_creation: {
9028
+ Args: {
9029
+ p_action_summary: string;
9030
+ p_agent_id: string;
9031
+ p_complete_creation?: boolean;
9032
+ p_name: string;
9033
+ };
9034
+ Returns: Json;
9035
+ };
9036
+ finalize_ai_agent_configuration: {
9037
+ Args: {
9038
+ p_agent_id: string;
9039
+ p_disabled_tools?: Json;
9040
+ p_instructions: string;
9041
+ p_name: string;
9042
+ p_objective: string;
9043
+ p_plan: Json;
9044
+ };
9045
+ Returns: Json;
9046
+ };
8957
9047
  finalize_gateway_subagent_run_state: {
8958
9048
  Args: {
8959
9049
  p_completed_at?: string;
@@ -10000,6 +10090,12 @@ export type Database = {
10000
10090
  };
10001
10091
  Returns: boolean;
10002
10092
  };
10093
+ is_valid_message_reaction_emoji: {
10094
+ Args: {
10095
+ p_emoji: string;
10096
+ };
10097
+ Returns: boolean;
10098
+ };
10003
10099
  is_vm_billable_power_state: {
10004
10100
  Args: {
10005
10101
  p_power_state: string;
@@ -10472,6 +10568,15 @@ export type Database = {
10472
10568
  };
10473
10569
  Returns: number;
10474
10570
  };
10571
+ refresh_wiki_subscription_state: {
10572
+ Args: {
10573
+ p_changed_page_ids?: string[];
10574
+ p_observed_at?: string;
10575
+ p_source?: string;
10576
+ p_wiki_id: string;
10577
+ };
10578
+ Returns: number;
10579
+ };
10475
10580
  register_ai_models: {
10476
10581
  Args: {
10477
10582
  p_models: Json;
@@ -11314,6 +11419,12 @@ export type Database = {
11314
11419
  };
11315
11420
  Returns: boolean;
11316
11421
  };
11422
+ wiki_page_id_from_subscription_path: {
11423
+ Args: {
11424
+ p_subscription_path: string;
11425
+ };
11426
+ Returns: string;
11427
+ };
11317
11428
  write_drive_file: {
11318
11429
  Args: {
11319
11430
  p_content_base64?: string;
@@ -11403,9 +11514,6 @@ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof Defaul
11403
11514
  schema: keyof DatabaseWithoutInternals;
11404
11515
  } ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
11405
11516
  export declare const Constants: {
11406
- readonly graphql_public: {
11407
- readonly Enums: {};
11408
- };
11409
11517
  readonly public: {
11410
11518
  readonly Enums: {};
11411
11519
  };