@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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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;
@@ -38610,6 +39310,72 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38610
39310
  };
38611
39311
  Relationships: [];
38612
39312
  };
39313
+ invoice_branding_settings: {
39314
+ Row: {
39315
+ address: string;
39316
+ chamber_of_commerce_number: string;
39317
+ city: string;
39318
+ company_name: string;
39319
+ created_at: string;
39320
+ email: string;
39321
+ email_purpose: string | null;
39322
+ iban: string;
39323
+ logo_path: string | null;
39324
+ payment_term_days: number;
39325
+ phone: string;
39326
+ postal_code: string;
39327
+ primary_color: string;
39328
+ secondary_color: string;
39329
+ show_company_name: boolean;
39330
+ singleton_key: boolean;
39331
+ updated_at: string;
39332
+ vat_identification_number: string;
39333
+ website: string;
39334
+ };
39335
+ Insert: {
39336
+ address?: string;
39337
+ chamber_of_commerce_number?: string;
39338
+ city?: string;
39339
+ company_name?: string;
39340
+ created_at?: string;
39341
+ email?: string;
39342
+ email_purpose?: string | null;
39343
+ iban?: string;
39344
+ logo_path?: string | null;
39345
+ payment_term_days?: number;
39346
+ phone?: string;
39347
+ postal_code?: string;
39348
+ primary_color?: string;
39349
+ secondary_color?: string;
39350
+ show_company_name?: boolean;
39351
+ singleton_key?: boolean;
39352
+ updated_at?: string;
39353
+ vat_identification_number?: string;
39354
+ website?: string;
39355
+ };
39356
+ Update: {
39357
+ address?: string;
39358
+ chamber_of_commerce_number?: string;
39359
+ city?: string;
39360
+ company_name?: string;
39361
+ created_at?: string;
39362
+ email?: string;
39363
+ email_purpose?: string | null;
39364
+ iban?: string;
39365
+ logo_path?: string | null;
39366
+ payment_term_days?: number;
39367
+ phone?: string;
39368
+ postal_code?: string;
39369
+ primary_color?: string;
39370
+ secondary_color?: string;
39371
+ show_company_name?: boolean;
39372
+ singleton_key?: boolean;
39373
+ updated_at?: string;
39374
+ vat_identification_number?: string;
39375
+ website?: string;
39376
+ };
39377
+ Relationships: [];
39378
+ };
38613
39379
  invoice_items: {
38614
39380
  Row: {
38615
39381
  created_at: string;
@@ -38623,6 +39389,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38623
39389
  total_cents: number;
38624
39390
  unit: string;
38625
39391
  unit_price_cents: number;
39392
+ vat_rate: number | null;
38626
39393
  };
38627
39394
  Insert: {
38628
39395
  created_at?: string;
@@ -38636,6 +39403,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38636
39403
  total_cents?: number;
38637
39404
  unit?: string;
38638
39405
  unit_price_cents?: number;
39406
+ vat_rate?: number | null;
38639
39407
  };
38640
39408
  Update: {
38641
39409
  created_at?: string;
@@ -38649,6 +39417,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38649
39417
  total_cents?: number;
38650
39418
  unit?: string;
38651
39419
  unit_price_cents?: number;
39420
+ vat_rate?: number | null;
38652
39421
  };
38653
39422
  Relationships: [{
38654
39423
  foreignKeyName: "invoice_items_invoice_id_fkey";
@@ -38894,6 +39663,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38894
39663
  };
38895
39664
  invoices: {
38896
39665
  Row: {
39666
+ branding_snapshot: import("../integrations/supabase/types").Json | null;
38897
39667
  created_at: string;
38898
39668
  created_by: string | null;
38899
39669
  customer_address: string | null;
@@ -38912,6 +39682,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38912
39682
  note: string | null;
38913
39683
  payment_term_days: number;
38914
39684
  reference: string | null;
39685
+ sent_at: string | null;
39686
+ sent_to: string | null;
38915
39687
  source_number: string | null;
38916
39688
  source_ref: string | null;
38917
39689
  source_type: string;
@@ -38924,6 +39696,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38924
39696
  work_address: string | null;
38925
39697
  };
38926
39698
  Insert: {
39699
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
38927
39700
  created_at?: string;
38928
39701
  created_by?: string | null;
38929
39702
  customer_address?: string | null;
@@ -38942,6 +39715,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38942
39715
  note?: string | null;
38943
39716
  payment_term_days?: number;
38944
39717
  reference?: string | null;
39718
+ sent_at?: string | null;
39719
+ sent_to?: string | null;
38945
39720
  source_number?: string | null;
38946
39721
  source_ref?: string | null;
38947
39722
  source_type?: string;
@@ -38954,6 +39729,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38954
39729
  work_address?: string | null;
38955
39730
  };
38956
39731
  Update: {
39732
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
38957
39733
  created_at?: string;
38958
39734
  created_by?: string | null;
38959
39735
  customer_address?: string | null;
@@ -38972,6 +39748,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38972
39748
  note?: string | null;
38973
39749
  payment_term_days?: number;
38974
39750
  reference?: string | null;
39751
+ sent_at?: string | null;
39752
+ sent_to?: string | null;
38975
39753
  source_number?: string | null;
38976
39754
  source_ref?: string | null;
38977
39755
  source_type?: string;
@@ -39680,6 +40458,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39680
40458
  quantity: number;
39681
40459
  sort_order: number;
39682
40460
  source: string;
40461
+ unit: string | null;
39683
40462
  unit_price_cents: number;
39684
40463
  updated_at: string;
39685
40464
  };
@@ -39693,6 +40472,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39693
40472
  quantity?: number;
39694
40473
  sort_order?: number;
39695
40474
  source?: string;
40475
+ unit?: string | null;
39696
40476
  unit_price_cents?: number;
39697
40477
  updated_at?: string;
39698
40478
  };
@@ -39706,6 +40486,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39706
40486
  quantity?: number;
39707
40487
  sort_order?: number;
39708
40488
  source?: string;
40489
+ unit?: string | null;
39709
40490
  unit_price_cents?: number;
39710
40491
  updated_at?: string;
39711
40492
  };
@@ -39729,6 +40510,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39729
40510
  created_at: string;
39730
40511
  default_geldigheid_dagen: number;
39731
40512
  default_vat_rate: number;
40513
+ email_purpose: string | null;
39732
40514
  id: string;
39733
40515
  singleton: boolean;
39734
40516
  updated_at: string;
@@ -39738,6 +40520,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39738
40520
  created_at?: string;
39739
40521
  default_geldigheid_dagen?: number;
39740
40522
  default_vat_rate?: number;
40523
+ email_purpose?: string | null;
39741
40524
  id?: string;
39742
40525
  singleton?: boolean;
39743
40526
  updated_at?: string;
@@ -39747,6 +40530,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39747
40530
  created_at?: string;
39748
40531
  default_geldigheid_dagen?: number;
39749
40532
  default_vat_rate?: number;
40533
+ email_purpose?: string | null;
39750
40534
  id?: string;
39751
40535
  singleton?: boolean;
39752
40536
  updated_at?: string;
@@ -39839,6 +40623,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39839
40623
  };
