@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
@@ -8291,6 +8291,72 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8291
8291
  };
8292
8292
  Relationships: [];
8293
8293
  };
8294
+ invoice_branding_settings: {
8295
+ Row: {
8296
+ address: string;
8297
+ chamber_of_commerce_number: string;
8298
+ city: string;
8299
+ company_name: string;
8300
+ created_at: string;
8301
+ email: string;
8302
+ email_purpose: string | null;
8303
+ iban: string;
8304
+ logo_path: string | null;
8305
+ payment_term_days: number;
8306
+ phone: string;
8307
+ postal_code: string;
8308
+ primary_color: string;
8309
+ secondary_color: string;
8310
+ show_company_name: boolean;
8311
+ singleton_key: boolean;
8312
+ updated_at: string;
8313
+ vat_identification_number: string;
8314
+ website: string;
8315
+ };
8316
+ Insert: {
8317
+ address?: string;
8318
+ chamber_of_commerce_number?: string;
8319
+ city?: string;
8320
+ company_name?: string;
8321
+ created_at?: string;
8322
+ email?: string;
8323
+ email_purpose?: string | null;
8324
+ iban?: string;
8325
+ logo_path?: string | null;
8326
+ payment_term_days?: number;
8327
+ phone?: string;
8328
+ postal_code?: string;
8329
+ primary_color?: string;
8330
+ secondary_color?: string;
8331
+ show_company_name?: boolean;
8332
+ singleton_key?: boolean;
8333
+ updated_at?: string;
8334
+ vat_identification_number?: string;
8335
+ website?: string;
8336
+ };
8337
+ Update: {
8338
+ address?: string;
8339
+ chamber_of_commerce_number?: string;
8340
+ city?: string;
8341
+ company_name?: string;
8342
+ created_at?: string;
8343
+ email?: string;
8344
+ email_purpose?: string | null;
8345
+ iban?: string;
8346
+ logo_path?: string | null;
8347
+ payment_term_days?: number;
8348
+ phone?: string;
8349
+ postal_code?: string;
8350
+ primary_color?: string;
8351
+ secondary_color?: string;
8352
+ show_company_name?: boolean;
8353
+ singleton_key?: boolean;
8354
+ updated_at?: string;
8355
+ vat_identification_number?: string;
8356
+ website?: string;
8357
+ };
8358
+ Relationships: [];
8359
+ };
8294
8360
  invoice_items: {
8295
8361
  Row: {
8296
8362
  created_at: string;
@@ -8304,6 +8370,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8304
8370
  total_cents: number;
8305
8371
  unit: string;
8306
8372
  unit_price_cents: number;
8373
+ vat_rate: number | null;
8307
8374
  };
8308
8375
  Insert: {
8309
8376
  created_at?: string;
@@ -8317,6 +8384,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8317
8384
  total_cents?: number;
8318
8385
  unit?: string;
8319
8386
  unit_price_cents?: number;
8387
+ vat_rate?: number | null;
8320
8388
  };
8321
8389
  Update: {
8322
8390
  created_at?: string;
@@ -8330,6 +8398,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8330
8398
  total_cents?: number;
8331
8399
  unit?: string;
8332
8400
  unit_price_cents?: number;
8401
+ vat_rate?: number | null;
8333
8402
  };
8334
8403
  Relationships: [{
8335
8404
  foreignKeyName: "invoice_items_invoice_id_fkey";
@@ -8575,6 +8644,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8575
8644
  };
8576
8645
  invoices: {
8577
8646
  Row: {
8647
+ branding_snapshot: import("../integrations/supabase/types").Json | null;
8578
8648
  created_at: string;
8579
8649
  created_by: string | null;
8580
8650
  customer_address: string | null;
@@ -8593,6 +8663,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8593
8663
  note: string | null;
8594
8664
  payment_term_days: number;
8595
8665
  reference: string | null;
8666
+ sent_at: string | null;
8667
+ sent_to: string | null;
8596
8668
  source_number: string | null;
8597
8669
  source_ref: string | null;
8598
8670
  source_type: string;
@@ -8605,6 +8677,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8605
8677
  work_address: string | null;
8606
8678
  };
8607
8679
  Insert: {
8680
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
8608
8681
  created_at?: string;
8609
8682
  created_by?: string | null;
8610
8683
  customer_address?: string | null;
@@ -8623,6 +8696,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8623
8696
  note?: string | null;
8624
8697
  payment_term_days?: number;
8625
8698
  reference?: string | null;
8699
+ sent_at?: string | null;
8700
+ sent_to?: string | null;
8626
8701
  source_number?: string | null;
8627
8702
  source_ref?: string | null;
8628
8703
  source_type?: string;
@@ -8635,6 +8710,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8635
8710
  work_address?: string | null;
8636
8711
  };
8637
8712
  Update: {
8713
+ branding_snapshot?: import("../integrations/supabase/types").Json | null;
8638
8714
  created_at?: string;
8639
8715
  created_by?: string | null;
8640
8716
  customer_address?: string | null;
@@ -8653,6 +8729,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8653
8729
  note?: string | null;
8654
8730
  payment_term_days?: number;
8655
8731
  reference?: string | null;
8732
+ sent_at?: string | null;
8733
+ sent_to?: string | null;
8656
8734
  source_number?: string | null;
8657
8735
  source_ref?: string | null;
8658
8736
  source_type?: string;
@@ -9361,6 +9439,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9361
9439
  quantity: number;
9362
9440
  sort_order: number;
9363
9441
  source: string;
9442
+ unit: string | null;
9364
9443
  unit_price_cents: number;
9365
9444
  updated_at: string;
9366
9445
  };
@@ -9374,6 +9453,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9374
9453
  quantity?: number;
9375
9454
  sort_order?: number;
9376
9455
  source?: string;
9456
+ unit?: string | null;
9377
9457
  unit_price_cents?: number;
9378
9458
  updated_at?: string;
9379
9459
  };
@@ -9387,6 +9467,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9387
9467
  quantity?: number;
9388
9468
  sort_order?: number;
9389
9469
  source?: string;
9470
+ unit?: string | null;
9390
9471
  unit_price_cents?: number;
9391
9472
  updated_at?: string;
9392
9473
  };
@@ -9410,6 +9491,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9410
9491
  created_at: string;
9411
9492
  default_geldigheid_dagen: number;
9412
9493
  default_vat_rate: number;
9494
+ email_purpose: string | null;
9413
9495
  id: string;
9414
9496
  singleton: boolean;
9415
9497
  updated_at: string;
@@ -9419,6 +9501,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9419
9501
  created_at?: string;
9420
9502
  default_geldigheid_dagen?: number;
9421
9503
  default_vat_rate?: number;
9504
+ email_purpose?: string | null;
9422
9505
  id?: string;
9423
9506
  singleton?: boolean;
9424
9507
  updated_at?: string;
@@ -9428,6 +9511,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9428
9511
  created_at?: string;
9429
9512
  default_geldigheid_dagen?: number;
9430
9513
  default_vat_rate?: number;
9514
+ email_purpose?: string | null;
9431
9515
  id?: string;
9432
9516
  singleton?: boolean;
9433
9517
  updated_at?: string;
@@ -9520,6 +9604,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9520
9604
  };
