@flowselections/floriday-voorraad 1.0.48 → 1.0.50

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.
Files changed (47) hide show
  1. package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/ArtikelCompositionCard.js +79 -6
  3. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  4. package/dist-lib/components/voorraad/ArtikelWizard.js +14 -2
  5. package/dist-lib/components/voorraad/CollapsibleText.d.ts +9 -0
  6. package/dist-lib/components/voorraad/CollapsibleText.d.ts.map +1 -0
  7. package/dist-lib/components/voorraad/CollapsibleText.js +35 -0
  8. package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
  9. package/dist-lib/components/voorraad/StockMutationHistoryCard.js +18 -16
  10. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
  11. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
  12. package/dist-lib/components/voorraad/VoorraadStockCard.js +29 -42
  13. package/dist-lib/hooks/useTradeItemStock.d.ts +3 -1
  14. package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
  15. package/dist-lib/hooks/useTradeItemStock.js +85 -32
  16. package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
  17. package/dist-lib/hooks/useVoorraadData.js +3 -2
  18. package/dist-lib/integrations/supabase/auth-middleware.d.ts +700 -0
  19. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  20. package/dist-lib/integrations/supabase/client.d.ts +2 -30340
  21. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  22. package/dist-lib/integrations/supabase/client.js +4 -27
  23. package/dist-lib/integrations/supabase/client.server.d.ts +700 -0
  24. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  25. package/dist-lib/integrations/supabase/types.d.ts +720 -0
  26. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  27. package/dist-lib/lib/floricode-required-features.functions.d.ts +700 -0
  28. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +700 -0
  30. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-env.functions.d.ts +1400 -0
  32. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-gateway.functions.d.ts +4200 -0
  34. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +1400 -0
  36. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/floriday-warehouse.functions.d.ts +2100 -0
  38. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/floriday-writes.functions.d.ts +1400 -0
  40. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/inventory-settings.functions.d.ts +1400 -0
  42. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/product-packing.d.ts.map +1 -1
  44. package/dist-lib/lib/product-packing.js +10 -4
  45. package/dist-lib/lib/stock-sync.functions.d.ts +1400 -0
  46. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  47. package/package.json +1 -1
@@ -8263,6 +8263,72 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
8263
8263
  };
8264
8264
  Relationships: [];
8265
8265
  };
8266
+ invoice_branding_settings: {
8267
+ Row: {
8268
+ address: string;
8269
+ chamber_of_commerce_number: string;
8270
+ city: string;
8271
+ company_name: string;
8272
+ created_at: string;
8273
+ email: string;
8274
+ email_purpose: string | null;
8275
+ iban: string;
8276
+ logo_path: string | null;
8277
+ payment_term_days: number;
8278
+ phone: string;
8279
+ postal_code: string;
8280
+ primary_color: string;
8281
+ secondary_color: string;
8282
+ show_company_name: boolean;
8283
+ singleton_key: boolean;
8284
+ updated_at: string;
8285
+ vat_identification_number: string;
8286
+ website: string;
8287
+ };
8288
+ Insert: {
8289
+ address?: string;
8290
+ chamber_of_commerce_number?: string;
8291
+ city?: string;
8292
+ company_name?: string;
8293
+ created_at?: string;
8294
+ email?: string;
8295
+ email_purpose?: string | null;
8296
+ iban?: string;
8297
+ logo_path?: string | null;
8298
+ payment_term_days?: number;
8299
+ phone?: string;
8300
+ postal_code?: string;
8301
+ primary_color?: string;
8302
+ secondary_color?: string;
8303
+ show_company_name?: boolean;
8304
+ singleton_key?: boolean;
8305
+ updated_at?: string;
8306
+ vat_identification_number?: string;
8307
+ website?: string;
8308
+ };
8309
+ Update: {
8310
+ address?: string;
8311
+ chamber_of_commerce_number?: string;
8312
+ city?: string;
8313
+ company_name?: string;
8314
+ created_at?: string;
8315
+ email?: string;
8316
+ email_purpose?: string | null;
8317
+ iban?: string;
8318
+ logo_path?: string | null;
8319
+ payment_term_days?: number;
8320
+ phone?: string;
8321
+ postal_code?: string;
8322
+ primary_color?: string;
8323
+ secondary_color?: string;
8324
+ show_company_name?: boolean;
8325
+ singleton_key?: boolean;
8326
+ updated_at?: string;
8327
+ vat_identification_number?: string;
8328
+ website?: string;
8329
+ };
8330
+ Relationships: [];
8331
+ };
8266
8332
  invoice_items: {
8267
8333
  Row: {
8268
8334
  created_at: string;
@@ -8276,6 +8342,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
8276
8342
  total_cents: number;
8277
8343
  unit: string;
8278
8344
  unit_price_cents: number;
8345
+ vat_rate: number | null;
8279
8346
  };
8280
8347
  Insert: {
8281
8348
  created_at?: string;
@@ -8289,6 +8356,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
8289
8356
  total_cents?: number;
8290
8357
  unit?: string;
8291
8358
  unit_price_cents?: number;
8359
+ vat_rate?: number | null;
8292
8360
  };
8293
8361
  Update: {
8294
8362
  created_at?: string;
@@ -8302,6 +8370,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
8302
8370
  total_cents?: number;
8303
8371
  unit?: string;
8304
8372
  unit_price_cents?: number;
8373
+ vat_rate?: number | null;
8305
8374
  };
8306
8375
  Relationships: [{
8307
8376
  foreignKeyName: "invoice_items_invoice_id_fkey";
@@ -8547,6 +8616,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
8547
8616
  };
8548
8617
  invoices: {
8549
8618
  Row: {
8619
+ branding_snapshot: import("../integrations/supabase/types").Json | null;
8550
8620
  created_at: string;
8551
8621
  created_by: string | null;
8552
8622
  customer_address: string | null;
@@ -8565,6 +8635,8 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
8565
8635
  note: string | null;
8566
8636
  payment_term_days: number;
8567
8637
  reference: string | null;
8638
+ sent_at: string | null;
8639
+ sent_to: string | null;
8568
8640
  source_number: string | null;
8569
8641
  source_ref: string | null;
8570
8642
  source_type: string;
@@ -8577,6 +8649,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
8577
8649
  work_address: string | null;
8578
8650
  };
8579
8651
  Insert: {
8652
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
8580
8653
  created_at?: string;
8581
8654
  created_by?: string | null;
8582
8655
  customer_address?: string | null;
@@ -8595,6 +8668,8 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
8595
8668
  note?: string | null;
8596
8669
  payment_term_days?: number;
8597
8670
  reference?: string | null;
8671
+ sent_at?: string | null;
8672
+ sent_to?: string | null;
8598
8673
  source_number?: string | null;
8599
8674
  source_ref?: string | null;
8600
8675
  source_type?: string;
@@ -8607,6 +8682,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
8607
8682
  work_address?: string | null;
8608
8683
  };
8609
8684
  Update: {
8685
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
8610
8686
  created_at?: string;
8611
8687
  created_by?: string | null;
8612
8688
  customer_address?: string | null;
@@ -8625,6 +8701,8 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
8625
8701
  note?: string | null;
8626
8702
  payment_term_days?: number;
8627
8703
  reference?: string | null;
8704
+ sent_at?: string | null;
8705
+ sent_to?: string | null;
8628
8706
  source_number?: string | null;
8629
8707
  source_ref?: string | null;
8630
8708
  source_type?: string;
@@ -9333,6 +9411,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9333
9411
  quantity: number;
9334
9412
  sort_order: number;
9335
9413
  source: string;
9414
+ unit: string | null;
9336
9415
  unit_price_cents: number;
9337
9416
  updated_at: string;
9338
9417
  };
@@ -9346,6 +9425,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9346
9425
  quantity?: number;
9347
9426
  sort_order?: number;
9348
9427
  source?: string;
9428
+ unit?: string | null;
9349
9429
  unit_price_cents?: number;
9350
9430
  updated_at?: string;
9351
9431
  };
@@ -9359,6 +9439,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9359
9439
  quantity?: number;
9360
9440
  sort_order?: number;
9361
9441
  source?: string;
9442
+ unit?: string | null;
9362
9443
  unit_price_cents?: number;
9363
9444
  updated_at?: string;
9364
9445
  };
@@ -9382,6 +9463,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9382
9463
  created_at: string;
9383
9464
  default_geldigheid_dagen: number;
9384
9465
  default_vat_rate: number;
9466
+ email_purpose: string | null;
9385
9467
  id: string;
9386
9468
  singleton: boolean;
9387
9469
  updated_at: string;
@@ -9391,6 +9473,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9391
9473
  created_at?: string;
9392
9474
  default_geldigheid_dagen?: number;
9393
9475
  default_vat_rate?: number;
9476
+ email_purpose?: string | null;
9394
9477
  id?: string;
9395
9478
  singleton?: boolean;
9396
9479
  updated_at?: string;
@@ -9400,6 +9483,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9400
9483
  created_at?: string;
9401
9484
  default_geldigheid_dagen?: number;
9402
9485
  default_vat_rate?: number;
9486
+ email_purpose?: string | null;
9403
9487
  id?: string;
9404
9488
  singleton?: boolean;
9405
9489
  updated_at?: string;
@@ -9492,6 +9576,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9492
9576
  };
9493
9577
  itk_offertes: {
9494
9578
  Row: {
9579
+ aandachtspunten: string | null;
9495
9580
  ai_generated: boolean;
9496
9581
  approved_at: string | null;
9497
9582
  binnen_mandaat: boolean;
@@ -9507,6 +9592,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9507
9592
  notities: string | null;
9508
9593
  offerte_number: string | null;
9509
9594
  omschrijving: string;
9595
+ onderwerp: string | null;
9510
9596
  rejected_at: string | null;
9511
9597
  sent_at: string | null;
9512
9598
  source_number: string | null;
@@ -9519,12 +9605,15 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9519
9605
  valid_until: string | null;
9520
9606
  vat_cents: number;
9521
9607
  vat_rate: number;
9608
+ verzonden_naar: string | null;
9522
9609
  viewed_at: string | null;
9523
9610
  volgnummer: number | null;
9611
+ voorwaarden: string | null;
9524
9612
  werkbon_id: string | null;
9525
9613
  work_location_id: string | null;
9526
9614
  };
9527
9615
  Insert: {
9616
+ aandachtspunten?: string | null;
9528
9617
  ai_generated?: boolean;
9529
9618
  approved_at?: string | null;
9530
9619
  binnen_mandaat?: boolean;
@@ -9540,6 +9629,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9540
9629
  notities?: string | null;
9541
9630
  offerte_number?: string | null;
9542
9631
  omschrijving?: string;
9632
+ onderwerp?: string | null;
9543
9633
  rejected_at?: string | null;
9544
9634
  sent_at?: string | null;
9545
9635
  source_number?: string | null;
@@ -9552,12 +9642,15 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9552
9642
  valid_until?: string | null;
9553
9643
  vat_cents?: number;
9554
9644
  vat_rate?: number;
9645
+ verzonden_naar?: string | null;
9555
9646
  viewed_at?: string | null;
9556
9647
  volgnummer?: number | null;
9648
+ voorwaarden?: string | null;
9557
9649
  werkbon_id?: string | null;
9558
9650
  work_location_id?: string | null;
9559
9651
  };
9560
9652
  Update: {
9653
+ aandachtspunten?: string | null;
9561
9654
  ai_generated?: boolean;
9562
9655
  approved_at?: string | null;
9563
9656
  binnen_mandaat?: boolean;
@@ -9573,6 +9666,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9573
9666
  notities?: string | null;
9574
9667
  offerte_number?: string | null;
9575
9668
  omschrijving?: string;
9669
+ onderwerp?: string | null;
9576
9670
  rejected_at?: string | null;
9577
9671
  sent_at?: string | null;
9578
9672
  source_number?: string | null;
@@ -9585,8 +9679,10 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
9585
9679
  valid_until?: string | null;
9586
9680
  vat_cents?: number;
9587
9681
  vat_rate?: number;
9682
+ verzonden_naar?: string | null;
9588
9683
  viewed_at?: string | null;
9589
9684
  volgnummer?: number | null;
9685
+ voorwaarden?: string | null;
9590
9686
  werkbon_id?: string | null;
9591
9687
  work_location_id?: string | null;
9592
9688
  };
@@ -14598,6 +14694,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
14598
14694
  next_attempt_at: string;
14599
14695
  order_id: string;
14600
14696
  processed_at: string | null;
14697
+ send_error: string | null;
14601
14698
  status: string;
14602
14699
  updated_at: string;
14603
14700
  };
