@periskope/types 0.6.186 → 0.6.187

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.
@@ -2528,14 +2528,67 @@ export type Database = {
2528
2528
  update_flag: {
2529
2529
  Args: {
2530
2530
  org_id_input: string;
2531
- chat_id_input: string;
2532
2531
  flag_metadata_input: Json;
2533
- flag_status_input: boolean;
2532
+ flag_status_input?: boolean;
2533
+ chat_id_input?: string;
2534
2534
  unique_message_id_input?: string;
2535
2535
  org_phone_input?: string;
2536
2536
  replace?: boolean;
2537
2537
  };
2538
- Returns: undefined;
2538
+ Returns: {
2539
+ ack: string | null;
2540
+ author: string | null;
2541
+ body: string | null;
2542
+ broadcast: boolean | null;
2543
+ broadcast_id: string | null;
2544
+ chat_id: string | null;
2545
+ delivery_info: Json | null;
2546
+ device_type: string | null;
2547
+ duration: string | null;
2548
+ flag_metadata: Json | null;
2549
+ flag_response_time: number | null;
2550
+ flag_status: boolean | null;
2551
+ forwarding_score: number | null;
2552
+ from: string | null;
2553
+ from_me: boolean | null;
2554
+ fts: unknown | null;
2555
+ has_media: boolean | null;
2556
+ has_quoted_msg: boolean | null;
2557
+ has_reaction: boolean | null;
2558
+ id: Json | null;
2559
+ invite_v4: Json | null;
2560
+ is_deleted: boolean | null;
2561
+ is_ephemeral: boolean | null;
2562
+ is_forwarded: boolean | null;
2563
+ is_gif: boolean | null;
2564
+ is_starred: boolean | null;
2565
+ is_status: boolean | null;
2566
+ links: Json | null;
2567
+ location: Json | null;
2568
+ media: Json | null;
2569
+ media_key: string | null;
2570
+ mentioned_ids: string[] | null;
2571
+ message_id: string;
2572
+ message_ticket_id: string | null;
2573
+ message_type: string | null;
2574
+ order_id: string | null;
2575
+ org_id: string;
2576
+ org_phone: string;
2577
+ performed_by: string | null;
2578
+ poll_info: Json | null;
2579
+ poll_results: Json | null;
2580
+ prev_body: string | null;
2581
+ quoted_message_id: string | null;
2582
+ raw_data: Json | null;
2583
+ sender_phone: string | null;
2584
+ sent_message_id: string | null;
2585
+ timestamp: string | null;
2586
+ to: string | null;
2587
+ token: string | null;
2588
+ unique_id: string | null;
2589
+ updated_at: string | null;
2590
+ vcards: string[] | null;
2591
+ }[];
2539
2592
  };
2540
2593
  update_labels: {
2541
2594
  Args: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.186",
3
+ "version": "0.6.187",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/supabase.types.ts CHANGED
@@ -2539,14 +2539,67 @@ export type Database = {
2539
2539
  update_flag: {
2540
2540
  Args: {
2541
2541
  org_id_input: string
2542
- chat_id_input: string
2543
2542
  flag_metadata_input: Json
2544
- flag_status_input: boolean
2543
+ flag_status_input?: boolean
2544
+ chat_id_input?: string
2545
2545
  unique_message_id_input?: string
2546
2546
  org_phone_input?: string
2547
2547
  replace?: boolean
2548
2548
  }
2549
- Returns: undefined
2549
+ Returns: {
2550
+ ack: string | null
2551
+ author: string | null
2552
+ body: string | null
2553
+ broadcast: boolean | null
2554
+ broadcast_id: string | null
2555
+ chat_id: string | null
2556
+ delivery_info: Json | null
2557
+ device_type: string | null
2558
+ duration: string | null
2559
+ flag_metadata: Json | null
2560
+ flag_response_time: number | null
2561
+ flag_status: boolean | null
2562
+ forwarding_score: number | null
2563
+ from: string | null
2564
+ from_me: boolean | null
2565
+ fts: unknown | null
2566
+ has_media: boolean | null
2567
+ has_quoted_msg: boolean | null
2568
+ has_reaction: boolean | null
2569
+ id: Json | null
2570
+ invite_v4: Json | null
2571
+ is_deleted: boolean | null
2572
+ is_ephemeral: boolean | null
2573
+ is_forwarded: boolean | null
2574
+ is_gif: boolean | null
2575
+ is_starred: boolean | null
2576
+ is_status: boolean | null
2577
+ links: Json | null
2578
+ location: Json | null
2579
+ media: Json | null
2580
+ media_key: string | null
2581
+ mentioned_ids: string[] | null
2582
+ message_id: string
2583
+ message_ticket_id: string | null
2584
+ message_type: string | null
2585
+ order_id: string | null
2586
+ org_id: string
2587
+ org_phone: string
2588
+ performed_by: string | null
2589
+ poll_info: Json | null
2590
+ poll_results: Json | null
2591
+ prev_body: string | null
2592
+ quoted_message_id: string | null
2593
+ raw_data: Json | null
2594
+ sender_phone: string | null
2595
+ sent_message_id: string | null
2596
+ timestamp: string | null
2597
+ to: string | null
2598
+ token: string | null
2599
+ unique_id: string | null
2600
+ updated_at: string | null
2601
+ vcards: string[] | null
2602
+ }[]
2550
2603
  }
2551
2604
  update_labels: {
2552
2605
  Args: {