9521
9605
  itk_offertes: {
9522
9606
  Row: {
9607
+ aandachtspunten: string | null;
9523
9608
  ai_generated: boolean;
9524
9609
  approved_at: string | null;
9525
9610
  binnen_mandaat: boolean;
@@ -9535,6 +9620,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9535
9620
  notities: string | null;
9536
9621
  offerte_number: string | null;
9537
9622
  omschrijving: string;
9623
+ onderwerp: string | null;
9538
9624
  rejected_at: string | null;
9539
9625
  sent_at: string | null;
9540
9626
  source_number: string | null;
@@ -9547,12 +9633,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9547
9633
  valid_until: string | null;
9548
9634
  vat_cents: number;
9549
9635
  vat_rate: number;
9636
+ verzonden_naar: string | null;
9550
9637
  viewed_at: string | null;
9551
9638
  volgnummer: number | null;
9639
+ voorwaarden: string | null;
9552
9640
  werkbon_id: string | null;
9553
9641
  work_location_id: string | null;
9554
9642
  };
9555
9643
  Insert: {
9644
+ aandachtspunten?: string | null;
9556
9645
  ai_generated?: boolean;
9557
9646
  approved_at?: string | null;
9558
9647
  binnen_mandaat?: boolean;
@@ -9568,6 +9657,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9568
9657
  notities?: string | null;
9569
9658
  offerte_number?: string | null;
9570
9659
  omschrijving?: string;
9660
+ onderwerp?: string | null;
9571
9661
  rejected_at?: string | null;
9572
9662
  sent_at?: string | null;
9573
9663
  source_number?: string | null;
@@ -9580,12 +9670,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9580
9670
  valid_until?: string | null;
9581
9671
  vat_cents?: number;
9582
9672
  vat_rate?: number;
9673
+ verzonden_naar?: string | null;
9583
9674
  viewed_at?: string | null;
9584
9675
  volgnummer?: number | null;
9676
+ voorwaarden?: string | null;
9585
9677
  werkbon_id?: string | null;
9586
9678
  work_location_id?: string | null;
9587
9679
  };
9588
9680
  Update: {
9681
+ aandachtspunten?: string | null;
9589
9682
  ai_generated?: boolean;
9590
9683
  approved_at?: string | null;
9591
9684
  binnen_mandaat?: boolean;
@@ -9601,6 +9694,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9601
9694
  notities?: string | null;
9602
9695
  offerte_number?: string | null;
9603
9696
  omschrijving?: string;
9697
+ onderwerp?: string | null;
9604
9698
  rejected_at?: string | null;
9605
9699
  sent_at?: string | null;
9606
9700
  source_number?: string | null;
@@ -9613,8 +9707,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9613
9707
  valid_until?: string | null;
9614
9708
  vat_cents?: number;
9615
9709
  vat_rate?: number;
9710
+ verzonden_naar?: string | null;
9616
9711
  viewed_at?: string | null;
9617
9712
  volgnummer?: number | null;
9713
+ voorwaarden?: string | null;
9618
9714
  werkbon_id?: string | null;
9619
9715
  work_location_id?: string | null;
9620
9716
  };
@@ -14626,6 +14722,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14626
14722
  next_attempt_at: string;
14627
14723
  order_id: string;
14628
14724
  processed_at: string | null;
14725
+ send_error: string | null;
14629
14726
  status: string;
14630
14727
  updated_at: string;
14631
14728
  };
@@ -14639,6 +14736,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14639
14736
  next_attempt_at?: string;
14640
14737
  order_id: string;
14641
14738
  processed_at?: string | null;
14739
+ send_error?: string | null;
14642
14740
  status?: string;
14643
14741
  updated_at?: string;
14644
14742
  };
@@ -14652,6 +14750,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14652
14750
  next_attempt_at?: string;
