@flowselections/floriday-verkoop-module 1.0.49 → 1.0.51

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 (61) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +288 -1
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +288 -1
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +288 -1
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +294 -1
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/cart-lock.functions.d.ts +288 -1
  10. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/cart-planner.d.ts +15 -4
  12. package/dist-lib/lib/cart-planner.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-planner.js +44 -12
  14. package/dist-lib/lib/cart-planning-settings.functions.d.ts +3600 -443
  15. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/cart-replan.functions.d.ts +876 -3
  17. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/cart-replan.functions.js +49 -3
  19. package/dist-lib/lib/create-order.functions.d.ts +5657 -773
  20. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/create-order.functions.js +48 -4
  22. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +864 -3
  23. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +288 -1
  25. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-mirror.functions.d.ts +288 -1
  27. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-mirror.functions.js +28 -1
  29. package/dist-lib/lib/floriday-public.functions.d.ts +2232 -223
  30. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-writes.functions.d.ts +1548 -113
  32. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/invoice-timing.functions.d.ts +1260 -112
  34. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/load-carriers.functions.d.ts +288 -1
  36. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/logistics-engine.functions.d.ts +1548 -113
  38. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/logistics-stock.functions.d.ts +576 -2
  40. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/order-addresses.functions.d.ts +288 -1
  42. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/order-buffers.functions.d.ts +864 -3
  44. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/order-carrier.functions.d.ts +576 -2
  46. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/order-pickup.functions.d.ts +576 -2
  48. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/order-shipments.functions.d.ts +1260 -112
  50. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/salesorders-list.functions.d.ts +288 -1
  52. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  54. package/dist-lib/lib/salesorders-list.server.js +61 -3
  55. package/dist-lib/lib/salesorders.functions.d.ts +1548 -113
  56. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +576 -2
  58. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  59. package/dist-lib/lib/tradeitems.functions.d.ts +288 -1
  60. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  61. package/package.json +1 -1
@@ -10691,6 +10691,222 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
10691
10691
  };
10692
10692
  Relationships: [];
10693
10693
  };
10694
+ maps_addresses: {
10695
+ Row: {
10696
+ address_hash: string;
10697
+ created_at: string;
10698
+ error_reason: string | null;
10699
+ formatted_address: string | null;
10700
+ id: string;
10701
+ lat: number | null;
10702
+ lng: number | null;
10703
+ place_id: string | null;
10704
+ raw_address: string;
10705
+ resolved_at: string | null;
10706
+ status: string;
10707
+ updated_at: string;
10708
+ };
10709
+ Insert: {
10710
+ address_hash: string;
10711
+ created_at?: string;
10712
+ error_reason?: string | null;
10713
+ formatted_address?: string | null;
10714
+ id?: string;
10715
+ lat?: number | null;
10716
+ lng?: number | null;
10717
+ place_id?: string | null;
10718
+ raw_address: string;
10719
+ resolved_at?: string | null;
10720
+ status?: string;
10721
+ updated_at?: string;
10722
+ };
10723
+ Update: {
10724
+ address_hash?: string;
10725
+ created_at?: string;
10726
+ error_reason?: string | null;
10727
+ formatted_address?: string | null;
10728
+ id?: string;
10729
+ lat?: number | null;
10730
+ lng?: number | null;
10731
+ place_id?: string | null;
10732
+ raw_address?: string;
10733
+ resolved_at?: string | null;
10734
+ status?: string;
10735
+ updated_at?: string;
10736
+ };
10737
+ Relationships: [];
10738
+ };
10739
+ maps_request_queue: {
10740
+ Row: {
10741
+ attempts: number;
10742
+ created_at: string;
10743
+ destination_hash: string | null;
10744
+ id: string;
10745
+ kind: string;
10746
+ last_error: string | null;
10747
+ mode: string;
10748
+ origin_hash: string | null;
10749
+ processed_at: string | null;
10750
+ raw_destination: string | null;
10751
+ raw_origin: string | null;
10752
+ requested_by: string | null;
10753
+ status: string;
10754
+ updated_at: string;
10755
+ };
10756
+ Insert: {
10757
+ attempts?: number;
10758
+ created_at?: string;
10759
+ destination_hash?: string | null;
10760
+ id?: string;
10761
+ kind: string;
10762
+ last_error?: string | null;
10763
+ mode?: string;
10764
+ origin_hash?: string | null;
10765
+ processed_at?: string | null;
10766
+ raw_destination?: string | null;
10767
+ raw_origin?: string | null;
10768
+ requested_by?: string | null;
10769
+ status?: string;
10770
+ updated_at?: string;
10771
+ };
10772
+ Update: {
10773
+ attempts?: number;
10774
+ created_at?: string;
10775
+ destination_hash?: string | null;
10776
+ id?: string;
10777
+ kind?: string;
10778
+ last_error?: string | null;
10779
+ mode?: string;
10780
+ origin_hash?: string | null;
10781
+ processed_at?: string | null;
10782
+ raw_destination?: string | null;
10783
+ raw_origin?: string | null;
10784
+ requested_by?: string | null;
10785
+ status?: string;
10786
+ updated_at?: string;
10787
+ };
10788
+ Relationships: [];
10789
+ };
10790
+ maps_settings: {
10791
+ Row: {
10792
+ allow_estimate_fallback: boolean;
10793
+ cache_ttl_days: number;
10794
+ created_at: string;
10795
+ daily_call_limit: number;
10796
+ id: string;
10797
+ last_error: string | null;
10798
+ last_error_at: string | null;
10799
+ last_success_at: string | null;
10800
+ updated_at: string;
10801
+ };
10802
+ Insert: {
10803
+ allow_estimate_fallback?: boolean;
10804
+ cache_ttl_days?: number;
10805
+ created_at?: string;
10806
+ daily_call_limit?: number;
10807
+ id?: string;
10808
+ last_error?: string | null;
10809
+ last_error_at?: string | null;
10810
+ last_success_at?: string | null;
10811
+ updated_at?: string;
10812
+ };
10813
+ Update: {
10814
+ allow_estimate_fallback?: boolean;
10815
+ cache_ttl_days?: number;
10816
+ created_at?: string;
10817
+ daily_call_limit?: number;
10818
+ id?: string;
10819
+ last_error?: string | null;
10820
+ last_error_at?: string | null;
10821
+ last_success_at?: string | null;
10822
+ updated_at?: string;
10823
+ };
10824
+ Relationships: [];
10825
+ };
10826
+ maps_travel_times: {
10827
+ Row: {
10828
+ created_at: string;
10829
+ destination_id: string;
10830
+ distance_m: number | null;
10831
+ duration_sec: number;
10832
+ expires_at: string;
10833
+ id: string;
10834
+ mode: string;
10835
+ origin_id: string;
10836
+ source: string;
10837
+ updated_at: string;
10838
+ };
10839
+ Insert: {
10840
+ created_at?: string;
10841
+ destination_id: string;
10842
+ distance_m?: number | null;
10843
+ duration_sec: number;
10844
+ expires_at?: string;
10845
+ id?: string;
10846
+ mode?: string;
10847
+ origin_id: string;
10848
+ source?: string;
10849
+ updated_at?: string;
10850
+ };
10851
+ Update: {
10852
+ created_at?: string;
10853
+ destination_id?: string;
10854
+ distance_m?: number | null;
10855
+ duration_sec?: number;
10856
+ expires_at?: string;
10857
+ id?: string;
10858
+ mode?: string;
10859
+ origin_id?: string;
10860
+ source?: string;
10861
+ updated_at?: string;
10862
+ };
10863
+ Relationships: [{
10864
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
10865
+ columns: ["destination_id"];
10866
+ isOneToOne: false;
10867
+ referencedRelation: "maps_addresses";
10868
+ referencedColumns: ["id"];
10869
+ }, {
10870
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
10871
+ columns: ["origin_id"];
10872
+ isOneToOne: false;
10873
+ referencedRelation: "maps_addresses";
10874
+ referencedColumns: ["id"];
10875
+ }];
10876
+ };
10877
+ maps_usage_log: {
10878
+ Row: {
10879
+ cache_hits: number;
10880
+ call_type: string;
10881
+ created_at: string;
10882
+ day: string;
10883
+ detail: string | null;
10884
+ elements: number;
10885
+ id: string;
10886
+ outcome: string;
10887
+ };
10888
+ Insert: {
10889
+ cache_hits?: number;
10890
+ call_type: string;
10891
+ created_at?: string;
10892
+ day?: string;
10893
+ detail?: string | null;
10894
+ elements?: number;
10895
+ id?: string;
10896
+ outcome?: string;
10897
+ };
10898
+ Update: {
10899
+ cache_hits?: number;
10900
+ call_type?: string;
10901
+ created_at?: string;
10902
+ day?: string;
10903
+ detail?: string | null;
10904
+ elements?: number;
10905
+ id?: string;
10906
+ outcome?: string;
10907
+ };
10908
+ Relationships: [];
10909
+ };
10694
10910
  material_usage: {
10695
10911
  Row: {
10696
10912
  created_at: string;
@@ -13801,6 +14017,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
13801
14017
  created_at: string;
13802
14018
  driver: string;
13803
14019
  extern_printer_id: string | null;
14020
+ formaten_bijgewerkt_op: string | null;
13804
14021
  id: string;
13805
14022
  ip_adres: string | null;
13806
14023
  laatst_gezien: string | null;
@@ -13808,6 +14025,8 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
13808
14025
  merk: string;
13809
14026
  naam: string;
13810
14027
  omschrijving: string;
14028
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
14029
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
13811
14030
  online: boolean;
13812
14031
  papierformaat: string;
13813
14032
  poort: number | null;
@@ -13823,6 +14042,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
13823
14042
  created_at?: string;
13824
14043
  driver?: string;
13825
14044
  extern_printer_id?: string | null;
14045
+ formaten_bijgewerkt_op?: string | null;
13826
14046
  id?: string;
13827
14047
  ip_adres?: string | null;
13828
14048
  laatst_gezien?: string | null;
@@ -13830,6 +14050,8 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
13830
14050
  merk?: string;
13831
14051
  naam: string;
13832
14052
  omschrijving?: string;
14053
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
14054
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
13833
14055
  online?: boolean;
13834
14056
  papierformaat?: string;
13835
14057
  poort?: number | null;
@@ -13845,6 +14067,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
13845
14067
  created_at?: string;
13846
14068
  driver?: string;
13847
14069
  extern_printer_id?: string | null;
14070
+ formaten_bijgewerkt_op?: string | null;
13848
14071
  id?: string;
13849
14072
  ip_adres?: string | null;
13850
14073
  laatst_gezien?: string | null;
@@ -13852,6 +14075,8 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
13852
14075
  merk?: string;
13853
14076
  naam?: string;
13854
14077
  omschrijving?: string;
14078
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
14079
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
13855
14080
  online?: boolean;
13856
14081
  papierformaat?: string;
13857
14082
  poort?: number | null;
@@ -18620,6 +18845,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
18620
18845
  werkbon_package_items: {
18621
18846
  Row: {
18622
18847
  article_number: string | null;
18848
+ artikel_id: string | null;
18623
18849
  created_at: string;
18624
18850
  gtin: string | null;
18625
18851
  id: string;
@@ -18637,6 +18863,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
18637
18863
  };
18638
18864
  Insert: {
18639
18865
  article_number?: string | null;
18866
+ artikel_id?: string | null;
18640
18867
  created_at?: string;
18641
18868
  gtin?: string | null;
18642
18869
  id?: string;
@@ -18654,6 +18881,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
18654
18881
  };
18655
18882
  Update: {
18656
18883
  article_number?: string | null;
18884
+ artikel_id?: string | null;
18657
18885
  created_at?: string;
18658
18886
  gtin?: string | null;
18659
18887
  id?: string;
@@ -18670,6 +18898,12 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
18670
18898
  updated_at?: string;
18671
18899
  };
18672
18900
  Relationships: [{
18901
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
18902
+ columns: ["artikel_id"];
18903
+ isOneToOne: false;
18904
+ referencedRelation: "artikelen_cache";
18905
+ referencedColumns: ["id"];
18906
+ }, {
18673
18907
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18674
18908
  columns: ["package_id"];
18675
18909
  isOneToOne: false;
@@ -19892,6 +20126,20 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
19892
20126
  referencedColumns: ["id"];
19893
20127
  }];
19894
20128
  };
20129
+ v_werkbon_totalen: {
20130
+ Row: {
20131
+ packages_cents: number | null;
20132
+ packages_minutes: number | null;
20133
+ werkbon_id: string | null;
20134
+ };
20135
+ Relationships: [{
20136
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20137
+ columns: ["werkbon_id"];
20138
+ isOneToOne: false;
20139
+ referencedRelation: "werkbonnen";
20140
+ referencedColumns: ["id"];
20141
+ }];
20142
+ };
19895
20143
  };
19896
20144
  Functions: {
19897
20145
  _floriday_schedule_job: {
@@ -21828,6 +22076,25 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
21828
22076
  };
21829
22077
  Returns: string;
21830
22078
  };
22079
+ pakket_suggesties_voor_tekst: {
22080
+ Args: {
22081
+ _tekst: string;
22082
+ };
22083
+ Returns: {
22084
+ hit_type: string;
22085
+ package_id: string;
22086
+ priority: number;
22087
+ }[];
22088
+ };
22089
+ pakket_voor_reistijd: {
22090
+ Args: {
22091
+ _minuten: number;
22092
+ };
22093
+ Returns: {
22094
+ package_id: string;
22095
+ priority: number;
22096
+ }[];
22097
+ };
21831
22098
  pick_active_printers: {
21832
22099
  Args: never;
21833
22100
  Returns: {
@@ -22036,6 +22303,10 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
22036
22303
  omschrijving: string;
22037
22304
  }[];
22038
22305
  };
22306
+ pick_reference_data_status: {
22307
+ Args: never;
22308
+ Returns: import("../integrations/supabase/types").Json;
22309
+ };
22039
22310
  pick_release_expired_locks: {
22040
22311
  Args: never;
22041
22312
  Returns: number;
@@ -22100,6 +22371,10 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
22100
22371
  isSetofReturn: false;
22101
22372
  };
22102
22373
  };
