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