39840
40624
  itk_offertes: {
39841
40625
  Row: {
40626
+ aandachtspunten: string | null;
39842
40627
  ai_generated: boolean;
39843
40628
  approved_at: string | null;
39844
40629
  binnen_mandaat: boolean;
@@ -39854,6 +40639,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39854
40639
  notities: string | null;
39855
40640
  offerte_number: string | null;
39856
40641
  omschrijving: string;
40642
+ onderwerp: string | null;
39857
40643
  rejected_at: string | null;
39858
40644
  sent_at: string | null;
39859
40645
  source_number: string | null;
@@ -39866,12 +40652,15 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39866
40652
  valid_until: string | null;
39867
40653
  vat_cents: number;
39868
40654
  vat_rate: number;
40655
+ verzonden_naar: string | null;
39869
40656
  viewed_at: string | null;
39870
40657
  volgnummer: number | null;
40658
+ voorwaarden: string | null;
39871
40659
  werkbon_id: string | null;
39872
40660
  work_location_id: string | null;
39873
40661
  };
39874
40662
  Insert: {
40663
+ aandachtspunten?: string | null;
39875
40664
  ai_generated?: boolean;
39876
40665
  approved_at?: string | null;
39877
40666
  binnen_mandaat?: boolean;
@@ -39887,6 +40676,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39887
40676
  notities?: string | null;
39888
40677
  offerte_number?: string | null;
39889
40678
  omschrijving?: string;
40679
+ onderwerp?: string | null;
39890
40680
  rejected_at?: string | null;
39891
40681
  sent_at?: string | null;
39892
40682
  source_number?: string | null;
@@ -39899,12 +40689,15 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39899
40689
  valid_until?: string | null;
39900
40690
  vat_cents?: number;
39901
40691
  vat_rate?: number;
40692
+ verzonden_naar?: string | null;
39902
40693
  viewed_at?: string | null;
39903
40694
  volgnummer?: number | null;
40695
+ voorwaarden?: string | null;
39904
40696
  werkbon_id?: string | null;
39905
40697
  work_location_id?: string | null;
39906
40698
  };
39907
40699
  Update: {
40700
+ aandachtspunten?: string | null;
39908
40701
  ai_generated?: boolean;
39909
40702
  approved_at?: string | null;
39910
40703
  binnen_mandaat?: boolean;
@@ -39920,6 +40713,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39920
40713
  notities?: string | null;
39921
40714
  offerte_number?: string | null;
39922
40715
  omschrijving?: string;
40716
+ onderwerp?: string | null;
39923
40717
  rejected_at?: string | null;
39924
40718
  sent_at?: string | null;
39925
40719
  source_number?: string | null;
@@ -39932,8 +40726,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39932
40726
  valid_until?: string | null;
39933
40727
  vat_cents?: number;
39934
40728
  vat_rate?: number;
40729
+ verzonden_naar?: string | null;
39935
40730
  viewed_at?: string | null;
39936
40731
  volgnummer?: number | null;
40732
+ voorwaarden?: string | null;
39937
40733
  werkbon_id?: string | null;
39938
40734
  work_location_id?: string | null;
39939
40735
  };
@@ -44945,6 +45741,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44945
45741
  next_attempt_at: string;
44946
45742
  order_id: string;
44947
45743
  processed_at: string | null;
45744
+ send_error: string | null;
44948
45745
  status: string;
44949
45746
  updated_at: string;
44950
45747
  };
@@ -44958,6 +45755,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44958
45755
  next_attempt_at?: string;
44959
45756
  order_id: string;
44960
45757
  processed_at?: string | null;
45758
+ send_error?: string | null;
44961
45759
  status?: string;
44962
45760
  updated_at?: string;
44963
45761
  };
@@ -44971,6 +45769,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44971
45769
  next_attempt_at?: string;
