@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
@@ -10694,6 +10694,222 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
10694
10694
  };
10695
10695
  Relationships: [];
10696
10696
  };
10697
+ maps_addresses: {
10698
+ Row: {
10699
+ address_hash: string;
10700
+ created_at: string;
10701
+ error_reason: string | null;
10702
+ formatted_address: string | null;
10703
+ id: string;
10704
+ lat: number | null;
10705
+ lng: number | null;
10706
+ place_id: string | null;
10707
+ raw_address: string;
10708
+ resolved_at: string | null;
10709
+ status: string;
10710
+ updated_at: string;
10711
+ };
10712
+ Insert: {
10713
+ address_hash: string;
10714
+ created_at?: string;
10715
+ error_reason?: string | null;
10716
+ formatted_address?: string | null;
10717
+ id?: string;
10718
+ lat?: number | null;
10719
+ lng?: number | null;
10720
+ place_id?: string | null;
10721
+ raw_address: string;
10722
+ resolved_at?: string | null;
10723
+ status?: string;
10724
+ updated_at?: string;
10725
+ };
10726
+ Update: {
10727
+ address_hash?: string;
10728
+ created_at?: string;
10729
+ error_reason?: string | null;
10730
+ formatted_address?: string | null;
10731
+ id?: string;
10732
+ lat?: number | null;
10733
+ lng?: number | null;
10734
+ place_id?: string | null;
10735
+ raw_address?: string;
10736
+ resolved_at?: string | null;
10737
+ status?: string;
10738
+ updated_at?: string;
10739
+ };
10740
+ Relationships: [];
10741
+ };
10742
+ maps_request_queue: {
10743
+ Row: {
10744
+ attempts: number;
10745
+ created_at: string;
10746
+ destination_hash: string | null;
10747
+ id: string;
10748
+ kind: string;
10749
+ last_error: string | null;
10750
+ mode: string;
10751
+ origin_hash: string | null;
10752
+ processed_at: string | null;
10753
+ raw_destination: string | null;
10754
+ raw_origin: string | null;
10755
+ requested_by: string | null;
10756
+ status: string;
10757
+ updated_at: string;
10758
+ };
10759
+ Insert: {
10760
+ attempts?: number;
10761
+ created_at?: string;
10762
+ destination_hash?: string | null;
10763
+ id?: string;
10764
+ kind: string;
10765
+ last_error?: string | null;
10766
+ mode?: string;
10767
+ origin_hash?: string | null;
10768
+ processed_at?: string | null;
10769
+ raw_destination?: string | null;
10770
+ raw_origin?: string | null;
10771
+ requested_by?: string | null;
10772
+ status?: string;
10773
+ updated_at?: string;
10774
+ };
10775
+ Update: {
10776
+ attempts?: number;
10777
+ created_at?: string;
10778
+ destination_hash?: string | null;
10779
+ id?: string;
10780
+ kind?: string;
10781
+ last_error?: string | null;
10782
+ mode?: string;
10783
+ origin_hash?: string | null;
10784
+ processed_at?: string | null;
10785
+ raw_destination?: string | null;
10786
+ raw_origin?: string | null;
10787
+ requested_by?: string | null;
10788
+ status?: string;
10789
+ updated_at?: string;
10790
+ };
10791
+ Relationships: [];
10792
+ };
10793
+ maps_settings: {
10794
+ Row: {
10795
+ allow_estimate_fallback: boolean;
10796
+ cache_ttl_days: number;
10797
+ created_at: string;
10798
+ daily_call_limit: number;
10799
+ id: string;
10800
+ last_error: string | null;
10801
+ last_error_at: string | null;
10802
+ last_success_at: string | null;
10803
+ updated_at: string;
10804
+ };
10805
+ Insert: {
10806
+ allow_estimate_fallback?: boolean;
10807
+ cache_ttl_days?: number;
10808
+ created_at?: string;
10809
+ daily_call_limit?: number;
10810
+ id?: string;
10811
+ last_error?: string | null;
10812
+ last_error_at?: string | null;
10813
+ last_success_at?: string | null;
10814
+ updated_at?: string;
10815
+ };
10816
+ Update: {
10817
+ allow_estimate_fallback?: boolean;
10818
+ cache_ttl_days?: number;
10819
+ created_at?: string;
10820
+ daily_call_limit?: number;
10821
+ id?: string;
10822
+ last_error?: string | null;
10823
+ last_error_at?: string | null;
10824
+ last_success_at?: string | null;
10825
+ updated_at?: string;
10826
+ };
10827
+ Relationships: [];
10828
+ };
10829
+ maps_travel_times: {
10830
+ Row: {
10831
+ created_at: string;
10832
+ destination_id: string;
10833
+ distance_m: number | null;
10834
+ duration_sec: number;
10835
+ expires_at: string;
10836
+ id: string;
10837
+ mode: string;
10838
+ origin_id: string;
10839
+ source: string;
10840
+ updated_at: string;
10841
+ };
10842
+ Insert: {
10843
+ created_at?: string;
10844
+ destination_id: string;
10845
+ distance_m?: number | null;
10846
+ duration_sec: number;
10847
+ expires_at?: string;
10848
+ id?: string;
10849
+ mode?: string;
10850
+ origin_id: string;
10851
+ source?: string;
10852
+ updated_at?: string;
10853
+ };
10854
+ Update: {
10855
+ created_at?: string;
10856
+ destination_id?: string;
10857
+ distance_m?: number | null;
10858
+ duration_sec?: number;
10859
+ expires_at?: string;
10860
+ id?: string;
10861
+ mode?: string;
10862
+ origin_id?: string;
10863
+ source?: string;
10864
+ updated_at?: string;
10865
+ };
10866
+ Relationships: [{
10867
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
10868
+ columns: ["destination_id"];
10869
+ isOneToOne: false;
10870
+ referencedRelation: "maps_addresses";
10871
+ referencedColumns: ["id"];
10872
+ }, {
10873
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
10874
+ columns: ["origin_id"];
10875
+ isOneToOne: false;
10876
+ referencedRelation: "maps_addresses";
10877
+ referencedColumns: ["id"];
10878
+ }];
10879
+ };
10880
+ maps_usage_log: {
10881
+ Row: {
10882
+ cache_hits: number;
10883
+ call_type: string;
10884
+ created_at: string;
10885
+ day: string;
10886
+ detail: string | null;
10887
+ elements: number;
10888
+ id: string;
10889
+ outcome: string;
10890
+ };
10891
+ Insert: {
10892
+ cache_hits?: number;
10893
+ call_type: string;
10894
+ created_at?: string;
10895
+ day?: string;
10896
+ detail?: string | null;
10897
+ elements?: number;
10898
+ id?: string;
10899
+ outcome?: string;
10900
+ };
10901
+ Update: {
10902
+ cache_hits?: number;
10903
+ call_type?: string;
10904
+ created_at?: string;
10905
+ day?: string;
10906
+ detail?: string | null;
10907
+ elements?: number;
10908
+ id?: string;
10909
+ outcome?: string;
10910
+ };
10911
+ Relationships: [];
10912
+ };
10697
10913
  material_usage: {
10698
10914
  Row: {
10699
10915
  created_at: string;
@@ -13804,6 +14020,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13804
14020
  created_at: string;
13805
14021
  driver: string;
13806
14022
  extern_printer_id: string | null;
14023
+ formaten_bijgewerkt_op: string | null;
13807
14024
  id: string;
13808
14025
  ip_adres: string | null;
13809
14026
  laatst_gezien: string | null;
@@ -13811,6 +14028,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13811
14028
  merk: string;
13812
14029
  naam: string;
13813
14030
  omschrijving: string;
14031
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
14032
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
13814
14033
  online: boolean;
13815
14034
  papierformaat: string;
13816
14035
  poort: number | null;
@@ -13826,6 +14045,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13826
14045
  created_at?: string;
13827
14046
  driver?: string;
13828
14047
  extern_printer_id?: string | null;
14048
+ formaten_bijgewerkt_op?: string | null;
13829
14049
  id?: string;
13830
14050
  ip_adres?: string | null;
13831
14051
  laatst_gezien?: string | null;
@@ -13833,6 +14053,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13833
14053
  merk?: string;
13834
14054
  naam: string;
13835
14055
  omschrijving?: string;
14056
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
14057
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
13836
14058
  online?: boolean;
13837
14059
  papierformaat?: string;
13838
14060
  poort?: number | null;
@@ -13848,6 +14070,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13848
14070
  created_at?: string;
13849
14071
  driver?: string;
13850
14072
  extern_printer_id?: string | null;
14073
+ formaten_bijgewerkt_op?: string | null;
13851
14074
  id?: string;
13852
14075
  ip_adres?: string | null;
13853
14076
  laatst_gezien?: string | null;
@@ -13855,6 +14078,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13855
14078
  merk?: string;
13856
14079
  naam?: string;
13857
14080
  omschrijving?: string;
14081
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
14082
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
13858
14083
  online?: boolean;
13859
14084
  papierformaat?: string;
13860
14085
  poort?: number | null;
@@ -18623,6 +18848,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
18623
18848
  werkbon_package_items: {
18624
18849
  Row: {
18625
18850
  article_number: string | null;
18851
+ artikel_id: string | null;
18626
18852
  created_at: string;
18627
18853
  gtin: string | null;
18628
18854
  id: string;
@@ -18640,6 +18866,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
18640
18866
  };
18641
18867
  Insert: {
18642
18868
  article_number?: string | null;
18869
+ artikel_id?: string | null;
18643
18870
  created_at?: string;
18644
18871
  gtin?: string | null;
18645
18872
  id?: string;
@@ -18657,6 +18884,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
18657
18884
  };
18658
18885
  Update: {
18659
18886
  article_number?: string | null;
18887
+ artikel_id?: string | null;
18660
18888
  created_at?: string;
18661
18889
  gtin?: string | null;
18662
18890
  id?: string;
@@ -18673,6 +18901,12 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
18673
18901
  updated_at?: string;
18674
18902
  };
18675
18903
  Relationships: [{
18904
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
18905
+ columns: ["artikel_id"];
18906
+ isOneToOne: false;
18907
+ referencedRelation: "artikelen_cache";
18908
+ referencedColumns: ["id"];
18909
+ }, {
18676
18910
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18677
18911
  columns: ["package_id"];
18678
18912
  isOneToOne: false;
@@ -19895,6 +20129,20 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
19895
20129
  referencedColumns: ["id"];
19896
20130
  }];
19897
20131
  };
20132
+ v_werkbon_totalen: {
20133
+ Row: {
20134
+ packages_cents: number | null;
20135
+ packages_minutes: number | null;
20136
+ werkbon_id: string | null;
20137
+ };
20138
+ Relationships: [{
20139
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20140
+ columns: ["werkbon_id"];
20141
+ isOneToOne: false;
20142
+ referencedRelation: "werkbonnen";
20143
+ referencedColumns: ["id"];
20144
+ }];
20145
+ };
19898
20146
  };
19899
20147
  Functions: {
19900
20148
  _floriday_schedule_job: {
@@ -21831,6 +22079,25 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21831
22079
  };
21832
22080
  Returns: string;
21833
22081
  };
22082
+ pakket_suggesties_voor_tekst: {
22083
+ Args: {
22084
+ _tekst: string;
22085
+ };
22086
+ Returns: {
22087
+ hit_type: string;
22088
+ package_id: string;
22089
+ priority: number;
22090
+ }[];
22091
+ };
22092
+ pakket_voor_reistijd: {
22093
+ Args: {
22094
+ _minuten: number;
22095
+ };
22096
+ Returns: {
22097
+ package_id: string;
22098
+ priority: number;
22099
+ }[];
22100
+ };
21834
22101
  pick_active_printers: {
21835
22102
  Args: never;
21836
22103
  Returns: {
@@ -22039,6 +22306,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22039
22306
  omschrijving: string;
22040
22307
  }[];
22041
22308
  };
22309
+ pick_reference_data_status: {
22310
+ Args: never;
22311
+ Returns: import("../integrations/supabase/types").Json;
22312
+ };
22042
22313
  pick_release_expired_locks: {
22043
22314
  Args: never;
22044
22315
  Returns: number;
@@ -22103,6 +22374,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22103
22374
  isSetofReturn: false;
22104
22375
  };
22105
22376
  };
