diff --git a/apps/dashboard/src/components/category.tsx b/apps/dashboard/src/components/category.tsx index e5aba10da6..be2c01590c 100644 --- a/apps/dashboard/src/components/category.tsx +++ b/apps/dashboard/src/components/category.tsx @@ -12,6 +12,7 @@ export const categories = { rent: "rent", income: "income", equipment: "equipment", + salery: "salery", transfer: "transfer", internet_and_telephone: "internet_and_telephone", facilities_expenses: "facilities_expenses", @@ -30,6 +31,7 @@ export const mapCategoryColor = (name: string) => { [categories.rent]: "#A843CB", [categories.income]: "#00C969", [categories.equipment]: "#E9BE26", + [categories.salery]: "#D3E500", [categories.transfer]: "#FF902B", [categories.internet_and_telephone]: "#FF8976", [categories.facilities_expenses]: "#A8AABC", diff --git a/apps/dashboard/src/locales/en.ts b/apps/dashboard/src/locales/en.ts index 8d82f3c3a0..7b0069b70f 100644 --- a/apps/dashboard/src/locales/en.ts +++ b/apps/dashboard/src/locales/en.ts @@ -7,6 +7,7 @@ export default { internet_and_telephone: "Internet & Telephone", rent: "Rent", equipment: "Equipment", + salery: "Salery", income: "Income", transfer: "Transfer", activity: "Activity", diff --git a/apps/dashboard/src/locales/sv.ts b/apps/dashboard/src/locales/sv.ts index 775091813a..b1d5785a80 100644 --- a/apps/dashboard/src/locales/sv.ts +++ b/apps/dashboard/src/locales/sv.ts @@ -7,6 +7,7 @@ export default { internet_and_telephone: "Internet och telefon", rent: "Hyra", equipment: "Utrustning", + salery: "Lön", income: "Inkomst", transfer: "Överföring", activity: "Aktivitet", diff --git a/packages/supabase/src/types/db.ts b/packages/supabase/src/types/db.ts index 7ef8064347..890c4da594 100644 --- a/packages/supabase/src/types/db.ts +++ b/packages/supabase/src/types/db.ts @@ -4,1222 +4,1238 @@ export type Json = | boolean | null | { [key: string]: Json | undefined } - | Json[] + | Json[]; export type Database = { public: { Tables: { bank_accounts: { Row: { - account_id: string - bank_connection_id: string | null - created_at: string - created_by: string - currency: string | null - id: string - last_accessed: string | null - name: string | null - owner_name: string | null - team_id: string | null - } + account_id: string; + bank_connection_id: string | null; + created_at: string; + created_by: string; + currency: string | null; + id: string; + last_accessed: string | null; + name: string | null; + owner_name: string | null; + team_id: string | null; + }; Insert: { - account_id: string - bank_connection_id?: string | null - created_at?: string - created_by: string - currency?: string | null - id?: string - last_accessed?: string | null - name?: string | null - owner_name?: string | null - team_id?: string | null - } + account_id: string; + bank_connection_id?: string | null; + created_at?: string; + created_by: string; + currency?: string | null; + id?: string; + last_accessed?: string | null; + name?: string | null; + owner_name?: string | null; + team_id?: string | null; + }; Update: { - account_id?: string - bank_connection_id?: string | null - created_at?: string - created_by?: string - currency?: string | null - id?: string - last_accessed?: string | null - name?: string | null - owner_name?: string | null - team_id?: string | null - } + account_id?: string; + bank_connection_id?: string | null; + created_at?: string; + created_by?: string; + currency?: string | null; + id?: string; + last_accessed?: string | null; + name?: string | null; + owner_name?: string | null; + team_id?: string | null; + }; Relationships: [ { - foreignKeyName: "bank_accounts_bank_connection_id_fkey" - columns: ["bank_connection_id"] - isOneToOne: false - referencedRelation: "bank_connections" - referencedColumns: ["id"] + foreignKeyName: "bank_accounts_bank_connection_id_fkey"; + columns: ["bank_connection_id"]; + isOneToOne: false; + referencedRelation: "bank_connections"; + referencedColumns: ["id"]; }, { - foreignKeyName: "bank_accounts_bank_connection_id_fkey" - columns: ["bank_connection_id"] - isOneToOne: false - referencedRelation: "decrypted_bank_connections" - referencedColumns: ["id"] + foreignKeyName: "bank_accounts_bank_connection_id_fkey"; + columns: ["bank_connection_id"]; + isOneToOne: false; + referencedRelation: "decrypted_bank_connections"; + referencedColumns: ["id"]; }, { - foreignKeyName: "bank_accounts_created_by_fkey" - columns: ["created_by"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: "bank_accounts_created_by_fkey"; + columns: ["created_by"]; + isOneToOne: false; + referencedRelation: "users"; + referencedColumns: ["id"]; }, { - foreignKeyName: "bank_accounts_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "bank_accounts_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; } - ] - } + ]; + }; bank_connections: { Row: { - created_at: string - expires_at: string | null - id: string - institution_id: string | null - logo_url: string | null - name: string | null - provider: Database["public"]["Enums"]["bankProviders"] | null - team_id: string | null - } + created_at: string; + expires_at: string | null; + id: string; + institution_id: string | null; + logo_url: string | null; + name: string | null; + provider: Database["public"]["Enums"]["bankProviders"] | null; + team_id: string | null; + }; Insert: { - created_at?: string - expires_at?: string | null - id?: string - institution_id?: string | null - logo_url?: string | null - name?: string | null - provider?: Database["public"]["Enums"]["bankProviders"] | null - team_id?: string | null - } + created_at?: string; + expires_at?: string | null; + id?: string; + institution_id?: string | null; + logo_url?: string | null; + name?: string | null; + provider?: Database["public"]["Enums"]["bankProviders"] | null; + team_id?: string | null; + }; Update: { - created_at?: string - expires_at?: string | null - id?: string - institution_id?: string | null - logo_url?: string | null - name?: string | null - provider?: Database["public"]["Enums"]["bankProviders"] | null - team_id?: string | null - } + created_at?: string; + expires_at?: string | null; + id?: string; + institution_id?: string | null; + logo_url?: string | null; + name?: string | null; + provider?: Database["public"]["Enums"]["bankProviders"] | null; + team_id?: string | null; + }; Relationships: [ { - foreignKeyName: "bank_connections_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "bank_connections_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; } - ] - } + ]; + }; inbox: { Row: { - amount: number | null - archived: boolean | null - attachment_id: string | null - content_type: string | null - created_at: string - currency: string | null - due_date: string | null - email: string | null - file_name: string | null - file_path: string[] | null - html: string | null - id: string - issuer_name: string | null - name: string | null - read: boolean | null - size: number | null - subject: string | null - team_id: string | null - transaction_id: string | null - trash: boolean | null - } + amount: number | null; + archived: boolean | null; + attachment_id: string | null; + content_type: string | null; + created_at: string; + currency: string | null; + due_date: string | null; + email: string | null; + file_name: string | null; + file_path: string[] | null; + html: string | null; + id: string; + issuer_name: string | null; + name: string | null; + read: boolean | null; + size: number | null; + subject: string | null; + team_id: string | null; + transaction_id: string | null; + trash: boolean | null; + }; Insert: { - amount?: number | null - archived?: boolean | null - attachment_id?: string | null - content_type?: string | null - created_at?: string - currency?: string | null - due_date?: string | null - email?: string | null - file_name?: string | null - file_path?: string[] | null - html?: string | null - id?: string - issuer_name?: string | null - name?: string | null - read?: boolean | null - size?: number | null - subject?: string | null - team_id?: string | null - transaction_id?: string | null - trash?: boolean | null - } + amount?: number | null; + archived?: boolean | null; + attachment_id?: string | null; + content_type?: string | null; + created_at?: string; + currency?: string | null; + due_date?: string | null; + email?: string | null; + file_name?: string | null; + file_path?: string[] | null; + html?: string | null; + id?: string; + issuer_name?: string | null; + name?: string | null; + read?: boolean | null; + size?: number | null; + subject?: string | null; + team_id?: string | null; + transaction_id?: string | null; + trash?: boolean | null; + }; Update: { - amount?: number | null - archived?: boolean | null - attachment_id?: string | null - content_type?: string | null - created_at?: string - currency?: string | null - due_date?: string | null - email?: string | null - file_name?: string | null - file_path?: string[] | null - html?: string | null - id?: string - issuer_name?: string | null - name?: string | null - read?: boolean | null - size?: number | null - subject?: string | null - team_id?: string | null - transaction_id?: string | null - trash?: boolean | null - } + amount?: number | null; + archived?: boolean | null; + attachment_id?: string | null; + content_type?: string | null; + created_at?: string; + currency?: string | null; + due_date?: string | null; + email?: string | null; + file_name?: string | null; + file_path?: string[] | null; + html?: string | null; + id?: string; + issuer_name?: string | null; + name?: string | null; + read?: boolean | null; + size?: number | null; + subject?: string | null; + team_id?: string | null; + transaction_id?: string | null; + trash?: boolean | null; + }; Relationships: [ { - foreignKeyName: "inbox_attachment_id_fkey" - columns: ["attachment_id"] - isOneToOne: false - referencedRelation: "transaction_attachments" - referencedColumns: ["id"] + foreignKeyName: "inbox_attachment_id_fkey"; + columns: ["attachment_id"]; + isOneToOne: false; + referencedRelation: "transaction_attachments"; + referencedColumns: ["id"]; }, { - foreignKeyName: "inbox_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "inbox_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; }, { - foreignKeyName: "inbox_transaction_id_fkey" - columns: ["transaction_id"] - isOneToOne: false - referencedRelation: "decrypted_transactions" - referencedColumns: ["id"] + foreignKeyName: "inbox_transaction_id_fkey"; + columns: ["transaction_id"]; + isOneToOne: false; + referencedRelation: "decrypted_transactions"; + referencedColumns: ["id"]; }, { - foreignKeyName: "inbox_transaction_id_fkey" - columns: ["transaction_id"] - isOneToOne: false - referencedRelation: "transactions" - referencedColumns: ["id"] + foreignKeyName: "inbox_transaction_id_fkey"; + columns: ["transaction_id"]; + isOneToOne: false; + referencedRelation: "transactions"; + referencedColumns: ["id"]; } - ] - } + ]; + }; reports: { Row: { - created_at: string - from: string | null - id: string - link_id: string | null - short_link: string | null - team_id: string | null - to: string | null - type: Database["public"]["Enums"]["reportTypes"] | null - } + created_at: string; + from: string | null; + id: string; + link_id: string | null; + short_link: string | null; + team_id: string | null; + to: string | null; + type: Database["public"]["Enums"]["reportTypes"] | null; + }; Insert: { - created_at?: string - from?: string | null - id?: string - link_id?: string | null - short_link?: string | null - team_id?: string | null - to?: string | null - type?: Database["public"]["Enums"]["reportTypes"] | null - } + created_at?: string; + from?: string | null; + id?: string; + link_id?: string | null; + short_link?: string | null; + team_id?: string | null; + to?: string | null; + type?: Database["public"]["Enums"]["reportTypes"] | null; + }; Update: { - created_at?: string - from?: string | null - id?: string - link_id?: string | null - short_link?: string | null - team_id?: string | null - to?: string | null - type?: Database["public"]["Enums"]["reportTypes"] | null - } + created_at?: string; + from?: string | null; + id?: string; + link_id?: string | null; + short_link?: string | null; + team_id?: string | null; + to?: string | null; + type?: Database["public"]["Enums"]["reportTypes"] | null; + }; Relationships: [ { - foreignKeyName: "reports_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "reports_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; } - ] - } + ]; + }; teams: { Row: { - created_at: string - created_by: string | null - id: string - inbox_id: string | null - logo_url: string | null - name: string | null - } + created_at: string; + created_by: string | null; + id: string; + inbox_id: string | null; + logo_url: string | null; + name: string | null; + }; Insert: { - created_at?: string - created_by?: string | null - id?: string - inbox_id?: string | null - logo_url?: string | null - name?: string | null - } + created_at?: string; + created_by?: string | null; + id?: string; + inbox_id?: string | null; + logo_url?: string | null; + name?: string | null; + }; Update: { - created_at?: string - created_by?: string | null - id?: string - inbox_id?: string | null - logo_url?: string | null - name?: string | null - } + created_at?: string; + created_by?: string | null; + id?: string; + inbox_id?: string | null; + logo_url?: string | null; + name?: string | null; + }; Relationships: [ { - foreignKeyName: "teams_created_by_fkey" - columns: ["created_by"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: "teams_created_by_fkey"; + columns: ["created_by"]; + isOneToOne: false; + referencedRelation: "users"; + referencedColumns: ["id"]; } - ] - } + ]; + }; tracker_entries: { Row: { - assigned_id: string | null - billed: boolean | null - created_at: string - currency: string | null - date: string | null - description: string | null - duration: number | null - id: string - project_id: string | null - rate: number | null - start: string | null - stop: string | null - team_id: string | null - project_members: Record | null - } + assigned_id: string | null; + billed: boolean | null; + created_at: string; + currency: string | null; + date: string | null; + description: string | null; + duration: number | null; + id: string; + project_id: string | null; + rate: number | null; + start: string | null; + stop: string | null; + team_id: string | null; + project_members: Record | null; + }; Insert: { - assigned_id?: string | null - billed?: boolean | null - created_at?: string - currency?: string | null - date?: string | null - description?: string | null - duration?: number | null - id?: string - project_id?: string | null - rate?: number | null - start?: string | null - stop?: string | null - team_id?: string | null - } + assigned_id?: string | null; + billed?: boolean | null; + created_at?: string; + currency?: string | null; + date?: string | null; + description?: string | null; + duration?: number | null; + id?: string; + project_id?: string | null; + rate?: number | null; + start?: string | null; + stop?: string | null; + team_id?: string | null; + }; Update: { - assigned_id?: string | null - billed?: boolean | null - created_at?: string - currency?: string | null - date?: string | null - description?: string | null - duration?: number | null - id?: string - project_id?: string | null - rate?: number | null - start?: string | null - stop?: string | null - team_id?: string | null - } + assigned_id?: string | null; + billed?: boolean | null; + created_at?: string; + currency?: string | null; + date?: string | null; + description?: string | null; + duration?: number | null; + id?: string; + project_id?: string | null; + rate?: number | null; + start?: string | null; + stop?: string | null; + team_id?: string | null; + }; Relationships: [ { - foreignKeyName: "tracker_entries_assigned_id_fkey" - columns: ["assigned_id"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: "tracker_entries_assigned_id_fkey"; + columns: ["assigned_id"]; + isOneToOne: false; + referencedRelation: "users"; + referencedColumns: ["id"]; }, { - foreignKeyName: "tracker_entries_project_id_fkey" - columns: ["project_id"] - isOneToOne: false - referencedRelation: "tracker_projects" - referencedColumns: ["id"] + foreignKeyName: "tracker_entries_project_id_fkey"; + columns: ["project_id"]; + isOneToOne: false; + referencedRelation: "tracker_projects"; + referencedColumns: ["id"]; }, { - foreignKeyName: "tracker_entries_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "tracker_entries_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; } - ] - } + ]; + }; tracker_projects: { Row: { - billable: boolean | null - created_at: string - currency: string | null - description: string | null - estimate: number | null - id: string - name: string - rate: number | null - status: Database["public"]["Enums"]["trackerStatus"] - team_id: string | null - project_members: Record | null - total_duration: number | null - } + billable: boolean | null; + created_at: string; + currency: string | null; + description: string | null; + estimate: number | null; + id: string; + name: string; + rate: number | null; + status: Database["public"]["Enums"]["trackerStatus"]; + team_id: string | null; + project_members: Record | null; + total_duration: number | null; + }; Insert: { - billable?: boolean | null - created_at?: string - currency?: string | null - description?: string | null - estimate?: number | null - id?: string - name: string - rate?: number | null - status?: Database["public"]["Enums"]["trackerStatus"] - team_id?: string | null - } + billable?: boolean | null; + created_at?: string; + currency?: string | null; + description?: string | null; + estimate?: number | null; + id?: string; + name: string; + rate?: number | null; + status?: Database["public"]["Enums"]["trackerStatus"]; + team_id?: string | null; + }; Update: { - billable?: boolean | null - created_at?: string - currency?: string | null - description?: string | null - estimate?: number | null - id?: string - name?: string - rate?: number | null - status?: Database["public"]["Enums"]["trackerStatus"] - team_id?: string | null - } + billable?: boolean | null; + created_at?: string; + currency?: string | null; + description?: string | null; + estimate?: number | null; + id?: string; + name?: string; + rate?: number | null; + status?: Database["public"]["Enums"]["trackerStatus"]; + team_id?: string | null; + }; Relationships: [ { - foreignKeyName: "tracker_projects_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "tracker_projects_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; } - ] - } + ]; + }; tracker_reports: { Row: { - created_at: string - id: string - link_id: string | null - project_id: string | null - short_link: string | null - team_id: string | null - } + created_at: string; + id: string; + link_id: string | null; + project_id: string | null; + short_link: string | null; + team_id: string | null; + }; Insert: { - created_at?: string - id?: string - link_id?: string | null - project_id?: string | null - short_link?: string | null - team_id?: string | null - } + created_at?: string; + id?: string; + link_id?: string | null; + project_id?: string | null; + short_link?: string | null; + team_id?: string | null; + }; Update: { - created_at?: string - id?: string - link_id?: string | null - project_id?: string | null - short_link?: string | null - team_id?: string | null - } + created_at?: string; + id?: string; + link_id?: string | null; + project_id?: string | null; + short_link?: string | null; + team_id?: string | null; + }; Relationships: [ { - foreignKeyName: "public_tracker_reports_project_id_fkey" - columns: ["project_id"] - isOneToOne: false - referencedRelation: "tracker_projects" - referencedColumns: ["id"] + foreignKeyName: "public_tracker_reports_project_id_fkey"; + columns: ["project_id"]; + isOneToOne: false; + referencedRelation: "tracker_projects"; + referencedColumns: ["id"]; }, { - foreignKeyName: "public_tracker_reports_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "public_tracker_reports_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; } - ] - } + ]; + }; transaction_attachments: { Row: { - created_at: string - id: string - name: string | null - path: string[] | null - size: number | null - team_id: string | null - transaction_id: string | null - type: string | null - } + created_at: string; + id: string; + name: string | null; + path: string[] | null; + size: number | null; + team_id: string | null; + transaction_id: string | null; + type: string | null; + }; Insert: { - created_at?: string - id?: string - name?: string | null - path?: string[] | null - size?: number | null - team_id?: string | null - transaction_id?: string | null - type?: string | null - } + created_at?: string; + id?: string; + name?: string | null; + path?: string[] | null; + size?: number | null; + team_id?: string | null; + transaction_id?: string | null; + type?: string | null; + }; Update: { - created_at?: string - id?: string - name?: string | null - path?: string[] | null - size?: number | null - team_id?: string | null - transaction_id?: string | null - type?: string | null - } + created_at?: string; + id?: string; + name?: string | null; + path?: string[] | null; + size?: number | null; + team_id?: string | null; + transaction_id?: string | null; + type?: string | null; + }; Relationships: [ { - foreignKeyName: "transaction_attachments_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "transaction_attachments_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; }, { - foreignKeyName: "transaction_attachments_transaction_id_fkey" - columns: ["transaction_id"] - isOneToOne: false - referencedRelation: "decrypted_transactions" - referencedColumns: ["id"] + foreignKeyName: "transaction_attachments_transaction_id_fkey"; + columns: ["transaction_id"]; + isOneToOne: false; + referencedRelation: "decrypted_transactions"; + referencedColumns: ["id"]; }, { - foreignKeyName: "transaction_attachments_transaction_id_fkey" - columns: ["transaction_id"] - isOneToOne: false - referencedRelation: "transactions" - referencedColumns: ["id"] + foreignKeyName: "transaction_attachments_transaction_id_fkey"; + columns: ["transaction_id"]; + isOneToOne: false; + referencedRelation: "transactions"; + referencedColumns: ["id"]; } - ] - } + ]; + }; transaction_enrichments: { Row: { - category: Database["public"]["Enums"]["transactionCategories"] | null - created_at: string - created_by: string | null - id: string - name: string | null - } + category: Database["public"]["Enums"]["transactionCategories"] | null; + created_at: string; + created_by: string | null; + id: string; + name: string | null; + }; Insert: { - category?: Database["public"]["Enums"]["transactionCategories"] | null - created_at?: string - created_by?: string | null - id?: string - name?: string | null - } + category?: + | Database["public"]["Enums"]["transactionCategories"] + | null; + created_at?: string; + created_by?: string | null; + id?: string; + name?: string | null; + }; Update: { - category?: Database["public"]["Enums"]["transactionCategories"] | null - created_at?: string - created_by?: string | null - id?: string - name?: string | null - } + category?: + | Database["public"]["Enums"]["transactionCategories"] + | null; + created_at?: string; + created_by?: string | null; + id?: string; + name?: string | null; + }; Relationships: [ { - foreignKeyName: "transaction_enrichments_created_by_fkey" - columns: ["created_by"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: "transaction_enrichments_created_by_fkey"; + columns: ["created_by"]; + isOneToOne: false; + referencedRelation: "users"; + referencedColumns: ["id"]; } - ] - } + ]; + }; transactions: { Row: { - amount: number - assigned_id: string | null - bank_account_id: string | null - category: Database["public"]["Enums"]["transactionCategories"] | null - created_at: string - currency: string - date: string - id: string - internal_id: string - method: Database["public"]["Enums"]["transactionMethods"] - name: string - note: string | null - order: number - status: Database["public"]["Enums"]["transactionStatus"] | null - team_id: string - } + amount: number; + assigned_id: string | null; + bank_account_id: string | null; + category: Database["public"]["Enums"]["transactionCategories"] | null; + created_at: string; + currency: string; + date: string; + id: string; + internal_id: string; + method: Database["public"]["Enums"]["transactionMethods"]; + name: string; + note: string | null; + order: number; + status: Database["public"]["Enums"]["transactionStatus"] | null; + team_id: string; + }; Insert: { - amount: number - assigned_id?: string | null - bank_account_id?: string | null - category?: Database["public"]["Enums"]["transactionCategories"] | null - created_at?: string - currency: string - date: string - id?: string - internal_id: string - method: Database["public"]["Enums"]["transactionMethods"] - name: string - note?: string | null - order?: number - status?: Database["public"]["Enums"]["transactionStatus"] | null - team_id: string - } + amount: number; + assigned_id?: string | null; + bank_account_id?: string | null; + category?: + | Database["public"]["Enums"]["transactionCategories"] + | null; + created_at?: string; + currency: string; + date: string; + id?: string; + internal_id: string; + method: Database["public"]["Enums"]["transactionMethods"]; + name: string; + note?: string | null; + order?: number; + status?: Database["public"]["Enums"]["transactionStatus"] | null; + team_id: string; + }; Update: { - amount?: number - assigned_id?: string | null - bank_account_id?: string | null - category?: Database["public"]["Enums"]["transactionCategories"] | null - created_at?: string - currency?: string - date?: string - id?: string - internal_id?: string - method?: Database["public"]["Enums"]["transactionMethods"] - name?: string - note?: string | null - order?: number - status?: Database["public"]["Enums"]["transactionStatus"] | null - team_id?: string - } + amount?: number; + assigned_id?: string | null; + bank_account_id?: string | null; + category?: + | Database["public"]["Enums"]["transactionCategories"] + | null; + created_at?: string; + currency?: string; + date?: string; + id?: string; + internal_id?: string; + method?: Database["public"]["Enums"]["transactionMethods"]; + name?: string; + note?: string | null; + order?: number; + status?: Database["public"]["Enums"]["transactionStatus"] | null; + team_id?: string; + }; Relationships: [ { - foreignKeyName: "transactions_assigned_id_fkey" - columns: ["assigned_id"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: "transactions_assigned_id_fkey"; + columns: ["assigned_id"]; + isOneToOne: false; + referencedRelation: "users"; + referencedColumns: ["id"]; }, { - foreignKeyName: "transactions_bank_account_id_fkey" - columns: ["bank_account_id"] - isOneToOne: false - referencedRelation: "bank_accounts" - referencedColumns: ["id"] + foreignKeyName: "transactions_bank_account_id_fkey"; + columns: ["bank_account_id"]; + isOneToOne: false; + referencedRelation: "bank_accounts"; + referencedColumns: ["id"]; }, { - foreignKeyName: "transactions_bank_account_id_fkey" - columns: ["bank_account_id"] - isOneToOne: false - referencedRelation: "decrypted_bank_accounts" - referencedColumns: ["id"] + foreignKeyName: "transactions_bank_account_id_fkey"; + columns: ["bank_account_id"]; + isOneToOne: false; + referencedRelation: "decrypted_bank_accounts"; + referencedColumns: ["id"]; }, { - foreignKeyName: "transactions_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "transactions_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; } - ] - } + ]; + }; user_invites: { Row: { - code: string | null - created_at: string - email: string | null - id: string - invited_by: string | null - role: Database["public"]["Enums"]["teamRoles"] | null - team_id: string | null - } + code: string | null; + created_at: string; + email: string | null; + id: string; + invited_by: string | null; + role: Database["public"]["Enums"]["teamRoles"] | null; + team_id: string | null; + }; Insert: { - code?: string | null - created_at?: string - email?: string | null - id?: string - invited_by?: string | null - role?: Database["public"]["Enums"]["teamRoles"] | null - team_id?: string | null - } + code?: string | null; + created_at?: string; + email?: string | null; + id?: string; + invited_by?: string | null; + role?: Database["public"]["Enums"]["teamRoles"] | null; + team_id?: string | null; + }; Update: { - code?: string | null - created_at?: string - email?: string | null - id?: string - invited_by?: string | null - role?: Database["public"]["Enums"]["teamRoles"] | null - team_id?: string | null - } + code?: string | null; + created_at?: string; + email?: string | null; + id?: string; + invited_by?: string | null; + role?: Database["public"]["Enums"]["teamRoles"] | null; + team_id?: string | null; + }; Relationships: [ { - foreignKeyName: "user_invites_invited_by_fkey" - columns: ["invited_by"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: "user_invites_invited_by_fkey"; + columns: ["invited_by"]; + isOneToOne: false; + referencedRelation: "users"; + referencedColumns: ["id"]; }, { - foreignKeyName: "user_invites_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "user_invites_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; } - ] - } + ]; + }; users: { Row: { - avatar_url: string | null - created_at: string | null - email: string | null - full_name: string | null - id: string - locale: string | null - team_id: string | null - } + avatar_url: string | null; + created_at: string | null; + email: string | null; + full_name: string | null; + id: string; + locale: string | null; + team_id: string | null; + }; Insert: { - avatar_url?: string | null - created_at?: string | null - email?: string | null - full_name?: string | null - id: string - locale?: string | null - team_id?: string | null - } + avatar_url?: string | null; + created_at?: string | null; + email?: string | null; + full_name?: string | null; + id: string; + locale?: string | null; + team_id?: string | null; + }; Update: { - avatar_url?: string | null - created_at?: string | null - email?: string | null - full_name?: string | null - id?: string - locale?: string | null - team_id?: string | null - } + avatar_url?: string | null; + created_at?: string | null; + email?: string | null; + full_name?: string | null; + id?: string; + locale?: string | null; + team_id?: string | null; + }; Relationships: [ { - foreignKeyName: "users_id_fkey" - columns: ["id"] - isOneToOne: true - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: "users_id_fkey"; + columns: ["id"]; + isOneToOne: true; + referencedRelation: "users"; + referencedColumns: ["id"]; }, { - foreignKeyName: "users_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "users_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; } - ] - } + ]; + }; users_on_team: { Row: { - created_at: string | null - id: string - role: Database["public"]["Enums"]["teamRoles"] | null - team_id: string - user_id: string - } + created_at: string | null; + id: string; + role: Database["public"]["Enums"]["teamRoles"] | null; + team_id: string; + user_id: string; + }; Insert: { - created_at?: string | null - id?: string - role?: Database["public"]["Enums"]["teamRoles"] | null - team_id: string - user_id: string - } + created_at?: string | null; + id?: string; + role?: Database["public"]["Enums"]["teamRoles"] | null; + team_id: string; + user_id: string; + }; Update: { - created_at?: string | null - id?: string - role?: Database["public"]["Enums"]["teamRoles"] | null - team_id?: string - user_id?: string - } + created_at?: string | null; + id?: string; + role?: Database["public"]["Enums"]["teamRoles"] | null; + team_id?: string; + user_id?: string; + }; Relationships: [ { - foreignKeyName: "users_on_team_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "users_on_team_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; }, { - foreignKeyName: "users_on_team_user_id_fkey" - columns: ["user_id"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: "users_on_team_user_id_fkey"; + columns: ["user_id"]; + isOneToOne: false; + referencedRelation: "users"; + referencedColumns: ["id"]; } - ] - } - } + ]; + }; + }; Views: { decrypted_bank_accounts: { Row: { - account_id: string | null - bank_connection_id: string | null - created_at: string | null - created_by: string | null - currency: string | null - decrypted_name: string | null - decrypted_owner_name: string | null - id: string | null - last_accessed: string | null - name: string | null - owner_name: string | null - team_id: string | null - } + account_id: string | null; + bank_connection_id: string | null; + created_at: string | null; + created_by: string | null; + currency: string | null; + decrypted_name: string | null; + decrypted_owner_name: string | null; + id: string | null; + last_accessed: string | null; + name: string | null; + owner_name: string | null; + team_id: string | null; + }; Insert: { - account_id?: string | null - bank_connection_id?: string | null - created_at?: string | null - created_by?: string | null - currency?: string | null - decrypted_name?: never - decrypted_owner_name?: never - id?: string | null - last_accessed?: string | null - name?: string | null - owner_name?: string | null - team_id?: string | null - } + account_id?: string | null; + bank_connection_id?: string | null; + created_at?: string | null; + created_by?: string | null; + currency?: string | null; + decrypted_name?: never; + decrypted_owner_name?: never; + id?: string | null; + last_accessed?: string | null; + name?: string | null; + owner_name?: string | null; + team_id?: string | null; + }; Update: { - account_id?: string | null - bank_connection_id?: string | null - created_at?: string | null - created_by?: string | null - currency?: string | null - decrypted_name?: never - decrypted_owner_name?: never - id?: string | null - last_accessed?: string | null - name?: string | null - owner_name?: string | null - team_id?: string | null - } + account_id?: string | null; + bank_connection_id?: string | null; + created_at?: string | null; + created_by?: string | null; + currency?: string | null; + decrypted_name?: never; + decrypted_owner_name?: never; + id?: string | null; + last_accessed?: string | null; + name?: string | null; + owner_name?: string | null; + team_id?: string | null; + }; Relationships: [ { - foreignKeyName: "bank_accounts_bank_connection_id_fkey" - columns: ["bank_connection_id"] - isOneToOne: false - referencedRelation: "bank_connections" - referencedColumns: ["id"] + foreignKeyName: "bank_accounts_bank_connection_id_fkey"; + columns: ["bank_connection_id"]; + isOneToOne: false; + referencedRelation: "bank_connections"; + referencedColumns: ["id"]; }, { - foreignKeyName: "bank_accounts_bank_connection_id_fkey" - columns: ["bank_connection_id"] - isOneToOne: false - referencedRelation: "decrypted_bank_connections" - referencedColumns: ["id"] + foreignKeyName: "bank_accounts_bank_connection_id_fkey"; + columns: ["bank_connection_id"]; + isOneToOne: false; + referencedRelation: "decrypted_bank_connections"; + referencedColumns: ["id"]; }, { - foreignKeyName: "bank_accounts_created_by_fkey" - columns: ["created_by"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: "bank_accounts_created_by_fkey"; + columns: ["created_by"]; + isOneToOne: false; + referencedRelation: "users"; + referencedColumns: ["id"]; }, { - foreignKeyName: "bank_accounts_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "bank_accounts_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; } - ] - } + ]; + }; decrypted_bank_connections: { Row: { - created_at: string | null - decrypted_name: string | null - expires_at: string | null - id: string | null - institution_id: string | null - logo_url: string | null - name: string | null - provider: Database["public"]["Enums"]["bankProviders"] | null - team_id: string | null - } + created_at: string | null; + decrypted_name: string | null; + expires_at: string | null; + id: string | null; + institution_id: string | null; + logo_url: string | null; + name: string | null; + provider: Database["public"]["Enums"]["bankProviders"] | null; + team_id: string | null; + }; Insert: { - created_at?: string | null - decrypted_name?: never - expires_at?: string | null - id?: string | null - institution_id?: string | null - logo_url?: string | null - name?: string | null - provider?: Database["public"]["Enums"]["bankProviders"] | null - team_id?: string | null - } + created_at?: string | null; + decrypted_name?: never; + expires_at?: string | null; + id?: string | null; + institution_id?: string | null; + logo_url?: string | null; + name?: string | null; + provider?: Database["public"]["Enums"]["bankProviders"] | null; + team_id?: string | null; + }; Update: { - created_at?: string | null - decrypted_name?: never - expires_at?: string | null - id?: string | null - institution_id?: string | null - logo_url?: string | null - name?: string | null - provider?: Database["public"]["Enums"]["bankProviders"] | null - team_id?: string | null - } + created_at?: string | null; + decrypted_name?: never; + expires_at?: string | null; + id?: string | null; + institution_id?: string | null; + logo_url?: string | null; + name?: string | null; + provider?: Database["public"]["Enums"]["bankProviders"] | null; + team_id?: string | null; + }; Relationships: [ { - foreignKeyName: "bank_connections_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "bank_connections_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; } - ] - } + ]; + }; decrypted_inbox: { Row: { - amount: number | null - archived: boolean | null - attachment_id: string | null - content_type: string | null - created_at: string | null - currency: string | null - decrypted_html: string | null - decrypted_issuer_name: string | null - decrypted_name: string | null - decrypted_subject: string | null - due_date: string | null - email: string | null - file_name: string | null - file_path: string[] | null - html: string | null - id: string | null - issuer_name: string | null - name: string | null - read: boolean | null - size: number | null - subject: string | null - team_id: string | null - transaction_id: string | null - trash: boolean | null - } + amount: number | null; + archived: boolean | null; + attachment_id: string | null; + content_type: string | null; + created_at: string | null; + currency: string | null; + decrypted_html: string | null; + decrypted_issuer_name: string | null; + decrypted_name: string | null; + decrypted_subject: string | null; + due_date: string | null; + email: string | null; + file_name: string | null; + file_path: string[] | null; + html: string | null; + id: string | null; + issuer_name: string | null; + name: string | null; + read: boolean | null; + size: number | null; + subject: string | null; + team_id: string | null; + transaction_id: string | null; + trash: boolean | null; + }; Insert: { - amount?: number | null - archived?: boolean | null - attachment_id?: string | null - content_type?: string | null - created_at?: string | null - currency?: string | null - decrypted_html?: never - decrypted_issuer_name?: never - decrypted_name?: never - decrypted_subject?: never - due_date?: string | null - email?: string | null - file_name?: string | null - file_path?: string[] | null - html?: string | null - id?: string | null - issuer_name?: string | null - name?: string | null - read?: boolean | null - size?: number | null - subject?: string | null - team_id?: string | null - transaction_id?: string | null - trash?: boolean | null - } + amount?: number | null; + archived?: boolean | null; + attachment_id?: string | null; + content_type?: string | null; + created_at?: string | null; + currency?: string | null; + decrypted_html?: never; + decrypted_issuer_name?: never; + decrypted_name?: never; + decrypted_subject?: never; + due_date?: string | null; + email?: string | null; + file_name?: string | null; + file_path?: string[] | null; + html?: string | null; + id?: string | null; + issuer_name?: string | null; + name?: string | null; + read?: boolean | null; + size?: number | null; + subject?: string | null; + team_id?: string | null; + transaction_id?: string | null; + trash?: boolean | null; + }; Update: { - amount?: number | null - archived?: boolean | null - attachment_id?: string | null - content_type?: string | null - created_at?: string | null - currency?: string | null - decrypted_html?: never - decrypted_issuer_name?: never - decrypted_name?: never - decrypted_subject?: never - due_date?: string | null - email?: string | null - file_name?: string | null - file_path?: string[] | null - html?: string | null - id?: string | null - issuer_name?: string | null - name?: string | null - read?: boolean | null - size?: number | null - subject?: string | null - team_id?: string | null - transaction_id?: string | null - trash?: boolean | null - } + amount?: number | null; + archived?: boolean | null; + attachment_id?: string | null; + content_type?: string | null; + created_at?: string | null; + currency?: string | null; + decrypted_html?: never; + decrypted_issuer_name?: never; + decrypted_name?: never; + decrypted_subject?: never; + due_date?: string | null; + email?: string | null; + file_name?: string | null; + file_path?: string[] | null; + html?: string | null; + id?: string | null; + issuer_name?: string | null; + name?: string | null; + read?: boolean | null; + size?: number | null; + subject?: string | null; + team_id?: string | null; + transaction_id?: string | null; + trash?: boolean | null; + }; Relationships: [ { - foreignKeyName: "inbox_attachment_id_fkey" - columns: ["attachment_id"] - isOneToOne: false - referencedRelation: "transaction_attachments" - referencedColumns: ["id"] + foreignKeyName: "inbox_attachment_id_fkey"; + columns: ["attachment_id"]; + isOneToOne: false; + referencedRelation: "transaction_attachments"; + referencedColumns: ["id"]; }, { - foreignKeyName: "inbox_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "inbox_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; }, { - foreignKeyName: "inbox_transaction_id_fkey" - columns: ["transaction_id"] - isOneToOne: false - referencedRelation: "transactions" - referencedColumns: ["id"] + foreignKeyName: "inbox_transaction_id_fkey"; + columns: ["transaction_id"]; + isOneToOne: false; + referencedRelation: "transactions"; + referencedColumns: ["id"]; }, { - foreignKeyName: "inbox_transaction_id_fkey" - columns: ["transaction_id"] - isOneToOne: false - referencedRelation: "decrypted_transactions" - referencedColumns: ["id"] + foreignKeyName: "inbox_transaction_id_fkey"; + columns: ["transaction_id"]; + isOneToOne: false; + referencedRelation: "decrypted_transactions"; + referencedColumns: ["id"]; } - ] - } + ]; + }; decrypted_transaction_enrichments: { Row: { - category: Database["public"]["Enums"]["transactionCategories"] | null - created_at: string | null - created_by: string | null - decrypted_name: string | null - id: string | null - name: string | null - } + category: Database["public"]["Enums"]["transactionCategories"] | null; + created_at: string | null; + created_by: string | null; + decrypted_name: string | null; + id: string | null; + name: string | null; + }; Insert: { - category?: Database["public"]["Enums"]["transactionCategories"] | null - created_at?: string | null - created_by?: string | null - decrypted_name?: never - id?: string | null - name?: string | null - } + category?: + | Database["public"]["Enums"]["transactionCategories"] + | null; + created_at?: string | null; + created_by?: string | null; + decrypted_name?: never; + id?: string | null; + name?: string | null; + }; Update: { - category?: Database["public"]["Enums"]["transactionCategories"] | null - created_at?: string | null - created_by?: string | null - decrypted_name?: never - id?: string | null - name?: string | null - } + category?: + | Database["public"]["Enums"]["transactionCategories"] + | null; + created_at?: string | null; + created_by?: string | null; + decrypted_name?: never; + id?: string | null; + name?: string | null; + }; Relationships: [ { - foreignKeyName: "transaction_enrichments_created_by_fkey" - columns: ["created_by"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: "transaction_enrichments_created_by_fkey"; + columns: ["created_by"]; + isOneToOne: false; + referencedRelation: "users"; + referencedColumns: ["id"]; } - ] - } + ]; + }; decrypted_transactions: { Row: { - amount: number | null - assigned_id: string | null - bank_account_id: string | null - category: Database["public"]["Enums"]["transactionCategories"] | null - created_at: string | null - currency: string | null - date: string | null - decrypted_name: string | null - id: string | null - internal_id: string | null - method: Database["public"]["Enums"]["transactionMethods"] | null - name: string | null - note: string | null - order: number | null - status: Database["public"]["Enums"]["transactionStatus"] | null - team_id: string | null - } + amount: number | null; + assigned_id: string | null; + bank_account_id: string | null; + category: Database["public"]["Enums"]["transactionCategories"] | null; + created_at: string | null; + currency: string | null; + date: string | null; + decrypted_name: string | null; + id: string | null; + internal_id: string | null; + method: Database["public"]["Enums"]["transactionMethods"] | null; + name: string | null; + note: string | null; + order: number | null; + status: Database["public"]["Enums"]["transactionStatus"] | null; + team_id: string | null; + }; Insert: { - amount?: number | null - assigned_id?: string | null - bank_account_id?: string | null - category?: Database["public"]["Enums"]["transactionCategories"] | null - created_at?: string | null - currency?: string | null - date?: string | null - decrypted_name?: never - id?: string | null - internal_id?: string | null - method?: Database["public"]["Enums"]["transactionMethods"] | null - name?: string | null - note?: string | null - order?: number | null - status?: Database["public"]["Enums"]["transactionStatus"] | null - team_id?: string | null - } + amount?: number | null; + assigned_id?: string | null; + bank_account_id?: string | null; + category?: + | Database["public"]["Enums"]["transactionCategories"] + | null; + created_at?: string | null; + currency?: string | null; + date?: string | null; + decrypted_name?: never; + id?: string | null; + internal_id?: string | null; + method?: Database["public"]["Enums"]["transactionMethods"] | null; + name?: string | null; + note?: string | null; + order?: number | null; + status?: Database["public"]["Enums"]["transactionStatus"] | null; + team_id?: string | null; + }; Update: { - amount?: number | null - assigned_id?: string | null - bank_account_id?: string | null - category?: Database["public"]["Enums"]["transactionCategories"] | null - created_at?: string | null - currency?: string | null - date?: string | null - decrypted_name?: never - id?: string | null - internal_id?: string | null - method?: Database["public"]["Enums"]["transactionMethods"] | null - name?: string | null - note?: string | null - order?: number | null - status?: Database["public"]["Enums"]["transactionStatus"] | null - team_id?: string | null - } + amount?: number | null; + assigned_id?: string | null; + bank_account_id?: string | null; + category?: + | Database["public"]["Enums"]["transactionCategories"] + | null; + created_at?: string | null; + currency?: string | null; + date?: string | null; + decrypted_name?: never; + id?: string | null; + internal_id?: string | null; + method?: Database["public"]["Enums"]["transactionMethods"] | null; + name?: string | null; + note?: string | null; + order?: number | null; + status?: Database["public"]["Enums"]["transactionStatus"] | null; + team_id?: string | null; + }; Relationships: [ { - foreignKeyName: "transactions_assigned_id_fkey" - columns: ["assigned_id"] - isOneToOne: false - referencedRelation: "users" - referencedColumns: ["id"] + foreignKeyName: "transactions_assigned_id_fkey"; + columns: ["assigned_id"]; + isOneToOne: false; + referencedRelation: "users"; + referencedColumns: ["id"]; }, { - foreignKeyName: "transactions_bank_account_id_fkey" - columns: ["bank_account_id"] - isOneToOne: false - referencedRelation: "bank_accounts" - referencedColumns: ["id"] + foreignKeyName: "transactions_bank_account_id_fkey"; + columns: ["bank_account_id"]; + isOneToOne: false; + referencedRelation: "bank_accounts"; + referencedColumns: ["id"]; }, { - foreignKeyName: "transactions_bank_account_id_fkey" - columns: ["bank_account_id"] - isOneToOne: false - referencedRelation: "decrypted_bank_accounts" - referencedColumns: ["id"] + foreignKeyName: "transactions_bank_account_id_fkey"; + columns: ["bank_account_id"]; + isOneToOne: false; + referencedRelation: "decrypted_bank_accounts"; + referencedColumns: ["id"]; }, { - foreignKeyName: "transactions_team_id_fkey" - columns: ["team_id"] - isOneToOne: false - referencedRelation: "teams" - referencedColumns: ["id"] + foreignKeyName: "transactions_team_id_fkey"; + columns: ["team_id"]; + isOneToOne: false; + referencedRelation: "teams"; + referencedColumns: ["id"]; } - ] - } - } + ]; + }; + }; Functions: { amount_text: { Args: { - "": unknown - } - Returns: string - } + "": unknown; + }; + Returns: string; + }; generate_id: { Args: { - size: number - } - Returns: string - } + size: number; + }; + Returns: string; + }; generate_inbox: { Args: { - size: number - } - Returns: string - } + size: number; + }; + Returns: string; + }; gtrgm_compress: { Args: { - "": unknown - } - Returns: unknown - } + "": unknown; + }; + Returns: unknown; + }; gtrgm_decompress: { Args: { - "": unknown - } - Returns: unknown - } + "": unknown; + }; + Returns: unknown; + }; gtrgm_in: { Args: { - "": unknown - } - Returns: unknown - } + "": unknown; + }; + Returns: unknown; + }; gtrgm_options: { Args: { - "": unknown - } - Returns: undefined - } + "": unknown; + }; + Returns: undefined; + }; gtrgm_out: { Args: { - "": unknown - } - Returns: unknown - } + "": unknown; + }; + Returns: unknown; + }; nanoid: { Args: { - size?: number - alphabet?: string - additionalbytesfactor?: number - } - Returns: string - } + size?: number; + alphabet?: string; + additionalbytesfactor?: number; + }; + Returns: string; + }; nanoid_optimized: { Args: { - size: number - alphabet: string - mask: number - step: number - } - Returns: string - } + size: number; + alphabet: string; + mask: number; + step: number; + }; + Returns: string; + }; project_members: | { Args: { - "": unknown - } + "": unknown; + }; Returns: { - id: string - avatar_url: string - full_name: string - }[] + id: string; + avatar_url: string; + full_name: string; + }[]; } | { Args: { - "": unknown - } + "": unknown; + }; Returns: { - id: string - avatar_url: string - full_name: string - }[] - } + id: string; + avatar_url: string; + full_name: string; + }[]; + }; set_limit: { Args: { - "": number - } - Returns: number - } + "": number; + }; + Returns: number; + }; show_limit: { - Args: Record - Returns: number - } + Args: Record; + Returns: number; + }; show_trgm: { Args: { - "": string - } - Returns: unknown - } + "": string; + }; + Returns: unknown; + }; total_duration: { Args: { - "": unknown - } - Returns: number - } - } + "": unknown; + }; + Returns: number; + }; + }; Enums: { - bankProviders: "gocardless" | "plaid" | "teller" - reportTypes: "profit_loss" | "income" - teamRoles: "owner" | "member" - trackerStatus: "in_progress" | "completed" + bankProviders: "gocardless" | "plaid" | "teller"; + reportTypes: "profit_loss" | "income"; + teamRoles: "owner" | "member"; + trackerStatus: "in_progress" | "completed"; transactionCategories: | "travel" | "office_supplies" @@ -1234,20 +1250,20 @@ export type Database = { | "activity" | "uncategorized" | "taxes" - | "other" + | "other"; transactionMethods: | "payment" | "card_purchase" | "card_atm" | "transfer" - | "other" - transactionStatus: "booked" | "pending" - } + | "other"; + transactionStatus: "booked" | "pending"; + }; CompositeTypes: { - [_ in never]: never - } - } -} + [_ in never]: never; + }; + }; +}; export type Tables< PublicTableNameOrOptions extends @@ -1260,7 +1276,7 @@ export type Tables< > = PublicTableNameOrOptions extends { schema: keyof Database } ? (Database[PublicTableNameOrOptions["schema"]]["Tables"] & Database[PublicTableNameOrOptions["schema"]]["Views"])[TableName] extends { - Row: infer R + Row: infer R; } ? R : never @@ -1268,11 +1284,11 @@ export type Tables< Database["public"]["Views"]) ? (Database["public"]["Tables"] & Database["public"]["Views"])[PublicTableNameOrOptions] extends { - Row: infer R + Row: infer R; } ? R : never - : never + : never; export type TablesInsert< PublicTableNameOrOptions extends @@ -1283,17 +1299,17 @@ export type TablesInsert< : never = never > = PublicTableNameOrOptions extends { schema: keyof Database } ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends { - Insert: infer I + Insert: infer I; } ? I : never : PublicTableNameOrOptions extends keyof Database["public"]["Tables"] ? Database["public"]["Tables"][PublicTableNameOrOptions] extends { - Insert: infer I + Insert: infer I; } ? I : never - : never + : never; export type TablesUpdate< PublicTableNameOrOptions extends @@ -1304,17 +1320,17 @@ export type TablesUpdate< : never = never > = PublicTableNameOrOptions extends { schema: keyof Database } ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends { - Update: infer U + Update: infer U; } ? U : never : PublicTableNameOrOptions extends keyof Database["public"]["Tables"] ? Database["public"]["Tables"][PublicTableNameOrOptions] extends { - Update: infer U + Update: infer U; } ? U : never - : never + : never; export type Enums< PublicEnumNameOrOptions extends @@ -1327,4 +1343,4 @@ export type Enums< ? Database[PublicEnumNameOrOptions["schema"]]["Enums"][EnumName] : PublicEnumNameOrOptions extends keyof Database["public"]["Enums"] ? Database["public"]["Enums"][PublicEnumNameOrOptions] - : never + : never; diff --git a/packages/ui/src/components/icons.tsx b/packages/ui/src/components/icons.tsx index 2caa0b4625..df846bfef1 100644 --- a/packages/ui/src/components/icons.tsx +++ b/packages/ui/src/components/icons.tsx @@ -51,6 +51,7 @@ import { MdOutlineIntegrationInstructions, MdOutlineInventory2, MdOutlineListAlt, + MdOutlineLocalAtm, MdOutlineMoreVert, MdOutlineMoveToInbox, MdOutlineNotificationsNone, @@ -472,4 +473,5 @@ export const Icons = { Email: MdOutlineEmail, QuestionAnswer: MdOutlineQuestionAnswer, Click: MdSignalCellularAlt, + Salery: MdOutlineLocalAtm, };