22374
+ pick_seed_reference_data: {
22375
+ Args: never;
22376
+ Returns: import("../integrations/supabase/types").Json;
22377
+ };
22103
22378
  pick_set_station_print_plek: {
22104
22379
  Args: {
22105
22380
  _print_plek_id: string;
@@ -22878,6 +23153,18 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
22878
23153
  Args: never;
22879
23154
  Returns: string;
22880
23155
  };
23156
+ werkbon_totalen: {
23157
+ Args: {
23158
+ _werkbon_id: string;
23159
+ };
23160
+ Returns: {
23161
+ materials_cents: number;
23162
+ packages_cents: number;
23163
+ packages_minutes: number;
23164
+ total_cents: number;
23165
+ total_minutes: number;
23166
+ }[];
23167
+ };
22881
23168
  wo_create_from_source: {
22882
23169
  Args: {
22883
23170
  _payload?: import("../integrations/supabase/types").Json;
@@ -22916,7 +23203,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
22916
23203
  };
22917
23204
  CompositeTypes: { [_ in never]: never; };
22918
23205
  }, {
22919
- PostgrestVersion: "14.5";
23206
+ PostgrestVersion: "14.17";
22920
23207
  }>;
22921
23208
  userId: string;
22922
23209
  claims: import("@supabase/auth-js").User;
@@ -33625,6 +33912,222 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
33625
33912
  };
33626
33913
  Relationships: [];
33627
33914
  };
