diff --git a/native/db/types/generated.ts b/native/db/types/generated.ts index f78c88ea..248fe97a 100644 --- a/native/db/types/generated.ts +++ b/native/db/types/generated.ts @@ -289,6 +289,16 @@ export interface Database { }; Returns: string; }; + delete_barcode: { + Args: { + product_id: number; + barcode_to_delete: string; + }; + Returns: { + updated_product_id: number; + updated_barcodes: string[]; + }[]; + }; get_previous_inventory: { Args: { inventory_id: number; @@ -331,6 +341,17 @@ export interface Database { updated_barcodes: string[]; }[]; }; + update_barcode: { + Args: { + product_id: number; + old_barcode: string; + new_barcode: string; + }; + Returns: { + updated_product_id: number; + updated_barcodes: string[]; + }[]; + }; }; Enums: { [_ in never]: never;