@@ -14611,6 +14708,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
14611
14708
  next_attempt_at?: string;
14612
14709
  order_id: string;
14613
14710
  processed_at?: string | null;
14711
+ send_error?: string | null;
14614
14712
  status?: string;
14615
14713
  updated_at?: string;
14616
14714
  };
@@ -14624,6 +14722,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
14624
14722
  next_attempt_at?: string;
14625
14723
  order_id?: string;
14626
14724
  processed_at?: string | null;
14725
+ send_error?: string | null;
14627
14726
  status?: string;
14628
14727
  updated_at?: string;
14629
14728
  };
@@ -17653,6 +17752,66 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
17653
17752
  };
17654
17753
  Relationships: [];
17655
17754
  };
17755
+ product_suppliers: {
17756
+ Row: {
17757
+ created_at: string;
17758
+ id: string;
17759
+ is_preferred: boolean;
17760
+ lead_time_days: number | null;
17761
+ min_order_quantity: number | null;
17762
+ notes: string | null;
17763
+ product_id: string;
17764
+ purchase_price_cents: number | null;
17765
+ supplier_article_number: string | null;
17766
+ supplier_id: string;
17767
+ updated_at: string;
17768
+ };
17769
+ Insert: {
17770
+ created_at?: string;
17771
+ id?: string;
17772
+ is_preferred?: boolean;
17773
+ lead_time_days?: number | null;
17774
+ min_order_quantity?: number | null;
17775
+ notes?: string | null;
17776
+ product_id: string;
17777
+ purchase_price_cents?: number | null;
17778
+ supplier_article_number?: string | null;
17779
+ supplier_id: string;
17780
+ updated_at?: string;
17781
+ };
17782
+ Update: {
17783
+ created_at?: string;
17784
+ id?: string;
17785
+ is_preferred?: boolean;
17786
+ lead_time_days?: number | null;
17787
+ min_order_quantity?: number | null;
17788
+ notes?: string | null;
17789
+ product_id?: string;
17790
+ purchase_price_cents?: number | null;
17791
+ supplier_article_number?: string | null;
17792
+ supplier_id?: string;
17793
+ updated_at?: string;
17794
+ };
17795
+ Relationships: [{
17796
+ foreignKeyName: "product_suppliers_product_id_fkey";
17797
+ columns: ["product_id"];
17798
+ isOneToOne: false;
17799
+ referencedRelation: "logistics_product_dimensions";
17800
+ referencedColumns: ["product_id"];
17801
+ }, {
17802
+ foreignKeyName: "product_suppliers_product_id_fkey";
17803
+ columns: ["product_id"];
17804
+ isOneToOne: false;
17805
+ referencedRelation: "products";
17806
+ referencedColumns: ["id"];
17807
+ }, {
17808
+ foreignKeyName: "product_suppliers_supplier_id_fkey";
17809
+ columns: ["supplier_id"];
17810
+ isOneToOne: false;
17811
+ referencedRelation: "suppliers";
17812
+ referencedColumns: ["id"];
17813
+ }];
17814
+ };
17656
17815
  product_tray_stickers: {
17657
17816
  Row: {
17658
17817
  bestand_url: string;
@@ -18157,9 +18316,12 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
18157
18316
  purchase_order_items: {
18158
18317
  Row: {
18159
18318
  article_number: string | null;
18319
+ cancelled_at: string | null;
18160
18320
  created_at: string;
18161
18321
  delivery_date: string | null;
18162
18322
  id: string;
18323
+ incoming_booked: number;
18324
+ line_status: string;
18163
18325
  name: string;
18164
18326
  note: string | null;
18165
18327
  pot_size: string | null;
@@ -18167,6 +18329,8 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
18167
18329
  product_type: string;
18168
18330
  purchase_order_id: string;
18169
18331
  quantity: number;
18332
+ received_at: string | null;
18333
+ received_booked: number;
18170
18334
  supplier_id: string | null;
18171
18335
  supplier_product_id: string | null;
18172
18336
  unit_price_cents: number;
@@ -18174,9 +18338,12 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
18174
18338
  };
18175
18339
  Insert: {
18176
18340
  article_number?: string | null;
18341
+ cancelled_at?: string | null;
18177
18342
  created_at?: string;
18178
18343
  delivery_date?: string | null;
18179
18344
  id?: string;
18345
+ incoming_booked?: number;
18346
+ line_status?: string;
18180
18347
  name?: string;
18181
18348
  note?: string | null;
18182
18349
  pot_size?: string | null;
@@ -18184,6 +18351,8 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
18184
18351
  product_type?: string;
18185
18352
  purchase_order_id: string;
18186
18353
  quantity?: number;
18354
+ received_at?: string | null;
18355
+ received_booked?: number;
18187
18356
  supplier_id?: string | null;
18188
18357
  supplier_product_id?: string | null;
18189
18358
  unit_price_cents?: number;
@@ -18191,9 +18360,12 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
18191
18360
  };
18192
18361
  Update: {
18193
18362
  article_number?: string | null;
18363
+ cancelled_at?: string | null;
18194
18364
  created_at?: string;
18195
18365
  delivery_date?: string | null;
18196
18366
  id?: string;
18367
+ incoming_booked?: number;
18368
+ line_status?: string;
18197
18369
  name?: string;
18198
18370
  note?: string | null;
18199
18371
  pot_size?: string | null;
@@ -18201,6 +18373,8 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
18201
18373
  product_type?: string;
18202
18374
  purchase_order_id?: string;
18203
18375
  quantity?: number;
18376
+ received_at?: string | null;
18377
+ received_booked?: number;
18204
18378
  supplier_id?: string | null;
18205
18379
  supplier_product_id?: string | null;
18206
18380
  unit_price_cents?: number;
@@ -18304,6 +18478,153 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
18304
18478
  referencedColumns: ["id"];
18305
18479
  }];
18306
18480
  };
18481
+ purchase_request_events: {
18482
+ Row: {
18483
+ created_at: string;
18484
+ details: import("../integrations/supabase/types").Json | null;
18485
+ event_type: string;
18486
+ id: string;
18487
+ request_id: string;
18488
+ };
18489
+ Insert: {
18490
+ created_at?: string;
18491
+ details?: import("../integrations/supabase/types").Json | null;
18492
+ event_type: string;
18493
+ id?: string;
18494
+ request_id: string;
18495
+ };
18496
+ Update: {
18497
+ created_at?: string;
18498
+ details?: import("../integrations/supabase/types").Json | null;
18499
+ event_type?: string;
18500
+ id?: string;
18501
+ request_id?: string;
18502
+ };
18503
+ Relationships: [{
18504
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18505
+ columns: ["request_id"];
18506
+ isOneToOne: false;
18507
+ referencedRelation: "purchase_requests";
18508
+ referencedColumns: ["id"];
18509
+ }];
18510
+ };
18511
+ purchase_request_responses: {
18512
+ Row: {
18513
+ confirmed_date: string | null;
18514
+ confirmed_price_cents: number | null;
18515
+ confirmed_quantity: number;
18516
+ created_at: string;
18517
+ id: string;
18518
+ not_available: boolean;
18519
+ note: string | null;
18520
+ purchase_order_item_id: string;
18521
+ request_id: string;
18522
+ updated_at: string;
18523
+ };
18524
+ Insert: {
18525
+ confirmed_date?: string | null;
18526
+ confirmed_price_cents?: number | null;
18527
+ confirmed_quantity?: number;
18528
+ created_at?: string;
18529
+ id?: string;
18530
+ not_available?: boolean;
18531
+ note?: string | null;
18532
+ purchase_order_item_id: string;
18533
+ request_id: string;
18534
+ updated_at?: string;
18535
+ };
18536
+ Update: {
18537
+ confirmed_date?: string | null;
18538
+ confirmed_price_cents?: number | null;
18539
+ confirmed_quantity?: number;
18540
+ created_at?: string;
18541
+ id?: string;
18542
+ not_available?: boolean;
18543
+ note?: string | null;
18544
+ purchase_order_item_id?: string;
18545
+ request_id?: string;
18546
+ updated_at?: string;
18547
+ };
18548
+ Relationships: [{
18549
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18550
+ columns: ["purchase_order_item_id"];
18551
+ isOneToOne: false;
18552
+ referencedRelation: "purchase_order_items";
18553
+ referencedColumns: ["id"];
18554
+ }, {
18555
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18556
+ columns: ["request_id"];
18557
+ isOneToOne: false;
18558
+ referencedRelation: "purchase_requests";
18559
+ referencedColumns: ["id"];
18560
+ }];
18561
+ };
18562
+ purchase_requests: {
18563
+ Row: {
18564
+ created_at: string;
18565
+ expires_at: string;
18566
+ first_viewed_at: string | null;
18567
+ id: string;
18568
+ processed_at: string | null;
18569
+ purchase_order_id: string;
18570
+ responded_at: string | null;
18571
+ sent_at: string;
18572
+ status: string;
18573
+ supplier_id: string | null;
18574
+ supplier_name: string;
18575
+ supplier_note: string | null;
18576
+ to_address: string | null;
18577
+ token_hash: string;
18578
+ updated_at: string;
18579
+ };
18580
+ Insert: {
18581
+ created_at?: string;
18582
+ expires_at?: string;
18583
+ first_viewed_at?: string | null;
18584
+ id?: string;
18585
+ processed_at?: string | null;
18586
+ purchase_order_id: string;
18587
+ responded_at?: string | null;
18588
+ sent_at?: string;
18589
+ status?: string;
18590
+ supplier_id?: string | null;
18591
+ supplier_name?: string;
18592
+ supplier_note?: string | null;
18593
+ to_address?: string | null;
18594
+ token_hash: string;
18595
+ updated_at?: string;
18596
+ };
18597
+ Update: {
18598
+ created_at?: string;
18599
+ expires_at?: string;
18600
+ first_viewed_at?: string | null;
18601
+ id?: string;
18602
+ processed_at?: string | null;
18603
+ purchase_order_id?: string;
18604
+ responded_at?: string | null;
18605
+ sent_at?: string;
18606
+ status?: string;
18607
+ supplier_id?: string | null;
18608
+ supplier_name?: string;
18609
+ supplier_note?: string | null;
18610
+ to_address?: string | null;
18611
+ token_hash?: string;
18612
+ updated_at?: string;
18613
+ };
18614
+ Relationships: [{
18615
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
18616
+ columns: ["purchase_order_id"];
18617
+ isOneToOne: false;
18618
+ referencedRelation: "purchase_orders";
18619
+ referencedColumns: ["id"];
18620
+ }, {
18621
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
18622
+ columns: ["supplier_id"];
18623
+ isOneToOne: false;
18624
+ referencedRelation: "suppliers";
18625
+ referencedColumns: ["id"];
18626
+ }];
18627
+ };
18307
18628
  reception_notifications: {
18308
18629
  Row: {
18309
18630
  booking_id: string | null;
@@ -20467,6 +20788,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20467
20788
  auto_invoice_enabled: boolean;
20468
20789
  auto_invoice_start_date: string | null;
20469
20790
  auto_invoice_trigger_statuses: string[];
20791
+ auto_send_mode: string | null;
20470
20792
  created_at: string;
20471
20793
  debtor_gl_account: string;
20472
20794
  default_article_code: string | null;
@@ -20495,6 +20817,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20495
20817
  auto_invoice_enabled?: boolean;
20496
20818
  auto_invoice_start_date?: string | null;
20497
20819
  auto_invoice_trigger_statuses?: string[];
20820
+ auto_send_mode?: string | null;
20498
20821
  created_at?: string;
20499
20822
  debtor_gl_account?: string;
20500
20823
  default_article_code?: string | null;
@@ -20523,6 +20846,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20523
20846
  auto_invoice_enabled?: boolean;
20524
20847
  auto_invoice_start_date?: string | null;
20525
20848
  auto_invoice_trigger_statuses?: string[];
20849
+ auto_send_mode?: string | null;
20526
20850
  created_at?: string;
20527
20851
  debtor_gl_account?: string;
20528
20852
  default_article_code?: string | null;
@@ -20966,16 +21290,19 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20966
21290
  Row: {
20967
21291
  active_environment: string;
20968
21292
  id: number;
21293
+ public_base_url: string | null;
20969
21294
  updated_at: string;
20970
21295
  };
20971
21296
  Insert: {
20972
21297
  active_environment?: string;
20973
21298
  id?: number;
21299
+ public_base_url?: string | null;
20974
21300
  updated_at?: string;
20975
21301
  };
20976
21302
  Update: {
20977
21303
  active_environment?: string;
20978
21304
  id?: number;
21305
+ public_base_url?: string | null;
20979
21306
  updated_at?: string;
20980
21307
  };
20981
21308
  Relationships: [];
@@ -21206,11 +21533,15 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21206
21533
  monteur_id: string;
21207
21534
  netto_verschil_minuten: number;
21208
21535
  normaal_uitbetaald_minuten: number;
21536
+ omgezet_vakantie_minuten: number;
21537
+ overdracht_vorige_minuten: number;
21209
21538
  overuren_minuten: number;
21210
21539
  plus_minuten: number;
21540
+ rest_overuren_minuten: number;
21211
21541
  status: string;
21212
21542
  totaal_uitbetaald_minuten: number;
21213
21543
  updated_at: string;
21544
+ vakantie_uren_bijgeschreven: number;
21214
21545
  };
21215
21546
  Insert: {
21216
21547
  afgesloten_at?: string | null;
@@ -21227,11 +21558,15 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21227
21558
  monteur_id: string;
21228
21559
  netto_verschil_minuten?: number;
21229
21560
  normaal_uitbetaald_minuten?: number;
21561
+ omgezet_vakantie_minuten?: number;
21562
+ overdracht_vorige_minuten?: number;
21230
21563
  overuren_minuten?: number;
21231
21564
  plus_minuten?: number;
21565
+ rest_overuren_minuten?: number;
21232
21566
  status?: string;
21233
21567
  totaal_uitbetaald_minuten?: number;
21234
21568
  updated_at?: string;
21569
+ vakantie_uren_bijgeschreven?: number;
21235
21570
  };
21236
21571
  Update: {
21237
21572
  afgesloten_at?: string | null;
@@ -21248,11 +21583,15 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21248
21583
  monteur_id?: string;
21249
21584
  netto_verschil_minuten?: number;
21250
21585
  normaal_uitbetaald_minuten?: number;
21586
+ omgezet_vakantie_minuten?: number;
21587
+ overdracht_vorige_minuten?: number;
21251
21588
  overuren_minuten?: number;
21252
21589
  plus_minuten?: number;
21590
+ rest_overuren_minuten?: number;
21253
21591
  status?: string;
21254
21592
  totaal_uitbetaald_minuten?: number;
21255
21593
  updated_at?: string;
21594
+ vakantie_uren_bijgeschreven?: number;
21256
21595
  };
21257
21596
  Relationships: [];
21258
21597
  };
@@ -21664,6 +22003,51 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21664
22003
  referencedColumns: ["id"];
21665
22004
  }];