14653
14751
  order_id?: string;
14654
14752
  processed_at?: string | null;
14753
+ send_error?: string | null;
14655
14754
  status?: string;
14656
14755
  updated_at?: string;
14657
14756
  };
@@ -17681,6 +17780,66 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
17681
17780
  };
17682
17781
  Relationships: [];
17683
17782
  };
17783
+ product_suppliers: {
17784
+ Row: {
17785
+ created_at: string;
17786
+ id: string;
17787
+ is_preferred: boolean;
17788
+ lead_time_days: number | null;
17789
+ min_order_quantity: number | null;
17790
+ notes: string | null;
17791
+ product_id: string;
17792
+ purchase_price_cents: number | null;
17793
+ supplier_article_number: string | null;
17794
+ supplier_id: string;
17795
+ updated_at: string;
17796
+ };
17797
+ Insert: {
17798
+ created_at?: string;
17799
+ id?: string;
17800
+ is_preferred?: boolean;
17801
+ lead_time_days?: number | null;
17802
+ min_order_quantity?: number | null;
17803
+ notes?: string | null;
17804
+ product_id: string;
17805
+ purchase_price_cents?: number | null;
17806
+ supplier_article_number?: string | null;
17807
+ supplier_id: string;
17808
+ updated_at?: string;
17809
+ };
17810
+ Update: {
17811
+ created_at?: string;
17812
+ id?: string;
17813
+ is_preferred?: boolean;
17814
+ lead_time_days?: number | null;
17815
+ min_order_quantity?: number | null;
17816
+ notes?: string | null;
17817
+ product_id?: string;
17818
+ purchase_price_cents?: number | null;
17819
+ supplier_article_number?: string | null;
17820
+ supplier_id?: string;
17821
+ updated_at?: string;
17822
+ };
17823
+ Relationships: [{
17824
+ foreignKeyName: "product_suppliers_product_id_fkey";
17825
+ columns: ["product_id"];
17826
+ isOneToOne: false;
17827
+ referencedRelation: "logistics_product_dimensions";
17828
+ referencedColumns: ["product_id"];
17829
+ }, {
17830
+ foreignKeyName: "product_suppliers_product_id_fkey";
17831
+ columns: ["product_id"];
17832
+ isOneToOne: false;
17833
+ referencedRelation: "products";
17834
+ referencedColumns: ["id"];
17835
+ }, {
17836
+ foreignKeyName: "product_suppliers_supplier_id_fkey";
17837
+ columns: ["supplier_id"];
17838
+ isOneToOne: false;
17839
+ referencedRelation: "suppliers";
17840
+ referencedColumns: ["id"];
17841
+ }];
17842
+ };
17684
17843
  product_tray_stickers: {
17685
17844
  Row: {
17686
17845
  bestand_url: string;
@@ -18185,9 +18344,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18185
18344
  purchase_order_items: {
18186
18345
  Row: {
18187
18346
  article_number: string | null;
18347
+ cancelled_at: string | null;
18188
18348
  created_at: string;
18189
18349
  delivery_date: string | null;
18190
18350
  id: string;
18351
+ incoming_booked: number;
18352
+ line_status: string;
18191
18353
  name: string;
18192
18354
  note: string | null;
18193
18355
  pot_size: string | null;
@@ -18195,6 +18357,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18195
18357
  product_type: string;
18196
18358
  purchase_order_id: string;
18197
18359
  quantity: number;
18360
+ received_at: string | null;
18361
+ received_booked: number;
18198
18362
  supplier_id: string | null;
18199
18363
  supplier_product_id: string | null;
18200
18364
  unit_price_cents: number;
@@ -18202,9 +18366,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18202
18366
  };
18203
18367
  Insert: {
18204
18368
  article_number?: string | null;
18369
+ cancelled_at?: string | null;
18205
18370
  created_at?: string;
18206
18371
  delivery_date?: string | null;
18207
18372
  id?: string;
18373
+ incoming_booked?: number;
18374
+ line_status?: string;
18208
18375
  name?: string;
18209
18376
  note?: string | null;
18210
18377
  pot_size?: string | null;
@@ -18212,6 +18379,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18212
18379
  product_type?: string;
18213
18380
  purchase_order_id: string;
18214
18381
  quantity?: number;
18382
+ received_at?: string | null;
18383
+ received_booked?: number;
18215
18384
  supplier_id?: string | null;
18216
18385
  supplier_product_id?: string | null;
18217
18386
  unit_price_cents?: number;
@@ -18219,9 +18388,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18219
18388
  };
18220
18389
  Update: {
18221
18390
  article_number?: string | null;
18391
+ cancelled_at?: string | null;
18222
18392
  created_at?: string;
18223
18393
  delivery_date?: string | null;
18224
18394
  id?: string;
18395
+ incoming_booked?: number;
18396
+ line_status?: string;
18225
18397
  name?: string;
18226
18398
  note?: string | null;
18227
18399
  pot_size?: string | null;
@@ -18229,6 +18401,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18229
18401
  product_type?: string;
18230
18402
  purchase_order_id?: string;
18231
18403
  quantity?: number;
18404
+ received_at?: string | null;
18405
+ received_booked?: number;
18232
18406
  supplier_id?: string | null;
18233
18407
  supplier_product_id?: string | null;
18234
18408
  unit_price_cents?: number;
@@ -18332,6 +18506,153 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18332
18506
  referencedColumns: ["id"];
18333
18507
  }];
18334
18508
  };
18509
+ purchase_request_events: {
18510
+ Row: {
18511
+ created_at: string;
18512
+ details: import("../integrations/supabase/types").Json | null;
18513
+ event_type: string;
18514
+ id: string;
18515
+ request_id: string;
18516
+ };
18517
+ Insert: {
18518
+ created_at?: string;
18519
+ details?: import("../integrations/supabase/types").Json | null;
18520
+ event_type: string;
18521
+ id?: string;
18522
+ request_id: string;
18523
+ };
18524
+ Update: {
18525
+ created_at?: string;
18526
+ details?: import("../integrations/supabase/types").Json | null;
18527
+ event_type?: string;
18528
+ id?: string;
18529
+ request_id?: string;
18530
+ };
18531
+ Relationships: [{
18532
+ foreignKeyName: "purchase_request_events_request_id_fkey";
18533
+ columns: ["request_id"];
18534
+ isOneToOne: false;
18535
+ referencedRelation: "purchase_requests";
18536
+ referencedColumns: ["id"];
18537
+ }];
18538
+ };
18539
+ purchase_request_responses: {
18540
+ Row: {
18541
+ confirmed_date: string | null;
18542
+ confirmed_price_cents: number | null;
18543
+ confirmed_quantity: number;
18544
+ created_at: string;
18545
+ id: string;
18546
+ not_available: boolean;
18547
+ note: string | null;
18548
+ purchase_order_item_id: string;
18549
+ request_id: string;
18550
+ updated_at: string;
18551
+ };
18552
+ Insert: {
18553
+ confirmed_date?: string | null;
18554
+ confirmed_price_cents?: number | null;
18555
+ confirmed_quantity?: number;
18556
+ created_at?: string;
18557
+ id?: string;
18558
+ not_available?: boolean;
18559
+ note?: string | null;
18560
+ purchase_order_item_id: string;
18561
+ request_id: string;
18562
+ updated_at?: string;
18563
+ };
18564
+ Update: {
18565
+ confirmed_date?: string | null;
18566
+ confirmed_price_cents?: number | null;
18567
+ confirmed_quantity?: number;
18568
+ created_at?: string;
18569
+ id?: string;
18570
+ not_available?: boolean;
18571
+ note?: string | null;
18572
+ purchase_order_item_id?: string;
18573
+ request_id?: string;
18574
+ updated_at?: string;
18575
+ };
18576
+ Relationships: [{
18577
+ foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
18578
+ columns: ["purchase_order_item_id"];
18579
+ isOneToOne: false;
18580
+ referencedRelation: "purchase_order_items";
18581
+ referencedColumns: ["id"];
18582
+ }, {
18583
+ foreignKeyName: "purchase_request_responses_request_id_fkey";
18584
+ columns: ["request_id"];
18585
+ isOneToOne: false;
18586
+ referencedRelation: "purchase_requests";
18587
+ referencedColumns: ["id"];
18588
+ }];
18589
+ };
18590
+ purchase_requests: {
18591
+ Row: {
18592
+ created_at: string;
18593
+ expires_at: string;
18594
+ first_viewed_at: string | null;
18595
+ id: string;
18596
+ processed_at: string | null;
18597
+ purchase_order_id: string;
18598
+ responded_at: string | null;
18599
+ sent_at: string;
18600
+ status: string;
18601
+ supplier_id: string | null;
18602
+ supplier_name: string;
18603
+ supplier_note: string | null;
18604
+ to_address: string | null;
18605
+ token_hash: string;
18606
+ updated_at: string;
18607
+ };
18608
+ Insert: {
18609
+ created_at?: string;
18610
+ expires_at?: string;
18611
+ first_viewed_at?: string | null;
18612
+ id?: string;
18613
+ processed_at?: string | null;
18614
+ purchase_order_id: string;
18615
+ responded_at?: string | null;
18616
+ sent_at?: string;
18617
+ status?: string;
18618
+ supplier_id?: string | null;
18619
+ supplier_name?: string;
18620
+ supplier_note?: string | null;
18621
+ to_address?: string | null;
18622
+ token_hash: string;
18623
+ updated_at?: string;
18624
+ };
18625
+ Update: {
18626
+ created_at?: string;
18627
+ expires_at?: string;
18628
+ first_viewed_at?: string | null;
18629
+ id?: string;
18630
+ processed_at?: string | null;
18631
+ purchase_order_id?: string;
18632
+ responded_at?: string | null;
18633
+ sent_at?: string;
18634
+ status?: string;
18635
+ supplier_id?: string | null;
18636
+ supplier_name?: string;
18637
+ supplier_note?: string | null;
18638
+ to_address?: string | null;
18639
+ token_hash?: string;
18640
+ updated_at?: string;
18641
+ };
18642
+ Relationships: [{
18643
+ foreignKeyName: "purchase_requests_purchase_order_id_fkey";
18644
+ columns: ["purchase_order_id"];
18645
+ isOneToOne: false;
18646
+ referencedRelation: "purchase_orders";
18647
+ referencedColumns: ["id"];
18648
+ }, {
18649
+ foreignKeyName: "purchase_requests_supplier_id_fkey";
18650
+ columns: ["supplier_id"];
18651
+ isOneToOne: false;
18652
+ referencedRelation: "suppliers";
18653
+ referencedColumns: ["id"];
18654
+ }];
18655
+ };
18335
18656
  reception_notifications: {
18336
18657
  Row: {
18337
18658
  booking_id: string | null;
@@ -20495,6 +20816,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20495
20816
  auto_invoice_enabled: boolean;
20496
20817
  auto_invoice_start_date: string | null;
20497
20818
  auto_invoice_trigger_statuses: string[];
20819
+ auto_send_mode: string | null;
20498
20820
  created_at: string;
20499
20821
  debtor_gl_account: string;
20500
20822
  default_article_code: string | null;
@@ -20523,6 +20845,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20523
20845
  auto_invoice_enabled?: boolean;
20524
20846
  auto_invoice_start_date?: string | null;
20525
20847
  auto_invoice_trigger_statuses?: string[];
20848
+ auto_send_mode?: string | null;
20526
20849
  created_at?: string;
20527
20850
  debtor_gl_account?: string;
20528
20851
  default_article_code?: string | null;
@@ -20551,6 +20874,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20551
20874
  auto_invoice_enabled?: boolean;
20552
20875
  auto_invoice_start_date?: string | null;
20553
20876
  auto_invoice_trigger_statuses?: string[];
20877
+ auto_send_mode?: string | null;
20554
20878
  created_at?: string;
20555
20879
  debtor_gl_account?: string;
20556
20880
  default_article_code?: string | null;
@@ -20994,16 +21318,19 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20994
21318
  Row: {
20995
21319
  active_environment: string;
20996
21320
  id: number;
21321
+ public_base_url: string | null;
20997
21322
  updated_at: string;
20998
21323
  };
20999
21324
  Insert: {
21000
21325
  active_environment?: string;
21001
21326
  id?: number;
21327
+ public_base_url?: string | null;
21002
21328
  updated_at?: string;
21003
21329
  };
21004
21330
  Update: {
21005
21331
  active_environment?: string;
21006
21332
  id?: number;
21333
+ public_base_url?: string | null;
21007
21334
  updated_at?: string;
21008
21335
  };
21009
21336
  Relationships: [];
@@ -21234,11 +21561,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21234
21561
  monteur_id: string;
21235
21562
  netto_verschil_minuten: number;
21236
21563
  normaal_uitbetaald_minuten: number;
21564
+ omgezet_vakantie_minuten: number;
21565
+ overdracht_vorige_minuten: number;
21237
21566
  overuren_minuten: number;
21238
21567
  plus_minuten: number;
21568
+ rest_overuren_minuten: number;
21239
21569
  status: string;
21240
21570
  totaal_uitbetaald_minuten: number;
21241
21571
  updated_at: string;
21572
+ vakantie_uren_bijgeschreven: number;
21242
21573
  };
21243
21574
  Insert: {
21244
21575
  afgesloten_at?: string | null;
@@ -21255,11 +21586,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21255
21586
  monteur_id: string;
21256
21587
  netto_verschil_minuten?: number;
21257
21588
  normaal_uitbetaald_minuten?: number;
21589
+ omgezet_vakantie_minuten?: number;
21590
+ overdracht_vorige_minuten?: number;
21258
21591
  overuren_minuten?: number;
21259
21592
  plus_minuten?: number;
21593
+ rest_overuren_minuten?: number;
21260
21594
  status?: string;
21261
21595
  totaal_uitbetaald_minuten?: number;
21262
21596
  updated_at?: string;
21597
+ vakantie_uren_bijgeschreven?: number;
21263
21598
  };
21264
21599
  Update: {
21265
21600
  afgesloten_at?: string | null;
@@ -21276,11 +21611,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21276
21611
  monteur_id?: string;
21277
21612
  netto_verschil_minuten?: number;
21278
21613
  normaal_uitbetaald_minuten?: number;
21614
+ omgezet_vakantie_minuten?: number;
21615
+ overdracht_vorige_minuten?: number;
21279
21616
  overuren_minuten?: number;
21280
21617
  plus_minuten?: number;
21618
+ rest_overuren_minuten?: number;
21281
21619
  status?: string;
21282
21620
  totaal_uitbetaald_minuten?: number;
21283
21621
  updated_at?: string;
21622
+ vakantie_uren_bijgeschreven?: number;
21284
21623
  };
21285
21624
  Relationships: [];
21286
21625
  };
@@ -21692,6 +22031,51 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21692
22031
  referencedColumns: ["id"];
21693
22032
  }];