44972
45770
  order_id?: string;
44973
45771
  processed_at?: string | null;
45772
+ send_error?: string | null;
44974
45773
  status?: string;
44975
45774
  updated_at?: string;
44976
45775
  };
@@ -48000,6 +48799,66 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48000
48799
  };
48001
48800
  Relationships: [];
48002
48801
  };
48802
+ product_suppliers: {
48803
+ Row: {
48804
+ created_at: string;
48805
+ id: string;
48806
+ is_preferred: boolean;
48807
+ lead_time_days: number | null;
48808
+ min_order_quantity: number | null;
48809
+ notes: string | null;
48810
+ product_id: string;
48811
+ purchase_price_cents: number | null;
48812
+ supplier_article_number: string | null;
48813
+ supplier_id: string;
48814
+ updated_at: string;
48815
+ };
48816
+ Insert: {
48817
+ created_at?: string;
48818
+ id?: string;
48819
+ is_preferred?: boolean;
48820
+ lead_time_days?: number | null;
48821
+ min_order_quantity?: number | null;
48822
+ notes?: string | null;
48823
+ product_id: string;
48824
+ purchase_price_cents?: number | null;
48825
+ supplier_article_number?: string | null;
48826
+ supplier_id: string;
48827
+ updated_at?: string;
48828
+ };
48829
+ Update: {
48830
+ created_at?: string;
48831
+ id?: string;
48832
+ is_preferred?: boolean;
48833
+ lead_time_days?: number | null;
48834
+ min_order_quantity?: number | null;
48835
+ notes?: string | null;
48836
+ product_id?: string;
48837
+ purchase_price_cents?: number | null;
48838
+ supplier_article_number?: string | null;
48839
+ supplier_id?: string;
48840
+ updated_at?: string;
48841
+ };
48842
+ Relationships: [{
48843
+ foreignKeyName: "product_suppliers_product_id_fkey";
48844
+ columns: ["product_id"];
48845
+ isOneToOne: false;
48846
+ referencedRelation: "logistics_product_dimensions";
48847
+ referencedColumns: ["product_id"];
48848
+ }, {
48849
+ foreignKeyName: "product_suppliers_product_id_fkey";
48850
+ columns: ["product_id"];
48851
+ isOneToOne: false;
48852
+ referencedRelation: "products";
48853
+ referencedColumns: ["id"];
48854
+ }, {
48855
+ foreignKeyName: "product_suppliers_supplier_id_fkey";
48856
+ columns: ["supplier_id"];
48857
+ isOneToOne: false;
48858
+ referencedRelation: "suppliers";
48859
+ referencedColumns: ["id"];
48860
+ }];
48861
+ };
48003
48862
  product_tray_stickers: {
48004
48863
  Row: {
48005
48864
  bestand_url: string;
@@ -48504,9 +49363,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48504
49363
  purchase_order_items: {
48505
49364
  Row: {
48506
49365
  article_number: string | null;
49366
+ cancelled_at: string | null;
48507
49367
  created_at: string;
48508
49368
  delivery_date: string | null;
48509
49369
  id: string;
49370
+ incoming_booked: number;
49371
+ line_status: string;
48510
49372
  name: string;
48511
49373
  note: string | null;
48512
49374
  pot_size: string | null;
@@ -48514,6 +49376,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48514
49376
  product_type: string;
48515
49377
  purchase_order_id: string;
48516
49378
  quantity: number;
49379
+ received_at: string | null;
49380
+ received_booked: number;
48517
49381
  supplier_id: string | null;
48518
49382
  supplier_product_id: string | null;
48519
49383
  unit_price_cents: number;
@@ -48521,9 +49385,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48521
49385
  };
48522
49386
  Insert: {
48523
49387
  article_number?: string | null;
49388
+ cancelled_at?: string | null;
48524
49389
  created_at?: string;
48525
49390
  delivery_date?: string | null;
48526
49391
  id?: string;
49392
+ incoming_booked?: number;
49393
+ line_status?: string;
48527
49394
  name?: string;
48528
49395
  note?: string | null;
48529
49396
  pot_size?: string | null;
@@ -48531,6 +49398,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48531
49398
  product_type?: string;
48532
49399
  purchase_order_id: string;
48533
49400
  quantity?: number;
49401
+ received_at?: string | null;
49402
+ received_booked?: number;
48534
49403
  supplier_id?: string | null;
48535
49404
  supplier_product_id?: string | null;
48536
49405
  unit_price_cents?: number;
@@ -48538,9 +49407,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48538
49407
  };
48539
49408
  Update: {
48540
49409
  article_number?: string | null;
49410
+ cancelled_at?: string | null;
48541
49411
  created_at?: string;
48542
49412
  delivery_date?: string | null;
48543
49413
  id?: string;
49414
+ incoming_booked?: number;
49415
+ line_status?: string;
48544
49416
  name?: string;
48545
49417
  note?: string | null;
48546
49418
  pot_size?: string | null;
@@ -48548,6 +49420,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48548
49420
  product_type?: string;
48549
49421
  purchase_order_id?: string;
48550
49422
  quantity?: number;
49423
+ received_at?: string | null;
49424
+ received_booked?: number;
48551
49425
  supplier_id?: string | null;
48552
49426
  supplier_product_id?: string | null;
48553
49427
  unit_price_cents?: number;
@@ -48651,6 +49525,153 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48651
49525
  referencedColumns: ["id"];
48652
49526
  }];
48653
49527
  };
49528
+ purchase_request_events: {
49529
+ Row: {
49530
+ created_at: string;
49531
+ details: import("../integrations/supabase/types").Json | null;
49532
+ event_type: string;
49533
+ id: string;
49534
+ request_id: string;
49535
+ };
49536
+ Insert: {
49537
+ created_at?: string;
49538
+ details?: import("../integrations/supabase/types").Json | null;
49539
+ event_type: string;
49540
+ id?: string;
49541
+ request_id: string;
49542
+ };
49543
+ Update: {
49544
+ created_at?: string;
49545
+ details?: import("../integrations/supabase/types").Json | null;
49546
+ event_type?: string;
49547
+ id?: string;
49548
+ request_id?: string;
49549
+ };
49550
+ Relationships: [{
49551
+ foreignKeyName: "purchase_request_events_request_id_fkey";
49552
+ columns: ["request_id"];
49553
+ isOneToOne: false;
49554
+ referencedRelation: "purchase_requests";
49555
+ referencedColumns: ["id"];
49556
+ }];
49557
+ };
49558
+ purchase_request_responses: {
49559
+ Row: {
49560
+ confirmed_date: string | null;
49561
+ confirmed_price_cents: number | null;
49562
+ confirmed_quantity: number;
49563
+ created_at: string;
49564
+ id: string;
49565
+ not_available: boolean;
49566
+ note: string | null;
49567
+ purchase_order_item_id: string;
49568
+ request_id: string;
49569
+ updated_at: string;
49570
+ };
49571
+ Insert: {
49572
+ confirmed_date?: string | null;
49573
+ confirmed_price_cents?: number | null;
49574
+ confirmed_quantity?: number;
49575
+ created_at?: string;
49576
+ id?: string;
49577
+ not_available?: boolean;
49578
+ note?: string | null;
49579
+ purchase_order_item_id: string;
49580
+ request_id: string;
49581
+ updated_at?: string;
49582
+ };
49583
+ Update: {
49584
+ confirmed_date?: string | null;
49585
+ confirmed_price_cents?: number | null;
49586
+ confirmed_quantity?: number;
49587
+ created_at?: string;
49588
+ id?: string;
49589
+ not_available?: boolean;
49590
+ note?: string | null;
49591
+ purchase_order_item_id?: string;
49592
+ request_id?: string;
49593
+ updated_at?: string;
49594
+ };
49595
+ Relationships: [{
49596
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
49597
+ columns: ["purchase_order_item_id"];
49598
+ isOneToOne: false;
49599
+ referencedRelation: "purchase_order_items";
49600
+ referencedColumns: ["id"];
49601
+ }, {
49602
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
49603
+ columns: ["request_id"];
49604
+ isOneToOne: false;
49605
+ referencedRelation: "purchase_requests";
49606
+ referencedColumns: ["id"];
49607
+ }];
49608
+ };
49609
+ purchase_requests: {
49610
+ Row: {
49611
+ created_at: string;
49612
+ expires_at: string;
49613
+ first_viewed_at: string | null;
49614
+ id: string;
49615
+ processed_at: string | null;
49616
+ purchase_order_id: string;
49617
+ responded_at: string | null;
49618
+ sent_at: string;
49619
+ status: string;
49620
+ supplier_id: string | null;
49621
+ supplier_name: string;
49622
+ supplier_note: string | null;
49623
+ to_address: string | null;
49624
+ token_hash: string;
49625
+ updated_at: string;
49626
+ };
49627
+ Insert: {
49628
+ created_at?: string;
49629
+ expires_at?: string;
49630
+ first_viewed_at?: string | null;
49631
+ id?: string;
49632
+ processed_at?: string | null;
49633
+ purchase_order_id: string;
49634
+ responded_at?: string | null;
49635
+ sent_at?: string;
49636
+ status?: string;
49637
+ supplier_id?: string | null;
49638
+ supplier_name?: string;
49639
+ supplier_note?: string | null;
49640
+ to_address?: string | null;
49641
+ token_hash: string;
49642
+ updated_at?: string;
49643
+ };
49644
+ Update: {
49645
+ created_at?: string;
49646
+ expires_at?: string;
49647
+ first_viewed_at?: string | null;
49648
+ id?: string;
49649
+ processed_at?: string | null;
49650
+ purchase_order_id?: string;
49651
+ responded_at?: string | null;
49652
+ sent_at?: string;
49653
+ status?: string;
49654
+ supplier_id?: string | null;
49655
+ supplier_name?: string;
49656
+ supplier_note?: string | null;
49657
+ to_address?: string | null;
49658
+ token_hash?: string;
49659
+ updated_at?: string;
49660
+ };
49661
+ Relationships: [{
49662
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
49663
+ columns: ["purchase_order_id"];
49664
+ isOneToOne: false;
49665
+ referencedRelation: "purchase_orders";
49666
+ referencedColumns: ["id"];
49667
+ }, {
49668
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
49669
+ columns: ["supplier_id"];
49670
+ isOneToOne: false;
49671
+ referencedRelation: "suppliers";
49672
+ referencedColumns: ["id"];
49673
+ }];
49674
+ };
48654
49675
  reception_notifications: {
48655
49676
  Row: {
48656
49677
  booking_id: string | null;
@@ -50814,6 +51835,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50814
51835
  auto_invoice_enabled: boolean;
50815
51836
  auto_invoice_start_date: string | null;
50816
51837
  auto_invoice_trigger_statuses: string[];
51838
+ auto_send_mode: string | null;
50817
51839
  created_at: string;
50818
51840
  debtor_gl_account: string;
50819
51841
  default_article_code: string | null;
@@ -50842,6 +51864,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50842
51864
  auto_invoice_enabled?: boolean;
50843
51865
  auto_invoice_start_date?: string | null;
50844
51866
  auto_invoice_trigger_statuses?: string[];
51867
+ auto_send_mode?: string | null;
50845
51868
  created_at?: string;
50846
51869
  debtor_gl_account?: string;
50847
51870
  default_article_code?: string | null;
@@ -50870,6 +51893,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50870
51893
  auto_invoice_enabled?: boolean;
50871
51894
  auto_invoice_start_date?: string | null;
50872
51895
  auto_invoice_trigger_statuses?: string[];
51896
+ auto_send_mode?: string | null;
50873
51897
  created_at?: string;
50874
51898
  debtor_gl_account?: string;
50875
51899
  default_article_code?: string | null;
@@ -51313,16 +52337,19 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
51313
52337
  Row: {
51314
52338
  active_environment: string;
51315
52339
  id: number;
52340
+ public_base_url: string | null;
51316
52341
  updated_at: string;
51317
52342
  };
51318
52343
  Insert: {
51319
52344
  active_environment?: string;
51320
52345
  id?: number;
52346
+ public_base_url?: string | null;
51321
52347
  updated_at?: string;
51322
52348
  };
51323
52349
  Update: {
51324
52350
  active_environment?: string;
51325
52351
  id?: number;
52352
+ public_base_url?: string | null;
51326
52353
  updated_at?: string;
51327
52354
  };
51328
52355
  Relationships: [];
@@ -51553,11 +52580,15 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
51553
52580
  monteur_id: string;
51554
52581
  netto_verschil_minuten: number;
51555
52582
  normaal_uitbetaald_minuten: number;
52583
+ omgezet_vakantie_minuten: number;
52584
+ overdracht_vorige_minuten: number;
51556
52585
  overuren_minuten: number;
51557
52586
  plus_minuten: number;
52587
+ rest_overuren_minuten: number;
51558
52588
  status: string;
51559
52589
  totaal_uitbetaald_minuten: number;
51560
52590
  updated_at: string;
52591
+ vakantie_uren_bijgeschreven: number;
51561
52592
  };
51562
52593
  Insert: {
51563
52594
  afgesloten_at?: string | null;
@@ -51574,11 +52605,15 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
51574
52605
  monteur_id: string;
51575
52606
  netto_verschil_minuten?: number;
51576
52607
  normaal_uitbetaald_minuten?: number;
52608
+ omgezet_vakantie_minuten?: number;
52609
+ overdracht_vorige_minuten?: number;
51577
52610
  overuren_minuten?: number;
51578
52611
  plus_minuten?: number;
52612
+ rest_overuren_minuten?: number;
51579
52613
  status?: string;
51580
52614
  totaal_uitbetaald_minuten?: number;
51581
52615
  updated_at?: string;
52616
+ vakantie_uren_bijgeschreven?: number;
51582
52617
  };
51583
52618
  Update: {
51584
52619
  afgesloten_at?: string | null;
@@ -51595,11 +52630,15 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
51595
52630
  monteur_id?: string;
51596
52631
  netto_verschil_minuten?: number;
51597
52632
  normaal_uitbetaald_minuten?: number;
52633
+ omgezet_vakantie_minuten?: number;
52634
+ overdracht_vorige_minuten?: number;
51598
52635
  overuren_minuten?: number;
51599
52636
  plus_minuten?: number;
52637
+ rest_overuren_minuten?: number;
51600
52638
  status?: string;
51601
52639
  totaal_uitbetaald_minuten?: number;
51602
52640
  updated_at?: string;
52641
+ vakantie_uren_bijgeschreven?: number;
51603
52642
  };
51604
52643
  Relationships: [];
51605
52644
  };
@@ -52011,6 +53050,51 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
52011
53050
  referencedColumns: ["id"];
52012
53051
  }];