22377
+ pick_seed_reference_data: {
22378
+ Args: never;
22379
+ Returns: import("../integrations/supabase/types").Json;
22380
+ };
22106
22381
  pick_set_station_print_plek: {
22107
22382
  Args: {
22108
22383
  _print_plek_id: string;
@@ -22881,6 +23156,18 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22881
23156
  Args: never;
22882
23157
  Returns: string;
22883
23158
  };
23159
+ werkbon_totalen: {
23160
+ Args: {
23161
+ _werkbon_id: string;
23162
+ };
23163
+ Returns: {
23164
+ materials_cents: number;
23165
+ packages_cents: number;
23166
+ packages_minutes: number;
23167
+ total_cents: number;
23168
+ total_minutes: number;
23169
+ }[];
23170
+ };
22884
23171
  wo_create_from_source: {
22885
23172
  Args: {
22886
23173
  _payload?: import("../integrations/supabase/types").Json;
@@ -22919,7 +23206,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22919
23206
  };
22920
23207
  CompositeTypes: { [_ in never]: never; };
22921
23208
  }, {
22922
- PostgrestVersion: "14.5";
23209
+ PostgrestVersion: "14.17";
22923
23210
  }>;
22924
23211
  userId: string;
22925
23212
  claims: import("@supabase/auth-js").User;
@@ -33623,6 +33910,222 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
33623
33910
  };