33915
+ maps_addresses: {
33916
+ Row: {
33917
+ address_hash: string;
33918
+ created_at: string;
33919
+ error_reason: string | null;
33920
+ formatted_address: string | null;
33921
+ id: string;
33922
+ lat: number | null;
33923
+ lng: number | null;
33924
+ place_id: string | null;
33925
+ raw_address: string;
33926
+ resolved_at: string | null;
33927
+ status: string;
33928
+ updated_at: string;
33929
+ };
33930
+ Insert: {
33931
+ address_hash: string;
33932
+ created_at?: string;
33933
+ error_reason?: string | null;
33934
+ formatted_address?: string | null;
33935
+ id?: string;
33936
+ lat?: number | null;
33937
+ lng?: number | null;
33938
+ place_id?: string | null;
33939
+ raw_address: string;
33940
+ resolved_at?: string | null;
33941
+ status?: string;
33942
+ updated_at?: string;
33943
+ };
33944
+ Update: {
33945
+ address_hash?: string;
33946
+ created_at?: string;
33947
+ error_reason?: string | null;
33948
+ formatted_address?: string | null;
33949
+ id?: string;
33950
+ lat?: number | null;
33951
+ lng?: number | null;
33952
+ place_id?: string | null;
33953
+ raw_address?: string;
33954
+ resolved_at?: string | null;
33955
+ status?: string;
33956
+ updated_at?: string;
33957
+ };
33958
+ Relationships: [];
33959
+ };
33960
+ maps_request_queue: {
33961
+ Row: {
33962
+ attempts: number;
33963
+ created_at: string;
33964
+ destination_hash: string | null;
33965
+ id: string;
33966
+ kind: string;
33967
+ last_error: string | null;
33968
+ mode: string;
33969
+ origin_hash: string | null;
33970
+ processed_at: string | null;
33971
+ raw_destination: string | null;
33972
+ raw_origin: string | null;
33973
+ requested_by: string | null;
33974
+ status: string;
33975
+ updated_at: string;
33976
+ };
33977
+ Insert: {
33978
+ attempts?: number;
33979
+ created_at?: string;
33980
+ destination_hash?: string | null;
33981
+ id?: string;
33982
+ kind: string;
33983
+ last_error?: string | null;
33984
+ mode?: string;
33985
+ origin_hash?: string | null;
33986
+ processed_at?: string | null;
33987
+ raw_destination?: string | null;
33988
+ raw_origin?: string | null;
33989
+ requested_by?: string | null;
33990
+ status?: string;
33991
+ updated_at?: string;
33992
+ };
33993
+ Update: {
33994
+ attempts?: number;
33995
+ created_at?: string;
33996
+ destination_hash?: string | null;
33997
+ id?: string;
33998
+ kind?: string;
33999
+ last_error?: string | null;
34000
+ mode?: string;
34001
+ origin_hash?: string | null;
34002
+ processed_at?: string | null;
34003
+ raw_destination?: string | null;
34004
+ raw_origin?: string | null;
34005
+ requested_by?: string | null;
34006
+ status?: string;
34007
+ updated_at?: string;
34008
+ };
34009
+ Relationships: [];
34010
+ };
34011
+ maps_settings: {
34012
+ Row: {
34013
+ allow_estimate_fallback: boolean;
34014
+ cache_ttl_days: number;
34015
+ created_at: string;
34016
+ daily_call_limit: number;
34017
+ id: string;
34018
+ last_error: string | null;
34019
+ last_error_at: string | null;
34020
+ last_success_at: string | null;
34021
+ updated_at: string;
34022
+ };
34023
+ Insert: {
34024
+ allow_estimate_fallback?: boolean;
34025
+ cache_ttl_days?: number;
34026
+ created_at?: string;
34027
+ daily_call_limit?: number;
34028
+ id?: string;
34029
+ last_error?: string | null;
34030
+ last_error_at?: string | null;
34031
+ last_success_at?: string | null;
34032
+ updated_at?: string;
34033
+ };
34034
+ Update: {
34035
+ allow_estimate_fallback?: boolean;
34036
+ cache_ttl_days?: number;
34037
+ created_at?: string;
34038
+ daily_call_limit?: number;
34039
+ id?: string;
34040
+ last_error?: string | null;
34041
+ last_error_at?: string | null;
34042
+ last_success_at?: string | null;
34043
+ updated_at?: string;
34044
+ };
34045
+ Relationships: [];
34046
+ };
34047
+ maps_travel_times: {
34048
+ Row: {
34049
+ created_at: string;
34050
+ destination_id: string;
34051
+ distance_m: number | null;
34052
+ duration_sec: number;
34053
+ expires_at: string;
34054
+ id: string;
34055
+ mode: string;
34056
+ origin_id: string;
34057
+ source: string;
34058
+ updated_at: string;
34059
+ };
34060
+ Insert: {
34061
+ created_at?: string;
34062
+ destination_id: string;
34063
+ distance_m?: number | null;
34064
+ duration_sec: number;
34065
+ expires_at?: string;
34066
+ id?: string;
34067
+ mode?: string;
34068
+ origin_id: string;
34069
+ source?: string;
34070
+ updated_at?: string;
34071
+ };
34072
+ Update: {
34073
+ created_at?: string;
34074
+ destination_id?: string;
34075
+ distance_m?: number | null;
34076
+ duration_sec?: number;
34077
+ expires_at?: string;
34078
+ id?: string;
34079
+ mode?: string;
34080
+ origin_id?: string;
34081
+ source?: string;
34082
+ updated_at?: string;
34083
+ };
34084
+ Relationships: [{
34085
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
34086
+ columns: ["destination_id"];
34087
+ isOneToOne: false;
34088
+ referencedRelation: "maps_addresses";
34089
+ referencedColumns: ["id"];
34090
+ }, {
34091
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
34092
+ columns: ["origin_id"];
34093
+ isOneToOne: false;
34094
+ referencedRelation: "maps_addresses";
34095
+ referencedColumns: ["id"];
34096
+ }];
34097
+ };
34098
+ maps_usage_log: {
34099
+ Row: {
34100
+ cache_hits: number;
34101
+ call_type: string;
34102
+ created_at: string;
34103
+ day: string;
34104
+ detail: string | null;
34105
+ elements: number;
34106
+ id: string;
34107
+ outcome: string;
34108
+ };
34109
+ Insert: {
34110
+ cache_hits?: number;
34111
+ call_type: string;
34112
+ created_at?: string;
34113
+ day?: string;
34114
+ detail?: string | null;
34115
+ elements?: number;
34116
+ id?: string;
34117
+ outcome?: string;
34118
+ };
34119
+ Update: {
34120
+ cache_hits?: number;
34121
+ call_type?: string;
34122
+ created_at?: string;
34123
+ day?: string;
34124
+ detail?: string | null;
34125
+ elements?: number;
34126
+ id?: string;
34127
+ outcome?: string;
34128
+ };
34129
+ Relationships: [];
34130
+ };
33628
34131
  material_usage: {
33629
34132
  Row: {
33630
34133
  created_at: string;
@@ -36735,6 +37238,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
36735
37238
  created_at: string;
36736
37239
  driver: string;
36737
37240
  extern_printer_id: string | null;
37241
+ formaten_bijgewerkt_op: string | null;
36738
37242
  id: string;
36739
37243
  ip_adres: string | null;
36740
37244
  laatst_gezien: string | null;
@@ -36742,6 +37246,8 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
36742
37246
  merk: string;
36743
37247
  naam: string;
36744
37248
  omschrijving: string;
37249
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
37250
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
36745
37251
  online: boolean;
36746
37252
  papierformaat: string;
36747
37253
  poort: number | null;
@@ -36757,6 +37263,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
36757
37263
  created_at?: string;
36758
37264
  driver?: string;
36759
37265
  extern_printer_id?: string | null;
37266
+ formaten_bijgewerkt_op?: string | null;
36760
37267
  id?: string;
36761
37268
  ip_adres?: string | null;
36762
37269
  laatst_gezien?: string | null;
@@ -36764,6 +37271,8 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
36764
37271
  merk?: string;
36765
37272
  naam: string;
36766
37273
  omschrijving?: string;
37274
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
37275
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
36767
37276
  online?: boolean;
36768
37277
  papierformaat?: string;
36769
37278
  poort?: number | null;
@@ -36779,6 +37288,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
36779
37288
  created_at?: string;
36780
37289
  driver?: string;
36781
37290
  extern_printer_id?: string | null;
37291
+ formaten_bijgewerkt_op?: string | null;
36782
37292
  id?: string;
36783
37293
  ip_adres?: string | null;
36784
37294
  laatst_gezien?: string | null;
@@ -36786,6 +37296,8 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
36786
37296
  merk?: string;
36787
37297
  naam?: string;
36788
37298
  omschrijving?: string;
37299
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
37300
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
36789
37301
  online?: boolean;
36790
37302
  papierformaat?: string;
36791
37303
  poort?: number | null;
@@ -41554,6 +42066,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
41554
42066
  werkbon_package_items: {
41555
42067
  Row: {
41556
42068
  article_number: string | null;
42069
+ artikel_id: string | null;
41557
42070
  created_at: string;
41558
42071
  gtin: string | null;
41559
42072
  id: string;
@@ -41571,6 +42084,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
41571
42084
  };
41572
42085
  Insert: {
41573
42086
  article_number?: string | null;
42087
+ artikel_id?: string | null;
41574
42088
  created_at?: string;
41575
42089
  gtin?: string | null;
41576
42090
  id?: string;
@@ -41588,6 +42102,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
41588
42102
  };
41589
42103
  Update: {
41590
42104
  article_number?: string | null;
42105
+ artikel_id?: string | null;
41591
42106
  created_at?: string;
41592
42107
  gtin?: string | null;
41593
42108
  id?: string;
@@ -41604,6 +42119,12 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
41604
42119
  updated_at?: string;
41605
42120
  };
41606
42121
  Relationships: [{
42122
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
42123
+ columns: ["artikel_id"];
42124
+ isOneToOne: false;
42125
+ referencedRelation: "artikelen_cache";
42126
+ referencedColumns: ["id"];
42127
+ }, {
41607
42128
  foreignKeyName: "werkbon_package_items_package_id_fkey";
41608
42129
  columns: ["package_id"];
41609
42130
  isOneToOne: false;
@@ -42826,6 +43347,20 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
42826
43347
  referencedColumns: ["id"];
42827
43348
  }];
42828
43349
  };
43350
+ v_werkbon_totalen: {
43351
+ Row: {
43352
+ packages_cents: number | null;
43353
+ packages_minutes: number | null;
43354
+ werkbon_id: string | null;
43355
+ };
43356
+ Relationships: [{
43357
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
43358
+ columns: ["werkbon_id"];
43359
+ isOneToOne: false;
43360
+ referencedRelation: "werkbonnen";
43361
+ referencedColumns: ["id"];
43362
+ }];
43363
+ };
42829
43364
  };
42830
43365
  Functions: {
42831
43366
  _floriday_schedule_job: {
@@ -44762,6 +45297,25 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
44762
45297
  };
44763
45298
  Returns: string;
44764
45299
  };
45300
+ pakket_suggesties_voor_tekst: {
45301
+ Args: {
45302
+ _tekst: string;
45303
+ };
45304
+ Returns: {
45305
+ hit_type: string;
45306
+ package_id: string;
45307
+ priority: number;
45308
+ }[];
45309
+ };
45310
+ pakket_voor_reistijd: {
45311
+ Args: {
45312
+ _minuten: number;
45313
+ };
45314
+ Returns: {
45315
+ package_id: string;
45316
+ priority: number;
45317
+ }[];
45318
+ };
44765
45319
  pick_active_printers: {
44766
45320
  Args: never;
44767
45321
  Returns: {
@@ -44970,6 +45524,10 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
44970
45524
  omschrijving: string;
44971
45525
  }[];
44972
45526
  };
45527
+ pick_reference_data_status: {
45528
+ Args: never;
45529
+ Returns: import("../integrations/supabase/types").Json;
45530
+ };
44973
45531
  pick_release_expired_locks: {
44974
45532
  Args: never;
44975
45533
  Returns: number;
@@ -45034,6 +45592,10 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
45034
45592
  isSetofReturn: false;
45035
45593
  };
45036
45594
  };
45595
+ pick_seed_reference_data: {
45596
+ Args: never;
45597
+ Returns: import("../integrations/supabase/types").Json;
45598
+ };
45037
45599
  pick_set_station_print_plek: {
45038
45600
  Args: {
45039
45601
  _print_plek_id: string;
@@ -45812,6 +46374,18 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
45812
46374
  Args: never;
45813
46375
  Returns: string;
45814
46376
  };
46377
+ werkbon_totalen: {
46378
+ Args: {
46379
+ _werkbon_id: string;
46380
+ };
46381
+ Returns: {
46382
+ materials_cents: number;
46383
+ packages_cents: number;
46384
+ packages_minutes: number;
46385
+ total_cents: number;
46386
+ total_minutes: number;
46387
+ }[];
46388
+ };
45815
46389
  wo_create_from_source: {
45816
46390
  Args: {
45817
46391
  _payload?: import("../integrations/supabase/types").Json;
@@ -45850,7 +46424,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
45850
46424
  };
45851
46425
  CompositeTypes: { [_ in never]: never; };
45852
46426
  }, {
45853
- PostgrestVersion: "14.5";
46427
+ PostgrestVersion: "14.17";
45854
46428
  }>;
45855
46429
  userId: string;
45856
46430
  claims: import("@supabase/auth-js").User;
@@ -56593,6 +57167,222 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
56593
57167
  };