21694
22033
  };
22034
+ vakantie_uitbetalingen: {
22035
+ Row: {
22036
+ created_at: string;
22037
+ created_by: string | null;
22038
+ days: number;
22039
+ id: string;
22040
+ note: string | null;
22041
+ updated_at: string;
22042
+ user_id: string;
22043
+ year: number;
22044
+ };
22045
+ Insert: {
22046
+ created_at?: string;
22047
+ created_by?: string | null;
22048
+ days: number;
22049
+ id?: string;
22050
+ note?: string | null;
22051
+ updated_at?: string;
22052
+ user_id: string;
22053
+ year?: number;
22054
+ };
22055
+ Update: {
22056
+ created_at?: string;
22057
+ created_by?: string | null;
22058
+ days?: number;
22059
+ id?: string;
22060
+ note?: string | null;
22061
+ updated_at?: string;
22062
+ user_id?: string;
22063
+ year?: number;
22064
+ };
22065
+ Relationships: [{
22066
+ foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
22067
+ columns: ["created_by"];
22068
+ isOneToOne: false;
22069
+ referencedRelation: "profiles";
22070
+ referencedColumns: ["id"];
22071
+ }, {
22072
+ foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
22073
+ columns: ["user_id"];
22074
+ isOneToOne: false;
22075
+ referencedRelation: "profiles";
22076
+ referencedColumns: ["id"];
22077
+ }];
22078
+ };
21695
22079
  van_inventories: {
21696
22080
  Row: {
21697
22081
  barcode: string | null;
@@ -22976,6 +23360,78 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22976
23360
  referencedColumns: ["id"];
22977
23361
  }];