33624
33911
  Relationships: [];
33625
33912
  };
33913
+ maps_addresses: {
33914
+ Row: {
33915
+ address_hash: string;
33916
+ created_at: string;
33917
+ error_reason: string | null;
33918
+ formatted_address: string | null;
33919
+ id: string;
33920
+ lat: number | null;
33921
+ lng: number | null;
33922
+ place_id: string | null;
33923
+ raw_address: string;
33924
+ resolved_at: string | null;
33925
+ status: string;
33926
+ updated_at: string;
33927
+ };
33928
+ Insert: {
33929
+ address_hash: string;
33930
+ created_at?: string;
33931
+ error_reason?: string | null;
33932
+ formatted_address?: string | null;
33933
+ id?: string;
33934
+ lat?: number | null;
33935
+ lng?: number | null;
33936
+ place_id?: string | null;
33937
+ raw_address: string;
33938
+ resolved_at?: string | null;
33939
+ status?: string;
33940
+ updated_at?: string;
33941
+ };
33942
+ Update: {
33943
+ address_hash?: string;
33944
+ created_at?: string;
33945
+ error_reason?: string | null;
33946
+ formatted_address?: string | null;
33947
+ id?: string;
33948
+ lat?: number | null;
33949
+ lng?: number | null;
33950
+ place_id?: string | null;
33951
+ raw_address?: string;
33952
+ resolved_at?: string | null;
33953
+ status?: string;
33954
+ updated_at?: string;
33955
+ };
33956
+ Relationships: [];
33957
+ };
33958
+ maps_request_queue: {
33959
+ Row: {
33960
+ attempts: number;
33961
+ created_at: string;
33962
+ destination_hash: string | null;
33963
+ id: string;
33964
+ kind: string;
33965
+ last_error: string | null;
33966
+ mode: string;
33967
+ origin_hash: string | null;
33968
+ processed_at: string | null;
33969
+ raw_destination: string | null;
33970
+ raw_origin: string | null;
33971
+ requested_by: string | null;
33972
+ status: string;
33973
+ updated_at: string;
33974
+ };
33975
+ Insert: {
33976
+ attempts?: number;
33977
+ created_at?: string;
33978
+ destination_hash?: string | null;
33979
+ id?: string;
33980
+ kind: string;
33981
+ last_error?: string | null;
33982
+ mode?: string;
33983
+ origin_hash?: string | null;
33984
+ processed_at?: string | null;
33985
+ raw_destination?: string | null;
33986
+ raw_origin?: string | null;
33987
+ requested_by?: string | null;
33988
+ status?: string;
33989
+ updated_at?: string;
33990
+ };
33991
+ Update: {
33992
+ attempts?: number;
33993
+ created_at?: string;
33994
+ destination_hash?: string | null;
33995
+ id?: string;
33996
+ kind?: string;
33997
+ last_error?: string | null;
33998
+ mode?: string;
33999
+ origin_hash?: string | null;
34000
+ processed_at?: string | null;
34001
+ raw_destination?: string | null;
34002
+ raw_origin?: string | null;
34003
+ requested_by?: string | null;
34004
+ status?: string;
34005
+ updated_at?: string;
34006
+ };
34007
+ Relationships: [];
34008
+ };
34009
+ maps_settings: {
34010
+ Row: {
34011
+ allow_estimate_fallback: boolean;
34012
+ cache_ttl_days: number;
34013
+ created_at: string;
34014
+ daily_call_limit: number;
34015
+ id: string;
34016
+ last_error: string | null;
34017
+ last_error_at: string | null;
34018
+ last_success_at: string | null;
34019
+ updated_at: string;
34020
+ };
34021
+ Insert: {
34022
+ allow_estimate_fallback?: boolean;
34023
+ cache_ttl_days?: number;
34024
+ created_at?: string;
34025
+ daily_call_limit?: number;
34026
+ id?: string;
34027
+ last_error?: string | null;
34028
+ last_error_at?: string | null;
34029
+ last_success_at?: string | null;
34030
+ updated_at?: string;
34031
+ };
34032
+ Update: {
34033
+ allow_estimate_fallback?: boolean;
34034
+ cache_ttl_days?: number;
34035
+ created_at?: string;
34036
+ daily_call_limit?: number;
34037
+ id?: string;
34038
+ last_error?: string | null;
34039
+ last_error_at?: string | null;
34040
+ last_success_at?: string | null;
34041
+ updated_at?: string;
34042
+ };
34043
+ Relationships: [];
34044
+ };
34045
+ maps_travel_times: {
34046
+ Row: {
34047
+ created_at: string;
34048
+ destination_id: string;
34049
+ distance_m: number | null;
34050
+ duration_sec: number;
34051
+ expires_at: string;
34052
+ id: string;
34053
+ mode: string;
34054
+ origin_id: string;
34055
+ source: string;
34056
+ updated_at: string;
34057
+ };
34058
+ Insert: {
34059
+ created_at?: string;
34060
+ destination_id: string;
34061
+ distance_m?: number | null;
34062
+ duration_sec: number;
34063
+ expires_at?: string;
34064
+ id?: string;
34065
+ mode?: string;
34066
+ origin_id: string;
34067
+ source?: string;
34068
+ updated_at?: string;
34069
+ };
34070
+ Update: {
34071
+ created_at?: string;
34072
+ destination_id?: string;
34073
+ distance_m?: number | null;
34074
+ duration_sec?: number;
34075
+ expires_at?: string;
34076
+ id?: string;
34077
+ mode?: string;
34078
+ origin_id?: string;
34079
+ source?: string;
34080
+ updated_at?: string;
34081
+ };
34082
+ Relationships: [{
34083
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
34084
+ columns: ["destination_id"];
34085
+ isOneToOne: false;
34086
+ referencedRelation: "maps_addresses";
34087
+ referencedColumns: ["id"];
34088
+ }, {
34089
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
34090
+ columns: ["origin_id"];
34091
+ isOneToOne: false;
34092
+ referencedRelation: "maps_addresses";
34093
+ referencedColumns: ["id"];
34094
+ }];
34095
+ };
34096
+ maps_usage_log: {
34097
+ Row: {
34098
+ cache_hits: number;
34099
+ call_type: string;
34100
+ created_at: string;
34101
+ day: string;
34102
+ detail: string | null;
34103
+ elements: number;
34104
+ id: string;
34105
+ outcome: string;
34106
+ };
34107
+ Insert: {
34108
+ cache_hits?: number;
34109
+ call_type: string;
34110
+ created_at?: string;
34111
+ day?: string;
34112
+ detail?: string | null;
34113
+ elements?: number;
34114
+ id?: string;
34115
+ outcome?: string;
34116
+ };
34117
+ Update: {
34118
+ cache_hits?: number;
34119
+ call_type?: string;
34120
+ created_at?: string;
34121
+ day?: string;
34122
+ detail?: string | null;
34123
+ elements?: number;
34124
+ id?: string;
34125
+ outcome?: string;
34126
+ };
34127
+ Relationships: [];
34128
+ };
33626
34129
  material_usage: {
33627
34130
  Row: {
33628
34131
  created_at: string;
@@ -36733,6 +37236,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36733
37236
  created_at: string;
36734
37237
  driver: string;
36735
37238
  extern_printer_id: string | null;
37239
+ formaten_bijgewerkt_op: string | null;
36736
37240
  id: string;
36737
37241
  ip_adres: string | null;
36738
37242
  laatst_gezien: string | null;
@@ -36740,6 +37244,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36740
37244
  merk: string;
36741
37245
  naam: string;
36742
37246
  omschrijving: string;
37247
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
37248
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
36743
37249
  online: boolean;
36744
37250
  papierformaat: string;
36745
37251
  poort: number | null;
@@ -36755,6 +37261,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36755
37261
  created_at?: string;
36756
37262
  driver?: string;
36757
37263
  extern_printer_id?: string | null;
37264
+ formaten_bijgewerkt_op?: string | null;
36758
37265
  id?: string;
36759
37266
  ip_adres?: string | null;
36760
37267
  laatst_gezien?: string | null;
@@ -36762,6 +37269,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36762
37269
  merk?: string;
36763
37270
  naam: string;
36764
37271
  omschrijving?: string;
37272
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
37273
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
36765
37274
  online?: boolean;
36766
37275
  papierformaat?: string;
36767
37276
  poort?: number | null;
@@ -36777,6 +37286,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36777
37286
  created_at?: string;
36778
37287
  driver?: string;
36779
37288
  extern_printer_id?: string | null;
37289
+ formaten_bijgewerkt_op?: string | null;
36780
37290
  id?: string;
36781
37291
  ip_adres?: string | null;
36782
37292
  laatst_gezien?: string | null;
@@ -36784,6 +37294,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36784
37294
  merk?: string;
36785
37295
  naam?: string;
36786
37296
  omschrijving?: string;
37297
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
37298
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
36787
37299
  online?: boolean;
36788
37300
  papierformaat?: string;
36789
37301
  poort?: number | null;
@@ -41552,6 +42064,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
41552
42064
  werkbon_package_items: {
41553
42065
  Row: {
41554
42066
  article_number: string | null;
42067
+ artikel_id: string | null;
41555
42068
  created_at: string;
41556
42069
  gtin: string | null;
41557
42070
  id: string;
@@ -41569,6 +42082,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
41569
42082
  };
41570
42083
  Insert: {
41571
42084
  article_number?: string | null;
42085
+ artikel_id?: string | null;
41572
42086
  created_at?: string;
41573
42087
  gtin?: string | null;
41574
42088
  id?: string;
@@ -41586,6 +42100,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
41586
42100
  };
41587
42101
  Update: {
41588
42102
  article_number?: string | null;
42103
+ artikel_id?: string | null;
41589
42104
  created_at?: string;
41590
42105
  gtin?: string | null;
41591
42106
  id?: string;
@@ -41602,6 +42117,12 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
41602
42117
  updated_at?: string;
41603
42118
  };
41604
42119
  Relationships: [{
42120
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
42121
+ columns: ["artikel_id"];
42122
+ isOneToOne: false;
42123
+ referencedRelation: "artikelen_cache";
42124
+ referencedColumns: ["id"];
42125
+ }, {
41605
42126
  foreignKeyName: "werkbon_package_items_package_id_fkey";
41606
42127
  columns: ["package_id"];
41607
42128
  isOneToOne: false;
@@ -42824,6 +43345,20 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
42824
43345
  referencedColumns: ["id"];
42825
43346
  }];
42826
43347
  };
43348
+ v_werkbon_totalen: {
43349
+ Row: {
43350
+ packages_cents: number | null;
43351
+ packages_minutes: number | null;
43352
+ werkbon_id: string | null;
43353
+ };
43354
+ Relationships: [{
43355
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
43356
+ columns: ["werkbon_id"];
43357
+ isOneToOne: false;
43358
+ referencedRelation: "werkbonnen";
43359
+ referencedColumns: ["id"];
43360
+ }];
43361
+ };
42827
43362
  };
42828
43363
  Functions: {
42829
43364
  _floriday_schedule_job: {
@@ -44760,6 +45295,25 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44760
45295
  };
44761
45296
  Returns: string;
44762
45297
  };
45298
+ pakket_suggesties_voor_tekst: {
45299
+ Args: {
45300
+ _tekst: string;
45301
+ };
45302
+ Returns: {
45303
+ hit_type: string;
45304
+ package_id: string;
45305
+ priority: number;
45306
+ }[];
45307
+ };
45308
+ pakket_voor_reistijd: {
45309
+ Args: {
45310
+ _minuten: number;
45311
+ };
45312
+ Returns: {
45313
+ package_id: string;
45314
+ priority: number;
45315
+ }[];
45316
+ };
44763
45317
  pick_active_printers: {
44764
45318
  Args: never;
44765
45319
  Returns: {
@@ -44968,6 +45522,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44968
45522
  omschrijving: string;
44969
45523
  }[];
44970
45524
  };
45525
+ pick_reference_data_status: {
45526
+ Args: never;
45527
+ Returns: import("../integrations/supabase/types").Json;
45528
+ };
44971
45529
  pick_release_expired_locks: {
44972
45530
  Args: never;
44973
45531
  Returns: number;
@@ -45032,6 +45590,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45032
45590
  isSetofReturn: false;
45033
45591
  };
45034
45592
  };