56594
57168
  Relationships: [];
56595
57169
  };
57170
+ maps_addresses: {
57171
+ Row: {
57172
+ address_hash: string;
57173
+ created_at: string;
57174
+ error_reason: string | null;
57175
+ formatted_address: string | null;
57176
+ id: string;
57177
+ lat: number | null;
57178
+ lng: number | null;
57179
+ place_id: string | null;
57180
+ raw_address: string;
57181
+ resolved_at: string | null;
57182
+ status: string;
57183
+ updated_at: string;
57184
+ };
57185
+ Insert: {
57186
+ address_hash: string;
57187
+ created_at?: string;
57188
+ error_reason?: string | null;
57189
+ formatted_address?: string | null;
57190
+ id?: string;
57191
+ lat?: number | null;
57192
+ lng?: number | null;
57193
+ place_id?: string | null;
57194
+ raw_address: string;
57195
+ resolved_at?: string | null;
57196
+ status?: string;
57197
+ updated_at?: string;
57198
+ };
57199
+ Update: {
57200
+ address_hash?: string;
57201
+ created_at?: string;
57202
+ error_reason?: string | null;
57203
+ formatted_address?: string | null;
57204
+ id?: string;
57205
+ lat?: number | null;
57206
+ lng?: number | null;
57207
+ place_id?: string | null;
57208
+ raw_address?: string;
57209
+ resolved_at?: string | null;
57210
+ status?: string;
57211
+ updated_at?: string;
57212
+ };
57213
+ Relationships: [];
57214
+ };
57215
+ maps_request_queue: {
57216
+ Row: {
57217
+ attempts: number;
57218
+ created_at: string;
57219
+ destination_hash: string | null;
57220
+ id: string;
57221
+ kind: string;
57222
+ last_error: string | null;
57223
+ mode: string;
57224
+ origin_hash: string | null;
57225
+ processed_at: string | null;
57226
+ raw_destination: string | null;
57227
+ raw_origin: string | null;
57228
+ requested_by: string | null;
57229
+ status: string;
57230
+ updated_at: string;
57231
+ };
57232
+ Insert: {
57233
+ attempts?: number;
57234
+ created_at?: string;
57235
+ destination_hash?: string | null;
57236
+ id?: string;
57237
+ kind: string;
57238
+ last_error?: string | null;
57239
+ mode?: string;
57240
+ origin_hash?: string | null;
57241
+ processed_at?: string | null;
57242
+ raw_destination?: string | null;
57243
+ raw_origin?: string | null;
57244
+ requested_by?: string | null;
57245
+ status?: string;
57246
+ updated_at?: string;
57247
+ };
57248
+ Update: {
57249
+ attempts?: number;
57250
+ created_at?: string;
57251
+ destination_hash?: string | null;
57252
+ id?: string;
57253
+ kind?: string;
57254
+ last_error?: string | null;
57255
+ mode?: string;
57256
+ origin_hash?: string | null;
57257
+ processed_at?: string | null;
57258
+ raw_destination?: string | null;
57259
+ raw_origin?: string | null;
57260
+ requested_by?: string | null;
57261
+ status?: string;
57262
+ updated_at?: string;
57263
+ };
57264
+ Relationships: [];
57265
+ };
57266
+ maps_settings: {
57267
+ Row: {
57268
+ allow_estimate_fallback: boolean;
57269
+ cache_ttl_days: number;
57270
+ created_at: string;
57271
+ daily_call_limit: number;
57272
+ id: string;
57273
+ last_error: string | null;
57274
+ last_error_at: string | null;
57275
+ last_success_at: string | null;
57276
+ updated_at: string;
57277
+ };
57278
+ Insert: {
57279
+ allow_estimate_fallback?: boolean;
57280
+ cache_ttl_days?: number;
57281
+ created_at?: string;
57282
+ daily_call_limit?: number;
57283
+ id?: string;
57284
+ last_error?: string | null;
57285
+ last_error_at?: string | null;
57286
+ last_success_at?: string | null;
57287
+ updated_at?: string;
57288
+ };
57289
+ Update: {
57290
+ allow_estimate_fallback?: boolean;
57291
+ cache_ttl_days?: number;
57292
+ created_at?: string;
57293
+ daily_call_limit?: number;
57294
+ id?: string;
57295
+ last_error?: string | null;
57296
+ last_error_at?: string | null;
57297
+ last_success_at?: string | null;
57298
+ updated_at?: string;
57299
+ };
57300
+ Relationships: [];
57301
+ };
57302
+ maps_travel_times: {
57303
+ Row: {
57304
+ created_at: string;
57305
+ destination_id: string;
57306
+ distance_m: number | null;
57307
+ duration_sec: number;
57308
+ expires_at: string;
57309
+ id: string;
57310
+ mode: string;
57311
+ origin_id: string;
57312
+ source: string;
57313
+ updated_at: string;
57314
+ };
57315
+ Insert: {
57316
+ created_at?: string;
57317
+ destination_id: string;
57318
+ distance_m?: number | null;
57319
+ duration_sec: number;
57320
+ expires_at?: string;
57321
+ id?: string;
57322
+ mode?: string;
57323
+ origin_id: string;
57324
+ source?: string;
57325
+ updated_at?: string;
57326
+ };
57327
+ Update: {
57328
+ created_at?: string;
57329
+ destination_id?: string;
57330
+ distance_m?: number | null;
57331
+ duration_sec?: number;
57332
+ expires_at?: string;
57333
+ id?: string;
57334
+ mode?: string;
57335
+ origin_id?: string;
57336
+ source?: string;
57337
+ updated_at?: string;
57338
+ };
57339
+ Relationships: [{
57340
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
57341
+ columns: ["destination_id"];
57342
+ isOneToOne: false;
57343
+ referencedRelation: "maps_addresses";
57344
+ referencedColumns: ["id"];
57345
+ }, {
57346
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
57347
+ columns: ["origin_id"];
57348
+ isOneToOne: false;
57349
+ referencedRelation: "maps_addresses";
57350
+ referencedColumns: ["id"];
57351
+ }];
57352
+ };
57353
+ maps_usage_log: {
57354
+ Row: {
57355
+ cache_hits: number;
57356
+ call_type: string;
57357
+ created_at: string;
57358
+ day: string;
57359
+ detail: string | null;
57360
+ elements: number;
57361
+ id: string;
57362
+ outcome: string;
57363
+ };
57364
+ Insert: {
57365
+ cache_hits?: number;
57366
+ call_type: string;
57367
+ created_at?: string;
57368
+ day?: string;
57369
+ detail?: string | null;
57370
+ elements?: number;
57371
+ id?: string;
57372
+ outcome?: string;
57373
+ };
57374
+ Update: {
57375
+ cache_hits?: number;
57376
+ call_type?: string;
57377
+ created_at?: string;
57378
+ day?: string;
57379
+ detail?: string | null;
57380
+ elements?: number;
57381
+ id?: string;
57382
+ outcome?: string;
57383
+ };
57384
+ Relationships: [];
57385
+ };
56596
57386
  material_usage: {
56597
57387
  Row: {
56598
57388
  created_at: string;
@@ -59703,6 +60493,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
59703
60493
  created_at: string;
59704
60494
  driver: string;
59705
60495
  extern_printer_id: string | null;
60496
+ formaten_bijgewerkt_op: string | null;
59706
60497
  id: string;
59707
60498
  ip_adres: string | null;
59708
60499
  laatst_gezien: string | null;
@@ -59710,6 +60501,8 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
59710
60501
  merk: string;
59711
60502
  naam: string;
59712
60503
  omschrijving: string;
60504
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
60505
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
59713
60506
  online: boolean;
59714
60507
  papierformaat: string;
59715
60508
  poort: number | null;
@@ -59725,6 +60518,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
59725
60518
  created_at?: string;
59726
60519
  driver?: string;
59727
60520
  extern_printer_id?: string | null;
60521
+ formaten_bijgewerkt_op?: string | null;
59728
60522
  id?: string;
59729
60523
  ip_adres?: string | null;
59730
60524
  laatst_gezien?: string | null;
@@ -59732,6 +60526,8 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
59732
60526
  merk?: string;
59733
60527
  naam: string;
59734
60528
  omschrijving?: string;
60529
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
60530
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
59735
60531
  online?: boolean;
59736
60532
  papierformaat?: string;
59737
60533
  poort?: number | null;
@@ -59747,6 +60543,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
59747
60543
  created_at?: string;
59748
60544
  driver?: string;
59749
60545
  extern_printer_id?: string | null;
60546
+ formaten_bijgewerkt_op?: string | null;
59750
60547
  id?: string;
59751
60548
  ip_adres?: string | null;
59752
60549
  laatst_gezien?: string | null;
@@ -59754,6 +60551,8 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
59754
60551
  merk?: string;
59755
60552
  naam?: string;
59756
60553
  omschrijving?: string;
60554
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
60555
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
59757
60556
  online?: boolean;
59758
60557
  papierformaat?: string;
59759
60558
  poort?: number | null;
@@ -64522,6 +65321,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
64522
65321
  werkbon_package_items: {
64523
65322
  Row: {
64524
65323
  article_number: string | null;
65324
+ artikel_id: string | null;
64525
65325
  created_at: string;
64526
65326
  gtin: string | null;
64527
65327
  id: string;
@@ -64539,6 +65339,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
64539
65339
  };
64540
65340
  Insert: {
64541
65341
  article_number?: string | null;
65342
+ artikel_id?: string | null;
64542
65343
  created_at?: string;
64543
65344
  gtin?: string | null;
64544
65345
  id?: string;
@@ -64556,6 +65357,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
64556
65357
  };
64557
65358
  Update: {
64558
65359
  article_number?: string | null;
65360
+ artikel_id?: string | null;
64559
65361
  created_at?: string;
64560
65362
  gtin?: string | null;
64561
65363
  id?: string;
@@ -64572,6 +65374,12 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
64572
65374
  updated_at?: string;
64573
65375
  };
64574
65376
  Relationships: [{
65377
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
65378
+ columns: ["artikel_id"];
65379
+ isOneToOne: false;
65380
+ referencedRelation: "artikelen_cache";
65381
+ referencedColumns: ["id"];
65382
+ }, {
64575
65383
  foreignKeyName: "werkbon_package_items_package_id_fkey";
64576
65384
  columns: ["package_id"];
64577
65385
  isOneToOne: false;
@@ -65794,6 +66602,20 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
65794
66602
  referencedColumns: ["id"];
65795
66603
  }];
65796
66604
  };
66605
+ v_werkbon_totalen: {
66606
+ Row: {
66607
+ packages_cents: number | null;
66608
+ packages_minutes: number | null;
66609
+ werkbon_id: string | null;
66610
+ };
66611
+ Relationships: [{
66612
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
66613
+ columns: ["werkbon_id"];
66614
+ isOneToOne: false;
66615
+ referencedRelation: "werkbonnen";
66616
+ referencedColumns: ["id"];
66617
+ }];
66618
+ };
65797
66619
  };
65798
66620
  Functions: {
65799
66621
  _floriday_schedule_job: {
@@ -67730,6 +68552,25 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
67730
68552
  };
67731
68553
  Returns: string;
67732
68554
  };
68555
+ pakket_suggesties_voor_tekst: {
68556
+ Args: {
68557
+ _tekst: string;
68558
+ };
68559
+ Returns: {
68560
+ hit_type: string;
68561
+ package_id: string;
68562
+ priority: number;
68563
+ }[];
68564
+ };
68565
+ pakket_voor_reistijd: {
68566
+ Args: {
68567
+ _minuten: number;
68568
+ };
68569
+ Returns: {
68570
+ package_id: string;
68571
+ priority: number;
68572
+ }[];
68573
+ };
67733
68574
  pick_active_printers: {
67734
68575
  Args: never;
67735
68576
  Returns: {
@@ -67938,6 +68779,10 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
67938
68779
  omschrijving: string;
67939
68780
  }[];
67940
68781
  };
68782
+ pick_reference_data_status: {
68783
+ Args: never;
68784
+ Returns: import("../integrations/supabase/types").Json;
68785
+ };
67941
68786
  pick_release_expired_locks: {
67942
68787
  Args: never;
67943
68788
  Returns: number;
@@ -68002,6 +68847,10 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
68002
68847
  isSetofReturn: false;
68003
68848
  };
68004
68849
  };