52013
53052
  };
53053
+ vakantie_uitbetalingen: {
53054
+ Row: {
53055
+ created_at: string;
53056
+ created_by: string | null;
53057
+ days: number;
53058
+ id: string;
53059
+ note: string | null;
53060
+ updated_at: string;
53061
+ user_id: string;
53062
+ year: number;
53063
+ };
53064
+ Insert: {
53065
+ created_at?: string;
53066
+ created_by?: string | null;
53067
+ days: number;
53068
+ id?: string;
53069
+ note?: string | null;
53070
+ updated_at?: string;
53071
+ user_id: string;
53072
+ year?: number;
53073
+ };
53074
+ Update: {
53075
+ created_at?: string;
53076
+ created_by?: string | null;
53077
+ days?: number;
53078
+ id?: string;
53079
+ note?: string | null;
53080
+ updated_at?: string;
53081
+ user_id?: string;
53082
+ year?: number;
53083
+ };
53084
+ Relationships: [{
53085
+ foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
53086
+ columns: ["created_by"];
53087
+ isOneToOne: false;
53088
+ referencedRelation: "profiles";
53089
+ referencedColumns: ["id"];
53090
+ }, {
53091
+ foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
53092
+ columns: ["user_id"];
53093
+ isOneToOne: false;
53094
+ referencedRelation: "profiles";
53095
+ referencedColumns: ["id"];
53096
+ }];
53097
+ };
52014
53098
  van_inventories: {
52015
53099
  Row: {
52016
53100
  barcode: string | null;
@@ -53295,6 +54379,78 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
53295
54379
  referencedColumns: ["id"];
53296
54380
  }];
