@periskope/types 0.6.197 → 0.6.199

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.
@@ -1441,6 +1441,7 @@ export type Database = {
1441
1441
  tbl_org: {
1442
1442
  Row: {
1443
1443
  created_at: string
1444
+ is_deleted: boolean
1444
1445
  is_platform: boolean | null
1445
1446
  org_id: string
1446
1447
  org_image: string | null
@@ -1454,6 +1455,7 @@ export type Database = {
1454
1455
  }
1455
1456
  Insert: {
1456
1457
  created_at?: string
1458
+ is_deleted?: boolean
1457
1459
  is_platform?: boolean | null
1458
1460
  org_id?: string
1459
1461
  org_image?: string | null
@@ -1467,6 +1469,7 @@ export type Database = {
1467
1469
  }
1468
1470
  Update: {
1469
1471
  created_at?: string
1472
+ is_deleted?: boolean
1470
1473
  is_platform?: boolean | null
1471
1474
  org_id?: string
1472
1475
  org_image?: string | null
@@ -2020,69 +2023,6 @@ export type Database = {
2020
2023
  },
2021
2024
  ]
2022
2025
  }
2023
- tbl_scheduled_messages: {
2024
- Row: {
2025
- chat_id: string
2026
- created_at: string
2027
- is_repeat: boolean | null
2028
- message_id: string | null
2029
- message_payload: Json | null
2030
- org_id: string
2031
- org_phone: string | null
2032
- performed_by: string | null
2033
- repeat_config: Json | null
2034
- scheduled_at: string
2035
- sent_message_id: string
2036
- status: boolean | null
2037
- updated_at: string | null
2038
- }
2039
- Insert: {
2040
- chat_id: string
2041
- created_at?: string
2042
- is_repeat?: boolean | null
2043
- message_id?: string | null
2044
- message_payload?: Json | null
2045
- org_id: string
2046
- org_phone?: string | null
2047
- performed_by?: string | null
2048
- repeat_config?: Json | null
2049
- scheduled_at: string
2050
- sent_message_id: string
2051
- status?: boolean | null
2052
- updated_at?: string | null
2053
- }
2054
- Update: {
2055
- chat_id?: string
2056
- created_at?: string
2057
- is_repeat?: boolean | null
2058
- message_id?: string | null
2059
- message_payload?: Json | null
2060
- org_id?: string
2061
- org_phone?: string | null
2062
- performed_by?: string | null
2063
- repeat_config?: Json | null
2064
- scheduled_at?: string
2065
- sent_message_id?: string
2066
- status?: boolean | null
2067
- updated_at?: string | null
2068
- }
2069
- Relationships: [
2070
- {
2071
- foreignKeyName: "tbl_scheduled_messages_org_id_fkey"
2072
- columns: ["org_id"]
2073
- isOneToOne: false
2074
- referencedRelation: "tbl_org"
2075
- referencedColumns: ["org_id"]
2076
- },
2077
- {
2078
- foreignKeyName: "tbl_scheduled_messages_org_id_fkey"
2079
- columns: ["org_id"]
2080
- isOneToOne: false
2081
- referencedRelation: "view_org"
2082
- referencedColumns: ["org_id"]
2083
- },
2084
- ]
2085
- }
2086
2026
  }
2087
2027
  Views: {
2088
2028
  view_broadcast_logs: {
@@ -2308,6 +2248,12 @@ export type Database = {
2308
2248
  }
2309
2249
  Returns: Json
2310
2250
  }
2251
+ delete_org: {
2252
+ Args: {
2253
+ org_id_input: string
2254
+ }
2255
+ Returns: Json
2256
+ }
2311
2257
  drop_partition: {
2312
2258
  Args: {
2313
2259
  org_id_input: string