68850
+ pick_seed_reference_data: {
68851
+ Args: never;
68852
+ Returns: import("../integrations/supabase/types").Json;
68853
+ };
68005
68854
  pick_set_station_print_plek: {
68006
68855
  Args: {
68007
68856
  _print_plek_id: string;
@@ -68780,6 +69629,18 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
68780
69629
  Args: never;
68781
69630
  Returns: string;
68782
69631
  };
69632
+ werkbon_totalen: {
69633
+ Args: {
69634
+ _werkbon_id: string;
69635
+ };
69636
+ Returns: {
69637
+ materials_cents: number;
69638
+ packages_cents: number;
69639
+ packages_minutes: number;
69640
+ total_cents: number;
69641
+ total_minutes: number;
69642
+ }[];
69643
+ };
68783
69644
  wo_create_from_source: {
68784
69645
  Args: {
68785
69646
  _payload?: import("../integrations/supabase/types").Json;
@@ -68818,7 +69679,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
68818
69679
  };
68819
69680
  CompositeTypes: { [_ in never]: never; };
68820
69681
  }, {
68821
- PostgrestVersion: "14.5";
69682
+ PostgrestVersion: "14.17";
68822
69683
  }>;
68823
69684
  userId: string;
68824
69685
  claims: import("@supabase/auth-js").User;
@@ -79525,6 +80386,222 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
79525
80386
  };
79526
80387
  Relationships: [];
79527
80388
  };