21666
22005
  };
22006
+ vakantie_uitbetalingen: {
22007
+ Row: {
22008
+ created_at: string;
22009
+ created_by: string | null;
22010
+ days: number;
22011
+ id: string;
22012
+ note: string | null;
22013
+ updated_at: string;
22014
+ user_id: string;
22015
+ year: number;
22016
+ };
22017
+ Insert: {
22018
+ created_at?: string;
22019
+ created_by?: string | null;
22020
+ days: number;
22021
+ id?: string;
22022
+ note?: string | null;
22023
+ updated_at?: string;
22024
+ user_id: string;
22025
+ year?: number;
22026
+ };
22027
+ Update: {
22028
+ created_at?: string;
22029
+ created_by?: string | null;
22030
+ days?: number;
22031
+ id?: string;
22032
+ note?: string | null;
22033
+ updated_at?: string;
22034
+ user_id?: string;
22035
+ year?: number;
22036
+ };
22037
+ Relationships: [{
22038
+ foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
22039
+ columns: ["created_by"];
22040
+ isOneToOne: false;
22041
+ referencedRelation: "profiles";
22042
+ referencedColumns: ["id"];
22043
+ }, {
22044
+ foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
22045
+ columns: ["user_id"];
22046
+ isOneToOne: false;
22047
+ referencedRelation: "profiles";
22048
+ referencedColumns: ["id"];
22049
+ }];
22050
+ };
21667
22051
  van_inventories: {
21668
22052
  Row: {
21669
22053
  barcode: string | null;
@@ -22948,6 +23332,78 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
22948
23332
  referencedColumns: ["id"];
22949
23333
  }];
22950
23334
  };
23335
+ werkbon_voorstellen: {
23336
+ Row: {
23337
+ bron_werkbon_id: string;
23338
+ budget_mandate_cents: number;
23339
+ created_at: string;
23340
+ created_by: string;
23341
+ customer_id: string | null;
23342
+ id: string;
23343
+ payload: import("../integrations/supabase/types").Json;
23344
+ reden: string | null;
23345
+ status: string;
23346
+ updated_at: string;
23347
+ verwerkt_door: string | null;
23348
+ verwerkt_op: string | null;
23349
+ werkbon_id: string | null;
23350
+ };
23351
+ Insert: {
23352
+ bron_werkbon_id: string;
23353
+ budget_mandate_cents?: number;
23354
+ created_at?: string;
23355
+ created_by?: string;
23356
+ customer_id?: string | null;
23357
+ id?: string;
23358
+ payload?: import("../integrations/supabase/types").Json;
23359
+ reden?: string | null;
23360
+ status?: string;
23361
+ updated_at?: string;
23362
+ verwerkt_door?: string | null;
23363
+ verwerkt_op?: string | null;
23364
+ werkbon_id?: string | null;
23365
+ };
23366
+ Update: {
23367
+ bron_werkbon_id?: string;
23368
+ budget_mandate_cents?: number;
23369
+ created_at?: string;
23370
+ created_by?: string;
23371
+ customer_id?: string | null;
23372
+ id?: string;
23373
+ payload?: import("../integrations/supabase/types").Json;
23374
+ reden?: string | null;
23375
+ status?: string;
23376
+ updated_at?: string;
23377
+ verwerkt_door?: string | null;
23378
+ verwerkt_op?: string | null;
23379
+ werkbon_id?: string | null;
23380
+ };
23381
+ Relationships: [{
23382
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
23383
+ columns: ["bron_werkbon_id"];
23384
+ isOneToOne: false;
23385
+ referencedRelation: "werkbonnen";
23386
+ referencedColumns: ["id"];
23387
+ }, {
23388
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
23389
+ columns: ["bron_werkbon_id"];
23390
+ isOneToOne: false;
23391
+ referencedRelation: "wo_overview";
23392
+ referencedColumns: ["id"];
23393
+ }, {
23394
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
23395
+ columns: ["werkbon_id"];
23396
+ isOneToOne: false;
23397
+ referencedRelation: "werkbonnen";
23398
+ referencedColumns: ["id"];
23399
+ }, {
23400
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
23401
+ columns: ["werkbon_id"];
23402
+ isOneToOne: false;
23403
+ referencedRelation: "wo_overview";
23404
+ referencedColumns: ["id"];
23405
+ }];
23406
+ };
22951
23407
  werkbonnen: {
22952
23408
  Row: {
22953
23409
  assigned_user_id: string | null;
@@ -24188,6 +24644,10 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
24188
24644
  };
24189
24645
  Returns: undefined;
24190
24646
  };
24647
+ _wo_is_planner: {
24648
+ Args: never;
24649
+ Returns: boolean;
24650
+ };
24191
24651
  afh_city_code: {
24192
24652
  Args: {
24193
24653
  _city: string;
@@ -25300,6 +25760,22 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
25300
25760
  };
25301
25761
  Returns: number;
25302
25762
  };
25763
+ get_product_stock: {
25764
+ Args: {
25765
+ p_product_id: string;
25766
+ };
25767
+ Returns: {
25768
+ connection_id: string;
25769
+ incoming_stock: number;
25770
+ minimum_stock: number;
25771
+ notes: string;
25772
+ physical_stock: number;
25773
+ product_id: string;
25774
+ reserved_stock: number;
25775
+ trade_item_key: string;
25776
+ updated_at: string;
25777
+ }[];
25778
+ };
25303
25779
  get_room_busy_windows: {
25304
25780
  Args: {
25305
25781
  p_from: string;
@@ -25604,13 +26080,69 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
25604
26080
  };
25605
26081
  Returns: import("../integrations/supabase/types").Json;
25606
26082
  };