53297
54381
  };
54382
+ werkbon_voorstellen: {
54383
+ Row: {
54384
+ bron_werkbon_id: string;
54385
+ budget_mandate_cents: number;
54386
+ created_at: string;
54387
+ created_by: string;
54388
+ customer_id: string | null;
54389
+ id: string;
54390
+ payload: import("../integrations/supabase/types").Json;
54391
+ reden: string | null;
54392
+ status: string;
54393
+ updated_at: string;
54394
+ verwerkt_door: string | null;
54395
+ verwerkt_op: string | null;
54396
+ werkbon_id: string | null;
54397
+ };
54398
+ Insert: {
54399
+ bron_werkbon_id: string;
54400
+ budget_mandate_cents?: number;
54401
+ created_at?: string;
54402
+ created_by?: string;
54403
+ customer_id?: string | null;
54404
+ id?: string;
54405
+ payload?: import("../integrations/supabase/types").Json;
54406
+ reden?: string | null;
54407
+ status?: string;
54408
+ updated_at?: string;
54409
+ verwerkt_door?: string | null;
54410
+ verwerkt_op?: string | null;
54411
+ werkbon_id?: string | null;
54412
+ };
54413
+ Update: {
54414
+ bron_werkbon_id?: string;
54415
+ budget_mandate_cents?: number;
54416
+ created_at?: string;
54417
+ created_by?: string;
54418
+ customer_id?: string | null;
54419
+ id?: string;
54420
+ payload?: import("../integrations/supabase/types").Json;
54421
+ reden?: string | null;
54422
+ status?: string;
54423
+ updated_at?: string;
54424
+ verwerkt_door?: string | null;
54425
+ verwerkt_op?: string | null;
54426
+ werkbon_id?: string | null;
54427
+ };
54428
+ Relationships: [{
54429
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
54430
+ columns: ["bron_werkbon_id"];
54431
+ isOneToOne: false;
54432
+ referencedRelation: "werkbonnen";
54433
+ referencedColumns: ["id"];
54434
+ }, {
54435
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
54436
+ columns: ["bron_werkbon_id"];
54437
+ isOneToOne: false;
54438
+ referencedRelation: "wo_overview";
54439
+ referencedColumns: ["id"];
54440
+ }, {
54441
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
54442
+ columns: ["werkbon_id"];
54443
+ isOneToOne: false;
54444
+ referencedRelation: "werkbonnen";
54445
+ referencedColumns: ["id"];
54446
+ }, {
54447
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
54448
+ columns: ["werkbon_id"];
54449
+ isOneToOne: false;
54450
+ referencedRelation: "wo_overview";
54451
+ referencedColumns: ["id"];
54452
+ }];
54453
+ };
53298
54454
  werkbonnen: {
53299
54455
  Row: {
53300
54456
  assigned_user_id: string | null;
@@ -54535,6 +55691,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
54535
55691
  };
54536
55692
  Returns: undefined;
54537
55693
  };
