@panorama-ai/gateway 2.30.181 → 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.
@@ -3067,6 +3067,78 @@ export type Database = {
3067
3067
  }
3068
3068
  ];
3069
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
+ };
3070
3142
  model_registry_versions: {
3071
3143
  Row: {
3072
3144
  is_current: boolean;
@@ -7699,6 +7771,21 @@ export type Database = {
7699
7771
  };
7700
7772
  Returns: Json;
7701
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
+ };
7702
7789
  bump_team_usage_signal: {
7703
7790
  Args: {
7704
7791
  p_team_id: string;
@@ -10481,6 +10568,15 @@ export type Database = {
10481
10568
  };
10482
10569
  Returns: number;
10483
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
+ };
10484
10580
  register_ai_models: {
10485
10581
  Args: {
10486
10582
  p_models: Json;
@@ -11323,6 +11419,12 @@ export type Database = {
11323
11419
  };
11324
11420
  Returns: boolean;
11325
11421
  };
11422
+ wiki_page_id_from_subscription_path: {
11423
+ Args: {
11424
+ p_subscription_path: string;
11425
+ };
11426
+ Returns: string;
11427
+ };
11326
11428
  write_drive_file: {
11327
11429
  Args: {
11328
11430
  p_content_base64?: string;