22978
23362
  };
23363
+ werkbon_voorstellen: {
23364
+ Row: {
23365
+ bron_werkbon_id: string;
23366
+ budget_mandate_cents: number;
23367
+ created_at: string;
23368
+ created_by: string;
23369
+ customer_id: string | null;
23370
+ id: string;
23371
+ payload: import("../integrations/supabase/types").Json;
23372
+ reden: string | null;
23373
+ status: string;
23374
+ updated_at: string;
23375
+ verwerkt_door: string | null;
23376
+ verwerkt_op: string | null;
23377
+ werkbon_id: string | null;
23378
+ };
23379
+ Insert: {
23380
+ bron_werkbon_id: string;
23381
+ budget_mandate_cents?: number;
23382
+ created_at?: string;
23383
+ created_by?: string;
23384
+ customer_id?: string | null;
23385
+ id?: string;
23386
+ payload?: import("../integrations/supabase/types").Json;
23387
+ reden?: string | null;
23388
+ status?: string;
23389
+ updated_at?: string;
23390
+ verwerkt_door?: string | null;
23391
+ verwerkt_op?: string | null;
23392
+ werkbon_id?: string | null;
23393
+ };
23394
+ Update: {
23395
+ bron_werkbon_id?: string;
23396
+ budget_mandate_cents?: number;
23397
+ created_at?: string;
23398
+ created_by?: string;
23399
+ customer_id?: string | null;
23400
+ id?: string;
23401
+ payload?: import("../integrations/supabase/types").Json;
23402
+ reden?: string | null;
23403
+ status?: string;
23404
+ updated_at?: string;
23405
+ verwerkt_door?: string | null;
23406
+ verwerkt_op?: string | null;
23407
+ werkbon_id?: string | null;
23408
+ };
23409
+ Relationships: [{
23410
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
23411
+ columns: ["bron_werkbon_id"];
23412
+ isOneToOne: false;
23413
+ referencedRelation: "werkbonnen";
23414
+ referencedColumns: ["id"];
23415
+ }, {
23416
+ foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
23417
+ columns: ["bron_werkbon_id"];
23418
+ isOneToOne: false;
23419
+ referencedRelation: "wo_overview";
23420
+ referencedColumns: ["id"];
23421
+ }, {
23422
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
23423
+ columns: ["werkbon_id"];
23424
+ isOneToOne: false;
23425
+ referencedRelation: "werkbonnen";
23426
+ referencedColumns: ["id"];
23427
+ }, {
23428
+ foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
23429
+ columns: ["werkbon_id"];
23430
+ isOneToOne: false;
23431
+ referencedRelation: "wo_overview";
23432
+ referencedColumns: ["id"];
23433
+ }];
23434
+ };
22979
23435
  werkbonnen: {
22980
23436
  Row: {
22981
23437
  assigned_user_id: string | null;
@@ -24216,6 +24672,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
24216
24672
  };
24217
24673
  Returns: undefined;
24218
24674
  };