55694
+ _wo_is_planner: {
55695
+ Args: never;
55696
+ Returns: boolean;
55697
+ };
54538
55698
  afh_city_code: {
54539
55699
  Args: {
54540
55700
  _city: string;
@@ -55647,6 +56807,22 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
55647
56807
  };
55648
56808
  Returns: number;
55649
56809
  };
56810
+ get_product_stock: {
56811
+ Args: {
56812
+ p_product_id: string;
56813
+ };
56814
+ Returns: {
56815
+ connection_id: string;
56816
+ incoming_stock: number;
56817
+ minimum_stock: number;
56818
+ notes: string;
56819
+ physical_stock: number;
56820
+ product_id: string;
56821
+ reserved_stock: number;
56822
+ trade_item_key: string;
56823
+ updated_at: string;
56824
+ }[];
56825
+ };
55650
56826
  get_room_busy_windows: {
55651
56827
  Args: {
55652
56828
  p_from: string;
@@ -55951,13 +57127,69 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
55951
57127
  };
55952
57128
  Returns: import("../integrations/supabase/types").Json;
55953
57129
  };
57130
+ inkoop_get_supplier_request: {
57131
+ Args: {
57132
+ _token: string;
57133
+ };
57134
+ Returns: import("../integrations/supabase/types").Json;
57135
+ };
57136
+ inkoop_hash_token: {
57137
+ Args: {
57138
+ _token: string;
57139
+ };
57140
+ Returns: string;
57141
+ };
57142
+ inkoop_html_escape: {
57143
+ Args: {
57144
+ _t: string;
57145
+ };
57146
+ Returns: string;
57147
+ };
57148
+ inkoop_list_artikelen: {
57149
+ Args: never;
57150
+ Returns: {
57151
+ article_number: string;
57152
+ barcode: string;
57153
+ id: string;
57154
+ incoming_quantity: number;
57155
+ is_layer: boolean;
57156
+ location: string;
57157
+ min_quantity: number;
57158
+ preferred_supplier_name: string;
57159
+ product: string;
57160
+ product_type: string;
57161
+ purchase_price: number;
57162
+ quantity: number;
57163
+ sale_price: number;
57164
+ supplier_count: number;
57165
+ unit: string;
57166
+ }[];
57167
+ };
55954
57168
  inkoop_next_order_number: {
55955
57169
  Args: never;
55956
57170
  Returns: string;
55957
57171
  };
