@periskope/types 0.6.462 → 0.6.464

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.
@@ -2241,6 +2241,56 @@ export type Database = {
2241
2241
  }
2242
2242
  ];
2243
2243
  };
2244
+ tbl_api_tokens: {
2245
+ Row: {
2246
+ exp: string;
2247
+ iat: string;
2248
+ id: string;
2249
+ is_revealed: boolean;
2250
+ name: string;
2251
+ org_id: string;
2252
+ role: string;
2253
+ token: string;
2254
+ token_hash: string;
2255
+ token_metadata: Json;
2256
+ type: Database["public"]["Enums"]["enum_integration_type"];
2257
+ };
2258
+ Insert: {
2259
+ exp: string;
2260
+ iat: string;
2261
+ id: string;
2262
+ is_revealed?: boolean;
2263
+ name: string;
2264
+ org_id: string;
2265
+ role: string;
2266
+ token: string;
2267
+ token_hash: string;
2268
+ token_metadata?: Json;
2269
+ type: Database["public"]["Enums"]["enum_integration_type"];
2270
+ };
2271
+ Update: {
2272
+ exp?: string;
2273
+ iat?: string;
2274
+ id?: string;
2275
+ is_revealed?: boolean;
2276
+ name?: string;
2277
+ org_id?: string;
2278
+ role?: string;
2279
+ token?: string;
2280
+ token_hash?: string;
2281
+ token_metadata?: Json;
2282
+ type?: Database["public"]["Enums"]["enum_integration_type"];
2283
+ };
2284
+ Relationships: [
2285
+ {
2286
+ foreignKeyName: "tbl_api_tokens_org_id_fkey";
2287
+ columns: ["org_id"];
2288
+ isOneToOne: false;
2289
+ referencedRelation: "tbl_org";
2290
+ referencedColumns: ["org_id"];
2291
+ }
2292
+ ];
2293
+ };
2244
2294
  tbl_integration_tokens: {
2245
2295
  Row: {
2246
2296
  exp: string;
@@ -2302,6 +2352,69 @@ export type Database = {
2302
2352
  }
2303
2353
  ];
2304
2354
  };
2355
+ tbl_mcp_clients: {
2356
+ Row: {
2357
+ client: Json;
2358
+ client_id: string;
2359
+ created_at: string;
2360
+ };
2361
+ Insert: {
2362
+ client: Json;
2363
+ client_id: string;
2364
+ created_at?: string;
2365
+ };
2366
+ Update: {
2367
+ client?: Json;
2368
+ client_id?: string;
2369
+ created_at?: string;
2370
+ };
2371
+ Relationships: [];
2372
+ };
2373
+ tbl_mcp_tokens: {
2374
+ Row: {
2375
+ access_token_expires_at: string;
2376
+ access_token_hash: string;
2377
+ client_id: string;
2378
+ client_name: string | null;
2379
+ created_at: string;
2380
+ id: string;
2381
+ integration_token_id: string;
2382
+ org_id: string;
2383
+ phone_scopes: string[] | null;
2384
+ refresh_token_expires_at: string;
2385
+ refresh_token_hash: string;
2386
+ revoked_at: string | null;
2387
+ };
2388
+ Insert: {
2389
+ access_token_expires_at: string;
2390
+ access_token_hash: string;
2391
+ client_id: string;
2392
+ client_name?: string | null;
2393
+ created_at?: string;
2394
+ id?: string;
2395
+ integration_token_id: string;
2396
+ org_id: string;
2397
+ phone_scopes?: string[] | null;
2398
+ refresh_token_expires_at: string;
2399
+ refresh_token_hash: string;
2400
+ revoked_at?: string | null;
2401
+ };
2402
+ Update: {
2403
+ access_token_expires_at?: string;
2404
+ access_token_hash?: string;
2405
+ client_id?: string;
2406
+ client_name?: string | null;
2407
+ created_at?: string;
2408
+ id?: string;
2409
+ integration_token_id?: string;
2410
+ org_id?: string;
2411
+ phone_scopes?: string[] | null;
2412
+ refresh_token_expires_at?: string;
2413
+ refresh_token_hash?: string;
2414
+ revoked_at?: string | null;
2415
+ };
2416
+ Relationships: [];
2417
+ };
2305
2418
  tbl_org: {
2306
2419
  Row: {
2307
2420
  ai_settings: Json | null;
@@ -3682,6 +3795,12 @@ export type Database = {
3682
3795
  };
3683
3796
  Returns: Json[];
3684
3797
  };
3798
+ get_mcp_connections: {
3799
+ Args: {
3800
+ org_id_input: string;
3801
+ };
3802
+ Returns: Json;
3803
+ };
3685
3804
  get_chat_properties_by_chat_ids: {
3686
3805
  Args: {
3687
3806
  chat_id_input?: string[];
@@ -4015,6 +4134,12 @@ export type Database = {
4015
4134
  };
4016
4135
  Returns: undefined;
4017
4136
  };
4137
+ revoke_mcp_connection: {
4138
+ Args: {
4139
+ id_input: string;
4140
+ };
4141
+ Returns: undefined;
4142
+ };
4018
4143
  update_chat_properties: {
4019
4144
  Args: {
4020
4145
  chat_id_input: string[];