80389
+ maps_addresses: {
80390
+ Row: {
80391
+ address_hash: string;
80392
+ created_at: string;
80393
+ error_reason: string | null;
80394
+ formatted_address: string | null;
80395
+ id: string;
80396
+ lat: number | null;
80397
+ lng: number | null;
80398
+ place_id: string | null;
80399
+ raw_address: string;
80400
+ resolved_at: string | null;
80401
+ status: string;
80402
+ updated_at: string;
80403
+ };
80404
+ Insert: {
80405
+ address_hash: string;
80406
+ created_at?: string;
80407
+ error_reason?: string | null;
80408
+ formatted_address?: string | null;
80409
+ id?: string;
80410
+ lat?: number | null;
80411
+ lng?: number | null;
80412
+ place_id?: string | null;
80413
+ raw_address: string;
80414
+ resolved_at?: string | null;
80415
+ status?: string;
80416
+ updated_at?: string;
80417
+ };
80418
+ Update: {
80419
+ address_hash?: string;
80420
+ created_at?: string;
80421
+ error_reason?: string | null;
80422
+ formatted_address?: string | null;
80423
+ id?: string;
80424
+ lat?: number | null;
80425
+ lng?: number | null;
80426
+ place_id?: string | null;
80427
+ raw_address?: string;
80428
+ resolved_at?: string | null;
80429
+ status?: string;
80430
+ updated_at?: string;
80431
+ };
80432
+ Relationships: [];
80433
+ };
80434
+ maps_request_queue: {
80435
+ Row: {
80436
+ attempts: number;
80437
+ created_at: string;
80438
+ destination_hash: string | null;
80439
+ id: string;
80440
+ kind: string;
80441
+ last_error: string | null;
80442
+ mode: string;
80443
+ origin_hash: string | null;
80444
+ processed_at: string | null;
80445
+ raw_destination: string | null;
80446
+ raw_origin: string | null;
80447
+ requested_by: string | null;
80448
+ status: string;
80449
+ updated_at: string;
80450
+ };
80451
+ Insert: {
80452
+ attempts?: number;
80453
+ created_at?: string;
80454
+ destination_hash?: string | null;
80455
+ id?: string;
80456
+ kind: string;
80457
+ last_error?: string | null;
80458
+ mode?: string;
80459
+ origin_hash?: string | null;
80460
+ processed_at?: string | null;
80461
+ raw_destination?: string | null;
80462
+ raw_origin?: string | null;
80463
+ requested_by?: string | null;
80464
+ status?: string;
80465
+ updated_at?: string;
80466
+ };
80467
+ Update: {
80468
+ attempts?: number;
80469
+ created_at?: string;
80470
+ destination_hash?: string | null;
80471
+ id?: string;
80472
+ kind?: string;
80473
+ last_error?: string | null;
80474
+ mode?: string;
80475
+ origin_hash?: string | null;
80476
+ processed_at?: string | null;
80477
+ raw_destination?: string | null;
80478
+ raw_origin?: string | null;
80479
+ requested_by?: string | null;
80480
+ status?: string;
80481
+ updated_at?: string;
80482
+ };
80483
+ Relationships: [];
80484
+ };
80485
+ maps_settings: {
80486
+ Row: {
80487
+ allow_estimate_fallback: boolean;
80488
+ cache_ttl_days: number;
80489
+ created_at: string;
80490
+ daily_call_limit: number;
80491
+ id: string;
80492
+ last_error: string | null;
80493
+ last_error_at: string | null;
80494
+ last_success_at: string | null;
80495
+ updated_at: string;
80496
+ };
80497
+ Insert: {
80498
+ allow_estimate_fallback?: boolean;
80499
+ cache_ttl_days?: number;
80500
+ created_at?: string;
80501
+ daily_call_limit?: number;
80502
+ id?: string;
80503
+ last_error?: string | null;
80504
+ last_error_at?: string | null;
80505
+ last_success_at?: string | null;
80506
+ updated_at?: string;
80507
+ };
80508
+ Update: {
80509
+ allow_estimate_fallback?: boolean;
80510
+ cache_ttl_days?: number;
80511
+ created_at?: string;
80512
+ daily_call_limit?: number;
80513
+ id?: string;
80514
+ last_error?: string | null;
80515
+ last_error_at?: string | null;
80516
+ last_success_at?: string | null;
80517
+ updated_at?: string;
80518
+ };
80519
+ Relationships: [];
80520
+ };
80521
+ maps_travel_times: {
80522
+ Row: {
80523
+ created_at: string;
80524
+ destination_id: string;
80525
+ distance_m: number | null;
80526
+ duration_sec: number;
80527
+ expires_at: string;
80528
+ id: string;
80529
+ mode: string;
80530
+ origin_id: string;
80531
+ source: string;
80532
+ updated_at: string;
80533
+ };
80534
+ Insert: {
80535
+ created_at?: string;
80536
+ destination_id: string;
80537
+ distance_m?: number | null;
80538
+ duration_sec: number;
80539
+ expires_at?: string;
80540
+ id?: string;
80541
+ mode?: string;
80542
+ origin_id: string;
80543
+ source?: string;
80544
+ updated_at?: string;
80545
+ };
80546
+ Update: {
80547
+ created_at?: string;
80548
+ destination_id?: string;
80549
+ distance_m?: number | null;
80550
+ duration_sec?: number;
80551
+ expires_at?: string;
80552
+ id?: string;
80553
+ mode?: string;
80554
+ origin_id?: string;
80555
+ source?: string;
80556
+ updated_at?: string;
80557
+ };
80558
+ Relationships: [{
80559
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
80560
+ columns: ["destination_id"];
80561
+ isOneToOne: false;
80562
+ referencedRelation: "maps_addresses";
80563
+ referencedColumns: ["id"];
80564
+ }, {
80565
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
80566
+ columns: ["origin_id"];
80567
+ isOneToOne: false;
80568
+ referencedRelation: "maps_addresses";
80569
+ referencedColumns: ["id"];
80570
+ }];
80571
+ };
80572
+ maps_usage_log: {
80573
+ Row: {
80574
+ cache_hits: number;
80575
+ call_type: string;
80576
+ created_at: string;
80577
+ day: string;
80578
+ detail: string | null;
80579
+ elements: number;
80580
+ id: string;
80581
+ outcome: string;
80582
+ };
80583
+ Insert: {
80584
+ cache_hits?: number;
80585
+ call_type: string;
80586
+ created_at?: string;
80587
+ day?: string;
80588
+ detail?: string | null;
80589
+ elements?: number;
80590
+ id?: string;
80591
+ outcome?: string;
80592
+ };
80593
+ Update: {
80594
+ cache_hits?: number;
80595
+ call_type?: string;
80596
+ created_at?: string;
80597
+ day?: string;
80598
+ detail?: string | null;
80599
+ elements?: number;
80600
+ id?: string;
80601
+ outcome?: string;
80602
+ };
80603
+ Relationships: [];
80604
+ };
79528
80605
  material_usage: {
79529
80606
  Row: {
79530
80607
  created_at: string;
@@ -82635,6 +83712,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
82635
83712
  created_at: string;
82636
83713
  driver: string;
82637
83714
  extern_printer_id: string | null;
83715
+ formaten_bijgewerkt_op: string | null;
82638
83716
  id: string;
82639
83717
  ip_adres: string | null;
82640
83718
  laatst_gezien: string | null;
@@ -82642,6 +83720,8 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
82642
83720
  merk: string;
82643
83721
  naam: string;
82644
83722
  omschrijving: string;
83723
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
83724
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
82645
83725
  online: boolean;
82646
83726
  papierformaat: string;
82647
83727
  poort: number | null;
@@ -82657,6 +83737,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
82657
83737
  created_at?: string;
82658
83738
  driver?: string;
82659
83739
  extern_printer_id?: string | null;
83740
+ formaten_bijgewerkt_op?: string | null;
82660
83741
  id?: string;
82661
83742
  ip_adres?: string | null;
82662
83743
  laatst_gezien?: string | null;
@@ -82664,6 +83745,8 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
82664
83745
  merk?: string;
82665
83746
  naam: string;
82666
83747
  omschrijving?: string;
83748
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
83749
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
82667
83750
  online?: boolean;
82668
83751
  papierformaat?: string;
82669
83752
  poort?: number | null;
@@ -82679,6 +83762,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
82679
83762
  created_at?: string;
82680
83763
  driver?: string;
82681
83764
  extern_printer_id?: string | null;
83765
+ formaten_bijgewerkt_op?: string | null;
82682
83766
  id?: string;
82683
83767
  ip_adres?: string | null;
82684
83768
  laatst_gezien?: string | null;
@@ -82686,6 +83770,8 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
82686
83770
  merk?: string;
82687
83771
  naam?: string;
82688
83772
  omschrijving?: string;
83773
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
83774
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
82689
83775
  online?: boolean;
82690
83776
  papierformaat?: string;
82691
83777
  poort?: number | null;
@@ -87454,6 +88540,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
87454
88540
  werkbon_package_items: {
87455
88541
  Row: {
87456
88542
  article_number: string | null;
88543
+ artikel_id: string | null;
87457
88544
  created_at: string;
87458
88545
  gtin: string | null;
87459
88546
  id: string;
@@ -87471,6 +88558,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
87471
88558
  };
87472
88559
  Insert: {
87473
88560
  article_number?: string | null;
88561
+ artikel_id?: string | null;
87474
88562
  created_at?: string;
87475
88563
  gtin?: string | null;
87476
88564
  id?: string;
@@ -87488,6 +88576,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
87488
88576
  };
87489
88577
  Update: {
87490
88578
  article_number?: string | null;
88579
+ artikel_id?: string | null;
87491
88580
  created_at?: string;
87492
88581
  gtin?: string | null;
87493
88582
  id?: string;
@@ -87504,6 +88593,12 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
87504
88593
  updated_at?: string;
87505
88594
  };
87506
88595
  Relationships: [{
88596
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
88597
+ columns: ["artikel_id"];
88598
+ isOneToOne: false;
88599
+ referencedRelation: "artikelen_cache";
88600
+ referencedColumns: ["id"];
88601
+ }, {
87507
88602
  foreignKeyName: "werkbon_package_items_package_id_fkey";
87508
88603
  columns: ["package_id"];
87509
88604
  isOneToOne: false;
@@ -88726,6 +89821,20 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
88726
89821
  referencedColumns: ["id"];
88727
89822
  }];
88728
89823
  };
89824
+ v_werkbon_totalen: {
89825
+ Row: {
89826
+ packages_cents: number | null;
89827
+ packages_minutes: number | null;
89828
+ werkbon_id: string | null;
89829
+ };
89830
+ Relationships: [{
89831
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
89832
+ columns: ["werkbon_id"];
89833
+ isOneToOne: false;
89834
+ referencedRelation: "werkbonnen";
89835
+ referencedColumns: ["id"];
89836
+ }];
89837
+ };
88729
89838
  };
88730
89839
  Functions: {
88731
89840
  _floriday_schedule_job: {
@@ -90662,6 +91771,25 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
90662
91771
  };
90663
91772
  Returns: string;
90664
91773
  };
91774
+ pakket_suggesties_voor_tekst: {
91775
+ Args: {
91776
+ _tekst: string;
91777
+ };
91778
+ Returns: {
91779
+ hit_type: string;
91780
+ package_id: string;
91781
+ priority: number;
91782
+ }[];
91783
+ };
91784
+ pakket_voor_reistijd: {
91785
+ Args: {
91786
+ _minuten: number;
91787
+ };
91788
+ Returns: {
91789
+ package_id: string;
91790
+ priority: number;
91791
+ }[];
91792
+ };
90665
91793
  pick_active_printers: {
90666
91794
  Args: never;
90667
91795
  Returns: {
@@ -90823,117 +91951,125 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
90823
91951
  isSetofReturn: false;
90824
91952
  };
90825
91953
  };
90826
- pick_current_pick_day: {
91954
+ pick_current_pick_day: {
91955
+ Args: never;
91956
+ Returns: string;
91957
+ };
91958
+ pick_day_counts: {
91959
+ Args: {
91960
+ _pick_day?: string;
91961
+ _screen_id?: string;
91962
+ _station_id?: string;
91963
+ };
91964
+ Returns: import("../integrations/supabase/types").Json;
91965
+ };
91966
+ pick_document_layout_data: {
91967
+ Args: {
91968
+ _layout_id: string;
91969
+ };
91970
+ Returns: import("../integrations/supabase/types").Json;
91971
+ };
91972
+ pick_enqueue_print_job: {
91973
+ Args: {
91974
+ _printer_id?: string;
91975
+ _queue_item_id: string;
91976
+ _session_id?: string;
91977
+ };
91978
+ Returns: string;
91979
+ };
91980
+ pick_order_context: {
91981
+ Args: {
91982
+ _order_id?: string;
91983
+ _order_number?: string;
91984
+ };
91985
+ Returns: import("../integrations/supabase/types").Json;
91986
+ };
91987
+ pick_print_job_status: {
91988
+ Args: {
91989
+ _job_id: string;
91990
+ };
91991
+ Returns: import("../integrations/supabase/types").Json;
91992
+ };
91993
+ pick_print_plekken: {
91994
+ Args: never;
91995
+ Returns: {
91996
+ id: string;
91997
+ naam: string;
91998
+ omschrijving: string;
91999
+ }[];
92000
+ };
92001
+ pick_reference_data_status: {
92002
+ Args: never;
92003
+ Returns: import("../integrations/supabase/types").Json;
92004
+ };
92005
+ pick_release_expired_locks: {
92006
+ Args: never;
92007
+ Returns: number;
92008
+ };
92009
+ pick_release_lock: {
92010
+ Args: {
92011
+ _queue_item_id: string;
92012
+ };
92013
+ Returns: undefined;
92014
+ };
92015
+ pick_reprint_document: {
92016
+ Args: {
92017
+ _queue_item_id: string;
92018
+ _session_id: string;
92019
+ _throttle_seconds?: number;
92020
+ };
92021
+ Returns: string;
92022
+ };
92023
+ pick_reset_print: {
92024
+ Args: {
92025
+ _queue_item_id: string;
92026
+ _session_id: string;
92027
+ };
92028
+ Returns: {
92029
+ announced_at: string;
92030
+ assigned_user_id: string | null;
92031
+ barcode: string | null;
92032
+ cancelled_at: string | null;
92033
+ cart_count: number;
92034
+ completed_at: string | null;
92035
+ country_code: string | null;
92036
+ created_at: string;
92037
+ customer_name: string | null;
92038
+ delivery_address: string | null;
92039
+ document_number: string | null;
92040
+ document_type_id: string | null;
92041
+ due_at: string | null;
92042
+ id: string;
92043
+ is_urgent: boolean;
92044
+ line_count: number;
92045
+ order_number: string | null;
92046
+ order_type: string | null;
92047
+ payload: import("../integrations/supabase/types").Json;
92048
+ print_count: number;
92049
+ print_job_id: string | null;
92050
+ printed_at: string | null;
92051
+ printed_by: string | null;
92052
+ printer_id: string | null;
92053
+ priority: number;
92054
+ reference: string | null;
92055
+ route: string | null;
92056
+ screen_id: string | null;
92057
+ station_id: string | null;
92058
+ status_id: string | null;
92059
+ updated_at: string;
92060
+ warnings: import("../integrations/supabase/types").Json;
92061
+ };
92062
+ SetofOptions: {
92063
+ from: "*";
92064
+ to: "pick_queue";
92065
+ isOneToOne: true;
92066
+ isSetofReturn: false;
92067
+ };
92068
+ };
92069
+ pick_seed_reference_data: {
90827
92070
  Args: never;
90828
- Returns: string;
90829
- };
90830
- pick_day_counts: {
90831
- Args: {
90832
- _pick_day?: string;
90833
- _screen_id?: string;
90834
- _station_id?: string;
90835
- };
90836
92071
  Returns: import("../integrations/supabase/types").Json;
90837
92072
  };
90838
- pick_document_layout_data: {
90839
- Args: {
90840
- _layout_id: string;
90841
- };
90842
- Returns: import("../integrations/supabase/types").Json;
90843
- };
90844
- pick_enqueue_print_job: {
90845
- Args: {
90846
- _printer_id?: string;
90847
- _queue_item_id: string;
90848
- _session_id?: string;
90849
- };
90850
- Returns: string;
90851
- };
90852
- pick_order_context: {
90853
- Args: {
90854
- _order_id?: string;
90855
- _order_number?: string;
90856
- };
90857
- Returns: import("../integrations/supabase/types").Json;
90858
- };
90859
- pick_print_job_status: {
90860
- Args: {
90861
- _job_id: string;
90862
- };
90863
- Returns: import("../integrations/supabase/types").Json;
90864
- };
90865
- pick_print_plekken: {
90866
- Args: never;
90867
- Returns: {
90868
- id: string;
90869
- naam: string;
90870
- omschrijving: string;
90871
- }[];
90872
- };
90873
- pick_release_expired_locks: {
90874
- Args: never;
90875
- Returns: number;
90876
- };
90877
- pick_release_lock: {
90878
- Args: {
90879
- _queue_item_id: string;
90880
- };
90881
- Returns: undefined;
90882
- };
90883
- pick_reprint_document: {
90884
- Args: {
90885
- _queue_item_id: string;
90886
- _session_id: string;
90887
- _throttle_seconds?: number;
90888
- };
90889
- Returns: string;
90890
- };
90891
- pick_reset_print: {
90892
- Args: {
90893
- _queue_item_id: string;
90894
- _session_id: string;
90895
- };
90896
- Returns: {
90897
- announced_at: string;
90898
- assigned_user_id: string | null;
90899
- barcode: string | null;
90900
- cancelled_at: string | null;
90901
- cart_count: number;
90902
- completed_at: string | null;
90903
- country_code: string | null;
90904
- created_at: string;
90905
- customer_name: string | null;
90906
- delivery_address: string | null;
90907
- document_number: string | null;
90908
- document_type_id: string | null;
90909
- due_at: string | null;
90910
- id: string;
90911
- is_urgent: boolean;
90912
- line_count: number;
90913
- order_number: string | null;
90914
- order_type: string | null;
90915
- payload: import("../integrations/supabase/types").Json;
90916
- print_count: number;
90917
- print_job_id: string | null;
90918
- printed_at: string | null;
90919
- printed_by: string | null;
90920
- printer_id: string | null;
90921
- priority: number;
90922
- reference: string | null;
90923
- route: string | null;
90924
- screen_id: string | null;
90925
- station_id: string | null;
90926
- status_id: string | null;
90927
- updated_at: string;
90928
- warnings: import("../integrations/supabase/types").Json;
90929
- };
90930
- SetofOptions: {
90931
- from: "*";
90932
- to: "pick_queue";
90933
- isOneToOne: true;
90934
- isSetofReturn: false;
90935
- };
90936
- };
90937
92073
  pick_set_station_print_plek: {
90938
92074
  Args: {
90939
92075
  _print_plek_id: string;
@@ -91712,6 +92848,18 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
91712
92848
  Args: never;
91713
92849
  Returns: string;
91714
92850
  };
92851
+ werkbon_totalen: {
92852
+ Args: {
92853
+ _werkbon_id: string;
92854
+ };
92855
+ Returns: {
92856
+ materials_cents: number;
92857
+ packages_cents: number;
92858
+ packages_minutes: number;
92859
+ total_cents: number;
92860
+ total_minutes: number;
92861
+ }[];
92862
+ };
91715
92863
  wo_create_from_source: {
91716
92864
  Args: {
91717
92865
  _payload?: import("../integrations/supabase/types").Json;
@@ -91750,7 +92898,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
91750
92898
  };
91751
92899
  CompositeTypes: { [_ in never]: never; };
91752
92900
  }, {
91753
- PostgrestVersion: "14.5";
92901
+ PostgrestVersion: "14.17";
91754
92902
  }>;
91755
92903
  userId: string;
91756
92904
  claims: import("@supabase/auth-js").User;
@@ -102471,6 +103619,222 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
102471
103619
  };
102472
103620
  Relationships: [];
102473
103621
  };
103622
+ maps_addresses: {
103623
+ Row: {
103624
+ address_hash: string;
103625
+ created_at: string;
103626
+ error_reason: string | null;
103627
+ formatted_address: string | null;
103628
+ id: string;
103629
+ lat: number | null;
103630
+ lng: number | null;
103631
+ place_id: string | null;
103632
+ raw_address: string;
103633
+ resolved_at: string | null;
103634
+ status: string;
103635
+ updated_at: string;
103636
+ };
103637
+ Insert: {
103638
+ address_hash: string;
103639
+ created_at?: string;
103640
+ error_reason?: string | null;
103641
+ formatted_address?: string | null;
103642
+ id?: string;
103643
+ lat?: number | null;
103644
+ lng?: number | null;
103645
+ place_id?: string | null;
103646
+ raw_address: string;
103647
+ resolved_at?: string | null;
103648
+ status?: string;
103649
+ updated_at?: string;
103650
+ };
103651
+ Update: {
103652
+ address_hash?: string;
103653
+ created_at?: string;
103654
+ error_reason?: string | null;
103655
+ formatted_address?: string | null;
103656
+ id?: string;
103657
+ lat?: number | null;
103658
+ lng?: number | null;
103659
+ place_id?: string | null;
103660
+ raw_address?: string;
103661
+ resolved_at?: string | null;
103662
+ status?: string;
103663
+ updated_at?: string;
103664
+ };
103665
+ Relationships: [];
103666
+ };
103667
+ maps_request_queue: {
103668
+ Row: {
103669
+ attempts: number;
103670
+ created_at: string;
103671
+ destination_hash: string | null;
103672
+ id: string;
103673
+ kind: string;
103674
+ last_error: string | null;
103675
+ mode: string;
103676
+ origin_hash: string | null;
103677
+ processed_at: string | null;
103678
+ raw_destination: string | null;
103679
+ raw_origin: string | null;
103680
+ requested_by: string | null;
103681
+ status: string;
103682
+ updated_at: string;
103683
+ };
103684
+ Insert: {
103685
+ attempts?: number;
103686
+ created_at?: string;
103687
+ destination_hash?: string | null;
103688
+ id?: string;
103689
+ kind: string;
103690
+ last_error?: string | null;
103691
+ mode?: string;
103692
+ origin_hash?: string | null;
103693
+ processed_at?: string | null;
103694
+ raw_destination?: string | null;
103695
+ raw_origin?: string | null;
103696
+ requested_by?: string | null;
103697
+ status?: string;
103698
+ updated_at?: string;
103699
+ };
103700
+ Update: {
103701
+ attempts?: number;
103702
+ created_at?: string;
103703
+ destination_hash?: string | null;
103704
+ id?: string;
103705
+ kind?: string;
103706
+ last_error?: string | null;
103707
+ mode?: string;
103708
+ origin_hash?: string | null;
103709
+ processed_at?: string | null;
103710
+ raw_destination?: string | null;
103711
+ raw_origin?: string | null;
103712
+ requested_by?: string | null;
103713
+ status?: string;
103714
+ updated_at?: string;
103715
+ };
103716
+ Relationships: [];
103717
+ };
103718
+ maps_settings: {
103719
+ Row: {
103720
+ allow_estimate_fallback: boolean;
103721
+ cache_ttl_days: number;
103722
+ created_at: string;
103723
+ daily_call_limit: number;
103724
+ id: string;
103725
+ last_error: string | null;
103726
+ last_error_at: string | null;
103727
+ last_success_at: string | null;
103728
+ updated_at: string;
103729
+ };
103730
+ Insert: {
103731
+ allow_estimate_fallback?: boolean;
103732
+ cache_ttl_days?: number;
103733
+ created_at?: string;
103734
+ daily_call_limit?: number;
103735
+ id?: string;
103736
+ last_error?: string | null;
103737
+ last_error_at?: string | null;
103738
+ last_success_at?: string | null;
103739
+ updated_at?: string;
103740
+ };
103741
+ Update: {
103742
+ allow_estimate_fallback?: boolean;
103743
+ cache_ttl_days?: number;
103744
+ created_at?: string;
103745
+ daily_call_limit?: number;
103746
+ id?: string;
103747
+ last_error?: string | null;
103748
+ last_error_at?: string | null;
103749
+ last_success_at?: string | null;
103750
+ updated_at?: string;
103751
+ };
103752
+ Relationships: [];
103753
+ };
103754
+ maps_travel_times: {
103755
+ Row: {
103756
+ created_at: string;
103757
+ destination_id: string;
103758
+ distance_m: number | null;
103759
+ duration_sec: number;
103760
+ expires_at: string;
103761
+ id: string;
103762
+ mode: string;
103763
+ origin_id: string;
103764
+ source: string;
103765
+ updated_at: string;
103766
+ };
103767
+ Insert: {
103768
+ created_at?: string;
103769
+ destination_id: string;
103770
+ distance_m?: number | null;
103771
+ duration_sec: number;
103772
+ expires_at?: string;
103773
+ id?: string;
103774
+ mode?: string;
103775
+ origin_id: string;
103776
+ source?: string;
103777
+ updated_at?: string;
103778
+ };
103779
+ Update: {
103780
+ created_at?: string;
103781
+ destination_id?: string;
103782
+ distance_m?: number | null;
103783
+ duration_sec?: number;
103784
+ expires_at?: string;
103785
+ id?: string;
103786
+ mode?: string;
103787
+ origin_id?: string;
103788
+ source?: string;
103789
+ updated_at?: string;
103790
+ };
103791
+ Relationships: [{
103792
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
103793
+ columns: ["destination_id"];
103794
+ isOneToOne: false;
103795
+ referencedRelation: "maps_addresses";
103796
+ referencedColumns: ["id"];
103797
+ }, {
103798
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
103799
+ columns: ["origin_id"];
103800
+ isOneToOne: false;
103801
+ referencedRelation: "maps_addresses";
103802
+ referencedColumns: ["id"];
103803
+ }];
103804
+ };
103805
+ maps_usage_log: {
103806
+ Row: {
103807
+ cache_hits: number;
103808
+ call_type: string;
103809
+ created_at: string;
103810
+ day: string;
103811
+ detail: string | null;
103812
+ elements: number;
103813
+ id: string;
103814
+ outcome: string;
103815
+ };
103816
+ Insert: {
103817
+ cache_hits?: number;
103818
+ call_type: string;
103819
+ created_at?: string;
103820
+ day?: string;
103821
+ detail?: string | null;
103822
+ elements?: number;
103823
+ id?: string;
103824
+ outcome?: string;
103825
+ };
103826
+ Update: {
103827
+ cache_hits?: number;
103828
+ call_type?: string;
103829
+ created_at?: string;
103830
+ day?: string;
103831
+ detail?: string | null;
103832
+ elements?: number;
103833
+ id?: string;
103834
+ outcome?: string;
103835
+ };
103836
+ Relationships: [];
103837
+ };
102474
103838
  material_usage: {
102475
103839
  Row: {
102476
103840
  created_at: string;
@@ -105581,6 +106945,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
105581
106945
  created_at: string;
105582
106946
  driver: string;
105583
106947
  extern_printer_id: string | null;
106948
+ formaten_bijgewerkt_op: string | null;
105584
106949
  id: string;
105585
106950
  ip_adres: string | null;
105586
106951
  laatst_gezien: string | null;
@@ -105588,6 +106953,8 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
105588
106953
  merk: string;
105589
106954
  naam: string;
105590
106955
  omschrijving: string;
106956
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
106957
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
105591
106958
  online: boolean;
105592
106959
  papierformaat: string;
105593
106960
  poort: number | null;
@@ -105603,6 +106970,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
105603
106970
  created_at?: string;
105604
106971
  driver?: string;
105605
106972
  extern_printer_id?: string | null;
106973
+ formaten_bijgewerkt_op?: string | null;
105606
106974
  id?: string;
105607
106975
  ip_adres?: string | null;
105608
106976
  laatst_gezien?: string | null;
@@ -105610,6 +106978,8 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
105610
106978
  merk?: string;
105611
106979
  naam: string;
105612
106980
  omschrijving?: string;
106981
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
106982
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
105613
106983
  online?: boolean;
105614
106984
  papierformaat?: string;
105615
106985
  poort?: number | null;
@@ -105625,6 +106995,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
105625
106995
  created_at?: string;
105626
106996
  driver?: string;
105627
106997
  extern_printer_id?: string | null;
106998
+ formaten_bijgewerkt_op?: string | null;
105628
106999
  id?: string;
105629
107000
  ip_adres?: string | null;
105630
107001
  laatst_gezien?: string | null;
@@ -105632,6 +107003,8 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
105632
107003
  merk?: string;
105633
107004
  naam?: string;
105634
107005
  omschrijving?: string;
107006
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
107007
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
105635
107008
  online?: boolean;
105636
107009
  papierformaat?: string;
105637
107010
  poort?: number | null;
@@ -110400,6 +111773,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
110400
111773
  werkbon_package_items: {
110401
111774
  Row: {
110402
111775
  article_number: string | null;
111776
+ artikel_id: string | null;
110403
111777
  created_at: string;
110404
111778
  gtin: string | null;
110405
111779
  id: string;
@@ -110417,6 +111791,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
110417
111791
  };
110418
111792
  Insert: {
110419
111793
  article_number?: string | null;
111794
+ artikel_id?: string | null;
110420
111795
  created_at?: string;
110421
111796
  gtin?: string | null;
110422
111797
  id?: string;
@@ -110434,6 +111809,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
110434
111809
  };
110435
111810
  Update: {
110436
111811
  article_number?: string | null;
111812
+ artikel_id?: string | null;
110437
111813
  created_at?: string;
110438
111814
  gtin?: string | null;
110439
111815
  id?: string;
@@ -110450,6 +111826,12 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
110450
111826
  updated_at?: string;
110451
111827
  };
110452
111828
  Relationships: [{
111829
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
111830
+ columns: ["artikel_id"];
111831
+ isOneToOne: false;
111832
+ referencedRelation: "artikelen_cache";
111833
+ referencedColumns: ["id"];
111834
+ }, {
110453
111835
  foreignKeyName: "werkbon_package_items_package_id_fkey";
110454
111836
  columns: ["package_id"];
110455
111837
  isOneToOne: false;
@@ -111672,6 +113054,20 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
111672
113054
  referencedColumns: ["id"];
111673
113055
  }];
111674
113056
  };
113057
+ v_werkbon_totalen: {
113058
+ Row: {
113059
+ packages_cents: number | null;
113060
+ packages_minutes: number | null;
113061
+ werkbon_id: string | null;
113062
+ };
113063
+ Relationships: [{
113064
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
113065
+ columns: ["werkbon_id"];
113066
+ isOneToOne: false;
113067
+ referencedRelation: "werkbonnen";
113068
+ referencedColumns: ["id"];
113069
+ }];
113070
+ };
111675
113071
  };
111676
113072
  Functions: {
111677
113073
  _floriday_schedule_job: {
@@ -113608,6 +115004,25 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
113608
115004
  };
113609
115005
  Returns: string;
113610
115006
  };
115007
+ pakket_suggesties_voor_tekst: {
115008
+ Args: {
115009
+ _tekst: string;
115010
+ };
115011
+ Returns: {
115012
+ hit_type: string;
115013
+ package_id: string;
115014
+ priority: number;
115015
+ }[];
115016
+ };
115017
+ pakket_voor_reistijd: {
115018
+ Args: {
115019
+ _minuten: number;
115020
+ };
115021
+ Returns: {
115022
+ package_id: string;
115023
+ priority: number;
115024
+ }[];
115025
+ };
113611
115026
  pick_active_printers: {
113612
115027
  Args: never;
113613
115028
  Returns: {
@@ -113816,6 +115231,10 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
113816
115231
  omschrijving: string;
113817
115232
  }[];
113818
115233
  };
115234
+ pick_reference_data_status: {
115235
+ Args: never;
115236
+ Returns: import("../integrations/supabase/types").Json;
115237
+ };
113819
115238
  pick_release_expired_locks: {
113820
115239
  Args: never;
113821
115240
  Returns: number;
@@ -113880,6 +115299,10 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
113880
115299
  isSetofReturn: false;
113881
115300
  };
113882
115301
  };
115302
+ pick_seed_reference_data: {
115303
+ Args: never;
115304
+ Returns: import("../integrations/supabase/types").Json;
115305
+ };
113883
115306
  pick_set_station_print_plek: {
113884
115307
  Args: {
113885
115308
  _print_plek_id: string;
@@ -114658,6 +116081,18 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
114658
116081
  Args: never;
114659
116082
  Returns: string;
114660
116083
  };
116084
+ werkbon_totalen: {
116085
+ Args: {
116086
+ _werkbon_id: string;
116087
+ };
116088
+ Returns: {
116089
+ materials_cents: number;
116090
+ packages_cents: number;
116091
+ packages_minutes: number;
116092
+ total_cents: number;
116093
+ total_minutes: number;
116094
+ }[];
116095
+ };
114661
116096
  wo_create_from_source: {
114662
116097
  Args: {
114663
116098
  _payload?: import("../integrations/supabase/types").Json;
@@ -114696,7 +116131,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
114696
116131
  };
114697
116132
  CompositeTypes: { [_ in never]: never; };
114698
116133
  }, {
114699
- PostgrestVersion: "14.5";
116134
+ PostgrestVersion: "14.17";
114700
116135
  }>;
114701
116136
  userId: string;
114702
116137
  claims: import("@supabase/auth-js").User;