@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
@@ -1,3 +1,10 @@
1
+ export interface BlockedItem {
2
+ order_item_id: string;
3
+ order_id: string | null;
4
+ product_name: string;
5
+ reason: "geen_belading" | "onvolledige_belading";
6
+ missing: string[];
7
+ }
1
8
  export declare function replanBufferInternal(bufferId: string): Promise<{
2
9
  ok: boolean;
3
10
  bufferId: string | null;
@@ -6,6 +13,7 @@ export declare function replanBufferInternal(bufferId: string): Promise<{
6
13
  replacedManualCount: number;
7
14
  usedFloridayPacking: boolean;
8
15
  warnings: string[];
16
+ blockedItems: BlockedItem[];
9
17
  skipped?: "locked";
10
18
  }>;
11
19
  /**
@@ -23,6 +31,7 @@ export declare function replanScopeInternal(scope: {
23
31
  replacedManualCount: number;
24
32
  usedFloridayPacking: boolean;
25
33
  warnings: string[];
34
+ blockedItems: BlockedItem[];
26
35
  skipped?: "locked";
27
36
  }>;
28
37
  export declare function replanOrderCartsFromCron(orderId: string): Promise<{
@@ -32,6 +41,7 @@ export declare function replanOrderCartsFromCron(orderId: string): Promise<{
32
41
  replacedManualCount: number;
33
42
  usedFloridayPacking: boolean;
34
43
  warnings: string[];
44
+ blockedItems: BlockedItem[];
35
45
  skipped?: "locked";
36
46
  }>;
37
47
  export declare const replanOrderCarts: import("@tanstack/start-client-core").OptionalFetcher<readonly [import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
@@ -10726,6 +10736,222 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
10726
10736
  };
10727
10737
  Relationships: [];
10728
10738
  };
10739
+ maps_addresses: {
10740
+ Row: {
10741
+ address_hash: string;
10742
+ created_at: string;
10743
+ error_reason: string | null;
10744
+ formatted_address: string | null;
10745
+ id: string;
10746
+ lat: number | null;
10747
+ lng: number | null;
10748
+ place_id: string | null;
10749
+ raw_address: string;
10750
+ resolved_at: string | null;
10751
+ status: string;
10752
+ updated_at: string;
10753
+ };
10754
+ Insert: {
10755
+ address_hash: string;
10756
+ created_at?: string;
10757
+ error_reason?: string | null;
10758
+ formatted_address?: string | null;
10759
+ id?: string;
10760
+ lat?: number | null;
10761
+ lng?: number | null;
10762
+ place_id?: string | null;
10763
+ raw_address: string;
10764
+ resolved_at?: string | null;
10765
+ status?: string;
10766
+ updated_at?: string;
10767
+ };
10768
+ Update: {
10769
+ address_hash?: string;
10770
+ created_at?: string;
10771
+ error_reason?: string | null;
10772
+ formatted_address?: string | null;
10773
+ id?: string;
10774
+ lat?: number | null;
10775
+ lng?: number | null;
10776
+ place_id?: string | null;
10777
+ raw_address?: string;
10778
+ resolved_at?: string | null;
10779
+ status?: string;
10780
+ updated_at?: string;
10781
+ };
10782
+ Relationships: [];
10783
+ };
10784
+ maps_request_queue: {
10785
+ Row: {
10786
+ attempts: number;
10787
+ created_at: string;
10788
+ destination_hash: string | null;
10789
+ id: string;
10790
+ kind: string;
10791
+ last_error: string | null;
10792
+ mode: string;
10793
+ origin_hash: string | null;
10794
+ processed_at: string | null;
10795
+ raw_destination: string | null;
10796
+ raw_origin: string | null;
10797
+ requested_by: string | null;
10798
+ status: string;
10799
+ updated_at: string;
10800
+ };
10801
+ Insert: {
10802
+ attempts?: number;
10803
+ created_at?: string;
10804
+ destination_hash?: string | null;
10805
+ id?: string;
10806
+ kind: string;
10807
+ last_error?: string | null;
10808
+ mode?: string;
10809
+ origin_hash?: string | null;
10810
+ processed_at?: string | null;
10811
+ raw_destination?: string | null;
10812
+ raw_origin?: string | null;
10813
+ requested_by?: string | null;
10814
+ status?: string;
10815
+ updated_at?: string;
10816
+ };
10817
+ Update: {
10818
+ attempts?: number;
10819
+ created_at?: string;
10820
+ destination_hash?: string | null;
10821
+ id?: string;
10822
+ kind?: string;
10823
+ last_error?: string | null;
10824
+ mode?: string;
10825
+ origin_hash?: string | null;
10826
+ processed_at?: string | null;
10827
+ raw_destination?: string | null;
10828
+ raw_origin?: string | null;
10829
+ requested_by?: string | null;
10830
+ status?: string;
10831
+ updated_at?: string;
10832
+ };
10833
+ Relationships: [];
10834
+ };
10835
+ maps_settings: {
10836
+ Row: {
10837
+ allow_estimate_fallback: boolean;
10838
+ cache_ttl_days: number;
10839
+ created_at: string;
10840
+ daily_call_limit: number;
10841
+ id: string;
10842
+ last_error: string | null;
10843
+ last_error_at: string | null;
10844
+ last_success_at: string | null;
10845
+ updated_at: string;
10846
+ };
10847
+ Insert: {
10848
+ allow_estimate_fallback?: boolean;
10849
+ cache_ttl_days?: number;
10850
+ created_at?: string;
10851
+ daily_call_limit?: number;
10852
+ id?: string;
10853
+ last_error?: string | null;
10854
+ last_error_at?: string | null;
10855
+ last_success_at?: string | null;
10856
+ updated_at?: string;
10857
+ };
10858
+ Update: {
10859
+ allow_estimate_fallback?: boolean;
10860
+ cache_ttl_days?: number;
10861
+ created_at?: string;
10862
+ daily_call_limit?: number;
10863
+ id?: string;
10864
+ last_error?: string | null;
10865
+ last_error_at?: string | null;
10866
+ last_success_at?: string | null;
10867
+ updated_at?: string;
10868
+ };
10869
+ Relationships: [];
10870
+ };
10871
+ maps_travel_times: {
10872
+ Row: {
10873
+ created_at: string;
10874
+ destination_id: string;
10875
+ distance_m: number | null;
10876
+ duration_sec: number;
10877
+ expires_at: string;
10878
+ id: string;
10879
+ mode: string;
10880
+ origin_id: string;
10881
+ source: string;
10882
+ updated_at: string;
10883
+ };
10884
+ Insert: {
10885
+ created_at?: string;
10886
+ destination_id: string;
10887
+ distance_m?: number | null;
10888
+ duration_sec: number;
10889
+ expires_at?: string;
10890
+ id?: string;
10891
+ mode?: string;
10892
+ origin_id: string;
10893
+ source?: string;
10894
+ updated_at?: string;
10895
+ };
10896
+ Update: {
10897
+ created_at?: string;
10898
+ destination_id?: string;
10899
+ distance_m?: number | null;
10900
+ duration_sec?: number;
10901
+ expires_at?: string;
10902
+ id?: string;
10903
+ mode?: string;
10904
+ origin_id?: string;
10905
+ source?: string;
10906
+ updated_at?: string;
10907
+ };
10908
+ Relationships: [{
10909
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
10910
+ columns: ["destination_id"];
10911
+ isOneToOne: false;
10912
+ referencedRelation: "maps_addresses";
10913
+ referencedColumns: ["id"];
10914
+ }, {
10915
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
10916
+ columns: ["origin_id"];
10917
+ isOneToOne: false;
10918
+ referencedRelation: "maps_addresses";
10919
+ referencedColumns: ["id"];
10920
+ }];
10921
+ };
10922
+ maps_usage_log: {
10923
+ Row: {
10924
+ cache_hits: number;
10925
+ call_type: string;
10926
+ created_at: string;
10927
+ day: string;
10928
+ detail: string | null;
10929
+ elements: number;
10930
+ id: string;
10931
+ outcome: string;
10932
+ };
10933
+ Insert: {
10934
+ cache_hits?: number;
10935
+ call_type: string;
10936
+ created_at?: string;
10937
+ day?: string;
10938
+ detail?: string | null;
10939
+ elements?: number;
10940
+ id?: string;
10941
+ outcome?: string;
10942
+ };
10943
+ Update: {
10944
+ cache_hits?: number;
10945
+ call_type?: string;
10946
+ created_at?: string;
10947
+ day?: string;
10948
+ detail?: string | null;
10949
+ elements?: number;
10950
+ id?: string;
10951
+ outcome?: string;
10952
+ };
10953
+ Relationships: [];
10954
+ };
10729
10955
  material_usage: {
10730
10956
  Row: {
10731
10957
  created_at: string;
@@ -13836,6 +14062,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13836
14062
  created_at: string;
13837
14063
  driver: string;
13838
14064
  extern_printer_id: string | null;
14065
+ formaten_bijgewerkt_op: string | null;
13839
14066
  id: string;
13840
14067
  ip_adres: string | null;
13841
14068
  laatst_gezien: string | null;
@@ -13843,6 +14070,8 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13843
14070
  merk: string;
13844
14071
  naam: string;
13845
14072
  omschrijving: string;
14073
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
14074
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
13846
14075
  online: boolean;
13847
14076
  papierformaat: string;
13848
14077
  poort: number | null;
@@ -13858,6 +14087,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13858
14087
  created_at?: string;
13859
14088
  driver?: string;
13860
14089
  extern_printer_id?: string | null;
14090
+ formaten_bijgewerkt_op?: string | null;
13861
14091
  id?: string;
13862
14092
  ip_adres?: string | null;
13863
14093
  laatst_gezien?: string | null;
@@ -13865,6 +14095,8 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13865
14095
  merk?: string;
13866
14096
  naam: string;
13867
14097
  omschrijving?: string;
14098
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
14099
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
13868
14100
  online?: boolean;
13869
14101
  papierformaat?: string;
13870
14102
  poort?: number | null;
@@ -13880,6 +14112,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13880
14112
  created_at?: string;
13881
14113
  driver?: string;
13882
14114
  extern_printer_id?: string | null;
14115
+ formaten_bijgewerkt_op?: string | null;
13883
14116
  id?: string;
13884
14117
  ip_adres?: string | null;
13885
14118
  laatst_gezien?: string | null;
@@ -13887,6 +14120,8 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13887
14120
  merk?: string;
13888
14121
  naam?: string;
13889
14122
  omschrijving?: string;
14123
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
14124
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
13890
14125
  online?: boolean;
13891
14126
  papierformaat?: string;
13892
14127
  poort?: number | null;
@@ -18655,6 +18890,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
18655
18890
  werkbon_package_items: {
18656
18891
  Row: {
18657
18892
  article_number: string | null;
18893
+ artikel_id: string | null;
18658
18894
  created_at: string;
18659
18895
  gtin: string | null;
18660
18896
  id: string;
@@ -18672,6 +18908,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
18672
18908
  };
18673
18909
  Insert: {
18674
18910
  article_number?: string | null;
18911
+ artikel_id?: string | null;
18675
18912
  created_at?: string;
18676
18913
  gtin?: string | null;
18677
18914
  id?: string;
@@ -18689,6 +18926,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
18689
18926
  };
18690
18927
  Update: {
18691
18928
  article_number?: string | null;
18929
+ artikel_id?: string | null;
18692
18930
  created_at?: string;
18693
18931
  gtin?: string | null;
18694
18932
  id?: string;
@@ -18705,6 +18943,12 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
18705
18943
  updated_at?: string;
18706
18944
  };
18707
18945
  Relationships: [{
18946
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
18947
+ columns: ["artikel_id"];
18948
+ isOneToOne: false;
18949
+ referencedRelation: "artikelen_cache";
18950
+ referencedColumns: ["id"];
18951
+ }, {
18708
18952
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18709
18953
  columns: ["package_id"];
18710
18954
  isOneToOne: false;
@@ -19927,6 +20171,20 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
19927
20171
  referencedColumns: ["id"];
19928
20172
  }];
19929
20173
  };
20174
+ v_werkbon_totalen: {
20175
+ Row: {
20176
+ packages_cents: number | null;
20177
+ packages_minutes: number | null;
20178
+ werkbon_id: string | null;
20179
+ };
20180
+ Relationships: [{
20181
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20182
+ columns: ["werkbon_id"];
20183
+ isOneToOne: false;
20184
+ referencedRelation: "werkbonnen";
20185
+ referencedColumns: ["id"];
20186
+ }];
20187
+ };
19930
20188
  };
19931
20189
  Functions: {
19932
20190
  _floriday_schedule_job: {
@@ -21863,6 +22121,25 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
21863
22121
  };
21864
22122
  Returns: string;
21865
22123
  };
22124
+ pakket_suggesties_voor_tekst: {
22125
+ Args: {
22126
+ _tekst: string;
22127
+ };
22128
+ Returns: {
22129
+ hit_type: string;
22130
+ package_id: string;
22131
+ priority: number;
22132
+ }[];
22133
+ };
22134
+ pakket_voor_reistijd: {
22135
+ Args: {
22136
+ _minuten: number;
22137
+ };
22138
+ Returns: {
22139
+ package_id: string;
22140
+ priority: number;
22141
+ }[];
22142
+ };
21866
22143
  pick_active_printers: {
21867
22144
  Args: never;
21868
22145
  Returns: {
@@ -22071,6 +22348,10 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
22071
22348
  omschrijving: string;
22072
22349
  }[];
22073
22350
  };
22351
+ pick_reference_data_status: {
22352
+ Args: never;
22353
+ Returns: import("../integrations/supabase/types").Json;
22354
+ };
22074
22355
  pick_release_expired_locks: {
22075
22356
  Args: never;
22076
22357
  Returns: number;
@@ -22135,6 +22416,10 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
22135
22416
  isSetofReturn: false;
22136
22417
  };
22137
22418
  };
22419
+ pick_seed_reference_data: {
22420
+ Args: never;
22421
+ Returns: import("../integrations/supabase/types").Json;
22422
+ };
22138
22423
  pick_set_station_print_plek: {
22139
22424
  Args: {
22140
22425
  _print_plek_id: string;
@@ -22913,6 +23198,18 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
22913
23198
  Args: never;
22914
23199
  Returns: string;
22915
23200
  };
23201
+ werkbon_totalen: {
23202
+ Args: {
23203
+ _werkbon_id: string;
23204
+ };
23205
+ Returns: {
23206
+ materials_cents: number;
23207
+ packages_cents: number;
23208
+ packages_minutes: number;
23209
+ total_cents: number;
23210
+ total_minutes: number;
23211
+ }[];
23212
+ };
22916
23213
  wo_create_from_source: {
22917
23214
  Args: {
22918
23215
  _payload?: import("../integrations/supabase/types").Json;
@@ -22951,7 +23248,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
22951
23248
  };
22952
23249
  CompositeTypes: { [_ in never]: never; };
22953
23250
  }, {
22954
- PostgrestVersion: "14.5";
23251
+ PostgrestVersion: "14.17";
22955
23252
  }>;
22956
23253
  userId: string;
22957
23254
  claims: import("@supabase/auth-js").User;
@@ -22964,6 +23261,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
22964
23261
  replacedManualCount: number;
22965
23262
  usedFloridayPacking: boolean;
22966
23263
  warnings: string[];
23264
+ blockedItems: BlockedItem[];
22967
23265
  skipped?: "locked";
22968
23266
  }>>;
22969
23267
  export declare function drainCartReplanQueue(limit?: number): Promise<{
@@ -33668,6 +33966,222 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
33668
33966
  };
33669
33967
  Relationships: [];
33670
33968
  };
33969
+ maps_addresses: {
33970
+ Row: {
33971
+ address_hash: string;
33972
+ created_at: string;
33973
+ error_reason: string | null;
33974
+ formatted_address: string | null;
33975
+ id: string;
33976
+ lat: number | null;
33977
+ lng: number | null;
33978
+ place_id: string | null;
33979
+ raw_address: string;
33980
+ resolved_at: string | null;
33981
+ status: string;
33982
+ updated_at: string;
33983
+ };
33984
+ Insert: {
33985
+ address_hash: string;
33986
+ created_at?: string;
33987
+ error_reason?: string | null;
33988
+ formatted_address?: string | null;
33989
+ id?: string;
33990
+ lat?: number | null;
33991
+ lng?: number | null;
33992
+ place_id?: string | null;
33993
+ raw_address: string;
33994
+ resolved_at?: string | null;
33995
+ status?: string;
33996
+ updated_at?: string;
33997
+ };
33998
+ Update: {
33999
+ address_hash?: string;
34000
+ created_at?: string;
34001
+ error_reason?: string | null;
34002
+ formatted_address?: string | null;
34003
+ id?: string;
34004
+ lat?: number | null;
34005
+ lng?: number | null;
34006
+ place_id?: string | null;
34007
+ raw_address?: string;
34008
+ resolved_at?: string | null;
34009
+ status?: string;
34010
+ updated_at?: string;
34011
+ };
34012
+ Relationships: [];
34013
+ };
34014
+ maps_request_queue: {
34015
+ Row: {
34016
+ attempts: number;
34017
+ created_at: string;
34018
+ destination_hash: string | null;
34019
+ id: string;
34020
+ kind: string;
34021
+ last_error: string | null;
34022
+ mode: string;
34023
+ origin_hash: string | null;
34024
+ processed_at: string | null;
34025
+ raw_destination: string | null;
34026
+ raw_origin: string | null;
34027
+ requested_by: string | null;
34028
+ status: string;
34029
+ updated_at: string;
34030
+ };
34031
+ Insert: {
34032
+ attempts?: number;
34033
+ created_at?: string;
34034
+ destination_hash?: string | null;
34035
+ id?: string;
34036
+ kind: string;
34037
+ last_error?: string | null;
34038
+ mode?: string;
34039
+ origin_hash?: string | null;
34040
+ processed_at?: string | null;
34041
+ raw_destination?: string | null;
34042
+ raw_origin?: string | null;
34043
+ requested_by?: string | null;
34044
+ status?: string;
34045
+ updated_at?: string;
34046
+ };
34047
+ Update: {
34048
+ attempts?: number;
34049
+ created_at?: string;
34050
+ destination_hash?: string | null;
34051
+ id?: string;
34052
+ kind?: string;
34053
+ last_error?: string | null;
34054
+ mode?: string;
34055
+ origin_hash?: string | null;
34056
+ processed_at?: string | null;
34057
+ raw_destination?: string | null;
34058
+ raw_origin?: string | null;
34059
+ requested_by?: string | null;
34060
+ status?: string;
34061
+ updated_at?: string;
34062
+ };
34063
+ Relationships: [];
34064
+ };
34065
+ maps_settings: {
34066
+ Row: {
34067
+ allow_estimate_fallback: boolean;
34068
+ cache_ttl_days: number;
34069
+ created_at: string;
34070
+ daily_call_limit: number;
34071
+ id: string;
34072
+ last_error: string | null;
34073
+ last_error_at: string | null;
34074
+ last_success_at: string | null;
34075
+ updated_at: string;
34076
+ };
34077
+ Insert: {
34078
+ allow_estimate_fallback?: boolean;
34079
+ cache_ttl_days?: number;
34080
+ created_at?: string;
34081
+ daily_call_limit?: number;
34082
+ id?: string;
34083
+ last_error?: string | null;
34084
+ last_error_at?: string | null;
34085
+ last_success_at?: string | null;
34086
+ updated_at?: string;
34087
+ };
34088
+ Update: {
34089
+ allow_estimate_fallback?: boolean;
34090
+ cache_ttl_days?: number;
34091
+ created_at?: string;
34092
+ daily_call_limit?: number;
34093
+ id?: string;
34094
+ last_error?: string | null;
34095
+ last_error_at?: string | null;
34096
+ last_success_at?: string | null;
34097
+ updated_at?: string;
34098
+ };
34099
+ Relationships: [];
34100
+ };
34101
+ maps_travel_times: {
34102
+ Row: {
34103
+ created_at: string;
34104
+ destination_id: string;
34105
+ distance_m: number | null;
34106
+ duration_sec: number;
34107
+ expires_at: string;
34108
+ id: string;
34109
+ mode: string;
34110
+ origin_id: string;
34111
+ source: string;
34112
+ updated_at: string;
34113
+ };
34114
+ Insert: {
34115
+ created_at?: string;
34116
+ destination_id: string;
34117
+ distance_m?: number | null;
34118
+ duration_sec: number;
34119
+ expires_at?: string;
34120
+ id?: string;
34121
+ mode?: string;
34122
+ origin_id: string;
34123
+ source?: string;
34124
+ updated_at?: string;
34125
+ };
34126
+ Update: {
34127
+ created_at?: string;
34128
+ destination_id?: string;
34129
+ distance_m?: number | null;
34130
+ duration_sec?: number;
34131
+ expires_at?: string;
34132
+ id?: string;
34133
+ mode?: string;
34134
+ origin_id?: string;
34135
+ source?: string;
34136
+ updated_at?: string;
34137
+ };
34138
+ Relationships: [{
34139
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
34140
+ columns: ["destination_id"];
34141
+ isOneToOne: false;
34142
+ referencedRelation: "maps_addresses";
34143
+ referencedColumns: ["id"];
34144
+ }, {
34145
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
34146
+ columns: ["origin_id"];
34147
+ isOneToOne: false;
34148
+ referencedRelation: "maps_addresses";
34149
+ referencedColumns: ["id"];
34150
+ }];
34151
+ };
34152
+ maps_usage_log: {
34153
+ Row: {
34154
+ cache_hits: number;
34155
+ call_type: string;
34156
+ created_at: string;
34157
+ day: string;
34158
+ detail: string | null;
34159
+ elements: number;
34160
+ id: string;
34161
+ outcome: string;
34162
+ };
34163
+ Insert: {
34164
+ cache_hits?: number;
34165
+ call_type: string;
34166
+ created_at?: string;
34167
+ day?: string;
34168
+ detail?: string | null;
34169
+ elements?: number;
34170
+ id?: string;
34171
+ outcome?: string;
34172
+ };
34173
+ Update: {
34174
+ cache_hits?: number;
34175
+ call_type?: string;
34176
+ created_at?: string;
34177
+ day?: string;
34178
+ detail?: string | null;
34179
+ elements?: number;
34180
+ id?: string;
34181
+ outcome?: string;
34182
+ };
34183
+ Relationships: [];
34184
+ };
33671
34185
  material_usage: {
33672
34186
  Row: {
33673
34187
  created_at: string;
@@ -36778,6 +37292,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
36778
37292
  created_at: string;
36779
37293
  driver: string;
36780
37294
  extern_printer_id: string | null;
37295
+ formaten_bijgewerkt_op: string | null;
36781
37296
  id: string;
36782
37297
  ip_adres: string | null;
36783
37298
  laatst_gezien: string | null;
@@ -36785,6 +37300,8 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
36785
37300
  merk: string;
36786
37301
  naam: string;
36787
37302
  omschrijving: string;
37303
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
37304
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
36788
37305
  online: boolean;
36789
37306
  papierformaat: string;
36790
37307
  poort: number | null;
@@ -36800,6 +37317,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
36800
37317
  created_at?: string;
36801
37318
  driver?: string;
36802
37319
  extern_printer_id?: string | null;
37320
+ formaten_bijgewerkt_op?: string | null;
36803
37321
  id?: string;
36804
37322
  ip_adres?: string | null;
36805
37323
  laatst_gezien?: string | null;
@@ -36807,6 +37325,8 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
36807
37325
  merk?: string;
36808
37326
  naam: string;
36809
37327
  omschrijving?: string;
37328
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
37329
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
36810
37330
  online?: boolean;
36811
37331
  papierformaat?: string;
36812
37332
  poort?: number | null;
@@ -36822,6 +37342,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
36822
37342
  created_at?: string;
36823
37343
  driver?: string;
36824
37344
  extern_printer_id?: string | null;
37345
+ formaten_bijgewerkt_op?: string | null;
36825
37346
  id?: string;
36826
37347
  ip_adres?: string | null;
36827
37348
  laatst_gezien?: string | null;
@@ -36829,6 +37350,8 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
36829
37350
  merk?: string;
36830
37351
  naam?: string;
36831
37352
  omschrijving?: string;
37353
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
37354
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
36832
37355
  online?: boolean;
36833
37356
  papierformaat?: string;
36834
37357
  poort?: number | null;
@@ -41597,6 +42120,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
41597
42120
  werkbon_package_items: {
41598
42121
  Row: {
41599
42122
  article_number: string | null;
42123
+ artikel_id: string | null;
41600
42124
  created_at: string;
41601
42125
  gtin: string | null;
41602
42126
  id: string;
@@ -41614,6 +42138,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
41614
42138
  };
41615
42139
  Insert: {
41616
42140
  article_number?: string | null;
42141
+ artikel_id?: string | null;
41617
42142
  created_at?: string;
41618
42143
  gtin?: string | null;
41619
42144
  id?: string;
@@ -41631,6 +42156,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
41631
42156
  };
41632
42157
  Update: {
41633
42158
  article_number?: string | null;
42159
+ artikel_id?: string | null;
41634
42160
  created_at?: string;
41635
42161
  gtin?: string | null;
41636
42162
  id?: string;
@@ -41647,6 +42173,12 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
41647
42173
  updated_at?: string;
41648
42174
  };
41649
42175
  Relationships: [{
42176
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
42177
+ columns: ["artikel_id"];
42178
+ isOneToOne: false;
42179
+ referencedRelation: "artikelen_cache";
42180
+ referencedColumns: ["id"];
42181
+ }, {
41650
42182
  foreignKeyName: "werkbon_package_items_package_id_fkey";
41651
42183
  columns: ["package_id"];
41652
42184
  isOneToOne: false;
@@ -42869,6 +43401,20 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
42869
43401
  referencedColumns: ["id"];
42870
43402
  }];
42871
43403
  };
43404
+ v_werkbon_totalen: {
43405
+ Row: {
43406
+ packages_cents: number | null;
43407
+ packages_minutes: number | null;
43408
+ werkbon_id: string | null;
43409
+ };
43410
+ Relationships: [{
43411
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
43412
+ columns: ["werkbon_id"];
43413
+ isOneToOne: false;
43414
+ referencedRelation: "werkbonnen";
43415
+ referencedColumns: ["id"];
43416
+ }];
43417
+ };
42872
43418
  };
42873
43419
  Functions: {
42874
43420
  _floriday_schedule_job: {
@@ -44805,6 +45351,25 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
44805
45351
  };
44806
45352
  Returns: string;
44807
45353
  };
45354
+ pakket_suggesties_voor_tekst: {
45355
+ Args: {
45356
+ _tekst: string;
45357
+ };
45358
+ Returns: {
45359
+ hit_type: string;
45360
+ package_id: string;
45361
+ priority: number;
45362
+ }[];
45363
+ };
45364
+ pakket_voor_reistijd: {
45365
+ Args: {
45366
+ _minuten: number;
45367
+ };
45368
+ Returns: {
45369
+ package_id: string;
45370
+ priority: number;
45371
+ }[];
45372
+ };
44808
45373
  pick_active_printers: {
44809
45374
  Args: never;
44810
45375
  Returns: {
@@ -45013,6 +45578,10 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
45013
45578
  omschrijving: string;
45014
45579
  }[];
45015
45580
  };
45581
+ pick_reference_data_status: {
45582
+ Args: never;
45583
+ Returns: import("../integrations/supabase/types").Json;
45584
+ };
45016
45585
  pick_release_expired_locks: {
45017
45586
  Args: never;
45018
45587
  Returns: number;
@@ -45077,6 +45646,10 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
45077
45646
  isSetofReturn: false;
45078
45647
  };
45079
45648
  };
45649
+ pick_seed_reference_data: {
45650
+ Args: never;
45651
+ Returns: import("../integrations/supabase/types").Json;
45652
+ };
45080
45653
  pick_set_station_print_plek: {
45081
45654
  Args: {
45082
45655
  _print_plek_id: string;
@@ -45855,6 +46428,18 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
45855
46428
  Args: never;
45856
46429
  Returns: string;
45857
46430
  };
46431
+ werkbon_totalen: {
46432
+ Args: {
46433
+ _werkbon_id: string;
46434
+ };
46435
+ Returns: {
46436
+ materials_cents: number;
46437
+ packages_cents: number;
46438
+ packages_minutes: number;
46439
+ total_cents: number;
46440
+ total_minutes: number;
46441
+ }[];
46442
+ };
45858
46443
  wo_create_from_source: {
45859
46444
  Args: {
45860
46445
  _payload?: import("../integrations/supabase/types").Json;
@@ -45893,7 +46478,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
45893
46478
  };
45894
46479
  CompositeTypes: { [_ in never]: never; };
45895
46480
  }, {
45896
- PostgrestVersion: "14.5";
46481
+ PostgrestVersion: "14.17";
45897
46482
  }>;
45898
46483
  userId: string;
45899
46484
  claims: import("@supabase/auth-js").User;
@@ -56618,6 +57203,222 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
56618
57203
  };
56619
57204
  Relationships: [];
56620
57205
  };
57206
+ maps_addresses: {
57207
+ Row: {
57208
+ address_hash: string;
57209
+ created_at: string;
57210
+ error_reason: string | null;
57211
+ formatted_address: string | null;
57212
+ id: string;
57213
+ lat: number | null;
57214
+ lng: number | null;
57215
+ place_id: string | null;
57216
+ raw_address: string;
57217
+ resolved_at: string | null;
57218
+ status: string;
57219
+ updated_at: string;
57220
+ };
57221
+ Insert: {
57222
+ address_hash: string;
57223
+ created_at?: string;
57224
+ error_reason?: string | null;
57225
+ formatted_address?: string | null;
57226
+ id?: string;
57227
+ lat?: number | null;
57228
+ lng?: number | null;
57229
+ place_id?: string | null;
57230
+ raw_address: string;
57231
+ resolved_at?: string | null;
57232
+ status?: string;
57233
+ updated_at?: string;
57234
+ };
57235
+ Update: {
57236
+ address_hash?: string;
57237
+ created_at?: string;
57238
+ error_reason?: string | null;
57239
+ formatted_address?: string | null;
57240
+ id?: string;
57241
+ lat?: number | null;
57242
+ lng?: number | null;
57243
+ place_id?: string | null;
57244
+ raw_address?: string;
57245
+ resolved_at?: string | null;
57246
+ status?: string;
57247
+ updated_at?: string;
57248
+ };
57249
+ Relationships: [];
57250
+ };
57251
+ maps_request_queue: {
57252
+ Row: {
57253
+ attempts: number;
57254
+ created_at: string;
57255
+ destination_hash: string | null;
57256
+ id: string;
57257
+ kind: string;
57258
+ last_error: string | null;
57259
+ mode: string;
57260
+ origin_hash: string | null;
57261
+ processed_at: string | null;
57262
+ raw_destination: string | null;
57263
+ raw_origin: string | null;
57264
+ requested_by: string | null;
57265
+ status: string;
57266
+ updated_at: string;
57267
+ };
57268
+ Insert: {
57269
+ attempts?: number;
57270
+ created_at?: string;
57271
+ destination_hash?: string | null;
57272
+ id?: string;
57273
+ kind: string;
57274
+ last_error?: string | null;
57275
+ mode?: string;
57276
+ origin_hash?: string | null;
57277
+ processed_at?: string | null;
57278
+ raw_destination?: string | null;
57279
+ raw_origin?: string | null;
57280
+ requested_by?: string | null;
57281
+ status?: string;
57282
+ updated_at?: string;
57283
+ };
57284
+ Update: {
57285
+ attempts?: number;
57286
+ created_at?: string;
57287
+ destination_hash?: string | null;
57288
+ id?: string;
57289
+ kind?: string;
57290
+ last_error?: string | null;
57291
+ mode?: string;
57292
+ origin_hash?: string | null;
57293
+ processed_at?: string | null;
57294
+ raw_destination?: string | null;
57295
+ raw_origin?: string | null;
57296
+ requested_by?: string | null;
57297
+ status?: string;
57298
+ updated_at?: string;
57299
+ };
57300
+ Relationships: [];
57301
+ };
57302
+ maps_settings: {
57303
+ Row: {
57304
+ allow_estimate_fallback: boolean;
57305
+ cache_ttl_days: number;
57306
+ created_at: string;
57307
+ daily_call_limit: number;
57308
+ id: string;
57309
+ last_error: string | null;
57310
+ last_error_at: string | null;
57311
+ last_success_at: string | null;
57312
+ updated_at: string;
57313
+ };
57314
+ Insert: {
57315
+ allow_estimate_fallback?: boolean;
57316
+ cache_ttl_days?: number;
57317
+ created_at?: string;
57318
+ daily_call_limit?: number;
57319
+ id?: string;
57320
+ last_error?: string | null;
57321
+ last_error_at?: string | null;
57322
+ last_success_at?: string | null;
57323
+ updated_at?: string;
57324
+ };
57325
+ Update: {
57326
+ allow_estimate_fallback?: boolean;
57327
+ cache_ttl_days?: number;
57328
+ created_at?: string;
57329
+ daily_call_limit?: number;
57330
+ id?: string;
57331
+ last_error?: string | null;
57332
+ last_error_at?: string | null;
57333
+ last_success_at?: string | null;
57334
+ updated_at?: string;
57335
+ };
57336
+ Relationships: [];
57337
+ };
57338
+ maps_travel_times: {
57339
+ Row: {
57340
+ created_at: string;
57341
+ destination_id: string;
57342
+ distance_m: number | null;
57343
+ duration_sec: number;
57344
+ expires_at: string;
57345
+ id: string;
57346
+ mode: string;
57347
+ origin_id: string;
57348
+ source: string;
57349
+ updated_at: string;
57350
+ };
57351
+ Insert: {
57352
+ created_at?: string;
57353
+ destination_id: string;
57354
+ distance_m?: number | null;
57355
+ duration_sec: number;
57356
+ expires_at?: string;
57357
+ id?: string;
57358
+ mode?: string;
57359
+ origin_id: string;
57360
+ source?: string;
57361
+ updated_at?: string;
57362
+ };
57363
+ Update: {
57364
+ created_at?: string;
57365
+ destination_id?: string;
57366
+ distance_m?: number | null;
57367
+ duration_sec?: number;
57368
+ expires_at?: string;
57369
+ id?: string;
57370
+ mode?: string;
57371
+ origin_id?: string;
57372
+ source?: string;
57373
+ updated_at?: string;
57374
+ };
57375
+ Relationships: [{
57376
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
57377
+ columns: ["destination_id"];
57378
+ isOneToOne: false;
57379
+ referencedRelation: "maps_addresses";
57380
+ referencedColumns: ["id"];
57381
+ }, {
57382
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
57383
+ columns: ["origin_id"];
57384
+ isOneToOne: false;
57385
+ referencedRelation: "maps_addresses";
57386
+ referencedColumns: ["id"];
57387
+ }];
57388
+ };
57389
+ maps_usage_log: {
57390
+ Row: {
57391
+ cache_hits: number;
57392
+ call_type: string;
57393
+ created_at: string;
57394
+ day: string;
57395
+ detail: string | null;
57396
+ elements: number;
57397
+ id: string;
57398
+ outcome: string;
57399
+ };
57400
+ Insert: {
57401
+ cache_hits?: number;
57402
+ call_type: string;
57403
+ created_at?: string;
57404
+ day?: string;
57405
+ detail?: string | null;
57406
+ elements?: number;
57407
+ id?: string;
57408
+ outcome?: string;
57409
+ };
57410
+ Update: {
57411
+ cache_hits?: number;
57412
+ call_type?: string;
57413
+ created_at?: string;
57414
+ day?: string;
57415
+ detail?: string | null;
57416
+ elements?: number;
57417
+ id?: string;
57418
+ outcome?: string;
57419
+ };
57420
+ Relationships: [];
57421
+ };
56621
57422
  material_usage: {
56622
57423
  Row: {
56623
57424
  created_at: string;
@@ -59728,6 +60529,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
59728
60529
  created_at: string;
59729
60530
  driver: string;
59730
60531
  extern_printer_id: string | null;
60532
+ formaten_bijgewerkt_op: string | null;
59731
60533
  id: string;
59732
60534
  ip_adres: string | null;
59733
60535
  laatst_gezien: string | null;
@@ -59735,6 +60537,8 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
59735
60537
  merk: string;
59736
60538
  naam: string;
59737
60539
  omschrijving: string;
60540
+ ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
60541
+ ondersteunde_laden: import("../integrations/supabase/types").Json | null;
59738
60542
  online: boolean;
59739
60543
  papierformaat: string;
59740
60544
  poort: number | null;
@@ -59750,6 +60554,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
59750
60554
  created_at?: string;
59751
60555
  driver?: string;
59752
60556
  extern_printer_id?: string | null;
60557
+ formaten_bijgewerkt_op?: string | null;
59753
60558
  id?: string;
59754
60559
  ip_adres?: string | null;
59755
60560
  laatst_gezien?: string | null;
@@ -59757,6 +60562,8 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
59757
60562
  merk?: string;
59758
60563
  naam: string;
59759
60564
  omschrijving?: string;
60565
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
60566
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
59760
60567
  online?: boolean;
59761
60568
  papierformaat?: string;
59762
60569
  poort?: number | null;
@@ -59772,6 +60579,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
59772
60579
  created_at?: string;
59773
60580
  driver?: string;
59774
60581
  extern_printer_id?: string | null;
60582
+ formaten_bijgewerkt_op?: string | null;
59775
60583
  id?: string;
59776
60584
  ip_adres?: string | null;
59777
60585
  laatst_gezien?: string | null;
@@ -59779,6 +60587,8 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
59779
60587
  merk?: string;
59780
60588
  naam?: string;
59781
60589
  omschrijving?: string;
60590
+ ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
60591
+ ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
59782
60592
  online?: boolean;
59783
60593
  papierformaat?: string;
59784
60594
  poort?: number | null;
@@ -64547,6 +65357,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
64547
65357
  werkbon_package_items: {
64548
65358
  Row: {
64549
65359
  article_number: string | null;
65360
+ artikel_id: string | null;
64550
65361
  created_at: string;
64551
65362
  gtin: string | null;
64552
65363
  id: string;
@@ -64564,6 +65375,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
64564
65375
  };
64565
65376
  Insert: {
64566
65377
  article_number?: string | null;
65378
+ artikel_id?: string | null;
64567
65379
  created_at?: string;
64568
65380
  gtin?: string | null;
64569
65381
  id?: string;
@@ -64581,6 +65393,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
64581
65393
  };
64582
65394
  Update: {
64583
65395
  article_number?: string | null;
65396
+ artikel_id?: string | null;
64584
65397
  created_at?: string;
64585
65398
  gtin?: string | null;
64586
65399
  id?: string;
@@ -64597,6 +65410,12 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
64597
65410
  updated_at?: string;
64598
65411
  };
64599
65412
  Relationships: [{
65413
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
65414
+ columns: ["artikel_id"];
65415
+ isOneToOne: false;
65416
+ referencedRelation: "artikelen_cache";
65417
+ referencedColumns: ["id"];
65418
+ }, {
64600
65419
  foreignKeyName: "werkbon_package_items_package_id_fkey";
64601
65420
  columns: ["package_id"];
64602
65421
  isOneToOne: false;
@@ -65819,6 +66638,20 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
65819
66638
  referencedColumns: ["id"];
65820
66639
  }];
65821
66640
  };
66641
+ v_werkbon_totalen: {
66642
+ Row: {
66643
+ packages_cents: number | null;
66644
+ packages_minutes: number | null;
66645
+ werkbon_id: string | null;
66646
+ };
66647
+ Relationships: [{
66648
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
66649
+ columns: ["werkbon_id"];
66650
+ isOneToOne: false;
66651
+ referencedRelation: "werkbonnen";
66652
+ referencedColumns: ["id"];
66653
+ }];
66654
+ };
65822
66655
  };
65823
66656
  Functions: {
65824
66657
  _floriday_schedule_job: {
@@ -67755,6 +68588,25 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
67755
68588
  };
67756
68589
  Returns: string;
67757
68590
  };
68591
+ pakket_suggesties_voor_tekst: {
68592
+ Args: {
68593
+ _tekst: string;
68594
+ };
68595
+ Returns: {
68596
+ hit_type: string;
68597
+ package_id: string;
68598
+ priority: number;
68599
+ }[];
68600
+ };
68601
+ pakket_voor_reistijd: {
68602
+ Args: {
68603
+ _minuten: number;
68604
+ };
68605
+ Returns: {
68606
+ package_id: string;
68607
+ priority: number;
68608
+ }[];
68609
+ };
67758
68610
  pick_active_printers: {
67759
68611
  Args: never;
67760
68612
  Returns: {
@@ -67963,6 +68815,10 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
67963
68815
  omschrijving: string;
67964
68816
  }[];
67965
68817
  };
68818
+ pick_reference_data_status: {
68819
+ Args: never;
68820
+ Returns: import("../integrations/supabase/types").Json;
68821
+ };
67966
68822
  pick_release_expired_locks: {
67967
68823
  Args: never;
67968
68824
  Returns: number;
@@ -68027,6 +68883,10 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
68027
68883
  isSetofReturn: false;
68028
68884
  };
68029
68885
  };
68886
+ pick_seed_reference_data: {
68887
+ Args: never;
68888
+ Returns: import("../integrations/supabase/types").Json;
68889
+ };
68030
68890
  pick_set_station_print_plek: {
68031
68891
  Args: {
68032
68892
  _print_plek_id: string;
@@ -68805,6 +69665,18 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
68805
69665
  Args: never;
68806
69666
  Returns: string;
68807
69667
  };
69668
+ werkbon_totalen: {
69669
+ Args: {
69670
+ _werkbon_id: string;
69671
+ };
69672
+ Returns: {
69673
+ materials_cents: number;
69674
+ packages_cents: number;
69675
+ packages_minutes: number;
69676
+ total_cents: number;
69677
+ total_minutes: number;
69678
+ }[];
69679
+ };
68808
69680
  wo_create_from_source: {
68809
69681
  Args: {
68810
69682
  _payload?: import("../integrations/supabase/types").Json;
@@ -68843,7 +69715,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
68843
69715
  };
68844
69716
  CompositeTypes: { [_ in never]: never; };
68845
69717
  }, {
68846
- PostgrestVersion: "14.5";
69718
+ PostgrestVersion: "14.17";
68847
69719
  }>;
68848
69720
  userId: string;
68849
69721
  claims: import("@supabase/auth-js").User;
@@ -68857,6 +69729,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
68857
69729
  replacedManualCount: number;
68858
69730
  usedFloridayPacking: boolean;
68859
69731
  warnings: string[];
69732
+ blockedItems: BlockedItem[];
68860
69733
  skipped?: "locked";
68861
69734
  }>>;
68862
69735
  //# sourceMappingURL=cart-replan.functions.d.ts.map