24675
+ _wo_is_planner: {
24676
+ Args: never;
24677
+ Returns: boolean;
24678
+ };
24219
24679
  afh_city_code: {
24220
24680
  Args: {
24221
24681
  _city: string;
@@ -25328,6 +25788,22 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
25328
25788
  };
25329
25789
  Returns: number;
25330
25790
  };
25791
+ get_product_stock: {
25792
+ Args: {
25793
+ p_product_id: string;
25794
+ };
25795
+ Returns: {
25796
+ connection_id: string;
25797
+ incoming_stock: number;
25798
+ minimum_stock: number;
25799
+ notes: string;
25800
+ physical_stock: number;
25801
+ product_id: string;
25802
+ reserved_stock: number;
25803
+ trade_item_key: string;
25804
+ updated_at: string;
25805
+ }[];
25806
+ };
25331
25807
  get_room_busy_windows: {
25332
25808
  Args: {
25333
25809
  p_from: string;
@@ -25632,12 +26108,57 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
25632
26108
  };
25633
26109
  Returns: import("../integrations/supabase/types").Json;
25634
26110
  };
26111
+ inkoop_get_supplier_request: {
26112
+ Args: {
26113
+ _token: string;
26114
+ };
26115
+ Returns: import("../integrations/supabase/types").Json;
26116
+ };
26117
+ inkoop_hash_token: {
26118
+ Args: {
26119
+ _token: string;
26120
+ };
26121
+ Returns: string;
26122
+ };
26123
+ inkoop_html_escape: {
26124
+ Args: {
26125
+ _t: string;
26126
+ };
26127
+ Returns: string;
26128
+ };
26129
+ inkoop_list_artikelen: {
26130
+ Args: never;
26131
+ Returns: {
26132
+ article_number: string;
26133
+ barcode: string;
26134
+ id: string;
26135
+ incoming_quantity: number;
26136
+ is_layer: boolean;
26137
+ location: string;
26138
+ min_quantity: number;
26139
+ preferred_supplier_name: string;
26140
+ product: string;
26141
+ product_type: string;
26142
+ purchase_price: number;
26143
+ quantity: number;
26144
+ sale_price: number;
26145
+ supplier_count: number;
26146
+ unit: string;
26147
+ }[];
26148
+ };
25635
26149
  inkoop_next_order_number: {
25636
26150
  Args: never;
25637
26151
  Returns: string;
25638
26152
  };
