@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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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;
@@ -33620,6 +33907,222 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
33620
33907
  };
33621
33908
  Relationships: [];
33622
33909
  };
33910
+ maps_addresses: {
33911
+ Row: {
33912
+ address_hash: string;
33913
+ created_at: string;
33914
+ error_reason: string | null;
33915
+ formatted_address: string | null;
33916
+ id: string;
33917
+ lat: number | null;
33918
+ lng: number | null;
33919
+ place_id: string | null;
33920
+ raw_address: string;
33921
+ resolved_at: string | null;
33922
+ status: string;
33923
+ updated_at: string;
33924
+ };
33925
+ Insert: {
33926
+ address_hash: string;
33927
+ created_at?: string;
33928
+ error_reason?: string | null;
33929
+ formatted_address?: string | null;
33930
+ id?: string;
33931
+ lat?: number | null;
33932
+ lng?: number | null;
33933
+ place_id?: string | null;
33934
+ raw_address: string;
33935
+ resolved_at?: string | null;
33936
+ status?: string;
33937
+ updated_at?: string;
33938
+ };
33939
+ Update: {
33940
+ address_hash?: string;
33941
+ created_at?: string;
33942
+ error_reason?: string | null;
33943
+ formatted_address?: string | null;
33944
+ id?: string;
33945
+ lat?: number | null;
33946
+ lng?: number | null;
33947
+ place_id?: string | null;
33948
+ raw_address?: string;
33949
+ resolved_at?: string | null;
33950
+ status?: string;
33951
+ updated_at?: string;
33952
+ };
33953
+ Relationships: [];
33954
+ };
33955
+ maps_request_queue: {
33956
+ Row: {
33957
+ attempts: number;
33958
+ created_at: string;
33959
+ destination_hash: string | null;
33960
+ id: string;
33961
+ kind: string;
33962
+ last_error: string | null;
33963
+ mode: string;
33964
+ origin_hash: string | null;
33965
+ processed_at: string | null;
33966
+ raw_destination: string | null;
33967
+ raw_origin: string | null;
33968
+ requested_by: string | null;
33969
+ status: string;
33970
+ updated_at: string;
33971
+ };
33972
+ Insert: {
33973
+ attempts?: number;
33974
+ created_at?: string;
33975
+ destination_hash?: string | null;
33976
+ id?: string;
33977
+ kind: string;
33978
+ last_error?: string | null;
33979
+ mode?: string;
33980
+ origin_hash?: string | null;
33981
+ processed_at?: string | null;
33982
+ raw_destination?: string | null;
33983
+ raw_origin?: string | null;
33984
+ requested_by?: string | null;
33985
+ status?: string;
33986
+ updated_at?: string;
33987
+ };
33988
+ Update: {
33989
+ attempts?: number;
33990
+ created_at?: string;
33991
+ destination_hash?: string | null;
33992
+ id?: string;
33993
+ kind?: string;
33994
+ last_error?: string | null;
33995
+ mode?: string;
33996
+ origin_hash?: string | null;
33997
+ processed_at?: string | null;
33998
+ raw_destination?: string | null;
33999
+ raw_origin?: string | null;
34000
+ requested_by?: string | null;
34001
+ status?: string;
34002
+ updated_at?: string;
34003
+ };
34004
+ Relationships: [];
34005
+ };
34006
+ maps_settings: {
34007
+ Row: {
34008
+ allow_estimate_fallback: boolean;
34009
+ cache_ttl_days: number;
34010
+ created_at: string;
34011
+ daily_call_limit: number;
34012
+ id: string;
34013
+ last_error: string | null;
34014
+ last_error_at: string | null;
34015
+ last_success_at: string | null;
34016
+ updated_at: string;
34017
+ };
34018
+ Insert: {
34019
+ allow_estimate_fallback?: boolean;
34020
+ cache_ttl_days?: number;
34021
+ created_at?: string;
34022
+ daily_call_limit?: number;
34023
+ id?: string;
34024
+ last_error?: string | null;
34025
+ last_error_at?: string | null;
34026
+ last_success_at?: string | null;
34027
+ updated_at?: string;
34028
+ };
34029
+ Update: {
34030
+ allow_estimate_fallback?: boolean;
34031
+ cache_ttl_days?: number;
34032
+ created_at?: string;
34033
+ daily_call_limit?: number;
34034
+ id?: string;
34035
+ last_error?: string | null;
34036
+ last_error_at?: string | null;
34037
+ last_success_at?: string | null;
34038
+ updated_at?: string;
34039
+ };
34040
+ Relationships: [];
34041
+ };
34042
+ maps_travel_times: {
34043
+ Row: {
34044
+ created_at: string;
34045
+ destination_id: string;
34046
+ distance_m: number | null;
34047
+ duration_sec: number;
34048
+ expires_at: string;
34049
+ id: string;
34050
+ mode: string;
34051
+ origin_id: string;
34052
+ source: string;
34053
+ updated_at: string;
34054
+ };
34055
+ Insert: {
34056
+ created_at?: string;
34057
+ destination_id: string;
34058
+ distance_m?: number | null;
34059
+ duration_sec: number;
34060
+ expires_at?: string;
34061
+ id?: string;
34062
+ mode?: string;
34063
+ origin_id: string;
34064
+ source?: string;
34065
+ updated_at?: string;
34066
+ };
34067
+ Update: {
34068
+ created_at?: string;
34069
+ destination_id?: string;
34070
+ distance_m?: number | null;
34071
+ duration_sec?: number;
34072
+ expires_at?: string;
34073
+ id?: string;
34074
+ mode?: string;
34075
+ origin_id?: string;
34076
+ source?: string;
34077
+ updated_at?: string;
34078
+ };
34079
+ Relationships: [{
34080
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
34081
+ columns: ["destination_id"];
34082
+ isOneToOne: false;
34083
+ referencedRelation: "maps_addresses";
34084
+ referencedColumns: ["id"];
34085
+ }, {
34086
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
34087
+ columns: ["origin_id"];
34088
+ isOneToOne: false;
34089
+ referencedRelation: "maps_addresses";
34090
+ referencedColumns: ["id"];
34091
+ }];
34092
+ };
34093
+ maps_usage_log: {
34094
+ Row: {
34095
+ cache_hits: number;
34096
+ call_type: string;
34097
+ created_at: string;
34098
+ day: string;
34099
+ detail: string | null;
34100
+ elements: number;
34101
+ id: string;
34102
+ outcome: string;
34103
+ };
34104
+ Insert: {
34105
+ cache_hits?: number;
34106
+ call_type: string;
34107
+ created_at?: string;
34108
+ day?: string;
34109
+ detail?: string | null;
34110
+ elements?: number;
34111
+ id?: string;
34112
+ outcome?: string;
34113
+ };
34114
+ Update: {
34115
+ cache_hits?: number;
34116
+ call_type?: string;
34117
+ created_at?: string;
34118
+ day?: string;
34119
+ detail?: string | null;
34120
+ elements?: number;
34121
+ id?: string;
34122
+ outcome?: string;
34123
+ };
34124
+ Relationships: [];
34125
+ };
33623
34126
  material_usage: {
33624
34127
  Row: {
33625
34128
  created_at: string;
@@ -36730,6 +37233,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36730
37233
  created_at: string;
36731
37234
  driver: string;
36732
37235
  extern_printer_id: string | null;
37236
+ formaten_bijgewerkt_op: string | null;
36733
37237
  id: string;
36734
37238
  ip_adres: string | null;
36735
37239
  laatst_gezien: string | null;
@@ -36737,6 +37241,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36737
37241
  merk: string;
36738
37242
  naam: string;
36739
37243
  omschrijving: string;
37244
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
37245
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
36740
37246
  online: boolean;
36741
37247
  papierformaat: string;
36742
37248
  poort: number | null;
@@ -36752,6 +37258,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36752
37258
  created_at?: string;
36753
37259
  driver?: string;
36754
37260
  extern_printer_id?: string | null;
37261
+ formaten_bijgewerkt_op?: string | null;
36755
37262
  id?: string;
36756
37263
  ip_adres?: string | null;
36757
37264
  laatst_gezien?: string | null;
@@ -36759,6 +37266,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36759
37266
  merk?: string;
36760
37267
  naam: string;
36761
37268
  omschrijving?: string;
37269
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
37270
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
36762
37271
  online?: boolean;
36763
37272
  papierformaat?: string;
36764
37273
  poort?: number | null;
@@ -36774,6 +37283,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36774
37283
  created_at?: string;
36775
37284
  driver?: string;
36776
37285
  extern_printer_id?: string | null;
37286
+ formaten_bijgewerkt_op?: string | null;
36777
37287
  id?: string;
36778
37288
  ip_adres?: string | null;
36779
37289
  laatst_gezien?: string | null;
@@ -36781,6 +37291,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36781
37291
  merk?: string;
36782
37292
  naam?: string;
36783
37293
  omschrijving?: string;
37294
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
37295
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
36784
37296
  online?: boolean;
36785
37297
  papierformaat?: string;
36786
37298
  poort?: number | null;
@@ -41549,6 +42061,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
41549
42061
  werkbon_package_items: {
41550
42062
  Row: {
41551
42063
  article_number: string | null;
42064
+ artikel_id: string | null;
41552
42065
  created_at: string;
41553
42066
  gtin: string | null;
41554
42067
  id: string;
@@ -41566,6 +42079,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
41566
42079
  };
41567
42080
  Insert: {
41568
42081
  article_number?: string | null;
42082
+ artikel_id?: string | null;
41569
42083
  created_at?: string;
41570
42084
  gtin?: string | null;
41571
42085
  id?: string;
@@ -41583,6 +42097,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
41583
42097
  };
41584
42098
  Update: {
41585
42099
  article_number?: string | null;
42100
+ artikel_id?: string | null;
41586
42101
  created_at?: string;
41587
42102
  gtin?: string | null;
41588
42103
  id?: string;
@@ -41599,6 +42114,12 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
41599
42114
  updated_at?: string;
41600
42115
  };
41601
42116
  Relationships: [{
42117
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
42118
+ columns: ["artikel_id"];
42119
+ isOneToOne: false;
42120
+ referencedRelation: "artikelen_cache";
42121
+ referencedColumns: ["id"];
42122
+ }, {
41602
42123
  foreignKeyName: "werkbon_package_items_package_id_fkey";
41603
42124
  columns: ["package_id"];
41604
42125
  isOneToOne: false;
@@ -42821,6 +43342,20 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
42821
43342
  referencedColumns: ["id"];
42822
43343
  }];
42823
43344
  };
43345
+ v_werkbon_totalen: {
43346
+ Row: {
43347
+ packages_cents: number | null;
43348
+ packages_minutes: number | null;
43349
+ werkbon_id: string | null;
43350
+ };
43351
+ Relationships: [{
43352
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
43353
+ columns: ["werkbon_id"];
43354
+ isOneToOne: false;
43355
+ referencedRelation: "werkbonnen";
43356
+ referencedColumns: ["id"];
43357
+ }];
43358
+ };
42824
43359
  };
42825
43360
  Functions: {
42826
43361
  _floriday_schedule_job: {
@@ -44757,6 +45292,25 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
44757
45292
  };
44758
45293
  Returns: string;
44759
45294
  };
45295
+ pakket_suggesties_voor_tekst: {
45296
+ Args: {
45297
+ _tekst: string;
45298
+ };
45299
+ Returns: {
45300
+ hit_type: string;
45301
+ package_id: string;
45302
+ priority: number;
45303
+ }[];
45304
+ };
45305
+ pakket_voor_reistijd: {
45306
+ Args: {
45307
+ _minuten: number;
45308
+ };
45309
+ Returns: {
45310
+ package_id: string;
45311
+ priority: number;
45312
+ }[];
45313
+ };
44760
45314
  pick_active_printers: {
44761
45315
  Args: never;
44762
45316
  Returns: {
@@ -44965,6 +45519,10 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
44965
45519
  omschrijving: string;
44966
45520
  }[];
44967
45521
  };
45522
+ pick_reference_data_status: {
45523
+ Args: never;
45524
+ Returns: import("../integrations/supabase/types").Json;
45525
+ };
44968
45526
  pick_release_expired_locks: {
44969
45527
  Args: never;
44970
45528
  Returns: number;
@@ -45029,6 +45587,10 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
45029
45587
  isSetofReturn: false;
45030
45588
  };
45031
45589
  };