26083
+ inkoop_get_supplier_request: {
26084
+ Args: {
26085
+ _token: string;
26086
+ };
26087
+ Returns: import("../integrations/supabase/types").Json;
26088
+ };
26089
+ inkoop_hash_token: {
26090
+ Args: {
26091
+ _token: string;
26092
+ };
26093
+ Returns: string;
26094
+ };
26095
+ inkoop_html_escape: {
26096
+ Args: {
26097
+ _t: string;
26098
+ };
26099
+ Returns: string;
26100
+ };
26101
+ inkoop_list_artikelen: {
26102
+ Args: never;
26103
+ Returns: {
26104
+ article_number: string;
26105
+ barcode: string;
26106
+ id: string;
26107
+ incoming_quantity: number;
26108
+ is_layer: boolean;
26109
+ location: string;
26110
+ min_quantity: number;
26111
+ preferred_supplier_name: string;
26112
+ product: string;
26113
+ product_type: string;
26114
+ purchase_price: number;
26115
+ quantity: number;
26116
+ sale_price: number;
26117
+ supplier_count: number;
26118
+ unit: string;
26119
+ }[];
26120
+ };
25607
26121
  inkoop_next_order_number: {
25608
26122
  Args: never;
25609
26123
  Returns: string;
25610
26124
  };
26125
+ inkoop_process_request: {
26126
+ Args: {
26127
+ _request_id: string;
26128
+ };
26129
+ Returns: undefined;
26130
+ };
25611
26131
  inkoop_send_order: {
25612
26132
  Args: {
26133
+ _base_url?: string;
26134
+ _order_id: string;
26135
+ };
26136
+ Returns: {
26137
+ outbox_id: string;
26138
+ supplier_name: string;
26139
+ to_address: string;
26140
+ }[];
26141
+ } | {
26142
+ Args: {
26143
+ _base_url?: string;
25613
26144
  _order_id: string;
26145
+ _resend?: boolean;
25614
26146
  };
25615
26147
  Returns: {
25616
26148
  outbox_id: string;
@@ -25618,6 +26150,33 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
25618
26150
  to_address: string;
25619
26151
  }[];
25620
26152
  };
26153
+ inkoop_set_preferred_supplier: {
26154
+ Args: {
26155
+ _product_id: string;
26156
+ _supplier_id: string;
26157
+ };
26158
+ Returns: undefined;
26159
+ };
26160
+ inkoop_stock_key: {
26161
+ Args: {
26162
+ p_product_id: string;
26163
+ };
26164
+ Returns: string;
26165
+ };
26166
+ inkoop_submit_supplier_response: {
26167
+ Args: {
26168
+ _lines: import("../integrations/supabase/types").Json;
26169
+ _note?: string;
26170
+ _token: string;
26171
+ };
26172
+ Returns: import("../integrations/supabase/types").Json;
26173
+ };
26174
+ inkoop_sync_item_stock: {
26175
+ Args: {
26176
+ p_item_id: string;
26177
+ };
26178
+ Returns: undefined;
26179
+ };
25621
26180
  instructie_get: {
25622
26181
  Args: {
25623
26182
  _sleutel: string;
@@ -25637,6 +26196,10 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
25637
26196
  };
25638
26197
  Returns: number;
25639
26198
  };
26199
+ invoice_branding_snapshot: {
26200
+ Args: never;
26201
+ Returns: import("../integrations/supabase/types").Json;
26202
+ };
25640
26203
  invoice_create_from_source: {
25641
26204
  Args: {
25642
26205
  _payload?: import("../integrations/supabase/types").Json;
@@ -25671,6 +26234,17 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
25671
26234
  };
25672
26235
  Returns: import("../integrations/supabase/types").Json;
25673
26236
  };
26237
+ invoice_mark_sent: {
26238
+ Args: {
26239
+ _invoice_id: string;
26240
+ _to: string;
26241
+ };
26242
+ Returns: undefined;
26243
+ };
26244
+ invoice_peek_next_number: {
26245
+ Args: never;
26246
+ Returns: string;
26247
+ };
25674
26248
  invoice_ready_work_orders: {
25675
26249
  Args: {
25676
26250
  _limit?: number;
@@ -25683,6 +26257,18 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
25683
26257
  };
25684
26258
  Returns: import("../integrations/supabase/types").Json;
25685
26259
  };
26260
+ invoice_save_branding_settings: {
26261
+ Args: {
26262
+ _payload: import("../integrations/supabase/types").Json;
26263
+ };
26264
+ Returns: import("../integrations/supabase/types").Json;
26265
+ };
26266
+ invoice_set_email_purpose: {
26267
+ Args: {
26268
+ _purpose: string;
26269
+ };
26270
+ Returns: string;
26271
+ };
25686
26272
  invoice_source_lines: {
25687
26273
  Args: {
25688
26274
  _source_id: string;
@@ -25690,6 +26276,19 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
25690
26276
  };
25691
26277
  Returns: import("../integrations/supabase/types").Json;
25692
26278
  };
26279
+ invoice_update_full: {
26280
+ Args: {
26281
+ _invoice_id: string;
26282
+ _payload: import("../integrations/supabase/types").Json;
26283
+ };
26284
+ Returns: import("../integrations/supabase/types").Json;
26285
+ };
26286
+ invoice_work_order_locked: {
26287
+ Args: {
26288
+ _werkbon_id: string;
26289
+ };
26290
+ Returns: import("../integrations/supabase/types").Json;
26291
+ };
25693
26292
  is_authenticated: {
25694
26293
  Args: never;
25695
26294
  Returns: boolean;
@@ -26849,6 +27448,12 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
26849
27448
  Args: never;
26850
27449
  Returns: string;
26851
27450
  };
27451
+ logistics_order_backlog_info: {
27452
+ Args: {
27453
+ p_order_id: string;
27454
+ };
27455
+ Returns: import("../integrations/supabase/types").Json;
27456
+ };
26852
27457
  logistics_order_cart_approval: {
26853
27458
  Args: {
26854
27459
  _order_ref: string;
@@ -26939,6 +27544,12 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
26939
27544
  };
26940
27545
  Returns: boolean;
26941
27546
  };
27547
+ logistics_order_is_backlog: {
27548
+ Args: {
27549
+ p_order_id: string;
27550
+ };
27551
+ Returns: boolean;
27552
+ };
26942
27553
  logistics_order_is_topick: {
26943
27554
  Args: {
26944
27555
  p_order_id: string;
@@ -27080,6 +27691,10 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
27080
27691
  shifted_count: number;
27081
27692
  }[];
27082
27693
  };
27694
+ logistics_pick_backlog_max_days: {
27695
+ Args: never;
27696
+ Returns: number;
27697
+ };
27083
27698
  logistics_pick_barcode_enabled: {
27084
27699
  Args: never;
27085
27700
  Returns: boolean;
@@ -27695,12 +28310,27 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
27695
28310
  Args: never;
27696
28311
  Returns: import("../integrations/supabase/types").Json;
27697
28312
  };
28313
+ logistics_sync_pick_queue_backlog: {
28314
+ Args: never;
28315
+ Returns: import("../integrations/supabase/types").Json;
28316
+ };
28317
+ logistics_sync_pick_queue_core: {
28318
+ Args: never;
28319
+ Returns: import("../integrations/supabase/types").Json;
28320
+ };
27698
28321
  logistics_sync_task_carriers: {
27699
28322
  Args: {
27700
28323
  p_order_ref?: string;
27701
28324
  };
27702
28325
  Returns: number;
27703
28326
  };
28327
+ logistics_task_open_counts: {
28328
+ Args: never;
28329
+ Returns: {
28330
+ open_count: number;
28331
+ owner_module: string;
28332
+ }[];
28333
+ };
27704
28334
  logistics_task_owner: {
27705
28335
  Args: {
27706
28336
  p_task_type: string;
@@ -28989,6 +29619,19 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
28989
29619
  };
28990
29620
  Returns: boolean;
28991
29621
  };
29622
+ quote_assign_number: {
29623
+ Args: {
29624
+ _offerte_id: string;
29625
+ };
29626
+ Returns: string;
29627
+ };
29628
+ quote_create_follow_up_now: {
29629
+ Args: {
29630
+ _offerte_id: string;
29631
+ _payload?: import("../integrations/supabase/types").Json;
29632
+ };
29633
+ Returns: import("../integrations/supabase/types").Json;
29634
+ };
28992
29635
  quote_create_from_source: {
28993
29636
  Args: {
28994
29637
  _payload?: import("../integrations/supabase/types").Json;
@@ -29702,6 +30345,26 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
29702
30345
  };
29703
30346
  Returns: undefined;
29704
30347
  };
30348
+ set_product_stock: {
30349
+ Args: {
30350
+ p_incoming_stock?: number;
30351
+ p_minimum_stock?: number;
30352
+ p_notes?: string;
30353
+ p_physical_stock: number;
30354
+ p_product_id: string;
30355
+ };
30356
+ Returns: {
30357
+ connection_id: string;
30358
+ incoming_stock: number;
30359
+ minimum_stock: number;
30360
+ notes: string;
30361
+ physical_stock: number;
30362
+ product_id: string;
30363
+ reserved_stock: number;
30364
+ trade_item_key: string;
30365
+ updated_at: string;
30366
+ }[];
30367
+ };
29705
30368
  show_limit: {
29706
30369
  Args: never;
29707
30370
  Returns: number;
@@ -30226,6 +30889,13 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
30226
30889
  };
30227
30890
  Returns: number;
30228
30891
  };
30892
+ vakantie_overuren: {
30893
+ Args: {
30894
+ _user_id: string;
30895
+ _year?: number;
30896
+ };
30897
+ Returns: number;
30898
+ };
30229
30899
  vakantie_saldo: {
30230
30900
  Args: {
30231
30901
  _user_id: string;
@@ -30233,7 +30903,12 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
30233
30903
  };
30234
30904
  Returns: {
30235
30905
  day_hours: number;
30906
+ earned_from_overtime_days: number;
30236
30907
  entitlement_days: number;
30908
+ hours_to_next_day: number;
30909
+ overtime_hours: number;
30910
+ overtime_remainder_hours: number;
30911
+ paid_out_days: number;
30237
30912
  remaining_days: number;
30238
30913
  used_days: number;
30239
30914
  }[];
@@ -30244,7 +30919,12 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
30244
30919
  };
30245
30920
  Returns: {
30246
30921
  day_hours: number;
30922
+ earned_from_overtime_days: number;
30247
30923
  entitlement_days: number;
30924
+ hours_to_next_day: number;
30925
+ overtime_hours: number;
30926
+ overtime_remainder_hours: number;
30927
+ paid_out_days: number;
30248
30928
  remaining_days: number;
30249
30929
  used_days: number;
30250
30930
  user_id: string;
@@ -30298,12 +30978,25 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
30298
30978
  };
30299
30979
  Returns: import("../integrations/supabase/types").Json;
30300
30980
  };
30981
+ wo_list_proposals: {
30982
+ Args: {
30983
+ _status?: string;
30984
+ };
30985
+ Returns: import("../integrations/supabase/types").Json;
30986
+ };
30301
30987
  wo_process_offerte_request: {
30302
30988
  Args: {
30303
30989
  _queue_id: string;
30304
30990
  };
30305
30991
  Returns: import("../integrations/supabase/types").Json;
30306
30992
  };