26153
+ inkoop_process_request: {
26154
+ Args: {
26155
+ _request_id: string;
26156
+ };
26157
+ Returns: undefined;
26158
+ };
25639
26159
  inkoop_send_order: {
25640
26160
  Args: {
26161
+ _base_url?: string;
25641
26162
  _order_id: string;
25642
26163
  };
25643
26164
  Returns: {
@@ -25645,6 +26166,44 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
25645
26166
  supplier_name: string;
25646
26167
  to_address: string;
25647
26168
  }[];
26169
+ } | {
26170
+ Args: {
26171
+ _base_url?: string;
26172
+ _order_id: string;
26173
+ _resend?: boolean;
26174
+ };
26175
+ Returns: {
26176
+ outbox_id: string;
26177
+ supplier_name: string;
26178
+ to_address: string;
26179
+ }[];
26180
+ };
26181
+ inkoop_set_preferred_supplier: {
26182
+ Args: {
26183
+ _product_id: string;
26184
+ _supplier_id: string;
26185
+ };
26186
+ Returns: undefined;
26187
+ };
26188
+ inkoop_stock_key: {
26189
+ Args: {
26190
+ p_product_id: string;
26191
+ };
26192
+ Returns: string;
26193
+ };
26194
+ inkoop_submit_supplier_response: {
26195
+ Args: {
26196
+ _lines: import("../integrations/supabase/types").Json;
26197
+ _note?: string;
26198
+ _token: string;
26199
+ };
26200
+ Returns: import("../integrations/supabase/types").Json;
26201
+ };
26202
+ inkoop_sync_item_stock: {
26203
+ Args: {
26204
+ p_item_id: string;
26205
+ };
26206
+ Returns: undefined;
25648
26207
  };
25649
26208
  instructie_get: {
25650
26209
  Args: {
@@ -25665,6 +26224,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
25665
26224
  };
25666
26225
  Returns: number;
25667
26226
  };
26227
+ invoice_branding_snapshot: {
26228
+ Args: never;
26229
+ Returns: import("../integrations/supabase/types").Json;
26230
+ };
25668
26231
  invoice_create_from_source: {
25669
26232
  Args: {
25670
26233
  _payload?: import("../integrations/supabase/types").Json;
@@ -25699,6 +26262,17 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
25699
26262
  };
25700
26263
  Returns: import("../integrations/supabase/types").Json;
25701
26264
  };
26265
+ invoice_mark_sent: {
26266
+ Args: {
26267
+ _invoice_id: string;
26268
+ _to: string;
26269
+ };
26270
+ Returns: undefined;
26271
+ };
26272
+ invoice_peek_next_number: {
26273
+ Args: never;
26274
+ Returns: string;
26275
+ };
25702
26276
  invoice_ready_work_orders: {
25703
26277
  Args: {
25704
26278
  _limit?: number;
@@ -25711,6 +26285,18 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
25711
26285
  };
25712
26286
  Returns: import("../integrations/supabase/types").Json;
25713
26287
  };
26288
+ invoice_save_branding_settings: {
26289
+ Args: {
26290
+ _payload: import("../integrations/supabase/types").Json;
26291
+ };
26292
+ Returns: import("../integrations/supabase/types").Json;
26293
+ };
26294
+ invoice_set_email_purpose: {
26295
+ Args: {
26296
+ _purpose: string;
26297
+ };
26298
+ Returns: string;
26299
+ };
25714
26300
  invoice_source_lines: {
25715
26301
  Args: {
25716
26302
  _source_id: string;
@@ -25718,6 +26304,19 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
25718
26304
  };
25719
26305
  Returns: import("../integrations/supabase/types").Json;
25720
26306
  };
26307
+ invoice_update_full: {
26308
+ Args: {
26309
+ _invoice_id: string;
26310
+ _payload: import("../integrations/supabase/types").Json;
26311
+ };
26312
+ Returns: import("../integrations/supabase/types").Json;
26313
+ };
26314
+ invoice_work_order_locked: {
26315
+ Args: {
26316
+ _werkbon_id: string;
26317
+ };
26318
+ Returns: import("../integrations/supabase/types").Json;
26319
+ };
25721
26320
  is_authenticated: {
25722
26321
  Args: never;
25723
26322
  Returns: boolean;
@@ -26877,6 +27476,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
26877
27476
  Args: never;
26878
27477
  Returns: string;
26879
27478
  };
27479
+ logistics_order_backlog_info: {
27480
+ Args: {
27481
+ p_order_id: string;
27482
+ };
27483
+ Returns: import("../integrations/supabase/types").Json;
27484
+ };
26880
27485
  logistics_order_cart_approval: {
26881
27486
  Args: {
26882
27487
  _order_ref: string;
@@ -26967,6 +27572,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
26967
27572
  };
26968
27573
  Returns: boolean;
26969
27574
  };
27575
+ logistics_order_is_backlog: {
27576
+ Args: {
27577
+ p_order_id: string;
27578
+ };
27579
+ Returns: boolean;
27580
+ };
26970
27581
  logistics_order_is_topick: {
26971
27582
  Args: {
26972
27583
  p_order_id: string;
@@ -27108,6 +27719,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
27108
27719
  shifted_count: number;
27109
27720
  }[];
27110
27721
  };
27722
+ logistics_pick_backlog_max_days: {
27723
+ Args: never;
27724
+ Returns: number;
27725
+ };
27111
27726
  logistics_pick_barcode_enabled: {
27112
27727
  Args: never;
27113
27728
  Returns: boolean;
@@ -27723,12 +28338,27 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
27723
28338
  Args: never;
27724
28339
  Returns: import("../integrations/supabase/types").Json;
27725
28340
  };