45590
+ pick_seed_reference_data: {
45591
+ Args: never;
45592
+ Returns: import("../integrations/supabase/types").Json;
45593
+ };
45032
45594
  pick_set_station_print_plek: {
45033
45595
  Args: {
45034
45596
  _print_plek_id: string;
@@ -45807,6 +46369,18 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
45807
46369
  Args: never;
45808
46370
  Returns: string;
45809
46371
  };
46372
+ werkbon_totalen: {
46373
+ Args: {
46374
+ _werkbon_id: string;
46375
+ };
46376
+ Returns: {
46377
+ materials_cents: number;
46378
+ packages_cents: number;
46379
+ packages_minutes: number;
46380
+ total_cents: number;
46381
+ total_minutes: number;
46382
+ }[];
46383
+ };
45810
46384
  wo_create_from_source: {
45811
46385
  Args: {
45812
46386
  _payload?: import("../integrations/supabase/types").Json;
@@ -45845,7 +46419,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
45845
46419
  };
45846
46420
  CompositeTypes: { [_ in never]: never; };
45847
46421
  }, {
45848
- PostgrestVersion: "14.5";
46422
+ PostgrestVersion: "14.17";
45849
46423
  }>;
45850
46424
  userId: string;
45851
46425
  claims: import("@supabase/auth-js").User;