@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
@@ -10705,6 +10705,222 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
10705
10705
  };
10706
10706
  Relationships: [];
10707
10707
  };
10708
+ maps_addresses: {
10709
+ Row: {
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
+ Insert: {
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
+ Update: {
10738
+ address_hash?: string;
10739
+ created_at?: string;
10740
+ error_reason?: string | null;
10741
+ formatted_address?: string | null;
10742
+ id?: string;
10743
+ lat?: number | null;
10744
+ lng?: number | null;
10745
+ place_id?: string | null;
10746
+ raw_address?: string;
10747
+ resolved_at?: string | null;
10748
+ status?: string;
10749
+ updated_at?: string;
10750
+ };
10751
+ Relationships: [];
10752
+ };
10753
+ maps_request_queue: {
10754
+ Row: {
10755
+ attempts: number;
10756
+ created_at: string;
10757
+ destination_hash: string | null;
10758
+ id: string;
10759
+ kind: string;
10760
+ last_error: string | null;
10761
+ mode: string;
10762
+ origin_hash: string | null;
10763
+ processed_at: string | null;
10764
+ raw_destination: string | null;
10765
+ raw_origin: string | null;
10766
+ requested_by: string | null;
10767
+ status: string;
10768
+ updated_at: string;
10769
+ };
10770
+ Insert: {
10771
+ attempts?: number;
10772
+ created_at?: string;
10773
+ destination_hash?: string | null;
10774
+ id?: string;
10775
+ kind: string;
10776
+ last_error?: string | null;
10777
+ mode?: string;
10778
+ origin_hash?: string | null;
10779
+ processed_at?: string | null;
10780
+ raw_destination?: string | null;
10781
+ raw_origin?: string | null;
10782
+ requested_by?: string | null;
10783
+ status?: string;
10784
+ updated_at?: string;
10785
+ };
10786
+ Update: {
10787
+ attempts?: number;
10788
+ created_at?: string;
10789
+ destination_hash?: string | null;
10790
+ id?: string;
10791
+ kind?: string;
10792
+ last_error?: string | null;
10793
+ mode?: string;
10794
+ origin_hash?: string | null;
10795
+ processed_at?: string | null;
10796
+ raw_destination?: string | null;
10797
+ raw_origin?: string | null;
10798
+ requested_by?: string | null;
10799
+ status?: string;
10800
+ updated_at?: string;
10801
+ };
10802
+ Relationships: [];
10803
+ };
10804
+ maps_settings: {
10805
+ Row: {
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
+ Insert: {
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
+ Update: {
10828
+ allow_estimate_fallback?: boolean;
10829
+ cache_ttl_days?: number;
10830
+ created_at?: string;
10831
+ daily_call_limit?: number;
10832
+ id?: string;
10833
+ last_error?: string | null;
10834
+ last_error_at?: string | null;
10835
+ last_success_at?: string | null;
10836
+ updated_at?: string;
10837
+ };
10838
+ Relationships: [];
10839
+ };
10840
+ maps_travel_times: {
10841
+ Row: {
10842
+ created_at: string;
10843
+ destination_id: string;
10844
+ distance_m: number | null;
10845
+ duration_sec: number;
10846
+ expires_at: string;
10847
+ id: string;
10848
+ mode: string;
10849
+ origin_id: string;
10850
+ source: string;
10851
+ updated_at: string;
10852
+ };
10853
+ Insert: {
10854
+ created_at?: string;
10855
+ destination_id: string;
10856
+ distance_m?: number | null;
10857
+ duration_sec: number;
10858
+ expires_at?: string;
10859
+ id?: string;
10860
+ mode?: string;
10861
+ origin_id: string;
10862
+ source?: string;
10863
+ updated_at?: string;
10864
+ };
10865
+ Update: {
10866
+ created_at?: string;
10867
+ destination_id?: string;
10868
+ distance_m?: number | null;
10869
+ duration_sec?: number;
10870
+ expires_at?: string;
10871
+ id?: string;
10872
+ mode?: string;
10873
+ origin_id?: string;
10874
+ source?: string;
10875
+ updated_at?: string;
10876
+ };
10877
+ Relationships: [{
10878
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
10879
+ columns: ["destination_id"];
10880
+ isOneToOne: false;
10881
+ referencedRelation: "maps_addresses";
10882
+ referencedColumns: ["id"];
10883
+ }, {
10884
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
10885
+ columns: ["origin_id"];
10886
+ isOneToOne: false;
10887
+ referencedRelation: "maps_addresses";
10888
+ referencedColumns: ["id"];
10889
+ }];
10890
+ };
10891
+ maps_usage_log: {
10892
+ Row: {
10893
+ cache_hits: number;
10894
+ call_type: string;
10895
+ created_at: string;
10896
+ day: string;
10897
+ detail: string | null;
10898
+ elements: number;
10899
+ id: string;
10900
+ outcome: string;
10901
+ };
10902
+ Insert: {
10903
+ cache_hits?: number;
10904
+ call_type: string;
10905
+ created_at?: string;
10906
+ day?: string;
10907
+ detail?: string | null;
10908
+ elements?: number;
10909
+ id?: string;
10910
+ outcome?: string;
10911
+ };
10912
+ Update: {
10913
+ cache_hits?: number;
10914
+ call_type?: string;
10915
+ created_at?: string;
10916
+ day?: string;
10917
+ detail?: string | null;
10918
+ elements?: number;
10919
+ id?: string;
10920
+ outcome?: string;
10921
+ };
10922
+ Relationships: [];
10923
+ };
10708
10924
  material_usage: {
10709
10925
  Row: {
10710
10926
  created_at: string;
@@ -13815,6 +14031,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13815
14031
  created_at: string;
13816
14032
  driver: string;
13817
14033
  extern_printer_id: string | null;
14034
+ formaten_bijgewerkt_op: string | null;
13818
14035
  id: string;
13819
14036
  ip_adres: string | null;
13820
14037
  laatst_gezien: string | null;
@@ -13822,6 +14039,8 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13822
14039
  merk: string;
13823
14040
  naam: string;
13824
14041
  omschrijving: string;
14042
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
14043
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
13825
14044
  online: boolean;
13826
14045
  papierformaat: string;
13827
14046
  poort: number | null;
@@ -13837,6 +14056,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13837
14056
  created_at?: string;
13838
14057
  driver?: string;
13839
14058
  extern_printer_id?: string | null;
14059
+ formaten_bijgewerkt_op?: string | null;
13840
14060
  id?: string;
13841
14061
  ip_adres?: string | null;
13842
14062
  laatst_gezien?: string | null;
@@ -13844,6 +14064,8 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13844
14064
  merk?: string;
13845
14065
  naam: string;
13846
14066
  omschrijving?: string;
14067
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
14068
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
13847
14069
  online?: boolean;
13848
14070
  papierformaat?: string;
13849
14071
  poort?: number | null;
@@ -13859,6 +14081,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13859
14081
  created_at?: string;
13860
14082
  driver?: string;
13861
14083
  extern_printer_id?: string | null;
14084
+ formaten_bijgewerkt_op?: string | null;
13862
14085
  id?: string;
13863
14086
  ip_adres?: string | null;
13864
14087
  laatst_gezien?: string | null;
@@ -13866,6 +14089,8 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13866
14089
  merk?: string;
13867
14090
  naam?: string;
13868
14091
  omschrijving?: string;
14092
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
14093
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
13869
14094
  online?: boolean;
13870
14095
  papierformaat?: string;
13871
14096
  poort?: number | null;
@@ -18634,6 +18859,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
18634
18859
  werkbon_package_items: {
18635
18860
  Row: {
18636
18861
  article_number: string | null;
18862
+ artikel_id: string | null;
18637
18863
  created_at: string;
18638
18864
  gtin: string | null;
18639
18865
  id: string;
@@ -18651,6 +18877,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
18651
18877
  };
18652
18878
  Insert: {
18653
18879
  article_number?: string | null;
18880
+ artikel_id?: string | null;
18654
18881
  created_at?: string;
18655
18882
  gtin?: string | null;
18656
18883
  id?: string;
@@ -18668,6 +18895,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
18668
18895
  };
18669
18896
  Update: {
18670
18897
  article_number?: string | null;
18898
+ artikel_id?: string | null;
18671
18899
  created_at?: string;
18672
18900
  gtin?: string | null;
18673
18901
  id?: string;
@@ -18684,6 +18912,12 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
18684
18912
  updated_at?: string;
18685
18913
  };
18686
18914
  Relationships: [{
18915
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
18916
+ columns: ["artikel_id"];
18917
+ isOneToOne: false;
18918
+ referencedRelation: "artikelen_cache";
18919
+ referencedColumns: ["id"];
18920
+ }, {
18687
18921
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18688
18922
  columns: ["package_id"];
18689
18923
  isOneToOne: false;
@@ -19906,6 +20140,20 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
19906
20140
  referencedColumns: ["id"];
19907
20141
  }];
19908
20142
  };
20143
+ v_werkbon_totalen: {
20144
+ Row: {
20145
+ packages_cents: number | null;
20146
+ packages_minutes: number | null;
20147
+ werkbon_id: string | null;
20148
+ };
20149
+ Relationships: [{
20150
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20151
+ columns: ["werkbon_id"];
20152
+ isOneToOne: false;
20153
+ referencedRelation: "werkbonnen";
20154
+ referencedColumns: ["id"];
20155
+ }];
20156
+ };
19909
20157
  };
19910
20158
  Functions: {
19911
20159
  _floriday_schedule_job: {
@@ -21842,6 +22090,25 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
21842
22090
  };
21843
22091
  Returns: string;
21844
22092
  };
22093
+ pakket_suggesties_voor_tekst: {
22094
+ Args: {
22095
+ _tekst: string;
22096
+ };
22097
+ Returns: {
22098
+ hit_type: string;
22099
+ package_id: string;
22100
+ priority: number;
22101
+ }[];
22102
+ };
22103
+ pakket_voor_reistijd: {
22104
+ Args: {
22105
+ _minuten: number;
22106
+ };
22107
+ Returns: {
22108
+ package_id: string;
22109
+ priority: number;
22110
+ }[];
22111
+ };
21845
22112
  pick_active_printers: {
21846
22113
  Args: never;
21847
22114
  Returns: {
@@ -22050,6 +22317,10 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22050
22317
  omschrijving: string;
22051
22318
  }[];
22052
22319
  };
22320
+ pick_reference_data_status: {
22321
+ Args: never;
22322
+ Returns: import("../integrations/supabase/types").Json;
22323
+ };
22053
22324
  pick_release_expired_locks: {
22054
22325
  Args: never;
22055
22326
  Returns: number;
@@ -22114,6 +22385,10 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22114
22385
  isSetofReturn: false;
22115
22386
  };
22116
22387
  };
22388
+ pick_seed_reference_data: {
22389
+ Args: never;
22390
+ Returns: import("../integrations/supabase/types").Json;
22391
+ };
22117
22392
  pick_set_station_print_plek: {
22118
22393
  Args: {
22119
22394
  _print_plek_id: string;
@@ -22892,6 +23167,18 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22892
23167
  Args: never;
22893
23168
  Returns: string;
22894
23169
  };
23170
+ werkbon_totalen: {
23171
+ Args: {
23172
+ _werkbon_id: string;
23173
+ };
23174
+ Returns: {
23175
+ materials_cents: number;
23176
+ packages_cents: number;
23177
+ packages_minutes: number;
23178
+ total_cents: number;
23179
+ total_minutes: number;
23180
+ }[];
23181
+ };
22895
23182
  wo_create_from_source: {
22896
23183
  Args: {
22897
23184
  _payload?: import("../integrations/supabase/types").Json;
@@ -22930,7 +23217,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22930
23217
  };
22931
23218
  CompositeTypes: { [_ in never]: never; };
22932
23219
  }, {
22933
- PostgrestVersion: "14.5";
23220
+ PostgrestVersion: "14.17";
22934
23221
  }>;
22935
23222
  userId: string;
22936
23223
  claims: import("@supabase/auth-js").User;
@@ -33627,6 +33914,222 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
33627
33914
  };
33628
33915
  Relationships: [];
33629
33916
  };
33917
+ maps_addresses: {
33918
+ Row: {
33919
+ address_hash: string;
33920
+ created_at: string;
33921
+ error_reason: string | null;
33922
+ formatted_address: string | null;
33923
+ id: string;
33924
+ lat: number | null;
33925
+ lng: number | null;
33926
+ place_id: string | null;
33927
+ raw_address: string;
33928
+ resolved_at: string | null;
33929
+ status: string;
33930
+ updated_at: string;
33931
+ };
33932
+ Insert: {
33933
+ address_hash: string;
33934
+ created_at?: string;
33935
+ error_reason?: string | null;
33936
+ formatted_address?: string | null;
33937
+ id?: string;
33938
+ lat?: number | null;
33939
+ lng?: number | null;
33940
+ place_id?: string | null;
33941
+ raw_address: string;
33942
+ resolved_at?: string | null;
33943
+ status?: string;
33944
+ updated_at?: string;
33945
+ };
33946
+ Update: {
33947
+ address_hash?: string;
33948
+ created_at?: string;
33949
+ error_reason?: string | null;
33950
+ formatted_address?: string | null;
33951
+ id?: string;
33952
+ lat?: number | null;
33953
+ lng?: number | null;
33954
+ place_id?: string | null;
33955
+ raw_address?: string;
33956
+ resolved_at?: string | null;
33957
+ status?: string;
33958
+ updated_at?: string;
33959
+ };
33960
+ Relationships: [];
33961
+ };
33962
+ maps_request_queue: {
33963
+ Row: {
33964
+ attempts: number;
33965
+ created_at: string;
33966
+ destination_hash: string | null;
33967
+ id: string;
33968
+ kind: string;
33969
+ last_error: string | null;
33970
+ mode: string;
33971
+ origin_hash: string | null;
33972
+ processed_at: string | null;
33973
+ raw_destination: string | null;
33974
+ raw_origin: string | null;
33975
+ requested_by: string | null;
33976
+ status: string;
33977
+ updated_at: string;
33978
+ };
33979
+ Insert: {
33980
+ attempts?: number;
33981
+ created_at?: string;
33982
+ destination_hash?: string | null;
33983
+ id?: string;
33984
+ kind: string;
33985
+ last_error?: string | null;
33986
+ mode?: string;
33987
+ origin_hash?: string | null;
33988
+ processed_at?: string | null;
33989
+ raw_destination?: string | null;
33990
+ raw_origin?: string | null;
33991
+ requested_by?: string | null;
33992
+ status?: string;
33993
+ updated_at?: string;
33994
+ };
33995
+ Update: {
33996
+ attempts?: number;
33997
+ created_at?: string;
33998
+ destination_hash?: string | null;
33999
+ id?: string;
34000
+ kind?: string;
34001
+ last_error?: string | null;
34002
+ mode?: string;
34003
+ origin_hash?: string | null;
34004
+ processed_at?: string | null;
34005
+ raw_destination?: string | null;
34006
+ raw_origin?: string | null;
34007
+ requested_by?: string | null;
34008
+ status?: string;
34009
+ updated_at?: string;
34010
+ };
34011
+ Relationships: [];
34012
+ };
34013
+ maps_settings: {
34014
+ Row: {
34015
+ allow_estimate_fallback: boolean;
34016
+ cache_ttl_days: number;
34017
+ created_at: string;
34018
+ daily_call_limit: number;
34019
+ id: string;
34020
+ last_error: string | null;
34021
+ last_error_at: string | null;
34022
+ last_success_at: string | null;
34023
+ updated_at: string;
34024
+ };
34025
+ Insert: {
34026
+ allow_estimate_fallback?: boolean;
34027
+ cache_ttl_days?: number;
34028
+ created_at?: string;
34029
+ daily_call_limit?: number;
34030
+ id?: string;
34031
+ last_error?: string | null;
34032
+ last_error_at?: string | null;
34033
+ last_success_at?: string | null;
34034
+ updated_at?: string;
34035
+ };
34036
+ Update: {
34037
+ allow_estimate_fallback?: boolean;
34038
+ cache_ttl_days?: number;
34039
+ created_at?: string;
34040
+ daily_call_limit?: number;
34041
+ id?: string;
34042
+ last_error?: string | null;
34043
+ last_error_at?: string | null;
34044
+ last_success_at?: string | null;
34045
+ updated_at?: string;
34046
+ };
34047
+ Relationships: [];
34048
+ };
34049
+ maps_travel_times: {
34050
+ Row: {
34051
+ created_at: string;
34052
+ destination_id: string;
34053
+ distance_m: number | null;
34054
+ duration_sec: number;
34055
+ expires_at: string;
34056
+ id: string;
34057
+ mode: string;
34058
+ origin_id: string;
34059
+ source: string;
34060
+ updated_at: string;
34061
+ };
34062
+ Insert: {
34063
+ created_at?: string;
34064
+ destination_id: string;
34065
+ distance_m?: number | null;
34066
+ duration_sec: number;
34067
+ expires_at?: string;
34068
+ id?: string;
34069
+ mode?: string;
34070
+ origin_id: string;
34071
+ source?: string;
34072
+ updated_at?: string;
34073
+ };
34074
+ Update: {
34075
+ created_at?: string;
34076
+ destination_id?: string;
34077
+ distance_m?: number | null;
34078
+ duration_sec?: number;
34079
+ expires_at?: string;
34080
+ id?: string;
34081
+ mode?: string;
34082
+ origin_id?: string;
34083
+ source?: string;
34084
+ updated_at?: string;
34085
+ };
34086
+ Relationships: [{
34087
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
34088
+ columns: ["destination_id"];
34089
+ isOneToOne: false;
34090
+ referencedRelation: "maps_addresses";
34091
+ referencedColumns: ["id"];
34092
+ }, {
34093
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
34094
+ columns: ["origin_id"];
34095
+ isOneToOne: false;
34096
+ referencedRelation: "maps_addresses";
34097
+ referencedColumns: ["id"];
34098
+ }];
34099
+ };
34100
+ maps_usage_log: {
34101
+ Row: {
34102
+ cache_hits: number;
34103
+ call_type: string;
34104
+ created_at: string;
34105
+ day: string;
34106
+ detail: string | null;
34107
+ elements: number;
34108
+ id: string;
34109
+ outcome: string;
34110
+ };
34111
+ Insert: {
34112
+ cache_hits?: number;
34113
+ call_type: string;
34114
+ created_at?: string;
34115
+ day?: string;
34116
+ detail?: string | null;
34117
+ elements?: number;
34118
+ id?: string;
34119
+ outcome?: string;
34120
+ };
34121
+ Update: {
34122
+ cache_hits?: number;
34123
+ call_type?: string;
34124
+ created_at?: string;
34125
+ day?: string;
34126
+ detail?: string | null;
34127
+ elements?: number;
34128
+ id?: string;
34129
+ outcome?: string;
34130
+ };
34131
+ Relationships: [];
34132
+ };
33630
34133
  material_usage: {
33631
34134
  Row: {
33632
34135
  created_at: string;
@@ -36737,6 +37240,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36737
37240
  created_at: string;
36738
37241
  driver: string;
36739
37242
  extern_printer_id: string | null;
37243
+ formaten_bijgewerkt_op: string | null;
36740
37244
  id: string;
36741
37245
  ip_adres: string | null;
36742
37246
  laatst_gezien: string | null;
@@ -36744,6 +37248,8 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36744
37248
  merk: string;
36745
37249
  naam: string;
36746
37250
  omschrijving: string;
37251
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
37252
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
36747
37253
  online: boolean;
36748
37254
  papierformaat: string;
36749
37255
  poort: number | null;
@@ -36759,6 +37265,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36759
37265
  created_at?: string;
36760
37266
  driver?: string;
36761
37267
  extern_printer_id?: string | null;
37268
+ formaten_bijgewerkt_op?: string | null;
36762
37269
  id?: string;
36763
37270
  ip_adres?: string | null;
36764
37271
  laatst_gezien?: string | null;
@@ -36766,6 +37273,8 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36766
37273
  merk?: string;
36767
37274
  naam: string;
36768
37275
  omschrijving?: string;
37276
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
37277
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
36769
37278
  online?: boolean;
36770
37279
  papierformaat?: string;
36771
37280
  poort?: number | null;
@@ -36781,6 +37290,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36781
37290
  created_at?: string;
36782
37291
  driver?: string;
36783
37292
  extern_printer_id?: string | null;
37293
+ formaten_bijgewerkt_op?: string | null;
36784
37294
  id?: string;
36785
37295
  ip_adres?: string | null;
36786
37296
  laatst_gezien?: string | null;
@@ -36788,6 +37298,8 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36788
37298
  merk?: string;
36789
37299
  naam?: string;
36790
37300
  omschrijving?: string;
37301
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
37302
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
36791
37303
  online?: boolean;
36792
37304
  papierformaat?: string;
36793
37305
  poort?: number | null;
@@ -41556,6 +42068,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
41556
42068
  werkbon_package_items: {
41557
42069
  Row: {
41558
42070
  article_number: string | null;
42071
+ artikel_id: string | null;
41559
42072
  created_at: string;
41560
42073
  gtin: string | null;
41561
42074
  id: string;
@@ -41573,6 +42086,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
41573
42086
  };
41574
42087
  Insert: {
41575
42088
  article_number?: string | null;
42089
+ artikel_id?: string | null;
41576
42090
  created_at?: string;
41577
42091
  gtin?: string | null;
41578
42092
  id?: string;
@@ -41590,6 +42104,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
41590
42104
  };
41591
42105
  Update: {
41592
42106
  article_number?: string | null;
42107
+ artikel_id?: string | null;
41593
42108
  created_at?: string;
41594
42109
  gtin?: string | null;
41595
42110
  id?: string;
@@ -41606,6 +42121,12 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
41606
42121
  updated_at?: string;
41607
42122
  };
41608
42123
  Relationships: [{
42124
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
42125
+ columns: ["artikel_id"];
42126
+ isOneToOne: false;
42127
+ referencedRelation: "artikelen_cache";
42128
+ referencedColumns: ["id"];
42129
+ }, {
41609
42130
  foreignKeyName: "werkbon_package_items_package_id_fkey";
41610
42131
  columns: ["package_id"];
41611
42132
  isOneToOne: false;
@@ -42828,6 +43349,20 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
42828
43349
  referencedColumns: ["id"];
42829
43350
  }];
42830
43351
  };
43352
+ v_werkbon_totalen: {
43353
+ Row: {
43354
+ packages_cents: number | null;
43355
+ packages_minutes: number | null;
43356
+ werkbon_id: string | null;
43357
+ };
43358
+ Relationships: [{
43359
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
43360
+ columns: ["werkbon_id"];
43361
+ isOneToOne: false;
43362
+ referencedRelation: "werkbonnen";
43363
+ referencedColumns: ["id"];
43364
+ }];
43365
+ };
42831
43366
  };
42832
43367
  Functions: {
42833
43368
  _floriday_schedule_job: {
@@ -44764,6 +45299,25 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44764
45299
  };
44765
45300
  Returns: string;
44766
45301
  };
45302
+ pakket_suggesties_voor_tekst: {
45303
+ Args: {
45304
+ _tekst: string;
45305
+ };
45306
+ Returns: {
45307
+ hit_type: string;
45308
+ package_id: string;
45309
+ priority: number;
45310
+ }[];
45311
+ };
45312
+ pakket_voor_reistijd: {
45313
+ Args: {
45314
+ _minuten: number;
45315
+ };
45316
+ Returns: {
45317
+ package_id: string;
45318
+ priority: number;
45319
+ }[];
45320
+ };
44767
45321
  pick_active_printers: {
44768
45322
  Args: never;
44769
45323
  Returns: {
@@ -44972,6 +45526,10 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44972
45526
  omschrijving: string;
44973
45527
  }[];
44974
45528
  };
45529
+ pick_reference_data_status: {
45530
+ Args: never;
45531
+ Returns: import("../integrations/supabase/types").Json;
45532
+ };
44975
45533
  pick_release_expired_locks: {
44976
45534
  Args: never;
44977
45535
  Returns: number;
@@ -45036,6 +45594,10 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45036
45594
  isSetofReturn: false;
45037
45595
  };
45038
45596
  };
45597
+ pick_seed_reference_data: {
45598
+ Args: never;
45599
+ Returns: import("../integrations/supabase/types").Json;
45600
+ };
45039
45601
  pick_set_station_print_plek: {
45040
45602
  Args: {
45041
45603
  _print_plek_id: string;
@@ -45814,6 +46376,18 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45814
46376
  Args: never;
45815
46377
  Returns: string;
45816
46378
  };
46379
+ werkbon_totalen: {
46380
+ Args: {
46381
+ _werkbon_id: string;
46382
+ };
46383
+ Returns: {
46384
+ materials_cents: number;
46385
+ packages_cents: number;
46386
+ packages_minutes: number;
46387
+ total_cents: number;
46388
+ total_minutes: number;
46389
+ }[];
46390
+ };
45817
46391
  wo_create_from_source: {
45818
46392
  Args: {
45819
46393
  _payload?: import("../integrations/supabase/types").Json;
@@ -45852,7 +46426,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45852
46426
  };
45853
46427
  CompositeTypes: { [_ in never]: never; };
45854
46428
  }, {
45855
- PostgrestVersion: "14.5";
46429
+ PostgrestVersion: "14.17";
45856
46430
  }>;
45857
46431
  userId: string;
45858
46432
  claims: import("@supabase/auth-js").User;