28341
+ logistics_sync_pick_queue_backlog: {
28342
+ Args: never;
28343
+ Returns: import("../integrations/supabase/types").Json;
28344
+ };
28345
+ logistics_sync_pick_queue_core: {
28346
+ Args: never;
28347
+ Returns: import("../integrations/supabase/types").Json;
28348
+ };
27726
28349
  logistics_sync_task_carriers: {
27727
28350
  Args: {
27728
28351
  p_order_ref?: string;
27729
28352
  };
27730
28353
  Returns: number;
27731
28354
  };
28355
+ logistics_task_open_counts: {
28356
+ Args: never;
28357
+ Returns: {
28358
+ open_count: number;
28359
+ owner_module: string;
28360
+ }[];
28361
+ };
27732
28362
  logistics_task_owner: {
27733
28363
  Args: {
27734
28364
  p_task_type: string;
@@ -29017,6 +29647,19 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
29017
29647
  };
29018
29648
  Returns: boolean;
29019
29649
  };
29650
+ quote_assign_number: {
29651
+ Args: {
29652
+ _offerte_id: string;
29653
+ };
29654
+ Returns: string;
29655
+ };
29656
+ quote_create_follow_up_now: {
29657
+ Args: {
29658
+ _offerte_id: string;
29659
+ _payload?: import("../integrations/supabase/types").Json;
29660
+ };
29661
+ Returns: import("../integrations/supabase/types").Json;
29662
+ };
29020
29663
  quote_create_from_source: {
29021
29664
  Args: {
29022
29665
  _payload?: import("../integrations/supabase/types").Json;
@@ -29730,6 +30373,26 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
29730
30373
  };
29731
30374
  Returns: undefined;
29732
30375
  };
30376
+ set_product_stock: {
30377
+ Args: {
30378
+ p_incoming_stock?: number;
30379
+ p_minimum_stock?: number;
30380
+ p_notes?: string;
30381
+ p_physical_stock: number;
30382
+ p_product_id: string;
30383
+ };
30384
+ Returns: {
30385
+ connection_id: string;
30386
+ incoming_stock: number;
30387
+ minimum_stock: number;
30388
+ notes: string;
30389
+ physical_stock: number;
30390
+ product_id: string;
30391
+ reserved_stock: number;
30392
+ trade_item_key: string;
30393
+ updated_at: string;
30394
+ }[];
30395
+ };
29733
30396
  show_limit: {
29734
30397
  Args: never;
29735
30398
  Returns: number;
@@ -30254,6 +30917,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
30254
30917
  };
30255
30918
  Returns: number;
30256
30919
  };
30920
+ vakantie_overuren: {
30921
+ Args: {
30922
+ _user_id: string;
30923
+ _year?: number;
30924
+ };
30925
+ Returns: number;
30926
+ };
30257
30927
  vakantie_saldo: {
30258
30928
  Args: {
30259
30929
  _user_id: string;
@@ -30261,7 +30931,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
30261
30931
  };
30262
30932
  Returns: {
30263
30933
  day_hours: number;
30934
+ earned_from_overtime_days: number;
30264
30935
  entitlement_days: number;
30936
+ hours_to_next_day: number;
30937
+ overtime_hours: number;
30938
+ overtime_remainder_hours: number;
30939
+ paid_out_days: number;
30265
30940
  remaining_days: number;
30266
30941
  used_days: number;
30267
30942
  }[];
@@ -30272,7 +30947,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
30272
30947
  };
30273
30948
  Returns: {
30274
30949
  day_hours: number;
30950
+ earned_from_overtime_days: number;
30275
30951
  entitlement_days: number;
30952
+ hours_to_next_day: number;
30953
+ overtime_hours: number;
30954
+ overtime_remainder_hours: number;
30955
+ paid_out_days: number;
30276
30956
  remaining_days: number;
30277
30957
  used_days: number;
30278
30958
  user_id: string;
@@ -30326,12 +31006,25 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
30326
31006
  };
30327
31007
  Returns: import("../integrations/supabase/types").Json;
30328
31008
  };
31009
+ wo_list_proposals: {
31010
+ Args: {
31011
+ _status?: string;
31012
+ };
31013
+ Returns: import("../integrations/supabase/types").Json;
31014
+ };
30329
31015
  wo_process_offerte_request: {
30330
31016
  Args: {
30331
31017
  _queue_id: string;
30332
31018
  };
30333
31019
  Returns: import("../integrations/supabase/types").Json;
30334
31020
  };
31021
+ wo_process_proposal: {
31022
+ Args: {
31023
+ _id: string;
31024
+ _overrides?: import("../integrations/supabase/types").Json;
31025
+ };
31026
+ Returns: import("../integrations/supabase/types").Json;
31027
+ };
30335
31028
  wo_reject_offerte_request: {
30336
31029
  Args: {
30337
31030
  _queue_id: string;
@@ -30339,6 +31032,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
30339
31032
  };
30340
31033
  Returns: import("../integrations/supabase/types").Json;
30341
31034
  };
31035
+ wo_reject_proposal: {
31036
+ Args: {
31037
+ _id: string;
31038
+ _reden?: string;
31039
+ };
31040
+ Returns: import("../integrations/supabase/types").Json;
31041
+ };
30342
31042
  wo_set_status: {
30343
31043
  Args: {
30344
31044
  _reason?: string;