57172
+ inkoop_process_request: {
57173
+ Args: {
57174
+ _request_id: string;
57175
+ };
57176
+ Returns: undefined;
57177
+ };
55958
57178
  inkoop_send_order: {
55959
57179
  Args: {
57180
+ _base_url?: string;
57181
+ _order_id: string;
57182
+ };
57183
+ Returns: {
57184
+ outbox_id: string;
57185
+ supplier_name: string;
57186
+ to_address: string;
57187
+ }[];
57188
+ } | {
57189
+ Args: {
57190
+ _base_url?: string;
55960
57191
  _order_id: string;
57192
+ _resend?: boolean;
55961
57193
  };
55962
57194
  Returns: {
55963
57195
  outbox_id: string;
@@ -55965,6 +57197,33 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
55965
57197
  to_address: string;
55966
57198
  }[];
55967
57199
  };
57200
+ inkoop_set_preferred_supplier: {
57201
+ Args: {
57202
+ _product_id: string;
57203
+ _supplier_id: string;
57204
+ };
57205
+ Returns: undefined;
57206
+ };
57207
+ inkoop_stock_key: {
57208
+ Args: {
57209
+ p_product_id: string;
57210
+ };
57211
+ Returns: string;
57212
+ };
57213
+ inkoop_submit_supplier_response: {
57214
+ Args: {
57215
+ _lines: import("../integrations/supabase/types").Json;
57216
+ _note?: string;
57217
+ _token: string;
57218
+ };
57219
+ Returns: import("../integrations/supabase/types").Json;
57220
+ };
57221
+ inkoop_sync_item_stock: {
57222
+ Args: {
57223
+ p_item_id: string;
57224
+ };
57225
+ Returns: undefined;
57226
+ };
55968
57227
  instructie_get: {
55969
57228
  Args: {
55970
57229
  _sleutel: string;
@@ -55984,6 +57243,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
55984
57243
  };
55985
57244
  Returns: number;
55986
57245
  };
57246
+ invoice_branding_snapshot: {
57247
+ Args: never;
57248
+ Returns: import("../integrations/supabase/types").Json;
57249
+ };
55987
57250
  invoice_create_from_source: {
55988
57251
  Args: {
55989
57252
  _payload?: import("../integrations/supabase/types").Json;
@@ -56018,6 +57281,17 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
56018
57281
  };
56019
57282
  Returns: import("../integrations/supabase/types").Json;
56020
57283
  };
57284
+ invoice_mark_sent: {
57285
+ Args: {
57286
+ _invoice_id: string;
57287
+ _to: string;
57288
+ };
57289
+ Returns: undefined;
57290
+ };
57291
+ invoice_peek_next_number: {
57292
+ Args: never;
57293
+ Returns: string;
57294
+ };
56021
57295
  invoice_ready_work_orders: {
56022
57296
  Args: {
56023
57297
  _limit?: number;
@@ -56030,6 +57304,18 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
56030
57304
  };
56031
57305
  Returns: import("../integrations/supabase/types").Json;
56032
57306
  };
57307
+ invoice_save_branding_settings: {
57308
+ Args: {
57309
+ _payload: import("../integrations/supabase/types").Json;
57310
+ };
57311
+ Returns: import("../integrations/supabase/types").Json;
57312
+ };
57313
+ invoice_set_email_purpose: {
57314
+ Args: {
57315
+ _purpose: string;
57316
+ };
57317
+ Returns: string;
57318
+ };
56033
57319
  invoice_source_lines: {
56034
57320
  Args: {
56035
57321
  _source_id: string;
@@ -56037,6 +57323,19 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
56037
57323
  };
56038
57324
  Returns: import("../integrations/supabase/types").Json;
56039
57325
  };
57326
+ invoice_update_full: {
57327
+ Args: {
57328
+ _invoice_id: string;
57329
+ _payload: import("../integrations/supabase/types").Json;
57330
+ };
57331
+ Returns: import("../integrations/supabase/types").Json;
57332
+ };
57333
+ invoice_work_order_locked: {
57334
+ Args: {
57335
+ _werkbon_id: string;
57336
+ };
57337
+ Returns: import("../integrations/supabase/types").Json;
57338
+ };
56040
57339
  is_authenticated: {
56041
57340
  Args: never;
56042
57341
  Returns: boolean;
@@ -57196,6 +58495,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
57196
58495
  Args: never;
57197
58496
  Returns: string;
57198
58497
  };
58498
+ logistics_order_backlog_info: {
58499
+ Args: {
58500
+ p_order_id: string;
58501
+ };
58502
+ Returns: import("../integrations/supabase/types").Json;
58503
+ };
57199
58504
  logistics_order_cart_approval: {
57200
58505
  Args: {
57201
58506
  _order_ref: string;
@@ -57286,6 +58591,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
57286
58591
  };
57287
58592
  Returns: boolean;
57288
58593
  };
58594
+ logistics_order_is_backlog: {
58595
+ Args: {
58596
+ p_order_id: string;
58597
+ };
58598
+ Returns: boolean;
58599
+ };
57289
58600
  logistics_order_is_topick: {
57290
58601
  Args: {
57291
58602
  p_order_id: string;
@@ -57427,6 +58738,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
57427
58738
  shifted_count: number;
57428
58739
  }[];
57429
58740
  };
58741
+ logistics_pick_backlog_max_days: {
58742
+ Args: never;
58743
+ Returns: number;
58744
+ };
57430
58745
  logistics_pick_barcode_enabled: {
57431
58746
  Args: never;
57432
58747
  Returns: boolean;
@@ -58042,12 +59357,27 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
58042
59357
  Args: never;
58043
59358
  Returns: import("../integrations/supabase/types").Json;
58044
59359
  };