30993
+ wo_process_proposal: {
30994
+ Args: {
30995
+ _id: string;
30996
+ _overrides?: import("../integrations/supabase/types").Json;
30997
+ };
30998
+ Returns: import("../integrations/supabase/types").Json;
30999
+ };
30307
31000
  wo_reject_offerte_request: {
30308
31001
  Args: {
30309
31002
  _queue_id: string;
@@ -30311,6 +31004,13 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
30311
31004
  };
30312
31005
  Returns: import("../integrations/supabase/types").Json;
30313
31006
  };
31007
+ wo_reject_proposal: {
31008
+ Args: {
31009
+ _id: string;
31010
+ _reden?: string;
31011
+ };
31012
+ Returns: import("../integrations/supabase/types").Json;
31013
+ };
30314
31014
  wo_set_status: {
30315
31015
  Args: {
30316
31016
  _reason?: string;
@@ -38618,6 +39318,72 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
38618
39318
  };
38619
39319
  Relationships: [];
38620
39320
  };
39321
+ invoice_branding_settings: {
39322
+ Row: {
39323
+ address: string;
39324
+ chamber_of_commerce_number: string;
39325
+ city: string;
39326
+ company_name: string;
39327
+ created_at: string;
39328
+ email: string;
39329
+ email_purpose: string | null;
39330
+ iban: string;
39331
+ logo_path: string | null;
39332
+ payment_term_days: number;
39333
+ phone: string;
39334
+ postal_code: string;
39335
+ primary_color: string;
39336
+ secondary_color: string;
39337
+ show_company_name: boolean;
39338
+ singleton_key: boolean;
39339
+ updated_at: string;
39340
+ vat_identification_number: string;
39341
+ website: string;
39342
+ };
39343
+ Insert: {
39344
+ address?: string;
39345
+ chamber_of_commerce_number?: string;
39346
+ city?: string;
39347
+ company_name?: string;
39348
+ created_at?: string;
39349
+ email?: string;
39350
+ email_purpose?: string | null;
39351
+ iban?: string;
39352
+ logo_path?: string | null;
39353
+ payment_term_days?: number;
39354
+ phone?: string;
39355
+ postal_code?: string;
39356
+ primary_color?: string;
39357
+ secondary_color?: string;
39358
+ show_company_name?: boolean;
39359
+ singleton_key?: boolean;
39360
+ updated_at?: string;
39361
+ vat_identification_number?: string;
39362
+ website?: string;
39363
+ };
39364
+ Update: {
39365
+ address?: string;
39366
+ chamber_of_commerce_number?: string;
39367
+ city?: string;
39368
+ company_name?: string;
39369
+ created_at?: string;
39370
+ email?: string;
39371
+ email_purpose?: string | null;
39372
+ iban?: string;
39373
+ logo_path?: string | null;
39374
+ payment_term_days?: number;
39375
+ phone?: string;
39376
+ postal_code?: string;
39377
+ primary_color?: string;
39378
+ secondary_color?: string;
39379
+ show_company_name?: boolean;
39380
+ singleton_key?: boolean;
39381
+ updated_at?: string;
39382
+ vat_identification_number?: string;
39383
+ website?: string;
39384
+ };
39385
+ Relationships: [];
39386
+ };
38621
39387
  invoice_items: {
38622
39388
  Row: {
38623
39389
  created_at: string;
@@ -38631,6 +39397,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
38631
39397
  total_cents: number;
38632
39398
  unit: string;
38633
39399
  unit_price_cents: number;
39400
+ vat_rate: number | null;
38634
39401
  };
38635
39402
  Insert: {
38636
39403
  created_at?: string;
@@ -38644,6 +39411,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
38644
39411
  total_cents?: number;
38645
39412
  unit?: string;
38646
39413
  unit_price_cents?: number;
39414
+ vat_rate?: number | null;
38647
39415
  };
38648
39416
  Update: {
38649
39417
  created_at?: string;
@@ -38657,6 +39425,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
38657
39425
  total_cents?: number;
38658
39426
  unit?: string;
38659
39427
  unit_price_cents?: number;
39428
+ vat_rate?: number | null;
38660
39429
  };
38661
39430
  Relationships: [{
38662
39431
  foreignKeyName: "invoice_items_invoice_id_fkey";
@@ -38902,6 +39671,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
38902
39671
  };
38903
39672
  invoices: {
38904
39673
  Row: {
39674
+ branding_snapshot: import("../integrations/supabase/types").Json | null;
38905
39675
  created_at: string;
38906
39676
  created_by: string | null;
38907
39677
  customer_address: string | null;
@@ -38920,6 +39690,8 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
38920
39690
  note: string | null;
38921
39691
  payment_term_days: number;
38922
39692
  reference: string | null;
39693
+ sent_at: string | null;
39694
+ sent_to: string | null;
38923
39695
  source_number: string | null;
38924
39696
  source_ref: string | null;
38925
39697
  source_type: string;
@@ -38932,6 +39704,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
38932
39704
  work_address: string | null;
38933
39705
  };
38934
39706
  Insert: {
39707
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
38935
39708
  created_at?: string;
38936
39709
  created_by?: string | null;
38937
39710
  customer_address?: string | null;
@@ -38950,6 +39723,8 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
38950
39723
  note?: string | null;
38951
39724
  payment_term_days?: number;
38952
39725
  reference?: string | null;
39726
+ sent_at?: string | null;
39727
+ sent_to?: string | null;
38953
39728
  source_number?: string | null;
38954
39729
  source_ref?: string | null;
38955
39730
  source_type?: string;
@@ -38962,6 +39737,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
38962
39737
  work_address?: string | null;
38963
39738
  };
38964
39739
  Update: {
39740
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
38965
39741
  created_at?: string;
38966
39742
  created_by?: string | null;
38967
39743
  customer_address?: string | null;
@@ -38980,6 +39756,8 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
38980
39756
  note?: string | null;
38981
39757
  payment_term_days?: number;
38982
39758
  reference?: string | null;
39759
+ sent_at?: string | null;
39760
+ sent_to?: string | null;
38983
39761
  source_number?: string | null;
38984
39762
  source_ref?: string | null;
38985
39763
  source_type?: string;
@@ -39688,6 +40466,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39688
40466
  quantity: number;
39689
40467
  sort_order: number;
39690
40468
  source: string;
40469
+ unit: string | null;
39691
40470
  unit_price_cents: number;
39692
40471
  updated_at: string;
39693
40472
  };
@@ -39701,6 +40480,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39701
40480
  quantity?: number;
39702
40481
  sort_order?: number;
39703
40482
  source?: string;
40483
+ unit?: string | null;
39704
40484
  unit_price_cents?: number;
39705
40485
  updated_at?: string;
39706
40486
  };
@@ -39714,6 +40494,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39714
40494
  quantity?: number;
39715
40495
  sort_order?: number;
39716
40496
  source?: string;
40497
+ unit?: string | null;
39717
40498
  unit_price_cents?: number;
39718
40499
  updated_at?: string;
39719
40500
  };
@@ -39737,6 +40518,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39737
40518
  created_at: string;
39738
40519
  default_geldigheid_dagen: number;
39739
40520
  default_vat_rate: number;
40521
+ email_purpose: string | null;
39740
40522
  id: string;
39741
40523
  singleton: boolean;
39742
40524
  updated_at: string;
@@ -39746,6 +40528,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39746
40528
  created_at?: string;
39747
40529
  default_geldigheid_dagen?: number;
39748
40530
  default_vat_rate?: number;
40531
+ email_purpose?: string | null;
39749
40532
  id?: string;
39750
40533
  singleton?: boolean;
39751
40534
  updated_at?: string;
@@ -39755,6 +40538,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39755
40538
  created_at?: string;
39756
40539
  default_geldigheid_dagen?: number;
39757
40540
  default_vat_rate?: number;
40541
+ email_purpose?: string | null;
39758
40542
  id?: string;
39759
40543
  singleton?: boolean;
39760
40544
  updated_at?: string;
@@ -39847,6 +40631,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39847
40631
  };
39848
40632
  itk_offertes: {
39849
40633
  Row: {
40634
+ aandachtspunten: string | null;
39850
40635
  ai_generated: boolean;
39851
40636
  approved_at: string | null;
39852
40637
  binnen_mandaat: boolean;
@@ -39862,6 +40647,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39862
40647
  notities: string | null;
39863
40648
  offerte_number: string | null;
39864
40649
  omschrijving: string;
40650
+ onderwerp: string | null;
39865
40651
  rejected_at: string | null;
39866
40652
  sent_at: string | null;
39867
40653
  source_number: string | null;
@@ -39874,12 +40660,15 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39874
40660
  valid_until: string | null;
39875
40661
  vat_cents: number;
39876
40662
  vat_rate: number;
40663
+ verzonden_naar: string | null;
39877
40664
  viewed_at: string | null;
39878
40665
  volgnummer: number | null;
40666
+ voorwaarden: string | null;
39879
40667
  werkbon_id: string | null;
39880
40668
  work_location_id: string | null;
39881
40669
  };
39882
40670
  Insert: {
40671
+ aandachtspunten?: string | null;
39883
40672
  ai_generated?: boolean;
39884
40673
  approved_at?: string | null;
39885
40674
  binnen_mandaat?: boolean;
@@ -39895,6 +40684,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39895
40684
  notities?: string | null;
39896
40685
  offerte_number?: string | null;
39897
40686
  omschrijving?: string;
40687
+ onderwerp?: string | null;
39898
40688
  rejected_at?: string | null;
39899
40689
  sent_at?: string | null;
39900
40690
  source_number?: string | null;
@@ -39907,12 +40697,15 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39907
40697
  valid_until?: string | null;
39908
40698
  vat_cents?: number;
39909
40699
  vat_rate?: number;
40700
+ verzonden_naar?: string | null;
39910
40701
  viewed_at?: string | null;
39911
40702
  volgnummer?: number | null;
40703
+ voorwaarden?: string | null;
39912
40704
  werkbon_id?: string | null;
39913
40705
  work_location_id?: string | null;
39914
40706
  };
39915
40707
  Update: {
40708
+ aandachtspunten?: string | null;
39916
40709
  ai_generated?: boolean;
39917
40710
  approved_at?: string | null;
39918
40711
  binnen_mandaat?: boolean;
@@ -39928,6 +40721,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39928
40721
  notities?: string | null;
39929
40722
  offerte_number?: string | null;
39930
40723
  omschrijving?: string;
40724
+ onderwerp?: string | null;
39931
40725
  rejected_at?: string | null;
39932
40726
  sent_at?: string | null;
39933
40727
  source_number?: string | null;
@@ -39940,8 +40734,10 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39940
40734
  valid_until?: string | null;
39941
40735
  vat_cents?: number;
39942
40736
  vat_rate?: number;
40737
+ verzonden_naar?: string | null;
39943
40738
  viewed_at?: string | null;
39944
40739
  volgnummer?: number | null;
40740
+ voorwaarden?: string | null;
39945
40741
  werkbon_id?: string | null;
39946
40742
  work_location_id?: string | null;
39947
40743
  };
@@ -44953,6 +45749,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44953
45749
  next_attempt_at: string;
44954
45750
  order_id: string;
44955
45751
  processed_at: string | null;
45752
+ send_error: string | null;
44956
45753
  status: string;
44957
45754
  updated_at: string;
44958
45755
  };