45593
+ pick_seed_reference_data: {
45594
+ Args: never;
45595
+ Returns: import("../integrations/supabase/types").Json;
45596
+ };
45035
45597
  pick_set_station_print_plek: {
45036
45598
  Args: {
45037
45599
  _print_plek_id: string;
@@ -45810,6 +46372,18 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45810
46372
  Args: never;
45811
46373
  Returns: string;
45812
46374
  };
46375
+ werkbon_totalen: {
46376
+ Args: {
46377
+ _werkbon_id: string;
46378
+ };
46379
+ Returns: {
46380
+ materials_cents: number;
46381
+ packages_cents: number;
46382
+ packages_minutes: number;
46383
+ total_cents: number;
46384
+ total_minutes: number;
46385
+ }[];
46386
+ };
45813
46387
  wo_create_from_source: {
45814
46388
  Args: {
45815
46389
  _payload?: import("../integrations/supabase/types").Json;
@@ -45848,7 +46422,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45848
46422
  };
45849
46423
  CompositeTypes: { [_ in never]: never; };
45850
46424
  }, {
45851
- PostgrestVersion: "14.5";
46425
+ PostgrestVersion: "14.17";
45852
46426
  }>;
45853
46427
  userId: string;
45854
46428
  claims: import("@supabase/auth-js").User;