59360
+ logistics_sync_pick_queue_backlog: {
59361
+ Args: never;
59362
+ Returns: import("../integrations/supabase/types").Json;
59363
+ };
59364
+ logistics_sync_pick_queue_core: {
59365
+ Args: never;
59366
+ Returns: import("../integrations/supabase/types").Json;
59367
+ };
58045
59368
  logistics_sync_task_carriers: {
58046
59369
  Args: {
58047
59370
  p_order_ref?: string;
58048
59371
  };
58049
59372
  Returns: number;
58050
59373
  };
59374
+ logistics_task_open_counts: {
59375
+ Args: never;
59376
+ Returns: {
59377
+ open_count: number;
59378
+ owner_module: string;
59379
+ }[];
59380
+ };
58051
59381
  logistics_task_owner: {
58052
59382
  Args: {
58053
59383
  p_task_type: string;
@@ -59336,6 +60666,19 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
59336
60666
  };
59337
60667
  Returns: boolean;
59338
60668
  };
60669
+ quote_assign_number: {
60670
+ Args: {
60671
+ _offerte_id: string;
60672
+ };
60673
+ Returns: string;
60674
+ };
60675
+ quote_create_follow_up_now: {
60676
+ Args: {
60677
+ _offerte_id: string;
60678
+ _payload?: import("../integrations/supabase/types").Json;
60679
+ };
60680
+ Returns: import("../integrations/supabase/types").Json;
60681
+ };
59339
60682
  quote_create_from_source: {
59340
60683
  Args: {
59341
60684
  _payload?: import("../integrations/supabase/types").Json;
@@ -60049,6 +61392,26 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
60049
61392
  };
60050
61393
  Returns: undefined;
60051
61394
  };
61395
+ set_product_stock: {
61396
+ Args: {
61397
+ p_incoming_stock?: number;
61398
+ p_minimum_stock?: number;
61399
+ p_notes?: string;
61400
+ p_physical_stock: number;
61401
+ p_product_id: string;
61402
+ };
61403
+ Returns: {
61404
+ connection_id: string;
61405
+ incoming_stock: number;
61406
+ minimum_stock: number;
61407
+ notes: string;
61408
+ physical_stock: number;
61409
+ product_id: string;
61410
+ reserved_stock: number;
61411
+ trade_item_key: string;
61412
+ updated_at: string;
61413
+ }[];
61414
+ };
60052
61415
  show_limit: {
60053
61416
  Args: never;
60054
61417
  Returns: number;
@@ -60573,6 +61936,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
60573
61936
  };
60574
61937
  Returns: number;
60575
61938
  };
61939
+ vakantie_overuren: {
61940
+ Args: {
61941
+ _user_id: string;
61942
+ _year?: number;
61943
+ };
61944
+ Returns: number;
61945
+ };
60576
61946
  vakantie_saldo: {
60577
61947
  Args: {
60578
61948
  _user_id: string;
@@ -60580,7 +61950,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
60580
61950
  };
60581
61951
  Returns: {
60582
61952
  day_hours: number;
61953
+ earned_from_overtime_days: number;
60583
61954
  entitlement_days: number;
61955
+ hours_to_next_day: number;
61956
+ overtime_hours: number;
61957
+ overtime_remainder_hours: number;
61958
+ paid_out_days: number;
60584
61959
  remaining_days: number;
60585
61960
  used_days: number;
60586
61961
  }[];
@@ -60591,7 +61966,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
60591
61966
  };
60592
61967
  Returns: {
60593
61968
  day_hours: number;
61969
+ earned_from_overtime_days: number;
60594
61970
  entitlement_days: number;
61971
+ hours_to_next_day: number;
61972
+ overtime_hours: number;
61973
+ overtime_remainder_hours: number;
61974
+ paid_out_days: number;
60595
61975
  remaining_days: number;
60596
61976
  used_days: number;
60597
61977
  user_id: string;
@@ -60645,12 +62025,25 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
60645
62025
  };
60646
62026
  Returns: import("../integrations/supabase/types").Json;
60647
62027
  };
62028
+ wo_list_proposals: {
62029
+ Args: {
62030
+ _status?: string;
62031
+ };
62032
+ Returns: import("../integrations/supabase/types").Json;
62033
+ };
60648
62034
  wo_process_offerte_request: {
60649
62035
  Args: {
60650
62036
  _queue_id: string;
60651
62037
  };
60652
62038
  Returns: import("../integrations/supabase/types").Json;
60653
62039
  };
62040
+ wo_process_proposal: {
62041
+ Args: {
62042
+ _id: string;
62043
+ _overrides?: import("../integrations/supabase/types").Json;
62044
+ };
62045
+ Returns: import("../integrations/supabase/types").Json;
62046
+ };
60654
62047
  wo_reject_offerte_request: {
60655
62048
  Args: {
60656
62049
  _queue_id: string;
@@ -60658,6 +62051,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
60658
62051
  };
60659
62052
  Returns: import("../integrations/supabase/types").Json;
60660
62053
  };
62054
+ wo_reject_proposal: {
62055
+ Args: {
62056
+ _id: string;
62057
+ _reden?: string;
62058
+ };
62059
+ Returns: import("../integrations/supabase/types").Json;
62060
+ };
60661
62061
  wo_set_status: {
60662
62062
  Args: {
60663
62063
  _reason?: string;