@@ -44966,6 +45763,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44966
45763
  next_attempt_at?: string;
44967
45764
  order_id: string;
44968
45765
  processed_at?: string | null;
45766
+ send_error?: string | null;
44969
45767
  status?: string;
44970
45768
  updated_at?: string;
44971
45769
  };
@@ -44979,6 +45777,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44979
45777
  next_attempt_at?: string;
44980
45778
  order_id?: string;
44981
45779
  processed_at?: string | null;
45780
+ send_error?: string | null;
44982
45781
  status?: string;
44983
45782
  updated_at?: string;
44984
45783
  };
@@ -48008,6 +48807,66 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
48008
48807
  };
48009
48808
  Relationships: [];
48010
48809
  };
48810
+ product_suppliers: {
48811
+ Row: {
48812
+ created_at: string;
48813
+ id: string;
48814
+ is_preferred: boolean;
48815
+ lead_time_days: number | null;
48816
+ min_order_quantity: number | null;
48817
+ notes: string | null;
48818
+ product_id: string;
48819
+ purchase_price_cents: number | null;
48820
+ supplier_article_number: string | null;
48821
+ supplier_id: string;
48822
+ updated_at: string;
48823
+ };
48824
+ Insert: {
48825
+ created_at?: string;
48826
+ id?: string;
48827
+ is_preferred?: boolean;
48828
+ lead_time_days?: number | null;
48829
+ min_order_quantity?: number | null;
48830
+ notes?: string | null;
48831
+ product_id: string;
48832
+ purchase_price_cents?: number | null;
48833
+ supplier_article_number?: string | null;
48834
+ supplier_id: string;
48835
+ updated_at?: string;
48836
+ };
48837
+ Update: {
48838
+ created_at?: string;
48839
+ id?: string;
48840
+ is_preferred?: boolean;
48841
+ lead_time_days?: number | null;
48842
+ min_order_quantity?: number | null;
48843
+ notes?: string | null;
48844
+ product_id?: string;
48845
+ purchase_price_cents?: number | null;
48846
+ supplier_article_number?: string | null;
48847
+ supplier_id?: string;
48848
+ updated_at?: string;
48849
+ };
48850
+ Relationships: [{
48851
+ foreignKeyName: "product_suppliers_product_id_fkey";
48852
+ columns: ["product_id"];
48853
+ isOneToOne: false;
48854
+ referencedRelation: "logistics_product_dimensions";
48855
+ referencedColumns: ["product_id"];
48856
+ }, {
48857
+ foreignKeyName: "product_suppliers_product_id_fkey";
48858
+ columns: ["product_id"];
48859
+ isOneToOne: false;
48860
+ referencedRelation: "products";
48861
+ referencedColumns: ["id"];
48862
+ }, {
48863
+ foreignKeyName: "product_suppliers_supplier_id_fkey";
48864
+ columns: ["supplier_id"];
48865
+ isOneToOne: false;
48866
+ referencedRelation: "suppliers";
48867
+ referencedColumns: ["id"];
48868
+ }];
48869
+ };
48011
48870
  product_tray_stickers: {
48012
48871
  Row: {
48013
48872
  bestand_url: string;
@@ -48512,9 +49371,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
48512
49371
  purchase_order_items: {
48513
49372
  Row: {
48514
49373
  article_number: string | null;
49374
+ cancelled_at: string | null;
48515
49375
  created_at: string;
48516
49376
  delivery_date: string | null;
48517
49377
  id: string;
49378
+ incoming_booked: number;
49379
+ line_status: string;
48518
49380
  name: string;
48519
49381
  note: string | null;
48520
49382
  pot_size: string | null;
@@ -48522,6 +49384,8 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
48522
49384
  product_type: string;
48523
49385
  purchase_order_id: string;
48524
49386
  quantity: number;
49387
+ received_at: string | null;
49388
+ received_booked: number;
48525
49389
  supplier_id: string | null;
48526
49390
  supplier_product_id: string | null;
48527
49391
  unit_price_cents: number;
@@ -48529,9 +49393,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
48529
49393
  };
48530
49394
  Insert: {
48531
49395
  article_number?: string | null;
49396
+ cancelled_at?: string | null;
48532
49397
  created_at?: string;
48533
49398
  delivery_date?: string | null;
48534
49399
  id?: string;
49400
+ incoming_booked?: number;
49401
+ line_status?: string;
48535
49402
  name?: string;
48536
49403
  note?: string | null;
48537
49404
  pot_size?: string | null;
@@ -48539,6 +49406,8 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
48539
49406
  product_type?: string;
48540
49407
  purchase_order_id: string;
48541
49408
  quantity?: number;
49409
+ received_at?: string | null;
49410
+ received_booked?: number;
48542
49411
  supplier_id?: string | null;
48543
49412
  supplier_product_id?: string | null;
48544
49413
  unit_price_cents?: number;
@@ -48546,9 +49415,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
48546
49415
  };
48547
49416
  Update: {
48548
49417
  article_number?: string | null;
49418
+ cancelled_at?: string | null;
48549
49419
  created_at?: string;
48550
49420
  delivery_date?: string | null;
48551
49421
  id?: string;
49422
+ incoming_booked?: number;
49423
+ line_status?: string;
48552
49424
  name?: string;
48553
49425
  note?: string | null;
48554
49426
  pot_size?: string | null;
@@ -48556,6 +49428,8 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
48556
49428
  product_type?: string;
48557
49429
  purchase_order_id?: string;
48558
49430
  quantity?: number;
49431
+ received_at?: string | null;
49432
+ received_booked?: number;
48559
49433
  supplier_id?: string | null;
48560
49434
  supplier_product_id?: string | null;
48561
49435
  unit_price_cents?: number;
@@ -48659,6 +49533,153 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
48659
49533
  referencedColumns: ["id"];
48660
49534
  }];
48661
49535
  };
49536
+ purchase_request_events: {
49537
+ Row: {
49538
+ created_at: string;
49539
+ details: import("../integrations/supabase/types").Json | null;
49540
+ event_type: string;
49541
+ id: string;
49542
+ request_id: string;
49543
+ };
49544
+ Insert: {
49545
+ created_at?: string;
49546
+ details?: import("../integrations/supabase/types").Json | null;
49547
+ event_type: string;
49548
+ id?: string;
49549
+ request_id: string;
49550
+ };
49551
+ Update: {
49552
+ created_at?: string;
49553
+ details?: import("../integrations/supabase/types").Json | null;
49554
+ event_type?: string;
49555
+ id?: string;
49556
+ request_id?: string;
49557
+ };
49558
+ Relationships: [{
49559
+ foreignKeyName: "purchase_request_events_request_id_fkey";
49560
+ columns: ["request_id"];
49561
+ isOneToOne: false;
49562
+ referencedRelation: "purchase_requests";
49563
+ referencedColumns: ["id"];
49564
+ }];
49565
+ };
49566
+ purchase_request_responses: {
49567
+ Row: {
49568
+ confirmed_date: string | null;
49569
+ confirmed_price_cents: number | null;
49570
+ confirmed_quantity: number;
49571
+ created_at: string;
49572
+ id: string;
49573
+ not_available: boolean;
49574
+ note: string | null;
49575
+ purchase_order_item_id: string;
49576
+ request_id: string;
49577
+ updated_at: string;
49578
+ };
49579
+ Insert: {
49580
+ confirmed_date?: string | null;
49581
+ confirmed_price_cents?: number | null;
49582
+ confirmed_quantity?: number;
49583
+ created_at?: string;
49584
+ id?: string;
49585
+ not_available?: boolean;
49586
+ note?: string | null;
49587
+ purchase_order_item_id: string;
49588
+ request_id: string;
49589
+ updated_at?: string;
49590
+ };
49591
+ Update: {
49592
+ confirmed_date?: string | null;
49593
+ confirmed_price_cents?: number | null;
49594
+ confirmed_quantity?: number;
49595
+ created_at?: string;
49596
+ id?: string;
49597
+ not_available?: boolean;
49598
+ note?: string | null;
49599
+ purchase_order_item_id?: string;
49600
+ request_id?: string;
49601
+ updated_at?: string;
49602
+ };
49603
+ Relationships: [{
49604
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
49605
+ columns: ["purchase_order_item_id"];
49606
+ isOneToOne: false;
49607
+ referencedRelation: "purchase_order_items";
49608
+ referencedColumns: ["id"];
49609
+ }, {
49610
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
49611
+ columns: ["request_id"];
49612
+ isOneToOne: false;
49613
+ referencedRelation: "purchase_requests";
49614
+ referencedColumns: ["id"];
49615
+ }];
49616
+ };
49617
+ purchase_requests: {
49618
+ Row: {
49619
+ created_at: string;
49620
+ expires_at: string;
49621
+ first_viewed_at: string | null;
49622
+ id: string;
49623
+ processed_at: string | null;
49624
+ purchase_order_id: string;
49625
+ responded_at: string | null;
49626
+ sent_at: string;
49627
+ status: string;
49628
+ supplier_id: string | null;
49629
+ supplier_name: string;
49630
+ supplier_note: string | null;
49631
+ to_address: string | null;
49632
+ token_hash: string;
49633
+ updated_at: string;
49634
+ };
49635
+ Insert: {
49636
+ created_at?: string;
49637
+ expires_at?: string;
49638
+ first_viewed_at?: string | null;
49639
+ id?: string;
49640
+ processed_at?: string | null;
49641
+ purchase_order_id: string;
49642
+ responded_at?: string | null;
49643
+ sent_at?: string;
49644
+ status?: string;
49645
+ supplier_id?: string | null;
49646
+ supplier_name?: string;
49647
+ supplier_note?: string | null;
49648
+ to_address?: string | null;
49649
+ token_hash: string;
49650
+ updated_at?: string;
49651
+ };
49652
+ Update: {
49653
+ created_at?: string;
49654
+ expires_at?: string;
49655
+ first_viewed_at?: string | null;
49656
+ id?: string;
49657
+ processed_at?: string | null;
49658
+ purchase_order_id?: string;
49659
+ responded_at?: string | null;
49660
+ sent_at?: string;
49661
+ status?: string;
49662
+ supplier_id?: string | null;
49663
+ supplier_name?: string;
49664
+ supplier_note?: string | null;
49665
+ to_address?: string | null;
49666
+ token_hash?: string;
49667
+ updated_at?: string;
49668
+ };
49669
+ Relationships: [{
49670
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
49671
+ columns: ["purchase_order_id"];
49672
+ isOneToOne: false;
49673
+ referencedRelation: "purchase_orders";
49674
+ referencedColumns: ["id"];
49675
+ }, {
49676
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
49677
+ columns: ["supplier_id"];
49678
+ isOneToOne: false;
49679
+ referencedRelation: "suppliers";
49680
+ referencedColumns: ["id"];
49681
+ }];
49682
+ };
48662
49683
  reception_notifications: {
48663
49684
  Row: {
48664
49685
  booking_id: string | null;
@@ -50822,6 +51843,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
50822
51843
  auto_invoice_enabled: boolean;
50823
51844
  auto_invoice_start_date: string | null;
50824
51845
  auto_invoice_trigger_statuses: string[];
51846
+ auto_send_mode: string | null;
50825
51847
  created_at: string;
50826
51848
  debtor_gl_account: string;
50827
51849
  default_article_code: string | null;
@@ -50850,6 +51872,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
50850
51872
  auto_invoice_enabled?: boolean;
50851
51873
  auto_invoice_start_date?: string | null;
50852
51874
  auto_invoice_trigger_statuses?: string[];
51875
+ auto_send_mode?: string | null;
50853
51876
  created_at?: string;
50854
51877
  debtor_gl_account?: string;
50855
51878
  default_article_code?: string | null;
@@ -50878,6 +51901,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
50878
51901
  auto_invoice_enabled?: boolean;
50879
51902
  auto_invoice_start_date?: string | null;
50880
51903
  auto_invoice_trigger_statuses?: string[];
51904
+ auto_send_mode?: string | null;
50881
51905
  created_at?: string;
50882
51906
  debtor_gl_account?: string;
50883
51907
  default_article_code?: string | null;
@@ -51321,16 +52345,19 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
51321
52345
  Row: {
51322
52346
  active_environment: string;
51323
52347
  id: number;
52348
+ public_base_url: string | null;
51324
52349
  updated_at: string;
51325
52350
  };
51326
52351
  Insert: {
51327
52352
  active_environment?: string;
51328
52353
  id?: number;
52354
+ public_base_url?: string | null;
51329
52355
  updated_at?: string;
51330
52356
  };
51331
52357
  Update: {
51332
52358
  active_environment?: string;
51333
52359
  id?: number;
52360
+ public_base_url?: string | null;
51334
52361
  updated_at?: string;
51335
52362
  };
51336
52363
  Relationships: [];
@@ -51561,11 +52588,15 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
51561
52588
  monteur_id: string;
51562
52589
  netto_verschil_minuten: number;
51563
52590
  normaal_uitbetaald_minuten: number;
52591
+ omgezet_vakantie_minuten: number;
52592
+ overdracht_vorige_minuten: number;
51564
52593
  overuren_minuten: number;
51565
52594
  plus_minuten: number;
52595
+ rest_overuren_minuten: number;
51566
52596
  status: string;
51567
52597
  totaal_uitbetaald_minuten: number;
51568
52598
  updated_at: string;
52599
+ vakantie_uren_bijgeschreven: number;
51569
52600
  };
51570
52601
  Insert: {
51571
52602
  afgesloten_at?: string | null;
@@ -51582,11 +52613,15 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
51582
52613
  monteur_id: string;
51583
52614
  netto_verschil_minuten?: number;
51584
52615
  normaal_uitbetaald_minuten?: number;
52616
+ omgezet_vakantie_minuten?: number;
52617
+ overdracht_vorige_minuten?: number;
51585
52618
  overuren_minuten?: number;
51586
52619
  plus_minuten?: number;
52620
+ rest_overuren_minuten?: number;
51587
52621
  status?: string;
51588
52622
  totaal_uitbetaald_minuten?: number;
51589
52623
  updated_at?: string;
52624
+ vakantie_uren_bijgeschreven?: number;
51590
52625
  };
51591
52626
  Update: {
51592
52627
  afgesloten_at?: string | null;
@@ -51603,11 +52638,15 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
51603
52638
  monteur_id?: string;
51604
52639
  netto_verschil_minuten?: number;
51605
52640
  normaal_uitbetaald_minuten?: number;
52641
+ omgezet_vakantie_minuten?: number;
52642
+ overdracht_vorige_minuten?: number;
51606
52643
  overuren_minuten?: number;
51607
52644
  plus_minuten?: number;
52645
+ rest_overuren_minuten?: number;
51608
52646
  status?: string;
51609
52647
  totaal_uitbetaald_minuten?: number;
51610
52648
  updated_at?: string;
52649
+ vakantie_uren_bijgeschreven?: number;
51611
52650
  };
51612
52651
  Relationships: [];
51613
52652
  };
@@ -52019,6 +53058,51 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
52019
53058
  referencedColumns: ["id"];
52020
53059
  }];
52021
53060
  };
53061
+ vakantie_uitbetalingen: {
53062
+ Row: {
53063
+ created_at: string;
53064
+ created_by: string | null;
53065
+ days: number;
53066
+ id: string;
53067
+ note: string | null;
53068
+ updated_at: string;
53069
+ user_id: string;
53070
+ year: number;
53071
+ };
53072
+ Insert: {
53073
+ created_at?: string;
53074
+ created_by?: string | null;
53075
+ days: number;
53076
+ id?: string;
53077
+ note?: string | null;
53078
+ updated_at?: string;
53079
+ user_id: string;
53080
+ year?: number;
53081
+ };
53082
+ Update: {
53083
+ created_at?: string;
53084
+ created_by?: string | null;
53085
+ days?: number;
53086
+ id?: string;
53087
+ note?: string | null;
53088
+ updated_at?: string;
53089
+ user_id?: string;
53090
+ year?: number;
53091
+ };
53092
+ Relationships: [{
53093
+ foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
53094
+ columns: ["created_by"];
53095
+ isOneToOne: false;
53096
+ referencedRelation: "profiles";
53097
+ referencedColumns: ["id"];
53098
+ }, {
53099
+ foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
53100
+ columns: ["user_id"];
53101
+ isOneToOne: false;
53102
+ referencedRelation: "profiles";
53103
+ referencedColumns: ["id"];
53104
+ }];
53105
+ };
52022
53106
  van_inventories: {
52023
53107
  Row: {
52024
53108
  barcode: string | null;
@@ -53303,6 +54387,78 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
53303
54387
  referencedColumns: ["id"];
53304
54388
  }];
53305
54389
  };
54390
+ werkbon_voorstellen: {
54391
+ Row: {
54392
+ bron_werkbon_id: string;
54393
+ budget_mandate_cents: number;
54394
+ created_at: string;
54395
+ created_by: string;
54396
+ customer_id: string | null;
54397
+ id: string;
54398
+ payload: import("../integrations/supabase/types").Json;
54399
+ reden: string | null;
54400
+ status: string;
54401
+ updated_at: string;
54402
+ verwerkt_door: string | null;
54403
+ verwerkt_op: string | null;
54404
+ werkbon_id: string | null;
54405
+ };
54406
+ Insert: {
54407
+ bron_werkbon_id: string;
54408
+ budget_mandate_cents?: number;
54409
+ created_at?: string;
54410
+ created_by?: string;
54411
+ customer_id?: string | null;
54412
+ id?: string;
54413
+ payload?: import("../integrations/supabase/types").Json;
54414
+ reden?: string | null;
54415
+ status?: string;
54416
+ updated_at?: string;
54417
+ verwerkt_door?: string | null;
54418
+ verwerkt_op?: string | null;
54419
+ werkbon_id?: string | null;
54420
+ };
54421
+ Update: {
54422
+ bron_werkbon_id?: string;
54423
+ budget_mandate_cents?: number;
54424
+ created_at?: string;
54425
+ created_by?: string;
54426
+ customer_id?: string | null;
54427
+ id?: string;
54428
+ payload?: import("../integrations/supabase/types").Json;
54429
+ reden?: string | null;
54430
+ status?: string;
54431
+ updated_at?: string;
54432
+ verwerkt_door?: string | null;
54433
+ verwerkt_op?: string | null;
54434
+ werkbon_id?: string | null;
54435
+ };
54436
+ Relationships: [{
54437
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
54438
+ columns: ["bron_werkbon_id"];
54439
+ isOneToOne: false;
54440
+ referencedRelation: "werkbonnen";
54441
+ referencedColumns: ["id"];
54442
+ }, {
54443
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
54444
+ columns: ["bron_werkbon_id"];
54445
+ isOneToOne: false;
54446
+ referencedRelation: "wo_overview";
54447
+ referencedColumns: ["id"];
54448
+ }, {
54449
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
54450
+ columns: ["werkbon_id"];
54451
+ isOneToOne: false;
54452
+ referencedRelation: "werkbonnen";
54453
+ referencedColumns: ["id"];
54454
+ }, {
54455
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
54456
+ columns: ["werkbon_id"];
54457
+ isOneToOne: false;
54458
+ referencedRelation: "wo_overview";
54459
+ referencedColumns: ["id"];
54460
+ }];
54461
+ };
53306
54462
  werkbonnen: {
53307
54463
  Row: {
53308
54464
  assigned_user_id: string | null;
@@ -54543,6 +55699,10 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
54543
55699
  };
54544
55700
  Returns: undefined;
54545
55701
  };
55702
+ _wo_is_planner: {
55703
+ Args: never;
55704
+ Returns: boolean;
55705
+ };
54546
55706
  afh_city_code: {
54547
55707
  Args: {
54548
55708
  _city: string;
@@ -55655,6 +56815,22 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
55655
56815
  };
55656
56816
  Returns: number;
55657
56817
  };
56818
+ get_product_stock: {
56819
+ Args: {
56820
+ p_product_id: string;
56821
+ };
56822
+ Returns: {
56823
+ connection_id: string;
56824
+ incoming_stock: number;
56825
+ minimum_stock: number;
56826
+ notes: string;
56827
+ physical_stock: number;
56828
+ product_id: string;
56829
+ reserved_stock: number;
56830
+ trade_item_key: string;
56831
+ updated_at: string;
56832
+ }[];
56833
+ };
55658
56834
  get_room_busy_windows: {
55659
56835
  Args: {
55660
56836
  p_from: string;
@@ -55959,13 +57135,69 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
55959
57135
  };
55960
57136
  Returns: import("../integrations/supabase/types").Json;
55961
57137
  };
57138
+ inkoop_get_supplier_request: {
57139
+ Args: {
57140
+ _token: string;
57141
+ };
57142
+ Returns: import("../integrations/supabase/types").Json;
57143
+ };
57144
+ inkoop_hash_token: {
57145
+ Args: {
57146
+ _token: string;
57147
+ };
57148
+ Returns: string;
57149
+ };
57150
+ inkoop_html_escape: {
57151
+ Args: {
57152
+ _t: string;
57153
+ };
57154
+ Returns: string;
57155
+ };
57156
+ inkoop_list_artikelen: {
57157
+ Args: never;
57158
+ Returns: {
57159
+ article_number: string;
57160
+ barcode: string;
57161
+ id: string;
57162
+ incoming_quantity: number;
57163
+ is_layer: boolean;
57164
+ location: string;
57165
+ min_quantity: number;
57166
+ preferred_supplier_name: string;
57167
+ product: string;
57168
+ product_type: string;
57169
+ purchase_price: number;
57170
+ quantity: number;
57171
+ sale_price: number;
57172
+ supplier_count: number;
57173
+ unit: string;
57174
+ }[];
57175
+ };
55962
57176
  inkoop_next_order_number: {
55963
57177
  Args: never;
55964
57178
  Returns: string;
55965
57179
  };
57180
+ inkoop_process_request: {
57181
+ Args: {
57182
+ _request_id: string;
57183
+ };
57184
+ Returns: undefined;
57185
+ };
55966
57186
  inkoop_send_order: {
55967
57187
  Args: {
57188
+ _base_url?: string;
57189
+ _order_id: string;
57190
+ };
57191
+ Returns: {
57192
+ outbox_id: string;
57193
+ supplier_name: string;
57194
+ to_address: string;
57195
+ }[];
57196
+ } | {
57197
+ Args: {
57198
+ _base_url?: string;
55968
57199
  _order_id: string;
57200
+ _resend?: boolean;
55969
57201
  };
55970
57202
  Returns: {
55971
57203
  outbox_id: string;
@@ -55973,6 +57205,33 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
55973
57205
  to_address: string;
55974
57206
  }[];
55975
57207
  };
57208
+ inkoop_set_preferred_supplier: {
57209
+ Args: {
57210
+ _product_id: string;
57211
+ _supplier_id: string;
57212
+ };
57213
+ Returns: undefined;
57214
+ };
57215
+ inkoop_stock_key: {
57216
+ Args: {
57217
+ p_product_id: string;
57218
+ };
57219
+ Returns: string;
57220
+ };
57221
+ inkoop_submit_supplier_response: {
57222
+ Args: {
57223
+ _lines: import("../integrations/supabase/types").Json;
57224
+ _note?: string;
57225
+ _token: string;
57226
+ };
57227
+ Returns: import("../integrations/supabase/types").Json;
57228
+ };
57229
+ inkoop_sync_item_stock: {
57230
+ Args: {
57231
+ p_item_id: string;
57232
+ };
57233
+ Returns: undefined;
57234
+ };
55976
57235
  instructie_get: {
55977
57236
  Args: {
55978
57237
  _sleutel: string;
@@ -55992,6 +57251,10 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
55992
57251
  };
55993
57252
  Returns: number;
55994
57253
  };
57254
+ invoice_branding_snapshot: {
57255
+ Args: never;
57256
+ Returns: import("../integrations/supabase/types").Json;
57257
+ };
55995
57258
  invoice_create_from_source: {
55996
57259
  Args: {
55997
57260
  _payload?: import("../integrations/supabase/types").Json;
@@ -56026,6 +57289,17 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
56026
57289
  };
56027
57290
  Returns: import("../integrations/supabase/types").Json;
56028
57291
  };
57292
+ invoice_mark_sent: {
57293
+ Args: {
57294
+ _invoice_id: string;
57295
+ _to: string;
57296
+ };
57297
+ Returns: undefined;
57298
+ };
57299
+ invoice_peek_next_number: {
57300
+ Args: never;
57301
+ Returns: string;
57302
+ };
56029
57303
  invoice_ready_work_orders: {
56030
57304
  Args: {
56031
57305
  _limit?: number;
@@ -56038,6 +57312,18 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
56038
57312
  };
56039
57313
  Returns: import("../integrations/supabase/types").Json;
56040
57314
  };
57315
+ invoice_save_branding_settings: {
57316
+ Args: {
57317
+ _payload: import("../integrations/supabase/types").Json;
57318
+ };
57319
+ Returns: import("../integrations/supabase/types").Json;
57320
+ };
57321
+ invoice_set_email_purpose: {
57322
+ Args: {
57323
+ _purpose: string;
57324
+ };
57325
+ Returns: string;
57326
+ };
56041
57327
  invoice_source_lines: {
56042
57328
  Args: {
56043
57329
  _source_id: string;
@@ -56045,6 +57331,19 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
56045
57331
  };
56046
57332
  Returns: import("../integrations/supabase/types").Json;
56047
57333
  };
57334
+ invoice_update_full: {
57335
+ Args: {
57336
+ _invoice_id: string;
57337
+ _payload: import("../integrations/supabase/types").Json;
57338
+ };
57339
+ Returns: import("../integrations/supabase/types").Json;
57340
+ };
57341
+ invoice_work_order_locked: {
57342
+ Args: {
57343
+ _werkbon_id: string;
57344
+ };
57345
+ Returns: import("../integrations/supabase/types").Json;
57346
+ };
56048
57347
  is_authenticated: {
56049
57348
  Args: never;
56050
57349
  Returns: boolean;
@@ -57204,6 +58503,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
57204
58503
  Args: never;
57205
58504
  Returns: string;
57206
58505
  };
58506
+ logistics_order_backlog_info: {
58507
+ Args: {
58508
+ p_order_id: string;
58509
+ };
58510
+ Returns: import("../integrations/supabase/types").Json;
58511
+ };
57207
58512
  logistics_order_cart_approval: {
57208
58513
  Args: {
57209
58514
  _order_ref: string;
@@ -57294,6 +58599,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
57294
58599
  };
57295
58600
  Returns: boolean;
57296
58601
  };
58602
+ logistics_order_is_backlog: {
58603
+ Args: {
58604
+ p_order_id: string;
58605
+ };
58606
+ Returns: boolean;
58607
+ };
57297
58608
  logistics_order_is_topick: {
57298
58609
  Args: {
57299
58610
  p_order_id: string;
@@ -57435,6 +58746,10 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
57435
58746
  shifted_count: number;
57436
58747
  }[];
57437
58748
  };
58749
+ logistics_pick_backlog_max_days: {
58750
+ Args: never;
58751
+ Returns: number;
58752
+ };
57438
58753
  logistics_pick_barcode_enabled: {
57439
58754
  Args: never;
57440
58755
  Returns: boolean;
@@ -58050,12 +59365,27 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
58050
59365
  Args: never;
58051
59366
  Returns: import("../integrations/supabase/types").Json;
58052
59367
  };
59368
+ logistics_sync_pick_queue_backlog: {
59369
+ Args: never;
59370
+ Returns: import("../integrations/supabase/types").Json;
59371
+ };
59372
+ logistics_sync_pick_queue_core: {
59373
+ Args: never;
59374
+ Returns: import("../integrations/supabase/types").Json;
59375
+ };
58053
59376
  logistics_sync_task_carriers: {
58054
59377
  Args: {
58055
59378
  p_order_ref?: string;
58056
59379
  };
58057
59380
  Returns: number;
58058
59381
  };
59382
+ logistics_task_open_counts: {
59383
+ Args: never;
59384
+ Returns: {
59385
+ open_count: number;
59386
+ owner_module: string;
59387
+ }[];
59388
+ };
58059
59389
  logistics_task_owner: {
58060
59390
  Args: {
58061
59391
  p_task_type: string;
@@ -59344,6 +60674,19 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
59344
60674
  };
59345
60675
  Returns: boolean;
59346
60676
  };
60677
+ quote_assign_number: {
60678
+ Args: {
60679
+ _offerte_id: string;
60680
+ };
60681
+ Returns: string;
60682
+ };
60683
+ quote_create_follow_up_now: {
60684
+ Args: {
60685
+ _offerte_id: string;
60686
+ _payload?: import("../integrations/supabase/types").Json;
60687
+ };
60688
+ Returns: import("../integrations/supabase/types").Json;
60689
+ };
59347
60690
  quote_create_from_source: {
59348
60691
  Args: {
59349
60692
  _payload?: import("../integrations/supabase/types").Json;
@@ -60057,6 +61400,26 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
60057
61400
  };
60058
61401
  Returns: undefined;
60059
61402
  };
61403
+ set_product_stock: {
61404
+ Args: {
61405
+ p_incoming_stock?: number;
61406
+ p_minimum_stock?: number;
61407
+ p_notes?: string;
61408
+ p_physical_stock: number;
61409
+ p_product_id: string;
61410
+ };
61411
+ Returns: {
61412
+ connection_id: string;
61413
+ incoming_stock: number;
61414
+ minimum_stock: number;
61415
+ notes: string;
61416
+ physical_stock: number;
61417
+ product_id: string;
61418
+ reserved_stock: number;
61419
+ trade_item_key: string;
61420
+ updated_at: string;
61421
+ }[];
61422
+ };
60060
61423
  show_limit: {
60061
61424
  Args: never;
60062
61425
  Returns: number;
@@ -60581,6 +61944,13 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
60581
61944
  };
60582
61945
  Returns: number;
60583
61946
  };
61947
+ vakantie_overuren: {
61948
+ Args: {
61949
+ _user_id: string;
61950
+ _year?: number;
61951
+ };
61952
+ Returns: number;
61953
+ };
60584
61954
  vakantie_saldo: {
60585
61955
  Args: {
60586
61956
  _user_id: string;
@@ -60588,7 +61958,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
60588
61958
  };
60589
61959
  Returns: {
60590
61960
  day_hours: number;
61961
+ earned_from_overtime_days: number;
60591
61962
  entitlement_days: number;
61963
+ hours_to_next_day: number;
61964
+ overtime_hours: number;
61965
+ overtime_remainder_hours: number;
61966
+ paid_out_days: number;
60592
61967
  remaining_days: number;
60593
61968
  used_days: number;
60594
61969
  }[];
@@ -60599,7 +61974,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
60599
61974
  };
60600
61975
  Returns: {
60601
61976
  day_hours: number;
61977
+ earned_from_overtime_days: number;
60602
61978
  entitlement_days: number;
61979
+ hours_to_next_day: number;
61980
+ overtime_hours: number;
61981
+ overtime_remainder_hours: number;
61982
+ paid_out_days: number;
60603
61983
  remaining_days: number;
60604
61984
  used_days: number;
60605
61985
  user_id: string;
@@ -60653,12 +62033,25 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
60653
62033
  };
60654
62034
  Returns: import("../integrations/supabase/types").Json;
60655
62035
  };
62036
+ wo_list_proposals: {
62037
+ Args: {
62038
+ _status?: string;
62039
+ };
62040
+ Returns: import("../integrations/supabase/types").Json;
62041
+ };
60656
62042
  wo_process_offerte_request: {
60657
62043
  Args: {
60658
62044
  _queue_id: string;
60659
62045
  };
60660
62046
  Returns: import("../integrations/supabase/types").Json;
60661
62047
  };
62048
+ wo_process_proposal: {
62049
+ Args: {
62050
+ _id: string;
62051
+ _overrides?: import("../integrations/supabase/types").Json;
62052
+ };
62053
+ Returns: import("../integrations/supabase/types").Json;
62054
+ };
60662
62055
  wo_reject_offerte_request: {
60663
62056
  Args: {
60664
62057
  _queue_id: string;
@@ -60666,6 +62059,13 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
60666
62059
  };
60667
62060
  Returns: import("../integrations/supabase/types").Json;
60668
62061
  };
62062
+ wo_reject_proposal: {
62063
+ Args: {
62064
+ _id: string;
62065
+ _reden?: string;
62066
+ };
62067
+ Returns: import("../integrations/supabase/types").Json;
62068
+ };
60669
62069
  wo_set_status: {
60670
62070
  Args: {
60671
62071
  _reason?: string;